From 4a1a1ab297834241979b2c42e70baaf4dbc4f12f Mon Sep 17 00:00:00 2001 From: xingyuv Date: Tue, 14 Feb 2023 15:48:23 +0800 Subject: [PATCH] refactor: table-v2 --- src/types/auto-components.d.ts | 9 +- src/types/auto-imports.d.ts | 1 + src/views/system/notice/index.vue | 245 +++++++++++++---------------- src/views/system/notice/indexd.vue | 148 +++++++++++++++++ src/views/system/notice/indexh.vue | 103 ++++++++++++ 5 files changed, 363 insertions(+), 143 deletions(-) create mode 100644 src/views/system/notice/indexd.vue create mode 100644 src/views/system/notice/indexh.vue diff --git a/src/types/auto-components.d.ts b/src/types/auto-components.d.ts index 990f55cc..f06196b1 100644 --- a/src/types/auto-components.d.ts +++ b/src/types/auto-components.d.ts @@ -21,6 +21,7 @@ declare module '@vue/runtime-core' { DictTag: typeof import('./../components/DictTag/src/DictTag.vue')['default'] Echart: typeof import('./../components/Echart/src/Echart.vue')['default'] Editor: typeof import('./../components/Editor/src/Editor.vue')['default'] + ElAutoResizer: typeof import('element-plus/es')['ElAutoResizer'] ElBadge: typeof import('element-plus/es')['ElBadge'] ElButton: typeof import('element-plus/es')['ElButton'] ElButtonGroup: typeof import('element-plus/es')['ElButtonGroup'] @@ -51,14 +52,10 @@ declare module '@vue/runtime-core' { ElIcon: typeof import('element-plus/es')['ElIcon'] ElImageViewer: typeof import('element-plus/es')['ElImageViewer'] ElInput: typeof import('element-plus/es')['ElInput'] - ElInputNumber: typeof import('element-plus/es')['ElInputNumber'] ElLink: typeof import('element-plus/es')['ElLink'] ElOption: typeof import('element-plus/es')['ElOption'] ElPagination: typeof import('element-plus/es')['ElPagination'] ElPopover: typeof import('element-plus/es')['ElPopover'] - ElRadio: typeof import('element-plus/es')['ElRadio'] - ElRadioButton: typeof import('element-plus/es')['ElRadioButton'] - ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup'] ElRow: typeof import('element-plus/es')['ElRow'] ElScrollbar: typeof import('element-plus/es')['ElScrollbar'] ElSelect: typeof import('element-plus/es')['ElSelect'] @@ -69,11 +66,7 @@ declare module '@vue/runtime-core' { ElTableV2: typeof import('element-plus/es')['ElTableV2'] ElTabPane: typeof import('element-plus/es')['ElTabPane'] ElTabs: typeof import('element-plus/es')['ElTabs'] - ElTag: typeof import('element-plus/es')['ElTag'] ElTooltip: typeof import('element-plus/es')['ElTooltip'] - ElTransfer: typeof import('element-plus/es')['ElTransfer'] - ElTree: typeof import('element-plus/es')['ElTree'] - ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect'] ElUpload: typeof import('element-plus/es')['ElUpload'] Error: typeof import('./../components/Error/src/Error.vue')['default'] FlowCondition: typeof import('./../components/bpmnProcessDesigner/package/penal/flow-condition/FlowCondition.vue')['default'] diff --git a/src/types/auto-imports.d.ts b/src/types/auto-imports.d.ts index 714d6be2..d30eb960 100644 --- a/src/types/auto-imports.d.ts +++ b/src/types/auto-imports.d.ts @@ -3,6 +3,7 @@ export {} declare global { const DICT_TYPE: typeof import('@/utils/dict')['DICT_TYPE'] const EffectScope: typeof import('vue')['EffectScope'] + const ElButton: typeof import('element-plus/es')['ElButton'] const computed: typeof import('vue')['computed'] const createApp: typeof import('vue')['createApp'] const customRef: typeof import('vue')['customRef'] diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue index aceadbba..d8824255 100644 --- a/src/views/system/notice/index.vue +++ b/src/views/system/notice/index.vue @@ -1,148 +1,123 @@ - diff --git a/src/views/system/notice/indexd.vue b/src/views/system/notice/indexd.vue new file mode 100644 index 00000000..aceadbba --- /dev/null +++ b/src/views/system/notice/indexd.vue @@ -0,0 +1,148 @@ + + diff --git a/src/views/system/notice/indexh.vue b/src/views/system/notice/indexh.vue new file mode 100644 index 00000000..2879a1c4 --- /dev/null +++ b/src/views/system/notice/indexh.vue @@ -0,0 +1,103 @@ + +