diff --git a/pages/center/prohibited/details.vue b/pages/center/prohibited/details.vue index 9eb4ed0..4368104 100644 --- a/pages/center/prohibited/details.vue +++ b/pages/center/prohibited/details.vue @@ -229,7 +229,17 @@ methods: { // 确认无效标记 setViolatedStatus = 2 inputDone() { - this.setViolated(2) + if (!this.reasonSrc) { + uni.showToast({ + title: '请输入标记无效的原因', + icon: 'none', + duration: 2000 + }) + return + } + this.$u.debounce(() => { + this.setViolated(2) + }) }, // 下一条 @@ -253,7 +263,7 @@ // 获取违禁话术详情 keyWordsMatching(params) { this.$u.post('/customer/findbynum', params).then(res => { - this.customerId = res.customerId; + this.customerId = res.result[0].id; uni.setStorageSync('nextPageObj', JSON.stringify(this.nextPageObj)) this.prohibitedMatch() }).catch(e => { @@ -325,6 +335,8 @@ title: '标记成功', duration: 2000 }); + this.initAudioFnc() + this.gituserlist() setTimeout(() => { this.tagValidShow = false this.reasonSrc = ''