Commit 5db307fd authored by Kerwin_Cui's avatar Kerwin_Cui
parents 42703107 d2d28f6e
......@@ -49,7 +49,8 @@
<el-table-column prop="normal_work" label="次要故障预警数(交易日)" align="center"></el-table-column>
<el-table-column prop="bad_weekend" label="严重故障预警数(非交易日)" align="center"></el-table-column>
<el-table-column prop="main_weekend" label="主要故障预警数(非交易日)" align="center"></el-table-column>
<el-table-column prop="normal_weekend" label="次要故障预警数(非交易日)" align="center"></el-table-column>
<el-table-column prop="normal_weekend" label="次要故障预警数(非交易日)"
align="center"></el-table-column>
</el-table>
</div>
<div class="block" style="height: 50px; margin-top: 15px">
......@@ -79,8 +80,8 @@
currentPage: 1,
pageSize: 10,
time: '',
total:0,
sysGroup:{}
total: 0,
sysGroup: {}
}
},
mounted() {
......@@ -90,16 +91,22 @@
methods: {
searchList(){
searchList() {
console.log(this.Group)
console.log(this.sysGroup)
console.log(this.sysGroup[this.Group])
let finallist = []
for (let temp of this.sysGroup) {
if (temp.group_name == this.Group) {
finallist = temp.group_system
}
}
let newdata = {
currentPage: this.currentPage,
pageSize: this.pageSize,
syslist: this.sysGroup[this.Group]
syslist: finallist
};
axios.post('${SITE_URL}alarm_count_info/',newdata).then(res => {
axios.post('${SITE_URL}alarm_count_info/', newdata).then(res => {
this.AlarmCountData = res.data.results;
this.total = res.data.count
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment