From 707bbb3f0b6e32828d661bc035685b92322da65b Mon Sep 17 00:00:00 2001 From: glj Date: Fri, 12 May 2023 09:12:14 +0800 Subject: [PATCH] =?UTF-8?q?glj-=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/route.js | 28 +++++++++---------- src/theme/app.scss | 2 +- src/theme/element.scss | 2 +- .../component/editAdministrator.vue | 3 +- 4 files changed, 18 insertions(+), 17 deletions(-) diff --git a/src/router/route.js b/src/router/route.js index 6cf2e59..84b66f2 100644 --- a/src/router/route.js +++ b/src/router/route.js @@ -50,7 +50,7 @@ export const dynamicRoutes = [ component: () => import('/@/views/responseManagement/index.vue'), redirect: '/responseManagement/userResponse', meta: { - title: 'Response management', + title: 'Response', isLink: '', isHide: false, isKeepAlive: true, @@ -66,7 +66,7 @@ export const dynamicRoutes = [ name: 'userResponseManagement', component: () => import('/@/views/responseManagement/userResponse/index.vue'), meta: { - title: 'User response management', + title: 'User response', isLink: '', isHide: false, isKeepAlive: true, @@ -82,7 +82,7 @@ export const dynamicRoutes = [ name: 'data-upload-management', component: () => import('/@/views/responseManagement/dataUpload/index.vue'), meta: { - title: 'Data upload management', + title: 'Data upload', isLink: '', isHide: false, isKeepAlive: true, @@ -98,7 +98,7 @@ export const dynamicRoutes = [ name: 'tool-management', component: () => import('/@/views/responseManagement/tool/index.vue'), meta: { - title: 'Tool Management', + title: 'Tool', isLink: '', isHide: false, isKeepAlive: true, @@ -114,7 +114,7 @@ export const dynamicRoutes = [ name: 'contact-management', component: () => import('/@/views/responseManagement/contact/index.vue'), meta: { - title: 'Contact Management', + title: 'Contact', isLink: '', isHide: false, isKeepAlive: true, @@ -149,7 +149,7 @@ export const dynamicRoutes = [ name: 'multimediaData', component: () => import('/@/views/dataService/multimediaData/index.vue'), meta: { - title: 'Multimedia data service', + title: 'Multimedia data', isLink: '', isHide: false, isKeepAlive: true, @@ -165,7 +165,7 @@ export const dynamicRoutes = [ name: 'remoteSensingData', component: () => import('/@/views/dataService/remoteSensingData/index.vue'), meta: { - title: 'Remote sensing data service', + title: 'Remote sensing data', isLink: '', isHide: false, isKeepAlive: true, @@ -181,7 +181,7 @@ export const dynamicRoutes = [ name: 'otherData', component: () => import('/@/views/dataService/otherData/index.vue'), meta: { - title: 'Other data service', + title: 'Other data', isLink: '', isHide: false, isKeepAlive: true, @@ -197,7 +197,7 @@ export const dynamicRoutes = [ name: 'visualData', component: () => import('/@/views/dataService/visualData/index.vue'), meta: { - title: 'Visual data service', + title: 'Visual data', isLink: '', isHide: false, isKeepAlive: true, @@ -213,7 +213,7 @@ export const dynamicRoutes = [ name: 'pictureInfo', component: () => import('/@/views/dataService/pictureInfo/index.vue'), meta: { - title: 'Picture info service', + title: 'Picture info', isLink: '', isHide: false, isKeepAlive: true, @@ -229,7 +229,7 @@ export const dynamicRoutes = [ name: 'disasterPartners', component: () => import('/@/views/dataService/disasterPartners/index.vue'), meta: { - title: 'Disaster reduction partners service', + title: 'Disaster Website', isLink: '', isHide: false, isKeepAlive: true, @@ -264,7 +264,7 @@ export const dynamicRoutes = [ name: 'chief-administrator-management', component: () => import('/@/views/systemManagement/chiefAdministrator/index.vue'), meta: { - title: 'Chief Administrator management', + title: 'Chief Administrator', isLink: '', isHide: false, isKeepAlive: true, @@ -280,7 +280,7 @@ export const dynamicRoutes = [ name: 'administratorManagement', component: () => import('/@/views/systemManagement/administrator/index.vue'), meta: { - title: 'Administrator management', + title: 'Administrator', isLink: '', isHide: false, isKeepAlive: true, @@ -296,7 +296,7 @@ export const dynamicRoutes = [ name: 'systemDic', component: () => import('/@/views/system/dic/index.vue'), meta: { - title: 'Dictionary management', + title: 'Dictionary', isLink: '', isHide: false, isKeepAlive: true, diff --git a/src/theme/app.scss b/src/theme/app.scss index 0f486e7..ee341a3 100644 --- a/src/theme/app.scss +++ b/src/theme/app.scss @@ -131,7 +131,7 @@ body, } // pc端左侧导航样式 .layout-aside-pc-220 { - width: 220px !important; + width: 250px !important; transition: width 0.3s ease; } .layout-aside-pc-64 { diff --git a/src/theme/element.scss b/src/theme/element.scss index c865ab3..4545906 100644 --- a/src/theme/element.scss +++ b/src/theme/element.scss @@ -73,7 +73,7 @@ // 默认样式修改 .el-menu { border-right: none !important; - width: 220px; + width: 250px; } .el-menu-item { height: 56px !important; diff --git a/src/views/systemManagement/chiefAdministrator/component/editAdministrator.vue b/src/views/systemManagement/chiefAdministrator/component/editAdministrator.vue index 3de8f30..92f48dd 100644 --- a/src/views/systemManagement/chiefAdministrator/component/editAdministrator.vue +++ b/src/views/systemManagement/chiefAdministrator/component/editAdministrator.vue @@ -65,9 +65,10 @@ let checkPhone = (rule, value, callback) => { } else { //验证手机号 const reg = /^1[3|4|5|7|8][0-9]\d{8}$/ + const regNew = /^\+?[1-9]\d{1,14}$/ //验证区号 const phoneReg = /^\d{3}-\d{8}|\d{4}-\d{7}$/ - if (reg.test(value)||phoneReg.test(value)) { + if (regNew.test(value)) { callback(); } else { return callback(new Error('Please enter the correct contact number'));