【update】-优化方法
This commit is contained in:
@@ -792,11 +792,11 @@ export default {
|
|||||||
// 处理国际研讨会-WASIC-已经选择的数据如何展示
|
// 处理国际研讨会-WASIC-已经选择的数据如何展示
|
||||||
handleWasicLinkTopics(currentMeetingInfo, dictKey) {
|
handleWasicLinkTopics(currentMeetingInfo, dictKey) {
|
||||||
dictKey = dictKey || 'linkTopics'
|
dictKey = dictKey || 'linkTopics'
|
||||||
|
let resultArr = []
|
||||||
if(currentMeetingInfo[dictKey] && currentMeetingInfo[dictKey + '_dictText']) {
|
if(currentMeetingInfo[dictKey] && currentMeetingInfo[dictKey + '_dictText']) {
|
||||||
let topicArr = currentMeetingInfo[dictKey].split(',')
|
let topicArr = currentMeetingInfo[dictKey].split(',')
|
||||||
let topicTextArr = currentMeetingInfo[dictKey + '_dictText'].split(',')
|
let topicTextArr = currentMeetingInfo[dictKey + '_dictText'].split(',')
|
||||||
let opeArr = JSON.parse(JSON.stringify(WasicTopicData))
|
let opeArr = JSON.parse(JSON.stringify(WasicTopicData))
|
||||||
let resultArr = []
|
|
||||||
opeArr.map(tt => {
|
opeArr.map(tt => {
|
||||||
// 先查询子集中
|
// 先查询子集中
|
||||||
tt.allChildren = [...tt.children, ...(tt.radioChildren || [])]
|
tt.allChildren = [...tt.children, ...(tt.radioChildren || [])]
|
||||||
@@ -821,8 +821,8 @@ export default {
|
|||||||
resultArr.push(dateItem)
|
resultArr.push(dateItem)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
return resultArr
|
|
||||||
}
|
}
|
||||||
|
return resultArr
|
||||||
},
|
},
|
||||||
selectIdentity(){
|
selectIdentity(){
|
||||||
console.log(this.queryParam.identity)
|
console.log(this.queryParam.identity)
|
||||||
|
|||||||
Reference in New Issue
Block a user