From ce3df63cb36b88a8b9b2afb96f9a518f73a1615e Mon Sep 17 00:00:00 2001 From: ywk <317226901@qq.com> Date: Mon, 7 Apr 2025 16:06:47 +0800 Subject: [PATCH] =?UTF-8?q?fix(regiest):=20=E4=BF=AE=E5=A4=8D=E5=AE=89?= =?UTF-8?q?=E7=BD=AE=E5=9C=B0=E5=8C=BA=E5=8F=98=E5=8C=96=E6=97=B6=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E8=A7=A6=E5=8F=91=E8=A1=A8=E5=8D=95=E6=A0=A1=E9=AA=8C?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/mine/index.vue | 77 +++++++++++++++++++++-------------------- pages/regiest/index.vue | 13 +++++-- 2 files changed, 49 insertions(+), 41 deletions(-) diff --git a/pages/mine/index.vue b/pages/mine/index.vue index 271dbea..5a22594 100644 --- a/pages/mine/index.vue +++ b/pages/mine/index.vue @@ -263,20 +263,21 @@ {{ item.name }} - {{ '意见反馈' }} - - --> + + - + @@ -480,14 +481,14 @@ export default { menuKey: "", ifshow: false, }, - { - url: "2", - name: "达人榜单", - imgurl: "../../static/images/my_icon10.png", - menuKey: "", - ifdr: 1, - ifshow: false, - }, + // { + // url: "2", + // name: "达人榜单", + // imgurl: "../../static/images/my_icon10.png", + // menuKey: "", + // ifdr: 1, + // ifshow: false, + // }, { url: "/pages/mine/myMarket/myMarket", name: '我的市场', @@ -495,20 +496,20 @@ export default { menuKey: "", ifshow: false, }, - { - url: "/pages/mine/globalDistribution/globalDistribution", - name: '全球分布', - imgurl: "../../static/images/my_icon9.png", - menuKey: "", - ifshow: false, - }, - { - url: "/pages/mine/honorHall/honorHall", - name: "荣誉馆", - imgurl: "../../static/images/my_icon9.png", - menuKey: "", - ifshow: false, - }, + // { + // url: "/pages/mine/globalDistribution/globalDistribution", + // name: '全球分布', + // imgurl: "../../static/images/my_icon9.png", + // menuKey: "", + // ifshow: false, + // }, + // { + // url: "/pages/mine/honorHall/honorHall", + // name: "荣誉馆", + // imgurl: "../../static/images/my_icon9.png", + // menuKey: "", + // ifshow: false, + // }, { url: "/pages/mine/giftAddress/list", name: '礼品地址', @@ -516,13 +517,13 @@ export default { menuKey: "", ifshow: false, }, - { - url: "/pages/mine/space/list", - name: '创客空间', - imgurl: "../../static/images/mark9.png", - menuKey: "", - ifshow: false, - }, + // { + // url: "/pages/mine/space/list", + // name: '创客空间', + // imgurl: "../../static/images/mark9.png", + // menuKey: "", + // ifshow: false, + // }, { url: "/pages/mine/addNewPv/index", name: '新增业绩', diff --git a/pages/regiest/index.vue b/pages/regiest/index.vue index 641d016..dad068b 100644 --- a/pages/regiest/index.vue +++ b/pages/regiest/index.vue @@ -677,7 +677,7 @@ export default { { required: true, validator: this.placeDeptPass, - trigger: ["blur"], + trigger: ["change"], }, ], memberName: [ @@ -941,6 +941,7 @@ export default { if (res.code == 200) { this.form.placeDept = res.data.placeDept; this.form.placeDeptLabel = res.data.placeDeptVal; + this.$set(this.form, 'placeDeptLabel', res.data.placeDeptVal); this.form.placeParent = res.data.placeParent; this.form.placeParentName = res.data.placeParentName; this.form.parentName = res.data.parentName; @@ -1007,6 +1008,7 @@ export default { if (!value) { callback(new Error('请选择安置位置')); } else { + console.log(value, '....value?'); api .validPPcode({ parent: this.form.parent, @@ -1283,9 +1285,14 @@ export default { }, surePlace(e) { const { value } = e; - this.form.placeDept = value[0].id; - this.form.placeDeptLabel = value[0].label; + // this.form.placeDept = value[0].id; + // this.form.placeDeptLabel = value[0].label; + this.$set(this.form, 'placeDept', value[0].id); + this.$set(this.form, 'placeDeptLabel', value[0].label); this.isPlace = false; + this.$nextTick(() => { + this.$refs.uForm.validateField('placeDeptLabel'); + }); }, changeCountry(index) {