guoyujia 9 сар өмнө
parent
commit
2bb450fad7

+ 22 - 0
pages/onSiteInspection/index.vue

@@ -166,6 +166,28 @@
 			}
 		})
 	}
+	const changeCheckCarrier = (item) => {
+		// uni.showToast({
+		// 	title: "检测载具方法未完成"
+		// })
+	
+		// uni.$once('refreshProcessInspection', () => {
+		// })
+		const openItem = {
+			dayworkId: item.dayworkId,
+			processInspectionId: item.id,
+			daywork: item
+		}
+		uni.navigateTo({
+			url: "/pages/changeInspectionBox/index",
+			success: function(res) {
+				// 通过eventChannel向被打开页面传送数据
+				res.eventChannel.emit('outsourceFromOpenerPage', {
+					data: openItem
+				})
+			}
+		})
+	}
 
 	//时间筛选,暂时注释,使用搜索向
 	function timeSizer() {}