diff --git a/src/views/pqs/business/terminal/deviceter/index.vue b/src/views/pqs/business/terminal/deviceter/index.vue index 425bc9e3..65fef08b 100644 --- a/src/views/pqs/business/terminal/deviceter/index.vue +++ b/src/views/pqs/business/terminal/deviceter/index.vue @@ -1107,7 +1107,7 @@ @@ -1146,8 +1146,9 @@ { bigList.value = convertToTree(res.data) }) } + +//用户对象chage事件 +const handleSelect = (item, selectedId) => { + // 清空选择 + if (!selectedId) { + item.projectName = '' + return + } + // 过滤当前下拉数据源 + + const options = newStationIdArr.value.find(i => i.id === selectedId) + if (options) { + item.objName = options.projectName + } +} + // 组装用户大小类 const convertToTree = (data: any) => { const nodeMap: any = {}