[add] 接口对接
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user