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
73204c6f
Commit
73204c6f
authored
Apr 07, 2021
by
co_dengxiongwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
5983515a
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
306 additions
and
606 deletions
+306
-606
hallModal.vue
src/pages/eq/hall/components/hallModal.vue
+18
-15
config.js
src/pages/eq/hall/config.js
+143
-256
page.vue
src/pages/eq/hall/page.vue
+14
-18
config.js
src/pages/eq/office/config.js
+131
-317
No files found.
src/pages/eq/hall/components/hallModal.vue
View file @
73204c6f
<
template
>
<el-dialog
title=
"编辑"
:visible
.
sync=
"hallModalVisible"
:append-to-body=
"true"
>
<el-form
>
<el-dialog
title=
"设定频率"
:visible
.
sync=
"hallModalVisible"
:append-to-body=
"true"
>
<el-form>
<el-form-item
label=
"设定频率:"
:label-width=
"formLabelWidth"
>
<el-input
size=
"mini"
autocomplete=
"off"
></el-input>
</el-form-item>
<el-form-item
label=
"启动控制:"
:label-width=
"formLabelWidth"
>
<el-switch
></el-switch>
</el-form-item>
<
!--
<
el-form-item
label=
"启动控制:"
:label-width=
"formLabelWidth"
>
<el-switch
></el-switch>
</el-form-item>
-->
</el-form>
<div
slot=
"footer"
>
<div
slot=
"footer"
>
<el-button
@
click=
"cancelhandle"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"cancelhandle"
>
确 定
</el-button>
</div>
</el-dialog>
</
template
>
<
script
lang=
"ts"
>
export
default
{
name
:
"hallModal"
,
props
:
[
"hallModalVisible"
],
name
:
'hallModal'
,
props
:
[
'hallModalVisible'
],
data
()
{
return
{
formLabelWidth
:
'120px'
,
}
;
formLabelWidth
:
'120px'
}
},
methods
:{
cancelhandle
(){
this
.
$emit
(
'cancelhandle'
)
methods
:
{
cancelhandle
()
{
this
.
$emit
(
'cancelhandle'
)
}
}
}
;
}
</
script
>
src/pages/eq/hall/config.js
View file @
73204c6f
This diff is collapsed.
Click to expand it.
src/pages/eq/hall/page.vue
View file @
73204c6f
...
...
@@ -51,16 +51,17 @@
</div>
</div>
<!-- table -->
<enTable
v-on:handleBtnClick=
"handleBtnClick"
:tableData=
"tableData"
:tableColums=
"tableColums"
:isShowOp=
"true"
isShowPage=
"true"
>
<enTable
:tableData=
"tableData"
:tableColums=
"tableColums"
:isShowOp=
"true"
isShowPage=
"true"
>
<template
v-slot:operation=
'scope'
>
<el-button
type=
"text"
@
click=
"hallModalVisible=true"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"statusHandle"
>
开启
</el-button>
<el-button
type=
"text"
@
click=
"statusHandle"
>
关闭
</el-button>
<el-button
type=
"text"
@
click=
"statusHandle"
v-if=
"activeTab=='01'"
>
故障复位
</el-button>
<el-button
type=
"text"
@
click=
"handleBtnClick"
v-if=
"activeTab!='01'"
>
设置频率
</el-button>
</
template
>
</enTable>
</div>
</cardList>
<hall-modal
v-on:cancelhandle=
"cancelhandle"
:hallModalVisible=
"hallModalVisible"
></hall-modal>
hallModalVisible
</div>
</template>
<
script
>
...
...
@@ -71,9 +72,9 @@ import hallModal from './components/hallModal'
import
{
tableDataOne
,
tableColumsOne
,
tableColumsTwo
,
tableDataTwo
,
tableDataThree
,
tableDataFour
tableDataThree
}
from
'./config'
export
default
{
...
...
@@ -91,17 +92,13 @@ export default {
this
.
tableData
=
tableDataOne
break
case
'02'
:
this
.
tableColums
=
tableColums
One
this
.
tableColums
=
tableColums
Two
this
.
tableData
=
tableDataTwo
break
case
'03'
:
this
.
tableColums
=
tableColums
One
this
.
tableColums
=
tableColums
Two
this
.
tableData
=
tableDataThree
break
case
'04'
:
this
.
tableColums
=
tableColumsOne
this
.
tableData
=
tableDataFour
break
}
}
},
...
...
@@ -114,18 +111,14 @@ export default {
tabList
:
[
{
value
:
'01'
,
label
:
'热泵'
},
{
value
:
'02'
,
label
:
'风冷热泵机组'
},
{
value
:
'0
3
'
,
value
:
'0
2
'
,
label
:
'室内机风柜'
},
{
value
:
'0
4
'
,
value
:
'0
3
'
,
label
:
' 水泵'
}
],
...
...
@@ -140,6 +133,9 @@ export default {
},
handleBtnClick
()
{
this
.
hallModalVisible
=
true
},
statusHandle
()
{
}
}
}
...
...
src/pages/eq/office/config.js
View file @
73204c6f
This diff is collapsed.
Click to expand it.
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