瀏覽代碼

Merge branch 'master' of http://120.46.159.163:7400/ezhizao/ezhizao_dms_app

ezhizao_zx 8 月之前
父節點
當前提交
3eef368895
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      pages/factoryInspection/index.vue

+ 4 - 1
pages/factoryInspection/index.vue

@@ -136,7 +136,10 @@
 		});
 	}
 	function delable(item) {
-		return true
+		if(store.userInfo.roles.some(item =>item.roleKey == 'factoryInspection')) {
+			return true
+		}
+		return false
 	}
 	const changeCheckCarrier = (item) => {
 		const openItem = {