|
|
:data="sites.map(i => { return { value: i.dictLabel, label: i.dictLabel, children: JSON.parse(i.remark).filter(j => { return j.type == 'led' || j.type == 'tts' }).map(j => { return { value: `${i.dictCode}_${j.type}_${j.code}`, label: `${i.dictLabel}—${j.name}` } }) } })"
|
|
:data="sites.map(i => { return { value: i.dictLabel, label: i.dictLabel, children: JSON.parse(i.remark).filter(j => { return j.type == 'led' || j.type == 'tts' }).map(j => { return { value: `${i.dictCode}_${j.type}_${j.code}`, label: `${i.dictLabel}—${j.name}` } }) } })"
|