代码格式化

车辆颜色改为车牌颜色
自编号改为编号
dev
wangpeng 2024-04-23 22:17:15 +08:00
parent 629e17a48f
commit 202edf8c8e
30 changed files with 128 additions and 90 deletions

View File

@ -2,7 +2,7 @@ import { post, upload } from "@/request/axios.js";
export const getVehicleColor = (params) => export const getVehicleColor = (params) =>
post("/dictionaries/getVehicleColor", { post("/dictionaries/getVehicleColor", {
// 获取车颜色 // 获取车颜色
loading: false, loading: false,
...params, ...params,
}); });

View File

@ -2,7 +2,7 @@ import { post, upload } from "@/request/axios.js";
import { import {
getLevels, getLevels,
getLevelsByObject, getLevelsByObject,
getLevelsByParentId getLevelsByParentId,
} from "@/request/data_dictionary.js"; } from "@/request/data_dictionary.js";
import { ref } from "vue"; import { ref } from "vue";
@ -35,7 +35,7 @@ export const layoutFnGetNotificationsClassification = async () => {
return ref(resData); return ref(resData);
}; };
export const layoutFnGetMicrosoftSecurityEstate = async () => { export const layoutFnGetMicrosoftSecurityEstate = async () => {
const resData = await getLevels({ const resData = await getLevels({
DICTIONARIES_ID: "aaaecb47d95524b84904809671e48a656", DICTIONARIES_ID: "aaaecb47d95524b84904809671e48a656",
}); });

View File

@ -9,8 +9,9 @@
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="问询内容" prop="INQUIRYCONTENT"> <el-form-item label="问询内容" prop="INQUIRYCONTENT">
<el-input v-model="searchForm.INQUIRYCONTENT" <el-input
placeholder="请输入问询内容" v-model="searchForm.INQUIRYCONTENT"
placeholder="请输入问询内容"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>

View File

@ -59,10 +59,10 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="TRANSPORTVEHICLE" label="运输车辆" width="100" /> <el-table-column prop="TRANSPORTVEHICLE" label="运输车辆" width="100" />
<el-table-column prop="NAME" label="从业人员"/> <el-table-column prop="NAME" label="从业人员" />
<el-table-column prop="PHONE" label="联系电话" /> <el-table-column prop="PHONE" label="联系电话" />
<el-table-column prop="STARTTIME" label="发车时间" width="150"/> <el-table-column prop="STARTTIME" label="发车时间" width="150" />
<el-table-column prop="STOPTIME" label="收车时间" width="150"/> <el-table-column prop="STOPTIME" label="收车时间" width="150" />
<el-table-column label="操作" width="50"> <el-table-column label="操作" width="50">
<template #default="{ row }"> <template #default="{ row }">
<el-button <el-button

View File

@ -51,8 +51,8 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="LOCATIONNAME" label="地点名称" /> <el-table-column prop="LOCATIONNAME" label="地点名称" />
<el-table-column prop="ADDRESSDETAILS" label="地址详情"/> <el-table-column prop="ADDRESSDETAILS" label="地址详情" />
<el-table-column prop="CORP_NAME" label="运输企业"/> <el-table-column prop="CORP_NAME" label="运输企业" />
<el-table-column prop="CREATETIME" label="创建时间" width="150" /> <el-table-column prop="CREATETIME" label="创建时间" width="150" />
<el-table-column label="操作" width="150"> <el-table-column label="操作" width="150">
<template #default="{ row }"> <template #default="{ row }">

View File

@ -6,7 +6,7 @@
<el-divider content-position="left">基本信息</el-divider> <el-divider content-position="left">基本信息</el-divider>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="编号" prop="NUM"> <el-form-item label="编号" prop="NUM">
<el-input <el-input
v-model="form.NUM" v-model="form.NUM"
maxlength="50" maxlength="50"

View File

@ -18,7 +18,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="5">
<el-form-item label="编号" prop="NUM"> <el-form-item label="编号" prop="NUM">
<el-input v-model="searchForm.NUM" clearable /> <el-input v-model="searchForm.NUM" clearable />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -60,7 +60,7 @@
{{ serialNumber(pagination, $index) }} {{ serialNumber(pagination, $index) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="NUM" label="编号"/> <el-table-column prop="NUM" label="编号" />
<el-table-column prop="PLATE_NUMBER" label="车牌号" width="200" /> <el-table-column prop="PLATE_NUMBER" label="车牌号" width="200" />
<el-table-column prop="CONTACTS" label="联系人" width="150" /> <el-table-column prop="CONTACTS" label="联系人" width="150" />
<el-table-column prop="CONTACT_PHONE" label="联系电话" width="150" /> <el-table-column prop="CONTACT_PHONE" label="联系电话" width="150" />

View File

@ -383,7 +383,7 @@ const rules = {
{ validator: isPlateNumberRepetition, trigger: "blur" }, { validator: isPlateNumberRepetition, trigger: "blur" },
], ],
VEHICLE_COLOR: [ VEHICLE_COLOR: [
{ required: true, message: "车颜色不能为空", trigger: "change" }, { required: true, message: "车颜色不能为空", trigger: "change" },
], ],
FRAMES_NUMBER: [ FRAMES_NUMBER: [
{ required: true, message: "车架号不能为空", trigger: "change" }, { required: true, message: "车架号不能为空", trigger: "change" },

View File

@ -380,7 +380,7 @@ const rules = {
{ validator: isPlateNumberRepetition, trigger: "blur" }, { validator: isPlateNumberRepetition, trigger: "blur" },
], ],
VEHICLE_COLOR: [ VEHICLE_COLOR: [
{ required: true, message: "车颜色不能为空", trigger: "change" }, { required: true, message: "车颜色不能为空", trigger: "change" },
], ],
FRAMES_NUMBER: [ FRAMES_NUMBER: [
{ required: true, message: "车架号不能为空", trigger: "change" }, { required: true, message: "车架号不能为空", trigger: "change" },

View File

@ -53,14 +53,14 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="NEWCONTRACTNAME" label="用户名称" width="100" /> <el-table-column prop="NEWCONTRACTNAME" label="用户名称" width="100" />
<el-table-column prop="CONTRACTNAME" label="合同名称"/> <el-table-column prop="CONTRACTNAME" label="合同名称" />
<el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="100"> <el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="100">
<template #default="{ row }"> <template #default="{ row }">
<el-tag v-if="row.COMPLETIONSTATUS === '1'"></el-tag> <el-tag v-if="row.COMPLETIONSTATUS === '1'"></el-tag>
<el-tag v-else></el-tag> <el-tag v-else></el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="有效状态" prop="VALIDSTATUS" width="100"> <el-table-column label="有效状态" prop="VALIDSTATUS" width="100">
<template #default="{ row }"> <template #default="{ row }">
<el-tag v-if="row.VALIDSTATUS === '1'"></el-tag> <el-tag v-if="row.VALIDSTATUS === '1'"></el-tag>
<el-tag v-else></el-tag> <el-tag v-else></el-tag>

View File

@ -52,7 +52,7 @@
{{ serialNumber(pagination, $index) }} {{ serialNumber(pagination, $index) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="SYSTEMNAME" label="制度名称"/> <el-table-column prop="SYSTEMNAME" label="制度名称" />
<el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="100"> <el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="100">
<template #default="{ row }"> <template #default="{ row }">
<el-tag v-if="row.COMPLETIONSTATUS === '1'"></el-tag> <el-tag v-if="row.COMPLETIONSTATUS === '1'"></el-tag>

View File

@ -383,7 +383,7 @@ const getRemiderDate = (val) => {
}; };
const getVehicle = async (event) => { const getVehicle = async (event) => {
form.value.PLATE_NUMBER = '' form.value.PLATE_NUMBER = "";
const resData = await getTrailerList({ TRAFFIC_TYPE: event }); const resData = await getTrailerList({ TRAFFIC_TYPE: event });
data.vehicleList = resData.list; data.vehicleList = resData.list;
form.value.VEHICLE = ""; form.value.VEHICLE = "";
@ -397,9 +397,9 @@ const getVehicle = async (event) => {
data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile([]); data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile([]);
}; };
const fnBusChange = async (event) => { const fnBusChange = async (event) => {
if(!INSPECTANNUALLY_ID) { if (!INSPECTANNUALLY_ID) {
form.value.CAR_OWNERS = '' form.value.CAR_OWNERS = "";
form.value.TELEPHONE = '' form.value.TELEPHONE = "";
} }
const resData = await getTrailerList({ ID: event }); const resData = await getTrailerList({ ID: event });
data.busInfo = resData.list[0]; data.busInfo = resData.list[0];

View File

@ -371,7 +371,7 @@ const rules = {
REMINDER_DATE: [{ required: true, message: "请输入", trigger: "blur" }], REMINDER_DATE: [{ required: true, message: "请输入", trigger: "blur" }],
}; };
const getVehicle = async (event) => { const getVehicle = async (event) => {
form.value.PLATE_NUMBER = '' form.value.PLATE_NUMBER = "";
const model = "insure"; const model = "insure";
const resData = await getTrailerList2({ TRAFFIC_TYPE: event, model }); const resData = await getTrailerList2({ TRAFFIC_TYPE: event, model });
data.vehicleList = resData.list; data.vehicleList = resData.list;
@ -386,9 +386,9 @@ const getVehicle = async (event) => {
data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile([]); data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile([]);
}; };
const fnBusChange = async (event) => { const fnBusChange = async (event) => {
if(!INSURE_ID) { if (!INSURE_ID) {
form.value.CAR_OWNERS = '' form.value.CAR_OWNERS = "";
form.value.TELEPHONE = '' form.value.TELEPHONE = "";
} }
const resData = await getTrailerList2({ ID: event }); const resData = await getTrailerList2({ ID: event });
data.busInfo = resData.list[0]; data.busInfo = resData.list[0];

View File

@ -396,7 +396,6 @@ const fnBusChange = async (event) => {
} }
const resData = await getTrailerListMaintenance({ ID: event }); const resData = await getTrailerListMaintenance({ ID: event });
data.busInfo = resData.list[0]; data.busInfo = resData.list[0];
console.log(resData);
if (form.value.CAR_OWNERS === "") { if (form.value.CAR_OWNERS === "") {
form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS; form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS;
} }

View File

@ -13,9 +13,11 @@
prop="OCCUPATIONALNAME" prop="OCCUPATIONALNAME"
label-width="120px" label-width="120px"
> >
<el-input v-model="searchForm.OCCUPATIONALNAME" <el-input
placeholder="请输入职业危害告知书" v-model="searchForm.OCCUPATIONALNAME"
clearable /> placeholder="请输入职业危害告知书"
clearable
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
@ -58,11 +60,17 @@
{{ serialNumber(pagination, $index) }} {{ serialNumber(pagination, $index) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="NEWOCCUPATIONALNAME" label="用户名称" width="100"/> <el-table-column
prop="NEWOCCUPATIONALNAME"
label="用户名称"
width="100"
/>
<el-table-column prop="OCCUPATIONALNAME" label="职业危害告知书" /> <el-table-column prop="OCCUPATIONALNAME" label="职业危害告知书" />
<el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="100"> <el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="100">
<template #default="{ row }"> <template #default="{ row }">
<el-tag v-if="row.COMPLETIONSTATUS === '1'" type="success"></el-tag> <el-tag v-if="row.COMPLETIONSTATUS === '1'" type="success"
>已上传</el-tag
>
<el-tag v-else type="warning">未上传</el-tag> <el-tag v-else type="warning">未上传</el-tag>
</template> </template>
</el-table-column> </el-table-column>
@ -74,9 +82,9 @@
</el-table-column> </el-table-column>
<!-- <el-table-column prop="CORP_NAME" label="经营企业" width="220" /> <!-- <el-table-column prop="CORP_NAME" label="经营企业" width="220" />
<el-table-column prop="OPERATIONTYPE" label="经营类型" width="150" />--> <el-table-column prop="OPERATIONTYPE" label="经营类型" width="150" />-->
<el-table-column prop="EXPIRYDATE" label="到期时间" width="180"/> <el-table-column prop="EXPIRYDATE" label="到期时间" width="180" />
<el-table-column prop="CREATETIME" label="创建时间" width="180"/> <el-table-column prop="CREATETIME" label="创建时间" width="180" />
<el-table-column prop="OPERATTIME" label="修改时间" width="180"/> <el-table-column prop="OPERATTIME" label="修改时间" width="180" />
<el-table-column label="操作" width="180"> <el-table-column label="操作" width="180">
<template #default="{ row }"> <template #default="{ row }">
<el-button <el-button

View File

@ -37,7 +37,7 @@
{{ serialNumber(pagination, $index) }} {{ serialNumber(pagination, $index) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="PERSON_NAME" label="人员名称"/> <el-table-column prop="PERSON_NAME" label="人员名称" />
<el-table-column prop="GLOVE" label="手套" /> <el-table-column prop="GLOVE" label="手套" />
<el-table-column prop="MASK" label="口罩" /> <el-table-column prop="MASK" label="口罩" />
<el-table-column prop="OVERALL" label="工作服" /> <el-table-column prop="OVERALL" label="工作服" />

View File

@ -9,8 +9,9 @@
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="名称" prop="MANAGEMENTAGREEMENTNAME"> <el-form-item label="名称" prop="MANAGEMENTAGREEMENTNAME">
<el-input v-model="searchForm.MANAGEMENTAGREEMENTNAME" <el-input
placeholder="请输入名称" v-model="searchForm.MANAGEMENTAGREEMENTNAME"
placeholder="请输入名称"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>

View File

@ -52,7 +52,7 @@
{{ serialNumber(pagination, $index) }} {{ serialNumber(pagination, $index) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="SYSTEMNAME" label="制度名称"/> <el-table-column prop="SYSTEMNAME" label="制度名称" />
<el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="100"> <el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="100">
<template #default="{ row }"> <template #default="{ row }">
<el-tag v-if="row.COMPLETIONSTATUS === '1'"></el-tag> <el-tag v-if="row.COMPLETIONSTATUS === '1'"></el-tag>

View File

@ -9,8 +9,9 @@
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="名称" prop="ACTIVITIESNAME"> <el-form-item label="名称" prop="ACTIVITIESNAME">
<el-input v-model="searchForm.ACTIVITIESNAME" <el-input
placeholder="请输入名称" v-model="searchForm.ACTIVITIESNAME"
placeholder="请输入名称"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -57,14 +58,20 @@
<el-table-column prop="ACTIVITIESNAME" label="名称" width="250" /> <el-table-column prop="ACTIVITIESNAME" label="名称" width="250" />
<el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="250"> <el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="250">
<template #default="{ row }"> <template #default="{ row }">
<el-tag v-if="row.COMPLETIONSTATUS === '1'" type="success"></el-tag> <el-tag v-if="row.COMPLETIONSTATUS === '1'" type="success"
<el-tag v-else-if="row.COMPLETIONSTATUS === '0'" type="warning">未上传</el-tag> >已上传</el-tag
>
<el-tag v-else-if="row.COMPLETIONSTATUS === '0'" type="warning"
>未上传</el-tag
>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="有效状态" prop="VALIDSTATUS"> <el-table-column label="有效状态" prop="VALIDSTATUS">
<template #default="{ row }"> <template #default="{ row }">
<el-tag v-if="row.VALIDSTATUS === '1'" type="success"></el-tag> <el-tag v-if="row.VALIDSTATUS === '1'" type="success"></el-tag>
<el-tag v-else-if="row.VALIDSTATUS === '0'" type="warning">未生效</el-tag> <el-tag v-else-if="row.VALIDSTATUS === '0'" type="warning"
>未生效</el-tag
>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column prop="CORP_NAME" label="经营企业" width="150" />--> <!-- <el-table-column prop="CORP_NAME" label="经营企业" width="150" />-->

View File

@ -9,8 +9,9 @@
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="名称" prop="MANUALNAME"> <el-form-item label="名称" prop="MANUALNAME">
<el-input v-model="searchForm.MANUALNAME" <el-input
placeholder="请输入名称" v-model="searchForm.MANUALNAME"
placeholder="请输入名称"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -25,7 +26,7 @@
<el-col :span="6"> <el-col :span="6">
<el-form-item label="有效状态" prop="VALIDSTATUS"> <el-form-item label="有效状态" prop="VALIDSTATUS">
<el-select v-model="searchForm.VALIDSTATUS"> <el-select v-model="searchForm.VALIDSTATUS">
<el-option label="正常" :value="1" type="success"/> <el-option label="正常" :value="1" type="success" />
<el-option label="未生效" :value="0" type="error" /> <el-option label="未生效" :value="0" type="error" />
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -57,14 +58,20 @@
<el-table-column prop="MANUALNAME" label="名称" width="250" /> <el-table-column prop="MANUALNAME" label="名称" width="250" />
<el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="250"> <el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="250">
<template #default="{ row }"> <template #default="{ row }">
<el-tag v-if="row.COMPLETIONSTATUS === '1'" type="success"></el-tag> <el-tag v-if="row.COMPLETIONSTATUS === '1'" type="success"
<el-tag v-else-if="row.COMPLETIONSTATUS === '0'" type="warning">未上传</el-tag> >已上传</el-tag
>
<el-tag v-else-if="row.COMPLETIONSTATUS === '0'" type="warning"
>未上传</el-tag
>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="有效状态" prop="VALIDSTATUS"> <el-table-column label="有效状态" prop="VALIDSTATUS">
<template #default="{ row }"> <template #default="{ row }">
<el-tag v-if="row.VALIDSTATUS === '1'" type="success"></el-tag> <el-tag v-if="row.VALIDSTATUS === '1'" type="success"></el-tag>
<el-tag v-else-if="row.VALIDSTATUS === '0'" type="warning">未生效</el-tag> <el-tag v-else-if="row.VALIDSTATUS === '0'" type="warning"
>未生效</el-tag
>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column prop="CORP_NAME" label="经营企业" width="150" />--> <!-- <el-table-column prop="CORP_NAME" label="经营企业" width="150" />-->

View File

@ -52,7 +52,7 @@
{{ serialNumber(pagination, $index) }} {{ serialNumber(pagination, $index) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="SYSTEMNAME" label="名称"/> <el-table-column prop="SYSTEMNAME" label="名称" />
<el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="100"> <el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="100">
<template #default="{ row }"> <template #default="{ row }">
<el-tag v-if="row.COMPLETIONSTATUS === '1'"></el-tag> <el-tag v-if="row.COMPLETIONSTATUS === '1'"></el-tag>

View File

@ -9,8 +9,9 @@
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="从业人员" prop="PRACTITIONER"> <el-form-item label="从业人员" prop="PRACTITIONER">
<el-input v-model="searchForm.PRACTITIONER" <el-input
placeholder="请输入从业人员" v-model="searchForm.PRACTITIONER"
placeholder="请输入从业人员"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -157,8 +158,7 @@ const relatedClassificationList = ref(null);
onMounted(async () => { onMounted(async () => {
const data = await layoutFnGetSIGNEDSTATUSClassification(); const data = await layoutFnGetSIGNEDSTATUSClassification();
relatedClassificationList.value = data.value.list relatedClassificationList.value = data.value.list;
console.log(relatedClassificationList.value);
if (data && data.value && data.value.zTreeNodes) { if (data && data.value && data.value.zTreeNodes) {
relatedClassificationList.value = JSON.parse(data.value.zTreeNodes); relatedClassificationList.value = JSON.parse(data.value.zTreeNodes);
} }

View File

@ -9,9 +9,11 @@
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="会议标题" prop="MEETING_TITLE"> <el-form-item label="会议标题" prop="MEETING_TITLE">
<el-input v-model="searchForm.MEETING_TITLE" <el-input
placeholder="请输入会议标题" v-model="searchForm.MEETING_TITLE"
clearable /> placeholder="请输入会议标题"
clearable
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
@ -48,7 +50,7 @@
{{ serialNumber(pagination, $index) }} {{ serialNumber(pagination, $index) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="MEETING_TITLE" label="会议标题"/> <el-table-column prop="MEETING_TITLE" label="会议标题" />
<el-table-column prop="MEETING_TYPE" label="会议类型" width="150"> <el-table-column prop="MEETING_TYPE" label="会议类型" width="150">
<template #default="{ row }"> <template #default="{ row }">
<div v-if="row.MEETING_TYPE === '1'"></div> <div v-if="row.MEETING_TYPE === '1'"></div>
@ -61,12 +63,18 @@
<!-- <el-tag v-else></el-tag>--> <!-- <el-tag v-else></el-tag>-->
<!-- </template>--> <!-- </template>-->
<template #default="{ row }"> <template #default="{ row }">
<el-tag v-if="row.MEETING_STATUS === '0'" type="success"></el-tag> <el-tag v-if="row.MEETING_STATUS === '0'" type="success"
<el-tag v-else-if="row.MEETING_STATUS === '1'" type="warning">进行中</el-tag> >未开始</el-tag
<el-tag v-else-if="row.MEETING_STATUS === '2'" type="error">已结束</el-tag> >
<el-tag v-else-if="row.MEETING_STATUS === '1'" type="warning"
>进行中</el-tag
>
<el-tag v-else-if="row.MEETING_STATUS === '2'" type="error"
>已结束</el-tag
>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="MEETING_DATE" label="会议时间" width="200"/> <el-table-column prop="MEETING_DATE" label="会议时间" width="200" />
<el-table-column label="参会人数" width="80"> <el-table-column label="参会人数" width="80">
<template #default="{ row }"> <template #default="{ row }">
{{ row.MEETING_PERSONS + "/" + row.TOTALPERSONNUM }} {{ row.MEETING_PERSONS + "/" + row.TOTALPERSONNUM }}
@ -74,7 +82,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="HOST_PERSON" label="主持人" /> <el-table-column prop="HOST_PERSON" label="主持人" />
<el-table-column prop="MEETING_ADDRESS" label="会议地点" /> <el-table-column prop="MEETING_ADDRESS" label="会议地点" />
<el-table-column prop="CORP_NAME" label="运输企业" width="80"/> <el-table-column prop="CORP_NAME" label="运输企业" width="80" />
<el-table-column label="操作" width="180"> <el-table-column label="操作" width="180">
<template #default="{ row }"> <template #default="{ row }">
<el-button <el-button

View File

@ -108,7 +108,7 @@
<script setup> <script setup>
import { import {
addSecurityNotice, addSecurityNotice,
layoutFnGetMicrosoftSecurityEstate layoutFnGetMicrosoftSecurityEstate,
} from "@/request/safety_production_related.js"; } from "@/request/safety_production_related.js";
import { reactive, ref } from "vue"; import { reactive, ref } from "vue";
import LayoutUpload from "@/components/upload/index.vue"; import LayoutUpload from "@/components/upload/index.vue";
@ -136,8 +136,6 @@ const rules = {
const relatedClassificationTempList = const relatedClassificationTempList =
await layoutFnGetMicrosoftSecurityEstate(); await layoutFnGetMicrosoftSecurityEstate();
console.log(relatedClassificationTempList);
const router = useRouter(); const router = useRouter();
const data = reactive({ const data = reactive({
form: { form: {

View File

@ -9,9 +9,11 @@
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="通知标题" prop="TITLE"> <el-form-item label="通知标题" prop="TITLE">
<el-input v-model="searchForm.TITLE" <el-input
placeholder="请输入通知标题" v-model="searchForm.TITLE"
clearable /> placeholder="请输入通知标题"
clearable
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">

View File

@ -13,9 +13,11 @@
prop="RESPONSIBILITYNAME" prop="RESPONSIBILITYNAME"
label-width="120px" label-width="120px"
> >
<el-input v-model="searchForm.RESPONSIBILITYNAME" <el-input
placeholder="请输入岗位安全责任书" v-model="searchForm.RESPONSIBILITYNAME"
clearable /> placeholder="请输入岗位安全责任书"
clearable
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
@ -58,14 +60,13 @@
{{ serialNumber(pagination, $index) }} {{ serialNumber(pagination, $index) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="NEWCONTRACTNAME" label="用户名称" width="100"/> <el-table-column prop="NEWCONTRACTNAME" label="用户名称" width="100" />
<el-table-column <el-table-column prop="RESPONSIBILITYNAME" label="岗位安全责任书" />
prop="RESPONSIBILITYNAME"
label="岗位安全责任书"
/>
<el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="100"> <el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="100">
<template #default="{ row }"> <template #default="{ row }">
<el-tag v-if="row.COMPLETIONSTATUS === '1'" type="success"></el-tag> <el-tag v-if="row.COMPLETIONSTATUS === '1'" type="success"
>已上传</el-tag
>
<el-tag v-else type="warning">未上传</el-tag> <el-tag v-else type="warning">未上传</el-tag>
</template> </template>
</el-table-column> </el-table-column>

View File

@ -9,9 +9,11 @@
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="承诺书名称" prop="COMMITMENTNAME"> <el-form-item label="承诺书名称" prop="COMMITMENTNAME">
<el-input v-model="searchForm.COMMITMENTNAME" <el-input
placeholder="请输入承诺书名称" v-model="searchForm.COMMITMENTNAME"
clearable /> placeholder="请输入承诺书名称"
clearable
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
@ -59,14 +61,16 @@
label="用户名称" label="用户名称"
width="100" width="100"
/> />
<el-table-column prop="COMMITMENTNAME" label="承诺书名称"/> <el-table-column prop="COMMITMENTNAME" label="承诺书名称" />
<el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="100"> <el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="100">
<template #default="{ row }"> <template #default="{ row }">
<el-tag v-if="row.COMPLETIONSTATUS === '1'" type="success"></el-tag> <el-tag v-if="row.COMPLETIONSTATUS === '1'" type="success"
>已上传</el-tag
>
<el-tag v-else type="warning">未上传</el-tag> <el-tag v-else type="warning">未上传</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="有效状态" prop="VALIDSTATUS" width="100"> <el-table-column label="有效状态" prop="VALIDSTATUS" width="100">
<template #default="{ row }"> <template #default="{ row }">
<el-tag v-if="row.VALIDSTATUS === '1'" type="success"></el-tag> <el-tag v-if="row.VALIDSTATUS === '1'" type="success"></el-tag>
<el-tag v-else type="error">失效</el-tag> <el-tag v-else type="error">失效</el-tag>

View File

@ -9,8 +9,9 @@
<el-row> <el-row>
<el-col :span="5"> <el-col :span="5">
<el-form-item label="计划名称" prop="KEYWORDS"> <el-form-item label="计划名称" prop="KEYWORDS">
<el-input v-model="searchForm.KEYWORDS" <el-input
placeholder="请输入计划名称" v-model="searchForm.KEYWORDS"
placeholder="请输入计划名称"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>

View File

@ -9,8 +9,9 @@
<el-row> <el-row>
<el-col :span="5"> <el-col :span="5">
<el-form-item label="计划名称" prop="KEYWORDS"> <el-form-item label="计划名称" prop="KEYWORDS">
<el-input v-model="searchForm.KEYWORDS" <el-input
placeholder="请输入计划名称" v-model="searchForm.KEYWORDS"
placeholder="请输入计划名称"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>

View File

@ -99,7 +99,7 @@
{{ serialNumber(pagination, $index) }} {{ serialNumber(pagination, $index) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="REMARKS" :label="labelName"/> <el-table-column prop="REMARKS" :label="labelName" />
<el-table-column label="类型"> <el-table-column label="类型">
<template #default="{ row }"> <template #default="{ row }">
{{ {{