فهرست منبع

更新数据权限功能操作

oyq28 3 سال پیش
والد
کامیت
36d7da9ae5

+ 7 - 3
imcs-ui/src/views/zuihou/lineSideLibrary/lineSideMgr/Index.vue

@@ -227,11 +227,11 @@
 	  	// 【库位类型】
 	  	this.getWareType()
 	  	// 加载【字典】
-	  	initDicts(['NATION'], this.dicts);
-	  	// 加载列表数据
-	  	this.fetch()
+	  	initDicts(['NATION'], this.dicts)	  	
 	  	// 加载Tree数据
 	  	this.getTreeData()
+		// 加载列表数据
+	  	//this.fetch()
 		},
 	  computed: {
 	    currentUser () {
@@ -494,6 +494,10 @@
 	    		res = res.data
 	    		if(res.isSuccess){
 	    			this.treeData = res.data
+					if(res.data.length > 0){
+                        let obj = res.data[0].children[0]											
+						this.treeCheck(obj, {})					
+					}
 	    		}
 	    	})
 	    },

+ 7 - 3
imcs-ui/src/views/zuihou/lineSideLibrary/locationMgr/Index.vue

@@ -274,11 +274,11 @@
 	  	// 调用常量-审核状态
 	  	this.audioStatus = this.$constWKS.ONOFF
 	  	// 加载【字典】
-	  	initDicts(['NATION'], this.dicts);
-	  	// 加载列表数据
-	  	this.fetch()
+	  	initDicts(['NATION'], this.dicts)	  	
 	  	// 加载Tree数据
 	  	this.getTreeData()
+		 // 加载列表数据
+	  	//this.fetch() 
 		},
 	  computed: {
 	    currentUser () {
@@ -516,6 +516,10 @@
 	    		res = res.data 
 	    		if(res.isSuccess){
 	    			this.treeData = res.data
+					if(res.data.length > 0){
+                        let obj = res.data[0].children[0]											
+						this.treeCheck(obj, {})					
+					}
 	    		}
 	    	})
 	    },

+ 1 - 1
imcs-ui/src/views/zuihou/prepareProductMgr/trayMgr/Index.vue

@@ -89,7 +89,7 @@
         </template>
       </el-table-column>
       <el-table-column
-        :label="$t('table.operation')"l
+        :label="$t('table.operation')" 
         fixed="right"
         align="center"
         column-key="operation"