|
@@ -30,6 +30,22 @@
|
|
</el-select>
|
|
</el-select>
|
|
</template>
|
|
</template>
|
|
<template slot="searchItem3">
|
|
<template slot="searchItem3">
|
|
|
|
+ <span class="label">道路类型</span>
|
|
|
|
+ <el-select
|
|
|
|
+ v-model="searchParams.scenarioRoadType"
|
|
|
|
+ multiple
|
|
|
|
+ size="small"
|
|
|
|
+ clearable
|
|
|
|
+ >
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item in scenarioRoadTypeList"
|
|
|
|
+ :label="item.caption"
|
|
|
|
+ :value="item.code"
|
|
|
|
+ :key="item.code"
|
|
|
|
+ ></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </template>
|
|
|
|
+ <!-- <template slot="searchItem3">
|
|
<span class="label">天气</span>
|
|
<span class="label">天气</span>
|
|
<el-select
|
|
<el-select
|
|
v-model="searchParams.scenarioWeather"
|
|
v-model="searchParams.scenarioWeather"
|
|
@@ -53,7 +69,7 @@
|
|
placeholder="时间"
|
|
placeholder="时间"
|
|
>
|
|
>
|
|
</el-time-picker>
|
|
</el-time-picker>
|
|
- </template>
|
|
|
|
|
|
+ </template> -->
|
|
<template slot="searchBtn1">
|
|
<template slot="searchBtn1">
|
|
<el-button type="primary" @click="doSearch">查询</el-button>
|
|
<el-button type="primary" @click="doSearch">查询</el-button>
|
|
</template>
|
|
</template>
|
|
@@ -96,8 +112,10 @@ export default {
|
|
//搜索参数
|
|
//搜索参数
|
|
sceneId: "", // 场景类型编号
|
|
sceneId: "", // 场景类型编号
|
|
fileName: [], // 功能模块
|
|
fileName: [], // 功能模块
|
|
- scenarioWeather: [], // 天气
|
|
|
|
- scenarioTime: "", // 时间
|
|
|
|
|
|
+ scenarioRoadType: [], // 道路类型
|
|
|
|
+ share: "0",
|
|
|
|
+ // scenarioWeather: [], // 天气
|
|
|
|
+ // scenarioTime: "", // 时间
|
|
},
|
|
},
|
|
labels: [],
|
|
labels: [],
|
|
fileNameList: [],
|
|
fileNameList: [],
|
|
@@ -125,13 +143,17 @@ export default {
|
|
prop: "scenarioRoadType",
|
|
prop: "scenarioRoadType",
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: "时间",
|
|
|
|
- prop: "scenarioTime",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- label: "天气",
|
|
|
|
- prop: "scenarioWeather",
|
|
|
|
|
|
+ label: "场景简述",
|
|
|
|
+ prop: "scenarioResume",
|
|
},
|
|
},
|
|
|
|
+ // {
|
|
|
|
+ // label: "时间",
|
|
|
|
+ // prop: "scenarioTime",
|
|
|
|
+ // },
|
|
|
|
+ // {
|
|
|
|
+ // label: "天气",
|
|
|
|
+ // prop: "scenarioWeather",
|
|
|
|
+ // },
|
|
],
|
|
],
|
|
getDataWay: {
|
|
getDataWay: {
|
|
//加载表格数据
|
|
//加载表格数据
|
|
@@ -139,7 +161,9 @@ export default {
|
|
type: "post",
|
|
type: "post",
|
|
// firstRequest: false,
|
|
// firstRequest: false,
|
|
data: this.$api.sceneLibrary.querySceneGeneralTemplateList,
|
|
data: this.$api.sceneLibrary.querySceneGeneralTemplateList,
|
|
- param: {},
|
|
|
|
|
|
+ param: {
|
|
|
|
+ share: "0",
|
|
|
|
+ },
|
|
},
|
|
},
|
|
};
|
|
};
|
|
},
|
|
},
|
|
@@ -149,6 +173,10 @@ export default {
|
|
type: Array,
|
|
type: Array,
|
|
default: [],
|
|
default: [],
|
|
},
|
|
},
|
|
|
|
+ scenarioRoadTypeList: {
|
|
|
|
+ type: Array,
|
|
|
|
+ default: [],
|
|
|
|
+ },
|
|
},
|
|
},
|
|
|
|
|
|
methods: {
|
|
methods: {
|
|
@@ -156,8 +184,10 @@ export default {
|
|
this.searchParams = {
|
|
this.searchParams = {
|
|
sceneId: "",
|
|
sceneId: "",
|
|
fileName: [],
|
|
fileName: [],
|
|
- scenarioWeather: [],
|
|
|
|
- scenarioTime: "",
|
|
|
|
|
|
+ scenarioRoadType: [],
|
|
|
|
+ share: "0",
|
|
|
|
+ // scenarioWeather: [],
|
|
|
|
+ // scenarioTime: "",
|
|
};
|
|
};
|
|
this.doSearch();
|
|
this.doSearch();
|
|
},
|
|
},
|