Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
海康威视
web-project
Commits
f2573870
Commit
f2573870
authored
Jul 23, 2024
by
朱超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
换热站趋势图更新
parent
027ae4a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
50 deletions
+53
-50
TransferEnergyView.vue
src/views/HandlerPage/TransferEnergyView.vue
+53
-50
No files found.
src/views/HandlerPage/TransferEnergyView.vue
View file @
f2573870
...
...
@@ -68,9 +68,9 @@
<el-option
label=
"水单耗"
:value=
"3"
/>
<el-option
label=
"度日数热耗"
:value=
"4"
/>
<el-option
label=
"一网回温"
:value=
"5"
/>
<el-option
label=
"一网万平米流量"
:value=
"6"
/>
<
!--
<
el-option
label=
"一网万平米流量"
:value=
"6"
/>
<el-option
label=
"换热站板换效率"
:value=
"7"
/>
<el-option
label=
"换热站二网均温"
:value=
"8"
/>
<el-option
label=
"换热站二网均温"
:value=
"8"
/>
-->
<!--
<el-option
label=
"二网温差"
:value=
"9"
/>
<el-option
label=
"二网均温"
:value=
"10"
/>
-->
</el-select>
...
...
@@ -308,11 +308,9 @@ function postQOQlistFun() {
echarts
.
dispose
(
document
.
getElementById
(
"echartsLayer"
));
if
(
res
.
success
===
true
)
{
pageInitFun
(
res
);
}
else
if
(
res
.
status
==
9
)
{
setInterval
(
function
()
{
}
else
{
tabloading
.
value
=
false
;
this
.
postQOQlistFun
();
},
600000
);
ElMessage
.
error
(
res
.
message
);
}
});
}
...
...
@@ -335,11 +333,9 @@ function postHeatUctFun() {
// postHeatUct(params).then((res) => {
if
(
res
.
success
===
true
)
{
pageInitFun
(
res
);
}
else
if
(
res
.
status
==
9
)
{
setInterval
(
function
()
{
}
else
{
tabloading
.
value
=
false
;
this
.
postHeatUctFun
();
},
600000
);
ElMessage
.
error
(
res
.
message
);
}
});
}
...
...
@@ -351,11 +347,9 @@ function postElecUcFun() {
echarts
.
dispose
(
document
.
getElementById
(
"echartsLayer"
));
if
(
res
.
success
===
true
)
{
pageInitFun
(
res
);
}
else
if
(
res
.
status
==
9
)
{
setInterval
(
function
()
{
}
else
{
tabloading
.
value
=
false
;
this
.
postElecUcFun
();
},
600000
);
ElMessage
.
error
(
res
.
message
);
}
});
}
...
...
@@ -367,11 +361,9 @@ function postWaterUcFun() {
echarts
.
dispose
(
document
.
getElementById
(
"echartsLayer"
));
if
(
res
.
success
===
true
)
{
pageInitFun
(
res
);
}
else
if
(
res
.
status
==
9
)
{
setInterval
(
function
()
{
}
else
{
tabloading
.
value
=
false
;
this
.
postWaterUcFun
();
},
600000
);
ElMessage
.
error
(
res
.
message
);
}
});
}
...
...
@@ -383,11 +375,9 @@ function postDayHeatFun() {
echarts
.
dispose
(
document
.
getElementById
(
"echartsLayer"
));
if
(
res
.
success
===
true
)
{
pageInitFun
(
res
);
}
else
if
(
res
.
status
==
9
)
{
setInterval
(
function
()
{
}
else
{
tabloading
.
value
=
false
;
this
.
postDayHeatFun
();
},
600000
);
ElMessage
.
error
(
res
.
message
);
}
});
}
...
...
@@ -399,11 +389,9 @@ function postFirBackTFun() {
echarts
.
dispose
(
document
.
getElementById
(
"echartsLayer"
));
if
(
res
.
success
===
true
)
{
pageInitFun
(
res
);
}
else
if
(
res
.
status
==
9
)
{
setInterval
(
function
()
{
}
else
{
tabloading
.
value
=
false
;
this
.
postFirBackTFun
();
},
600000
);
ElMessage
.
error
(
res
.
message
);
}
});
}
...
...
@@ -415,11 +403,9 @@ function postWPMLLFun() {
echarts
.
dispose
(
document
.
getElementById
(
"echartsLayer"
));
if
(
res
.
success
===
true
)
{
pageInitFun
(
res
);
}
else
if
(
res
.
status
==
9
)
{
setInterval
(
function
()
{
}
else
{
tabloading
.
value
=
false
;
this
.
postWPMLLFun
();
},
600000
);
ElMessage
.
error
(
res
.
message
);
}
});
}
...
...
@@ -458,7 +444,7 @@ function postSecAvgTUcFun() {
function
pageInitFun
(
res
)
{
tableData
.
length
=
0
;
res
.
data
.
datalist
.
forEach
((
element
)
=>
{
res
.
data
.
hourWater
.
forEach
((
element
)
=>
{
let
tableArr
=
{
transferName
:
element
.
transferName
,
gatherTime
:
element
.
gatherTime
,
...
...
@@ -472,7 +458,7 @@ function pageInitFun(res) {
echartSeries
.
length
=
0
;
echartDataLegend
.
length
=
0
;
echartDataTime
.
length
=
0
;
echartData
.
value
=
dataDeal
(
res
.
data
.
datalist
);
echartData
.
value
=
dataDeal
(
res
.
data
.
hourWater
);
echartData
.
value
[
0
].
listInfo
.
forEach
((
element
)
=>
{
if
(
element
.
gatherTime
)
{
echartDataTime
.
push
(
element
.
gatherTime
.
split
(
" 00:00:00"
)[
0
]);
...
...
@@ -481,22 +467,22 @@ function pageInitFun(res) {
echartData
.
value
.
forEach
((
element
)
=>
{
let
data1
=
[];
let
data2
=
[];
element
.
listInfo
.
forEach
((
item
)
=>
{
data1
.
push
(
item
.
temperature
);
data2
.
push
(
parseFloat
(
item
.
uc
).
toFixed
(
2
));
});
echartSeries
.
push
(
{
name
:
element
.
transferName
+
"温度"
,
type
:
"line"
,
tooltip
:
{
valueFormatter
:
function
(
value
)
{
return
value
+
" ℃"
;
},
},
data
:
data1
,
},
//
{
//
name: element.transferName + "温度",
//
type: "line",
//
tooltip: {
//
valueFormatter: function (value) {
//
return value + " ℃";
//
},
//
},
//
data: data1,
//
},
{
name
:
element
.
transferName
+
"能耗"
,
type
:
"bar"
,
...
...
@@ -510,6 +496,23 @@ function pageInitFun(res) {
}
);
});
let
temperatureListArr
=
[];
res
.
data
.
temperatureList
.
forEach
(
element
=>
{
temperatureListArr
.
push
(
element
)
})
echartSeries
.
push
(
{
name
:
"平均温度"
,
type
:
"line"
,
tooltip
:
{
valueFormatter
:
function
(
value
)
{
return
value
+
" ℃"
;
},
},
data
:
temperatureListArr
,
},
)
echartSeries
.
forEach
((
element
,
index
)
=>
{
echartDataLegend
.
push
(
element
.
name
);
});
...
...
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