相关方appbug修复

hyx_2025-01-13_xgf2.0
liujun 2025-03-10 10:03:29 +08:00
parent 83f1310d06
commit 29f634970c
5 changed files with 18 additions and 35 deletions

View File

@ -18,7 +18,7 @@
<template v-if="item.departState === '3'"></template>
</text>
</view>
<view class="flex-between mt-10 subtitle">
<view class="flex-between mt-10 subtitle" v-if="item.departState !== '1'">
<text>单位在职申请审核状态
<template v-if="item.auditState === '0'"></template>
<template v-if="item.auditState === '1'"></template>

View File

@ -57,7 +57,8 @@ export default {
leaveReason: this.form.LEAVE_REASON,
operatorId: this.userInfo.USER_ID,
userId: this.userInfo.USER_ID,
id: this.userInfo.USER_ID
id: this.userInfo.USER_ID,
postMethod: 'application/json'
})
uni.$u.toast('离职成功')
setTimeout(() => {

View File

@ -120,6 +120,7 @@ export default {
})
},
clickItem(name, index) {
console.log('点击了')
if (name === '版本更新') this.fnUpdateVersion()
else {
uni.$u.route({

View File

@ -1056,6 +1056,7 @@ export default {
this.form.userDetails.socialNumber = this.form.socialNumber;
this.form.userDetails.postId = this.form.postId;
this.form.userDetails.postName = this.form.postId;
this.form.postMethod = 'application/json';
//
await setUserInitV1(this.form)
// token

View File

@ -4,7 +4,6 @@
<view class="card">
<view class="text_content">
<view class="title title_left">基础信息</view>
<!-- <view class="title_right" @click="fnGoEditUserInfo"></view>-->
</view>
<u-cell-group>
<u-cell title="照片">
@ -59,7 +58,7 @@
</view>
</template>
</u-cell>
<u-cell title="是否流动人员" :value="info.ISFLOW == '0' ? '否' : '是'"></u-cell>
<u-cell title="是否流动人员" :value="info.isflow === '0' ? '否' : '是'"></u-cell>
</u-cell-group>
</view>
</view>
@ -67,16 +66,12 @@
<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 class="title_right_red" v-if="info.DEPART_STATE != '0'"></view>
<view class="title_right_red" v-if="info.departState !== '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.IS_SIGN_LABOR == '0' ? '否' : '是'"></u-cell>
<u-cell title="劳动合同附件" v-show="info.IS_SIGN_LABOR === '1'">
<u-cell title="岗位名称" :value="info.postId"></u-cell>
<u-cell title="是否签署劳动合同" :value="info.isSignLabor === '0' ? '否' : '是'"></u-cell>
<u-cell title="劳动合同附件" v-show="info.isSignLabor === '1'">
<template #value>
<view v-for="(item,index) in contractFile" :key="index"
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
@ -85,10 +80,10 @@
</view>
</template>
</u-cell>
<u-cell title="是否缴纳工伤保险" :value="info.IS_INJURIES_PAY == '0' ? '否' : '是'"></u-cell>
<u-cell title="工伤有效期" v-show="info.IS_INJURIES_PAY === '1'" :value="info.IS_INJURIES_PAY_TIME">
<u-cell title="是否缴纳工伤保险" :value="info.isInjuriesPay === '0' ? '否' : '是'"></u-cell>
<u-cell title="工伤有效期" v-show="info.isInjuriesPay === '1'" :value="info.IS_INJURIES_PAY_TIME">
</u-cell>
<u-cell title="工伤保险凭证" v-show="info.IS_INJURIES_PAY === '1'">
<u-cell title="工伤保险凭证" v-show="info.isInjuriesPay === '1'">
<template #value>
<view v-for="(item,index) in workInsurancePhotoFile" :key="index"
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
@ -97,9 +92,9 @@
</view>
</template>
</u-cell>
<u-cell title="是否缴纳商业保险" :value="info.ISPAY == '0' ? '否' : '是'"></u-cell>
<u-cell title="商业保险单号" v-show="info.ISPAY === '1'" :value="info.ISPAY_NUMBER"></u-cell>
<u-cell title="保险附件" v-show="info.ISPAY === '1'">
<u-cell title="是否缴纳商业保险" :value="info.ispay === '0' ? '否' : '是'"></u-cell>
<u-cell title="商业保险单号" v-show="info.ispay === '1'" :value="info.ISPAY_NUMBER"></u-cell>
<u-cell title="保险附件" v-show="info.ispay === '1'">
<template #value>
<view v-for="(item,index) in insuranceFile" :key="index"
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
@ -108,8 +103,8 @@
</view>
</template>
</u-cell>
<u-cell title="是否参加三级安全培训" :value="info.IS_LEVEL_THREE == '0' ? '否' : '是'"></u-cell>
<u-cell title="是否特殊工种" :value="info.IS_SPECIAL_JOB == '0' ? '否' : '是'"></u-cell>
<u-cell title="是否参加三级安全培训" :value="info.isLevelThree === '0' ? '否' : '是'"></u-cell>
<u-cell title="是否特殊工种" :value="info.isSpecialJob === '0' ? '否' : '是'"></u-cell>
</u-cell-group>
</view>
</view>
@ -146,9 +141,6 @@ export default {
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
// }
this.fnGetData()
},
computed: {
@ -162,16 +154,6 @@ export default {
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
// }
// })
// },
reloadx() {
this.contractFile = []
this.insuranceFile = []
@ -182,7 +164,6 @@ export default {
},
async fnGetData() {
let resData = await getUserInfo({
// CORPINFO_ID:this.userInfo.CORPINFO_ID,
dataType: this.DEPART_STATE,
CORPINFO_ID: this.CORPINFO_ID,
EMPLOYMENT_APPLY_MANAGEMENT_ID: this.EMPLOYMENT_APPLY_MANAGEMENT_ID
@ -215,7 +196,6 @@ export default {
}
if (resData.userPhotoFile && resData.userPhotoFile.length > 0) {
this.$set(this.info, 'userPhoto', this.$filePath + resData.userPhotoFile[0].FILEPATH)
console.log(this.info.userPhoto)
}
},