refactor: 破坏性重构,将枚举类由 utils 提取到 @vben/utils

This commit is contained in:
xingyu4j
2025-09-03 16:08:40 +08:00
parent 25468bece5
commit e6f76c097d
143 changed files with 477 additions and 1343 deletions

View File

@@ -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>();

View File

@@ -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: {

View File

@@ -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';