sunyize hace 2 años
padre
commit
72dcac3d71
Se han modificado 1 ficheros con 20 adiciones y 1 borrados
  1. 20 1
      src/views/networkAccess/registration.vue

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

@@ -655,6 +655,7 @@ export default {
 
       addIng: false,
       url: {
+        "querySizeByCardNo":"/businessReminderCard/querySizeByCardNo",
         "list":"",
         "add": "/businessReminderCard/add",
         "editById": "/businessReminderCard/editById",
@@ -880,11 +881,28 @@ export default {
     this.queryById();
     //DOM初始化完成进行地图初始化
     this.initMap();
-    this.getSysCompany()
+    this.getSysCompany();
+
   },
 
   methods: {
+    getPhoneTypeSize(){
+      let data = {
+        "cardNo": this.model.cardNo
+      };
+      getAction(this.url.querySizeByCardNo, data).then((res) => {
+        if (res.success) {
+          let result = res.result;
 
+          if (result != null) {
+              this.model.yidong=result.yidong;
+              this.model.dianxin=result.dianxin;
+              this.model.liantong=result.liantong;
+              this.model.qita=result.qita;
+          }
+        }
+      })
+    },
 
     getSysCompany(){
       let data = {
@@ -1310,6 +1328,7 @@ export default {
         let data = {
           "cardNo": this.model.cardNo
         }
+        this.getPhoneTypeSize();
         getAction(that.url.queryByCardNo, data).then((res) => {
           if (res.success) {
             let result = res.result;