Skip to content

Commit ee9474f

Browse files
committed
vue3 重构:使用 el 原生实现
1 parent 4d16795 commit ee9474f

File tree

6 files changed

+271
-237
lines changed

6 files changed

+271
-237
lines changed

src/api/infra/config/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export interface ConfigExportReqVO {
2727
}
2828

2929
// 查询参数列表
30-
export const getConfigPageApi = (params: ConfigPageReqVO) => {
30+
export const getConfigPage = (params: ConfigPageReqVO) => {
3131
return request.get({ url: '/infra/config/page', params })
3232
}
3333

src/types/auto-components.d.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ declare module '@vue/runtime-core' {
2323
DictTag: typeof import('./../components/DictTag/src/DictTag.vue')['default']
2424
Echart: typeof import('./../components/Echart/src/Echart.vue')['default']
2525
Editor: typeof import('./../components/Editor/src/Editor.vue')['default']
26-
ElAvatar: typeof import('element-plus/es')['ElAvatar']
2726
ElAutoResizer: typeof import('element-plus/es')['ElAutoResizer']
27+
ElAvatar: typeof import('element-plus/es')['ElAvatar']
2828
ElBadge: typeof import('element-plus/es')['ElBadge']
2929
ElButton: typeof import('element-plus/es')['ElButton']
3030
ElButtonGroup: typeof import('element-plus/es')['ElButtonGroup']
@@ -35,6 +35,7 @@ declare module '@vue/runtime-core' {
3535
ElCollapseItem: typeof import('element-plus/es')['ElCollapseItem']
3636
ElCollapseTransition: typeof import('element-plus/es')['ElCollapseTransition']
3737
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
38+
ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
3839
ElDescriptions: typeof import('element-plus/es')['ElDescriptions']
3940
ElDescriptionsItem: typeof import('element-plus/es')['ElDescriptionsItem']
4041
ElDialog: typeof import('element-plus/es')['ElDialog']
@@ -56,10 +57,14 @@ declare module '@vue/runtime-core' {
5657
ElImage: typeof import('element-plus/es')['ElImage']
5758
ElImageViewer: typeof import('element-plus/es')['ElImageViewer']
5859
ElInput: typeof import('element-plus/es')['ElInput']
60+
ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
5961
ElLink: typeof import('element-plus/es')['ElLink']
6062
ElOption: typeof import('element-plus/es')['ElOption']
6163
ElPagination: typeof import('element-plus/es')['ElPagination']
6264
ElPopover: typeof import('element-plus/es')['ElPopover']
65+
ElRadio: typeof import('element-plus/es')['ElRadio']
66+
ElRadioButton: typeof import('element-plus/es')['ElRadioButton']
67+
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
6368
ElRow: typeof import('element-plus/es')['ElRow']
6469
ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
6570
ElSelect: typeof import('element-plus/es')['ElSelect']
@@ -74,6 +79,9 @@ declare module '@vue/runtime-core' {
7479
ElTimeline: typeof import('element-plus/es')['ElTimeline']
7580
ElTimelineItem: typeof import('element-plus/es')['ElTimelineItem']
7681
ElTooltip: typeof import('element-plus/es')['ElTooltip']
82+
ElTransfer: typeof import('element-plus/es')['ElTransfer']
83+
ElTree: typeof import('element-plus/es')['ElTree']
84+
ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect']
7785
ElUpload: typeof import('element-plus/es')['ElUpload']
7886
Error: typeof import('./../components/Error/src/Error.vue')['default']
7987
FlowCondition: typeof import('./../components/bpmnProcessDesigner/package/penal/flow-condition/FlowCondition.vue')['default']

src/types/auto-imports.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ export {}
66
declare global {
77
const DICT_TYPE: typeof import('@/utils/dict')['DICT_TYPE']
88
const EffectScope: typeof import('vue')['EffectScope']
9-
const ElButton: typeof import('element-plus/es')['ElButton']
109
const computed: typeof import('vue')['computed']
1110
const createApp: typeof import('vue')['createApp']
1211
const customRef: typeof import('vue')['customRef']

src/views/infra/config/config.data.ts

Lines changed: 0 additions & 90 deletions
This file was deleted.

0 commit comments

Comments
 (0)