|
|
|
@ -197,6 +197,10 @@ export default { |
|
|
|
this.$message.error('请先上传文件'); |
|
|
|
this.$message.error('请先上传文件'); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (!this.tableData || this.tableData.length === 0) { |
|
|
|
|
|
|
|
this.$message.error('文件内容为空'); |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
// 1. 判断状态 |
|
|
|
// 1. 判断状态 |
|
|
|
const hasPending = this.row.subTasks?.some(t => t.status === 1); |
|
|
|
const hasPending = this.row.subTasks?.some(t => t.status === 1); |
|
|
|
const hasError = this.tableData.some(item => item.isSysUser == 0); |
|
|
|
const hasError = this.tableData.some(item => item.isSysUser == 0); |
|
|
|
|