diff --git a/src/views/qualityManage/qualitySound/qualityCheck.vue b/src/views/qualityManage/qualitySound/qualityCheck.vue index c1f006c..8b2122f 100644 --- a/src/views/qualityManage/qualitySound/qualityCheck.vue +++ b/src/views/qualityManage/qualitySound/qualityCheck.vue @@ -4,7 +4,7 @@
- + @@ -63,6 +63,12 @@ export default { name: 'QualityCheck', components: { AudioPlayer }, + props: { + needPlayer: { + type: Boolean, + default: true + } + }, data() { return { dialogFormVisible: false, // 对话框是否显示 @@ -110,10 +116,12 @@ if (dialogStatus === 'first') { // 如果是新增,清除验证 this.disabled = false this.resetForm() + this.form.callid = row.callid this.$nextTick(() => { this.$refs['dataForm'].clearValidate() }) } else if (dialogStatus === 'twice') { // 如果是修改,将row中数据填写到输入框中 + this.form.callid = row.callid this.fetchQIndex('1', dialogStatus) if (dialogStatus === 'info') { this.fetchQIndex('1', dialogStatus) @@ -211,7 +219,7 @@ }, // 重置表单 resetForm() { - this.modularForm = { + this.form = { callid: '', checkComment: '', checkModular: '',