fix(admin): 删除用户审批功能并更新图标

This commit is contained in:
HTEWJ\26070045 committed 2026-08-07 13:52:35 +08:00
1 parent 55c6467d83
commit 07e83132c0
11 files changed
+141 -153

No files matched your search

+28 -26
View File
@@ -1,11 +1,11 @@
/**
/**
* config.ts
* 用途:前端应用级开关与默认配置(登录模式、工作台模块、管理模块可见性)。
* 依赖:无运行时依赖;应用标题通过 common.app.title i18n key 解析。
* 逻辑:main.ts / router guards 使用 i18n.t(config.appTitleKey) 设置 document.title。
* 鐢ㄩ€旓細鍓嶇搴旂敤绾у紑鍏充笌榛樿閰嶇疆锛堢櫥褰曟ā寮忋€佸伐浣滃彴妯″潡銆佺鐞嗘ā鍧楀彲瑙佹€э級銆?
* 渚濊禆锛氭棤杩愯鏃朵緷璧栵紱搴旂敤鏍囬閫氳繃 common.app.title i18n key 瑙f瀽銆?
* 閫昏緫锛歮ain.ts / router guards 浣跨敤 i18n.t(config.appTitleKey) 璁剧疆 document.title銆?
*/
export const config = {
/** Browser title base name — resolve via i18n `t(config.appTitleKey)`. */
/** Browser title base name 鈥?resolve via i18n `t(config.appTitleKey)`. */
appTitleKey: 'common.app.title',
auth: {
// Login mode switch:
@@ -19,7 +19,7 @@ export const config = {
passwordLoginApi: '/api/user/casdoor/password-login',
refreshApi: '/api/user/casdoor/refresh',
callbackPath: '/casdoor-callback',
// Casdoor Provider「Name」字段须一致(当前 IdP:wecom)。留空则仅用后端 CASDOOR_WECOM_PROVIDER_HINT。
// Casdoor Provider銆孨ame銆嶅瓧娈甸』涓€鑷达紙褰撳墠 IdP锛歸ecom锛夈€傜暀绌哄垯浠呯敤鍚庣 CASDOOR_WECOM_PROVIDER_HINT銆?
wecomProviderHint: 'wecom',
},
wecom: {
@@ -35,15 +35,15 @@ export const config = {
}
},
workspace: {
// true 显示评分区;false 隐藏评分区
// true 鏄剧ず璇勫垎鍖猴紱false 闅愯棌璇勫垎鍖?
showChatRating: true,
// 聊天窗口“源文件展示”开关配置
// 鑱婂ぉ绐楀彛鈥滄簮鏂囦欢灞曠ず鈥濆紑鍏抽厤缃?
sourceFiles: {
// 是否显示源文件区域(包含上方文件按钮 + 下方“源文档”详情)
// 鏄惁鏄剧ず婧愭枃浠跺尯鍩燂紙鍖呭惈涓婃柟鏂囦欢鎸夐挳 + 涓嬫柟鈥滄簮鏂囨。鈥濊鎯咃級
showSourceFiles: true,
// 是否显示 MD 源文件(文件名后缀为 .md/.markdown)
// 鏄惁鏄剧ず MD 婧愭枃浠讹紙鏂囦欢鍚嶅悗缂€涓?.md/.markdown锛?
showMdFiles: false,
// 当 showMdFiles=true 时,MD 源文件是否默认展开“源文档”详情
// 褰?showMdFiles=true 鏃讹紝MD 婧愭枃浠舵槸鍚﹂粯璁ゅ睍寮€鈥滄簮鏂囨。鈥濊鎯?
expandMdByDefault: false,
},
modules: {
@@ -57,21 +57,23 @@ export const config = {
admin: {
modules: {
dashboard: true, // 仪表盘
approvals: true, // 用户审批
users: true, // 用户管理
departments: true, // 部门管理
agents: true, // 应用管理
knowledge_base: true, // 知识库管理
announcements: true, // 公告管理
questions: true, // 常用问题
wecom: true, // 企业微信
linked_services: true, // 关联服务(侧栏跳转入口)
permissions: true, // 应用权限
platform_apps: true, // 平台应用说明
requests: true, // 审批权限
reports: true, // 数据报表
schedules: true, // 定时任务
procurement_contract: true, // 采购合同审查(模板库 + 历史)
users: true, // 鐢ㄦ埛绠$悊
departments: true, // 閮ㄩ棬绠$悊
agents: true, // 搴旂敤绠$悊
knowledge_base: true, // 鐭ヨ瘑搴撶鐞?
announcements: true, // 鍏憡绠$悊
questions: true, // 甯哥敤闂
wecom: true, // 浼佷笟寰俊
linked_services: true, // 鍏宠仈鏈嶅姟锛堜晶鏍忚烦杞叆鍙o級
permissions: true, // 搴旂敤鏉冮檺
platform_apps: true, // 骞冲彴搴旂敤璇存槑
requests: true, // 瀹℃壒鏉冮檺
reports: true, // 鏁版嵁鎶ヨ〃
schedules: true, // 瀹氭椂浠诲姟
procurement_contract: true, // 閲囪喘鍚堝悓瀹℃煡锛堟ā鏉垮簱 + 鍘嗗彶锛?
}
}
};