菜单更改
This commit is contained in:
parent
a1f2c86055
commit
b0452cfb96
|
@ -15,10 +15,14 @@
|
|||
</title>
|
||||
<!-- <script src="./jsmap/jsmap.js"> </script> -->
|
||||
<!-- <link type="text/css" href="./jsmap/jsmap.css" rel="stylesheet"/> -->
|
||||
<script type="text/javascript" src="./jquery-1.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="./webVideoCtrl.js"></script>
|
||||
<script type="text/javascript" src="./jsVideoPlugin-1.0.0.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
document.write("<script src='config.js?" + new Date().getTime() + "'><\/script>");
|
||||
</script>
|
||||
<script type="text/javascript" src="./xlsx.full.min.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -18,28 +18,26 @@
|
|||
车辆总数:<span class="totalNumber">0</span>
|
||||
</div>
|
||||
<div>
|
||||
<el-select v-model="query.timetype" placeholder="时间类型" @change="timeHandleQuery" clearable>
|
||||
<!-- <el-select v-model="query.timetype" placeholder="时间类型" @change="timeHandleQuery" clearable>
|
||||
<el-option v-for="item in timeOptions" :key="item" :label="item" :value="item"></el-option>
|
||||
</el-select>
|
||||
</el-select> -->
|
||||
<!-- 时间 -->
|
||||
<el-date-picker v-model="query.time" v-if="query.timetype == '日'" type="date" placeholder="选择时间"
|
||||
format="YYYY-MM-DD" value-format="YYYY-MM-DD" :picker-options="pickerOptions" />
|
||||
<el-date-picker v-model="query.time" v-else-if="query.timetype == '月'" type="month"
|
||||
placeholder="选择月" format="YYYY-MM" value-format="YYYY-MM" :picker-options="pickerOptions" />
|
||||
<el-date-picker v-model="query.time" v-else-if="query.timetype == '年'" type="year"
|
||||
placeholder="选择年" format="YYYY" value-format="YYYY" :picker-options="pickerOptions" />
|
||||
<el-select v-model="query.cate" placeholder="车辆分类" @change="carHandleQuery" clearable>
|
||||
<el-date-picker v-model="query.time" type="date" placeholder="开始时间" format="YYYY-MM-DD"
|
||||
value-format="YYYY-MM-DD" :picker-options="pickerOptions" />
|
||||
<el-date-picker v-model="query.time" type="date" placeholder="结束时间" format="YYYY-MM-DD"
|
||||
value-format="YYYY-MM-DD" :picker-options="pickerOptions" />
|
||||
<!-- <el-select v-model="query.cate" placeholder="车辆分类" @change="carHandleQuery" clearable>
|
||||
<el-option v-for="item in cateOptions" :key="item.id" :label="item.name"
|
||||
:value="item.id"></el-option>
|
||||
</el-select>
|
||||
</el-select> -->
|
||||
<el-select v-model="query.type" placeholder="出入类型" style="width:7vw">
|
||||
<el-option v-for="item in typeOptions" :key="item.id" :label="item.name" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
<el-select v-model="query.status" placeholder="行驶证状态" style="width:7vw">
|
||||
<!-- <el-select v-model="query.status" placeholder="行驶证状态" style="width:7vw">
|
||||
<el-option v-for="item in statusOptions" :key="item.id" :label="item.name" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-select> -->
|
||||
<el-input :input-style="searchInputStyle" style="width:7vw;margin:0 5px" v-model="query.search"
|
||||
placeholder=""></el-input>
|
||||
<el-button @click="handleQuery">查询</el-button>
|
||||
|
|
|
@ -61,8 +61,8 @@
|
|||
</span>
|
||||
<template #dropdown>
|
||||
<el-dropdown-menu class="enpMenu">
|
||||
<el-dropdown-item command="transport">场外运输</el-dropdown-item>
|
||||
<el-dropdown-item command="innerClean">场内清洁</el-dropdown-item>
|
||||
<el-dropdown-item command="transport">厂外运输</el-dropdown-item>
|
||||
<el-dropdown-item command="innerClean">厂内清洁</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</template>
|
||||
</el-dropdown>
|
||||
|
@ -79,8 +79,8 @@
|
|||
<el-dropdown-menu class="enpMenu">
|
||||
<el-dropdown-item command="envirqualmonitor">环境质量监测</el-dropdown-item>
|
||||
<el-dropdown-item command="envirmonitor">环境监测清单</el-dropdown-item>
|
||||
<el-dropdown-item command="pollutecalendar">污染日历</el-dropdown-item>
|
||||
<el-dropdown-item command="">决策分析</el-dropdown-item>
|
||||
<!-- <el-dropdown-item command="pollutecalendar">污染日历</el-dropdown-item> -->
|
||||
<!-- <el-dropdown-item command="">决策分析</el-dropdown-item> -->
|
||||
</el-dropdown-menu>
|
||||
</template>
|
||||
</el-dropdown>
|
||||
|
@ -331,6 +331,7 @@
|
|||
<alarmrecord v-else-if="activeDrawerName == 'alarmrecord'" @close="closeDialog"></alarmrecord>
|
||||
<pollutant2 v-else-if="activeDrawerName == 'pollutant2'" @close="closeDialog"></pollutant2>
|
||||
<smartg v-else-if="activeDrawerName == 'smartg'" @close="closeDialog"></smartg>
|
||||
<videowall v-else-if="activeDrawerName == 'video'" @close="closeDialog"></videowall>
|
||||
</el-drawer>
|
||||
</div>
|
||||
</el-main>
|
||||
|
@ -355,7 +356,8 @@ import pollutecalendar from "./enpComponents/pollutecalendar.vue";
|
|||
import eqments from "./enpComponents/eqments.vue";//台账
|
||||
import alarmrecord from "./enpComponents/alarmrecord.vue";
|
||||
import pollutant2 from "./enpComponents/pollutant2.vue"
|
||||
import smartg from "./enpComponents/smartg.vue"
|
||||
import smartg from "./enpComponents/smartg.vue";
|
||||
import videowall from "./enpComponents/video.vue";
|
||||
import 'babylonjs-loaders';
|
||||
import 'animate.css';
|
||||
export default {
|
||||
|
@ -373,7 +375,8 @@ export default {
|
|||
eqments,
|
||||
alarmrecord,
|
||||
pollutant2,
|
||||
smartg
|
||||
smartg,
|
||||
videowall
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
@ -619,7 +622,8 @@ export default {
|
|||
return classInfo
|
||||
},
|
||||
menuClick(index) {
|
||||
this.activeIndex = index;
|
||||
if (index == 0) { this.activeIndex = index; }
|
||||
//
|
||||
},
|
||||
handleClick(command) {
|
||||
this.activeIndex = 1;
|
||||
|
@ -640,9 +644,9 @@ export default {
|
|||
this.activeIndex = 4;
|
||||
this.elDrawer = true;
|
||||
this.activeDrawerName = command;
|
||||
if (command == 'video') {
|
||||
window.open('/demo/index.html', '_self')
|
||||
}
|
||||
// if (command == 'video') {
|
||||
// window.open('/demo/index.html', '_self')
|
||||
// }
|
||||
},
|
||||
handleClick5(command) {
|
||||
this.activeIndex = 5;
|
||||
|
|
Loading…
Reference in New Issue