|
|
|
@ -383,7 +383,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
/** 查询计量设备信息下拉树结构 新增用*/
|
|
|
|
|
getTreeMonitorInfo() {
|
|
|
|
|
listBaseMonitorInfo({ monitorType: 2 }).then(response => {
|
|
|
|
|
listBaseMonitorInfo({ monitorType: 10 }).then(response => {
|
|
|
|
|
this.baseMonitorInfoOptions = []
|
|
|
|
|
const data = { objId: 0, monitorName: '顶级节点', children: [] }
|
|
|
|
|
data.children = this.handleTree(response.data, 'objId', 'parentId')
|
|
|
|
@ -496,7 +496,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
/** 查询计量设备信息下拉树结构 */
|
|
|
|
|
getTreeselect() {
|
|
|
|
|
getMonitorInfoTree({ monitorType: 2 }).then(response => {
|
|
|
|
|
getMonitorInfoTree({ monitorType: 10 }).then(response => {
|
|
|
|
|
this.monitorInfoOptions = response.data
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|