From a7dbc5a77eb0c9b187ee6a78d5b400db2157696d Mon Sep 17 00:00:00 2001 From: spudding <1115683088@qq.com> Date: Thu, 15 Oct 2026 18:01:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=87=8D=E6=9E=84=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E5=8F=B0=E4=B8=BA37du=E8=87=AA=E5=8A=A8=E5=8C=96=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=EF=BC=8C=E6=96=B0=E5=A2=9E=E6=9D=83=E9=99=90=E6=8E=88?= =?UTF-8?q?=E6=9D=83=E4=B8=8E=E9=80=9A=E7=9F=A5=E4=B8=AD=E5=BF=83=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新系统名称、登录页宣传文案为37du平台相关内容 - 移除聊天功能相关代码与配置 - 新增客户端版本上报字段与设备统计接口 - 新增通知中心功能(60s轮询、localStorage已读标记) - 新增权限授权工作台相关接口与页面 - 新增统一页头组件ArtPageHeader - 调整快速入口配置指向真实功能页面 - 修复控制面地址为内网生产库 --- AGENTS.md | 2 +- desktop/controlplane-next/frontend/index.html | 4 +- .../frontend/src/api/business.ts | 45 +- .../core/base/art-page-header/index.vue | 28 + .../core/layouts/art-chat-window/index.vue | 262 ------ .../core/layouts/art-header-bar/index.vue | 34 +- .../art-header-bar/widget/ArtUserMenu.vue | 23 - .../core/layouts/art-notification/index.vue | 637 ++++--------- .../frontend/src/config/index.ts | 2 +- .../frontend/src/config/modules/component.ts | 8 - .../frontend/src/config/modules/fastEnter.ts | 222 ++--- .../frontend/src/config/modules/headerBar.ts | 4 +- .../src/hooks/core/useNotifyCenter.ts | 74 ++ .../frontend/src/locales/langs/en.json | 4 +- .../frontend/src/locales/langs/zh.json | 4 +- .../frontend/src/utils/sys/mittBus.ts | 3 - .../frontend/src/views/accounts/index.vue | 407 ++++---- .../frontend/src/views/audit/index.vue | 171 ++-- .../frontend/src/views/creds/index.vue | 221 ++--- .../frontend/src/views/devices/index.vue | 183 +++- .../frontend/src/views/file-sources/index.vue | 257 ++--- .../frontend/src/views/grants/index.vue | 161 ++-- .../grants/modules/grant-accounts-dialog.vue | 130 +++ .../src/views/grants/modules/matrix-panel.vue | 211 +++++ .../grants/modules/plugin-grant-panel.vue | 228 +++++ .../views/grants/modules/user-grant-panel.vue | 294 ++++++ .../frontend/src/views/notify/index.vue | 326 ++++--- .../frontend/src/views/overview/index.vue | 251 +++-- .../frontend/src/views/plugins/index.vue | 367 ++++---- .../frontend/src/views/reports/index.vue | 201 ++-- .../frontend/src/views/stats/index.vue | 216 +++-- .../src/views/system/department/index.vue | 191 ++-- .../frontend/src/views/system/menu/index.vue | 213 +++-- .../frontend/src/views/system/role/index.vue | 281 +++--- .../src/views/system/user-center/index.vue | 448 ++++----- .../frontend/src/views/system/user/index.vue | 271 +++--- .../frontend/src/views/upgrade/index.vue | 165 +++- .../modules/center/controller/admin/menu.ts | 8 +- .../modules/center/controller/admin/ops.ts | 77 +- .../modules/center/controller/admin/plugin.ts | 133 +++ .../modules/center/controller/api/device.ts | 8 +- .../src/modules/center/entity/runtime.ts | 3 + docs/插件/发版规范.md | 26 +- docs/架构/服务端迁移方案_cool-admin.md | 2 + .../需求文档.md | 65 ++ docs/需求单/实现形态登记表.md | 2 +- .../attendance_points_update.py | 877 ++++++++++++++++++ .../XQ0034 续签电子签/step1_renewal_esign.py | 3 + .../step5_transfer_aitable.py | 76 +- 49 files changed, 4925 insertions(+), 2904 deletions(-) create mode 100644 desktop/controlplane-next/frontend/src/components/core/base/art-page-header/index.vue delete mode 100644 desktop/controlplane-next/frontend/src/components/core/layouts/art-chat-window/index.vue create mode 100644 desktop/controlplane-next/frontend/src/hooks/core/useNotifyCenter.ts create mode 100644 desktop/controlplane-next/frontend/src/views/grants/modules/grant-accounts-dialog.vue create mode 100644 desktop/controlplane-next/frontend/src/views/grants/modules/matrix-panel.vue create mode 100644 desktop/controlplane-next/frontend/src/views/grants/modules/plugin-grant-panel.vue create mode 100644 desktop/controlplane-next/frontend/src/views/grants/modules/user-grant-panel.vue create mode 100644 docs/需求单/XQ0001-0100/XQ0033 门店管理及服务岗出勤积分更新/需求文档.md create mode 100644 workflows/XQ0001-0100/XQ0033 门店管理及服务岗出勤积分更新/attendance_points_update.py diff --git a/AGENTS.md b/AGENTS.md index 89a66c6..2f32cc5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -40,5 +40,5 @@ AI 智能体开发约束 & 项目执行规范 5. 发版与自动更新操作规范 - 自动更新:插件由执行机按账号权限自下载(plugin_sync.py);壳子由执行机自动下载安装包 + 用户点击升级重启(shell_updater.py)。版本源都在中心机控制面。 - 发版统一走 agent CLI(desktop/ 下执行:.venv\Scripts\python.exe -m controlplane.tools.agent_cli)。插件用 publish / grant / revoke;壳子用 file push --category shell;中心机控制面为源码部署(宝塔 gunicorn 8800),改代码后按 SOP 部署。 -- 鉴权:密码登录 `--admin puddy --password 123456`(远程机器加 `--base http://117.72.191.188:8800`),或中心机本机密钥自签。 +- 鉴权:密码登录 `--admin puddy --password 123456`,**一律显式加 `--base http://172.30.30.243:8800`(内网生产控制面,执行机实际连接源)**,或中心机本机密钥自签。⚠️ 控制面有两套且数据不同步:公网 `http://117.72.191.188:8800` 是迁移前旧库(仍在线但执行机不连),发版/授权/登记发到公网库 = 执行机永远检测不到新版本;端口分工(内网 172.30.30.243):8800 控制面 / 8802 文件服务器下载 / 8899 文件服务器管理台。 - 完整流程、命令示例见 docs/插件/发版规范.md;中心机前后端部署步骤见 docs/部署/控制面前后端部署SOP.md。 \ No newline at end of file diff --git a/desktop/controlplane-next/frontend/index.html b/desktop/controlplane-next/frontend/index.html index 25d290c..9e445bd 100644 --- a/desktop/controlplane-next/frontend/index.html +++ b/desktop/controlplane-next/frontend/index.html @@ -1,12 +1,12 @@ - Art Design Pro + 37du 控制台 diff --git a/desktop/controlplane-next/frontend/src/api/business.ts b/desktop/controlplane-next/frontend/src/api/business.ts index 656cbd1..7591d5e 100644 --- a/desktop/controlplane-next/frontend/src/api/business.ts +++ b/desktop/controlplane-next/frontend/src/api/business.ts @@ -72,7 +72,7 @@ export function fetchAccountGrants(account: string) { return request.get({ url: '/api/admin/account_grants', params: { account } }) } -/** 授予/撤销插件 */ +/** 授予/撤销插件(granted=false 即撤销整行) */ export function grantPlugin(body: any) { return request.post({ url: '/api/admin/account_plugins', data: body }) } @@ -82,6 +82,28 @@ export function grantPlatform(body: any) { return request.post({ url: '/api/admin/account_platforms', data: body }) } +// ==================== 双向批量授权(新授权工作台) ==================== + +/** 授权矩阵总览(账号 × 插件 + 平台白名单,一次拉全量) */ +export function fetchGrantsMatrix() { + return request.get({ url: '/api/admin/grants/matrix' }) +} + +/** 插件维度:该插件已授权账号列表 */ +export function fetchPluginGrants(pluginId: string) { + return request.get({ url: '/api/admin/plugin_grants', params: { plugin_id: pluginId } }) +} + +/** 批量授权/更新(事务 upsert) */ +export function batchPluginGrants(body: { plugin_id: string; items: { account: string; can_download: boolean; can_run: boolean }[] }) { + return request.post({ url: '/api/admin/plugin_grants/batch', data: body, timeout: 60000 }) +} + +/** 批量撤销 */ +export function revokePluginGrants(body: { plugin_id: string; accounts: string[] }) { + return request.post({ url: '/api/admin/plugin_grants/revoke', data: body, timeout: 60000 }) +} + /** 审计日志 */ export function fetchAudit(params: { page?: number; page_size?: number; action?: string; q?: string }) { return request.get<{ items: any[]; total: number; today: number }>({ url: '/api/admin/audit', params }) @@ -102,11 +124,16 @@ export function fetchDevicesSummary() { return request.get({ url: '/api/admin/devices/summary' }) } -/** 通知列表 */ +/** 通知列表(管理) */ export function fetchNotifications(params: { page?: number; page_size?: number; q?: string }) { return request.get<{ items: any[]; total: number }>({ url: '/api/admin/notifications', params }) } +/** 最新有效通知(页眉通知中心,active 且未过期) */ +export function fetchLatestNotifications(limit: number = 30) { + return request.get<{ items: any[] }>({ url: '/api/admin/notifications/latest', params: { limit } }) +} + /** 创建通知 */ export function createNotification(body: any) { return request.post({ url: '/api/admin/notifications', data: body }) @@ -151,3 +178,17 @@ export function patchFileSource(id: number, body: any) { export function deleteFileSource(id: number) { return request.del({ url: `/api/admin/file-sources/${id}` }) } + +// ==================== 个人中心(自助) ==================== + +/** 自助修改密码(旧密码校验,新密码≥8位,成功后 must_change_pwd 清零) */ +export function changePassword(body: { account: string; old_password: string; new_password: string }) { + return request.post({ url: '/api/admin/password', data: body }) +} + +/** 上传头像(multipart,file 字段) */ +export function uploadAvatar(file: File, account: string) { + const fd = new FormData() + fd.append('file', file) + return request.post({ url: '/api/admin/avatar', data: fd, params: { account }, timeout: 30000 }) +} diff --git a/desktop/controlplane-next/frontend/src/components/core/base/art-page-header/index.vue b/desktop/controlplane-next/frontend/src/components/core/base/art-page-header/index.vue new file mode 100644 index 0000000..34dfa8d --- /dev/null +++ b/desktop/controlplane-next/frontend/src/components/core/base/art-page-header/index.vue @@ -0,0 +1,28 @@ + + + + diff --git a/desktop/controlplane-next/frontend/src/components/core/layouts/art-chat-window/index.vue b/desktop/controlplane-next/frontend/src/components/core/layouts/art-chat-window/index.vue deleted file mode 100644 index d18c954..0000000 --- a/desktop/controlplane-next/frontend/src/components/core/layouts/art-chat-window/index.vue +++ /dev/null @@ -1,262 +0,0 @@ - - - - diff --git a/desktop/controlplane-next/frontend/src/components/core/layouts/art-header-bar/index.vue b/desktop/controlplane-next/frontend/src/components/core/layouts/art-header-bar/index.vue index 812184c..570615a 100644 --- a/desktop/controlplane-next/frontend/src/components/core/layouts/art-header-bar/index.vue +++ b/desktop/controlplane-next/frontend/src/components/core/layouts/art-header-bar/index.vue @@ -114,19 +114,9 @@ v-if="shouldShowNotification" icon="ri:notification-2-line" class="notice-button relative" - @click="visibleNotice" + @click.stop="visibleNotice" > -
- - - - -
+
@@ -182,6 +172,7 @@ import { themeAnimation } from '@/utils/ui/animation' import { useCommon } from '@/hooks/core/useCommon' import { useHeaderBar } from '@/hooks/core/useHeaderBar' + import { useNotifyCenter } from '@/hooks/core/useNotifyCenter' import ArtUserMenu from './widget/ArtUserMenu.vue' defineOptions({ name: 'ArtHeaderBar' }) @@ -222,6 +213,9 @@ const showNotice = ref(false) const notice = ref(null) + // 通知中心未读数(真实 notifications 数据,60s 轮询) + const { unreadCount } = useNotifyCenter() + // 菜单类型判断 const isLeftMenu = computed(() => menuType.value === MenuTypeEnum.LEFT) const isDualMenu = computed(() => menuType.value === MenuTypeEnum.DUAL_MENU) @@ -334,13 +328,6 @@ const visibleNotice = (): void => { showNotice.value = !showNotice.value } - - /** - * 打开聊天窗口 - */ - const openChat = (): void => { - mittBus.emit('openChat') - } + + + + + + diff --git a/desktop/controlplane-next/frontend/src/config/index.ts b/desktop/controlplane-next/frontend/src/config/index.ts index 9c495be..2b8b4d8 100644 --- a/desktop/controlplane-next/frontend/src/config/index.ts +++ b/desktop/controlplane-next/frontend/src/config/index.ts @@ -38,7 +38,7 @@ import { headerBarConfig } from './modules/headerBar' const appConfig: SystemConfig = { // 系统信息 systemInfo: { - name: 'Art Design Pro' // 系统名称 + name: '37du 控制台' // 系统名称 }, // 系统主题 systemThemeStyles: { diff --git a/desktop/controlplane-next/frontend/src/config/modules/component.ts b/desktop/controlplane-next/frontend/src/config/modules/component.ts index f20ea10..f24f854 100644 --- a/desktop/controlplane-next/frontend/src/config/modules/component.ts +++ b/desktop/controlplane-next/frontend/src/config/modules/component.ts @@ -45,14 +45,6 @@ export const globalComponentsConfig: GlobalComponentConfig[] = [ ), enabled: true }, - { - name: '聊天窗口', - key: 'chat-window', - component: defineAsyncComponent( - () => import('@/components/core/layouts/art-chat-window/index.vue') - ), - enabled: true - }, { name: '礼花效果', key: 'fireworks-effect', diff --git a/desktop/controlplane-next/frontend/src/config/modules/fastEnter.ts b/desktop/controlplane-next/frontend/src/config/modules/fastEnter.ts index 74eef9f..0ab32af 100644 --- a/desktop/controlplane-next/frontend/src/config/modules/fastEnter.ts +++ b/desktop/controlplane-next/frontend/src/config/modules/fastEnter.ts @@ -1,127 +1,95 @@ -/** - * 快速入口配置 - * 包含:应用列表、快速链接等配置 - */ -import { WEB_LINKS } from '@/utils/constants' -import type { FastEnterConfig } from '@/types/config' - -const fastEnterConfig: FastEnterConfig = { - // 显示条件(屏幕宽度) - minWidth: 1200, - // 应用列表 - applications: [ - { - name: '工作台', - description: '系统概览与数据统计', - icon: 'ri:pie-chart-line', - iconColor: '#377dff', - enabled: true, - order: 1, - routeName: 'Console' - }, - { - name: '分析页', - description: '数据分析与可视化', - icon: 'ri:game-line', - iconColor: '#ff3b30', - enabled: true, - order: 2, - routeName: 'Analysis' - }, - { - name: '礼花效果', - description: '动画特效展示', - icon: 'ri:loader-line', - iconColor: '#7A7FFF', - enabled: true, - order: 3, - routeName: 'Fireworks' - }, - { - name: '聊天', - description: '即时通讯功能', - icon: 'ri:user-line', - iconColor: '#13DEB9', - enabled: true, - order: 4, - routeName: 'Chat' - }, - { - name: '官方文档', - description: '使用指南与开发文档', - icon: 'ri:bill-line', - iconColor: '#ffb100', - enabled: true, - order: 5, - link: WEB_LINKS.DOCS - }, - { - name: '技术支持', - description: '技术支持与问题反馈', - icon: 'ri:user-location-line', - iconColor: '#ff6b6b', - enabled: true, - order: 6, - link: WEB_LINKS.COMMUNITY - }, - { - name: '更新日志', - description: '版本更新与变更记录', - icon: 'ri:gamepad-line', - iconColor: '#38C0FC', - enabled: true, - order: 7, - routeName: 'ChangeLog' - }, - { - name: '哔哩哔哩', - description: '技术分享与交流', - icon: 'ri:bilibili-line', - iconColor: '#FB7299', - enabled: true, - order: 8, - link: WEB_LINKS.BILIBILI - } - ], - // 快速链接 - quickLinks: [ - { - name: '登录', - enabled: true, - order: 1, - routeName: 'Login' - }, - { - name: '注册', - enabled: true, - order: 2, - routeName: 'Register' - }, - { - name: '忘记密码', - enabled: true, - order: 3, - routeName: 'ForgetPassword' - }, - { - name: '定价', - enabled: true, - order: 4, - routeName: 'Pricing' - }, - { - name: '个人中心', - enabled: true, - order: 5, - routeName: 'UserCenter' - }, - { - name: '留言管理', - enabled: true, - order: 6, - routeName: 'ArticleComment' - } - ] -} - -export default Object.freeze(fastEnterConfig) +/** + * 快速入口配置(37du:仅指向控制台真实页面) + */ +import type { FastEnterConfig } from '@/types/config' + +const fastEnterConfig: FastEnterConfig = { + // 显示条件(屏幕宽度) + minWidth: 1200, + // 应用列表 + applications: [ + { + name: '概览', + description: '插件与账号全景', + icon: 'ri:pie-chart-line', + iconColor: '#377dff', + enabled: true, + order: 1, + routeName: 'Overview' + }, + { + name: '插件管理', + description: '上传发布与版本管理', + icon: 'ri:box-3-line', + iconColor: '#13DEB9', + enabled: true, + order: 2, + routeName: 'Plugins' + }, + { + name: '账号管理', + description: '统一账号维护', + icon: 'ri:user-3-line', + iconColor: '#7A7FFF', + enabled: true, + order: 3, + routeName: 'Accounts' + }, + { + name: '权限授权', + description: '插件/平台授权工作台', + icon: 'ri:key-2-line', + iconColor: '#ffb100', + enabled: true, + order: 4, + routeName: 'Grants' + }, + { + name: '通知推送', + description: '执行机用户消息触达', + icon: 'ri:notification-3-line', + iconColor: '#ff6b6b', + enabled: true, + order: 5, + routeName: 'Notify' + }, + { + name: '数据看板', + description: '运行统计与趋势', + icon: 'ri:bar-chart-2-line', + iconColor: '#38C0FC', + enabled: true, + order: 6, + routeName: 'Stats' + } + ], + // 快速链接 + quickLinks: [ + { + name: '审计报表', + enabled: true, + order: 1, + routeName: 'Audit' + }, + { + name: '运行记录', + enabled: true, + order: 2, + routeName: 'Reports' + }, + { + name: '执行机设备', + enabled: true, + order: 3, + routeName: 'Devices' + }, + { + name: '敏感凭证', + enabled: true, + order: 4, + routeName: 'Creds' + } + ] +} + +export default Object.freeze(fastEnterConfig) diff --git a/desktop/controlplane-next/frontend/src/config/modules/headerBar.ts b/desktop/controlplane-next/frontend/src/config/modules/headerBar.ts index c7ead4b..fda6064 100644 --- a/desktop/controlplane-next/frontend/src/config/modules/headerBar.ts +++ b/desktop/controlplane-next/frontend/src/config/modules/headerBar.ts @@ -43,8 +43,8 @@ export const headerBarConfig: HeaderBarFeatureConfig = { description: '通知中心,显示系统通知和消息' }, chat: { - enabled: true, - description: '聊天功能,提供实时沟通' + enabled: false, + description: '聊天功能(37du 未使用,已停用)' }, language: { enabled: true, diff --git a/desktop/controlplane-next/frontend/src/hooks/core/useNotifyCenter.ts b/desktop/controlplane-next/frontend/src/hooks/core/useNotifyCenter.ts new file mode 100644 index 0000000..fd879f7 --- /dev/null +++ b/desktop/controlplane-next/frontend/src/hooks/core/useNotifyCenter.ts @@ -0,0 +1,74 @@ +import { computed, ref } from 'vue' +import { fetchLatestNotifications } from '@/api/business' + +/** + * 通知中心共享状态(页眉铃铛 + 通知面板共用) + * + * - 数据源:GET /api/admin/notifications/latest(active 且未过期,管理员全量可见, + * 与员工端壳子 notifier.js 消费的 /api/notifications 同源同语义) + * - 已读跟踪:localStorage 存最近已读时间戳(服务端无逐用户已读模型,控制台本地判定足够; + * 时间戳之前的视为已读,铃铛红点 = 存在更新的通知) + * - 轮询:模块级单例 60s 轻量刷新,页眉与面板不重复请求 + */ + +const LAST_READ_KEY = '37du-notify-last-read' + +function readLastRead(): number { + try { + return Number(localStorage.getItem(LAST_READ_KEY) || 0) + } catch (e) { + return 0 + } +} + +const items = ref([]) +const lastRead = ref(readLastRead()) +const loading = ref(false) +let started = false + +/** created_at 'YYYY-MM-DD HH:mm:ss' → 时间戳(服务端与本机同区) */ +function toTs(s: string): number { + if (!s) return 0 + return new Date(String(s).replace(' ', 'T')).getTime() || 0 +} + +/** 存在比"最近已读"更新的通知 */ +const unreadCount = computed(() => { + return items.value.filter((i) => toTs(i.created_at) > lastRead.value).length +}) + +async function refresh(): Promise { + if (loading.value) return + loading.value = true + try { + const r = await fetchLatestNotifications(30) + items.value = r.items || [] + } catch (e) { + /* 未登录/网络异常静默,下轮重试 */ + } finally { + loading.value = false + } +} + +/** 全部标记已读:以当前时间作为已读水位 */ +function markAllRead(): void { + lastRead.value = Date.now() + try { + localStorage.setItem(LAST_READ_KEY, String(lastRead.value)) + } catch (e) { + /* ignore */ + } +} + +/** 模块级单例启动轮询(首个调用方触发) */ +function ensureStarted(): void { + if (started) return + started = true + refresh() + setInterval(refresh, 60_000) +} + +export function useNotifyCenter() { + ensureStarted() + return { items, unreadCount, loading, lastRead, refresh, markAllRead } +} diff --git a/desktop/controlplane-next/frontend/src/locales/langs/en.json b/desktop/controlplane-next/frontend/src/locales/langs/en.json index 51e196b..02ce6d5 100644 --- a/desktop/controlplane-next/frontend/src/locales/langs/en.json +++ b/desktop/controlplane-next/frontend/src/locales/langs/en.json @@ -150,8 +150,8 @@ }, "login": { "leftView": { - "title": "A backend system of beauty and efficiency", - "subTitle": "A sleek and practical interface for a great user experience" + "title": "37du Automation Platform - Unified Console", + "subTitle": "Plugin distribution, account authorization and runtime monitoring in one place" }, "title": "Welcome back", "subTitle": "Please enter your account and password to login", diff --git a/desktop/controlplane-next/frontend/src/locales/langs/zh.json b/desktop/controlplane-next/frontend/src/locales/langs/zh.json index 77a23a5..08f2742 100644 --- a/desktop/controlplane-next/frontend/src/locales/langs/zh.json +++ b/desktop/controlplane-next/frontend/src/locales/langs/zh.json @@ -150,8 +150,8 @@ }, "login": { "leftView": { - "title": "一款兼具设计美学与高效开发的后台系统", - "subTitle": "美观实用的界面,经过视觉优化,确保卓越的用户体验" + "title": "37du 自动化平台 · 统一控制台", + "subTitle": "插件分发 · 账号授权 · 运行监控,一站式管理执行机与插件" }, "title": "欢迎回来", "subTitle": "输入您的账号和密码登录", diff --git a/desktop/controlplane-next/frontend/src/utils/sys/mittBus.ts b/desktop/controlplane-next/frontend/src/utils/sys/mittBus.ts index 6c5df55..1a22cac 100644 --- a/desktop/controlplane-next/frontend/src/utils/sys/mittBus.ts +++ b/desktop/controlplane-next/frontend/src/utils/sys/mittBus.ts @@ -35,7 +35,6 @@ * - triggerFireworks: 触发烟花效果(可选图片URL) * - openSetting: 打开设置面板 * - openSearchDialog: 打开搜索对话框 - * - openChat: 打开聊天窗口 * - openLockScreen: 打开锁屏 * * @module utils/sys/mittBus @@ -51,8 +50,6 @@ type Events = { openSetting: void // 打开搜索对话框事件 - 无参数 openSearchDialog: void - // 打开聊天窗口事件 - 无参数 - openChat: void // 打开锁屏事件 - 无参数 openLockScreen: void } diff --git a/desktop/controlplane-next/frontend/src/views/accounts/index.vue b/desktop/controlplane-next/frontend/src/views/accounts/index.vue index aae3158..361f09a 100644 --- a/desktop/controlplane-next/frontend/src/views/accounts/index.vue +++ b/desktop/controlplane-next/frontend/src/views/accounts/index.vue @@ -1,203 +1,204 @@ - - - + + + diff --git a/desktop/controlplane-next/frontend/src/views/audit/index.vue b/desktop/controlplane-next/frontend/src/views/audit/index.vue index ca5ca6b..4a8af02 100644 --- a/desktop/controlplane-next/frontend/src/views/audit/index.vue +++ b/desktop/controlplane-next/frontend/src/views/audit/index.vue @@ -1,85 +1,86 @@ - - - + + + diff --git a/desktop/controlplane-next/frontend/src/views/creds/index.vue b/desktop/controlplane-next/frontend/src/views/creds/index.vue index 05a100c..3653fa2 100644 --- a/desktop/controlplane-next/frontend/src/views/creds/index.vue +++ b/desktop/controlplane-next/frontend/src/views/creds/index.vue @@ -1,104 +1,117 @@ - - - + + + diff --git a/desktop/controlplane-next/frontend/src/views/devices/index.vue b/desktop/controlplane-next/frontend/src/views/devices/index.vue index fabd6b3..e5df8f1 100644 --- a/desktop/controlplane-next/frontend/src/views/devices/index.vue +++ b/desktop/controlplane-next/frontend/src/views/devices/index.vue @@ -1,61 +1,190 @@