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