ソースを参照

fix: 构建问题修复

闪电 6 日 前
コミット
0a5e399be8

+ 4 - 6
apps/web-ele/src/views/workflow/register.ts

@@ -1,12 +1,10 @@
1
-import { defineAsyncComponent, markRaw } from 'vue';
2
-
3 1
 /**
4 2
  * 这里定义流程描述组件
5 3
  */
6 4
 
7
-const LeaveDescription = defineAsyncComponent(
8
-  () => import('#/views/workflow/leave/leave-description.vue'),
9
-);
5
+// const LeaveDescription = defineAsyncComponent(
6
+//   () => import('#/views/workflow/leave/leave-description.vue'),
7
+// );
10 8
 
11 9
 /**
12 10
  * key为流程的路径(task.formPath) value为要显示的组件
@@ -15,7 +13,7 @@ export const flowComponentsMap = {
15 13
   /**
16 14
    * 请假申请 详情
17 15
    */
18
-  '/workflow/leaveEdit/index': markRaw(LeaveDescription),
16
+  '/workflow/leaveEdit/index': null,
19 17
 };
20 18
 
21 19
 export type FlowComponentsMapMapKey = keyof typeof flowComponentsMap;

+ 12 - 13
apps/web-ele/src/views/workflow/task/allTaskWaiting.vue

@@ -9,19 +9,18 @@ import { Page } from '@vben/common-ui';
9 9
 import { useTabs } from '@vben/hooks';
10 10
 import { addFullName, getPopupContainer } from '@vben/utils';
11 11
 
12
-import { FilterOutlined, RedoOutlined } from '@ant-design/icons-vue';
13
-import {
14
-  Empty,
15
-  Form,
16
-  FormItem,
17
-  Input,
18
-  InputSearch,
19
-  Popover,
20
-  Segmented,
21
-  Spin,
22
-  Tooltip,
23
-  TreeSelect,
24
-} from 'ant-design-vue';
12
+// import {
13
+//   Empty,
14
+//   Form,
15
+//   FormItem,
16
+//   Input,
17
+//   InputSearch,
18
+//   Popover,
19
+//   Segmented,
20
+//   Spin,
21
+//   Tooltip,
22
+//   TreeSelect,
23
+// } from 'ant-design-vue';
25 24
 import { cloneDeep, debounce, uniqueId } from 'lodash-es';
26 25
 
27 26
 import { categoryTree } from '#/api/workflow/category';

+ 11 - 11
apps/web-ele/src/views/workflow/task/myDocument.vue

@@ -7,17 +7,17 @@ import { computed, onMounted, ref, useTemplateRef } from 'vue';
7 7
 import { Page } from '@vben/common-ui';
8 8
 import { useTabs } from '@vben/hooks';
9 9
 
10
-import {
11
-  ElButton,
12
-  ElEmpty,
13
-  ElForm,
14
-  ElFormItem,
15
-  ElInput,
16
-  ElMessage,
17
-  ElPopover,
18
-  ElSpin,
19
-  ElTooltip,
20
-} from 'element-plus';
10
+// import {
11
+//   ElButton,
12
+//   ElEmpty,
13
+//   ElForm,
14
+//   ElFormItem,
15
+//   ElInput,
16
+//   ElMessage,
17
+//   ElPopover,
18
+//   ElSpin,
19
+//   ElTooltip,
20
+// } from 'element-plus';
21 21
 import { cloneDeep, debounce } from 'lodash-es';
22 22
 
23 23
 import { pageByCurrent } from '#/api/workflow/instance';

+ 11 - 11
apps/web-ele/src/views/workflow/task/taskCopyList.vue

@@ -8,17 +8,17 @@ import { computed, onMounted, ref, useTemplateRef } from 'vue';
8 8
 import { Page } from '@vben/common-ui';
9 9
 import { addFullName, getPopupContainer } from '@vben/utils';
10 10
 
11
-import {
12
-  Empty,
13
-  Form,
14
-  FormItem,
15
-  Input,
16
-  InputSearch,
17
-  Popover,
18
-  Spin,
19
-  Tooltip,
20
-  TreeSelect,
21
-} from 'ant-design-vue';
11
+// import {
12
+//   Empty,
13
+//   Form,
14
+//   FormItem,
15
+//   Input,
16
+//   InputSearch,
17
+//   Popover,
18
+//   Spin,
19
+//   Tooltip,
20
+//   TreeSelect,
21
+// } from 'ant-design-vue';
22 22
 import { cloneDeep, debounce } from 'lodash-es';
23 23
 
24 24
 import { categoryTree } from '#/api/workflow/category';

+ 11 - 12
apps/web-ele/src/views/workflow/task/taskFinish.vue

@@ -8,18 +8,17 @@ import { computed, onMounted, ref, useTemplateRef } from 'vue';
8 8
 import { Page } from '@vben/common-ui';
9 9
 import { addFullName, getPopupContainer } from '@vben/utils';
10 10
 
11
-import { FilterOutlined, RedoOutlined } from '@ant-design/icons-vue';
12
-import {
13
-  Empty,
14
-  Form,
15
-  FormItem,
16
-  Input,
17
-  InputSearch,
18
-  Popover,
19
-  Spin,
20
-  Tooltip,
21
-  TreeSelect,
22
-} from 'ant-design-vue';
11
+// import {
12
+//   Empty,
13
+//   Form,
14
+//   FormItem,
15
+//   Input,
16
+//   InputSearch,
17
+//   Popover,
18
+//   Spin,
19
+//   Tooltip,
20
+//   TreeSelect,
21
+// } from 'ant-design-vue';
23 22
 import { cloneDeep, debounce } from 'lodash-es';
24 23
 
25 24
 import { categoryTree } from '#/api/workflow/category';

+ 11 - 12
apps/web-ele/src/views/workflow/task/taskWaiting.vue

@@ -9,18 +9,17 @@ import { Page } from '@vben/common-ui';
9 9
 import { useTabs } from '@vben/hooks';
10 10
 import { addFullName, getPopupContainer } from '@vben/utils';
11 11
 
12
-import { FilterOutlined, RedoOutlined } from '@ant-design/icons-vue';
13
-import {
14
-  Empty,
15
-  Form,
16
-  FormItem,
17
-  Input,
18
-  InputSearch,
19
-  Popover,
20
-  Spin,
21
-  Tooltip,
22
-  TreeSelect,
23
-} from 'ant-design-vue';
12
+// import {
13
+//   Empty,
14
+//   Form,
15
+//   FormItem,
16
+//   Input,
17
+//   InputSearch,
18
+//   Popover,
19
+//   Spin,
20
+//   Tooltip,
21
+//   TreeSelect,
22
+// } from 'ant-design-vue';
24 23
 import { cloneDeep, debounce } from 'lodash-es';
25 24
 
26 25
 import { categoryTree } from '#/api/workflow/category';