liujq 3 years ago
parent
commit
acceb13559
34 changed files with 29 additions and 17 deletions
  1. 0 0
      dist/index.html
  2. 0 0
      dist/static/css/chunk-7439bb06.dd7458d1.css
  3. 0 0
      dist/static/js/app.b894de49.js
  4. 0 0
      dist/static/js/chunk-02eb56e6.a69d020e.js
  5. 0 0
      dist/static/js/chunk-060a14dc.cbe9d8f1.js
  6. 0 0
      dist/static/js/chunk-07fc91a6.cd914780.js
  7. 0 0
      dist/static/js/chunk-093b5b3c.40ee5270.js
  8. 0 0
      dist/static/js/chunk-0c6db779.f7abacfa.js
  9. 0 0
      dist/static/js/chunk-123a7196.fceabc62.js
  10. 0 0
      dist/static/js/chunk-17854054.bc435edc.js
  11. 0 0
      dist/static/js/chunk-18bdd0f6.d64dbbac.js
  12. 0 0
      dist/static/js/chunk-1e681fc5.b75a5a04.js
  13. 0 0
      dist/static/js/chunk-24b1b024.1a34f4f3.js
  14. 1 1
      dist/static/js/chunk-2d0ccfc9.c3f604d5.js
  15. 0 0
      dist/static/js/chunk-36ddeec9.79e44c77.js
  16. 0 0
      dist/static/js/chunk-3f2695b2.cee81f3e.js
  17. 0 0
      dist/static/js/chunk-42505c22.eeee1034.js
  18. 0 0
      dist/static/js/chunk-43338aec.2da91c0d.js
  19. 0 0
      dist/static/js/chunk-45f420e2.9429fe54.js
  20. 0 0
      dist/static/js/chunk-593f9664.4bdcbd03.js
  21. 0 0
      dist/static/js/chunk-67a054c9.d5e59485.js
  22. 0 0
      dist/static/js/chunk-71c0268e.73353d23.js
  23. 0 0
      dist/static/js/chunk-7439bb06.111a4e42.js
  24. 0 0
      dist/static/js/chunk-7441b538.f035af04.js
  25. 0 0
      dist/static/js/chunk-7f8b33fa.8b4b4d0f.js
  26. 1 1
      dist/static/js/chunk-9c1e7474.bb9e6546.js
  27. 0 0
      dist/static/js/chunk-e0de387c.d5c7cb02.js
  28. 0 0
      dist/static/js/chunk-libs.7730e0c3.js
  29. 1 1
      src/views/cust/components/popup/LineUpRecordEdit.vue
  30. 4 8
      src/views/cust/lineUpRecord.vue
  31. 1 1
      src/views/cust/lineup.vue
  32. 3 1
      src/views/user/appSale.vue
  33. 17 4
      src/views/user/components/popup/AppSaleEdit.vue
  34. 1 0
      src/views/user/components/searchForm/AppSale.vue

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-7439bb06.dd7458d1.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.b894de49.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-02eb56e6.a69d020e.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-060a14dc.cbe9d8f1.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-07fc91a6.cd914780.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-093b5b3c.40ee5270.js


+ 0 - 0
dist/static/js/chunk-0c6db779.0440e6d1.js → dist/static/js/chunk-0c6db779.f7abacfa.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-123a7196.fceabc62.js


+ 0 - 0
dist/static/js/chunk-17854054.ffa67197.js → dist/static/js/chunk-17854054.bc435edc.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-18bdd0f6.d64dbbac.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-1e681fc5.b75a5a04.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-24b1b024.1a34f4f3.js


+ 1 - 1
dist/static/js/chunk-2d0ccfc9.39e75c0a.js → dist/static/js/chunk-2d0ccfc9.c3f604d5.js

@@ -1 +1 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0ccfc9"],{"4fef":function(t,a,e){"use strict";e.r(a);var i=e("ade3"),r=e("5530");e("1276"),e("ac1f"),e("a9e3");a["default"]={data:function(){return{listLoading:!1,tableData:[],currentPage:1,pageSize:10,totalRecords:1,listConfig:{},operations:[]}},created:function(){var t=this;this.$nextTick((function(){t.noCreated||t.fetchData()}))},methods:{searchHandle:function(t){this.currentPage=1,this.searchForm=t,this.fetchData()},sizeChange:function(t){this.pageSize=t,this.currentPage=1,this.fetchData()},pageHandle:function(t){this.currentPage=t,this.fetchData()},sortChange:function(t){this.currentPage=1;var a=Object(r["a"])({},this.searchForm);"ascending"===t.order?a.sort=JSON.stringify(Object(i["a"])({},t.prop,"asc")):a.sort=JSON.stringify(Object(i["a"])({},t.prop,"desc")),this.searchForm=Object(r["a"])({},a),this.fetchData(a)},fetchData:function(t){var a=this;if(this.apiStr){var e={page:this.currentPage,page_size:this.pageSize};t?e=Object(r["a"])(Object(r["a"])({},e),t):this.searchForm&&(e=Object(r["a"])(Object(r["a"])({},e),this.searchForm)),this.getDataBefore&&this.getDataBefore(e),this.listLoading=!0;var i=this.apiStr.split(".");this.$api[i[0]][i[1]](e).then((function(t){return 1===a.currentPage&&(a.pageSize=t.page_size||1),a.totalRecords=t.total?Number(t.total):0,a.tableData=t.list||[],a.listLoading=!1,a.getMoreData&&a.getMoreData(t,e),t})).catch((function(t){a.listLoading=!1}))}}}}}}]);
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0ccfc9"],{"4fef":function(t,a,e){"use strict";e.r(a);var i=e("ade3"),r=e("5530");e("ac1f"),e("1276"),e("a9e3");a["default"]={data:function(){return{listLoading:!1,tableData:[],currentPage:1,pageSize:10,totalRecords:1,listConfig:{},operations:[]}},created:function(){var t=this;this.$nextTick((function(){t.noCreated||t.fetchData()}))},methods:{searchHandle:function(t){this.currentPage=1,this.searchForm=t,this.fetchData()},sizeChange:function(t){this.pageSize=t,this.currentPage=1,this.fetchData()},pageHandle:function(t){this.currentPage=t,this.fetchData()},sortChange:function(t){this.currentPage=1;var a=Object(r["a"])({},this.searchForm);"ascending"===t.order?a.sort=JSON.stringify(Object(i["a"])({},t.prop,"asc")):a.sort=JSON.stringify(Object(i["a"])({},t.prop,"desc")),this.searchForm=Object(r["a"])({},a),this.fetchData(a)},fetchData:function(t){var a=this;if(this.apiStr){var e={page:this.currentPage,page_size:this.pageSize};t?e=Object(r["a"])(Object(r["a"])({},e),t):this.searchForm&&(e=Object(r["a"])(Object(r["a"])({},e),this.searchForm)),this.getDataBefore&&this.getDataBefore(e),this.listLoading=!0;var i=this.apiStr.split(".");this.$api[i[0]][i[1]](e).then((function(t){return 1===a.currentPage&&(a.pageSize=t.page_size||1),a.totalRecords=t.total?Number(t.total):0,a.tableData=t.list||[],a.listLoading=!1,a.getMoreData&&a.getMoreData(t,e),t})).catch((function(t){a.listLoading=!1}))}}}}}}]);

File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-36ddeec9.79e44c77.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-3f2695b2.cee81f3e.js


+ 0 - 0
dist/static/js/chunk-42505c22.d9d3c466.js → dist/static/js/chunk-42505c22.eeee1034.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-43338aec.2da91c0d.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-45f420e2.9429fe54.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-593f9664.4bdcbd03.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-67a054c9.d5e59485.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-71c0268e.73353d23.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-7439bb06.111a4e42.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-7441b538.f035af04.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-7f8b33fa.8b4b4d0f.js


+ 1 - 1
dist/static/js/chunk-9c1e7474.74d18a95.js → dist/static/js/chunk-9c1e7474.bb9e6546.js

@@ -1 +1 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9c1e7474","chunk-2d0ccfc9"],{"4fef":function(t,e,a){"use strict";a.r(e);var i=a("ade3"),c=a("5530");a("1276"),a("ac1f"),a("a9e3");e["default"]={data:function(){return{listLoading:!1,tableData:[],currentPage:1,pageSize:10,totalRecords:1,listConfig:{},operations:[]}},created:function(){var t=this;this.$nextTick((function(){t.noCreated||t.fetchData()}))},methods:{searchHandle:function(t){this.currentPage=1,this.searchForm=t,this.fetchData()},sizeChange:function(t){this.pageSize=t,this.currentPage=1,this.fetchData()},pageHandle:function(t){this.currentPage=t,this.fetchData()},sortChange:function(t){this.currentPage=1;var e=Object(c["a"])({},this.searchForm);"ascending"===t.order?e.sort=JSON.stringify(Object(i["a"])({},t.prop,"asc")):e.sort=JSON.stringify(Object(i["a"])({},t.prop,"desc")),this.searchForm=Object(c["a"])({},e),this.fetchData(e)},fetchData:function(t){var e=this;if(this.apiStr){var a={page:this.currentPage,page_size:this.pageSize};t?a=Object(c["a"])(Object(c["a"])({},a),t):this.searchForm&&(a=Object(c["a"])(Object(c["a"])({},a),this.searchForm)),this.getDataBefore&&this.getDataBefore(a),this.listLoading=!0;var i=this.apiStr.split(".");this.$api[i[0]][i[1]](a).then((function(t){return 1===e.currentPage&&(e.pageSize=t.page_size||1),e.totalRecords=t.total?Number(t.total):0,e.tableData=t.list||[],e.listLoading=!1,e.getMoreData&&e.getMoreData(t,a),t})).catch((function(t){e.listLoading=!1}))}}}}},"9d49":function(t,e,a){"use strict";a.r(e),e["default"]={data:function(){return{bigImgSrc:"",bigImgShow:!1}},created:function(){},methods:{openbigImg:function(t){this.bigImgSrc=t,this.bigImgShow=!0},closebigImg:function(t){this.bigImgShow=!1}}}}}]);
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9c1e7474","chunk-2d0ccfc9"],{"4fef":function(t,e,a){"use strict";a.r(e);var i=a("ade3"),c=a("5530");a("ac1f"),a("1276"),a("a9e3");e["default"]={data:function(){return{listLoading:!1,tableData:[],currentPage:1,pageSize:10,totalRecords:1,listConfig:{},operations:[]}},created:function(){var t=this;this.$nextTick((function(){t.noCreated||t.fetchData()}))},methods:{searchHandle:function(t){this.currentPage=1,this.searchForm=t,this.fetchData()},sizeChange:function(t){this.pageSize=t,this.currentPage=1,this.fetchData()},pageHandle:function(t){this.currentPage=t,this.fetchData()},sortChange:function(t){this.currentPage=1;var e=Object(c["a"])({},this.searchForm);"ascending"===t.order?e.sort=JSON.stringify(Object(i["a"])({},t.prop,"asc")):e.sort=JSON.stringify(Object(i["a"])({},t.prop,"desc")),this.searchForm=Object(c["a"])({},e),this.fetchData(e)},fetchData:function(t){var e=this;if(this.apiStr){var a={page:this.currentPage,page_size:this.pageSize};t?a=Object(c["a"])(Object(c["a"])({},a),t):this.searchForm&&(a=Object(c["a"])(Object(c["a"])({},a),this.searchForm)),this.getDataBefore&&this.getDataBefore(a),this.listLoading=!0;var i=this.apiStr.split(".");this.$api[i[0]][i[1]](a).then((function(t){return 1===e.currentPage&&(e.pageSize=t.page_size||1),e.totalRecords=t.total?Number(t.total):0,e.tableData=t.list||[],e.listLoading=!1,e.getMoreData&&e.getMoreData(t,a),t})).catch((function(t){e.listLoading=!1}))}}}}},"9d49":function(t,e,a){"use strict";a.r(e),e["default"]={data:function(){return{bigImgSrc:"",bigImgShow:!1}},created:function(){},methods:{openbigImg:function(t){this.bigImgSrc=t,this.bigImgShow=!0},closebigImg:function(t){this.bigImgShow=!1}}}}}]);

+ 0 - 0
dist/static/js/chunk-e0de387c.f9233bc7.js → dist/static/js/chunk-e0de387c.d5c7cb02.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-libs.7730e0c3.js


+ 1 - 1
src/views/cust/components/popup/LineUpRecordEdit.vue

@@ -65,7 +65,7 @@ export default {
             const newForm = { ...oldform }
             if (this.curObj.id) newForm.id = this.curObj.id
             let apiStr = 'admreceptbindcustomer'
-            this.$api.house[apiStr](newForm).then(data => {
+            this.$api.user[apiStr](newForm).then(data => {
               this.$msgs(newForm.estate_id ? '编辑成功' : '新增成功')
               this.$emit('close', newForm)
             })

+ 4 - 8
src/views/cust/lineUpRecord.vue

@@ -12,8 +12,6 @@
       :page-size="pageSize"
       :total-records="totalRecords"
       @currentChange="pageHandle"
-      :isAdd="true"
-      @add="openPopup"
     />
     <popup-edit
       :isShow="isDtlShow"
@@ -59,7 +57,7 @@ export default {
   },
   created() {
     const query = this.$route.query
-    this.searchForm.estate_id = query.id || ''
+    this.searchForm.user_id = query.id || ''
   },
   mounted() {
     this.listConfig = {
@@ -67,13 +65,11 @@ export default {
         { label: '轮值时间', prop: 'create_at'},
         { label: '备注', prop: 'remark'},
         { label: '关联客户名称', prop: 'customer_name'},
-        { label: '购房需求(从客户表带出来)', prop: 'customer_demand'},
-        { label: '客户后续(从客户表带出来)', prop: 'customer_purchased'},
-        { label: '更新人', prop: 'update_by' },
-        { label: '更新时间', prop: 'update_at' },
+        { label: '购房需求', prop: 'customer_demand'},
+        { label: '客户后续', prop: 'customer_purchased'},
         { label: '操作', width: 120, type: 'handle2', operations:
           [
-            { label: '编辑', func: this.openPopup, btnType: 'primary' },
+            { label: '绑定客户', func: this.openPopup, btnType: 'success' },
             // { label: '删除', func: this.delHandle, btnType: 'danger' },
           ]
         }

+ 1 - 1
src/views/cust/lineup.vue

@@ -80,7 +80,7 @@ export default {
   },
   methods: {
     linkRecord (row) {
-      this.$router.push(`/cust/lineUpRecord?id=${row.id}&name=${row.sale_name}`)
+      this.$router.push(`/cust/lineUpRecord?id=${row.user_id}&name=${row.sale_name}`)
     },
     delHandle(row) {
       this.$msg(`您确定要删除该规则吗?`, 'confirm', () => {

+ 3 - 1
src/views/user/appSale.vue

@@ -58,7 +58,9 @@ export default {
     this.listConfig = {
       rows: [
         { label: '分类', prop: 'sale_type', type: 'flag', flags: arrToObj(this.$dictData.sale_type	) },
-        { label: '分类', prop: 'store_type', type: 'flag', flags: arrToObj(this.$dictData.store_type	) },
+        { label: '门店', prop: 'store_type', type: 'flag', flags: arrToObj(this.$dictData.store_type	) },
+        { label: '排班情况', prop: 'recept_status', type: 'flag', flags: arrToObj(this.$dictData.recept_status	) },
+        { label: '排序', prop: 'sort' },
         { label: '置业经理', prop: 'sale_name' },
         { label: '头像', prop: 'sale_avatar', type: 'img' },
         { label: '联系电话', prop: 'sale_phone' },

+ 17 - 4
src/views/user/components/popup/AppSaleEdit.vue

@@ -7,11 +7,11 @@
       :visible.sync="isShow"
       :title="this.curObj && this.curObj.id ? '编辑置业' : '添加置业'"
       :fullscreen="false"
-      width="470px"
+      width="700px"
       custom-class="xl-dialog"
       center
     >
-      <base-form ref="ruleForm" :data="formData" :is-inline="false" label-width="110px">
+      <base-form ref="ruleForm" class="lib-edit" :data="formData" :is-inline="false" label-width="110px">
         <div slot="footer">
           <el-button class="xl-form-btn t2" @click="close">关 闭</el-button>
           <el-button class="xl-form-btn t1" @click="close('confirm')">确定</el-button>
@@ -52,8 +52,10 @@ export default {
         { label: '头像', key: 'sale_avatar', type: 'uploads', rules: 1 },
         { label: '联系电话', key: 'sale_phone', class: 'c-2', rules: 1 },
         { label: '销售标签', key: 'custom_tag', class: 'c-2', rules: 1 },
-        { label: '分类', key: 'sale_type', rules: 1, type: 'select', options: this.$dictData.sale_type },
-        { label: '门店', key: 'store_type', type: 'select', options: this.$dictData.store_type },
+        { label: '分类', key: 'sale_type', class: 'c-2', rules: 1, type: 'select', options: this.$dictData.sale_type },
+        { label: '门店', key: 'store_type', class: 'c-2', type: 'select', options: this.$dictData.store_type },
+        { label: '排班情况', key: 'recept_status', class: 'c-2', type: 'select', options: this.$dictData.recept_status },
+        { label: '排序', key: 'sort', class: 'c-2' },
       ]
       this.setDefaultValue(params)
     },
@@ -83,4 +85,15 @@ export default {
 }
 </script>
 <style lang="scss" scoped>
+@import "../../../../styles/libEdit.scss";
+.lib-edit {
+  padding-top: 0;
+  width:100%;
+  ::v-deep .el-form-item {
+    margin-bottom: 10px;
+  }
+  ::v-deep .el-date-editor.el-input {
+    width: 100%;
+  }
+}
 </style>

+ 1 - 0
src/views/user/components/searchForm/AppSale.vue

@@ -19,6 +19,7 @@ export default {
         { label: '置业经理名称', key: 'sale_name' },
         { label: '置业联系电话', key: 'sale_phone' },
         { label: '分类', key: 'sale_type', type: 'select', options: this.$dictData.sale_type},
+        { label: '排班情况', key: 'recept_status', type: 'select', options: this.$dictData.recept_status},
       ]
     }
   },

Some files were not shown because too many files changed in this diff