diff --git a/jero-web/src/components/tableCollection/index.vue b/jero-web/src/components/tableCollection/index.vue index 548751ccc..a3662b2e3 100644 --- a/jero-web/src/components/tableCollection/index.vue +++ b/jero-web/src/components/tableCollection/index.vue @@ -11,6 +11,7 @@ :loading="loading" :columns="columns" @change="tableOnChange" + @onHeaderRow='onHeaderRow' > @@ -152,12 +153,12 @@ export default { { title: this.$t('ParameterName'), align: 'center', - dataIndex: 'paramsName' + dataIndex: 'paramsName', }, { title: this.$t('ParameterDescription'), align: 'center', - dataIndex: 'description' + dataIndex: 'description', }, { title: this.$t('areaOfResponsibility'), @@ -185,14 +186,12 @@ export default { this.getList() }, methods: { - // tableOnChange(pagination, filters, sorter) { - // console.log(pagination,'pagination') - // console.log(filters,'filters') - // console.log(sorter,'sorter') - // // this.orderBy = sorter.order == 'ascend' ? '1' : '2' - // // this.orderByField = sorter.columnKey - // this.getList() - // }, + customHeaderRow(val,kk) { + console.log(val,kk) + }, + onClick(val,kk) { + console.log(val,kk) + }, //导出 handleExport() { let _tt = {