feat:【antd】【bpm】将 simple-model-design 迁移到 bpm components 下。
This commit is contained in:
@@ -12,12 +12,12 @@ import {
|
||||
Switch,
|
||||
} from 'ant-design-vue';
|
||||
|
||||
import { convertTimeUnit } from '#/components/simple-process-design/components/nodes-config/utils';
|
||||
import { convertTimeUnit } from '#/views/bpm/components/simple-process-design/components/nodes-config/utils';
|
||||
import {
|
||||
TIME_UNIT_TYPES,
|
||||
TIMEOUT_HANDLER_TYPES,
|
||||
TimeUnitType,
|
||||
} from '#/components/simple-process-design/consts';
|
||||
} from '#/views/bpm/components/simple-process-design/consts';
|
||||
|
||||
defineOptions({ name: 'ElementCustomConfig4BoundaryEventTimer' });
|
||||
const props = defineProps({
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
-->
|
||||
<script lang="ts" setup>
|
||||
import type { SystemUserApi } from '#/api/system/user';
|
||||
import type { ButtonSetting } from '#/components/simple-process-design/consts';
|
||||
import type { ButtonSetting } from '#/views/bpm/components/simple-process-design/consts';
|
||||
|
||||
import { inject, nextTick, onMounted, ref, toRaw, watch } from 'vue';
|
||||
|
||||
@@ -38,8 +38,8 @@ import {
|
||||
OPERATION_BUTTON_NAME,
|
||||
REJECT_HANDLER_TYPES,
|
||||
RejectHandlerType,
|
||||
} from '#/components/simple-process-design/consts';
|
||||
import { useFormFieldsPermission } from '#/components/simple-process-design/helpers';
|
||||
} from '#/views/bpm/components/simple-process-design/consts';
|
||||
import { useFormFieldsPermission } from '#/views/bpm/components/simple-process-design/helpers';
|
||||
|
||||
defineOptions({ name: 'ElementCustomConfig4UserTask' });
|
||||
const props = defineProps({
|
||||
|
||||
@@ -16,7 +16,7 @@ import {
|
||||
import {
|
||||
APPROVE_METHODS,
|
||||
ApproveMethodType,
|
||||
} from '#/components/simple-process-design/consts';
|
||||
} from '#/views/bpm/components/simple-process-design/consts';
|
||||
|
||||
defineOptions({ name: 'ElementMultiInstance' });
|
||||
|
||||
|
||||
@@ -40,8 +40,8 @@ import {
|
||||
CandidateStrategy,
|
||||
FieldPermissionType,
|
||||
MULTI_LEVEL_DEPT,
|
||||
} from '#/components/simple-process-design/consts';
|
||||
import { useFormFieldsPermission } from '#/components/simple-process-design/helpers';
|
||||
} from '#/views/bpm/components/simple-process-design/consts';
|
||||
import { useFormFieldsPermission } from '#/views/bpm/components/simple-process-design/helpers';
|
||||
|
||||
import ProcessExpressionDialog from './ProcessExpressionDialog.vue';
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// TODO @jason:要不要新建 bpm/components,然后迁移过去?
|
||||
import './styles/simple-process-designer.scss';
|
||||
|
||||
export { default as HttpRequestSetting } from './components/nodes-config/modules/http-request-setting.vue';
|
||||
|
Before Width: | Height: | Size: 192 B After Width: | Height: | Size: 192 B |
@@ -30,7 +30,7 @@ import * as FormApi from '#/api/bpm/form';
|
||||
import {
|
||||
HttpRequestSetting,
|
||||
parseFormFields,
|
||||
} from '#/components/simple-process-design';
|
||||
} from '#/views/bpm/components/simple-process-design';
|
||||
|
||||
const modelData = defineModel<any>();
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import { ref } from 'vue';
|
||||
|
||||
import { ContentWrap } from '@vben/common-ui';
|
||||
|
||||
import { SimpleProcessDesigner } from '#/components/simple-process-design';
|
||||
import { SimpleProcessDesigner } from '#/views/bpm/components/simple-process-design';
|
||||
|
||||
defineOptions({ name: 'SimpleModelDesign' });
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<script lang="ts" setup>
|
||||
import type { SimpleFlowNode } from '#/components/simple-process-design';
|
||||
import type { SimpleFlowNode } from '#/views/bpm/components/simple-process-design';
|
||||
|
||||
import { ref, watch } from 'vue';
|
||||
|
||||
import { BpmNodeTypeEnum, BpmTaskStatusEnum } from '@vben/constants';
|
||||
|
||||
import { SimpleProcessViewer } from '#/components/simple-process-design';
|
||||
import { SimpleProcessViewer } from '#/views/bpm/components/simple-process-design';
|
||||
|
||||
defineOptions({ name: 'BpmProcessInstanceSimpleViewer' });
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ import {
|
||||
cancelProcessInstanceByAdmin,
|
||||
getProcessInstanceManagerPage,
|
||||
} from '#/api/bpm/processInstance';
|
||||
import { parseFormFields } from '#/components/simple-process-design';
|
||||
import { parseFormFields } from '#/views/bpm/components/simple-process-design';
|
||||
|
||||
import { useGridColumns, useGridFormSchema } from './data';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user