视频录制 #91
@@ -8,3 +8,11 @@ export function adjudicationArchives(data) {
|
|||||||
params: data
|
params: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
//根据案件id查询视频列表
|
||||||
|
export function videoList(data) {
|
||||||
|
return request({
|
||||||
|
url: '/video/videoList',
|
||||||
|
method: 'get',
|
||||||
|
params: data
|
||||||
|
})
|
||||||
|
}
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
||||||
@pagination="getList(queryParams)" />
|
@pagination="getList(queryParams)" />
|
||||||
<!-- 弹窗 -->
|
<!-- 弹窗 -->
|
||||||
<archiveDetailsDialog v-if="showarchiveDetails" :showarchiveDetails="showarchiveDetails" :detailform="detailform"
|
<archiveDetailsDialog v-if="showarchiveDetails" :showarchiveDetails="showarchiveDetails" :videoList="videoList" :detailform="detailform"
|
||||||
:flagLoading="flagLoading" @cancelpaymentdetails="cancelpaymentdetails" @updataList="updataList">
|
:flagLoading="flagLoading" @cancelpaymentdetails="cancelpaymentdetails" @updataList="updataList">
|
||||||
</archiveDetailsDialog>
|
</archiveDetailsDialog>
|
||||||
</div>
|
</div>
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { caseApplicationList, selectSignSealUrl } from "@/api/awardManagement/awardManagement";
|
import { caseApplicationList, selectSignSealUrl } from "@/api/awardManagement/awardManagement";
|
||||||
import { adjudicationArchives } from "@/api/caseFiling/caseFiling";
|
import { adjudicationArchives, videoList } from "@/api/caseFiling/caseFiling";
|
||||||
import archiveDetailsDialog from "./components/archiveDetailsDialog.vue";
|
import archiveDetailsDialog from "./components/archiveDetailsDialog.vue";
|
||||||
export default {
|
export default {
|
||||||
name: "archiveList",
|
name: "archiveList",
|
||||||
@@ -97,6 +97,7 @@ export default {
|
|||||||
detailform: {}, //详情数据
|
detailform: {}, //详情数据
|
||||||
showarchiveDetails: false, //详情数据弹框
|
showarchiveDetails: false, //详情数据弹框
|
||||||
flagLoading: false, //详情弹框loading
|
flagLoading: false, //详情弹框loading
|
||||||
|
videoList:""
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -135,6 +136,7 @@ export default {
|
|||||||
// model框显示
|
// model框显示
|
||||||
showDetail(row) {
|
showDetail(row) {
|
||||||
this.getDetail({ id: row.id });
|
this.getDetail({ id: row.id });
|
||||||
|
this.getvideoList({ caseId: row.id });
|
||||||
this.showarchiveDetails = true;
|
this.showarchiveDetails = true;
|
||||||
this.flagLoading = true;
|
this.flagLoading = true;
|
||||||
},
|
},
|
||||||
@@ -142,6 +144,12 @@ export default {
|
|||||||
cancelpaymentdetails() {
|
cancelpaymentdetails() {
|
||||||
this.showarchiveDetails = false;
|
this.showarchiveDetails = false;
|
||||||
},
|
},
|
||||||
|
// 根据id查询视频列表
|
||||||
|
getvideoList(data) {
|
||||||
|
videoList(data).then(res => {
|
||||||
|
this.videoList = res.data;
|
||||||
|
})
|
||||||
|
},
|
||||||
/** 查询详情 */
|
/** 查询详情 */
|
||||||
getDetail(parms) {
|
getDetail(parms) {
|
||||||
adjudicationArchives(parms).then((res) => {
|
adjudicationArchives(parms).then((res) => {
|
||||||
|
|||||||
@@ -24,6 +24,10 @@
|
|||||||
:deliveryDataArr="deliveryDataArr"
|
:deliveryDataArr="deliveryDataArr"
|
||||||
></expressDeliveryInfo>
|
></expressDeliveryInfo>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
|
<el-tab-pane label="案件视频" name="four">
|
||||||
|
<!-- <div @click="getVideo">chakanshipin</div> -->
|
||||||
|
<video style="background-color: #181717;" :src="videoUrl" controls="controls"></video>
|
||||||
|
</el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
</div>
|
</div>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
@@ -38,7 +42,7 @@ import caseInfo from "./caseInfo.vue";
|
|||||||
import caselogInfo from "./caselogInfo.vue";
|
import caselogInfo from "./caselogInfo.vue";
|
||||||
import expressDeliveryInfo from "./expressDeliveryInfo.vue";
|
import expressDeliveryInfo from "./expressDeliveryInfo.vue";
|
||||||
export default {
|
export default {
|
||||||
props: ["showarchiveDetails", "detailform", "flagLoading"],
|
props: ["showarchiveDetails", "detailform", "flagLoading","videoList"],
|
||||||
components: {
|
components: {
|
||||||
caseInfo,
|
caseInfo,
|
||||||
caselogInfo,
|
caselogInfo,
|
||||||
@@ -51,6 +55,7 @@ export default {
|
|||||||
caselogDataArr: [], //案件日志
|
caselogDataArr: [], //案件日志
|
||||||
deliveryDataArr: [], //快递信息
|
deliveryDataArr: [], //快递信息
|
||||||
noData: false,
|
noData: false,
|
||||||
|
videoUrl:''
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -65,10 +70,18 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
handleClick(tab, event) {
|
handleClick(tab, event) {
|
||||||
// console.log(tab, event);
|
// console.log(tab, event);
|
||||||
|
let headPath = window.location.origin + "/API";
|
||||||
|
this.videoUrl = headPath + this.videoList[0].annexPath;
|
||||||
},
|
},
|
||||||
cancel() {
|
cancel() {
|
||||||
this.$emit("cancelpaymentdetails");
|
this.$emit("cancelpaymentdetails");
|
||||||
},
|
},
|
||||||
|
getVideo(){
|
||||||
|
// console.log(this.videoList[0].annexPath,"PPPPPPPPPPPPPPPP");
|
||||||
|
let headPath = window.location.origin + "/API";
|
||||||
|
this.videoUrl = headPath + this.videoList[0].annexPath;
|
||||||
|
// window.open(headPath + this.videoList[0].annexPath)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user