Commit f0ff8b42 authored by tianhongyang's avatar tianhongyang

成本汇总锁定成本后 刷新当前锁定状态

parent 101d3efb
......@@ -567,10 +567,11 @@ export default {
projectId
};
let { data, fileName } = await exportCostLockExcelApi(params);
console.log(data, fileName);
if (data && fileName) {
fileName = fileName.split(";")[1].split("filename=")[1];
this.$download.saveAs(data, decodeURIComponent(fileName));
const params = this.createRequestConditions();
await this.getLockMonthList(params);
}
} catch (error) {
console.log(error);
......
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