|
@@ -76,24 +76,27 @@
|
|
|
></el-cascader>
|
|
|
</template>
|
|
|
<template slot="searchItem27">
|
|
|
- <el-checkbox-group v-model="searchParams.c">
|
|
|
- <el-checkbox-button :label="1" :key="1" class="labelA"
|
|
|
- >绿灯</el-checkbox-button
|
|
|
+ <el-checkbox-group v-model="labels">
|
|
|
+ <el-checkbox-button label="1" :key="1" class="labelA"
|
|
|
+ >高速</el-checkbox-button
|
|
|
>
|
|
|
- <el-checkbox-button :label="2" :key="2" class="labelB"
|
|
|
- >桥梁</el-checkbox-button
|
|
|
+ <el-checkbox-button label="2" :key="2" class="labelB"
|
|
|
+ >切入</el-checkbox-button
|
|
|
>
|
|
|
- <el-checkbox-button :label="3" :key="3" class="labelC"
|
|
|
- >晴天</el-checkbox-button
|
|
|
+ <el-checkbox-button label="3" :key="3" class="labelC"
|
|
|
+ >切出</el-checkbox-button
|
|
|
>
|
|
|
- <el-checkbox-button :label="4" :key="4" class="labelD"
|
|
|
- >直道</el-checkbox-button
|
|
|
+ <el-checkbox-button label="4" :key="4" class="labelD"
|
|
|
+ >变道</el-checkbox-button
|
|
|
>
|
|
|
- <el-checkbox-button :label="5" :key="5" class="labelC"
|
|
|
- >晴天</el-checkbox-button
|
|
|
+ <el-checkbox-button label="5" :key="5" class="labelA"
|
|
|
+ >匝道</el-checkbox-button
|
|
|
>
|
|
|
- <el-checkbox-button :label="6" :key="6" class="labelD"
|
|
|
- >直道</el-checkbox-button
|
|
|
+ <el-checkbox-button label="6" :key="6" class="labelB"
|
|
|
+ >隧道</el-checkbox-button
|
|
|
+ >
|
|
|
+ <el-checkbox-button label="7" :key="7" class="labelC"
|
|
|
+ >掉头</el-checkbox-button
|
|
|
>
|
|
|
</el-checkbox-group>
|
|
|
</template>
|
|
@@ -131,16 +134,6 @@
|
|
|
:pagination="pagination"
|
|
|
index
|
|
|
>
|
|
|
- <el-table-column label="标签" slot="asd" align="center">
|
|
|
- <template>
|
|
|
- <div class="labelPanel">
|
|
|
- <span class="labelBox labelA">绿灯</span>
|
|
|
- <span class="labelBox labelB">桥梁</span>
|
|
|
- <span class="labelBox labelC">晴天</span>
|
|
|
- <span class="labelBox labelD">直道</span>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
<el-table-column
|
|
|
label="操作"
|
|
|
slot="cgInfos"
|
|
@@ -199,8 +192,16 @@ export default {
|
|
|
selfBehavior: [], // 自车行为
|
|
|
targetBehavior: [], // 目标行为
|
|
|
naturalEnvironment: [], // 自然环境
|
|
|
- c: [],
|
|
|
+
|
|
|
+ highSpeed: [], // 高速
|
|
|
+ ramp: [], // 匝道
|
|
|
+ tunnel: [], // 隧道
|
|
|
+ cutIn: [], // 切入
|
|
|
+ cutOut: [], // 切出
|
|
|
+ laneChange: [], // 变道
|
|
|
+ turnAround: [], // 掉头
|
|
|
},
|
|
|
+ labels: [],
|
|
|
list: [],
|
|
|
roadList: [],
|
|
|
infrastructureList: [],
|
|
@@ -234,8 +235,7 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
label: "标签",
|
|
|
- prop: "asd",
|
|
|
- template: true,
|
|
|
+ prop: "label",
|
|
|
},
|
|
|
{
|
|
|
label: "操作",
|
|
@@ -276,6 +276,101 @@ export default {
|
|
|
|
|
|
methods: {
|
|
|
doSearch() {
|
|
|
+ this.searchParams.highSpeed = this.labels.includes("1")
|
|
|
+ ? [["roadType", "高速"]]
|
|
|
+ : [];
|
|
|
+ this.searchParams.cutIn = this.labels.includes("2")
|
|
|
+ ? [
|
|
|
+ [
|
|
|
+ "targetBehavior",
|
|
|
+ "targetBehavior",
|
|
|
+ "targetBehavior",
|
|
|
+ "targetBehavior",
|
|
|
+ "targetBehavior",
|
|
|
+ "机动车从左侧切入成功",
|
|
|
+ ],
|
|
|
+ [
|
|
|
+ "targetBehavior",
|
|
|
+ "targetBehavior",
|
|
|
+ "targetBehavior",
|
|
|
+ "targetBehavior",
|
|
|
+ "targetBehavior",
|
|
|
+ "机动车从右侧切入成功",
|
|
|
+ ],
|
|
|
+ ]
|
|
|
+ : [];
|
|
|
+ this.searchParams.cutOut = this.labels.includes("3")
|
|
|
+ ? [
|
|
|
+ [
|
|
|
+ "targetBehavior",
|
|
|
+ "targetBehavior",
|
|
|
+ "targetBehavior",
|
|
|
+ "targetBehavior",
|
|
|
+ "targetBehavior",
|
|
|
+ "机动车向左侧切出成功",
|
|
|
+ ],
|
|
|
+ [
|
|
|
+ "targetBehavior",
|
|
|
+ "targetBehavior",
|
|
|
+ "targetBehavior",
|
|
|
+ "targetBehavior",
|
|
|
+ "targetBehavior",
|
|
|
+ "机动车向右侧切出成功",
|
|
|
+ ],
|
|
|
+ ]
|
|
|
+ : [];
|
|
|
+ this.searchParams.laneChange = this.labels.includes("4")
|
|
|
+ ? [
|
|
|
+ [
|
|
|
+ "selfBehavior",
|
|
|
+ "selfBehavior",
|
|
|
+ "selfBehavior",
|
|
|
+ "向左变道成功",
|
|
|
+ ],
|
|
|
+ [
|
|
|
+ "selfBehavior",
|
|
|
+ "selfBehavior",
|
|
|
+ "selfBehavior",
|
|
|
+ "向右变道成功",
|
|
|
+ ],
|
|
|
+ [
|
|
|
+ "selfBehavior",
|
|
|
+ "selfBehavior",
|
|
|
+ "selfBehavior",
|
|
|
+ "向左连续变道",
|
|
|
+ ],
|
|
|
+ [
|
|
|
+ "selfBehavior",
|
|
|
+ "selfBehavior",
|
|
|
+ "selfBehavior",
|
|
|
+ "向右连续变道",
|
|
|
+ ],
|
|
|
+ [
|
|
|
+ "selfBehavior",
|
|
|
+ "selfBehavior",
|
|
|
+ "selfBehavior",
|
|
|
+ "向左变道超车",
|
|
|
+ ],
|
|
|
+ [
|
|
|
+ "selfBehavior",
|
|
|
+ "selfBehavior",
|
|
|
+ "selfBehavior",
|
|
|
+ "向右变道超车",
|
|
|
+ ],
|
|
|
+ ]
|
|
|
+ : [];
|
|
|
+ this.searchParams.ramp = this.labels.includes("5")
|
|
|
+ ? [["ramp", "是"]]
|
|
|
+ : [];
|
|
|
+ this.searchParams.tunnel = this.labels.includes("6")
|
|
|
+ ? [["tunnel", "是"]]
|
|
|
+ : [];
|
|
|
+ this.searchParams.turnAround = this.labels.includes("7")
|
|
|
+ ? [
|
|
|
+ ["selfBehavior", "直路掉头"],
|
|
|
+ ["selfBehavior", "selfBehavior", "路口掉头"],
|
|
|
+ ]
|
|
|
+ : [];
|
|
|
this.refreshList(this.searchParams);
|
|
|
},
|
|
|
//刷新table
|
|
@@ -294,6 +389,13 @@ export default {
|
|
|
targetBehavior: [],
|
|
|
naturalEnvironment: [],
|
|
|
temporaryOperation: [],
|
|
|
+ highSpeed: [],
|
|
|
+ ramp: [],
|
|
|
+ tunnel: [],
|
|
|
+ cutIn: [],
|
|
|
+ cutOut: [],
|
|
|
+ laneChange: [],
|
|
|
+ turnAround: [],
|
|
|
};
|
|
|
this.doSearch();
|
|
|
},
|