sunyize %!s(int64=2) %!d(string=hai) anos
pai
achega
69fe28469b
Modificáronse 1 ficheiros con 66 adicións e 3 borrados
  1. 66 3
      src/views/customer/CustomerDetails.vue

+ 66 - 3
src/views/customer/CustomerDetails.vue

@@ -19,7 +19,7 @@
           <a-descriptions-item label="新办号码用途" >{{customer.info.phonePurpose}}</a-descriptions-item>
           <a-descriptions-item label="客户所属行业" >{{customer.info.industry}}</a-descriptions-item>
           <a-descriptions-item label="拨测结果">{{customer.info.calltestResults}}</a-descriptions-item>
-          <a-descriptions-item label="营业厅地址">{{customer.info.company + customer.info.sysBusinessHall}}</a-descriptions-item>
+          <a-descriptions-item label="营业厅地址">{{ customer.info.sysBusinessHall}}</a-descriptions-item>
           <a-descriptions-item label="工作地址">{{customer.info.wordAddress}}</a-descriptions-item>
           <a-descriptions-item label="现住地址(到村/小区)">{{customer.info.currentAddress}}</a-descriptions-item>
           <a-descriptions-item label="人工地址判研">{{customer.info.judgmentResearchAddress}}</a-descriptions-item>
@@ -28,7 +28,7 @@
         </a-descriptions>
       </a-card>
 
-      <a-card style="margin-bottom:10px"  title="排查信息" >
+      <a-card :bordered="false"style="margin-bottom:10px"  title="排查信息" >
       <div>
         <a-form-model
           ref="form"
@@ -262,7 +262,7 @@
         </a-form-model>
       </div>
       </a-card>
-      <a-card style="margin-bottom:10px" title="后续处理" >
+      <a-card :bordered="false" style="margin-bottom:10px" title="后续处理" >
         <div>
           <a-form-model
             ref="form"
@@ -477,6 +477,7 @@ export default {
   },
   data(){
     return{
+      sysCompany:[],
       optionsWithDisabled:
         [{
           text: '非高危',
@@ -603,6 +604,7 @@ export default {
         total: 0
       },
       dataSourceLog:[],
+      sysBusinessHallList: "",
       labelCol: { span: 1 },
       wrapperCol: { span: 23 },
        showType:'checktask',
@@ -615,9 +617,70 @@ export default {
   created() {
     this.initTable();
     this.init()
+
   },
   methods:{
     init(){
+      // let data = {
+      //   "cardNo": ''
+      // };
+      // getAction('/sysCompany/list', data).then((res) => {
+      //   if (res.success) {
+      //     let result = res.result;
+      //     console.log(result + "result");
+      //     if (result != null) {
+      //       this.sysCompany = result;
+      //     }
+      //   }
+      // })
+      // var str1='';
+      // for (var i = 0; i < this.sysCompany.length; i++) {
+      //   if (this.customer.info.sysCompany === this.sysCompany[i].id) {
+      //     str1+=this.sysCompany[i].name;
+      //     this.sysBusinessHallList = result[i].sysBusinessHallList;
+      //     for (var i = 0; i <this.sysBusinessHallList.length; i++) {
+      //       if (this.customer.info.sysBusinessHall===this.sysBusinessHallList[i].id){
+      //         str1+=this.sysBusinessHallList[i].name
+      //       }
+      //     }
+      //   }
+      // }
+      //
+      //this.customer.info.sysBusinessHall=str
+      var address='';
+      if (this.customer.info.judgmentResearchAddress.indexOf('1') !== -1){
+        address+='人工地址判研-异常 '
+      }
+      if (this.customer.info.judgmentResearchAddress.indexOf('2') !== -1){
+        address+='人工地址判研-正常 '
+      }
+      this.customer.info.judgmentResearchAddress=address
+      var str= '';
+      if (this.customer.info.operatorType.indexOf('1') !== -1){
+         str+='移动 '
+      }
+      if (this.customer.info.operatorType.indexOf('2') !== -1){
+         str+='联通 '
+      }
+      if (this.customer.info.operatorType.indexOf('3') !== -1){
+         str+='电信 '
+      }
+      if (this.customer.info.operatorType.indexOf('4') !== -1){
+         str+='其他 '
+      }
+      this.customer.info.operatorType=str;
+      if (this.customer.info.calltestResults==='1'){
+        this.customer.info.calltestResults="关机"
+      }
+      if (this.customer.info.calltestResults==='2'){
+        this.customer.info.calltestResults="未接通"
+      }
+      if (this.customer.info.calltestResults==='3'){
+        this.customer.info.calltestResults="可接通不知晓入网事宜"
+      }
+      if (this.customer.info.calltestResults==='4') {
+        this.customer.info.calltestResults = "可接通认可办理"
+      }
       let queryTable={
         businessReminderCardId:this.customer.info.id
       }