相关页面bug修改

liujun-2024-06-06
WenShiJun 2024-07-01 18:04:23 +08:00
parent 4d1e6a7cf0
commit 58e1c1cc74
4 changed files with 230 additions and 145 deletions

View File

@ -23,9 +23,17 @@
</u-form-item>
<u-form-item label="身份证照片(正反面)" prop="userCardIDPhotoFile" borderBottom required
class="form-item-block">
<u-upload class="mt-10" :fileList="form.userCardIDPhotoFile" @afterRead="fnAttIdPhotoAdd"
@delete="fnAttIdPhotoDelete" multiple :maxCount="2" previewFullImage>
</u-upload>
<!-- <u-upload class="mt-10" :fileList="form.userCardIDPhotoFile" @afterRead="fnAttIdPhotoAdd"-->
<!-- @delete="fnAttIdPhotoDelete" multiple :maxCount="2" previewFullImage>-->
<!-- </u-upload>-->
<view>
<u-upload class="mt-10" :fileList="form.userCardIDPhotoFile" @afterRead="fnAttIdPhotoAdd"
@delete="fnAttIdPhotoDelete" multiple :maxCount="2" previewFullImage>
</u-upload>
<view class="tip">
温馨提示用户需上传身份证正反面身份证照片数量需2才能进行人员培训
</view>
</view>
</u-form-item>
<u-form-item label="民族" prop="NATIONALITY" borderBottom required
@click="singleChoiceClick('NATIONALITY')">
@ -1034,5 +1042,9 @@
</script>
<style scoped>
.tip {
color: red;
font-size: 12px;
margin-top: 5px;
}
</style>

View File

@ -33,11 +33,20 @@
<u--input v-model="form.CARD_ID" border="none" @blur="fnCardIdDisassembly" inputAlign="right">
</u--input>
</u-form-item>
<u-form-item label="身份证照片(录入身份证正、反彩色照片)" prop="userCardIDFileList" borderBottom required
class="form-item-block">
<u-upload class="mt-10" :fileList="form.userCardIDFileList" @afterRead="fnUserCardIDAttachmentsRead"
@delete="fnInsuranceAttachmentsDelete" multiple :maxCount="2" previewFullImage></u-upload>
</u-form-item>
<!-- <u-form-item label="身份证照片(录入身份证正、反彩色照片)" prop="userCardIDFileList" borderBottom required-->
<!-- class="form-item-block">-->
<!-- <u-upload class="mt-10" :fileList="form.userCardIDFileList" @afterRead="fnUserCardIDAttachmentsRead"-->
<!-- @delete="fnInsuranceAttachmentsDelete" multiple :maxCount="2" previewFullImage></u-upload>-->
<!-- </u-form-item>-->
<u-form-item label="身份证照片(录入身份证正、反彩色照片)" prop="userCardIDFileList" borderBottom required class="form-item-block">
<view>
<u-upload class="mt-10" :fileList="form.userCardIDFileList" @afterRead="fnUserCardIDAttachmentsRead"
@delete="fnUserCardIDAttachmentsDelete" multiple :maxCount="2" previewFullImage></u-upload>
<view class="tip">
温馨提示用户需上传身份证正反面身份证照片数量需2才能进行人员培训
</view>
</view>
</u-form-item>
<u-form-item label="民族" prop="NATIONALITY_NAME" borderBottom required @click="fnShowMizuOfEducation">
<u--input v-model="form.NATIONALITY_NAME" border="none" disabled disabledColor="#ffffff"
@ -59,12 +68,12 @@
<u--input v-model="form.POLITICAL_TIME" border="none" disabled disabledColor="#ffffff"
inputAlign="right"></u--input>
</u-form-item>
<u-form-item label="户口所在地" prop="HKLOCAL" borderBottom required class="form-item-block">
<u--textarea v-model="form.HKLOCAL" border="none" autoHeight></u--textarea>
</u-form-item>
<u-form-item label="现住址" prop="ADDRESS" borderBottom required class="form-item-block">
<u--textarea v-model="form.ADDRESS" border="none" autoHeight></u--textarea>
</u-form-item>
<u-form-item label="户口所在地" prop="HKLOCAL" borderBottom class="form-item-block">
<u--textarea v-model="form.HKLOCAL" border="none" autoHeight></u--textarea>
</u-form-item>
<u-form-item label="现住址" prop="ADDRESS" borderBottom class="form-item-block">
<u--textarea v-model="form.ADDRESS" border="none" autoHeight></u--textarea>
</u-form-item>
<u-form-item label="联系电话" prop="PHONE" borderBottom required>
<u--input v-model="form.PHONE" border="none" :disabled="true" inputAlign="right"></u--input>
</u-form-item>
@ -78,22 +87,22 @@
<!-- &lt;!&ndash; 20230612改成输入框 &ndash;&gt;-->
<!-- <u&#45;&#45;input v-model="form.PERSON_WORK_TYPE" border="none" disabledColor="#ffffff" inputAlign="right"></u&#45;&#45;input>-->
<!-- </u-form-item>-->
<u-form-item label="本企业从业开始日期" prop="CORP_START_DATE" borderBottom required
@click="fnShowEnterpriseStartingDateOfEmployment">
<u--input v-model="form.CORP_START_DATE" border="none" disabled disabledColor="#ffffff"
inputAlign="right"></u--input>
</u-form-item>
<!-- <u-form-item label="本企业从业开始日期" prop="CORP_START_DATE" borderBottom required-->
<!-- @click="fnShowEnterpriseStartingDateOfEmployment">-->
<!-- <u&#45;&#45;input v-model="form.CORP_START_DATE" border="none" disabled disabledColor="#ffffff"-->
<!-- inputAlign="right"></u&#45;&#45;input>-->
<!-- </u-form-item>-->
<!-- @click="fnShowPost" -->
<u-form-item label="岗位名称" prop="POST_ID" borderBottom required>
<!-- 20230612改成输入框 -->
<u--input v-model="form.POST_ID" border="none" disabledColor="#ffffff" inputAlign="right">
</u--input>
</u-form-item>
<u-form-item label="本岗位从业开始日期" prop="ENTRY_DATE" borderBottom required
@click="fnShowPostStartingDateOfEmployment">
<u--input v-model="form.ENTRY_DATE" border="none" disabled disabledColor="#ffffff"
inputAlign="right"></u--input>
</u-form-item>
<!-- <u-form-item label="本岗位从业开始日期" prop="ENTRY_DATE" borderBottom required-->
<!-- @click="fnShowPostStartingDateOfEmployment">-->
<!-- <u&#45;&#45;input v-model="form.ENTRY_DATE" border="none" disabled disabledColor="#ffffff"-->
<!-- inputAlign="right"></u&#45;&#45;input>-->
<!-- </u-form-item>-->
<u-form-item label="是否缴纳社保" prop="IS_SOCIAL_NAME" borderBottom required
@click="fnShowIsSocial">
<u--input v-model="form.IS_SOCIAL_NAME" border="none" disabled disabledColor="#ffffff"
@ -106,6 +115,11 @@
<u-upload class="mt-10" :fileList="form.socialFileList" @afterRead="fnSocialAttachmentsRead"
@delete="fnSocialAttachmentsDelete" multiple :maxCount="2" previewFullImage></u-upload>
</u-form-item>
<u-form-item label="是否缴纳保险" prop="IS_BF_NAME" borderBottom required
@click="fnShowInjuryInsurance">
<u--input v-model="form.IS_BF_NAME" border="none" disabled disabledColor="#ffffff"
inputAlign="right"></u--input>
</u-form-item>
<u-form-item label="是否签署劳动合同" prop="IS_SIGN_LABOR_NAME" borderBottom required
@click="fnShowLaborContract">
<u--input v-model="form.IS_SIGN_LABOR_NAME" border="none" disabled disabledColor="#ffffff"
@ -153,6 +167,11 @@
<u--input v-model="form.IS_LEVEL_THREE_NAME" border="none" disabled disabledColor="#ffffff"
inputAlign="right"></u--input>
</u-form-item>
<u-form-item label="三级安全培训图片" prop="safetytraining" borderBottom required v-if="form.IS_LEVEL_THREE==='1'"
class="form-item-block">
<u-upload class="mt-10" :fileList="form.safetytraining" @afterRead="fnSafetyTrainingAfterRead2"
@delete="fnSafetyTrainingAttachmentsDelete" multiple :maxCount="4" previewFullImage></u-upload>
</u-form-item>
<!-- <u-form-item label="安全告知培训是否合格" prop="IS_SAFETY_TELL_NAME" borderBottom required
@click="fnShowAdmissionSafetyNotification">
<u--input v-model="form.IS_SAFETY_TELL_NAME" border="none" disabled
@ -163,16 +182,16 @@
@click="fnShowSafetyTimeTraining">
<u--input v-model="form.IS_SAFETY_TIME" border="none" disabled disabledColor="#ffffff" inputAlign="right"></u--input>
</u-form-item> -->
<u-form-item label="身体状况是否适应本岗位工作" prop="IS_BODY_ADAPT_NAME" borderBottom required
@click="fnShowAdaptToTheJobPosition">
<u--input v-model="form.IS_BODY_ADAPT_NAME" border="none" disabled disabledColor="#ffffff"
inputAlign="right"></u--input>
</u-form-item>
<u-form-item label="是否特殊工种" prop="IS_SPECIAL_JOB_NAME" borderBottom required
@click="fnShowSpecialTypeOfWork">
<u--input v-model="form.IS_SPECIAL_JOB_NAME" border="none" disabled disabledColor="#ffffff"
inputAlign="right"></u--input>
</u-form-item>
<!-- <u-form-item label="身体状况是否适应本岗位工作" prop="IS_BODY_ADAPT_NAME" borderBottom required-->
<!-- @click="fnShowAdaptToTheJobPosition">-->
<!-- <u&#45;&#45;input v-model="form.IS_BODY_ADAPT_NAME" border="none" disabled disabledColor="#ffffff"-->
<!-- inputAlign="right"></u&#45;&#45;input>-->
<!-- </u-form-item>-->
<!-- <u-form-item label="是否特殊工种" prop="IS_SPECIAL_JOB_NAME" borderBottom required-->
<!-- @click="fnShowSpecialTypeOfWork">-->
<!-- <u&#45;&#45;input v-model="form.IS_SPECIAL_JOB_NAME" border="none" disabled disabledColor="#ffffff"-->
<!-- inputAlign="right"></u&#45;&#45;input>-->
<!-- </u-form-item>-->
<u-form-item label="是否流动人员" prop="ISFLOW_NAME" borderBottom required
@click="fnShowFloatingPersonnel">
<u--input v-model="form.ISFLOW_NAME" border="none" disabled disabledColor="#ffffff" inputAlign="right"></u--input>
@ -194,9 +213,12 @@
<u-picker :show="showLaborContract" :columns="[[{name: '是', id: '1'}, {name: '否', id: '0'}]]" keyName="name"
@confirm="fnLaborContractConfirm" @cancel="fnShowLaborContract"></u-picker>
<u-picker :show="showEmploymentInjuryInsurance" :columns="[[{name: '是', id: '1'}, {name: '否', id: '0'}]]"
keyName="name" @confirm="fnEmploymentInjuryInsuranceConfirm" @cancel="fnShowEmploymentInjuryInsurance">
<u-picker :show="showInsurance" :columns="[[{name: '是', id: '1'}, {name: '否', id: '0'}]]"
keyName="name" @confirm="fnEInsuranceConfirm" @cancel="fnShowEmploymentInjuryInsurance">
</u-picker>
<u-picker :show="showEmploymentInjuryInsurance" :columns="[[{name: '是', id: '1'}, {name: '否', id: '0'}]]"
keyName="name" @confirm="fnEmploymentInjuryInsuranceConfirm" @cancel="fnShowEmploymentInjuryInsurance">
</u-picker>
<u-picker :show="showEmploymentPayInsurance" :columns="[[{name: '是', id: '1'}, {name: '否', id: '0'}]]"
keyName="name" @confirm="fnEmploymentPayInsuranceConfirm" @cancel="fnShowEmploymentPayInsurance">
</u-picker>
@ -282,6 +304,7 @@
showIsSocial: false,
showLaborContract: false,
showEmploymentInjuryInsurance: false,
showInsurance: false,
showEmploymentPayInsurance: false,
showSafetyTraining: false,
showAdmissionSafetyNotification: false,
@ -324,15 +347,18 @@
contractFile: [],
ISPAY: '',
ISPAY_NAME: '',
IS_INJURIES_PAY: '',
IS_BF: '',
IS_BF_NAME: '',
IS_INJURIES_PAY: '',
IS_INJURIES_PAY_NAME: '',
safetytraining: [],
insuranceFile: [],
IS_LEVEL_THREE: '',
IS_LEVEL_THREE_NAME: '',
IS_SAFETY_TELL: '',
IS_SAFETY_TELL_NAME: '',
IS_BODY_ADAPT: '',
IS_BODY_ADAPT_NAME: '',
// IS_BODY_ADAPT_NAME: '',
IS_SPECIAL_JOB: '',
IS_SPECIAL_JOB_NAME: '',
ISFLOW: '',
@ -389,16 +415,16 @@
message: '请上传身份证照片',
trigger: ['change']
},
HKLOCAL: {
required: true,
message: '请填写户口所在地',
trigger: ['blur']
},
ADDRESS: {
required: true,
message: '请填写现住址',
trigger: ['blur']
},
// HKLOCAL: {
// required: true,
// message: '',
// trigger: ['blur']
// },
// ADDRESS: {
// required: true,
// message: '',
// trigger: ['blur']
// },
PHONE: [{
required: true,
message: '请填写联系电话',
@ -442,21 +468,21 @@
// message: '',
// trigger: ['change']
// },
CORP_START_DATE: {
required: true,
message: '请选择本企业从业开始日期',
trigger: ['change']
},
// CORP_START_DATE: {
// required: true,
// message: '',
// trigger: ['change']
// },
POST_ID: {
required: true,
message: '请选择岗位名称',
trigger: ['blur']
},
ENTRY_DATE: {
required: true,
message: '请选择本岗位从业开始日期',
trigger: ['change']
},
// ENTRY_DATE: {
// required: true,
// message: '',
// trigger: ['change']
// },
SOCIAL_NUMBER: {
required: true,
message: '请填写社会保障号码',
@ -484,7 +510,11 @@
message: '请上传劳动合同附件',
trigger: ['change']
},
IS_INJURIES_PAY_NAME: {
IS_BF_NAME: {
required: true,
message: '请选择是否缴纳保险',
trigger: ['change']
},IS_INJURIES_PAY_NAME: {
required: true,
message: '请选择是否按期缴纳工伤保险',
trigger: ['change']
@ -511,6 +541,12 @@
message: '请上传保险附件',
trigger: ['change']
},
safetytraining: {
type: 'array',
required: true,
message: '请上传三方安全培训图片',
trigger: ['change']
},
IS_LEVEL_THREE_NAME: {
required: true,
message: '请选择是否参加三级安全培训',
@ -526,16 +562,16 @@
message: '请选择安全告知培训合格日期',
trigger: ['change']
},
IS_BODY_ADAPT_NAME: {
required: true,
message: '请选择身体状况是否适应本岗位工作',
trigger: ['change']
},
IS_SPECIAL_JOB_NAME: {
required: true,
message: '请选择是否特殊工种',
trigger: ['change']
},
// IS_BODY_ADAPT_NAME: {
// required: true,
// message: '',
// trigger: ['change']
// },
// IS_SPECIAL_JOB_NAME: {
// required: true,
// message: '',
// trigger: ['change']
// },
ISFLOW_NAME: {
required: true,
message: '请选择是否流动人员',
@ -593,7 +629,11 @@
} else if (this.form.IS_SIGN_LABOR === '1') {
this.form.IS_SIGN_LABOR_NAME = '是'
}
if (this.form.IS_INJURIES_PAY === '0') {
if (this.form.IS_BF === '0') {
this.form.IS_BF_NAME = '否'
} else if (this.form.IS_BF === '1') {
this.form.IS_BF_NAME = '是'
}if (this.form.IS_INJURIES_PAY === '0') {
this.form.IS_INJURIES_PAY_NAME = '否'
} else if (this.form.IS_INJURIES_PAY === '1') {
this.form.IS_INJURIES_PAY_NAME = '是'
@ -608,16 +648,16 @@
} else if (this.form.IS_SAFETY_TELL === '1') {
this.form.IS_SAFETY_TELL_NAME = '是'
}
if (this.form.IS_BODY_ADAPT === '0') {
this.form.IS_BODY_ADAPT_NAME = '否'
} else if (this.form.IS_BODY_ADAPT === '1') {
this.form.IS_BODY_ADAPT_NAME = '是'
}
if (this.form.IS_SPECIAL_JOB === '0') {
this.form.IS_SPECIAL_JOB_NAME = '否'
} else if (this.form.IS_SPECIAL_JOB === '1') {
this.form.IS_SPECIAL_JOB_NAME = '是'
}
// if (this.form.IS_BODY_ADAPT === '0') {
// this.form.IS_BODY_ADAPT_NAME = ''
// } else if (this.form.IS_BODY_ADAPT === '1') {
// this.form.IS_BODY_ADAPT_NAME = ''
// }
// if (this.form.IS_SPECIAL_JOB === '0') {
// this.form.IS_SPECIAL_JOB_NAME = ''
// } else if (this.form.IS_SPECIAL_JOB === '1') {
// this.form.IS_SPECIAL_JOB_NAME = ''
// }
if (this.form.ISFLOW === '0') {
this.form.ISFLOW_NAME = '否'
} else if (this.form.ISFLOW === '1') {
@ -643,14 +683,14 @@
showCount: 9999,
currentPage: 1,
});
this.certificateInformationLength = resData.varList.length
if (resData.varList.length > 0) {
this.form.IS_SPECIAL_JOB = '1'
this.form.IS_SPECIAL_JOB_NAME = '是'
} else {
this.form.IS_SPECIAL_JOB = '0'
this.form.IS_SPECIAL_JOB_NAME = '否'
}
// this.certificateInformationLength = resData.varList.length
// if (resData.varList.length > 0) {
// this.form.IS_SPECIAL_JOB = '1'
// this.form.IS_SPECIAL_JOB_NAME = ''
// } else {
// this.form.IS_SPECIAL_JOB = '0'
// this.form.IS_SPECIAL_JOB_NAME = ''
// }
},
async fnIDCardDeduplication(CARD_ID = this.form.CARD_ID) {
let resData = await getIDCardDeduplication({
@ -782,9 +822,17 @@
fnShowEmploymentInjuryInsurance() {
this.showEmploymentInjuryInsurance = !this.showEmploymentInjuryInsurance
},
fnShowInjuryInsurance() {
this.showInsurance = !this.showInsurance
},
fnShowEmploymentPayInsurance() {
this.showEmploymentPayInsurance = !this.showEmploymentPayInsurance
},
fnEInsuranceConfirm(e) {
this.form.IS_BF = e.value[0].id
this.form.IS_BF_NAME = e.value[0].name
this.fnShowInjuryInsurance()
},
fnEmploymentInjuryInsuranceConfirm(e) {
this.form.IS_INJURIES_PAY = e.value[0].id
this.form.IS_INJURIES_PAY_NAME = e.value[0].name
@ -812,6 +860,14 @@
fnAttachmentToLaborContractDelete(event) {
this.form.contractFile.splice(event.index, 1)
},
fnSafetyTrainingAfterRead2(event) {
for (let i = 0; i < event.file.length; i++) {
this.form.safetytraining.push(event.file[i])
}
},
fnSafetyTrainingAttachmentsDelete(event) {
this.form.safetytraining.splice(event.index, 1)
},
fnInsuranceAttachmentsAfterRead2(event) {
for (let i = 0; i < event.file.length; i++) {
this.form.insuranceFile.push(event.file[i])
@ -909,33 +965,33 @@
fnInjuriesPayTiemAttachmentsDelete(event) {
this.form.injuriesPayTiemFile.splice(event.index, 1)
},
fnAdaptToTheJobPositionConfirm(e) {
this.form.IS_BODY_ADAPT = e.value[0].id
this.form.IS_BODY_ADAPT_NAME = e.value[0].name
this.fnShowAdaptToTheJobPosition()
},
// fnAdaptToTheJobPositionConfirm(e) {
// this.form.IS_BODY_ADAPT = e.value[0].id
// this.form.IS_BODY_ADAPT_NAME = e.value[0].name
// this.fnShowAdaptToTheJobPosition()
// },
fnShowSpecialTypeOfWork() {
this.showSpecialTypeOfWork = !this.showSpecialTypeOfWork
},
fnSpecialTypeOfWorkConfirm(e) {
this.form.IS_SPECIAL_JOB = e.value[0].id
this.form.IS_SPECIAL_JOB_NAME = e.value[0].name
this.fnShowSpecialTypeOfWork()
if (e.value[0].id === '1' && this.certificateInformationLength === 0) {
uni.showModal({
title: '提示',
content: '当前没有证书信息,请完善证书信息',
showCancel: false,
success: (res) => {
if (res.confirm) {
uni.$u.route({
url: '/pages/certificate_information/index',
})
}
}
})
}
},
// fnSpecialTypeOfWorkConfirm(e) {
// this.form.IS_SPECIAL_JOB = e.value[0].id
// this.form.IS_SPECIAL_JOB_NAME = e.value[0].name
// this.fnShowSpecialTypeOfWork()
// if (e.value[0].id === '1' && this.certificateInformationLength === 0) {
// uni.showModal({
// title: '',
// content: '',
// showCancel: false,
// success: (res) => {
// if (res.confirm) {
// uni.$u.route({
// url: '/pages/certificate_information/index',
// })
// }
// }
// })
// }
// },
fnShowFloatingPersonnel() {
this.showFloatingPersonnel = !this.showFloatingPersonnel
},
@ -997,7 +1053,18 @@
}
})
}
for (let i = 0; i < this.form.insuranceFile.length; i++) {
for (let i = 0; i < this.form.safetytraining.length; i++) {
await setUploadAttachments({
filePath: this.form.safetytraining[i].url,
name: 'files',
formData: {
TYPE: '19',
FOREIGN_KEY: this.form.EMPLOYMENT_APPLY_MANAGEMENT_ID,
CORPINFO_ID: this.CORPINFO_ID,
}
})
}
for (let i = 0; i < this.form.insuranceFile.length; i++) {
await setUploadAttachments({
filePath: this.form.insuranceFile[i].url,
name: 'files',
@ -1063,5 +1130,9 @@
</script>
<style scoped>
.tip {
color: red;
font-size: 12px;
margin-top: 5px;
}
</style>

View File

@ -6,16 +6,16 @@
<u--input v-model="form.POST_ID" border="none" disabledColor="#ffffff" inputAlign="right">
</u--input>
</u-form-item>
<u-form-item label="本企业从业开始日期" prop="CORP_START_DATE" borderBottom required
@click="fnShowDatePicke('CORP_START_DATE')">
<u--input v-model="form.CORP_START_DATE" border="none" disabled disabledColor="#ffffff"
inputAlign="right"></u--input>
</u-form-item>
<u-form-item label="本岗位从业开始日期" prop="ENTRY_DATE" borderBottom required
@click="fnShowDatePicke('ENTRY_DATE')">
<u--input v-model="form.ENTRY_DATE" border="none" disabled disabledColor="#ffffff"
inputAlign="right"></u--input>
</u-form-item>
<!-- <u-form-item label="本企业从业开始日期" prop="CORP_START_DATE" borderBottom required-->
<!-- @click="fnShowDatePicke('CORP_START_DATE')">-->
<!-- <u&#45;&#45;input v-model="form.CORP_START_DATE" border="none" disabled disabledColor="#ffffff"-->
<!-- inputAlign="right"></u&#45;&#45;input>-->
<!-- </u-form-item>-->
<!-- <u-form-item label="本岗位从业开始日期" prop="ENTRY_DATE" borderBottom required-->
<!-- @click="fnShowDatePicke('ENTRY_DATE')">-->
<!-- <u&#45;&#45;input v-model="form.ENTRY_DATE" border="none" disabled disabledColor="#ffffff"-->
<!-- inputAlign="right"></u&#45;&#45;input>-->
<!-- </u-form-item>-->
<u-form-item label="是否签署劳动合同" prop="IS_SIGN_LABOR_NAME" borderBottom required
@click="fnShowLaborContract">
<u--input v-model="form.IS_SIGN_LABOR_NAME" border="none" disabled disabledColor="#ffffff"

View File

@ -4,7 +4,7 @@
<view class="card">
<view class="text_content">
<view class="title title_left">基础信息</view>
<view class="title_right" @click="fnGoEditUserInfo"></view>
<!-- <view class="title_right" @click="fnGoEditUserInfo"></view>-->
</view>
<u-cell-group>
<u-cell title="照片">
@ -66,13 +66,14 @@
<view class="card">
<view class="text_content">
<view class="title title_left">企业就职信息</view>
<view v-if = "info.DEPART_STATE == '0'" class="title_right" @click="goEdit"></view>
<view v-else class="title_right_red">已离职</view>
<!-- <view v-if = "info.DEPART_STATE == '0'" class="title_right" @click="goEdit"></view>-->
<!-- <view v-else class="title_right_red">已离职</view>-->
<view class="title_right_red" v-if="info.DEPART_STATE != '0'"></view>
</view>
<u-cell-group>
<u-cell title="岗位名称" :value="info.POST_ID"></u-cell>
<u-cell title="本企业从业开始日期" :value="info.CORP_START_DATE"></u-cell>
<u-cell title="本岗位从业开始日期" :value="info.ENTRY_DATE"></u-cell>
<!-- <u-cell title="本企业从业开始日期" :value="info.CORP_START_DATE"></u-cell>-->
<!-- <u-cell title="本岗位从业开始日期" :value="info.ENTRY_DATE"></u-cell>-->
<u-cell title="是否签署劳动合同" :value="info.IS_SIGN_LABOR == '0' ? '否' : '是'"></u-cell>
<u-cell title="劳动合同附件" v-show="info.IS_SIGN_LABOR === '1'">
<template #value>
@ -148,9 +149,9 @@
onLoad(query) {
this.EMPLOYMENT_APPLY_MANAGEMENT_ID = query.EMPLOYMENT_APPLY_MANAGEMENT_ID
this.CORPINFO_ID = query.CORPINFO_ID
if (query.DEPART_STATE != '0') {
this.DEPART_STATE = query.DEPART_STATE
}
// if (query.DEPART_STATE != '0') {
// this.DEPART_STATE = query.DEPART_STATE
// }
this.fnGetData()
},
computed: {
@ -164,16 +165,16 @@
url: '/pages/mine/information/update'
})
},
goEdit() {
uni.$u.route({
url: '/pages/related_party_units/edit',
params: {
EMPLOYMENT_APPLY_MANAGEMENT_ID: this.EMPLOYMENT_APPLY_MANAGEMENT_ID,
CORPINFO_ID: this.CORPINFO_ID,
DEPART_STATE: this.DEPART_STATE
}
})
},
// goEdit() {
// uni.$u.route({
// url: '/pages/related_party_units/edit',
// params: {
// EMPLOYMENT_APPLY_MANAGEMENT_ID: this.EMPLOYMENT_APPLY_MANAGEMENT_ID,
// CORPINFO_ID: this.CORPINFO_ID,
// DEPART_STATE: this.DEPART_STATE
// }
// })
// },
reloadx() {
this.contractFile = []
this.insuranceFile = []
@ -217,6 +218,7 @@
}
if(resData.userPhotoFile && resData.userPhotoFile.length>0){
this.$set(this.info, 'userPhoto', this.$filePath + resData.userPhotoFile[0].FILEPATH)
console.log(this.info.userPhoto)
}
},