|
|
@@ -1320,30 +1320,37 @@ |
|
|
|
var that = this; |
|
|
|
let msg = ''; |
|
|
|
if (this.userlistobj.validInvalid != 0) { |
|
|
|
msg = '是否标记为"有效录音"?'; |
|
|
|
if (this.userlistobj.validInvalid == 0 || this.userlistobj.validInvalid == 1) { |
|
|
|
msg = '是否标记为"有效录音"?'; |
|
|
|
} else { |
|
|
|
msg = '是否撤销"无效(待审核)"?'; |
|
|
|
} |
|
|
|
uni.showModal({ |
|
|
|
title: '提示', |
|
|
|
content: msg, |
|
|
|
success: function(res) { |
|
|
|
if (that.noClick) { |
|
|
|
that.noClick = false; |
|
|
|
success: (res) => { |
|
|
|
if (this.noClick) { |
|
|
|
this.noClick = false; |
|
|
|
if (res.confirm) { |
|
|
|
let parames = { |
|
|
|
id: that.customerId, |
|
|
|
id: this.customerId, |
|
|
|
validInvalid: '', |
|
|
|
invalidReason: 0 |
|
|
|
} |
|
|
|
if (that.userlistobj.validInvalid == 0) { |
|
|
|
if (this.userlistobj.validInvalid == 0) { |
|
|
|
parames.validInvalid = 1; |
|
|
|
} else { |
|
|
|
} else if (this.userlistobj.validInvalid == 1) { |
|
|
|
parames.validInvalid = 0; |
|
|
|
} else if (this.userlistobj.validInvalid == 2) { |
|
|
|
parames.auditReception = 1 |
|
|
|
parames.validInvalid = 1; |
|
|
|
} |
|
|
|
that.$u.post("/customer/updateValidInvalid", parames).then(res => { |
|
|
|
that.Thetapeidisshow = false; |
|
|
|
this.$u.post("/customer/updateValidInvalid", parames).then(res => { |
|
|
|
this.Thetapeidisshow = false; |
|
|
|
}) |
|
|
|
} |
|
|
|
setTimeout(() => { |
|
|
|
that.noClick = true; |
|
|
|
this.noClick = true; |
|
|
|
}, 2000) |
|
|
|
} else { |
|
|
|
// 这里是重复点击的判断 |
|
|
|