Browse Source

批量确认缴费,编号管理页面的开发,批量签名,批量用印页面的开发

gyj 2 years ago
parent
commit
54a821a31f

+ 55
- 3
src/views/caseManagement/caseList.vue View File

@@ -61,6 +61,21 @@
61 61
           v-hasPermi="['caseManagement:list:Batchgeneration']">批量生成裁决书</el-button>
62 62
         <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(6)"
63 63
           v-hasPermi="['caseManagement:list:pay']">批量缴费</el-button>
64
+          <el-button type="primary" plain icon="el-icon-plus" size="mini" 
65
+           @click="batchConfirmation"
66
+           v-hasPermi="['caseManagement:list:batchConfirma']"
67
+           >
68
+          批量缴费确认
69
+        </el-button>
70
+      </el-col>
71
+      <el-col :span="1.5" style="margin-top:10px;">
72
+       
73
+        <!-- <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="batchSignatures">
74
+          批量签名
75
+        </el-button>
76
+        <el-button  type="primary" plain icon="el-icon-plus" size="mini" @click="batchPrintings">
77
+          批量用印
78
+        </el-button> -->
64 79
       </el-col>
65 80
     </el-row>
66 81
     <el-table v-loading="loading" :data="dataList" style="width: 100%" :row-class-name="tableRowClassName" class="pendingTrial">
@@ -239,7 +254,12 @@
239 254
     </caseCompressionPackage>
240 255
     <!-- 证据清单 -->
241 256
     <evidenceList :evidenceListD ="evidenceListD" @cancelevidenceList="cancelevidenceList" :caseAttachListR ="caseAttachListR"></evidenceList>
242
-    
257
+    <!-- 批量缴费确认 -->
258
+    <batchConfirmationPaymen @batchOperate="batchOperate" :batchVisable="batchVisable"></batchConfirmationPaymen>
259
+    <!-- 批量签名 -->
260
+    <batchSignature :signatureVisable="signatureVisable" @signatureOperate="signatureOperate"></batchSignature>
261
+    <!-- 批量用印 -->
262
+    <batchPrinting :printingVisable="printingVisable" @printingOperate="printingOperate"></batchPrinting>
243 263
   </div>
244 264
 </template>
245 265
 
@@ -261,6 +281,9 @@ import operateDialog from './components/operateDialog.vue';
261 281
 import uploadCaseDialog from './components/uploadCaseDialog.vue';
262 282
 import caseCompressionPackage from './components/caseCompressionPackage.vue';
263 283
 import evidenceList from './components/evidenceList.vue'
284
+import batchConfirmationPaymen from './components/batchConfirmationPaymen.vue'
285
+import batchSignature from './components/batchSignature.vue'
286
+import batchPrinting from './components/batchPrinting.vue'
264 287
 // 秘书审核页面
265 288
 import caseentryExamineDialog from './components/caseentryExamine.vue';
266 289
 import { caseApplicationDetail } from "@/api/pay/pay";
@@ -269,7 +292,7 @@ import {
269 292
   removeCaseApply,
270 293
   submitCaseApply,
271 294
   selectCaseApply,
272
-  updateCaseLockStatus
295
+  updateCaseLockStatus,
273 296
 } from "@/api/caseAccess/caseEntry";
274 297
 import { listDept } from "@/api/system/dept";
275 298
 import {
@@ -301,7 +324,10 @@ export default {
301 324
     uploadCaseDialog,
302 325
     caseentryExamineDialog,
303 326
     caseCompressionPackage,
304
-    evidenceList
327
+    evidenceList,
328
+    batchConfirmationPaymen,
329
+    batchSignature,
330
+    batchPrinting
305 331
   },
306 332
   data() {
307 333
     return {
@@ -368,6 +394,9 @@ export default {
368 394
       timeVisable: false,
369 395
       timeData: {},
370 396
       operateVisable: false,
397
+      batchVisable:false,
398
+      signatureVisable:false,//批量签名
399
+      printingVisable:false,
371 400
       operateData: {},
372 401
       operateTitle: "",
373 402
       operateStatus: 0,
@@ -419,14 +448,36 @@ export default {
419 448
     cancelOperate() {
420 449
       this.operateVisable = false;
421 450
     },
451
+    batchOperate(){
452
+      this.batchVisable = false;
453
+    },
454
+    printingOperate(){
455
+       this.printingVisable = false;
456
+    },
422 457
     uploadCaseCancel() {
423 458
       this.uploadCaseVisable = false;
424 459
     },
460
+    signatureOperate(){
461
+      this.signatureVisable = false;
462
+    },
463
+    
425 464
     // 上传证据目录弹窗
426 465
     uploadCase(row) {
427 466
       this.uploadCaseData = row;
428 467
       this.uploadCaseVisable = true;
429 468
     },
469
+    // 批量缴费
470
+    batchConfirmation(){
471
+      this.batchVisable = true;
472
+    },
473
+    // 批量签名
474
+    batchSignatures(){
475
+      this.signatureVisable = true;
476
+    },
477
+    // 批量用印
478
+    batchPrintings(){
479
+      this.printingVisable = true;
480
+    },
430 481
     // 批量操作弹窗
431 482
     operateClick(type) {
432 483
       this.operateVisable = true;
@@ -731,6 +782,7 @@ export default {
731 782
     courtreviewRow(row) {
732 783
       // console.log(row, "组庭审核");
733 784
       this.formateCourtData = row;
785
+      console.log(row)
734 786
       this.showformateCourt = true;
735 787
     },
736 788
     cancelcourtReview() {

+ 154
- 0
src/views/caseManagement/components/batchConfirmationPaymen.vue View File

@@ -0,0 +1,154 @@
1
+<template>
2
+    <div>
3
+        <!-- 批量确认缴费 -->
4
+        <el-dialog title="批量确认缴费" :visible="batchVisable" @close="cancel" center :distroy-on-close="true">
5
+            <el-table style="width: 100%" :data="dataList" @selection-change="handleSelectionChange">
6
+                <el-table-column type="selection">
7
+                </el-table-column>
8
+                <el-table-column label="序号" type="index" align="center">
9
+                    <template slot-scope="scope">
10
+                        <span>{{
11
+                            (queryParamsData.pageNum - 1) * queryParamsData.pageSize + scope.$index + 1
12
+                        }}</span>
13
+                    </template>
14
+                </el-table-column>
15
+                <el-table-column label="案件编号" prop="caseNum" align="center"  :show-overflow-tooltip="true" />
16
+                <el-table-column label="申请人" align="center" prop="applicantName" :show-overflow-tooltip="true" />
17
+                <el-table-column label="案件标的" align="center" prop="caseSubjectAmount" />
18
+                <el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
19
+                <!-- 仲裁员 -->
20
+                <el-table-column label="仲裁员" prop="arbitratorName" align="center"  />
21
+                <!-- 开庭日期 -->
22
+                <el-table-column label="开庭日期" prop="hearDate" align="center"  :show-overflow-tooltip="true" />
23
+                <el-table-column label="案件状态" prop="caseStatusName" align="center">
24
+                    <template slot-scope="scope">
25
+                        <el-tag type="success">{{ scope.row.caseStatusName }}</el-tag>
26
+                    </template>
27
+                </el-table-column>
28
+            </el-table>
29
+             <pagination  :total="total" :page.sync="queryParamsData.pageNum"
30
+                :limit.sync="queryParamsData.pageSize" @pagination="getBatchComfirmation(queryParamsData)" />
31
+            <div slot="footer" class="dialog-footer">
32
+                <el-button @click="cancel"  class="endbutton"><span>取 消</span></el-button>
33
+                <el-button type="primary" class="endbutton"  :disabled="dataList.length == 0 || batchData.length == 0" @click="submitPay"><span>确认缴费</span></el-button>
34
+            </div>
35
+            <el-dialog width="40%" title="缴费详情" :visible.sync="payVisible" append-to-body>
36
+                <!-- 案件总金额 -->
37
+                <h3>案件总金额:{{ form.totalFee / 100 }}</h3>
38
+                <el-descriptions :title="'订单信息' + (index + 1)" v-for="(item, index) in form.caseApplicationList"
39
+                    :key="index" border>
40
+                    <el-descriptions-item label="案件编号">{{
41
+                        item.caseNum
42
+                    }}</el-descriptions-item>
43
+                    <el-descriptions-item label="申请人">{{
44
+                        item.caseAppName
45
+                    }}</el-descriptions-item>
46
+                    <el-descriptions-item label="案件标的">{{
47
+                        item.caseSubjectAmount
48
+                    }}</el-descriptions-item>
49
+                    <el-descriptions-item label="案件应缴费用">{{
50
+                        item.feePayable
51
+                    }}</el-descriptions-item>
52
+                    <el-descriptions-item label="被申请人">{{
53
+                        item.caseResName
54
+                    }}</el-descriptions-item>
55
+                    <!-- <el-descriptions-item label="申请人仲裁诉求">{{
56
+                        item.arbitratClaims
57
+                    }}</el-descriptions-item> -->
58
+                </el-descriptions>
59
+                <div slot="footer" class="dialog-footer">
60
+                    <el-button @click="payCancel" class="endbutton"><span>取 消</span></el-button>
61
+                    <el-button type="primary" class="endbutton" @click="submitUpload"><span>确认缴费</span></el-button>
62
+                </div>
63
+            </el-dialog>
64
+        </el-dialog>
65
+    </div>
66
+</template>
67
+<script>
68
+import {caseApply} from '@/api/caseAccess/caseEntry'
69
+import { getPayDetail,confirmPay} from "@/api/pay/pay";
70
+export default {
71
+    props:["batchVisable"],
72
+    data() {
73
+        return {
74
+            // 总条数
75
+            total:0,
76
+             // 查询参数
77
+            queryParamsData: {
78
+                caseStatus: 3,
79
+                pageNum: 1,
80
+                pageSize: 10,
81
+            },
82
+             // 表格数据
83
+            dataList: [],
84
+            batchData: [],
85
+            payVisible: false,
86
+            form: {},
87
+            submitForm: {
88
+                ids:[]
89
+            },
90
+        }
91
+    },
92
+     watch: {
93
+        batchVisable(val) {
94
+            if (val) {
95
+                this.getBatchComfirmation(this.queryParamsData)
96
+            }
97
+        },
98
+        // payVisible(val) {
99
+        //     if (val) {
100
+        //         this.submitForm.payOrderList = []
101
+        //         this.paySelect = 1;
102
+        //         this.fileList = [];
103
+        //     }
104
+        // }
105
+       
106
+    },
107
+    created(){
108
+        this.getBatchComfirmation(this.queryParamsData)
109
+    },
110
+    methods:{
111
+        // 查询列表
112
+        getBatchComfirmation(val){
113
+            caseApply(val).then(res=>{
114
+                this.dataList = res.rows
115
+            })
116
+        },
117
+        
118
+        // 选择勾选框
119
+        // 选择勾选框
120
+        handleSelectionChange(val) {
121
+            this.batchData = [];
122
+            val.forEach(item => {
123
+                this.batchData.push(item.id)
124
+            })
125
+        },
126
+              // 批量缴费弹窗
127
+        submitPay() {
128
+            this.payVisible = true;
129
+            this.getPayDetailFn({ caseIds: this.batchData })
130
+        },
131
+         // 查询缴费信息
132
+        getPayDetailFn(params) {
133
+            getPayDetail(params).then(res => {
134
+                console.log(res)
135
+                this.form = res.data;
136
+            })
137
+        },
138
+       payCancel() {
139
+            this.payVisible = false;
140
+        },
141
+        submitUpload() {
142
+            this.submitForm.ids = this.batchData;
143
+            confirmPay(this.submitForm).then(res => {
144
+                this.$modal.msgSuccess("成功");
145
+                this.payCancel();
146
+                this.getBatchComfirmation(this.queryParamsData);
147
+            })
148
+        },
149
+        cancel() {
150
+         this.$emit("batchOperate");
151
+        },
152
+    }
153
+}
154
+</script>

+ 59
- 0
src/views/caseManagement/components/batchPrinting.vue View File

@@ -0,0 +1,59 @@
1
+<template>
2
+<!-- 批量用印 -->
3
+    <div>
4
+        <el-dialog  :visible="printingVisable" @close="cancel" center :distroy-on-close="true">
5
+            <el-table   style="width: 100%">
6
+                <el-table-column type="selection">
7
+                </el-table-column>
8
+                <el-table-column label="序号" type="index" align="center">
9
+                    <template slot-scope="scope">
10
+                        <!-- <span>{{
11
+                            (queryParamsData.pageNum - 1) * queryParamsData.pageSize + scope.$index + 1
12
+                        }}</span> -->
13
+                    </template>
14
+                </el-table-column>
15
+                <el-table-column label="案件编号" align="center"  :show-overflow-tooltip="true" />
16
+                <el-table-column label="申请人" align="center" :show-overflow-tooltip="true" />
17
+                <el-table-column label="案件标的" align="center"  />
18
+                <el-table-column label="仲裁方式" align="center"  :show-overflow-tooltip="true" />
19
+                <!-- 仲裁员 -->
20
+                <el-table-column label="仲裁员" align="center"  />
21
+                <!-- 开庭日期 -->
22
+                <el-table-column label="开庭日期" align="center"  :show-overflow-tooltip="true" />
23
+                <el-table-column label="案件状态" align="center">
24
+                    <template slot-scope="scope">
25
+                        <el-tag type="success"></el-tag>
26
+                    </template>
27
+                </el-table-column>
28
+            </el-table>
29
+             <pagination  :total="total" :page.sync="queryParamsData.pageNum"
30
+                :limit.sync="queryParamsData.pageSize"  />
31
+            <div slot="footer" class="dialog-footer">
32
+                <el-button @click="cancel"  class="endbutton"><span>取 消</span></el-button>
33
+                <el-button type="primary" class="endbutton"><span>确认用印</span></el-button>
34
+            </div>
35
+        </el-dialog>
36
+    </div>
37
+</template>
38
+<script>
39
+export default {
40
+    props:["printingVisable"],
41
+    data() {
42
+        return {
43
+            // 总条数
44
+            total:0,
45
+             // 查询参数
46
+            queryParamsData: {
47
+                caseStatus: null,
48
+                pageNum: 1,
49
+                pageSize: 10,
50
+            },
51
+        }
52
+    },
53
+    methods:{
54
+        cancel() {
55
+         this.$emit("printingOperate");
56
+        },
57
+    }
58
+}
59
+</script>

+ 59
- 0
src/views/caseManagement/components/batchSignature.vue View File

@@ -0,0 +1,59 @@
1
+<template>
2
+    <div>
3
+        <!-- 批量签名 -->
4
+        <el-dialog  :visible="signatureVisable" @close="cancel" center :distroy-on-close="true">
5
+            <el-table  style="width: 100%">
6
+                <el-table-column type="selection">
7
+                </el-table-column>
8
+                <el-table-column label="序号" type="index" align="center">
9
+                    <template slot-scope="scope">
10
+                        <!-- <span>{{
11
+                            (queryParamsData.pageNum - 1) * queryParamsData.pageSize + scope.$index + 1
12
+                        }}</span> -->
13
+                    </template>
14
+                </el-table-column>
15
+                <el-table-column label="案件编号" align="center"  :show-overflow-tooltip="true" />
16
+                <el-table-column label="申请人" align="center" :show-overflow-tooltip="true" />
17
+                <el-table-column label="案件标的" align="center"  />
18
+                <el-table-column label="仲裁方式" align="center"  :show-overflow-tooltip="true" />
19
+                <!-- 仲裁员 -->
20
+                <el-table-column label="仲裁员" align="center"  />
21
+                <!-- 开庭日期 -->
22
+                <el-table-column label="开庭日期" align="center"  :show-overflow-tooltip="true" />
23
+                <el-table-column label="案件状态" align="center">
24
+                    <template slot-scope="scope">
25
+                        <el-tag type="success"></el-tag>
26
+                    </template>
27
+                </el-table-column>
28
+            </el-table>
29
+             <pagination  :total="total" :page.sync="queryParamsData.pageNum"
30
+                :limit.sync="queryParamsData.pageSize"  />
31
+            <div slot="footer" class="dialog-footer">
32
+                <el-button @click="cancel"  class="endbutton"><span>取 消</span></el-button>
33
+                <el-button type="primary" class="endbutton"><span>确认签名</span></el-button>
34
+            </div>
35
+        </el-dialog>
36
+    </div>
37
+</template>
38
+<script>
39
+export default {
40
+    props:["signatureVisable"],
41
+    data() {
42
+        return {
43
+            // 总条数
44
+            total:0,
45
+             // 查询参数
46
+            queryParamsData: {
47
+                caseStatus: null,
48
+                pageNum: 1,
49
+                pageSize: 10,
50
+            },
51
+        }
52
+    },
53
+    methods:{
54
+        cancel() {
55
+         this.$emit("signatureOperate");
56
+        },
57
+    }
58
+}
59
+</script>

+ 70
- 0
src/views/numberManagement/caseNumberList.vue View File

@@ -0,0 +1,70 @@
1
+<template>
2
+    <div class="app-container">
3
+        <el-row :gutter="10" class="mb8">
4
+            <el-col :span="1.5">
5
+                <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="addList">新增</el-button>
6
+                <!-- v-hasPermi="['caseManagement:list:add']" -->
7
+            </el-col>
8
+        </el-row>
9
+        <el-table  style="width: 100%">
10
+            <el-table-column label="序号" type="index" align="center">
11
+                <template slot-scope="scope">
12
+                    <!-- <span>{{
13
+                        (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
14
+                    }}</span> -->
15
+                </template>
16
+            </el-table-column>
17
+            <el-table-column label="规则类型" align="center"  :show-overflow-tooltip="true" />
18
+            <el-table-column label="前缀" align="center"  :show-overflow-tooltip="true" />
19
+            <el-table-column label="时间格式" align="center"  :show-overflow-tooltip="true" />
20
+            <el-table-column label="机构名称" align="center"  :show-overflow-tooltip="true" />
21
+            <el-table-column label="机构名称首字母拼写" align="center"  :show-overflow-tooltip="true" />
22
+            <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
23
+                <template slot-scope="scope">
24
+                    <el-button size="mini"  type="text" icon="el-icon-delete">删除</el-button>
25
+                    <el-button size="mini" type="text" icon="el-icon-edit">修改模板</el-button>
26
+                </template>
27
+            </el-table-column>
28
+        </el-table>
29
+        <pagination  :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
30
+             />
31
+        <addOrdered :caseVisable="caseVisable" @cancelCase="cancelCase"></addOrdered>
32
+    </div>    
33
+</template>
34
+  
35
+<script>
36
+import addOrdered from './components/addOrdered.vue'
37
+export default {
38
+    components: {
39
+        addOrdered
40
+    },
41
+    data() {
42
+        return {
43
+            queryParams: {
44
+                pageNum: 1,
45
+                pageSize: 10,
46
+            },
47
+            // 遮罩层
48
+            loading: false,
49
+            // 总条数
50
+            total: 0,
51
+            caseVisable: false,//新增弹窗
52
+        };
53
+    },
54
+    created() {
55
+        
56
+    },
57
+    methods: {
58
+        // 新增模板
59
+        addList() {
60
+            this.caseVisable = true;
61
+        },
62
+        cancelCase() {
63
+            this.caseVisable = false;
64
+        }
65
+
66
+    },
67
+};
68
+</script>
69
+  
70
+<style lang="scss" scoped></style>

+ 96
- 0
src/views/numberManagement/components/addOrdered.vue View File

@@ -0,0 +1,96 @@
1
+<template>
2
+    <div>
3
+        <el-dialog title="编号新增" :visible="caseVisable" @close="cancel" width="600px" center>
4
+            <el-form  label-position="left" :model="ruleForm" ref="ruleForm" :rules="rules"  label-width="100px"
5
+                class="demo-ruleForm">
6
+                <el-form-item label="规则类型:" prop="ruleType">
7
+                    <el-select  placeholder="请选择规则类型" v-model="ruleForm.ruleType">
8
+                        <el-option label="字符串" value="1"></el-option>
9
+                        <el-option label="整数" value="2"></el-option>
10
+                    </el-select>
11
+                </el-form-item>
12
+                <el-form-item label="前缀:" prop="prefixstr">
13
+                    <el-input v-model="ruleForm.prefixstr" placeholder="请输入前缀内容" />
14
+                </el-form-item>
15
+                <el-form-item label="时间格式:" prop="dateFormat">
16
+                    <el-select  placeholder="请选择时间格式" v-model="ruleForm.dateFormat">
17
+                        <el-option label="yyyy-MM-dd" value="1"></el-option>
18
+                    </el-select>
19
+                </el-form-item>
20
+                <el-form-item label="机构名称:" prop="deptName">
21
+                    <el-input v-model="ruleForm.deptName" placeholder="请输入机构名称" />
22
+                </el-form-item>
23
+                <el-form-item label="机构名称首字母拼写:" prop="deptNameFirchar">
24
+                    <el-input v-model="ruleForm.deptNameFirchar" placeholder="请输入机构名称首字母拼写" />
25
+                </el-form-item>
26
+            </el-form>
27
+            <div slot="footer" class="dialog-footer">
28
+                <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
29
+                <el-button type="primary"  class="endbutton"><span>确认</span></el-button>
30
+            </div>
31
+        </el-dialog>
32
+    </div>
33
+</template>
34
+<script>
35
+export default {
36
+    props: ["caseVisable"],
37
+    dicts: ["manager_type"],
38
+    data() {
39
+        return {
40
+            ruleForm:{
41
+                ruleType:''
42
+            },
43
+             rules: {
44
+                ruleType: [
45
+                    { required: true, message: '请输入规则类型', trigger: 'blur' },
46
+                ],
47
+                prefixstr: [
48
+                    { required: true, message: '请输入前缀', trigger: 'blur' },
49
+                ],
50
+                dateFormat: [
51
+                    { required: true, message: '请输入时间格式', trigger: 'blur' },
52
+                ],
53
+                deptName: [
54
+                    { required: true, message: '请输入机构名称', trigger: 'blur' },
55
+                ],
56
+                deptNameFirchar: [
57
+                    { required: true, message: '请输入首字母拼写', trigger: 'blur' },
58
+                ]
59
+            }
60
+           
61
+        };
62
+    },
63
+    watch: {
64
+        // uploadVisable(val) {
65
+        //     if (val) {
66
+        //         this.ruleForm = {};
67
+        //     }
68
+        // }
69
+    },
70
+    created() {
71
+
72
+    },
73
+    methods: {
74
+        cancel() {
75
+            this.$emit("cancelCase");
76
+        },
77
+        // 新增模板
78
+        // insertManagerFn(data) {
79
+        //     insertManager(data).then(res => {
80
+        //         this.$message.success('新增成功');
81
+        //         this.$emit("cancelUpload");
82
+        //         this.$emit('getList', this.queryParams);
83
+        //     })
84
+        // },
85
+        // submitUpload() {
86
+        //     this.$refs['ruleForm'].validate((valid) => {
87
+        //         if (valid) {
88
+        //             this.insertManagerFn(this.ruleForm)
89
+        //         }
90
+        //     });
91
+        // },
92
+    },
93
+};
94
+</script>
95
+  
96
+<style lang="scss" scoped></style>

+ 1
- 1
vue.config.js View File

@@ -13,7 +13,7 @@ const port = process.env.port || process.env.npm_config_port || 80 // 端口
13 13
 
14 14
 // const API = 'http://121.40.189.20:9001'  //生产
15 15
 const API = 'http://121.40.189.20:8001'  //测试
16
-// const API = 'http://192.168.3.18:9001'  //B
16
+// const API = 'http://192.168.3.18:8001'  //B
17 17
 // const API = 'http://192.168.3.77:9001' //Q
18 18
 
19 19
 // vue.config.js 配置说明