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