diff --git a/App.vue b/App.vue index 86cbe4b..2e70dea 100644 --- a/App.vue +++ b/App.vue @@ -1,348 +1,348 @@ diff --git a/pages/person/index.vue b/pages/person/index.vue index 83a6aaa..19fd559 100644 --- a/pages/person/index.vue +++ b/pages/person/index.vue @@ -756,13 +756,13 @@ export default { console.log("获取待处理数量:", res); if (res.approvePassHasNotRed > 0) { uni.setTabBarBadge({ - index: 3, + index: 2, text: String(res.approvePassHasNotRed), }); that.readed = false; } else { uni.removeTabBarBadge({ - index: 3, + index: 2, }); that.readed = true; } diff --git a/root/detail/fellow.vue b/root/detail/fellow.vue index ec7b89f..3a607b4 100644 --- a/root/detail/fellow.vue +++ b/root/detail/fellow.vue @@ -1,28 +1,21 @@ diff --git a/root/detail/userShare.vue b/root/detail/userShare.vue index ba817be..b76c5f2 100644 --- a/root/detail/userShare.vue +++ b/root/detail/userShare.vue @@ -50,12 +50,13 @@
-
+ +
-
+
@@ -76,7 +77,7 @@
- +
diff --git a/root/home/editTownsman.vue b/root/home/editTownsman.vue index a1f178f..b3e7cd7 100644 --- a/root/home/editTownsman.vue +++ b/root/home/editTownsman.vue @@ -172,11 +172,17 @@ export default { options.sex = 1 } if (options.nation) { - options.nation = options.nation + options.nation = options.nation.indexOf('族') > -1 ? options.nation : options.nation + '族' } else { options.nation = '汉族' } this.info = options + // 民族的回显 + that.nation.forEach((item, index) => { + if (item == that.info.nation) { + that.nationIndex = index + } + }) if (this.info.imgs) { this.imgList = this.info.imgs.split(',') } diff --git a/root/home/quickApplication.vue b/root/home/quickApplication.vue index bd55a96..fbbde32 100644 --- a/root/home/quickApplication.vue +++ b/root/home/quickApplication.vue @@ -159,42 +159,7 @@ export default { that.updateInfo.upAgencyId = options.agencyId; } this.updateInfo.interviewTimeStr = ""; - }, - data() { - return { - IS_CREATOR: false, - jobType: 2, - cdnBaseImg: this.G.store().cdnBaseImg, - nation: nationlist.map((item, index) => { - return item.name; - }), - nationIndex: 0, - userTel: "", - info: { - name: "", - sex: "男", - age: "", - nation: "", - idCard: "", - address: "", - }, - updateInfo: { - jobId: 0, - jobName: "请选择报名职位", - desp: "", - interviewTimeStr: "", - }, - persenInfo: [], - agreeRadio: ["agree"], - jobData: [], - zhengceTextList: [], - btnLaoding:false - }; - }, - onShow() { - let that = this; - that.pageSpeed = -1; - that.jobData = [ + that.jobData = [ { icon: "", label: "报名职位", @@ -207,6 +172,18 @@ export default { customRequire: true, pColumn: 12, }, + { + icon: "", + label: "面试地址", + result: "", + path: "/root/other/search?from=record", + placeholder: "请选择面试地址", + fontColor: that.updateInfo.jobName == "请选择面试地址" ? "g_c_9" : "g_c_3", + tip: "slot-choose&input-address", + require: false, + customRequire: true, + pColumn: 12, + }, { icon: "", label: "预约面试时间", @@ -295,6 +272,43 @@ export default { }); } }, 1); + + }, + data() { + return { + IS_CREATOR: false, + jobType: 2, + cdnBaseImg: this.G.store().cdnBaseImg, + nation: nationlist.map((item, index) => { + return item.name; + }), + nationIndex: 0, + userTel: "", + info: { + name: "", + sex: "男", + age: "", + nation: "", + idCard: "", + address: "", + }, + updateInfo: { + jobId: 0, + jobName: "请选择报名职位", + desp: "", + interviewTimeStr: "", + }, + persenInfo: [], + agreeRadio: ["agree"], + jobData: [], + zhengceTextList: [], + btnLaoding:false + }; + }, + onShow() { + let that = this; + that.pageSpeed = -1; + }, methods: { getTownsManInfo(info){ @@ -445,12 +459,12 @@ export default { return false; } if(that.btnLaoding){ - return + return false } - that.btnLaoding= true + that.btnLaoding = true + let submitInfo = { ...that.updateInfo, - } submitInfo.applyUserJson = JSON.stringify( that.persenInfo.map((item) => {