From ae07a87d84ccc7f568d4e3b8ff4b0c68cf43c0b1 Mon Sep 17 00:00:00 2001 From: shj <1790240199@qq.com> Date: 星期四, 18 八月 2022 15:27:32 +0800 Subject: [PATCH] Merge branch 'master' of https://sinanoaq.cn:8888/r/gtqtOut --- src/views/contingencyManagement/contingency/component/addEmergencyPersonnel.vue | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/src/views/contingencyManagement/contingency/component/addEmergencyPersonnel.vue b/src/views/contingencyManagement/contingency/component/addEmergencyPersonnel.vue index b185e13..cafe13e 100644 --- a/src/views/contingencyManagement/contingency/component/addEmergencyPersonnel.vue +++ b/src/views/contingencyManagement/contingency/component/addEmergencyPersonnel.vue @@ -62,7 +62,7 @@ </el-form> <template #footer> <span class="dialog-footer"> - <el-button size="default" type="primary" @click="addForm(ruleFormRef)">继续添加</el-button> +<!-- <el-button size="default" type="primary" @click="addForm(ruleFormRef)">继续添加</el-button>--> <el-button size="default" @click="resetForm(ruleFormRef)">关闭</el-button> <el-button size="default" type="primary" v-if="disabled == true ? false : true" @click="submitForm(titles, ruleFormRef)" >确定</el-button> </span> @@ -148,11 +148,6 @@ }) const titles = ref(); const disabled = ref(); - //继续添加 - const addForm = (formEl: FormInstance | undefined) => { - emit('myAdd', ruleForm.value); - formEl.resetFields(); - } const submitForm = async (title: string, formEl: FormInstance | undefined) => { if (title == '新建应急队伍人员') { if (!formEl) return; @@ -292,7 +287,6 @@ openUser, userRef, onUser, - addForm, submitForm, }; }, -- Gitblit v1.9.2