Explorar el Código

仲裁员批量审核页面开发,和接口联调

gyj hace 2 años
padre
commit
e17dea52b1

+ 24
- 0
src/api/batchManagement/batchManagement.js Ver fichero

@@ -31,4 +31,28 @@ export function confirmPayBatch(data) {
31 31
       method: 'post',
32 32
       data: data
33 33
   })
34
+}
35
+//批量缴费总金额
36
+export function payListBatch(data) {
37
+  return request({
38
+      url: '/pay/listBatch',
39
+      method: 'post',
40
+      data: data
41
+  })
42
+}
43
+// 缴费支付二维码
44
+export function casePayBatch(data) {
45
+  return request({
46
+      url: '/pay/casePayBatch',
47
+      method: 'post',
48
+      data: data
49
+  })
50
+}
51
+// 批量缴费确认
52
+export function confirmBatch(data) {
53
+  return request({
54
+      url: '/pay/confirmBatch',
55
+      method: 'post',
56
+      data: data
57
+  })
34 58
 }

+ 32
- 9
src/views/batchManagement/batchManagList.vue Ver fichero

@@ -24,7 +24,7 @@
24 24
             <el-table-column label="申请人" align="center" prop="name" :show-overflow-tooltip="true" />
25 25
             <el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
26 26
             <el-table-column label="仲裁员" align="center" prop="arbitratorName" :show-overflow-tooltip="true" />
27
-            <el-table-column label="案件状态" align="center" prop="caseStatusName">
27
+            <el-table-column label="案件状态" align="center" prop="caseStatusName" :show-overflow-tooltip="true">
28 28
             <template slot-scope="scope">
29 29
             <el-tag type="success">{{ scope.row.caseStatusName}}</el-tag>
30 30
             </template>
@@ -42,7 +42,7 @@
42 42
                     <el-button size="mini" type="text" @click="batchWrittenReview(scope.row)">书面审理</el-button>
43 43
                     <el-button size="mini" type="text" @click="secretaryArbitration(scope.row)">秘书审核仲裁文书</el-button>
44 44
                     <el-button size="mini" type="text" @click="arbitratorsVerify(scope.row)">仲裁员核验仲裁文书</el-button>
45
-                    <el-button size="mini" type="text">部门长审核仲裁文书</el-button>
45
+                    <el-button size="mini" type="text" @click="departmentDocuments(scope.row)">部门长审核仲裁文书</el-button>
46 46
                     <el-button size="mini" type="text" @click="batchSignatures(scope.row)">签名</el-button>
47 47
                     <el-button size="mini" type="text" @click="batchPrintings(scope.row)">用印</el-button>
48 48
                     <el-button size="mini" type="text" @click="arbitrationAward(scope.row)">生成裁决书</el-button>
@@ -55,9 +55,9 @@
55 55
         @pagination="getList(queryParams)"
56 56
              />
57 57
         <!-- 缴费 -->
58
-        <batchPayment :caseVisablePay="caseVisablePay" @cancelCasePay="cancelCasePay" :batchPaymentValue="batchPaymentValue"></batchPayment>
58
+        <batchPayment :caseVisablePay="caseVisablePay" @cancelCasePay="cancelCasePay" :batchPaymentValue="batchPaymentValue" :totalFees="totalFees" :queryParams="queryParams" @getList="getList"></batchPayment>
59 59
         <!-- 缴费确认 -->
60
-        <paymentConfirmation :caseVisablePayment="caseVisablePayment" @cancelCasePayment="cancelCasePayment"></paymentConfirmation>
60
+        <paymentConfirmation :caseVisablePayment="caseVisablePayment" @cancelCasePayment="cancelCasePayment" :confirmPaymen="confirmPaymen" :queryParams="queryParams" @getList="getList" :totalFeeConfir="totalFeeConfir"></paymentConfirmation>
61 61
         <!-- 组庭审核 -->
62 62
         <courtReview :caseVisableReview="caseVisableReview" @cancelCaseReview="cancelCaseReview"></courtReview>
63 63
         <!-- 查看案件列表 -->
@@ -76,11 +76,14 @@
76 76
         <arbitratorsDocuments :caseVisableSecretary="caseVisableSecretary" @cancelCaseSecretary="cancelCaseSecretary"></arbitratorsDocuments>
77 77
         <!-- 仲裁员审核仲裁文书 -->
78 78
         <arbitratorsvVerify :caseVisablearBitration="caseVisablearBitration" @cancelCaseBitration="cancelCaseBitration"></arbitratorsvVerify>
79
+        <!-- 部门长审核仲裁文书 -->
80
+        <departmentReviews :caseVisablearHead="caseVisablearHead" @cancelCaseHead="cancelCaseHead"></departmentReviews>
79 81
     </div>    
80 82
 </template>
81 83
   
82 84
 <script>
83
-import {listBatch,submitCaseApplicationBatch} from '@/api/batchManagement/batchManagement.js'
85
+import {listBatch,submitCaseApplicationBatch,payListBatch} from '@/api/batchManagement/batchManagement.js'
86
+import { caseApplicationDetail } from "@/api/pay/pay";
84 87
 import batchPayment from './components/batchPayment.vue'
85 88
 import paymentConfirmation from './components/paymentConfirmation.vue'
86 89
 import courtReview from './components/courtReview.vue'
@@ -92,6 +95,7 @@ import batchPrinting from './components/batchPrinting.vue'
92 95
 import filingReview from './components/filingReview.vue'
93 96
 import arbitratorsDocuments from './components/arbitratorsDocuments.vue'
94 97
 import arbitratorsvVerify from './components/arbitratorsvVerify.vue'
98
+import departmentReviews from './components/departmentReviews.vue'
95 99
 export default {
96 100
     components: {
97 101
         batchPayment,
@@ -104,7 +108,8 @@ export default {
104 108
         batchPrinting,
105 109
         filingReview,
106 110
         arbitratorsDocuments,
107
-        arbitratorsvVerify
111
+        arbitratorsvVerify,
112
+        departmentReviews
108 113
         
109 114
     },
110 115
     data() {
@@ -119,6 +124,9 @@ export default {
119 124
             total: 0,
120 125
             filingFeviewbatchNumber:'',
121 126
             batchPaymentValue:{},
127
+            confirmPaymen:{},//批量确认缴费
128
+            totalFees:{},//缴费总金额
129
+            totalFeeConfir:{},//确认缴费总金额
122 130
             caseVisablePay: false,//批量缴费弹窗
123 131
             caseVisablePayment:false,//批量缴费确认
124 132
             caseVisableReview:false,//批量组庭审核
@@ -130,6 +138,7 @@ export default {
130 138
             caseVisableReviewF:false, //批量立案审查
131 139
             caseVisableSecretary:false,//秘书审核文书
132 140
             caseVisablearBitration:false,//仲裁员核查文书
141
+            caseVisablearHead:false,//部门长审核文书
133 142
             dataList: [],
134 143
             editData:{}
135 144
         };
@@ -184,14 +193,22 @@ export default {
184 193
         // 批量缴费
185 194
         batchPayments(row){
186 195
             this.batchPaymentValue = row
187
-            console.log(row)
196
+            let batchNumber = row.batchNumber.toString()
197
+            payListBatch({batchNumber:batchNumber}).then(res=>{
198
+                this.totalFees = res.data
199
+            })
188 200
             this.caseVisablePay = true
189 201
         },
190 202
         cancelCasePay(){
191 203
             this.caseVisablePay = false
192 204
         },
193 205
         // 批量缴费确认
194
-        paymentConfir(){
206
+        paymentConfir(row){
207
+            this.confirmPaymen = row
208
+            let batchNumber = row.batchNumber.toString()
209
+            payListBatch({batchNumber:batchNumber}).then(res=>{
210
+                this.totalFeeConfir = res.data
211
+            })
195 212
             this.caseVisablePayment = true
196 213
         },
197 214
         cancelCasePayment(){
@@ -284,8 +301,14 @@ export default {
284 301
         },
285 302
         cancelCaseBitration(){
286 303
             this.caseVisablearBitration = false
304
+        },
305
+        // 部门长审核仲裁文书
306
+        departmentDocuments(){
307
+            this.caseVisablearHead = true
308
+        },
309
+        cancelCaseHead(){
310
+             this.caseVisablearHead = false
287 311
         }
288
-        
289 312
     },
290 313
 };
291 314
 </script>

+ 2
- 1
src/views/batchManagement/components/arbitratorsvVerify.vue Ver fichero

@@ -3,7 +3,8 @@
3 3
         <!-- 仲裁员批量审核 -->
4 4
         <el-dialog title="仲裁员批量审核" :visible="caseVisablearBitration" destroy-on-close width="30%"  @close="cancel" center>
5 5
             <div slot="footer" class="dialog-footer">
6
-                <el-button type="primary"  class="endbutton"><span>确认</span></el-button>
6
+                <el-button type="primary"  class="endbutton"><span>同 意</span></el-button>
7
+                <el-button type="danger"  class="endbutton"><span>驳 回</span></el-button>
7 8
                 <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
8 9
             </div>
9 10
         </el-dialog>

+ 11
- 10
src/views/batchManagement/components/batchPayment.vue Ver fichero

@@ -3,7 +3,7 @@
3 3
     <el-dialog title="批量确认缴费" :visible="caseVisablePay" @close="payCancel" width="800px" append-to-body
4 4
       :destroy-on-close="true" center>
5 5
       <el-descriptions>
6
-        <el-descriptions-item label="案件总金额">1000</el-descriptions-item>
6
+        <el-descriptions-item label="案件总金额">{{totalFees.totalFee}}元</el-descriptions-item>
7 7
         <el-descriptions-item label="申请人">{{batchPaymentValue.name}}</el-descriptions-item>
8 8
       </el-descriptions>
9 9
       <div class="paySelectType">
@@ -43,11 +43,11 @@
43 43
 
44 44
 <script>
45 45
 import { casePay, confirmPayDig } from "@/api/pay/pay";
46
-import {confirmPayBatch} from '@/api/batchManagement/batchManagement.js'
46
+import {confirmPayBatch,casePayBatch} from '@/api/batchManagement/batchManagement.js'
47 47
 import QRCode from "qrcodejs2";
48 48
 import { getToken } from "@/utils/auth";
49 49
 export default {
50
-  props: ["caseVisablePay", "payForm", "queryParams","payId","batchPaymentValue"],
50
+  props: ["caseVisablePay", "payForm", "queryParams","payId","batchPaymentValue","totalFees"],
51 51
   data() {
52 52
     return {
53 53
       // key: value
@@ -98,11 +98,10 @@ export default {
98 98
       }
99 99
       let batchNumber = this.batchPaymentValue.batchNumber.toString()
100 100
       let submitForm =  Object.assign(this.submitForm,{batchNumber:batchNumber})
101
-      console.log(submitForm)
102 101
       confirmPayBatch(submitForm).then(res=>{
103
-        this.$modal.msgSuccess("成功");
102
+        this.$modal.msgSuccess("缴费成功");
104 103
         this.payCancel()
105
-        this.$emit("getcaseApply", this.queryParams);
104
+        this.$emit("getList", this.queryParams);
106 105
       })
107 106
     },
108 107
     handleRemove(file, fileList) {
@@ -129,7 +128,7 @@ export default {
129 128
     },
130 129
     // 支付
131 130
     pay(val) {
132
-      if (this.payForm.feePayable == 0 || !this.payForm.feePayable) {
131
+      if (this.totalFees.totalFee == 0 || !this.totalFees.totalFee) {
133 132
         this.$message({
134 133
           message: "此案件无需缴费",
135 134
           type: "error",
@@ -144,12 +143,14 @@ export default {
144 143
         payType = "alipay";
145 144
         this.payMain = "请使用支付宝扫二维码支付";
146 145
       }
147
-      casePay({
148
-        totalFee: this.payForm.feePayable * 100,
149
-        caseIds: [this.payForm.caseId],
146
+      let batchNumber = this.batchPaymentValue.batchNumber.toString()
147
+      casePayBatch({
148
+        totalFee: this.totalFees.totalFee*100,
149
+        batchNumber:batchNumber,
150 150
         tradeType: "native",
151 151
         platform: payType,
152 152
       }).then((res) => {
153
+        console.log(res)
153 154
         this.paySrc = res.data.code_url;
154 155
         this.qrcode(this.paySrc);
155 156
       });

+ 1
- 2
src/views/batchManagement/components/courtReview.vue Ver fichero

@@ -2,7 +2,7 @@
2 2
   <div>
3 3
     <!-- 组庭界面 -->
4 4
     <el-dialog
5
-      title="组庭建议"
5
+      title="批量组庭审核"
6 6
       :visible="caseVisableReview"
7 7
       v-if="caseVisableReview"
8 8
       @close="cancel"
@@ -98,7 +98,6 @@ export default {
98 98
   },
99 99
   watch: {
100 100
     caseVisableReview(val){
101
-      console.log(this.formateCourtData)
102 101
       this.Arbitor = ""
103 102
       if(val){
104 103
         this.isAgreePendTral = 1;

+ 45
- 0
src/views/batchManagement/components/departmentReviews.vue Ver fichero

@@ -0,0 +1,45 @@
1
+<template>
2
+    <div>
3
+        <!-- 部门长批量审核 -->
4
+        <el-dialog title="部门长批量审核" :visible="caseVisablearHead" destroy-on-close width="30%"  @close="cancel" center>
5
+            <div slot="footer" class="dialog-footer">
6
+                <el-button type="primary"  class="endbutton"><span>同 意</span></el-button>
7
+                <el-button type="danger"  class="endbutton"><span>驳 回</span></el-button>
8
+                <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
9
+            </div>
10
+        </el-dialog>
11
+    </div>
12
+</template>
13
+<script>
14
+export default {
15
+    props: ["caseVisablearHead","queryParams"],
16
+    dicts: ["manager_type"],
17
+    data() {
18
+        return {
19
+           
20
+           
21
+        };
22
+    },
23
+    watch: {
24
+        caseVisablearHead(val) {
25
+            if (val) {
26
+                this.ruleForm = {};
27
+            }
28
+        }
29
+    },
30
+    created() {
31
+
32
+    },
33
+    methods: {
34
+        cancel() {
35
+            this.$emit("cancelCaseHead");
36
+        },
37
+    },
38
+}
39
+</script>
40
+<style lang="scss" scoped>
41
+::v-deep .el-dialog {
42
+  background: #ffffff;
43
+  border-radius: 20px;
44
+}
45
+</style>

+ 12
- 4
src/views/batchManagement/components/paymentConfirmation.vue Ver fichero

@@ -3,19 +3,20 @@
3 3
         <!-- 批量缴费确认 -->
4 4
         <el-dialog title="批量缴费确认" :visible="caseVisablePayment" destroy-on-close @close="cancel" width="600px" center>
5 5
             <el-descriptions>
6
-                <el-descriptions-item label="案件总金额">1000</el-descriptions-item>
7
-                <el-descriptions-item label="申请人">xx</el-descriptions-item>
6
+                <el-descriptions-item label="案件总金额">{{totalFeeConfir.totalFee}}</el-descriptions-item>
7
+                <el-descriptions-item label="申请人">{{confirmPaymen.name}}</el-descriptions-item>
8 8
             </el-descriptions>
9 9
             <div slot="footer" class="dialog-footer">
10
-                <el-button type="primary"  class="endbutton"><span>确认</span></el-button>
10
+                <el-button type="primary"  class="endbutton" @click="confirmPayment"><span>缴费确认</span></el-button>
11 11
                 <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
12 12
             </div>
13 13
         </el-dialog>
14 14
     </div>
15 15
 </template>
16 16
 <script>
17
+import {confirmBatch} from '@/api/batchManagement/batchManagement.js'
17 18
 export default {
18
-    props: ["caseVisablePayment","queryParams"],
19
+    props: ["caseVisablePayment","queryParams","confirmPaymen","totalFeeConfir"],
19 20
     dicts: ["manager_type"],
20 21
     data() {
21 22
         return {
@@ -34,6 +35,13 @@ export default {
34 35
 
35 36
     },
36 37
     methods: {
38
+        confirmPayment(){
39
+            confirmBatch({batchNumber:this.confirmPaymen.batchNumber}).then(res=>{
40
+                this.$modal.msgSuccess("缴费确认成功");
41
+                this.cancel()
42
+                this.$emit("getList", this.queryParams);
43
+            })
44
+        },
37 45
         cancel() {
38 46
             this.$emit("cancelCasePayment");
39 47
         },