批量接口联调,用印,签名

This commit is contained in:
gyj
2024-01-05 18:02:47 +08:00
parent 2336d6d7d2
commit 80a02cce05
8 changed files with 261 additions and 48 deletions
+64 -22
View File
@@ -1,12 +1,13 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="70px">
<el-form-item label="批号:" prop="deptNameFirchar">
<el-input v-model="queryParams.deptNameFirchar" placeholder="请输入批号" clearable @keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="申请人:" prop="deptNameFirchar">
<el-input v-model="queryParams.deptNameFirchar" placeholder="请输入申请人" clearable @keyup.enter.native="handleQuery" />
<el-form-item label="批号:" prop="batchNumber">
<el-input v-model="queryParams.batchNumber" placeholder="请输入批号" clearable @keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="申请人" prop="applicantName">
<el-cascader v-model="queryParams.nameId" :options="options" @change="changeDept" :props="{ checkStrictly: true }"
clearable></el-cascader>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
@@ -21,7 +22,7 @@
</template>
</el-table-column>
<el-table-column label="批号" align="center" prop="batchNumber" :show-overflow-tooltip="true" />
<el-table-column label="申请人" align="center" prop="name" :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="arbitratorName" :show-overflow-tooltip="true" />
<el-table-column label="案件状态" align="center" prop="caseStatusName" :show-overflow-tooltip="true">
@@ -45,7 +46,7 @@
<el-button size="mini" type="text" @click="departmentDocuments(scope.row)">部门长审核仲裁文书</el-button>
<el-button size="mini" type="text" @click="batchSignatures(scope.row)">签名</el-button>
<el-button size="mini" type="text" @click="batchPrintings(scope.row)">用印</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="archive(scope.row)">归档</el-button>
</template>
@@ -67,9 +68,9 @@
<!-- 审核仲裁方式 -->
<reviewArbitrationMethod :caseVisableReviewl="caseVisableReviewl" @cancelCaseReviewl="cancelCaseReviewl" :queryParams="queryParams" @getList="getList" :reviewMethod="reviewMethod"></reviewArbitrationMethod>
<!-- 签名 -->
<batchSignature :caseVisableSignature="caseVisableSignature" @cancelCaseSignature="cancelCaseSignature" :queryParams="queryParams" @getList="getList"></batchSignature>
<batchSignature :caseVisableSignature="caseVisableSignature" @cancelCaseSignature="cancelCaseSignature" :queryParams="queryParams" @getList="getList" :signatureData="signatureData"></batchSignature>
<!-- 用印 -->
<batchPrinting :caseVisablePrinting="caseVisablePrinting" @cancelCasePrinting="cancelCasePrinting" :queryParams="queryParams" @getList="getList"></batchPrinting>
<batchPrinting :caseVisablePrinting="caseVisablePrinting" @cancelCasePrinting="cancelCasePrinting" :queryParams="queryParams" @getList="getList" :printingData="printingData"></batchPrinting>
<!-- 立案审查 -->
<filingReview :caseVisableReviewF="caseVisableReviewF" @cancelCaseReviewF="cancelCaseReviewF" :filingFeviewbatchNumber="filingFeviewbatchNumber" :queryParams="queryParams" @getList="getList"></filingReview>
<!-- 秘书审核仲裁文书 -->
@@ -82,8 +83,8 @@
</template>
<script>
import {listBatch,submitCaseApplicationBatch,payListBatch} from '@/api/batchManagement/batchManagement.js'
import { caseApplicationDetail } from "@/api/pay/pay";
import {listBatch,submitCaseApplicationBatch,payListBatch,batchWrittenReview,caseFileBatch,serviceBatch} from '@/api/batchManagement/batchManagement.js'
import { listDept } from "@/api/system/dept";
import batchPayment from './components/batchPayment.vue'
import paymentConfirmation from './components/paymentConfirmation.vue'
import courtReview from './components/courtReview.vue'
@@ -133,6 +134,8 @@ export default {
arbitratorDeter:{},//仲裁员确认
departmentDoc:{}, //部门长确认
reviewMethod:{},//仲裁员审核仲裁方式
signatureData:{},//签名批号
printingData:{},//批量用印批号
caseVisablePay: false,//批量缴费弹窗
caseVisablePayment:false,//批量缴费确认
caseVisableReview:false,//批量组庭审核
@@ -146,11 +149,13 @@ export default {
caseVisablearBitration:false,//仲裁员核查文书
caseVisablearHead:false,//部门长审核文书
dataList: [],
editData:{}
editData:{},
options: [], //机构数据
};
},
created() {
this.getList(this.queryParams)
this.getInstitution();
},
methods: {
/** 搜索按钮操作 */
@@ -161,13 +166,28 @@ export default {
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
(this.queryParams.applicantName = ""),
(this.queryParams.nameId = ""),
this.handleQuery();
},
// 机构发生变化
changeDept(data) {
this.queryParams.nameId = data[0];
},
// 获取机构数据
getInstitution() {
listDept().then((res) => {
res.data.forEach((item) => {
item.value = item.deptId;
item.label = item.deptName;
});
this.options = this.handleTree(res.data, "deptId");
});
},
// 查询列表
getList(parm){
this.loading = true;
listBatch(parm).then(res=>{
console.log(res)
listBatch(parm).then(res=>{
this.dataList = res.rows;
this.total = res.total
this.loading = false;
@@ -254,30 +274,46 @@ export default {
this.caseVisableReviewl = false
},
// 批量书面审理
batchWrittenReview(){
batchWrittenReview(row){
this.$modal.confirm("你确定要批量书面审理吗?").then((res) => {
// this.deleteSealFn({ id: row.id })
this.batchWrittenReviews({ batchNumber: row.batchNumber })
}).catch(() =>{
})
},
//批量书面审理接口
batchWrittenReviews(val){
batchWrittenReview(val).then(res=>{
this.$modal.msgSuccess("提交成功!");
this.getList(this.queryParams);
})
},
// 批量归档
archive(){
archive(row){
this.$modal.confirm("你确定要批量归档吗?").then((res) => {
// this.deleteSealFn({ id: row.id })
this.caseFileBatchs({ batchNumber: row.batchNumber})
}).catch(() =>{
})
},
// 批量归档接口
caseFileBatchs(vals){
caseFileBatch(vals).then(res=>{
this.$modal.msgSuccess("归档成功!");
this.getList(this.queryParams);
})
},
// 批量签名
batchSignatures(){
batchSignatures(row){
this.signatureData = row
this.caseVisableSignature = true
},
cancelCaseSignature(){
this.caseVisableSignature = false
},
// 批量签名
batchPrintings(){
batchPrintings(row){
this.printingData = row
this.caseVisablePrinting = true
},
cancelCasePrinting(){
@@ -292,13 +328,19 @@ export default {
})
},
//仲裁文书送达
servicearBitration(){
servicearBitration(row){
this.$modal.confirm("你确定要批量仲裁文书批量送达吗?").then((res) => {
// this.deleteSealFn({ id: row.id })
this.serviceBatchs({ batchNumber: row.batchNumber})
}).catch(() =>{
})
},
serviceBatchs(val){
serviceBatch(val).then(res=>{
this.$modal.msgSuccess("批量送达成功!");
this.getList(this.queryParams);
})
},
// 秘书审核仲裁文书
secretaryArbitration(row){
this.secretaryArb = row