修改传参

This commit is contained in:
qq787203167
2022-02-22 10:19:52 +08:00
parent e3a8997438
commit bf1300190b
2 changed files with 10 additions and 10 deletions
@@ -426,9 +426,9 @@
}
}
.ant-table-fixed {
background: transparent !important;
}
/*.ant-table-fixed {*/
/* background: transparent !important;*/
/*}*/
.main {
position: relative;
+7 -7
View File
@@ -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() {