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
6356c52d
Commit
6356c52d
authored
Aug 19, 2024
by
朱超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
总览
parent
f1c9a518
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
86 additions
and
10 deletions
+86
-10
OverviewPage.vue
src/views/HandlerPage/OverviewPage.vue
+86
-10
No files found.
src/views/HandlerPage/OverviewPage.vue
View file @
6356c52d
...
@@ -2,7 +2,11 @@
...
@@ -2,7 +2,11 @@
<div
class=
"contentBlock"
id=
"contentBlock"
>
<div
class=
"contentBlock"
id=
"contentBlock"
>
<div
class=
"contentBlockInn"
v-if=
"pageInit"
>
<div
class=
"contentBlockInn"
v-if=
"pageInit"
>
<div
class=
"flexBlock"
>
<div
class=
"flexBlock"
>
<el-card
class=
"card-contianer"
style=
"width: 46%"
>
<el-card
class=
"card-contianer"
style=
"width: 46%"
v-loading=
"loading13"
>
<ul
class=
"titinfoL"
>
<ul
class=
"titinfoL"
>
<li>
<li>
<div>
<div>
...
@@ -42,7 +46,11 @@
...
@@ -42,7 +46,11 @@
</li>
</li>
</ul>
</ul>
</el-card>
</el-card>
<el-card
class=
"card-contianer"
style=
"width: 34%"
>
<el-card
class=
"card-contianer"
style=
"width: 34%"
v-loading=
"loading14"
>
<ul
class=
"titinfoM"
>
<ul
class=
"titinfoM"
>
<li>
<li>
预测热量
预测热量
...
@@ -91,7 +99,11 @@
...
@@ -91,7 +99,11 @@
<div
class=
"mainBlock"
>
<div
class=
"mainBlock"
>
<div
class=
"mainBlockInn"
>
<div
class=
"mainBlockInn"
>
<div
class=
"flexBlock subTitBlockL"
>
<div
class=
"flexBlock subTitBlockL"
>
<el-card
class=
"card-contianer"
style=
"width: 33%"
>
<el-card
class=
"card-contianer"
style=
"width: 33%"
v-loading=
"loading1"
>
<div
<div
style=
"font-size: 120%; text-align: center; font-weight: bolder"
style=
"font-size: 120%; text-align: center; font-weight: bolder"
>
>
...
@@ -147,7 +159,11 @@
...
@@ -147,7 +159,11 @@
</tr>
</tr>
</table>
</table>
</el-card>
</el-card>
<el-card
class=
"card-contianer subTitBlockM"
style=
"width: 33%"
>
<el-card
class=
"card-contianer subTitBlockM"
style=
"width: 33%"
v-loading=
"loading2"
>
<div
v-if=
"gYCompanyEnergyInit"
>
<div
v-if=
"gYCompanyEnergyInit"
>
<div
<div
style=
"
style=
"
...
@@ -211,7 +227,11 @@
...
@@ -211,7 +227,11 @@
</table>
</table>
</div>
</div>
</el-card>
</el-card>
<el-card
class=
"card-contianer"
style=
"width: 33%"
>
<el-card
class=
"card-contianer"
style=
"width: 33%"
v-loading=
"loading3"
>
<div
class=
"echartLayer1"
id=
"echartLayer1"
></div>
<div
class=
"echartLayer1"
id=
"echartLayer1"
></div>
</el-card>
</el-card>
</div>
</div>
...
@@ -220,6 +240,8 @@
...
@@ -220,6 +240,8 @@
class=
"card-contianer"
class=
"card-contianer"
body-style=
"padding:5%;"
body-style=
"padding:5%;"
style=
"width: 20%"
style=
"width: 20%"
v-loading=
"loading4"
>
>
>
<div
class=
"echartLayer2"
id=
"echartLayer2"
></div>
<div
class=
"echartLayer2"
id=
"echartLayer2"
></div>
</el-card>
</el-card>
...
@@ -227,6 +249,8 @@
...
@@ -227,6 +249,8 @@
class=
"card-contianer"
class=
"card-contianer"
body-style=
"padding:5%;"
body-style=
"padding:5%;"
style=
"width: 20%"
style=
"width: 20%"
v-loading=
"loading5"
>
>
>
<div
class=
"echartLayer3"
id=
"echartLayer3"
></div>
<div
class=
"echartLayer3"
id=
"echartLayer3"
></div>
</el-card>
</el-card>
...
@@ -234,6 +258,8 @@
...
@@ -234,6 +258,8 @@
class=
"card-contianer"
class=
"card-contianer"
body-style=
"padding:5%;"
body-style=
"padding:5%;"
style=
"width: 20%"
style=
"width: 20%"
v-loading=
"loading6"
>
>
>
<div
class=
"echartLayer4"
id=
"echartLayer4"
></div>
<div
class=
"echartLayer4"
id=
"echartLayer4"
></div>
</el-card>
</el-card>
...
@@ -241,6 +267,8 @@
...
@@ -241,6 +267,8 @@
class=
"card-contianer"
class=
"card-contianer"
body-style=
"padding:5%;"
body-style=
"padding:5%;"
style=
"width: 20%"
style=
"width: 20%"
v-loading=
"loading7"
>
>
>
<div
class=
"echartLayer5"
id=
"echartLayer5"
></div>
<div
class=
"echartLayer5"
id=
"echartLayer5"
></div>
</el-card>
</el-card>
...
@@ -248,6 +276,8 @@
...
@@ -248,6 +276,8 @@
class=
"card-contianer"
class=
"card-contianer"
body-style=
"padding:5%;"
body-style=
"padding:5%;"
style=
"width: 20%"
style=
"width: 20%"
v-loading=
"loading8"
>
>
>
<div
class=
"echartLayer6"
id=
"echartLayer6"
></div>
<div
class=
"echartLayer6"
id=
"echartLayer6"
></div>
</el-card>
</el-card>
...
@@ -257,6 +287,8 @@
...
@@ -257,6 +287,8 @@
class=
"card-contianer"
class=
"card-contianer"
body-style=
"padding:5%;"
body-style=
"padding:5%;"
style=
"width: 25%"
style=
"width: 25%"
v-loading=
"loading9"
>
>
>
<div
class=
"echartLayer7"
id=
"echartLayer7"
></div>
<div
class=
"echartLayer7"
id=
"echartLayer7"
></div>
</el-card>
</el-card>
...
@@ -264,6 +296,8 @@
...
@@ -264,6 +296,8 @@
class=
"card-contianer"
class=
"card-contianer"
body-style=
"padding:5%;"
body-style=
"padding:5%;"
style=
"width: 25%"
style=
"width: 25%"
v-loading=
"loading10"
>
>
>
<div
class=
"echartLayer8"
id=
"echartLayer8"
></div>
<div
class=
"echartLayer8"
id=
"echartLayer8"
></div>
</el-card>
</el-card>
...
@@ -271,6 +305,8 @@
...
@@ -271,6 +305,8 @@
class=
"card-contianer"
class=
"card-contianer"
body-style=
"padding:5%;"
body-style=
"padding:5%;"
style=
"width: 25%"
style=
"width: 25%"
v-loading=
"loading11"
>
>
>
<div
class=
"echartLayer9"
id=
"echartLayer9"
></div>
<div
class=
"echartLayer9"
id=
"echartLayer9"
></div>
</el-card>
</el-card>
...
@@ -278,6 +314,8 @@
...
@@ -278,6 +314,8 @@
class=
"card-contianer"
class=
"card-contianer"
body-style=
"padding:5%;"
body-style=
"padding:5%;"
style=
"width: 25%"
style=
"width: 25%"
v-loading=
"loading12"
>
>
>
<div
class=
"echartLayer10"
id=
"echartLayer10"
></div>
<div
class=
"echartLayer10"
id=
"echartLayer10"
></div>
</el-card>
</el-card>
...
@@ -329,6 +367,20 @@ const areaList = reactive({
...
@@ -329,6 +367,20 @@ const areaList = reactive({
userCount
:
76177
,
userCount
:
76177
,
});
});
const
loading
=
ref
(
false
);
const
loading
=
ref
(
false
);
const
loading1
=
ref
(
false
);
const
loading2
=
ref
(
false
);
const
loading3
=
ref
(
false
);
const
loading4
=
ref
(
false
);
const
loading5
=
ref
(
false
);
const
loading6
=
ref
(
false
);
const
loading7
=
ref
(
false
);
const
loading8
=
ref
(
false
);
const
loading9
=
ref
(
false
);
const
loading10
=
ref
(
false
);
const
loading11
=
ref
(
false
);
const
loading12
=
ref
(
false
);
const
loading13
=
ref
(
false
);
const
loading14
=
ref
(
false
);
const
allHeat
=
reactive
([]);
const
allHeat
=
reactive
([]);
const
gYPipeReal
=
reactive
([]);
const
gYPipeReal
=
reactive
([]);
const
gYCompanyEnergy
=
reactive
([]);
const
gYCompanyEnergy
=
reactive
([]);
...
@@ -347,7 +399,7 @@ const timeV = ref("");
...
@@ -347,7 +399,7 @@ const timeV = ref("");
const
selTimeF
=
ref
(
true
);
const
selTimeF
=
ref
(
true
);
//能耗总览页---概况接口
//能耗总览页---概况接口
function
postArealistFun
()
{
function
postArealistFun
()
{
loading
.
value
=
true
;
loading
13
.
value
=
true
;
postArealist
().
then
((
res
)
=>
{
postArealist
().
then
((
res
)
=>
{
if
(
res
.
success
===
true
)
{
if
(
res
.
success
===
true
)
{
areaList
.
supplyYear
=
res
.
data
[
0
].
supplyYear
;
areaList
.
supplyYear
=
res
.
data
[
0
].
supplyYear
;
...
@@ -357,15 +409,16 @@ function postArealistFun() {
...
@@ -357,15 +409,16 @@ function postArealistFun() {
areaList
.
transferCount
=
res
.
data
[
0
].
transferCount
;
areaList
.
transferCount
=
res
.
data
[
0
].
transferCount
;
areaList
.
userCount
=
res
.
data
[
0
].
userCount
;
areaList
.
userCount
=
res
.
data
[
0
].
userCount
;
}
else
{
}
else
{
loading
.
value
=
false
;
ElMessage
.
error
(
res
.
message
);
ElMessage
.
error
(
res
.
message
);
}
}
loading13
.
value
=
false
;
postGYPipeRealFun
();
postGYPipeRealFun
();
postGYCompanyEnergyFun
();
postGYCompanyEnergyFun
();
});
});
}
}
function
postGYPipeRealFun
()
{
function
postGYPipeRealFun
()
{
loading1
.
value
=
true
;
postGYPipeReal
().
then
((
res
)
=>
{
postGYPipeReal
().
then
((
res
)
=>
{
if
(
res
.
success
===
true
)
{
if
(
res
.
success
===
true
)
{
gYPipeReal
.
value
=
res
.
data
;
gYPipeReal
.
value
=
res
.
data
;
...
@@ -373,36 +426,40 @@ function postGYPipeRealFun() {
...
@@ -373,36 +426,40 @@ function postGYPipeRealFun() {
loading
.
value
=
false
;
loading
.
value
=
false
;
ElMessage
.
error
(
res
.
message
);
ElMessage
.
error
(
res
.
message
);
}
}
loading1
.
value
=
false
;
postAllHeatFun
();
postAllHeatFun
();
});
});
}
}
function
postAllHeatFun
()
{
function
postAllHeatFun
()
{
loading14
.
value
=
true
;
postAllHeat
().
then
((
res
)
=>
{
postAllHeat
().
then
((
res
)
=>
{
if
(
res
.
success
===
true
)
{
if
(
res
.
success
===
true
)
{
allHeat
.
value
=
res
.
data
[
0
];
allHeat
.
value
=
res
.
data
[
0
];
}
else
{
}
else
{
loading
.
value
=
false
;
ElMessage
.
error
(
res
.
message
);
ElMessage
.
error
(
res
.
message
);
}
}
//postGYCompanyEnergyFun()
;
loading14
.
value
=
false
;
postGYWeatherFun
();
postGYWeatherFun
();
});
});
}
}
function
postGYCompanyEnergyFun
()
{
function
postGYCompanyEnergyFun
()
{
loading2
.
value
=
true
;
postGYCompanyEnergy
(
params
).
then
((
res
)
=>
{
postGYCompanyEnergy
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
===
true
)
{
if
(
res
.
success
===
true
)
{
gYCompanyEnergy
.
value
=
res
.
data
[
0
];
gYCompanyEnergy
.
value
=
res
.
data
[
0
];
}
else
{
}
else
{
ElMessage
.
error
(
res
.
message
);
ElMessage
.
error
(
res
.
message
);
}
}
gYCompanyEnergyInit
.
value
=
true
;
loading2
.
value
=
false
;
gYCompanyEnergyInit
.
value
=
false
;
});
});
}
}
//近七日气象趋势
//近七日气象趋势
function
postGYWeatherFun
()
{
function
postGYWeatherFun
()
{
loading3
.
value
=
true
;
postGYWeather
().
then
((
res
)
=>
{
postGYWeather
().
then
((
res
)
=>
{
if
(
res
.
success
===
true
)
{
if
(
res
.
success
===
true
)
{
gYWeather
.
data1
=
[];
gYWeather
.
data1
=
[];
...
@@ -420,6 +477,7 @@ function postGYWeatherFun() {
...
@@ -420,6 +477,7 @@ function postGYWeatherFun() {
loading
.
value
=
false
;
loading
.
value
=
false
;
ElMessage
.
error
(
res
.
message
);
ElMessage
.
error
(
res
.
message
);
}
}
loading3
.
value
=
false
;
pageInit
.
value
=
true
;
pageInit
.
value
=
true
;
setTimeout
(
function
()
{
setTimeout
(
function
()
{
echartInit1
();
echartInit1
();
...
@@ -430,6 +488,7 @@ function postGYWeatherFun() {
...
@@ -430,6 +488,7 @@ function postGYWeatherFun() {
//服务中心热单耗
//服务中心热单耗
function
postGYCenterHeatUcFun
()
{
function
postGYCenterHeatUcFun
()
{
loading4
.
value
=
true
;
postGYCenterHeatUc
(
params
).
then
((
res
)
=>
{
postGYCenterHeatUc
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
===
true
)
{
if
(
res
.
success
===
true
)
{
const
data
=
dataDeal
(
res
.
data
.
ucData
);
const
data
=
dataDeal
(
res
.
data
.
ucData
);
...
@@ -455,10 +514,12 @@ function postGYCenterHeatUcFun() {
...
@@ -455,10 +514,12 @@ function postGYCenterHeatUcFun() {
loading
.
value
=
false
;
loading
.
value
=
false
;
ElMessage
.
error
(
res
.
message
);
ElMessage
.
error
(
res
.
message
);
}
}
loading4
.
value
=
false
;
});
});
}
}
//服务中心度日数热耗
//服务中心度日数热耗
function
postGYCenterDayHeatUcFun
()
{
function
postGYCenterDayHeatUcFun
()
{
loading5
.
value
=
true
;
postGYCenterDayHeatUc
(
params
).
then
((
res
)
=>
{
postGYCenterDayHeatUc
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
===
true
)
{
if
(
res
.
success
===
true
)
{
const
data
=
dataDeal
(
res
.
data
.
ucData
);
const
data
=
dataDeal
(
res
.
data
.
ucData
);
...
@@ -484,11 +545,13 @@ function postGYCenterDayHeatUcFun() {
...
@@ -484,11 +545,13 @@ function postGYCenterDayHeatUcFun() {
loading
.
value
=
false
;
loading
.
value
=
false
;
ElMessage
.
error
(
res
.
message
);
ElMessage
.
error
(
res
.
message
);
}
}
loading5
.
value
=
false
;
});
});
}
}
//二次侧水耗
//二次侧水耗
function
postGYCenterWaterUcFun
()
{
function
postGYCenterWaterUcFun
()
{
loading6
.
value
=
true
;
postGYCenterWaterUc
(
params
).
then
((
res
)
=>
{
postGYCenterWaterUc
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
===
true
)
{
if
(
res
.
success
===
true
)
{
const
data
=
dataDeal
(
res
.
data
);
const
data
=
dataDeal
(
res
.
data
);
...
@@ -510,11 +573,13 @@ function postGYCenterWaterUcFun() {
...
@@ -510,11 +573,13 @@ function postGYCenterWaterUcFun() {
loading
.
value
=
false
;
loading
.
value
=
false
;
ElMessage
.
error
(
res
.
message
);
ElMessage
.
error
(
res
.
message
);
}
}
loading6
.
value
=
false
;
});
});
}
}
//二次侧电耗
//二次侧电耗
function
postGYCenterElecUcFun
()
{
function
postGYCenterElecUcFun
()
{
loading7
.
value
=
true
;
postGYCenterElecUc
(
params
).
then
((
res
)
=>
{
postGYCenterElecUc
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
===
true
)
{
if
(
res
.
success
===
true
)
{
const
data
=
dataDeal
(
res
.
data
);
const
data
=
dataDeal
(
res
.
data
);
...
@@ -536,11 +601,13 @@ function postGYCenterElecUcFun() {
...
@@ -536,11 +601,13 @@ function postGYCenterElecUcFun() {
loading
.
value
=
false
;
loading
.
value
=
false
;
ElMessage
.
error
(
res
.
message
);
ElMessage
.
error
(
res
.
message
);
}
}
loading7
.
value
=
false
;
});
});
}
}
//万平米流量(一次侧)
//万平米流量(一次侧)
function
postGYCenterWPMLLFun
()
{
function
postGYCenterWPMLLFun
()
{
loading8
.
value
=
true
;
postGYCenterWPMLL
(
params
).
then
((
res
)
=>
{
postGYCenterWPMLL
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
===
true
)
{
if
(
res
.
success
===
true
)
{
const
data
=
dataDeal
(
res
.
data
);
const
data
=
dataDeal
(
res
.
data
);
...
@@ -562,11 +629,13 @@ function postGYCenterWPMLLFun() {
...
@@ -562,11 +629,13 @@ function postGYCenterWPMLLFun() {
loading
.
value
=
false
;
loading
.
value
=
false
;
ElMessage
.
error
(
res
.
message
);
ElMessage
.
error
(
res
.
message
);
}
}
loading8
.
value
=
false
;
});
});
}
}
//一次侧流量分配
//一次侧流量分配
function
postGYSupplyWaterFun
()
{
function
postGYSupplyWaterFun
()
{
loading9
.
value
=
true
;
postGYSupplyWater
(
params
).
then
((
res
)
=>
{
postGYSupplyWater
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
===
true
)
{
if
(
res
.
success
===
true
)
{
const
data
=
res
.
data
;
const
data
=
res
.
data
;
...
@@ -584,11 +653,13 @@ function postGYSupplyWaterFun() {
...
@@ -584,11 +653,13 @@ function postGYSupplyWaterFun() {
loading
.
value
=
false
;
loading
.
value
=
false
;
ElMessage
.
error
(
res
.
message
);
ElMessage
.
error
(
res
.
message
);
}
}
loading9
.
value
=
false
;
});
});
}
}
//能耗总览页---二网均温
//能耗总览页---二网均温
function
postGYCenterSecAvgTFun
()
{
function
postGYCenterSecAvgTFun
()
{
loading10
.
value
=
true
;
postGYCenterSecAvgT
(
params
).
then
((
res
)
=>
{
postGYCenterSecAvgT
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
===
true
)
{
if
(
res
.
success
===
true
)
{
const
data
=
dataDeal
(
res
.
data
);
const
data
=
dataDeal
(
res
.
data
);
...
@@ -610,11 +681,13 @@ function postGYCenterSecAvgTFun() {
...
@@ -610,11 +681,13 @@ function postGYCenterSecAvgTFun() {
loading
.
value
=
false
;
loading
.
value
=
false
;
ElMessage
.
error
(
res
.
message
);
ElMessage
.
error
(
res
.
message
);
}
}
loading10
.
value
=
false
;
});
});
}
}
//二网温差
//二网温差
function
postGYCenterSecAbsTFun
()
{
function
postGYCenterSecAbsTFun
()
{
loading11
.
value
=
true
;
postGYCenterSecAbsT
(
params
).
then
((
res
)
=>
{
postGYCenterSecAbsT
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
===
true
)
{
if
(
res
.
success
===
true
)
{
const
data
=
dataDeal
(
res
.
data
);
const
data
=
dataDeal
(
res
.
data
);
...
@@ -636,11 +709,13 @@ function postGYCenterSecAbsTFun() {
...
@@ -636,11 +709,13 @@ function postGYCenterSecAbsTFun() {
loading
.
value
=
false
;
loading
.
value
=
false
;
ElMessage
.
error
(
res
.
message
);
ElMessage
.
error
(
res
.
message
);
}
}
loading11
.
value
=
false
;
});
});
}
}
//二网万平米流量
//二网万平米流量
function
postGYCenterECWPMLLFun
()
{
function
postGYCenterECWPMLLFun
()
{
loading12
.
value
=
true
;
postGYCenterECWPMLL
(
params
).
then
((
res
)
=>
{
postGYCenterECWPMLL
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
===
true
)
{
if
(
res
.
success
===
true
)
{
const
data
=
dataDeal
(
res
.
data
);
const
data
=
dataDeal
(
res
.
data
);
...
@@ -662,6 +737,7 @@ function postGYCenterECWPMLLFun() {
...
@@ -662,6 +737,7 @@ function postGYCenterECWPMLLFun() {
loading
.
value
=
false
;
loading
.
value
=
false
;
ElMessage
.
error
(
res
.
message
);
ElMessage
.
error
(
res
.
message
);
}
}
loading12
.
value
=
false
;
});
});
}
}
...
...
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