Your Name 2 лет назад
Родитель
Сommit
22cfffa3e8

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

@@ -47,4 +47,28 @@ export function submitCaseApply(data) {
47 47
       method: 'post',
48 48
       data: data
49 49
     })
50
+  }
51
+//   缴费确认
52
+export function confirmPaid(data) {
53
+    return request({
54
+      url: "/pay/confirmPaid",
55
+      method: "post",
56
+      data: data,
57
+    });
58
+  }
59
+//   案件id查询缴费清单
60
+export function selectPaymentDetail(data) {
61
+    return request({
62
+      url: "/pay/selectPaymentDetail",
63
+      method: "get",
64
+      params: data,
65
+    });
66
+  }
67
+  //案件受理
68
+  export function accept(data) {
69
+    return request({
70
+      url: "/caseApplication/accept",
71
+      method: "post",
72
+      data: data,
73
+    });
50 74
   }

+ 67
- 15
src/views/caseManagement/caseList.vue Просмотреть файл

@@ -63,17 +63,15 @@
63 63
                     <el-button size="mini" @click="eidtNodeprocess(scope.row)" type="text"
64 64
                         icon="el-icon-edit">修改</el-button>
65 65
                     <el-button size="mini" @click="checkDetail(scope.row)" type="text" icon="el-icon-view">查看详情</el-button>
66
-                    <el-button size="mini" @click="consultantApplica(scope.row)" type="text"
67
-                        icon="el-icon-tickets">法律顾问用印申请</el-button>
68
-                    <el-button size="mini" @click="departmentApplica(scope.row)" type="text"
69
-                        icon="el-icon-edit-outline">部门长用印申请</el-button>
66
+                    <el-button size="mini" @click="consultantApplica(scope.row)" type="text" icon="el-icon-tickets">法律顾问用印申请</el-button>
67
+                    <el-button size="mini" @click="departmentApplica(scope.row)" type="text" icon="el-icon-edit-outline">部门长用印</el-button>
70 68
                     <el-button size="mini" @click="caseFlow(scope.row)" type="text" icon="el-icon-zoom-in">查看流程</el-button>
71
-                    <el-button size="mini" @click="caseLog(scope.row)" type="text"
72
-                        icon="el-icon-edit-outline">案件日志</el-button>
73
-                    <el-button size="mini" @click="caseFiling(scope.row)" type="text"
74
-                        icon="el-icon-tickets">案件归档</el-button>
75
-                    <el-button size="mini" @click="signMediation(scope.row)" type="text"
76
-                        icon="el-icon-edit-outline">签收调解书</el-button>
69
+                    <el-button size="mini" @click="caseLog(scope.row)" type="text" icon="el-icon-edit-outline">案件日志</el-button>
70
+                    <el-button size="mini" @click="paymentconfirmationRow(scope.row)" type="text" icon="el-icon-zoom-in">缴费确认</el-button>
71
+                    <el-button size="mini" @click="caseAccep(scope.row)" type="text" icon="el-icon-zoom-in">案件受理</el-button>
72
+                    <el-button size="mini" @click="viewpaymentformRow(scope.row)" type="text" icon="el-icon-edit">查看缴费单</el-button>
73
+                    <el-button size="mini" @click="caseFiling(scope.row)" type="text" icon="el-icon-tickets">案件归档</el-button>
74
+                    <el-button size="mini" @click="signMediation(scope.row)" type="text" icon="el-icon-edit-outline">签收调解书</el-button>                 
77 75
                     <el-button size="mini" type="text" icon="el-icon-edit"
78 76
                         @click="evidenceUpload(scope.row)">证据修改</el-button>
79 77
                     <el-button size="mini" type="text" icon="el-icon-tickets" @click="payStatus(scope.row)">缴费</el-button>
@@ -100,11 +98,15 @@
100 98
         <!-- 缴费 -->
101 99
         <payDialog :openPay="openPay" :payTitle="payTitle" :formPayDetail="formPayDetail" :payId="payId" :payForm="payForm"
102 100
             :queryParams="queryParams" @getList="getList" @paycancelRow="paycancelRow"></payDialog>
101
+        <!-- 缴费确认查看详情 -->
102
+        <paymentdetailsDialog :openDialog="openDialog" @cancelpaymentdetails="cancelpaymentdetails" :title="payTitle" :detailform="detailform" :flag="flag" :paymentConfirma="paymentConfirma" :getList="getList"></paymentdetailsDialog>
103
+        <!-- 案件受理 -->
104
+        <caseAcceptance :showAcceptance="showAcceptance" @cancelAcceptance="cancelAcceptance" :caseAcceptanceData="caseAcceptanceData" :getList="getList"></caseAcceptance>
103 105
     </div>
104 106
 </template>
105 107
 
106 108
 <script>
107
-import { caseApplicationList, caseApplicationSelectById,submitCaseApply } from '@/api/caseManagement/caseManagement.js'
109
+import { caseApplicationList, caseApplicationSelectById,submitCaseApply,selectPaymentDetail } from '@/api/caseManagement/caseManagement.js'
108 110
 import { listDept } from '@/api/system/dept.js'
109 111
 import moment from "moment";
110 112
 import addCase from './components/addCase.vue'
@@ -113,6 +115,8 @@ import caseCompressionPackage from './components/caseCompressionPackage.vue';
113 115
 import mediationCaseDetails from './components/mediationCaseDetails.vue'
114 116
 import mediationCaseLog from './components/mediationCaseLog.vue'
115 117
 import payDialog from "./components/payDialog.vue";
118
+import paymentdetailsDialog from './components/paymentdetailsDialog.vue'
119
+import caseAcceptance from './components/caseAcceptance.vue'
116 120
 export default {
117 121
     name: "caseList",
118 122
     dicts: ["case_flow_node"],
@@ -123,6 +127,8 @@ export default {
123 127
         mediationCaseLog,
124 128
         evidenceDialog,
125 129
         payDialog,
130
+        paymentdetailsDialog,
131
+        caseAcceptance
126 132
     },
127 133
     data() {
128 134
         return {
@@ -140,14 +146,21 @@ export default {
140 146
             rules: {},
141 147
             dataList: [],
142 148
             addVisable: false,//新增弹窗
143
-            openCompressedPackages: false,//压缩包导入弹窗
144
-            processVisable: false,//案件详情
145
-            showcaseLog: false,//案件日志
146
-            evidenceVisable: false,//证据修改弹窗
147 149
             openPay: false, //缴费弹框
148 150
             formPayDetail: {},
149 151
             payId: null,
150 152
             payForm: {},
153
+            openCompressedPackages:false,//压缩包导入弹窗
154
+            processVisable:false,//案件详情
155
+            showcaseLog:false,//案件日志
156
+            openDialog:false,//确认缴费和缴费详情
157
+            detailform: {}, //缴费详情数据
158
+            evidenceVisable: false,//证据修改弹窗
159
+            payTitle:"",//缴费标题
160
+            paymentConfirma:{},//缴费确认
161
+            showAcceptance:false,//案件受理弹框
162
+            caseAcceptanceData:{},//案件受理数据
163
+            flag: null,
151 164
             caseData: {},
152 165
             evidenceData: {},
153 166
             caseDisabled: false,
@@ -287,6 +300,45 @@ export default {
287 300
         // 部门长用印申请
288 301
         departmentApplica() {
289 302
 
303
+        },
304
+        // 案件受理
305
+        caseAccep(row){
306
+            this.caseAcceptanceData = row
307
+            this.showAcceptance = true
308
+        },
309
+        cancelAcceptance(){
310
+            this.showAcceptance = false
311
+        },
312
+        // 缴费确认
313
+        paymentconfirmationRow(row){
314
+            this.paymentConfirma = row
315
+            console.log(this.paymentConfirma)
316
+            this.paymentDetails({
317
+                id:row.id
318
+            })
319
+            this.openDialog = true
320
+            this.payTitle = "缴费确认"
321
+            this.flag = 0;
322
+            this.detailform = {}
323
+        },
324
+        cancelpaymentdetails(){
325
+            this.openDialog = false
326
+        },
327
+        // 查看缴费确认
328
+        viewpaymentformRow(row){
329
+             this.paymentDetails({
330
+                id:row.id
331
+            })
332
+            this.payTitle = "缴费单详情"
333
+            this.flag = 1;
334
+            this.detailform = {}
335
+            this.openDialog = true
336
+        },
337
+        // 缴费详情
338
+        paymentDetails(val){
339
+            selectPaymentDetail(val).then(res=>{
340
+                this.detailform = res.data;
341
+            })
290 342
         },
291 343
         //案件流程
292 344
         caseFlow(row) {

+ 139
- 0
src/views/caseManagement/components/caseAcceptance.vue Просмотреть файл

@@ -0,0 +1,139 @@
1
+<template>
2
+  <div>
3
+    <!-- 案件受理 -->
4
+    <el-dialog
5
+      title="案件受理"
6
+      :visible="showAcceptance"
7
+      @close="cancel"
8
+      :destroy-on-close="true"
9
+      center
10
+    >
11
+      <el-form ref="courtReviewform" :model="courtReviewform">
12
+        <el-form-item label="调解方式:">
13
+          <el-radio-group v-model="courtReviewform.mediationMethod">
14
+            <el-radio :label="1">开庭调解</el-radio>
15
+            <el-radio :label="2">书面调解</el-radio>
16
+          </el-radio-group>
17
+        </el-form-item>
18
+        <el-form-item label="是否纸质送达:">
19
+          <el-radio-group v-model="courtReviewform.paperFlag">
20
+            <el-radio :label="1">是</el-radio>
21
+            <el-radio :label="0">否</el-radio>
22
+          </el-radio-group>
23
+        </el-form-item>
24
+        <el-form-item label="是否仲裁确认:">
25
+          <el-radio-group v-model="courtReviewform.arbitrateConfirm">
26
+            <el-radio :label="1">是</el-radio>
27
+            <el-radio :label="0">否</el-radio>
28
+          </el-radio-group>
29
+        </el-form-item>
30
+      </el-form>
31
+      <div slot="footer" class="dialog-footer">
32
+        <el-button type="primary" @click="submitForm" class="endbutton"><span>确 定</span></el-button>
33
+        <el-button @click="cancel" class="endbutton1"><span> 取 消</span></el-button>
34
+      </div>
35
+    </el-dialog>
36
+  </div>
37
+</template>
38
+
39
+<script>
40
+import {accept} from '@/api/caseManagement/caseManagement.js'
41
+export default {
42
+  name: "caseAcceptance",
43
+  props: ["showAcceptance", "caseAcceptanceData", "getList"],
44
+  data() {
45
+    return {
46
+      courtReviewform: {
47
+         mediationMethod:2,
48
+         paperFlag:0,
49
+         arbitrateConfirm:0
50
+      },
51
+    };
52
+  },
53
+  watch: {
54
+    showAcceptance(val) {
55
+      if (val) {
56
+        console.log(this.caseAcceptanceData)
57
+      }
58
+    },
59
+  },
60
+  methods: {
61
+    submitForm() {
62
+      this.$refs["courtReviewform"].validate((valid) => {
63
+        if (valid) {
64
+        let paramsdata ={
65
+            id:this.caseAcceptanceData.id,
66
+            caseFlowId:this.caseAcceptanceData.caseFlowId,
67
+            batchNumber:""
68
+        }
69
+        let mergeValue = Object.assign({}, this.courtReviewform, paramsdata)
70
+          accept(mergeValue).then((res) => {
71
+              this.$modal.msgSuccess("确认成功");
72
+              if (res.code == 200) {
73
+                this.getList();
74
+            }
75
+              this.cancel();
76
+            })
77
+            .catch((err) => {});
78
+        }
79
+      });
80
+    },
81
+    cancel() {
82
+      this.$emit("cancelAcceptance");
83
+    },
84
+  },
85
+};
86
+</script>
87
+
88
+<style lang="scss" scoped>
89
+::v-deep .el-dialog {
90
+  background: #ffffff;
91
+  border-radius: 20px;
92
+}
93
+
94
+.el-form-item {
95
+  margin-left: 10%;
96
+}
97
+
98
+.endbutton {
99
+  width: 124px;
100
+  height: 37px;
101
+  background: #0072ff;
102
+  border-radius: 19px;
103
+
104
+  span {
105
+    width: 32px;
106
+    height: 15px;
107
+    font-size: 16px;
108
+    font-family: Microsoft YaHei;
109
+    font-weight: 400;
110
+    color: #ffffff;
111
+    // line-height: 48px;
112
+  }
113
+}
114
+
115
+.endbutton1 {
116
+  width: 124px;
117
+  height: 37px;
118
+  background: #ffffff;
119
+  border: 1px solid #d0d0d0;
120
+  border-radius: 19px;
121
+
122
+  span {
123
+    width: 31px;
124
+    height: 13px;
125
+    font-size: 16px;
126
+    font-family: Microsoft YaHei;
127
+    font-weight: 400;
128
+    color: #959595;
129
+    // line-height: 48px;
130
+  }
131
+}
132
+.nowarbitrator {
133
+  margin-left: 10%;
134
+}
135
+
136
+::v-deep .el-form-item__error {
137
+  left: 90px;
138
+}
139
+</style>

+ 122
- 0
src/views/caseManagement/components/paymentdetailsDialog.vue Просмотреть файл

@@ -0,0 +1,122 @@
1
+<template>
2
+  <div>
3
+    <el-dialog :title="title" :visible="openDialog" @close="cancel" :destroy-on-close="true" center>
4
+      <el-form ref="form" :model="form" label-width="90px" :disabled="true">
5
+        <el-form-item label="案件编号:" prop="caseNum">
6
+          <el-input v-model="form.caseNum" placeholder="" />
7
+        </el-form-item>
8
+        <el-form-item label="案件标的:" prop="caseSubjectAmount">
9
+          <el-input v-model="form.caseSubjectAmount" />
10
+        </el-form-item>
11
+        <el-form-item label="缴费人:" prop="applicantName">
12
+          <el-input v-model="form.applicationOrganName" placeholder="" />
13
+        </el-form-item>
14
+        <el-form-item label="缴费金额:" prop="feePayable">
15
+          <el-input v-model="form.feePayable" />
16
+        </el-form-item>
17
+        <el-form-item label="缴费凭证:" prop="caseStatusName">
18
+          <div style="color: #104fad;cursor:pointer" v-for="(item, index) in form.caseAttachList" :key="index" @click="preview(item.annexPath)">
19
+            {{ item.annexName }}
20
+          </div>
21
+        </el-form-item>
22
+      </el-form>
23
+      <div slot="footer" class="dialog-footer">
24
+        <el-button type="primary" @click="submitForm" v-if="flag == 0" class="endbutton">确认已缴费</el-button>
25
+        <el-button @click="cancel" class="endbutton1">取 消</el-button>
26
+      </div>
27
+    </el-dialog>
28
+  </div>
29
+</template>
30
+
31
+<script>
32
+import {confirmPaid} from '@/api/caseManagement/caseManagement.js'
33
+export default {
34
+  props: ["openDialog", "title", "flag", "detailform", "getList","paymentConfirma"],
35
+  data() {
36
+    return {
37
+      form: {},
38
+      srcList: []
39
+    };
40
+  },
41
+  watch: {
42
+    detailform: {
43
+      handler(val) {
44
+        if (val) {
45
+          this.form = val;
46
+        }
47
+      },
48
+    },
49
+  },
50
+  methods: {
51
+    preview(data) {
52
+      window.open(
53
+        window.location.origin + "/API" + data,
54
+        "_blank"
55
+      );
56
+    },
57
+    // 确认缴费
58
+    submitForm() {
59
+        let paramsVal = {
60
+            caseId:this.paymentConfirma.id,
61
+            batchNumber:"",
62
+            caseFlowId:this.paymentConfirma.caseFlowId
63
+        }
64
+      confirmPaid(paramsVal).then((res) => {
65
+        this.$message({
66
+          message: "确认成功",
67
+          type: "success",
68
+        });
69
+        if (res.code == 200) {
70
+          this.getList();
71
+        }
72
+      });
73
+      this.cancel();
74
+    },
75
+    cancel() {
76
+      this.$emit("cancelpaymentdetails");
77
+    },
78
+  },
79
+};
80
+</script>
81
+
82
+<style lang="scss" scoped>
83
+::v-deep .el-dialog {
84
+  width: 50%;
85
+  background: #ffffff;
86
+  border-radius: 20px;
87
+}
88
+
89
+.endbutton {
90
+  width: 124px;
91
+  height: 37px;
92
+  background: #0072ff;
93
+  border-radius: 19px;
94
+
95
+  span {
96
+    width: 32px;
97
+    height: 15px;
98
+    font-size: 16px;
99
+    font-family: Microsoft YaHei;
100
+    font-weight: 400;
101
+    color: #ffffff;
102
+    // line-height: 48px;
103
+  }
104
+}
105
+
106
+.endbutton1 {
107
+  width: 124px;
108
+  height: 37px;
109
+  background: #ffffff;
110
+  border: 1px solid #d0d0d0;
111
+  border-radius: 19px;
112
+
113
+  span {
114
+    width: 31px;
115
+    height: 13px;
116
+    font-size: 16px;
117
+    font-family: Microsoft YaHei;
118
+    font-weight: 400;
119
+    color: #959595;
120
+  }
121
+}
122
+</style>