From f1b3a5d1e7824d44a280b65d82a81231ae699942 Mon Sep 17 00:00:00 2001 From: 张诺 <2864490065@qq.com> Date: 星期二, 19 八月 2025 15:16:50 +0800 Subject: [PATCH] 禁用login 获取验证码功能 使页面不需要验证码即可登录 --- 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