package cn.flightfeather.supervision.business.report.cols
|
|
import cn.flightfeather.supervision.business.report.BaseCols
|
import cn.flightfeather.supervision.business.report.DataSource
|
import cn.flightfeather.supervision.common.utils.ExcelUtil
|
|
//场景基础信息
|
class ColSceneBaseInfo(chooseIndexList: List<Int> = emptyList()) : BaseCols(chooseIndexList) {
|
override fun onHeads(dataSource: DataSource): MutableList<MutableList<ExcelUtil.MyCell>> {
|
return mutableListOf(
|
mutableListOf(
|
ExcelUtil.MyCell("地址"),
|
// ExcelUtil.MyCell("业主单位"),
|
// ExcelUtil.MyCell("施工单位"),
|
// ExcelUtil.MyCell("建筑面积(m²)"),
|
// ExcelUtil.MyCell("施工起始时间"),
|
// ExcelUtil.MyCell("施工结束时间"),
|
// ExcelUtil.MyCell("工程类型"),
|
// ExcelUtil.MyCell("联系人"),
|
// ExcelUtil.MyCell("联系方式"),
|
)
|
)
|
}
|
|
override fun onOneRow(rowData: DataSource.RowData): List<Any> {
|
// return listOf(rowData.scene?.index ?: -99, rowData.scene?.extension2 ?: "", rowData.scene?.name ?: "")
|
return listOf(
|
rowData.scene?.location ?: ""
|
)
|
}
|
}
|