|
@@ -1,3 +1,4 @@
|
|
|
+<!-- 综合事项记录 -->
|
|
|
<template>
|
|
|
<div class='zhsx-box'>
|
|
|
<div class='zhsx-top'>
|
|
@@ -65,6 +66,17 @@
|
|
|
<el-table-column prop='thing' label='部门' :show-overflow-tooltip='true'></el-table-column>
|
|
|
<el-table-column prop='name' label='检测结论'></el-table-column>
|
|
|
</el-table>
|
|
|
+ <div class='foot'>
|
|
|
+ <el-pagination
|
|
|
+ background
|
|
|
+ layout='prev, pager, next'
|
|
|
+ :total='total'
|
|
|
+ :page-size='size'
|
|
|
+ @prev-click='pageChanged'
|
|
|
+ @next-click='pageChanged'
|
|
|
+ @current-change='pageChanged'
|
|
|
+ ></el-pagination>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
@@ -122,6 +134,7 @@
|
|
|
<script>
|
|
|
import Select from '@/components/Select/Select.vue'
|
|
|
import ZhsxDialog from './zhsxDialog'
|
|
|
+import { queryGlams, querygcfzyfhz, queryfzyfchange } from '@/api/other.js'
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
@@ -205,7 +218,10 @@ export default {
|
|
|
{ id: 'test2', name: '单平米' },
|
|
|
{ id: 'test3', name: '下级分项' },
|
|
|
{ id: 'test4', name: '滑动平均滑动平均' }
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ currentPage: 1,
|
|
|
+ total: 1,
|
|
|
+ size: 10
|
|
|
}
|
|
|
},
|
|
|
props: ['everySystem'],
|
|
@@ -214,12 +230,27 @@ export default {
|
|
|
zhsxLog() {
|
|
|
this.$refs.Dialog.open()
|
|
|
},
|
|
|
+ pageChanged(page, size) {
|
|
|
+ this.currentPage = page
|
|
|
+ this.getList()
|
|
|
+ },
|
|
|
handleClick(tab) {
|
|
|
// this.param = tab.name
|
|
|
console.log(tab)
|
|
|
+ },
|
|
|
+ getTableData() {
|
|
|
+ let getParams = {
|
|
|
+ plazaId: this.$store.state.plazaId,
|
|
|
+ page: this.page,
|
|
|
+ size: this.size
|
|
|
+ }
|
|
|
+ queryGlams({ getParams }).then(res => {
|
|
|
+ console.log(res)
|
|
|
+ })
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
+ // this.getTableData()
|
|
|
console.log(this.everySystem)
|
|
|
}
|
|
|
}
|