zhaojiale
2022-08-10 338099bcb20115a762a2a9e9fff340d9f9c0ca32
事故管理修改
已修改3个文件
13 ■■■■■ 文件已修改
src/views/accidentManagementSystem/accidentReport/component/openAdd.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/accidentManagementSystem/workInjuryDeclaration/component/accidentName.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/component/openAdd.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/accidentManagementSystem/accidentReport/component/openAdd.vue
@@ -517,6 +517,7 @@
            if (!formEl) return;
            formEl.resetFields();
            // ruleForm.value.accidentExpressId = item[0].id
            ruleForm.value = {}
            accidentName.value = ''
            accidentDepartmentId.value = ''
            occurrencePlace.value = ''
src/views/accidentManagementSystem/workInjuryDeclaration/component/accidentName.vue
@@ -85,7 +85,7 @@
            </el-row>
            <template #footer>
                <span class="dialog-footer">
                    <el-button @click="handleClose()" size="default">关闭</el-button>
                    <el-button @click="closeDialog()" size="default">关闭</el-button>
                    <el-button type="primary" @click="submitForm" size="default">确定</el-button>
                </span>
            </template>
@@ -162,6 +162,10 @@
        };
        // 右方点击添加后显示标签
        const dynamicTags = ref([]);
        const closeDialog=()=>{
            dialogVisible.value = false
            handleClose()
        };
        const handleClose = () => {
            dynamicTags.value = [];
            radio1.value = '';
@@ -197,6 +201,7 @@
            checkedItem,
            submitReset,
            submitForm,
            closeDialog
        };
    },
});
src/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/component/openAdd.vue
@@ -319,6 +319,11 @@
    // 表单提交验证必填项
    const submitForm = async (title: string, formEl: FormInstance | undefined) => {
      ruleForm.value.userList = ruleForm.value.userList.concat(ruleForm.value.chargeUserList)
      delete ruleForm.value.planName
      delete ruleForm.value.chargeUserListString
      delete ruleForm.value.userListString
      delete ruleForm.value.chargeUserList
      delete ruleForm.value.gmtModitify
      if (title == '新建应急演练计划发布') {
        if (!formEl) return;
        await formEl.validate((valid, fields) => {