| @@ -229,7 +229,17 @@ | |||||
| methods: { | methods: { | ||||
| // 确认无效标记 setViolatedStatus = 2 | // 确认无效标记 setViolatedStatus = 2 | ||||
| inputDone() { | 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) { | keyWordsMatching(params) { | ||||
| this.$u.post('/customer/findbynum', params).then(res => { | 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)) | uni.setStorageSync('nextPageObj', JSON.stringify(this.nextPageObj)) | ||||
| this.prohibitedMatch() | this.prohibitedMatch() | ||||
| }).catch(e => { | }).catch(e => { | ||||
| @@ -325,6 +335,8 @@ | |||||
| title: '标记成功', | title: '标记成功', | ||||
| duration: 2000 | duration: 2000 | ||||
| }); | }); | ||||
| this.initAudioFnc() | |||||
| this.gituserlist() | |||||
| setTimeout(() => { | setTimeout(() => { | ||||
| this.tagValidShow = false | this.tagValidShow = false | ||||
| this.reasonSrc = '' | this.reasonSrc = '' | ||||