mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
refactor(projects): 重构流程设计菜单层级
This commit is contained in:
@ -178,7 +178,6 @@ watch(visible, () => {
|
||||
<template>
|
||||
<NDrawer v-model:show="visible" :title="title" display-directive="show" :width="800" class="max-w-90%">
|
||||
<NDrawerContent :title="title" :native-scrollbar="false" closable>
|
||||
<div></div>
|
||||
<NForm ref="formRef" :model="model" :rules="rules">
|
||||
<NFormItem label="流程类型" path="flowCode">
|
||||
<NSelect v-model:value="model.flowCode" placeholder="请输入流程类型" :options="flowCodeTypeOptions" />
|
||||
|
@ -20,9 +20,9 @@ import { useTable, useTableOperate } from '@/hooks/common/table';
|
||||
import { useRouterPush } from '@/hooks/common/router';
|
||||
import { $t } from '@/locales';
|
||||
import ButtonIcon from '@/components/custom/button-icon.vue';
|
||||
import DefinitionOperateDrawer from '../modules/definition-operate-drawer.vue';
|
||||
import DefinitionSearch from '../modules/definition-search.vue';
|
||||
import DefinitionImportModal from '../modules/definition-import-modal.vue';
|
||||
import DefinitionOperateDrawer from './modules/definition-operate-drawer.vue';
|
||||
import DefinitionSearch from './modules/definition-search.vue';
|
||||
import DefinitionImportModal from './modules/definition-import-modal.vue';
|
||||
|
||||
defineOptions({
|
||||
name: 'DefinitionList'
|
||||
@ -326,7 +326,7 @@ async function handleCopy(id: CommonType.IdType) {
|
||||
}
|
||||
|
||||
function handleDesign(id: CommonType.IdType) {
|
||||
routerPushByKey('workflow_process-definition_design', {
|
||||
routerPushByKey('workflow_design', {
|
||||
query: {
|
||||
definitionId: id.toString(),
|
||||
disabled: 'false'
|
||||
@ -335,7 +335,7 @@ function handleDesign(id: CommonType.IdType) {
|
||||
}
|
||||
|
||||
function handlePreview(id: CommonType.IdType) {
|
||||
routerPushByKey('workflow_process-definition_design', {
|
||||
routerPushByKey('workflow_design', {
|
||||
query: {
|
||||
definitionId: id.toString(),
|
||||
disabled: 'true'
|
Reference in New Issue
Block a user