From 71fc3b222b4887f7c92c6ce11fd380a0d6d07509 Mon Sep 17 00:00:00 2001 From: han2015 <1019850453@qq.com> Date: Fri, 10 Oct 2025 11:34:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=91=E7=9B=98=EF=BC=9A=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=88=86=E4=BA=AB=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/router/index.ts | 5 + src/views/doc/agent.vue | 8 - src/views/doc/index.vue | 15 +- src/views/doc/manage.vue | 2 +- src/views/doc/share.vue | 376 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 394 insertions(+), 12 deletions(-) create mode 100644 src/views/doc/share.vue diff --git a/src/utils/router/index.ts b/src/utils/router/index.ts index 775adc4..8c59511 100644 --- a/src/utils/router/index.ts +++ b/src/utils/router/index.ts @@ -91,6 +91,11 @@ export const staticRouting : RouteRecordRaw[] = [ component: () => import('@/views/doc/onlyoffice.vue'), meta: { hidden: true }, }, + { + path: '/docshare', + component: () => import('@/views/doc/share.vue'), + meta: { hidden: true }, + }, { path: '/agent', component: () => import('@/views/doc/agent.vue'), diff --git a/src/views/doc/agent.vue b/src/views/doc/agent.vue index 0c55828..5b3e243 100644 --- a/src/views/doc/agent.vue +++ b/src/views/doc/agent.vue @@ -179,14 +179,6 @@ function onDelChat(uuid:string){ }) } -function handleMouseEnter(row:any){ - if(centHoverItem.value==row.uuid) return; - centHoverItem.value=row.uuid -} -function handleMouseLeave(){ - centHoverItem.value="" -} - function newContext(){ drawerModel.value=false; const c =conversations.value.find(c=>c.uuid==conversation.value) diff --git a/src/views/doc/index.vue b/src/views/doc/index.vue index a8d1511..ffc4a5f 100644 --- a/src/views/doc/index.vue +++ b/src/views/doc/index.vue @@ -29,7 +29,7 @@ const Departs = computed(() => { const dynamicVNode = ref(null) //permission 组件的父组件 const CutLevelPermit=ref(0) -function onSelectSpace(data:matterInfo,recycling?:boolean){ +function onSelectSpace(data:matterInfo,recycling?:number){ if(data){ router.push({ name: "spaces", @@ -39,10 +39,14 @@ function onSelectSpace(data:matterInfo,recycling?:boolean){ } }); }else{ - if(recycling) { + if(recycling==3) { router.push({ path: "/mysapce",query:{fa:7,recycling:recycling}}); return } + if(recycling==2) { + router.push({ path: "/docshare",query:{fa:7}}); + return + } router.push({ path: "/mysapce",query:{fa:7}}); } } @@ -201,7 +205,12 @@ onMounted(()=>{ 我的空间 -
  • +
  • +
    + 我的分享 +
    +
  • +
  • 回收站
  • diff --git a/src/views/doc/manage.vue b/src/views/doc/manage.vue index ed6afa9..b618483 100644 --- a/src/views/doc/manage.vue +++ b/src/views/doc/manage.vue @@ -146,7 +146,7 @@ function onShareMatter(row?:matterInfo){ } function showShareMessage(row:respCreateShare){ - let _shareURL=`${siteHost}/#/doc/share/?uuid=${row.uuid}&code=${row.code}` + let _shareURL=`${siteHost}/#/docshare/?uuid=${row.uuid}&code=${row.code}` ElMessageBox({ title: '分享详情', customStyle: { padding:'20px'}, diff --git a/src/views/doc/share.vue b/src/views/doc/share.vue new file mode 100644 index 0000000..05d0b6f --- /dev/null +++ b/src/views/doc/share.vue @@ -0,0 +1,376 @@ + + + + + +