Просмотр исходного кода

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

gyj 2 лет назад
Родитель
Сommit
e17dea52b1

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

31
       method: 'post',
31
       method: 'post',
32
       data: data
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 Просмотреть файл

24
             <el-table-column label="申请人" align="center" prop="name" :show-overflow-tooltip="true" />
24
             <el-table-column label="申请人" align="center" prop="name" :show-overflow-tooltip="true" />
25
             <el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
25
             <el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
26
             <el-table-column label="仲裁员" align="center" prop="arbitratorName" :show-overflow-tooltip="true" />
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
             <template slot-scope="scope">
28
             <template slot-scope="scope">
29
             <el-tag type="success">{{ scope.row.caseStatusName}}</el-tag>
29
             <el-tag type="success">{{ scope.row.caseStatusName}}</el-tag>
30
             </template>
30
             </template>
42
                     <el-button size="mini" type="text" @click="batchWrittenReview(scope.row)">书面审理</el-button>
42
                     <el-button size="mini" type="text" @click="batchWrittenReview(scope.row)">书面审理</el-button>
43
                     <el-button size="mini" type="text" @click="secretaryArbitration(scope.row)">秘书审核仲裁文书</el-button>
43
                     <el-button size="mini" type="text" @click="secretaryArbitration(scope.row)">秘书审核仲裁文书</el-button>
44
                     <el-button size="mini" type="text" @click="arbitratorsVerify(scope.row)">仲裁员核验仲裁文书</el-button>
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
                     <el-button size="mini" type="text" @click="batchSignatures(scope.row)">签名</el-button>
46
                     <el-button size="mini" type="text" @click="batchSignatures(scope.row)">签名</el-button>
47
                     <el-button size="mini" type="text" @click="batchPrintings(scope.row)">用印</el-button>
47
                     <el-button size="mini" type="text" @click="batchPrintings(scope.row)">用印</el-button>
48
                     <el-button size="mini" type="text" @click="arbitrationAward(scope.row)">生成裁决书</el-button>
48
                     <el-button size="mini" type="text" @click="arbitrationAward(scope.row)">生成裁决书</el-button>
55
         @pagination="getList(queryParams)"
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
         <courtReview :caseVisableReview="caseVisableReview" @cancelCaseReview="cancelCaseReview"></courtReview>
62
         <courtReview :caseVisableReview="caseVisableReview" @cancelCaseReview="cancelCaseReview"></courtReview>
63
         <!-- 查看案件列表 -->
63
         <!-- 查看案件列表 -->
76
         <arbitratorsDocuments :caseVisableSecretary="caseVisableSecretary" @cancelCaseSecretary="cancelCaseSecretary"></arbitratorsDocuments>
76
         <arbitratorsDocuments :caseVisableSecretary="caseVisableSecretary" @cancelCaseSecretary="cancelCaseSecretary"></arbitratorsDocuments>
77
         <!-- 仲裁员审核仲裁文书 -->
77
         <!-- 仲裁员审核仲裁文书 -->
78
         <arbitratorsvVerify :caseVisablearBitration="caseVisablearBitration" @cancelCaseBitration="cancelCaseBitration"></arbitratorsvVerify>
78
         <arbitratorsvVerify :caseVisablearBitration="caseVisablearBitration" @cancelCaseBitration="cancelCaseBitration"></arbitratorsvVerify>
79
+        <!-- 部门长审核仲裁文书 -->
80
+        <departmentReviews :caseVisablearHead="caseVisablearHead" @cancelCaseHead="cancelCaseHead"></departmentReviews>
79
     </div>    
81
     </div>    
80
 </template>
82
 </template>
81
   
83
   
82
 <script>
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
 import batchPayment from './components/batchPayment.vue'
87
 import batchPayment from './components/batchPayment.vue'
85
 import paymentConfirmation from './components/paymentConfirmation.vue'
88
 import paymentConfirmation from './components/paymentConfirmation.vue'
86
 import courtReview from './components/courtReview.vue'
89
 import courtReview from './components/courtReview.vue'
92
 import filingReview from './components/filingReview.vue'
95
 import filingReview from './components/filingReview.vue'
93
 import arbitratorsDocuments from './components/arbitratorsDocuments.vue'
96
 import arbitratorsDocuments from './components/arbitratorsDocuments.vue'
94
 import arbitratorsvVerify from './components/arbitratorsvVerify.vue'
97
 import arbitratorsvVerify from './components/arbitratorsvVerify.vue'
98
+import departmentReviews from './components/departmentReviews.vue'
95
 export default {
99
 export default {
96
     components: {
100
     components: {
97
         batchPayment,
101
         batchPayment,
104
         batchPrinting,
108
         batchPrinting,
105
         filingReview,
109
         filingReview,
106
         arbitratorsDocuments,
110
         arbitratorsDocuments,
107
-        arbitratorsvVerify
111
+        arbitratorsvVerify,
112
+        departmentReviews
108
         
113
         
109
     },
114
     },
110
     data() {
115
     data() {
119
             total: 0,
124
             total: 0,
120
             filingFeviewbatchNumber:'',
125
             filingFeviewbatchNumber:'',
121
             batchPaymentValue:{},
126
             batchPaymentValue:{},
127
+            confirmPaymen:{},//批量确认缴费
128
+            totalFees:{},//缴费总金额
129
+            totalFeeConfir:{},//确认缴费总金额
122
             caseVisablePay: false,//批量缴费弹窗
130
             caseVisablePay: false,//批量缴费弹窗
123
             caseVisablePayment:false,//批量缴费确认
131
             caseVisablePayment:false,//批量缴费确认
124
             caseVisableReview:false,//批量组庭审核
132
             caseVisableReview:false,//批量组庭审核
130
             caseVisableReviewF:false, //批量立案审查
138
             caseVisableReviewF:false, //批量立案审查
131
             caseVisableSecretary:false,//秘书审核文书
139
             caseVisableSecretary:false,//秘书审核文书
132
             caseVisablearBitration:false,//仲裁员核查文书
140
             caseVisablearBitration:false,//仲裁员核查文书
141
+            caseVisablearHead:false,//部门长审核文书
133
             dataList: [],
142
             dataList: [],
134
             editData:{}
143
             editData:{}
135
         };
144
         };
184
         // 批量缴费
193
         // 批量缴费
185
         batchPayments(row){
194
         batchPayments(row){
186
             this.batchPaymentValue = row
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
             this.caseVisablePay = true
200
             this.caseVisablePay = true
189
         },
201
         },
190
         cancelCasePay(){
202
         cancelCasePay(){
191
             this.caseVisablePay = false
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
             this.caseVisablePayment = true
212
             this.caseVisablePayment = true
196
         },
213
         },
197
         cancelCasePayment(){
214
         cancelCasePayment(){
284
         },
301
         },
285
         cancelCaseBitration(){
302
         cancelCaseBitration(){
286
             this.caseVisablearBitration = false
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
 </script>
314
 </script>

+ 2
- 1
src/views/batchManagement/components/arbitratorsvVerify.vue Просмотреть файл

3
         <!-- 仲裁员批量审核 -->
3
         <!-- 仲裁员批量审核 -->
4
         <el-dialog title="仲裁员批量审核" :visible="caseVisablearBitration" destroy-on-close width="30%"  @close="cancel" center>
4
         <el-dialog title="仲裁员批量审核" :visible="caseVisablearBitration" destroy-on-close width="30%"  @close="cancel" center>
5
             <div slot="footer" class="dialog-footer">
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
                 <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
8
                 <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
8
             </div>
9
             </div>
9
         </el-dialog>
10
         </el-dialog>

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

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

+ 1
- 2
src/views/batchManagement/components/courtReview.vue Просмотреть файл

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

+ 45
- 0
src/views/batchManagement/components/departmentReviews.vue Просмотреть файл

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 Просмотреть файл

3
         <!-- 批量缴费确认 -->
3
         <!-- 批量缴费确认 -->
4
         <el-dialog title="批量缴费确认" :visible="caseVisablePayment" destroy-on-close @close="cancel" width="600px" center>
4
         <el-dialog title="批量缴费确认" :visible="caseVisablePayment" destroy-on-close @close="cancel" width="600px" center>
5
             <el-descriptions>
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
             </el-descriptions>
8
             </el-descriptions>
9
             <div slot="footer" class="dialog-footer">
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
                 <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
11
                 <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
12
             </div>
12
             </div>
13
         </el-dialog>
13
         </el-dialog>
14
     </div>
14
     </div>
15
 </template>
15
 </template>
16
 <script>
16
 <script>
17
+import {confirmBatch} from '@/api/batchManagement/batchManagement.js'
17
 export default {
18
 export default {
18
-    props: ["caseVisablePayment","queryParams"],
19
+    props: ["caseVisablePayment","queryParams","confirmPaymen","totalFeeConfir"],
19
     dicts: ["manager_type"],
20
     dicts: ["manager_type"],
20
     data() {
21
     data() {
21
         return {
22
         return {
34
 
35
 
35
     },
36
     },
36
     methods: {
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
         cancel() {
45
         cancel() {
38
             this.$emit("cancelCasePayment");
46
             this.$emit("cancelCasePayment");
39
         },
47
         },