【update】-优化方法

This commit is contained in:
fengchenchen
2023-11-02 13:40:15 +08:00
parent e385c2c768
commit 2201ec9f0e
@@ -792,11 +792,11 @@ export default {
// 处理国际研讨会-WASIC-已经选择的数据如何展示
handleWasicLinkTopics(currentMeetingInfo, dictKey) {
dictKey = dictKey || 'linkTopics'
let resultArr = []
if(currentMeetingInfo[dictKey] && currentMeetingInfo[dictKey + '_dictText']) {
let topicArr = currentMeetingInfo[dictKey].split(',')
let topicTextArr = currentMeetingInfo[dictKey + '_dictText'].split(',')
let opeArr = JSON.parse(JSON.stringify(WasicTopicData))
let resultArr = []
opeArr.map(tt => {
// 先查询子集中
tt.allChildren = [...tt.children, ...(tt.radioChildren || [])]
@@ -821,8 +821,8 @@ export default {
resultArr.push(dateItem)
}
})
return resultArr
}
return resultArr
},
selectIdentity(){
console.log(this.queryParam.identity)