代码格式化

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

@ -104,4 +104,4 @@ export const layoutFnGetHiddenLevelList = async () => {
DICTIONARIES_ID: "5e7cf8620ba54ad89719d0be62133c7a",
});
return ref(resData);
};
};

View File

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

View File

@ -15,7 +15,12 @@
<el-col :span="6">
<el-form-item label="隐患级别:" prop="HIDDENLEVEL">
<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-form-item>
</el-col>
@ -128,7 +133,9 @@
import { useRouter } from "vue-router";
import { serialNumber, translationStatus } from "@/assets/js/utils";
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 { ElMessage } from "element-plus";

View File

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

View File

@ -42,7 +42,11 @@
<span class="directory_name" style="margin-right: 20px">
{{ item.NAME || item.COURSEWARENAME }}
</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) }}
</span>
<el-button