From 360f1bb233036f89cbcbd218b00479663a24e23a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=8F=E8=AF=BA?= <1253070437@qq.com>
Date: Wed, 22 Mar 2023 21:44:43 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8D=87=E7=BA=A7=E3=80=91=E5=89=8D?=
=?UTF-8?q?=E7=AB=AF=E6=95=B4=E4=BD=93=E5=8D=87=E7=BA=A7=E6=89=80=E6=9C=89?=
=?UTF-8?q?=E6=8A=BD=E5=B1=89=E9=87=87=E7=94=A8=E7=BB=9F=E4=B8=80=E7=BB=84?=
=?UTF-8?q?=E4=BB=B6=EF=BC=8C=E5=8F=AF=E6=A0=B9=E6=8D=AE=E5=96=9C=E5=A5=BD?=
=?UTF-8?q?=E6=83=85=E5=86=B5=E5=9C=A8=E6=8A=BD=E5=B1=89=E8=B7=9F=E5=AF=B9?=
=?UTF-8?q?=E8=AF=9D=E6=A1=86=E9=9A=8F=E6=84=8F=E5=88=87=E6=8D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
snowy-admin-web/.env.development | 3 +
snowy-admin-web/.env.production | 3 +
.../src/components/XnFormContainer/demo.vue | 84 --------
.../src/components/XnFormContainer/index.vue | 8 +-
.../src/components/XnSignName/index.vue | 8 +-
snowy-admin-web/src/config/index.js | 5 +
.../src/layout/components/setting.vue | 86 +++++---
.../src/layout/components/userbar.vue | 16 +-
snowy-admin-web/src/store/modules/global.js | 5 +
snowy-admin-web/src/style/index.less | 1 +
.../src/views/auth/monitor/tokenInfoList.vue | 6 +-
snowy-admin-web/src/views/biz/org/form.vue | 15 +-
.../src/views/biz/position/form.vue | 8 +-
snowy-admin-web/src/views/biz/user/form.vue | 9 +-
snowy-admin-web/src/views/biz/user/index.vue | 8 +-
.../src/views/dev/config/otherConfig/form.vue | 10 +-
.../src/views/dev/dict/category/bizIndex.vue | 2 +-
.../src/views/dev/dict/category/form.vue | 8 +-
.../src/views/dev/dict/category/frmIndex.vue | 2 +-
.../src/views/dev/email/detail.vue | 7 +-
snowy-admin-web/src/views/dev/email/form.vue | 5 +-
snowy-admin-web/src/views/dev/email/index.vue | 2 +-
snowy-admin-web/src/views/dev/file/detail.vue | 7 +-
snowy-admin-web/src/views/dev/file/index.vue | 2 +-
.../src/views/dev/file/uploadForm.vue | 8 +-
snowy-admin-web/src/views/dev/job/form.vue | 8 +-
snowy-admin-web/src/views/dev/job/index.vue | 2 +-
.../src/views/dev/log/oplog/detail.vue | 7 +-
.../src/views/dev/log/vislog/detail.vue | 7 +-
.../src/views/dev/message/detail.vue | 8 +-
.../src/views/dev/message/form.vue | 8 +-
.../src/views/dev/message/index.vue | 2 +-
snowy-admin-web/src/views/dev/sms/detail.vue | 7 +-
snowy-admin-web/src/views/dev/sms/form.vue | 7 +-
snowy-admin-web/src/views/dev/sms/index.vue | 2 +-
snowy-admin-web/src/views/gen/preview.vue | 4 +-
.../views/index/components/miniMessage.vue | 9 +-
.../src/views/index/components/schedule.vue | 8 +-
.../src/views/mobile/resource/button/form.vue | 2 +-
.../views/mobile/resource/button/index.vue | 7 +-
.../mobile/resource/menu/changeModuleForm.vue | 8 +-
.../src/views/mobile/resource/menu/form.vue | 156 ++++++++------
.../src/views/mobile/resource/menu/index.vue | 2 +-
.../src/views/mobile/resource/module/form.vue | 8 +-
.../views/mobile/resource/module/index.vue | 2 +-
snowy-admin-web/src/views/sys/org/form.vue | 8 +-
snowy-admin-web/src/views/sys/org/index.vue | 2 +-
.../src/views/sys/position/form.vue | 8 +-
.../src/views/sys/position/index.vue | 2 +-
.../src/views/sys/resource/button/form.vue | 2 +-
.../src/views/sys/resource/button/index.vue | 8 +-
.../src/views/sys/resource/field/form.vue | 2 +-
.../src/views/sys/resource/field/index.vue | 2 -
.../sys/resource/menu/changeModuleForm.vue | 8 +-
.../src/views/sys/resource/menu/form.vue | 190 ++++++++++--------
.../src/views/sys/resource/module/form.vue | 8 +-
.../src/views/sys/resource/module/index.vue | 2 +-
.../src/views/sys/resource/spa/form.vue | 150 ++++++++------
.../src/views/sys/resource/spa/index.vue | 3 +-
snowy-admin-web/src/views/sys/role/form.vue | 8 +-
.../sys/role/grantMobileResourceForm.vue | 6 +-
.../views/sys/role/grantPermissionForm.vue | 6 +-
.../src/views/sys/role/grantResourceForm.vue | 7 +-
snowy-admin-web/src/views/sys/role/index.vue | 2 +-
snowy-admin-web/src/views/sys/user/form.vue | 9 +-
.../views/sys/user/grantPermissionForm.vue | 6 +-
.../src/views/sys/user/grantResourceForm.vue | 6 +-
snowy-admin-web/src/views/sys/user/impExp.vue | 7 +-
snowy-admin-web/src/views/sys/user/index.vue | 8 +-
.../src/views/sys/user/scopeDefineOrg.vue | 2 +-
.../user/userTab/bindForm/updatePassword.vue | 8 +-
.../sys/user/userTab/userMessage/detail.vue | 8 +-
.../src/main/resources/frontend/form.vue.btl | 7 +-
73 files changed, 515 insertions(+), 552 deletions(-)
delete mode 100644 snowy-admin-web/src/components/XnFormContainer/demo.vue
diff --git a/snowy-admin-web/.env.development b/snowy-admin-web/.env.development
index 75bd9e0d..4f5f665a 100644
--- a/snowy-admin-web/.env.development
+++ b/snowy-admin-web/.env.development
@@ -9,3 +9,6 @@ VITE_API_BASEURL = http://127.0.0.1:82
# 本地端口
VITE_PORT = 81
+
+# 开启设置抽屉
+VITE_SET_DRAWER = true
diff --git a/snowy-admin-web/.env.production b/snowy-admin-web/.env.production
index ace0d813..cc8d8d42 100644
--- a/snowy-admin-web/.env.production
+++ b/snowy-admin-web/.env.production
@@ -9,3 +9,6 @@ VITE_API_BASEURL = http://127.0.0.1:82
# 本地端口
VITE_PORT = 81
+
+# 开启设置抽屉
+VITE_SET_DRAWER = false
diff --git a/snowy-admin-web/src/components/XnFormContainer/demo.vue b/snowy-admin-web/src/components/XnFormContainer/demo.vue
deleted file mode 100644
index 60293bd9..00000000
--- a/snowy-admin-web/src/components/XnFormContainer/demo.vue
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
-
-
-
- Drawer Content
-
- Drawer footer
-
-
- Drawer title
-
-
-
- Modal Content
-
- Modal footer
-
-
- Modal title
-
-
-
-
-
-
diff --git a/snowy-admin-web/src/components/XnFormContainer/index.vue b/snowy-admin-web/src/components/XnFormContainer/index.vue
index 2ee63841..e975f98c 100644
--- a/snowy-admin-web/src/components/XnFormContainer/index.vue
+++ b/snowy-admin-web/src/components/XnFormContainer/index.vue
@@ -4,7 +4,7 @@
-
+
@@ -28,10 +28,6 @@
},
inheritAttrs: false,
props: {
- type: {
- type: String,
- default: FormContainerTypeEnum.MODAL
- },
visible: {
type: Boolean,
default: false,
@@ -45,7 +41,7 @@
return Object.keys(this.$slots)
},
isModal() {
- return this.type === FormContainerTypeEnum.MODAL
+ return FormContainerTypeEnum.MODAL === this.$store.state.global.formStyle
}
},
methods: {
diff --git a/snowy-admin-web/src/components/XnSignName/index.vue b/snowy-admin-web/src/components/XnSignName/index.vue
index 77130c40..15fac2a2 100644
--- a/snowy-admin-web/src/components/XnSignName/index.vue
+++ b/snowy-admin-web/src/components/XnSignName/index.vue
@@ -1,5 +1,5 @@
-
+
-
+
+ 取消
+ 确定
+
+
-
-
diff --git a/snowy-admin-web/src/views/biz/position/form.vue b/snowy-admin-web/src/views/biz/position/form.vue
index 57eade07..67164cdf 100644
--- a/snowy-admin-web/src/views/biz/position/form.vue
+++ b/snowy-admin-web/src/views/biz/position/form.vue
@@ -1,11 +1,9 @@
-
@@ -47,7 +45,7 @@
关闭
保存
-
+