From e986cee1c804ecdf6d03c080ce9a8bb187f724a4 Mon Sep 17 00:00:00 2001 From: zhang_12370 <z2864490065@outlook.com> Date: 星期一, 14 七月 2025 18:02:50 +0800 Subject: [PATCH] 1、煤质字段添加校验 使其唯一 2、优化首页 数据刷新 3、开发配煤计算器 --- 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