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
3a41f8fd
Commit
3a41f8fd
authored
Aug 16, 2024
by
朱超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
换热站机组能耗更新
parent
30be4035
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
5 deletions
+52
-5
analysis.js
src/api/analysis.js
+7
-0
TransferEnergyView.vue
src/views/HandlerPage/TransferEnergyView.vue
+45
-5
No files found.
src/api/analysis.js
View file @
3a41f8fd
...
...
@@ -71,6 +71,13 @@ export const postSecAbsTUc = params => {
})
}
//二网万平米流量
export
const
postSecTrafficUc
=
params
=>
{
return
http
.
post
(
`/api/analysis/external/SecTrafficUc`
,
params
).
then
(
res
=>
res
).
catch
(
function
(
error
)
{
console
.
log
(
error
);
})
}
//热量分析报表
export
const
postHeatAnalysis
=
params
=>
{
return
http
.
post
(
`/api/analysis/report/HeatAnalysis`
,
params
).
then
(
res
=>
res
).
catch
(
function
(
error
)
{
...
...
src/views/HandlerPage/TransferEnergyView.vue
View file @
3a41f8fd
...
...
@@ -76,7 +76,7 @@
v-model=
"enertyInfo.type"
placeholder=
"请选择"
@
change=
"selTypeChange"
style=
"width: 1
3
0px"
style=
"width: 1
5
0px"
>
<!--
<el-option
label=
"用量环比"
:value=
"0"
/>
-->
<el-option
label=
"热单耗"
:value=
"1"
/>
...
...
@@ -84,11 +84,12 @@
<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=
"9"
/>
<el-option
label=
"二网均温"
:value=
"10"
/>
-->
<el-option
label=
"换热站二网均温"
:value=
"8"
/>
<el-option
label=
"二网温差"
:value=
"9"
/>
<el-option
label=
"二网均温"
:value=
"8"
/>
<el-option
label=
"二网万平米流量"
:value=
"11"
/>
</el-select>
</el-form-item>
<!--
<el-form-item
label=
"用量环比类型"
v-show=
"energyTypeDis"
>
...
...
@@ -166,6 +167,7 @@ import {
postHeatEffiUc
,
postSecAvgTUc
,
postSecAbsTUc
,
postSecTrafficUc
,
}
from
"../../api/analysis"
;
const
options
=
reactive
([]);
const
enterpriseId
=
ref
();
...
...
@@ -402,6 +404,12 @@ function sendClick() {
case
8
:
postSecAvgTUcFun
();
//换热站二网均温
break
;
case
9
:
postSecAbsTUcFun
();
//换热站二网温差
break
;
case
11
:
postSecTrafficUcFun
();
//二网万平米流量
break
;
}
enertyTab
.
value
=
"能耗值("
+
company
.
value
+
")"
;
}
else
{
...
...
@@ -565,6 +573,22 @@ function postHeatEffiUcFun() {
});
}
//换热站机组能耗数据接口(二网温差)
function
postSecAbsTUcFun
()
{
tabloading
.
value
=
true
;
postSecAbsTUc
(
enertyInfo
).
then
((
res
)
=>
{
echarts
.
dispose
(
document
.
getElementById
(
"echartsLayer"
));
if
(
res
.
success
===
true
)
{
pageInitFun
(
res
);
}
else
if
(
res
.
status
==
9
)
{
setInterval
(
function
()
{
tabloading
.
value
=
false
;
this
.
postSecAbsTUcFun
();
},
600000
);
}
});
}
//换热站机组能耗数据接口(换热站二网均温)
function
postSecAvgTUcFun
()
{
tabloading
.
value
=
true
;
...
...
@@ -581,6 +605,22 @@ function postSecAvgTUcFun() {
});
}
//换热站机组能耗数据接口(二网万平米流量)
function
postSecTrafficUcFun
()
{
tabloading
.
value
=
true
;
postSecTrafficUc
(
enertyInfo
).
then
((
res
)
=>
{
echarts
.
dispose
(
document
.
getElementById
(
"echartsLayer"
));
if
(
res
.
success
===
true
)
{
pageInitFun
(
res
);
}
else
if
(
res
.
status
==
9
)
{
setInterval
(
function
()
{
tabloading
.
value
=
false
;
this
.
postSecTrafficUcFun
();
},
600000
);
}
});
}
function
pageInitFun
(
res
)
{
tableData
.
length
=
0
;
res
.
data
.
hourWater
.
forEach
((
element
)
=>
{
...
...
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