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