hanchaobo 2 лет назад
Родитель
Сommit
d2381806dc

+ 2
- 0
src/api/caseManagement/caseManagement.js Просмотреть файл

@@ -123,6 +123,8 @@ export function verifyMediator(data) {
123 123
 export function confirmDate(data) {
124 124
   return request({
125 125
     url: "/caseApplication/confirmDate",
126
+    method: "post",
127
+    data: data,
126 128
   })
127 129
 }
128 130
 // 查看案件流程

+ 19
- 0
src/api/metting/metting.js Просмотреть файл

@@ -0,0 +1,19 @@
1
+import request from '@/utils/request'
2
+
3
+// 生成会议号
4
+export function createRoomId(data) {
5
+  return request({
6
+    url: 'video/createRoomId',
7
+    method: 'get',
8
+    params: data
9
+  })
10
+}
11
+// 根据案件id查询房间号
12
+export function reserveConferenceList(data) {
13
+    return request({
14
+      url: 'video/reserveConferenceList',
15
+      method: 'get',
16
+      params: data
17
+    })
18
+  }
19
+

+ 164
- 76
src/views/caseManagement/caseList.vue Просмотреть файл

@@ -59,26 +59,30 @@
59 59
             <el-table-column label="创建时间" align="center" prop="createTime" :show-overflow-tooltip="true" />
60 60
             <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
61 61
                 <template slot-scope="scope">
62
-                    <el-button size="mini" type="text" icon="el-icon-check" @click="onsubmitRow(scope.row)" v-if="statusRole(scope.row.caseFlowId)">提交</el-button>
62
+                    <!-- <el-button size="mini" type="text" icon="el-icon-check" @click="onsubmitRow(scope.row)" v-if="statusRole(scope.row.caseFlowId)">提交</el-button> -->
63 63
                     <el-button size="mini" @click="eidtNodeprocess(scope.row)" type="text"
64 64
                         icon="el-icon-edit">修改</el-button>
65 65
                     <el-button size="mini" @click="checkDetail(scope.row)" type="text" icon="el-icon-view">查看详情</el-button>
66
-                    <el-button size="mini" @click="consultantApplica(scope.row)" type="text" icon="el-icon-tickets">法律顾问用印申请</el-button>
67
-                    <el-button size="mini" @click="departmentApplica(scope.row)" type="text" icon="el-icon-edit-outline">部门长用印</el-button>
66
+                    <!-- <el-button size="mini" @click="consultantApplica(scope.row)" type="text" icon="el-icon-tickets">法律顾问用印申请</el-button> -->
67
+                    <!-- <el-button size="mini" @click="departmentApplica(scope.row)" type="text" icon="el-icon-edit-outline">部门长用印</el-button> -->
68 68
                     <el-button size="mini" @click="caseFlow(scope.row)" type="text" icon="el-icon-zoom-in">查看流程</el-button>
69
-                    <el-button size="mini" @click="caseLog(scope.row)" type="text" icon="el-icon-edit-outline">案件日志</el-button>
70
-                    <el-button size="mini" @click="paymentconfirmationRow(scope.row)" type="text" icon="el-icon-zoom-in">缴费确认</el-button>
71
-                    <el-button size="mini" @click="caseAccep(scope.row)" type="text" icon="el-icon-zoom-in">案件受理</el-button>
72
-                    <el-button size="mini" @click="viewpaymentformRow(scope.row)" type="text" icon="el-icon-edit">查看缴费单</el-button>
73
-                    <el-button size="mini" @click="caseFiling(scope.row)" type="text" icon="el-icon-tickets">案件归档</el-button>
74
-                    <el-button size="mini" @click="signMediation(scope.row)" type="text" icon="el-icon-edit-outline">签收调解书</el-button>                 
69
+                    <el-button size="mini" @click="caseLog(scope.row)" type="text"
70
+                        icon="el-icon-edit-outline">案件日志</el-button>
71
+                    <!-- <el-button size="mini" @click="paymentconfirmationRow(scope.row)" type="text" icon="el-icon-zoom-in">缴费确认</el-button> -->
72
+                    <!-- <el-button size="mini" @click="caseAccep(scope.row)" type="text" icon="el-icon-zoom-in">案件受理</el-button> -->
73
+                    <el-button size="mini" @click="viewpaymentformRow(scope.row)" type="text"
74
+                        icon="el-icon-edit">查看缴费单</el-button>
75
+                    <!-- <el-button size="mini" @click="caseFiling(scope.row)" type="text" icon="el-icon-tickets">案件归档</el-button> -->
76
+                    <!-- <el-button size="mini" @click="signMediation(scope.row)" type="text" icon="el-icon-edit-outline">签收调解书</el-button>                  -->
75 77
                     <el-button size="mini" type="text" icon="el-icon-edit"
76 78
                         @click="evidenceUpload(scope.row)">证据修改</el-button>
77
-                    <el-button size="mini" type="text" icon="el-icon-tickets" @click="payStatus(scope.row)">缴费</el-button>
78
-                    <el-button size="mini" type="text" icon="el-icon-tickets" @click="selectMediator(scope.row)">预约时间</el-button>
79
-                    <el-button size="mini" type="text" icon="el-icon-tickets" @click="secretaryConfirm(scope.row)">秘书审核</el-button>
80
-                    <el-button size="mini" type="text" icon="el-icon-tickets" @click="department(scope.row)">部门长审核</el-button>
81
-                    <el-button size="mini" type="text" icon="el-icon-tickets" @click="timeConfirm(scope.row)">确认调解时间</el-button>
79
+                    <!-- <el-button size="mini" type="text" icon="el-icon-tickets" @click="payStatus(scope.row)">缴费</el-button> -->
80
+                    <!-- <el-button size="mini" type="text" icon="el-icon-tickets" @click="selectMediator(scope.row)">预约时间</el-button> -->
81
+                    <!-- <el-button size="mini" type="text" icon="el-icon-tickets" @click="secretaryConfirm(scope.row)">秘书审核</el-button> -->
82
+                    <!-- <el-button size="mini" type="text" icon="el-icon-tickets" @click="department(scope.row)">部门长审核</el-button> -->
83
+                    <!-- <el-button size="mini" type="text" icon="el-icon-tickets" @click="timeConfirm(scope.row)">确认调解时间</el-button> -->
84
+                    <el-button size="mini" type="text" icon="el-icon-tickets" v-for="(item) in buttonList" :key="item.id"
85
+                        @click="caseClick(scope.row,item.id)" v-if="item.id == scope.row.caseFlowId && checkPermi([item.buttonAuthFlag])">{{ item.nodeName }}</el-button>
82 86
                 </template>
83 87
             </el-table-column>
84 88
         </el-table>
@@ -92,7 +96,8 @@
92 96
             @cancelCompreess="cancelCompreess" :getList="getList">
93 97
         </caseCompressionPackage>
94 98
         <!-- 案件详情 -->
95
-        <mediationCaseDetails :processVisable="processVisable" @cancelViewProcess="cancelViewProcess" :caseFlowNumber="caseFlowNumber">
99
+        <mediationCaseDetails :processVisable="processVisable" @cancelViewProcess="cancelViewProcess"
100
+            :caseFlowNumber="caseFlowNumber">
96 101
         </mediationCaseDetails>
97 102
         <!-- 案件日志 -->
98 103
         <mediationCaseLog :showcaseLog="showcaseLog" @cancelcaseLog="cancelcaseLog"></mediationCaseLog>
@@ -103,23 +108,34 @@
103 108
         <payDialog :openPay="openPay" :payTitle="payTitle" :formPayDetail="formPayDetail" :payId="payId" :payForm="payForm"
104 109
             :queryParams="queryParams" @getList="getList" @paycancelRow="paycancelRow"></payDialog>
105 110
         <!-- 缴费确认查看详情 -->
106
-        <paymentdetailsDialog :openDialog="openDialog" @cancelpaymentdetails="cancelpaymentdetails" :title="payTitle" :detailform="detailform" :flag="flag" :paymentConfirma="paymentConfirma" :getList="getList"></paymentdetailsDialog>
111
+        <paymentdetailsDialog :openDialog="openDialog" @cancelpaymentdetails="cancelpaymentdetails" :title="payTitle"
112
+            :detailform="detailform" :flag="flag" :paymentConfirma="paymentConfirma" @getList="getList">
113
+        </paymentdetailsDialog>
107 114
         <!-- 案件受理 -->
108
-        <caseAcceptance :showAcceptance="showAcceptance" @cancelAcceptance="cancelAcceptance" :caseAcceptanceData="caseAcceptanceData" :getList="getList"></caseAcceptance>
115
+        <caseAcceptance :showAcceptance="showAcceptance" @cancelAcceptance="cancelAcceptance"
116
+            :caseAcceptanceData="caseAcceptanceData" @getList="getList"></caseAcceptance>
109 117
         <!-- 调解员弹窗 -->
110
-        <selectMediator  @cancelMediator="cancelMediator" :mediatorVisable="mediatorVisable" :mediatorData="mediatorData" @getList="getList" :queryParams="queryParams"></selectMediator>
118
+        <selectMediator @cancelMediator="cancelMediator" :mediatorVisable="mediatorVisable" :mediatorData="mediatorData"
119
+            @getList="getList" :queryParams="queryParams"></selectMediator>
111 120
         <!-- 秘书确认 -->
112
-        <confirmMediator @cancelConfirm="cancelConfirm" :confirmVisable="confirmVisable" :confirmData="confirmData" @getList="getList" :queryParams="queryParams"></confirmMediator>
121
+        <confirmMediator @cancelConfirm="cancelConfirm" :confirmVisable="confirmVisable" :confirmData="confirmData"
122
+            @getList="getList" :queryParams="queryParams"></confirmMediator>
113 123
         <!-- 部门长确认 -->
114
-        <departmentMediator @cancelDepartment="cancelDepartment" :departmentVisable="departmentVisable" :departmentData="departmentData" @getList="getList" :queryParams="queryParams"></departmentMediator>
124
+        <departmentMediator @cancelDepartment="cancelDepartment" :departmentVisable="departmentVisable"
125
+            :departmentData="departmentData" @getList="getList" :queryParams="queryParams"></departmentMediator>
115 126
         <!-- 秘书确认时间 -->
116
-        <timeConfirm @cancelTimeConfirm="cancelTimeConfirm" :timeConfirmVisable="timeConfirmVisable" :timeConfirmData="timeConfirmData" @getList="getList" :queryParams="queryParams"></timeConfirm>
127
+        <timeConfirm @cancelTimeConfirm="cancelTimeConfirm" :timeConfirmVisable="timeConfirmVisable"
128
+            :timeConfirmData="timeConfirmData" @getList="getList" :queryParams="queryParams"></timeConfirm>
129
+        <!-- 待调解     -->
130
+        <mediation @cancelMediation="cancelMediation" :mediationVisable="mediationVisable"
131
+            :mediationData="mediationData" @getList="getList" :queryParams="queryParams"></mediation>    
117 132
     </div>
118 133
 </template>
119 134
 
120 135
 <script>
121
-import { caseApplicationList, caseApplicationSelectById,submitCaseApply,selectPaymentDetail,sealApply,selectSealUrl} from '@/api/caseManagement/caseManagement.js'
136
+import { caseApplicationList, caseApplicationSelectById, submitCaseApply, selectPaymentDetail, sealApply, selectSealUrl } from '@/api/caseManagement/caseManagement.js'
122 137
 import { listDept } from '@/api/system/dept.js'
138
+import { queryCaseFlowInfo } from '@/api/caseprocessManagement/caseprocessManagement.js'
123 139
 import moment from "moment";
124 140
 import addCase from './components/addCase.vue'
125 141
 import evidenceDialog from './components/evidenceDialog.vue';
@@ -133,6 +149,7 @@ import selectMediator from './components/selectMediator.vue'
133 149
 import confirmMediator from './components/confirmMediator.vue'
134 150
 import departmentMediator from './components/departmentMediator.vue'
135 151
 import timeConfirm from './components/timeConfirm.vue'
152
+import mediation from './components/mediation.vue'
136 153
 export default {
137 154
     name: "caseList",
138 155
     dicts: ["case_flow_node"],
@@ -148,7 +165,8 @@ export default {
148 165
         selectMediator,//调解员弹窗
149 166
         confirmMediator,
150 167
         departmentMediator,
151
-        timeConfirm
168
+        timeConfirm,
169
+        mediation
152 170
     },
153 171
     data() {
154 172
         return {
@@ -170,21 +188,23 @@ export default {
170 188
             formPayDetail: {},
171 189
             payId: null,
172 190
             payForm: {},
173
-            openCompressedPackages:false,//压缩包导入弹窗
174
-            processVisable:false,//案件详情
175
-            showcaseLog:false,//案件日志
176
-            openDialog:false,//确认缴费和缴费详情
191
+            openCompressedPackages: false,//压缩包导入弹窗
192
+            processVisable: false,//案件详情
193
+            showcaseLog: false,//案件日志
194
+            openDialog: false,//确认缴费和缴费详情
177 195
             detailform: {}, //缴费详情数据
178 196
             evidenceVisable: false,//证据修改弹窗
179
-            payTitle:"",//缴费标题
180
-            paymentConfirma:{},//缴费确认
181
-            showAcceptance:false,//案件受理弹框
182
-            caseAcceptanceData:{},//案件受理数据
183
-            mediatorVisable:false,//选择调解员弹窗
184
-            timeVisable:false,//预约时间弹窗
185
-            confirmVisable:false,//确认时间/调解员
186
-            caseFlowNumber:{},//案件流程数据
187
-            mediatorData:{},
197
+            payTitle: "",//缴费标题
198
+            paymentConfirma: {},//缴费确认
199
+            showAcceptance: false,//案件受理弹框
200
+            caseAcceptanceData: {},//案件受理数据
201
+            mediatorVisable: false,//选择调解员弹窗
202
+            timeVisable: false,//预约时间弹窗
203
+            confirmVisable: false,//确认时间/调解员
204
+            mediationVisable:false,//待调解弹窗
205
+            caseFlowNumber: {},//案件流程数据
206
+            mediatorData: {},
207
+            mediationData:{},
188 208
             flag: null,
189 209
             caseData: {},
190 210
             evidenceData: {},
@@ -193,18 +213,74 @@ export default {
193 213
             deptList: [],
194 214
             payTitle: '',
195 215
             tabFlag: false,
196
-            confirmData:{},
197
-            departmentVisable:false,
198
-            departmentData:{},
199
-            timeConfirmVisable:false,
200
-            timeConfirmData:{}
216
+            confirmData: {},
217
+            departmentVisable: false,
218
+            departmentData: {},
219
+            timeConfirmVisable: false,
220
+            timeConfirmData: {},
221
+            buttonList: []
201 222
         };
202 223
     },
203 224
     created() {
204 225
         this.getList(this.queryParams);
205 226
         this.listDeptFn()
227
+        this.getButtonList()
206 228
     },
207 229
     methods: {
230
+        /**所有按钮事件 */
231
+        caseClick(val,type){
232
+            if(type == 1){
233
+                // 提交案件
234
+                this.onsubmitRow(val);
235
+            }else if(type == 2){
236
+                // 缴费
237
+                this.payStatus(val);
238
+            }else if(type == 3){
239
+                // 确认缴费
240
+                this.paymentconfirmationRow(val);
241
+            }else if(type == 4){
242
+                // 受理分配
243
+                this.caseAccep(val);
244
+            }else if(type == 5){
245
+                // 选择调解员
246
+                this.selectMediator(val);
247
+            }else if(type == 6){
248
+                // 核实调解员
249
+                this.secretaryConfirm(val);
250
+            }else if(type == 7){
251
+                // 确认调解员
252
+                this.department(val);
253
+            }else if(type == 8){
254
+                // 确定调解时间
255
+                this.timeConfirm(val);
256
+            }else if(type == 9){
257
+                // 调解
258
+                this.mediationClick(val)
259
+            }else if(type == 10){
260
+                // 确认调解书
261
+            }else if(type == 11){
262
+                // 签名
263
+            }else if(type == 12){
264
+                // 用印申请
265
+            }else if(type == 13){
266
+                // 用印
267
+            }else if(type == 14){
268
+                // 归档
269
+            }else if(type == 15){
270
+                // 签收
271
+            }else if(type == 16){
272
+                // 结束
273
+            }
274
+        },
275
+        /**查询按钮列表 */
276
+        getButtonList() {
277
+            queryCaseFlowInfo({
278
+                pageNum: 1,
279
+                pageSize: 100000
280
+            }).then(res => {
281
+                this.buttonList = res.rows;
282
+            })
283
+        },
208 284
         /** 新增案件 */
209 285
         addCase() {
210 286
             this.addVisable = true;
@@ -243,7 +319,7 @@ export default {
243 319
             this.$modal
244 320
                 .confirm("是否提交立案申请?")
245 321
                 .then(function () {
246
-                    return submitCaseApply({ id: row.id,caseFlowId:row.caseFlowId });
322
+                    return submitCaseApply({ id: row.id, caseFlowId: row.caseFlowId });
247 323
                 })
248 324
                 .then(() => {
249 325
                     this.getList(this.queryParams);
@@ -252,14 +328,19 @@ export default {
252 328
                 .catch(() => { });
253 329
         },
254 330
         /** 选择调解员 */
255
-        selectMediator(val){
331
+        selectMediator(val) {
256 332
             this.mediatorVisable = true;
257 333
             this.mediatorData = val;
258 334
         },
259 335
         /** 预约时间 */
260
-        selectTime(val){
336
+        selectTime(val) {
261 337
             this.timeVisable = true;
262 338
         },
339
+        /** 调解 */
340
+        mediationClick(val){
341
+            this.mediationVisable = true;
342
+            this.mediationData = val;
343
+        },
263 344
         getDetail(parms) {
264 345
             caseApplicationSelectById(parms).then((res) => {
265 346
                 this.formPayDetail = res.data;
@@ -268,17 +349,17 @@ export default {
268 349
             });
269 350
         },
270 351
         /** 确认调解员 */
271
-        secretaryConfirm(val){
352
+        secretaryConfirm(val) {
272 353
             this.confirmVisable = true;
273 354
             this.confirmData = val;
274 355
         },
275 356
         /** 部门长确认调解员 */
276
-        department(val){
357
+        department(val) {
277 358
             this.departmentVisable = true;
278 359
             this.departmentData = val;
279 360
         },
280 361
         /**确认时间 */
281
-        timeConfirm(val){
362
+        timeConfirm(val) {
282 363
             this.timeConfirmVisable = true;
283 364
             this.timeConfirmData = val;
284 365
         },
@@ -325,20 +406,27 @@ export default {
325 406
             this.openPay = false;
326 407
         },
327 408
         /** 取消调解员弹窗 */
328
-        cancelMediator(){
409
+        cancelMediator() {
329 410
             this.mediatorVisable = false;
330 411
         },
331 412
         /** 取消预约时间弹窗 */
332
-        cancelTime(){
413
+        cancelTime() {
333 414
             this.timeVisable = false;
334 415
         },
335
-        cancelConfirm(){
416
+        /**取消调解 */
417
+        cancelMediation(){
418
+            this.timeConfirmVisable = false;
419
+        },
420
+        cancelMediation(){
421
+            this.mediationVisable = false;
422
+        },
423
+        cancelConfirm() {
336 424
             this.confirmVisable = false;
337 425
         },
338
-        cancelDepartment(){
426
+        cancelDepartment() {
339 427
             this.departmentVisable = false;
340 428
         },
341
-        cancelTimeConfirm(){
429
+        cancelTimeConfirm() {
342 430
             this.timeConfirmVisable = false;
343 431
         },
344 432
         /** 搜索按钮操作 */
@@ -362,13 +450,13 @@ export default {
362 450
         },
363 451
         // 法律顾问用印申请
364 452
         consultantApplica(row) {
365
-            let paramsValue ={
366
-                caseId:row.id,
367
-                batchNumber:"",
368
-                caseFlowId:row.caseFlowId
453
+            let paramsValue = {
454
+                caseId: row.id,
455
+                batchNumber: "",
456
+                caseFlowId: row.caseFlowId
369 457
             }
370 458
             this.$modal.confirm("你确定要用印申请吗?").then((res) => {
371
-                sealApply(paramsValue).then(res=>{
459
+                sealApply(paramsValue).then(res => {
372 460
                     this.getList(this.queryParams);
373 461
                     this.$modal.msgSuccess("用印申请成功");
374 462
                 })
@@ -378,49 +466,49 @@ export default {
378 466
         },
379 467
         // 部门长用印申请
380 468
         departmentApplica(row) {
381
-             this.$modal.confirm("你确定要用印确认吗?").then((res) => {
382
-                 let paramsValue ={
383
-                     caseId:row.id
384
-                 }
385
-                 selectSealUrl(paramsValue).then(res=>{
386
-                     window.open(res.data.sealUrl)
387
-                     this.$modal.confirm("你确认用印了吗?").then((res) => {
388
-                     this.getList(this.queryParams);
469
+            this.$modal.confirm("你确定要用印确认吗?").then((res) => {
470
+                let paramsValue = {
471
+                    caseId: row.id
472
+                }
473
+                selectSealUrl(paramsValue).then(res => {
474
+                    window.open(res.data.sealUrl)
475
+                    this.$modal.confirm("你确认用印了吗?").then((res) => {
476
+                        this.getList(this.queryParams);
389 477
                     }).catch(() => {
390 478
 
391 479
                     })
392
-                 })
480
+                })
393 481
             }).catch(() => {
394 482
 
395 483
             })
396 484
         },
397 485
         // 案件受理
398
-        caseAccep(row){
486
+        caseAccep(row) {
399 487
             this.caseAcceptanceData = row
400 488
             this.showAcceptance = true
401 489
         },
402
-        cancelAcceptance(){
490
+        cancelAcceptance() {
403 491
             this.showAcceptance = false
404 492
         },
405 493
         // 缴费确认
406
-        paymentconfirmationRow(row){
494
+        paymentconfirmationRow(row) {
407 495
             this.paymentConfirma = row
408 496
             console.log(this.paymentConfirma)
409 497
             this.paymentDetails({
410
-                id:row.id
498
+                id: row.id
411 499
             })
412 500
             this.openDialog = true
413 501
             this.payTitle = "缴费确认"
414 502
             this.flag = 0;
415 503
             this.detailform = {}
416 504
         },
417
-        cancelpaymentdetails(){
505
+        cancelpaymentdetails() {
418 506
             this.openDialog = false
419 507
         },
420 508
         // 查看缴费确认
421
-        viewpaymentformRow(row){
422
-             this.paymentDetails({
423
-                id:row.id
509
+        viewpaymentformRow(row) {
510
+            this.paymentDetails({
511
+                id: row.id
424 512
             })
425 513
             this.payTitle = "缴费单详情"
426 514
             this.flag = 1;
@@ -428,8 +516,8 @@ export default {
428 516
             this.openDialog = true
429 517
         },
430 518
         // 缴费详情
431
-        paymentDetails(val){
432
-            selectPaymentDetail(val).then(res=>{
519
+        paymentDetails(val) {
520
+            selectPaymentDetail(val).then(res => {
433 521
                 this.detailform = res.data;
434 522
             })
435 523
         },

+ 149
- 0
src/views/caseManagement/components/mediation.vue Просмотреть файл

@@ -0,0 +1,149 @@
1
+<template>
2
+    <div>
3
+        <el-dialog :title="title" :visible="mediationVisable" @close="cancel" center :distroy-on-close="true" width="1000px">
4
+            <el-form ref="form" :model="formData" label-width="180px">
5
+                <div class="caseInfo">案件信息:</div>
6
+                <el-divider></el-divider>
7
+                <el-row>
8
+                    <el-col :span="12">
9
+                        <el-form-item label="案件编号:" prop="caseNum">
10
+                            <el-input v-model="formData.caseNum" placeholder="请输入案件编号" :disabled="true" />
11
+                        </el-form-item>
12
+                    </el-col>
13
+                    <el-col :span="12">
14
+                        <el-form-item label="申请人:" prop="applicationOrganName">
15
+                            <el-input v-model="formData.affiliate.applicationOrganName" :disabled="true" />
16
+                        </el-form-item>
17
+                    </el-col>
18
+                    <el-col :span="12">
19
+                        <el-form-item label="被申请人:" prop="respondentName">
20
+                            <el-input v-model="mediationData.respondentName" :disabled="true" />
21
+                        </el-form-item>
22
+                    </el-col>
23
+                    <el-col :span="12">
24
+                        <el-form-item label="案件标的:" prop="caseSubjectAmount">
25
+                            <el-input v-model="formData.caseSubjectAmount" placeholder="请输入案件标的" :disabled="true" />
26
+                        </el-form-item>
27
+                    </el-col>
28
+                    <el-col :span="12">
29
+                        <el-form-item label="调解费用:" prop="feePayable">
30
+                            <el-input v-model="formData.feePayable" placeholder="请输入仲裁费用" :disabled="true" />
31
+                        </el-form-item>
32
+                    </el-col>
33
+                    <el-col :span="12">
34
+                        <el-form-item label="调解员:" prop="mediatorName">
35
+                            <el-input v-model="formData.mediatorName" placeholder="请输入" :disabled="true" />
36
+                        </el-form-item>
37
+                    </el-col>
38
+                </el-row>
39
+                <el-col :span="24">
40
+                    <el-form-item label="申请人案件证据:">
41
+                        <div v-if="applicateArr.length == 0">申请人暂未提供证据!</div>
42
+                        <div v-else v-for="(item, index) in applicateArr" :key="index">
43
+                            <a href="#" @click="toFile(item, index)" style="color: blue">
44
+                                {{ item.annexName }}
45
+                            </a>
46
+                        </div>
47
+                    </el-form-item>
48
+                </el-col>
49
+                <el-col :span="24">
50
+                    <el-form-item label="被申请人案件证据:">
51
+                        <div v-if="quiltArr.length == 0">被申请人暂未提供证据!</div>
52
+                        <div v-for="(item, index) in quiltArr" :key="index">
53
+                            <a href="#" @click="toFile1(item, index)" style="color: blue">
54
+                                {{ item.annexName }}
55
+                            </a>
56
+                        </div>
57
+                    </el-form-item>
58
+                </el-col>
59
+                <el-col :span="24" v-if="recordArr.length > 0">
60
+                    <el-form-item label="庭审笔录:">
61
+                        <div v-for="(item, index) in recordArr" :key="index" style="color: blue">
62
+                            <a href="#" @click="toFile2(item, index)">{{ item.annexName }}</a>
63
+                        </div>
64
+                    </el-form-item>
65
+                </el-col>
66
+                <el-col :span="24">
67
+                    <el-form-item label="预约会议房间号:">
68
+                        <div>{{ roomId }}</div>
69
+                    </el-form-item>
70
+                </el-col>
71
+                <el-col :span="24">
72
+                    <el-form-item label="开庭时间:">
73
+                        <div>{{ formData.hearDate }}</div>
74
+                    </el-form-item>
75
+                </el-col>
76
+                <!-- </el-form> -->
77
+            </el-form>
78
+            <div slot="footer" class="dialog-footer">
79
+                <el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button>
80
+                <el-button @click="submitMediation" class="endbutton1"><span>提 交</span></el-button>
81
+            </div>
82
+        </el-dialog>
83
+    </div>
84
+</template>
85
+<!-- hearDate -->
86
+<script>
87
+import { caseApplicationSelectById } from '@/api/caseManagement/caseManagement.js'
88
+import { reserveConferenceList } from '@/api/metting/metting.js'
89
+export default {
90
+    props: ["mediationVisable", "mediationData", "queryParams"],
91
+    data() {
92
+        return {
93
+            loanStartDate: "",
94
+            title: "开庭调解",
95
+            applicateArr:[],
96
+            quiltArr:[],
97
+            recordArr:[],
98
+            roomId:null,
99
+            startTime:null,
100
+            formData:{}
101
+        };
102
+    },
103
+    watch: {
104
+        mediationVisable(val) {
105
+            if (val) {
106
+                this.caseApplicationSelectByIdFn({
107
+                    id:this.mediationData.id
108
+                })
109
+                this.reserveConferenceListFn({
110
+                    caseId:this.mediationData.id
111
+                })
112
+            }
113
+        },
114
+    },
115
+    created() {
116
+        if(this.mediationData.mediationMethod == '1'){
117
+            this.title = '开庭调解'
118
+        }else{
119
+            this.title = '书面调解'
120
+        }
121
+    },
122
+    methods: {
123
+        /** 获取案件详情信息 */
124
+        caseApplicationSelectByIdFn(data){
125
+            caseApplicationSelectById(data).then(res=>{
126
+                this.formData = res.data;
127
+            })
128
+        },
129
+        /** 获取已经预约的会议 */
130
+        reserveConferenceListFn(data){
131
+            reserveConferenceList(data).then(res=>{
132
+                console.log(res,"LLLLLLLLLLLLLLLLLLLLLLLLLLL");
133
+            })
134
+        },
135
+        cancel() {
136
+            this.$emit("cancelMediation");
137
+        },
138
+        submitMediation() {
139
+
140
+        }
141
+    },
142
+};
143
+</script>
144
+  
145
+<style lang="scss" scoped>
146
+.steps {
147
+    display: flex;
148
+    flex-wrap: wrap;
149
+}</style>

+ 10
- 0
src/views/caseManagement/components/selectMediator.vue Просмотреть файл

@@ -48,6 +48,7 @@
48 48
 <script>
49 49
 import { Message } from 'element-ui'
50 50
 import { listMediator,updateBooking } from '@/api/caseManagement/caseManagement.js'
51
+import { createRoomId } from '@/api/metting/metting.js'
51 52
 import moment from "moment";
52 53
 export default {
53 54
     props: ["mediatorVisable", "mediatorData","queryParams"],
@@ -104,6 +105,9 @@ export default {
104 105
                     userName:item.mediatorName
105 106
                 })
106 107
             })
108
+            await this.createRoomIdFn({
109
+                caseId:this.mediatorData.id
110
+            })
107 111
             await this.updateBookingFn({
108 112
                 id:this.mediatorData.id,
109 113
                 caseFlowId:this.mediatorData.caseFlowId,
@@ -118,6 +122,12 @@ export default {
118 122
                 this.$emit('getList', this.queryParams);
119 123
             })
120 124
         },
125
+        // 生成会议房间号
126
+        async createRoomIdFn(data){
127
+            await createRoomId(data).then(res=>{
128
+                console.log(res,"房间号");
129
+            })
130
+        },
121 131
         handleSelectionChange(val) {
122 132
             this.multipleSelection = val;
123 133
             // console.log(this.multipleSelection,"LLLLLLLLLLLLLLLLL");

+ 10
- 11
src/views/caseManagement/components/timeConfirm.vue Просмотреть файл

@@ -13,7 +13,7 @@
13 13
                     <div style="margin-top: 20px;margin-bottom: 20px;">时间</div>
14 14
                     <el-form label-position="right" label-width="80px" :model="formLabelAlign" :disabled="confirmShow">
15 15
                         <el-form-item label="时间">
16
-                            <el-date-picker v-if="!confirmShow" v-model="formLabelAlign.time[0]" type="datetime" placeholder="选择日期时间">
16
+                            <el-date-picker v-if="!confirmShow" v-model="formLabelAlign.name" type="datetime" placeholder="选择日期时间">
17 17
                             </el-date-picker>
18 18
                             <el-input v-else v-model="formLabelAlign.name"></el-input>
19 19
                         </el-form-item>
@@ -103,16 +103,16 @@ export default {
103 103
                     id: this.timeConfirmData.id,
104 104
                     caseFlowId: this.timeConfirmData.caseFlowId,
105 105
                     // userList: userArr,
106
-                    herDates: this.formLabelAlign.time
106
+                    herDates: [this.formLabelAlign.name]
107 107
                 })
108 108
             } else {
109
-                if (this.multipleSelection.length > 1) {
110
-                    Message.error('最多选择一名调解员');
111
-                    return
112
-                } else if (this.multipleSelection.length < 1) {
113
-                    Message.error('至少选择一名调解员');
114
-                    return
115
-                }
109
+                // if (this.multipleSelection.length > 1) {
110
+                //     Message.error('最多选择一名调解员');
111
+                //     return
112
+                // } else if (this.multipleSelection.length < 1) {
113
+                //     Message.error('至少选择一名调解员');
114
+                //     return
115
+                // }
116 116
                 if (this.formLabelAlign.time.length < 1) {
117 117
                     Message.error('至少选择一个时间');
118 118
                     return
@@ -132,8 +132,7 @@ export default {
132 132
                 this.verifyMediatorFn({
133 133
                     id: this.timeConfirmData.id,
134 134
                     caseFlowId: this.timeConfirmData.caseFlowId,
135
-                    // userList: this.mediatorArr,
136
-                    herDates: this.formLabelAlign.time
135
+                    herDates: [this.formLabelAlign.name]
137 136
                 })
138 137
             }
139 138
         },