From 98164c65a2475a3fdddc7704379758e96595c8d3 Mon Sep 17 00:00:00 2001 From: chenqi Date: Wed, 25 Feb 2026 12:58:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(router):=20=E4=BF=AE=E5=A4=8D=E8=8D=AF?= =?UTF-8?q?=E5=93=81=E7=AE=A1=E7=90=86=E6=A8=A1=E5=9D=97=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E8=B7=AF=E7=94=B1=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修正 chkstockBatch 页面审核路由路径 - 修正 lossReporting 页面审核路由路径 - 修正 purchaseDocument 页面审核路由路径 - 修正 requisitionManagement 页面审核路由路径 - 修正 returningInventory 页面审核路由路径 - 修正 returnedPurchase 页面审核路由路径 - 修正 batchTransfer 页面审核路由路径 - 修正 transferManagent 页面审核路由路径 - 在采购单据拒绝流程中添加关闭当前页签功能 - 在采购单据通过流程中添加关闭当前页签功能 --- .../medicationmanagement/chkstock/chkstockBatch/index.vue | 4 ++-- .../lossReportingManagement/lossReporting/index.vue | 4 ++-- .../views/medicationmanagement/purchaseDocument/index.vue | 6 ++++-- .../requisitionManagement/requisitionManagement/index.vue | 4 ++-- .../requisitionManagement/returningInventory/index.vue | 4 ++-- .../views/medicationmanagement/returnedPurchase/index.vue | 4 ++-- .../transferManagent/batchTransfer/index.vue | 4 ++-- .../transferManagent/transferManagent/index.vue | 4 ++-- 8 files changed, 18 insertions(+), 16 deletions(-) diff --git a/openhis-ui-vue3/src/views/medicationmanagement/chkstock/chkstockBatch/index.vue b/openhis-ui-vue3/src/views/medicationmanagement/chkstock/chkstockBatch/index.vue index 6a7bcb04..d149a989 100644 --- a/openhis-ui-vue3/src/views/medicationmanagement/chkstock/chkstockBatch/index.vue +++ b/openhis-ui-vue3/src/views/medicationmanagement/chkstock/chkstockBatch/index.vue @@ -2069,7 +2069,7 @@ function handleReject() { store.clearCurrentDataPLPDALL(); // 跳转到审核页面 router.replace({ - path: '/aaaa/billapproval', + path: '/financialManagement/medicationmanagement/billapproval', query: { type: 'chkstockBatch' }, }); } @@ -2086,7 +2086,7 @@ function handelApply() { store.clearCurrentDataPLPDALL(); // 跳转到审核页面 router.replace({ - path: '/aaaa/billapproval', + path: '/financialManagement/medicationmanagement/billapproval', query: { type: 'chkstockBatch' }, }); } diff --git a/openhis-ui-vue3/src/views/medicationmanagement/lossReportingManagement/lossReporting/index.vue b/openhis-ui-vue3/src/views/medicationmanagement/lossReportingManagement/lossReporting/index.vue index a4913aee..419ae4d9 100644 --- a/openhis-ui-vue3/src/views/medicationmanagement/lossReportingManagement/lossReporting/index.vue +++ b/openhis-ui-vue3/src/views/medicationmanagement/lossReportingManagement/lossReporting/index.vue @@ -1024,7 +1024,7 @@ function handleReject() { store.clearCurrentDataBS(); // 跳转到审核页面 router.replace({ - path: '/aaaa/billapproval', + path: '/financialManagement/medicationmanagement/billapproval', query: { type: 'lossReporting' }, }); } @@ -1040,7 +1040,7 @@ function handelApply() { store.clearCurrentDataBS(); // 跳转到审核页面 router.replace({ - path: '/aaaa/billapproval', + path: '/financialManagement/medicationmanagement/billapproval', query: { type: 'lossReporting' }, }); } diff --git a/openhis-ui-vue3/src/views/medicationmanagement/purchaseDocument/index.vue b/openhis-ui-vue3/src/views/medicationmanagement/purchaseDocument/index.vue index 681e722b..ca2ac655 100644 --- a/openhis-ui-vue3/src/views/medicationmanagement/purchaseDocument/index.vue +++ b/openhis-ui-vue3/src/views/medicationmanagement/purchaseDocument/index.vue @@ -1834,11 +1834,12 @@ function handleReject() { reject(route.query.supplyBusNo).then((res) => { if (res.code == 200) { proxy.$modal.msgSuccess("操作成功"); + // 关闭当前页签 tagsViewStore.delView(router.currentRoute.value); store.clearCurrentData(); // 跳转到审核页面 router.replace({ - path: '/aaaa/billapproval', + path: '/financialManagement/medicationmanagement/billapproval', query: { type: 'purchaseDocument' }, }); } @@ -1851,11 +1852,12 @@ function handelApply() { if (res.code == 200) { pageLoading.value = false; proxy.$modal.msgSuccess("操作成功"); + // 关闭当前页签 tagsViewStore.delView(router.currentRoute.value); store.clearCurrentData(); // 跳转到审核页面 router.replace({ - path: '/aaaa/billapproval', + path: '/financialManagement/medicationmanagement/billapproval', query: { type: 'purchaseDocument' }, }); } diff --git a/openhis-ui-vue3/src/views/medicationmanagement/requisitionManagement/requisitionManagement/index.vue b/openhis-ui-vue3/src/views/medicationmanagement/requisitionManagement/requisitionManagement/index.vue index 5af73766..b3a2b132 100644 --- a/openhis-ui-vue3/src/views/medicationmanagement/requisitionManagement/requisitionManagement/index.vue +++ b/openhis-ui-vue3/src/views/medicationmanagement/requisitionManagement/requisitionManagement/index.vue @@ -909,7 +909,7 @@ function handleReject() { store.clearCurrentDataLYCK(); // 跳转到审核页面 router.replace({ - path: '/aaaa/billapproval', + path: '/financialManagement/medicationmanagement/billapproval', query: { type: 'requisitionManagement' }, }); } @@ -925,7 +925,7 @@ function handelApply() { store.clearCurrentDataLYCK(); // 跳转到审核页面 router.replace({ - path: '/aaaa/billapproval', + path: '/financialManagement/medicationmanagement/billapproval', query: { type: 'requisitionManagement' }, }); } diff --git a/openhis-ui-vue3/src/views/medicationmanagement/requisitionManagement/returningInventory/index.vue b/openhis-ui-vue3/src/views/medicationmanagement/requisitionManagement/returningInventory/index.vue index d5373dc9..a20b14e5 100644 --- a/openhis-ui-vue3/src/views/medicationmanagement/requisitionManagement/returningInventory/index.vue +++ b/openhis-ui-vue3/src/views/medicationmanagement/requisitionManagement/returningInventory/index.vue @@ -982,7 +982,7 @@ function handleReject() { store.clearCurrentDataLYTK(); // 跳转到审核页面 router.replace({ - path: '/aaaa/billapproval', + path: '/financialManagement/medicationmanagement/billapproval', query: { type: 'returningInventory' }, }); } @@ -998,7 +998,7 @@ function handelApply() { store.clearCurrentDataLYTK(); // 跳转到审核页面 router.replace({ - path: '/aaaa/billapproval', + path: '/financialManagement/medicationmanagement/billapproval', query: { type: 'returningInventory' }, }); } diff --git a/openhis-ui-vue3/src/views/medicationmanagement/returnedPurchase/index.vue b/openhis-ui-vue3/src/views/medicationmanagement/returnedPurchase/index.vue index 56e35d6b..1eaa3f14 100644 --- a/openhis-ui-vue3/src/views/medicationmanagement/returnedPurchase/index.vue +++ b/openhis-ui-vue3/src/views/medicationmanagement/returnedPurchase/index.vue @@ -1368,7 +1368,7 @@ function handleReject() { store.clearCurrentReturnData(); // 跳转到审核页面 router.replace({ - path: '/finance/medicationmanagement/billapproval', + path: '/financialManagement/medicationmanagement/billapproval', query: { type: 'returnedPurchase' }, }); } @@ -1385,7 +1385,7 @@ function handelApply() { store.clearCurrentReturnData(); // 跳转到审核页面 router.replace({ - path: '/finance/medicationmanagement/billapproval', + path: '/financialManagement/medicationmanagement/billapproval', query: { type: 'returnedPurchase' }, }); } diff --git a/openhis-ui-vue3/src/views/medicationmanagement/transferManagent/batchTransfer/index.vue b/openhis-ui-vue3/src/views/medicationmanagement/transferManagent/batchTransfer/index.vue index e77d1aef..6d49536c 100644 --- a/openhis-ui-vue3/src/views/medicationmanagement/transferManagent/batchTransfer/index.vue +++ b/openhis-ui-vue3/src/views/medicationmanagement/transferManagent/batchTransfer/index.vue @@ -708,7 +708,7 @@ function handelApply() { store.clearCurrentDataPLDBAll(); // 跳转到审核页面 router.replace({ - path: '/aaaa/billapproval', + path: '/financialManagement/medicationmanagement/billapproval', query: { type: 'batchTransfer' }, }); } @@ -727,7 +727,7 @@ function handleReject() { store.clearCurrentDataPLDBAll(); // 跳转到审核页面 router.replace({ - path: '/aaaa/billapproval', + path: '/financialManagement/medicationmanagement/billapproval', query: { type: 'batchTransfer' }, }); } diff --git a/openhis-ui-vue3/src/views/medicationmanagement/transferManagent/transferManagent/index.vue b/openhis-ui-vue3/src/views/medicationmanagement/transferManagent/transferManagent/index.vue index 879412a8..5814de61 100644 --- a/openhis-ui-vue3/src/views/medicationmanagement/transferManagent/transferManagent/index.vue +++ b/openhis-ui-vue3/src/views/medicationmanagement/transferManagent/transferManagent/index.vue @@ -988,7 +988,7 @@ function handelApply() { tagsViewStore.delView(router.currentRoute.value); store.clearCurrentDataDB(); // 跳转到审核页面 - router.replace({ path: '/aaaa/billapproval', query: { type: 'transferManagent' } }); + router.replace({ path: '/financialManagement/medicationmanagement/billapproval', query: { type: 'transferManagent' } }); // proxy.$tab.closePage(route).then(({ visitedViews }) => { // 关闭当前页 // toLastView(visitedViews, route) // }) @@ -1007,7 +1007,7 @@ function handleReject() { tagsViewStore.delView(router.currentRoute.value); store.clearCurrentDataDB(); // 跳转到审核页面 - router.replace({ path: '/aaaa/billapproval', query: { type: 'transferManagent' } }); + router.replace({ path: '/financialManagement/medicationmanagement/billapproval', query: { type: 'transferManagent' } }); } }); }