fix(router): 修复药品管理模块审核页面路由路径
- 修正 chkstockBatch 页面审核路由路径 - 修正 lossReporting 页面审核路由路径 - 修正 purchaseDocument 页面审核路由路径 - 修正 requisitionManagement 页面审核路由路径 - 修正 returningInventory 页面审核路由路径 - 修正 returnedPurchase 页面审核路由路径 - 修正 batchTransfer 页面审核路由路径 - 修正 transferManagent 页面审核路由路径 - 在采购单据拒绝流程中添加关闭当前页签功能 - 在采购单据通过流程中添加关闭当前页签功能
This commit is contained in:
@@ -2069,7 +2069,7 @@ function handleReject() {
|
|||||||
store.clearCurrentDataPLPDALL();
|
store.clearCurrentDataPLPDALL();
|
||||||
// 跳转到审核页面
|
// 跳转到审核页面
|
||||||
router.replace({
|
router.replace({
|
||||||
path: '/aaaa/billapproval',
|
path: '/financialManagement/medicationmanagement/billapproval',
|
||||||
query: { type: 'chkstockBatch' },
|
query: { type: 'chkstockBatch' },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -2086,7 +2086,7 @@ function handelApply() {
|
|||||||
store.clearCurrentDataPLPDALL();
|
store.clearCurrentDataPLPDALL();
|
||||||
// 跳转到审核页面
|
// 跳转到审核页面
|
||||||
router.replace({
|
router.replace({
|
||||||
path: '/aaaa/billapproval',
|
path: '/financialManagement/medicationmanagement/billapproval',
|
||||||
query: { type: 'chkstockBatch' },
|
query: { type: 'chkstockBatch' },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1024,7 +1024,7 @@ function handleReject() {
|
|||||||
store.clearCurrentDataBS();
|
store.clearCurrentDataBS();
|
||||||
// 跳转到审核页面
|
// 跳转到审核页面
|
||||||
router.replace({
|
router.replace({
|
||||||
path: '/aaaa/billapproval',
|
path: '/financialManagement/medicationmanagement/billapproval',
|
||||||
query: { type: 'lossReporting' },
|
query: { type: 'lossReporting' },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -1040,7 +1040,7 @@ function handelApply() {
|
|||||||
store.clearCurrentDataBS();
|
store.clearCurrentDataBS();
|
||||||
// 跳转到审核页面
|
// 跳转到审核页面
|
||||||
router.replace({
|
router.replace({
|
||||||
path: '/aaaa/billapproval',
|
path: '/financialManagement/medicationmanagement/billapproval',
|
||||||
query: { type: 'lossReporting' },
|
query: { type: 'lossReporting' },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1834,11 +1834,12 @@ function handleReject() {
|
|||||||
reject(route.query.supplyBusNo).then((res) => {
|
reject(route.query.supplyBusNo).then((res) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
proxy.$modal.msgSuccess("操作成功");
|
proxy.$modal.msgSuccess("操作成功");
|
||||||
|
// 关闭当前页签
|
||||||
tagsViewStore.delView(router.currentRoute.value);
|
tagsViewStore.delView(router.currentRoute.value);
|
||||||
store.clearCurrentData();
|
store.clearCurrentData();
|
||||||
// 跳转到审核页面
|
// 跳转到审核页面
|
||||||
router.replace({
|
router.replace({
|
||||||
path: '/aaaa/billapproval',
|
path: '/financialManagement/medicationmanagement/billapproval',
|
||||||
query: { type: 'purchaseDocument' },
|
query: { type: 'purchaseDocument' },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -1851,11 +1852,12 @@ function handelApply() {
|
|||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
pageLoading.value = false;
|
pageLoading.value = false;
|
||||||
proxy.$modal.msgSuccess("操作成功");
|
proxy.$modal.msgSuccess("操作成功");
|
||||||
|
// 关闭当前页签
|
||||||
tagsViewStore.delView(router.currentRoute.value);
|
tagsViewStore.delView(router.currentRoute.value);
|
||||||
store.clearCurrentData();
|
store.clearCurrentData();
|
||||||
// 跳转到审核页面
|
// 跳转到审核页面
|
||||||
router.replace({
|
router.replace({
|
||||||
path: '/aaaa/billapproval',
|
path: '/financialManagement/medicationmanagement/billapproval',
|
||||||
query: { type: 'purchaseDocument' },
|
query: { type: 'purchaseDocument' },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -909,7 +909,7 @@ function handleReject() {
|
|||||||
store.clearCurrentDataLYCK();
|
store.clearCurrentDataLYCK();
|
||||||
// 跳转到审核页面
|
// 跳转到审核页面
|
||||||
router.replace({
|
router.replace({
|
||||||
path: '/aaaa/billapproval',
|
path: '/financialManagement/medicationmanagement/billapproval',
|
||||||
query: { type: 'requisitionManagement' },
|
query: { type: 'requisitionManagement' },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -925,7 +925,7 @@ function handelApply() {
|
|||||||
store.clearCurrentDataLYCK();
|
store.clearCurrentDataLYCK();
|
||||||
// 跳转到审核页面
|
// 跳转到审核页面
|
||||||
router.replace({
|
router.replace({
|
||||||
path: '/aaaa/billapproval',
|
path: '/financialManagement/medicationmanagement/billapproval',
|
||||||
query: { type: 'requisitionManagement' },
|
query: { type: 'requisitionManagement' },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -982,7 +982,7 @@ function handleReject() {
|
|||||||
store.clearCurrentDataLYTK();
|
store.clearCurrentDataLYTK();
|
||||||
// 跳转到审核页面
|
// 跳转到审核页面
|
||||||
router.replace({
|
router.replace({
|
||||||
path: '/aaaa/billapproval',
|
path: '/financialManagement/medicationmanagement/billapproval',
|
||||||
query: { type: 'returningInventory' },
|
query: { type: 'returningInventory' },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -998,7 +998,7 @@ function handelApply() {
|
|||||||
store.clearCurrentDataLYTK();
|
store.clearCurrentDataLYTK();
|
||||||
// 跳转到审核页面
|
// 跳转到审核页面
|
||||||
router.replace({
|
router.replace({
|
||||||
path: '/aaaa/billapproval',
|
path: '/financialManagement/medicationmanagement/billapproval',
|
||||||
query: { type: 'returningInventory' },
|
query: { type: 'returningInventory' },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1368,7 +1368,7 @@ function handleReject() {
|
|||||||
store.clearCurrentReturnData();
|
store.clearCurrentReturnData();
|
||||||
// 跳转到审核页面
|
// 跳转到审核页面
|
||||||
router.replace({
|
router.replace({
|
||||||
path: '/finance/medicationmanagement/billapproval',
|
path: '/financialManagement/medicationmanagement/billapproval',
|
||||||
query: { type: 'returnedPurchase' },
|
query: { type: 'returnedPurchase' },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -1385,7 +1385,7 @@ function handelApply() {
|
|||||||
store.clearCurrentReturnData();
|
store.clearCurrentReturnData();
|
||||||
// 跳转到审核页面
|
// 跳转到审核页面
|
||||||
router.replace({
|
router.replace({
|
||||||
path: '/finance/medicationmanagement/billapproval',
|
path: '/financialManagement/medicationmanagement/billapproval',
|
||||||
query: { type: 'returnedPurchase' },
|
query: { type: 'returnedPurchase' },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -708,7 +708,7 @@ function handelApply() {
|
|||||||
store.clearCurrentDataPLDBAll();
|
store.clearCurrentDataPLDBAll();
|
||||||
// 跳转到审核页面
|
// 跳转到审核页面
|
||||||
router.replace({
|
router.replace({
|
||||||
path: '/aaaa/billapproval',
|
path: '/financialManagement/medicationmanagement/billapproval',
|
||||||
query: { type: 'batchTransfer' },
|
query: { type: 'batchTransfer' },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -727,7 +727,7 @@ function handleReject() {
|
|||||||
store.clearCurrentDataPLDBAll();
|
store.clearCurrentDataPLDBAll();
|
||||||
// 跳转到审核页面
|
// 跳转到审核页面
|
||||||
router.replace({
|
router.replace({
|
||||||
path: '/aaaa/billapproval',
|
path: '/financialManagement/medicationmanagement/billapproval',
|
||||||
query: { type: 'batchTransfer' },
|
query: { type: 'batchTransfer' },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -988,7 +988,7 @@ function handelApply() {
|
|||||||
tagsViewStore.delView(router.currentRoute.value);
|
tagsViewStore.delView(router.currentRoute.value);
|
||||||
store.clearCurrentDataDB();
|
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 }) => { // 关闭当前页
|
// proxy.$tab.closePage(route).then(({ visitedViews }) => { // 关闭当前页
|
||||||
// toLastView(visitedViews, route)
|
// toLastView(visitedViews, route)
|
||||||
// })
|
// })
|
||||||
@@ -1007,7 +1007,7 @@ function handleReject() {
|
|||||||
tagsViewStore.delView(router.currentRoute.value);
|
tagsViewStore.delView(router.currentRoute.value);
|
||||||
store.clearCurrentDataDB();
|
store.clearCurrentDataDB();
|
||||||
// 跳转到审核页面
|
// 跳转到审核页面
|
||||||
router.replace({ path: '/aaaa/billapproval', query: { type: 'transferManagent' } });
|
router.replace({ path: '/financialManagement/medicationmanagement/billapproval', query: { type: 'transferManagent' } });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user