批量管理接口联调

This commit is contained in:
gyj
2024-01-04 18:10:58 +08:00
parent e17dea52b1
commit 2336d6d7d2
8 changed files with 331 additions and 98 deletions
@@ -55,4 +55,52 @@ export function confirmBatch(data) {
method: 'post',
data: data
})
}
//批量组庭审核
export function pendTralCheckBatch(data) {
return request({
url: '/caseApplication/pendTralCheckBatch',
method: 'post',
data: data
})
}
// 批量组庭确认
export function pendTralSureBatch(data) {
return request({
url: '/caseApplication/pendTralSureBatch',
method: 'post',
data: data
})
}
//秘书批量审核文书
export function verificationArbitrateRecordBatch(data) {
return request({
url: '/caseApplication/verificationArbitrateRecordBatch',
method: 'post',
data: data
})
}
//仲裁员批量审核
export function checkArbitrateRecordBatch(data) {
return request({
url: '/caseApplication/arbitrator/checkArbitrateRecordBatch',
method: 'post',
data: data
})
}
// 部门长批量审核
export function checkArbitrateRecordBatchs(data) {
return request({
url: '/caseApplication/checkArbitrateRecordBatch',
method: 'post',
data: data
})
}
//审核仲裁方式
export function methodBatch(data) {
return request({
url: '/arbitrate/methodBatch',
method: 'post',
data: data
})
}
+28 -14
View File
@@ -59,25 +59,25 @@
<!-- 缴费确认 -->
<paymentConfirmation :caseVisablePayment="caseVisablePayment" @cancelCasePayment="cancelCasePayment" :confirmPaymen="confirmPaymen" :queryParams="queryParams" @getList="getList" :totalFeeConfir="totalFeeConfir"></paymentConfirmation>
<!-- 组庭审核 -->
<courtReview :caseVisableReview="caseVisableReview" @cancelCaseReview="cancelCaseReview"></courtReview>
<courtReview :caseVisableReview="caseVisableReview" @cancelCaseReview="cancelCaseReview" :formateCourtData="formateCourtData" :queryParams="queryParams" @getList="getList"></courtReview>
<!-- 查看案件列表 -->
<!-- <viewingCases :caseVisableViewing="caseVisableViewing" @cancelCaseViewing="cancelCaseViewing"></viewingCases> -->
<!-- 组庭确认 -->
<courtConfirmation :showcourtReview="showcourtReview" @cancelcourtReview="cancelcourtReview"></courtConfirmation>
<courtConfirmation :showcourtReview="showcourtReview" @cancelcourtReview="cancelcourtReview" :courtConfirmationData="courtConfirmationData" :queryParams="queryParams" @getList="getList"></courtConfirmation>
<!-- 审核仲裁方式 -->
<reviewArbitrationMethod :caseVisableReviewl="caseVisableReviewl" @cancelCaseReviewl="cancelCaseReviewl"></reviewArbitrationMethod>
<reviewArbitrationMethod :caseVisableReviewl="caseVisableReviewl" @cancelCaseReviewl="cancelCaseReviewl" :queryParams="queryParams" @getList="getList" :reviewMethod="reviewMethod"></reviewArbitrationMethod>
<!-- 签名 -->
<batchSignature :caseVisableSignature="caseVisableSignature" @cancelCaseSignature="cancelCaseSignature"></batchSignature>
<batchSignature :caseVisableSignature="caseVisableSignature" @cancelCaseSignature="cancelCaseSignature" :queryParams="queryParams" @getList="getList"></batchSignature>
<!-- 用印 -->
<batchPrinting :caseVisablePrinting="caseVisablePrinting" @cancelCasePrinting="cancelCasePrinting"></batchPrinting>
<batchPrinting :caseVisablePrinting="caseVisablePrinting" @cancelCasePrinting="cancelCasePrinting" :queryParams="queryParams" @getList="getList"></batchPrinting>
<!-- 立案审查 -->
<filingReview :caseVisableReviewF="caseVisableReviewF" @cancelCaseReviewF="cancelCaseReviewF" :filingFeviewbatchNumber="filingFeviewbatchNumber" :queryParams="queryParams" @getList="getList"></filingReview>
<!-- 秘书审核仲裁文书 -->
<arbitratorsDocuments :caseVisableSecretary="caseVisableSecretary" @cancelCaseSecretary="cancelCaseSecretary"></arbitratorsDocuments>
<arbitratorsDocuments :caseVisableSecretary="caseVisableSecretary" @cancelCaseSecretary="cancelCaseSecretary" :queryParams="queryParams" @getList="getList" :secretaryArb="secretaryArb"></arbitratorsDocuments>
<!-- 仲裁员审核仲裁文书 -->
<arbitratorsvVerify :caseVisablearBitration="caseVisablearBitration" @cancelCaseBitration="cancelCaseBitration"></arbitratorsvVerify>
<arbitratorsvVerify :caseVisablearBitration="caseVisablearBitration" @cancelCaseBitration="cancelCaseBitration" :queryParams="queryParams" @getList="getList" :arbitratorDeter="arbitratorDeter"></arbitratorsvVerify>
<!-- 部门长审核仲裁文书 -->
<departmentReviews :caseVisablearHead="caseVisablearHead" @cancelCaseHead="cancelCaseHead"></departmentReviews>
<departmentReviews :caseVisablearHead="caseVisablearHead" @cancelCaseHead="cancelCaseHead" :queryParams="queryParams" @getList="getList" :departmentDoc="departmentDoc"></departmentReviews>
</div>
</template>
@@ -127,6 +127,12 @@ export default {
confirmPaymen:{},//批量确认缴费
totalFees:{},//缴费总金额
totalFeeConfir:{},//确认缴费总金额
formateCourtData:{},//组庭审核
courtConfirmationData:{},//组庭确认
secretaryArb:{},//秘书确认
arbitratorDeter:{},//仲裁员确认
departmentDoc:{}, //部门长确认
reviewMethod:{},//仲裁员审核仲裁方式
caseVisablePay: false,//批量缴费弹窗
caseVisablePayment:false,//批量缴费确认
caseVisableReview:false,//批量组庭审核
@@ -215,7 +221,8 @@ export default {
this.caseVisablePayment = false
},
// 批量组庭审核
courtReviews(){
courtReviews(row){
this.formateCourtData = row;
this.caseVisableReview = true
},
cancelCaseReview(){
@@ -229,14 +236,18 @@ export default {
}
},
// 批量组庭确认
courtConfirmations(){
courtConfirmations(row){
this.courtConfirmationData = row
console.log(row)
this.showcourtReview = true
},
cancelcourtReview(){
this.showcourtReview = false
},
// 批量审核仲裁方式
reviewArbitrations(){
reviewArbitrations(row){
console.log(row)
this.reviewMethod = row
this.caseVisableReviewl = true
},
cancelCaseReviewl(){
@@ -289,21 +300,24 @@ export default {
})
},
// 秘书审核仲裁文书
secretaryArbitration(){
secretaryArbitration(row){
this.secretaryArb = row
this.caseVisableSecretary = true
},
cancelCaseSecretary(){
this.caseVisableSecretary = false
},
// 仲裁员审核文书
arbitratorsVerify(){
arbitratorsVerify(row){
this.arbitratorDeter = row
this.caseVisablearBitration = true
},
cancelCaseBitration(){
this.caseVisablearBitration = false
},
// 部门长审核仲裁文书
departmentDocuments(){
departmentDocuments(row){
this.departmentDoc =row
this.caseVisablearHead = true
},
cancelCaseHead(){
@@ -3,15 +3,16 @@
<!-- 秘书批量审核 -->
<el-dialog title="秘书批量审核" :visible="caseVisableSecretary" destroy-on-close width="30%" @close="cancel" center>
<div slot="footer" class="dialog-footer">
<el-button type="primary" class="endbutton"><span>确认</span></el-button>
<el-button type="primary" class="endbutton" @click="secretaryConfirmed"><span>确认</span></el-button>
<el-button class="endbutton" @click="cancel"><span>取 消</span></el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import {verificationArbitrateRecordBatch} from '@/api/batchManagement/batchManagement.js'
export default {
props: ["caseVisableSecretary","queryParams"],
props: ["caseVisableSecretary","queryParams","secretaryArb"],
dicts: ["manager_type"],
data() {
return {
@@ -30,6 +31,13 @@ export default {
},
methods: {
secretaryConfirmed(){
verificationArbitrateRecordBatch({batchNumber:this.secretaryArb.batchNumber}).then(res=>{
this.$modal.msgSuccess("确认成功");
this.cancel();
this.$emit("getList", this.queryParams);
}).catch((err) => {});
},
cancel() {
this.$emit("cancelCaseSecretary");
},
@@ -2,28 +2,47 @@
<div>
<!-- 仲裁员批量审核 -->
<el-dialog title="仲裁员批量审核" :visible="caseVisablearBitration" destroy-on-close width="30%" @close="cancel" center>
<div>
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px">
<el-form-item label="审核意见" prop="checkOpinion">
<el-input type="textarea" :rows="2" placeholder="请输入审核意见" v-model="ruleForm.checkOpinion"></el-input>
</el-form-item>
<el-form-item label="驳回原因">
<el-input type="textarea" :rows="2" placeholder="请输入驳回原因" v-model="ruleForm.arbitrateReject"></el-input>
</el-form-item>
</el-form>
</div>
<div slot="footer" class="dialog-footer">
<el-button type="primary" class="endbutton"><span>同 意</span></el-button>
<el-button type="danger" class="endbutton"><span>驳 回</span></el-button>
<el-button type="primary" class="endbutton" @click="submitForm(1)"><span>同 意</span></el-button>
<el-button type="danger" class="endbutton" @click="submitForm(2)"><span>驳 回</span></el-button>
<el-button class="endbutton" @click="cancel"><span>取 消</span></el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import {checkArbitrateRecordBatch} from '@/api/batchManagement/batchManagement.js'
export default {
props: ["caseVisablearBitration","queryParams"],
dicts: ["manager_type"],
props: ["caseVisablearBitration","queryParams","arbitratorDeter"],
data() {
return {
ruleForm: {},
rules: {
checkOpinion: [
{
required: true,
message: "审核意见不能为空",
trigger: "blur",
},
],
}
};
},
watch: {
caseVisablearBitration(val) {
if (val) {
this.ruleForm = {};
// this.ruleForm = {};
}
}
},
@@ -31,7 +50,37 @@ export default {
},
methods: {
submitForm(val){
this.$refs["ruleForm"].validate((valid) => {
if(valid){
if(val==1){
let values = {
batchNumber:this.arbitratorDeter.batchNumber,
agreeOrNotCheck:1,
arbitrateRecord:this.ruleForm
}
checkArbitrateRecordBatch(values).then(res=>{
this.$modal.msgSuccess("确认成功");
this.cancel();
this.$emit("getList", this.queryParams);
}).catch((err) => {});
}else if(val==2){
let values = {
batchNumber:this.arbitratorDeter.batchNumber,
agreeOrNotCheck:2,
arbitrateRecord:this.ruleForm
}
checkArbitrateRecordBatch(values).then(res=>{
this.$modal.msgSuccess("驳回成功");
this.cancel();
this.$emit("getList", this.queryParams);
}).catch((err) => {});
}
}
})
},
cancel() {
this.$emit("cancelCaseBitration");
},
},
@@ -16,9 +16,9 @@
</el-radio-group>
</el-form-item>
<!-- </el-form> -->
<el-tag type="warning" v-if="noArbitrator"
<!-- <el-tag type="warning" v-if="noArbitrator"
>当前案件未指定仲裁员,请先指定仲裁员!</el-tag
>
> -->
<div style="display: inline-flex; margin: 1% 9%">
<div v-if="isAgreePendTral == 0">请选择仲裁员</div>
<div v-if="isAgreePendTral == 1">
@@ -27,7 +27,7 @@
</div>
<div v-if="isAgreePendTral == 1" class="nowarbitrator">
<el-tag size="medium">
<!-- {{ form.arbitratorName }} -->
{{ courtConfirmationData.arbitratorName }}
</el-tag>
</div>
<!-- <div v-if="noArbitrator || isAgreePendTral == 0"> -->
@@ -73,11 +73,12 @@
<script>
import { pendTralSure } from "@/api/caseManagement/caseManagement.js";
import { arbitrAtor, pendTralCheck } from "@/api/formationCourt/formationCourt";
import { arbitrAtor} from "@/api/formationCourt/formationCourt";
import {pendTralSureBatch} from '@/api/batchManagement/batchManagement.js'
import moment from "moment";
export default {
name: "courtReviewDialog",
props: ["showcourtReview", "form", "queryParams"],
props: ["showcourtReview", "courtConfirmationData", "queryParams"],
data() {
return {
dataList: [],
@@ -131,32 +132,44 @@ export default {
});
},
submitForm() {
if (this.noArbitrator) {
this.paramsdata = {
id: this.form.id,
arbitrators: this.arbitrators,
};
} else {
if (this.isAgreePendTral == 0) {
// if (this.noArbitrator) {
// this.paramsdata = {
// id: this.form.id,
// arbitrators: this.arbitrators,
// };
// } else {
// if (this.isAgreePendTral == 0) {
// this.paramsdata = {
// isAgreePendTral: 0,
// id: this.form.id,
// arbitrators: this.arbitrators,
// };
// } else {
// this.paramsdata = {
// isAgreePendTral: 1,
// id: this.form.id,
// };
// }
// }
if (this.isAgreePendTral == 0) {
this.paramsdata = {
isAgreePendTral: 0,
id: this.form.id,
batchNumber: this.courtConfirmationData.batchNumber,
arbitrators: this.arbitrators,
};
} else {
this.paramsdata = {
isAgreePendTral: 1,
id: this.form.id,
batchNumber: this.courtConfirmationData.batchNumber,
};
}
}
this.$refs["courtReviewform"].validate((valid) => {
if (valid) {
pendTralSure(this.paramsdata)
pendTralSureBatch(this.paramsdata)
.then((res) => {
this.$modal.msgSuccess("确认成功");
this.cancel();
this.$emit("getcaseApply", this.queryParams);
this.$emit("getList", this.queryParams);
})
.catch((err) => {});
}
@@ -21,26 +21,26 @@
<el-radio :label="0">否</el-radio>
</el-radio-group>
</el-form-item>
<el-tag type="warning" v-if="noArbitrator"
<!-- <el-tag type="warning" v-if="noArbitrator"
>当前案件未指定仲裁员,请先指定仲裁员!</el-tag
>
<p></p>
<p></p> -->
<!-- <el-form ref="form"> -->
<!-- v-if="isAgreePendTral == 0 || noArbitrator" -->
<div style="display: inline-flex; margin-bottom: 8px">
<div v-if="isAgreePendTral !== 1">请选择仲裁员</div>
<div v-if="isAgreePendTral == 1">
<!-- <div v-if="isAgreePendTral == 1">
当前案件仲裁员
</div>
</div> -->
</div>
<div
<!-- <div
v-if="isAgreePendTral == 1"
class="nowarbitrator"
>
<el-tag size="medium">
<!-- {{ formateCourtData.arbitratorName }} -->
</el-tag>
</div>
</div> -->
<el-form-item
label="仲裁员:"
prop="Arbitor"
@@ -79,7 +79,8 @@
</template>
<script>
import { arbitrAtor, pendTralCheck } from "@/api/formationCourt/formationCourt";
import { arbitrAtor} from "@/api/formationCourt/formationCourt";
import {pendTralCheckBatch} from '@/api/batchManagement/batchManagement.js'
export default {
props: ["caseVisableReview", "formateCourtData", "queryParams"],
data() {
@@ -105,6 +106,7 @@ export default {
},
// formateCourtData: {
// handler(val) {
// console.log(val)
// if (val.arbitratorName == null) {
// this.noArbitrator = true;
// } else {
@@ -131,35 +133,49 @@ export default {
});
}
});
console.log(this.arbitratorss)
},
// 确认
submitForm() {
if (this.noArbitrator) {
this.paramsdata = {
id: this.formateCourtData.id,
arbitrators: this.arbitrators,
};
} else {
if (this.isAgreePendTral == 0) {
// if (this.noArbitrator) {
// this.paramsdata = {
// id: this.formateCourtData.id,
// arbitrators: this.arbitrators,
// };
// } else {
// if (this.isAgreePendTral == 0) {
// this.paramsdata = {
// isAgreePendTral: 0,
// id: this.formateCourtData.id,
// arbitrators: this.arbitrators,
// };
// } else {
// this.paramsdata = {
// isAgreePendTral: 1,
// id: this.formateCourtData.id,
// };
// }
// }
if (this.isAgreePendTral == 0) {
this.paramsdata = {
isAgreePendTral: 0,
id: this.formateCourtData.id,
batchNumber: this.formateCourtData.batchNumber,
arbitrators: this.arbitrators,
};
} else {
this.paramsdata = {
isAgreePendTral: 1,
id: this.formateCourtData.id,
batchNumber: this.formateCourtData.batchNumber,
arbitrators: this.arbitrators,
};
}
}
this.$refs["formateCourtform"].validate((valid) => {
if (valid) {
pendTralCheck(this.paramsdata).then((res) => {
pendTralCheckBatch(this.paramsdata).then((res) => {
console.log(res)
this.cancel();
this.$modal.msgSuccess("组庭成功");
this.$emit("getcaseApply", this.queryParams);
this.$emit("getList", this.queryParams);
// 初始化页面
this.formateCourtform={}
});
@@ -2,28 +2,47 @@
<div>
<!-- 部门长批量审核 -->
<el-dialog title="部门长批量审核" :visible="caseVisablearHead" destroy-on-close width="30%" @close="cancel" center>
<div>
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px">
<el-form-item label="审核意见" prop="checkOpinion">
<el-input type="textarea" :rows="2" placeholder="请输入审核意见" v-model="ruleForm.checkOpinion"></el-input>
</el-form-item>
<el-form-item label="驳回原因">
<el-input type="textarea" :rows="2" placeholder="请输入驳回原因" v-model="ruleForm.arbitrateReject"></el-input>
</el-form-item>
</el-form>
</div>
<div slot="footer" class="dialog-footer">
<el-button type="primary" class="endbutton"><span>同 意</span></el-button>
<el-button type="danger" class="endbutton"><span>驳 回</span></el-button>
<el-button type="primary" class="endbutton" @click="submitForm(1)"><span>同 意</span></el-button>
<el-button type="danger" class="endbutton" @click="submitForm(2)"><span>驳 回</span></el-button>
<el-button class="endbutton" @click="cancel"><span>取 消</span></el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import {checkArbitrateRecordBatchs} from '@/api/batchManagement/batchManagement.js'
export default {
props: ["caseVisablearHead","queryParams"],
dicts: ["manager_type"],
props: ["caseVisablearHead","queryParams","departmentDoc"],
data() {
return {
ruleForm: {},
rules: {
checkOpinion: [
{
required: true,
message: "审核意见不能为空",
trigger: "blur",
},
],
}
};
},
watch: {
caseVisablearHead(val) {
if (val) {
this.ruleForm = {};
// this.ruleForm = {};
}
}
},
@@ -31,7 +50,37 @@ export default {
},
methods: {
submitForm(val){
this.$refs["ruleForm"].validate((valid) => {
if(valid){
if(val==1){
let values = {
batchNumber:this.departmentDoc.batchNumber,
agreeOrNotCheck:1,
arbitrateRecord:this.ruleForm
}
checkArbitrateRecordBatchs(values).then(res=>{
this.$modal.msgSuccess("确认成功");
this.cancel();
this.$emit("getList", this.queryParams);
}).catch((err) => {});
}else if(val==2){
let values = {
batchNumber:this.departmentDoc.batchNumber,
agreeOrNotCheck:2,
arbitrateRecord:this.ruleForm
}
checkArbitrateRecordBatchs(values).then(res=>{
this.$modal.msgSuccess("驳回成功");
this.cancel();
this.$emit("getList", this.queryParams);
}).catch((err) => {});
}
}
})
},
cancel() {
this.$emit("cancelCaseHead");
},
},
@@ -1,43 +1,79 @@
<template>
<div>
<!-- 批量审核仲裁方式 -->
<el-dialog title="批量审核仲裁方式" :visible="caseVisableReviewl" @close="cancel" width="600px" center>
<div slot="footer" class="dialog-footer">
<el-button type="primary" class="endbutton"><span>确认</span></el-button>
<el-button class="endbutton" @click="cancel"><span>取 消</span></el-button>
</div>
</el-dialog>
</div>
<div>
<!-- 批量选择仲裁方式页面 -->
<el-dialog
title="批量审核仲裁方式"
:visible="caseVisableReviewl"
width="500px"
@close="cancel"
:destroy-on-close="true"
>
<div>
<el-form :model="form" :rules="rules" ref="form">
<el-form-item label="选择开庭方式:" prop="arbitratMethod">
<el-radio-group v-model="form.arbitratMethod">
<el-radio :label=2>书面审理</el-radio>
<el-radio :label=1>开庭审理</el-radio>
</el-radio-group>
</el-form-item>
</el-form>
</div>
<div slot="footer" class="dialog-footer">
<el-button type="primary" class="endbutton" @click="determine">确定</el-button>
<el-button @click="cancel" class="endbutton">取消</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
export default {
props: ["caseVisableReviewl","queryParams"],
data() {
return {
};
},
watch: {
caseVisableReviewl(val) {
if (val) {
}
}
},
created() {
<script>
import { arbitrateMethod } from "@/api/caseManagement/caseManagement.js";
import {methodBatch} from '@/api/batchManagement/batchManagement.js'
export default {
name: "showchoosetrialmethodDialog",
props: ["caseVisableReviewl", "reviewMethod", "queryParams"],
data() {
return {
form:{},
rules:{
arbitratMethod: [
{ required: true, message: '请选择开庭方式', trigger: 'change' }
]
}
};
},
methods: {
// 审核仲裁方式 arbitrateMethod
determine(val){
this.$refs["form"].validate((valid) => {
if (valid) {
let dates = {
batchNumber: this.reviewMethod.batchNumber,
arbitratMethod:this.form.arbitratMethod
};
console.log(dates)
methodBatch(dates).then((res) => {
this.$modal.msgSuccess("提交成功");
this.cancel();
this.$emit("getList", this.queryParams);
})
.catch((err) => {});
} else {
return false;
}
});
},
methods: {
cancel() {
this.$emit("cancelCaseReviewl");
},
cancel() {
this.form.arbitratMethod=""
this.$emit("cancelCaseReviewl");
},
},
};
</script>
<style lang="scss" scoped>
::v-deep .el-dialog {
background: #ffffff;
border-radius: 20px;
}</style>
}
</style>