工作流路由重构
This commit is contained in:
@ -84,7 +84,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="SpecialScheme" lang="ts">
|
||||
import { listSpecialScheme,delSpecialScheme} from '@/api/design/specialScheme';
|
||||
import { listSpecialScheme, delSpecialScheme } from '@/api/design/specialScheme';
|
||||
import { SpecialSchemeVO } from '@/api/design/specialScheme/types';
|
||||
import { useUserStoreHook } from '@/store/modules/user';
|
||||
import { cancelProcessApply } from '@/api/workflow/instance';
|
||||
@ -115,7 +115,7 @@ const data = reactive({
|
||||
originalName: undefined,
|
||||
status: undefined,
|
||||
params: {}
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
const { queryParams } = toRefs(data);
|
||||
@ -152,7 +152,7 @@ const handleSelectionChange = (selection: SpecialSchemeVO[]) => {
|
||||
const handleAdd = () => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/workflows/specialScheme/indexEdit`,
|
||||
path: `/test/specialScheme/indexEdit`,
|
||||
query: {
|
||||
type: 'add'
|
||||
}
|
||||
@ -163,7 +163,7 @@ const handleAdd = () => {
|
||||
const handleUpdate = async (row?: SpecialSchemeVO) => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/workflows/specialScheme/indexEdit`,
|
||||
path: `/test/specialScheme/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'update'
|
||||
@ -186,7 +186,7 @@ const handleView = (row) => {
|
||||
const handleViewInfo = (row) => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/workflows/specialScheme/indexEdit`,
|
||||
path: `/test/specialScheme/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'view'
|
||||
|
Reference in New Issue
Block a user