|
|
|
@ -234,7 +234,7 @@ export default {
|
|
|
|
|
type: "warning",
|
|
|
|
|
}).then(() => {
|
|
|
|
|
if(id !== 3) {
|
|
|
|
|
if(this.multipleSelection.length > 0 || this.backupsInfo.title !== this.audioInfo.title) {
|
|
|
|
|
// if(this.multipleSelection.length > 0 || this.backupsInfo.title !== this.audioInfo.title) {
|
|
|
|
|
if(this.backupsInfo.title !== this.audioInfo.title) {
|
|
|
|
|
eventChangeIsReport({isReport:id,caseSerial:this.multipleSelection,innerEventId:this.audioInfo.innerEventId,newTitle:this.audioInfo.title,oldTitle:this.backupsInfo.title}).then(res=>{
|
|
|
|
|
// console.log(res);
|
|
|
|
@ -258,9 +258,9 @@ export default {
|
|
|
|
|
this.close();
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(`您未做任何操作,请修改后再${id == 1 ? '上报驾驶仓' : id == 2 ? '退回重训练' : ''}`);
|
|
|
|
|
}
|
|
|
|
|
// } else {
|
|
|
|
|
// this.$message.error(`您未做任何操作,请修改后再${id == 1 ? '上报驾驶仓' : id == 2 ? '退回重训练' : ''}`);
|
|
|
|
|
// }
|
|
|
|
|
} else {
|
|
|
|
|
if(this.backupsInfo.title !== this.audioInfo.title) {
|
|
|
|
|
this.$message.error(`您已修改标题,请上报驾驶舱或退回重训练`);
|
|
|
|
|