From cd3e87c1c97b3eb92187d585a009b8904a8c84b5 Mon Sep 17 00:00:00 2001
From: lai <371757574@qq.com>
Date: Wed, 16 Oct 2024 14:50:15 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E7=A7=9F=E6=88=B7=E8=87=AA=E5=AE=9A?=
=?UTF-8?q?=E4=B9=89=E4=B8=BB=E9=A1=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/i18n/locales/en-US.ts | 4 +
src/i18n/locales/zh-CN.ts | 4 +
src/views/index.vue | 16 ++-
.../setting/components/change-home-index.vue | 104 ++++++++++++++++++
src/views/system/setting/index.vue | 5 +
5 files changed, 129 insertions(+), 4 deletions(-)
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 20abb4ff..987a77e1 100644
--- a/src/i18n/locales/en-US.ts
+++ b/src/i18n/locales/en-US.ts
@@ -1794,6 +1794,10 @@ 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?',
+ homeSet:'System home page Settings',
},
role:{
allScopeOptions:'All data permissions',
diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts
index f5b539a1..3fe0f64f 100644
--- a/src/i18n/locales/zh-CN.ts
+++ b/src/i18n/locales/zh-CN.ts
@@ -1794,6 +1794,10 @@ export default {
reset: "系统重置",
resetInstruction: "系统重置将会清除当前系统内所有数据,请谨慎操作!!!",
resetTipContent: '确认要清除当前系统内所有数据并坚持继续吗?',
+ homeInstruction:'设置系统首页界面',
+ home: '系统首页',
+ homeTip:'确认要提交当前界面为系统界面吗?',
+ homeSet:'系统首页设置',
},
role:{
allScopeOptions:'全部数据权限',
diff --git a/src/views/index.vue b/src/views/index.vue
index 49609860..d4e24ac8 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -1,10 +1,6 @@
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..cf11ab29
--- /dev/null
+++ b/src/views/system/setting/components/change-home-index.vue
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+
+
+
+
+ {{ t('views.system.setting.saveSubmit') }}
+
+
+
+
+
+ {{ t('views.system.setting.homeInstruction') }}
+
+
+
+
+
+
+
diff --git a/src/views/system/setting/index.vue b/src/views/system/setting/index.vue
index 6c241186..06f44345 100644
--- a/src/views/system/setting/index.vue
+++ b/src/views/system/setting/index.vue
@@ -7,6 +7,7 @@ import ChangeCopyright from './components/change-copyright.vue';
import ChangeHelpDoc from './components/change-help-doc.vue';
import ChangeOfficialUrl from './components/change-official-url.vue';
import ChangeI18n from './components/change-i18n.vue';
+import ChangeHome from './components/change-home-index.vue';
import SystemReset from './components/system-reset.vue';
import useI18n from '@/hooks/useI18n';
const { t } = useI18n();
@@ -49,6 +50,10 @@ const { t } = useI18n();
+
+ {{ t('views.system.setting.homeSet') }}
+
+
{{ t('views.system.setting.reset') }}