Ver código fonte

视频录制

Your Name 2 anos atrás
pai
commit
c72635f21e

+ 8
- 0
src/api/caseFiling/caseFiling.js Ver arquivo

7
     method: 'get',
7
     method: 'get',
8
     params: data
8
     params: data
9
   })
9
   })
10
+}
11
+//根据案件id查询视频列表
12
+export function videoList(data) {
13
+  return request({
14
+    url: '/video/videoList',
15
+    method: 'get',
16
+    params: data
17
+  })
10
 }
18
 }

+ 10
- 2
src/views/caseFiling/archiveList.vue Ver arquivo

62
     <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
62
     <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
63
       @pagination="getList(queryParams)" />
63
       @pagination="getList(queryParams)" />
64
     <!-- 弹窗 -->
64
     <!-- 弹窗 -->
65
-    <archiveDetailsDialog v-if="showarchiveDetails" :showarchiveDetails="showarchiveDetails" :detailform="detailform"
65
+    <archiveDetailsDialog v-if="showarchiveDetails" :showarchiveDetails="showarchiveDetails" :videoList="videoList" :detailform="detailform"
66
       :flagLoading="flagLoading" @cancelpaymentdetails="cancelpaymentdetails" @updataList="updataList">
66
       :flagLoading="flagLoading" @cancelpaymentdetails="cancelpaymentdetails" @updataList="updataList">
67
     </archiveDetailsDialog>
67
     </archiveDetailsDialog>
68
   </div>
68
   </div>
70
   
70
   
71
 <script>
71
 <script>
72
 import { caseApplicationList, selectSignSealUrl } from "@/api/awardManagement/awardManagement";
72
 import { caseApplicationList, selectSignSealUrl } from "@/api/awardManagement/awardManagement";
73
-import { adjudicationArchives } from "@/api/caseFiling/caseFiling";
73
+import { adjudicationArchives, videoList } from "@/api/caseFiling/caseFiling";
74
 import archiveDetailsDialog from "./components/archiveDetailsDialog.vue";
74
 import archiveDetailsDialog from "./components/archiveDetailsDialog.vue";
75
 export default {
75
 export default {
76
   name: "archiveList",
76
   name: "archiveList",
97
       detailform: {}, //详情数据
97
       detailform: {}, //详情数据
98
       showarchiveDetails: false, //详情数据弹框
98
       showarchiveDetails: false, //详情数据弹框
99
       flagLoading: false, //详情弹框loading
99
       flagLoading: false, //详情弹框loading
100
+      videoList:""
100
     };
101
     };
101
   },
102
   },
102
   created() {
103
   created() {
135
     // model框显示
136
     // model框显示
136
     showDetail(row) {
137
     showDetail(row) {
137
       this.getDetail({ id: row.id });
138
       this.getDetail({ id: row.id });
139
+      this.getvideoList({ caseId: row.id });
138
       this.showarchiveDetails = true;
140
       this.showarchiveDetails = true;
139
       this.flagLoading = true;
141
       this.flagLoading = true;
140
     },
142
     },
142
     cancelpaymentdetails() {
144
     cancelpaymentdetails() {
143
       this.showarchiveDetails = false;
145
       this.showarchiveDetails = false;
144
     },
146
     },
147
+    // 根据id查询视频列表
148
+    getvideoList(data) {
149
+      videoList(data).then(res => {
150
+        this.videoList = res.data;
151
+      })
152
+    },
145
     /** 查询详情 */
153
     /** 查询详情 */
146
     getDetail(parms) {
154
     getDetail(parms) {
147
       adjudicationArchives(parms).then((res) => {
155
       adjudicationArchives(parms).then((res) => {

+ 14
- 1
src/views/caseFiling/components/archiveDetailsDialog.vue Ver arquivo

24
               :deliveryDataArr="deliveryDataArr"
24
               :deliveryDataArr="deliveryDataArr"
25
             ></expressDeliveryInfo>
25
             ></expressDeliveryInfo>
26
           </el-tab-pane>
26
           </el-tab-pane>
27
+          <el-tab-pane label="案件视频" name="four">
28
+            <!-- <div @click="getVideo">chakanshipin</div> -->
29
+            <video style="background-color: #181717;" :src="videoUrl" controls="controls"></video>
30
+          </el-tab-pane>
27
         </el-tabs>
31
         </el-tabs>
28
       </div>
32
       </div>
29
       <div slot="footer" class="dialog-footer">
33
       <div slot="footer" class="dialog-footer">
38
 import caselogInfo from "./caselogInfo.vue";
42
 import caselogInfo from "./caselogInfo.vue";
39
 import expressDeliveryInfo from "./expressDeliveryInfo.vue";
43
 import expressDeliveryInfo from "./expressDeliveryInfo.vue";
40
 export default {
44
 export default {
41
-  props: ["showarchiveDetails", "detailform", "flagLoading"],
45
+  props: ["showarchiveDetails", "detailform", "flagLoading","videoList"],
42
   components: {
46
   components: {
43
     caseInfo,
47
     caseInfo,
44
     caselogInfo,
48
     caselogInfo,
51
       caselogDataArr: [], //案件日志
55
       caselogDataArr: [], //案件日志
52
       deliveryDataArr: [], //快递信息
56
       deliveryDataArr: [], //快递信息
53
       noData: false,
57
       noData: false,
58
+      videoUrl:''
54
     };
59
     };
55
   },
60
   },
56
   watch: {
61
   watch: {
65
   methods: {
70
   methods: {
66
     handleClick(tab, event) {
71
     handleClick(tab, event) {
67
       // console.log(tab, event);
72
       // console.log(tab, event);
73
+      let headPath = window.location.origin + "/API";
74
+      this.videoUrl = headPath + this.videoList[0].annexPath;
68
     },
75
     },
69
     cancel() {
76
     cancel() {
70
       this.$emit("cancelpaymentdetails");
77
       this.$emit("cancelpaymentdetails");
71
     },
78
     },
79
+    getVideo(){
80
+      // console.log(this.videoList[0].annexPath,"PPPPPPPPPPPPPPPP");
81
+      let headPath = window.location.origin + "/API";
82
+      this.videoUrl = headPath + this.videoList[0].annexPath;
83
+      // window.open(headPath + this.videoList[0].annexPath)
84
+    }
72
   },
85
   },
73
 };
86
 };
74
 </script>
87
 </script>

+ 0
- 0
src/views/caseFiling/components/videoList.vue Ver arquivo