diff --git a/pages-sub/daily/maintain-manage/finish-plan-detail.vue b/pages-sub/daily/maintain-manage/finish-plan-detail.vue
index a202d2e..78f3d7d 100644
--- a/pages-sub/daily/maintain-manage/finish-plan-detail.vue
+++ b/pages-sub/daily/maintain-manage/finish-plan-detail.vue
@@ -87,7 +87,7 @@
diff --git a/pages-sub/daily/maintain-manage/now-list-page.vue b/pages-sub/daily/maintain-manage/now-list-page.vue
index 5713dff..c6af6a5 100644
--- a/pages-sub/daily/maintain-manage/now-list-page.vue
+++ b/pages-sub/daily/maintain-manage/now-list-page.vue
@@ -1,7 +1,7 @@
-
+
一个任务可提交多次上报记录,每一次作业需如实上报。
@@ -19,7 +19,7 @@
-
+
上报本次记录
@@ -34,12 +34,14 @@ const reportList = ref([])
let planNo = ref('')
let planTypeId = ref('')
let businessType = ref('')
+let isView = ref(true)
// onLoad接收url传过来的planNo
onLoad((options) => {
if (options.planNo) {
planNo.value = options.planNo
planTypeId.value = options.planTypeId
businessType.value = options.businessType
+ isView.value = options.isView
// planTypeId=${item.planTypeId}&businessType=${item.busiLine}
getReportList()
} else {
diff --git a/pages-sub/daily/maintain-manage/type-list-page.vue b/pages-sub/daily/maintain-manage/type-list-page.vue
index cb3dba2..9c8ec06 100644
--- a/pages-sub/daily/maintain-manage/type-list-page.vue
+++ b/pages-sub/daily/maintain-manage/type-list-page.vue
@@ -25,7 +25,10 @@
任务次数:第{{ item.planNum || 1 }}次
- 去作业
+
+去作业
+去查看
+
@@ -236,9 +239,9 @@ const confirmSetInvalid = async () => {
}
const handleGoWork = (item) => {
+ const isView = activeStatus.value
uni.navigateTo({
- // 重点:把planNo传过去
- url: `/pages-sub/daily/maintain-manage/now-list-page?planNo=${item.planNo}&planTypeId=${planTypeId.value}&businessType=${item.busiLine}`
+ url: `/pages-sub/daily/maintain-manage/now-list-page?planNo=${item.planNo}&planTypeId=${planTypeId.value}&businessType=${item.busiLine}&isView=${isView}`
})
}
const handleEndTask = async (item) => {