From 4c598205d960604e4e125a4422a50e98c91cb894 Mon Sep 17 00:00:00 2001
From: wj <1285151836@qq.com>
Date: Wed, 26 Apr 2023 10:46:24 +0800
Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E4=BB=BB=E5=8A=A1=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/sync/SysUdimsData.vue | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/src/views/sync/SysUdimsData.vue b/src/views/sync/SysUdimsData.vue
index fb6773f..7d461d9 100644
--- a/src/views/sync/SysUdimsData.vue
+++ b/src/views/sync/SysUdimsData.vue
@@ -83,7 +83,7 @@
下载
-
删除
@@ -342,18 +342,15 @@ export default {
},
statusFilterType(status) {
const statusMap = {
- 0: "warning",
- 1: "success",
+ 1: "danger",
2: "danger",
+ 3: "danger",
+ 4: "success",
};
return statusMap[status];
},
wmsFilterType(status) {
- const statusMap = {
- "未处理": "warning",
- "处理成功": "success",
- };
- return statusMap[status];
+ return status?'success':'warning';
},