Sfoglia il codice sorgente

案件列表查询调整

Your Name 2 anni fa
parent
commit
22d43781c6

+ 2
- 3
src/api/caseManagement/caseManagement.js Vedi File

10
   });
10
   });
11
 }
11
 }
12
 // 书面审理
12
 // 书面审理
13
-export function writtenHear(data, id) {
13
+export function writtenHear(data) {
14
   return request({
14
   return request({
15
     url: "/arbitrate/writtenHear",
15
     url: "/arbitrate/writtenHear",
16
     method: "post",
16
     method: "post",
17
-    params: data,
18
-    data: id,
17
+    data: data,
19
   });
18
   });
20
 }
19
 }
21
 // 组庭确认
20
 // 组庭确认

+ 51
- 24
src/views/caseManagement/caseList.vue Vedi File

147
             v-hasPermi="['monitor:online:forceLogout']"
147
             v-hasPermi="['monitor:online:forceLogout']"
148
             >修改</el-button
148
             >修改</el-button
149
           >
149
           >
150
+          <el-button
151
+            size="mini"
152
+            type="text"
153
+            icon="el-icon-edit"
154
+            @click="onsubmitRow(scope.row)"
155
+            v-if="scope.row.caseStatus == 0"
156
+            v-hasPermi="['monitor:online:forceLogout']"
157
+            >提交</el-button
158
+          >
150
           <el-button
159
           <el-button
151
             size="mini"
160
             size="mini"
152
             type="text"
161
             type="text"
230
             v-hasPermi="['monitor:online:forceLogout']"
239
             v-hasPermi="['monitor:online:forceLogout']"
231
             >开庭审理</el-button
240
             >开庭审理</el-button
232
           >
241
           >
233
-          <el-button
234
-            size="mini"
235
-            type="text"
236
-            icon="el-icon-document"
237
-            @click="generateawardRow(scope.row)"
238
-            v-if="scope.row.caseStatus == 10"
239
-            v-hasPermi="['monitor:online:forceLogout']"
240
-            >生成裁决书</el-button
241
-          >
242
+          <el-popconfirm title="确定生成裁决书吗?" @confirm="generateawardRow(scope.row)">
243
+            <el-button
244
+              size="mini"
245
+              slot="reference"
246
+              type="text"
247
+              icon="el-icon-document"
248
+              v-if="scope.row.caseStatus == 10"
249
+              v-hasPermi="['monitor:online:forceLogout']"
250
+              >生成裁决书</el-button
251
+            >
252
+          </el-popconfirm>
242
           <el-button
253
           <el-button
243
             size="mini"
254
             size="mini"
244
             type="text"
255
             type="text"
256
       :total="total"
267
       :total="total"
257
       :page.sync="queryParams.pageNum"
268
       :page.sync="queryParams.pageNum"
258
       :limit.sync="queryParams.pageSize"
269
       :limit.sync="queryParams.pageSize"
259
-      @pagination="getcaseApply"
270
+      @pagination="getcaseApply(queryParams)"
260
     />
271
     />
261
 
272
 
262
     <!-- 立案申请弹框 -->
273
     <!-- 立案申请弹框 -->
264
       :visible="visible"
275
       :visible="visible"
265
       @cancel="cancel"
276
       @cancel="cancel"
266
       :form="form"
277
       :form="form"
278
+      :queryParams="queryParams"
267
       :dialogtitle="dialogtitle"
279
       :dialogtitle="dialogtitle"
268
       :getcaseApply="getcaseApply"
280
       :getcaseApply="getcaseApply"
269
       :flag="flag"
281
       :flag="flag"
273
     <!-- 批量申请弹框 openbatch-->
285
     <!-- 批量申请弹框 openbatch-->
274
     <batchDialog
286
     <batchDialog
275
       :openbatch="openbatch"
287
       :openbatch="openbatch"
288
+      :queryParams="queryParams"
276
       @cancelBatch="cancelBatch"
289
       @cancelBatch="cancelBatch"
277
       :getcaseApply="getcaseApply"
290
       :getcaseApply="getcaseApply"
278
     ></batchDialog>
291
     ></batchDialog>
280
     <formateCourtDialog
293
     <formateCourtDialog
281
       :showformateCourt="showformateCourt"
294
       :showformateCourt="showformateCourt"
282
       @cancelcourtDialog="cancelcourtDialog"
295
       @cancelcourtDialog="cancelcourtDialog"
296
+      :queryParams="queryParams"
283
       :formateCourtData="formateCourtData"
297
       :formateCourtData="formateCourtData"
284
       @getcaseApply="getcaseApply"
298
       @getcaseApply="getcaseApply"
285
     ></formateCourtDialog>
299
     ></formateCourtDialog>
287
     <courtReviewDialog
301
     <courtReviewDialog
288
       :showcourtReview="showcourtReview"
302
       :showcourtReview="showcourtReview"
289
       :form="form"
303
       :form="form"
304
+      :queryParams="queryParams"
290
       @cancelcourtReview="cancelcourtReview"
305
       @cancelcourtReview="cancelcourtReview"
291
       @getcaseApply="getcaseApply"
306
       @getcaseApply="getcaseApply"
292
     ></courtReviewDialog>
307
     ></courtReviewDialog>
294
     <choosetrialmethodDaiog
309
     <choosetrialmethodDaiog
295
       :showchoosetrialmethod="showchoosetrialmethod"
310
       :showchoosetrialmethod="showchoosetrialmethod"
296
       :choosetrialmethodata="choosetrialmethodata"
311
       :choosetrialmethodata="choosetrialmethodata"
312
+      :queryParams="queryParams"
297
       @getcaseApply="getcaseApply"
313
       @getcaseApply="getcaseApply"
298
       @cancelshowchoosetrialMethod="cancelshowchoosetrialMethod"
314
       @cancelshowchoosetrialMethod="cancelshowchoosetrialMethod"
299
     ></choosetrialmethodDaiog>
315
     ></choosetrialmethodDaiog>
302
       :showadjudicaterecord="showadjudicaterecord"
318
       :showadjudicaterecord="showadjudicaterecord"
303
       :form="form"
319
       :form="form"
304
       :adjudicatename="adjudicatename"
320
       :adjudicatename="adjudicatename"
321
+      :queryParams="queryParams"
305
       @canceladjudicaterecord="canceladjudicaterecord"
322
       @canceladjudicaterecord="canceladjudicaterecord"
306
       @getcaseApply="getcaseApply"
323
       @getcaseApply="getcaseApply"
307
     ></adjudicaterecordDialog>
324
     ></adjudicaterecordDialog>
410
       this.loading = true;
427
       this.loading = true;
411
       caseApply(val).then((response) => {
428
       caseApply(val).then((response) => {
412
         this.dataList = response.rows;
429
         this.dataList = response.rows;
413
-        // this.dataList.forEach((item) => {
414
-        //   item.caseStatus = item.caseStatus == 0 ? "立案申请" : "待缴费";
415
-        // });
416
         this.total = response.total;
430
         this.total = response.total;
417
         this.loading = false;
431
         this.loading = false;
418
       });
432
       });
419
     },
433
     },
420
     /** 搜索按钮操作 */
434
     /** 搜索按钮操作 */
421
     handleQuery() {
435
     handleQuery() {
422
-      this.queryParams.caseStatusList = []
436
+      this.queryParams.caseStatusList = [];
423
       this.queryParams.pageNum = 1;
437
       this.queryParams.pageNum = 1;
424
       this.getcaseApply(this.queryParams);
438
       this.getcaseApply(this.queryParams);
425
     },
439
     },
426
     /** 重置按钮操作 */
440
     /** 重置按钮操作 */
427
     resetQuery() {
441
     resetQuery() {
428
       this.resetForm("queryForm");
442
       this.resetForm("queryForm");
429
-      this.queryParams.caseStatusList = [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 16],
430
-      this.getcaseApply(this.queryParams);
443
+      (this.queryParams.caseStatusList = [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 16]),
444
+        this.getcaseApply(this.queryParams);
431
     },
445
     },
432
     // 案件录入
446
     // 案件录入
433
     filingApplication() {
447
     filingApplication() {
477
           return submitCaseApply({ id: row.id });
491
           return submitCaseApply({ id: row.id });
478
         })
492
         })
479
         .then(() => {
493
         .then(() => {
480
-          this.getcaseApply();
494
+          this.getcaseApply(this.queryParams);
481
           this.$modal.msgSuccess("立案成功");
495
           this.$modal.msgSuccess("立案成功");
482
         })
496
         })
483
         .catch(() => {});
497
         .catch(() => {});
498
       this.dialogtitle = "立案修改";
512
       this.dialogtitle = "立案修改";
499
       this.getInfo(row);
513
       this.getInfo(row);
500
     },
514
     },
501
-    // 立案审查
502
-    filingreviewRow(row) {
503
-      console.log(row, "立案审查");
515
+    // 列表提交立案
516
+    onsubmitRow(row) {
504
       this.$modal
517
       this.$modal
505
-        .confirm("确定提交案件数据吗?")
518
+        .confirm("是否提交立案申请?")
506
         .then(function () {
519
         .then(function () {
507
           return submitCaseApply({ id: row.id });
520
           return submitCaseApply({ id: row.id });
508
         })
521
         })
509
         .then(() => {
522
         .then(() => {
510
-          this.getcaseApply();
511
-          this.$modal.msgSuccess("立案成功");
523
+          this.getcaseApply(this.queryParams);
524
+          this.$modal.msgSuccess("立案申请成功");
512
         })
525
         })
513
         .catch(() => {});
526
         .catch(() => {});
514
     },
527
     },
528
+    // 立案审查
529
+    filingreviewRow(row) {
530
+      console.log(row, "立案审查");
531
+      // this.$modal
532
+      //   .confirm("确定提交案件数据吗?")
533
+      //   .then(function () {
534
+      //     return submitCaseApply({ id: row.id });
535
+      //   })
536
+      //   .then(() => {
537
+      //     this.getcaseApply(this.queryParams);
538
+      //     this.$modal.msgSuccess("立案审查成功");
539
+      //   })
540
+      //   .catch(() => {});
541
+    },
515
     // 取消缴费
542
     // 取消缴费
516
     paycancelRow(row) {
543
     paycancelRow(row) {
517
       this.openPay = false;
544
       this.openPay = false;
627
           return removeCaseApply({ id: row.id });
654
           return removeCaseApply({ id: row.id });
628
         })
655
         })
629
         .then((res) => {
656
         .then((res) => {
630
-          this.getcaseApply();
657
+          this.getcaseApply(this.queryParams);
631
           this.$modal.msgSuccess("删除成功");
658
           this.$modal.msgSuccess("删除成功");
632
         })
659
         })
633
         .catch(() => {});
660
         .catch(() => {});

+ 12
- 11
src/views/caseManagement/components/adjudicaterecordDialog.vue Vedi File

182
           >
182
           >
183
             <el-input
183
             <el-input
184
               type="textarea"
184
               type="textarea"
185
-              :autosize="{ minRows: 4}"
185
+              :autosize="{ minRows: 4 }"
186
               placeholder="请输入仲裁结果"
186
               placeholder="请输入仲裁结果"
187
               v-model="form2.evidenDetermi"
187
               v-model="form2.evidenDetermi"
188
             >
188
             >
203
           >
203
           >
204
             <el-input
204
             <el-input
205
               type="textarea"
205
               type="textarea"
206
-              :autosize="{ minRows: 4}"
206
+              :autosize="{ minRows: 4 }"
207
               placeholder="请输入"
207
               placeholder="请输入"
208
               v-model="form2.factDetermi"
208
               v-model="form2.factDetermi"
209
             >
209
             >
286
 import { writtenHear } from "@/api/caseManagement/caseManagement.js";
286
 import { writtenHear } from "@/api/caseManagement/caseManagement.js";
287
 
287
 
288
 export default {
288
 export default {
289
-  props: ["showadjudicaterecord", "form", "adjudicatename"],
289
+  props: ["showadjudicaterecord", "form", "adjudicatename", "queryParams"],
290
   data() {
290
   data() {
291
     return {
291
     return {
292
       formData: {},
292
       formData: {},
307
     submitForm() {
307
     submitForm() {
308
       this.$refs["form2"].validate((valid) => {
308
       this.$refs["form2"].validate((valid) => {
309
         if (valid) {
309
         if (valid) {
310
-          writtenHear(
311
-            {
312
-              accidentDescription: this.form2.accidentDescription,
313
-              arbitrationResult: this.form2.arbitrationResult,
314
-            },
315
-            { id: this.formData.id }
316
-          )
310
+          writtenHear({
311
+            caseAppliId: this.formData.id,
312
+            evidenDetermi: this.form2.evidenDetermi,
313
+            factDetermi: this.form2.factDetermi,
314
+            caseSketch: this.form2.caseSketch,
315
+            arbitrateThink: this.form2.arbitrateThink,
316
+            rulingFollows: this.form2.rulingFollows,
317
+          })
317
             .then((res) => {
318
             .then((res) => {
318
               this.$modal.msgSuccess("提交成功");
319
               this.$modal.msgSuccess("提交成功");
319
               this.cancel();
320
               this.cancel();
320
-              this.$emit("getcaseApply");
321
+              this.$emit("getcaseApply",this.queryParams);
321
             })
322
             })
322
             .catch((err) => {});
323
             .catch((err) => {});
323
         }
324
         }

+ 2
- 2
src/views/caseManagement/components/batchDialog.vue Vedi File

65
 import { importTemplate } from "@/api/caseAccess/caseEntry";
65
 import { importTemplate } from "@/api/caseAccess/caseEntry";
66
 import { getToken } from "@/utils/auth";
66
 import { getToken } from "@/utils/auth";
67
 export default {
67
 export default {
68
-  props: ["openbatch","getcaseApply"],
68
+  props: ["openbatch","getcaseApply","queryParams"],
69
   data() {
69
   data() {
70
     return {
70
     return {
71
       //   key: value,
71
       //   key: value,
141
         "导入结果",
141
         "导入结果",
142
         { dangerouslyUseHTMLString: true }
142
         { dangerouslyUseHTMLString: true }
143
       );
143
       );
144
-      this.getcaseApply();
144
+      this.getcaseApply(this.queryParams);
145
     },
145
     },
146
   },
146
   },
147
 };
147
 };

+ 3
- 2
src/views/caseManagement/components/caseentryDialog.vue Vedi File

540
     "flag",
540
     "flag",
541
     "initpaymentArr",
541
     "initpaymentArr",
542
     "initpaymentArr1",
542
     "initpaymentArr1",
543
+    "queryParams"
543
   ],
544
   ],
544
   data() {
545
   data() {
545
     return {
546
     return {
755
                     }).then((res) => {
756
                     }).then((res) => {
756
                       this.$modal.msgSuccess("修改成功");
757
                       this.$modal.msgSuccess("修改成功");
757
                       this.$emit("cancel");
758
                       this.$emit("cancel");
758
-                      this.getcaseApply();
759
+                      this.getcaseApply(this.queryParams);
759
                     });
760
                     });
760
                   } else {
761
                   } else {
761
                     addCaseApply({
762
                     addCaseApply({
764
                     }).then((response) => {
765
                     }).then((response) => {
765
                       this.$modal.msgSuccess("新增成功");
766
                       this.$modal.msgSuccess("新增成功");
766
                       this.$emit("cancel");
767
                       this.$emit("cancel");
767
-                      this.getcaseApply();
768
+                      this.getcaseApply(this.queryParams);
768
                     });
769
                     });
769
                   }
770
                   }
770
                   // this.$emit("cancel");
771
                   // this.$emit("cancel");

+ 2
- 2
src/views/caseManagement/components/choosetrialmethodDaiog.vue Vedi File

31
 import { arbitrateMethod } from "@/api/caseManagement/caseManagement.js";
31
 import { arbitrateMethod } from "@/api/caseManagement/caseManagement.js";
32
 export default {
32
 export default {
33
   name: "showchoosetrialmethodDialog",
33
   name: "showchoosetrialmethodDialog",
34
-  props: ["showchoosetrialmethod", "choosetrialmethodata"],
34
+  props: ["showchoosetrialmethod", "choosetrialmethodata", "queryParams"],
35
   data() {
35
   data() {
36
     return {
36
     return {
37
       radio: 2,
37
       radio: 2,
50
         .then((res) => {
50
         .then((res) => {
51
           this.$modal.msgSuccess("提交成功");
51
           this.$modal.msgSuccess("提交成功");
52
           this.cancel();
52
           this.cancel();
53
-          this.$emit("getcaseApply");
53
+          this.$emit("getcaseApply",this.queryParams);
54
         })
54
         })
55
         .catch((err) => {});
55
         .catch((err) => {});
56
     },
56
     },

+ 2
- 2
src/views/caseManagement/components/courtReviewDialog.vue Vedi File

47
 import moment from "moment";
47
 import moment from "moment";
48
 export default {
48
 export default {
49
   name: "courtReviewDialog",
49
   name: "courtReviewDialog",
50
-  props: ["showcourtReview", "form"],
50
+  props: ["showcourtReview", "form", "queryParams"],
51
   data() {
51
   data() {
52
     return {
52
     return {
53
       hearDate: "",
53
       hearDate: "",
68
             .then((res) => {
68
             .then((res) => {
69
               this.$modal.msgSuccess("确认成功");
69
               this.$modal.msgSuccess("确认成功");
70
               this.cancel();
70
               this.cancel();
71
-              this.$emit("getcaseApply");
71
+              this.$emit("getcaseApply",this.queryParams);
72
             })
72
             })
73
             .catch((err) => {});
73
             .catch((err) => {});
74
         }
74
         }

+ 5
- 5
src/views/caseManagement/components/formateCourtDialog.vue Vedi File

52
       <pagination
52
       <pagination
53
         v-show="total > 0"
53
         v-show="total > 0"
54
         :total="total"
54
         :total="total"
55
-        :page.sync="queryParams.pageNum"
56
-        :limit.sync="queryParams.pageSize"
55
+        :page.sync="queryParams1.pageNum"
56
+        :limit.sync="queryParams1.pageSize"
57
         @pagination="getarbitrAtor"
57
         @pagination="getarbitrAtor"
58
         v-if="isAgreePendTral == 0"
58
         v-if="isAgreePendTral == 0"
59
       />
59
       />
74
 <script>
74
 <script>
75
 import { arbitrAtor, pendTralCheck } from "@/api/formationCourt/formationCourt";
75
 import { arbitrAtor, pendTralCheck } from "@/api/formationCourt/formationCourt";
76
 export default {
76
 export default {
77
-  props: ["showformateCourt", "formateCourtData"],
77
+  props: ["showformateCourt", "formateCourtData", "queryParams"],
78
   data() {
78
   data() {
79
     return {
79
     return {
80
       dataList: [],
80
       dataList: [],
81
       total: 0,
81
       total: 0,
82
-      queryParams: {
82
+      queryParams1: {
83
         pageNum: 1,
83
         pageNum: 1,
84
         pageSize: 10,
84
         pageSize: 10,
85
       },
85
       },
127
       pendTralCheck(this.paramsdata).then((res) => {
127
       pendTralCheck(this.paramsdata).then((res) => {
128
         this.cancel();
128
         this.cancel();
129
         this.$modal.msgSuccess("组庭成功");
129
         this.$modal.msgSuccess("组庭成功");
130
-        this.$emit("getcaseApply");
130
+        this.$emit("getcaseApply",this.queryParams);
131
       });
131
       });
132
       // }
132
       // }
133
     },
133
     },