|
@@ -342,13 +342,17 @@ export default {
|
|
|
this.dialog.dialogFormVisible = false;
|
|
|
},
|
|
|
openDialog(row) {
|
|
|
+ console.log(row)
|
|
|
this.leftData = [];
|
|
|
this.row = row;
|
|
|
this.queryParams.plantId = row.plantId;
|
|
|
this.queryParams.inspectionId = row.id;
|
|
|
- this.upload.url += this.upload.url.endsWith('/') ? row.id : '';
|
|
|
+ this.upload.url = process.env.VUE_APP_BASE_API + "/check/checkpoints/importData/" + row.id;
|
|
|
+ console.log(this.upload.url)
|
|
|
if (row.isEnter && row.status == 1) {
|
|
|
this.isEnter = true;
|
|
|
+ }else{
|
|
|
+ this.isEnter = false;
|
|
|
}
|
|
|
this.dialog.dialogFormVisible = true;
|
|
|
this.getList();
|