From 3e1fb69d30b38230988a102b651b464c05283675 Mon Sep 17 00:00:00 2001
From: zhang_12370 <z2864490065@outlook.com>
Date: 星期二, 15 七月 2025 16:45:21 +0800
Subject: [PATCH] 1、优化设备领用 2、优化设备列表

---
 src/views/basicInformation/index.vue |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/src/views/basicInformation/index.vue b/src/views/basicInformation/index.vue
index 907d60d..77333ef 100644
--- a/src/views/basicInformation/index.vue
+++ b/src/views/basicInformation/index.vue
@@ -310,10 +310,12 @@
 const getUserList = async () => {
   try {
     const res = await testUserList();
+    console.log("鑾峰彇鐢ㄦ埛鍒楄〃鏁版嵁:", res);
+    console.log("userMap:", userMap.value);
     if (res && res.data) {
       userList.value = res.data;
       userList.value.forEach((user) => {
-        userMap.value[user.userId] = user.username;
+        userMap.value[user.userId] = user.nickName;
       });
     }
   } catch (error) {
@@ -489,10 +491,10 @@
  * 鐓よ川鏂规琛ㄦ牸鍒楅厤缃�
  */
 const coalQualityMaintenanceColumns = ref([
-  { prop: "plan", label: "鏂规鍚嶇О", minWidth: 100 },
+  { prop: "plan", label: "鐓よ川鏂规", minWidth: 100 },
   {
     prop: "fieldIds",
-    label: "瀛楁鍚嶇О",
+    label: "鐓よ川瀛楁",
     minWidth: 200,
     showOverflowTooltip: true,
     slot: true,
@@ -503,15 +505,15 @@
       return cellValue || "--";
     },
   },
-  { prop: "schemeDesc", label: "瀛楁鎻忚堪", minWidth: 100 },
+  { prop: "schemeDesc", label: "鐓よ川鎻忚堪", minWidth: 100 },
 ]);
 
 /**
  * 鐓よ川瀛楁琛ㄦ牸鍒楅厤缃�
  */
 const coalMeiZhiZiDuanWeiHuColumns = ref([
-  { prop: "fieldName", label: "瀛楁鍚嶇О", minWidth: 200 },
-  { prop: "fieldDescription", label: "瀛楁鎻忚堪", minWidth: 200 },
+  { prop: "fieldName", label: "鐓よ川瀛楁", minWidth: 200 },
+  { prop: "fieldDescription", label: "鐓よ川鎻忚堪", minWidth: 200 },
 ]);
 // ===== 浜嬩欢澶勭悊鍑芥暟 =====
 
@@ -889,7 +891,9 @@
     width: 16%;
   }
 }
-
+.app-container{
+  padding: 18px !important;
+}
 .table-toolbar {
   margin-bottom: 20px;
   display: flex;

--
Gitblit v1.9.3