Kaynağa Gözat

new 手机号

sunyize 2 yıl önce
ebeveyn
işleme
27e4d83048

+ 118 - 111
src/views/networkAccess/registration.vue

@@ -475,23 +475,30 @@
           <div>
             <a-list size="large" bordered>
               <a-list-item>
-                <a-col :span="8" >
-                  <a-button type="primary" style="margin-left: 200px" @click="add">添加</a-button>
+                <a-col :span="5" >
+
                 </a-col>
-                <a-col :span="20">
-                  <div>
+                <a-col :span="24">
+
 
-                    <a-form ref="form" :model="model"  label-width="80px">
+                    <a-form ref="form" :model="model"  >
                       <!-- 这个的v-for是核心是重点,一定要明白! -->
                       <div v-for="(item,index) in array" :key="index">
-                        <a-form-item>
+
+                          <a-form-model-item  label=" 新办号码"   prop="industry" :labelCol="{ span: 3 }" :wrapperCol="{ span: 18 }">
+
                           <a-input style="width:20%;margin-right:10px" v-model="form.value[index]" placeholder="请输入新办号码"></a-input>
-                          <a-button type="danger" size="small" icon="PlusOutlined" circle @click="del(index)"></a-button>
-                        </a-form-item>
+                          <a-button type="link"  @click="add">[ + ]</a-button>
+                            <a-button type="link"  @click="del(index)">[ - ]</a-button>
+                          </a-form-model-item>
+
                       </div>
                     </a-form>
-                  </div>
+
                 </a-col>
+
+
+
                 <a-col :span="18">
                 </a-col>
               </a-list-item>
@@ -2644,107 +2651,107 @@ export default {
     },
     /**下一步骤*/
     nextSteps() {
-      // if (this.current===0){
-      //     var info= this.showCheck0('all');
-      //     if (info===false){
-      //       return
-      //     }
-      //   }
-      // if (this.current === 1) {
-      //   var info = this.showCheck1('all');
-      //   if (info === false) {
-      //     return
-      //   }
-      //
-      //   let that = this;
-      //   console.info(this.model.calltestResults);
-      //   that.addIng == false
-      //   let data = this.getData('next');
-      //   let id = that.model.id;
-      //   let i = 1;
-      //   let dataMessage = '';
-      //   const h = this.$createElement
-      //   this.newDatas = [];
-      //
-      //
-      //   if (this.model.calltestResults === 1 || this.model.calltestResults === '1') {
-      //     this.calltestResultsName = '关机';
-      //   }
-      //   if (this.model.calltestResults === 2 || this.model.calltestResults === '2') {
-      //     this.calltestResultsName = '未接通';
-      //   }
-      //   if (this.model.calltestResults === 3 || this.model.calltestResults === '3') {
-      //     this.calltestResultsName = '可接通不知晓入网事宜';
-      //   }
-      //   if (this.model.calltestResults === 4 || this.model.calltestResults === '4') {
-      //     this.calltestResultsName = '可接通认可办理';
-      //   }
-      //
-      //   //集合遍历
-      //   var company = '';
-      //   var hall = '';
-      //   for (var item of this.sysCompany) {
-      //     if (item.id === this.model.company) {
-      //       this.companyName = item.name
-      //       for (var it of item.sysBusinessHallList) {
-      //         if (it.id === this.model.sysBusinessHall) {
-      //           this.hallName = it.name
-      //         }
-      //       }
-      //     }
-      //   }
-      //   this.newDatas.push('异常信息提醒:')
-      //   this.newDatas.push('该用户以下填写信息可能触发风险请确认是否继续操作!!!')
-      //   // if (data["calltestResults"] === '2') {
-      //   //   this.newDatas.push(i++ + '、该用户拨测号码未接通 请确认是否继续操作 。 ')
-      //   //
-      //   // }
-      //   // if ( data["judgmentResearch"] === '3' ) {
-      //   //   this.newDatas.push(i++ + '、该用户附件地址人工判研异常 。 ')
-      //   // }
-      //   // if (data["calltestResults"] === '1') {
-      //   //   this.newDatas.push(i++ + '、该用户拨测号码关机 请确认是否继续操作 。 ')
-      //   //
-      //   // }
-      //   // if (this.isSizeNumberResults === 'is') {
-      //   //   this.newDatas.push(i++ + ' 、该用户有多个不友好研判结果 请确认是否继续操作 。 ')
-      //   //
-      //   // }
-      //   // if (data["judgmentResearch"] === '1'  ) {
-      //   //   if (parseFloat(this.distance1) > parseFloat(this.distance)) {
-      //   //     this.newDatas.push(i++ + ' 、该用户现住地址(到村/小区),营业厅地址 距离过远 请确认是否继续操作 。 ')
-      //   //   }
-      //   //   if (parseFloat(this.distance2) > parseFloat(this.distance)) {
-      //   //     this.newDatas.push(i++ + ' 、该用户 工作地址 , 营业厅地址 距离过远 请确认是否继续操作 。 ')
-      //   //   }
-      //   //   if (parseFloat(this.distance3) > parseFloat(this.distance)) {
-      //   //     this.newDatas.push(i++ + ' 、该用户现住地址(到村/小区),工作地址距离过远 请确认是否继续操作 。 ')
-      //   //   }
-      //   // }
-      //   this.getDataRisk(data)
-      //   // if (this.newDatas.length === 1) {
-      //   //newDatas.push(h('p', null, i++ +'、 暂无风险提示 请继续操作。 '))
-      //   //} else {
-      //
-      //   //是否显示继续操作页面
-      //   this.showInfo = true;
-      //
-      //
-      //   //document.getElementById('showInfo').innerHTML = h('div', null, this.newDatas)
-      //   // this.$confirm({
-      //   //   okText: '继续操作',
-      //   //   cancelText: '终止操作',
-      //   //   title: "确认是否继续",
-      //   //   content: h('div', null, newDatas),
-      //   //   onOk: function () {
-      //   //
-      //   //   } ,
-      //   //   onCancel:function (){
-      //   //     data['status']="0";//中断提交
-      //   //     that.submit(data,id)
-      //   //   }
-      //   // });
-      // }
+      if (this.current===0){
+          var info= this.showCheck0('all');
+          if (info===false){
+            return
+          }
+        }
+      if (this.current === 1) {
+        var info = this.showCheck1('all');
+        if (info === false) {
+          return
+        }
+
+        let that = this;
+        console.info(this.model.calltestResults);
+        that.addIng == false
+        let data = this.getData('next');
+        let id = that.model.id;
+        let i = 1;
+        let dataMessage = '';
+        const h = this.$createElement
+        this.newDatas = [];
+
+
+        if (this.model.calltestResults === 1 || this.model.calltestResults === '1') {
+          this.calltestResultsName = '关机';
+        }
+        if (this.model.calltestResults === 2 || this.model.calltestResults === '2') {
+          this.calltestResultsName = '未接通';
+        }
+        if (this.model.calltestResults === 3 || this.model.calltestResults === '3') {
+          this.calltestResultsName = '可接通不知晓入网事宜';
+        }
+        if (this.model.calltestResults === 4 || this.model.calltestResults === '4') {
+          this.calltestResultsName = '可接通认可办理';
+        }
+
+        //集合遍历
+        var company = '';
+        var hall = '';
+        for (var item of this.sysCompany) {
+          if (item.id === this.model.company) {
+            this.companyName = item.name
+            for (var it of item.sysBusinessHallList) {
+              if (it.id === this.model.sysBusinessHall) {
+                this.hallName = it.name
+              }
+            }
+          }
+        }
+        this.newDatas.push('异常信息提醒:')
+        this.newDatas.push('该用户以下填写信息可能触发风险请确认是否继续操作!!!')
+        // if (data["calltestResults"] === '2') {
+        //   this.newDatas.push(i++ + '、该用户拨测号码未接通 请确认是否继续操作 。 ')
+        //
+        // }
+        // if ( data["judgmentResearch"] === '3' ) {
+        //   this.newDatas.push(i++ + '、该用户附件地址人工判研异常 。 ')
+        // }
+        // if (data["calltestResults"] === '1') {
+        //   this.newDatas.push(i++ + '、该用户拨测号码关机 请确认是否继续操作 。 ')
+        //
+        // }
+        // if (this.isSizeNumberResults === 'is') {
+        //   this.newDatas.push(i++ + ' 、该用户有多个不友好研判结果 请确认是否继续操作 。 ')
+        //
+        // }
+        // if (data["judgmentResearch"] === '1'  ) {
+        //   if (parseFloat(this.distance1) > parseFloat(this.distance)) {
+        //     this.newDatas.push(i++ + ' 、该用户现住地址(到村/小区),营业厅地址 距离过远 请确认是否继续操作 。 ')
+        //   }
+        //   if (parseFloat(this.distance2) > parseFloat(this.distance)) {
+        //     this.newDatas.push(i++ + ' 、该用户 工作地址 , 营业厅地址 距离过远 请确认是否继续操作 。 ')
+        //   }
+        //   if (parseFloat(this.distance3) > parseFloat(this.distance)) {
+        //     this.newDatas.push(i++ + ' 、该用户现住地址(到村/小区),工作地址距离过远 请确认是否继续操作 。 ')
+        //   }
+        // }
+        this.getDataRisk(data)
+        // if (this.newDatas.length === 1) {
+        //newDatas.push(h('p', null, i++ +'、 暂无风险提示 请继续操作。 '))
+        //} else {
+
+        //是否显示继续操作页面
+        this.showInfo = true;
+
+
+        //document.getElementById('showInfo').innerHTML = h('div', null, this.newDatas)
+        // this.$confirm({
+        //   okText: '继续操作',
+        //   cancelText: '终止操作',
+        //   title: "确认是否继续",
+        //   content: h('div', null, newDatas),
+        //   onOk: function () {
+        //
+        //   } ,
+        //   onCancel:function (){
+        //     data['status']="0";//中断提交
+        //     that.submit(data,id)
+        //   }
+        // });
+      }
       if (this.current < this.steps.length) {
         this.current = this.current + 1;
       }
@@ -2881,7 +2888,7 @@ export default {
       }
       if (this.model.cardNo==='' || this.model.cardNo===null ||  this.model.cardNo===undefined){
         this.clearModel()
-        this.$message.success('身份证信息为空,暂不保持', 7);
+        this.$message.success('证件信息为空,暂不保存', 3);
         this.addIng == true;
         return
       }

+ 27 - 19
src/views/networkAccess/registrationSelect.vue

@@ -471,27 +471,35 @@
           :rules="rules"
         >
           <div>
+            <a-list size="large" bordered>
             <a-list-item>
-              <a-col :span="8" >
-                <a-button type="primary" style="margin-left: 200px" @click="add">添加</a-button>
+              <a-col :span="5" >
+
               </a-col>
-              <a-col :span="20">
-                <div>
+              <a-col :span="24">
 
-                  <a-form ref="form" :model="model"  label-width="80px">
-                    <!-- 这个的v-for是核心是重点,一定要明白! -->
-                    <div v-for="(item,index) in array" :key="index">
-                      <a-form-item>
-                        <a-input style="width:20%;margin-right:10px" v-model="form.value[index]" placeholder="请输入新办号码"></a-input>
-                        <a-button type="danger" size="small" icon="PlusOutlined" circle @click="del(index)"></a-button>
-                      </a-form-item>
-                    </div>
-                  </a-form>
-                </div>
-                </a-col>
-                <a-col :span="18">
-                </a-col>
-              </a-list-item>
+
+                <a-form ref="form" :model="model"  >
+                  <!-- 这个的v-for是核心是重点,一定要明白! -->
+                  <div v-for="(item,index) in array" :key="index">
+
+                    <a-form-model-item  label=" 新办号码"   prop="industry" :labelCol="{ span: 3 }" :wrapperCol="{ span: 18 }">
+
+                      <a-input style="width:20%;margin-right:10px" v-model="form.value[index]" placeholder="请输入新办号码"></a-input>
+                      <a-button type="link"  @click="add">[ + ]</a-button>
+                      <a-button type="link"  @click="del(index)">[ - ]</a-button>
+                    </a-form-model-item>
+
+                  </div>
+                </a-form>
+
+              </a-col>
+
+
+
+              <a-col :span="18">
+              </a-col>
+            </a-list-item>
               <a-list-item>
                 <a-col :span="16">
                   <a-form-model-item  id="numberResults" label=" 是否将高危号码上报蓝、紫名单或不可复开关停"  v-bind="labelCol1ProMaxPlus" prop="industry">
@@ -2941,7 +2949,7 @@ export default {
       }
       if (this.model.cardNo==='' || this.model.cardNo===null ||  this.model.cardNo===undefined){
         this.clearModel()
-        this.$message.success('身份证信息为空,暂不保持', 7);
+        this.$message.success('证件信息为空,暂不保存', 3);
         this.addIng == true;
         return
       }

+ 21 - 15
src/views/networkAccess/registrationUpdate.vue

@@ -473,24 +473,30 @@
           <div>
             <a-list size="large" bordered>
               <a-list-item>
-                <a-col :span="8" >
-                  <a-button type="primary" style="margin-left: 200px" @click="add">添加</a-button>
+                <a-col :span="5" >
+
                 </a-col>
-                <a-col :span="20">
+                <a-col :span="24">
 
-                  <div>
 
-                    <a-form ref="form" :model="model"  label-width="80px">
-                      <!-- 这个的v-for是核心是重点,一定要明白! -->
-                      <div v-for="(item,index) in array" :key="index">
-                        <a-form-item>
-                          <a-input style="width:20%;margin-right:10px" v-model="form.value[index]" placeholder="请输入新办号码"></a-input>
-                          <a-button type="danger" size="small" icon="PlusOutlined" circle @click="del(index)"></a-button>
-                        </a-form-item>
-                      </div>
-                    </a-form>
-                  </div>
+                  <a-form ref="form" :model="model"  >
+                    <!-- 这个的v-for是核心是重点,一定要明白! -->
+                    <div v-for="(item,index) in array" :key="index">
+
+                      <a-form-model-item  label=" 新办号码"   prop="industry" :labelCol="{ span: 3 }" :wrapperCol="{ span: 18 }">
+
+                        <a-input style="width:20%;margin-right:10px" v-model="form.value[index]" placeholder="请输入新办号码"></a-input>
+                        <a-button type="link"  @click="add">[ + ]</a-button>
+                        <a-button type="link"  @click="del(index)">[ - ]</a-button>
+                      </a-form-model-item>
+
+                    </div>
+                  </a-form>
+
                 </a-col>
+
+
+
                 <a-col :span="18">
                 </a-col>
               </a-list-item>
@@ -2938,7 +2944,7 @@ export default {
       }
       if (this.model.cardNo==='' || this.model.cardNo===null ||  this.model.cardNo===undefined){
         this.clearModel()
-        this.$message.success('身份证信息为空,暂不保持', 7);
+        this.$message.success('证件信息为空,暂不保存', 3);
         this.addIng == true;
         return
       }