| | |
| | | <template> |
| | | <div class="law-enforcement"> |
| | | <!-- table表格展示 --> |
| | | <MyTable |
| | | :tableData="list" |
| | | :tableOption="tableOption" |
| | | :totalNum="totalNum" |
| | | @getCurrentPage="getCurrentPage" |
| | | @openDialog="changeDialog"> |
| | | <MyTable :tableData="list" :tableOption="tableOption" :totalNum="totalNum" @getCurrentPage="getCurrentPage" |
| | | @openDialog="changeDialog"> |
| | | <template #operation="{info}"> |
| | | <div class="btn"> |
| | | <!-- 操作区域 --> |
| | |
| | | ] |
| | | }, |
| | | visible: false, |
| | | totalNum:'', |
| | | totalNum: '', |
| | | showData: {}, |
| | | } |
| | | }, |
| | | created(){ |
| | | created() { |
| | | this.totalNum = this.list.length; |
| | | }, |
| | | methods: { |
| | |
| | | console.log(data); |
| | | }, |
| | | // 获取当前页数据 |
| | | getCurrentPage(current){ |
| | | getCurrentPage(current) { |
| | | console.log(current); |
| | | } |
| | | } |