فهرست منبع

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 = {