审批重构

This commit is contained in:
Teo
2025-08-18 19:59:57 +08:00
parent 174ef50f6f
commit 806ed029cf
27 changed files with 142 additions and 88 deletions

View File

@ -182,7 +182,7 @@ const handleSelectionChange = (selection: PrelimSchemeVO[]) => {
/** 新增按钮操作 */
const handleAdd = () => {
proxy.$tab.closePage(route);
proxy.$tab.openPage('/design-management/prelimScheme/indexEdit', '', {
proxy.$tab.openPage('/approval/prelimScheme/indexEdit', '', {
type: 'add'
});
};
@ -191,7 +191,7 @@ const handleAdd = () => {
const handleUpdate = async (row?: PrelimSchemeVO) => {
proxy.$tab.closePage(route);
proxy.$tab.openPage(`/design-management/prelimScheme/indexEdit`, '', {
proxy.$tab.openPage(`/approval/prelimScheme/indexEdit`, '', {
id: row.id,
type: 'update'
});
@ -209,7 +209,7 @@ const handleDelete = async (row?: PrelimSchemeVO) => {
/** 导出按钮操作 */
const handleView = (row?: PrelimSchemeVO) => {
proxy.$tab.closePage(route);
proxy.$tab.openPage(`/design-management/prelimScheme/indexEdit`, '', {
proxy.$tab.openPage(`/approval/prelimScheme/indexEdit`, '', {
id: row.id,
type: 'view'
});