From 631d029ec573c20c6a48a61d311d9390749e1fb3 Mon Sep 17 00:00:00 2001
From: songhuangfeng123 <shf18767906695@163.com>
Date: 星期三, 06 四月 2022 16:35:39 +0800
Subject: [PATCH] fix

---
 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