From 532ff6e0c04e15b6a668c7c3babba54e1d7b70ec Mon Sep 17 00:00:00 2001 From: bestlee Date: Mon, 28 Sep 2026 15:37:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=93=E4=B8=9A=E4=BC=9A=E7=AD=BE=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/details/approval/index.vue | 5 --- src/views/home/modules/template10.vue | 2 +- src/views/home/modules/template4.vue | 64 ++++++++++++--------------- src/views/home/modules/template6.vue | 2 +- src/views/home/modules/template9.vue | 2 +- src/views/my/myTask/index.vue | 2 +- 6 files changed, 32 insertions(+), 45 deletions(-) diff --git a/src/views/details/approval/index.vue b/src/views/details/approval/index.vue index 7bcf717..dee1f78 100644 --- a/src/views/details/approval/index.vue +++ b/src/views/details/approval/index.vue @@ -42,8 +42,6 @@ const typeAi = ref<{ type: string; confidence: number; conclusion: string; hit_r const currentInfo = ref(null); // 当前变更id const currentId = ref(0); -// 当前变更状态 -const currentStatus = ref(''); // 是否开启 AI 辅助功能 const isAiOn = ref(false); // 变更等级选项 @@ -422,9 +420,6 @@ onMounted(() => { currentId.value = Number(route.query.id); getConfig(); } - if(route.query.status){ - currentStatus.value = route.query.status.toString(); - } } }) diff --git a/src/views/home/modules/template10.vue b/src/views/home/modules/template10.vue index 35a1e9f..13a36e3 100644 --- a/src/views/home/modules/template10.vue +++ b/src/views/home/modules/template10.vue @@ -43,7 +43,7 @@ const jumpTo = (key: string,qid:number = 0) => { } // 打开审批详情 const openDetail = (row: any) => { - routerPushByKey("details_approval",{ query: { id: row?.change_id?.toString(),status:row?.status?.toString() || '',key:'home' } }); + routerPushByKey("details_approval",{ query: { id: row?.change_id?.toString(),key:'home' } }); }; // 获取当前时间字符串 diff --git a/src/views/home/modules/template4.vue b/src/views/home/modules/template4.vue index 8f878fa..c749beb 100644 --- a/src/views/home/modules/template4.vue +++ b/src/views/home/modules/template4.vue @@ -36,15 +36,13 @@ const jumpTo = (key: string,qid:number = 0) => { }else if(key==='details_closedoc' && qid){ routerPushByKey(key,{ query: { id: qid.toString(),key:'home' } }); }else if(key==='details_index' && qid){ - routerPushByKey("details_index",{ query: { id: qid.toString(),key:'home' } }); + routerPushByKey(key,{ query: { id: qid.toString(),key:'home' } }); + }else if(key==='details_approval' && qid){ + routerPushByKey(key,{ query: { id: qid.toString(),key:'home' } }); }else{ routerPushByKey(key as any); } } -// 打开审批详情 -const openDetail = (row: any) => { - routerPushByKey("details_approval",{ query: { id: row?.change_id?.toString(),status:row?.status?.toString() || '',key:'home' } }); -}; // 获取当前时间字符串 const getCurrentTimeStr = () => { @@ -163,14 +161,15 @@ onUnmounted(() => {

待我会签

-

其中超期 1 项 · 请优先处理

+

其中超期 {{homeData?.todo_sign?.overdue_count}} 项 · 请优先处理

+

无超期

@@ -190,7 +189,7 @@ onUnmounted(() => {

本月已会签

-

含驳回 1 起 · 系统自动采集

+

含驳回 {{homeData?.sign_stats?.month_rejected || 0}} 起 · 系统自动采集

@@ -203,7 +202,7 @@ onUnmounted(() => {
@@ -218,7 +217,7 @@ onUnmounted(() => {
{ - +
@@ -247,14 +246,14 @@ onUnmounted(() => {

待我会签

超期项行内红色标记 · 审批时自动展示专业相关附件

- + 我的任务
-