Sfoglia il codice sorgente

批量管理页面的开发

gyj 2 anni fa
parent
commit
4a3c470cf9

+ 177
- 0
src/views/batchManagement/batchManagList.vue Vedi File

@@ -0,0 +1,177 @@
1
+<template>
2
+    <div class="app-container">
3
+            <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="70px">
4
+            <el-form-item label="批号:" prop="deptNameFirchar">
5
+                <el-input v-model="queryParams.deptNameFirchar" placeholder="请输入批号" clearable @keyup.enter.native="handleQuery" />
6
+            </el-form-item>
7
+            <el-form-item label="申请人:" prop="deptNameFirchar">
8
+                <el-input v-model="queryParams.deptNameFirchar" placeholder="请输入申请人" clearable @keyup.enter.native="handleQuery" />
9
+            </el-form-item>
10
+            <el-form-item>
11
+                <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
12
+                <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
13
+            </el-form-item>
14
+    </el-form>
15
+        <el-table v-loading="loading" style="width: 100%" :data="dataList">
16
+            <el-table-column label="序号" type="index" align="center">
17
+                <template slot-scope="scope">
18
+                    <span>{{
19
+                        (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
20
+                    }}</span>
21
+                </template>
22
+            </el-table-column>
23
+            <el-table-column label="批号" align="center" prop="ruleType" :show-overflow-tooltip="true" />
24
+            <el-table-column label="申请人" align="center" prop="prefixstr" :show-overflow-tooltip="true" />
25
+            <el-table-column label="仲裁方式" align="center" prop="prefixstr" :show-overflow-tooltip="true" />
26
+            <el-table-column label="仲裁员" align="center" prop="prefixstr" :show-overflow-tooltip="true" />
27
+            <el-table-column label="案件状态" align="center" prop="prefixstr">
28
+            <template slot-scope="scope">
29
+            <el-tag type="success">{{ scope.row.prefixstr }}</el-tag>
30
+            </template>
31
+            </el-table-column>  
32
+            <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="350">
33
+                <template slot-scope="scope">
34
+                    <el-button size="mini" type="text" icon="el-icon-view" @click="viewingCasesBtn(scope.row)">查看案件列表</el-button>
35
+                    <el-button size="mini" type="text" icon="el-icon-check" @click="confirmSubmission(scope.row)">提交</el-button>
36
+                    <el-button size="mini" type="text" icon="el-icon-view" @click="filingFeview(scope.row)">立案审查</el-button>
37
+                    <el-button size="mini" type="text" icon="el-icon-tickets" @click="batchPayments(scope.row)">缴费</el-button>
38
+                    <el-button size="mini" type="text" @click="paymentConfir(scope.row)">缴费确认</el-button>
39
+                    <el-button size="mini" type="text" @click="courtReviews(scope.row)">组庭审核</el-button>
40
+                    <el-button size="mini" type="text">组庭确认</el-button>
41
+                    <el-button size="mini" type="text">审核仲裁方式</el-button>
42
+                    <el-button size="mini" type="text">书面审理</el-button>
43
+                    <el-button size="mini" type="text">仲裁员审核仲裁文书</el-button>
44
+                    <el-button size="mini" type="text">核验仲裁文书</el-button>
45
+                    <el-button size="mini" type="text">部门长审核仲裁文书</el-button>
46
+                    <el-button size="mini" type="text">签名</el-button>
47
+                    <el-button size="mini" type="text">用印</el-button>
48
+                    <el-button size="mini" type="text">生成裁决书</el-button>
49
+                    <el-button size="mini" type="text">归档</el-button>
50
+                    <el-button size="mini" type="text">仲裁文书送达</el-button>
51
+                </template>
52
+            </el-table-column>
53
+        </el-table>
54
+        <pagination  :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
55
+        @pagination="getList(queryParams)"
56
+             />
57
+        <!-- 缴费 -->
58
+        <batchPayment :caseVisablePay="caseVisablePay" @cancelCasePay="cancelCasePay"></batchPayment>
59
+        <!-- 缴费确认 -->
60
+        <paymentConfirmation :caseVisablePayment="caseVisablePayment" @cancelCasePayment="cancelCasePayment"></paymentConfirmation>
61
+        <!-- 组庭审核 -->
62
+        <courtReview :caseVisableReview="caseVisableReview" @cancelCaseReview="cancelCaseReview"></courtReview>
63
+        <!-- 查看案件列表 -->
64
+        <viewingCases :caseVisableViewing="caseVisableViewing" @cancelCaseViewing="cancelCaseViewing"></viewingCases>
65
+    </div>    
66
+</template>
67
+  
68
+<script>
69
+import {caseNumRuleList,deleteCaseNumRule} from '@/api/officialSeal/officialSeal.js'
70
+import batchPayment from './components/batchPayment.vue'
71
+import paymentConfirmation from './components/paymentConfirmation.vue'
72
+import courtReview from './components/courtReview.vue'
73
+import viewingCases from './components/viewingCases.vue'
74
+export default {
75
+    components: {
76
+        batchPayment,
77
+        paymentConfirmation,
78
+        courtReview,
79
+        viewingCases
80
+    },
81
+    data() {
82
+        return {
83
+            queryParams: {
84
+                pageNum: 1,
85
+                pageSize: 10,
86
+            },
87
+            // 遮罩层
88
+            loading: false,
89
+            // 总条数
90
+            total: 0,
91
+            caseVisablePay: false,//批量缴费弹窗
92
+            caseVisablePayment:false,//批量缴费确认
93
+            caseVisableReview:false,//批量组庭审核
94
+            caseVisableViewing:false,//查看案件列表
95
+            dataList: [],
96
+            editData:{}
97
+        };
98
+    },
99
+    created() {
100
+        this.getList(this.queryParams)
101
+    },
102
+    methods: {
103
+            /** 搜索按钮操作 */
104
+        handleQuery() {
105
+        this.queryParams.pageNum = 1;
106
+        this.getList(this.queryParams);
107
+        },
108
+            /** 重置按钮操作 */
109
+        resetQuery() {
110
+        this.resetForm("queryForm");
111
+        this.handleQuery();
112
+        },
113
+        // 查询列表
114
+        getList(parm){
115
+            this.loading = true;
116
+            caseNumRuleList(parm).then(res=>{           
117
+                this.dataList = res.rows;
118
+                this.total = res.total
119
+                this.loading = false;
120
+            })
121
+        },
122
+        // 批量提交
123
+        confirmSubmission(row){
124
+            this.$modal.confirm("您确定要批量提交吗?").then((res) => {
125
+                    // this.deleteSealFn({ id: row.id })
126
+                }).catch(() =>{
127
+                    
128
+                })
129
+        },
130
+        // 批量提交接口
131
+        confirmSubmissionFn(data) {
132
+            // deleteCaseNumRule(data).then(res => {
133
+            //     this.$modal.msgSuccess("删除成功!");
134
+            //     this.getList(this.queryParams);
135
+            // })
136
+        },
137
+        // 批量立案审查
138
+        filingFeview(){
139
+           this.$modal.confirm("你确定要批量立案审查吗?").then((res) => {
140
+                    // this.deleteSealFn({ id: row.id })
141
+                }).catch(() =>{
142
+                    
143
+            }) 
144
+        },
145
+        // 批量缴费
146
+        batchPayments(){
147
+            this.caseVisablePay = true
148
+        },
149
+        cancelCasePay(){
150
+            this.caseVisablePay = false
151
+        },
152
+        // 批量缴费确认
153
+        paymentConfir(){
154
+            this.caseVisablePayment = true
155
+        },
156
+        cancelCasePayment(){
157
+            this.caseVisablePayment = false
158
+        },
159
+        // 批量组庭审核
160
+        courtReviews(){
161
+            this.caseVisableReview = true 
162
+        },
163
+        cancelCaseReview(){
164
+           this.caseVisableReview = false 
165
+        },
166
+        // 查看案件列表
167
+        viewingCasesBtn(){
168
+            this.caseVisableViewing = true
169
+        },
170
+        cancelCaseViewing(){
171
+            this.caseVisableViewing = false
172
+        }
173
+    },
174
+};
175
+</script>
176
+  
177
+<style lang="scss" scoped></style>

+ 49
- 0
src/views/batchManagement/components/batchPayment.vue Vedi File

@@ -0,0 +1,49 @@
1
+<template>
2
+    <div>
3
+        <!-- 批量缴费 -->
4
+        <el-dialog title="批量缴费" :visible="caseVisablePay" @close="cancel" width="600px" center>
5
+           <el-descriptions>
6
+                <el-descriptions-item label="案件总金额">1000</el-descriptions-item>
7
+                </el-descriptions-item>
8
+            </el-descriptions>
9
+            <div slot="footer" class="dialog-footer"> 
10
+                <el-button type="primary"  class="endbutton"><span>确认</span></el-button>
11
+                <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
12
+            </div>
13
+        </el-dialog>
14
+    </div>
15
+</template>
16
+<script>
17
+export default { 
18
+    props: ["caseVisablePay","queryParams"],
19
+    dicts: ["manager_type"],
20
+    data() {
21
+        return {
22
+           
23
+           
24
+        };
25
+    },
26
+    watch: {
27
+        caseVisablePay(val) {
28
+            if (val) {
29
+                this.ruleForm = {};
30
+            }
31
+        }
32
+    },
33
+    created() {
34
+
35
+    },
36
+    methods: {
37
+        cancel() {
38
+            this.$emit("cancelCasePay");
39
+        },
40
+        // 新增模板 
41
+    },
42
+};
43
+</script>
44
+  
45
+<style lang="scss" scoped>
46
+::v-deep .el-dialog {
47
+  background: #ffffff;
48
+  border-radius: 20px;
49
+}</style>

+ 44
- 0
src/views/batchManagement/components/courtReview.vue Vedi File

@@ -0,0 +1,44 @@
1
+<template>
2
+    <div>
3
+        <!-- 批量组庭审核 -->
4
+        <el-dialog title="批量组庭审核" :visible="caseVisableReview" destroy-on-close @close="cancel" width="600px" center>
5
+            <div slot="footer" class="dialog-footer">
6
+                <el-button type="primary"  class="endbutton"><span>确认</span></el-button>
7
+                <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
8
+            </div>
9
+        </el-dialog>
10
+    </div>
11
+</template>
12
+<script>
13
+export default {
14
+    props: ["caseVisableReview","queryParams"],
15
+    dicts: ["manager_type"],
16
+    data() {
17
+        return {
18
+           
19
+           
20
+        };
21
+    },
22
+    watch: {
23
+        caseVisablePayment(val) {
24
+            if (val) {
25
+                this.ruleForm = {};
26
+            }
27
+        }
28
+    },
29
+    created() {
30
+
31
+    },
32
+    methods: {
33
+        cancel() {
34
+            this.$emit("cancelCaseReview");
35
+        },
36
+    },
37
+}
38
+</script>
39
+<style lang="scss" scoped>
40
+::v-deep .el-dialog {
41
+  background: #ffffff;
42
+  border-radius: 20px;
43
+}
44
+</style>

+ 48
- 0
src/views/batchManagement/components/paymentConfirmation.vue Vedi File

@@ -0,0 +1,48 @@
1
+<template>
2
+    <div>
3
+        <!-- 批量缴费确认 -->
4
+        <el-dialog title="批量缴费确认" :visible="caseVisablePayment" destroy-on-close @close="cancel" width="600px" center>
5
+            <el-descriptions>
6
+                <el-descriptions-item label="案件总金额">1000</el-descriptions-item>
7
+                </el-descriptions-item>
8
+            </el-descriptions>
9
+            <div slot="footer" class="dialog-footer">
10
+                <el-button type="primary"  class="endbutton"><span>确认</span></el-button>
11
+                <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
12
+            </div>
13
+        </el-dialog>
14
+    </div>
15
+</template>
16
+<script>
17
+export default {
18
+    props: ["caseVisablePayment","queryParams"],
19
+    dicts: ["manager_type"],
20
+    data() {
21
+        return {
22
+           
23
+           
24
+        };
25
+    },
26
+    watch: {
27
+        caseVisablePayment(val) {
28
+            if (val) {
29
+                this.ruleForm = {};
30
+            }
31
+        }
32
+    },
33
+    created() {
34
+
35
+    },
36
+    methods: {
37
+        cancel() {
38
+            this.$emit("cancelCasePayment");
39
+        },
40
+    },
41
+}
42
+</script>
43
+<style lang="scss" scoped>
44
+::v-deep .el-dialog {
45
+  background: #ffffff;
46
+  border-radius: 20px;
47
+}
48
+</style>

+ 71
- 0
src/views/batchManagement/components/viewingCases.vue Vedi File

@@ -0,0 +1,71 @@
1
+<template>
2
+    <div>
3
+        <!--查看案件列表 -->
4
+        <el-dialog title="查看案件列表" :visible="caseVisableViewing" destroy-on-close @close="cancel" width="70%" center>
5
+             <el-table style="width: 100%">
6
+            <el-table-column label="序号" type="index" align="center">
7
+                <template slot-scope="scope">
8
+                    <!-- <span>{{
9
+                        (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
10
+                    }}</span> -->
11
+                </template>
12
+            </el-table-column>
13
+            <el-table-column label="案件编号" align="center"  :show-overflow-tooltip="true" />
14
+            <el-table-column label="申请人" align="center"  :show-overflow-tooltip="true" />
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" :show-overflow-tooltip="true" />
18
+            <el-table-column label="开庭时间" align="center" :show-overflow-tooltip="true" />
19
+            <el-table-column label="案件状态" align="center" >
20
+            <template slot-scope="scope">
21
+            <!-- <el-tag type="success">{{ scope.row.prefixstr }}</el-tag> -->
22
+            </template>
23
+            </el-table-column>  
24
+            <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
25
+                <template slot-scope="scope">
26
+                    <el-button size="mini" type="text" icon="el-icon-view">跳转案件列表</el-button>
27
+                </template>
28
+            </el-table-column>
29
+        </el-table>
30
+        <pagination  :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
31
+        @pagination="getList(queryParams)"
32
+            <div slot="footer" class="dialog-footer">
33
+                <!-- <el-button type="primary"  class="endbutton"><span>确认</span></el-button> -->
34
+                <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
35
+            </div>
36
+        </el-dialog>
37
+    </div>
38
+</template>
39
+<script>
40
+export default {
41
+    props: ["caseVisableViewing","queryParams"],
42
+    dicts: ["manager_type"],
43
+    data() {
44
+        return {
45
+           
46
+           
47
+        };
48
+    },
49
+    watch: {
50
+        caseVisableViewing(val) {
51
+            if (val) {
52
+                this.ruleForm = {};
53
+            }
54
+        }
55
+    },
56
+    created() {
57
+
58
+    },
59
+    methods: {
60
+        cancel() {
61
+            this.$emit("cancelCaseViewing");
62
+        },
63
+    },
64
+}
65
+</script>
66
+<style lang="scss" scoped>
67
+::v-deep .el-dialog {
68
+  background: #ffffff;
69
+  border-radius: 20px;
70
+}
71
+</style>

+ 4
- 8
src/views/caseManagement/caseList.vue Vedi File

@@ -49,12 +49,8 @@
49 49
         <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="compressedPackages"
50 50
         v-hasPermi="['caseManagement:list:zip']"
51 51
           >案件压缩包导入</el-button>
52
-        <!-- <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="batchApplication"
53
-          v-hasPermi="['caseManagement:list:import']">案件批量导入</el-button> -->
54
-        <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(0)"
55
-          v-hasPermi="['caseManagement:list:Batchsubmit']">案件批量提交</el-button>
56
-        <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(1)"
57
-          v-hasPermi="['caseManagement:list:delete']">案件批量删除</el-button>
52
+        <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="batchApplication"
53
+          v-hasPermi="['caseManagement:list:import']">案件批量导入</el-button>
58 54
         <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(2)"
59 55
           v-hasPermi="['caseManagement:list:check']">案件批量立案审查</el-button>
60 56
         <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(4)"
@@ -118,9 +114,9 @@
118 114
           <el-button size="mini" type="text" icon="el-icon-check" @click="onsubmitRow(scope.row)" v-if="scope.row.caseStatus == 0 &&
119 115
             checkPermi(['caseManagement:list:submit']) && btnStatus
120 116
             ">提交</el-button>
121
-          <el-button size="mini" type="text" icon="el-icon-delete" @click="deleteRow(scope.row)" v-if="scope.row.caseStatus == 0 &&
117
+          <!-- <el-button size="mini" type="text" icon="el-icon-delete" @click="deleteRow(scope.row)" v-if="scope.row.caseStatus == 0 &&
122 118
             checkPermi(['caseManagement:list:delete']) && btnStatus
123
-            ">删除</el-button>
119
+            ">删除</el-button> -->
124 120
           <el-button size="mini" type="text" icon="el-icon-view" @click="filingreviewRow(scope.row)" v-if="scope.row.caseStatus == 1 &&
125 121
             checkPermi(['caseManagement:list:check']) && btnStatus
126 122
             ">立案审查</el-button>

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

@@ -103,6 +103,7 @@ export default {
103 103
   },
104 104
   watch: {
105 105
     showformateCourt(val){
106
+      console.log(this.dataList)
106 107
       this.Arbitor = ""
107 108
       if(val){
108 109
         this.isAgreePendTral = 1;

+ 1
- 0
src/views/paymentManagement/paymentList.vue Vedi File

@@ -34,6 +34,7 @@
34 34
     <el-col :span="24" style="margin-bottom:15px;">
35 35
       <el-button type="primary" plain icon="el-icon-plus" size="mini"
36 36
       @click="batchConfirmation"
37
+      v-hasPermi="['paymentManagement:list:batchConfirma']"
37 38
       >批量确认缴费</el-button>
38 39
     </el-col>
39 40
     <el-table v-loading="loading" :data="dataList" style="width: 100%">