[add] 接口对接

This commit is contained in:
zhaomeijing
2022-05-12 18:00:37 +08:00
parent c36781e2c0
commit a9f782708a
2 changed files with 12 additions and 17 deletions
@@ -75,6 +75,7 @@
:data-source="dataSource"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:columns="columns"
@customHeaderRow='customHeaderRow'
>
<!-- @change="tableOnChange"-->
<span slot="projectName" slot-scope="text,record">
@@ -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 = {