参会工作协会预设
This commit is contained in:
@@ -452,7 +452,22 @@ export default {
|
||||
type: 0
|
||||
}
|
||||
workGroup(type).then(res => {
|
||||
this.ch_pageData.associaOptionsOne = res.data.children
|
||||
if (res.data.children !== null) {
|
||||
this.ch_pageData.associaOptionsOne = res.data.children
|
||||
this.ch_pageData.associaName = this.ch_pageData.associaOptionsOne[0].id
|
||||
this.ch_pageData.associaOptionsOne.forEach(item => {
|
||||
if (item.children !== null && item.id === this.ch_pageData.associaName) {
|
||||
this.ch_pageData.associaOptionsTwo = item.children
|
||||
this.ch_pageData.associaNameOne = this.ch_pageData.associaOptionsTwo[0].id
|
||||
}
|
||||
})
|
||||
this.ch_pageData.associaOptionsTwo.forEach(item => {
|
||||
if (item.children !== null && item.id === this.ch_pageData.associaNameOne) {
|
||||
this.ch_pageData.associaOptionsTree = item.children
|
||||
this.ch_pageData.associaNameTwo = this.ch_pageData.associaOptionsTree[0].id
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user