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 @@ + + + + + +