sunyize пре 2 година
родитељ
комит
5dbdd29568
2 измењених фајлова са 12 додато и 10 уклоњено
  1. 3 3
      src/views/customer/CustomerHistorys.vue
  2. 9 7
      src/views/customer/CustomerList.vue

+ 3 - 3
src/views/customer/CustomerHistorys.vue

@@ -11,7 +11,7 @@
         <a-descriptions  :column="2" :bordered="true">
           <a-descriptions-item label="证件编号">{{customer.info.cardNo}}</a-descriptions-item>
           <a-descriptions-item label="客户名称" >{{customer.info.cardName}}</a-descriptions-item>
-          <a-descriptions-item label="证件地址" >{{customer.info.idCardAddress}}</a-descriptions-item>
+<!--          <a-descriptions-item label="证件地址" >{{customer.info.idCardAddress}}</a-descriptions-item>-->
           <a-descriptions-item label="新办号码">{{customer.info.newPhone}}</a-descriptions-item>
         </a-descriptions>
       </a-card>
@@ -287,14 +287,14 @@ export default {
         cardName:this.customer.info.cardName,
         cardNo:this.customer.info.cardNo
       }
-      getAction("businessReminderCard/list",queryTable).then(resp=>{
+      getAction("businessReminderCard/listAll",queryTable).then(resp=>{
         if(resp.success){
           this.dataSource=resp.result.records
         }
       })
     },
     showByCardNo(record){
-      this.$emit("customerHistory",this.customer)
+      this.$emit("customerHistory",record)
     },
     showTaskList(){
       this.$emit("customerList",this.customer)

+ 9 - 7
src/views/customer/CustomerList.vue

@@ -93,16 +93,18 @@ export default {
           title: '客户名称',
           align: "center",
           dataIndex: 'cardName'
-        }, {
+        }
+        , {
           title: '新办手机号',
           align: "center",
           dataIndex: 'newPhone'
-        },  {
-          title: '创建人工号',
-          align: "center",
-          sorter: (a, b) =>a.createBy.localeCompare(b.createBy),
-          dataIndex: 'createBy'
-        }
+        },
+        //{
+        //   title: '创建人工号',
+        //   align: "center",
+        //   sorter: (a, b) =>a.createBy.localeCompare(b.createBy),
+        //   dataIndex: 'createBy'
+        // }
         // , {
         //   title: '创建时间',
         //   align: "center",