sunyize преди 2 години
родител
ревизия
2e55860e29

+ 1 - 1
src/views/networkAccess/registration.vue

@@ -2645,7 +2645,7 @@ export default {
           }
         }
       });
-      if (that.dataRisk.length>1) {
+      if (that.dataRisk.length>0) {
         //是否有风险
         that.riskShow=false;//有风险
       }

+ 20 - 4
src/views/networkAccess/registrationSelect.vue

@@ -763,7 +763,7 @@ import {reactive} from 'vue';
 import axios from 'axios';
 //import registationModel from './model/registationModel.vue'
 window._AMapSecurityConfig = {
-  securityJsCode: 'c4ab681cb7c3256184ae3557dc5beabb'  //填写你的安全密钥
+  securityJsCode: 'f762c44f71422cd56f90acc2a8e75144'  //填写你的安全密钥
 };
 
 
@@ -1217,6 +1217,7 @@ export default {
     }
   },
   created() {
+    this.getSysCompany();
     this.model.id = this.$route.query.id;
     this.model.cardNo = this.$route.query.cardNo;
     if ( this.$route.query.isDisabled!=null &&  this.$route.query.isDisabled==='true' ){
@@ -1906,7 +1907,7 @@ export default {
       AMapLoader.load({
         //  key: "8e513e3c374bdb2dd0095cd337b02ee6"  密钥 f762c44f71422cd56f90acc2a8e75144
         //  key :   3f95d73e380b9e4a2767c306a4b59f81       密钥 c4ab681cb7c3256184ae3557dc5beabb
-        key: "3f95d73e380b9e4a2767c306a4b59f81", // 申请好的Web端开发者Key,首次调用 load 时必填
+        key: "8e513e3c374bdb2dd0095cd337b02ee6", // 申请好的Web端开发者Key,首次调用 load 时必填
         version: "2.0",      // 指定要加载的 JSAPI 的版本,缺省时默认为 1.4.15
         plugins: [
           'AMap.ToolBar',
@@ -2058,6 +2059,18 @@ export default {
           this.industryQiTa='';
     },
     keyupInfo(info) {
+
+      let data = {
+        "cardNo": this.model.cardNo
+      };
+      getAction(this.url.getCompany, data).then((res) => {
+        if (res.success) {
+          let result = res.result;
+          console.log(result + "result");
+          if (result != null) {
+            this.sysCompany = result;
+          }
+
       this.spin=true ;
       //  this.handleEdit2()
       //身份证输入查询
@@ -2068,7 +2081,7 @@ export default {
           "id": this.model.id
         }
         var newPhones;
-        //this.getPhoneTypeSize();
+       //this.getSysCompany();
         getAction(that.url.queryByCardNo, data).then((res) => {
           if (res.success) {
             let result = res.result;
@@ -2181,6 +2194,8 @@ export default {
       }
 
       this.spin=false ;
+        }
+      })
 
     },
 
@@ -2193,6 +2208,7 @@ export default {
         this.isDisabled = true;
       }
       this.getSysCompany();
+      this.change(this.model.company)
       this.keyupInfo('update');
       this.change(this.model.company)
     },
@@ -2641,7 +2657,7 @@ export default {
           }
         }
       });
-      if (that.dataRisk.length>1) {
+      if (that.dataRisk.length>0) {
         //是否有风险
         that.riskShow=false;//有风险
       }

+ 18 - 7
src/views/networkAccess/registrationUpdate.vue

@@ -763,7 +763,7 @@ import {reactive} from 'vue';
 import axios from 'axios';
 //import registationModel from './model/registationModel.vue'
 window._AMapSecurityConfig = {
-  securityJsCode: 'c4ab681cb7c3256184ae3557dc5beabb'  //填写你的安全密钥
+  securityJsCode: 'f762c44f71422cd56f90acc2a8e75144'  //填写你的安全密钥
 };
 
 
@@ -1906,7 +1906,7 @@ export default {
       AMapLoader.load({
         //  key: "8e513e3c374bdb2dd0095cd337b02ee6"  密钥 f762c44f71422cd56f90acc2a8e75144
         //  key :   3f95d73e380b9e4a2767c306a4b59f81       密钥 c4ab681cb7c3256184ae3557dc5beabb
-        key: "3f95d73e380b9e4a2767c306a4b59f81", // 申请好的Web端开发者Key,首次调用 load 时必填
+        key: "8e513e3c374bdb2dd0095cd337b02ee6", // 申请好的Web端开发者Key,首次调用 load 时必填
         version: "2.0",      // 指定要加载的 JSAPI 的版本,缺省时默认为 1.4.15
         plugins: [
           'AMap.ToolBar',
@@ -2058,6 +2058,16 @@ export default {
           this.industryQiTa='';
     },
     keyupInfo(info) {
+      let data = {
+        "cardNo": this.model.cardNo
+      };
+      getAction(this.url.getCompany, data).then((res) => {
+        if (res.success) {
+          let result = res.result;
+          console.log(result + "result");
+          if (result != null) {
+            this.sysCompany = result;
+          }
       this.spin=true ;
       //  this.handleEdit2()
       //身份证输入查询
@@ -2068,7 +2078,7 @@ export default {
           "id": this.model.id
         }
         var newPhones;
-        //this.getPhoneTypeSize();
+        //this.getSysCompany();
         getAction(that.url.queryByCardNo, data).then((res) => {
           if (res.success) {
             let result = res.result;
@@ -2181,7 +2191,8 @@ export default {
       }
 
       this.spin=false ;
-
+        }
+      })
     },
 
     /**获取详情*/
@@ -2641,7 +2652,7 @@ export default {
           }
         }
       });
-      if (that.dataRisk.length>1) {
+      if (that.dataRisk.length>0) {
         //是否有风险
         that.riskShow=false;//有风险
       }
@@ -2842,7 +2853,7 @@ export default {
         "cardStartTime": this.model.cardStartTime,
         "cardEndTime": this.model.cardEndTime,
         "wordAddress": this.model.wordAddress,
-        "businessAddress": this.model.businessAddress,
+       // "businessAddress": this.model.businessAddress,
         "positionInformation": this.model.positionInformation,
         "status": '',
         "judgmentResearch":this.model.judgmentResearch,
@@ -2915,7 +2926,7 @@ export default {
           }
         })
       } else {
-        data['newBusinessAddress']=this.model.sysBusinessHall;
+        //data['newBusinessAddress']=this.model.sysBusinessHall;
         postAction("/businessReminderCard/editById", data).then((res) => {
           if (res.success) {
             this.clearModel()

+ 2 - 2
src/views/networkAccess/userStatistics.vue

@@ -253,7 +253,7 @@ export default {
       sysCompany: [],
       ipagination:{
         current: 1,
-        pageSize: 300,
+        pageSize: 10,
         pageSizeOptions: ['10', '20', '30','300'],
         showTotal: (total, range) => {
           return range[0] + "-" + range[1] + " 共" + total + "条"
@@ -702,7 +702,7 @@ export default {
       var mm = String(today.getMonth() + 1).padStart(2, '0');
       var yyyy = today.getFullYear();
 
-      today = mm + '/' + dd + '/' + yyyy;
+      today =  yyyy+'-'+ mm+'-' +dd;
       return today;
     },
     /**修改*/