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
8b6d0aeb
Commit
8b6d0aeb
authored
Mar 21, 2022
by
caicaicai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
e7bc9174
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
55 additions
and
49 deletions
+55
-49
common.js
src/assets/js/common.js
+4
-4
index.vue
src/views/MLargeScreen/components/carManagement/index.vue
+3
-1
index.vue
src/views/MLargeScreen/components/dataAnalysis/index.vue
+3
-1
index.vue
src/views/MLargeScreen/components/dataScreening/index.vue
+12
-3
index.vue
...iews/MLargeScreen/components/intelligentSchedul/index.vue
+3
-1
index.vue
src/views/MLargeScreen/index.vue
+30
-39
No files found.
src/assets/js/common.js
View file @
8b6d0aeb
...
...
@@ -1685,14 +1685,14 @@ var HttpReq = function(){
//大屏——标题菜单
screenTitleMenuQuery
:
function
(
param
){
return
request
({
url
:
'
/api/
Screen
'
,
url
:
'
/api/
Title
'
,
method
:
'
get
'
,
params
:
param
,
})
},
screenTitleMenuAdd
:
function
(
data
){
return
request
({
url
:
'
/api/
Screen
'
,
url
:
'
/api/
Title
'
,
method
:
'
POST
'
,
data
:
data
,
}).
then
((
res
)
=>
{
...
...
@@ -1701,14 +1701,14 @@ var HttpReq = function(){
},
screenTitleMenuUpdate
:
function
(
data
){
return
request
({
url
:
'
/api/
Screen
'
,
url
:
'
/api/
Title
'
,
method
:
'
PUT
'
,
data
:
data
,
})
},
screenTitleMenuDel
:
function
(
data
){
return
request
({
url
:
'
/api/
Screen
'
,
url
:
'
/api/
Title
'
,
method
:
'
Delete
'
,
data
:
data
,
})
...
...
src/views/MLargeScreen/components/carManagement/index.vue
View file @
8b6d0aeb
...
...
@@ -13,7 +13,9 @@ export default {
},
mounted
()
{
},
methods
:
{
loadData
(){
console
.
log
(
'
车辆管理
'
);
},
},
}
</
script
>
...
...
src/views/MLargeScreen/components/dataAnalysis/index.vue
View file @
8b6d0aeb
...
...
@@ -13,7 +13,9 @@ export default {
},
mounted
()
{
},
methods
:
{
loadData
(){
console
.
log
(
'
数据分析
'
);
},
},
}
</
script
>
...
...
src/views/MLargeScreen/components/dataScreening/index.vue
View file @
8b6d0aeb
<
template
>
<div
class=
"dataScrView"
>
数据总览
<div>
</div>
<div>
</div>
<div>
</div>
</div>
</
template
>
...
...
@@ -13,7 +21,9 @@ export default {
},
mounted
()
{
},
methods
:
{
loadData
(){
console
.
log
(
'
数据总览
'
);
},
},
}
</
script
>
...
...
@@ -23,6 +33,5 @@ export default {
width
:
100%
;
height
:
100%
;
overflow
:
hidden
;
background-color
:
aliceblue
;
}
</
style
>
\ No newline at end of file
src/views/MLargeScreen/components/intelligentSchedul/index.vue
View file @
8b6d0aeb
...
...
@@ -13,7 +13,9 @@ export default {
},
mounted
()
{
},
methods
:
{
loadData
(){
console
.
log
(
'
智能调度
'
);
},
},
}
</
script
>
...
...
src/views/MLargeScreen/index.vue
View file @
8b6d0aeb
...
...
@@ -49,43 +49,12 @@ export default {
//选择模块
selectModule
:
''
,
//标题菜单数据
topSmallTitleLeftData
:[
{
title
:
'
数据总览
'
,
componentName
:
'
dataScreening
'
,
componentRef
:
'
dataScreeningMethod
'
,
status
:
1
,
},
{
title
:
'
车辆管理
'
,
componentName
:
'
carManagement
'
,
componentRef
:
'
carManagementMethod
'
,
status
:
1
,
},
{
title
:
'
智能调度
'
,
componentName
:
'
intelligentSchedul
'
,
componentRef
:
'
intelligentSchedulMethod
'
,
status
:
1
,
}
],
topSmallTitleRightData
:[
{
title
:
'
数据分析
'
,
componentName
:
'
dataAnalysis
'
,
componentRef
:
'
dataAnalysisMethod
'
,
status
:
1
,
},
{
title
:
'
后台管理
'
,
componentName
:
'
backstage
'
,
componentRef
:
'
backstageMethod
'
,
status
:
1
,
},
],
topSmallTitleLeftData
:[],
topSmallTitleRightData
:[],
}
},
mounted
()
{
this
.
loadData
();
this
.
setNowTimes
();
this
.
timer
=
setInterval
(()
=>
{
this
.
setNowTimes
();
...
...
@@ -93,19 +62,41 @@ export default {
},
methods
:
{
loadData
()
{
let
leftTemporaryData
=
[];
let
rightTemporaryData
=
[];
this
.
$nextTick
(()
=>
{
HttpReq
.
truckDispatching
.
screenTitleMenuQuery
({
size
:
9999
}).
then
((
res
)
=>
{
HttpReq
.
truckDispatching
.
screenTitleMenuQuery
({
size
:
9999
,
status
:
1
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){;
console
.
log
(
res
);
let
array1
=
res
.
data
.
content
;
for
(
let
i
=
0
;
i
<
3
;
i
++
){
leftTemporaryData
.
push
(
array1
[
i
]);
}
for
(
let
j
=
3
;
j
<
res
.
data
.
totalElements
;
j
++
){
rightTemporaryData
.
push
(
array1
[
j
]);
}
this
.
topSmallTitleLeftData
=
leftTemporaryData
;
this
.
topSmallTitleRightData
=
rightTemporaryData
;
}
})
})
},
changeOver
(
item
){
this
.
selectModule
=
item
.
componentName
;
// if(item.componentName == 'dataScreening'){
// this.$refs.dataScreeningMethod.loadData();
// }
if
(
item
.
componentName
==
'
dataScreening
'
){
this
.
$refs
.
dataScreeningMethod
.
loadData
();
}
if
(
item
.
componentName
==
'
carManagement
'
){
this
.
$refs
.
carManagementMethod
.
loadData
();
}
if
(
item
.
componentName
==
'
intelligentSchedul
'
){
this
.
$refs
.
intelligentSchedulMethod
.
loadData
();
}
if
(
item
.
componentName
==
'
dataAnalysis
'
){
this
.
$refs
.
dataAnalysisMethod
.
loadData
();
}
if
(
item
.
componentName
==
'
backstage
'
){
console
.
log
(
'
backstage
'
);
}
},
//获取当前时间
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