Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bigScreen
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mr-glass
bigScreen
Commits
13e32145
Commit
13e32145
authored
Jun 14, 2024
by
guoxuejian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bugs
parent
2be7ea0d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
index.html
+8
-5
No files found.
index.html
View file @
13e32145
...
@@ -1081,8 +1081,8 @@
...
@@ -1081,8 +1081,8 @@
var
ulbox
=
document
.
getElementById
(
"review_box"
);
var
ulbox
=
document
.
getElementById
(
"review_box"
);
var
orderFinishRatePie
=
echarts
.
init
(
ulbox
);
var
orderFinishRatePie
=
echarts
.
init
(
ulbox
);
var
allOrdersCount
=
100
//总数
var
allOrdersCount
=
100
//总数
var
allOrdersCompletedCount
=
3
0
//已完成
var
allOrdersCompletedCount
=
0
//已完成
var
allOrdersUnfinishedCount
=
7
0
//未完成
var
allOrdersUnfinishedCount
=
10
0
//未完成
var
orderFinishRatePieOption
=
{
var
orderFinishRatePieOption
=
{
color
:
[
'#22c2f0'
,
'#28f19b'
,
'#fcfa3c'
,
'#f44061'
],
color
:
[
'#22c2f0'
,
'#28f19b'
,
'#fcfa3c'
,
'#f44061'
],
...
@@ -1659,6 +1659,7 @@
...
@@ -1659,6 +1659,7 @@
// 更新全部工单完成率
// 更新全部工单完成率
// api/blade-deviceAccount/deviceAccount/list?current=1&size=10
// api/blade-deviceAccount/deviceAccount/list?current=1&size=10
function
updateAllOrdersFinishedRateData
()
{
function
updateAllOrdersFinishedRateData
()
{
loadDataStatus
.
updateAllOrdersFinishedRateData
=
true
$
.
ajax
({
$
.
ajax
({
type
:
"GET"
,
type
:
"GET"
,
url
:
"/api/blade-inspectionWorkOrder/inspectionWorkOrder/list?current=1&size=10"
,
url
:
"/api/blade-inspectionWorkOrder/inspectionWorkOrder/list?current=1&size=10"
,
...
@@ -1668,7 +1669,7 @@
...
@@ -1668,7 +1669,7 @@
let
finished
=
0
;
let
finished
=
0
;
$
.
ajax
({
$
.
ajax
({
type
:
"GET"
,
type
:
"GET"
,
url
:
"api/blade-inspectionWorkOrder/inspectionWorkOrder/list?taskStatus=1¤t=1&size=10"
,
url
:
"
/
api/blade-inspectionWorkOrder/inspectionWorkOrder/list?taskStatus=1¤t=1&size=10"
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
console
.
log
(
'FinishedOrdersData'
,
res
);
console
.
log
(
'FinishedOrdersData'
,
res
);
let
finishedTotal
=
res
.
data
.
total
;
let
finishedTotal
=
res
.
data
.
total
;
...
@@ -1679,14 +1680,14 @@
...
@@ -1679,14 +1680,14 @@
},
},
// 失败或者超时的回调函数
// 失败或者超时的回调函数
error
:
function
(
xhr
,
status
,
error
)
{
error
:
function
(
xhr
,
status
,
error
)
{
// loadDataStatus.updateEmergency
Data = false
loadDataStatus
.
updateAllOrdersFinishedRate
Data
=
false
}
}
});
});
},
},
// 失败或者超时的回调函数
// 失败或者超时的回调函数
error
:
function
(
xhr
,
status
,
error
)
{
error
:
function
(
xhr
,
status
,
error
)
{
// loadDataStatus.updateEmergency
Data = false
loadDataStatus
.
updateAllOrdersFinishedRate
Data
=
false
}
}
});
});
}
}
...
@@ -1726,6 +1727,8 @@
...
@@ -1726,6 +1727,8 @@
updateEmergencyData
();
updateEmergencyData
();
updateAllOrdersFinishedRateData
();
setInterval
(
function
()
{
setInterval
(
function
()
{
// 电站效率定时刷新
// 电站效率定时刷新
if
(
!
loadDataStatus
.
uploadCompleteStatus
)
{
if
(
!
loadDataStatus
.
uploadCompleteStatus
)
{
...
...
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