|
@@ -1773,15 +1773,13 @@
|
|
|
}
|
|
}
|
|
|
} else if (this.activeName === '工艺文件') {
|
|
} else if (this.activeName === '工艺文件') {
|
|
|
if (
|
|
if (
|
|
|
- JSON.stringify(
|
|
|
|
|
- this.tableData.taskParam[this.currentIndex].fileParam
|
|
|
|
|
- ) == '{}'
|
|
|
|
|
|
|
+ this.tableData.taskParam[this.currentIndex].fileParam.length == 0
|
|
|
) {
|
|
) {
|
|
|
this.tableData.taskParam[this.currentIndex].fileParam = [];
|
|
this.tableData.taskParam[this.currentIndex].fileParam = [];
|
|
|
this.$refs.fileTable.setData([]);
|
|
this.$refs.fileTable.setData([]);
|
|
|
} else {
|
|
} else {
|
|
|
let fileId = this.tableData.taskParam[this.currentIndex].fileParam;
|
|
let fileId = this.tableData.taskParam[this.currentIndex].fileParam;
|
|
|
- console.log('111111');
|
|
|
|
|
|
|
+
|
|
|
if (fileId.length > 0) {
|
|
if (fileId.length > 0) {
|
|
|
this.fileParamDatasource(fileId);
|
|
this.fileParamDatasource(fileId);
|
|
|
}
|
|
}
|