diff --git a/src/pages/event-tracing/components/videoReservationDialog.vue b/src/pages/event-tracing/components/videoReservationDialog.vue
index 834c0db..e84a53b 100644
--- a/src/pages/event-tracing/components/videoReservationDialog.vue
+++ b/src/pages/event-tracing/components/videoReservationDialog.vue
@@ -78,6 +78,7 @@ export default {
this.$refs.ruleFormVideoReservation.validate((valid) => {
if (valid) {
videoTelephone.videoTelephoneModify(this.videoReservationObj).then(res => {
+ this.$parent.getList()
this.handleClose()
this.$message.success("操作成功");
})
diff --git a/src/pages/mediation-page/components/LayoutContentNew.vue b/src/pages/mediation-page/components/LayoutContentNew.vue
index 88b9e05..54e96fa 100644
--- a/src/pages/mediation-page/components/LayoutContentNew.vue
+++ b/src/pages/mediation-page/components/LayoutContentNew.vue
@@ -558,56 +558,10 @@
-
-
-
-
-
-
-
-
-
-
{{item.pkgName}} {{item.bookingTime}}
-
待视频
-
-
-
-
-
-
-
-
-
-
+
@@ -649,10 +603,7 @@
-
-
-
-
+
@@ -665,12 +616,11 @@ export default {
uploadFile: () => import('@/components/uploadFile.vue'),//上传
RepaymentSchedule: () => import('./RepaymentSchedule.vue'),//还款计划
RepaymentCertificate: () => import('./RepaymentCertificate.vue'),//还款凭证
- VideoReservationDialog: () => import('./VideoReservationDialog'),//视频预约
- videoReservationEditDialog: () => import('../../event-tracing/components/videoReservationDialog'),//视频预约修改
caseMaterial: () => import('./caseMaterial'),//
caseMaterialLeft: () => import('./caseMaterialLeft'),//案件材料左
contactPerson: () => import('./contactPerson'),//联系人左
cassWrit: () => import('./cassWrit'),//
+ caseVideoReservationDialog: () => import('./caseVideoReservationDialog'),//
},
data() {
return {
@@ -739,10 +689,7 @@ export default {
communicationRecord: '',
- visiblePopover: false,
- videoTableData: [],
- VideoDialog: null,
- VideoEditDialog: null,
+ visiblePopover: null,
};
},
computed: {
@@ -867,40 +814,6 @@ export default {
// this.$route.query.sourcePage == 'mediationManagement'
this.$router.push('/mediation-management')
},
-
- popoverShow() {
- console.log('popover显示回调!!!')
- this.getVideoList(1);
- },
- // 列表数据
- getVideoList(val) {
- let dataJson = {
- caseNo: '',
- pkgName: '',
- size: 99999,
- current: 1
- }
- eventTracingApi.posttrace_video(dataJson).then(res => {
- if (!res.code) {
- this.videoTableData = res.records;
- // this.total = res.total;
- }
- })
- },
- handleBackCase(row) {
- this.$confirm("请确定是否取消?", "提示", {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning",
- }).then(() => {
- if(!this.$clickThrottle()) { return }//防止重复点击
- let data = {id:row.id}
- videoTelephone.videoTelephoneCancel(data).then((res) => {
- this.$message.success("取消成功");
- this.getVideoList()
- });
- }).catch(() => {});
- },
}
};
@@ -938,18 +851,6 @@ export default {
}
}
-.actionVideo{
- color: #BC6F60;
- border-bottom: 1px solid #BC6F60;
-}
-
-.bag-BC6F60{
- background-color: #BC6F60;
-}
-.bor-E5E6EB{
- border-bottom: solid 1px #E5E6EB;
-}
-
.layout-center-wrap {
height: 100%;
font-size: 14px;
diff --git a/src/pages/mediation-page/components/VideoReservationDialog.vue b/src/pages/mediation-page/components/VideoReservationDialog.vue
index 520ff5e..cbf14ae 100644
--- a/src/pages/mediation-page/components/VideoReservationDialog.vue
+++ b/src/pages/mediation-page/components/VideoReservationDialog.vue
@@ -9,6 +9,25 @@
:rules="rulesClientRule"
label-width="130px">
+
+
+
+
+
+
+
+
+
+
@@ -181,6 +200,8 @@ export default {
{ label: '其他', value: '其他' }
],
repaymentObj: {
+ name: '',
+ content: '',
litigants: [], //{name: xx, phone: xx, identity: xx} 当事人
members: [], //{name: xx, phone: xx, identity: xx} 邀请人
bookingTime: '',
@@ -188,6 +209,12 @@ export default {
caseId: '', // 案件ID
},
rulesClientRule: {
+ name: [
+ { required: true, message: '请输入', trigger: 'change',},
+ ],
+ content: [
+ { required: true, message: '请输入', trigger: 'change',},
+ ],
litigants: [
{ type: 'array', required: true, message: '请选择', trigger: 'change' }
],
@@ -239,7 +266,7 @@ export default {
this.repaymentObj.caseId = this.eventDialog.caseId;
// console.log(resultArr, '---resultArr' , this.repaymentObj)
videoTelephone.videoTelephoneBooking({...this.repaymentObj, litigants: resultArr}).then(res => {
- // this.$parent.getDataList(1)
+ this.$parent.getList()
this.handleClose()
this.$message.success("预约成功");
})
diff --git a/src/pages/mediation-page/components/caseVideoReservationDialog.vue b/src/pages/mediation-page/components/caseVideoReservationDialog.vue
new file mode 100644
index 0000000..55375d1
--- /dev/null
+++ b/src/pages/mediation-page/components/caseVideoReservationDialog.vue
@@ -0,0 +1,147 @@
+
+
+
+
+
+
+
+
+
+
{{item.pkgName}} {{item.bookingTime}}
+
待视频
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/services/videoTelephone.js b/src/services/videoTelephone.js
index 6e9a946..bb77b29 100644
--- a/src/services/videoTelephone.js
+++ b/src/services/videoTelephone.js
@@ -21,7 +21,24 @@ const apiVideoTelephone = {
// 录像
// 进入房间回调
// 停止调解
+ stopMediate: data => {
+ return service.service.post(`${api}stop`, data)
+ },
// 开始录像
+ startRecord: data => {
+ return service.service.post(`${api}start-record`, data)
+ },
// 停止录像
+ stopRecord: data => {
+ return service.service.post(`${api}stop-record`, data)
+ },
+ // 获取进入房间的参数
+ getEnterById: data => {
+ return service.service.post(`${api}enterById`, data)
+ },
+ // 获取列表(待视频、已视频)
+ getListByCaseId: data => {
+ return service.service.post(`${api}listByCaseId`, data)
+ },
}
export default apiVideoTelephone;
\ No newline at end of file