From f6afbac2a550c8d39bf60be5f65dd4f4b87bee5c Mon Sep 17 00:00:00 2001 From: sy2084 Date: Wed, 17 Jul 2024 11:33:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E5=9B=BE=E8=A1=A8?= =?UTF-8?q?=E6=B8=B2=E6=9F=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.cjs | 2 +- components.d.ts | 3 + src/components/common/y-chart.vue | 9 +- src/components/common/y-table.vue | 3 +- .../module-cfg/components/create-modal.vue | 69 +++++++--- src/views/config-manage/module-cfg/config.ts | 2 +- src/views/config-manage/module-cfg/service.js | 6 +- .../view-all-manage/create-view/index.vue | 119 ++++++++++++++---- .../view-all-manage/create-view/service.js | 28 ++++- src/views/view-all-manage/view-list/index.vue | 6 +- 10 files changed, 192 insertions(+), 55 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index cf37a63..ed2f2e6 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -12,7 +12,7 @@ module.exports = { ecmaVersion: 'latest', }, rules: { - semi: 2, + semi: 0, 'vue/multi-word-component-names': 0, indent: [ 2, 2, { diff --git a/components.d.ts b/components.d.ts index 3da7a8b..6b6a4be 100644 --- a/components.d.ts +++ b/components.d.ts @@ -25,6 +25,9 @@ declare module 'vue' { AModal: typeof import('ant-design-vue/es')['Modal'] APagination: typeof import('ant-design-vue/es')['Pagination'] APopconfirm: typeof import('ant-design-vue/es')['Popconfirm'] + ARadio: typeof import('ant-design-vue/es')['Radio'] + ARadioButton: typeof import('ant-design-vue/es')['RadioButton'] + ARadioGroup: typeof import('ant-design-vue/es')['RadioGroup'] ASelect: typeof import('ant-design-vue/es')['Select'] ASelectOption: typeof import('ant-design-vue/es')['SelectOption'] ASpace: typeof import('ant-design-vue/es')['Space'] diff --git a/src/components/common/y-chart.vue b/src/components/common/y-chart.vue index 6a45cb9..1d6b604 100644 --- a/src/components/common/y-chart.vue +++ b/src/components/common/y-chart.vue @@ -7,13 +7,14 @@
- + +