From 93aa15612e0b43e0a77b51a76f1792808fe66263 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Fri, 11 Jul 2025 15:03:30 +0800
Subject: [PATCH] feat:待办事项优化
---
src/views/wel/components/backlog.vue | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/views/wel/components/backlog.vue b/src/views/wel/components/backlog.vue
index 96b9061..32c2f8a 100644
--- a/src/views/wel/components/backlog.vue
+++ b/src/views/wel/components/backlog.vue
@@ -26,12 +26,13 @@
checked == '智飞工单' ? zfstatusMap[item.status] : statusMap[item.status]
}}</span>
<span class="reads" :class="item.is_read === 0 ? 'unread' : ''"></span>
- <span class="todo-text">{{ item.name }}</span>
+ <span class="todo-text">{{ item.event_num }}</span>
</div>
<div class="action-area">
- <img :src="st7" alt="" />
- <span class="todo-date">{{ item.date?.slice(0, 10).replace(/-/g, '.') }}</span>
+ <!-- <img :src="st7" alt="" /> -->
+ <!-- <span class="todo-date">{{ item.date?.slice(0, 10).replace(/-/g, '.') }}</span> -->
+ <span class="todo-date">{{ item.name }}</span>
</div>
</div>
</div>
@@ -206,12 +207,15 @@
const type = 1
const res = await getOrderOrEventApi(type, userInfo.value.detail.areaCode)
todos.value = res.data.data || []
+ console.log('事件工单',todos.value);
+
loading.value = false
} else if (checked.value === '智飞工单') {
loading.value = true
const type = 2
const res = await getOrderOrEventApi(type, userInfo.value.detail.areaCode)
todos.value = res.data.data || []
+ console.log('智飞工单',todos.value);
loading.value = false
}
}
@@ -366,7 +370,7 @@
.todo-text {
font-weight: 400;
font-size: 14px;
- color: #343434;
+ color: #5C6476;
}
.unread {
@@ -398,8 +402,8 @@
.todo-date {
font-weight: 400;
- font-size: 14px;
- color: #5c6476;
+ font-size: 14px;
+color: #343434;
margin-left: 2px;
}
}
--
Gitblit v1.9.3