From f3879d7ab10d3309472c63cf80b1c1ad10e3ac50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=9C=9F=E8=B1=86=E5=93=A5?= Date: Wed, 17 Aug 2022 07:14:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E9=A3=8E=E6=A0=BC=E6=95=B4=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/QuickCrud/index.vue | 7 + src/components/QuickTable/index.vue | 7 + src/components/QuickToolbar/index.vue | 6 - src/layout/components/AiniTop/index.vue | 10 +- src/layout/index.vue | 2 - src/store/modules/user.ts | 21 +- src/types/dept.ts | 3 + src/utils/index.ts | 15 +- src/utils/request.ts | 4 +- src/views/permission/assignUser/index.vue | 6 +- src/views/permission/rolePermission/index.vue | 2 +- src/views/resource/attachment/index.vue | 180 ++++----- src/views/resource/sms/config/index.vue | 208 +++++----- src/views/resource/sms/signature/index.vue | 230 +++++------ src/views/resource/sms/template/index.vue | 212 +++++----- src/views/resource/storage/general/index.vue | 220 +++++------ src/views/resource/storage/object/index.vue | 200 +++++----- src/views/system/dept/index.vue | 190 ++++----- src/views/system/dictionary/index.vue | 164 ++++---- src/views/system/dictionaryType/index.vue | 127 +++--- src/views/system/log/error.vue | 119 +++--- src/views/system/log/operate.vue | 96 ++--- src/views/system/menu/index.vue | 298 +++++++------- src/views/system/role/index.vue | 125 +++--- src/views/system/user/index.vue | 363 +++++++++--------- tsconfig.json | 12 +- 26 files changed, 1453 insertions(+), 1374 deletions(-) diff --git a/src/components/QuickCrud/index.vue b/src/components/QuickCrud/index.vue index b4bcbcf..3050cce 100644 --- a/src/components/QuickCrud/index.vue +++ b/src/components/QuickCrud/index.vue @@ -87,6 +87,10 @@ const props = defineProps({ type: [Boolean, Object], default: false, }, + loading: { + type: Boolean, + default: false, + }, }) /** * props to ref @@ -105,6 +109,7 @@ const { formModel, formItems, formInline, + loading, } = toRefs(props) as { searchFormModel: Ref searchFormItems: Ref @@ -119,6 +124,7 @@ const { tableActionbar: Ref tableToolbar: Ref page: Ref + loading: Ref } /** * 类型转换 @@ -489,6 +495,7 @@ onActivated(() => { height: Ref rowKey: Ref + loading: Ref tableActionbar: Ref editButtonName: Ref deleteButtonName: Ref @@ -128,6 +134,7 @@ onMounted(() => {