diff --git a/.env.development b/.env.development index 7e373863..eea3dab2 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ VITE_HISTORY_HASH = false VITE_HISTORY_BASE_URL = "/" # 应用名称 -VITE_APP_NAME = "核心网管理系统" +VITE_APP_NAME = "核心网管理平台" # 应用标识 VITE_APP_CODE = "CoreNet" diff --git a/.env.production b/.env.production index 95918586..df6be943 100644 --- a/.env.production +++ b/.env.production @@ -5,13 +5,13 @@ VITE_HISTORY_HASH = true VITE_HISTORY_BASE_URL = "/" # 应用名称 -VITE_APP_NAME = "核心网管理系统" +VITE_APP_NAME = "核心网管理平台" # 应用标识 VITE_APP_CODE = "CoreNet" # 应用版本 -VITE_APP_VERSION = "1.23.1023" +VITE_APP_VERSION = "1.23.1025" # 接口基础URL地址-不带/后缀 VITE_API_BASE_URL = "/omc-api" diff --git a/public/favicon.ico b/public/favicon.ico index c6edfa5b..51424073 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/src/api/index.ts b/src/api/index.ts index 9c9732e4..b1d3576a 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -66,3 +66,14 @@ export async function getServerTime() { } return result; } + +/** + * 获取系统暴露的配置信息 + * @returns object + */ +export function getSysConf() { + return request({ + url: `/sysConf`, + method: 'get', + }); +} diff --git a/src/api/system/config.ts b/src/api/system/config.ts index 3ff22733..027cdd35 100644 --- a/src/api/system/config.ts +++ b/src/api/system/config.ts @@ -99,3 +99,16 @@ export function refreshCache() { method: 'put', }); } + +/** + * 根据参数键名改值 + * @param data 参数配置对象 { "key": "sys", "value": "核心网" } + * @returns object + */ +export function changeValue(data: Record) { + return request({ + url: '/system/config/changeValue', + method: 'put', + data: data, + }); +} diff --git a/src/assets/logo.png b/src/assets/logo.png deleted file mode 100644 index ddc15ecf..00000000 Binary files a/src/assets/logo.png and /dev/null differ diff --git a/src/assets/logo_brand.png b/src/assets/logo_brand.png new file mode 100644 index 00000000..b60f7974 Binary files /dev/null and b/src/assets/logo_brand.png differ diff --git a/src/assets/logo_icon.png b/src/assets/logo_icon.png new file mode 100644 index 00000000..72c29ee6 Binary files /dev/null and b/src/assets/logo_icon.png differ diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 938e26ee..a8ea6a43 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -5,8 +5,8 @@ export default { // 通用 common: { - title: 'Core network management system', - desc: '', + title: 'Core Network Management Platform', + desc: 'Login to Core Network Management Platform', loading: 'Please wait...', tipTitle: 'Prompt', msgSuccess: 'Success {msg}', @@ -144,7 +144,8 @@ export default { versionPlease: 'Version number cannot be empty', updateTime: 'Uploaded', description: 'Description', - deleteTip: 'Are you sure to delete the data item with record number [{num}]?', + deleteTip: 'Are you sure to delete the data item with software [{fileName}]?', + downloadTip: 'Are you sure to download the data item with software [{fileName}]?', updateComment: 'software documentation', updateCommentPlease: 'Please enter the software description', updateFile: 'Software Files', @@ -152,11 +153,11 @@ export default { verifyFile: 'Verify File', selectFile: 'SELECT FILE', sendTitle: 'Distribute software version', - sendContent: 'Are you sure to send the data item file with the number [{num}] to the corresponding network element?', + sendContent: 'Are you sure to send the file with the software package [{fileName}] to the corresponding network element?', runTitle: 'Activate software version', - runContent: 'Confirm that the software version with the number [{num}] has been issued for activation on the corresponding network element?', + runContent: 'Are you sure to activate the software version of [{fileName}] that has been issued to the corresponding network element?', backTitle: 'Fallback software version', - backContent: 'Confirm that the software version with the number [{num}] has been issued for the corresponding network element rollback?', + backContent: 'Confirm that the software version of [{fileName}] has been issued for the corresponding network element rollback?', neId: 'Corresponding network element', neIdPlease: 'Please select the corresponding network element', }, diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 43167088..869d7a19 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -5,8 +5,8 @@ export default { // 通用 common: { - title: '核心网管理系统', - desc: '', + title: '核心网络管理平台', + desc: '登录核心网络管理平台', loading: '请稍等...', tipTitle: '提示', msgSuccess: '成功 {msg}', @@ -144,7 +144,8 @@ export default { versionPlease: '版本号不能为空', updateTime: '上传时间', description: '功能描述', - deleteTip: '确认删除记录编号为 【{num}】 的数据项?', + deleteTip: '确认删除 【{fileName}】 的软件数据项?', + downloadTip: '确认下载 【{fileName}】 的软件数据项?', updateComment: '软件说明', updateCommentPlease: '请输入软件说明', updateFile: '软件文件', @@ -152,11 +153,11 @@ export default { verifyFile: '校验文件', selectFile: '选择文件', sendTitle: '下发软件版本', - sendContent: '确认下发编号为【{num}】的数据项文件到对应网元?', + sendContent: '确认下发软件包为【{fileName}】的文件到对应网元?', runTitle: '激活软件版本', - runContent: '确认在对应网元激活已下发编号为【{num}】的软件版本?', + runContent: '确认在对应网元激活已下发【{fileName}】的软件版本?', backTitle: '回退软件版本', - backContent: '确认在对应网元回退已下发编号为【{num}】的软件版本?', + backContent: '确认在对应网元回退已下发【{fileName}】的软件版本?', neId: '对应网元', neIdPlease: '请选择对应网元', }, diff --git a/src/layouts/BasicLayout.vue b/src/layouts/BasicLayout.vue index d590236c..6981d38d 100644 --- a/src/layouts/BasicLayout.vue +++ b/src/layouts/BasicLayout.vue @@ -190,10 +190,25 @@ document.addEventListener('visibilitychange', function () { @@ -257,13 +272,21 @@ document.addEventListener('visibilitychange', function () { diff --git a/src/views/system/setting/components/change-login-bg.vue b/src/views/system/setting/components/change-login-bg.vue new file mode 100644 index 00000000..892d7439 --- /dev/null +++ b/src/views/system/setting/components/change-login-bg.vue @@ -0,0 +1,173 @@ + + + + + diff --git a/src/views/system/setting/components/change-logo.vue b/src/views/system/setting/components/change-logo.vue new file mode 100644 index 00000000..c5e6ed65 --- /dev/null +++ b/src/views/system/setting/components/change-logo.vue @@ -0,0 +1,285 @@ + + + + + diff --git a/src/views/system/setting/components/change-title.vue b/src/views/system/setting/components/change-title.vue new file mode 100644 index 00000000..71be4c13 --- /dev/null +++ b/src/views/system/setting/components/change-title.vue @@ -0,0 +1,117 @@ + + + + + diff --git a/src/views/system/setting/index.vue b/src/views/system/setting/index.vue new file mode 100644 index 00000000..2db5c391 --- /dev/null +++ b/src/views/system/setting/index.vue @@ -0,0 +1,24 @@ + + + + +