From b53f566160437f2b0250eb3a611ca307fd097cf4 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 21 May 2026 14:41:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E9=85=8D=E7=BD=AE=E3=80=81?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E8=B0=83=E7=A0=94=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/admin.js | 32 ++ src/router/index.js | 10 +- .../research/components/EquipmentForm.vue | 89 +++- .../research/components/EquipmentList.vue | 2 +- src/views/system/config/index.vue | 423 ++++++++++++++++++ .../site-research/components/ImageManual.vue | 12 +- 6 files changed, 542 insertions(+), 26 deletions(-) create mode 100644 src/views/system/config/index.vue diff --git a/src/api/admin.js b/src/api/admin.js index 7e034181..da300c38 100644 --- a/src/api/admin.js +++ b/src/api/admin.js @@ -391,3 +391,35 @@ export function getReSendEmail(data) { data }) } + +// 获取系统基础配置 +export function getSystemBasicConfigInfo() { + return request({ + url: `/DeployConfig/getSystemBasicConfigInfo`, + method: 'get', + }) +} +// 更新系统基础配置 +export function updateSystemBasicConfig(data) { + return request({ + url: `/DeployConfig/updateSystemBasicConfig`, + method: 'post', + data + }) +} +// 获取系统邮件配置 +export function getEmailConfigInfo() { + return request({ + url: `/DeployConfig/getEmailConfigInfo`, + method: 'get', + }) +} +// 更新系统邮件配置 +export function updateSystemEmailConfig(data) { + return request({ + url: `/DeployConfig/updateSystemEmailConfig`, + method: 'post', + data + }) +} + diff --git a/src/router/index.js b/src/router/index.js index 1dbe29da..368b8e35 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -50,11 +50,11 @@ export const constantRoutes = [ component: () => import('@/views/login/index'), hidden: true }, - { - path: '/test', - component: () => import('@/views/test/index'), - hidden: true - }, + // { + // path: '/test', + // component: () => import('@/views/test/index'), + // hidden: true + // }, { path: '/resetpassword', component: () => import('@/views/forgetpassword/index'), diff --git a/src/views/research/components/EquipmentForm.vue b/src/views/research/components/EquipmentForm.vue index 73fa0c71..32b31341 100644 --- a/src/views/research/components/EquipmentForm.vue +++ b/src/views/research/components/EquipmentForm.vue @@ -1,8 +1,8 @@