From 90247e556522e660e9718e8a8518d9a54dc33549 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=90=AF=E9=BE=99?= Date: Fri, 18 Oct 2024 11:22:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=BC=E5=AE=B9=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../new_dashboard_component/TaskList.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/TaskList.vue b/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/TaskList.vue index 402593d..179064a 100644 --- a/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/TaskList.vue +++ b/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/TaskList.vue @@ -68,7 +68,13 @@ export default { getItemList() { getTaskList(this.params).then(data => { if (data.success) { - this.tableList = data.data.data + this.tableList = data.data.data.map(item => { + item.task_name = item.taskName || item.task_name + item.approve_status = item.approveStatus || item.approve_status + item.create_name = item.createName || item.create_name + item.create_time = item.createTime || item.create_time + return item + }) this.total = data.data.total * 1 } }) @@ -81,7 +87,7 @@ export default { }, goPage(row) { if (!this.yunkongUrl) return this.$message.error('运控系统地址未配置, 请联系管理员查看 管理中心-系统配置-系统对接-运控系统地址 页面是否配置正确') - const url = row ? `${this.yunkongUrl}/taskManageFlow?taskCode=${row.task_code}&src=fromYW` : `${this.yunkongUrl}/faultRepairsList` + const url = row ? `${this.yunkongUrl}/taskManageFlow?taskCode=${row.taskCode || row.task_code}&src=fromYW` : `${this.yunkongUrl}/faultRepairsList` console.log(url) window.open(url, '_blank') }