|
@@ -416,7 +416,9 @@ export default {
|
|
|
demandDirection: [], // 需求方向option
|
|
|
searchForm: {
|
|
|
viewType: '0',
|
|
|
- containStatus: [] // 包含
|
|
|
+ containStatus: [], // 包含
|
|
|
+ pageSize: 15,
|
|
|
+ curIndex: 1
|
|
|
}, // 查询字段
|
|
|
pageSize: 15,
|
|
|
curIndex: 1,
|
|
@@ -509,9 +511,8 @@ export default {
|
|
|
}
|
|
|
this.searchForm.bizId = this.bizId
|
|
|
this.loading = true
|
|
|
-
|
|
|
- this.searchForm.pageSize = this.pageSize
|
|
|
- this.searchForm.curIndex = this.curIndex
|
|
|
+ // this.searchForm.pageSize = this.pageSize
|
|
|
+ // this.searchForm.curIndex = this.curIndex
|
|
|
},
|
|
|
getTableData() { // 查询
|
|
|
// if (this.bizId === -1) return
|
|
@@ -547,6 +548,7 @@ export default {
|
|
|
},
|
|
|
async get_chartListDetial(code) {
|
|
|
if (code) {
|
|
|
+ this.searchForm.curIndex = 1
|
|
|
this.searchForm.code = code
|
|
|
}
|
|
|
const dataList = await getChartListData(this.searchForm)
|
|
@@ -624,13 +626,25 @@ export default {
|
|
|
},
|
|
|
// 分页pageSize选择
|
|
|
handleSizeChange(pageSize) {
|
|
|
- this.pageSize = pageSize
|
|
|
- this.getTableData()
|
|
|
+ // this.pageSize = pageSize
|
|
|
+ this.searchForm.pageSize = pageSize
|
|
|
+ // this.getTableData()
|
|
|
+ if (this.nowTab === 'charts') {
|
|
|
+ this.get_chartListDetial()
|
|
|
+ } else {
|
|
|
+ this.getTableData()
|
|
|
+ }
|
|
|
},
|
|
|
// 当前页选择
|
|
|
handleCurrentChange(curIndex) {
|
|
|
- this.curIndex = curIndex
|
|
|
- this.getTableData()
|
|
|
+ // this.curIndex = curIndex
|
|
|
+ this.searchForm.curIndex = curIndex
|
|
|
+ // this.getTableData()
|
|
|
+ if (this.nowTab === 'charts') {
|
|
|
+ this.get_chartListDetial()
|
|
|
+ } else {
|
|
|
+ this.getTableData()
|
|
|
+ }
|
|
|
},
|
|
|
showSelect() {
|
|
|
this.DetailedScreening = !this.DetailedScreening
|
|
@@ -697,7 +711,7 @@ export default {
|
|
|
// this.getClient(filter.appId)
|
|
|
Object.assign(this.searchForm, filter)
|
|
|
// this.requirementName = filter.name
|
|
|
- this.curIndex = 1
|
|
|
+ this.searchForm.curIndex = 1
|
|
|
this.getTableData()
|
|
|
}
|
|
|
},
|