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