fix(resettle1): childNode为空不请求列表
This commit is contained in:
parent
09fabbe4ed
commit
8c33e7df41
|
@ -148,7 +148,7 @@ export default {
|
||||||
queryParams: {
|
queryParams: {
|
||||||
childNode: '',
|
childNode: '',
|
||||||
stage: 1,
|
stage: 1,
|
||||||
stageStatus: 0,
|
stageStatus: null,
|
||||||
},
|
},
|
||||||
stageList: [
|
stageList: [
|
||||||
[
|
[
|
||||||
|
@ -199,7 +199,9 @@ export default {
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.init()
|
this.init()
|
||||||
this.getChildList().then(() => {
|
this.getChildList().then(() => {
|
||||||
this.getDataList()
|
if (this.queryParams.childNode) {
|
||||||
|
this.getDataList()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -225,9 +227,8 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
init() {
|
init() {
|
||||||
this.stageName = this.stageList[0][0].label
|
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.stage = this.stageList[0][0].value
|
||||||
this.queryParams.stageStatus = this.statusList[0][0].value
|
|
||||||
},
|
},
|
||||||
//复制文字
|
//复制文字
|
||||||
copyText() {
|
copyText() {
|
||||||
|
@ -522,7 +523,7 @@ export default {
|
||||||
stage: this.stageList[0][0].value,
|
stage: this.stageList[0][0].value,
|
||||||
stageStatus: this.statusList[0][0].value,
|
stageStatus: this.statusList[0][0].value,
|
||||||
}
|
}
|
||||||
this.handleSearch()
|
// this.handleSearch()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue