Explorar o código

多牧场搜索直后问题

Shan9312 hai 4 días
pai
achega
f0fbf92935
Modificáronse 2 ficheiros con 7 adicións e 7 borrados
  1. 1 1
      src/permission.js
  2. 6 6
      src/views/custom/purchase/index.vue

+ 1 - 1
src/permission.js

@@ -7,7 +7,7 @@ import { getToken, removeToken } from '@/utils/auth' // get token from cookie
 import Cookies from 'js-cookie'
 import getPageTitle from '@/utils/get-page-title'
 // 1为单点登录,其他不是
-Cookies.set('sso', 1)
+Cookies.set('sso', 0)
 NProgress.configure({ showSpinner: false }) // NProgress Configuration
 
 const whiteList = ['/login'] // no redirect whitelist

+ 6 - 6
src/views/custom/purchase/index.vue

@@ -1818,12 +1818,7 @@ export default {
       }
     })
     this.get_select_list()
-    this.get_table_data1()
-    this.get_table_data2()
-    this.get_table_data3()
-    this.get_table_data4()
 
-    this.get_table_data5()
     if (this.$route.query.activeName !== undefined) {
       this.activeName = this.$route.query.activeName
     }
@@ -2202,7 +2197,12 @@ export default {
           this.getdataListParm5.parammaps.pastureArr = this.findAllPasture.map(item => {
           return item.name
         })
-        console.log(this.deptNameList)
+        // console.log(this.deptNameList)
+          this.get_table_data1()
+          this.get_table_data2()
+          this.get_table_data3()
+          this.get_table_data4()
+          this.get_table_data5()
       })
     },
     providerSearch(queryString, cb) {