151 lines
4.3 KiB
Vue
151 lines
4.3 KiB
Vue
<template>
|
|
<el-dialog
|
|
id="eldig"
|
|
:visible="visible"
|
|
:title="title"
|
|
:width="width"
|
|
custom-class="bi_enterprise_dialog"
|
|
append-to-body
|
|
top="4vh"
|
|
@close="handlerClose">
|
|
<!-- 消防模块 -->
|
|
<xf-point v-if="value.otherInfo && value.otherInfo.type === 'point'" :id="value.id" :type="value.otherInfo.type" :gangkou="gangkou"/>
|
|
<xf-control v-if="value.otherInfo && (value.otherInfo.type === 'xfbf01' || value.otherInfo.type ==='xfkzs01' || value.otherInfo.type ==='xfjyd01' || value.otherInfo.type ==='xfsy01')" :id="value.id" :type="value.otherInfo.type" :gangkou="gangkou"/>
|
|
<!-- 气象模块 -->
|
|
<weatherstation v-if="value.type === '12'" :id="value.id" :type="value.type" :gangkou="gangkou"/>
|
|
<windspeedstation v-if="value.type === '11'" :id="value.id" :type="value.type" :gangkou="gangkou"/>
|
|
<!-- 摄像头 -->
|
|
<video-play-plat v-if="value.otherInfo && value.otherInfo.type === 'platcamera'" :id="value.id" :type="value.otherInfo.type" :gangkou="gangkou"/>
|
|
<!-- 物资装备库 -->
|
|
<wu-zi v-if="value.type === '0'" :id="value.id" :type="value.type"/>
|
|
<!-- 避难所 -->
|
|
<bi-nan-suo v-if="value.type === '1'" :id="value.id" :type="value.type"/>
|
|
<!-- 排水井 -->
|
|
<pai-shui-jing v-if="value.type === '2'" :id="value.id" :type="value.type"/>
|
|
<!-- 封闭卡口 -->
|
|
<feng-bi-ka-kou v-if="value.type === '3'" :id="value.id" :type="value.type"/>
|
|
<!-- 报警点 -->
|
|
<bao-jing v-if="value.type === '13'" :id="value.id" :type="value.type"/>
|
|
<send-message v-if="value.type === 'sendMessage'" :id="value.id" :info="value" @close="handlerClose"/>
|
|
</el-dialog>
|
|
</template>
|
|
|
|
<script>
|
|
import XfControl from '../../../map/dialog/xfControl.vue'
|
|
import XfPoint from '../../../map/dialog/xfPoint.vue'
|
|
import weatherstation from '../../../map/dialog/weatherstation.vue'
|
|
import windspeedstation from '../../../map/dialog/weatherstation.vue'
|
|
import videoPlayPlat from '../../../map/dialog/video_play_plat.vue'
|
|
import WuZi from '../dialog/wuZi.vue'
|
|
import BiNanSuo from '../dialog/biNanSuo.vue'
|
|
import PaiShuiJing from '../dialog/paiShuiJing.vue'
|
|
import FengBiKaKou from '../dialog/fengBiKaKou.vue'
|
|
import BaoJing from '../dialog/baoJing.vue'
|
|
import SendMessage from '../dialog/sendMessage.vue'
|
|
|
|
export default {
|
|
components: { SendMessage, WuZi, BiNanSuo, PaiShuiJing, FengBiKaKou, BaoJing, videoPlayPlat, windspeedstation, weatherstation, XfPoint, XfControl },
|
|
props: {
|
|
visible: {
|
|
type: Boolean,
|
|
required: true
|
|
},
|
|
value: {
|
|
type: Object,
|
|
default: () => ({})
|
|
},
|
|
title: {
|
|
type: String,
|
|
required: false,
|
|
default: '弹窗默认标题'
|
|
},
|
|
width: {
|
|
type: String,
|
|
default: '1350px'
|
|
}
|
|
},
|
|
data() {
|
|
return {
|
|
gangkou: '0003'
|
|
}
|
|
},
|
|
methods: {
|
|
handlerClose() {
|
|
this.$emit('update:visible', false)
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.el-dialog.bi_enterprise_dialog {
|
|
border-radius: 8px !important;
|
|
background-color: #000d27f5 !important;
|
|
border: 2px solid #034383;
|
|
|
|
// 控制弹窗的标题颜色
|
|
.el-dialog__title {
|
|
color: #cdcdcd !important;
|
|
}
|
|
|
|
// 控制 dialog 弹框 header 头部的下边线颜色
|
|
.el-dialog__header {
|
|
border-bottom: 1px solid #012b81 !important;
|
|
}
|
|
|
|
// 控制下拉框的背景颜色和边框样式
|
|
.vue-treeselect__control {
|
|
background: none !important;
|
|
border: 1px solid #ffffff60 !important;
|
|
}
|
|
|
|
// 树形选择器输入框内值的样式
|
|
.vue-treeselect__single-value {
|
|
color: #cdcdcd !important;
|
|
font-size: 14px !important;
|
|
}
|
|
|
|
.el-input__inner {
|
|
background: none;
|
|
color: #cdcdcd !important;
|
|
border: 1px solid #ffffff60 !important;
|
|
}
|
|
|
|
.el-dialog__body {
|
|
padding: 0 !important;
|
|
color: #ffffff !important;
|
|
height: auto;
|
|
max-height: 85vh;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
|
|
&::-webkit-scrollbar {
|
|
width: 4px;
|
|
height: 1px;
|
|
}
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
border-radius: 10px;
|
|
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
|
|
background-color: #003bb1bd;
|
|
}
|
|
|
|
&::-webkit-scrollbar-track {
|
|
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
|
|
border-radius: 10px;
|
|
background-color: transparent;
|
|
}
|
|
}
|
|
|
|
.app-container {
|
|
.table-ui .tbg {
|
|
background: none;
|
|
}
|
|
|
|
.table-ui td {
|
|
border: 1px solid #043e99;
|
|
}
|
|
}
|
|
}
|
|
</style>
|