liujq 2 年之前
父節點
當前提交
37daa658f4

文件差異過大導致無法顯示
+ 0 - 0
dist/index.html


文件差異過大導致無法顯示
+ 0 - 0
dist/static/css/chunk-7e53d73e.386db795.css


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/app.17a46659.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/chunk-2445846f.250aa140.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/chunk-7e53d73e.4e9eb9dc.js


+ 18 - 1
src/views/cust/components/popup/IndexEdit.vue

@@ -65,7 +65,7 @@ export default {
         { label: '姓名', key: 'name', class: 'c-2', rules: 1 },
         { label: '电话', key: 'phone', class: 'c-2', rules: 1 },
         { label: '意向等级', key: 'purpose_level', class: 'c-2', rules: 1, type: 'select', options: this.$dictData.purpose_level },
-        { label: '意向楼盘', key: 'estate_id', type: 'selectRemote', class: 'c-2', multiple: true, changeHandle: this.estateChange,
+        { label: '意向楼盘', key: 'estate_id', rules: 1, type: 'selectRemote', class: 'c-2', multiple: true, changeHandle: this.estateChange,
           remoteParams: { skey: 'estate_name', api: `house.admestatelist`, opKey: 'estate_name', opVal: 'id' },
           remoteOptions: remoteEstateOptions,
         },
@@ -75,6 +75,21 @@ export default {
       ]
       this.setDefaultValue(params)
     },
+    getTime () {
+      let date = new Date()
+      let year = date.getFullYear()
+      let month = date.getMonth() + 1
+      month = month > 9 ? month : '0' + month
+      let day = date.getDate()
+      day = day > 9 ? day : '0' + day
+      let hour = date.getHours()
+      hour = hour > 9 ? hour : '0' + hour
+      let min = date.getMinutes()
+      min = min > 9 ? min : '0' + min
+      let second = date.getSeconds()
+      second = second > 9 ? second : '0' + second
+      return `${month}${day}-${hour}:${min}:${second}`
+    },
     close(str) {
       if (str === 'confirm') {
         this.$refs['ruleForm'].$refs['baseForm'].validate((valid) => {
@@ -83,6 +98,8 @@ export default {
             const newForm = { ...oldform }
             if (this.curObj.id) {
               newForm.id = this.curObj.id
+            } else {
+              newForm.name = newForm.name + `(${this.getTime()})`
             }
             let apiStr = 'admcustomeradd'
             if (newForm.id) apiStr = 'admcustomeredit'

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

@@ -49,11 +49,11 @@ export default {
     getDef (str) {
       let params = { ...this.curObj }
       this.formData = [
-        { label: '客户信息', key: 'remark', type: 'textarea' },
-        { label: '关联客户', key: 'customer_id', type: 'selectRemote',
+        { label: '关联客户', key: 'customer_id', type: 'selectRemote', rules: 1,
           remoteParams: { skey: 'name', api: `user.admcustomerlist`, opKey: 'name', opVal: 'id' },
           remoteOptions: [{ keyRO: params.customer_name, valRO: params.customer_id }],
         },
+        { label: '覆盖备注', label2: '覆盖手机填写排班的备注,排班备注,不填手机号', key: 'remark', type: 'textarea' },
       ]
       this.setDefaultValue(params)
     },

+ 1 - 1
src/views/cust/components/searchForm/Lineup.vue

@@ -2,7 +2,7 @@
   <base-form slot="content" ref="ruleForm" :data="searchData">
     <div slot="footer">
       <el-button :loading="listLoading" icon="el-icon-search" class="xl-form-btn bgc1" @click="searchHandle">查询</el-button>
-      <el-button :loading="listLoading" icon="el-icon-plus" class="xl-form-btn bgc2" @click="addHandle">新增指派客户</el-button>
+      <el-button :loading="listLoading" icon="el-icon-plus" class="xl-form-btn bgc2" @click="addHandle">助理管理操作新增指派客户</el-button>
       <!-- <el-button :loading="listLoading" icon="el-icon-document" class="xl-form-btn bgc2" @click="toExportExcel">导出{{ this.$route.meta.title }}信息</el-button> -->
     </div>
   </base-form>

部分文件因文件數量過多而無法顯示