From dcafd5e3b04356bb93f72d05bfa2cd4a607ab915 Mon Sep 17 00:00:00 2001 From: Kven <2955163637@qq.com> Date: Wed, 14 May 2025 19:48:01 +0800 Subject: [PATCH] =?UTF-8?q?feat(@vben/web-antd):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E9=83=A8=E5=88=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/router/routes/modules/system.ts | 4 +- apps/web-antd/src/views/ppt/index.vue | 11 +- apps/web-antd/src/views/spider/index.vue | 8 +- apps/web-antd/src/views/word/index.vue | 18 ++- .../common-ui/src/ui/ppt/ppt-history-view.vue | 4 +- .../common-ui/src/ui/ppt/ppt-list-view.vue | 2 +- .../common-ui/src/ui/ppt/ppt-work-view.vue | 47 ++---- .../src/ui/spider/spider-work-view.vue | 142 +++++++++++++++++- .../effects/common-ui/src/ui/word/typing.ts | 1 + .../src/ui/word/word-history-view.vue | 6 +- .../common-ui/src/ui/word/word-list-view.vue | 2 +- .../common-ui/src/ui/word/word-work-view.vue | 85 ++++------- packages/icons/src/iconify/index.ts | 2 + 13 files changed, 217 insertions(+), 115 deletions(-) diff --git a/apps/web-antd/src/router/routes/modules/system.ts b/apps/web-antd/src/router/routes/modules/system.ts index b598894..31744d6 100644 --- a/apps/web-antd/src/router/routes/modules/system.ts +++ b/apps/web-antd/src/router/routes/modules/system.ts @@ -1,6 +1,6 @@ import type { RouteRecordRaw } from 'vue-router'; -import { EosRole, IconSystem, MdiUser, RiDept } from '@vben/icons'; +import { EosRole, IconLog, IconSystem, MdiUser, RiDept } from '@vben/icons'; const routes: RouteRecordRaw[] = [ { @@ -48,7 +48,7 @@ const routes: RouteRecordRaw[] = [ path: '/system/log', component: () => import('#/views/log/list.vue'), meta: { - icon: MdiUser, + icon: IconLog, title: '系统日志', authority: ['system'], }, diff --git a/apps/web-antd/src/views/ppt/index.vue b/apps/web-antd/src/views/ppt/index.vue index 9befc31..a76a309 100644 --- a/apps/web-antd/src/views/ppt/index.vue +++ b/apps/web-antd/src/views/ppt/index.vue @@ -5,6 +5,8 @@ import { onMounted, reactive, ref } from 'vue'; import { PptHistoryView, PptListView, PptWorkView } from '@vben/common-ui'; +import { message } from 'ant-design-vue'; + import { getWorkflowInfo, getWorkflowList, sendWorkflow } from '#/api'; let temp = reactive({ @@ -57,6 +59,7 @@ async function handleClick(item: PPTTempItem) { } async function handleClickMode(item: PPTTempItem) { + message.success(`已选取${item.name}为模板`); temp = item; } @@ -66,9 +69,9 @@ onMounted(() => {