Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
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
acee2e08
Commit
acee2e08
authored
May 24, 2021
by
co_dengxiongwen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of gitlab.suntrayoa.com:geqilin/energyai_vue into dev
parents
c02812be
6ff86fe2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
tableList.vue
src/pages/components/tableList.vue
+10
-1
index.vue
src/pages/kb/indoor/index.vue
+2
-2
No files found.
src/pages/components/tableList.vue
View file @
acee2e08
...
...
@@ -9,6 +9,7 @@
background: 'rgba(0, 151, 255, 0.08)',
color: '#333333'
}"
@current-change='handleCurrentChange'
>
<el-table-column
align=
"center"
label=
"序号"
width=
"100"
>
<template
slot-scope=
"scope"
>
...
...
@@ -84,7 +85,11 @@ export default {
// 人工模式
currentMode
:
{
type
:
Number
,
default
:
0
default
:
null
},
// 行点击事件
currentChange
:{
type
:
Function
}
},
data
()
{
...
...
@@ -107,6 +112,10 @@ export default {
// 自然通风
return
'table-row-natural'
}
},
// 行点击事件
handleCurrentChange
(
data
){
this
.
currentChange
(
data
)
}
}
}
...
...
src/pages/kb/indoor/index.vue
View file @
acee2e08
...
...
@@ -40,8 +40,8 @@ el-container(style="padding:0px;height:77.6vh;")
span.num(v-if="activeName == 1")
{{
hcdtSnqx
.
carbon_dioxide
}}
span.num(v-else)
{{
currentRow
.
carbon_dioxide
?
currentRow
.
carbon_dioxide
:
'-- '
}}
span.unit PPM
table-list(:tableColums='tableHeader' :tableData='dataList' :isShowOp="true" :opNum='4')
template(#operation=
'data'
)
table-list(:tableColums='tableHeader' :tableData='dataList' :isShowOp="true" :opNum='4'
:currentChange='handleCurrentChange'
)
template(#operation=
"data"
)
el-button(type='text' size='small' @click="showParams(data.scope, 1)") 历史数据
el-button(type='text' size='small' @click="showParams(data.scope, 2)") 统计图表
//- el-table(
...
...
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