sunyize há 2 anos atrás
pai
commit
d05cd01403

+ 2 - 1
src/views/networkAccess/PopupSubTable.vue

@@ -347,7 +347,8 @@ export default {
       toBeAudited:'',
       toBeRectified:'',
       pass:'',
-      cardNo:''
+      cardNo:'',
+      autoSearch:false
     }
   },
 

+ 6 - 4
src/views/networkAccess/registration.vue

@@ -157,8 +157,10 @@
                     <a-radio value="3">可接通不知晓入网事宜</a-radio>
                     <a-radio value="4">可接通认可办理</a-radio>
                   </a-radio-group>
+                  <a-button type="link" style="color: red" v-if="this.model.calltestResults==='1' ">拨测号码关机!</a-button>
                 </a-form-model-item>
               </a-col>
+
             </a-row>
 
           </div>
@@ -1116,7 +1118,7 @@ export default {
         if (this.model.positionInformation===''   ||  this.model.positionInformation===null){
           newDatas.push(h('p', null,  '<位置信息> 不可为空... '))
         }
-        if (this.model.mapAddress===''||  this.model.mapAddress===null){
+        if (this.mapAddress===''||  this.mapAddress===null){
           newDatas.push(h('p', null, '<工作地址> 不可为空... '))
         }
         if (this.model.businessAddress===''|| this.model.businessAddress===null){
@@ -1215,7 +1217,7 @@ export default {
         "cardName":that.model.cardName,
         "cardStartTime":that.model.cardStartTime,
         "endStartTime":that.model.endStartTime,
-        "wordAddress":that.model.wordAddress,
+        "wordAddress":that.mapAddress,
         "businessAddress":that.model.businessAddress,
         "positionInformation":that.model.positionInformation
 
@@ -1228,8 +1230,8 @@ export default {
       const h = this.$createElement
       const newDatas = [];
 
-      if(data["calltestResults"]==='1' || data["calltestResults"] ==='2'){
-        newDatas.push(h('p', null, i++ +'、该用户拨测号码关停 请确认风险 。 '))
+      if(  data["calltestResults"] ==='2'){
+        newDatas.push(h('p', null, i++ +'、该用户拨测号码未接通 请确认风险 。 '))
 
       }if(this.isSizeNumberResults==='is'  ){
         newDatas.push(h('p', null, i++ +' 、该用户有多个不友好研判结果 请确认风险 。 '))

+ 165 - 91
src/views/networkAccess/userStatistics.vue

@@ -26,13 +26,13 @@
         <a-form layout="inline" @keyup.enter.native="searchQuery">
           <a-row :gutter="24">
             <a-col :xl="6" :lg="7" :md="8" :sm="24">
-              <a-form-item label="拨测电话">
-                <j-input placeholder="请输入拨测联系电话" v-model="queryParam.customerNo"></j-input>
+              <a-form-item label="身份证姓名">
+                <j-input placeholder="请输入身份证姓名" v-model="queryParam.cardName"></j-input>
               </a-form-item>
             </a-col>
             <a-col :xl="6" :lg="7" :md="8" :sm="24">
-              <a-form-item label="联电归属地">
-                <j-input placeholder="请输入联电归属地" v-model="queryParam.customerName"></j-input>
+              <a-form-item label="身份证号码">
+                <j-input placeholder="请输入身份证号码" v-model="queryParam.cardNo"></j-input>
               </a-form-item>
             </a-col>
             <a-col :xl="6" :lg="7" :md="8" :sm="24">
@@ -133,10 +133,13 @@
             </div>
 
           </template>
-
-          <template v-slot:phone="text, record">
-            <a @click="showCheckDetail(record)">{{ text }}</a>
+          <template v-slot:createBy="text, record">
+            <a @click="showByCreateBy(record)">{{text}}</a>
+          </template>
+          <template v-slot:businessAddress="text, record">
+            <a @click="showByBusinessAddresse(record)">{{text}}</a>
           </template>
+
           <template v-slot:numberResults="text, record">
             <a-badge :status="text | statusTypeFilter" :text="text | statusFilter"/>
           </template>
@@ -192,7 +195,9 @@ export default {
         restoreById: "/businessReminderCard/restoreById",
         notice: "/smsCheck/customerInfo/notice",
       },
-      /**表单*/
+      /**表单
+       * 入网用户统计:身份证号/姓名/办理电话/创建人/创建人所属营业厅/更新人/更新人营业厅/研判结果/
+       * */
       columns: [
         {
           title: '#',
@@ -202,105 +207,144 @@ export default {
           align: "center",
           scopedSlots: {customRender: 'rowIndex'}
         },
-
         {
-          title: '拨测联系电话',
+          title: '身份证号',
           align: "center",
           sorter: true,
-          dataIndex: 'phone',
-          scopedSlots: {customRender: 'phone'}
-          /* customRender: function (text, record, index) {
-             return "<span style='color: #1890FF'>{{text}}</span>"
-           }*/
-        },
-        {
-          title: '拨测结果',
+          dataIndex: 'cardNo'
+        }, {
+          title: '姓名',
           align: "center",
           sorter: true,
-          dataIndex: 'calltestResults',
-          customRender: function (text, record, index) {
-            if (text === '1') {
-              return '关机';
-            } else if (text === '2') {
-              return '未接通';
-            } else if (text === '3') {
-              return '可接通不知晓入网事宜';
-            } else if (text === '4') {
-              return '可接通认可办理';
-            }
-            return '';
-          }
-        },
-        {
-          title: '现用号码运营商',
-          align: "center",
-          dataIndex: 'operator',
-          customRender: function (text, record, index) {
-            if (text === '1') {
-              return '本地运营商';
-            } else if (text === '2') {
-              return '异地运营商';
-            }
-            return ''
-          }
-        },
-        {
-          title: '现用号码运营商类型',
-          align: "center",
-          dataIndex: 'operatorType',
-          customRender: function (text, record, index) {
-            if (text === '1') {
-              return '移动';
-            } else if (text === '2') {
-              return '联通';
-            } else if (text === '3') {
-              return '电信';
-            } else if (text === '4') {
-              return '其他';
-            }
-            return ''
-          }
-        },
-        {
-          title: '现用号码使用年限',
+          dataIndex: 'cardName',
+        }, {
+          title: '办理电话',
           align: "center",
           sorter: true,
-          dataIndex: 'useLife'
-        },
-        {
-          title: '客户名下有无电信号码',
-          align: "center",
-          dataIndex: 'isDxNumber',
-          customRender: function (text, record, index) {
-            if (text == '1') {
-              return '有';
-            } else if (text == '2') {
-              return '无';
-            }
-            return '';
-          }
-        },
-        {
+          dataIndex: 'phone'
+        }, {
           title: '创建人',
           align: "center",
-          dataIndex: 'createBy'
-        },
-        {
-          title: '创建时间',
+          sorter: true,
+          dataIndex: 'createBy',
+          scopedSlots: {customRender: 'createBy'}
+        }, {
+          title: '创建人所属营业厅',
           align: "center",
           sorter: true,
-          dataIndex: 'createTime'
-        },
-        {
+          dataIndex: 'businessAddress',
+          scopedSlots: {customRender: 'businessAddress'}
+
+        }, {
           title: '更新人',
           align: "center",
+          sorter: true,
           dataIndex: 'updateBy'
-        },
-        {
-          title: '更新使时间',
+        }, {
+          title: '更新人营业厅',
           align: "center",
           sorter: true,
-          dataIndex: 'updateTime'
+          dataIndex: 'businessAddress'
+          // },
+          // {
+          //   title: '拨测联系电话',
+          //   align: "center",
+          //   sorter: true,
+          //   dataIndex: 'phone',
+          //   scopedSlots: {customRender: 'phone'}
+          //   /* customRender: function (text, record, index) {
+          //      return "<span style='color: #1890FF'>{{text}}</span>"
+          //    }*/
+          // },
+          // {
+          //   title: '拨测结果',
+          //   align: "center",
+          //   sorter: true,
+          //   dataIndex: 'calltestResults',
+          //   customRender: function (text, record, index) {
+          //     if (text === '1') {
+          //       return '关机';
+          //     } else if (text === '2') {
+          //       return '未接通';
+          //     } else if (text === '3') {
+          //       return '可接通不知晓入网事宜';
+          //     } else if (text === '4') {
+          //       return '可接通认可办理';
+          //     }
+          //     return '';
+          //   }
+          // },
+          // {
+          //   title: '现用号码运营商',
+          //   align: "center",
+          //   dataIndex: 'operator',
+          //   customRender: function (text, record, index) {
+          //     if (text === '1') {
+          //       return '本地运营商';
+          //     } else if (text === '2') {
+          //       return '异地运营商';
+          //     }
+          //     return ''
+          //   }
+          // },
+          // {
+          //   title: '现用号码运营商类型',
+          //   align: "center",
+          //   dataIndex: 'operatorType',
+          //   customRender: function (text, record, index) {
+          //     if (text === '1') {
+          //       return '移动';
+          //     } else if (text === '2') {
+          //       return '联通';
+          //     } else if (text === '3') {
+          //       return '电信';
+          //     } else if (text === '4') {
+          //       return '其他';
+          //     }
+          //     return ''
+          //   }
+          // },
+          // {
+          //   title: '现用号码使用年限',
+          //   align: "center",
+          //   sorter: true,
+          //   dataIndex: 'useLife'
+          // },
+          // {
+          //   title: '客户名下有无电信号码',
+          //   align: "center",
+          //   dataIndex: 'isDxNumber',
+          //   customRender: function (text, record, index) {
+          //     if (text == '1') {
+          //       return '有';
+          //     } else if (text == '2') {
+          //       return '无';
+          //     }
+          //     return '';
+          //   }
+          // },
+          // {
+          //   title: '创建人',
+          //   align: "center",
+          //   dataIndex: 'createBy'
+          // },
+          // {
+          //   title: '创建时间',
+          //   align: "center",
+          //   sorter: true,
+          //   dataIndex: 'createTime'
+          // },
+          // {
+          //   title: '更新人',
+          //   align: "center",
+          //   dataIndex: 'updateBy'
+          // },
+          // {
+          //   title: '更新使时间',
+          //   align: "center",
+          //   sorter: true,
+          //   dataIndex: 'updateTime'
+          // },
         },
         {
           title: '研判结果',
@@ -351,6 +395,36 @@ export default {
     this.typeCount();
   },
   methods: {
+
+
+    showByCreateBy(record){
+      alert(record.createBy)
+      let queryParam = {
+        "createBy":record.createBy,
+        "cardNo":record.cardNo,
+        "cardName":record.cardName
+      }
+
+      alert(record.createBy)
+      this.loadData(queryParam);
+      this.selectedRowKeys = [];
+      this.selectionRows = [];
+      this.loadTabNumber(this.task.id);
+    },
+    showByBusinessAddresse(record){
+      let queryParam = {
+        "businessAddress":record.businessAddress,
+        "cardNo":record.cardNo,
+        "cardName":record.cardName
+      }
+      this.queryParam.businessAddress(queryParam);
+      this.loadData(1);
+      this.selectedRowKeys = [];
+      this.selectionRows = [];
+      this.loadTabNumber(this.task.id);
+    },
+
+
     /**标签监听*/
     tabChange(key) {
       this.url.list = "/businessReminderCard/list"