导出接口调试完成
This commit is contained in:
parent
9a9b0ca429
commit
4ce724efb9
|
|
@ -68,13 +68,13 @@ export default {
|
|||
|
||||
// 导出
|
||||
onHandleExport(queryParams) {
|
||||
// this.download(
|
||||
// '/bmw/workerStatistics/exportWorkerList',
|
||||
// {
|
||||
// ...queryParams,
|
||||
// },
|
||||
// '人员统计.xlsx',
|
||||
// )
|
||||
this.download(
|
||||
'/bmw/workerStatistics/exportWorkerStatisticsTable',
|
||||
{
|
||||
// ...queryParams,
|
||||
},
|
||||
'人员统计.xlsx',
|
||||
)
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,6 +9,17 @@
|
|||
:columnsList="columnsList"
|
||||
:request-api="getProjectCountListAPI"
|
||||
>
|
||||
<template slot="btn" slot-scope="{ queryParams }">
|
||||
<el-button
|
||||
plain
|
||||
size="mini"
|
||||
type="success"
|
||||
icon="el-icon-download"
|
||||
@click="onHandleExport(queryParams)"
|
||||
>
|
||||
导出
|
||||
</el-button>
|
||||
</template>
|
||||
<!-- 工程类型 -->
|
||||
<template slot="proType" slot-scope="{ data }">
|
||||
<el-tag size="mini" type="primary">
|
||||
|
|
@ -123,6 +134,17 @@ export default {
|
|||
|
||||
return 'primary' || ''
|
||||
},
|
||||
|
||||
// 导出
|
||||
onHandleExport(queryParams) {
|
||||
// this.download(
|
||||
// '/bmw/projectStatistics/exportProjectStatisticsTable',
|
||||
// {
|
||||
// // ...queryParams,
|
||||
// },
|
||||
// '工程统计.xlsx',
|
||||
// )
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -9,6 +9,17 @@
|
|||
:columnsList="columnsList"
|
||||
:request-api="getSubCountListAPI"
|
||||
>
|
||||
<template slot="btn" slot-scope="{ queryParams }">
|
||||
<el-button
|
||||
plain
|
||||
size="mini"
|
||||
type="success"
|
||||
icon="el-icon-download"
|
||||
@click="onHandleExport(queryParams)"
|
||||
>
|
||||
导出
|
||||
</el-button>
|
||||
</template>
|
||||
<template slot="handle" slot-scope="{ data }">
|
||||
<el-button
|
||||
plain
|
||||
|
|
@ -57,6 +68,17 @@ export default {
|
|||
},
|
||||
})
|
||||
},
|
||||
|
||||
// 导出
|
||||
onHandleExport(queryParams) {
|
||||
// this.download(
|
||||
// '/bmw/subStatistics/exportSubStatisticsTable',
|
||||
// {
|
||||
// // ...queryParams,
|
||||
// },
|
||||
// '分包统计.xlsx',
|
||||
// )
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -280,6 +280,7 @@ export default {
|
|||
return {
|
||||
deductMoney: item.deductMoney,
|
||||
actualMoney: item.actualMoney,
|
||||
monthId: item.monthId,
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue