恢复商业险、保险信息
parent
92455dc009
commit
49d05552e1
|
@ -233,6 +233,96 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-row>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="是否签订劳动合同" prop="IS_SIGN_LABOR">
|
||||
<el-radio-group v-model="form.IS_SIGN_LABOR" @change="form.contractFileList = []">
|
||||
<el-radio v-model="form.IS_SIGN_LABOR" label="1">是</el-radio>
|
||||
<el-radio v-model="form.IS_SIGN_LABOR" label="0">否</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="form.IS_SIGN_LABOR === '1'" label="合同图片" prop="contractFileList">
|
||||
<el-upload
|
||||
ref="contractFileList"
|
||||
:file-list="form.contractFileList"
|
||||
:limit="4"
|
||||
:class="{hide:hideContractUpload}"
|
||||
:auto-upload="false"
|
||||
:on-remove="handleContractFileRemove"
|
||||
:on-change="handleContractFileChange"
|
||||
multiple
|
||||
action="#"
|
||||
accept=".jpg,.jpeg,.png"
|
||||
list-type="picture-card">
|
||||
<i class="el-icon-plus" />
|
||||
</el-upload>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="是否缴纳商业保险" prop="ISPAY" @change="form.insuranceFileList = []">
|
||||
<el-radio-group v-model="form.ISPAY">
|
||||
<el-radio v-model="form.ISPAY" label="1">是</el-radio>
|
||||
<el-radio v-model="form.ISPAY" label="0">否</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="form.ISPAY === '1'" label="商业保险单号" prop="ISPAY_NUMBER">
|
||||
<el-input v-model="form.ISPAY_NUMBER" placeholder="这里输入商业保险单号..."/>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="form.ISPAY === '1'" label="保险图片" prop="insuranceFileList">
|
||||
<el-upload
|
||||
ref="insuranceFileList"
|
||||
:file-list="form.insuranceFileList"
|
||||
:limit="4"
|
||||
:class="{hide:hideInsuranceUpload}"
|
||||
:auto-upload="false"
|
||||
:on-remove="handleInsuranceFileRemove"
|
||||
:on-change="handleInsuranceFileChange"
|
||||
multiple
|
||||
action="#"
|
||||
accept=".jpg,.jpeg,.png"
|
||||
list-type="picture-card">
|
||||
<i class="el-icon-plus" />
|
||||
</el-upload>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="是否按期缴纳工伤保险" prop="IS_INJURIES_PAY" style="float:left">
|
||||
<el-radio-group v-model="form.IS_INJURIES_PAY">
|
||||
<el-radio v-model="form.IS_INJURIES_PAY" label="1">是</el-radio>
|
||||
<el-radio v-model="form.IS_INJURIES_PAY" label="0">否</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="form.IS_INJURIES_PAY ==='1'" label="工伤保险有效期" prop="IS_INJURIES_PAY_TIME" style="float:left">
|
||||
<el-date-picker
|
||||
v-model="form.IS_INJURIES_PAY_TIME"
|
||||
type="date"
|
||||
placeholder="选择日期"
|
||||
value-format="yyyy-MM-dd"
|
||||
format="yyyy-MM-dd"
|
||||
style="width: 290px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="form.IS_INJURIES_PAY ==='1'" label="上传工伤保险凭证" style="float:left" prop="gongshangbaoxianFile">
|
||||
<el-upload
|
||||
ref="gongshangFileList"
|
||||
:file-list="form.gongshangbaoxianFile"
|
||||
:limit="4"
|
||||
:class="{hide:hidegongshangUpload}"
|
||||
:auto-upload="false"
|
||||
:on-remove="handleGongshangFileRemove"
|
||||
:on-change="handleGongshangFileChange"
|
||||
multiple
|
||||
action="#"
|
||||
accept=".jpg,.jpeg,.png"
|
||||
list-type="picture-card">
|
||||
<i class="el-icon-plus" />
|
||||
</el-upload>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="岗位名称(工种)" prop="POST_ID" class="input-width">
|
||||
|
@ -297,7 +387,7 @@
|
|||
<el-col :span="12"/>
|
||||
</el-row>
|
||||
|
||||
</el-form>
|
||||
</el-row></el-form>
|
||||
</div>
|
||||
<div class="ui-height"/>
|
||||
<div class="ui-foot">
|
||||
|
@ -888,6 +978,33 @@ export default {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (this.form.IS_INJURIES_PAY === '1') {
|
||||
if (this.$refs['gongshangFileList'].uploadFiles.length > 0) {
|
||||
for (let i = 0; i < this.$refs['gongshangFileList'].uploadFiles.length; i++) {
|
||||
if (this.$refs['gongshangFileList'].uploadFiles[i]) {
|
||||
formData.append('WORK_INSURANCE_LIST', this.$refs['gongshangFileList'].uploadFiles[i].raw)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this.form.ISPAY === '1') {
|
||||
if (this.$refs['insuranceFileList'].uploadFiles.length > 0) {
|
||||
for (let i = 0; i < this.$refs['insuranceFileList'].uploadFiles.length; i++) {
|
||||
if (this.$refs['insuranceFileList'].uploadFiles[i]) {
|
||||
formData.append('insuranceFile', this.$refs['insuranceFileList'].uploadFiles[i].raw)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this.form.IS_SIGN_LABOR === '1') {
|
||||
if (this.$refs['contractFileList'].uploadFiles.length > 0) {
|
||||
for (let i = 0; i < this.$refs['contractFileList'].uploadFiles.length; i++) {
|
||||
if (this.$refs['contractFileList'].uploadFiles[i]) {
|
||||
formData.append('contractFile', this.$refs['contractFileList'].uploadFiles[i].raw)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
formData.append('CORPINFO_ID', JSON.parse(sessionStorage.getItem('user')).CORPINFO_ID)
|
||||
upload(
|
||||
'/user/' + this.dialogType,
|
||||
|
|
Loading…
Reference in New Issue