Commit 21ce9f9b by lichengming

修改了资质管理授权资质管理添加

parent 0562ea6e
...@@ -57,8 +57,8 @@ ...@@ -57,8 +57,8 @@
</Col> </Col>
<Col span="24"> <Col span="24">
<Page <Page
:total="getPage.total" :total="total"
:page-size="getPage.size" :page-size="size"
@on-change="_pageChange" @on-change="_pageChange"
@on-page-size-change="_pageRows" @on-page-size-change="_pageRows"
placement="top" placement="top"
...@@ -88,6 +88,8 @@ export default { ...@@ -88,6 +88,8 @@ export default {
data() { data() {
return { return {
loading: true, loading: true,
total: 0,
size: 0,
pageParams: { rows: 20 }, pageParams: { rows: 20 },
pageColumns: [ pageColumns: [
{ title: '检测依据', key: 'code' }, { title: '检测依据', key: 'code' },
...@@ -118,6 +120,8 @@ export default { ...@@ -118,6 +120,8 @@ export default {
if (result) { if (result) {
console.log('查询结果') console.log('查询结果')
console.log(result) console.log(result)
this.total = result.total
this.size = result.size
this.getPage = result.records this.getPage = result.records
this.loading = false this.loading = false
console.log(this.getPage) console.log(this.getPage)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment