Admin
2022-09-07 5890a81be95fe65622c605083b1808b6997d4417
src/views/accidentManagementSystem/accidentReport/index.vue
@@ -13,7 +13,7 @@
              <el-button size="default" type="primary"  @click="onOpenAdd">
                <el-icon>
                  <Plus />
                </el-icon>新建
                </el-icon>新增
              </el-button>
              <el-button size="default" type="warning" plain :disabled="warning" @click="onEdit('修改', deletAll[0])">
                <el-icon>
@@ -226,10 +226,10 @@
    onMounted(() => {
      listApi();
    });
    // 打开新建用户弹窗
    // 打开新增用户弹窗
    const addRef = ref();
    const onOpenAdd = () => {
      addRef.value.openDialog('新建事故报告','',false,statusDisabledFlag);
      addRef.value.openDialog('新增事故报告','',false,statusDisabledFlag);
    };
    // 新增后刷新
    const onMyAdd = (e: boolean) => {