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
e2414e39
Commit
e2414e39
authored
Nov 09, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
9020a08d
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
317 additions
and
298 deletions
+317
-298
common.js
src/assets/js/common.js
+17
-6
DPcomputer13.vue
.../MLargeScreen/components/smallComponents/DPcomputer13.vue
+2
-2
DPcomputer19.vue
.../MLargeScreen/components/smallComponents/DPcomputer19.vue
+1
-0
DPcomputer22.vue
.../MLargeScreen/components/smallComponents/DPcomputer22.vue
+23
-3
DPcomputer26.vue
.../MLargeScreen/components/smallComponents/DPcomputer26.vue
+218
-123
DPcomputer7.vue
...s/MLargeScreen/components/smallComponents/DPcomputer7.vue
+55
-163
index.vue
src/views/MLargeScreen/index.vue
+1
-1
No files found.
src/assets/js/common.js
View file @
e2414e39
...
@@ -2518,11 +2518,22 @@ var HttpReq = function(){
...
@@ -2518,11 +2518,22 @@ var HttpReq = function(){
params
:
param
,
params
:
param
,
})
})
},
},
//大屏组件7接口
apiManmadesChanjiedanYearQuery
:
function
(
param
){
return
request
({
url
:
'
/api/Manmades/ChanjiedanYear
'
,
method
:
'
get
'
,
params
:
param
,
})
},
//大屏组件26接口
apiAreaNewBlQuery
:
function
(
param
){
return
request
({
url
:
'
/api/AreaNew/Bl
'
,
method
:
'
get
'
,
params
:
param
,
})
},
...
...
src/views/MLargeScreen/components/smallComponents/DPcomputer13.vue
View file @
e2414e39
...
@@ -196,7 +196,7 @@ export default {
...
@@ -196,7 +196,7 @@ export default {
data
:
[
data
:
[
//value当前进度 + 颜色
//value当前进度 + 颜色
{
{
value
:
this
.
truckDynamicListData
.
rate
?
this
.
truckDynamicListData
.
rate
:
0
,
value
:
this
.
truckDynamicListData
.
rate
?
(
parseFloat
(
this
.
truckDynamicListData
.
rate
)
>
100
?
100
:
this
.
truckDynamicListData
.
rate
)
:
0
,
itemStyle
:
{
itemStyle
:
{
normal
:
{
normal
:
{
color
:
'
rgb(2,220,251)
'
color
:
'
rgb(2,220,251)
'
...
@@ -205,7 +205,7 @@ export default {
...
@@ -205,7 +205,7 @@ export default {
},
},
//(maxValue进度条最大值 - value当前进度) + 颜色
//(maxValue进度条最大值 - value当前进度) + 颜色
{
{
value
:
maxValue
-
parseInt
(
this
.
truckDynamicListData
.
rate
?
this
.
truckDynamicListData
.
rate
:
0
),
value
:
maxValue
-
parseInt
(
this
.
truckDynamicListData
.
rate
?
(
parseFloat
(
this
.
truckDynamicListData
.
rate
)
>
100
?
100
:
this
.
truckDynamicListData
.
rate
)
:
0
),
itemStyle
:
{
itemStyle
:
{
normal
:
{
normal
:
{
color
:
'
rgb(0,34,125)
'
color
:
'
rgb(0,34,125)
'
...
...
src/views/MLargeScreen/components/smallComponents/DPcomputer19.vue
View file @
e2414e39
...
@@ -119,6 +119,7 @@ export default {
...
@@ -119,6 +119,7 @@ export default {
},
},
yAxis
:
{
yAxis
:
{
type
:
'
value
'
,
type
:
'
value
'
,
minInterval
:
1
,
axisLabel
:
{
axisLabel
:
{
show
:
true
,
show
:
true
,
textStyle
:
{
textStyle
:
{
...
...
src/views/MLargeScreen/components/smallComponents/DPcomputer22.vue
View file @
e2414e39
...
@@ -38,7 +38,17 @@ export default {
...
@@ -38,7 +38,17 @@ export default {
HttpReq
.
truckDispatching
.
caiquAreaQueryDay
({
size
:
6
,
page
:
0
,
sort
:
'
total,desc
'
,
createTime
:
this
.
currentTime
.
day
}).
then
((
res
)
=>
{
HttpReq
.
truckDispatching
.
caiquAreaQueryDay
({
size
:
6
,
page
:
0
,
sort
:
'
total,desc
'
,
createTime
:
this
.
currentTime
.
day
}).
then
((
res
)
=>
{
let
eh2_arr1
=
[];
let
eh2_arr1
=
[];
let
eh2_arr2
=
[];
let
eh2_arr2
=
[];
res
.
forEach
((
item
)
=>
{
let
transitionData1
=
[];
res
.
forEach
((
item
,
index
)
=>
{
if
(
!
item
.
total
){
item
.
total
=
0
;
}
transitionData1
.
push
(
item
)
})
let
transitionData2
=
transitionData1
.
sort
(
function
(
a
,
b
){
return
a
.
total
-
b
.
total
;
})
transitionData2
.
forEach
((
item
)
=>
{
eh2_arr1
.
push
(
item
.
name
);
eh2_arr1
.
push
(
item
.
name
);
eh2_arr2
.
push
(
item
.
total
);
eh2_arr2
.
push
(
item
.
total
);
})
})
...
@@ -52,7 +62,17 @@ export default {
...
@@ -52,7 +62,17 @@ export default {
HttpReq
.
truckDispatching
.
caiquAreaQueryDay
({
size
:
6
,
page
:
0
,
sort
:
'
total,desc
'
,
createTime
:
this
.
currentTime
.
day
}).
then
((
res
)
=>
{
HttpReq
.
truckDispatching
.
caiquAreaQueryDay
({
size
:
6
,
page
:
0
,
sort
:
'
total,desc
'
,
createTime
:
this
.
currentTime
.
day
}).
then
((
res
)
=>
{
let
eh2_arr1
=
[];
let
eh2_arr1
=
[];
let
eh2_arr2
=
[];
let
eh2_arr2
=
[];
res
.
forEach
((
item
)
=>
{
let
transitionData1
=
[];
res
.
forEach
((
item
,
index
)
=>
{
if
(
!
item
.
total
){
item
.
total
=
0
;
}
transitionData1
.
push
(
item
)
})
let
transitionData2
=
transitionData1
.
sort
(
function
(
a
,
b
){
return
a
.
total
-
b
.
total
;
})
transitionData2
.
forEach
((
item
)
=>
{
eh2_arr1
.
push
(
item
.
name
);
eh2_arr1
.
push
(
item
.
name
);
eh2_arr2
.
push
(
item
.
total
);
eh2_arr2
.
push
(
item
.
total
);
})
})
...
@@ -60,7 +80,7 @@ export default {
...
@@ -60,7 +80,7 @@ export default {
this
.
outputRankData
.
caiquSeriesData
=
eh2_arr2
;
this
.
outputRankData
.
caiquSeriesData
=
eh2_arr2
;
this
.
echarts2_1Fn
();
this
.
echarts2_1Fn
();
})
})
},
2
0000
)
},
6
0000
)
},
},
//各采区日产量排名
//各采区日产量排名
...
...
src/views/MLargeScreen/components/smallComponents/DPcomputer26.vue
View file @
e2414e39
This diff is collapsed.
Click to expand it.
src/views/MLargeScreen/components/smallComponents/DPcomputer7.vue
View file @
e2414e39
This diff is collapsed.
Click to expand it.
src/views/MLargeScreen/index.vue
View file @
e2414e39
...
@@ -169,7 +169,7 @@ export default {
...
@@ -169,7 +169,7 @@ export default {
this
.
reconnect
();
this
.
reconnect
();
},
20000
)
},
20000
)
//与嵌入的地图页面进行交互
//与嵌入的地图页面进行交互
window
.
addEventListener
(
'
message
'
,
this
.
handleMessage
);
//
window.addEventListener('message', this.handleMessage);
},
},
methods
:
{
methods
:
{
loadData
()
{
loadData
()
{
...
...
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