feat(resettle2): 点位信息默认未完成
This commit is contained in:
parent
6f75574790
commit
e754739aa3
|
@ -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()
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue