From 0dbc14d1144752ce9e1c3b234d4c3377001344f0 Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Wed, 28 Sep 2022 15:53:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=BE=85=E6=AC=A1?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/mine/details2.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue index c6dcb7b..c6e0a11 100644 --- a/pages/mine/details2.vue +++ b/pages/mine/details2.vue @@ -740,7 +740,7 @@ position += 70 } - if (this.userlistobj.visitRecord == 1 && this.checkAuthority('修改到访次数')) { + if ((this.userlistobj.visitRecord == 1 || this.userlistobj.visitFlag == 1) && this.checkAuthority('修改到访次数')) { position += 70 } @@ -1067,12 +1067,13 @@ } }, - //获取用户信息 + // 获取 gituserlist() { this.$u.get("/matchKeywords/personalReceptionRecord", { customerId: this.customerId }).then(res => { res.endTime1 = res.endTime.substring(0, 19); + this.visitParams.visitRecordNum = res.visitRecord || 1 this.userlistobj = res; }) }, @@ -1331,6 +1332,7 @@ //确认标记 Confirmthetag() { var num = this.roleindexbiaoji + 1; + this.biojiisshow = false; uni.request({ url: config.service.markConsultant + '?id=' + this.luyinList[this.csdFileindex].id + "&speaker=" + num + '&customerId=' + this.customerId, //仅为示例,并非真实接口地址。 @@ -1340,7 +1342,6 @@ 'Access-Token': uni.getStorageSync('weapp_session_login_data').token }, success: (data) => { - this.biojiisshow = false; this.biaojiyuyi() this.fenjiaoseunfo('refresh') uni.showToast({