添加拉流代理与国标关联, 支持代理rtsp/rtmp/...,转发到国标
This commit is contained in:
@@ -19,10 +19,14 @@
|
||||
</el-table-column>
|
||||
<el-table-column prop="totalReaderCount" label="在线人数" width="240" align="center">
|
||||
</el-table-column>
|
||||
<el-table-column prop="createStamp" label="开始时间" align="center">
|
||||
<el-table-column label="开始时间" align="center" >
|
||||
<template slot-scope="scope">
|
||||
<el-button-group>
|
||||
{{dateFormat(parseInt(scope.row.createStamp))}}
|
||||
</el-button-group>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
|
||||
<el-table-column label="操作" width="360" align="center" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<el-button-group>
|
||||
@@ -144,6 +148,19 @@
|
||||
},
|
||||
stopPuhsh: function(row){
|
||||
console.log(row)
|
||||
},
|
||||
dateFormat: function(/** timestamp=0 **/) {
|
||||
var ts = arguments[0] || 0;
|
||||
var t,y,m,d,h,i,s;
|
||||
t = ts ? new Date(ts*1000) : new Date();
|
||||
y = t.getFullYear();
|
||||
m = t.getMonth()+1;
|
||||
d = t.getDate();
|
||||
h = t.getHours();
|
||||
i = t.getMinutes();
|
||||
s = t.getSeconds();
|
||||
// 可根据需要在这里定义时间格式
|
||||
return y+'-'+(m<10?'0'+m:m)+'-'+(d<10?'0'+d:d)+' '+(h<10?'0'+h:h)+':'+(i<10?'0'+i:i)+':'+(s<10?'0'+s:s);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user