From 9843c8545430e77bbdc65f2c49f1055b38344ef8 Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Thu, 28 Apr 2022 17:40:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/center/prohibited/details.vue | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) 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 = ''