Browse Source

修改账户选择下拉框的模糊查询

朱鑫波 4 years ago
parent
commit
f293eae029

+ 2 - 2
src/utils/request.js

@@ -15,8 +15,8 @@ else if (process.env.NODE_ENV == 'debug') {
 else if (process.env.NODE_ENV == 'production') { 
   
   // axios.defaults.baseURL = 'http://192.168.1.251/jeecg-boot';
-  // axios.defaults.baseURL = 'http://139.186.151.174:8804/jeecg-boot';     
-  axios.defaults.baseURL = 'http://api.tjyourong.com.cn/jeecg-boot';
+  axios.defaults.baseURL = 'http://139.186.151.174:8804/jeecg-boot';     
+  // axios.defaults.baseURL = 'http://api.tjyourong.com.cn/jeecg-boot';
 }
 const service = axios.create({
 //   baseURL: '/jeecg-boot', // api base_url

+ 1 - 0
src/views/modules/Statistics/components/Treeselect.vue

@@ -8,6 +8,7 @@
     <treeselect
       :multiple="multiple"
       :disable-branch-nodes="!multiple"
+      :disable-fuzzy-matching="true"
       :options="options"
       :load-options="loadOptions"
       placeholder="请选择项目以及账户"

+ 1 - 0
src/views/modules/advertiser/modules/Treeselect.vue

@@ -8,6 +8,7 @@
     <treeselect
       :multiple="multiple"
       :disable-branch-nodes="!multiple"
+      :disable-fuzzy-matching="true"
       :options="options"
       :load-options="loadOptions"
       placeholder="请选择项目"

+ 1 - 0
src/views/modules/autoLaunch/components/Treeselect.vue

@@ -8,6 +8,7 @@
     <treeselect
       :multiple="multiple"
       :disable-branch-nodes="!multiple"
+      :disable-fuzzy-matching="true"
       :options="options"
       :load-options="loadOptions"
       placeholder="请选择项目以及账户"

+ 1 - 0
src/views/modules/earlyWarningRules/pushTreeSelect.vue

@@ -8,6 +8,7 @@
     <treeselect
       :multiple="multiple"
       :disable-branch-nodes="!multiple"
+      :disable-fuzzy-matching="true"
       :options="options"
       :load-options="loadOptions"
       placeholder="请选择项目以及账户"

+ 5 - 5
src/views/modules/kuaishouapp/account/stepForm/Step2.vue

@@ -941,7 +941,10 @@
             }
             postAction('/kuaishou/batch/createUnit', paramsEnd).then(res => {
               if (res.success) {
-               
+                this.visible = true
+                this.allForm.fail = res.result.fail
+                this.allForm.success = res.result.success
+                this.loading = false
                 if (res.result.success.length > 0) {
 
                   var dataElse =  res.result.success.map(item => {
@@ -956,10 +959,7 @@
                   var dataJson = JSON.stringify(dataElse)
                   localStorage.setItem('pans', dataJson)
                   localStorage.setItem('appId', this.getData('appId'))
-                  this.visible = true
-                  this.allForm.fail = res.result.fail
-                  this.allForm.success = res.result.success
-                  this.loading = false
+                 
                 }
               } else {
                 this.loading = false