diff --git a/pages/center/records/index.vue b/pages/center/records/index.vue index cb6dafc..521420b 100644 --- a/pages/center/records/index.vue +++ b/pages/center/records/index.vue @@ -52,7 +52,7 @@ | - {{item.validInvalidName.slice(0, 2)||''}} + {{item.validInvalidName ||''}} | 未标记 diff --git a/pages/mine/details.vue b/pages/mine/details.vue index cb27781..8ceefbc 100644 --- a/pages/mine/details.vue +++ b/pages/mine/details.vue @@ -907,6 +907,7 @@ } }) }) + console.log(level1) level1[0].show = true; this.ratelist = level1 } diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue index 3f56675..317dcbf 100644 --- a/pages/mine/details2.vue +++ b/pages/mine/details2.vue @@ -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 { // 这里是重复点击的判断