From 1403504e2af2c617c6e7e8de724732b2a3407379 Mon Sep 17 00:00:00 2001 From: dataeaseShu <106045316+dataeaseShu@users.noreply.github.com> Date: Tue, 23 Aug 2022 17:42:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8F=92=E4=BB=B6=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E7=AE=A1=E7=90=86=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/business/DeLayoutContent.vue | 2 +- frontend/src/components/gridTable/index.vue | 1 + frontend/src/lang/zh.js | 2 +- frontend/src/views/msg/all.vue | 383 ++++++++++----- frontend/src/views/msg/readed.vue | 221 --------- frontend/src/views/msg/setting.vue | 348 ++++++++------ frontend/src/views/msg/unread.vue | 229 --------- frontend/src/views/system/plugin/index.vue | 450 +++++++++++++----- 8 files changed, 786 insertions(+), 850 deletions(-) delete mode 100644 frontend/src/views/msg/readed.vue delete mode 100644 frontend/src/views/msg/unread.vue diff --git a/frontend/src/components/business/DeLayoutContent.vue b/frontend/src/components/business/DeLayoutContent.vue index d83453a677..8d4afc52b5 100644 --- a/frontend/src/components/business/DeLayoutContent.vue +++ b/frontend/src/components/business/DeLayoutContent.vue @@ -34,7 +34,7 @@ export default { return backPath || backName || backTo }, needInnerPadding() { - return ['sys-task-email', 'system-dept', 'system-dept-form', 'system-auth', 'sys-appearance', 'system-param', 'system-template', "sys-task-dataset"].includes(this.$route.name) + return ['sys-task-email', 'system-dept', 'system-dept-form', 'system-auth', 'sys-appearance', 'system-param', 'system-template', "sys-task-dataset", "sys-msg-web-all", "system-plugin"].includes(this.$route.name) } } } diff --git a/frontend/src/components/gridTable/index.vue b/frontend/src/components/gridTable/index.vue index d56f4a3716..ab75046091 100644 --- a/frontend/src/components/gridTable/index.vue +++ b/frontend/src/components/gridTable/index.vue @@ -25,6 +25,7 @@ + \ No newline at end of file diff --git a/frontend/src/views/msg/readed.vue b/frontend/src/views/msg/readed.vue deleted file mode 100644 index 156204fced..0000000000 --- a/frontend/src/views/msg/readed.vue +++ /dev/null @@ -1,221 +0,0 @@ - - - - - {{ $t('webmsg.' + item.typeName) }} - - - - - {{ $t('commons.delete') }} - - - - - - - - - - - - {{ scope.row.content }} - - - - - - - - - {{ scope.row.createTime | timestampFormatDate }} - - - - - - {{ scope.row.readTime | timestampFormatDate }} - - - - - - {{ getTypeName(scope.row.typeId) }} - - - - - - - - - - - diff --git a/frontend/src/views/msg/setting.vue b/frontend/src/views/msg/setting.vue index dddc79f221..af4b330567 100644 --- a/frontend/src/views/msg/setting.vue +++ b/frontend/src/views/msg/setting.vue @@ -1,13 +1,19 @@ - + - {{ $t('webmsg.type') }} - + {{ + $t("webmsg.type") + }} + {{ $t(channel.channelName) }} - + - {{ $t('webmsg.' + data.name) }} + {{ + $t("webmsg." + data.name) + }} - - - - - - - - + + + + - + + + + + \ No newline at end of file diff --git a/frontend/src/views/msg/unread.vue b/frontend/src/views/msg/unread.vue deleted file mode 100644 index d36f650623..0000000000 --- a/frontend/src/views/msg/unread.vue +++ /dev/null @@ -1,229 +0,0 @@ - - - - - {{ $t('webmsg.' + item.typeName) }} - - - - - {{ $t('webmsg.mark_readed') }} - {{ $t('webmsg.all_mark_readed') }} - - - - - - - - - - - - {{ scope.row.content }} - - - - - - - - - {{ scope.row.createTime | timestampFormatDate }} - - - - - - {{ getTypeName(scope.row.typeId) }} - - - - - - - - - - - diff --git a/frontend/src/views/system/plugin/index.vue b/frontend/src/views/system/plugin/index.vue index 0688c6b4d5..92ba5fd13b 100644 --- a/frontend/src/views/system/plugin/index.vue +++ b/frontend/src/views/system/plugin/index.vue @@ -1,165 +1,361 @@ - - - - + + + + + - - {{ $t('plugin.local_install') }} - {{ $t('dataset.uploading') }} - - - - - - - - - - - - - - - {{ scope.row.installTime | timestampFormatDate }} - - - - - - + {{ $t(!uploading ? "plugin.local_install" : "dataset.uploading") }} + + + + + + + + + + + + {{ ele.descript }} + + {{ ele.name }} + + + + + {{ item }} + + + + + + 免费 + + + {{ ele[item] }} + + + + + + + 更新 + + + + 卸载 + + + + + +
{{ ele.descript }}
{{ ele.name }}
+ {{ item }} +
+ + 免费 + + + {{ ele[item] }} + +