shj
2022-09-20 7df64634d3d7b292713eebfa008c40b3f5f9f65f
src/views/accidentManagementSystem/workInjuryDeclaration/component/openEdit.vue
@@ -5,7 +5,9 @@
        v-model="isShowDialog"
        width="769px"
        draggable
        :fullscreen="full"
    >
      <el-button @click="toggleFullscreen" size="small" class="pot" :icon="FullScreen"></el-button>
      <el-form
          ref="ruleFormRef"
          :model="ruleForm"
@@ -44,8 +46,8 @@
          <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20">
            <el-form-item label="事故原因" prop="teamLevel">
              <el-select v-model="ruleForm.teamLevel" class="w100" placeholder="请选择">
                <el-option label="人的不安全行为" value="admin"></el-option>
                <el-option label="物的不安全状态" value="common"></el-option>
                <el-option label="人的不安全行为" value="1"></el-option>
                <el-option label="物的不安全状态" value="2"></el-option>
              </el-select>
            </el-form-item>
          </el-col>
@@ -106,7 +108,8 @@
} from 'element-plus'
import {
  Search
  Search,
  FullScreen
} from '@element-plus/icons-vue'
import UserSelections from "/@/components/userSelections/index.vue"
import CheckTemplate from '/@/components/checkTemplate/index.vue'
@@ -338,6 +341,15 @@
    const openUser = () => {
      userRef.value.openDialog();
    };
    //全屏
    const full = ref(false);
    const toggleFullscreen = () => {
      if (full.value == false) {
        full.value = true;
      } else {
        full.value = false;
      }
    };
    return {
      openDialog,
      closeDialog,
@@ -360,6 +372,9 @@
      userRef,
      regionsDialog,
      openRef,
      toggleFullscreen,
      FullScreen,
      full,
    };
  },
});
@@ -382,4 +397,4 @@
.el-select{
  width: 100%;
}
</style>
</style>