diff --git a/pages/mine/information/update.vue b/pages/mine/information/update.vue index 656cafd..ef9f116 100644 --- a/pages/mine/information/update.vue +++ b/pages/mine/information/update.vue @@ -739,25 +739,25 @@ } this.form.PHONE = this.form.USERNAME this.fnCardIdDisassembly(this.form.CARD_ID) - if (this.form.IS_SOCIAL === '0') { - this.form.IS_SOCIAL_NAME = '否' - } else if (this.form.IS_SOCIAL === '1') { + if (this.form.IS_SOCIAL === '1') { this.form.IS_SOCIAL_NAME = '是' + } else { + this.form.IS_SOCIAL_NAME = '否' } - if (this.form.IS_INJURIES_PAY === '0') { - this.form.IS_INJURIES_PAY_NAME = '否' - } else if (this.form.IS_INJURIES_PAY === '1') { + if (this.form.IS_INJURIES_PAY === '1') { this.form.IS_INJURIES_PAY_NAME = '是' + } else { + this.form.IS_INJURIES_PAY_NAME = '否' } if (this.form.SEX_NAME === '0') { this.form.SEX_NAME = '男' } else if (this.form.SEX_NAME === '1') { this.form.SEX_NAME = '女' } - if (this.form.ISFLOW === '0') { - this.form.ISFLOW_NAME = '否' - } else if (this.form.ISFLOW === '1') { + if (this.form.ISFLOW === '1') { this.form.ISFLOW_NAME = '是' + } else { + this.form.ISFLOW_NAME = '否' } if (this.form.ISPAY === '1'){ @@ -766,21 +766,21 @@ this.form.ISPAY_NAME = '否' } - if (this.form.IS_LEVEL_THREE === '0'){ - this.form.IS_LEVEL_THREE_NAME = '否' - }else { + if (this.form.IS_LEVEL_THREE === '1'){ this.form.IS_LEVEL_THREE_NAME = '是' + }else { + this.form.IS_LEVEL_THREE_NAME = '否' } - 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_SIGN_LABOR === '0'){ - this.form.IS_SIGN_LABOR_NAME = '否' }else { + this.form.IS_BF_NAME = '否' + } + if (this.form.IS_SIGN_LABOR === '1'){ this.form.IS_SIGN_LABOR_NAME = '是' + }else { + this.form.IS_SIGN_LABOR_NAME = '否' } if (resData.userPhotoFile.length > 0) {