| @@ -740,7 +740,7 @@ | |||||
| position += 70 | position += 70 | ||||
| } | } | ||||
| if (this.userlistobj.visitRecord == 1 && this.checkAuthority('修改到访次数')) { | |||||
| if ((this.userlistobj.visitRecord == 1 || this.userlistobj.visitFlag == 1) && this.checkAuthority('修改到访次数')) { | |||||
| position += 70 | position += 70 | ||||
| } | } | ||||
| @@ -1067,12 +1067,13 @@ | |||||
| } | } | ||||
| }, | }, | ||||
| //获取用户信息 | |||||
| // 获取 | |||||
| gituserlist() { | gituserlist() { | ||||
| this.$u.get("/matchKeywords/personalReceptionRecord", { | this.$u.get("/matchKeywords/personalReceptionRecord", { | ||||
| customerId: this.customerId | customerId: this.customerId | ||||
| }).then(res => { | }).then(res => { | ||||
| res.endTime1 = res.endTime.substring(0, 19); | res.endTime1 = res.endTime.substring(0, 19); | ||||
| this.visitParams.visitRecordNum = res.visitRecord || 1 | |||||
| this.userlistobj = res; | this.userlistobj = res; | ||||
| }) | }) | ||||
| }, | }, | ||||
| @@ -1331,6 +1332,7 @@ | |||||
| //确认标记 | //确认标记 | ||||
| Confirmthetag() { | Confirmthetag() { | ||||
| var num = this.roleindexbiaoji + 1; | var num = this.roleindexbiaoji + 1; | ||||
| this.biojiisshow = false; | |||||
| uni.request({ | uni.request({ | ||||
| url: config.service.markConsultant + '?id=' + this.luyinList[this.csdFileindex].id + | url: config.service.markConsultant + '?id=' + this.luyinList[this.csdFileindex].id + | ||||
| "&speaker=" + num + '&customerId=' + this.customerId, //仅为示例,并非真实接口地址。 | "&speaker=" + num + '&customerId=' + this.customerId, //仅为示例,并非真实接口地址。 | ||||
| @@ -1340,7 +1342,6 @@ | |||||
| 'Access-Token': uni.getStorageSync('weapp_session_login_data').token | 'Access-Token': uni.getStorageSync('weapp_session_login_data').token | ||||
| }, | }, | ||||
| success: (data) => { | success: (data) => { | ||||
| this.biojiisshow = false; | |||||
| this.biaojiyuyi() | this.biaojiyuyi() | ||||
| this.fenjiaoseunfo('refresh') | this.fenjiaoseunfo('refresh') | ||||
| uni.showToast({ | uni.showToast({ | ||||