fix(resettle1): childNode为空不请求列表
This commit is contained in:
parent
09fabbe4ed
commit
8c33e7df41
|
@ -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()
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue