src/views/contingencyplan/index.vue
@@ -80,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> @@ -256,6 +256,10 @@ .catch(error =>{ }); }, cancel(){ this.emergencyPlan(); this.dialogVisible = false; }, find() { this.emergencyPlan(); },