列表加入日期搜索与导出功能
This commit is contained in:
@@ -32,9 +32,9 @@
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<el-dialog :visible.sync="dialog" title="异常详情" append-to-body top="0" width="85%">
|
||||
<span>
|
||||
<pre>
|
||||
{{ errorInfo }}
|
||||
</span>
|
||||
</pre>
|
||||
</el-dialog>
|
||||
<!--分页组件-->
|
||||
<el-pagination
|
||||
@@ -75,6 +75,11 @@ export default {
|
||||
const value = query.value
|
||||
this.params = { page: this.page, size: this.size, sort: sort }
|
||||
if (value) { this.params['blurry'] = value }
|
||||
this.params['logType'] = 'ERROR'
|
||||
if (query.date) {
|
||||
this.params['startTime'] = query.date[0]
|
||||
this.params['endTime'] = query.date[1]
|
||||
}
|
||||
return true
|
||||
},
|
||||
info(id) {
|
||||
|
||||
Reference in New Issue
Block a user