From 38ea9cbcda522e9bdeb6938d7412557d0e0e25b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=91=A8=E5=BB=BA?= <1348660141@qq.com>
Date: Wed, 14 Jun 2023 13:58:48 +0800
Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E6=A0=B7=E5=BC=8Fbug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/infra/build/index.vue | 135 ++++++-------
.../infra/codegen/components/Preview.vue | 20 +-
src/views/system/mail/template/index.vue | 100 +++-------
src/views/system/notice/index.vue | 57 ++----
src/views/system/notify/template/index.vue | 92 ++-------
src/views/system/oauth2/client/index.vue | 96 +++------
src/views/system/post/index.vue | 129 +++++++-----
src/views/system/user/index.vue | 183 +++++-------------
8 files changed, 278 insertions(+), 534 deletions(-)
diff --git a/src/views/infra/build/index.vue b/src/views/infra/build/index.vue
index 1a01b290..1d81e095 100644
--- a/src/views/infra/build/index.vue
+++ b/src/views/infra/build/index.vue
@@ -5,46 +5,52 @@
导入JSON
导入Options
- 生成JSON
- 生成Options
+ 生成 JSON
+ 生成 Options
生成组件
-
+
-
+
+
+
-
diff --git a/src/views/infra/codegen/components/Preview.vue b/src/views/infra/codegen/components/Preview.vue
index f9769b17..43156a3b 100644
--- a/src/views/infra/codegen/components/Preview.vue
+++ b/src/views/infra/codegen/components/Preview.vue
@@ -1,26 +1,16 @@
-
+
-
+
-
+
{{ item.code }}
diff --git a/src/views/system/mail/template/index.vue b/src/views/system/mail/template/index.vue
index cb4a7e5d..4530a942 100644
--- a/src/views/system/mail/template/index.vue
+++ b/src/views/system/mail/template/index.vue
@@ -5,95 +5,51 @@
-
+
-
+
{{ accountOptions.find((account) => account.id === row.accountId)?.mail }}
-
+
-
+
-
+
-
+
-
+
-
-
+
-
+
@@ -108,26 +64,14 @@
-
-
+
+
-
+
diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue
index aceadbba..db013cda 100644
--- a/src/views/system/notice/index.vue
+++ b/src/views/system/notice/index.vue
@@ -4,67 +4,36 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/src/views/system/notify/template/index.vue b/src/views/system/notify/template/index.vue
index 8dd459ae..b39c669c 100644
--- a/src/views/system/notify/template/index.vue
+++ b/src/views/system/notify/template/index.vue
@@ -4,43 +4,22 @@
-
+
-
+
-
+
-
+
-
+
@@ -48,27 +27,13 @@
-
+
-
+
-
+
@@ -82,34 +47,17 @@
-
+
-
-
+
+
-
+
@@ -202,7 +150,7 @@ const submitForm = async () => {
const sendForm = ref({
content: '',
params: {},
- userId: 0,
+ userId: '',
templateCode: '',
templateParams: {}
})
diff --git a/src/views/system/oauth2/client/index.vue b/src/views/system/oauth2/client/index.vue
index 9ff44692..a9838b5f 100644
--- a/src/views/system/oauth2/client/index.vue
+++ b/src/views/system/oauth2/client/index.vue
@@ -4,13 +4,8 @@
-
+
{{ row.accessTokenValiditySeconds + '秒' }}
@@ -19,55 +14,31 @@
{{ row.refreshTokenValiditySeconds + '秒' }}
-
+
{{ authorizedGrantType }}
-
+
-
+
-
+
-
+
-
+
-
+
{{ row.accessTokenValiditySeconds + '秒' }}
@@ -75,55 +46,32 @@
{{ row.refreshTokenValiditySeconds + '秒' }}
-
+
{{ authorizedGrantType }}
-
+
{{ scopes }}
-
+
{{ autoApproveScopes }}
-
+
{{ redirectUris }}
-
+
diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
index c5a13e1e..c2ffa763 100644
--- a/src/views/system/post/index.vue
+++ b/src/views/system/post/index.vue
@@ -4,68 +4,105 @@
-
+
-
+
-
+
-
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 6d65fa1c..b92bfd6d 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -9,17 +9,9 @@
-
+
@@ -32,90 +24,47 @@
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
@@ -126,38 +75,19 @@
-
-
+
{{ dataFormater(row.deptId) }}
@@ -175,19 +105,14 @@
-
+
-
+
{{ userRole.username }}
@@ -196,15 +121,10 @@
{{ userRole.nickname }}
-
+
@@ -222,22 +142,11 @@
-
+
将文件拖到此处,或点击上传
@@ -251,12 +160,7 @@
-
+
@@ -573,6 +477,7 @@ onMounted(async () => {
height: 780px;
max-height: 800px;
}
+
.card-header {
display: flex;
justify-content: space-between;