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;