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
4605ad0d
Commit
4605ad0d
authored
Nov 22, 2021
by
coffee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
fd8ba164
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
30 deletions
+40
-30
query-detail.vue
src/pages/eq/view/query-detail.vue
+40
-30
No files found.
src/pages/eq/view/query-detail.vue
View file @
4605ad0d
...
...
@@ -28,7 +28,8 @@
.info-form(v-if='$store.state.d2admin.paramsList.list.syBean.type == 1' :style="{'border-bottom':(['b45827c068254695864ee3c1d42573cb','b6af764f2a6e454490a6b1b3c9057e57','173466a2cf9a42a6a17b2bdfbeae36d5','f4c840711eae4bcb9536a890cdfda493'].includes(dataForm.type))&&$store.state.d2admin.paramsList.list.syBean.type == 1 ? '1px solid #c0c0c0': ''}" )
//- |
{{
dataForm
.
status
}}
//- el-row.text-size(v-if="openOrClose.indexOf(dataForm.type)>-1")
el-row.text-size
//- 室外气象站、(室内气象站)传感器、卷帘门不需要开启关闭选项
el-row.text-size(v-if="!['9a570e608d0840499551eca89d76449d','507ba9ae22174e4dbbf32dbf34dd7139','c788ce98c1f248f590434394da485ce4'].includes(dataForm.type)")
el-col(:span='10') 当前已
span(v-if="dataForm.status == 1") 运行
span(v-else-if="dataForm.status == 2") 停止
...
...
@@ -42,48 +43,55 @@
el-button(type='primary' size='mini' @click="failureReset") 故障复位
el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='173466a2cf9a42a6a17b2bdfbeae36d5'&&dataForm.status==1")
el-col(:span="16" )
span 温度设定:
el-input(size="mini", style="width: 80px", v-model="temperature")
span (℃)
el-button(type="primary", size="mini", style="margin-left: 3px",@click="handleSwitch2(1)") 设定
span 温度设定(℃):
el-input-number(v-model="temperature" size="mini" :controls='false' :precision='0' style="width: 90px")
el-button(type='primary' size='mini' @click="handleSwitch2(1)" style='margin-left: 10px') 设定
el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='173466a2cf9a42a6a17b2bdfbeae36d5'&&dataForm.status==1")
el-col(:span="16" )
span 选择模式:
el-select(size="mini" v-model="models" placeholder="请选择模式
类型" style="width: 106
px")
el-select(size="mini" v-model="models" placeholder="请选择模式
" style="width: 114
px")
el-option(label="自动模式" value="1")
el-option(label="制冷模式" value="2")
el-option(label="除湿模式" value="4")
el-option(label="送风模式" value="8")
el-option(label="制热模式" value="16")
el-button(type="primary", size="mini", style="margin-left:
3
px",@click="handleSwitch2(2)") 设定
el-button(type="primary", size="mini", style="margin-left:
10
px",@click="handleSwitch2(2)") 设定
el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='173466a2cf9a42a6a17b2bdfbeae36d5'&&dataForm.status==1")
el-col(:span="16" )
span 选择风速:
el-select(size="mini" v-model="speed" placeholder="请选择风速
类型" style="width: 106
px")
el-select(size="mini" v-model="speed" placeholder="请选择风速
" style="width: 114
px")
el-option(label="高风" value="2")
el-option(label="中风" value="4")
el-option(label="低风" value="8")
el-button(type="primary", size="mini", style="margin-left:
3
px" @click="handleSwitch2(3)") 设定
el-button(type="primary", size="mini", style="margin-left:
10
px" @click="handleSwitch2(3)") 设定
//- 风热冷泵机组
div.text-size(v-if="dataForm.type=='b45827c068254695864ee3c1d42573cb'")
el-row
el-row
(style="margin-top: 5px")
span(style='width: 120px;display: inline-block;') 模式:
el-switch(v-model="modelType" @change="changeHandle($event)" active-text="风水模式" inactive-text="热水模式" inactive-color="#ff4949" style="margin-bottom: 5px;")
el-row(style="margin-bottom: 5px")
span 制热启动温度(℃):
el-input-number(v-model="heatingStart" size="mini" :controls='false' :precision='0' style="width: 90px")
el-button(type='primary' size='mini' @click='changeTemperature(1,heatingStart)' style='margin-left: 10px') 设定
el-row(style="margin-bottom: 5px")
span 制热启动温度(℃):
el-input-number(v-model="heatingEnd" size="mini" :controls='false' :precision='0' style="width: 90px")
el-button(type='primary' size='mini' @click='changeTemperature(2,heatingEnd)' style='margin-left: 10px') 设定
el-row(style="margin-bottom: 5px")
span 热风启动温度(℃):
el-input-number(v-model="hotWindStart" size="mini" :controls='false' :precision='0' style="width: 90px")
el-button(type='primary' size='mini' @click='changeTemperature(3,hotWindStart)' style='margin-left: 10px') 设定
el-row
span 制热启停温度(℃):
el-input-number(v-model="heatingStart" @blur='changeTemperature(1,$event)' size="mini" :controls='false' :precision='0' style="width: 65px")
span(style="margin:0 10px") -
el-input-number(v-model="heatingEnd" @blur='changeTemperature(2,$event)' size="mini" :controls='false' :precision='0' style="width: 65px")
el-row
span 热风启停温度(℃):
el-input-number(v-model="hotWindStart" @blur='changeTemperature(3,$event)' size="mini" :controls='false' :precision='0' style="width: 65px")
span(style="margin:0 10px") -
el-input-number(v-model="hotWindEnd" @blur='changeTemperature(4,$event)' size="mini" :controls='false' :precision='0' style="width: 65px")
span 热风停止温度(℃):
el-input-number(v-model="hotWindEnd" @blur='' size="mini" :controls='false' :precision='0' style="width: 90px")
el-button(type='primary' size='mini' @click='changeTemperature(4,hotWindEnd)' style='margin-left: 10px') 设定
//- 水泵
el-row.text-size(v-if="dataForm.type=='f4c840711eae4bcb9536a890cdfda493'")
span 设置频率:
el-input-number(v-model="frequency" @blur='changeFrequency($event)' size="mini" :controls='false' :precision='0' autocomplete="off")
//- el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='303310efddb34a2e9bf269bdff8a7dc5'||dataForm.type=='f4c840711eae4bcb9536a890cdfda493'")
div.text-size(style="margin-top: 10px")
el-row.text-size(v-if="dataForm.type=='f4c840711eae4bcb9536a890cdfda493'")
span(style='margin-right: 40px') 设置频率:
el-input-number(v-model="frequency" size="mini" :controls='false' :precision='0' style="width: 90px")
el-button(type='primary' size='mini' @click='changeFrequency(frequency)' style='margin-left: 10px') 设定
//- el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='303310efddb34a2e9bf269bdff8a7dc5'||dataForm.type=='f4c840711eae4bcb9536a890cdfda493'")
//- el-col(:span="16" )
//- span 频率设置:
//- el-input(size="mini", style="width: 80px", v-model="windSpeed",@click="handleSwitch2(3)")
...
...
@@ -107,10 +115,10 @@
span.value
{{
params
[
0
].
current_frequency
}}
div(v-if="this.params.length && this.params[0].feng_shui_mode")
span.type 风水模式:
span.value
{{
params
[
0
].
feng_shui_mode
}}
span.value
{{
params
[
0
].
feng_shui_mode
==
'true'
?
'开启'
:
'关闭'
}}
div(v-if="this.params.length && this.params[0].hot_water_mode")
span.type 热水模式:
span.value
{{
params
[
0
].
hot_water_mode
}}
span.value
{{
params
[
0
].
hot_water_mode
==
'true'
?
'开启'
:
'关闭'
}}
div(v-if="this.params.length && this.params[0].water_supply_temperature")
span.type 供水温度(℃):
span.value
{{
params
[
0
].
water_supply_temperature
}}
...
...
@@ -312,8 +320,8 @@ watch: {
})
},
// 设置频率
changeFrequency
(
e
){
if
(
e
.
target
.
value
<
35
||
e
.
target
.
value
>
45
){
changeFrequency
(
val
){
if
(
val
<
35
||
val
>
45
){
this
.
$message
.
error
(
'频率范围为35-45的整数'
)
return
}
...
...
@@ -405,8 +413,8 @@ watch: {
})
},
// 设置温度
changeTemperature
(
type
,
e
){
if
(
e
.
target
.
value
<
0
||
e
.
target
.
value
>
100
){
changeTemperature
(
type
,
val
){
if
(
val
<
0
||
val
>
100
){
this
.
$message
.
error
(
'温度范围为0-100的整数'
)
return
}
...
...
@@ -649,7 +657,9 @@ watch: {
.animation
{
animation
:
myfirst
1s
;
position
:
absolute
;
top
:
15px
;
// top: 15px;
top
:
50%
;
transform
:
translate
(
0
,
-50%
);
right
:
0
;
width
:
420px
;
background-color
:
#f4f4f4
;
...
...
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