【update】优化处理国际研讨会-WASIC数据的方法

This commit is contained in:
fengchenchen
2023-11-02 13:42:37 +08:00
parent 8c416b0916
commit 8ef3241245
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -890,11 +890,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 || [])]
@@ -919,8 +919,8 @@ export default {
resultArr.push(dateItem)
}
})
return resultArr
}
return resultArr
},
// 是否显示文件查看
async changeShowDetailBool() {