Bladeren bron

批量页面开发,接口联调

gyj 2 jaren geleden
bovenliggende
commit
7dc3c11f06

+ 16
- 0
src/api/batchManagement/batchManagement.js Bestand weergeven

@@ -15,4 +15,20 @@ export function submitCaseApplicationBatch(data) {
15 15
         method: 'post',
16 16
         data: data
17 17
     })
18
+}
19
+// 批量立案审查
20
+export function submitCaseApplicationCheckBatch(data) {
21
+  return request({
22
+      url: '/caseApplication/submitCaseApplicationCheckBatch',
23
+      method: 'post',
24
+      data: data
25
+  })
26
+}
27
+// 批量缴费
28
+export function confirmPayBatch(data) {
29
+  return request({
30
+      url: '/pay/confirmPayBatch',
31
+      method: 'post',
32
+      data: data
33
+  })
18 34
 }

+ 63
- 17
src/views/batchManagement/batchManagList.vue Bestand weergeven

@@ -40,14 +40,14 @@
40 40
                     <el-button size="mini" type="text" @click="courtConfirmations(scope.row)">组庭确认</el-button>
41 41
                     <el-button size="mini" type="text" @click="reviewArbitrations(scope.row)">审核仲裁方式</el-button>
42 42
                     <el-button size="mini" type="text" @click="batchWrittenReview(scope.row)">书面审理</el-button>
43
-                    <el-button size="mini" type="text">仲裁员审核仲裁文书</el-button>
44
-                    <el-button size="mini" type="text">核验仲裁文书</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>
45 45
                     <el-button size="mini" type="text">部门长审核仲裁文书</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
-                    <el-button size="mini" type="text">生成裁决书</el-button>
48
+                    <el-button size="mini" type="text" @click="arbitrationAward(scope.row)">生成裁决书</el-button>
49
+                    <el-button size="mini" type="text" @click="servicearBitration(scope.row)">仲裁文书送达</el-button>
49 50
                     <el-button size="mini" type="text" @click="archive(scope.row)">归档</el-button>
50
-                    <el-button size="mini" type="text">仲裁文书送达</el-button>
51 51
                 </template>
52 52
             </el-table-column>
53 53
         </el-table>
@@ -55,7 +55,7 @@
55 55
         @pagination="getList(queryParams)"
56 56
              />
57 57
         <!-- 缴费 -->
58
-        <batchPayment :caseVisablePay="caseVisablePay" @cancelCasePay="cancelCasePay"></batchPayment>
58
+        <batchPayment :caseVisablePay="caseVisablePay" @cancelCasePay="cancelCasePay" :batchPaymentValue="batchPaymentValue"></batchPayment>
59 59
         <!-- 缴费确认 -->
60 60
         <paymentConfirmation :caseVisablePayment="caseVisablePayment" @cancelCasePayment="cancelCasePayment"></paymentConfirmation>
61 61
         <!-- 组庭审核 -->
@@ -70,14 +70,16 @@
70 70
         <batchSignature :caseVisableSignature="caseVisableSignature" @cancelCaseSignature="cancelCaseSignature"></batchSignature>
71 71
         <!-- 用印 -->
72 72
         <batchPrinting :caseVisablePrinting="caseVisablePrinting" @cancelCasePrinting="cancelCasePrinting"></batchPrinting>
73
-        
74
-        
75
-        
73
+        <!-- 立案审查 -->
74
+        <filingReview :caseVisableReviewF="caseVisableReviewF" @cancelCaseReviewF="cancelCaseReviewF" :filingFeviewbatchNumber="filingFeviewbatchNumber" :queryParams="queryParams" @getList="getList"></filingReview>
75
+        <!-- 秘书审核仲裁文书 -->
76
+        <arbitratorsDocuments :caseVisableSecretary="caseVisableSecretary" @cancelCaseSecretary="cancelCaseSecretary"></arbitratorsDocuments>
77
+        <!-- 仲裁员审核仲裁文书 -->
78
+        <arbitratorsvVerify :caseVisablearBitration="caseVisablearBitration" @cancelCaseBitration="cancelCaseBitration"></arbitratorsvVerify>
76 79
     </div>    
77 80
 </template>
78 81
   
79 82
 <script>
80
-import {caseNumRuleList,deleteCaseNumRule} from '@/api/officialSeal/officialSeal.js'
81 83
 import {listBatch,submitCaseApplicationBatch} from '@/api/batchManagement/batchManagement.js'
82 84
 import batchPayment from './components/batchPayment.vue'
83 85
 import paymentConfirmation from './components/paymentConfirmation.vue'
@@ -87,6 +89,9 @@ import courtConfirmation from './components/courtConfirmation.vue'
87 89
 import reviewArbitrationMethod from './components/reviewArbitrationMethod.vue'
88 90
 import batchSignature from './components/batchSignature.vue'
89 91
 import batchPrinting from './components/batchPrinting.vue'
92
+import filingReview from './components/filingReview.vue'
93
+import arbitratorsDocuments from './components/arbitratorsDocuments.vue'
94
+import arbitratorsvVerify from './components/arbitratorsvVerify.vue'
90 95
 export default {
91 96
     components: {
92 97
         batchPayment,
@@ -96,7 +101,10 @@ export default {
96 101
         courtConfirmation,
97 102
         reviewArbitrationMethod,
98 103
         batchSignature,
99
-        batchPrinting
104
+        batchPrinting,
105
+        filingReview,
106
+        arbitratorsDocuments,
107
+        arbitratorsvVerify
100 108
         
101 109
     },
102 110
     data() {
@@ -109,6 +117,8 @@ export default {
109 117
             loading: false,
110 118
             // 总条数
111 119
             total: 0,
120
+            filingFeviewbatchNumber:'',
121
+            batchPaymentValue:{},
112 122
             caseVisablePay: false,//批量缴费弹窗
113 123
             caseVisablePayment:false,//批量缴费确认
114 124
             caseVisableReview:false,//批量组庭审核
@@ -117,6 +127,9 @@ export default {
117 127
             caseVisableReviewl:false,//批量审核仲裁方式
118 128
             caseVisableSignature:false,//批量签名
119 129
             caseVisablePrinting:false,//批量用印
130
+            caseVisableReviewF:false, //批量立案审查
131
+            caseVisableSecretary:false,//秘书审核文书
132
+            caseVisablearBitration:false,//仲裁员核查文书
120 133
             dataList: [],
121 134
             editData:{}
122 135
         };
@@ -161,15 +174,17 @@ export default {
161 174
             })
162 175
         },
163 176
         // 批量立案审查
164
-        filingFeview(){
165
-           this.$modal.confirm("你确定要批量立案审查吗?").then((res) => {
166
-                    // this.deleteSealFn({ id: row.id })
167
-                }).catch(() =>{
168
-                    
169
-            }) 
177
+        filingFeview(row){
178
+           this.filingFeviewbatchNumber = row.batchNumber
179
+           this.caseVisableReviewF = true
180
+        },
181
+        cancelCaseReviewF(){
182
+            this.caseVisableReviewF = false
170 183
         },
171 184
         // 批量缴费
172
-        batchPayments(){
185
+        batchPayments(row){
186
+            this.batchPaymentValue = row
187
+            console.log(row)
173 188
             this.caseVisablePay = true
174 189
         },
175 190
         cancelCasePay(){
@@ -239,7 +254,38 @@ export default {
239 254
         },
240 255
         cancelCasePrinting(){
241 256
             this.caseVisablePrinting = false
257
+        },
258
+        // 生成裁决书
259
+        arbitrationAward(){
260
+             this.$modal.confirm("你确定要批量生成裁决书吗?").then((res) => {
261
+                    // this.deleteSealFn({ id: row.id })
262
+                }).catch(() =>{
263
+                    
264
+            }) 
265
+        },
266
+        //仲裁文书送达
267
+        servicearBitration(){
268
+             this.$modal.confirm("你确定要批量仲裁文书批量送达吗?").then((res) => {
269
+                    // this.deleteSealFn({ id: row.id })
270
+                }).catch(() =>{
271
+                    
272
+            }) 
273
+        },
274
+        // 秘书审核仲裁文书
275
+        secretaryArbitration(){
276
+            this.caseVisableSecretary = true
277
+        },
278
+        cancelCaseSecretary(){
279
+            this.caseVisableSecretary = false
280
+        },
281
+        // 仲裁员审核文书
282
+        arbitratorsVerify(){
283
+            this.caseVisablearBitration = true
284
+        },
285
+        cancelCaseBitration(){
286
+            this.caseVisablearBitration = false
242 287
         }
288
+        
243 289
     },
244 290
 };
245 291
 </script>

+ 44
- 0
src/views/batchManagement/components/arbitratorsDocuments.vue Bestand weergeven

@@ -0,0 +1,44 @@
1
+<template>
2
+    <div>
3
+        <!-- 秘书批量审核 -->
4
+        <el-dialog title="秘书批量审核" :visible="caseVisableSecretary" 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  class="endbutton" @click="cancel"><span>取 消</span></el-button>
8
+            </div>
9
+        </el-dialog>
10
+    </div>
11
+</template>
12
+<script>
13
+export default {
14
+    props: ["caseVisableSecretary","queryParams"],
15
+    dicts: ["manager_type"],
16
+    data() {
17
+        return {
18
+           
19
+           
20
+        };
21
+    },
22
+    watch: {
23
+        caseVisableSecretary(val) {
24
+            if (val) {
25
+                this.ruleForm = {};
26
+            }
27
+        }
28
+    },
29
+    created() {
30
+
31
+    },
32
+    methods: {
33
+        cancel() {
34
+            this.$emit("cancelCaseSecretary");
35
+        },
36
+    },
37
+}
38
+</script>
39
+<style lang="scss" scoped>
40
+::v-deep .el-dialog {
41
+  background: #ffffff;
42
+  border-radius: 20px;
43
+}
44
+</style>

+ 44
- 0
src/views/batchManagement/components/arbitratorsvVerify.vue Bestand weergeven

@@ -0,0 +1,44 @@
1
+<template>
2
+    <div>
3
+        <!-- 仲裁员批量审核 -->
4
+        <el-dialog title="仲裁员批量审核" :visible="caseVisablearBitration" 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  class="endbutton" @click="cancel"><span>取 消</span></el-button>
8
+            </div>
9
+        </el-dialog>
10
+    </div>
11
+</template>
12
+<script>
13
+export default {
14
+    props: ["caseVisablearBitration","queryParams"],
15
+    dicts: ["manager_type"],
16
+    data() {
17
+        return {
18
+           
19
+           
20
+        };
21
+    },
22
+    watch: {
23
+        caseVisablearBitration(val) {
24
+            if (val) {
25
+                this.ruleForm = {};
26
+            }
27
+        }
28
+    },
29
+    created() {
30
+
31
+    },
32
+    methods: {
33
+        cancel() {
34
+            this.$emit("cancelCaseBitration");
35
+        },
36
+    },
37
+}
38
+</script>
39
+<style lang="scss" scoped>
40
+::v-deep .el-dialog {
41
+  background: #ffffff;
42
+  border-radius: 20px;
43
+}
44
+</style>

+ 8
- 4
src/views/batchManagement/components/batchPayment.vue Bestand weergeven

@@ -4,7 +4,7 @@
4 4
       :destroy-on-close="true" center>
5 5
       <el-descriptions>
6 6
         <el-descriptions-item label="案件总金额">1000</el-descriptions-item>
7
-        <el-descriptions-item label="申请人">xx</el-descriptions-item>
7
+        <el-descriptions-item label="申请人">{{batchPaymentValue.name}}</el-descriptions-item>
8 8
       </el-descriptions>
9 9
       <div class="paySelectType">
10 10
         <el-radio-group v-model="paySelect" @input="changPayType">
@@ -43,10 +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 47
 import QRCode from "qrcodejs2";
47 48
 import { getToken } from "@/utils/auth";
48 49
 export default {
49
-  props: ["caseVisablePay", "payTitle", "form", "payForm", "queryParams","payId"],
50
+  props: ["caseVisablePay", "payForm", "queryParams","payId","batchPaymentValue"],
50 51
   data() {
51 52
     return {
52 53
       // key: value
@@ -64,7 +65,7 @@ export default {
64 65
       submitForm:{
65 66
         payType:1,
66 67
         payOrderList:[],
67
-        caseId:null
68
+        caseId:null,
68 69
       }
69 70
     };
70 71
   },
@@ -95,7 +96,10 @@ export default {
95 96
         this.$modal.msgError("请上传缴费凭证");
96 97
         return
97 98
       }
98
-      confirmPayDig(this.submitForm).then(res=>{
99
+      let batchNumber = this.batchPaymentValue.batchNumber.toString()
100
+      let submitForm =  Object.assign(this.submitForm,{batchNumber:batchNumber})
101
+      console.log(submitForm)
102
+      confirmPayBatch(submitForm).then(res=>{
99 103
         this.$modal.msgSuccess("成功");
100 104
         this.payCancel()
101 105
         this.$emit("getcaseApply", this.queryParams);

+ 116
- 0
src/views/batchManagement/components/filingReview.vue Bestand weergeven

@@ -0,0 +1,116 @@
1
+<template>
2
+  <div>
3
+    <!-- 批量立案审查 -->
4
+    <el-dialog title="批量立案审查" :visible="caseVisableReviewF" width="500px" @close="cancel" :destroy-on-close="true">
5
+      <div class="radiobox">
6
+        <el-radio-group v-model="radio" style="margin-bottom: 20px;">
7
+          <el-radio :label="1">同意</el-radio>
8
+          <el-radio :label="2">拒绝</el-radio>
9
+        </el-radio-group>
10
+        <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px">
11
+          <!-- TODO -->
12
+          <el-form-item label="拒绝原因" prop="caseCheckReject" v-if="radio == 2">
13
+            <el-input type="textarea" :rows="2" placeholder="请输入拒绝原因" v-model="ruleForm.caseCheckReject"></el-input>
14
+          </el-form-item>
15
+        </el-form>
16
+      </div>
17
+      <div slot="footer" class="dialog-footer">
18
+        <el-button type="primary" @click="submitForm" class="endbutton"><span>提 交</span></el-button>
19
+        <el-button @click="cancel" class="endbutton1"><span> 取 消</span></el-button>
20
+      </div>
21
+    </el-dialog>
22
+  </div>
23
+</template>
24
+
25
+<script>
26
+import {submitCaseApplicationCheckBatch} from '@/api/batchManagement/batchManagement.js'
27
+export default {
28
+  name: "filingReview",
29
+  props: ["caseVisableReviewF", "filingreviewdata", "filingFeviewbatchNumber","queryParams"],
30
+  data() {
31
+    return {
32
+      radio: 1,
33
+      ruleForm: {},
34
+      rules: {
35
+        caseCheckReject: [
36
+          {
37
+            required: true,
38
+            message: "拒绝原因不能为空",
39
+            trigger: "blur",
40
+          },
41
+        ],
42
+      }
43
+    };
44
+  },
45
+  methods: {
46
+    submitForm() {
47
+      this.$refs["ruleForm"].validate((valid) => {
48
+        if (valid) {
49
+          let batchNumber = this.filingFeviewbatchNumber
50
+          let paramsdata = {
51
+            agreeOrNotCheck: this.radio,
52
+            batchNumber:batchNumber.toString(),
53
+            caseCheckReject:this.ruleForm.caseCheckReject
54
+          };
55
+          submitCaseApplicationCheckBatch(paramsdata)
56
+            .then((res) => {
57
+              this.$modal.msgSuccess("提交成功");
58
+              this.cancel();
59
+              this.$emit("getList", this.queryParams);
60
+            })
61
+            .catch((err) => { });
62
+        }
63
+      });
64
+    },
65
+    cancel() {
66
+      this.$emit("cancelCaseReviewF");
67
+    },
68
+  },
69
+};
70
+</script>
71
+
72
+<style lang="scss" scoped>
73
+.radiobox {
74
+  margin-left: 5%;
75
+}
76
+
77
+::v-deep .el-dialog {
78
+  width: 800px;
79
+  background: #ffffff;
80
+  border-radius: 20px;
81
+}
82
+
83
+.endbutton {
84
+  width: 124px;
85
+  height: 37px;
86
+  background: #0072ff;
87
+  border-radius: 19px;
88
+
89
+  span {
90
+    width: 32px;
91
+    height: 15px;
92
+    font-size: 16px;
93
+    font-family: Microsoft YaHei;
94
+    font-weight: 400;
95
+    color: #ffffff;
96
+    // line-height: 48px;
97
+  }
98
+}
99
+
100
+.endbutton1 {
101
+  width: 124px;
102
+  height: 37px;
103
+  background: #ffffff;
104
+  border: 1px solid #d0d0d0;
105
+  border-radius: 19px;
106
+
107
+  span {
108
+    width: 31px;
109
+    height: 13px;
110
+    font-size: 16px;
111
+    font-family: Microsoft YaHei;
112
+    font-weight: 400;
113
+    color: #959595;
114
+  }
115
+}
116
+</style>