代码格式化

dev
wangpeng 2024-06-25 11:50:37 +08:00
parent 454dfcf300
commit dc7bd92ac7
5 changed files with 18 additions and 18 deletions

View File

@ -8,10 +8,7 @@
<el-row> <el-row>
<el-col :span="5"> <el-col :span="5">
<el-form-item label="姓名" prop="NAME"> <el-form-item label="姓名" prop="NAME">
<el-input <el-input v-model="searchForm.NAME" placeholder="请输入姓名" />
v-model="searchForm.NAME"
placeholder="请输入姓名"
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="5">
@ -24,10 +21,7 @@
</el-col> </el-col>
<el-col :span="5"> <el-col :span="5">
<el-form-item label="手机号" prop="PHONE"> <el-form-item label="手机号" prop="PHONE">
<el-input <el-input v-model="searchForm.PHONE" placeholder="请输入手机号" />
v-model="searchForm.PHONE"
placeholder="请输入手机号"
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="5">
@ -129,7 +123,6 @@ const fnSubmit = debounce(
}, },
{ atBegin: true } { atBegin: true }
); );
</script> </script>
<style scoped lang="scss"></style> <style scoped lang="scss"></style>

View File

@ -15,7 +15,12 @@
<el-col :span="6"> <el-col :span="6">
<el-form-item label="隐患级别:" prop="HIDDENLEVEL"> <el-form-item label="隐患级别:" prop="HIDDENLEVEL">
<el-select v-model="searchForm.HIDDENLEVEL" placeholder="请选择"> <el-select v-model="searchForm.HIDDENLEVEL" placeholder="请选择">
<el-option v-for="item in hiddenLevelList" :key="item.BIANMA" :label="item.NAME" :value="item.BIANMA" /> <el-option
v-for="item in hiddenLevelList"
:key="item.BIANMA"
:label="item.NAME"
:value="item.BIANMA"
/>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -128,7 +133,9 @@
import { useRouter } from "vue-router"; import { useRouter } from "vue-router";
import { serialNumber, translationStatus } from "@/assets/js/utils"; import { serialNumber, translationStatus } from "@/assets/js/utils";
import useButtonJurisdiction from "@/assets/js/useButtonJurisdiction.js"; import useButtonJurisdiction from "@/assets/js/useButtonJurisdiction.js";
import useListData, { layoutFnGetHiddenLevelList } from "@/assets/js/useListData.js"; import useListData, {
layoutFnGetHiddenLevelList,
} from "@/assets/js/useListData.js";
import { getHiddenDangerListAll } from "@/request/hidden_danger_government.js"; import { getHiddenDangerListAll } from "@/request/hidden_danger_government.js";
import { ElMessage } from "element-plus"; import { ElMessage } from "element-plus";

View File

@ -129,11 +129,7 @@
width="150" width="150"
fixed="left" fixed="left"
/> />
<el-table-column <el-table-column label="培训类型" prop="TRAININGTYPE_NAME" width="70" />
label="培训类型"
prop="TRAININGTYPE_NAME"
width="70"
/>
<el-table-column label="岗位类型" prop="POSTTYPE_NAME" width="150" /> <el-table-column label="岗位类型" prop="POSTTYPE_NAME" width="150" />
<el-table-column label="培训等级" prop="TRAINLEVEL_NAME" width="150" /> <el-table-column label="培训等级" prop="TRAINLEVEL_NAME" width="150" />
<el-table-column label="负责人" prop="PRINCIPAL" width="150" /> <el-table-column label="负责人" prop="PRINCIPAL" width="150" />

View File

@ -42,7 +42,11 @@
<span class="directory_name" style="margin-right: 20px"> <span class="directory_name" style="margin-right: 20px">
{{ item.NAME || item.COURSEWARENAME }} {{ item.NAME || item.COURSEWARENAME }}
</span> </span>
<span v-if="item.COURSEWARENAME" class="directory_type" style="margin-right: 20px"> <span
v-if="item.COURSEWARENAME"
class="directory_type"
style="margin-right: 20px"
>
课件时长{{ secondConversion(item.VIDEOTIME) }} 课件时长{{ secondConversion(item.VIDEOTIME) }}
</span> </span>
<el-button <el-button