视频优化

main
zhangqun 3 years ago
parent ccdfb631d3
commit 7a969efa53
  1. 16
      src/views/alarmcenter/sosAlarm/list.vue
  2. 2
      src/views/components/video/video.vue
  3. 4
      vue.config.js

@ -3,10 +3,10 @@
<avue-crud :option="option" :table-loading="loading" :data="data" :page.sync="page" ref="crud" @row-del="rowDel"
v-model="form" :before-open="beforeOpen" @search-change="searchChange" @search-reset="searchReset" @current-change="currentChange" @size-change="sizeChange"
@refresh-change="refreshChange" @on-load="onLoad">
<template slot="menuLeft">
<!-- <template slot="menuLeft">
<el-button @click="handleExport" type="warning" size="small" icon="el-icon-download" plain>导出
</el-button>
</template>
</template> -->
<template slot-scope="{ row, index }" slot="menu">
<el-button @click="linkVideo(row, index)" type="text" icon="el-icon-video-camera-solid" size="small"
:disabled="row.cancelTime == ''">
@ -99,7 +99,7 @@ export default {
dataType: "number",
slot: true,
prop: "type",
search: true,
// search: true,
},
{
label: "楼号",
@ -123,11 +123,11 @@ export default {
overHidden: true,
width: '200'
},
{
label: "上报时间",
prop: "reportTime",
width: '150'
},
// {
// label: "",
// prop: "reportTime",
// width: '150'
// },
]
},
data: [],

@ -61,7 +61,7 @@ export default {
},
mounted() {
this.dateRange = [dateFormat(new Date(), 'yyyy-MM-dd') + ' 00:00:00', dateFormat(new Date(), 'yyyy-MM-dd') + ' 23:59:59'];
this.init();
// this.init();
this.queryLive();
// this.createPlayer(this.url);
},

@ -39,8 +39,8 @@ module.exports = {
proxy: {
"/api": {
//本地服务接口地址
target: 'http://192.168.1.34:81',//测试环境
// target: 'http://192.168.3.32:81',//李涛-wifi
// target: 'http://192.168.1.34:81',//测试环境
target: 'http://192.168.3.32:81',//李涛-wifi
// target: 'http://192.168.1.102:81',
ws: true,
pathRewrite: {

Loading…
Cancel
Save