Преглед на файлове

Merge branch 'hcb' of SH-Arbitrate/Arbitrate-Frontend into dev

hanchaobo преди 2 години
родител
ревизия
96da646d4d

+ 16
- 1
src/api/caseAccess/caseEntry.js Целия файл

49
     data: data
49
     data: data
50
   })
50
   })
51
 }
51
 }
52
-
52
+// 立案审查
53
+export function submitCaseApplicationCheck(data) {
54
+  return request({
55
+    url: "/caseApplication/submitCaseApplicationCheck",
56
+    method: "post",
57
+    data: data,
58
+  });
59
+}
53
 // 下载模板
60
 // 下载模板
54
 export function importTemplate(data) {
61
 export function importTemplate(data) {
55
   return request({
62
   return request({
58
     data: data
65
     data: data
59
   })
66
   })
60
 }
67
 }
68
+// 更新案件锁定状态
69
+export function updateCaseLockStatus(data) {
70
+  return request({
71
+    url: "/caseApplication/updateCaseLockStatus",
72
+    method: "post",
73
+    data: data,
74
+  });
75
+}

+ 2
- 2
src/api/caseManagement/caseManagement.js Целия файл

1
 import request from "@/utils/request";
1
 import request from "@/utils/request";
2
 
2
 
3
 // 确定仲裁方式
3
 // 确定仲裁方式
4
-export function arbitrateMethod(data, id) {
4
+export function arbitrateMethod(data,id) {
5
   return request({
5
   return request({
6
     url: "/arbitrate/method",
6
     url: "/arbitrate/method",
7
     method: "put",
7
     method: "put",
8
-    params: data,
8
+    params:data,
9
     data: id,
9
     data: id,
10
   });
10
   });
11
 }
11
 }

+ 37
- 2
src/views/awardManagement/listofAwards.vue Целия файл

21
                 <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
21
                 <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
22
             </el-form-item>
22
             </el-form-item>
23
         </el-form>
23
         </el-form>
24
+        <el-row :gutter="10" class="mb8">
25
+            <el-col :span="1.5">
26
+                <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(3)"
27
+                    v-hasPermi="['caseManagement:list:check']">案件批量归档</el-button>
28
+            </el-col>
29
+        </el-row>
24
         <el-table v-loading="loading" :data="dataList" style="width: 100%">
30
         <el-table v-loading="loading" :data="dataList" style="width: 100%">
25
             <el-table-column label="序号" type="index" align="center">
31
             <el-table-column label="序号" type="index" align="center">
26
                 <template slot-scope="scope">
32
                 <template slot-scope="scope">
81
         <!-- 快递信息页面 -->
87
         <!-- 快递信息页面 -->
82
         <expressDeliveryDialog :showDelivery="showDelivery" :deliveryDataArr="deliveryDataArr"
88
         <expressDeliveryDialog :showDelivery="showDelivery" :deliveryDataArr="deliveryDataArr"
83
             @closeDeliveryModel="closeDeliveryModel" :flagLoading="flagLoading"></expressDeliveryDialog>
89
             @closeDeliveryModel="closeDeliveryModel" :flagLoading="flagLoading"></expressDeliveryDialog>
90
+        <!-- 批量操作弹窗 -->
91
+        <operateDialog :queryParams="queryParams" :operateStatus="operateStatus" :operateVisable="operateVisable"
92
+            @getcaseApply="getList" :operateTitle="operateTitle" @cancelOperate="cancelOperate"
93
+            :operateData="operateData">
94
+        </operateDialog>
84
     </div>
95
     </div>
85
 </template>
96
 </template>
86
   
97
   
98
 import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
109
 import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
99
 import mailawardDialog from './components/MailawardDialog.vue';
110
 import mailawardDialog from './components/MailawardDialog.vue';
100
 import expressDeliveryDialog from './components/expressDeliveryDialog.vue';
111
 import expressDeliveryDialog from './components/expressDeliveryDialog.vue';
112
+import operateDialog from '@/views/caseManagement/components/operateDialog.vue'
101
 import { getDicts } from '@/api/system/dict/data.js'
113
 import { getDicts } from '@/api/system/dict/data.js'
102
 export default {
114
 export default {
103
     name: "paymentList",
115
     name: "paymentList",
104
     dicts: ["case_status"],
116
     dicts: ["case_status"],
105
-    components: { paymentdetailsDialog, mailawardDialog, expressDeliveryDialog },
117
+    components: { paymentdetailsDialog, mailawardDialog, expressDeliveryDialog,operateDialog },
106
     data() {
118
     data() {
107
         return {
119
         return {
108
             queryParams: {
120
             queryParams: {
136
             showDelivery: false, //快递信息弹框
148
             showDelivery: false, //快递信息弹框
137
             deliveryDataArr: [],//快递信息数据
149
             deliveryDataArr: [],//快递信息数据
138
             flagLoading: true,
150
             flagLoading: true,
151
+            operateVisable: false,
152
+            operateData:{},
153
+            operateStatus:0,
154
+            operateTitle:""
139
         };
155
         };
140
     },
156
     },
141
     created() {
157
     created() {
152
         // this.queryParams.caseStatusList = [10, 11, 12, 13, 14, 15, 16]
168
         // this.queryParams.caseStatusList = [10, 11, 12, 13, 14, 15, 16]
153
     },
169
     },
154
     methods: {
170
     methods: {
171
+        cancelOperate() {
172
+            this.operateVisable = false;
173
+        },
174
+        operateClick(type) {
175
+            this.operateVisable = true;
176
+            if (type == 0) {
177
+                this.operateTitle = '批量提交';
178
+                this.operateStatus = 0;
179
+            } else if (type == 1) {
180
+                this.operateTitle = '批量删除';
181
+                this.operateStatus = 1;
182
+            } else if (type == 2) {
183
+                this.operateTitle = '批量立案申请';
184
+                this.operateStatus = 2;
185
+            } else if (type == 3) {
186
+                this.operateTitle = '批量归档';
187
+                this.operateStatus = 3;
188
+            }
189
+        },
155
         updataList() {
190
         updataList() {
156
             this.getList(this.queryParams);
191
             this.getList(this.queryParams);
157
         },
192
         },
251
             this.$modal.confirm('是否确认立即进行案件扫描?').then(
286
             this.$modal.confirm('是否确认立即进行案件扫描?').then(
252
                 function () {
287
                 function () {
253
                     // return adjudicationCaseFile({ id: row.id })
288
                     // return adjudicationCaseFile({ id: row.id })
254
-                    return adjudicationCaseFile({ ids:[row.id] })
289
+                    return adjudicationCaseFile({ ids: [row.id] })
255
                 }
290
                 }
256
             ).then(() => {
291
             ).then(() => {
257
                 this.getList(this.queryParams);
292
                 this.getList(this.queryParams);

+ 54
- 28
src/views/caseManagement/caseList.vue Целия файл

126
             checkPermi(['caseManagement:list:evidenceUpdate'])" @click="evidenceUpload(scope.row)">证据修改</el-button>
126
             checkPermi(['caseManagement:list:evidenceUpdate'])" @click="evidenceUpload(scope.row)">证据修改</el-button>
127
           <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 31"
127
           <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 31"
128
             @click="timeUpdata(scope.row)">开庭时间</el-button>
128
             @click="timeUpdata(scope.row)">开庭时间</el-button>
129
-          <el-button size="mini" type="text" icon="el-icon-lock" v-if="checkPermi(['caseManagement:list:lock'])"
129
+          <el-button size="mini" type="text" icon="el-icon-lock"
130
+            v-if="checkPermi(['caseManagement:list:lock']) && scope.row.lockStatus == 0"
130
             @click="lockClick(scope.row)">锁定</el-button>
131
             @click="lockClick(scope.row)">锁定</el-button>
131
-          <el-button size="mini" type="text" icon="el-icon-unlock" v-if="checkPermi(['caseManagement:list:lock'])"
132
+          <el-button size="mini" type="text" icon="el-icon-unlock"
133
+            v-if="checkPermi(['caseManagement:list:lock']) && scope.row.lockStatus == 1"
132
             @click="ulockClick(scope.row)">解锁</el-button>
134
             @click="ulockClick(scope.row)">解锁</el-button>
135
+          <el-button size="mini" type="text" icon="el-icon-upload" @click="uploadCase(scope.row)">上传证据目录</el-button>
133
           <!-- <el-button
136
           <!-- <el-button
134
             size="mini"
137
             size="mini"
135
             type="text"
138
             type="text"
188
     <!-- 证据修改 -->
191
     <!-- 证据修改 -->
189
     <evidenceDialog :evidenceVisable="evidenceVisable" @cancelEvidence="cancelEvidence" :evidenceData="evidenceData">
192
     <evidenceDialog :evidenceVisable="evidenceVisable" @cancelEvidence="cancelEvidence" :evidenceData="evidenceData">
190
     </evidenceDialog>
193
     </evidenceDialog>
194
+
191
     <!-- 开庭时间修改 -->
195
     <!-- 开庭时间修改 -->
192
-    <timeDialog :timeVisable="timeVisable" :getcaseApply="getcaseApply" @cancelTime="cancelTime" :timeData="timeData">
196
+    <timeDialog :timeVisable="timeVisable" @getcaseApply="getcaseApply" @cancelTime="cancelTime" :timeData="timeData">
193
     </timeDialog>
197
     </timeDialog>
194
     <!-- 批量操作弹窗 -->
198
     <!-- 批量操作弹窗 -->
195
-    <operateDialog :operateVisable="operateVisable" :getcaseApply="getcaseApply" :operateTitle="operateTitle" @cancelOperate="cancelOperate" :operateData="operateData">
199
+    <operateDialog :queryParams="queryParams" :operateStatus="operateStatus" :operateVisable="operateVisable"
200
+      @getcaseApply="getcaseApply" :operateTitle="operateTitle" @cancelOperate="cancelOperate" :operateData="operateData">
196
     </operateDialog>
201
     </operateDialog>
202
+    <!-- 上传证据目录弹窗 -->
203
+    <uploadCaseDialog :uploadCaseVisable="uploadCaseVisable" @uploadCaseCancel="uploadCaseCancel" :uploadCaseData="uploadCaseData">
204
+    </uploadCaseDialog>
197
   </div>
205
   </div>
198
 </template>
206
 </template>
199
 
207
 
209
 import filingreviewDialog from "./components/filingreviewDialog.vue";
217
 import filingreviewDialog from "./components/filingreviewDialog.vue";
210
 import caselogDialog from "./components/caselogDialog.vue";
218
 import caselogDialog from "./components/caselogDialog.vue";
211
 import viewprocessDialog from "./components/viewprocessDialog.vue";
219
 import viewprocessDialog from "./components/viewprocessDialog.vue";
212
-import evidenceDialog from './components/evidenceDialog.vue'
213
-import timeDialog from './components/timeDialog.vue'
214
-import operateDialog from './components/operateDialog.vue'
220
+import evidenceDialog from './components/evidenceDialog.vue';
221
+import timeDialog from './components/timeDialog.vue';
222
+import operateDialog from './components/operateDialog.vue';
223
+import uploadCaseDialog from './components/uploadCaseDialog.vue';
215
 import { caseApplicationDetail } from "@/api/pay/pay";
224
 import { caseApplicationDetail } from "@/api/pay/pay";
216
 import {
225
 import {
217
   caseApply,
226
   caseApply,
218
   removeCaseApply,
227
   removeCaseApply,
219
   submitCaseApply,
228
   submitCaseApply,
220
   selectCaseApply,
229
   selectCaseApply,
230
+  updateCaseLockStatus
221
 } from "@/api/caseAccess/caseEntry";
231
 } from "@/api/caseAccess/caseEntry";
222
 import { listDept } from "@/api/system/dept";
232
 import { listDept } from "@/api/system/dept";
223
 import {
233
 import {
224
   document,
234
   document,
225
   caseLogRecordList,
235
   caseLogRecordList,
226
 } from "@/api/caseManagement/caseManagement";
236
 } from "@/api/caseManagement/caseManagement";
227
-import { getDicts } from '@/api/system/dict/data.js'
237
+import { getDicts } from '@/api/system/dict/data.js';
228
 export default {
238
 export default {
229
   name: "caseList",
239
   name: "caseList",
230
   // dicts: ["case_status"],
240
   // dicts: ["case_status"],
242
     viewprocessDialog,
252
     viewprocessDialog,
243
     evidenceDialog,
253
     evidenceDialog,
244
     timeDialog,
254
     timeDialog,
245
-    operateDialog
255
+    operateDialog,
256
+    uploadCaseDialog
246
   },
257
   },
247
   data() {
258
   data() {
248
     return {
259
     return {
301
       processData: {},
312
       processData: {},
302
       timeVisable: false,
313
       timeVisable: false,
303
       timeData: {},
314
       timeData: {},
304
-      operateVisable:false,
305
-      operateData:{},
306
-      operateTitle:""
315
+      operateVisable: false,
316
+      operateData: {},
317
+      operateTitle: "",
318
+      operateStatus: 0,
319
+      uploadCaseVisable:false,
320
+      uploadCaseData:{}
307
     };
321
     };
308
   },
322
   },
309
   created() {
323
   created() {
310
     getDicts("case_status").then(res => {
324
     getDicts("case_status").then(res => {
311
       this.caseStatus = res.data;
325
       this.caseStatus = res.data;
312
       let params = this.$route.params.status;
326
       let params = this.$route.params.status;
313
-      if (params) {
327
+      if (params >= 0) {
314
         this.queryParams.caseStatus = params;
328
         this.queryParams.caseStatus = params;
315
       }
329
       }
316
       this.getcaseApply(this.queryParams);
330
       this.getcaseApply(this.queryParams);
328
     cancelTime() {
342
     cancelTime() {
329
       this.timeVisable = false;
343
       this.timeVisable = false;
330
     },
344
     },
331
-    cancelOperate(){
345
+    cancelOperate() {
332
       this.operateVisable = false;
346
       this.operateVisable = false;
333
     },
347
     },
348
+    uploadCaseCancel(){
349
+      this.uploadCaseVisable = false;
350
+    },
351
+    // 上传证据目录弹窗
352
+    uploadCase(row){
353
+      this.uploadCaseData = row;
354
+      this.uploadCaseVisable = true;
355
+    },
334
     // 批量操作弹窗
356
     // 批量操作弹窗
335
-    operateClick(type){
357
+    operateClick(type) {
336
       this.operateVisable = true;
358
       this.operateVisable = true;
337
-      if(type == 0){
338
-        this.operateTitle = '批量提交'
339
-      }else if(type == 1){
340
-        this.operateTitle = '批量删除'
341
-      }else if(type == 2){
342
-        this.operateTitle = '批量立案申请'
359
+      if (type == 0) {
360
+        this.operateTitle = '批量提交';
361
+        this.operateStatus = 0;
362
+      } else if (type == 1) {
363
+        this.operateTitle = '批量删除';
364
+        this.operateStatus = 1;
365
+      } else if (type == 2) {
366
+        this.operateTitle = '批量立案申请';
367
+        this.operateStatus = 2;
343
       }
368
       }
344
     },
369
     },
345
     // 修改开庭时间
370
     // 修改开庭时间
347
       this.timeData = row;
372
       this.timeData = row;
348
       this.timeVisable = true;
373
       this.timeVisable = true;
349
     },
374
     },
375
+
350
     // 锁定案件
376
     // 锁定案件
351
     lockClick(row) {
377
     lockClick(row) {
352
       this.$modal
378
       this.$modal
353
         .confirm("是否锁定案件")
379
         .confirm("是否锁定案件")
354
         .then(function () {
380
         .then(function () {
355
-          // return removeCaseApply({ id: row.id });
381
+          return updateCaseLockStatus({ id: row.id, lockStatus: 1 });
356
         })
382
         })
357
         .then((res) => {
383
         .then((res) => {
358
-          // this.getcaseApply(this.queryParams);
384
+          this.getcaseApply(this.queryParams);
359
           this.$modal.msgSuccess("锁定成功");
385
           this.$modal.msgSuccess("锁定成功");
360
         })
386
         })
361
         .catch(() => { });
387
         .catch(() => { });
363
     // 解锁案件
389
     // 解锁案件
364
     ulockClick(row) {
390
     ulockClick(row) {
365
       this.$modal
391
       this.$modal
366
-        .confirm("是否解锁案件")
392
+        .confirm("是否解锁案件")
367
         .then(function () {
393
         .then(function () {
368
-          // return removeCaseApply({ id: row.id });
394
+          return updateCaseLockStatus({ id: row.id, lockStatus: 0 });
369
         })
395
         })
370
         .then((res) => {
396
         .then((res) => {
371
-          // this.getcaseApply(this.queryParams);
397
+          this.getcaseApply(this.queryParams);
372
           this.$modal.msgSuccess("解锁成功");
398
           this.$modal.msgSuccess("解锁成功");
373
         })
399
         })
374
         .catch(() => { });
400
         .catch(() => { });
513
         .confirm("是否提交立案申请?")
539
         .confirm("是否提交立案申请?")
514
         .then(function () {
540
         .then(function () {
515
           // return submitCaseApply({ id: row.id });
541
           // return submitCaseApply({ id: row.id });
516
-          return submitCaseApply({ids: [row.id] });
542
+          return submitCaseApply({ ids: [row.id] });
517
         })
543
         })
518
         .then(() => {
544
         .then(() => {
519
           this.getcaseApply(this.queryParams);
545
           this.getcaseApply(this.queryParams);
662
         .confirm("是否确认删除?")
688
         .confirm("是否确认删除?")
663
         .then(function () {
689
         .then(function () {
664
           // return removeCaseApply({ id: row.id });
690
           // return removeCaseApply({ id: row.id });
665
-          return removeCaseApply({ids:[row.id]});
691
+          return removeCaseApply({ ids: [row.id] });
666
         })
692
         })
667
         .then((res) => {
693
         .then((res) => {
668
           this.getcaseApply(this.queryParams);
694
           this.getcaseApply(this.queryParams);

+ 10
- 7
src/views/caseManagement/components/caseentryDialog.vue Целия файл

425
               </el-form-item>
425
               </el-form-item>
426
             </el-col>
426
             </el-col>
427
             <el-col :span="12">
427
             <el-col :span="12">
428
-            <el-form-item label="被申请人出生年月日:" :prop="'paymentArr1.' + index + '.responBirth'" :rules="[
428
+              <el-form-item label="被申请人出生年月日:" :prop="'paymentArr1.' + index + '.responBirth'" :rules="[
429
                 {
429
                 {
430
                   required: true,
430
                   required: true,
431
                   message: '被申请人出生年月日不能为空',
431
                   message: '被申请人出生年月日不能为空',
432
                   trigger: 'blur',
432
                   trigger: 'blur',
433
                 },
433
                 },
434
               ]">
434
               ]">
435
-              <el-date-picker v-model="itm.responBirth" type="datetime" placeholder="被申请人出生年月日">
436
-              </el-date-picker>
437
-            </el-form-item>
438
-          </el-col>
435
+                <el-date-picker v-model="itm.responBirth" type="datetime" placeholder="被申请人出生年月日">
436
+                </el-date-picker>
437
+              </el-form-item>
438
+            </el-col>
439
           </el-row>
439
           </el-row>
440
           <div style="display: inline-flex">
440
           <div style="display: inline-flex">
441
             <div class="infoIcon"></div>
441
             <div class="infoIcon"></div>
573
             nameAgent: "",
573
             nameAgent: "",
574
             contactTelphoneAgent: "",
574
             contactTelphoneAgent: "",
575
             contactAddressAgent: "",
575
             contactAddressAgent: "",
576
-            responSex:1,
577
-            responBirth:""
576
+            responSex: 1,
577
+            responBirth: ""
578
           },
578
           },
579
         ],
579
         ],
580
       }, //被申请人主体信息
580
       }, //被申请人主体信息
874
                     ...this.form3.paymentArr1,
874
                     ...this.form3.paymentArr1,
875
                   ];
875
                   ];
876
                   this.formData.caseAttachList = [...this.caseAttachListArr];
876
                   this.formData.caseAttachList = [...this.caseAttachListArr];
877
+                  this.formData.caseAffiliates[1].responBirth = moment(this.formData.caseAffiliates[1].responBirth).format(
878
+                    "YYYY-MM-DD HH:mm:ss"
879
+                  );
877
                   if (this.formData.id) {
880
                   if (this.formData.id) {
878
                     editCaseApply({
881
                     editCaseApply({
879
                       ...this.formData,
882
                       ...this.formData,

+ 4
- 5
src/views/caseManagement/components/choosetrialmethodDaiog.vue Целия файл

56
     submitForm(val) {
56
     submitForm(val) {
57
       let paramsdata = {
57
       let paramsdata = {
58
         opinion: val,
58
         opinion: val,
59
-        ids: [this.choosetrialmethodata.id]
60
       };
59
       };
61
-      // let id = {
62
-      //   id: this.choosetrialmethodata.id,
63
-      // };
64
-      arbitrateMethod(paramsdata)
60
+      let id = {
61
+        id: this.choosetrialmethodata.id,
62
+      };
63
+      arbitrateMethod(paramsdata,id)
65
         .then((res) => {
64
         .then((res) => {
66
           this.$modal.msgSuccess("提交成功");
65
           this.$modal.msgSuccess("提交成功");
67
           this.cancel();
66
           this.cancel();

+ 89
- 8
src/views/caseManagement/components/operateDialog.vue Целия файл

1
 <template>
1
 <template>
2
     <div>
2
     <div>
3
         <el-dialog :title="operateTitle" :visible="operateVisable" @close="cancel" center :distroy-on-close="true">
3
         <el-dialog :title="operateTitle" :visible="operateVisable" @close="cancel" center :distroy-on-close="true">
4
-            <el-table v-loading="loading" :data="dataList" style="width: 100%">
4
+            <el-table v-loading="loading" :data="dataList" style="width: 100%" @selection-change="handleSelectionChange">
5
                 <el-table-column type="selection">
5
                 <el-table-column type="selection">
6
                 </el-table-column>
6
                 </el-table-column>
7
                 <el-table-column label="序号" type="index" align="center">
7
                 <el-table-column label="序号" type="index" align="center">
8
                     <template slot-scope="scope">
8
                     <template slot-scope="scope">
9
                         <span>{{
9
                         <span>{{
10
-                            (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
10
+                            (queryParamsData.pageNum - 1) * queryParamsData.pageSize + scope.$index + 1
11
                         }}</span>
11
                         }}</span>
12
                     </template>
12
                     </template>
13
                 </el-table-column>
13
                 </el-table-column>
25
                     </template>
25
                     </template>
26
                 </el-table-column>
26
                 </el-table-column>
27
             </el-table>
27
             </el-table>
28
-            <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
29
-                :limit.sync="queryParams.pageSize" @pagination="getcaseApply(queryParams)" />
28
+            <div class="radiobox" v-if="operateStatus == 2">
29
+                <el-radio-group v-model="radio">
30
+                    <el-radio :label="1">同意</el-radio>
31
+                    <el-radio :label="2">拒绝</el-radio>
32
+                </el-radio-group>
33
+            </div>
34
+            <pagination v-show="total > 0" :total="total" :page.sync="queryParamsData.pageNum"
35
+                :limit.sync="queryParamsData.pageSize" @pagination="getcaseApply(queryParamsData)" />
36
+            <div slot="footer" class="dialog-footer">
37
+                <el-button @click="cancel" class="endbutton"><span>取 消</span></el-button>
38
+                <el-button @click="submitBatch" type="primary" class="endbutton" :disabled="dataList.length == 0"><span>确 认</span></el-button>
39
+            </div>
30
         </el-dialog>
40
         </el-dialog>
31
     </div>
41
     </div>
32
 </template>
42
 </template>
33
 <script>
43
 <script>
34
 import {
44
 import {
35
-  caseApply,
45
+    caseApply,
46
+    submitCaseApply,
47
+    removeCaseApply,
48
+    submitCaseApplicationCheck
36
 } from "@/api/caseAccess/caseEntry";
49
 } from "@/api/caseAccess/caseEntry";
50
+import {
51
+    adjudicationCaseFile,
52
+} from "@/api/awardManagement/awardManagement";
37
 export default {
53
 export default {
38
-    props: ["operateVisable", "operateData", "operateTitle"],
54
+    props: ["operateVisable", "operateData", "operateTitle", 'operateStatus','queryParams'],
39
     data() {
55
     data() {
40
         return {
56
         return {
41
             // 遮罩层
57
             // 遮罩层
43
             // 总条数
59
             // 总条数
44
             total: 0,
60
             total: 0,
45
             // 查询参数
61
             // 查询参数
46
-            queryParams: {
62
+            queryParamsData: {
47
                 caseStatus: null,
63
                 caseStatus: null,
48
                 pageNum: 1,
64
                 pageNum: 1,
49
                 pageSize: 10,
65
                 pageSize: 10,
50
             },
66
             },
51
             // 表格数据
67
             // 表格数据
52
             dataList: [],
68
             dataList: [],
69
+            batchData: [],
70
+            radio:1
53
         };
71
         };
54
     },
72
     },
55
     watch: {
73
     watch: {
56
         operateVisable(val) {
74
         operateVisable(val) {
57
             if (val) {
75
             if (val) {
58
-                this.getcaseApply()
76
+                this.getcaseApply(this.queryParamsData)
59
             }
77
             }
60
         }
78
         }
61
     },
79
     },
63
 
81
 
64
     },
82
     },
65
     methods: {
83
     methods: {
84
+        // 选择勾选框
85
+        handleSelectionChange(val) {
86
+            this.batchData = [];
87
+            val.forEach(item => {
88
+                this.batchData.push(item.id)
89
+            })
90
+        },
66
         cancel() {
91
         cancel() {
67
             this.$emit("cancelOperate");
92
             this.$emit("cancelOperate");
68
         },
93
         },
94
+        // 批量操作
95
+        submitBatch() {
96
+            if (this.operateStatus == 0) {
97
+                this.submitCaseApplyFn({ ids: this.batchData })
98
+            } else if (this.operateStatus == 1) {
99
+                this.removeCaseApplyFn({ ids: this.batchData })
100
+            } else if (this.operateStatus == 2) {
101
+                this.submitCaseApplicationCheckFn({ ids: this.batchData,agreeOrNotCheck:this.radio })
102
+            }else if (this.operateStatus == 3) {
103
+                this.adjudicationCaseFileFn({ ids: this.batchData })
104
+            }
105
+        },
106
+        // 批量提交
107
+        submitCaseApplyFn(data) {
108
+            submitCaseApply(data).then(res => {
109
+                this.$modal.msgSuccess("提交成功");
110
+                this.cancel();
111
+                this.$emit("getcaseApply", this.queryParams);
112
+            })
113
+        },
114
+        // 批量删除
115
+        removeCaseApplyFn(data) {
116
+            removeCaseApply(data).then(res => {
117
+                this.$modal.msgSuccess("删除成功");
118
+                this.cancel();
119
+                this.$emit("getcaseApply", this.queryParams);
120
+            })
121
+        },
122
+        // 批量立案审查
123
+        submitCaseApplicationCheckFn(data){
124
+            submitCaseApplicationCheck(data).then(res=>{
125
+                this.$modal.msgSuccess("立案审查成功");
126
+                this.cancel();
127
+                this.$emit("getcaseApply", this.queryParams);
128
+            })
129
+        },
130
+        //批量归档
131
+        adjudicationCaseFileFn(data){
132
+            adjudicationCaseFile(data).then(res=>{
133
+                this.$modal.msgSuccess("归档成功");
134
+                this.cancel();
135
+                this.$emit("getcaseApply", this.queryParams);
136
+            })
137
+        },
69
         /** 查询列表 */
138
         /** 查询列表 */
70
         getcaseApply(val) {
139
         getcaseApply(val) {
71
             this.loading = true;
140
             this.loading = true;
141
+            if (this.operateStatus == 0) {
142
+                this.queryParamsData.caseStatus = 0
143
+            } else if (this.operateStatus == 1) {
144
+                this.queryParamsData.caseStatus = 0
145
+            } else if (this.operateStatus == 2) {
146
+                this.queryParamsData.caseStatus = 1
147
+            }else if (this.operateStatus == 3) {
148
+                this.queryParamsData.caseStatus = 16
149
+            }
72
             caseApply(val).then((response) => {
150
             caseApply(val).then((response) => {
73
                 this.dataList = response.rows;
151
                 this.dataList = response.rows;
74
                 this.total = response.total;
152
                 this.total = response.total;
84
     display: flex;
162
     display: flex;
85
     flex-wrap: wrap;
163
     flex-wrap: wrap;
86
 }
164
 }
165
+.radiobox{
166
+    margin-top: 30px;
167
+}
87
 </style>
168
 </style>

+ 103
- 0
src/views/caseManagement/components/uploadCaseDialog.vue Целия файл

1
+<template>
2
+    <div>
3
+        <el-dialog title="上传证据目录" :visible="uploadCaseVisable" @close="cancel" center :distroy-on-close="true">
4
+            <el-upload class="upload-demo" ref="upload" action="https://jsonplaceholder.typicode.com/posts/"
5
+                :on-preview="handlePreview" :on-remove="handleRemove" :file-list="fileList" :auto-upload="false">
6
+                <el-button slot="trigger" size="small" type="primary">选取文件</el-button>
7
+                <el-button style="margin-left: 10px;" size="small" type="success" @click="submitUpload">上传到服务器</el-button>
8
+            </el-upload>
9
+            <div class="title">证据目录结构</div>
10
+            <el-tree :data="data" @node-click="handleNodeClick"></el-tree>
11
+        </el-dialog>
12
+    </div>
13
+</template>
14
+<!-- hearDate -->
15
+<script>
16
+// import { updateHeardate } from '@/api/caseManagement/caseManagement'
17
+export default {
18
+    props: ["uploadCaseVisable", "uploadCaseData"],
19
+    data() {
20
+        return {
21
+            fileList: [],
22
+            data: [{
23
+                label: '寓件编号_中请人名称 / 中请人',
24
+                children: [
25
+                    {
26
+                        label: '1_货款申调表pdf',
27
+                    },
28
+                    {
29
+                        label: '2_款白同pdf',
30
+                    },
31
+                    {
32
+                        label: '3_抵押证明材林pdt',
33
+                    },
34
+                    {
35
+                        label: '5.贷款利期罚息计算表pdf',
36
+                    },
37
+                    {
38
+                        label: '6.数字签名验证报告.pdl',
39
+                    },
40
+                    {
41
+                        label: '7_律师费明妞报售.pdt',
42
+                    },
43
+                ]
44
+            },
45
+            {
46
+                label: '寓件编号_中请人名称 / 中请人',
47
+                children: [
48
+                    {
49
+                        label: '1_货款申调表pdf',
50
+                    },
51
+                    {
52
+                        label: '2_款白同pdf',
53
+                    },
54
+                    {
55
+                        label: '3_抵押证明材林pdt',
56
+                    },
57
+                    {
58
+                        label: '5.贷款利期罚息计算表pdf',
59
+                    },
60
+                    {
61
+                        label: '6.数字签名验证报告.pdl',
62
+                    },
63
+                    {
64
+                        label: '7_律师费明妞报售.pdt',
65
+                    },
66
+                ]
67
+            }],
68
+        };
69
+    },
70
+    watch: {
71
+
72
+    },
73
+    created() {
74
+
75
+    },
76
+    methods: {
77
+        cancel() {
78
+            this.$emit("uploadCaseCancel");
79
+        },
80
+        submitUpload() {
81
+            this.$refs.upload.submit();
82
+        },
83
+        handleRemove(file, fileList) {
84
+            console.log(file, fileList);
85
+        },
86
+        handlePreview(file) {
87
+            console.log(file);
88
+        },
89
+        handleNodeClick(data) {
90
+            console.log(data);
91
+        }
92
+    },
93
+};
94
+</script>
95
+  
96
+<style lang="scss" scoped>
97
+.title {
98
+    margin-top: 30px;
99
+    margin-bottom: 30px;
100
+    font-size: 18px;
101
+    font-weight: 600;
102
+}
103
+</style>

+ 15
- 4
src/views/index.vue Целия файл

41
           <div class="imgTitle">待缴费确认</div>
41
           <div class="imgTitle">待缴费确认</div>
42
         </div>
42
         </div>
43
       </div>
43
       </div>
44
-      <div class="cardList" v-hasPermi="['home:caseApplyEvidence']" @click="pushPage(4)">
44
+      <!-- <div class="cardList" v-hasPermi="['home:caseApplyEvidence']" @click="pushPage(4)">
45
         <div class="badge">{{ dataCount.caseApplyEvidence }}</div>
45
         <div class="badge">{{ dataCount.caseApplyEvidence }}</div>
46
         <div class="cardMain">
46
         <div class="cardMain">
47
           <img class="iconImg" src="@/assets/images/daishencha.png" alt="">
47
           <img class="iconImg" src="@/assets/images/daishencha.png" alt="">
49
         <div class="cardMain">
49
         <div class="cardMain">
50
           <div class="imgTitle">待案件质证</div>
50
           <div class="imgTitle">待案件质证</div>
51
         </div>
51
         </div>
52
-      </div>
52
+      </div> -->
53
       <div class="cardList" v-hasPermi="['home:caseApplyGroupCheck']" @click="pushPage(5)">
53
       <div class="cardList" v-hasPermi="['home:caseApplyGroupCheck']" @click="pushPage(5)">
54
         <div class="badge">{{ dataCount.caseApplyGroupCheck }}</div>
54
         <div class="badge">{{ dataCount.caseApplyGroupCheck }}</div>
55
         <div class="cardMain">
55
         <div class="cardMain">
77
           <div class="imgTitle">待审核仲裁方式</div>
77
           <div class="imgTitle">待审核仲裁方式</div>
78
         </div>
78
         </div>
79
       </div>
79
       </div>
80
+      <div class="cardList" v-hasPermi="['home:caseApplyArbitrateWay']" @click="pushPage(31)">
81
+        <div class="badge">{{ dataCount.updateOnlineHearDate }}</div>
82
+        <div class="cardMain">
83
+          <img class="iconImg" src="@/assets/images/daishencha.png" alt="">
84
+        </div>
85
+        <div class="cardMain">
86
+          <div class="imgTitle">待确认开庭时间</div>
87
+        </div>
88
+      </div>
80
       <div class="cardList" v-hasPermi="['home:caseApplyGroupOnline']" @click="pushPage(8)">
89
       <div class="cardList" v-hasPermi="['home:caseApplyGroupOnline']" @click="pushPage(8)">
81
         <div class="badge">{{ dataCount.caseApplyGroupOnline }}</div>
90
         <div class="badge">{{ dataCount.caseApplyGroupOnline }}</div>
82
         <div class="cardMain">
91
         <div class="cardMain">
175
     },
184
     },
176
     // 点击代办案件按钮
185
     // 点击代办案件按钮
177
     pushPage(status) {
186
     pushPage(status) {
178
-      if (status < 10) {
187
+      if (status == 0 || status == 1 || status == 2 || status == 5 || status == 6 || status == 7 || status == 31 || status == 8 || status == 9) {
179
         this.$router.push({ name: 'CaseManagement/caseList', params: { status: status } })
188
         this.$router.push({ name: 'CaseManagement/caseList', params: { status: status } })
180
-      } else if (status > 10) {
189
+      } else if (status == 11 || status == 12 || status == 13 || status == 14 || status == 15 || status == 16) {
181
         this.$router.push({ name: 'AwardManagement/listofAwards', params: { status: status } })
190
         this.$router.push({ name: 'AwardManagement/listofAwards', params: { status: status } })
191
+      } else if (status == 3){
192
+        this.$router.push({ name: 'PaymentManagement/paymentList', params: { status: status } })
182
       }
193
       }
183
     }
194
     }
184
     // goTarget(href) {
195
     // goTarget(href) {

+ 15
- 7
src/views/paymentManagement/paymentList.vue Целия файл

23
           @keyup.enter.native="handleQuery"
23
           @keyup.enter.native="handleQuery"
24
         >
24
         >
25
           <el-option
25
           <el-option
26
-            v-for="dict in dict.type.case_status"
27
-            :key="dict.value"
28
-            :label="dict.label"
29
-            :value="dict.value"
26
+            v-for="dict in caseStatus"
27
+            :key="dict.dictSort"
28
+            :label="dict.dictLabel"
29
+            :value="dict.dictSort"
30
           ></el-option>
30
           ></el-option>
31
         </el-select>
31
         </el-select>
32
       </el-form-item>
32
       </el-form-item>
136
   casePay,
136
   casePay,
137
 } from "@/api/pay/pay";
137
 } from "@/api/pay/pay";
138
 import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
138
 import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
139
-
139
+import { getDicts } from '@/api/system/dict/data.js'
140
 export default {
140
 export default {
141
   name: "paymentList",
141
   name: "paymentList",
142
-  dicts: ["case_status"],
142
+  // dicts: ["case_status"],
143
   components: { paymentdetailsDialog },
143
   components: { paymentdetailsDialog },
144
   data() {
144
   data() {
145
     return {
145
     return {
180
       detailform: {}, //缴费详情数据
180
       detailform: {}, //缴费详情数据
181
       openDialog: false, //缴费详情数据弹框
181
       openDialog: false, //缴费详情数据弹框
182
       flag: null,
182
       flag: null,
183
+      caseStatus:[]
183
     };
184
     };
184
   },
185
   },
185
   created() {
186
   created() {
186
-    this.getList();
187
+    getDicts("case_status").then(res => {
188
+      this.caseStatus = res.data;
189
+      let params = this.$route.params.status;
190
+      if (params >= 0) {
191
+        this.queryParams.caseStatus = params;
192
+      }
193
+      this.getList();
194
+    })
187
   },
195
   },
188
   methods: {
196
   methods: {
189
     /** 搜索按钮操作 */
197
     /** 搜索按钮操作 */