From 3d5cc34ad6e69be337399cb128199d236e7ea08e Mon Sep 17 00:00:00 2001
From: cqf <2252655793@qq.com>
Date: 星期二, 24 五月 2022 17:51:16 +0800
Subject: [PATCH] 隐患图表接口对接
---
src/views/contingencyplan/index.vue | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/src/views/contingencyplan/index.vue b/src/views/contingencyplan/index.vue
index 817bd15..ae5a316 100644
--- a/src/views/contingencyplan/index.vue
+++ b/src/views/contingencyplan/index.vue
@@ -7,7 +7,7 @@
<el-input v-model="listQuery.filter.name"></el-input>
</el-form-item>
</el-col>
- <el-col :span="4" style="text-align: center">
+ <el-col :span="5" style="text-align: center">
<el-button type="primary" class="btns" icon="el-icon-search" @click="find()"
>搜索</el-button
>
@@ -18,6 +18,12 @@
class="btns"
>新增</el-button
>
+ <el-button
+ type="primary"
+ class="btns"
+ @click="reset()"
+ >重置</el-button
+ >
</el-col>
</el-row>
</el-form>
@@ -161,6 +167,13 @@
},
methods: {
+ reset(){
+ this.listQuery.filter={}
+ this.listQuery.pageIndex=1
+ this.listQuery.pageSize=10
+ this.emergencyPlan();
+ },
+
downLoadFile(fileUrl){
return this.$confirm(`确定下载该文件?`,'提示',{
confirmButtonText:'确定',
--
Gitblit v1.9.2