修改传参
This commit is contained in:
@@ -426,9 +426,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-table-fixed {
|
/*.ant-table-fixed {*/
|
||||||
background: transparent !important;
|
/* background: transparent !important;*/
|
||||||
}
|
/*}*/
|
||||||
|
|
||||||
.main {
|
.main {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
@@ -6,11 +6,11 @@
|
|||||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:scroll="{x: 1400}"
|
:scroll="{x: 1600}"
|
||||||
:data-source="dataSource"
|
:data-source="dataSource"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
>
|
>
|
||||||
<span slot="operation" slot-scope="record" class="table-operation">
|
<span slot="operation" slot-scope="record">
|
||||||
<a class="text" v-for="(ol,index) in OperationList"
|
<a class="text" v-for="(ol,index) in OperationList"
|
||||||
@click="OperationClick(ol,record)">{{ol.text}}</a>
|
@click="OperationClick(ol,record)">{{ol.text}}</a>
|
||||||
</span>
|
</span>
|
||||||
@@ -66,8 +66,8 @@
|
|||||||
columns: [],
|
columns: [],
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
pageNo: 1,
|
pageNo: '1',
|
||||||
pageSize: 10,
|
pageSize: '10',
|
||||||
total: 0,
|
total: 0,
|
||||||
searchParmes: {},
|
searchParmes: {},
|
||||||
loading: false
|
loading: false
|
||||||
@@ -119,7 +119,7 @@
|
|||||||
pageSize: this.pageSize
|
pageSize: this.pageSize
|
||||||
}
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
postAction(this.url.tableList, params).then((res) => {
|
getAction(this.url.tableList, params).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.dataSource = res.result.records
|
this.dataSource = res.result.records
|
||||||
this.total = res.result.total
|
this.total = res.result.total
|
||||||
@@ -128,11 +128,11 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
onChange(page, pageSize) {
|
onChange(page, pageSize) {
|
||||||
this.pageNo = page
|
this.pageNo = page+''
|
||||||
this.getTableList()
|
this.getTableList()
|
||||||
},
|
},
|
||||||
SizeChange(page, pageSize) {
|
SizeChange(page, pageSize) {
|
||||||
this.pageSize = pageSize
|
this.pageSize = pageSize+''
|
||||||
this.getTableList()
|
this.getTableList()
|
||||||
},
|
},
|
||||||
onSelectChange() {
|
onSelectChange() {
|
||||||
|
|||||||
Reference in New Issue
Block a user