|
|
|
|
@ -1057,9 +1057,9 @@ export default { |
|
|
|
|
if (this.selectList.length == 0) { |
|
|
|
|
this.$message.warning('请至少选择一条数据') |
|
|
|
|
} else { |
|
|
|
|
let tmp = this.selectList.filter(item => { return (item.status == 202 || item.status == 203 || item.status == 204) }) |
|
|
|
|
let tmp = this.selectList.filter(item => { return (item.status == 403||item.status == 202 || item.status == 203 || item.status == 204) }) |
|
|
|
|
if (tmp.length != this.selectList.length) { |
|
|
|
|
this.$message.warning('请选择状态为已完成的数据') |
|
|
|
|
this.$message.warning('请选择状态为维修完成的数据') |
|
|
|
|
} else { |
|
|
|
|
this.allExportLoading = true |
|
|
|
|
zipDownload('/api/lab-ops/work-order/batch-report-service', this.selectList) |
|
|
|
|
|