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
f7d1eaf7
Commit
f7d1eaf7
authored
Oct 27, 2021
by
coffee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成
parent
c5046337
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
105 additions
and
9 deletions
+105
-9
settingFlrb.vue
src/pages/eq/hall/components/settingFlrb.vue
+4
-4
query-detail.vue
src/pages/eq/view/query-detail.vue
+101
-5
No files found.
src/pages/eq/hall/components/settingFlrb.vue
View file @
f7d1eaf7
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
</el-row>
</el-row>
<el-row>
<el-row>
<el-form-item
label=
"制热启动温度:"
:label-width=
"formLabelWidth"
prop=
"heating_start_temperature"
>
<el-form-item
label=
"制热启动温度:"
:label-width=
"formLabelWidth"
prop=
"heating_start_temperature"
>
<el-input-number
size=
"mini"
autocomplete=
"off"
style=
"width: 120px"
v-model=
"dataForm.heating_start_temperature"
:controls=
'false'
:min=
'0'
:max=
'100'
></el-input-number>
<el-input-number
size=
"mini"
autocomplete=
"off"
style=
"width: 120px"
v-model=
"dataForm.heating_start_temperature"
:controls=
'false'
:min=
'0'
:max=
'100'
:precision=
'0'
></el-input-number>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
<el-button
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
</el-row>
</el-row>
<el-row>
<el-row>
<el-form-item
label=
"制热停止温度:"
:label-width=
"formLabelWidth"
prop=
"heating_stop_temperature"
>
<el-form-item
label=
"制热停止温度:"
:label-width=
"formLabelWidth"
prop=
"heating_stop_temperature"
>
<el-input-number
size=
"mini"
autocomplete=
"off"
style=
"width: 120px"
v-model=
"dataForm.heating_stop_temperature"
:controls=
'false'
:min=
'0'
:max=
'100'
></el-input-number>
<el-input-number
size=
"mini"
autocomplete=
"off"
style=
"width: 120px"
v-model=
"dataForm.heating_stop_temperature"
:controls=
'false'
:min=
'0'
:max=
'100'
:precision=
'0'
></el-input-number>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
<el-button
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
</el-row>
</el-row>
<el-row>
<el-row>
<el-form-item
label=
"热风启动温度:"
:label-width=
"formLabelWidth"
prop=
"hot_air_start_temperature"
>
<el-form-item
label=
"热风启动温度:"
:label-width=
"formLabelWidth"
prop=
"hot_air_start_temperature"
>
<el-input-number
size=
"mini"
autocomplete=
"off"
style=
"width: 120px"
v-model=
"dataForm.hot_air_start_temperature"
:controls=
'false'
:min=
'0'
:max=
'100'
></el-input-number>
<el-input-number
size=
"mini"
autocomplete=
"off"
style=
"width: 120px"
v-model=
"dataForm.hot_air_start_temperature"
:controls=
'false'
:min=
'0'
:max=
'100'
:precision=
'0'
></el-input-number>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
<el-button
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
</el-row>
</el-row>
<el-row>
<el-row>
<el-form-item
label=
"热风停止温度:"
:label-width=
"formLabelWidth"
prop=
"hot_air_stop_temperature"
>
<el-form-item
label=
"热风停止温度:"
:label-width=
"formLabelWidth"
prop=
"hot_air_stop_temperature"
>
<el-input-number
size=
"mini"
autocomplete=
"off"
style=
"width: 120px"
v-model=
"dataForm.hot_air_stop_temperature"
:controls=
'false'
:min=
'0'
:max=
'100'
></el-input-number>
<el-input-number
size=
"mini"
autocomplete=
"off"
style=
"width: 120px"
v-model=
"dataForm.hot_air_stop_temperature"
:controls=
'false'
:min=
'0'
:max=
'100'
:precision=
'0'
></el-input-number>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
<el-button
...
...
src/pages/eq/view/query-detail.vue
View file @
f7d1eaf7
...
@@ -71,14 +71,14 @@
...
@@ -71,14 +71,14 @@
el-switch(v-model="modelType" @change="changeHandle($event)" active-text="风水模式" inactive-text="热水模式" inactive-color="#ff4949" style="margin-bottom: 5px;")
el-switch(v-model="modelType" @change="changeHandle($event)" active-text="风水模式" inactive-text="热水模式" inactive-color="#ff4949" style="margin-bottom: 5px;")
el-row
el-row
span 制热启停温度(℃):
span 制热启停温度(℃):
el-input-number(v-model="
params[0].heating_start_temperature" size="mini" :controls='false' :min='0' :max='10
0' style="width: 65px")
el-input-number(v-model="
heatingStart" @blur='changeTemperature(1)' size="mini" :controls='false' :min='0' :max='100' :precision='
0' style="width: 65px")
span(style="margin:0 10px") -
span(style="margin:0 10px") -
el-input-number(v-model="
params[0].heating_stop_temperature" size="mini" :controls='false' :min='0' :max='10
0' style="width: 65px")
el-input-number(v-model="
heatingEnd" @blur='changeTemperature(2)' size="mini" :controls='false' :min='0' :max='100' :precision='
0' style="width: 65px")
el-row
el-row
span 热风启停温度(℃):
span 热风启停温度(℃):
el-input-number(v-model="hotWindStart"
size="mini" :controls='false' :min='0' :max='10
0' style="width: 65px")
el-input-number(v-model="hotWindStart"
@blur='changeTemperature(3)' size="mini" :controls='false' :min='0' :max='100' :precision='
0' style="width: 65px")
span(style="margin:0 10px") -
span(style="margin:0 10px") -
el-input-number(v-model="hotWindEnd"
size="mini" :controls='false' :min='0' :max='10
0' style="width: 65px")
el-input-number(v-model="hotWindEnd"
@blur='changeTemperature(4)' size="mini" :controls='false' :min='0' :max='100' :precision='
0' style="width: 65px")
//- el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='303310efddb34a2e9bf269bdff8a7dc5'||dataForm.type=='f4c840711eae4bcb9536a890cdfda493'")
//- el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='303310efddb34a2e9bf269bdff8a7dc5'||dataForm.type=='f4c840711eae4bcb9536a890cdfda493'")
//- el-col(:span="16" )
//- el-col(:span="16" )
//- span 频率设置:
//- span 频率设置:
...
@@ -226,7 +226,12 @@ watch: {
...
@@ -226,7 +226,12 @@ watch: {
'173466a2cf9a42a6a17b2bdfbeae36d5'
,
//多联室内机
'173466a2cf9a42a6a17b2bdfbeae36d5'
,
//多联室内机
'8f5530fee2484e8eb107c0ca672132b2'
,
//多联室外机
'8f5530fee2484e8eb107c0ca672132b2'
,
//多联室外机
'8f0787103561423887324f8ac3c36b89'
//多联新风处理机室内机
'8f0787103561423887324f8ac3c36b89'
//多联新风处理机室内机
]
],
modelType
:
null
,
heatingStart
:
null
,
heatingEnd
:
null
,
hotWindStart
:
null
,
hotWindEnd
:
null
,
}
}
},
},
...
@@ -262,6 +267,11 @@ watch: {
...
@@ -262,6 +267,11 @@ watch: {
break
break
case
'b45827c068254695864ee3c1d42573cb'
:
//风冷热泵机组
case
'b45827c068254695864ee3c1d42573cb'
:
//风冷热泵机组
this
.
params
=
this
.
flrbList
.
filter
((
e
)
=>
e
.
resource_id
==
data
.
id
)
this
.
params
=
this
.
flrbList
.
filter
((
e
)
=>
e
.
resource_id
==
data
.
id
)
this
.
modelType
=
this
.
params
[
0
].
feng_shui_mode
this
.
heatingStart
=
this
.
params
[
0
].
heating_start_temperature
this
.
heatingEnd
=
this
.
params
[
0
].
heating_stop_temperature
this
.
hotWindStart
=
this
.
params
[
0
].
hot_air_start_temperature
this
.
hotWindEnd
=
this
.
params
[
0
].
hot_air_stop_temperature
break
break
case
'ece0b8b2db27411886254e81134988a3'
:
//机房空调
case
'ece0b8b2db27411886254e81134988a3'
:
//机房空调
this
.
params
=
this
.
jfktpList
.
filter
((
e
)
=>
e
.
resource_id
==
data
.
id
)
this
.
params
=
this
.
jfktpList
.
filter
((
e
)
=>
e
.
resource_id
==
data
.
id
)
...
@@ -315,6 +325,92 @@ watch: {
...
@@ -315,6 +325,92 @@ watch: {
}
}
})
})
},
},
// 模式切换
changeHandle
(
status
){
if
(
status
){
// 风水模式
// this.setRsStatus(0)
this
.
setFsStatus
(
1
)
}
else
{
// 热水模式
// this.setFsStatus(0)
this
.
setRsStatus
(
1
)
}
},
setFsStatus
(
status
){
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/equipment/onOrOff'
),
method
:
'post'
,
data
:
{
id
:
this
.
dataForm
.
id
,
status
:
status
,
actionName
:
this
.
dataForm
.
name
+
(
status
==
0
?
'风水模式关闭'
:
'风水模式开启'
),
actionType
:
10
}
}).
then
((
data
)
=>
{
if
(
data
&&
data
.
code
===
0
)
{
this
.
$message
.
success
(
data
.
msg
)
this
.
dataForm
.
feng_shui_mode
=
(
status
==
0
?
"false"
:
"true"
)
}
else
{
this
.
$message
.
error
(
data
.
msg
)
}
})
},
setRsStatus
(
status
){
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/equipment/onOrOff'
),
method
:
'post'
,
data
:
{
id
:
this
.
dataForm
.
id
,
status
:
status
,
actionName
:
this
.
dataForm
.
name
+
(
status
==
0
?
'热水模式关闭'
:
'热水模式开启'
),
actionType
:
11
}
}).
then
((
data
)
=>
{
if
(
data
&&
data
.
code
===
0
)
{
this
.
$message
.
success
(
data
.
msg
)
this
.
dataForm
.
hot_water_mode
=
(
status
==
0
?
"false"
:
"true"
)
}
else
{
this
.
$message
.
error
(
data
.
msg
)
}
})
},
// 设置温度
changeTemperature
(
type
){
if
(
type
==
1
){
var
params
=
this
.
heatingStart
var
actionName
=
'设置制热启动温度为:'
var
actionType
=
6
}
else
if
(
type
==
2
){
var
params
=
this
.
heatingEnd
var
actionName
=
'设置制热启动温度为:'
var
actionType
=
7
}
else
if
(
type
==
3
){
var
params
=
this
.
hotWindStart
var
actionName
=
'设置制热启动温度为:'
var
actionType
=
8
}
else
if
(
type
==
4
){
var
params
=
this
.
hotWindEnd
var
actionName
=
'设置制热启动温度为:'
var
actionType
=
9
}
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/equipment/onOrOff'
),
method
:
'post'
,
data
:
{
id
:
this
.
dataForm
.
id
,
params
,
actionName
:
this
.
dataForm
.
name
+
actionName
+
params
,
actionType
}
}).
then
((
data
)
=>
{
if
(
data
&&
data
.
code
===
0
)
{
this
.
$message
.
success
(
data
.
msg
)
}
else
{
this
.
$message
.
error
(
data
.
msg
)
}
})
},
setData
()
{
setData
()
{
this
.
dlsnjList
=
this
.
list
.
dlsnjList
//多联室内机
this
.
dlsnjList
=
this
.
list
.
dlsnjList
//多联室内机
this
.
dlswjList
=
this
.
list
.
dlswjList
//多联室外机
this
.
dlswjList
=
this
.
list
.
dlswjList
//多联室外机
...
...
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