refactor: 破坏性重构,将枚举类由 utils 提取到 @vben/utils
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
import { computed, provide, ref, watch } from 'vue';
|
||||
|
||||
import { CircleHelp } from '@vben/icons';
|
||||
import {
|
||||
BpmAutoApproveType,
|
||||
BpmModelFormType,
|
||||
ProcessVariableEnum,
|
||||
} from '@vben/utils';
|
||||
|
||||
import {
|
||||
Checkbox,
|
||||
@@ -26,11 +31,6 @@ import {
|
||||
HttpRequestSetting,
|
||||
parseFormFields,
|
||||
} from '#/components/simple-process-design';
|
||||
import {
|
||||
BpmAutoApproveType,
|
||||
BpmModelFormType,
|
||||
ProcessVariableEnum,
|
||||
} from '#/utils';
|
||||
|
||||
const modelData = defineModel<any>();
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ import type { BpmFormApi } from '#/api/bpm/form';
|
||||
import { ref, watch } from 'vue';
|
||||
|
||||
import { CircleHelp } from '@vben/icons';
|
||||
import { BpmModelFormType } from '@vben/utils';
|
||||
|
||||
import FormCreate from '@form-create/ant-design-vue';
|
||||
import {
|
||||
@@ -20,12 +21,7 @@ import {
|
||||
} from 'ant-design-vue';
|
||||
|
||||
import { getFormDetail } from '#/api/bpm/form';
|
||||
import {
|
||||
BpmModelFormType,
|
||||
DICT_TYPE,
|
||||
getDictOptions,
|
||||
setConfAndFields2,
|
||||
} from '#/utils';
|
||||
import { DICT_TYPE, getDictOptions, setConfAndFields2 } from '#/utils';
|
||||
|
||||
const props = defineProps({
|
||||
formList: {
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { Ref } from 'vue';
|
||||
|
||||
import { computed, inject, nextTick, ref } from 'vue';
|
||||
|
||||
import { BpmModelType } from '#/utils';
|
||||
import { BpmModelType } from '@vben/utils';
|
||||
|
||||
// TODO BPM 流程模型设计器 BpmModelEditor 待整合
|
||||
import SimpleModelDesign from './simple-model-design.vue';
|
||||
|
||||
Reference in New Issue
Block a user