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

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

@@ -1537,16 +1537,16 @@ export default {
                   }
                 }
                 this.isSizeNumberResults = result[i]["isSizeNumberResults"];
-                // if (this.model.wordAddress!=='' && this.model.wordAddress!==null){
-                //   this.searchKeyWordsysBusinessHall(this.model.wordAddress,'wordAddress');
-                // }
-                //
-                // if (this.hallName!=='' && this.hallName!==null){
-                //   this.searchKeyWordsysBusinessHall('中国电信'+this.hallName,'businessAddress');
-                // }
-                // if (this.model.currentAddress!=='' && this.model.currentAddress!==null){
-                //   this.searchKeyWordsysBusinessHall(this.model.currentAddress,'currentAddress');
-                // }
+                if (this.model.wordAddress!=='' && this.model.wordAddress!==null){
+                  this.searchKeyWordsysBusinessHall(this.model.wordAddress,'wordAddress');
+                }
+
+                if (this.hallName!=='' && this.hallName!==null){
+                  this.searchKeyWordsysBusinessHall('中国电信'+this.hallName,'businessAddress');
+                }
+                if (this.model.currentAddress!=='' && this.model.currentAddress!==null){
+                  this.searchKeyWordsysBusinessHall(this.model.currentAddress,'currentAddress');
+                }
                 if (info===''){
                   this.model.id=null;
                 }
@@ -1886,10 +1886,16 @@ export default {
 
 
     getData() {
-      // var arr = '';
-      // if (this.model.numberResults !== "undefined" ||this.model.numberResults !==''|| this.model.numberResults !==null || this.model.numberResults.length!==0 ) {
-      //   arr = this.model.numberResults.split(",");
-      // }
+      var arr = '';
+      if (this.model.numberResults instanceof Array){
+
+      }
+      if (this.model.numberResults instanceof String){
+
+      }
+      if (this.model.numberResults !== undefined && this.model.numberResults !== "undefined" && this.model.numberResults !==''&& this.model.numberResults !==null && this.model.numberResults.length!==0 ) {
+        arr = this.model.numberResults+'';
+      }
       let data = {
         "sysBusinessHall": this.model.sysBusinessHall,
         "company": this.model.company,
@@ -1954,7 +1960,7 @@ export default {
         "isInvolvingFraudNote": this.model.isInvolvingFraudNote,
 
         //是否将高危号码上报蓝、紫名单或不可复开关停
-        "numberResults": this.model.numberResults ,
+        "numberResults": arr ,
 
         "cardNo": this.model.cardNo,
         "cardName": this.model.cardName,