From 47d83846efbe9d1748b3f49ff030358b4c362022 Mon Sep 17 00:00:00 2001 From: Elune <201507802@qq.com> Date: Tue, 17 Dec 2019 12:27:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Crud/crud.js | 1 - src/views/login.vue | 5 +- src/views/mnt/app/index.vue | 158 ++++++-------- src/views/mnt/database/index.vue | 121 +++++----- src/views/mnt/deploy/index.vue | 303 +++++++++++--------------- src/views/mnt/deploy/sysRestore.vue | 4 +- src/views/mnt/deployHistory/index.vue | 73 ++++--- src/views/mnt/server/index.vue | 121 +++++----- src/views/monitor/log/errorLog.vue | 105 ++++----- src/views/monitor/log/index.vue | 105 ++++----- src/views/monitor/log/search.vue | 52 +---- src/views/monitor/online/index.vue | 5 +- src/views/monitor/server/index.vue | 131 ++++------- 13 files changed, 506 insertions(+), 678 deletions(-) diff --git a/src/components/Crud/crud.js b/src/components/Crud/crud.js index a02ca73..31deb9e 100644 --- a/src/components/Crud/crud.js +++ b/src/components/Crud/crud.js @@ -149,7 +149,6 @@ function CRUD(options) { if (!(callVmHook(crud, CRUD.HOOK.beforeToAdd, crud.form) && callVmHook(crud, CRUD.HOOK.beforeToCU, crud.form))) { return } - crud.resetForm() crud.status.add = CRUD.STATUS.PREPARED callVmHook(crud, CRUD.HOOK.afterToAdd, crud.form) callVmHook(crud, CRUD.HOOK.afterToCU, crud.form) diff --git a/src/views/login.vue b/src/views/login.vue index ed9f0f7..21801a2 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -1,5 +1,5 @@ diff --git a/src/views/monitor/online/index.vue b/src/views/monitor/online/index.vue index 0e069bf..afa227f 100644 --- a/src/views/monitor/online/index.vue +++ b/src/views/monitor/online/index.vue @@ -77,6 +77,7 @@ export default { } }, created() { + this.crud.msg.del = '强退成功!' this.crud.optShow = { add: false, edit: false, @@ -96,8 +97,8 @@ export default { del(key).then(() => { this.delLoading = false this.$refs[index].doClose() - this.dleChangePage() - this.notify('踢出成功', 'success') + this.crud.dleChangePage(1) + this.crud.delSuccessNotify() this.crud.toQuery() }).catch(() => { this.delLoading = false diff --git a/src/views/monitor/server/index.vue b/src/views/monitor/server/index.vue index 947ae43..6815eab 100644 --- a/src/views/monitor/server/index.vue +++ b/src/views/monitor/server/index.vue @@ -2,31 +2,15 @@
- - - 搜索 - - 新增 - - - 刷新 - +
+ + + +
+
- + @@ -42,13 +26,14 @@ - - + + + - - - - - - + + + + + + - + - + - + + + v-if="columns.visible('name')" - +