From 69b7be76f60ea22608ee16badd9e83dc20ada5b8 Mon Sep 17 00:00:00 2001
From: sqlnice <472252510@qq.com>
Date: Fri, 18 Oct 2024 19:14:29 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8F=82=E6=95=B0=E5=8F=96=E5=80=BC?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../new_dashboard_component/TaskList.vue | 22 +++++++------------
1 file changed, 8 insertions(+), 14 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 179064a..0ba400e 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
@@ -3,20 +3,20 @@
查看更多
-
+
- {{ scope.row.task_name }}
+ {{ scope.row.taskName }}
-
+
-
- {{ statusFilter(scope.row.approve_status, 'text') }}
+
+ {{ statusFilter(scope.row.approveStatus, 'text') }}
-
-
+
+
审批
@@ -68,13 +68,7 @@ export default {
getItemList() {
getTaskList(this.params).then(data => {
if (data.success) {
- 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.tableList = data.data.data
this.total = data.data.total * 1
}
})