Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivManage
Commits
2e517fb3
Commit
2e517fb3
authored
May 13, 2022
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改路由配置,打包配置
parent
fef51370
Pipeline
#50223
passed with stages
in 10 minutes 19 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
118 additions
and
111 deletions
+118
-111
package.json
package.json
+1
-1
config.js
src/routes/config.js
+117
-110
No files found.
package.json
View file @
2e517fb3
...
...
@@ -19,7 +19,7 @@
"analyze"
:
"node ./internals/scripts/analyze.js"
,
"npmcheckversion"
:
"node ./internals/scripts/npmcheckversion.js"
,
"preinstall"
:
"npm run npmcheckversion"
,
"build"
:
"cross-env NODE_ENV=production node internals/webpack/clean.js"
,
"build"
:
"cross-env NODE_ENV=production node
--max_old_space_size=8192
internals/webpack/clean.js"
,
"build:inspect"
:
"cross-env NODE_ENV=production node --inspect-brk ./node_modules/webpack/bin/webpack.js --config internals/webpack/webpack.prod.babel.js --color -p --progress --hide-modules --display-optimization-bailout"
,
"build:clean"
:
"node ./internals/webpack/clean.js"
,
"push"
:
"sh push.sh"
,
...
...
src/routes/config.js
View file @
2e517fb3
...
...
@@ -9,6 +9,7 @@ import {
FileTextOutlined
,
AppstoreOutlined
,
FundProjectionScreenOutlined
,
ReadOutlined
,
}
from
'@ant-design/icons'
;
// 菜单
import
UserLayout
from
'@/layouts/UserLayout'
;
...
...
@@ -86,14 +87,14 @@ export default {
routes
:
[
{
path
:
'/solution'
,
name
:
'解决方案
管理
'
,
name
:
'解决方案'
,
icon
:
<
SolutionOutlined
style
=
{
iconStyle
}
/>
,
authority
:
superAuthority
,
component
:
CurrentSolution
,
},
{
path
:
'/dbm'
,
name
:
'数据库
管理
'
,
name
:
'数据库'
,
icon
:
<
DatabaseOutlined
style
=
{
iconStyle
}
/>
,
component
:
BlankLayout
,
authority
:
adminAuthority
,
...
...
@@ -106,13 +107,13 @@ export default {
},
{
path
:
'/dbm/dbsm'
,
name
:
'数据库
标准化管理
'
,
name
:
'数据库
升级
'
,
authority
:
adminAuthority
,
component
:
ManagementDataBase
,
},
{
path
:
'/dbm/connectConfig'
,
name
:
'
数据库连接配置
'
,
name
:
'
多数据源
'
,
authority
:
adminAuthority
,
component
:
DatabaseConnectConfig
,
},
...
...
@@ -120,13 +121,13 @@ export default {
},
{
path
:
'/userCenter'
,
name
:
'
用户中心
'
,
name
:
'
组织架构
'
,
component
:
BlankLayout
,
icon
:
<
UsergroupAddOutlined
style
=
{
iconStyle
}
/>
,
routes
:
[
{
path
:
'/userCenter/UserManage'
,
name
:
'
用户
管理'
,
name
:
'
机构
管理'
,
component
:
UserManage
,
},
{
...
...
@@ -142,105 +143,37 @@ export default {
],
},
{
path
:
'/platformCenter'
,
component
:
BlankLayout
,
name
:
'平台中心'
,
icon
:
<
FundProjectionScreenOutlined
style
=
{
iconStyle
}
/>
,
routes
:
[
{
path
:
'/platformCenter/gis'
,
name
:
'GIS平台'
,
path
:
'/productCenter'
,
component
:
BlankLayout
,
name
:
'应用搭建'
,
icon
:
<
AppstoreOutlined
style
=
{
iconStyle
}
/>
,
routes
:
[
{
path
:
'/platformCenter/gis/twoDimensionConfig'
,
name
:
'地图配置'
,
component
:
SchemeConfig
,
},
{
path
:
'/platformCenter/gis/threeDimensionConfig'
,
name
:
'三维配置'
,
component
:
DimensionsConfig
,
},
],
// routes: [{
// path: '/platformCenter/schemeConfig',
// name: '方案配置',
// component: SchemeConfig,
// }]
// tabs: [
// {
// tabName: '范围配置',
// url:
// '/web4/?widget=product/Tool/EditBoundary/EditBoundary&serverCollextion=JiangNing_JNGW&solution=熊猫智慧水务平台',
// },
// {
// tabName: '方案配置',
// url:
// '/web4/?widget=product/Tool/MapSettings/MapSettings|hideMap=true',
// },
// {
// tabName: '七参数配置',
// type: 'sevenParams',
// },
// ],
},
{
path
:
'/platformCenter/notify'
,
name
:
'消息平台'
,
component
:
MessageManager
,
},
{
path
:
'/platformCenter/SchemeDetail'
,
name
:
'模板编辑'
,
component
:
SchemeDetail
,
hideMenu
:
true
,
},
{
path
:
'/platformCenter/emq'
,
name
:
'宿主管理'
,
url
:
'/web4/?widget=product/oms/MqttConfig/MqttConfig.js|hideMap=true'
,
component
:
HostManager
,
path
:
'/productCenter/product'
,
name
:
'产品配置'
,
component
:
ProductConfig
,
},
{
path
:
'/p
latformCenter/video
'
,
name
:
'
视频平台
'
,
component
:
VideoManager
,
path
:
'/p
roductCenter/web
'
,
name
:
'
Web搭建
'
,
component
:
WebConfigPage
,
},
{
path
:
'/platformCenter/iot'
,
name
:
'组态平台'
,
component
:
BaseFrameContainer
,
// tabs: [
// {
// tabName: '模型类型',
// url:
// '/web4/?widget=configuration/ConfigurationsOperationV1/ModelTypeManage/ModelTypeManage|hideMap=true',
// },
// {
// tabName: '模型文件',
// url:
// '/web4/?widget=configuration/ConfigurationsOperationV1/ModelFileManage/ModelFileManage|hideMap=true',
// },
// {
// tabName: '画板管理',
// url:
// '/web4/?widget=configuration/ConfigurationsOperationV1/DrawBoardManage/DrawBoardManage|hideMap=true',
// },
// ],
path
:
'/productCenter/app'
,
name
:
'Mobile搭建'
,
component
:
MobileConfigPage
,
},
],
},
{
path
:
'/bsmanger'
,
component
:
BlankLayout
,
name
:
'
业务中心
'
,
name
:
'
台账/工作流
'
,
icon
:
<
CreditCardOutlined
style
=
{
iconStyle
}
/>
,
routes
:
[
{
path
:
'/bsmanger/base'
,
name
:
'
基础配置
'
,
name
:
'
台账
'
,
component
:
BlankLayout
,
routes
:
[
{
...
...
@@ -256,14 +189,14 @@ export default {
},
{
path
:
'/bsmanger/base/standingBook'
,
name
:
'台账
管理
'
,
name
:
'台账
列表
'
,
component
:
StandingBook
,
},
],
},
{
path
:
'/bsmanger/workOrder'
,
name
:
'工
单管理
'
,
name
:
'工
作流
'
,
component
:
BlankLayout
,
routes
:
[
{
...
...
@@ -309,41 +242,115 @@ export default {
],
},
{
path
:
'/p
roduct
Center'
,
path
:
'/p
latform
Center'
,
component
:
BlankLayout
,
name
:
'
应用中心
'
,
icon
:
<
Appstore
Outlined
style
=
{
iconStyle
}
/>
,
name
:
'
平台管理
'
,
icon
:
<
FundProjectionScreen
Outlined
style
=
{
iconStyle
}
/>
,
routes
:
[
{
path
:
'/p
roductCenter/product
'
,
name
:
'
产品配置
'
,
component
:
ProductConfig
,
},
path
:
'/p
latformCenter/gis
'
,
name
:
'
GIS平台
'
,
component
:
BlankLayout
,
routes
:
[
{
path
:
'/productCenter/web
'
,
name
:
'Web
配置'
,
component
:
WebConfigPage
,
path
:
'/platformCenter/gis/twoDimensionConfig
'
,
name
:
'地图
配置'
,
component
:
SchemeConfig
,
},
{
path
:
'/productCenter/app
'
,
name
:
'移动应用
配置'
,
component
:
MobileConfigPage
,
path
:
'/platformCenter/gis/threeDimensionConfig
'
,
name
:
'三维
配置'
,
component
:
DimensionsConfig
,
},
],
// routes: [{
// path: '/platformCenter/schemeConfig',
// name: '方案配置',
// component: SchemeConfig,
// }]
// tabs: [
// {
// tabName: '范围配置',
// url:
// '/web4/?widget=product/Tool/EditBoundary/EditBoundary&serverCollextion=JiangNing_JNGW&solution=熊猫智慧水务平台',
// },
// {
// tabName: '方案配置',
// url:
// '/web4/?widget=product/Tool/MapSettings/MapSettings|hideMap=true',
// },
// {
// tabName: '七参数配置',
// type: 'sevenParams',
// },
// ],
},
{
path
:
'/dataCenter'
,
name
:
'数据中心'
,
icon
:
<
TableOutlined
style
=
{
iconStyle
}
/>
,
component
:
BlankLayout
,
routes
:
[
path
:
'/platformCenter/notify'
,
name
:
'消息中心'
,
component
:
MessageManager
,
},
{
path
:
'/platformCenter/SchemeDetail'
,
name
:
'模板编辑'
,
component
:
SchemeDetail
,
hideMenu
:
true
,
},
{
path
:
'/platformCenter/video'
,
name
:
'视频'
,
component
:
VideoManager
,
},
{
path
:
'/platformCenter/iot'
,
name
:
'组态'
,
component
:
BaseFrameContainer
,
// tabs: [
// {
// tabName: '模型类型',
// url:
// '/web4/?widget=configuration/ConfigurationsOperationV1/ModelTypeManage/ModelTypeManage|hideMap=true',
// },
// {
// tabName: '模型文件',
// url:
// '/web4/?widget=configuration/ConfigurationsOperationV1/ModelFileManage/ModelFileManage|hideMap=true',
// },
// {
// tabName: '画板管理',
// url:
// '/web4/?widget=configuration/ConfigurationsOperationV1/DrawBoardManage/DrawBoardManage|hideMap=true',
// },
// ],
},
{
path
:
'/platformCenter/emq'
,
name
:
'宿主管理'
,
url
:
'/web4/?widget=product/oms/MqttConfig/MqttConfig.js|hideMap=true'
,
component
:
HostManager
,
},
],
},
{
path
:
'/dataCenter/dictionary'
,
name
:
'数据字典'
,
icon
:
<
ReadOutlined
style
=
{
iconStyle
}
/>
,
component
:
Dictionary
,
},
],
},
// {
// path: '/dataCenter',
// name: '数据中心',
// icon: <TableOutlined style={iconStyle} />,
// component: BlankLayout,
// routes: [
// {
// path: '/dataCenter/dictionary',
// name: '数据字典',
// component: Dictionary,
// },
// ],
// },
{
path
:
'/log'
,
component
:
BlankLayout
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment