相关方appbug修复
							parent
							
								
									83f1310d06
								
							
						
					
					
						commit
						29f634970c
					
				| 
						 | 
					@ -18,7 +18,7 @@
 | 
				
			||||||
              <template v-if="item.departState === '3'">已审核</template>
 | 
					              <template v-if="item.departState === '3'">已审核</template>
 | 
				
			||||||
            </text>
 | 
					            </text>
 | 
				
			||||||
          </view>
 | 
					          </view>
 | 
				
			||||||
          <view class="flex-between mt-10 subtitle">
 | 
					          <view class="flex-between mt-10 subtitle" v-if="item.departState !== '1'">
 | 
				
			||||||
            <text>单位在职申请审核状态:
 | 
					            <text>单位在职申请审核状态:
 | 
				
			||||||
              <template v-if="item.auditState === '0'">已打回</template>
 | 
					              <template v-if="item.auditState === '0'">已打回</template>
 | 
				
			||||||
              <template v-if="item.auditState === '1'">待审核</template>
 | 
					              <template v-if="item.auditState === '1'">待审核</template>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -57,7 +57,8 @@ export default {
 | 
				
			||||||
        leaveReason: this.form.LEAVE_REASON,
 | 
					        leaveReason: this.form.LEAVE_REASON,
 | 
				
			||||||
        operatorId: this.userInfo.USER_ID,
 | 
					        operatorId: this.userInfo.USER_ID,
 | 
				
			||||||
        userId: 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('离职成功')
 | 
					      uni.$u.toast('离职成功')
 | 
				
			||||||
      setTimeout(() => {
 | 
					      setTimeout(() => {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -120,6 +120,7 @@ export default {
 | 
				
			||||||
      })
 | 
					      })
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    clickItem(name, index) {
 | 
					    clickItem(name, index) {
 | 
				
			||||||
 | 
					      console.log('点击了')
 | 
				
			||||||
      if (name === '版本更新') this.fnUpdateVersion()
 | 
					      if (name === '版本更新') this.fnUpdateVersion()
 | 
				
			||||||
      else {
 | 
					      else {
 | 
				
			||||||
        uni.$u.route({
 | 
					        uni.$u.route({
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1056,6 +1056,7 @@ export default {
 | 
				
			||||||
        this.form.userDetails.socialNumber = this.form.socialNumber;
 | 
					        this.form.userDetails.socialNumber = this.form.socialNumber;
 | 
				
			||||||
        this.form.userDetails.postId = this.form.postId;
 | 
					        this.form.userDetails.postId = this.form.postId;
 | 
				
			||||||
        this.form.userDetails.postName = this.form.postId;
 | 
					        this.form.userDetails.postName = this.form.postId;
 | 
				
			||||||
 | 
					        this.form.postMethod = 'application/json';
 | 
				
			||||||
        // 保存人员信息
 | 
					        // 保存人员信息
 | 
				
			||||||
        await setUserInitV1(this.form)
 | 
					        await setUserInitV1(this.form)
 | 
				
			||||||
        // 更新token
 | 
					        // 更新token
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,7 +4,6 @@
 | 
				
			||||||
      <view class="card">
 | 
					      <view class="card">
 | 
				
			||||||
        <view class="text_content">
 | 
					        <view class="text_content">
 | 
				
			||||||
          <view class="title title_left">基础信息</view>
 | 
					          <view class="title title_left">基础信息</view>
 | 
				
			||||||
          <!--					<view class="title_right" @click="fnGoEditUserInfo">修改</view>-->
 | 
					 | 
				
			||||||
        </view>
 | 
					        </view>
 | 
				
			||||||
        <u-cell-group>
 | 
					        <u-cell-group>
 | 
				
			||||||
          <u-cell title="照片">
 | 
					          <u-cell title="照片">
 | 
				
			||||||
| 
						 | 
					@ -59,7 +58,7 @@
 | 
				
			||||||
              </view>
 | 
					              </view>
 | 
				
			||||||
            </template>
 | 
					            </template>
 | 
				
			||||||
          </u-cell>
 | 
					          </u-cell>
 | 
				
			||||||
          <u-cell title="是否流动人员" :value="info.ISFLOW == '0' ? '否' : '是'"></u-cell>
 | 
					          <u-cell title="是否流动人员" :value="info.isflow === '0' ? '否' : '是'"></u-cell>
 | 
				
			||||||
        </u-cell-group>
 | 
					        </u-cell-group>
 | 
				
			||||||
      </view>
 | 
					      </view>
 | 
				
			||||||
    </view>
 | 
					    </view>
 | 
				
			||||||
| 
						 | 
					@ -67,16 +66,12 @@
 | 
				
			||||||
      <view class="card">
 | 
					      <view class="card">
 | 
				
			||||||
        <view class="text_content">
 | 
					        <view class="text_content">
 | 
				
			||||||
          <view class="title title_left">企业就职信息</view>
 | 
					          <view class="title title_left">企业就职信息</view>
 | 
				
			||||||
          <!--					<view v-if = "info.DEPART_STATE == '0'" class="title_right" @click="goEdit">修改</view>-->
 | 
					          <view class="title_right_red" v-if="info.departState !== '0'">已离职</view>
 | 
				
			||||||
          <!--					<view v-else class="title_right_red">已离职</view>-->
 | 
					 | 
				
			||||||
          <view class="title_right_red" v-if="info.DEPART_STATE != '0'">已离职</view>
 | 
					 | 
				
			||||||
        </view>
 | 
					        </view>
 | 
				
			||||||
        <u-cell-group>
 | 
					        <u-cell-group>
 | 
				
			||||||
          <u-cell title="岗位名称" :value="info.POST_ID"></u-cell>
 | 
					          <u-cell title="岗位名称" :value="info.postId"></u-cell>
 | 
				
			||||||
          <!--					<u-cell title="本企业从业开始日期" :value="info.CORP_START_DATE"></u-cell>-->
 | 
					          <u-cell title="是否签署劳动合同" :value="info.isSignLabor === '0' ? '否' : '是'"></u-cell>
 | 
				
			||||||
          <!--					<u-cell title="本岗位从业开始日期" :value="info.ENTRY_DATE"></u-cell>-->
 | 
					          <u-cell title="劳动合同附件" v-show="info.isSignLabor === '1'">
 | 
				
			||||||
          <u-cell title="是否签署劳动合同" :value="info.IS_SIGN_LABOR == '0' ? '否' : '是'"></u-cell>
 | 
					 | 
				
			||||||
          <u-cell title="劳动合同附件" v-show="info.IS_SIGN_LABOR === '1'">
 | 
					 | 
				
			||||||
            <template #value>
 | 
					            <template #value>
 | 
				
			||||||
              <view v-for="(item,index) in contractFile" :key="index"
 | 
					              <view v-for="(item,index) in contractFile" :key="index"
 | 
				
			||||||
                    style="display: flex;justify-content: space-between;margin-left: 10rpx;">
 | 
					                    style="display: flex;justify-content: space-between;margin-left: 10rpx;">
 | 
				
			||||||
| 
						 | 
					@ -85,10 +80,10 @@
 | 
				
			||||||
              </view>
 | 
					              </view>
 | 
				
			||||||
            </template>
 | 
					            </template>
 | 
				
			||||||
          </u-cell>
 | 
					          </u-cell>
 | 
				
			||||||
          <u-cell title="是否缴纳工伤保险" :value="info.IS_INJURIES_PAY == '0' ? '否' : '是'"></u-cell>
 | 
					          <u-cell title="是否缴纳工伤保险" :value="info.isInjuriesPay === '0' ? '否' : '是'"></u-cell>
 | 
				
			||||||
          <u-cell title="工伤有效期" v-show="info.IS_INJURIES_PAY === '1'" :value="info.IS_INJURIES_PAY_TIME">
 | 
					          <u-cell title="工伤有效期" v-show="info.isInjuriesPay === '1'" :value="info.IS_INJURIES_PAY_TIME">
 | 
				
			||||||
          </u-cell>
 | 
					          </u-cell>
 | 
				
			||||||
          <u-cell title="工伤保险凭证" v-show="info.IS_INJURIES_PAY === '1'">
 | 
					          <u-cell title="工伤保险凭证" v-show="info.isInjuriesPay === '1'">
 | 
				
			||||||
            <template #value>
 | 
					            <template #value>
 | 
				
			||||||
              <view v-for="(item,index) in workInsurancePhotoFile" :key="index"
 | 
					              <view v-for="(item,index) in workInsurancePhotoFile" :key="index"
 | 
				
			||||||
                    style="display: flex;justify-content: space-between;margin-left: 10rpx;">
 | 
					                    style="display: flex;justify-content: space-between;margin-left: 10rpx;">
 | 
				
			||||||
| 
						 | 
					@ -97,9 +92,9 @@
 | 
				
			||||||
              </view>
 | 
					              </view>
 | 
				
			||||||
            </template>
 | 
					            </template>
 | 
				
			||||||
          </u-cell>
 | 
					          </u-cell>
 | 
				
			||||||
          <u-cell title="是否缴纳商业保险" :value="info.ISPAY == '0' ? '否' : '是'"></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'" :value="info.ISPAY_NUMBER"></u-cell>
 | 
				
			||||||
          <u-cell title="保险附件" v-show="info.ISPAY === '1'">
 | 
					          <u-cell title="保险附件" v-show="info.ispay === '1'">
 | 
				
			||||||
            <template #value>
 | 
					            <template #value>
 | 
				
			||||||
              <view v-for="(item,index) in insuranceFile" :key="index"
 | 
					              <view v-for="(item,index) in insuranceFile" :key="index"
 | 
				
			||||||
                    style="display: flex;justify-content: space-between;margin-left: 10rpx;">
 | 
					                    style="display: flex;justify-content: space-between;margin-left: 10rpx;">
 | 
				
			||||||
| 
						 | 
					@ -108,8 +103,8 @@
 | 
				
			||||||
              </view>
 | 
					              </view>
 | 
				
			||||||
            </template>
 | 
					            </template>
 | 
				
			||||||
          </u-cell>
 | 
					          </u-cell>
 | 
				
			||||||
          <u-cell title="是否参加三级安全培训" :value="info.IS_LEVEL_THREE == '0' ? '否' : '是'"></u-cell>
 | 
					          <u-cell title="是否参加三级安全培训" :value="info.isLevelThree === '0' ? '否' : '是'"></u-cell>
 | 
				
			||||||
          <u-cell title="是否特殊工种" :value="info.IS_SPECIAL_JOB == '0' ? '否' : '是'"></u-cell>
 | 
					          <u-cell title="是否特殊工种" :value="info.isSpecialJob === '0' ? '否' : '是'"></u-cell>
 | 
				
			||||||
        </u-cell-group>
 | 
					        </u-cell-group>
 | 
				
			||||||
      </view>
 | 
					      </view>
 | 
				
			||||||
    </view>
 | 
					    </view>
 | 
				
			||||||
| 
						 | 
					@ -146,9 +141,6 @@ export default {
 | 
				
			||||||
  onLoad(query) {
 | 
					  onLoad(query) {
 | 
				
			||||||
    this.EMPLOYMENT_APPLY_MANAGEMENT_ID = query.EMPLOYMENT_APPLY_MANAGEMENT_ID
 | 
					    this.EMPLOYMENT_APPLY_MANAGEMENT_ID = query.EMPLOYMENT_APPLY_MANAGEMENT_ID
 | 
				
			||||||
    this.CORPINFO_ID = query.CORPINFO_ID
 | 
					    this.CORPINFO_ID = query.CORPINFO_ID
 | 
				
			||||||
    // if (query.DEPART_STATE != '0') {
 | 
					 | 
				
			||||||
    // 	this.DEPART_STATE = query.DEPART_STATE
 | 
					 | 
				
			||||||
    // }
 | 
					 | 
				
			||||||
    this.fnGetData()
 | 
					    this.fnGetData()
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  computed: {
 | 
					  computed: {
 | 
				
			||||||
| 
						 | 
					@ -162,16 +154,6 @@ export default {
 | 
				
			||||||
        url: '/pages/mine/information/update'
 | 
					        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() {
 | 
					    reloadx() {
 | 
				
			||||||
      this.contractFile = []
 | 
					      this.contractFile = []
 | 
				
			||||||
      this.insuranceFile = []
 | 
					      this.insuranceFile = []
 | 
				
			||||||
| 
						 | 
					@ -182,7 +164,6 @@ export default {
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    async fnGetData() {
 | 
					    async fnGetData() {
 | 
				
			||||||
      let resData = await getUserInfo({
 | 
					      let resData = await getUserInfo({
 | 
				
			||||||
        // CORPINFO_ID:this.userInfo.CORPINFO_ID,
 | 
					 | 
				
			||||||
        dataType: this.DEPART_STATE,
 | 
					        dataType: this.DEPART_STATE,
 | 
				
			||||||
        CORPINFO_ID: this.CORPINFO_ID,
 | 
					        CORPINFO_ID: this.CORPINFO_ID,
 | 
				
			||||||
        EMPLOYMENT_APPLY_MANAGEMENT_ID: this.EMPLOYMENT_APPLY_MANAGEMENT_ID
 | 
					        EMPLOYMENT_APPLY_MANAGEMENT_ID: this.EMPLOYMENT_APPLY_MANAGEMENT_ID
 | 
				
			||||||
| 
						 | 
					@ -215,7 +196,6 @@ export default {
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      if (resData.userPhotoFile && resData.userPhotoFile.length > 0) {
 | 
					      if (resData.userPhotoFile && resData.userPhotoFile.length > 0) {
 | 
				
			||||||
        this.$set(this.info, 'userPhoto', this.$filePath + resData.userPhotoFile[0].FILEPATH)
 | 
					        this.$set(this.info, 'userPhoto', this.$filePath + resData.userPhotoFile[0].FILEPATH)
 | 
				
			||||||
        console.log(this.info.userPhoto)
 | 
					 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue