Commit 76dddb70 authored by 徐俊's avatar 徐俊

xujun

parent 1c32aa44
...@@ -28,8 +28,7 @@ ...@@ -28,8 +28,7 @@
<a @click="recordClick(record, 'view')">{{record.projName}}</a> <a @click="recordClick(record, 'view')">{{record.projName}}</a>
</template> </template>
<template slot="option" slot-scope="record"> <template slot="option" slot-scope="record">
<a-button type="link" size="small" @click="recordClick(record, 'view')">查看</a-button> <a-button type="link" size="small" @click="recordClick(record, 'convert')">文件转换</a-button>
<a-button type="link" size="small" @click="recordClick(record, 'edit')">修改</a-button>
</template> </template>
</a-table> </a-table>
<a-pagination v-if="pagination.total > 0" :total="pagination.total" show-size-changer show-quick-jumper v-model="pagination.pageIndex" :page-size="pagination.pageSize" :page-size-options="pagination.pageSizeOptions" @showSizeChange="showSizeChange" @change="change" :showTotal="() => `共 ${pagination.total} 条`" /> <a-pagination v-if="pagination.total > 0" :total="pagination.total" show-size-changer show-quick-jumper v-model="pagination.pageIndex" :page-size="pagination.pageSize" :page-size-options="pagination.pageSizeOptions" @showSizeChange="showSizeChange" @change="change" :showTotal="() => `共 ${pagination.total} 条`" />
...@@ -72,6 +71,9 @@ export default { ...@@ -72,6 +71,9 @@ export default {
id: null, id: null,
} }
}, },
created () {
this.getListByPage()
},
methods: { methods: {
search () { search () {
this.pagination.pageIndex = 1 this.pagination.pageIndex = 1
......
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