Commit 5c4c175d by Tianqing Liu

fix: 解决历史进度条不展示问题

1 parent 77142096
...@@ -133,7 +133,7 @@ export default { ...@@ -133,7 +133,7 @@ export default {
let par = { let par = {
gateUnid: this.gateUnid, gateUnid: this.gateUnid,
startTime:startDay + ' 00:00:00', startTime:startDay + ' 00:00:00',
stopTime:stopTime, endTime:stopTime,
} }
tourApi.getThroughVideoRecord(par).then(res => { tourApi.getThroughVideoRecord(par).then(res => {
if(res.data.code == 200) { if(res.data.code == 200) {
...@@ -142,7 +142,7 @@ export default { ...@@ -142,7 +142,7 @@ export default {
list.forEach((one)=>{ list.forEach((one)=>{
this.markTime.push({ this.markTime.push({
beginTime: moment(one.startTime).format(this.dateFormatType + ' HH:mm:ss'), beginTime: moment(one.startTime).format(this.dateFormatType + ' HH:mm:ss'),
endTime: moment(one.endTime).format(this.dateFormatType + ' HH:mm:ss'), endTime: moment(one.endTime).format(this.dateFormatType + ' HH:mm:ss'),
bgColor: "rgba(92, 144, 245, 1)", bgColor: "rgba(92, 144, 245, 1)",
text: "", text: "",
}) })
......
...@@ -311,6 +311,8 @@ ...@@ -311,6 +311,8 @@
</div> </div>
</template> </template>
<script setup> <script setup>
// 开发页面
// http://localhost:3000/apph5/?atoken=edb861d2-249f-4530-b2ac-6fca17216305&userId=11883&type=&id=632&name=%E4%BC%9A%E8%AE%AE%E5%AE%A4%E9%97%A8%E5%8F%A3&accountId=337&mallId=9217&mallName=%E4%BC%9A%E8%AE%AE%E5%AE%A4%E9%97%A8%E5%8F%A3&bookmark=false&channelNo=4&deviceSerial=F16423875&gateUnid=cf21f4a8-65c6-11ee-837e-00163e143ecd&ptzEnable=0&origin=record
import { ref, onMounted } from "vue"; import { ref, onMounted } from "vue";
import { Toast } from "vant"; import { Toast } from "vant";
import livePlayer from "@/components/extension/index.vue"; import livePlayer from "@/components/extension/index.vue";
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!