diff --git a/src/components/userinfo/components/basicInfo.vue b/src/components/userinfo/components/basicInfo.vue index 3a82001..d7de559 100644 --- a/src/components/userinfo/components/basicInfo.vue +++ b/src/components/userinfo/components/basicInfo.vue @@ -161,168 +161,174 @@ /> -
- - * - 求职人员身份: - - {{ selectMemberIdentityString || '-' }} -
- - - +
+ + * + 求职人员身份: + + {{ selectMemberIdentityString || '-' }} +
+ - {{ item.typeName }} - - + + + {{ item.typeName }} + + +
-
-
- - * - 民族: - - {{ selectNationString || '-' }} -
- - - - {{ item.typeName }} - - +
+ + * + 民族: + + {{ selectNationString || '-' }} +
+ + + + {{ item.typeName }} + + +
-
-
- - * - 政治面貌: - - {{ selectPoliticsString || '-' }} -
- - - + + * + 政治面貌: + + {{ selectPoliticsString || '-' }} +
+ - {{ item.typeName }} - - + + + {{ item.typeName }} + + +
-
-
- - * - 婚姻状态: - - {{ selectMarriageString || '-' }} -
- - - + + * + 婚姻状态: + + {{ selectMarriageString || '-' }} +
+ - {{ item.typeName }} - - + + + {{ item.typeName }} + + +
-
-
- - * - 户口性质: - - {{ selectHukouXingzhiString || '-' }} -
- - - - {{ item.typeName }} - - +
+ + * + 户口性质: + + {{ selectHukouXingzhiString || '-' }} +
+ + + + {{ item.typeName }} + + +
-
-
- - * - 现住址: - - {{ info.liveAddress || '-' }} -
- +
+ + * + 现住址: + + {{ info.liveAddress || '-' }} +
+ +
-
-
- - * - 电子邮箱: - - {{ info.mailBox || '-' }} -
- +
+ + * + 电子邮箱: + + {{ info.mailBox || '-' }} +
+ +
-
-
- - * - 健康状况: - - {{ selectHealthStatusString || '-' }} -
- - - - {{ item.typeName }} - - +
+ + * + 健康状况: + + {{ selectHealthStatusString || '-' }} +
+ + + + {{ item.typeName }} + + +
-
+
- @@ -343,6 +349,10 @@ export default { type: Number, default: 1 }, + platform: { + type: String, + default: "" + }, info: { type: Object, default: null diff --git a/src/components/userinfo/components/jobWantedStatus.vue b/src/components/userinfo/components/jobWantedStatus.vue index 4e5e44f..b8b0210 100644 --- a/src/components/userinfo/components/jobWantedStatus.vue +++ b/src/components/userinfo/components/jobWantedStatus.vue @@ -10,7 +10,7 @@
-
+
* 简历名称: @@ -183,6 +183,10 @@ export default { type: Number, default: 1 }, + platform: { + type: String, + default: "" + }, info: { type: Object, default: null @@ -236,7 +240,6 @@ export default { // return; // } const data = this.info; - console.info("jobwanted", this.info); if (data) { // 设置用户求职意向地址 const address = getWorkCity( @@ -245,6 +248,7 @@ export default { data.cityCode, data.districtCode ); + console.info("jobwanted", this.info, address, this.cityList); Reflect.set(data, "jobWantedAddress", address); // 设置用户求职意向 const jobWantedStatus = this.getJobWantedStatus(data.status); diff --git a/src/components/userinfo/userInfoModal.vue b/src/components/userinfo/userInfoModal.vue index c5e471c..fcfeddf 100644 --- a/src/components/userinfo/userInfoModal.vue +++ b/src/components/userinfo/userInfoModal.vue @@ -61,6 +61,7 @@ v-if="basicInfo" :id="vipID" :isSelfSupport="isSelfSupport" + :platform="platform" :educationWordList="educationWordList" :info="basicInfo" @update="updateSysMemberBase" @@ -70,6 +71,7 @@ v-if="memberIntentionInfo" :id="vipID" :isSelfSupport="isSelfSupport" + :platform="platform" :info="memberIntentionInfo" /> diff --git a/src/plugs/utils.js b/src/plugs/utils.js index 1b24591..d175be2 100644 --- a/src/plugs/utils.js +++ b/src/plugs/utils.js @@ -23,6 +23,15 @@ export const removeEmptyArrays = (data) => { * @return { String } 为空时返回'-',非空时返回多级省市区串联字符串,例如:'XXX/XXX/XXX' */ export const getWorkCity = (cityRes, province, city, area) => { + if (province && province.length > 6) { + province = province.substr(0, 6) + } + if (city && city.length > 6) { + city = city.substr(0, 6) + } + if (area && area.length > 6) { + area = area.substr(0, 6) + } const addressList = []; if (cityRes && province) { for (let provinceItem of cityRes) {