fix(resettle1): childNode为空不请求列表

This commit is contained in:
woody 2025-09-26 09:29:22 +08:00
parent 09fabbe4ed
commit 8c33e7df41
1 changed files with 6 additions and 5 deletions

View File

@ -148,7 +148,7 @@ export default {
queryParams: {
childNode: '',
stage: 1,
stageStatus: 0,
stageStatus: null,
},
stageList: [
[
@ -199,7 +199,9 @@ export default {
onLoad() {
this.init()
this.getChildList().then(() => {
this.getDataList()
if (this.queryParams.childNode) {
this.getDataList()
}
})
},
@ -225,9 +227,8 @@ export default {
methods: {
init() {
this.stageName = this.stageList[0][0].label
this.statusName = this.statusList[0][0].label
// this.statusName = this.statusList[0][0].label
this.queryParams.stage = this.stageList[0][0].value
this.queryParams.stageStatus = this.statusList[0][0].value
},
//
copyText() {
@ -522,7 +523,7 @@ export default {
stage: this.stageList[0][0].value,
stageStatus: this.statusList[0][0].value,
}
this.handleSearch()
// this.handleSearch()
},
},
}