From d6c777cc8c6a4f48704620dc2ca60d001ae7538a Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Tue, 20 Feb 2024 17:27:28 +0800
Subject: [PATCH] 更新
---
subPackage/workbench/views/selfCheckDetail.vue | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/subPackage/workbench/views/selfCheckDetail.vue b/subPackage/workbench/views/selfCheckDetail.vue
index dba7f3f..1f01f63 100644
--- a/subPackage/workbench/views/selfCheckDetail.vue
+++ b/subPackage/workbench/views/selfCheckDetail.vue
@@ -183,7 +183,8 @@
label: "",
itemList: [],
roleType: '', //1.民警/系统管理员 2.场所负责人
- ids: []
+ ids: [],
+ taskId: ""
}
},
async onLoad(option) {
@@ -198,14 +199,21 @@
}
await this.getItem();
- this.getDetail(option.id);
+ this.taskId = option.id;
+ },
+
+
+ onShow() {
+ setTimeout(() => {
+ this.getDetail();
+ }, 100)
},
methods: {
getDetail(id) {
getPlaceCheckDetail({
- taskId: id
+ taskId: this.taskId
}).then(res => {
let data = res.data;
// this.info = res.data;
--
Gitblit v1.9.3