批量管理接口联调

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', method: 'post',
data: data 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> <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> --> <!-- <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> <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> </div>
</template> </template>
@@ -127,6 +127,12 @@ export default {
confirmPaymen:{},//批量确认缴费 confirmPaymen:{},//批量确认缴费
totalFees:{},//缴费总金额 totalFees:{},//缴费总金额
totalFeeConfir:{},//确认缴费总金额 totalFeeConfir:{},//确认缴费总金额
formateCourtData:{},//组庭审核
courtConfirmationData:{},//组庭确认
secretaryArb:{},//秘书确认
arbitratorDeter:{},//仲裁员确认
departmentDoc:{}, //部门长确认
reviewMethod:{},//仲裁员审核仲裁方式
caseVisablePay: false,//批量缴费弹窗 caseVisablePay: false,//批量缴费弹窗
caseVisablePayment:false,//批量缴费确认 caseVisablePayment:false,//批量缴费确认
caseVisableReview:false,//批量组庭审核 caseVisableReview:false,//批量组庭审核
@@ -215,7 +221,8 @@ export default {
this.caseVisablePayment = false this.caseVisablePayment = false
}, },
// 批量组庭审核 // 批量组庭审核
courtReviews(){ courtReviews(row){
this.formateCourtData = row;
this.caseVisableReview = true this.caseVisableReview = true
}, },
cancelCaseReview(){ cancelCaseReview(){
@@ -229,14 +236,18 @@ export default {
} }
}, },
// 批量组庭确认 // 批量组庭确认
courtConfirmations(){ courtConfirmations(row){
this.courtConfirmationData = row
console.log(row)
this.showcourtReview = true this.showcourtReview = true
}, },
cancelcourtReview(){ cancelcourtReview(){
this.showcourtReview = false this.showcourtReview = false
}, },
// 批量审核仲裁方式 // 批量审核仲裁方式
reviewArbitrations(){ reviewArbitrations(row){
console.log(row)
this.reviewMethod = row
this.caseVisableReviewl = true this.caseVisableReviewl = true
}, },
cancelCaseReviewl(){ cancelCaseReviewl(){
@@ -289,21 +300,24 @@ export default {
}) })
}, },
// 秘书审核仲裁文书 // 秘书审核仲裁文书
secretaryArbitration(){ secretaryArbitration(row){
this.secretaryArb = row
this.caseVisableSecretary = true this.caseVisableSecretary = true
}, },
cancelCaseSecretary(){ cancelCaseSecretary(){
this.caseVisableSecretary = false this.caseVisableSecretary = false
}, },
// 仲裁员审核文书 // 仲裁员审核文书
arbitratorsVerify(){ arbitratorsVerify(row){
this.arbitratorDeter = row
this.caseVisablearBitration = true this.caseVisablearBitration = true
}, },
cancelCaseBitration(){ cancelCaseBitration(){
this.caseVisablearBitration = false this.caseVisablearBitration = false
}, },
// 部门长审核仲裁文书 // 部门长审核仲裁文书
departmentDocuments(){ departmentDocuments(row){
this.departmentDoc =row
this.caseVisablearHead = true this.caseVisablearHead = true
}, },
cancelCaseHead(){ cancelCaseHead(){
@@ -3,15 +3,16 @@
<!-- 秘书批量审核 --> <!-- 秘书批量审核 -->
<el-dialog title="秘书批量审核" :visible="caseVisableSecretary" destroy-on-close width="30%" @close="cancel" center> <el-dialog title="秘书批量审核" :visible="caseVisableSecretary" destroy-on-close width="30%" @close="cancel" center>
<div slot="footer" class="dialog-footer"> <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> <el-button class="endbutton" @click="cancel"><span>取 消</span></el-button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
<script> <script>
import {verificationArbitrateRecordBatch} from '@/api/batchManagement/batchManagement.js'
export default { export default {
props: ["caseVisableSecretary","queryParams"], props: ["caseVisableSecretary","queryParams","secretaryArb"],
dicts: ["manager_type"], dicts: ["manager_type"],
data() { data() {
return { return {
@@ -30,6 +31,13 @@ export default {
}, },
methods: { methods: {
secretaryConfirmed(){
verificationArbitrateRecordBatch({batchNumber:this.secretaryArb.batchNumber}).then(res=>{
this.$modal.msgSuccess("确认成功");
this.cancel();
this.$emit("getList", this.queryParams);
}).catch((err) => {});
},
cancel() { cancel() {
this.$emit("cancelCaseSecretary"); this.$emit("cancelCaseSecretary");
}, },
@@ -2,28 +2,47 @@
<div> <div>
<!-- 仲裁员批量审核 --> <!-- 仲裁员批量审核 -->
<el-dialog title="仲裁员批量审核" :visible="caseVisablearBitration" destroy-on-close width="30%" @close="cancel" center> <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"> <div slot="footer" class="dialog-footer">
<el-button type="primary" 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"><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> <el-button class="endbutton" @click="cancel"><span>取 消</span></el-button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
<script> <script>
import {checkArbitrateRecordBatch} from '@/api/batchManagement/batchManagement.js'
export default { export default {
props: ["caseVisablearBitration","queryParams"], props: ["caseVisablearBitration","queryParams","arbitratorDeter"],
dicts: ["manager_type"],
data() { data() {
return { return {
ruleForm: {},
rules: {
checkOpinion: [
{
required: true,
message: "审核意见不能为空",
trigger: "blur",
},
],
}
}; };
}, },
watch: { watch: {
caseVisablearBitration(val) { caseVisablearBitration(val) {
if (val) { if (val) {
this.ruleForm = {}; // this.ruleForm = {};
} }
} }
}, },
@@ -31,7 +50,37 @@ export default {
}, },
methods: { 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() { cancel() {
this.$emit("cancelCaseBitration"); this.$emit("cancelCaseBitration");
}, },
}, },
@@ -16,9 +16,9 @@
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<!-- </el-form> --> <!-- </el-form> -->
<el-tag type="warning" v-if="noArbitrator" <!-- <el-tag type="warning" v-if="noArbitrator"
>当前案件未指定仲裁员,请先指定仲裁员!</el-tag >当前案件未指定仲裁员,请先指定仲裁员!</el-tag
> > -->
<div style="display: inline-flex; margin: 1% 9%"> <div style="display: inline-flex; margin: 1% 9%">
<div v-if="isAgreePendTral == 0">请选择仲裁员</div> <div v-if="isAgreePendTral == 0">请选择仲裁员</div>
<div v-if="isAgreePendTral == 1"> <div v-if="isAgreePendTral == 1">
@@ -27,7 +27,7 @@
</div> </div>
<div v-if="isAgreePendTral == 1" class="nowarbitrator"> <div v-if="isAgreePendTral == 1" class="nowarbitrator">
<el-tag size="medium"> <el-tag size="medium">
<!-- {{ form.arbitratorName }} --> {{ courtConfirmationData.arbitratorName }}
</el-tag> </el-tag>
</div> </div>
<!-- <div v-if="noArbitrator || isAgreePendTral == 0"> --> <!-- <div v-if="noArbitrator || isAgreePendTral == 0"> -->
@@ -73,11 +73,12 @@
<script> <script>
import { pendTralSure } from "@/api/caseManagement/caseManagement.js"; 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"; import moment from "moment";
export default { export default {
name: "courtReviewDialog", name: "courtReviewDialog",
props: ["showcourtReview", "form", "queryParams"], props: ["showcourtReview", "courtConfirmationData", "queryParams"],
data() { data() {
return { return {
dataList: [], dataList: [],
@@ -131,32 +132,44 @@ export default {
}); });
}, },
submitForm() { submitForm() {
if (this.noArbitrator) { // if (this.noArbitrator) {
this.paramsdata = { // this.paramsdata = {
id: this.form.id, // id: this.form.id,
arbitrators: this.arbitrators, // arbitrators: this.arbitrators,
}; // };
} else { // } else {
if (this.isAgreePendTral == 0) { // 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 = { this.paramsdata = {
isAgreePendTral: 0, isAgreePendTral: 0,
id: this.form.id, batchNumber: this.courtConfirmationData.batchNumber,
arbitrators: this.arbitrators, arbitrators: this.arbitrators,
}; };
} else { } else {
this.paramsdata = { this.paramsdata = {
isAgreePendTral: 1, isAgreePendTral: 1,
id: this.form.id, batchNumber: this.courtConfirmationData.batchNumber,
}; };
} }
}
this.$refs["courtReviewform"].validate((valid) => { this.$refs["courtReviewform"].validate((valid) => {
if (valid) { if (valid) {
pendTralSure(this.paramsdata) pendTralSureBatch(this.paramsdata)
.then((res) => { .then((res) => {
this.$modal.msgSuccess("确认成功"); this.$modal.msgSuccess("确认成功");
this.cancel(); this.cancel();
this.$emit("getcaseApply", this.queryParams); this.$emit("getList", this.queryParams);
}) })
.catch((err) => {}); .catch((err) => {});
} }
@@ -21,26 +21,26 @@
<el-radio :label="0">否</el-radio> <el-radio :label="0">否</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-tag type="warning" v-if="noArbitrator" <!-- <el-tag type="warning" v-if="noArbitrator"
>当前案件未指定仲裁员,请先指定仲裁员!</el-tag >当前案件未指定仲裁员,请先指定仲裁员!</el-tag
> >
<p></p> <p></p> -->
<!-- <el-form ref="form"> --> <!-- <el-form ref="form"> -->
<!-- v-if="isAgreePendTral == 0 || noArbitrator" --> <!-- v-if="isAgreePendTral == 0 || noArbitrator" -->
<div style="display: inline-flex; margin-bottom: 8px"> <div style="display: inline-flex; margin-bottom: 8px">
<div v-if="isAgreePendTral !== 1">请选择仲裁员</div> <div v-if="isAgreePendTral !== 1">请选择仲裁员</div>
<div v-if="isAgreePendTral == 1"> <!-- <div v-if="isAgreePendTral == 1">
当前案件仲裁员 当前案件仲裁员
</div> </div> -->
</div> </div>
<div <!-- <div
v-if="isAgreePendTral == 1" v-if="isAgreePendTral == 1"
class="nowarbitrator" class="nowarbitrator"
> >
<el-tag size="medium"> <el-tag size="medium">
<!-- {{ formateCourtData.arbitratorName }} -->
</el-tag> </el-tag>
</div> </div> -->
<el-form-item <el-form-item
label="仲裁员:" label="仲裁员:"
prop="Arbitor" prop="Arbitor"
@@ -79,7 +79,8 @@
</template> </template>
<script> <script>
import { arbitrAtor, pendTralCheck } from "@/api/formationCourt/formationCourt"; import { arbitrAtor} from "@/api/formationCourt/formationCourt";
import {pendTralCheckBatch} from '@/api/batchManagement/batchManagement.js'
export default { export default {
props: ["caseVisableReview", "formateCourtData", "queryParams"], props: ["caseVisableReview", "formateCourtData", "queryParams"],
data() { data() {
@@ -105,6 +106,7 @@ export default {
}, },
// formateCourtData: { // formateCourtData: {
// handler(val) { // handler(val) {
// console.log(val)
// if (val.arbitratorName == null) { // if (val.arbitratorName == null) {
// this.noArbitrator = true; // this.noArbitrator = true;
// } else { // } else {
@@ -131,35 +133,49 @@ export default {
}); });
} }
}); });
console.log(this.arbitratorss)
}, },
// 确认 // 确认
submitForm() { submitForm() {
if (this.noArbitrator) { // if (this.noArbitrator) {
this.paramsdata = { // this.paramsdata = {
id: this.formateCourtData.id, // id: this.formateCourtData.id,
arbitrators: this.arbitrators, // arbitrators: this.arbitrators,
}; // };
} else { // } else {
if (this.isAgreePendTral == 0) { // 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 = { this.paramsdata = {
isAgreePendTral: 0, isAgreePendTral: 0,
id: this.formateCourtData.id, batchNumber: this.formateCourtData.batchNumber,
arbitrators: this.arbitrators, arbitrators: this.arbitrators,
}; };
} else { } else {
this.paramsdata = { this.paramsdata = {
isAgreePendTral: 1, isAgreePendTral: 1,
id: this.formateCourtData.id, batchNumber: this.formateCourtData.batchNumber,
arbitrators: this.arbitrators,
}; };
} }
}
this.$refs["formateCourtform"].validate((valid) => { this.$refs["formateCourtform"].validate((valid) => {
if (valid) { if (valid) {
pendTralCheck(this.paramsdata).then((res) => { pendTralCheckBatch(this.paramsdata).then((res) => {
console.log(res)
this.cancel(); this.cancel();
this.$modal.msgSuccess("组庭成功"); this.$modal.msgSuccess("组庭成功");
this.$emit("getcaseApply", this.queryParams); this.$emit("getList", this.queryParams);
// 初始化页面 // 初始化页面
this.formateCourtform={} this.formateCourtform={}
}); });
@@ -2,28 +2,47 @@
<div> <div>
<!-- 部门长批量审核 --> <!-- 部门长批量审核 -->
<el-dialog title="部门长批量审核" :visible="caseVisablearHead" destroy-on-close width="30%" @close="cancel" center> <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"> <div slot="footer" class="dialog-footer">
<el-button type="primary" 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"><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> <el-button class="endbutton" @click="cancel"><span>取 消</span></el-button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
<script> <script>
import {checkArbitrateRecordBatchs} from '@/api/batchManagement/batchManagement.js'
export default { export default {
props: ["caseVisablearHead","queryParams"], props: ["caseVisablearHead","queryParams","departmentDoc"],
dicts: ["manager_type"],
data() { data() {
return { return {
ruleForm: {},
rules: {
checkOpinion: [
{
required: true,
message: "审核意见不能为空",
trigger: "blur",
},
],
}
}; };
}, },
watch: { watch: {
caseVisablearHead(val) { caseVisablearHead(val) {
if (val) { if (val) {
this.ruleForm = {}; // this.ruleForm = {};
} }
} }
}, },
@@ -31,7 +50,37 @@ export default {
}, },
methods: { 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() { cancel() {
this.$emit("cancelCaseHead"); this.$emit("cancelCaseHead");
}, },
}, },
@@ -1,43 +1,79 @@
<template> <template>
<div> <div>
<!-- 批量审核仲裁方式 --> <!-- 批量选择仲裁方式页面 -->
<el-dialog title="批量审核仲裁方式" :visible="caseVisableReviewl" @close="cancel" width="600px" center> <el-dialog
<div slot="footer" class="dialog-footer"> title="批量审核仲裁方式"
<el-button type="primary" class="endbutton"><span>确认</span></el-button> :visible="caseVisableReviewl"
<el-button class="endbutton" @click="cancel"><span>取 消</span></el-button> width="500px"
</div> @close="cancel"
</el-dialog> :destroy-on-close="true"
</div> >
<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> </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() {
cancel() { this.form.arbitratMethod=""
this.$emit("cancelCaseReviewl"); this.$emit("cancelCaseReviewl");
},
}, },
},
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep .el-dialog { ::v-deep .el-dialog {
background: #ffffff; background: #ffffff;
border-radius: 20px; border-radius: 20px;
}</style> }
</style>