Compare commits

...

5 Commits

1 changed files with 10 additions and 9 deletions

View File

@ -227,7 +227,7 @@ export default {
//
queryParams: {
pageNum: 1,
pageSize: 10,
pageSize: 50,
stage: 1,
stageStatus: null,
childNode: '',
@ -259,7 +259,7 @@ export default {
//
stageName: '阶段一',
statusName: '全部',
selectedStatusValue: '', //
selectedStatusValue: 1, //
//
selectedPoint: {},
@ -289,10 +289,11 @@ export default {
init() {
this.stageName = this.stageOptions[0][0].label
this.queryParams.stage = this.stageOptions[0][0].value
// ""
this.selectedStatusValue = this.statusOptions[0][0].value
this.statusName = this.statusOptions[0][0].label
this.queryParams.stageStatus = this.selectedStatusValue || null
// ""
const statusIndex = 1
this.selectedStatusValue = this.statusOptions[0][statusIndex].value
this.statusName = this.statusOptions[0][statusIndex].label
this.queryParams.stageStatus = this.selectedStatusValue
this.loadPointList()
},
@ -307,15 +308,15 @@ export default {
const res = await arc.getAzFrameworkList(this.queryParams)
if (res.code === 200 && res.data) {
const newData = res.data.rows || []
if (res.code === 200 && res.rows) {
const newData = res.rows || []
if (this.currentPage === 1) {
this.pointList = newData
} else {
this.pointList = [...this.pointList, ...newData]
}
this.total = res.data.total || 0
this.total = res.total || 0
// hasMore
this.hasMore =