Przeglądaj źródła

批量接口联调,查看案件列表跳转

gyj 2 lat temu
rodzic
commit
a22e5b79d0

+ 30
- 30
src/views/batchManagement/batchManagList.vue Wyświetl plik

@@ -1,7 +1,7 @@
1 1
 <template>
2 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="batchNumber">
3
+            <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="80px">
4
+            <el-form-item label="案件批号:" prop="batchNumber">
5 5
                 <el-input v-model="queryParams.batchNumber" placeholder="请输入批号" clearable @keyup.enter.native="handleQuery" />
6 6
             </el-form-item>
7 7
              <el-form-item label="申请人" prop="applicantName">
@@ -21,7 +21,7 @@
21 21
                     }}</span>
22 22
                 </template>
23 23
             </el-table-column>
24
-            <el-table-column label="批号" align="center" prop="batchNumber" :show-overflow-tooltip="true" />
24
+            <el-table-column label="案件批号" align="center" prop="batchNumber" :show-overflow-tooltip="true" />
25 25
             <el-table-column label="申请人" align="center" prop="applicantName" :show-overflow-tooltip="true" />
26 26
             <el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
27 27
             <el-table-column label="仲裁员" align="center" prop="arbitratorName" :show-overflow-tooltip="true" />
@@ -33,22 +33,23 @@
33 33
             <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="350">
34 34
                 <template slot-scope="scope">
35 35
                     <el-button size="mini" type="text" icon="el-icon-view" @click="viewingCasesBtn(scope.row)">查看案件列表</el-button>
36
-                    <el-button size="mini" type="text" icon="el-icon-check" @click="confirmSubmission(scope.row)">提交</el-button>
37
-                    <el-button size="mini" type="text" icon="el-icon-view" @click="filingFeview(scope.row)">立案审查</el-button>
38
-                    <el-button size="mini" type="text" icon="el-icon-tickets" @click="batchPayments(scope.row)">缴费</el-button>
39
-                    <el-button size="mini" type="text" @click="paymentConfir(scope.row)">缴费确认</el-button>
40
-                    <el-button size="mini" type="text" @click="courtReviews(scope.row)">组庭审核</el-button>
41
-                    <el-button size="mini" type="text" @click="courtConfirmations(scope.row)">组庭确认</el-button>
42
-                    <el-button size="mini" type="text" @click="reviewArbitrations(scope.row)">审核仲裁方式</el-button>
43
-                    <el-button size="mini" type="text" @click="batchWrittenReview(scope.row)">书面审理</el-button>
44
-                    <el-button size="mini" type="text" @click="secretaryArbitration(scope.row)">秘书审核仲裁文书</el-button>
45
-                    <el-button size="mini" type="text" @click="arbitratorsVerify(scope.row)">仲裁员核验仲裁文书</el-button>
46
-                    <el-button size="mini" type="text" @click="departmentDocuments(scope.row)">部门长审核仲裁文书</el-button>
47
-                    <el-button size="mini" type="text" @click="batchSignatures(scope.row)">签名</el-button>
48
-                    <el-button size="mini" type="text" @click="batchPrintings(scope.row)">用印</el-button>
36
+                    <el-button size="mini" type="text" icon="el-icon-check" @click="confirmSubmission(scope.row)" v-if="scope.row.caseStatusstr == '0' && checkPermi(['batchManagement:list:submit'])">提交</el-button>
37
+                    <el-button size="mini" type="text" icon="el-icon-view" @click="filingFeview(scope.row)" v-if="scope.row.caseStatusstr == '1' && checkPermi(['batchManagement:list:filingReview'])">立案审查</el-button>
38
+                    <el-button size="mini" type="text" icon="el-icon-tickets" @click="batchPayments(scope.row)" v-if="scope.row.caseStatusstr == '2' && checkPermi(['batchManagement:list:pay'])">缴费</el-button>
39
+                    <el-button size="mini" type="text" icon="el-icon-tickets" @click="paymentConfir(scope.row)" v-if="scope.row.caseStatusstr == '3' && checkPermi(['batchManagement:list:payconfirm'])">缴费确认</el-button>
40
+                    <el-button size="mini" type="text" icon="el-icon-check" @click="courtReviews(scope.row)" v-if="scope.row.caseStatusstr == '5' && checkPermi(['batchManagement:list:checkgroup'])">组庭审核</el-button>
41
+                    <el-button size="mini" type="text" icon="el-icon-sort" @click="courtConfirmations(scope.row)" v-if="scope.row.caseStatusstr == '6' && checkPermi(['batchManagement:list:confirmgroup'])">组庭确认</el-button>
42
+                    <el-button size="mini" type="text" @click="reviewArbitrations(scope.row)" v-if="scope.row.caseStatusstr == '7' && checkPermi(['batchManagement:list:checkarbitrationway'])">审核仲裁方式</el-button>
43
+                    <!-- <el-button size="mini" type="text" @click="batchWrittenReviewy(scope.row)" v-if="scope.row.caseStatusstr == '9' && checkPermi(['batchManagement:list:hear'])">书面审理</el-button> -->
44
+                    <el-button size="mini" type="text" @click="batchWrittenReviewy(scope.row)">书面审理</el-button>
45
+                    <el-button size="mini" type="text" @click="secretaryArbitration(scope.row)" v-if="scope.row.caseStatusstr == '11' && checkPermi(['batchManagement:list:secretarycheck'])">秘书确认</el-button>
46
+                    <el-button size="mini" type="text" @click="arbitratorsVerify(scope.row)" v-if="scope.row.caseStatusstr == '18' && checkPermi(['batchManagement:list:arbitratorConfirm'])">仲裁员确认</el-button>
47
+                    <el-button size="mini" type="text" @click="departmentDocuments(scope.row)" v-if="scope.row.caseStatusstr == '12' && checkPermi(['batchManagement:list:confirmaward'])">部门长确认</el-button>
48
+                    <el-button size="mini" type="text" @click="batchSignatures(scope.row)" v-if="scope.row.caseStatusstr == '13' && checkPermi(['batchManagement:list:sign'])">签名</el-button>
49
+                    <el-button size="mini" type="text" @click="batchPrintings(scope.row)" v-if="scope.row.caseStatusstr == '14' && checkPermi(['batchManagement:list:signprint'])">用印</el-button>
49 50
                     <!-- <el-button size="mini" type="text" @click="arbitrationAward(scope.row)">生成裁决书</el-button> -->
50
-                    <el-button size="mini" type="text" @click="servicearBitration(scope.row)">仲裁文书送达</el-button>
51
-                    <el-button size="mini" type="text" @click="archive(scope.row)">归档</el-button>
51
+                    <el-button size="mini" type="text" @click="servicearBitration(scope.row)" v-if="scope.row.caseStatusstr == '15' && checkPermi(['batchManagement:list:sendaward'])">送达裁决书</el-button>
52
+                    <el-button size="mini" type="text" @click="archive(scope.row)" v-if="scope.row.caseStatusstr == '16' && checkPermi(['batchManagement:list:file'])">案件归档</el-button>
52 53
                 </template>
53 54
             </el-table-column>
54 55
         </el-table>
@@ -83,7 +84,7 @@
83 84
 </template>
84 85
   
85 86
 <script>
86
-import {listBatch,submitCaseApplicationBatch,payListBatch,batchWrittenReview,caseFileBatch,serviceBatch} from '@/api/batchManagement/batchManagement.js'
87
+import {listBatch,submitCaseApplicationBatch,payListBatch,writtenHearBatch,caseFileBatch,serviceBatch} from '@/api/batchManagement/batchManagement.js'
87 88
 import { listDept } from "@/api/system/dept";
88 89
 import batchPayment from './components/batchPayment.vue'
89 90
 import paymentConfirmation from './components/paymentConfirmation.vue'
@@ -172,7 +173,9 @@ export default {
172 173
         },
173 174
            // 机构发生变化
174 175
         changeDept(data) {
175
-        this.queryParams.nameId = data[0];
176
+            if(data){
177
+              this.queryParams.nameId = data[0];  
178
+            }
176 179
         },
177 180
         // 获取机构数据
178 181
         getInstitution() {
@@ -182,6 +185,7 @@ export default {
182 185
                 item.label = item.deptName;
183 186
                 });
184 187
             this.options = this.handleTree(res.data, "deptId");
188
+            
185 189
         });
186 190
         },
187 191
         // 查询列表
@@ -195,6 +199,7 @@ export default {
195 199
         },
196 200
         // 批量提交
197 201
         confirmSubmission(row){
202
+            console.log(row)
198 203
             this.$modal.confirm("您确定要批量提交吗?").then((res) => {
199 204
                     this.submitCaseApplicationBatchs({ batchNumber: row.batchNumber })
200 205
                 }).catch(() =>{
@@ -210,6 +215,7 @@ export default {
210 215
         },
211 216
         // 批量立案审查
212 217
         filingFeview(row){
218
+            console.log(row)
213 219
            this.filingFeviewbatchNumber = row.batchNumber
214 220
            this.caseVisableReviewF = true
215 221
         },
@@ -274,19 +280,13 @@ export default {
274 280
             this.caseVisableReviewl = false
275 281
         },
276 282
         // 批量书面审理
277
-        batchWrittenReview(row){
278
-           this.$modal.confirm("你确定要批量书面审理吗?").then((res) => {
279
-                    this.batchWrittenReviews({ batchNumber: row.batchNumber })
280
-                }).catch(() =>{
281
-                    
282
-            }) 
283
-        },
284
-        //批量书面审理接口
285
-        batchWrittenReviews(val){
286
-            batchWrittenReview(val).then(res=>{
283
+        batchWrittenReviewy(row){
284
+           this.$modal.confirm("你确定要批量书面审理吗1?").then(res => {
285
+                 writtenHearBatch({batchNumber: row.batchNumber}).then(res=>{
287 286
                 this.$modal.msgSuccess("提交成功!");
288 287
                 this.getList(this.queryParams);
289 288
             })
289
+            })
290 290
         },
291 291
         // 批量归档
292 292
         archive(row){

+ 11
- 4
src/views/caseManagement/caseList.vue Wyświetl plik

@@ -1,8 +1,11 @@
1 1
 <template>
2 2
   <div class="app-container">
3
-    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="98px">
3
+    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px">
4 4
       <el-form-item label="案件编号" prop="caseNum">
5
-        <el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable @keyup.enter.native="handleQuery" />
5
+        <el-input style="width:180px" v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable @keyup.enter.native="handleQuery" />
6
+      </el-form-item>
7
+      <el-form-item label="案件批号" prop="caseNum">
8
+        <el-input style="width:180px" v-model="queryParams.batchNumber" placeholder="请输入案件批号" clearable @keyup.enter.native="handleQuery" />
6 9
       </el-form-item>
7 10
       <el-form-item label="申请人" prop="applicantName">
8 11
         <!-- <el-input
@@ -88,6 +91,7 @@
88 91
         </template>
89 92
       </el-table-column>
90 93
       <el-table-column label="案件编号" align="center" prop="caseNum" :show-overflow-tooltip="true" />
94
+      <el-table-column label="案件批号" align="center" prop="batchNumber" :show-overflow-tooltip="true" />
91 95
       <el-table-column label="申请人" align="center" prop="applicantName" :show-overflow-tooltip="true" />
92 96
       <el-table-column label="案件标的" align="center" prop="caseSubjectAmount" />
93 97
       <el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
@@ -348,6 +352,7 @@ export default {
348 352
         caseStatusList: [0, 1, 2, 5, 6, 7, 8, 9, 10, 31],
349 353
         // hearDate: "",
350 354
         caseStatus: null,
355
+        batchNumber:null,
351 356
         applicantName: "",
352 357
         nameId: "",
353 358
         pageNum: 1,
@@ -425,7 +430,8 @@ export default {
425 430
       if (params >= 0) {
426 431
         this.queryParams.caseStatus = params;
427 432
       }
428
-      // console.log(this.$route.params.batchNumber)
433
+      this.queryParams.batchNumber = this.$route.params.batchNumber;
434
+     console.log(this.$route.params.batchNumber)
429 435
       this.getcaseApply(this.queryParams);
430 436
     })
431 437
     // this.getcaseApply(this.queryParams);
@@ -587,9 +593,10 @@ export default {
587 593
     /** 重置按钮操作 */
588 594
     resetQuery() {
589 595
       this.resetForm("queryForm");
590
-      (this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10, 31]),
596
+        (this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10, 31]),
591 597
         (this.queryParams.applicantName = ""),
592 598
         (this.queryParams.nameId = ""),
599
+        (this.queryParams.batchNumber=""),
593 600
         this.getcaseApply(this.queryParams);
594 601
     },
595 602
     // 案件录入