From 8b3dc0a94cb8f3189191c50090b809b302f889ea Mon Sep 17 00:00:00 2001
From: Kxc0822a <kxc000822>
Date: Thu, 31 Mar 2022 09:33:37 +0800
Subject: [PATCH] 重大
---
src/views/contingencyplan/index.vue | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/views/contingencyplan/index.vue b/src/views/contingencyplan/index.vue
index 7df3d1b..95fafe5 100644
--- a/src/views/contingencyplan/index.vue
+++ b/src/views/contingencyplan/index.vue
@@ -54,6 +54,7 @@
:page-size="pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="recordTotal"
+ style="text-align: right;margin-top: 20px;"
>
</el-pagination>
<el-dialog :title="title" :visible.sync="dialogVisible" width="40%">
@@ -79,7 +80,7 @@
</el-form>
<span slot="footer" class="dialog-footer">
<el-button type="primary" class="btns" @click="addemergencyPlan()">确 定</el-button>
- <el-button @click="dialogVisible = false">取 消</el-button>
+ <el-button @click="cancel()">取 消</el-button>
</span>
</el-dialog>
</div>
@@ -125,9 +126,9 @@
name: [
{ required: true, message: "预案名称不能为空", trigger: "change" },
],
- remark: [
- { required: true, message: "备注不能为空", trigger: "blur" },
- ],
+ // remark: [
+ // { required: true, message: "备注不能为空", trigger: "blur" },
+ // ],
},
};
},
@@ -255,6 +256,10 @@
.catch(error =>{
});
},
+ cancel(){
+ this.emergencyPlan();
+ this.dialogVisible = false;
+ },
find() {
this.emergencyPlan();
},
--
Gitblit v1.9.2