Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhongtong-avi-web
Project
Project
Details
Activity
Releases
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
中通客车项目
zhongtong-avi-web
Commits
9aa7e4f9
Commit
9aa7e4f9
authored
Dec 23, 2019
by
李志鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opt(权限地址): 页面权限地址优化
parent
e5d27aac
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
28 additions
and
20 deletions
+28
-20
index.js
config/index.js
+1
-1
apis.js
src/interface/apis.js
+8
-0
basic.js
src/router/modules/basic.js
+2
-2
centerControll.js
src/router/modules/centerControll.js
+1
-1
deviceRunning.js
src/router/modules/deviceRunning.js
+2
-2
dryingRoomChart.js
src/router/modules/dryingRoomChart.js
+1
-1
laboratory.js
src/router/modules/laboratory.js
+3
-3
monitor.js
src/router/modules/monitor.js
+1
-1
productionPlan.js
src/router/modules/productionPlan.js
+1
-1
workshop.js
src/router/modules/workshop.js
+8
-8
No files found.
config/index.js
View file @
9aa7e4f9
...
...
@@ -16,7 +16,7 @@ module.exports = {
// target: 'http://10.100.172.150:9108', // 设置你调用的接口域名和端口号 别忘了加http
// target: 'http://192.168.43.244:8888', // 东伟服务器地址
// target: 'http://192.168.43.153:8080', // 训浩服务器
target
:
'http://10.100.172.2
16
:8082'
,
// 本地服务器
target
:
'http://10.100.172.2
3
:8082'
,
// 本地服务器
changeOrigin
:
true
,
pathRewrite
:
{
'^/host'
:
''
//这里理解成用‘/host’代替target里面的地址,后面组件中我们掉接口时直接用api代替 比如我要调用'http://40.00.100.100:3002/user/add',直接写‘/api/user/add’即可
...
...
src/interface/apis.js
View file @
9aa7e4f9
...
...
@@ -184,6 +184,10 @@
"data-post"
:
{
"url"
:
"/api/equipment/realTime/data"
,
"method"
:
"post"
},
"stationPassInfo-get"
:
{
"url"
:
"/api/equipment/stationPassInfo"
,
"method"
:
"get"
}
},
"run-record-controller"
:
{
...
...
@@ -207,6 +211,10 @@
}
},
"led-controller"
:
{
"currentTime-get"
:
{
"url"
:
"/api/led/currentTime"
,
"method"
:
"get"
},
"VOC-get"
:
{
"url"
:
"/api/led/info/VOC"
,
"method"
:
"get"
...
...
src/router/modules/basic.js
View file @
9aa7e4f9
...
...
@@ -18,13 +18,13 @@ export default {
path
:
'deviceBasic'
,
component
:
()
=>
import
(
'@/views/Basic/DeviceBasic/list'
),
name
:
'DeviceBasic'
,
meta
:
{
title
:
'DeviceBasic'
,
icon
:
'document'
,
noCache
:
false
,
mark
:
'/
Basic/D
eviceBasic/list'
}
meta
:
{
title
:
'DeviceBasic'
,
icon
:
'document'
,
noCache
:
false
,
mark
:
'/
basic/d
eviceBasic/list'
}
},
{
path
:
'laneBasic'
,
component
:
()
=>
import
(
'@/views/Basic/LaneBasic/list'
),
name
:
'LaneBasic'
,
meta
:
{
title
:
'LaneBasic'
,
icon
:
'document'
,
noCache
:
false
,
mark
:
'/
Basic/L
aneBasic/list'
}
meta
:
{
title
:
'LaneBasic'
,
icon
:
'document'
,
noCache
:
false
,
mark
:
'/
basic/l
aneBasic/list'
}
}
]
}
src/router/modules/centerControll.js
View file @
9aa7e4f9
...
...
@@ -10,7 +10,7 @@ export default {
path
:
'index'
,
component
:
()
=>
import
(
'@/views/CenterControl/index'
),
name
:
'CenterControlIndex'
,
meta
:
{
title
:
'CenterControlIndex'
,
icon
:
'template'
,
mark
:
'/
C
enterControl/index'
}
meta
:
{
title
:
'CenterControlIndex'
,
icon
:
'template'
,
mark
:
'/
c
enterControl/index'
}
}
]
}
src/router/modules/deviceRunning.js
View file @
9aa7e4f9
...
...
@@ -12,13 +12,13 @@ export default {
path
:
'deviceRunningTime'
,
component
:
()
=>
import
(
'@/views/DeviceRunning/DeviceRunningTime/list'
),
name
:
'DeviceRunningTime'
,
meta
:
{
title
:
'DeviceRunningTime'
,
icon
:
'repairApplication'
,
noCache
:
false
,
mark
:
'/
DeviceRunning/D
eviceRunningTime/list'
}
meta
:
{
title
:
'DeviceRunningTime'
,
icon
:
'repairApplication'
,
noCache
:
false
,
mark
:
'/
deviceRunning/d
eviceRunningTime/list'
}
},
{
path
:
'deviceFaultRecord'
,
component
:
()
=>
import
(
'@/views/DeviceRunning/DeviceFaultRecord/list'
),
name
:
'DeviceFaultRecord'
,
meta
:
{
title
:
'DeviceFaultRecord'
,
icon
:
'repairApplication'
,
noCache
:
false
,
mark
:
'/
DeviceRunning/D
eviceFaultRecord/list'
}
meta
:
{
title
:
'DeviceFaultRecord'
,
icon
:
'repairApplication'
,
noCache
:
false
,
mark
:
'/
deviceRunning/d
eviceFaultRecord/list'
}
}
]
}
src/router/modules/dryingRoomChart.js
View file @
9aa7e4f9
...
...
@@ -11,7 +11,7 @@ export default {
path
:
'index'
,
component
:
()
=>
import
(
'@/views/DryingRoomChart/list'
),
name
:
'DryingRoomChartIndex'
,
meta
:
{
title
:
'DryingRoomChartIndex'
,
icon
:
'reportview'
,
noCache
:
true
}
meta
:
{
title
:
'DryingRoomChartIndex'
,
icon
:
'reportview'
,
noCache
:
false
,
mark
:
'/dryingRoomChart/index'
}
}
]
}
src/router/modules/laboratory.js
View file @
9aa7e4f9
...
...
@@ -9,19 +9,19 @@ export default {
path
:
'pickling'
,
component
:
()
=>
import
(
'@/views/Laboratory/Pickling/list'
),
name
:
'Pickling'
,
meta
:
{
title
:
'Pickling'
,
icon
:
'template'
,
noCache
:
false
,
mark
:
'/
Laboratory/P
ickling/list'
}
meta
:
{
title
:
'Pickling'
,
icon
:
'template'
,
noCache
:
false
,
mark
:
'/
laboratory/p
ickling/list'
}
},
{
path
:
'electrophoresisTank'
,
component
:
()
=>
import
(
'@/views/Laboratory/ElectrophoresisTank/list'
),
name
:
'ElectrophoresisTank'
,
meta
:
{
title
:
'ElectrophoresisTank'
,
icon
:
'template'
,
noCache
:
false
,
mark
:
'/
Laboratory/E
lectrophoresisTank/list'
}
meta
:
{
title
:
'ElectrophoresisTank'
,
icon
:
'template'
,
noCache
:
false
,
mark
:
'/
laboratory/e
lectrophoresisTank/list'
}
},
{
path
:
'pretreatment'
,
component
:
()
=>
import
(
'@/views/Laboratory/Pretreatment/list'
),
name
:
'Pretreatment'
,
meta
:
{
title
:
'Pretreatment'
,
icon
:
'template'
,
noCache
:
false
,
mark
:
'/
Laboratory/P
retreatment/list'
}
meta
:
{
title
:
'Pretreatment'
,
icon
:
'template'
,
noCache
:
false
,
mark
:
'/
laboratory/p
retreatment/list'
}
}
]
}
src/router/modules/monitor.js
View file @
9aa7e4f9
...
...
@@ -11,7 +11,7 @@ export default {
path
:
'monitorIndex'
,
component
:
()
=>
import
(
'@/views/Monitor/index'
),
name
:
'MonitorIndex'
,
meta
:
{
title
:
'MonitorIndex'
,
icon
:
'kanban'
,
mark
:
'/
M
onitor/index'
}
meta
:
{
title
:
'MonitorIndex'
,
icon
:
'kanban'
,
mark
:
'/
m
onitor/index'
}
},
{
path
:
'monitorPutty'
,
...
...
src/router/modules/productionPlan.js
View file @
9aa7e4f9
...
...
@@ -8,7 +8,7 @@ export default {
path
:
'index'
,
component
:
()
=>
import
(
'@/views/ProductionPlan/index'
),
name
:
'ProductionPlanIndex'
,
meta
:
{
title
:
'ProductionPlanIndex'
,
icon
:
'edit'
,
noCache
:
true
}
meta
:
{
title
:
'ProductionPlanIndex'
,
icon
:
'edit'
,
noCache
:
false
,
mark
:
'/productionPlan/index'
}
}
]
}
src/router/modules/workshop.js
View file @
9aa7e4f9
...
...
@@ -12,49 +12,49 @@ export default {
path
:
'parts'
,
component
:
()
=>
import
(
'@/views/Workshop/Parts/list'
),
name
:
'Parts'
,
meta
:
{
title
:
'Parts'
,
icon
:
'wareHouse'
,
noCache
:
false
,
mark
:
'/
Workshop/P
arts/list'
}
meta
:
{
title
:
'Parts'
,
icon
:
'wareHouse'
,
noCache
:
false
,
mark
:
'/
workshop/p
arts/list'
}
},
{
path
:
'welding'
,
component
:
()
=>
import
(
'@/views/Workshop/Welding/list'
),
name
:
'Welding'
,
meta
:
{
title
:
'Welding'
,
icon
:
'wareHouse'
,
noCache
:
false
,
mark
:
'/
Workshop/W
elding/list'
}
meta
:
{
title
:
'Welding'
,
icon
:
'wareHouse'
,
noCache
:
false
,
mark
:
'/
workshop/w
elding/list'
}
},
{
path
:
'painting'
,
component
:
()
=>
import
(
'@/views/Workshop/Painting/list'
),
name
:
'Painting'
,
meta
:
{
title
:
'Painting'
,
icon
:
'wareHouse'
,
noCache
:
false
,
mark
:
'/
Workshop/P
ainting/list'
}
meta
:
{
title
:
'Painting'
,
icon
:
'wareHouse'
,
noCache
:
false
,
mark
:
'/
workshop/p
ainting/list'
}
},
{
path
:
'chassis'
,
component
:
()
=>
import
(
'@/views/Workshop/Chassis/list'
),
name
:
'Chassis'
,
meta
:
{
title
:
'Chassis'
,
icon
:
'wareHouse'
,
noCache
:
false
,
mark
:
'/
Workshop/C
hassis/list'
}
meta
:
{
title
:
'Chassis'
,
icon
:
'wareHouse'
,
noCache
:
false
,
mark
:
'/
workshop/c
hassis/list'
}
},
{
path
:
'final'
,
component
:
()
=>
import
(
'@/views/Workshop/Final/list'
),
name
:
'Final'
,
meta
:
{
title
:
'Final'
,
icon
:
'wareHouse'
,
noCache
:
false
,
mark
:
'/
Workshop/F
inal/list'
}
meta
:
{
title
:
'Final'
,
icon
:
'wareHouse'
,
noCache
:
false
,
mark
:
'/
workshop/f
inal/list'
}
},
{
path
:
'trial'
,
component
:
()
=>
import
(
'@/views/Workshop/Trial/list'
),
name
:
'Trial'
,
meta
:
{
title
:
'Trial'
,
icon
:
'wareHouse'
,
noCache
:
false
,
mark
:
'/
Workshop/T
rial/list'
}
meta
:
{
title
:
'Trial'
,
icon
:
'wareHouse'
,
noCache
:
false
,
mark
:
'/
workshop/t
rial/list'
}
},
{
path
:
'quality'
,
component
:
()
=>
import
(
'@/views/WorkShop/Quality/list'
),
name
:
'Quality'
,
meta
:
{
title
:
'Quality'
,
icon
:
'wareHouse'
,
noCache
:
false
,
mark
:
'/
Workshop/Q
uality/list'
}
meta
:
{
title
:
'Quality'
,
icon
:
'wareHouse'
,
noCache
:
false
,
mark
:
'/
workshop/q
uality/list'
}
},
{
path
:
'other'
,
component
:
()
=>
import
(
'@/views/WorkShop/Other/list'
),
name
:
'Other'
,
meta
:
{
title
:
'Other'
,
icon
:
'wareHouse'
,
noCache
:
false
,
mark
:
'/
Workshop/O
ther/list'
}
meta
:
{
title
:
'Other'
,
icon
:
'wareHouse'
,
noCache
:
false
,
mark
:
'/
workshop/o
ther/list'
}
}
]
}
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