|
|
|
@ -25,11 +25,20 @@ export default {
|
|
|
|
|
async loadVideoPaths() {
|
|
|
|
|
const filePath = this.$route.query.filePath;
|
|
|
|
|
try {
|
|
|
|
|
// TODO: 修改为实际接口地址
|
|
|
|
|
|
|
|
|
|
//TODO:修改为实际接口地址
|
|
|
|
|
const thermalResponse = `/dev-api/record/recordInspectionCabinet/getThermalVideo/${filePath}`;
|
|
|
|
|
this.thermalVideoUrl = thermalResponse;
|
|
|
|
|
const visibleResponse = `/dev-api/record/recordInspectionCabinet/getVisibleVideo/${filePath}`;
|
|
|
|
|
this.visibleVideoUrl = visibleResponse;
|
|
|
|
|
/* const thermalResponse = `/prod-api/record/recordInspectionCabinet/getThermalVideo/${filePath}`;
|
|
|
|
|
this.thermalVideoUrl = thermalResponse;
|
|
|
|
|
const visibleResponse = `/prod-api/record/recordInspectionCabinet/getVisibleVideo/${filePath}`;
|
|
|
|
|
this.visibleVideoUrl = visibleResponse;*/
|
|
|
|
|
/* const thermalResponse = getThermalVideo(filePath);
|
|
|
|
|
this.thermalVideoUrl = thermalResponse;
|
|
|
|
|
const visibleResponse= getVisibleVideo(filePath);
|
|
|
|
|
this.visibleVideoUrl = visibleResponse;*/
|
|
|
|
|
|
|
|
|
|
this.playVideo();
|
|
|
|
|
} catch (error) {
|