多监测点修改
This commit is contained in:
@@ -39,7 +39,9 @@
|
||||
<Shishishuju />
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
<div class="monitoring-point">当前位置:{{ monitoringPoint.state.lineName }}</div>
|
||||
<div class="monitoring-point" v-if="!monitoringPoint.state.showCheckBox">
|
||||
当前位置:{{ monitoringPoint.state.lineName }}
|
||||
</div>
|
||||
</div>
|
||||
</pane>
|
||||
</splitpanes>
|
||||
@@ -80,11 +82,11 @@ onMounted(() => {
|
||||
const handleNodeClick = (data: any, node: any) => {
|
||||
if (data.level === 6) {
|
||||
monitoringPoint.setValue('lineId', data.id)
|
||||
monitoringPoint.setValue('lineName', data.alias)
|
||||
}
|
||||
}
|
||||
const handleCheckChange = (data: any, node: any) => {
|
||||
// let checkNodes = pointTree.value.getCheckedNodes()
|
||||
// console.log(checkNodes)
|
||||
console.log(data)
|
||||
}
|
||||
watch(
|
||||
() => router.currentRoute.value.query.lineId,
|
||||
|
||||
Reference in New Issue
Block a user