仲裁员批量审核页面开发,和接口联调

This commit is contained in:
gyj
2024-01-03 17:32:35 +08:00
parent 7dc3c11f06
commit e17dea52b1
7 changed files with 127 additions and 26 deletions
@@ -32,3 +32,27 @@ export function confirmPayBatch(data) {
data: data data: data
}) })
} }
//批量缴费总金额
export function payListBatch(data) {
return request({
url: '/pay/listBatch',
method: 'post',
data: data
})
}
// 缴费支付二维码
export function casePayBatch(data) {
return request({
url: '/pay/casePayBatch',
method: 'post',
data: data
})
}
// 批量缴费确认
export function confirmBatch(data) {
return request({
url: '/pay/confirmBatch',
method: 'post',
data: data
})
}
+32 -9
View File
@@ -24,7 +24,7 @@
<el-table-column label="申请人" align="center" prop="name" :show-overflow-tooltip="true" /> <el-table-column label="申请人" align="center" prop="name" :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" />
<el-table-column label="案件状态" align="center" prop="caseStatusName"> <el-table-column label="案件状态" align="center" prop="caseStatusName" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag type="success">{{ scope.row.caseStatusName}}</el-tag> <el-tag type="success">{{ scope.row.caseStatusName}}</el-tag>
</template> </template>
@@ -42,7 +42,7 @@
<el-button size="mini" type="text" @click="batchWrittenReview(scope.row)">书面审理</el-button> <el-button size="mini" type="text" @click="batchWrittenReview(scope.row)">书面审理</el-button>
<el-button size="mini" type="text" @click="secretaryArbitration(scope.row)">秘书审核仲裁文书</el-button> <el-button size="mini" type="text" @click="secretaryArbitration(scope.row)">秘书审核仲裁文书</el-button>
<el-button size="mini" type="text" @click="arbitratorsVerify(scope.row)">仲裁员核验仲裁文书</el-button> <el-button size="mini" type="text" @click="arbitratorsVerify(scope.row)">仲裁员核验仲裁文书</el-button>
<el-button size="mini" type="text">部门长审核仲裁文书</el-button> <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="batchSignatures(scope.row)">签名</el-button>
<el-button size="mini" type="text" @click="batchPrintings(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>
@@ -55,9 +55,9 @@
@pagination="getList(queryParams)" @pagination="getList(queryParams)"
/> />
<!-- 缴费 --> <!-- 缴费 -->
<batchPayment :caseVisablePay="caseVisablePay" @cancelCasePay="cancelCasePay" :batchPaymentValue="batchPaymentValue"></batchPayment> <batchPayment :caseVisablePay="caseVisablePay" @cancelCasePay="cancelCasePay" :batchPaymentValue="batchPaymentValue" :totalFees="totalFees" :queryParams="queryParams" @getList="getList"></batchPayment>
<!-- 缴费确认 --> <!-- 缴费确认 -->
<paymentConfirmation :caseVisablePayment="caseVisablePayment" @cancelCasePayment="cancelCasePayment"></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"></courtReview>
<!-- 查看案件列表 --> <!-- 查看案件列表 -->
@@ -76,11 +76,14 @@
<arbitratorsDocuments :caseVisableSecretary="caseVisableSecretary" @cancelCaseSecretary="cancelCaseSecretary"></arbitratorsDocuments> <arbitratorsDocuments :caseVisableSecretary="caseVisableSecretary" @cancelCaseSecretary="cancelCaseSecretary"></arbitratorsDocuments>
<!-- 仲裁员审核仲裁文书 --> <!-- 仲裁员审核仲裁文书 -->
<arbitratorsvVerify :caseVisablearBitration="caseVisablearBitration" @cancelCaseBitration="cancelCaseBitration"></arbitratorsvVerify> <arbitratorsvVerify :caseVisablearBitration="caseVisablearBitration" @cancelCaseBitration="cancelCaseBitration"></arbitratorsvVerify>
<!-- 部门长审核仲裁文书 -->
<departmentReviews :caseVisablearHead="caseVisablearHead" @cancelCaseHead="cancelCaseHead"></departmentReviews>
</div> </div>
</template> </template>
<script> <script>
import {listBatch,submitCaseApplicationBatch} from '@/api/batchManagement/batchManagement.js' import {listBatch,submitCaseApplicationBatch,payListBatch} from '@/api/batchManagement/batchManagement.js'
import { caseApplicationDetail } from "@/api/pay/pay";
import batchPayment from './components/batchPayment.vue' import batchPayment from './components/batchPayment.vue'
import paymentConfirmation from './components/paymentConfirmation.vue' import paymentConfirmation from './components/paymentConfirmation.vue'
import courtReview from './components/courtReview.vue' import courtReview from './components/courtReview.vue'
@@ -92,6 +95,7 @@ import batchPrinting from './components/batchPrinting.vue'
import filingReview from './components/filingReview.vue' import filingReview from './components/filingReview.vue'
import arbitratorsDocuments from './components/arbitratorsDocuments.vue' import arbitratorsDocuments from './components/arbitratorsDocuments.vue'
import arbitratorsvVerify from './components/arbitratorsvVerify.vue' import arbitratorsvVerify from './components/arbitratorsvVerify.vue'
import departmentReviews from './components/departmentReviews.vue'
export default { export default {
components: { components: {
batchPayment, batchPayment,
@@ -104,7 +108,8 @@ export default {
batchPrinting, batchPrinting,
filingReview, filingReview,
arbitratorsDocuments, arbitratorsDocuments,
arbitratorsvVerify arbitratorsvVerify,
departmentReviews
}, },
data() { data() {
@@ -119,6 +124,9 @@ export default {
total: 0, total: 0,
filingFeviewbatchNumber:'', filingFeviewbatchNumber:'',
batchPaymentValue:{}, batchPaymentValue:{},
confirmPaymen:{},//批量确认缴费
totalFees:{},//缴费总金额
totalFeeConfir:{},//确认缴费总金额
caseVisablePay: false,//批量缴费弹窗 caseVisablePay: false,//批量缴费弹窗
caseVisablePayment:false,//批量缴费确认 caseVisablePayment:false,//批量缴费确认
caseVisableReview:false,//批量组庭审核 caseVisableReview:false,//批量组庭审核
@@ -130,6 +138,7 @@ export default {
caseVisableReviewF:false, //批量立案审查 caseVisableReviewF:false, //批量立案审查
caseVisableSecretary:false,//秘书审核文书 caseVisableSecretary:false,//秘书审核文书
caseVisablearBitration:false,//仲裁员核查文书 caseVisablearBitration:false,//仲裁员核查文书
caseVisablearHead:false,//部门长审核文书
dataList: [], dataList: [],
editData:{} editData:{}
}; };
@@ -184,14 +193,22 @@ export default {
// 批量缴费 // 批量缴费
batchPayments(row){ batchPayments(row){
this.batchPaymentValue = row this.batchPaymentValue = row
console.log(row) let batchNumber = row.batchNumber.toString()
payListBatch({batchNumber:batchNumber}).then(res=>{
this.totalFees = res.data
})
this.caseVisablePay = true this.caseVisablePay = true
}, },
cancelCasePay(){ cancelCasePay(){
this.caseVisablePay = false this.caseVisablePay = false
}, },
// 批量缴费确认 // 批量缴费确认
paymentConfir(){ paymentConfir(row){
this.confirmPaymen = row
let batchNumber = row.batchNumber.toString()
payListBatch({batchNumber:batchNumber}).then(res=>{
this.totalFeeConfir = res.data
})
this.caseVisablePayment = true this.caseVisablePayment = true
}, },
cancelCasePayment(){ cancelCasePayment(){
@@ -284,8 +301,14 @@ export default {
}, },
cancelCaseBitration(){ cancelCaseBitration(){
this.caseVisablearBitration = false this.caseVisablearBitration = false
},
// 部门长审核仲裁文书
departmentDocuments(){
this.caseVisablearHead = true
},
cancelCaseHead(){
this.caseVisablearHead = false
} }
}, },
}; };
</script> </script>
@@ -3,7 +3,8 @@
<!-- 仲裁员批量审核 --> <!-- 仲裁员批量审核 -->
<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 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"><span>同 意</span></el-button>
<el-button type="danger" class="endbutton"><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>
@@ -3,7 +3,7 @@
<el-dialog title="批量确认缴费" :visible="caseVisablePay" @close="payCancel" width="800px" append-to-body <el-dialog title="批量确认缴费" :visible="caseVisablePay" @close="payCancel" width="800px" append-to-body
:destroy-on-close="true" center> :destroy-on-close="true" center>
<el-descriptions> <el-descriptions>
<el-descriptions-item label="案件总金额">1000</el-descriptions-item> <el-descriptions-item label="案件总金额">{{totalFees.totalFee}}元</el-descriptions-item>
<el-descriptions-item label="申请人">{{batchPaymentValue.name}}</el-descriptions-item> <el-descriptions-item label="申请人">{{batchPaymentValue.name}}</el-descriptions-item>
</el-descriptions> </el-descriptions>
<div class="paySelectType"> <div class="paySelectType">
@@ -43,11 +43,11 @@
<script> <script>
import { casePay, confirmPayDig } from "@/api/pay/pay"; import { casePay, confirmPayDig } from "@/api/pay/pay";
import {confirmPayBatch} from '@/api/batchManagement/batchManagement.js' import {confirmPayBatch,casePayBatch} from '@/api/batchManagement/batchManagement.js'
import QRCode from "qrcodejs2"; import QRCode from "qrcodejs2";
import { getToken } from "@/utils/auth"; import { getToken } from "@/utils/auth";
export default { export default {
props: ["caseVisablePay", "payForm", "queryParams","payId","batchPaymentValue"], props: ["caseVisablePay", "payForm", "queryParams","payId","batchPaymentValue","totalFees"],
data() { data() {
return { return {
// key: value // key: value
@@ -98,11 +98,10 @@ export default {
} }
let batchNumber = this.batchPaymentValue.batchNumber.toString() let batchNumber = this.batchPaymentValue.batchNumber.toString()
let submitForm = Object.assign(this.submitForm,{batchNumber:batchNumber}) let submitForm = Object.assign(this.submitForm,{batchNumber:batchNumber})
console.log(submitForm)
confirmPayBatch(submitForm).then(res=>{ confirmPayBatch(submitForm).then(res=>{
this.$modal.msgSuccess("成功"); this.$modal.msgSuccess("缴费成功");
this.payCancel() this.payCancel()
this.$emit("getcaseApply", this.queryParams); this.$emit("getList", this.queryParams);
}) })
}, },
handleRemove(file, fileList) { handleRemove(file, fileList) {
@@ -129,7 +128,7 @@ export default {
}, },
// 支付 // 支付
pay(val) { pay(val) {
if (this.payForm.feePayable == 0 || !this.payForm.feePayable) { if (this.totalFees.totalFee == 0 || !this.totalFees.totalFee) {
this.$message({ this.$message({
message: "此案件无需缴费", message: "此案件无需缴费",
type: "error", type: "error",
@@ -144,12 +143,14 @@ export default {
payType = "alipay"; payType = "alipay";
this.payMain = "请使用支付宝扫二维码支付"; this.payMain = "请使用支付宝扫二维码支付";
} }
casePay({ let batchNumber = this.batchPaymentValue.batchNumber.toString()
totalFee: this.payForm.feePayable * 100, casePayBatch({
caseIds: [this.payForm.caseId], totalFee: this.totalFees.totalFee*100,
batchNumber:batchNumber,
tradeType: "native", tradeType: "native",
platform: payType, platform: payType,
}).then((res) => { }).then((res) => {
console.log(res)
this.paySrc = res.data.code_url; this.paySrc = res.data.code_url;
this.qrcode(this.paySrc); this.qrcode(this.paySrc);
}); });
@@ -2,7 +2,7 @@
<div> <div>
<!-- 组庭界面 --> <!-- 组庭界面 -->
<el-dialog <el-dialog
title="组庭建议" title="批量组庭审核"
:visible="caseVisableReview" :visible="caseVisableReview"
v-if="caseVisableReview" v-if="caseVisableReview"
@close="cancel" @close="cancel"
@@ -98,7 +98,6 @@ export default {
}, },
watch: { watch: {
caseVisableReview(val){ caseVisableReview(val){
console.log(this.formateCourtData)
this.Arbitor = "" this.Arbitor = ""
if(val){ if(val){
this.isAgreePendTral = 1; this.isAgreePendTral = 1;
@@ -0,0 +1,45 @@
<template>
<div>
<!-- 部门长批量审核 -->
<el-dialog title="部门长批量审核" :visible="caseVisablearHead" 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="danger" class="endbutton"><span>驳 回</span></el-button>
<el-button class="endbutton" @click="cancel"><span>取 消</span></el-button>
</div>
</el-dialog>
</div>
</template>
<script>
export default {
props: ["caseVisablearHead","queryParams"],
dicts: ["manager_type"],
data() {
return {
};
},
watch: {
caseVisablearHead(val) {
if (val) {
this.ruleForm = {};
}
}
},
created() {
},
methods: {
cancel() {
this.$emit("cancelCaseHead");
},
},
}
</script>
<style lang="scss" scoped>
::v-deep .el-dialog {
background: #ffffff;
border-radius: 20px;
}
</style>
@@ -3,19 +3,20 @@
<!-- 批量缴费确认 --> <!-- 批量缴费确认 -->
<el-dialog title="批量缴费确认" :visible="caseVisablePayment" destroy-on-close @close="cancel" width="600px" center> <el-dialog title="批量缴费确认" :visible="caseVisablePayment" destroy-on-close @close="cancel" width="600px" center>
<el-descriptions> <el-descriptions>
<el-descriptions-item label="案件总金额">1000</el-descriptions-item> <el-descriptions-item label="案件总金额">{{totalFeeConfir.totalFee}}</el-descriptions-item>
<el-descriptions-item label="申请人">xx</el-descriptions-item> <el-descriptions-item label="申请人">{{confirmPaymen.name}}</el-descriptions-item>
</el-descriptions> </el-descriptions>
<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="confirmPayment"><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 {confirmBatch} from '@/api/batchManagement/batchManagement.js'
export default { export default {
props: ["caseVisablePayment","queryParams"], props: ["caseVisablePayment","queryParams","confirmPaymen","totalFeeConfir"],
dicts: ["manager_type"], dicts: ["manager_type"],
data() { data() {
return { return {
@@ -34,6 +35,13 @@ export default {
}, },
methods: { methods: {
confirmPayment(){
confirmBatch({batchNumber:this.confirmPaymen.batchNumber}).then(res=>{
this.$modal.msgSuccess("缴费确认成功");
this.cancel()
this.$emit("getList", this.queryParams);
})
},
cancel() { cancel() {
this.$emit("cancelCasePayment"); this.$emit("cancelCasePayment");
}, },