From 9247001643bba7d2c2326c39103d9a2fc6f15e4c Mon Sep 17 00:00:00 2001 From: sexygoat <1538832180@qq.com> Date: Sat, 25 Apr 2026 12:01:21 +0800 Subject: [PATCH] fix: bug --- src/locales/langs/zh.json | 3 +- .../account-management/account/index.vue | 10 +- .../enterprise-customer/index.vue | 6 +- .../enterprise-cards/index.vue | 597 +++++++++++++----- .../enterprise-devices/index.vue | 427 +++++++++++-- .../iot-card-management/index.vue | 4 +- .../agent-fund-overview/index.vue | 89 +-- src/views/common/account-list.vue | 49 +- src/views/system/permission/index.vue | 27 +- 9 files changed, 901 insertions(+), 311 deletions(-) diff --git a/src/locales/langs/zh.json b/src/locales/langs/zh.json index 09a420e..a7f990e 100644 --- a/src/locales/langs/zh.json +++ b/src/locales/langs/zh.json @@ -15,7 +15,8 @@ "tips": "提示", "cancel": "取消", "confirm": "确定", - "logOutTips": "您是否要退出登录?" + "logOutTips": "您是否要退出登录?", + "back": "返回" }, "search": { "placeholder": "搜索页面", diff --git a/src/views/account-management/account/index.vue b/src/views/account-management/account/index.vue index 4045501..6a5cb2c 100644 --- a/src/views/account-management/account/index.vue +++ b/src/views/account-management/account/index.vue @@ -105,7 +105,7 @@ - + @@ -755,7 +792,7 @@ display: flex; flex: 1; flex-direction: column; - max-width: 380px; + max-width: 440px; overflow: hidden; border: 1px solid var(--el-border-color); border-radius: 4px; diff --git a/src/views/system/permission/index.vue b/src/views/system/permission/index.vue index cce0907..83eae9b 100644 --- a/src/views/system/permission/index.vue +++ b/src/views/system/permission/index.vue @@ -241,12 +241,14 @@ { prop: 'perm_name', label: '权限名称', - width: 240 + width: 240, + showOverflowTooltip: true }, { prop: 'perm_code', label: '权限标识', - width: 240 + width: 240, + showOverflowTooltip: true }, { prop: 'perm_type', @@ -260,7 +262,8 @@ }, { prop: 'url', - label: '菜单路径' + label: '菜单路径', + showOverflowTooltip: true }, { prop: 'platform', @@ -275,24 +278,6 @@ return platformMap[row.platform || 'all'] || row.platform } }, - // { - // prop: 'available_for_role_types', - // label: '可用角色类型', - // width: 160, - // formatter: (row: PermissionTreeNode) => { - // if (!row.available_for_role_types) { - // return '-' - // } - // const roleTypeMap: Record = { - // '1': '平台角色', - // '2': '客户角色' - // } - // const types = row.available_for_role_types - // .split(',') - // .map((type) => roleTypeMap[type.trim()] || type) - // return types.join(', ') - // } - // }, { prop: 'status', label: '状态',