Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
energyai_vue
Project
Project
Details
Activity
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
葛齐林
energyai_vue
Commits
2cf8d0c7
Commit
2cf8d0c7
authored
Apr 20, 2021
by
xiexingan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
8955793e
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
425 additions
and
68 deletions
+425
-68
query-detail copy.vue
src/pages/eq/view/query-detail copy.vue
+337
-0
query-detail.vue
src/pages/eq/view/query-detail.vue
+88
-68
No files found.
src/pages/eq/view/query-detail copy.vue
0 → 100644
View file @
2cf8d0c7
This diff is collapsed.
Click to expand it.
src/pages/eq/view/query-detail.vue
View file @
2cf8d0c7
...
@@ -26,98 +26,106 @@
...
@@ -26,98 +26,106 @@
p.leftP 安装日期: :
{{
dataForm
.
installDate
}}
p.leftP 安装日期: :
{{
dataForm
.
installDate
}}
.info-form
.info-form
el-row
el-row
el-col(:span="8")
el-col(:span="8", v-if="openOrClose.indexOf(dataForm.type)>-1")
el-row
el-col
.switch-warp
.switch-warp
div(:class="[state == 1 ? 'on' : '']", @click="handleSwitch(1)") 打开
div(:class="[state == 1 ? 'on' : '']", @click="handleSwitch(1)") 打开
div(:class="[state == 2 ? 'on' : '']", @click="handleSwitch(2)") 关闭
div(:class="[state == 2 ? 'on' : '']", @click="handleSwitch(2)") 关闭
el-col.text-size(:span="16", flex, justify-content="start")
el-col.text-size 当前已
div(style="width: 60px") 频率设置:
el-input(size="mini", style="width: 60px", v-model="speed")
span 转
el-button(type="primary", size="mini", style="margin-left: 10px") 设定
el-row
el-col.text-size(:span="8") 当前已
span(v-if="dataForm.state == 1") 打开
span(v-if="dataForm.state == 1") 打开
span(v-else-if="dataForm.state == 2") 关闭
span(v-else-if="dataForm.state == 2") 关闭
span(v-else) 故障
span(v-else) 故障
el-col.text-size(:span="10") 当前频率:
el-col.text-size(:span="16", flex, justify-content="start" v-if="dataForm.type=='303310efddb34a2e9bf269bdff8a7dc5'||dataForm.type=='f4c840711eae4bcb9536a890cdfda493'")
el-row
el-col(:span="24")
span 频率设置:
el-input(size="mini", style="width: 60px", v-model="speed")
span 转
el-button(type="primary", size="mini", style="margin-left: 10px") 设定
el-col.text-size(:span="24") 当前频率:
span(style="color: blue") 2289
span(style="color: blue") 2289
span 转/分
span 转/分
//- 卷帘门
el-col(v-if="dataForm.type=='c788ce98c1f248f590434394da485ce4'")
el-button(type="primary", size="mini", style="margin-left: 10px") 上升
el-button(type="primary", size="mini", style="margin-left: 10px") 下降
el-button(type="primary", size="mini", style="margin-left: 10px") 停止
.info-state
.info-state
span(style="font-weight: bold") 设备运行状态
span(style="font-weight: bold") 设备运行状态
div(v-if=
'this.params.length&&this.params[0].electric_energy'
)
div(v-if=
"this.params.length && this.params[0].electric_energy"
)
span.type 电量:
span.type 电量:
span.value
{{
params
[
0
].
electric_energy
}}
span.value
{{
params
[
0
].
electric_energy
}}
div(v-if=
'this.params.length&&this.params[0].current_frequency'
)
div(v-if=
"this.params.length && this.params[0].current_frequency"
)
span.type 当前频率:
span.type 当前频率:
span.value
{{
params
[
0
].
current_frequency
}}
span.value
{{
params
[
0
].
current_frequency
}}
div(v-if=
'this.params.length&&this.params[0].feng_shui_mode'
)
div(v-if=
"this.params.length && this.params[0].feng_shui_mode"
)
span.type 风水模式:
span.type 风水模式:
span.value
{{
params
[
0
].
feng_shui_mode
}}
span.value
{{
params
[
0
].
feng_shui_mode
}}
div(v-if=
'this.params.length&&this.params[0].hot_water_mode'
)
div(v-if=
"this.params.length && this.params[0].hot_water_mode"
)
span.type 热水模式:
span.type 热水模式:
span.value
{{
params
[
0
].
hot_water_mode
}}
span.value
{{
params
[
0
].
hot_water_mode
}}
div(v-if=
'this.params.length&&this.params[0].water_supply_temperature'
)
div(v-if=
"this.params.length && this.params[0].water_supply_temperature"
)
span.type 供水温度:
span.type 供水温度:
span.value
{{
params
[
0
].
water_supply_temperature
}}
℃
span.value
{{
params
[
0
].
water_supply_temperature
}}
℃
div(v-if=
'this.params.length&&this.params[0].return_water_temperature'
)
div(v-if=
"this.params.length && this.params[0].return_water_temperature"
)
span.type 回水温度:
span.type 回水温度:
span.value
{{
params
[
0
].
return_water_temperature
}}
℃
span.value
{{
params
[
0
].
return_water_temperature
}}
℃
div(v-if=
'this.params.length&&this.params[0].heating_start_temperature'
)
div(v-if=
"this.params.length && this.params[0].heating_start_temperature"
)
span.type 制热启动温度:
span.type 制热启动温度:
span.value
{{
params
[
0
].
heating_start_temperature
}}
℃
span.value
{{
params
[
0
].
heating_start_temperature
}}
℃
div(v-if=
'this.params.length&&this.params[0].heating_stop_temperature'
)
div(v-if=
"this.params.length && this.params[0].heating_stop_temperature"
)
span.type 制热停止温度:
span.type 制热停止温度:
span.value
{{
params
[
0
].
heating_stop_temperature
}}
℃
span.value
{{
params
[
0
].
heating_stop_temperature
}}
℃
div(v-if=
'this.params.length&&this.params[0].indoor_ambient_temperature'
)
div(v-if=
"this.params.length && this.params[0].indoor_ambient_temperature"
)
span.type 室内环境温度:
span.type 室内环境温度:
span.value
{{
params
[
0
].
indoor_ambient_temperature
}}
℃
span.value
{{
params
[
0
].
indoor_ambient_temperature
}}
℃
div(v-if=
'this.params.length&&this.params[0].outlet_temperature'
)
div(v-if=
"this.params.length && this.params[0].outlet_temperature"
)
span.type 出风温度:
span.type 出风温度:
span.value
{{
params
[
0
].
outlet_temperature
}}
℃
span.value
{{
params
[
0
].
outlet_temperature
}}
℃
div(v-if=
'this.params.length&&this.params[0].return_air_temperature'
)
div(v-if=
"this.params.length && this.params[0].return_air_temperature"
)
span.type 回风温度:
span.type 回风温度:
span.value
{{
params
[
0
].
return_air_temperature
}}
℃
span.value
{{
params
[
0
].
return_air_temperature
}}
℃
div(v-if=
'this.params.length&&this.params[0].hot_air_start_temperature'
)
div(v-if=
"this.params.length && this.params[0].hot_air_start_temperature"
)
span.type 热风启动温度:
span.type 热风启动温度:
span.value
{{
params
[
0
].
hot_air_start_temperature
}}
℃
span.value
{{
params
[
0
].
hot_air_start_temperature
}}
℃
div(v-if=
'this.params.length&&this.params[0].hot_air_stop_temperature'
)
div(v-if=
"this.params.length && this.params[0].hot_air_stop_temperature"
)
span.type 热风停止温度:
span.type 热风停止温度:
span.value
{{
params
[
0
].
hot_air_stop_temperature
}}
℃
span.value
{{
params
[
0
].
hot_air_stop_temperature
}}
℃
div(v-if=
'this.params.length&&this.params[0].temperature'
)
div(v-if=
"this.params.length && this.params[0].temperature"
)
span.type 温度:
span.type 温度:
span.value
{{
params
[
0
].
temperature
}}
℃
span.value
{{
params
[
0
].
temperature
}}
℃
div(v-if=
'this.params.length&&this.params[0].humidity'
)
div(v-if=
"this.params.length && this.params[0].humidity"
)
span.type 湿度:
span.type 湿度:
span.value
{{
params
[
0
].
humidity
}}
span.value
{{
params
[
0
].
humidity
}}
div(v-if=
'this.params.length&&this.params[0].wind_speed'
)
div(v-if=
"this.params.length && this.params[0].wind_speed"
)
span.type 风速:
span.type 风速:
span.value
{{
params
[
0
].
wind_speed
}}
span.value
{{
params
[
0
].
wind_speed
}}
div(v-if=
'this.params.length&&this.params[0].wind_direction'
)
div(v-if=
"this.params.length && this.params[0].wind_direction"
)
span.type 风向:
span.type 风向:
span.value
{{
params
[
0
].
wind_direction
}}
span.value
{{
params
[
0
].
wind_direction
}}
div(v-if=
'this.params.length&&this.params[0].Illuminance'
)
div(v-if=
"this.params.length && this.params[0].Illuminance"
)
span.type 光照度:
span.type 光照度:
span.value
{{
params
[
0
].
Illuminance
}}
span.value
{{
params
[
0
].
Illuminance
}}
div(v-if=
'this.params.length&&this.params[0].carbon_dioxide'
)
div(v-if=
"this.params.length && this.params[0].carbon_dioxide"
)
span.type CO2:
span.type CO2:
span.value
{{
params
[
0
].
carbon_dioxide
}}
span.value
{{
params
[
0
].
carbon_dioxide
}}
div(v-if=
'this.params.length&&this.params[0].fine_particles'
)
div(v-if=
"this.params.length && this.params[0].fine_particles"
)
span.type PM2.5:
span.type PM2.5:
span.value
{{
params
[
0
].
fine_particles
}}
span.value
{{
params
[
0
].
fine_particles
}}
div(v-if=
'this.params.length&&this.params[0].radiation'
)
div(v-if=
"this.params.length && this.params[0].radiation"
)
span.type 辐射:
span.type 辐射:
span.value
{{
params
[
0
].
radiation
}}
span.value
{{
params
[
0
].
radiation
}}
div(v-if=
'this.params.length&&this.params[0].setting_temperature'
)
div(v-if=
"this.params.length && this.params[0].setting_temperature"
)
span.type 设定温度:
span.type 设定温度:
span.value
{{
params
[
0
].
setting_temperature
}}
℃
span.value
{{
params
[
0
].
setting_temperature
}}
℃
div(v-if=
'this.params.length&&this.params[0].setting_mode'
)
div(v-if=
"this.params.length && this.params[0].setting_mode"
)
span.type 设定模式:
span.type 设定模式:
span.value
{{
params
[
0
].
setting_mode
}}
span.value
{{
params
[
0
].
setting_mode
}}
div(v-if=
'this.params.length&&this.params[0].setting_wind_speed'
)
div(v-if=
"this.params.length && this.params[0].setting_wind_speed"
)
span.type 设定风速:
span.type 设定风速:
span.value
{{
params
[
0
].
setting_wind_speed
}}
span.value
{{
params
[
0
].
setting_wind_speed
}}
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -144,7 +152,19 @@ export default {
...
@@ -144,7 +152,19 @@ export default {
pfjList
:
[],
//排风机
pfjList
:
[],
//排风机
sbList
:
[],
//水泵
sbList
:
[],
//水泵
sljfgList
:
[],
//室内机风柜
sljfgList
:
[],
//室内机风柜
params
:
[]
params
:
[],
openOrClose
:
[
'b6af764f2a6e454490a6b1b3c9057e57'
,
//排风机
'ece0b8b2db27411886254e81134988a3'
,
//机房空调380
'b47661ca1d454f9792ba5369f3cb2bc5'
,
//机房空调220
'49f5921a6d7f43cfa222c09f0223ae04'
,
//电动排烟窗
'b45827c068254695864ee3c1d42573cb'
,
//风冷热泵机组
'303310efddb34a2e9bf269bdff8a7dc5'
,
//室内机风柜
'f4c840711eae4bcb9536a890cdfda493'
,
//水泵
'173466a2cf9a42a6a17b2bdfbeae36d5'
,
//多联室内机
'8f5530fee2484e8eb107c0ca672132b2'
,
//多联室外机
'8f0787103561423887324f8ac3c36b89'
//多联新风处理机室内机
]
}
}
},
},
...
@@ -181,7 +201,7 @@ export default {
...
@@ -181,7 +201,7 @@ export default {
case
'f4c840711eae4bcb9536a890cdfda493'
:
//水泵
case
'f4c840711eae4bcb9536a890cdfda493'
:
//水泵
this
.
params
=
this
.
sbList
.
filter
((
e
)
=>
e
.
resource_id
==
data
.
id
)
this
.
params
=
this
.
sbList
.
filter
((
e
)
=>
e
.
resource_id
==
data
.
id
)
break
break
case
'303310efddb34a2e9bf269bdff8a7dc5'
:
//
水泵
case
'303310efddb34a2e9bf269bdff8a7dc5'
:
//
室内机风柜
this
.
params
=
this
.
sljfgList
.
filter
((
e
)
=>
e
.
resource_id
==
data
.
id
)
this
.
params
=
this
.
sljfgList
.
filter
((
e
)
=>
e
.
resource_id
==
data
.
id
)
break
break
}
}
...
...
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