From efe0e77a1d5f0ded07e7363bece640ac4d4f8372 Mon Sep 17 00:00:00 2001 From: liyuanchao <438964165@qq.com> Date: Tue, 19 Aug 2025 15:09:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=91=E6=8E=A7=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/http.api.js | 2 ++ pages/sys/workbench/earlyWarning/warnDetail.vue | 12 ++++++++++++ pages/sys/workbench/monitor/TreeNode.vue | 2 +- pages/sys/workbench/monitor/monitorplay.vue | 11 ++++++----- 4 files changed, 21 insertions(+), 6 deletions(-) diff --git a/common/http.api.js b/common/http.api.js index 915e9d3..9e999a8 100644 --- a/common/http.api.js +++ b/common/http.api.js @@ -54,6 +54,8 @@ const install = (Vue, vm) => { //预警处理 warnsProcess:(params = {})=>vm.$u.post(config.adminPath+'/sis/alarmEvents/complete',params), + getWarnDetail:(params = {}, id) => vm.$u.get(config.adminPath+`/sis/alarmEvents/${id}`,params), + //巡检任务列表 getInspection:(params = {})=>vm.$u.get(config.adminPath+'/property/item/list',params), diff --git a/pages/sys/workbench/earlyWarning/warnDetail.vue b/pages/sys/workbench/earlyWarning/warnDetail.vue index 345d616..7beeb1a 100644 --- a/pages/sys/workbench/earlyWarning/warnDetail.vue +++ b/pages/sys/workbench/earlyWarning/warnDetail.vue @@ -120,6 +120,7 @@ export default { this.pageType = options.pageType; } }, + computed: { warnInfoList() { return [ @@ -134,7 +135,17 @@ export default { ]; } }, + created() { + this.loadDetail(); + }, methods: { + async loadDetail() { + let res = await this.$u.api.getWarnDetail({}, this.warnInfo.id); + if (res.code == "200") { + + } + this.loading = false; + }, // 处理文件列表变化 onListChange(list) { this.selectedImages = list; @@ -149,6 +160,7 @@ export default { this.handleStatus = status; this.showStatusPopup = false; }, + async submit() { this.loading = true; if (this.selectedImages.length <= 0) { diff --git a/pages/sys/workbench/monitor/TreeNode.vue b/pages/sys/workbench/monitor/TreeNode.vue index 956f22b..b243f6d 100644 --- a/pages/sys/workbench/monitor/TreeNode.vue +++ b/pages/sys/workbench/monitor/TreeNode.vue @@ -1,6 +1,6 @@