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
cea24be1
Commit
cea24be1
authored
Jul 23, 2024
by
朱超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
换热站趋势图更新
parent
7b0a5f6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
TransferEnergyView.vue
src/views/HandlerPage/TransferEnergyView.vue
+11
-5
No files found.
src/views/HandlerPage/TransferEnergyView.vue
View file @
cea24be1
...
...
@@ -169,6 +169,7 @@ const tableHeight = ref(500);
const
computedWidth
=
ref
(
"1200px"
);
const
computedHeight
=
ref
(
"500px"
);
const
formRef
=
ref
(
null
);
const
company
=
ref
(
"W/㎡"
);
const
enertyInfo
=
reactive
({
supplyId
:
null
,
transferId
:
[],
...
...
@@ -248,21 +249,27 @@ function sendClick() {
postQOQlistFun
();
break
;
//用量环比
case
1
:
company
.
value
=
"W/㎡"
;
postHeatUctFun
();
break
;
//热单耗
case
2
:
company
.
value
=
"Kwh/㎡"
;
postElecUcFun
();
//电单耗
break
;
case
3
:
company
.
value
=
"Kg/㎡"
;
postWaterUcFun
();
//电单耗
break
;
case
4
:
company
.
value
=
"W/(㎡×℃)"
;
postDayHeatFun
();
//度日数热耗
break
;
case
5
:
company
.
value
=
"℃"
;
postFirBackTFun
();
//一网回温
break
;
case
6
:
company
.
value
=
"t/h/万㎡"
;
postWPMLLFun
();
//一网万平米流量
break
;
case
7
:
...
...
@@ -282,7 +289,6 @@ function sendClick() {
function
delJson
()
{}
function
selTypeChange
()
{
console
.
log
(
energyTypeDis
);
if
(
enertyInfo
.
type
==
0
)
{
energyTypeDis
.
value
=
true
;
}
else
{
...
...
@@ -461,7 +467,7 @@ function pageInitFun(res) {
echartData
.
value
=
dataDeal
(
res
.
data
.
hourWater
);
echartData
.
value
[
0
].
listInfo
.
forEach
((
element
)
=>
{
if
(
element
.
gatherTime
)
{
echartDataTime
.
push
(
element
.
gatherTime
.
split
(
" 00:00:00"
)[
0
]
);
echartDataTime
.
push
(
element
.
gatherTime
);
}
});
echartData
.
value
.
forEach
((
element
)
=>
{
...
...
@@ -567,7 +573,7 @@ function echartInit() {
var
myChart
=
echarts
.
init
(
chartDom
);
var
option
;
myChart
.
resize
({
width
:
computedWidth
.
value
,
height
:
computedHeight
.
value
});
var
company
=
"T"
;
//
var company = "T";
option
=
{
title
:
{
...
...
@@ -618,7 +624,7 @@ function echartInit() {
name
:
"能耗"
,
position
:
"right"
,
axisLabel
:
{
formatter
:
"{value} "
+
company
,
formatter
:
"{value} "
+
company
.
value
,
},
},
],
...
...
@@ -632,7 +638,7 @@ function changeFun() {
var
divWidth
=
document
.
getElementById
(
"contentBlock"
).
offsetWidth
;
var
divHeight
=
document
.
getElementById
(
"contentBlock"
).
scrollHeight
;
computedWidth
.
value
=
divWidth
+
"px"
;
computedHeight
.
value
=
divHeight
*
0.
7
+
"px"
;
computedHeight
.
value
=
divHeight
*
0.
6
+
"px"
;
echartInit
();
}
...
...
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