sunyize 2 vuotta sitten
vanhempi
commit
a639c3abf5
1 muutettua tiedostoa jossa 204 lisäystä ja 171 poistoa
  1. 204 171
      src/views/networkAccess/registration.vue

+ 204 - 171
src/views/networkAccess/registration.vue

@@ -28,16 +28,16 @@
                 <a-form-model-item required label="身份证件号码" prop="cardNo"  :labelCol="{ span:8 }"   :wrapperCol="{ span: 14 }"    >
 
 <!--                  <a-radio-group v-model="model.cardNo" button-style="solid"    slot-scope="text, record">-->
-                    <a-input v-model="model.cardNo" placeholder="请输入身份证件号码" @keyup="keyupInfo()" id="cardNo" ></a-input>
+                    <a-input v-model="model.cardNo" placeholder="请输入身份证件号码" @keyup="keyupInfo()" id="cardNo"  @blur="showCheck0('cardNo')"></a-input>
 <!--                  </a-radio-group>--><a-icon slot="prefix" type="user" :style="{ color: 'rgba(0,0,0,.25)' }"/>
                 </a-form-model-item>
 
               </a-col>
 
               <a-col :span="6">
-                <a-form-model-item label="身份证姓名" :labelCol="{ span:8 }"   :wrapperCol="{ span: 14 }"  prop="cardName" >
+                <a-form-model-item label="身份证姓名" :labelCol="{ span:8 }"   :wrapperCol="{ span: 14 }"   >
 <!--                  <a-radio-group v-model="model.cardName" button-style="solid" prop="cardNo">-->
-                    <a-input v-model="model.cardName" placeholder="身份证姓名"  id="cardName"></a-input>
+                    <a-input v-model="model.cardName" placeholder="身份证姓名"  id="cardName"  @blur="showCheck0('cardName')"></a-input>
 <!--                  </a-radio-group>-->
                 </a-form-model-item>
               </a-col>
@@ -47,13 +47,13 @@
               <!--                </a-form-item>-->
               <!--              </a-col>-->
 
-              <a-col :span="12" prop="cardDate">
-                <a-form-item label="身份证证件有效期"   :labelCol="{ span:6 }"   :wrapperCol="{ span: 16 }"  prop="cardDate" style="margin: 0px 0px">
+              <a-col :span="12"  >
+                <a-form-item label="身份证证件有效期"   @click="showCheck0('cardStartTime')" :labelCol="{ span:6 }"   :wrapperCol="{ span: 16 }"  prop="industry" style="margin: 0px 0px">
                   <j-date :show-time="true" date-format="YYYY-MM-DD" placeholder="请选择开始时间" class="query-group-cust"
-                          v-model="model.cardStartTime" prop="cardDate" id ="cardStartTime"></j-date>
+                          v-model="model.cardStartTime"   id ="cardStartTime" @change="showCheck0('cardStartTime')"></j-date>
                   <span class="query-group-split-cust"></span>
                   <j-date :show-time="true" date-format="YYYY-MM-DD" placeholder="请选择结束时间" class="query-group-cust"
-                          v-model="model.cardEndTime" prop="cardDate" id="cardEndTime"></j-date>
+                          v-model="model.cardEndTime"  id="cardEndTime" @change="showCheck0('cardEndTime')"></j-date>
                   <div v-if="cardDateNull" style="color: red">请选择身份证证件有效期</div>
                 </a-form-item>
               </a-col>
@@ -80,19 +80,19 @@
             <!--            </a-divider>-->
             <a-row>
               <a-col :span="7">
-                <a-form-model-item label="拨测联系电话"  :labelCol="{ span:8 }"   :wrapperCol="{ span: 12 }"  prop="modelPhone">
+                <a-form-model-item label="拨测联系电话"  :labelCol="{ span:8 }"   :wrapperCol="{ span: 12 }"  prop="phone">
 <!--                  <a-radio-group v-model="model.phone" button-style="solid">-->
                     <a-input v-model="model.phone" placeholder="请输入拨测联系电话"
-                             @keyup="keyupInfoPhone(model.phone)" id="phone"></a-input>
+                             @keyup="keyupInfoPhone(model.phone)" @blur="showCheck0('phone')" id="phone"></a-input>
 <!--                  </a-radio-group>-->
                 </a-form-model-item>
               </a-col>
 
 
               <a-col :span="7">
-                <a-form-model-item label="联电归属地" prop="modelAddress" :labelCol="{ span:8 }"   :wrapperCol="{ span: 12 }">
+                <a-form-model-item label="联电归属地"  prop="industry" :labelCol="{ span:8 }"   :wrapperCol="{ span: 12 }">
 <!--                  <a-radio-group v-model="model.address" button-style="solid">-->
-                    <a-input v-model="model.address" placeholder="请输入联电归属地" id="address"></a-input>
+                    <a-input v-model="model.address" placeholder="请输入联电归属地" id="address" @blur="showCheck0('address')"></a-input>
 <!--                  </a-radio-group>-->
                 </a-form-model-item>
               </a-col>
@@ -112,19 +112,25 @@
               <!--              </a-col>-->
               <a-col :span="10">
                 <a-form-model-item label="运营商类型"  v-bind="labelCol2" prop="operatorType" style="margin: 0px 0px">
-                  <a-radio-group v-model="model.operatorType" button-style="solid">
+                  <a-radio-group v-model="model.operatorType" button-style="solid"  @change="showCheck0('operatorType')">
+
                     <a-radio value="1">移动</a-radio>
-                    <span v-if="this.model.yidong>5 " style="color: red">[{{ this.model.yidong }}]</span><span
-                    v-if="this.model.yidong<5 " style="color: green">[{{ this.model.yidong }}]</span>
-                    <a-radio value="2">联通</a-radio>
-                    <span v-if="this.model.liantong>5 " style="color: red">[{{ this.model.liantong }}]</span><span
-                    v-if="this.model.liantong<5 " style="color: green">[{{ this.model.liantong }}]</span>
-                    <a-radio value="3">电信</a-radio>
-                    <span v-if="this.model.dianxin>5 " style="color: red">[{{ this.model.dianxin }}]</span><span
-                    v-if="this.model.dianxin<5 " style="color: green">[{{ this.model.dianxin }}]</span>
-                    <a-radio value="4">其他</a-radio>
-                    <span v-if="this.model.qita>5 " style="color: red">[{{ this.model.qita }}]</span><span
-                    v-if="this.model.qita<5 " style="color: green">[{{ this.model.qita }}]</span>
+<!--                    <span v-if="this.model.yidong>5 " style="color: red">[{{ this.model.yidong }}]</span><span-->
+<!--                    v-if="this.model.yidong<5 " style="color: green">[{{ this.model.yidong }}]</span>-->
+                    <a-input-number id="inputNumberyidong" v-model="model.yidong" style="width: 45px" :min="0" :max="100" />
+                    <a-radio value="2"  >联通</a-radio>
+<!--                    <span v-if="this.model.liantong>5 " style="color: red">[{{ this.model.liantong }}]</span><span-->
+<!--                    v-if="this.model.liantong<5 " style="color: green">[{{ this.model.liantong }}]</span>-->
+                    <a-input-number id="inputNumberliantong" v-model="model.liantong" style="width: 45px;height: 30px" :min="0" :max="100" />
+                    <br>
+                    <a-radio value="3" >电信</a-radio>
+<!--                    <span v-if="this.model.dianxin>5 " style="color: red">[{{ this.model.dianxin }}]</span><span-->
+<!--                    v-if="this.model.dianxin<5 " style="color: green">[{{ this.model.dianxin }}]</span>-->
+                    <a-input-number id="inputNumberdianxin" v-model="model.dianxin" style="width: 45px" :min="0" :max="100" />
+                    <a-radio value="4" >其他</a-radio>
+                    <a-input-number id="inputNumberqita" v-model="model.qita" style="width: 45px" :min="0" :max="100" />
+<!--                    <span v-if="this.model.qita>5 " style="color: red">[{{ this.model.qita }}]</span><span-->
+<!--                    v-if="this.model.qita<5 " style="color: green">[{{ this.model.qita }}]</span>-->
                   </a-radio-group>
                   <div v-if="operatorTypeNull" style="color: red">请选择运营商类型</div>
                 </a-form-model-item>
@@ -136,24 +142,24 @@
               <a-col :span="7">
                 <a-form-model-item label="新办号码用途" prop="phonePurpose"  :labelCol="{ span:8 }"   :wrapperCol="{ span: 12 }">
 <!--                  <a-radio-group v-model="model.phonePurpose" button-style="solid">-->
-                    <a-input v-model="model.phonePurpose" placeholder="请输入用途" id="phonePurpose"></a-input>
+                    <a-input v-model="model.phonePurpose" placeholder="请输入用途" id="phonePurpose" @blur="showCheck0('phonePurpose')"></a-input>
 <!--                  </a-radio-group>-->
                 </a-form-model-item>
               </a-col>
               <a-col :span="7">
 
-                  <a-form-model-item label="客户所属行业"   prop="industry" :labelCol="{ span:8 }"   :wrapperCol="{ span: 12 }"style="margin: 0px 0px">
-                    <j-dict-select-tag placeholder="请选择客户所属行业" v-model="model.industry"  dictCode="custom_industry" id="industry" />
-                    <div v-if="industryNull" style="color: red">请选择客户所属行业</div>
+                  <a-form-model-item label="客户所属行业"    prop="industry" :labelCol="{ span:8 }"   :wrapperCol="{ span: 12 }"style="margin: 0px 0px">
+                    <j-dict-select-tag placeholder="请选择客户所属行业" v-model="model.industry"  dictCode="custom_industry" id="industry" @change="showCheck0('industry')" />
+                    <div v-if="industryNull" style="color: red"  >请选择客户所属行业</div>
                   </a-form-model-item>
 
               </a-col>
               <a-col :span="8">
                 <a-form-model-item label="客户现用号码" prop="modelOperator" :labelCol="{ span:9 }"
                                    :wrapperCol="{ span: 15 }" style="margin: 0px 0px">
-                  <a-radio-group v-model="model.operator" button-style="solid" id="operator">
-                    <a-radio value="1">本地运营商</a-radio>
-                    <a-radio value="2">异地运营商</a-radio>
+                  <a-radio-group v-model="model.operator" button-style="solid" id="operator"@change="showCheck0('operator')">
+                    <a-radio value="1"  >本地运营商</a-radio>
+                    <a-radio value="2"  >异地运营商</a-radio>
                   </a-radio-group>
                   <div v-if="operatorNull" style="color: red">请选择客户现用号码</div>
                 </a-form-model-item>
@@ -169,11 +175,11 @@
             <a-row>
               <a-col :span="15">
                 <a-form-model-item label="拨测结果" prop="calltestResultsName" :labelCol="{ span: 3 }" :wrapperCol="{ span: 15 }" style="margin: 0px 0px">
-                  <a-radio-group v-model="model.calltestResults" button-style="solid">
-                    <a-radio value="1">关机</a-radio>
-                    <a-radio value="2">未接通</a-radio>
-                    <a-radio value="3">可接通不知晓入网事宜</a-radio>
-                    <a-radio value="4">可接通认可办理</a-radio>
+                  <a-radio-group v-model="model.calltestResults" button-style="solid" @change="showCheck0('calltestResults')">
+                    <a-radio value="1" >关机</a-radio>
+                    <a-radio value="2" >未接通</a-radio>
+                    <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>
                   <div v-if="calltestResultsNull" style="color: red">请选择拨测结果</div>
@@ -208,7 +214,7 @@
 
                         <div style="float:left;margin: 20px 3px;" id="isDxNumber"><div class="redInfo" >*</div>1、客户名下无电信号码</div>
                         <div style="float:right;margin: 20px 10px;" >
-                          <a-radio-group v-model="model.isDxNumber" button-style="solid">
+                          <a-radio-group v-model="model.isDxNumber" button-style="solid" @change="showCheck1('isDxNumber')">
                             <a-radio :value="1">是</a-radio>
                             <a-radio :value="2">否</a-radio>
                           </a-radio-group>
@@ -226,7 +232,7 @@
                     <div>
                         <div style="float:left;margin: 20px 3px;" id="isBroadband"><div class="redInfo" >*</div>2、申请号码办理征信类、融合宽带业务</div>
                         <div style="float:right;margin: 20px 10px;" >
-                            <a-radio-group v-model="model.isBroadband" button-style="solid">
+                            <a-radio-group v-model="model.isBroadband" button-style="solid" @change="showCheck1('isBroadband')">
                               <a-radio :value="1">是</a-radio>
                               <a-radio :value="2">否</a-radio>
                             </a-radio-group>
@@ -245,7 +251,7 @@
                       <div style="float:left;margin: 20px 3px;" id="isUseTo"><div class="redInfo" >*</div>3、 申请号码使用用途异常</div>
                       <div style="float:right;margin: 20px 10px;" >
 
-                        <a-radio-group v-model="model.isUseTo" button-style="solid">
+                        <a-radio-group v-model="model.isUseTo" button-style="solid" @change="showCheck1('isUseTo')">
                           <a-radio :value="1">是</a-radio>
                           <a-radio :value="2">否</a-radio>
                         </a-radio-group>
@@ -264,7 +270,7 @@
                       <div style="float:left;margin: 20px 3px;" id="isRefund"><div class="redInfo" >*</div>4、客户名下号码存在异常高频率充值、退费</div>
                       <div style="float:right;margin: 20px 10px;" >
 
-                      <a-radio-group v-model="model.isRefund" button-style="solid">
+                      <a-radio-group v-model="model.isRefund" button-style="solid" @change="showCheck1('isRefund')">
                         <a-radio :value="1">是</a-radio>
                         <a-radio :value="2">否</a-radio>
                       </a-radio-group>
@@ -283,7 +289,7 @@
                       <div style="float:left;margin: 20px 3px;" id="isShutDown"><div class="redInfo" >*</div>5、客户名下已有号码(含已注销号码)存在各类关停</div>
                       <div style="float:right;margin: 20px 10px;" >
 
-                      <a-radio-group v-model="model.isShutDown" button-style="solid">
+                      <a-radio-group v-model="model.isShutDown" button-style="solid" @change="showCheck1('isShutDown')">
                         <a-radio :value="1">是</a-radio>
                         <a-radio :value="2">否</a-radio>
                       </a-radio-group>
@@ -303,7 +309,7 @@
                       <div style="float:left;margin: 20px 3px;" id="isNewly"><div class="redInfo" >*</div>6、客户名下在用号码无使用记录,仍要求新办号码</div>
                       <div style="float:right;margin: 20px 10px;" >
 
-                      <a-radio-group v-model="model.isNewly" button-style="solid">
+                      <a-radio-group v-model="model.isNewly" button-style="solid" @change="showCheck1('isNewly')">
                         <a-radio :value="1">是</a-radio>
                         <a-radio :value="2">否</a-radio>
                       </a-radio-group>
@@ -322,7 +328,7 @@
                       <div style="float:left;margin: 20px 3px;" id="isChannel"><div class="redInfo" >*</div>7、在多个渠道多频次入网的异常情况</div>
                       <div style="float:right;margin: 20px 10px;" >
 
-                      <a-radio-group v-model="model.isChannel" button-style="solid">
+                      <a-radio-group v-model="model.isChannel" button-style="solid" @change="showCheck1('isChannel')">
                         <a-radio :value="1">是</a-radio>
                         <a-radio :value="2">否</a-radio>
                       </a-radio-group>
@@ -341,7 +347,7 @@
                       <div style="float:left;margin: 20px 3px;" id="isInvolvingFraud"><div class="redInfo" >*</div>8、黑名单到期客户新入网的高危疑似涉诈号码</div>
                       <div style="float:right;margin: 20px 10px;" >
 
-                      <a-radio-group v-model="model.isInvolvingFraud" button-style="solid">
+                      <a-radio-group v-model="model.isInvolvingFraud" button-style="solid" @change="showCheck1('isInvolvingFraud')">
                         <a-radio :value="1">是</a-radio>
                         <a-radio :value="2">否</a-radio>
                       </a-radio-group>
@@ -488,10 +494,10 @@
                 </a-row>
                 <a-row>
                   <a-col>
-                    <a-form-model-item label="工作地址" prop="workAddress" :labelCol="{ span:7}"   :wrapperCol="{ span: 7}">
+                    <a-form-model-item label="工作地址" prop="industry" :labelCol="{ span:7}"   :wrapperCol="{ span: 7}">
 <!--                      <a-radio-group v-model="model.wordAddress" button-style="solid">-->
                         <a-input v-model="model.wordAddress" placeholder="请输入工作地址"
-                                 @keyup="searchKeyWord('model.wordAddress')" id="wordAddress"></a-input>
+                                 @keyup="searchKeyWord('model.wordAddress')" id="wordAddress" @blur="showCheck0('wordAddress')"></a-input>
                         <div class="map_search_result" v-show="this.showsearchResult">
                           <ul style="  border-radius: 5px ;border: 0.5px solid #f1f1f1;padding: 0px; background-color: #f1f1f1;">
                             <li  style="  border-radius: 5px;list-style: none;border: 0px solid;padding: 0px; " @click="markerResult(item,'wordAddress')" v-for="(item,index) in poiList" :key="index">
@@ -506,12 +512,12 @@
 
                 <a-row>
                   <a-col>
-                    <a-form-model-item label="现住地址(到村/小区)" prop="currentAddress" :labelCol="{ span:7}"   :wrapperCol="{ span: 7}">
+                    <a-form-model-item label="现住地址(到村/小区)" prop="industry" :labelCol="{ span:7}"   :wrapperCol="{ span: 7}">
 <!--                      <a-radio-group v-model="model.currentAddress" button-style="solid">-->
 
 
                         <a-input v-model="model.currentAddress" placeholder="请输入现住地址"
-                                 @keyup="searchKeyWord('model.currentAddress')" id="currentAddress"></a-input>
+                                 @keyup="searchKeyWord('model.currentAddress')" id="currentAddress" @blur="showCheck0('currentAddress')"></a-input>
                         <div class="map_search_result" v-show="this.showsearchcurrentAddress">
                           <ul style="  border-radius: 5px ;border: 0.5px solid #f1f1f1;padding: 0px; background-color: #f1f1f1;">
                             <li  style="  border-radius: 5px;list-style: none;border: 0px solid;padding: 0px; "@click="markerResult(item,'currentAddress')" v-for="(item,index) in poiList"
@@ -529,7 +535,7 @@
                   <a-col :span="24">
                     <a-form-model-item label="" prop="userOpenState" v-bind="labelCol2" :labelCol="{span:3}"
                                        :wrapperCol="{span:24}">
-                      <a-radio-group v-model="model.judgmentResearch" button-style="solid">
+                      <a-radio-group v-model="model.judgmentResearch" button-style="solid"  @change="showCheck0('judgmentResearch')">
                         <a-radio value="1" style="color: red ;margin-left: 30px">智能判研-异常</a-radio>
                         <a-radio value="4">智能判研-正常</a-radio>
                         <a-radio value="3" style="color: red">人工判研-异常</a-radio>
@@ -824,7 +830,7 @@ export default {
       rules: {
         cardNo: [
           { required: true, message: '请输入身份证号码!' },
-          { validator: this.validatePhone }
+          { validator: this.validateCardNo }
         ],
         cardName: [{
           required: true, message: '请输姓名!'
@@ -832,18 +838,11 @@ export default {
         cardDate: [
           {required: true, message: '请输入身份证证件有效期...'}
         ],
-        modelPhone: [
-          {
-            required: true,
-            message: '请输入电话号码',
-            trigger: 'blur'
-          }],
+        phone: [
+          { required: true, message: '拨测联系电话!', trigger: 'blur'}
+          ],
         modelAddress:[
-          {
-            required: true,
-            message: '请输入联电归属地!',
-            trigger: 'blur'
-          }
+          { required: true, message: '请输入联电归属地!', trigger: 'blur'}
         ],
         operatorType:[
           {
@@ -862,7 +861,7 @@ export default {
         industry:[
           {
             required: true,
-            message: '请选择客户所属行业',
+            message: '请选择内容',
             trigger: 'blur'
           }
         ],
@@ -932,6 +931,7 @@ export default {
       newDatas: [],
       //表单信息
       model: {
+        value:0,
         sysBusinessHall: '',
         company: '',
         industry: '',
@@ -1017,18 +1017,22 @@ export default {
       }
     },
 
-    // 校验手机号
-    validatePhone(rule,value,callback){
-
+    // 校验身份证
+    validateCardNo(rule,value,callback){
         if (!value || new RegExp(/(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{7}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}$)/).test(value)) {
           callback();
         } else {
           callback("您的身份证格式不正确!");
         }
-
     },
     //校验姓名
-
+    validateName(rule,value,callback){
+      if (!value || new RegExp(/(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{7}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}$)/).test(value)) {
+        callback();
+      } else {
+        callback("您的身份证格式不正确!");
+      }
+    },
 
 
     getPhoneTypeSize() {
@@ -1102,6 +1106,10 @@ export default {
       this.placeSearchComponent = new AMap.PlaceSearch()
     },
     searchKeyWordsysBusinessHall(data, nameType) {
+
+      if (nameType==='businessAddress'){
+       this.showCheck0('sysBusinessHall');
+      }
       let that = this
       that.placeSearchComponent.search(data, function (status, result) {
         if (status === 'complete' && result.info === "OK") {
@@ -1498,7 +1506,7 @@ export default {
         let data = {
           "cardNo": this.model.cardNo
         }
-        this.getPhoneTypeSize();
+        //this.getPhoneTypeSize();
         getAction(that.url.queryByCardNo, data).then((res) => {
           if (res.success) {
             let result = res.result;
@@ -1557,7 +1565,7 @@ export default {
             // this.$refs.modalDetail.title = "详情";
           }
         })
-
+        this.model.id=null;
       }
 
 
@@ -1583,166 +1591,187 @@ export default {
       })
     },
 
-    /**下一步骤*/
-    nextSteps() {
-      if (this.current===0){
-        var info = true;
-          if (this.model.cardNo==='' || this.model.cardNo===null){
-            document.getElementById('cardNo').style.borderColor = "red";
-            info=false;
-          }else {
-            document.getElementById('cardNo').style.borderColor = "black";
-          }
-          if (this.model.cardName==='' || this.model.cardName===null){
-            document.getElementById('cardName').style.borderColor = "red";
-            info=false;
-          }else {
-            document.getElementById('cardName').style.borderColor = "black";
-          }
-          if (this.model.phone==='' || this.model.phone===null){
-            document.getElementById('phone').style.borderColor = "red";
-            info=false;
-          }else {
-            document.getElementById('phone').style.borderColor = "black";
-          }
 
-          if (this.model.address===''|| this.model.address===null){
-            document.getElementById('address').style.borderColor = "red";
-            info=false;
-          }else {
-            document.getElementById('address').style.borderColor = "black";
-          }
-          if (this.model.phonePurpose==='' || this.model.phonePurpose===null){
-            document.getElementById('phonePurpose').style.borderColor = "red";
-            info=false;
-          }else {
-            document.getElementById('phonePurpose').style.borderColor = "black";
-          }
-          if (this.model.industry==='' || this.model.industry===null){
-            this.industryNull=true
-            info=false;
-          }else {
-            this.industryNull=false
-          }
-          if (this.model.wordAddress===''||  this.model.wordAddress===null){
-            document.getElementById('wordAddress').style.borderColor = "red";
-            info=false;
-          }else {
-            document.getElementById('wordAddress').style.borderColor = "black";
-          }
-          if (this.model.currentAddress===''|| this.model.currentAddress===null){
-            document.getElementById('currentAddress').style.borderColor = "red";
-            info=false;
-          }else {
-            document.getElementById('currentAddress').style.borderColor = "black";
-          }
-          if (this.model.calltestResults===''|| this.model.calltestResults===null){
-            this.calltestResultsNull=true;
-            info=false;
-          }else {
-            this.calltestResultsNull=false;
-          }
-        if (this.model.judgmentResearch===''|| this.model.judgmentResearch===null){
-          this.judgmentResearchNull=true;
-          info=false;
-        }else {
-          this.judgmentResearchNull=false;
-        }
-        if (this.model.cardStartTime===''|| this.model.cardStartTime===null){
-          this.cardDateNull=true;
+    showCheck0(data){
+      var info = true;
+      if (data==='all' || data==='cardNo'){ if (this.model.cardNo==='' || this.model.cardNo===null){
+          document.getElementById('cardNo').style.borderColor = "red";
           info=false;
         }else {
-          this.cardDateNull=false;
-        }
+          document.getElementById('cardNo').style.borderColor = "#d9d9d9";
+        }  }
+     if (data==='all' || data==="cardName"){ if (this.model.cardName==='' || this.model.cardName===null){
+       document.getElementById('cardName').style.borderColor = "red";
+       info=false;
+     }else {
+       document.getElementById('cardName').style.borderColor = "#d9d9d9";
+     }}
+      if (data==='all' || data==="phone"){  if (this.model.phone==='' || this.model.phone===null){
+        document.getElementById('phone').style.borderColor = "red";
+        info=false;
+      }else {
+        document.getElementById('phone').style.borderColor = "#d9d9d9";
+      } }
+      if (data==='all' || data==="address"){   if (this.model.address===''|| this.model.address===null){
+        document.getElementById('address').style.borderColor = "red";
+        info=false;
+      }else {
+        document.getElementById('address').style.borderColor = "#d9d9d9";
+      } }
+      if (data==='all' || data==="phonePurpose"){  if (this.model.phonePurpose==='' || this.model.phonePurpose===null){
+        document.getElementById('phonePurpose').style.borderColor = "red";
+        info=false;
+      }else {
+        document.getElementById('phonePurpose').style.borderColor = "#d9d9d9";
+      } }
+      if (data==='all' || data==="industry"){  if (this.model.industry==='' || this.model.industry===null){
+        this.industryNull=true
+        info=false;
+      }else {
+        this.industryNull=false
+      }}
+      if (data==='all' || data==="wordAddress"){ if (this.model.wordAddress===''||  this.model.wordAddress===null){
+        document.getElementById('wordAddress').style.borderColor = "red";
+        info=false;
+      }else {
+        document.getElementById('wordAddress').style.borderColor = "#d9d9d9";
+      }}
+      if (data==='all' || data==="currentAddress"){  if (this.model.currentAddress===''|| this.model.currentAddress===null){
+        document.getElementById('currentAddress').style.borderColor = "red";
+        info=false;
+      }else {
+        document.getElementById('currentAddress').style.borderColor = "#d9d9d9";
+      }}
+      if (data==='all' || data==="calltestResults"){ if (this.model.calltestResults===''|| this.model.calltestResults===null){
+        this.calltestResultsNull=true;
+        info=false;
+      }else {
+        this.calltestResultsNull=false;
+      } }
+      if (data==='all' || data==="judgmentResearch"){
+            if (this.model.judgmentResearch===''|| this.model.judgmentResearch===null){
+                this.judgmentResearchNull=true;
+                info=false;
+            }else {
+                this.judgmentResearchNull=false;
+            }
+      }
+      if (data==='all' || data==="operator"){   if (this.model.operator==='' || this.model.operator===null){
+        this.operatorNull=true;
+        info=false;
+      }else {
+        this.operatorNull=false;
+      }
+      }
+       if (data==='all' || data==="company"||data==='all' || data==="operatorType" ){
+             if (this.model.operatorType==='' || this.model.operatorType===null){
+              this.operatorTypeNull=true;
+              info=false;
+            }else {
+              this.operatorTypeNull=false;
+            }
+       }
+      if (data==='all' || data==="sysBusinessHall"){ if (this.model.sysBusinessHall===''   ||this.model.sysBusinessHall===null){
+        this.sysBusinessHallNull=true;
+        info=false;
+      }else {
+        this.sysBusinessHallNull=false;
+      } }
+      if (data==='all' || data==="cardStartTime" || data==='all' || data==="cardEndTime"){  if (this.model.cardStartTime===''|| this.model.cardStartTime===null){
+        this.cardDateNull=true;
+        info=false;
+      }else {
+        this.cardDateNull=false;
+      }
         if (this.model.cardEndTime==='' || this.model.cardEndTime===null){
           this.cardDateNull=true;
           info=false;
         }else {
           this.cardDateNull=false;
-        }
+        } }
+      return info;
+    },
 
-        if (this.model.operator==='' || this.model.operator===null){
-          this.operatorNull=true;
-          info=false;
-        }else {
-          this.operatorNull=false;
-        }
-        if (this.model.operatorType==='' || this.model.operatorType===null){
-          this.operatorTypeNull=true;
-          info=false;
-        }else {
-          this.operatorTypeNull=false;
-        }
-        if (this.model.company==='' || this.model.company===null){
-          this.sysBusinessHallNull=true;
-          info=false;
-        }else {
-            this.sysBusinessHallNull=false;
-          }
-        if (this.model.sysBusinessHall===''   ||this.model.sysBusinessHall===null){
-          this.sysBusinessHallNull=true;
-          info=false;
-         }else {
-        this.sysBusinessHallNull=false;
-         }
-          if (info===false){
-            return
-          }
-        }
-      if (this.current === 1) {
-        var info =true;
+    showCheck1(data){
+      var info =true;
+      if (data==='isInvolvingFraud' || data==='all'){
         if (this.model.isInvolvingFraud==='' || this.model.isInvolvingFraud===null){
           document.getElementById('isInvolvingFraud').style.color  = "red";
-              info=false;
+          info=false;
         }else {
           document.getElementById('isInvolvingFraud').style.color  = "black";
         }
+      }
+      if (data==='isChannel' || data==='all'){
         if (this.model.isChannel==='' || this.model.isChannel===null){
           document.getElementById('isChannel').style.color  = "red";
           info=false;
         }else {
           document.getElementById('isChannel').style.color  = "black";
         }
+      }
+      if (data==='isNewly' || data==='all'){
         if (this.model.isNewly==='' || this.model.isNewly===null){
           document.getElementById('isNewly').style.color  = "red";
           info=false;
         }else {
           document.getElementById('isNewly').style.color  = "black";
         }
+      }
+      if (data==='isShutDown' || data==='all'){
         if (this.model.isShutDown==='' || this.model.isShutDown===null){
           document.getElementById('isShutDown').style.color  = "red";
           info=false;
         }else {
           document.getElementById('isShutDown').style.color  = "black";
         }
+      }
+      if (data==='isRefund' || data==='all'){
         if (this.model.isRefund==='' || this.model.isRefund===null){
           document.getElementById('isRefund').style.color  = "red";
           info=false;
         }else {
-        document.getElementById('isRefund').style.color  = "black";
+          document.getElementById('isRefund').style.color  = "black";
         }
+      }
+      if (data==='isUseTo' || data==='all'){
         if (this.model.isUseTo==='' || this.model.isUseTo===null){
           document.getElementById('isUseTo').style.color  = "red";
           info=false;
         }else {
           document.getElementById('isUseTo').style.color  = "black";
         }
+      }
+      if (data==='isBroadband' || data==='all'){
         if (this.model.isBroadband==='' || this.model.isBroadband===null){
           document.getElementById('isBroadband').style.color  = "red";
           info=false;
         }else {
           document.getElementById('isBroadband').style.color  = "black";
         }
+      }
+      if (data==='isDxNumber' || data==='all'){
         if (this.model.isDxNumber==='' || this.model.isDxNumber===null){
           document.getElementById('isDxNumber').style.color  = "red";
           info=false;
         }else {
           document.getElementById('isDxNumber').style.color  = "black";
         }
+      }
+      return info;
+    },
+    /**下一步骤*/
+    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
-        }else {
-
         }
 
         let that = this;
@@ -1854,6 +1883,10 @@ export default {
         "company": this.model.company,
         //用户id
         "id": this.model.id,
+        "yidong": this.model.yidong,
+        "dianxin": this.model.dianxin,
+        "liantong": this.model.liantong,
+        "qita": this.model.qita,
         //联电归属地
         "address": this.model.address,
         //拨测联系电话