|
@@ -28,7 +28,7 @@
|
|
|
:columns="getTableColumn"
|
|
|
:data="tableData"
|
|
|
:count="total"
|
|
|
- parent-component="ProjectCredit"
|
|
|
+ parent-component="ResolutionManage"
|
|
|
:table-options="getTableOptions"
|
|
|
/>
|
|
|
</el-tabs>
|
|
@@ -43,7 +43,7 @@
|
|
|
import indexTable from './indexTable'
|
|
|
import request from '@/utils/request'
|
|
|
export default {
|
|
|
- name: 'ProjectCredit',
|
|
|
+ name: 'ResolutionManage',
|
|
|
mixins: [indexTable],
|
|
|
data() {
|
|
|
return {
|
|
@@ -90,15 +90,16 @@ export default {
|
|
|
...this.search
|
|
|
},
|
|
|
method: 'post'
|
|
|
- }).then(({ rows, total }) => {
|
|
|
+ }).then(({ rows, records }) => {
|
|
|
this.tableData = rows || []
|
|
|
- this.total = total
|
|
|
+ this.total = records
|
|
|
})
|
|
|
},
|
|
|
handleTabClick(tab) {
|
|
|
this.search.fastSearch = ''
|
|
|
this.search.status = ''
|
|
|
this.activeName = tab.name
|
|
|
+ this.page = 1
|
|
|
this.fetchData()
|
|
|
},
|
|
|
handlerOperate(type, row) {
|