|
@@ -3,10 +3,10 @@
|
|
|
<template slot="empty">
|
|
|
<span>{{text}}</span>
|
|
|
</template>
|
|
|
- <el-table-column label="时间" prop="eStartTime" show-overflow-tooltip min-width="35%"/>
|
|
|
- <el-table-column label="内容" prop="eLName" show-overflow-tooltip min-width="25%"/>
|
|
|
- <el-table-column label="名称" prop="ePlaceName" show-overflow-tooltip min-width="25%"/>
|
|
|
- <el-table-column label="状态" prop="ePlanState" show-overflow-tooltip min-width="15%"/>
|
|
|
+ <el-table-column label="时间" prop="estarttime" show-overflow-tooltip min-width="35%"/>
|
|
|
+ <el-table-column label="内容" prop="elname" show-overflow-tooltip min-width="25%"/>
|
|
|
+ <el-table-column label="名称" prop="eplancename" show-overflow-tooltip min-width="25%"/>
|
|
|
+ <el-table-column label="状态" prop="eplanstate" show-overflow-tooltip min-width="15%"/>
|
|
|
</el-table>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -304,12 +304,13 @@ export default {
|
|
|
timeout: 3000,
|
|
|
}).then(res =>{
|
|
|
if(res.data.data.pageList){
|
|
|
+ console.log(res.data.data.pageList)
|
|
|
let data = res.data.data.pageList
|
|
|
this.initList = data.slice(0,9)
|
|
|
|
|
|
let arr = [ '1楼暖通机房','负1楼配电间','1楼配电间','1楼UPS机房','2楼网络机房','2楼新风机房','3楼新风机房','4楼新风机房','4楼阅览室等']
|
|
|
for(let i =0; i<this.initList.length;i++){
|
|
|
- this.initList[i].ePlaceName = arr[i]
|
|
|
+ this.initList[i].eplancename = arr[i]
|
|
|
}
|
|
|
}
|
|
|
this.loading = false
|