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
75a679f7
Commit
75a679f7
authored
Apr 22, 2021
by
xiexingan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
4fafd5e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
16 deletions
+22
-16
page.vue
src/pages/eq/hall/page.vue
+22
-16
No files found.
src/pages/eq/hall/page.vue
View file @
75a679f7
...
...
@@ -6,7 +6,7 @@
<el-form
:inline=
"true"
:model=
"formData"
label-width=
"100"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"
节能模式
:"
>
<el-form-item
label=
"
模式选择
:"
>
<div
class=
"switch-warp"
style=
"transform: translateY(7px)"
>
<div
:class=
"[isSaving == 1 ? 'on' : '']"
...
...
@@ -22,8 +22,9 @@
</div>
</div>
</el-form-item>
<span
class=
"btn-group"
v-if=
"isSaving == 1"
>
<el-form-item
label=
""
>
</el-col>
<el-col
v-if=
"isSaving == 1"
>
<el-form-item
label=
"人工模式:"
>
<el-button
type=
"primary"
size=
"mini"
...
...
@@ -32,14 +33,13 @@
:key=
"item.id"
:class=
"[
item.id == currentId && active ? 'isActive' : '',
item.icon
item.icon
,
]"
>
<!--
<img
:src=
"item.src"
alt=
""
/>
-->
{{
item
.
name
}}
</el-button>
</el-form-item>
</span>
</el-col>
<el-col
:span=
"24"
v-if=
"isSaving == 1"
>
<el-form-item
label=
"温度设定(℃):"
>
...
...
@@ -66,7 +66,7 @@
:picker-options=
"
{
start: '00:00',
step: '00:15',
end: '24:00'
end: '24:00'
,
}"
>
</el-time-select>
...
...
@@ -79,7 +79,7 @@
start: '00:00',
step: '00:15',
end: '24:00',
minTime: formData.startTime
minTime: formData.startTime
,
}"
>
</el-time-select>
...
...
@@ -149,9 +149,7 @@
:totalSize=
"totalSize"
@
parentMethod=
"getDataList"
></table-pagination>
<hall-modal
ref=
'hallModal'
></hall-modal>
<hall-modal
ref=
"hallModal"
></hall-modal>
</div>
</template>
<
script
>
...
...
@@ -180,7 +178,7 @@ export default {
typeList
:
[
{
id
:
1
,
name
:
'供暖'
,
name
:
'供暖
模式
'
,
src
:
require
(
'../../home/image/nan_fan_icon.png'
),
icon
:
'el-icon-sunny'
,
status
:
null
...
...
@@ -345,7 +343,11 @@ export default {
'hot_air_stop_temperature'
,
e
.
hot_air_stop_temperature
)
this
.
$set
(
this
.
tableData
[
i
],
'electric_energy'
,
e
.
electric_energy
)
this
.
$set
(
this
.
tableData
[
i
],
'electric_energy'
,
e
.
electric_energy
)
}
})
}
else
if
(
...
...
@@ -354,7 +356,11 @@ export default {
//室内机风柜
this
.
sljfgList
.
forEach
((
e
)
=>
{
if
(
this
.
tableData
[
i
].
id
===
e
.
resource_id
)
{
this
.
$set
(
this
.
tableData
[
i
],
'electric_energy'
,
e
.
electric_energy
)
this
.
$set
(
this
.
tableData
[
i
],
'electric_energy'
,
e
.
electric_energy
)
this
.
$set
(
this
.
tableData
[
i
],
'current_frequency'
,
...
...
@@ -417,9 +423,9 @@ export default {
},
// 设置频率
handleBtnClick
(
data
)
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
hallModal
.
init
(
data
)
})
this
.
$nextTick
(()
=>
{
this
.
$refs
.
hallModal
.
init
(
data
)
})
},
handleType
(
id
)
{
if
(
id
!==
this
.
currentId
)
{
...
...
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