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

This commit is contained in:
gyj
2024-01-08 18:13:46 +08:00
parent 80a02cce05
commit a22e5b79d0
2 changed files with 41 additions and 34 deletions
+29 -29
View File
@@ -1,7 +1,7 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="70px"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="80px">
<el-form-item label="批号:" prop="batchNumber"> <el-form-item label="案件批号:" prop="batchNumber">
<el-input v-model="queryParams.batchNumber" placeholder="请输入批号" clearable @keyup.enter.native="handleQuery" /> <el-input v-model="queryParams.batchNumber" placeholder="请输入批号" clearable @keyup.enter.native="handleQuery" />
</el-form-item> </el-form-item>
<el-form-item label="申请人" prop="applicantName"> <el-form-item label="申请人" prop="applicantName">
@@ -21,7 +21,7 @@
}}</span> }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="批号" align="center" prop="batchNumber" :show-overflow-tooltip="true" /> <el-table-column label="案件批号" align="center" prop="batchNumber" :show-overflow-tooltip="true" />
<el-table-column label="申请人" align="center" prop="applicantName" :show-overflow-tooltip="true" /> <el-table-column label="申请人" align="center" prop="applicantName" :show-overflow-tooltip="true" />
<el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" /> <el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
<el-table-column label="仲裁员" align="center" prop="arbitratorName" :show-overflow-tooltip="true" /> <el-table-column label="仲裁员" align="center" prop="arbitratorName" :show-overflow-tooltip="true" />
@@ -33,22 +33,23 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="350"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="350">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-view" @click="viewingCasesBtn(scope.row)">查看案件列表</el-button> <el-button size="mini" type="text" icon="el-icon-view" @click="viewingCasesBtn(scope.row)">查看案件列表</el-button>
<el-button size="mini" type="text" icon="el-icon-check" @click="confirmSubmission(scope.row)">提交</el-button> <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>
<el-button size="mini" type="text" icon="el-icon-view" @click="filingFeview(scope.row)">立案审查</el-button> <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>
<el-button size="mini" type="text" icon="el-icon-tickets" @click="batchPayments(scope.row)">缴费</el-button> <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>
<el-button size="mini" type="text" @click="paymentConfir(scope.row)">缴费确认</el-button> <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>
<el-button size="mini" type="text" @click="courtReviews(scope.row)">组庭审核</el-button> <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>
<el-button size="mini" type="text" @click="courtConfirmations(scope.row)">组庭确认</el-button> <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>
<el-button size="mini" type="text" @click="reviewArbitrations(scope.row)">审核仲裁方式</el-button> <el-button size="mini" type="text" @click="reviewArbitrations(scope.row)" v-if="scope.row.caseStatusstr == '7' && checkPermi(['batchManagement:list:checkarbitrationway'])">审核仲裁方式</el-button>
<el-button size="mini" type="text" @click="batchWrittenReview(scope.row)">书面审理</el-button> <!-- <el-button size="mini" type="text" @click="batchWrittenReviewy(scope.row)" v-if="scope.row.caseStatusstr == '9' && checkPermi(['batchManagement:list:hear'])">书面审理</el-button> -->
<el-button size="mini" type="text" @click="secretaryArbitration(scope.row)">秘书审核仲裁文书</el-button> <el-button size="mini" type="text" @click="batchWrittenReviewy(scope.row)">书面审理</el-button>
<el-button size="mini" type="text" @click="arbitratorsVerify(scope.row)">仲裁员核验仲裁文书</el-button> <el-button size="mini" type="text" @click="secretaryArbitration(scope.row)" v-if="scope.row.caseStatusstr == '11' && checkPermi(['batchManagement:list:secretarycheck'])">秘书确认</el-button>
<el-button size="mini" type="text" @click="departmentDocuments(scope.row)">部门长审核仲裁文书</el-button> <el-button size="mini" type="text" @click="arbitratorsVerify(scope.row)" v-if="scope.row.caseStatusstr == '18' && checkPermi(['batchManagement:list:arbitratorConfirm'])">仲裁员确认</el-button>
<el-button size="mini" type="text" @click="batchSignatures(scope.row)">签名</el-button> <el-button size="mini" type="text" @click="departmentDocuments(scope.row)" v-if="scope.row.caseStatusstr == '12' && checkPermi(['batchManagement:list:confirmaward'])">部门长确认</el-button>
<el-button size="mini" type="text" @click="batchPrintings(scope.row)">用印</el-button> <el-button size="mini" type="text" @click="batchSignatures(scope.row)" v-if="scope.row.caseStatusstr == '13' && checkPermi(['batchManagement:list:sign'])">签名</el-button>
<el-button size="mini" type="text" @click="batchPrintings(scope.row)" v-if="scope.row.caseStatusstr == '14' && checkPermi(['batchManagement:list:signprint'])">用印</el-button>
<!-- <el-button size="mini" type="text" @click="arbitrationAward(scope.row)">生成裁决书</el-button> --> <!-- <el-button size="mini" type="text" @click="arbitrationAward(scope.row)">生成裁决书</el-button> -->
<el-button size="mini" type="text" @click="servicearBitration(scope.row)">仲裁文书送达</el-button> <el-button size="mini" type="text" @click="servicearBitration(scope.row)" v-if="scope.row.caseStatusstr == '15' && checkPermi(['batchManagement:list:sendaward'])">送达裁决书</el-button>
<el-button size="mini" type="text" @click="archive(scope.row)">归档</el-button> <el-button size="mini" type="text" @click="archive(scope.row)" v-if="scope.row.caseStatusstr == '16' && checkPermi(['batchManagement:list:file'])">案件归档</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -83,7 +84,7 @@
</template> </template>
<script> <script>
import {listBatch,submitCaseApplicationBatch,payListBatch,batchWrittenReview,caseFileBatch,serviceBatch} from '@/api/batchManagement/batchManagement.js' import {listBatch,submitCaseApplicationBatch,payListBatch,writtenHearBatch,caseFileBatch,serviceBatch} from '@/api/batchManagement/batchManagement.js'
import { listDept } from "@/api/system/dept"; import { listDept } from "@/api/system/dept";
import batchPayment from './components/batchPayment.vue' import batchPayment from './components/batchPayment.vue'
import paymentConfirmation from './components/paymentConfirmation.vue' import paymentConfirmation from './components/paymentConfirmation.vue'
@@ -172,7 +173,9 @@ export default {
}, },
// 机构发生变化 // 机构发生变化
changeDept(data) { changeDept(data) {
if(data){
this.queryParams.nameId = data[0]; this.queryParams.nameId = data[0];
}
}, },
// 获取机构数据 // 获取机构数据
getInstitution() { getInstitution() {
@@ -182,6 +185,7 @@ export default {
item.label = item.deptName; item.label = item.deptName;
}); });
this.options = this.handleTree(res.data, "deptId"); this.options = this.handleTree(res.data, "deptId");
}); });
}, },
// 查询列表 // 查询列表
@@ -195,6 +199,7 @@ export default {
}, },
// 批量提交 // 批量提交
confirmSubmission(row){ confirmSubmission(row){
console.log(row)
this.$modal.confirm("您确定要批量提交吗?").then((res) => { this.$modal.confirm("您确定要批量提交吗?").then((res) => {
this.submitCaseApplicationBatchs({ batchNumber: row.batchNumber }) this.submitCaseApplicationBatchs({ batchNumber: row.batchNumber })
}).catch(() =>{ }).catch(() =>{
@@ -210,6 +215,7 @@ export default {
}, },
// 批量立案审查 // 批量立案审查
filingFeview(row){ filingFeview(row){
console.log(row)
this.filingFeviewbatchNumber = row.batchNumber this.filingFeviewbatchNumber = row.batchNumber
this.caseVisableReviewF = true this.caseVisableReviewF = true
}, },
@@ -274,19 +280,13 @@ export default {
this.caseVisableReviewl = false this.caseVisableReviewl = false
}, },
// 批量书面审理 // 批量书面审理
batchWrittenReview(row){ batchWrittenReviewy(row){
this.$modal.confirm("你确定要批量书面审理吗?").then((res) => { this.$modal.confirm("你确定要批量书面审理吗1?").then(res => {
this.batchWrittenReviews({ batchNumber: row.batchNumber }) writtenHearBatch({batchNumber: row.batchNumber}).then(res=>{
}).catch(() =>{
})
},
//批量书面审理接口
batchWrittenReviews(val){
batchWrittenReview(val).then(res=>{
this.$modal.msgSuccess("提交成功!"); this.$modal.msgSuccess("提交成功!");
this.getList(this.queryParams); this.getList(this.queryParams);
}) })
})
}, },
// 批量归档 // 批量归档
archive(row){ archive(row){
+10 -3
View File
@@ -1,8 +1,11 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="98px"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px">
<el-form-item label="案件编号" prop="caseNum"> <el-form-item label="案件编号" prop="caseNum">
<el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable @keyup.enter.native="handleQuery" /> <el-input style="width:180px" v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable @keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="案件批号" prop="caseNum">
<el-input style="width:180px" v-model="queryParams.batchNumber" placeholder="请输入案件批号" clearable @keyup.enter.native="handleQuery" />
</el-form-item> </el-form-item>
<el-form-item label="申请人" prop="applicantName"> <el-form-item label="申请人" prop="applicantName">
<!-- <el-input <!-- <el-input
@@ -88,6 +91,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="案件编号" align="center" prop="caseNum" :show-overflow-tooltip="true" /> <el-table-column label="案件编号" align="center" prop="caseNum" :show-overflow-tooltip="true" />
<el-table-column label="案件批号" align="center" prop="batchNumber" :show-overflow-tooltip="true" />
<el-table-column label="申请人" align="center" prop="applicantName" :show-overflow-tooltip="true" /> <el-table-column label="申请人" align="center" prop="applicantName" :show-overflow-tooltip="true" />
<el-table-column label="案件标的" align="center" prop="caseSubjectAmount" /> <el-table-column label="案件标的" align="center" prop="caseSubjectAmount" />
<el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" /> <el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
@@ -348,6 +352,7 @@ export default {
caseStatusList: [0, 1, 2, 5, 6, 7, 8, 9, 10, 31], caseStatusList: [0, 1, 2, 5, 6, 7, 8, 9, 10, 31],
// hearDate: "", // hearDate: "",
caseStatus: null, caseStatus: null,
batchNumber:null,
applicantName: "", applicantName: "",
nameId: "", nameId: "",
pageNum: 1, pageNum: 1,
@@ -425,7 +430,8 @@ export default {
if (params >= 0) { if (params >= 0) {
this.queryParams.caseStatus = params; this.queryParams.caseStatus = params;
} }
// console.log(this.$route.params.batchNumber) this.queryParams.batchNumber = this.$route.params.batchNumber;
console.log(this.$route.params.batchNumber)
this.getcaseApply(this.queryParams); this.getcaseApply(this.queryParams);
}) })
// this.getcaseApply(this.queryParams); // this.getcaseApply(this.queryParams);
@@ -590,6 +596,7 @@ export default {
(this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10, 31]), (this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10, 31]),
(this.queryParams.applicantName = ""), (this.queryParams.applicantName = ""),
(this.queryParams.nameId = ""), (this.queryParams.nameId = ""),
(this.queryParams.batchNumber=""),
this.getcaseApply(this.queryParams); this.getcaseApply(this.queryParams);
}, },
// 案件录入 // 案件录入