forked from integrated_whb/integrated_whb_vue
parent
456855000a
commit
57dfe8f8c5
|
@ -197,7 +197,6 @@ import { NETWORK_STATE } from "@/assets/js/constant.js";
|
|||
import { reactive } from "vue";
|
||||
import { setFreightTrailerImport } from "@/request/enterprise_management.js";
|
||||
|
||||
|
||||
const router = useRouter();
|
||||
const data = reactive({
|
||||
importDialogVisible: false,
|
||||
|
|
|
@ -350,7 +350,10 @@
|
|||
<el-col :span="9">
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="有效期限(身份证)" prop="dates1">
|
||||
<el-form-item
|
||||
label="有效期限(身份证)"
|
||||
prop="ID_CARD_VALIDITY"
|
||||
>
|
||||
<el-date-picker
|
||||
v-model="data.form.ID_CARD_VALIDITY"
|
||||
type="daterange"
|
||||
|
@ -450,7 +453,7 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="有效期限" prop="dates2">
|
||||
<el-form-item label="有效期限" prop="DRIVER_LICENSE_VALIDITY">
|
||||
<el-date-picker
|
||||
v-model="data.form.DRIVER_LICENSE_VALIDITY"
|
||||
type="daterange"
|
||||
|
@ -559,7 +562,10 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="有效期限" prop="dates3">
|
||||
<el-form-item
|
||||
label="有效期限"
|
||||
prop="QUALIFICATION_CERTIFICATE_VALIDITY"
|
||||
>
|
||||
<el-date-picker
|
||||
v-model="data.form.QUALIFICATION_CERTIFICATE_VALIDITY"
|
||||
type="daterange"
|
||||
|
@ -793,7 +799,7 @@ const rules = {
|
|||
trigger: "blur",
|
||||
},
|
||||
],
|
||||
dates1: [
|
||||
ID_CARD_VALIDITY: [
|
||||
{
|
||||
required: true,
|
||||
message: "请选择有效期限(身份证)",
|
||||
|
@ -849,7 +855,7 @@ const rules = {
|
|||
trigger: "change",
|
||||
},
|
||||
],
|
||||
dates2: [
|
||||
DRIVER_LICENSE_VALIDITY: [
|
||||
{
|
||||
required: true,
|
||||
message: "请选择有效期限",
|
||||
|
@ -898,7 +904,7 @@ const rules = {
|
|||
trigger: "change",
|
||||
},
|
||||
],
|
||||
dates3: [
|
||||
QUALIFICATION_CERTIFICATE_VALIDITY: [
|
||||
{
|
||||
required: true,
|
||||
message: "请选择有效期限",
|
||||
|
|
|
@ -13,13 +13,13 @@
|
|||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
<!-- <el-form-item
|
||||
v-if="type === 'edit'"
|
||||
label="经营企业"
|
||||
prop="OPERATINGCOMPANY"
|
||||
>
|
||||
<span>{{ form.OPERATINGCOMPANY }}</span>
|
||||
</el-form-item>
|
||||
</el-form-item>-->
|
||||
<el-form-item label="合同文件" prop="file">
|
||||
<layout-upload
|
||||
v-model:file-list="form.file"
|
||||
|
|
|
@ -66,8 +66,8 @@
|
|||
<el-tag v-else>未生效</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="CORP_NAME" label="经营企业" width="150" />
|
||||
<el-table-column prop="OPERATIONTYPE" label="经营类型" width="150" />
|
||||
<!-- <el-table-column prop="CORP_NAME" label="经营企业" width="150" />
|
||||
<el-table-column prop="OPERATIONTYPE" label="经营类型" width="150" />-->
|
||||
<el-table-column prop="EXPIRYDATE" label="到期时间" width="150" />
|
||||
<el-table-column prop="CREATETIME" label="创建时间" width="150" />
|
||||
<el-table-column prop="OPERATTIME" label="修改时间" width="150" />
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
style="width: 300px"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
<!-- <el-form-item
|
||||
v-if="type === 'edit'"
|
||||
label="经营企业"
|
||||
prop="OPERATINGCOMPANY"
|
||||
>
|
||||
<span>{{ operatingCompany }}</span>
|
||||
</el-form-item>
|
||||
</el-form-item>-->
|
||||
<!-- <el-form-item-->
|
||||
<!-- v-if="type === 'edit'"-->
|
||||
<!-- label="经营类型"-->
|
||||
|
|
|
@ -65,8 +65,8 @@
|
|||
<el-tag v-else-if="row.VALIDSTATUS === '0'">未生效</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="CORP_NAME" label="经营企业" width="150" />
|
||||
<el-table-column prop="OPERATIONTYPE" label="经营类型" width="150" />
|
||||
<!-- <el-table-column prop="CORP_NAME" label="经营企业" width="150" />
|
||||
<el-table-column prop="OPERATIONTYPE" label="经营类型" width="150" />-->
|
||||
<el-table-column prop="EXPIRYDATE" label="到期时间" width="150" />
|
||||
<el-table-column prop="CREATETIME" label="创建时间" width="150" />
|
||||
<el-table-column prop="OPERATTIME" label="修改时间" width="150" />
|
||||
|
|
|
@ -78,7 +78,9 @@
|
|||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item label-width="10px" class="end">
|
||||
<el-button type="primary" @click="fnImportDialogChangeShow">导入</el-button>
|
||||
<el-button type="primary" @click="fnImportDialogChangeShow"
|
||||
>导入</el-button
|
||||
>
|
||||
<el-button type="primary" @click="fnExport">导出</el-button>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -328,7 +330,6 @@ const fnSubmitImport = async (formData) => {
|
|||
|
||||
const fnExport = async () => {
|
||||
const selectionData = tableRef.value.getSelectionRows();
|
||||
console.log("selectionData",selectionData);
|
||||
if (selectionData.length === 0) {
|
||||
ElMessage.warning("请选择需要导出至excel报表的记录信息");
|
||||
return;
|
||||
|
@ -345,8 +346,6 @@ const fnExport = async () => {
|
|||
"&DATA_IDS=" +
|
||||
DATA_IDS;
|
||||
};
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped></style>
|
||||
|
|
|
@ -17,13 +17,13 @@
|
|||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
<!-- <el-form-item
|
||||
v-if="type === 'edit'"
|
||||
label="经营企业"
|
||||
prop="OPERATINGCOMPANY"
|
||||
>
|
||||
<span>{{ form.OPERATINGCOMPANY }}</span>
|
||||
</el-form-item>
|
||||
</el-form-item>-->
|
||||
<el-form-item label="职业危害告知书" prop="file">
|
||||
<layout-upload
|
||||
v-model:file-list="form.file"
|
||||
|
|
|
@ -56,16 +56,8 @@
|
|||
{{ serialNumber(pagination, $index) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="NEWOCCUPATIONALNAME"
|
||||
label="用户名称"
|
||||
width="100"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="OCCUPATIONALNAME"
|
||||
label="职业危害告知书"
|
||||
width="250"
|
||||
/>
|
||||
<el-table-column prop="NEWOCCUPATIONALNAME" label="用户名称" />
|
||||
<el-table-column prop="OCCUPATIONALNAME" label="职业危害告知书" />
|
||||
<el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="100">
|
||||
<template #default="{ row }">
|
||||
<el-tag v-if="row.COMPLETIONSTATUS === '1'">已上传</el-tag>
|
||||
|
@ -78,12 +70,12 @@
|
|||
<el-tag v-else>未生效</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="CORP_NAME" label="经营企业" width="220" />
|
||||
<el-table-column prop="OPERATIONTYPE" label="经营类型" width="150" />
|
||||
<el-table-column prop="EXPIRYDATE" label="到期时间" width="150" />
|
||||
<el-table-column prop="CREATETIME" label="创建时间" width="150" />
|
||||
<el-table-column prop="OPERATTIME" label="修改时间" width="150" />
|
||||
<el-table-column label="操作" width="180">
|
||||
<!-- <el-table-column prop="CORP_NAME" label="经营企业" width="220" />
|
||||
<el-table-column prop="OPERATIONTYPE" label="经营类型" width="150" />-->
|
||||
<el-table-column prop="EXPIRYDATE" label="到期时间" />
|
||||
<el-table-column prop="CREATETIME" label="创建时间" />
|
||||
<el-table-column prop="OPERATTIME" label="修改时间" />
|
||||
<el-table-column label="操作">
|
||||
<template #default="{ row }">
|
||||
<el-button
|
||||
type="primary"
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
style="width: 300px"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
<!-- <el-form-item
|
||||
v-if="type === 'edit'"
|
||||
label="经营企业"
|
||||
prop="OPERATINGCOMPANY"
|
||||
>
|
||||
<span>{{ form.OPERATINGCOMPANY }}</span>
|
||||
</el-form-item>
|
||||
</el-form-item>-->
|
||||
<el-form-item label="会议附件" prop="file">
|
||||
<layout-upload
|
||||
v-model:file-list="form.file"
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
<el-tag v-else-if="row.VALIDSTATUS === '0'">未生效</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="CORP_NAME" label="经营企业" width="150" />
|
||||
<!-- <el-table-column prop="CORP_NAME" label="经营企业" width="150" />-->
|
||||
<el-table-column prop="EXPIRYDATE" label="到期时间" width="150" />
|
||||
<el-table-column prop="CREATETIME" label="创建时间" width="150" />
|
||||
<el-table-column prop="OPERATTIME" label="修改时间" width="150" />
|
||||
|
|
|
@ -13,13 +13,13 @@
|
|||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
<!-- <el-form-item
|
||||
v-if="type === 'edit'"
|
||||
label="经营企业"
|
||||
prop="OPERATINGCOMPANY"
|
||||
>
|
||||
<span>{{ operatingCompany }}</span>
|
||||
</el-form-item>
|
||||
</el-form-item>-->
|
||||
<el-form-item label="附件" prop="file">
|
||||
<layout-upload
|
||||
v-model:file-list="form.file"
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
<el-tag v-else-if="row.VALIDSTATUS === '0'">未生效</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="CORP_NAME" label="经营企业" width="150" />
|
||||
<!-- <el-table-column prop="CORP_NAME" label="经营企业" width="150" />-->
|
||||
<el-table-column prop="EXPIRYDATE" label="到期时间" width="150" />
|
||||
<el-table-column prop="CREATETIME" label="创建时间" width="150" />
|
||||
<el-table-column prop="OPERATTIME" label="修改时间" width="150" />
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
style="width: 300px"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
<!-- <el-form-item
|
||||
v-if="type === 'edit'"
|
||||
label="经营企业"
|
||||
prop="OPERATINGCOMPANY"
|
||||
>
|
||||
<span>{{ operatingCompany }}</span>
|
||||
</el-form-item>
|
||||
</el-form-item>-->
|
||||
<el-form-item label="会议附件" prop="file">
|
||||
<layout-upload
|
||||
v-model:file-list="form.file"
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
<el-tag v-else-if="row.VALIDSTATUS === '0'">未生效</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="CORP_NAME" label="经营企业" width="150" />
|
||||
<!-- <el-table-column prop="CORP_NAME" label="经营企业" width="150" />-->
|
||||
<el-table-column prop="EXPIRYDATE" label="到期时间" width="150" />
|
||||
<el-table-column prop="CREATETIME" label="创建时间" width="150" />
|
||||
<el-table-column prop="OPERATTIME" label="修改时间" width="150" />
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
style="width: 300px"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
<!-- <el-form-item
|
||||
v-if="type === 'edit'"
|
||||
label="经营企业"
|
||||
prop="OPERATINGCOMPANY"
|
||||
>
|
||||
<span>{{ operatingCompany }}</span>
|
||||
</el-form-item>
|
||||
</el-form-item>-->
|
||||
<el-form-item label="会议附件" prop="file">
|
||||
<layout-upload
|
||||
v-model:file-list="form.file"
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
<el-tag v-else-if="row.VALIDSTATUS === '0'">未生效</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="CORP_NAME" label="经营企业" width="150" />
|
||||
<!-- <el-table-column prop="CORP_NAME" label="经营企业" width="150" />-->
|
||||
<el-table-column prop="EXPIRYDATE" label="到期时间" width="150" />
|
||||
<el-table-column prop="CREATETIME" label="创建时间" width="150" />
|
||||
<el-table-column prop="OPERATTIME" label="修改时间" width="150" />
|
||||
|
|
|
@ -13,13 +13,13 @@
|
|||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
<!-- <el-form-item
|
||||
v-if="type === 'edit'"
|
||||
label="经营企业"
|
||||
prop="OPERATINGCOMPANY"
|
||||
>
|
||||
<span>{{ form.OPERATINGCOMPANY }}</span>
|
||||
</el-form-item>
|
||||
</el-form-item>-->
|
||||
<el-form-item label="会议附件" prop="file">
|
||||
<layout-upload
|
||||
v-model:file-list="form.file"
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
<el-tag v-else-if="row.VALIDSTATUS === '0'">未生效</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="CORP_NAME" label="经营企业" width="150" />
|
||||
<!-- <el-table-column prop="CORP_NAME" label="经营企业" width="150" />-->
|
||||
<el-table-column prop="EXPIRYDATE" label="到期时间" width="150" />
|
||||
<el-table-column prop="CREATETIME" label="创建时间" width="150" />
|
||||
<el-table-column prop="OPERATTIME" label="修改时间" width="150" />
|
||||
|
|
|
@ -17,13 +17,13 @@
|
|||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
<!-- <el-form-item
|
||||
v-if="type === 'edit'"
|
||||
label="经营企业"
|
||||
prop="OPERATINGCOMPANY"
|
||||
>
|
||||
<span>{{ form.OPERATINGCOMPANY }}</span>
|
||||
</el-form-item>
|
||||
</el-form-item>-->
|
||||
<el-form-item label="岗位安全责任书" prop="file">
|
||||
<layout-upload
|
||||
v-model:file-list="form.file"
|
||||
|
|
|
@ -74,8 +74,8 @@
|
|||
<el-tag v-else>未生效</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="CORP_NAME" label="经营企业" width="150" />
|
||||
<el-table-column prop="OPERATIONTYPE" label="经营类型" width="150" />
|
||||
<!-- <el-table-column prop="CORP_NAME" label="经营企业" width="150" />
|
||||
<el-table-column prop="OPERATIONTYPE" label="经营类型" width="150" />-->
|
||||
<el-table-column prop="EXPIRYDATE" label="到期时间" width="150" />
|
||||
<el-table-column prop="CREATETIME" label="创建时间" width="150" />
|
||||
<el-table-column prop="OPERATTIME" label="修改时间" width="150" />
|
||||
|
|
|
@ -18,13 +18,13 @@
|
|||
style="width: 300px"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
<!-- <el-form-item
|
||||
v-if="type === 'edit'"
|
||||
label="经营企业"
|
||||
prop="OPERATINGCOMPANY"
|
||||
>
|
||||
<span>{{ form.OPERATINGCOMPANY }}</span>
|
||||
</el-form-item>
|
||||
</el-form-item>-->
|
||||
<el-form-item label="承诺书文件" prop="file">
|
||||
<layout-upload
|
||||
v-model:file-list="form.file"
|
||||
|
|
|
@ -70,8 +70,8 @@
|
|||
<el-tag v-else>未生效</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="CORP_NAME" label="经营企业" width="150" />
|
||||
<el-table-column prop="OPERATIONTYPE" label="经营类型" width="150" />
|
||||
<!-- <el-table-column prop="CORP_NAME" label="经营企业" width="150" />
|
||||
<el-table-column prop="OPERATIONTYPE" label="经营类型" width="150" />-->
|
||||
<el-table-column prop="EXPIRYDATE" label="到期时间" width="150" />
|
||||
<el-table-column prop="CREATETIME" label="创建时间" width="150" />
|
||||
<el-table-column prop="OPERATTIME" label="修改时间" width="150" />
|
||||
|
|
Loading…
Reference in New Issue