|
|
@@ -2,7 +2,7 @@
|
|
|
<template>
|
|
|
<div class="p-2" style="padding: 10px">
|
|
|
<div style="display: flex; flex-direction: row">
|
|
|
- <div style="width: 20%">
|
|
|
+ <div style="width: 20%;">
|
|
|
<div class="card-header">
|
|
|
<div style="display: flex; flex-direction: row">
|
|
|
<div style="width: 4px; height: 19px; opacity: 1; background: #409eff"></div>
|
|
|
@@ -16,12 +16,12 @@
|
|
|
">站点列表</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div style="margin-top: 20px; padding-left: 10px">
|
|
|
+ <div style="margin-top: 20px; padding-left: 10px;">
|
|
|
<el-select v-model="line" placeholder="请选择路线" style="width: 240px" @change="getLineSites()">
|
|
|
<el-option v-for="item in carPathList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
<el-input style="margin-top: 10px;" v-model="filterText" placeholder="输入关键字" />
|
|
|
- <el-tree-v2 v-if="showTree" style="margin-top: 10px" ref="treeRef" class="filter-tree"
|
|
|
+ <el-tree-v2 v-if="showTree" style="margin-top: 10px;" ref="treeRef" class="filter-tree"
|
|
|
:height="gettreeheight()" :data="data" :indent="treeIndent" :props="defaultProps"
|
|
|
:filter-method="filterNode" @node-click="treeclick">
|
|
|
<template v-slot:default="{ node }">
|
|
|
@@ -190,7 +190,7 @@ const treeRef = ref(null);
|
|
|
const dialogVisible = ref(false);
|
|
|
|
|
|
const gettreeheight = () => {
|
|
|
- return document.body.clientHeight - 100;
|
|
|
+ return document.body.clientHeight - 300;
|
|
|
}
|
|
|
|
|
|
const goAdd = () => {
|