guoyujia 8 ヶ月 前
コミット
7f76aae5d0
1 ファイル変更4 行追加7 行削除
  1. 4 7
      pages/factoryInspection/index.vue

+ 4 - 7
pages/factoryInspection/index.vue

@@ -121,9 +121,9 @@
 		uni.showLoading({
 			title: '加载中'
 		});
-		if(store.userInfo.roles.some(item =>item.roleKey != 'factoryInspection')) {
-			quer.value.creatorId = store.userInfo.userId;
-		}
+		// if(store.userInfo.roles.some(item =>item.roleKey != 'factoryInspection')) {
+		// 	quer.value.creatorId = store.userInfo.userId;
+		// }
 		quer.value.startTime = startTime.value;
 		quer.value.type = "factoryInspection"
 		getProcessInspecionList(quer.value).then(res => {
@@ -136,10 +136,7 @@
 		});
 	}
 	function delable(item) {
-		if (item.creatorId === store.userInfo.userId) {
-			return true
-		}
-		return false
+		return true
 	}
 	const changeCheckCarrier = (item) => {
 		const openItem = {