ソースを参照

移动批量按钮和修改bug

gyj 2 年 前
コミット
733396c21b

+ 158
- 0
src/views/awardManagement/components/batchPrintings.vue ファイルの表示

@@ -0,0 +1,158 @@
1
+<template>
2
+<!-- 批量用印 -->
3
+    <div>
4
+        <el-dialog title="批量用印" width="65%" :visible="printingVisable" @close="cancel" center :distroy-on-close="true">
5
+            <!-- 查询机构信息 -->
6
+            <el-form ref="courtReviewform" :model="courtReviewform">
7
+                <el-form-item
8
+                    label="查询机构:"
9
+                    prop="Arbitor"
10
+                    :rules="[
11
+                        {
12
+                        required: true,
13
+                        message: '查询机构不能为空',
14
+                        trigger: 'blur',
15
+                        },
16
+                ]"
17
+                >
18
+                <el-select
19
+                    placeholder="请选择查询机构"
20
+                    @change="changeArbitor"
21
+                    v-model="courtReviewform.Arbitor"
22
+                    clearable
23
+                >
24
+                    <el-option
25
+                     v-for="item in atoDataList"
26
+                    :key="item.id"
27
+                    :label="item.identifyName"
28
+                    :value="item.operPhone"
29
+                    ></el-option>
30
+                </el-select>
31
+                </el-form-item>
32
+                </el-form>
33
+            <el-table v-loading="loading" :data="dataList" style="width: 100%" @selection-change="handleSelectionChange">
34
+                <el-table-column type="selection">
35
+                </el-table-column>
36
+                <el-table-column label="序号" type="index" align="center">
37
+                    <template slot-scope="scope">
38
+                        <span>{{
39
+                            (queryParamsData.pageNum - 1) * queryParamsData.pageSize + scope.$index + 1
40
+                        }}</span>
41
+                    </template>
42
+                </el-table-column>
43
+                <el-table-column label="案件编号" prop="caseNum" align="center" width="150" :show-overflow-tooltip="true" />
44
+                <el-table-column label="申请人" align="center" prop="applicantName" :show-overflow-tooltip="true" />
45
+                <el-table-column label="案件标的" align="center"  prop="caseSubjectAmount"/>
46
+                <el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
47
+                <!-- 仲裁员 -->
48
+                <el-table-column label="仲裁员" align="center" prop="arbitratorName" />
49
+                <!-- 开庭日期 -->
50
+                <el-table-column label="开庭日期" align="center" prop="hearDate" :show-overflow-tooltip="true" />
51
+                <el-table-column label="案件状态" align="center" prop="caseStatusName">
52
+                    <template slot-scope="scope">
53
+                        <el-tag type="success">{{ scope.row.caseStatusName }}</el-tag>
54
+                    </template>
55
+                </el-table-column>
56
+            </el-table>
57
+             <pagination  :total="total" :page.sync="queryParamsData.pageNum"
58
+                :limit.sync="queryParamsData.pageSize"  />
59
+            <div slot="footer" class="dialog-footer">
60
+                <el-button @click="cancel"  class="endbutton"><span>取 消</span></el-button>
61
+                <el-button type="primary" class="endbutton" :disabled="dataList.length == 0 || batchData.length == 0" @click="confirmSeals"><span>确认用印</span></el-button>
62
+            </div>
63
+        </el-dialog>
64
+    </div>
65
+</template>
66
+<script>
67
+import {selectBatchSealUrl,pageSignAdjudicate} from '@/api/caseAccess/caseEntry'
68
+import {deptIdentifyList} from '@/api/officialSeal/officialSeal'
69
+export default {
70
+    props:["printingVisable"],
71
+    data() {
72
+        return {
73
+             // 遮罩层
74
+            loading: true,
75
+            // 总条数
76
+            total:0,
77
+             // 查询参数
78
+            queryParamsData: {
79
+                caseStatus: 14, 
80
+                pageNum: 1,
81
+                pageSize: 10,
82
+            },
83
+           // 表格数据
84
+            dataList: [],
85
+            batchData: [],
86
+            atoDataList:[],
87
+            courtReviewform: {},
88
+            Arbitor: "",
89
+            paramsdata:{
90
+                ids:[],
91
+                psnAccount:""
92
+            },
93
+        }
94
+    },
95
+    watch: {
96
+        printingVisable(val) {
97
+            if (val) {
98
+                this.getBatchPrinting(this.queryParamsData)
99
+            }
100
+        }  
101
+    },
102
+    created(){
103
+        this.getBatchPrinting(this.queryParamsData)
104
+        this.getarbitrAtor()
105
+    },
106
+    methods:{
107
+        // 列表查询
108
+         getBatchPrinting(val){
109
+             this.loading = true;
110
+            pageSignAdjudicate(val).then(res=>{
111
+                this.dataList = res.rows
112
+                this.total = res.total;
113
+                 this.loading = false;
114
+            })
115
+        },
116
+        // 选择勾选框
117
+        handleSelectionChange(val){
118
+             this.batchData = [];
119
+            val.forEach(item => {
120
+                this.batchData.push(item.signFlowId)
121
+                this.paramsdata.ids = this.batchData
122
+            })
123
+        },
124
+            // 查询机构信息
125
+        getarbitrAtor() {
126
+                this.atoDataList =[]
127
+                deptIdentifyList({}).then((res) => {
128
+                    console.log(res)
129
+                    this.atoDataList = res.rows;
130
+                    // this.total = res.total; 
131
+                });
132
+        },
133
+        // 下拉获取电话号码
134
+        changeArbitor(val){
135
+            this.paramsdata.psnAccount = val
136
+        },
137
+        // 确认用印
138
+        confirmSeals(){
139
+         this.$refs["courtReviewform"].validate((valid) => {
140
+            if (valid) {
141
+          selectBatchSealUrl(this.paramsdata).then((res) => { 
142
+              this.$modal.msgSuccess("确认成功");
143
+              this.cancel();
144
+              this.getBatchPrinting(this.queryParamsData)
145
+              window.open(res.data.signUrl)
146
+              
147
+            //   this.$emit("getcaseApply", this.queryParams);
148
+            })
149
+            .catch((err) => {});
150
+        }
151
+      });
152
+    },
153
+        cancel() {
154
+         this.$emit("printingOperate");
155
+        },
156
+    }
157
+}
158
+</script>

+ 164
- 0
src/views/awardManagement/components/batchSignatures.vue ファイルの表示

@@ -0,0 +1,164 @@
1
+<template>
2
+    <div>
3
+        <!-- 批量签名 -->
4
+        <el-dialog title="批量签名" width="65%" :visible="signatureVisable" @close="cancel"  center :distroy-on-close="true">
5
+            <el-form ref="courtReviewform" :model="courtReviewform">
6
+                <el-form-item
7
+                    label="仲裁员:"
8
+                    prop="Arbitor"
9
+                    :rules="[
10
+                        {
11
+                        required: true,
12
+                        message: '仲裁员不能为空',
13
+                        trigger: 'blur',
14
+                        },
15
+                ]"
16
+                >
17
+                <el-select
18
+                    placeholder="请选择仲裁员"
19
+                     @change="changeArbitor"
20
+                    v-model="courtReviewform.Arbitor"
21
+                    clearable
22
+                >
23
+                    <el-option
24
+                    v-for="item in atoDataList"
25
+                    :key="item.value"
26
+                    :label="item.nickName"
27
+                    :value="item.phonenumber"
28
+                    ></el-option>
29
+                </el-select>
30
+                </el-form-item>
31
+                </el-form>
32
+            <el-table v-loading="loading" :data="dataList" style="width: 100%" @selection-change="handleSelectionChange">
33
+                <el-table-column type="selection">
34
+                </el-table-column>
35
+                <el-table-column label="序号" type="index" align="center">
36
+                    <template slot-scope="scope">
37
+                        <span>{{
38
+                            (queryParamsData.pageNum - 1) * queryParamsData.pageSize + scope.$index + 1
39
+                        }}</span>
40
+                    </template>
41
+                </el-table-column>
42
+                <el-table-column label="案件编号" prop="caseNum" align="center" width="150"  :show-overflow-tooltip="true" />
43
+                <el-table-column label="申请人"  align="center" prop="applicantName" :show-overflow-tooltip="true" />
44
+                <el-table-column label="案件标的" align="center" prop="caseSubjectAmount" />
45
+                <el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
46
+                <!-- 仲裁员 -->
47
+                <el-table-column label="仲裁员" align="center" prop="arbitratorName" />
48
+                <!-- 开庭日期 -->
49
+                <el-table-column label="开庭日期" align="center" prop="hearDate" :show-overflow-tooltip="true" />
50
+                <el-table-column label="案件状态" align="center" prop="caseStatusName">
51
+                    <template slot-scope="scope">
52
+                        <el-tag type="success">
53
+                            {{ scope.row.caseStatusName }}
54
+                        </el-tag>
55
+                    </template>
56
+                </el-table-column>
57
+            </el-table>
58
+             <pagination  :total="total" :page.sync="queryParamsData.pageNum"
59
+                :limit.sync="queryParamsData.pageSize"  @pagination="getBatchComfirmation(queryParamsData)"/>
60
+            <div slot="footer" class="dialog-footer">
61
+                <el-button @click="cancel"  class="endbutton"><span>取 消</span></el-button>
62
+                <el-button 
63
+                type="primary" 
64
+                class="endbutton" 
65
+                :disabled="dataList.length == 0 || batchData.length == 0" 
66
+                @click="witnessing"><span>确认签名</span></el-button>
67
+            </div>
68
+        </el-dialog>
69
+    </div>
70
+</template>
71
+<script>
72
+import {selectBatchSignUrl,pageSignAdjudicate} from '@/api/caseAccess/caseEntry'
73
+import { arbitrAtor} from "@/api/formationCourt/formationCourt";
74
+export default {
75
+    props:["signatureVisable"],
76
+    data() {
77
+        return {
78
+             // 遮罩层
79
+            loading: true,
80
+            // 总条数
81
+            total:0,
82
+             // 查询参数
83
+            queryParamsData: {
84
+                caseStatus: 13,//待定
85
+                pageNum: 1,
86
+                pageSize: 10,
87
+            },
88
+            // 表格数据
89
+            dataList: [],
90
+            batchData: [],
91
+            atoDataList:[],
92
+            courtReviewform: {},
93
+            Arbitor: "",
94
+            paramsdata:{
95
+                ids:[],
96
+                psnAccount:""
97
+            },
98
+            
99
+        }
100
+    },
101
+    watch: {
102
+        signatureVisable(val) {
103
+            if (val) {
104
+                this.getBatchSignation(this.queryParamsData)
105
+            }
106
+        }  
107
+    },
108
+    created(){
109
+        this.getBatchSignation(this.queryParamsData)
110
+        this.getarbitrAtor()
111
+    },
112
+    methods:{
113
+        // 列表查询
114
+        getBatchSignation(val){
115
+             this.loading = true;
116
+            pageSignAdjudicate(val).then(res=>{
117
+                this.dataList = res.rows
118
+                this.total = res.total;
119
+                 this.loading = false;
120
+            })
121
+        },
122
+        // 选择勾选框
123
+        handleSelectionChange(val){
124
+             this.batchData = [];
125
+            val.forEach(item => {
126
+                this.batchData.push(item.signFlowId)
127
+                this.paramsdata.ids = this.batchData
128
+            })
129
+        },
130
+            // 获取仲裁员信息
131
+    getarbitrAtor() {
132
+    this.atoDataList =[]
133
+      arbitrAtor({}).then((res) => {
134
+        this.atoDataList = res.rows;
135
+        // this.total = res.total; 
136
+      });
137
+    },
138
+     changeArbitor(val) {
139
+         this.paramsdata.psnAccount =val
140
+   
141
+    },
142
+    // 确认签名
143
+    witnessing(){
144
+         this.$refs["courtReviewform"].validate((valid) => {
145
+        if (valid) {
146
+            console.log(this.paramsdata)
147
+          selectBatchSignUrl(this.paramsdata).then((res) => { 
148
+              this.$modal.msgSuccess("确认成功");
149
+              this.cancel();
150
+              this.getBatchSignation(this.queryParamsData)
151
+              window.open(res.data.signUrl)
152
+              
153
+            //   this.$emit("getcaseApply", this.queryParams);
154
+            })
155
+            .catch((err) => {});
156
+        }
157
+      });
158
+    },
159
+     cancel() {
160
+            this.$emit("signatureOperate");
161
+        },       
162
+    }
163
+}
164
+</script>

+ 7
- 1
src/views/awardManagement/components/detailsAward.vue ファイルの表示

@@ -44,11 +44,17 @@
44 44
              <video style="background-color: #181717;width: 350px;height: 200px;margin: 10px;" :src="headPath + item.annexPath" v-for="(item,index) in videoList" :key="index" controls="controls"></video>
45 45
              <el-empty v-if="videoList == null || videoList.length ==0" description="暂无数据"></el-empty>
46 46
          </div>
47
-         <div v-show="activeName=='six'">
47
+         <!-- <div v-show="activeName=='six'">
48 48
              <div v-for="(item,index) in trialTranscripts" :key="index" style="margin-top:10px;">
49 49
                  <el-link target="_blank" type="primary" :href="fileURL+item.annexPath">{{item.annexName}}</el-link>
50 50
              </div>
51 51
               <el-empty v-if="trialTranscripts == null || trialTranscripts.length ==0" description="暂无数据"></el-empty>
52
+         </div> -->
53
+         <div  v-show="activeName=='six'">
54
+             <div v-for="item in detailsAwardNum.caseAttachList" v-if="item.annexType==7" style="margin-top:10px;">
55
+                 <el-link target="_blank" type="primary" :href="fileURL+item.annexPath">{{item.annexName}}</el-link>
56
+             </div>
57
+             <el-empty v-if="isNoData(detailsAwardNum.caseAttachList,7) == 0" description="暂无数据"></el-empty>
52 58
          </div>
53 59
          <div v-show="activeName=='seven'">
54 60
             <div v-if="detailsAwardNum.adjudicaCounterReason">案件异议信息:{{detailsAwardNum.adjudicaCounterReason}}</div> 

+ 37
- 1
src/views/awardManagement/listofAwards.vue ファイルの表示

@@ -37,6 +37,18 @@
37 37
                 <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(5)"
38 38
                     v-hasPermi="['awardManagement:list:check']">案件批量核查</el-button>
39 39
             </el-col>
40
+            <el-col :span="1.5">
41
+                <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="batchSignature"
42
+                v-hasPermi="['awardManagement:list:signature']"
43
+                >批量签名
44
+                </el-button>
45
+            </el-col>
46
+            <el-col :span="1.5">
47
+                <el-button  type="primary" plain icon="el-icon-plus" size="mini" @click="batchPrinting"
48
+                v-hasPermi="['awardManagement:list:officialSeal']"
49
+                >批量用印
50
+                 </el-button>
51
+            </el-col>
40 52
         </el-row>
41 53
         <el-table v-loading="loading" :data="dataList" style="width: 100%">
42 54
             <el-table-column label="序号" type="index" align="center">
@@ -110,6 +122,10 @@
110 122
         <detailsAward :showarchiveDetails="showarchiveDetails" @cancelDetail="cancelDetail" :detailsAwardNum="detailsAwardNum" :videoList="videoList"
111 123
         :flagLoadingS="flagLoadingS" :trialTranscripts="trialTranscripts"
112 124
         ></detailsAward>
125
+         <!-- 批量签名 -->
126
+        <batchSignatures :signatureVisable="signatureVisable" @signatureOperate="signatureOperate"></batchSignatures>
127
+        <!-- 批量用印 -->
128
+        <batchPrintings :printingVisable="printingVisable" @printingOperate="printingOperate"></batchPrintings>
113 129
     </div>
114 130
 </template>
115 131
   
@@ -133,6 +149,8 @@ import detailsAward from './components/detailsAward.vue'
133 149
 import { getDicts } from '@/api/system/dict/data.js'
134 150
 import { videoList } from "@/api/caseFiling/caseFiling";
135 151
 import {attachListByCaseId} from "@/api/caseManagement/caseManagement"
152
+import batchSignatures from "./components/batchSignatures.vue"
153
+import batchPrintings from "./components/batchPrintings.vue"
136 154
 export default {
137 155
     name: "paymentList",
138 156
     dicts: ["case_status"],
@@ -141,7 +159,9 @@ export default {
141 159
      mailawardDialog, 
142 160
      expressDeliveryDialog,
143 161
      operateDialog,
144
-     detailsAward 
162
+     detailsAward,
163
+     batchSignatures,
164
+     batchPrintings
145 165
      },
146 166
     data() {
147 167
         return {
@@ -170,6 +190,8 @@ export default {
170 190
             dataList: [],
171 191
             detailform: {}, //缴费详情数据
172 192
             detailsAwardNum:{},//裁决书数据
193
+            signatureVisable:false,//批量签名
194
+            printingVisable:false,
173 195
             videoList:"", //视频数据
174 196
             trialTranscripts:[],//庭审笔录
175 197
             openDialog: false, //缴费详情数据弹框
@@ -220,6 +242,12 @@ export default {
220 242
          cancelDetail(){
221 243
             this.showarchiveDetails = false;
222 244
         },
245
+        signatureOperate(){
246
+        this.signatureVisable = false;
247
+        },
248
+        printingOperate(){
249
+        this.printingVisable = false;
250
+        },
223 251
         operateClick(type) {
224 252
             this.operateVisable = true;
225 253
             if (type == 0) {
@@ -402,6 +430,14 @@ export default {
402 430
             attachListByCaseId(data).then(res =>{
403 431
                 this.trialTranscripts = res.data;
404 432
             })
433
+        },
434
+        // 批量签名
435
+        batchSignature(){
436
+        this.signatureVisable = true;
437
+        },
438
+           // 批量用印
439
+        batchPrinting(){
440
+        this.printingVisable = true;
405 441
         }
406 442
        
407 443
     },

+ 5
- 4
src/views/caseManagement/caseList.vue ファイルの表示

@@ -61,14 +61,14 @@
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" 
64
+          <!-- <el-button type="primary" plain icon="el-icon-plus" size="mini" 
65 65
            @click="batchConfirmation"
66 66
            v-hasPermi="['caseManagement:list:batchConfirma']"
67 67
            >
68 68
           批量缴费确认
69
-        </el-button>
69
+        </el-button> -->
70 70
       </el-col>
71
-      <el-col :span="24" style="margin-top:10px;">
71
+      <!-- <el-col :span="24" style="margin-top:10px;">
72 72
         <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="batchSignatures"
73 73
           v-hasPermi="['caseManagement:list:signature']"
74 74
         >
@@ -79,7 +79,7 @@
79 79
         >
80 80
           批量用印
81 81
         </el-button>
82
-      </el-col>
82
+      </el-col> -->
83 83
     </el-row>
84 84
     <el-table v-loading="loading" :data="dataList" style="width: 100%" :row-class-name="tableRowClassName" class="pendingTrial">
85 85
       <el-table-column type="selection">
@@ -876,6 +876,7 @@ export default {
876 876
         // console.log(this.caseAttachList,"caseAttachList")
877 877
         this.form.requestRule = res.data.requestRule;
878 878
         this.form.properPreser = res.data.properPreser;
879
+        this.form.facts =res.data.facts;
879 880
         this.form.applicantIsWrittenHear = 1
880 881
       });
881 882
     },

+ 4
- 3
src/views/caseManagement/components/caseentryDialog.vue ファイルの表示

@@ -512,8 +512,8 @@
512 512
                 },
513 513
               ]">
514 514
                 <el-radio-group v-model="itm.responSex">
515
-                  <el-radio label="1">男</el-radio>
516
-                  <el-radio label="0">女</el-radio>
515
+                  <el-radio label="0">男</el-radio>
516
+                  <el-radio label="1">女</el-radio>
517 517
                 </el-radio-group>
518 518
               </el-form-item>
519 519
             </el-col>
@@ -525,7 +525,7 @@
525 525
                   trigger: 'blur',
526 526
                 },
527 527
               ]">
528
-                <el-date-picker v-model="itm.responBirth" :picker-options="pickerOptions" type="datetime"
528
+                <el-date-picker v-model="itm.responBirth" :picker-options="pickerOptions" type="date"
529 529
                   placeholder="被申请人出生年月日">
530 530
                 </el-date-picker>
531 531
               </el-form-item>
@@ -848,6 +848,7 @@ export default {
848 848
           this.applicateArr = [];
849 849
           this.quiltArr = [];
850 850
           this.formData = this.form;
851
+          console.log(this.form)
851 852
           this.fileList = [];
852 853
           if (this.flag == "1" || this.flag == "0") {
853 854
             this.form2.paymentArr = this.initpaymentArr;

+ 150
- 0
src/views/paymentManagement/components/batchConfirmationPaymens.vue ファイルの表示

@@ -0,0 +1,150 @@
1
+<template>
2
+    <div>
3
+        <!-- 批量确认缴费 -->
4
+        <el-dialog title="批量确认缴费" :visible="batchVisable" @close="cancel" center :distroy-on-close="true">
5
+            <el-table v-loading="loading" 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
+            loading: true,
76
+            // 总条数
77
+            total:0,
78
+             // 查询参数
79
+            queryParamsData: {
80
+                caseStatus: 3,
81
+                pageNum: 1,
82
+                pageSize: 10,
83
+            },
84
+             // 表格数据
85
+            dataList: [],
86
+            batchData: [],
87
+            payVisible: false,
88
+            form: {},
89
+            submitForm: {
90
+                ids:[]
91
+            },
92
+        }
93
+    },
94
+     watch: {
95
+        batchVisable(val) {
96
+            if (val) {
97
+                this.getBatchComfirmation(this.queryParamsData)
98
+            }
99
+        }  
100
+    },
101
+    created(){
102
+        this.getBatchComfirmation(this.queryParamsData)
103
+    },
104
+    methods:{
105
+        // 查询列表
106
+        getBatchComfirmation(val){
107
+             this.loading = true;
108
+            caseApply(val).then(res=>{
109
+                this.dataList = res.rows
110
+                this.total = res.total;
111
+                 this.loading = false;
112
+            })
113
+        },
114
+        // 选择勾选框
115
+        handleSelectionChange(val) {
116
+            this.batchData = [];
117
+            val.forEach(item => {
118
+                this.batchData.push(item.id)
119
+            })
120
+        },
121
+              // 批量缴费弹窗
122
+        submitPay() {
123
+            this.payVisible = true;
124
+            this.getPayDetailFn({ caseIds: this.batchData })
125
+        },
126
+         // 查询缴费信息
127
+        getPayDetailFn(params) {
128
+            getPayDetail(params).then(res => {
129
+                console.log(res)
130
+                this.form = res.data;
131
+            })
132
+        },
133
+       payCancel() {
134
+            this.payVisible = false;
135
+        },
136
+        submitUpload() {
137
+            this.submitForm.ids = this.batchData;
138
+            console.log(this.submitForm)
139
+            confirmPay(this.submitForm).then(res => {
140
+                this.$modal.msgSuccess("成功");
141
+                this.payCancel();
142
+                this.getBatchComfirmation(this.queryParamsData);
143
+            })
144
+        },
145
+        cancel() {
146
+         this.$emit("batchOperate");
147
+        },
148
+    }
149
+}
150
+</script>

+ 18
- 1
src/views/paymentManagement/paymentList.vue ファイルの表示

@@ -31,6 +31,11 @@
31 31
         <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
32 32
       </el-form-item>
33 33
     </el-form>
34
+    <el-col :span="24" style="margin-bottom:15px;">
35
+      <el-button type="primary" plain icon="el-icon-plus" size="mini"
36
+      @click="batchConfirmation"
37
+      >批量确认缴费</el-button>
38
+    </el-col>
34 39
     <el-table v-loading="loading" :data="dataList" style="width: 100%">
35 40
       <el-table-column label="序号" type="index" align="center">
36 41
         <template slot-scope="scope">
@@ -63,6 +68,8 @@
63 68
     <!-- 缴费确认数据详情 -->
64 69
     <paymentdetailsDialog :openDialog="openDialog" :detailform="detailform" :title="title" :flag="flag" :getList="getList"
65 70
       @cancelpaymentdetails="cancelpaymentdetails"></paymentdetailsDialog>
71
+    <!-- 批量确认缴费 -->
72
+    <batchConfirmationPaymens @batchOperate="batchOperate" :batchVisable="batchVisable"></batchConfirmationPaymens>
66 73
   </div>
67 74
 </template>
68 75
 
@@ -73,11 +80,12 @@ import {
73 80
   casePay,
74 81
 } from "@/api/pay/pay";
75 82
 import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
83
+import batchConfirmationPaymens from "./components/batchConfirmationPaymens.vue"
76 84
 import { getDicts } from '@/api/system/dict/data.js'
77 85
 export default {
78 86
   name: "paymentList",
79 87
   // dicts: ["case_status"],
80
-  components: { paymentdetailsDialog },
88
+  components: { paymentdetailsDialog,batchConfirmationPaymens },
81 89
   data() {
82 90
     return {
83 91
       queryParams: {
@@ -103,6 +111,7 @@ export default {
103 111
       // 是否显示弹出层
104 112
       open: false,
105 113
       openPay: false,
114
+      batchVisable:false,
106 115
       // 弹出层内容
107 116
       form: {},
108 117
       // 校验表单
@@ -201,6 +210,14 @@ export default {
201 210
     // 关闭弹窗
202 211
     cancelpaymentdetails() {
203 212
       this.openDialog = false;
213
+    },
214
+        // 批量缴费
215
+    batchConfirmation(){
216
+      this.batchVisable = true;
217
+    },
218
+    // 批量确认缴费关闭
219
+    batchOperate(){
220
+      this.batchVisable = false;
204 221
     },
205 222
     /** 查询详情 */
206 223
     getDetail(parms) {