Commit f753d41b by swl

feat: gx

parent 0bdfab8e
......@@ -805,6 +805,8 @@ export default {
],
},
refundForm: {},
fileDownload: false,
row: null,
};
},
watch: {
......@@ -866,6 +868,14 @@ export default {
} else {
this.tableData = [];
}
if (this.fileDownload && this.row) {
const url = this.tableData.filter((item) => {
return item.code === this.row.code;
})[0]?.fileUrl;
window.location.href = url;
this.fileDownload = false;
this.row = null;
}
}
});
},
......@@ -900,6 +910,14 @@ export default {
} else {
this.tableData = [];
}
if (this.fileDownload && this.row) {
const url = this.tableData.filter((item) => {
return item.code === this.row.code;
})[0]?.fileUrl;
window.location.href = url;
this.fileDownload = false;
this.row = null;
}
}
});
});
......@@ -1276,8 +1294,10 @@ export default {
break;
default:
this.row = row;
this.fileDownload = true;
await this.resetHandle(row);
// await this.resetHandle(row);
window.location.href = row.fileUrl;
break;
}
},
......
......@@ -790,6 +790,8 @@ export default {
],
},
refundForm: {},
fileDownload: false,
row: null,
};
},
watch: {
......@@ -851,6 +853,14 @@ export default {
} else {
this.tableData = [];
}
if (this.fileDownload && this.row) {
const url = this.tableData.filter((item) => {
return item.code === this.row.code;
})[0]?.fileUrl;
window.location.href = url;
this.fileDownload = false;
this.row = null;
}
}
});
},
......@@ -885,6 +895,14 @@ export default {
} else {
this.tableData = [];
}
if (this.fileDownload && this.row) {
const url = this.tableData.filter((item) => {
return item.code === this.row.code;
})[0]?.fileUrl;
window.location.href = url;
this.fileDownload = false;
this.row = null;
}
}
});
});
......@@ -1262,8 +1280,10 @@ export default {
default:
// await this.resetHandle(row);
this.row = row;
this.fileDownload = true;
await this.resetHandle(row);
window.location.href = row.fileUrl;
break;
}
},
......
......@@ -806,6 +806,8 @@ export default {
],
},
refundForm: {},
fileDownload: false,
row: null,
};
},
watch: {
......@@ -867,6 +869,14 @@ export default {
} else {
this.tableData = [];
}
if (this.fileDownload && this.row) {
const url = this.tableData.filter((item) => {
return item.code === this.row.code;
})[0]?.fileUrl;
window.location.href = url;
this.fileDownload = false;
this.row = null;
}
}
});
},
......@@ -901,6 +911,14 @@ export default {
} else {
this.tableData = [];
}
if (this.fileDownload && this.row) {
const url = this.tableData.filter((item) => {
return item.code === this.row.code;
})[0]?.fileUrl;
window.location.href = url;
this.fileDownload = false;
this.row = null;
}
}
});
});
......@@ -1275,8 +1293,10 @@ export default {
break;
default:
this.row = row;
this.fileDownload = true;
await this.resetHandle(row);
// await this.resetHandle(row);
window.location.href = row.fileUrl;
break;
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment