Explorar el Código

Merge branch 'hcb' of SH-Arbitrate/Mediation-Frontend into dev

hanchaobo hace 2 años
padre
commit
ed0cf608bc

+ 42
- 10
src/views/caseManagement/caseList.vue Ver fichero

33
         </el-form>
33
         </el-form>
34
         <el-row :gutter="10" class="mb8">
34
         <el-row :gutter="10" class="mb8">
35
             <el-col :span="1.5">
35
             <el-col :span="1.5">
36
-                <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="addCase(2)">新增案件</el-button>
36
+                <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="addCase()">新增案件</el-button>
37
             </el-col>
37
             </el-col>
38
             <el-col :span="1.5">
38
             <el-col :span="1.5">
39
                 <el-button type="primary" plain icon="el-icon-plus" size="mini"
39
                 <el-button type="primary" plain icon="el-icon-plus" size="mini"
60
             <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
60
             <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
61
                 <template slot-scope="scope">
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
-                    <el-button size="mini" @click="eidtNodeprocess(scope.row,1)" type="text"
63
+                    <el-button size="mini" @click="eidtNodeprocess(scope.row)" type="text"
64
                         icon="el-icon-edit" v-hasPermi="['caseManagement:list:edit']">修改</el-button>
64
                         icon="el-icon-edit" v-hasPermi="['caseManagement:list:edit']">修改</el-button>
65
                     <el-button size="mini" @click="checkDetail(scope.row)" type="text" icon="el-icon-view">查看详情</el-button>
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> -->
66
                     <!-- <el-button size="mini" @click="consultantApplica(scope.row)" type="text" icon="el-icon-tickets">法律顾问用印申请</el-button> -->
116
         <!-- 案件受理 -->
116
         <!-- 案件受理 -->
117
         <caseAcceptance :showAcceptance="showAcceptance" @cancelAcceptance="cancelAcceptance"
117
         <caseAcceptance :showAcceptance="showAcceptance" @cancelAcceptance="cancelAcceptance"
118
             :caseAcceptanceData="caseAcceptanceData" @getList="getList"></caseAcceptance>
118
             :caseAcceptanceData="caseAcceptanceData" @getList="getList"></caseAcceptance>
119
+        <!-- 被申请人缴费 -->
120
+        <respondentPay :openResPay="openResPay" :resPayTitle="resPayTitle" :formResPayDetail="formResPayDetail" :resPayId="resPayId" :resPayForm="resPayForm"
121
+            :queryParams="queryParams" @getList="getList" @paycancelRes="paycancelRes" :formResPay="formResPay"></respondentPay>    
119
         <!-- 调解员弹窗 -->
122
         <!-- 调解员弹窗 -->
120
         <selectMediator @cancelMediator="cancelMediator" :mediatorVisable="mediatorVisable" :mediatorData="mediatorData"
123
         <selectMediator @cancelMediator="cancelMediator" :mediatorVisable="mediatorVisable" :mediatorData="mediatorData"
121
             @getList="getList" :queryParams="queryParams"></selectMediator>
124
             @getList="getList" :queryParams="queryParams"></selectMediator>
149
 import mediationCaseDetails from './components/mediationCaseDetails.vue'
152
 import mediationCaseDetails from './components/mediationCaseDetails.vue'
150
 import mediationCaseLog from './components/mediationCaseLog.vue'
153
 import mediationCaseLog from './components/mediationCaseLog.vue'
151
 import payDialog from "./components/payDialog.vue";
154
 import payDialog from "./components/payDialog.vue";
155
+import respondentPay from "./components/respondentPay.vue"
152
 import paymentdetailsDialog from './components/paymentdetailsDialog.vue'
156
 import paymentdetailsDialog from './components/paymentdetailsDialog.vue'
153
 import caseAcceptance from './components/caseAcceptance.vue'
157
 import caseAcceptance from './components/caseAcceptance.vue'
154
 import selectMediator from './components/selectMediator.vue'
158
 import selectMediator from './components/selectMediator.vue'
176
         timeConfirm,
180
         timeConfirm,
177
         mediation,
181
         mediation,
178
         confirmMediation,
182
         confirmMediation,
179
-        caseFilingDetailsPage
183
+        caseFilingDetailsPage,
184
+        respondentPay
180
     },
185
     },
181
     data() {
186
     data() {
182
         return {
187
         return {
195
             dataList: [],
200
             dataList: [],
196
             addVisable: false,//新增弹窗
201
             addVisable: false,//新增弹窗
197
             openPay: false, //缴费弹框
202
             openPay: false, //缴费弹框
203
+            openResPay:false,//被申请人缴费弹窗
198
             formPayDetail: {},
204
             formPayDetail: {},
205
+            formResPayDetail:{},
199
             payId: null,
206
             payId: null,
207
+            resPayId:null,
200
             payForm: {},
208
             payForm: {},
209
+            resPayForm:{},
201
             openCompressedPackages: false,//压缩包导入弹窗
210
             openCompressedPackages: false,//压缩包导入弹窗
202
             processVisable: false,//案件详情
211
             processVisable: false,//案件详情
203
             showcaseLog: false,//案件日志
212
             showcaseLog: false,//案件日志
207
             mediationVisable:false,//待调解弹窗
216
             mediationVisable:false,//待调解弹窗
208
             mediationData:{},
217
             mediationData:{},
209
             payTitle:"",//缴费标题
218
             payTitle:"",//缴费标题
219
+            resPayTitle:'',//被申请人缴费标题
210
             paymentConfirma:{},//缴费确认
220
             paymentConfirma:{},//缴费确认
211
             showAcceptance:false,//案件受理弹框
221
             showAcceptance:false,//案件受理弹框
212
             caseAcceptanceData:{},//案件受理数据
222
             caseAcceptanceData:{},//案件受理数据
222
             detailsAwardNum:{},
232
             detailsAwardNum:{},
223
             flagLoadingS: true,
233
             flagLoadingS: true,
224
             formPayDetailAffiliate:{},
234
             formPayDetailAffiliate:{},
235
+            formResPay:{},
225
             mediatorData:{},
236
             mediatorData:{},
226
             flag: null,
237
             flag: null,
227
             caseData: {},
238
             caseData: {},
254
             }else if(type == 2){
265
             }else if(type == 2){
255
                 // 缴费
266
                 // 缴费
256
                 this.payStatus(val);
267
                 this.payStatus(val);
257
-            }else if(type == 3){
268
+            }else if(type == 3 || type == 45){
258
                 // 确认缴费
269
                 // 确认缴费
259
                 this.paymentconfirmationRow(val);
270
                 this.paymentconfirmationRow(val);
260
             }else if(type == 4){
271
             }else if(type == 4){
297
                 this.receivedMediation(val)
308
                 this.receivedMediation(val)
298
             }else if(type == 17){
309
             }else if(type == 17){
299
                 //结束
310
                 //结束
311
+            }else if(type == 44){
312
+                // 被申请人缴费
313
+                this.resPayStatus(val)
300
             }
314
             }
301
         },
315
         },
302
         /**查询按钮列表 */
316
         /**查询按钮列表 */
313
             })
327
             })
314
         },
328
         },
315
         /** 新增案件 */
329
         /** 新增案件 */
316
-        addCase(val) {
317
-            this.addModifyData =val;
330
+        addCase() {
331
+            this.addModifyData =1;
318
             this.addVisable = true;
332
             this.addVisable = true;
319
             this.caseData = {};
333
             this.caseData = {};
320
             this.caseDisabled = false;
334
             this.caseDisabled = false;
322
         },
336
         },
323
         /** 查看详情 */
337
         /** 查看详情 */
324
         checkDetail(val) {
338
         checkDetail(val) {
339
+            this.addModifyData =2;
325
             this.addVisable = true;
340
             this.addVisable = true;
326
             this.caseData = val;
341
             this.caseData = val;
327
-            this.$set(this.caseData,'flag',1)
328
             this.caseDisabled = true;
342
             this.caseDisabled = true;
329
             this.tabFlag = true;
343
             this.tabFlag = true;
330
         },
344
         },
331
         /** 修改案件 */
345
         /** 修改案件 */
332
         eidtNodeprocess(row,val) {
346
         eidtNodeprocess(row,val) {
333
-            console.log(row,val)
334
-            this.addModifyData = val
347
+            this.addModifyData = 3
335
             this.addVisable = true;
348
             this.addVisable = true;
336
             this.caseData = row;
349
             this.caseData = row;
337
             this.$set(this.caseData,'flag',2)
350
             this.$set(this.caseData,'flag',2)
345
         /** 缴费 */
358
         /** 缴费 */
346
         payStatus(val) {
359
         payStatus(val) {
347
             this.getDetail({ id: val.id });
360
             this.getDetail({ id: val.id });
348
-            this.payTitle = "缴费";
361
+            this.payTitle = "申请人缴费";
349
             this.payId = val.id;
362
             this.payId = val.id;
350
             this.openPay = true;
363
             this.openPay = true;
351
         },
364
         },
365
+        /** 被申请人缴费 */
366
+        resPayStatus(val) {
367
+            this.getResDetail({ id: val.id });
368
+            this.resPayTitle = "被申请人缴费";
369
+            this.resPayId = val.id;
370
+            this.openResPay = true;
371
+        },
352
         /** 列表提交立案 */
372
         /** 列表提交立案 */
353
         onsubmitRow(row) {
373
         onsubmitRow(row) {
354
             this.$modal
374
             this.$modal
389
                 this.payForm.caseId = res.data.id;
409
                 this.payForm.caseId = res.data.id;
390
             });
410
             });
391
         },
411
         },
412
+        getResDetail(parms) {
413
+            caseApplicationSelectById(parms).then((res) => {
414
+                this.formResPayDetail = res.data;
415
+                this.formResPay = res.data.affiliate;
416
+                this.resPayForm.feePayable = res.data.feePayable;
417
+                this.resPayForm.caseId = res.data.id;
418
+            });
419
+        },
392
         /** 确认调解员 */
420
         /** 确认调解员 */
393
         secretaryConfirm(val) {
421
         secretaryConfirm(val) {
394
             this.confirmVisable = true;
422
             this.confirmVisable = true;
446
         paycancelRow(row) {
474
         paycancelRow(row) {
447
             this.openPay = false;
475
             this.openPay = false;
448
         },
476
         },
477
+        /**被申请人取消缴费*/
478
+        paycancelRes(row) {
479
+            this.openResPay = false;
480
+        },
449
         /** 取消调解员弹窗 */
481
         /** 取消调解员弹窗 */
450
         cancelMediator() {
482
         cancelMediator() {
451
             this.mediatorVisable = false;
483
             this.mediatorVisable = false;

+ 285
- 549
src/views/caseManagement/components/addCase.vue
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 37
- 26
src/views/caseManagement/components/caseAcceptance.vue Ver fichero

1
 <template>
1
 <template>
2
   <div>
2
   <div>
3
     <!-- 案件受理 -->
3
     <!-- 案件受理 -->
4
-    <el-dialog
5
-      title="案件受理"
6
-      :visible="showAcceptance"
7
-      @close="cancel"
8
-      :destroy-on-close="true"
9
-      center
10
-    >
4
+    <el-dialog title="案件受理" :visible="showAcceptance" @close="cancel" :destroy-on-close="true" center>
11
       <el-form ref="courtReviewform" :model="courtReviewform">
5
       <el-form ref="courtReviewform" :model="courtReviewform">
12
-        <el-form-item label="调解方式:">
6
+        <el-form-item label="是否同意受理:">
7
+          <el-radio-group v-model="courtReviewform.agreeFlag">
8
+            <el-radio :label="1">是</el-radio>
9
+            <el-radio :label="0">否</el-radio>
10
+          </el-radio-group>
11
+        </el-form-item>
12
+        <el-form-item label="调解方式:" v-if="courtReviewform.agreeFlag == 1">
13
           <el-radio-group v-model="courtReviewform.mediationMethod">
13
           <el-radio-group v-model="courtReviewform.mediationMethod">
14
             <el-radio :label="1">开庭调解</el-radio>
14
             <el-radio :label="1">开庭调解</el-radio>
15
             <el-radio :label="2">线下调解</el-radio>
15
             <el-radio :label="2">线下调解</el-radio>
16
           </el-radio-group>
16
           </el-radio-group>
17
         </el-form-item>
17
         </el-form-item>
18
-        <el-form-item label="是否纸质送达:">
18
+        <el-form-item label="是否纸质送达:" v-if="courtReviewform.agreeFlag == 1">
19
           <el-radio-group v-model="courtReviewform.paperFlag">
19
           <el-radio-group v-model="courtReviewform.paperFlag">
20
             <el-radio :label="1">是</el-radio>
20
             <el-radio :label="1">是</el-radio>
21
             <el-radio :label="0">否</el-radio>
21
             <el-radio :label="0">否</el-radio>
22
           </el-radio-group>
22
           </el-radio-group>
23
         </el-form-item>
23
         </el-form-item>
24
-        <el-form-item label="是否仲裁确认:">
24
+        <el-form-item label="是否仲裁确认:" v-if="courtReviewform.agreeFlag == 1" >
25
           <el-radio-group v-model="courtReviewform.arbitrateConfirm">
25
           <el-radio-group v-model="courtReviewform.arbitrateConfirm">
26
             <el-radio :label="1">是</el-radio>
26
             <el-radio :label="1">是</el-radio>
27
             <el-radio :label="0">否</el-radio>
27
             <el-radio :label="0">否</el-radio>
28
           </el-radio-group>
28
           </el-radio-group>
29
         </el-form-item>
29
         </el-form-item>
30
+        <el-form-item v-if="courtReviewform.agreeFlag == 0" label="拒绝理由:" prop="rejectReason" :rules="[
31
+          {
32
+            required: true,
33
+            message: '拒绝理由不能为空',
34
+            trigger: 'blur',
35
+          },
36
+        ]">
37
+          <el-input v-model="courtReviewform.rejectReason" type="textarea" :rows="8" />
38
+        </el-form-item>
30
       </el-form>
39
       </el-form>
31
       <div slot="footer" class="dialog-footer">
40
       <div slot="footer" class="dialog-footer">
32
         <el-button type="primary" @click="submitForm" class="endbutton"><span>确 定</span></el-button>
41
         <el-button type="primary" @click="submitForm" class="endbutton"><span>确 定</span></el-button>
37
 </template>
46
 </template>
38
 
47
 
39
 <script>
48
 <script>
40
-import {accept} from '@/api/caseManagement/caseManagement.js'
49
+import { accept } from '@/api/caseManagement/caseManagement.js'
41
 export default {
50
 export default {
42
   name: "caseAcceptance",
51
   name: "caseAcceptance",
43
-  props: ["showAcceptance", "caseAcceptanceData", "getList","queryParams"],
52
+  props: ["showAcceptance", "caseAcceptanceData", "getList", "queryParams"],
44
   data() {
53
   data() {
45
     return {
54
     return {
46
       courtReviewform: {
55
       courtReviewform: {
47
-         mediationMethod:2,
48
-         paperFlag:0,
49
-         arbitrateConfirm:0
56
+        mediationMethod: 2,
57
+        paperFlag: 0,
58
+        arbitrateConfirm: 0,
59
+        agreeFlag: 0
50
       },
60
       },
51
     };
61
     };
52
   },
62
   },
61
     submitForm() {
71
     submitForm() {
62
       this.$refs["courtReviewform"].validate((valid) => {
72
       this.$refs["courtReviewform"].validate((valid) => {
63
         if (valid) {
73
         if (valid) {
64
-        let paramsdata ={
65
-            id:this.caseAcceptanceData.id,
66
-            caseFlowId:this.caseAcceptanceData.caseFlowId,
67
-            batchNumber:""
68
-        }
69
-        let mergeValue = Object.assign({}, this.courtReviewform, paramsdata)
74
+          let paramsdata = {
75
+            id: this.caseAcceptanceData.id,
76
+            caseFlowId: this.caseAcceptanceData.caseFlowId,
77
+            batchNumber: ""
78
+          }
79
+          let mergeValue = Object.assign({}, this.courtReviewform, paramsdata)
70
           accept(mergeValue).then((res) => {
80
           accept(mergeValue).then((res) => {
71
-              this.$modal.msgSuccess("确认成功");
72
-              this.$emit("getList",this.queryParams)
73
-              this.cancel();
74
-            })
75
-            .catch((err) => {});
81
+            this.$modal.msgSuccess("确认成功");
82
+            this.$emit("getList", this.queryParams)
83
+            this.cancel();
84
+          })
85
+            .catch((err) => { });
76
         }
86
         }
77
       });
87
       });
78
     },
88
     },
127
     // line-height: 48px;
137
     // line-height: 48px;
128
   }
138
   }
129
 }
139
 }
140
+
130
 .nowarbitrator {
141
 .nowarbitrator {
131
   margin-left: 10%;
142
   margin-left: 10%;
132
 }
143
 }

+ 1
- 0
src/views/caseManagement/components/paymentdetailsDialog.vue Ver fichero

42
     detailform: {
42
     detailform: {
43
       handler(val) {
43
       handler(val) {
44
         if (val) {
44
         if (val) {
45
+          console.log(val,"PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP");
45
           this.form = val;
46
           this.form = val;
46
         }
47
         }
47
       },
48
       },

+ 252
- 0
src/views/caseManagement/components/respondentPay.vue Ver fichero

1
+<template>
2
+    <div>
3
+      <el-dialog :title="resPayTitle" v-if="openResPay" :visible="openResPay" @close="payCancel" width="800px" append-to-body
4
+        :destroy-on-close="true" center>
5
+        <el-descriptions title="订单信息">
6
+          <el-descriptions-item label="案件编号">{{
7
+            formResPayDetail.caseNum
8
+          }}</el-descriptions-item>
9
+          <el-descriptions-item label="申请人">{{
10
+            formResPay.applicationName || ''
11
+          }}</el-descriptions-item>
12
+          <el-descriptions-item label="案件标的">{{
13
+            formResPayDetail.caseSubjectAmount
14
+          }}</el-descriptions-item>
15
+          <el-descriptions-item label="案件应缴费用">{{
16
+            formResPayDetail.feePayable
17
+          }}</el-descriptions-item>
18
+          <el-descriptions-item label="被申请人">{{
19
+            formResPay.respondentName
20
+          }}</el-descriptions-item>
21
+          <el-descriptions-item label="案件状态">
22
+            <el-tag size="mini" type='danger' effect="dark">
23
+              {{ formResPayDetail.caseStatusName }}
24
+            </el-tag>
25
+          </el-descriptions-item>
26
+        </el-descriptions>
27
+        <div class="paySelectType">
28
+          <el-radio-group v-model="paySelect" @input="changPayType">
29
+            <el-radio :label="0">线上支付</el-radio>
30
+            <el-radio :label="1">线下支付</el-radio>
31
+          </el-radio-group>
32
+        </div>
33
+        <div class="payupload">
34
+          <span>上传支付凭证:</span>
35
+          <div class="uploadBtn">
36
+            <el-upload class="upload-demo" ref="upload" :action="UploadUrl()" :headers="headers" :data="filedata"
37
+              :on-preview="handlePreview" :on-remove="handleRemove" :on-change="beforeUpload"  :on-success="handlSuccess" :file-list="fileList"
38
+             >
39
+              <el-button slot="trigger" size="small" type="primary">选取文件</el-button>
40
+              <!-- <el-button style="margin-left: 10px;" size="small" type="success" @click="submitUpload">上传到服务器</el-button> -->
41
+              <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div>
42
+            </el-upload>
43
+          </div>
44
+        </div>
45
+        <div class="payType" v-if="paySelect == 0">
46
+          <span>请选择支付方式:</span>
47
+          <i class="iconfont icon-weixinzhifu" @click="pay(0)"></i>
48
+          <i class="iconfont icon-zhifubao" @click="pay(1)"></i>
49
+        </div>
50
+        <div class="payImg">
51
+          <div id="qrcodeImg"></div>
52
+        </div>
53
+        <div class="resPayTitle">{{ payMain }}</div>
54
+        <div slot="footer" class="dialog-footer">
55
+          <el-button @click="payCancel" class="endbutton" round><span>取 消</span></el-button>
56
+          <el-button @click="submitUpload" class="endbutton" type="primary" round><span>确认缴费</span></el-button>
57
+        </div>
58
+      </el-dialog>
59
+    </div>
60
+  </template>
61
+  
62
+  <script>
63
+  import { casePay, confirmPayDig } from "@/api/pay/pay";
64
+  import QRCode from "qrcodejs2";
65
+  import { getToken } from "@/utils/auth";
66
+  export default {
67
+    props: ["openResPay", "resPayTitle", "formResPayDetail", "resPayForm", "queryParams","resPayId","formResPay"],
68
+    data() {
69
+      return {
70
+        // key: value
71
+        // 支付文字
72
+        payMain: "",
73
+        timer: null,
74
+        paySelect: 1,//支付线上/线下
75
+        fileList: [],
76
+        headers: {
77
+          Authorization: "Bearer " + getToken(),
78
+        },
79
+        filedata: {
80
+          annexType: 9,
81
+        },
82
+        submitForm:{
83
+          payType:1,
84
+          payOrderList:[],
85
+          caseId:null
86
+        }
87
+      };
88
+    },
89
+    methods: {
90
+      UploadUrl() {
91
+        return window.location.origin + "/API/common/upload";
92
+      },
93
+      //选择支付方式(线上,线下)
94
+      changPayType(data) {
95
+        if(data == 1){
96
+          document.getElementById("qrcodeImg").innerHTML = "";
97
+          this.payMain = ""
98
+        }
99
+        this.submitForm.payType = data;
100
+      },
101
+      beforeUpload(flie, fileList) {
102
+        this.fileList = fileList;
103
+      },
104
+      // 文件上传成功
105
+      handlSuccess(res, file) {
106
+        this.submitForm.payOrderList.push({
107
+          annexId: res.annexId,
108
+          annexName:res.annexName
109
+        });
110
+      },
111
+      submitUpload() {
112
+        if (this.fileList.length < 1) {
113
+          this.$modal.msgError("请上传缴费凭证");
114
+          return
115
+        }
116
+        this.submitForm.caseFlowId = this.formResPayDetail.caseFlowId;
117
+        confirmPayDig(this.submitForm).then(res=>{
118
+          this.$modal.msgSuccess("成功");
119
+          this.payCancel()
120
+          this.$emit("getList", this.queryParams);
121
+        })
122
+      },
123
+      handleRemove(file, fileList) {
124
+        (this.submitForm.payOrderList = []),
125
+        fileList.forEach((item) => {
126
+            this.submitForm.payOrderList.push({ annexId:item.response.data.annexId,annexName:item.response.data.annexName });
127
+          });
128
+      },
129
+      handlePreview(file) {
130
+      },
131
+      // 生成二维码
132
+      qrcode(url) {
133
+        // 前端根据 URL 生成微信支付二维码
134
+        document.getElementById("qrcodeImg").innerHTML = "";
135
+        return new QRCode("qrcodeImg", {
136
+          width: 200,
137
+          height: 200,
138
+          text: url,
139
+          colorDark: "#000",
140
+          colorLight: "#fff",
141
+        });
142
+      },
143
+      // 支付
144
+      pay(val) {
145
+        if (this.resPayForm.feePayable == 0 || !this.resPayForm.feePayable) {
146
+          this.$message({
147
+            message: "此案件无需缴费",
148
+            type: "error",
149
+          });
150
+          return;
151
+        }
152
+        let payType = "";
153
+        if (val == 0) {
154
+          payType = "wxpay";
155
+          this.payMain = "请使用微信扫二维码支付";
156
+        } else if (val == 1) {
157
+          payType = "alipay";
158
+          this.payMain = "请使用支付宝扫二维码支付";
159
+        }
160
+        casePay({
161
+          totalFee: this.resPayForm.feePayable * 100,
162
+          caseId: this.resPayForm.caseId,
163
+          tradeType: "native",
164
+          platform: payType,
165
+        }).then((res) => {
166
+          this.paySrc = res.data.code_url;
167
+          this.qrcode(this.paySrc);
168
+        });
169
+      },
170
+      payCancel() {
171
+        this.$emit("paycancelRes");
172
+        this.payMain = "";
173
+      },
174
+    },
175
+    watch:{
176
+      openResPay(val){
177
+        if(val){
178
+        this.submitForm.payOrderList = []
179
+        this.paySelect = 1;
180
+        this.fileList = [];
181
+        this.filedata.id = this.resPayId;
182
+        this.submitForm.caseId = this.resPayId;
183
+        }
184
+      }
185
+    }
186
+  };
187
+  </script>
188
+  
189
+  <style lang="scss" scoped>
190
+  .payType {
191
+    height: 80px;
192
+    line-height: 80px;
193
+    display: flex;
194
+  
195
+    .icon-weixinzhifu {
196
+      font-size: 24px;
197
+      color: #27a56f;
198
+      margin-right: 15px;
199
+    }
200
+  
201
+    .icon-zhifubao {
202
+      font-size: 24px;
203
+      color: #1d76cc;
204
+    }
205
+  }
206
+  
207
+  .paySelectType {
208
+    margin-top: 20px;
209
+    margin-bottom: 20px;
210
+  }
211
+  
212
+  .payupload {
213
+    display: flex;
214
+  
215
+    .uploadBtn {}
216
+  }
217
+  
218
+  .payImg {
219
+    width: 100%;
220
+    display: flex;
221
+    justify-content: center;
222
+  }
223
+  
224
+  .resPayTitle {
225
+    margin-top: 20px;
226
+    width: 100%;
227
+    text-align: center;
228
+  }
229
+  
230
+  ::v-deep .el-dialog {
231
+    width: 800px;
232
+    background: #ffffff;
233
+    border-radius: 20px;
234
+  }
235
+  
236
+  .endbutton {
237
+    width: 154px;
238
+    height: 37px;
239
+    background: #ffffff;
240
+    border: 1px solid #d0d0d0;
241
+    border-radius: 19px;
242
+  
243
+    span {
244
+      width: 31px;
245
+      height: 13px;
246
+      font-size: 16px;
247
+      font-family: Microsoft YaHei;
248
+      font-weight: 400;
249
+      color: #959595;
250
+    }
251
+  }
252
+  </style>

+ 3
- 6
src/views/caseManagement/components/timeConfirm.vue Ver fichero

86
                 Message.error('请选择时间');
86
                 Message.error('请选择时间');
87
                 return
87
                 return
88
             }
88
             }
89
-            this.formLabelAlign.time.forEach(item => {
90
-                item = moment(
91
-                    item
92
-                ).format("YYYY-MM-DD HH:mm:ss");
93
-                this.formTimeArr.push(item)
94
-            })
89
+            this.formLabelAlign.name = moment(
90
+                this.formLabelAlign.name
91
+            ).format("YYYY-MM-DD HH:mm:ss");
95
             this.verifyMediatorFn({
92
             this.verifyMediatorFn({
96
                 id: this.timeConfirmData.id,
93
                 id: this.timeConfirmData.id,
97
                 caseFlowId: this.timeConfirmData.caseFlowId,
94
                 caseFlowId: this.timeConfirmData.caseFlowId,