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
518fa6e5
Commit
518fa6e5
authored
Jul 23, 2024
by
朱超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
换热站趋势图优化
parent
b1443579
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
TransferEnergyView.vue
src/views/HandlerPage/TransferEnergyView.vue
+18
-18
No files found.
src/views/HandlerPage/TransferEnergyView.vue
View file @
518fa6e5
...
...
@@ -197,8 +197,8 @@ function getEnterprise() {
}
function
transferIdChange
()
{
if
(
enertyInfo
.
transferId
.
length
>
10
)
{
ElMessage
.
error
(
'换热机组最多只能选择10个'
)
if
(
enertyInfo
.
transferId
.
length
>
10
)
{
ElMessage
.
error
(
"换热机组最多只能选择10个"
);
}
}
...
...
@@ -239,8 +239,8 @@ function getSupplys() {
function
sendClick
()
{
formRef
.
value
.
validate
((
valid
)
=>
{
if
(
enertyInfo
.
transferId
.
length
>
10
)
{
ElMessage
.
error
(
'换热机组最多只能选择10个'
);
if
(
enertyInfo
.
transferId
.
length
>
10
)
{
ElMessage
.
error
(
"换热机组最多只能选择10个"
);
return
false
;
}
if
(
valid
)
{
...
...
@@ -503,11 +503,10 @@ function pageInitFun(res) {
);
});
let
temperatureListArr
=
[];
res
.
data
.
temperatureList
.
forEach
(
element
=>
{
temperatureListArr
.
push
(
element
)
})
echartSeries
.
push
(
{
res
.
data
.
temperatureList
.
forEach
((
element
)
=>
{
temperatureListArr
.
push
(
element
);
});
echartSeries
.
push
({
name
:
"平均温度"
,
type
:
"line"
,
tooltip
:
{
...
...
@@ -516,8 +515,7 @@ function pageInitFun(res) {
},
},
data
:
temperatureListArr
,
},
)
});
echartSeries
.
forEach
((
element
,
index
)
=>
{
echartDataLegend
.
push
(
element
.
name
);
...
...
@@ -576,6 +574,7 @@ function echartInit() {
// var company = "T";
option
=
{
color
:
[
"#91cc75"
,
"#fac858"
,
"#5470c6"
,
"#ee6666"
,
"#73c0de"
,
"#3ba272"
,
"#fc8452"
,
"#ea7ccc"
,
"#766451"
,
"#cba1ff"
,
"#470c66"
],
title
:
{
text
:
"换热站趋势图"
,
top
:
0
,
...
...
@@ -591,6 +590,7 @@ function echartInit() {
},
},
legend
:
{
width
:
"70%"
,
data
:
echartDataLegend
,
},
xAxis
:
[
...
...
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