Commit 52f66de3 authored by 张浩然's avatar 张浩然

3/16 周二

parent 9af5795c
...@@ -18,3 +18,13 @@ export function sendRiskSM(data) { ...@@ -18,3 +18,13 @@ export function sendRiskSM(data) {
}); });
} }
// 获取隐患
export function getRiskListByCompanycode(data) {
return request5({
url: "api/hiddenTroubleCheck/getRiskListByCompanycode",
method: "get",
params: data
});
}
...@@ -80,4 +80,14 @@ export function findPersonnelReal(data) { ...@@ -80,4 +80,14 @@ export function findPersonnelReal(data) {
method: "get", method: "get",
params: data params: data
}); });
} }
\ No newline at end of file
// 内部位移沉降
export function wkkNeiBuWeiYiChenJiang(data) {
return request5({
url: "api/wkkNeiBuWeiYiChenJiang",
method: "get",
params: data
});
}
<template> <template>
<div class="base-left"> <div class="base-left">
<div class="base_left_box"> <div class="base_left_box">
<img src="@/assets/images/error.png" @click="onClickDel" />
<img src="@/assets/images/error.png" @click="onClickDel">
<div class="base_left_box_line">
<div class="base_left_box_line"> <div class="title">基础信息</div>
<div class="title">基础信息</div>
<el-row class="text">
<el-row class="text"> <el-col :span="8">名称</el-col>
<el-col :span="8">名称</el-col> <el-col class="text_right" :span="16">{{ dataObj.name }}</el-col>
<el-col class="text_right" :span="16">{{dataObj.name}}</el-col> </el-row>
</el-row>
<el-row class="text">
<el-row class="text"> <el-col :span="8">地理位置</el-col>
<el-col :span="8">地理位置</el-col> <el-col class="text_right" :span="16">{{ dataObj.address }}</el-col>
<el-col class="text_right" :span="16">{{ dataObj.address}}</el-col> </el-row>
</el-row> </div>
</div> <div class="base_left_box_line">
<div class="title">监测类型</div>
<div class="base_left_box_line">
<el-row class="text">
<div class="title">监测类型</div> <el-col :span="12">环境监测</el-col>
<el-col class="text_look" :span="12"><span @click="onTextLookEnv">查看</span></el-col>
<el-row class="text"> </el-row>
<el-col :span="12">环境监测</el-col>
<el-col class="text_look" :span="12"><span @click="onTextLookEnv">查看</span></el-col> <el-row class="text">
</el-row> <el-col :span="12">人员定位</el-col>
<el-col class="text_look" :span="12"><span @click="onTextLook(0, 'rydw')">查看</span></el-col>
<el-row class="text"> </el-row>
<el-col :span="12">人员定位</el-col>
<el-col class="text_look" :span="12"><span @click="onTextLook(0, 'rydw')">查看</span></el-col> <el-row class="text">
</el-row> <el-col :span="12">降雨量</el-col>
<el-col class="text_look" :span="12"><span @click="onTextLook(1, 'jyl')">查看</span></el-col>
<el-row class="text"> </el-row>
<el-col :span="12">降雨量</el-col>
<el-col class="text_look" :span="12"><span @click="onTextLook(1, 'jyl')">查看</span></el-col> <el-row class="text">
</el-row> <el-col :span="12">浸润线</el-col>
<el-col class="text_look" :span="12"><span @click="onTextLook(2, 'jrx')">查看</span></el-col>
<el-row class="text"> </el-row>
<el-col :span="12">浸润线</el-col>
<el-col class="text_look" :span="12"><span @click="onTextLook(2, 'jrx')">查看</span></el-col> <el-row class="text">
</el-row> <el-col :span="12">库水位</el-col>
<el-col class="text_look" :span="12"><span @click="onTextLook(3, 'ksw')">查看</span></el-col>
<el-row class="text"> </el-row>
<el-col :span="12">库水位</el-col>
<el-col class="text_look" :span="12"><span @click="onTextLook(3, 'ksw')">查看</span></el-col> <el-row class="text">
</el-row> <el-col :span="12">干滩</el-col>
<el-col class="text_look" :span="12"><span @click="onTextLook(4, 'gt')">查看</span></el-col>
<el-row class="text"> </el-row>
<el-col :span="12">干滩</el-col>
<el-col class="text_look" :span="12"><span @click="onTextLook(4, 'gt')">查看</span></el-col> <el-row class="text">
</el-row> <el-col :span="12">表面位移</el-col>
<el-col class="text_look" :span="12"><span @click="onTextLook(5, 'bmwy')">查看</span></el-col>
<el-row class="text"> </el-row>
<el-col :span="12">表面位移</el-col>
<el-col class="text_look" :span="12"><span @click="onTextLook(5, 'bmwy')">查看</span></el-col> <el-row class="text">
</el-row> <el-col :span="12">内部位移沉降</el-col>
<el-col class="text_look" :span="12"><span @click="onTextLook(8, 'nbwy')">查看</span></el-col>
<el-row class="text"> </el-row>
<el-col :span="12">预警值</el-col>
<el-col class="text_look" :span="12"><span @click="onTextLook(7, 'yjz')">查看</span></el-col>
</el-row>
<el-row class="text">
<el-col :span="12">报警记录</el-col>
<el-col class="text_look" :span="12"><span @click="onTextLook(6, 'yj')">查看</span></el-col>
</el-row>
<el-row class="text"> <el-row class="text">
<el-col :span="12">三维</el-col> <el-col :span="12">内部位移倾斜</el-col>
<el-col class="text_look" :span="12"><span @click="onClickthree">查看</span></el-col> <el-col class="text_look" :span="12"><span @click="onTextLook(9, 'nbwyqx')">查看</span></el-col>
</el-row> </el-row>
</div> <el-row class="text">
<el-col :span="12">预警值</el-col>
<div class="base_left_box_line"> <el-col class="text_look" :span="12"><span @click="onTextLook(7, 'yjz')">查看</span></el-col>
<div class="title">视频监控 <span class="position_look" @click="onClickVideo">更多</span> </div> </el-row>
<div class="palyer2" v-loading="loading">
<LivePlayer v-if="isVideoUrl" ref="player2" :videoUrl="videoUrl" live /> <el-row class="text">
<LivePlayer v-else ref="player2" live /> <el-col :span="12">报警记录</el-col>
</div> <el-col class="text_look" :span="12"><span @click="onTextLook(6, 'yj')">查看</span></el-col>
</div> </el-row>
</div> <el-row class="text">
<el-col :span="12">三维</el-col>
</div> <el-col class="text_look" :span="12"><span @click="onClickthree">查看</span></el-col>
</el-row>
</div>
<div class="base_left_box_line">
<div class="title">视频监控 <span class="position_look" @click="onClickVideo">更多</span></div>
<div class="palyer2" v-loading="loading">
<LivePlayer v-if="isVideoUrl" ref="player2" :videoUrl="videoUrl" live />
<LivePlayer v-else ref="player2" live />
</div>
</div>
</div>
</div>
</template> </template>
<script> <script>
import LivePlayer from '@liveqing/liveplayer' import LivePlayer from '@liveqing/liveplayer'
import eventBus from "@/utils/eventbus" import eventBus from '@/utils/eventbus'
import { randNum } from "@/utils" import { randNum } from '@/utils'
import { grouptree, start } from '@/api' import { grouptree, start } from '@/api'
import mixin_index from '@/mixins' import mixin_index from '@/mixins'
export default { export default {
mixins: [mixin_index],
mixins: [mixin_index],
data() {
return {
data() { dataObj: '',
return { videoUrl: '',
dataObj: '', isVideoUrl: false,
videoUrl: '', parentSerial: '',
isVideoUrl: false, list: [],
parentSerial: '', loading: true,
list: [], }
loading: true, },
}
}, components: {
LivePlayer,
components: { },
LivePlayer,
}, mounted() {
this.$once('hook:beforeDestroy', () => {
mounted() { eventBus.$off('dialog_show', null)
this.$once('hook:beforeDestroy', () => { eventBus.$off('dialog_show_video', null)
eventBus.$off("dialog_show", null) })
eventBus.$off("dialog_show_video", null) },
})
}, methods: {
onGrouptree(name) {
methods: { grouptree().then(res => {
onGrouptree(name) { const serial = res[0].serial
grouptree().then(res => { this.loading = true
const serial = res[0].serial grouptree({
this.loading = true serial,
grouptree({ }).then(res => {
serial, for (let item of res) {
}).then(res => { if (item.name == name) {
var code = item.code
for (let item of res) { }
if (item.name == name) { }
var code = item.code this.isVideoUrl = false
} this.list = []
} if (!code) {
this.isVideoUrl = false this.loading = false
this.list = [] return
if (!code) { }
this.loading = false
return grouptree({
} serial,
pcode: code,
grouptree( }).then(res => {
{ this.parentSerial = res[0].serial
serial, this.list = res
pcode: code
} start({
).then(res => { serial: this.parentSerial,
this.parentSerial = res[0].serial code: res[0].code,
this.list = res }).then(res => {
this.isVideoUrl = true
start(
{ setTimeout(() => {
serial: this.parentSerial, this.loading = false
code: res[0].code, }, 1000)
} this.videoUrl = res.WS_FLV
).then(res => { })
this.isVideoUrl = true })
})
setTimeout(() => { })
this.loading = false },
}, 1000)
this.videoUrl = res.WS_FLV // 查看
}) onTextLook(index, params) {
const para = {
}) index,
activeName: params,
}) dataObj: this.dataObj,
}) }
}, eventBus.$emit('dialog_show', para)
},
// 查看
onTextLook(index, params) { // 查看环境监测
const para = { onTextLookEnv() {
index, this.$store.commit('set_is_show_huan_jing_jian_ce_table', randNum(12, 100, 1))
activeName: params, },
dataObj: this.dataObj
} // 查看视频
eventBus.$emit("dialog_show", para); onClickVideo() {
}, const e = {
parentSerial: this.parentSerial,
// 查看环境监测 list: this.list,
onTextLookEnv() { }
this.$store.commit('set_is_show_huan_jing_jian_ce_table', randNum(12, 100, 1)) eventBus.$emit('dialog_show_video', e)
}, },
},
// 查看视频
onClickVideo() { computed: {
const e = { compony_info() {
parentSerial: this.parentSerial, return this.$store.state.compony_info
list: this.list, },
} },
eventBus.$emit("dialog_show_video", e);
} watch: {
}, compony_info(e) {
this.onGrouptree(e.name)
computed: { this.dataObj = e
},
compony_info() { },
return this.$store.state.compony_info;
},
},
watch: {
compony_info(e) {
this.onGrouptree(e.name)
this.dataObj = e;
}
}
} }
</script> </script>
...@@ -225,59 +213,59 @@ export default { ...@@ -225,59 +213,59 @@ export default {
@import '@/assets/scss/var.scss'; @import '@/assets/scss/var.scss';
.base-left { .base-left {
color: #fff; color: #fff;
.base_left_box { .base_left_box {
padding: 2vh; padding: 2vh;
padding-top: 4vh; padding-top: 4vh;
height: 80vh; height: 80vh;
background-image: url('~@/assets/images/kuang.png'); background-image: url('~@/assets/images/kuang.png');
background-size: 100% 100%; background-size: 100% 100%;
img { img {
width: 0.8vw; width: 0.8vw;
position: absolute; position: absolute;
right: 1vw; right: 1vw;
top: 1.2vw; top: 1.2vw;
cursor: pointer; cursor: pointer;
} }
.base_left_box_line { .base_left_box_line {
line-height: 1.5; line-height: 1.5;
margin-top: 1vh; margin-top: 1vh;
.title { .title {
position: relative; position: relative;
color: #02fcfe; color: #02fcfe;
font-size: 1vw; font-size: 1vw;
.position_look { .position_look {
position: absolute; position: absolute;
right: 0; right: 0;
color: #10a1f2; color: #10a1f2;
font-size: 0.8vw; font-size: 0.8vw;
cursor: pointer; cursor: pointer;
} }
} }
.text { .text {
margin: 0.5vh 0; margin: 0.5vh 0;
} }
.text_right { .text_right {
text-align: right; text-align: right;
} }
.text_look { .text_look {
text-align: right; text-align: right;
color: #10a1f2; color: #10a1f2;
cursor: pointer; cursor: pointer;
} }
.palyer2 { .palyer2 {
height: auto; height: auto;
margin-top: 0.5vh margin-top: 0.5vh;
} }
} }
} }
} }
</style> </style>
\ No newline at end of file
...@@ -4,15 +4,14 @@ ...@@ -4,15 +4,14 @@
<div class="title">企业风险等级综合评估</div> <div class="title">企业风险等级综合评估</div>
<div class="page"> <div class="page">
<div class="page_div" v-for="(item, index) in zaixiandongtaijiance" :key="index"> <div class="page_div" v-for="(item, index) in zaixiandongtaijiance" :key="index">
<div class="page_div_son"> <div class="page_div_son" @click="getRiskListByCompanycodeList(item)">
<span class="text" :title="item.message">{{ item.name }}风险等级 <span class="text">
<span>{{ item.name }}风险等级</span>
<span v-if="!item.riskLevel">正常</span> <span v-if="!item.riskLevel">正常</span>
<span v-if="item.riskLevel == 4">四级</span> <span v-if="item.riskLevel == 4">四级</span>
<span v-if="item.riskLevel == 3">三级</span> <span v-if="item.riskLevel == 3">三级</span>
<span v-if="item.riskLevel == 2">二级</span> <span v-if="item.riskLevel == 2">二级</span>
<span v-if="item.riskLevel == 1">一级</span> <span v-if="item.riskLevel == 1">一级</span>
</span> </span>
</div> </div>
</div> </div>
...@@ -22,11 +21,11 @@ ...@@ -22,11 +21,11 @@
<div class="top"> <div class="top">
<div class="title"> <div class="title">
<span>风险报警</span> <span>风险报警</span>
<span class="btn_send">一键发送</span> <span class="btn_send" @click="onSendRiskSM">一键发送</span>
</div> </div>
<div class="page"> <div class="page">
<div class="page_div" v-for="(item, index) in zaixiandongtaijiance2" :key="index"> <div class="page_div" v-for="(item, index) in zaixiandongtaijiance2" :key="index">
<div class="page_div_son page_div_son2 "> <div class="page_div_son page_div_son2">
<span class="text" :title="item.message">{{ item.name + item.msg }}</span> <span class="text" :title="item.message">{{ item.name + item.msg }}</span>
</div> </div>
</div> </div>
...@@ -39,22 +38,99 @@ ...@@ -39,22 +38,99 @@
</div> </div>
<div ref="myCharts" class="charts_div"></div> <div ref="myCharts" class="charts_div"></div>
</div> </div>
<div class="dialog" v-if="is_dialog">
<img src="@/assets/images/error.png" class="error" @click="is_dialog = false" />
<div v-for="(warnData, index) in warnDataList" :key="index">
<div class="title">{{ warnData.name }}</div>
<div>
<el-row class="page_text">
<el-col :span="8">排查人</el-col>
<el-col class="text_right" :span="16">{{ warnData.pcr }}</el-col>
</el-row>
<el-row class="page_text">
<el-col :span="8">填报人</el-col>
<el-col class="text_right" :span="16">{{ warnData.tbr }}</el-col>
</el-row>
<el-row class="page_text">
<el-col :span="8">隐患来源</el-col>
<el-col class="text_right" :span="16">{{ warnData.yhly }}</el-col>
</el-row>
<el-row class="page_text">
<el-col :span="8">隐患地点</el-col>
<el-col class="text_right" :span="16">{{ warnData.yhdd }}</el-col>
</el-row>
<el-row class="page_text">
<el-col :span="8">隐患部位</el-col>
<el-col class="text_right" :span="16">{{ warnData.yhbw }}</el-col>
</el-row>
<el-row class="page_text">
<el-col :span="8">隐患类别</el-col>
<el-col class="text_right" :span="16">{{ warnData.yhlb }}</el-col>
</el-row>
<el-row class="page_text">
<el-col :span="8">隐患描述</el-col>
<el-col class="text_right" :span="16">{{ warnData.yhms }}</el-col>
</el-row>
<el-row class="page_text">
<el-col :span="8">整改期限</el-col>
<el-col class="text_right" :span="16">{{ warnData.zgqx }}</el-col>
</el-row>
<el-row class="page_text">
<el-col :span="10">整改实际完成日期</el-col>
<el-col class="text_right" :span="14">{{ warnData.zgwcrq }}</el-col>
</el-row>
<el-row class="page_text">
<el-col :span="8">整改类型</el-col>
<el-col class="text_right" :span="16">{{ warnData.zglx }}</el-col>
</el-row>
<el-row class="page_text">
<el-col :span="8">隐患整改前图片</el-col>
<el-col class="text_right" :span="16">
<img :src="warnData.yhzgqtp" alt="" style="width: 3vw" />
</el-col>
</el-row>
<el-row class="page_text">
<el-col :span="8">隐患整改后图片</el-col>
<el-col class="text_right" :span="16">
<img :src="warnData.yhzghtp" alt="" style="width: 3vw" />
</el-col>
</el-row>
</div>
</div>
</div>
</div> </div>
</template> </template>
<script> <script>
import { getFXData, sendRiskSM } from '@/api/fengxian' import { getFXData, sendRiskSM, getRiskListByCompanycode } from '@/api/fengxian'
import { dept } from '@/api'
export default { export default {
data() { data() {
return { return {
zaixiandongtaijiance: [], zaixiandongtaijiance: [],
zaixiandongtaijiance2: [], zaixiandongtaijiance2: [],
is_dialog: false,
warnDataList: [],
} }
}, },
mounted() { mounted() {
this.zaixiandongtaijiance = this.$store.state.deptData
// getFXData().then(res => {}) // getFXData().then(res => {})
this.zaixiandongtaijiance2 = [ this.zaixiandongtaijiance2 = [
...@@ -70,9 +146,24 @@ export default { ...@@ -70,9 +146,24 @@ export default {
] ]
this.init() this.init()
this.initDept()
}, },
methods: { methods: {
initDept() {
dept().then(res => {
this.zaixiandongtaijiance = []
res.content.map(item => {
if (item.name == '东乌珠穆沁旗应急管理局') {
return
}
this.zaixiandongtaijiance.push(item)
})
})
},
init() { init() {
const myChart = echarts.init(this.$refs.myCharts) const myChart = echarts.init(this.$refs.myCharts)
...@@ -193,11 +284,33 @@ export default { ...@@ -193,11 +284,33 @@ export default {
// 一键发送 // 一键发送
onSendRiskSM() { onSendRiskSM() {
sendRiskSM().then(res => {})
this.$message({ this.$message({
message: '发送成功', message: '发送成功',
type: 'success', type: 'success',
}) })
sendRiskSM().then(res => {})
},
// 获取隐患
getRiskListByCompanycodeList(e) {
console.log(e)
getRiskListByCompanycode({
companycode: e.companycode,
}).then(res => {
this.warnDataList = res.content.map(item => {
if (item.hiddenYhzghtpSet.length > 0) {
item.yhzghtp = 'data:image/jpeg;base64,' + item.hiddenYhzghtpSet[0].yhzghtp
}
if (item.hiddenYhzgqtpSet.length > 0) {
item.yhzgqtp = 'data:image/jpeg;base64,' + item.hiddenYhzgqtpSet[0].yhzgqtp
}
return item
})
})
this.is_dialog = true
}, },
}, },
} }
...@@ -285,5 +398,69 @@ export default { ...@@ -285,5 +398,69 @@ export default {
height: 25vh; height: 25vh;
} }
} }
.dialog {
position: absolute;
right: 100%;
top: 0;
padding: 2vw 1vw;
width: 20vw;
height: 82vh;
overflow-y: auto;
background-image: url('~@/assets/images/kuang.png');
background-size: 100% 100%;
color: #fff;
@include scrollbar;
.error {
position: absolute;
width: 1vw;
top: 1.4vw;
right: 1.4vw;
cursor: pointer;
}
.page_text {
line-height: 2.2;
.text_right {
text-align: right;
}
}
.page_line {
color: #fff;
}
.page_div {
color: #07c1f7;
font-size: 1.5vh;
margin-bottom: 1vh;
.page_div_text {
line-height: 1.7;
color: #fff;
}
.page_div_text2 {
height: 37vh;
overflow-y: auto;
@include scrollbar;
}
}
.text {
margin-top: 2vh;
text-align: center;
}
.btn {
position: absolute;
bottom: 30px;
left: 0;
right: 0;
margin: auto;
background-image: linear-gradient(#f97f21, #ffa921);
}
}
} }
</style> </style>
...@@ -172,6 +172,64 @@ ...@@ -172,6 +172,64 @@
</el-table> </el-table>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="内部位移沉降" name="nbwy">
<div class="func_comm">
<strong>开始时间</strong>
<el-date-picker v-model="start_time" @change="onChangeStart" type="datetime" placeholder="选择日期"></el-date-picker>
<strong>结束时间</strong>
<el-date-picker v-model="stop_time" @change="onChangeStop" type="datetime" placeholder="选择日期"></el-date-picker>
<!-- <strong>监测站</strong>
<el-select v-model="bmwy_value" placeholder="请选择" @change="changeSelect">
<el-option v-for="item in bmwy_options" :key="item.value" :label="item.label" :value="item.value"> </el-option>
</el-select> -->
<el-button type="primary" @click="onClickSelect">查询</el-button>
<!-- <el-button type="primary" @click="onvisi('bmwy')">可视化</el-button> -->
</div>
<el-table :data="nbwy_tableList" height="58vh">
<el-table-column property="wkk_name" label="尾矿库">
<template>
{{ wkk_name }}
</template>
</el-table-column>
<el-table-column property="sensorName" label="传感器名称"></el-table-column>
<el-table-column property="sedimentationValue" label="沉降值"></el-table-column>
<el-table-column property="acquisitionTime" label="时间"></el-table-column>
</el-table>
</el-tab-pane>
<el-tab-pane label="内部位移倾斜" name="nbwyqx">
<div class="func_comm">
<strong>开始时间</strong>
<el-date-picker v-model="start_time" @change="onChangeStart" type="datetime" placeholder="选择日期"></el-date-picker>
<strong>结束时间</strong>
<el-date-picker v-model="stop_time" @change="onChangeStop" type="datetime" placeholder="选择日期"></el-date-picker>
<!-- <strong>监测站</strong>
<el-select v-model="bmwy_value" placeholder="请选择" @change="changeSelect">
<el-option v-for="item in bmwy_options" :key="item.value" :label="item.label" :value="item.value"> </el-option>
</el-select> -->
<el-button type="primary" @click="onClickSelect">查询</el-button>
<!-- <el-button type="primary" @click="onvisi('bmwy')">可视化</el-button> -->
</div>
<el-table :data="nbwyqx_tableList" height="58vh">
<el-table-column property="wkk_name" label="尾矿库">
<template>
{{ wkk_name }}
</template>
</el-table-column>
<el-table-column property="sensorName" label="传感器名称"></el-table-column>
<el-table-column property="inclineValue" label="倾斜值"></el-table-column>
<el-table-column property="acquisitionTime" label="时间"></el-table-column>
</el-table>
</el-tab-pane>
<el-tab-pane label="预警值" name="yjz"> <el-tab-pane label="预警值" name="yjz">
<el-table :data="yjz_tableList" height="60vh"> <el-table :data="yjz_tableList" height="60vh">
<el-table-column label="企业名称"> <el-table-column label="企业名称">
...@@ -207,7 +265,7 @@ ...@@ -207,7 +265,7 @@
<script> <script>
import { wkk, getRYDWData } from '@/api' import { wkk, getRYDWData } from '@/api'
import { jiangYuLiang, jinRunXian, ganTan, kuShuiWei, biaoMianWeiYi, wkkAlarmMsg, findPersonnelReal } from '@/api/weikuangku' import { jiangYuLiang, jinRunXian, ganTan, kuShuiWei, biaoMianWeiYi, wkkAlarmMsg, findPersonnelReal, neiBuWeiYiQingXie, wkkNeiBuWeiYiChenJiang } from '@/api/weikuangku'
import { mapState } from 'vuex' import { mapState } from 'vuex'
import eventBus from '@/utils/eventbus' import eventBus from '@/utils/eventbus'
import { timeParse, randNum } from '@/utils' import { timeParse, randNum } from '@/utils'
...@@ -260,6 +318,20 @@ export default { ...@@ -260,6 +318,20 @@ export default {
bmwy_cur_page: 1, bmwy_cur_page: 1,
bmwy_tableList: [], bmwy_tableList: [],
// 内部位移沉降
nbwy_value: '',
nbwy_sheet: '',
nbwy_options: '',
nbwy_cur_page: 1,
nbwy_tableList: [],
// 内部位移倾斜
nbwyqx_value: '',
nbwyqx_sheet: '',
nbwyqx_options: '',
nbwyqx_cur_page: 1,
nbwyqx_tableList: [],
yjz_tableList: [], yjz_tableList: [],
yj_tableList: [], yj_tableList: [],
...@@ -268,6 +340,8 @@ export default { ...@@ -268,6 +340,8 @@ export default {
rydw_cur_page: 0, rydw_cur_page: 0,
comm_total: 0, comm_total: 0,
companycode: '',
} }
}, },
...@@ -287,12 +361,12 @@ export default { ...@@ -287,12 +361,12 @@ export default {
this.activeName = data.activeName this.activeName = data.activeName
this.dialogTableVisible = true this.dialogTableVisible = true
this.wkk_name = data.dataObj.name this.wkk_name = data.dataObj.name
this.companycode = data.dataObj.companycode
wkkAlarmMsg({ wkkAlarmMsg({
page: 0, page: 0,
size: 1000, size: 1000,
sort: 'id,desc', sort: 'id,desc',
company: this.wkk_name, companycode: this.companycode,
}).then(res => { }).then(res => {
this.yj_tableList = res.content.map(item => { this.yj_tableList = res.content.map(item => {
item.level = item.level + '' item.level = item.level + ''
...@@ -342,6 +416,8 @@ export default { ...@@ -342,6 +416,8 @@ export default {
this.jyl_cur_page = 0 this.jyl_cur_page = 0
this.rydw_cur_page = 0 this.rydw_cur_page = 0
this.bmwy_cur_page = 0 this.bmwy_cur_page = 0
this.nbwy_cur_page = 0
this.nbwyqx_cur_page = 0
this.VisiblePagination = false this.VisiblePagination = false
this.comm_total = 0 this.comm_total = 0
...@@ -378,6 +454,16 @@ export default { ...@@ -378,6 +454,16 @@ export default {
this.bmwy_value = e this.bmwy_value = e
this.bmwyData() this.bmwyData()
} }
if (this.activeName == 'nbwy') {
this.nbwy_value = e
this.nbwyData()
}
if (this.activeName == 'nbwyqx') {
this.nbwyqx_value = e
this.nbwyqxData()
}
}, },
// 点击查询 // 点击查询
...@@ -407,6 +493,14 @@ export default { ...@@ -407,6 +493,14 @@ export default {
if (this.activeName == 'bmwy') { if (this.activeName == 'bmwy') {
this.bmwyData() this.bmwyData()
} }
if (this.activeName == 'nbwy') {
this.nbwyData()
}
if (this.activeName == 'nbwyqx') {
this.nbwyqxData()
}
}, },
// 开始时间 // 开始时间
...@@ -445,6 +539,15 @@ export default { ...@@ -445,6 +539,15 @@ export default {
if (e.name == 'bmwy') { if (e.name == 'bmwy') {
this.bmwyData() this.bmwyData()
} }
if (e.name == 'nbwy') {
this.nbwyData()
}
if (e.name == 'nbwyqx') {
this.nbwyqxData()
}
}, },
// 人员定位 // 人员定位
...@@ -476,7 +579,7 @@ export default { ...@@ -476,7 +579,7 @@ export default {
size: 10, size: 10,
startTime: this.start_time, startTime: this.start_time,
endTime: this.stop_time, endTime: this.stop_time,
order: 'desc', order: 'acquisition,desc',
}).then(res => { }).then(res => {
this.rydw_tableList = res.content this.rydw_tableList = res.content
this.comm_total = res.totalElements this.comm_total = res.totalElements
...@@ -491,10 +594,11 @@ export default { ...@@ -491,10 +594,11 @@ export default {
sort: 'id,desc', sort: 'id,desc',
startTime: this.start_time, startTime: this.start_time,
endTime: this.stop_time, endTime: this.stop_time,
company: this.wkk_name, companycode: this.companycode,
} }
jiangYuLiang(params).then(res => { jiangYuLiang(params).then(res => {
this.jyl_tableList = []
if (res.content.length > 0) { if (res.content.length > 0) {
this.jyl_tableList = res.content this.jyl_tableList = res.content
this.comm_total = res.totalElements this.comm_total = res.totalElements
...@@ -517,10 +621,11 @@ export default { ...@@ -517,10 +621,11 @@ export default {
sort: 'id,desc', sort: 'id,desc',
startTime: this.start_time, startTime: this.start_time,
endTime: this.stop_time, endTime: this.stop_time,
company: this.wkk_name, companycode: this.companycode,
} }
jinRunXian(params).then(res => { jinRunXian(params).then(res => {
this.jrx_tableList = []
if (res.content.length > 0) { if (res.content.length > 0) {
this.jrx_tableList = res.content this.jrx_tableList = res.content
this.comm_total = res.totalElements this.comm_total = res.totalElements
...@@ -543,9 +648,10 @@ export default { ...@@ -543,9 +648,10 @@ export default {
sort: 'id,desc', sort: 'id,desc',
startTime: this.start_time, startTime: this.start_time,
endTime: this.stop_time, endTime: this.stop_time,
company: this.wkk_name, companycode: this.companycode,
} }
ganTan(params).then(res => { ganTan(params).then(res => {
this.gt_tableList = []
if (res.content.length > 0) { if (res.content.length > 0) {
this.gt_tableList = res.content this.gt_tableList = res.content
this.comm_total = res.totalElements this.comm_total = res.totalElements
...@@ -568,10 +674,11 @@ export default { ...@@ -568,10 +674,11 @@ export default {
sort: 'id,desc', sort: 'id,desc',
startTime: this.start_time, startTime: this.start_time,
endTime: this.stop_time, endTime: this.stop_time,
company: this.wkk_name, companycode: this.companycode,
} }
kuShuiWei(params).then(res => { kuShuiWei(params).then(res => {
this.ksw_tableList = []
if (res.content.length > 0) { if (res.content.length > 0) {
this.ksw_tableList = res.content this.ksw_tableList = res.content
this.comm_total = res.totalElements this.comm_total = res.totalElements
...@@ -594,10 +701,11 @@ export default { ...@@ -594,10 +701,11 @@ export default {
sort: 'id,desc', sort: 'id,desc',
startTime: this.start_time, startTime: this.start_time,
endTime: this.stop_time, endTime: this.stop_time,
company: this.wkk_name, companycode: this.companycode,
} }
biaoMianWeiYi(params).then(res => { biaoMianWeiYi(params).then(res => {
this.bmwy_tableList = []
if (res.content.length > 0) { if (res.content.length > 0) {
this.bmwy_tableList = res.content this.bmwy_tableList = res.content
this.comm_total = res.totalElements this.comm_total = res.totalElements
...@@ -612,6 +720,58 @@ export default { ...@@ -612,6 +720,58 @@ export default {
}) })
}, },
// 内部位移沉降
nbwyData() {
this.nbwy_tableList = []
let params = {
page: this.nbwy_cur_page,
size: 10,
sort: 'id,desc',
startTime: this.start_time,
endTime: this.stop_time,
companycode: this.companycode,
}
wkkNeiBuWeiYiChenJiang(params).then(res => {
this.nbwy_tableList = res.content
this.comm_total = res.totalElements
this.ksw_sheet = [
{
tHeader: ['尾矿库名称', '监测站', '监测值', '时间'],
table: this.nbwy_tableList,
keys: ['wkk_name', 'sensor_name', 'water_level_value', 'insert_time'],
},
]
})
},
// 内部位移倾斜
nbwyqxData() {
this.nbwyqx_tableList = []
let params = {
page: this.nbwyqx_cur_page,
size: 10,
sort: 'id,desc',
startTime: this.start_time,
endTime: this.stop_time,
companycode: this.companycode,
}
neiBuWeiYiQingXie(params).then(res => {
this.nbwyqx_tableList = res.content
this.comm_total = res.totalElements
this.ksw_sheet = [
{
tHeader: ['尾矿库名称', '监测站', '监测值', '时间'],
table: this.nbwy_tableList,
keys: ['wkk_name', 'sensor_name', 'water_level_value', 'insert_time'],
},
]
})
},
// 换页 // 换页
currentChange(e) { currentChange(e) {
var e = e - 1 var e = e - 1
...@@ -644,6 +804,16 @@ export default { ...@@ -644,6 +804,16 @@ export default {
this.bmwy_cur_page = e this.bmwy_cur_page = e
this.bmwyData() this.bmwyData()
} }
if (this.activeName == 'nbwy') {
this.nbwy_cur_page = e
this.nbwyData()
}
if (this.activeName == 'nbwyqx') {
this.nbwyqx_cur_page = e
this.nbwyqxData()
}
}, },
}, },
......
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta name=renderer content=webkit><meta name=force-rendering content=webkit><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><meta name=viewport content="width=device-width,initial-scale=1"><title>安全生产风险智能监测系统</title><script src=./js/liveplayer-lib.min.js></script><script src="https://webapi.amap.com/maps?v=1.4.15&key=bfa930cbec820fc1c16f8f54348f98e3&plugin=Map3D,AMap.DistrictSearch,AMap.Geocoder,AMap.MouseTool,AMap.Autocomplete,AMap.PlaceSearch"></script><link rel=stylesheet href=https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css><script src=https://cdn.bootcss.com/echarts/4.6.0/echarts.min.js></script><script src=https://www.thingjs.com/static/historyVersion/thing.min.js></script><script src=https://www.thingjs.com/static/release/thing.widget.min.js></script><link href=static/css/chunk-2179b226.5a2d9eeb.css rel=prefetch><link href=static/css/chunk-86a8c330.993ce4e6.css rel=prefetch><link href=static/css/chunk-c692b744.b52443eb.css rel=prefetch><link href=static/js/chunk-00f444cb.2de59d4f.js rel=prefetch><link href=static/js/chunk-2179b226.c2078801.js rel=prefetch><link href=static/js/chunk-573f826d.d0671cb7.js rel=prefetch><link href=static/js/chunk-86a8c330.4f73b8a0.js rel=prefetch><link href=static/js/chunk-9cff3828.c3cc64da.js rel=prefetch><link href=static/js/chunk-c692b744.43227dd7.js rel=prefetch><link href=static/css/app.6f0067ad.css rel=preload as=style><link href=static/css/chunk-vendors.e977a650.css rel=preload as=style><link href=static/js/app.a0da5e93.js rel=preload as=script><link href=static/js/chunk-vendors.21454246.js rel=preload as=script><link href=static/css/chunk-vendors.e977a650.css rel=stylesheet><link href=static/css/app.6f0067ad.css rel=stylesheet></head><body><div id=app></div><script src=static/js/chunk-vendors.21454246.js></script><script src=static/js/app.a0da5e93.js></script></body></html> <!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta name=renderer content=webkit><meta name=force-rendering content=webkit><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><meta name=viewport content="width=device-width,initial-scale=1"><title>安全生产风险智能监测系统</title><script src=./js/liveplayer-lib.min.js></script><script src="https://webapi.amap.com/maps?v=1.4.15&key=bfa930cbec820fc1c16f8f54348f98e3&plugin=Map3D,AMap.DistrictSearch,AMap.Geocoder,AMap.MouseTool,AMap.Autocomplete,AMap.PlaceSearch"></script><link rel=stylesheet href=https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css><script src=https://cdn.bootcss.com/echarts/4.6.0/echarts.min.js></script><script src=https://www.thingjs.com/static/historyVersion/thing.min.js></script><script src=https://www.thingjs.com/static/release/thing.widget.min.js></script><link href=static/css/chunk-2179b226.b972431f.css rel=prefetch><link href=static/css/chunk-86a8c330.993ce4e6.css rel=prefetch><link href=static/css/chunk-c692b744.b52443eb.css rel=prefetch><link href=static/js/chunk-00f444cb.2de59d4f.js rel=prefetch><link href=static/js/chunk-2179b226.657e2b95.js rel=prefetch><link href=static/js/chunk-573f826d.d0671cb7.js rel=prefetch><link href=static/js/chunk-86a8c330.55279ec4.js rel=prefetch><link href=static/js/chunk-9cff3828.c3cc64da.js rel=prefetch><link href=static/js/chunk-c692b744.f5a17c72.js rel=prefetch><link href=static/css/app.6f0067ad.css rel=preload as=style><link href=static/css/chunk-vendors.e977a650.css rel=preload as=style><link href=static/js/app.62b0a7cc.js rel=preload as=script><link href=static/js/chunk-vendors.21454246.js rel=preload as=script><link href=static/css/chunk-vendors.e977a650.css rel=stylesheet><link href=static/css/app.6f0067ad.css rel=stylesheet></head><body><div id=app></div><script src=static/js/chunk-vendors.21454246.js></script><script src=static/js/app.62b0a7cc.js></script></body></html>
\ No newline at end of file \ No newline at end of file
(function(e){function t(t){for(var r,a,u=t[0],c=t[1],s=t[2],f=0,d=[];f<u.length;f++)a=u[f],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&d.push(o[a][0]),o[a]=0;for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(e[r]=c[r]);l&&l(t);while(d.length)d.shift()();return i.push.apply(i,s||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,a=1;a<n.length;a++){var u=n[a];0!==o[u]&&(r=!1)}r&&(i.splice(t--,1),e=c(c.s=n[0]))}return e}var r={},a={app:0},o={app:0},i=[];function u(e){return c.p+"static/js/"+({}[e]||e)+"."+{"chunk-9cff3828":"c3cc64da","chunk-00f444cb":"2de59d4f","chunk-2179b226":"c2078801","chunk-86a8c330":"4f73b8a0","chunk-573f826d":"d0671cb7","chunk-c692b744":"43227dd7"}[e]+".js"}function c(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.e=function(e){var t=[],n={"chunk-2179b226":1,"chunk-86a8c330":1,"chunk-c692b744":1};a[e]?t.push(a[e]):0!==a[e]&&n[e]&&t.push(a[e]=new Promise((function(t,n){for(var r="static/css/"+({}[e]||e)+"."+{"chunk-9cff3828":"31d6cfe0","chunk-00f444cb":"31d6cfe0","chunk-2179b226":"5a2d9eeb","chunk-86a8c330":"993ce4e6","chunk-573f826d":"31d6cfe0","chunk-c692b744":"b52443eb"}[e]+".css",o=c.p+r,i=document.getElementsByTagName("link"),u=0;u<i.length;u++){var s=i[u],f=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(f===r||f===o))return t()}var d=document.getElementsByTagName("style");for(u=0;u<d.length;u++){s=d[u],f=s.getAttribute("data-href");if(f===r||f===o)return t()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=t,l.onerror=function(t){var r=t&&t.target&&t.target.src||o,i=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=r,delete a[e],l.parentNode.removeChild(l),n(i)},l.href=o;var p=document.getElementsByTagName("head")[0];p.appendChild(l)})).then((function(){a[e]=0})));var r=o[e];if(0!==r)if(r)t.push(r[2]);else{var i=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=i);var s,f=document.createElement("script");f.charset="utf-8",f.timeout=120,c.nc&&f.setAttribute("nonce",c.nc),f.src=u(e);var d=new Error;s=function(t){f.onerror=f.onload=null,clearTimeout(l);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;d.message="Loading chunk "+e+" failed.\n("+r+": "+a+")",d.name="ChunkLoadError",d.type=r,d.request=a,n[1](d)}o[e]=void 0}};var l=setTimeout((function(){s({type:"timeout",target:f})}),12e4);f.onerror=f.onload=s,document.head.appendChild(f)}return Promise.all(t)},c.m=e,c.c=r,c.d=function(e,t,n){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(c.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)c.d(n,r,function(t){return e[t]}.bind(null,r));return n},c.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="",c.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],f=s.push.bind(s);s.push=t,s=s.slice();for(var d=0;d<s.length;d++)t(s[d]);var l=f;i.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"365c":function(e,t,n){"use strict";var r=n("bc3a"),a=n.n(r),o=n("5c96"),i=a.a.create({baseURL:"http://39.98.150.124:9875/",timeout:3e4});i.interceptors.request.use((function(e){return e.headers["token"]||(e.headers["Authorization"]="Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiIyYmUyNmEzZTg3Njc0NzAwYjQyODY2YjgzNmQwZDQ5OSIsInVzZXIiOiJhZG1pbiIsInN1YiI6ImFkbWluIn0.qlg04WGthnLo0ugvJtKBmJQXNEuxqT3F9bZDdF_iWHvx-YRsWtNY9DUZW-HOC0F_I2dCMsXVtVmed7NcBIItqA"),e})),i.interceptors.response.use((function(e){return e.data}),(function(e){if(e.response.status){var t=e.response.status;switch(t){case 400:break;case 401:Object(o["Notification"])({title:"登录过期,请重新登录",duration:2e3,type:"warning"}),setTimeout((function(){window.localStorage.removeItem("token"),window.location="#/"}),1e3);break;default:break}return e.response.data}}));var u=i,c=a.a.create({baseURL:"http://39.98.150.124:8000/",timeout:3e4});c.interceptors.response.use((function(e){return e.data}),(function(e){if(e.response.status){var t=e.response.status;switch(t){case 400:break;case 401:Object(o["Notification"])({title:"登录过期,请重新登录",duration:2e3,type:"warning"}),setTimeout((function(){window.localStorage.removeItem("token"),window.location="#/"}),1e3);break;default:break}return e.response.data}}));var s=c,f=a.a.create({baseURL:"http://47.92.82.212:10000/",timeout:3e4});f.interceptors.response.use((function(e){return e.data}),(function(e){if(e.response.status){var t=e.response.status;switch(t){case 400:break;case 401:Object(o["Notification"])({title:"登录过期,请重新登录",duration:2e3,type:"warning"}),setTimeout((function(){window.localStorage.removeItem("token"),window.location="#/"}),1e3);break;default:break}return e.response.data}}));var d=f,l=a.a.create({baseURL:"http://39.98.150.124:8000/",timeout:3e4});l.interceptors.response.use((function(e){return e.data}),(function(e){if(e.response.status){var t=e.response.status;switch(t){case 400:break;case 401:Object(o["Notification"])({title:"登录过期,请重新登录",duration:2e3,type:"warning"}),setTimeout((function(){window.localStorage.removeItem("token"),window.location="#/"}),1e3);break;default:break}return e.response.data}}));var p=l;n.d(t,"b",(function(){return h})),n.d(t,"l",(function(){return m})),n.d(t,"a",(function(){return b})),n.d(t,"e",(function(){return g})),n.d(t,"i",(function(){return _})),n.d(t,"h",(function(){return k})),n.d(t,"j",(function(){return v})),n.d(t,"o",(function(){return w})),n.d(t,"n",(function(){return y})),n.d(t,"d",(function(){return S})),n.d(t,"c",(function(){return T})),n.d(t,"k",(function(){return j})),n.d(t,"r",(function(){return O})),n.d(t,"q",(function(){return D})),n.d(t,"g",(function(){return I})),n.d(t,"m",(function(){return E})),n.d(t,"f",(function(){return L})),n.d(t,"p",(function(){return P}));function h(e){return s({url:"api/dictDetail/findAll",method:"get",params:e})}function m(e){return s({url:"api/alarmSms/sendAlarmSms",method:"get",params:e})}function b(e){return s({url:"api/dept/findAll",method:"get",params:e})}function g(e){return s({url:"api/baseDataBigScreen/expert",method:"get",params:e})}function _(e){return s({url:"api/baseDataBigScreen/rescueCar",method:"get",params:e})}function k(e){return s({url:"api/baseDataBigScreen/refuge",method:"get",params:e})}function v(e){return s({url:"api/baseDataBigScreen/rescueTeam",method:"get",params:e})}function w(e){return s({url:"api/baseDataBigScreen/suppliesReserveStation",method:"get",params:e})}function y(e){return s({url:"api/baseDataBigScreen/suppliesReserve",method:"get",params:e})}function S(e){return s({url:"api/baseDataBigScreen/emergencyWarning",method:"get",params:e})}function T(e){return s({url:"api/baseDataBigScreen/emergencyPlan",method:"get",params:e})}function j(e){return s({url:"api/baseDataBigScreen/roster",method:"get",params:e})}function O(e){return s({url:"api/baseDataBigScreen/wkkAlarmMsg",method:"get",params:e})}function D(e){return u({url:"wkk",method:"post",data:e})}function I(e){return d({url:"api/v1/device/grouptree",method:"get",params:e})}function E(e){return d({url:"api/v1/stream/start",method:"get",params:e})}function L(e){return p({url:"api/hiddenTroubleCheck/findAllwarningHiddenTrouble",method:"get",params:e})}function P(e){return p({url:"/api/undergroundSeriousHiddenTrouble/warn",method:"get",params:e})}},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var r=n("2b0e"),a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},o=[],i={data:function(){return{}},mounted:function(){this.$store.dispatch("typeOptions")}},u=i,c=(n("5c0b"),n("2877")),s=Object(c["a"])(u,a,o,!1,null,null,null),f=s.exports,d=(n("d3b7"),n("8c4f"));r["default"].use(d["a"]);var l=[{path:"/",name:"home",components:{default:function(){return Promise.all([n.e("chunk-9cff3828"),n.e("chunk-00f444cb"),n.e("chunk-2179b226")]).then(n.bind(null,"bb51"))}},children:[{path:"/",name:"base",components:{homeHeader:function(){return Promise.all([n.e("chunk-9cff3828"),n.e("chunk-573f826d")]).then(n.bind(null,"7975"))},homeLeft:function(){return Promise.all([n.e("chunk-9cff3828"),n.e("chunk-00f444cb"),n.e("chunk-86a8c330")]).then(n.bind(null,"2731"))},homeRight:function(){return Promise.all([n.e("chunk-9cff3828"),n.e("chunk-c692b744")]).then(n.bind(null,"3cc7"))}}}]}],p=new d["a"]({routes:l}),h=p,m=(n("d81d"),n("2fa7")),b=n("2f62"),g=n("365c");r["default"].use(b["a"]);var _=new b["a"].Store({state:{title:"",appMap:"",mouseTool:"",appTileLayer:"",select_item:[],isLeft:!1,isRight:!1,deptData:[],isLtkDialog:!1,isDxkqDialog:!1,compony_info:"",BaseLeftIndex:1,is_show_huan_jing_jian_ce:!1,is_show_huan_jing_jian_ce_table:!1,showItemCharts:!1},mutations:{SET_TYPE:function(e,t){e.select_item=t},SET_deptData:function(e,t){e.deptData=t},SET_TITLE:function(e,t){e.title=t},SET_IS_LEFT:function(e,t){e.isLeft=t},SET_IS_Right:function(e,t){e.isRight=t},SET_APP_MAP:function(e,t){e.appMap=t},SET_MOUSETOOL:function(e,t){e.mouseTool=t},set_appTileLayer:function(e,t){e.appTileLayer=t},set_compony_info:function(e,t){e.compony_info=t},set_BaseLeftIndex:function(e,t){e.BaseLeftIndex=t},set_isLtkDialog:function(e,t){e.isLtkDialog=t},set_isDxkqDialog:function(e,t){e.isDxkqDialog=t},set_is_show_huan_jing_jian_ce:function(e,t){e.is_show_huan_jing_jian_ce=t},set_is_show_huan_jing_jian_ce_table:function(e,t){e.is_show_huan_jing_jian_ce_table=t},setShowItemCharts:function(e,t){e.showItemCharts=t}},actions:{typeOptions:function(e,t){var n,r=e.commit,a=(n={page:0,size:999,sort:"dictSort,asc"},Object(m["a"])(n,"sort","id,desc"),Object(m["a"])(n,"dictName","所属行业"),n);Object(g["b"])(a).then((function(e){var t=e.content.map((function(e){return{value:e.label,label:e.label,id:e.id}}));r("SET_TYPE",t)}))}}}),k=(n("f5df1"),n("5c96")),v=n.n(k),w=(n("0fae"),n("77ed")),y=n.n(w),S=n("bc3a"),T=n.n(S);r["default"].use(v.a),r["default"].use(y.a),r["default"].prototype.axios=T.a,r["default"].config.productionTip=!1,new r["default"]({router:h,store:_,render:function(e){return e(f)}}).$mount("#app")},"5c0b":function(e,t,n){"use strict";var r=n("9c0c"),a=n.n(r);a.a},"9c0c":function(e,t,n){}}); (function(e){function t(t){for(var r,a,u=t[0],c=t[1],s=t[2],f=0,l=[];f<u.length;f++)a=u[f],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&l.push(o[a][0]),o[a]=0;for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(e[r]=c[r]);d&&d(t);while(l.length)l.shift()();return i.push.apply(i,s||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,a=1;a<n.length;a++){var u=n[a];0!==o[u]&&(r=!1)}r&&(i.splice(t--,1),e=c(c.s=n[0]))}return e}var r={},a={app:0},o={app:0},i=[];function u(e){return c.p+"static/js/"+({}[e]||e)+"."+{"chunk-9cff3828":"c3cc64da","chunk-00f444cb":"2de59d4f","chunk-2179b226":"657e2b95","chunk-86a8c330":"55279ec4","chunk-573f826d":"d0671cb7","chunk-c692b744":"f5a17c72"}[e]+".js"}function c(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.e=function(e){var t=[],n={"chunk-2179b226":1,"chunk-86a8c330":1,"chunk-c692b744":1};a[e]?t.push(a[e]):0!==a[e]&&n[e]&&t.push(a[e]=new Promise((function(t,n){for(var r="static/css/"+({}[e]||e)+"."+{"chunk-9cff3828":"31d6cfe0","chunk-00f444cb":"31d6cfe0","chunk-2179b226":"b972431f","chunk-86a8c330":"993ce4e6","chunk-573f826d":"31d6cfe0","chunk-c692b744":"b52443eb"}[e]+".css",o=c.p+r,i=document.getElementsByTagName("link"),u=0;u<i.length;u++){var s=i[u],f=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(f===r||f===o))return t()}var l=document.getElementsByTagName("style");for(u=0;u<l.length;u++){s=l[u],f=s.getAttribute("data-href");if(f===r||f===o)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var r=t&&t.target&&t.target.src||o,i=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=r,delete a[e],d.parentNode.removeChild(d),n(i)},d.href=o;var p=document.getElementsByTagName("head")[0];p.appendChild(d)})).then((function(){a[e]=0})));var r=o[e];if(0!==r)if(r)t.push(r[2]);else{var i=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=i);var s,f=document.createElement("script");f.charset="utf-8",f.timeout=120,c.nc&&f.setAttribute("nonce",c.nc),f.src=u(e);var l=new Error;s=function(t){f.onerror=f.onload=null,clearTimeout(d);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+r+": "+a+")",l.name="ChunkLoadError",l.type=r,l.request=a,n[1](l)}o[e]=void 0}};var d=setTimeout((function(){s({type:"timeout",target:f})}),12e4);f.onerror=f.onload=s,document.head.appendChild(f)}return Promise.all(t)},c.m=e,c.c=r,c.d=function(e,t,n){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(c.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)c.d(n,r,function(t){return e[t]}.bind(null,r));return n},c.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="",c.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],f=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var d=f;i.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"365c":function(e,t,n){"use strict";var r=n("bc3a"),a=n.n(r),o=n("5c96"),i=a.a.create({baseURL:"http://39.98.150.124:9875/",timeout:3e4});i.interceptors.request.use((function(e){return e.headers["token"]||(e.headers["Authorization"]="Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiIyYmUyNmEzZTg3Njc0NzAwYjQyODY2YjgzNmQwZDQ5OSIsInVzZXIiOiJhZG1pbiIsInN1YiI6ImFkbWluIn0.qlg04WGthnLo0ugvJtKBmJQXNEuxqT3F9bZDdF_iWHvx-YRsWtNY9DUZW-HOC0F_I2dCMsXVtVmed7NcBIItqA"),e})),i.interceptors.response.use((function(e){return e.data}),(function(e){if(e.response.status){var t=e.response.status;switch(t){case 400:break;case 401:Object(o["Notification"])({title:"登录过期,请重新登录",duration:2e3,type:"warning"}),setTimeout((function(){window.localStorage.removeItem("token"),window.location="#/"}),1e3);break;default:break}return e.response.data}}));var u=i,c=a.a.create({baseURL:"http://39.98.150.124:8000/",timeout:3e4});c.interceptors.response.use((function(e){return e.data}),(function(e){if(e.response.status){var t=e.response.status;switch(t){case 400:break;case 401:Object(o["Notification"])({title:"登录过期,请重新登录",duration:2e3,type:"warning"}),setTimeout((function(){window.localStorage.removeItem("token"),window.location="#/"}),1e3);break;default:break}return e.response.data}}));var s=c,f=a.a.create({baseURL:"http://47.92.82.212:10000/",timeout:3e4});f.interceptors.response.use((function(e){return e.data}),(function(e){if(e.response.status){var t=e.response.status;switch(t){case 400:break;case 401:Object(o["Notification"])({title:"登录过期,请重新登录",duration:2e3,type:"warning"}),setTimeout((function(){window.localStorage.removeItem("token"),window.location="#/"}),1e3);break;default:break}return e.response.data}}));var l=f,d=a.a.create({baseURL:"http://39.98.150.124:8000/",timeout:3e4});d.interceptors.response.use((function(e){return e.data}),(function(e){if(e.response.status){var t=e.response.status;switch(t){case 400:break;case 401:Object(o["Notification"])({title:"登录过期,请重新登录",duration:2e3,type:"warning"}),setTimeout((function(){window.localStorage.removeItem("token"),window.location="#/"}),1e3);break;default:break}return e.response.data}}));var p=d;n.d(t,"b",(function(){return h})),n.d(t,"l",(function(){return m})),n.d(t,"a",(function(){return b})),n.d(t,"e",(function(){return g})),n.d(t,"i",(function(){return _})),n.d(t,"h",(function(){return k})),n.d(t,"j",(function(){return v})),n.d(t,"o",(function(){return w})),n.d(t,"n",(function(){return y})),n.d(t,"d",(function(){return S})),n.d(t,"c",(function(){return T})),n.d(t,"k",(function(){return j})),n.d(t,"r",(function(){return O})),n.d(t,"q",(function(){return D})),n.d(t,"g",(function(){return I})),n.d(t,"m",(function(){return E})),n.d(t,"f",(function(){return L})),n.d(t,"p",(function(){return P}));function h(e){return s({url:"api/dictDetail/findAll",method:"get",params:e})}function m(e){return s({url:"api/alarmSms/sendAlarmSms",method:"get",params:e})}function b(e){return s({url:"api/dept/findAll",method:"get",params:e})}function g(e){return s({url:"api/baseDataBigScreen/expert",method:"get",params:e})}function _(e){return s({url:"api/baseDataBigScreen/rescueCar",method:"get",params:e})}function k(e){return s({url:"api/baseDataBigScreen/refuge",method:"get",params:e})}function v(e){return s({url:"api/baseDataBigScreen/rescueTeam",method:"get",params:e})}function w(e){return s({url:"api/baseDataBigScreen/suppliesReserveStation",method:"get",params:e})}function y(e){return s({url:"api/baseDataBigScreen/suppliesReserve",method:"get",params:e})}function S(e){return s({url:"api/baseDataBigScreen/emergencyWarning",method:"get",params:e})}function T(e){return s({url:"api/baseDataBigScreen/emergencyPlan",method:"get",params:e})}function j(e){return s({url:"api/baseDataBigScreen/roster",method:"get",params:e})}function O(e){return s({url:"api/baseDataBigScreen/wkkAlarmMsg",method:"get",params:e})}function D(e){return u({url:"wkk",method:"post",data:e})}function I(e){return l({url:"api/v1/device/grouptree",method:"get",params:e})}function E(e){return l({url:"api/v1/stream/start",method:"get",params:e})}function L(e){return p({url:"api/hiddenTroubleCheck/findAllwarningHiddenTrouble",method:"get",params:e})}function P(e){return p({url:"/api/undergroundSeriousHiddenTrouble/warn",method:"get",params:e})}},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var r=n("2b0e"),a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},o=[],i={data:function(){return{}},mounted:function(){this.$store.dispatch("typeOptions")}},u=i,c=(n("5c0b"),n("2877")),s=Object(c["a"])(u,a,o,!1,null,null,null),f=s.exports,l=(n("d3b7"),n("8c4f"));r["default"].use(l["a"]);var d=[{path:"/",name:"home",components:{default:function(){return Promise.all([n.e("chunk-9cff3828"),n.e("chunk-00f444cb"),n.e("chunk-2179b226")]).then(n.bind(null,"bb51"))}},children:[{path:"/",name:"base",components:{homeHeader:function(){return Promise.all([n.e("chunk-9cff3828"),n.e("chunk-573f826d")]).then(n.bind(null,"7975"))},homeLeft:function(){return Promise.all([n.e("chunk-9cff3828"),n.e("chunk-00f444cb"),n.e("chunk-86a8c330")]).then(n.bind(null,"2731"))},homeRight:function(){return Promise.all([n.e("chunk-9cff3828"),n.e("chunk-c692b744")]).then(n.bind(null,"3cc7"))}}}]}],p=new l["a"]({routes:d}),h=p,m=(n("d81d"),n("2fa7")),b=n("2f62"),g=n("365c");r["default"].use(b["a"]);var _=new b["a"].Store({state:{title:"",appMap:"",mouseTool:"",appTileLayer:"",select_item:[],isLeft:!1,isRight:!1,deptData:[],isLtkDialog:!1,isDxkqDialog:!1,compony_info:"",BaseLeftIndex:1,is_show_huan_jing_jian_ce:!1,is_show_huan_jing_jian_ce_table:!1,showItemCharts:!1},mutations:{SET_TYPE:function(e,t){e.select_item=t},SET_deptData:function(e,t){e.deptData=t},SET_TITLE:function(e,t){e.title=t},SET_IS_LEFT:function(e,t){e.isLeft=t},SET_IS_Right:function(e,t){e.isRight=t},SET_APP_MAP:function(e,t){e.appMap=t},SET_MOUSETOOL:function(e,t){e.mouseTool=t},set_appTileLayer:function(e,t){e.appTileLayer=t},set_compony_info:function(e,t){e.compony_info=t},set_BaseLeftIndex:function(e,t){e.BaseLeftIndex=t},set_isLtkDialog:function(e,t){e.isLtkDialog=t},set_isDxkqDialog:function(e,t){e.isDxkqDialog=t},set_is_show_huan_jing_jian_ce:function(e,t){e.is_show_huan_jing_jian_ce=t},set_is_show_huan_jing_jian_ce_table:function(e,t){e.is_show_huan_jing_jian_ce_table=t},setShowItemCharts:function(e,t){e.showItemCharts=t}},actions:{typeOptions:function(e,t){var n,r=e.commit,a=(n={page:0,size:999,sort:"dictSort,asc"},Object(m["a"])(n,"sort","id,desc"),Object(m["a"])(n,"dictName","所属行业"),n);Object(g["b"])(a).then((function(e){var t=e.content.map((function(e){return{value:e.label,label:e.label,id:e.id}}));r("SET_TYPE",t)}))}}}),k=(n("f5df1"),n("5c96")),v=n.n(k),w=(n("0fae"),n("77ed")),y=n.n(w),S=n("bc3a"),T=n.n(S);r["default"].use(v.a),r["default"].use(y.a),r["default"].prototype.axios=T.a,r["default"].config.productionTip=!1,new r["default"]({router:h,store:_,render:function(e){return e(f)}}).$mount("#app")},"5c0b":function(e,t,n){"use strict";var r=n("9c0c"),a=n.n(r);a.a},"9c0c":function(e,t,n){}});
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-86a8c330"],{2731:function(t,a,s){"use strict";s.r(a);var o=function(){var t=this,a=t.$createElement,o=t._self._c||a;return o("div",{staticClass:"base-left"},[o("div",{staticClass:"base_left_box"},[o("img",{attrs:{src:s("fa93")},on:{click:t.onClickDel}}),o("div",{staticClass:"base_left_box_line"},[o("div",{staticClass:"title"},[t._v("基础信息")]),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:8}},[t._v("名称")]),o("el-col",{staticClass:"text_right",attrs:{span:16}},[t._v(t._s(t.dataObj.name))])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:8}},[t._v("地理位置")]),o("el-col",{staticClass:"text_right",attrs:{span:16}},[t._v(t._s(t.dataObj.address))])],1)],1),o("div",{staticClass:"base_left_box_line"},[o("div",{staticClass:"title"},[t._v("监测类型")]),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("环境监测")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:t.onTextLookEnv}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("人员定位")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:function(a){return t.onTextLook(0,"rydw")}}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("降雨量")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:function(a){return t.onTextLook(1,"jyl")}}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("浸润线")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:function(a){return t.onTextLook(2,"jrx")}}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("库水位")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:function(a){return t.onTextLook(3,"ksw")}}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("干滩")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:function(a){return t.onTextLook(4,"gt")}}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("表面位移")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:function(a){return t.onTextLook(5,"bmwy")}}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("预警值")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:function(a){return t.onTextLook(7,"yjz")}}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("报警记录")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:function(a){return t.onTextLook(6,"yj")}}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("三维")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:t.onClickthree}},[t._v("查看")])])],1)],1),o("div",{staticClass:"base_left_box_line"},[o("div",{staticClass:"title"},[t._v("视频监控 "),o("span",{staticClass:"position_look",on:{click:t.onClickVideo}},[t._v("更多")])]),o("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"palyer2"},[t.isVideoUrl?o("LivePlayer",{ref:"player2",attrs:{videoUrl:t.videoUrl,live:""}}):o("LivePlayer",{ref:"player2",attrs:{live:""}})],1)])])])},e=[],l=(s("a4d3"),s("e01a"),s("d28b"),s("b0c0"),s("d3b7"),s("3ca3"),s("ddb0"),s("3f2c")),n=s.n(l),i=s("c75e"),c=s("ed08"),r=s("365c"),_=s("1b62"),v={mixins:[_["a"]],data:function(){return{dataObj:"",videoUrl:"",isVideoUrl:!1,parentSerial:"",list:[],loading:!0}},components:{LivePlayer:n.a},mounted:function(){this.$once("hook:beforeDestroy",(function(){i["a"].$off("dialog_show",null),i["a"].$off("dialog_show_video",null)}))},methods:{onGrouptree:function(t){var a=this;Object(r["g"])().then((function(s){var o=s[0].serial;a.loading=!0,Object(r["g"])({serial:o}).then((function(s){var e=!0,l=!1,n=void 0;try{for(var i,c=s[Symbol.iterator]();!(e=(i=c.next()).done);e=!0){var _=i.value;if(_.name==t)var v=_.code}}catch(d){l=!0,n=d}finally{try{e||null==c.return||c.return()}finally{if(l)throw n}}a.isVideoUrl=!1,a.list=[],v?Object(r["g"])({serial:o,pcode:v}).then((function(t){a.parentSerial=t[0].serial,a.list=t,Object(r["m"])({serial:a.parentSerial,code:t[0].code}).then((function(t){a.isVideoUrl=!0,setTimeout((function(){a.loading=!1}),1e3),a.videoUrl=t.WS_FLV}))})):a.loading=!1}))}))},onTextLook:function(t,a){var s={index:t,activeName:a,dataObj:this.dataObj};i["a"].$emit("dialog_show",s)},onTextLookEnv:function(){this.$store.commit("set_is_show_huan_jing_jian_ce_table",Object(c["a"])(12,100,1))},onClickVideo:function(){var t={parentSerial:this.parentSerial,list:this.list};i["a"].$emit("dialog_show_video",t)}},computed:{compony_info:function(){return this.$store.state.compony_info}},watch:{compony_info:function(t){this.onGrouptree(t.name),this.dataObj=t}}},d=v,p=(s("dc0c"),s("2877")),u=Object(p["a"])(d,o,e,!1,null,null,null);a["default"]=u.exports},"2a07":function(t,a,s){},dc0c:function(t,a,s){"use strict";var o=s("2a07"),e=s.n(o);e.a}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-86a8c330"],{2731:function(t,a,s){"use strict";s.r(a);var o=function(){var t=this,a=t.$createElement,o=t._self._c||a;return o("div",{staticClass:"base-left"},[o("div",{staticClass:"base_left_box"},[o("img",{attrs:{src:s("fa93")},on:{click:t.onClickDel}}),o("div",{staticClass:"base_left_box_line"},[o("div",{staticClass:"title"},[t._v("基础信息")]),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:8}},[t._v("名称")]),o("el-col",{staticClass:"text_right",attrs:{span:16}},[t._v(t._s(t.dataObj.name))])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:8}},[t._v("地理位置")]),o("el-col",{staticClass:"text_right",attrs:{span:16}},[t._v(t._s(t.dataObj.address))])],1)],1),o("div",{staticClass:"base_left_box_line"},[o("div",{staticClass:"title"},[t._v("监测类型")]),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("环境监测")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:t.onTextLookEnv}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("人员定位")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:function(a){return t.onTextLook(0,"rydw")}}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("降雨量")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:function(a){return t.onTextLook(1,"jyl")}}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("浸润线")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:function(a){return t.onTextLook(2,"jrx")}}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("库水位")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:function(a){return t.onTextLook(3,"ksw")}}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("干滩")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:function(a){return t.onTextLook(4,"gt")}}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("表面位移")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:function(a){return t.onTextLook(5,"bmwy")}}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("内部位移沉降")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:function(a){return t.onTextLook(8,"nbwy")}}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("内部位移倾斜")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:function(a){return t.onTextLook(9,"nbwyqx")}}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("预警值")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:function(a){return t.onTextLook(7,"yjz")}}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("报警记录")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:function(a){return t.onTextLook(6,"yj")}}},[t._v("查看")])])],1),o("el-row",{staticClass:"text"},[o("el-col",{attrs:{span:12}},[t._v("三维")]),o("el-col",{staticClass:"text_look",attrs:{span:12}},[o("span",{on:{click:t.onClickthree}},[t._v("查看")])])],1)],1),o("div",{staticClass:"base_left_box_line"},[o("div",{staticClass:"title"},[t._v("视频监控 "),o("span",{staticClass:"position_look",on:{click:t.onClickVideo}},[t._v("更多")])]),o("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"palyer2"},[t.isVideoUrl?o("LivePlayer",{ref:"player2",attrs:{videoUrl:t.videoUrl,live:""}}):o("LivePlayer",{ref:"player2",attrs:{live:""}})],1)])])])},e=[],l=(s("a4d3"),s("e01a"),s("d28b"),s("b0c0"),s("d3b7"),s("3ca3"),s("ddb0"),s("3f2c")),n=s.n(l),i=s("c75e"),c=s("ed08"),r=s("365c"),_=s("1b62"),v={mixins:[_["a"]],data:function(){return{dataObj:"",videoUrl:"",isVideoUrl:!1,parentSerial:"",list:[],loading:!0}},components:{LivePlayer:n.a},mounted:function(){this.$once("hook:beforeDestroy",(function(){i["a"].$off("dialog_show",null),i["a"].$off("dialog_show_video",null)}))},methods:{onGrouptree:function(t){var a=this;Object(r["g"])().then((function(s){var o=s[0].serial;a.loading=!0,Object(r["g"])({serial:o}).then((function(s){var e=!0,l=!1,n=void 0;try{for(var i,c=s[Symbol.iterator]();!(e=(i=c.next()).done);e=!0){var _=i.value;if(_.name==t)var v=_.code}}catch(d){l=!0,n=d}finally{try{e||null==c.return||c.return()}finally{if(l)throw n}}a.isVideoUrl=!1,a.list=[],v?Object(r["g"])({serial:o,pcode:v}).then((function(t){a.parentSerial=t[0].serial,a.list=t,Object(r["m"])({serial:a.parentSerial,code:t[0].code}).then((function(t){a.isVideoUrl=!0,setTimeout((function(){a.loading=!1}),1e3),a.videoUrl=t.WS_FLV}))})):a.loading=!1}))}))},onTextLook:function(t,a){var s={index:t,activeName:a,dataObj:this.dataObj};i["a"].$emit("dialog_show",s)},onTextLookEnv:function(){this.$store.commit("set_is_show_huan_jing_jian_ce_table",Object(c["a"])(12,100,1))},onClickVideo:function(){var t={parentSerial:this.parentSerial,list:this.list};i["a"].$emit("dialog_show_video",t)}},computed:{compony_info:function(){return this.$store.state.compony_info}},watch:{compony_info:function(t){this.onGrouptree(t.name),this.dataObj=t}}},d=v,p=(s("dc0c"),s("2877")),u=Object(p["a"])(d,o,e,!1,null,null,null);a["default"]=u.exports},"2a07":function(t,a,s){},dc0c:function(t,a,s){"use strict";var o=s("2a07"),e=s.n(o);e.a}}]);
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment