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

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

55
       method: 'post',
55
       method: 'post',
56
       data: data
56
       data: data
57
   })
57
   })
58
+}
59
+//批量组庭审核
60
+export function pendTralCheckBatch(data) {
61
+  return request({
62
+      url: '/caseApplication/pendTralCheckBatch',
63
+      method: 'post',
64
+      data: data
65
+  })
66
+}
67
+// 批量组庭确认
68
+export function pendTralSureBatch(data) {
69
+  return request({
70
+      url: '/caseApplication/pendTralSureBatch',
71
+      method: 'post',
72
+      data: data
73
+  })
74
+}
75
+//秘书批量审核文书
76
+export function verificationArbitrateRecordBatch(data) {
77
+  return request({
78
+      url: '/caseApplication/verificationArbitrateRecordBatch',
79
+      method: 'post',
80
+      data: data
81
+  })
82
+}
83
+//仲裁员批量审核
84
+export function checkArbitrateRecordBatch(data) {
85
+  return request({
86
+      url: '/caseApplication/arbitrator/checkArbitrateRecordBatch',
87
+      method: 'post',
88
+      data: data
89
+  })
90
+}
91
+// 部门长批量审核
92
+export function checkArbitrateRecordBatchs(data) {
93
+  return request({
94
+      url: '/caseApplication/checkArbitrateRecordBatch',
95
+      method: 'post',
96
+      data: data
97
+  })
98
+}
99
+//审核仲裁方式
100
+export function methodBatch(data) {
101
+  return request({
102
+      url: '/arbitrate/methodBatch',
103
+      method: 'post',
104
+      data: data
105
+  })
58
 }
106
 }

+ 28
- 14
src/views/batchManagement/batchManagList.vue Просмотреть файл

59
         <!-- 缴费确认 -->
59
         <!-- 缴费确认 -->
60
         <paymentConfirmation :caseVisablePayment="caseVisablePayment" @cancelCasePayment="cancelCasePayment" :confirmPaymen="confirmPaymen" :queryParams="queryParams" @getList="getList" :totalFeeConfir="totalFeeConfir"></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" :formateCourtData="formateCourtData" :queryParams="queryParams" @getList="getList"></courtReview>
63
         <!-- 查看案件列表 -->
63
         <!-- 查看案件列表 -->
64
         <!-- <viewingCases :caseVisableViewing="caseVisableViewing" @cancelCaseViewing="cancelCaseViewing"></viewingCases> -->
64
         <!-- <viewingCases :caseVisableViewing="caseVisableViewing" @cancelCaseViewing="cancelCaseViewing"></viewingCases> -->
65
         <!-- 组庭确认 -->
65
         <!-- 组庭确认 -->
66
-        <courtConfirmation :showcourtReview="showcourtReview" @cancelcourtReview="cancelcourtReview"></courtConfirmation>
66
+        <courtConfirmation :showcourtReview="showcourtReview" @cancelcourtReview="cancelcourtReview" :courtConfirmationData="courtConfirmationData" :queryParams="queryParams" @getList="getList"></courtConfirmation>
67
         <!-- 审核仲裁方式 -->
67
         <!-- 审核仲裁方式 -->
68
-        <reviewArbitrationMethod :caseVisableReviewl="caseVisableReviewl" @cancelCaseReviewl="cancelCaseReviewl"></reviewArbitrationMethod>
68
+        <reviewArbitrationMethod :caseVisableReviewl="caseVisableReviewl" @cancelCaseReviewl="cancelCaseReviewl" :queryParams="queryParams" @getList="getList" :reviewMethod="reviewMethod"></reviewArbitrationMethod>
69
         <!-- 签名 -->
69
         <!-- 签名 -->
70
-        <batchSignature :caseVisableSignature="caseVisableSignature" @cancelCaseSignature="cancelCaseSignature"></batchSignature>
70
+        <batchSignature :caseVisableSignature="caseVisableSignature" @cancelCaseSignature="cancelCaseSignature" :queryParams="queryParams" @getList="getList"></batchSignature>
71
         <!-- 用印 -->
71
         <!-- 用印 -->
72
-        <batchPrinting :caseVisablePrinting="caseVisablePrinting" @cancelCasePrinting="cancelCasePrinting"></batchPrinting>
72
+        <batchPrinting :caseVisablePrinting="caseVisablePrinting" @cancelCasePrinting="cancelCasePrinting" :queryParams="queryParams" @getList="getList"></batchPrinting>
73
         <!-- 立案审查 -->
73
         <!-- 立案审查 -->
74
         <filingReview :caseVisableReviewF="caseVisableReviewF" @cancelCaseReviewF="cancelCaseReviewF" :filingFeviewbatchNumber="filingFeviewbatchNumber" :queryParams="queryParams" @getList="getList"></filingReview>
74
         <filingReview :caseVisableReviewF="caseVisableReviewF" @cancelCaseReviewF="cancelCaseReviewF" :filingFeviewbatchNumber="filingFeviewbatchNumber" :queryParams="queryParams" @getList="getList"></filingReview>
75
         <!-- 秘书审核仲裁文书 -->
75
         <!-- 秘书审核仲裁文书 -->
76
-        <arbitratorsDocuments :caseVisableSecretary="caseVisableSecretary" @cancelCaseSecretary="cancelCaseSecretary"></arbitratorsDocuments>
76
+        <arbitratorsDocuments :caseVisableSecretary="caseVisableSecretary" @cancelCaseSecretary="cancelCaseSecretary" :queryParams="queryParams" @getList="getList" :secretaryArb="secretaryArb"></arbitratorsDocuments>
77
         <!-- 仲裁员审核仲裁文书 -->
77
         <!-- 仲裁员审核仲裁文书 -->
78
-        <arbitratorsvVerify :caseVisablearBitration="caseVisablearBitration" @cancelCaseBitration="cancelCaseBitration"></arbitratorsvVerify>
78
+        <arbitratorsvVerify :caseVisablearBitration="caseVisablearBitration" @cancelCaseBitration="cancelCaseBitration" :queryParams="queryParams" @getList="getList" :arbitratorDeter="arbitratorDeter"></arbitratorsvVerify>
79
         <!-- 部门长审核仲裁文书 -->
79
         <!-- 部门长审核仲裁文书 -->
80
-        <departmentReviews :caseVisablearHead="caseVisablearHead" @cancelCaseHead="cancelCaseHead"></departmentReviews>
80
+        <departmentReviews :caseVisablearHead="caseVisablearHead" @cancelCaseHead="cancelCaseHead" :queryParams="queryParams" @getList="getList" :departmentDoc="departmentDoc"></departmentReviews>
81
     </div>    
81
     </div>    
82
 </template>
82
 </template>
83
   
83
   
127
             confirmPaymen:{},//批量确认缴费
127
             confirmPaymen:{},//批量确认缴费
128
             totalFees:{},//缴费总金额
128
             totalFees:{},//缴费总金额
129
             totalFeeConfir:{},//确认缴费总金额
129
             totalFeeConfir:{},//确认缴费总金额
130
+            formateCourtData:{},//组庭审核
131
+            courtConfirmationData:{},//组庭确认
132
+            secretaryArb:{},//秘书确认
133
+            arbitratorDeter:{},//仲裁员确认
134
+            departmentDoc:{}, //部门长确认
135
+            reviewMethod:{},//仲裁员审核仲裁方式
130
             caseVisablePay: false,//批量缴费弹窗
136
             caseVisablePay: false,//批量缴费弹窗
131
             caseVisablePayment:false,//批量缴费确认
137
             caseVisablePayment:false,//批量缴费确认
132
             caseVisableReview:false,//批量组庭审核
138
             caseVisableReview:false,//批量组庭审核
215
             this.caseVisablePayment = false
221
             this.caseVisablePayment = false
216
         },
222
         },
217
         // 批量组庭审核
223
         // 批量组庭审核
218
-        courtReviews(){
224
+        courtReviews(row){
225
+            this.formateCourtData = row;
219
             this.caseVisableReview = true 
226
             this.caseVisableReview = true 
220
         },
227
         },
221
         cancelCaseReview(){
228
         cancelCaseReview(){
229
            }
236
            }
230
         },
237
         },
231
         // 批量组庭确认
238
         // 批量组庭确认
232
-        courtConfirmations(){
239
+        courtConfirmations(row){
240
+            this.courtConfirmationData = row
241
+            console.log(row)
233
             this.showcourtReview = true
242
             this.showcourtReview = true
234
         },
243
         },
235
         cancelcourtReview(){
244
         cancelcourtReview(){
236
             this.showcourtReview = false
245
             this.showcourtReview = false
237
         },
246
         },
238
         // 批量审核仲裁方式
247
         // 批量审核仲裁方式
239
-        reviewArbitrations(){
248
+        reviewArbitrations(row){
249
+            console.log(row)
250
+            this.reviewMethod = row
240
             this.caseVisableReviewl = true
251
             this.caseVisableReviewl = true
241
         },
252
         },
242
         cancelCaseReviewl(){
253
         cancelCaseReviewl(){
289
             }) 
300
             }) 
290
         },
301
         },
291
         // 秘书审核仲裁文书
302
         // 秘书审核仲裁文书
292
-        secretaryArbitration(){
303
+        secretaryArbitration(row){
304
+            this.secretaryArb = row
293
             this.caseVisableSecretary = true
305
             this.caseVisableSecretary = true
294
         },
306
         },
295
         cancelCaseSecretary(){
307
         cancelCaseSecretary(){
296
             this.caseVisableSecretary = false
308
             this.caseVisableSecretary = false
297
         },
309
         },
298
         // 仲裁员审核文书
310
         // 仲裁员审核文书
299
-        arbitratorsVerify(){
311
+        arbitratorsVerify(row){
312
+            this.arbitratorDeter = row
300
             this.caseVisablearBitration = true
313
             this.caseVisablearBitration = true
301
         },
314
         },
302
         cancelCaseBitration(){
315
         cancelCaseBitration(){
303
             this.caseVisablearBitration = false
316
             this.caseVisablearBitration = false
304
         },
317
         },
305
         // 部门长审核仲裁文书
318
         // 部门长审核仲裁文书
306
-        departmentDocuments(){
319
+        departmentDocuments(row){
320
+            this.departmentDoc =row
307
             this.caseVisablearHead = true
321
             this.caseVisablearHead = true
308
         },
322
         },
309
         cancelCaseHead(){
323
         cancelCaseHead(){

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

3
         <!-- 秘书批量审核 -->
3
         <!-- 秘书批量审核 -->
4
         <el-dialog title="秘书批量审核" :visible="caseVisableSecretary" destroy-on-close width="30%"  @close="cancel" center>
4
         <el-dialog title="秘书批量审核" :visible="caseVisableSecretary" 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" @click="secretaryConfirmed"><span>确认</span></el-button>
7
                 <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
7
                 <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
8
             </div>
8
             </div>
9
         </el-dialog>
9
         </el-dialog>
10
     </div>
10
     </div>
11
 </template>
11
 </template>
12
 <script>
12
 <script>
13
+import {verificationArbitrateRecordBatch} from '@/api/batchManagement/batchManagement.js'
13
 export default {
14
 export default {
14
-    props: ["caseVisableSecretary","queryParams"],
15
+    props: ["caseVisableSecretary","queryParams","secretaryArb"],
15
     dicts: ["manager_type"],
16
     dicts: ["manager_type"],
16
     data() {
17
     data() {
17
         return {
18
         return {
30
 
31
 
31
     },
32
     },
32
     methods: {
33
     methods: {
34
+        secretaryConfirmed(){
35
+            verificationArbitrateRecordBatch({batchNumber:this.secretaryArb.batchNumber}).then(res=>{
36
+              this.$modal.msgSuccess("确认成功");
37
+              this.cancel();
38
+              this.$emit("getList", this.queryParams);
39
+            }).catch((err) => {});
40
+        },
33
         cancel() {
41
         cancel() {
34
             this.$emit("cancelCaseSecretary");
42
             this.$emit("cancelCaseSecretary");
35
         },
43
         },

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

2
     <div>
2
     <div>
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>
6
+                <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px">
7
+                <el-form-item label="审核意见" prop="checkOpinion">
8
+                    <el-input type="textarea" :rows="2" placeholder="请输入审核意见" v-model="ruleForm.checkOpinion"></el-input>
9
+                </el-form-item>
10
+                <el-form-item label="驳回原因">
11
+                    <el-input type="textarea" :rows="2" placeholder="请输入驳回原因" v-model="ruleForm.arbitrateReject"></el-input>
12
+                </el-form-item>
13
+                </el-form>
14
+            </div>
5
             <div slot="footer" class="dialog-footer">
15
             <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>
16
+                <el-button type="primary"  class="endbutton" @click="submitForm(1)"><span>同 意</span></el-button>
17
+                <el-button type="danger"  class="endbutton" @click="submitForm(2)"><span>驳 回</span></el-button>
8
                 <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
18
                 <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
9
             </div>
19
             </div>
10
         </el-dialog>
20
         </el-dialog>
11
     </div>
21
     </div>
12
 </template>
22
 </template>
13
 <script>
23
 <script>
24
+import {checkArbitrateRecordBatch} from '@/api/batchManagement/batchManagement.js'
14
 export default {
25
 export default {
15
-    props: ["caseVisablearBitration","queryParams"],
16
-    dicts: ["manager_type"],
26
+    props: ["caseVisablearBitration","queryParams","arbitratorDeter"],
17
     data() {
27
     data() {
18
         return {
28
         return {
19
-           
29
+            ruleForm: {},
30
+            rules: {
31
+                checkOpinion: [
32
+                    {
33
+                        required: true,
34
+                        message: "审核意见不能为空",
35
+                        trigger: "blur",
36
+                    },
37
+                ],
38
+            }  
20
            
39
            
21
         };
40
         };
22
     },
41
     },
23
     watch: {
42
     watch: {
24
         caseVisablearBitration(val) {
43
         caseVisablearBitration(val) {
25
             if (val) {
44
             if (val) {
26
-                this.ruleForm = {};
45
+                // this.ruleForm = {};
27
             }
46
             }
28
         }
47
         }
29
     },
48
     },
31
 
50
 
32
     },
51
     },
33
     methods: {
52
     methods: {
53
+        submitForm(val){
54
+           this.$refs["ruleForm"].validate((valid) => {
55
+               if(valid){
56
+                   if(val==1){
57
+                       let values = {
58
+                           batchNumber:this.arbitratorDeter.batchNumber,
59
+                           agreeOrNotCheck:1,
60
+                           arbitrateRecord:this.ruleForm
61
+                       }
62
+                      checkArbitrateRecordBatch(values).then(res=>{
63
+                            this.$modal.msgSuccess("确认成功");
64
+                            this.cancel();
65
+                            this.$emit("getList", this.queryParams);
66
+                      }).catch((err) => {}); 
67
+                   }else if(val==2){
68
+                       let values = {
69
+                           batchNumber:this.arbitratorDeter.batchNumber,
70
+                           agreeOrNotCheck:2,
71
+                           arbitrateRecord:this.ruleForm
72
+                       }
73
+                      checkArbitrateRecordBatch(values).then(res=>{
74
+                            this.$modal.msgSuccess("驳回成功");
75
+                            this.cancel();
76
+                            this.$emit("getList", this.queryParams);
77
+                      }).catch((err) => {}); 
78
+                   }
79
+               }
80
+           })
81
+        },
34
         cancel() {
82
         cancel() {
83
+            
35
             this.$emit("cancelCaseBitration");
84
             this.$emit("cancelCaseBitration");
36
         },
85
         },
37
     },
86
     },

+ 30
- 17
src/views/batchManagement/components/courtConfirmation.vue Просмотреть файл

16
           </el-radio-group>
16
           </el-radio-group>
17
         </el-form-item>
17
         </el-form-item>
18
         <!-- </el-form> -->
18
         <!-- </el-form> -->
19
-        <el-tag type="warning" v-if="noArbitrator"
19
+        <!-- <el-tag type="warning" v-if="noArbitrator"
20
           >当前案件未指定仲裁员,请先指定仲裁员!</el-tag
20
           >当前案件未指定仲裁员,请先指定仲裁员!</el-tag
21
-        >
21
+        > -->
22
         <div style="display: inline-flex; margin: 1% 9%">
22
         <div style="display: inline-flex; margin: 1% 9%">
23
           <div v-if="isAgreePendTral == 0">请选择仲裁员</div>
23
           <div v-if="isAgreePendTral == 0">请选择仲裁员</div>
24
           <div v-if="isAgreePendTral == 1">
24
           <div v-if="isAgreePendTral == 1">
27
         </div>
27
         </div>
28
         <div v-if="isAgreePendTral == 1" class="nowarbitrator">
28
         <div v-if="isAgreePendTral == 1" class="nowarbitrator">
29
           <el-tag size="medium">
29
           <el-tag size="medium">
30
-            <!-- {{ form.arbitratorName }} -->
30
+            {{ courtConfirmationData.arbitratorName }}
31
           </el-tag>
31
           </el-tag>
32
         </div>
32
         </div>
33
         <!-- <div v-if="noArbitrator || isAgreePendTral == 0"> -->
33
         <!-- <div v-if="noArbitrator || isAgreePendTral == 0"> -->
73
 
73
 
74
 <script>
74
 <script>
75
 import { pendTralSure } from "@/api/caseManagement/caseManagement.js";
75
 import { pendTralSure } from "@/api/caseManagement/caseManagement.js";
76
-import { arbitrAtor, pendTralCheck } from "@/api/formationCourt/formationCourt";
76
+import { arbitrAtor} from "@/api/formationCourt/formationCourt";
77
+import {pendTralSureBatch} from '@/api/batchManagement/batchManagement.js'
77
 import moment from "moment";
78
 import moment from "moment";
78
 export default {
79
 export default {
79
   name: "courtReviewDialog",
80
   name: "courtReviewDialog",
80
-  props: ["showcourtReview", "form", "queryParams"],
81
+  props: ["showcourtReview", "courtConfirmationData", "queryParams"],
81
   data() {
82
   data() {
82
     return {
83
     return {
83
       dataList: [],
84
       dataList: [],
131
       });
132
       });
132
     },
133
     },
133
     submitForm() {
134
     submitForm() {
134
-      if (this.noArbitrator) {
135
-        this.paramsdata = {
136
-          id: this.form.id,
137
-          arbitrators: this.arbitrators,
138
-        };
139
-      } else {
140
-        if (this.isAgreePendTral == 0) {
135
+      // if (this.noArbitrator) {
136
+      //   this.paramsdata = {
137
+      //     id: this.form.id,
138
+      //     arbitrators: this.arbitrators,
139
+      //   };
140
+      // } else {
141
+      //   if (this.isAgreePendTral == 0) {
142
+      //     this.paramsdata = {
143
+      //       isAgreePendTral: 0,
144
+      //       id: this.form.id,
145
+      //       arbitrators: this.arbitrators,
146
+      //     };
147
+      //   } else {
148
+      //     this.paramsdata = {
149
+      //       isAgreePendTral: 1,
150
+      //       id: this.form.id,
151
+      //     };
152
+      //   }
153
+      // }
154
+      if (this.isAgreePendTral == 0) {
141
           this.paramsdata = {
155
           this.paramsdata = {
142
             isAgreePendTral: 0,
156
             isAgreePendTral: 0,
143
-            id: this.form.id,
157
+            batchNumber: this.courtConfirmationData.batchNumber,
144
             arbitrators: this.arbitrators,
158
             arbitrators: this.arbitrators,
145
           };
159
           };
146
         } else {
160
         } else {
147
           this.paramsdata = {
161
           this.paramsdata = {
148
             isAgreePendTral: 1,
162
             isAgreePendTral: 1,
149
-            id: this.form.id,
163
+            batchNumber: this.courtConfirmationData.batchNumber,
150
           };
164
           };
151
         }
165
         }
152
-      }
153
       this.$refs["courtReviewform"].validate((valid) => {
166
       this.$refs["courtReviewform"].validate((valid) => {
154
         if (valid) {
167
         if (valid) {
155
-          pendTralSure(this.paramsdata)
168
+          pendTralSureBatch(this.paramsdata)
156
             .then((res) => {
169
             .then((res) => {
157
               this.$modal.msgSuccess("确认成功");
170
               this.$modal.msgSuccess("确认成功");
158
               this.cancel();
171
               this.cancel();
159
-              this.$emit("getcaseApply", this.queryParams);
172
+              this.$emit("getList", this.queryParams);
160
             })
173
             })
161
             .catch((err) => {});
174
             .catch((err) => {});
162
         }
175
         }

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

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-tag type="warning" v-if="noArbitrator"
24
+        <!-- <el-tag type="warning" v-if="noArbitrator"
25
           >当前案件未指定仲裁员,请先指定仲裁员!</el-tag
25
           >当前案件未指定仲裁员,请先指定仲裁员!</el-tag
26
         >
26
         >
27
-        <p></p>
27
+        <p></p> -->
28
         <!-- <el-form ref="form"> -->
28
         <!-- <el-form ref="form"> -->
29
         <!-- v-if="isAgreePendTral == 0 || noArbitrator" -->
29
         <!-- v-if="isAgreePendTral == 0 || noArbitrator" -->
30
         <div style="display: inline-flex; margin-bottom: 8px">
30
         <div style="display: inline-flex; margin-bottom: 8px">
31
           <div v-if="isAgreePendTral !== 1">请选择仲裁员</div>
31
           <div v-if="isAgreePendTral !== 1">请选择仲裁员</div>
32
-          <div v-if="isAgreePendTral == 1">
32
+          <!-- <div v-if="isAgreePendTral == 1">
33
             当前案件仲裁员
33
             当前案件仲裁员
34
-          </div>
34
+          </div> -->
35
         </div>
35
         </div>
36
-        <div
36
+        <!-- <div
37
           v-if="isAgreePendTral == 1"
37
           v-if="isAgreePendTral == 1"
38
           class="nowarbitrator"
38
           class="nowarbitrator"
39
         >
39
         >
40
           <el-tag size="medium">
40
           <el-tag size="medium">
41
-            <!-- {{ formateCourtData.arbitratorName }} -->
41
+            
42
           </el-tag>
42
           </el-tag>
43
-        </div>
43
+        </div> -->
44
         <el-form-item
44
         <el-form-item
45
           label="仲裁员:"
45
           label="仲裁员:"
46
           prop="Arbitor"
46
           prop="Arbitor"
79
 </template>
79
 </template>
80
 
80
 
81
 <script>
81
 <script>
82
-import { arbitrAtor, pendTralCheck } from "@/api/formationCourt/formationCourt";
82
+import { arbitrAtor} from "@/api/formationCourt/formationCourt";
83
+import {pendTralCheckBatch} from '@/api/batchManagement/batchManagement.js'
83
 export default {
84
 export default {
84
   props: ["caseVisableReview", "formateCourtData", "queryParams"],
85
   props: ["caseVisableReview", "formateCourtData", "queryParams"],
85
   data() {
86
   data() {
105
     },
106
     },
106
     // formateCourtData: {
107
     // formateCourtData: {
107
     //   handler(val) {
108
     //   handler(val) {
109
+    //     console.log(val)
108
     //     if (val.arbitratorName == null) {
110
     //     if (val.arbitratorName == null) {
109
     //       this.noArbitrator = true;
111
     //       this.noArbitrator = true;
110
     //     } else {
112
     //     } else {
131
           });
133
           });
132
         }
134
         }
133
       });
135
       });
136
+      console.log(this.arbitratorss)
134
     },
137
     },
135
     // 确认
138
     // 确认
136
     submitForm() {
139
     submitForm() {
137
-      if (this.noArbitrator) {
138
-        this.paramsdata = {
139
-          id: this.formateCourtData.id,
140
-          arbitrators: this.arbitrators,
141
-        };
142
-      } else {
143
-        if (this.isAgreePendTral == 0) {
140
+      // if (this.noArbitrator) {
141
+      //   this.paramsdata = {
142
+      //     id: this.formateCourtData.id,
143
+      //     arbitrators: this.arbitrators,
144
+      //   };
145
+      // } else {
146
+      //   if (this.isAgreePendTral == 0) {
147
+      //     this.paramsdata = {
148
+      //       isAgreePendTral: 0,
149
+      //       id: this.formateCourtData.id,
150
+      //       arbitrators: this.arbitrators,
151
+      //     };
152
+      //   } else {
153
+      //     this.paramsdata = {
154
+      //       isAgreePendTral: 1,
155
+      //       id: this.formateCourtData.id,
156
+      //     };
157
+      //   }
158
+      // }
159
+      if (this.isAgreePendTral == 0) {
144
           this.paramsdata = {
160
           this.paramsdata = {
145
             isAgreePendTral: 0,
161
             isAgreePendTral: 0,
146
-            id: this.formateCourtData.id,
162
+            batchNumber: this.formateCourtData.batchNumber,
147
             arbitrators: this.arbitrators,
163
             arbitrators: this.arbitrators,
148
           };
164
           };
149
         } else {
165
         } else {
150
           this.paramsdata = {
166
           this.paramsdata = {
151
             isAgreePendTral: 1,
167
             isAgreePendTral: 1,
152
-            id: this.formateCourtData.id,
168
+            batchNumber: this.formateCourtData.batchNumber,
169
+            arbitrators: this.arbitrators,
153
           };
170
           };
154
         }
171
         }
155
-      }
156
       this.$refs["formateCourtform"].validate((valid) => {
172
       this.$refs["formateCourtform"].validate((valid) => {
157
         if (valid) {
173
         if (valid) {
158
-          pendTralCheck(this.paramsdata).then((res) => {
159
-            
174
+          pendTralCheckBatch(this.paramsdata).then((res) => {
175
+            console.log(res)
160
             this.cancel();
176
             this.cancel();
161
             this.$modal.msgSuccess("组庭成功");
177
             this.$modal.msgSuccess("组庭成功");
162
-            this.$emit("getcaseApply", this.queryParams);
178
+            this.$emit("getList", this.queryParams);
163
             // 初始化页面
179
             // 初始化页面
164
             this.formateCourtform={}
180
             this.formateCourtform={}
165
           });
181
           });

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

2
     <div>
2
     <div>
3
         <!-- 部门长批量审核 -->
3
         <!-- 部门长批量审核 -->
4
         <el-dialog title="部门长批量审核" :visible="caseVisablearHead" destroy-on-close width="30%"  @close="cancel" center>
4
         <el-dialog title="部门长批量审核" :visible="caseVisablearHead" destroy-on-close width="30%"  @close="cancel" center>
5
+            <div>
6
+                <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px">
7
+                <el-form-item label="审核意见" prop="checkOpinion">
8
+                    <el-input type="textarea" :rows="2" placeholder="请输入审核意见" v-model="ruleForm.checkOpinion"></el-input>
9
+                </el-form-item>
10
+                <el-form-item label="驳回原因">
11
+                    <el-input type="textarea" :rows="2" placeholder="请输入驳回原因" v-model="ruleForm.arbitrateReject"></el-input>
12
+                </el-form-item>
13
+                </el-form>
14
+            </div>
5
             <div slot="footer" class="dialog-footer">
15
             <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>
16
+                <el-button type="primary"  class="endbutton" @click="submitForm(1)"><span>同 意</span></el-button>
17
+                <el-button type="danger"  class="endbutton" @click="submitForm(2)"><span>驳 回</span></el-button>
8
                 <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
18
                 <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
9
             </div>
19
             </div>
10
         </el-dialog>
20
         </el-dialog>
11
     </div>
21
     </div>
12
 </template>
22
 </template>
13
 <script>
23
 <script>
24
+import {checkArbitrateRecordBatchs} from '@/api/batchManagement/batchManagement.js'
14
 export default {
25
 export default {
15
-    props: ["caseVisablearHead","queryParams"],
16
-    dicts: ["manager_type"],
26
+    props: ["caseVisablearHead","queryParams","departmentDoc"],
17
     data() {
27
     data() {
18
         return {
28
         return {
19
-           
29
+            ruleForm: {},
30
+            rules: {
31
+                checkOpinion: [
32
+                    {
33
+                        required: true,
34
+                        message: "审核意见不能为空",
35
+                        trigger: "blur",
36
+                    },
37
+                ],
38
+            }  
20
            
39
            
21
         };
40
         };
22
     },
41
     },
23
     watch: {
42
     watch: {
24
         caseVisablearHead(val) {
43
         caseVisablearHead(val) {
25
             if (val) {
44
             if (val) {
26
-                this.ruleForm = {};
45
+                // this.ruleForm = {};
27
             }
46
             }
28
         }
47
         }
29
     },
48
     },
31
 
50
 
32
     },
51
     },
33
     methods: {
52
     methods: {
53
+        submitForm(val){
54
+           this.$refs["ruleForm"].validate((valid) => {
55
+               if(valid){
56
+                   if(val==1){
57
+                       let values = {
58
+                           batchNumber:this.departmentDoc.batchNumber,
59
+                           agreeOrNotCheck:1,
60
+                           arbitrateRecord:this.ruleForm
61
+                       }
62
+                      checkArbitrateRecordBatchs(values).then(res=>{
63
+                            this.$modal.msgSuccess("确认成功");
64
+                            this.cancel();
65
+                            this.$emit("getList", this.queryParams);
66
+                      }).catch((err) => {}); 
67
+                   }else if(val==2){
68
+                       let values = {
69
+                           batchNumber:this.departmentDoc.batchNumber,
70
+                           agreeOrNotCheck:2,
71
+                           arbitrateRecord:this.ruleForm
72
+                       }
73
+                      checkArbitrateRecordBatchs(values).then(res=>{
74
+                            this.$modal.msgSuccess("驳回成功");
75
+                            this.cancel();
76
+                            this.$emit("getList", this.queryParams);
77
+                      }).catch((err) => {}); 
78
+                   }
79
+               }
80
+           })
81
+        },
34
         cancel() {
82
         cancel() {
83
+            
35
             this.$emit("cancelCaseHead");
84
             this.$emit("cancelCaseHead");
36
         },
85
         },
37
     },
86
     },

+ 68
- 32
src/views/batchManagement/components/reviewArbitrationMethod.vue Просмотреть файл

1
 <template>
1
 <template>
2
-    <div>
3
-        <!-- 批量审核仲裁方式 -->
4
-        <el-dialog title="批量审核仲裁方式" :visible="caseVisableReviewl" @close="cancel" width="600px" 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>
2
+  <div>
3
+    <!-- 批量选择仲裁方式页面 -->
4
+    <el-dialog
5
+      title="批量审核仲裁方式"
6
+      :visible="caseVisableReviewl"
7
+      width="500px"
8
+      @close="cancel"
9
+      :destroy-on-close="true"
10
+    >
11
+        <div>
12
+          <el-form :model="form" :rules="rules" ref="form">
13
+            <el-form-item label="选择开庭方式:"  prop="arbitratMethod">
14
+                <el-radio-group v-model="form.arbitratMethod">
15
+                  <el-radio :label=2>书面审理</el-radio>
16
+                  <el-radio :label=1>开庭审理</el-radio>
17
+                </el-radio-group>
18
+            </el-form-item>
19
+          </el-form>
20
+        </div>
21
+        <div slot="footer" class="dialog-footer">
22
+            <el-button type="primary" class="endbutton"  @click="determine">确定</el-button>
23
+            <el-button @click="cancel" class="endbutton">取消</el-button>
24
+        </div>
25
+    </el-dialog>
26
+  </div>
11
 </template>
27
 </template>
12
-<script>
13
-export default { 
14
-    props: ["caseVisableReviewl","queryParams"],
15
-    data() {
16
-        return {
17
-           
18
-           
19
-        };
20
-    },
21
-    watch: {
22
-        caseVisableReviewl(val) {
23
-            if (val) {
24
-                
25
-            }
26
-        }
27
-    },
28
-    created() {
29
 
28
 
29
+<script>
30
+import { arbitrateMethod } from "@/api/caseManagement/caseManagement.js";
31
+import {methodBatch} from '@/api/batchManagement/batchManagement.js'
32
+export default {
33
+  name: "showchoosetrialmethodDialog",
34
+  props: ["caseVisableReviewl", "reviewMethod", "queryParams"],
35
+  data() {
36
+    return {
37
+      form:{},
38
+      rules:{
39
+        arbitratMethod: [
40
+            { required: true, message: '请选择开庭方式', trigger: 'change' }
41
+          ]
42
+      }
43
+    };
44
+  },
45
+  methods: {
46
+    // 审核仲裁方式 arbitrateMethod
47
+    determine(val){
48
+       this.$refs["form"].validate((valid) => {
49
+          if (valid) {
50
+             let dates = {
51
+                batchNumber: this.reviewMethod.batchNumber,
52
+                arbitratMethod:this.form.arbitratMethod
53
+            };
54
+            console.log(dates)
55
+          methodBatch(dates).then((res) => {
56
+              this.$modal.msgSuccess("提交成功");
57
+              this.cancel();
58
+              this.$emit("getList", this.queryParams);
59
+            })
60
+            .catch((err) => {});
61
+          } else {
62
+            return false;
63
+          }
64
+        });
30
     },
65
     },
31
-    methods: {
32
-        cancel() {
33
-            this.$emit("cancelCaseReviewl");
34
-        },
66
+    cancel() {
67
+     this.form.arbitratMethod=""
68
+      this.$emit("cancelCaseReviewl");
35
     },
69
     },
70
+  },
36
 };
71
 };
37
 </script>
72
 </script>
38
-  
73
+
39
 <style lang="scss" scoped>
74
 <style lang="scss" scoped>
40
 ::v-deep .el-dialog {
75
 ::v-deep .el-dialog {
41
   background: #ffffff;
76
   background: #ffffff;
42
   border-radius: 20px;
77
   border-radius: 20px;
43
-}</style>
78
+}
79
+</style>