Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
卡
卡车调度系统
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
caicaicai
卡车调度系统
Commits
0b3bb279
Commit
0b3bb279
authored
Apr 02, 2022
by
caicaicai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
602398b1
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
497 additions
and
398 deletions
+497
-398
index.vue
src/views/MLargeScreen/components/carManagement/index.vue
+94
-90
index.vue
src/views/MLargeScreen/components/dataAnalysis/index.vue
+129
-127
index.vue
src/views/MLargeScreen/components/dataScreening/index.vue
+136
-131
index.vue
...iews/MLargeScreen/components/intelligentSchedul/index.vue
+42
-38
index.vue
src/views/MLargeScreen/index.vue
+96
-12
No files found.
src/views/MLargeScreen/components/carManagement/index.vue
View file @
0b3bb279
...
...
@@ -327,7 +327,8 @@ export default {
},
mounted
()
{
},
methods
:
{
loadData
(){
loadData
(
text
){
if
(
text
==
true
){
this
.
whetherShow
=
true
;
this
.
dayCurrentTimeFn
();
this
.
monthCurrentTimeFn
();
...
...
@@ -422,8 +423,11 @@ export default {
})
//卡车动态
})
}
else
{
this
.
whetherShow
=
false
;
}
},
//车辆运行状况
carWorkingStateEcharts
(){
...
...
src/views/MLargeScreen/components/dataAnalysis/index.vue
View file @
0b3bb279
...
...
@@ -144,13 +144,13 @@ export default {
},
mounted
()
{
},
methods
:
{
loadData
(){
loadData
(
text
){
if
(
text
==
true
){
this
.
whetherShow
=
true
;
this
.
dayCurrentTimeFn
();
this
.
monthCurrentTimeFn
();
this
.
yearCurrentTimeFn
();
this
.
$nextTick
(()
=>
{
//采取产量统计图表
this
.
echarts1Fn
();
...
...
@@ -271,7 +271,9 @@ export default {
})
})
}
else
{
this
.
whetherShow
=
false
;
}
},
//采取产量统计
echarts1Fn
(){
...
...
src/views/MLargeScreen/components/dataScreening/index.vue
View file @
0b3bb279
...
...
@@ -434,7 +434,8 @@ export default {
},
mounted
()
{
},
methods
:
{
loadData
(){
loadData
(
text
){
if
(
text
==
true
){
this
.
whetherShow
=
true
;
this
.
dayCurrentTimeFn
();
this
.
monthCurrentTimeFn
();
...
...
@@ -588,6 +589,10 @@ export default {
})
})
}
else
{
this
.
whetherShow
=
false
;
}
},
//卡车切换时间
truckChangeTime
(
text
){
...
...
src/views/MLargeScreen/components/intelligentSchedul/index.vue
View file @
0b3bb279
...
...
@@ -149,7 +149,8 @@ export default {
mounted
()
{
},
methods
:
{
//获取总数据
loadData
(){
loadData
(
text
){
if
(
text
==
true
){
this
.
whetherShow
=
true
;
this
.
selectCarFleet
=
''
;
this
.
selectCarRadioArray
=
[];
...
...
@@ -186,9 +187,12 @@ export default {
this
.
dispatchDetailsList
=
res
.
data
.
content
;
}
})
//
//车辆区域分布Echarts
this
.
carsAreaDistributionEcharts
();
})
}
else
{
this
.
whetherShow
=
false
;
}
},
//获取车辆信息
loadData2
()
{
...
...
src/views/MLargeScreen/index.vue
View file @
0b3bb279
...
...
@@ -54,6 +54,13 @@ export default {
currentTime
:
''
,
//选择模块
selectModule
:
''
,
//各模块展示传值
isShow
:{
dataScreening
:
false
,
carManagement
:
false
,
intelligentSchedul
:
false
,
dataAnalysis
:
false
,
},
//标题菜单数据
topSmallTitleLeftData
:[],
topSmallTitleRightData
:[],
...
...
@@ -61,6 +68,7 @@ export default {
carName
:
'
4001
'
,
//司机用户名
driverUserName
:
'
lisan
'
,
}
},
mounted
()
{
...
...
@@ -93,34 +101,110 @@ export default {
changeOver
(
item
){
this
.
selectModule
=
item
.
componentName
;
if
(
item
.
componentName
==
'
dataScreening
'
){
this
.
$refs
.
dataScreeningMethod
.
loadData
();
if
(
this
.
isShow
.
dataScreening
==
false
){
this
.
$refs
.
dataScreeningMethod
.
loadData
(
true
);
this
.
isShow
.
dataScreening
=
true
;
this
.
isShow
.
carManagement
=
false
;
this
.
isShow
.
intelligentSchedul
=
false
;
this
.
isShow
.
dataAnalysis
=
false
;
}
else
{
this
.
$refs
.
dataScreeningMethod
.
loadData
(
false
);
this
.
isShow
.
dataScreening
=
false
;
}
this
.
$refs
.
carManagementMethod
.
loadData
(
false
);
this
.
$refs
.
intelligentSchedulMethod
.
loadData
(
false
);
this
.
$refs
.
dataAnalysisMethod
.
loadData
(
false
);
}
if
(
item
.
componentName
==
'
carManagement
'
){
this
.
$refs
.
carManagementMethod
.
loadData
();
if
(
this
.
isShow
.
carManagement
==
false
){
this
.
$refs
.
carManagementMethod
.
loadData
(
true
);
this
.
isShow
.
carManagement
=
true
;
this
.
isShow
.
dataScreening
=
false
;
this
.
isShow
.
intelligentSchedul
=
false
;
this
.
isShow
.
dataAnalysis
=
false
;
}
else
{
this
.
$refs
.
carManagementMethod
.
loadData
(
false
);
this
.
isShow
.
carManagement
=
false
;
}
this
.
$refs
.
dataScreeningMethod
.
loadData
(
false
);
this
.
$refs
.
intelligentSchedulMethod
.
loadData
(
false
);
this
.
$refs
.
dataAnalysisMethod
.
loadData
(
false
);
}
if
(
item
.
componentName
==
'
intelligentSchedul
'
){
this
.
$refs
.
intelligentSchedulMethod
.
loadData
();
if
(
this
.
isShow
.
intelligentSchedul
==
false
){
this
.
$refs
.
intelligentSchedulMethod
.
loadData
(
true
);
this
.
isShow
.
intelligentSchedul
=
true
;
this
.
isShow
.
dataScreening
=
false
;
this
.
isShow
.
carManagement
=
false
;
this
.
isShow
.
dataAnalysis
=
false
;
}
else
{
this
.
$refs
.
intelligentSchedulMethod
.
loadData
(
false
);
this
.
isShow
.
intelligentSchedul
=
false
;
}
this
.
$refs
.
dataScreeningMethod
.
loadData
(
false
);
this
.
$refs
.
carManagementMethod
.
loadData
(
false
);
this
.
$refs
.
dataAnalysisMethod
.
loadData
(
false
);
}
if
(
item
.
componentName
==
'
dataAnalysis
'
){
this
.
$refs
.
dataAnalysisMethod
.
loadData
();
if
(
this
.
isShow
.
dataAnalysis
==
false
){
this
.
$refs
.
dataAnalysisMethod
.
loadData
(
true
);
this
.
isShow
.
dataAnalysis
=
true
;
this
.
isShow
.
dataScreening
=
false
;
this
.
isShow
.
carManagement
=
false
;
this
.
isShow
.
intelligentSchedul
=
false
;
}
else
{
this
.
$refs
.
dataAnalysisMethod
.
loadData
(
false
);
this
.
isShow
.
dataAnalysis
=
false
;
}
this
.
$refs
.
dataScreeningMethod
.
loadData
(
false
);
this
.
$refs
.
carManagementMethod
.
loadData
(
false
);
this
.
$refs
.
intelligentSchedulMethod
.
loadData
(
false
);
}
if
(
item
.
componentName
==
'
backstage
'
){
this
.
isShow
.
dataScreening
=
false
;
this
.
isShow
.
carManagement
=
false
;
this
.
isShow
.
intelligentSchedul
=
false
;
this
.
isShow
.
dataAnalysis
=
false
;
this
.
$refs
.
dataScreeningMethod
.
loadData
(
false
);
this
.
$refs
.
carManagementMethod
.
loadData
(
false
);
this
.
$refs
.
intelligentSchedulMethod
.
loadData
(
false
);
this
.
$refs
.
dataAnalysisMethod
.
loadData
(
false
);
this
.
$nextTick
(()
=>
{
let
routeUrl
=
this
.
$router
.
resolve
({
path
:
"
/dashboard
"
,
});
window
.
open
(
routeUrl
.
href
,
'
_blank
'
);
})
}
if
(
item
.
componentName
==
'
toVideoSurveillance
'
){
this
.
isShow
.
dataScreening
=
false
;
this
.
isShow
.
carManagement
=
false
;
this
.
isShow
.
intelligentSchedul
=
false
;
this
.
isShow
.
dataAnalysis
=
false
;
this
.
$refs
.
dataScreeningMethod
.
loadData
(
false
);
this
.
$refs
.
carManagementMethod
.
loadData
(
false
);
this
.
$refs
.
intelligentSchedulMethod
.
loadData
(
false
);
this
.
$refs
.
dataAnalysisMethod
.
loadData
(
false
);
this
.
$nextTick
(()
=>
{
let
routeUrl
=
this
.
$router
.
resolve
({
path
:
"
/monitoringManagement/mineVideo
"
,
});
window
.
open
(
routeUrl
.
href
,
'
_blank
'
);
})
}
},
//车辆信息弹框
showSpecificInforFn
(){
this
.
selectModule
=
'
carSpecificInfor
'
;
this
.
$refs
.
carSpecificInforMethod
.
loadData
(
this
.
carName
,
this
.
driverUserName
);
this
.
isShow
.
dataScreening
=
false
;
this
.
isShow
.
carManagement
=
false
;
this
.
isShow
.
intelligentSchedul
=
false
;
this
.
isShow
.
dataAnalysis
=
false
;
this
.
$refs
.
dataScreeningMethod
.
loadData
(
false
);
this
.
$refs
.
carManagementMethod
.
loadData
(
false
);
this
.
$refs
.
intelligentSchedulMethod
.
loadData
(
false
);
this
.
$refs
.
dataAnalysisMethod
.
loadData
(
false
);
},
//获取当前时间
setNowTimes
()
{
...
...
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