From 7ee24d379ca7aa558c8eacc2bf2d191a410fc5ec Mon Sep 17 00:00:00 2001 From: Yangwl <1726150332@qq.com> Date: Wed, 28 May 2025 11:22:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=91=E8=9A=8A=E9=A6=99=E8=BD=A6=E9=97=B4?= =?UTF-8?q?=E7=94=9F=E4=BA=A7=E7=9B=91=E6=8E=A7=E7=9C=8B=E6=9D=BF2F?= =?UTF-8?q?=E7=BA=BF=E4=BD=93=E5=BC=80=E5=B7=A5=E5=B1=95=E7=A4=BA=E8=B0=83?= =?UTF-8?q?=E6=95=B42?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Yangwl <1726150332@qq.com> --- src/views/cs/index.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/cs/index.vue b/src/views/cs/index.vue index 703b6ae..7df1eb8 100644 --- a/src/views/cs/index.vue +++ b/src/views/cs/index.vue @@ -24,7 +24,7 @@ -
+
@@ -34,7 +34,7 @@
-
+
@@ -44,7 +44,7 @@
-
+
@@ -54,7 +54,7 @@
-
+
@@ -64,7 +64,7 @@
-
+
@@ -74,7 +74,7 @@
-
+
@@ -84,7 +84,7 @@
-
+
@@ -94,7 +94,7 @@
-
+
@@ -438,7 +438,7 @@ export default { getDailyReportNew(this.queryParams).then(e => { // 假设接口返回的数据在 e.rows 中,且为数组格式 if (e.rows && Array.isArray(e.rows)) { - this.isRun = e.rows.map(row => row.equipmentCode).filter(code => code); // 过滤掉undefined/null值 + this.isRun = e.rows.map(row => row.equipmentCode).filter(code => code); // 过滤掉undefined/null值 // 创建以 equipmentName 为键的映射表 const rowMap = e.rows.reduce((map, row) => { map[row.equipmentName] = row; // 假设 equipmentName 唯一