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
f9def99c
Commit
f9def99c
authored
Aug 26, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4716624e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
13 deletions
+36
-13
common.js
src/assets/js/common.js
+25
-0
index.vue
src/views/MLargeScreen/components/dataAnalysis/index.vue
+0
-2
index.vue
src/views/MLargeScreen/components/dataScreening/index.vue
+11
-11
No files found.
src/assets/js/common.js
View file @
f9def99c
...
@@ -1168,6 +1168,7 @@ var HttpReq = function(){
...
@@ -1168,6 +1168,7 @@ var HttpReq = function(){
data
:
data
,
data
:
data
,
})
})
},
},
//绩效统计——日报——区域产量报表采区
//绩效统计——日报——区域产量报表采区
caiquAreaQueryDay
:
function
(
param
){
caiquAreaQueryDay
:
function
(
param
){
return
request
({
return
request
({
...
@@ -1943,6 +1944,30 @@ var HttpReq = function(){
...
@@ -1943,6 +1944,30 @@ var HttpReq = function(){
data
:
data
,
data
:
data
,
})
})
},
},
//大屏——数据总览——采区产量统计——日产量
apiPlanDayQuery
:
function
(
param
){
return
request
({
url
:
'
/api/Plan/Day
'
,
method
:
'
get
'
,
params
:
param
,
})
},
//大屏——数据总览——采区产量统计——月产量
apiPlanMonthQuery
:
function
(
param
){
return
request
({
url
:
'
/api/Plan/Month
'
,
method
:
'
get
'
,
params
:
param
,
})
},
//大屏——数据总览——采区产量统计——年产量
apiPlanYearQuery
:
function
(
param
){
return
request
({
url
:
'
/api/Plan/Year
'
,
method
:
'
get
'
,
params
:
param
,
})
},
//大屏——数据总览——司机信息
//大屏——数据总览——司机信息
screenDriverInformationQuery
:
function
(
param
){
screenDriverInformationQuery
:
function
(
param
){
return
request
({
return
request
({
...
...
src/views/MLargeScreen/components/dataAnalysis/index.vue
View file @
f9def99c
...
@@ -197,7 +197,6 @@ export default {
...
@@ -197,7 +197,6 @@ export default {
})
})
//各采区当月完成率 和 月生产完成效率
//各采区当月完成率 和 月生产完成效率
HttpReq
.
truckDispatching
.
caiquAreaQueryMonth
().
then
((
res
)
=>
{
HttpReq
.
truckDispatching
.
caiquAreaQueryMonth
().
then
((
res
)
=>
{
console
.
log
(
res
);
let
eh2_1_arr1
=
[];
let
eh2_1_arr1
=
[];
let
eh2_1_arr2
=
[];
let
eh2_1_arr2
=
[];
let
eh2_1_arr3
=
[];
let
eh2_1_arr3
=
[];
...
@@ -440,7 +439,6 @@ export default {
...
@@ -440,7 +439,6 @@ export default {
})
})
//各采区当月完成率 和 月生产完成效率
//各采区当月完成率 和 月生产完成效率
HttpReq
.
truckDispatching
.
caiquAreaQueryMonth
().
then
((
res
)
=>
{
HttpReq
.
truckDispatching
.
caiquAreaQueryMonth
().
then
((
res
)
=>
{
console
.
log
(
res
);
let
eh2_1_arr1
=
[];
let
eh2_1_arr1
=
[];
let
eh2_1_arr2
=
[];
let
eh2_1_arr2
=
[];
let
eh2_1_arr3
=
[];
let
eh2_1_arr3
=
[];
...
...
src/views/MLargeScreen/components/dataScreening/index.vue
View file @
f9def99c
...
@@ -478,12 +478,12 @@ export default {
...
@@ -478,12 +478,12 @@ export default {
},
},
//矿石开采效率
//矿石开采效率
exploitationEfficiencyData
:{
exploitationEfficiencyData
:{
rate1
:[
0.
4
],
rate1
:[
0.
5
],
dayYield1
:
5
1
,
dayYield1
:
5
0
,
dayMil1
:
3
2
,
dayMil1
:
3
0
,
rate2
:[
0.
2
],
rate2
:[
0.
5
],
dayWorkTime2
:
8
,
dayWorkTime2
:
8
,
dayYield2
:
5
1
,
dayYield2
:
5
0
,
},
},
//实时报警
//实时报警
realAlarmStyleData
:{
realAlarmStyleData
:{
...
@@ -501,7 +501,7 @@ export default {
...
@@ -501,7 +501,7 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
//获取采区当前日产量
//获取采区当前日产量
HttpReq
.
truckDispatching
.
caiquAreaQueryDa
y
().
then
((
res
)
=>
{
HttpReq
.
truckDispatching
.
apiPlanDayQuer
y
().
then
((
res
)
=>
{
let
undueArray
=
{};
let
undueArray
=
{};
if
(
res
.
length
==
0
||
JSON
.
stringify
(
res
[
0
])
==
'
{}
'
){
if
(
res
.
length
==
0
||
JSON
.
stringify
(
res
[
0
])
==
'
{}
'
){
undueArray
.
eff
=
0
;
undueArray
.
eff
=
0
;
...
@@ -525,7 +525,7 @@ export default {
...
@@ -525,7 +525,7 @@ export default {
this
.
outputMineData
.
day
=
undueArray
;
this
.
outputMineData
.
day
=
undueArray
;
})
})
//获取采区当前月产量
//获取采区当前月产量
HttpReq
.
truckDispatching
.
caiquAreaQueryMonth
().
then
((
res
)
=>
{
HttpReq
.
truckDispatching
.
apiPlanMonthQuery
().
then
((
res
)
=>
{
let
undueArray
=
{};
let
undueArray
=
{};
if
(
res
.
length
==
0
||
JSON
.
stringify
(
res
[
0
])
==
'
{}
'
){
if
(
res
.
length
==
0
||
JSON
.
stringify
(
res
[
0
])
==
'
{}
'
){
undueArray
.
eff
=
0
;
undueArray
.
eff
=
0
;
...
@@ -549,7 +549,7 @@ export default {
...
@@ -549,7 +549,7 @@ export default {
this
.
outputMineData
.
month
=
undueArray
;
this
.
outputMineData
.
month
=
undueArray
;
})
})
//获取采区当前年产量
//获取采区当前年产量
HttpReq
.
truckDispatching
.
caiquAreaQueryYear
().
then
((
res
)
=>
{
HttpReq
.
truckDispatching
.
apiPlanYearQuery
().
then
((
res
)
=>
{
let
undueArray
=
{};
let
undueArray
=
{};
if
(
res
.
length
==
0
||
JSON
.
stringify
(
res
[
0
])
==
'
{}
'
){
if
(
res
.
length
==
0
||
JSON
.
stringify
(
res
[
0
])
==
'
{}
'
){
undueArray
.
eff
=
0
;
undueArray
.
eff
=
0
;
...
@@ -723,7 +723,7 @@ export default {
...
@@ -723,7 +723,7 @@ export default {
//定时刷新数据
//定时刷新数据
this
.
dataScreeningTimer
=
setInterval
(()
=>
{
this
.
dataScreeningTimer
=
setInterval
(()
=>
{
//获取采区当前日产量
//获取采区当前日产量
HttpReq
.
truckDispatching
.
caiquAreaQueryDa
y
().
then
((
res
)
=>
{
HttpReq
.
truckDispatching
.
apiPlanDayQuer
y
().
then
((
res
)
=>
{
let
undueArray
=
{};
let
undueArray
=
{};
if
(
res
.
length
==
0
||
JSON
.
stringify
(
res
[
0
])
==
'
{}
'
){
if
(
res
.
length
==
0
||
JSON
.
stringify
(
res
[
0
])
==
'
{}
'
){
undueArray
.
eff
=
0
;
undueArray
.
eff
=
0
;
...
@@ -747,7 +747,7 @@ export default {
...
@@ -747,7 +747,7 @@ export default {
this
.
outputMineData
.
day
=
undueArray
;
this
.
outputMineData
.
day
=
undueArray
;
})
})
//获取采区当前月产量
//获取采区当前月产量
HttpReq
.
truckDispatching
.
caiquAreaQueryMonth
().
then
((
res
)
=>
{
HttpReq
.
truckDispatching
.
apiPlanMonthQuery
().
then
((
res
)
=>
{
let
undueArray
=
{};
let
undueArray
=
{};
if
(
res
.
length
==
0
||
JSON
.
stringify
(
res
[
0
])
==
'
{}
'
){
if
(
res
.
length
==
0
||
JSON
.
stringify
(
res
[
0
])
==
'
{}
'
){
undueArray
.
eff
=
0
;
undueArray
.
eff
=
0
;
...
@@ -771,7 +771,7 @@ export default {
...
@@ -771,7 +771,7 @@ export default {
this
.
outputMineData
.
month
=
undueArray
;
this
.
outputMineData
.
month
=
undueArray
;
})
})
//获取采区当前年产量
//获取采区当前年产量
HttpReq
.
truckDispatching
.
caiquAreaQueryYear
().
then
((
res
)
=>
{
HttpReq
.
truckDispatching
.
apiPlanYearQuery
().
then
((
res
)
=>
{
let
undueArray
=
{};
let
undueArray
=
{};
if
(
res
.
length
==
0
||
JSON
.
stringify
(
res
[
0
])
==
'
{}
'
){
if
(
res
.
length
==
0
||
JSON
.
stringify
(
res
[
0
])
==
'
{}
'
){
undueArray
.
eff
=
0
;
undueArray
.
eff
=
0
;
...
...
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