diff --git a/src/views/materialsStation/cost/component/applyDetail.vue b/src/views/materialsStation/cost/component/applyDetail.vue index bc350af1..992a337a 100644 --- a/src/views/materialsStation/cost/component/applyDetail.vue +++ b/src/views/materialsStation/cost/component/applyDetail.vue @@ -386,7 +386,7 @@ export default { const currentTime = formatTime(new Date()) let data = _.cloneDeep(this.rowData) const params = { params: JSON.stringify(data) } - this.download('material/slt_agreement_info/exportLease', { ...params }, `租赁费用明细_${currentTime}.xlsx`) + this.download('material/material_sltAgreementInfo/exportLease', { ...params }, `租赁费用明细_${currentTime}.xlsx`) }, //丢失 handleExport2() { @@ -403,7 +403,7 @@ export default { const currentTime = formatTime(new Date()) let data = _.cloneDeep(this.rowData) const params = { params: JSON.stringify(data) } - this.download('material/slt_agreement_info/exportLose', { ...params }, `丢失费用明细_${currentTime}.xlsx`) + this.download('material/material_sltAgreementInfo/exportLose', { ...params }, `丢失费用明细_${currentTime}.xlsx`) }, // 维修 handleExport3() { @@ -420,7 +420,7 @@ export default { const currentTime = formatTime(new Date()) let data = _.cloneDeep(this.rowData) const params = { params: JSON.stringify(data) } - this.download('material/slt_agreement_info/exportRepair', { ...params }, `维修费用明细_${currentTime}.xlsx`) + this.download('material/material_sltAgreementInfo/exportRepair', { ...params }, `维修费用明细_${currentTime}.xlsx`) }, //报废 handleExport4() { @@ -437,7 +437,7 @@ export default { const currentTime = formatTime(new Date()) let data = _.cloneDeep(this.rowData) const params = { params: JSON.stringify(data) } - this.download('material/slt_agreement_info/exportScrap', { ...params }, `报废费用明细_${currentTime}.xlsx`) + this.download('material/material_sltAgreementInfo/exportScrap', { ...params }, `报废费用明细_${currentTime}.xlsx`) }, handleExport5() { const formatTime = date => { @@ -453,7 +453,7 @@ export default { const currentTime = formatTime(new Date()) let data = _.cloneDeep(this.rowData) const params = { params: JSON.stringify(data) } - this.download('material/slt_agreement_info/exportReduction', { ...params }, `减免费用明细_${currentTime}.xlsx`) + this.download('material/material_sltAgreementInfo/exportReduction', { ...params }, `减免费用明细_${currentTime}.xlsx`) }, handleExportAll() { @@ -470,7 +470,7 @@ export default { const currentTime = formatTime(new Date()) let data = _.cloneDeep(this.rowData) const params = { params: JSON.stringify(data) } - this.download('material/slt_agreement_info/exportAll', { ...params }, `全部费用明细_${currentTime}.xlsx`) + this.download('material/material_sltAgreementInfo/exportAll', { ...params }, `全部费用明细_${currentTime}.xlsx`) }, handleExportEach() { const formatTime = date => { @@ -486,7 +486,7 @@ export default { const currentTime = formatTime(new Date()) let data = _.cloneDeep(this.rowData) const params = { params: JSON.stringify(data) } - this.download('material/slt_agreement_info/exportEach', { ...params }, `各费用明细_${currentTime}.xlsx`) + this.download('material/material_sltAgreementInfo/exportEach', { ...params }, `各费用明细_${currentTime}.xlsx`) } } }