From 53d9e63c3646edf94d5fca3a8d07182427d4f4a7 Mon Sep 17 00:00:00 2001 From: lai <371757574@qq.com> Date: Wed, 16 Oct 2024 14:12:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/locales/en-US.ts | 3 + src/i18n/locales/zh-CN.ts | 3 + src/views/index.vue | 460 +----------------- src/views/neStatus/index.vue | 446 +++++++++++++++++ .../setting/components/change-home-index.vue | 106 ++++ src/views/system/setting/index.vue | 5 + 6 files changed, 589 insertions(+), 434 deletions(-) create mode 100644 src/views/neStatus/index.vue create mode 100644 src/views/system/setting/components/change-home-index.vue diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 0f869e86..85e8a6e6 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -1782,6 +1782,9 @@ export default { reset: "System Reset", resetInstruction: "A system reset will erase all data in the current system, please proceed with caution!!!!", resetTipContent: 'Are you sure you want to clear all data from the current system and insist on continuing?', + homeInstruction:'Set the system home page', + home: 'System home page', + homeTip:'Do you want to submit the current interface as the system interface?', }, role:{ allScopeOptions:'All data permissions', diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index a66fb15e..ea105c1b 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -1782,6 +1782,9 @@ export default { reset: "系统重置", resetInstruction: "系统重置将会清除当前系统内所有数据,请谨慎操作!!!", resetTipContent: '确认要清除当前系统内所有数据并坚持继续吗?', + homeInstruction:'设置系统首页界面', + home: '系统首页', + homeTip:'确认要提交当前界面为系统界面吗?', }, role:{ allScopeOptions:'全部数据权限', diff --git a/src/views/index.vue b/src/views/index.vue index 283944db..bdd3c73b 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1,446 +1,38 @@ diff --git a/src/views/neStatus/index.vue b/src/views/neStatus/index.vue new file mode 100644 index 00000000..c32c5201 --- /dev/null +++ b/src/views/neStatus/index.vue @@ -0,0 +1,446 @@ + + + + + diff --git a/src/views/system/setting/components/change-home-index.vue b/src/views/system/setting/components/change-home-index.vue new file mode 100644 index 00000000..a25fbefe --- /dev/null +++ b/src/views/system/setting/components/change-home-index.vue @@ -0,0 +1,106 @@ + + + + + diff --git a/src/views/system/setting/index.vue b/src/views/system/setting/index.vue index 6c241186..8b8de721 100644 --- a/src/views/system/setting/index.vue +++ b/src/views/system/setting/index.vue @@ -8,6 +8,7 @@ import ChangeHelpDoc from './components/change-help-doc.vue'; import ChangeOfficialUrl from './components/change-official-url.vue'; import ChangeI18n from './components/change-i18n.vue'; import SystemReset from './components/system-reset.vue'; +import ChangeHome from './components/change-home-index.vue'; import useI18n from '@/hooks/useI18n'; const { t } = useI18n(); @@ -49,6 +50,10 @@ const { t } = useI18n(); + + 系统首页设置 + + {{ t('views.system.setting.reset') }}