From 8908f9cffef4b027f4760aa6ec082b42a04db151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Sun, 15 May 2022 11:10:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=BF=E6=8D=A2elementui2.2.0=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/signalR.js | 1 - src/views/components/dictData.vue | 8 +- src/views/monitor/job/index.vue | 69 ++++---- src/views/monitor/job/log.vue | 4 +- src/views/monitor/operlog/index.vue | 159 +++++++++---------- src/views/system/article/articleCategory.vue | 2 +- src/views/system/article/manager.vue | 18 +-- src/views/system/commonLang/index.vue | 10 +- src/views/system/config/index.vue | 31 ++-- src/views/system/dept/index.vue | 26 +-- src/views/system/dict/index.vue | 27 +++- src/views/system/menu/index.vue | 38 +++-- src/views/system/notice/index.vue | 6 +- src/views/system/post/index.vue | 16 +- src/views/system/role/index.vue | 30 ++-- src/views/system/roleusers/index.vue | 24 ++- src/views/system/user/index.vue | 29 ++-- src/views/tool/file/index.vue | 28 ++-- src/views/tool/gen/index.vue | 13 +- 19 files changed, 285 insertions(+), 254 deletions(-) diff --git a/src/utils/signalR.js b/src/utils/signalR.js index 31097b0..071033e 100644 --- a/src/utils/signalR.js +++ b/src/utils/signalR.js @@ -60,7 +60,6 @@ export default { }, // 接收消息处理 receiveMsg(connection) { - console.log(connection) connection.on("onlineNum", (data) => { store.dispatch("socket/changeOnlineNum", data); }); diff --git a/src/views/components/dictData.vue b/src/views/components/dictData.vue index 79ef921..e8f4f72 100644 --- a/src/views/components/dictData.vue +++ b/src/views/components/dictData.vue @@ -27,7 +27,9 @@ @@ -40,8 +42,8 @@ diff --git a/src/views/monitor/job/index.vue b/src/views/monitor/job/index.vue index 4cc35e8..bf9126d 100644 --- a/src/views/monitor/job/index.vue +++ b/src/views/monitor/job/index.vue @@ -10,8 +10,7 @@ clearable prefix-icon="el-icon-search" @keyup.enter="handleQuery" - @clear="handleQuery" - /> + @clear="handleQuery" /> {{ $t('btn.search') }} @@ -55,66 +54,66 @@ - + @@ -239,7 +238,7 @@ @@ -549,8 +548,8 @@ const logForm = reactive({ jobId: undefined, title: undefined, }) -function onJobLogView(){ - router.push({ path: 'job/log' }) +function onJobLogView() { + router.push({ path: 'job/log' }) } /** 任务日志列表查询 */ function handleJobLog(row) { diff --git a/src/views/monitor/job/log.vue b/src/views/monitor/job/log.vue index df449ee..c3af69a 100644 --- a/src/views/monitor/job/log.vue +++ b/src/views/monitor/job/log.vue @@ -67,7 +67,7 @@ @@ -106,7 +106,7 @@ diff --git a/src/views/monitor/operlog/index.vue b/src/views/monitor/operlog/index.vue index 86cf5d5..b8d4020 100644 --- a/src/views/monitor/operlog/index.vue +++ b/src/views/monitor/operlog/index.vue @@ -18,7 +18,12 @@ - + 搜索 @@ -28,14 +33,15 @@ - 删除 + + 删除 + 清空 - 导出 - + 导出 @@ -54,14 +60,15 @@ - - - diff --git a/src/views/system/article/articleCategory.vue b/src/views/system/article/articleCategory.vue index 3927c87..cb4a367 100644 --- a/src/views/system/article/articleCategory.vue +++ b/src/views/system/article/articleCategory.vue @@ -98,7 +98,7 @@ diff --git a/src/views/system/article/manager.vue b/src/views/system/article/manager.vue index 289321c..b7c3f47 100644 --- a/src/views/system/article/manager.vue +++ b/src/views/system/article/manager.vue @@ -35,26 +35,26 @@ - + - \ No newline at end of file + diff --git a/src/views/system/commonLang/index.vue b/src/views/system/commonLang/index.vue index 48d97a5..ae3b3a9 100644 --- a/src/views/system/commonLang/index.vue +++ b/src/views/system/commonLang/index.vue @@ -88,8 +88,8 @@ @@ -112,7 +112,9 @@ @@ -163,7 +165,7 @@ diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue index ec77d28..76bf1c6 100644 --- a/src/views/system/config/index.vue +++ b/src/views/system/config/index.vue @@ -13,7 +13,12 @@ - + {{ $t('btn.search') }} @@ -23,14 +28,18 @@ - {{ $t('btn.add') }} + + {{ $t('btn.add') }} + - {{ $t('btn.edit') }} + + {{ $t('btn.edit') }} + - {{ $t('btn.delete') }} + + {{ $t('btn.delete') }} @@ -87,8 +84,7 @@ placeholder="请输入用户名称" clearable prefix-icon="search" - @keyup.enter="handleSearchRoleUser" - /> + @keyup.enter="handleSearchRoleUser" /> @@ -101,8 +97,7 @@ row-key="userId" stripe border - :height="tableHeight * 0.5" - > + :height="tableHeight * 0.5"> @@ -117,8 +112,7 @@ :total="dataUserCount" v-model:page="userQueryParams.pageNum" v-model:limit="userQueryParams.pageSize" - @pagination="handleGetUserTable" - /> + @pagination="handleGetUserTable" />