glj-代码提交

This commit is contained in:
glj 2023-05-12 09:12:14 +08:00
parent a045db3263
commit 707bbb3f0b
4 changed files with 18 additions and 17 deletions

View File

@ -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,

View File

@ -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 {

View File

@ -73,7 +73,7 @@
// 默认样式修改
.el-menu {
border-right: none !important;
width: 220px;
width: 250px;
}
.el-menu-item {
height: 56px !important;

View File

@ -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'));