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
872267ad
Commit
872267ad
authored
May 08, 2021
by
co_dengxiongwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
a6e685a9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
10 deletions
+24
-10
index.vue
src/pages/kb/indoor/index.vue
+4
-4
page.vue
src/pages/kb/power/page.vue
+20
-6
No files found.
src/pages/kb/indoor/index.vue
View file @
872267ad
...
...
@@ -41,8 +41,8 @@ el-container(style="padding:0px;height:77.6vh;")
span.unit PPM
table-list(:tableColums='tableHeader' :tableData='dataList' :isShowOp="true" :opNum='4')
template(#operation='data')
el-button(type='text' size='small' @click="showParams(
scope.row
, 1)") 历史数据
el-button(type='text' size='small' @click="showParams(
scope.row
, 2)") 统计图表
el-button(type='text' size='small' @click="showParams(
data.scope
, 1)") 历史数据
el-button(type='text' size='small' @click="showParams(
data.scope
, 2)") 统计图表
//- el-table(
//- size="mini",
//- :data="dataList",
...
...
@@ -153,7 +153,7 @@ export default {
components
:
{
tablePagination
,
history
,
tableList
,
tableList
},
data
()
{
return
{
...
...
@@ -173,7 +173,7 @@ export default {
{
label
:
'温度(℃)'
,
prop
:
'temperature'
,
format
:
true
},
{
label
:
'湿度(%RH)'
,
prop
:
'humidity'
,
format
:
true
},
{
label
:
'CO₂(PPM)'
,
prop
:
'carbon_dioxide'
,
format
:
true
},
{
label
:
'设备状态'
,
prop
:
'statusName'
,
format
:
true
}
,
{
label
:
'设备状态'
,
prop
:
'statusName'
,
format
:
true
}
]
}
},
...
...
src/pages/kb/power/page.vue
View file @
872267ad
...
...
@@ -64,10 +64,19 @@
</el-form>
</div>
<table-list
:tableColums=
'tableColums'
:tableData=
'tableData'
:showOpr=
'true'
:opNum=
'2'
>
<table-list
:tableColums=
"tableColums"
:tableData=
"tableData"
:showOpr=
"true"
:opNum=
"2"
>
<template
#
operation=
"data"
>
<el-button
type=
"text"
@
click=
"openHistoryHandle(data.scope.row)"
>
历史数据
</el-button>
<el-button
type=
"text"
@
click=
"openPicTHandle(data.scope.row)"
>
统计图表
</el-button>
<el-button
type=
"text"
@
click=
"openHistoryHandle(data.scope)"
>
历史数据
</el-button
>
<el-button
type=
"text"
@
click=
"openPicTHandle(data.scope)"
>
统计图表
</el-button
>
</
template
>
</table-list>
<!-- <enTable
...
...
@@ -87,8 +96,13 @@
</div>
</cardList>
<el-footer
class=
"box_footer"
>
<tablePagination
:pageSize=
"pageSize"
:totalSize=
"totalSize"
@
parentMethod=
"getDataList"
>
</tablePagination></el-footer>
<tablePagination
:pageSize=
"pageSize"
:totalSize=
"totalSize"
@
parentMethod=
"getDataList"
>
</tablePagination
></el-footer>
<history-data-modal
:historyDataModalVisible=
"historyDataModalVisible"
...
...
@@ -119,7 +133,7 @@ export default {
historyDataModal
,
statisticPicTableModal
,
tablePagination
,
tableList
,
tableList
},
data
()
{
return
{
...
...
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