From a5132f42a1bf77f6bd69b371aa4ab70f64747c27 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期四, 11 九月 2025 16:25:11 +0800 Subject: [PATCH] 登录页修改 --- src/views/basicInformation/index.vue | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/views/basicInformation/index.vue b/src/views/basicInformation/index.vue index 907d60d..040ef69 100644 --- a/src/views/basicInformation/index.vue +++ b/src/views/basicInformation/index.vue @@ -31,7 +31,7 @@ <!-- 鎿嶄綔鎸夐挳鍖� --> <el-row :gutter="24" class="table-toolbar"> <el-button :icon="Plus" type="primary" @click="handleAdd" - >鏂板缓</el-button + >{{activeTab == 'supplier' ? '娉ㄥ唽' : '鏂板缓'}}</el-button > <el-button :icon="Delete" type="danger" @click="handleDelete" >鍒犻櫎</el-button @@ -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