From 37dc67e9ff52bc9460aaf7899faa1142fded7d33 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 20 Sep 2023 14:23:32 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E7=BC=B4=E8=B4=B9=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E8=BF=81=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/caseManagement/caseList.vue | 85 +++++++---- .../caseManagement/components/payDialog.vue | 138 ++++++++++++++++++ .../components/trialincourtDialog.vue | 32 +++- src/views/payAll/payList.vue | 9 +- vue.config.js | 4 +- 5 files changed, 232 insertions(+), 36 deletions(-) create mode 100644 src/views/caseManagement/components/payDialog.vue diff --git a/src/views/caseManagement/caseList.vue b/src/views/caseManagement/caseList.vue index df7fb89..b556112 100644 --- a/src/views/caseManagement/caseList.vue +++ b/src/views/caseManagement/caseList.vue @@ -165,15 +165,18 @@ v-hasPermi="['monitor:online:forceLogout']" >立案审查 - 查看缴费 + + 缴费 + + + + @@ -319,14 +330,17 @@ import formateCourtDialog from "./components/formateCourtDialog.vue"; import courtReviewDialog from "./components/courtReviewDialog.vue"; import choosetrialmethodDaiog from "./components/choosetrialmethodDaiog.vue"; import adjudicaterecordDialog from "./components/adjudicaterecordDialog.vue"; -import trialincourtDialog from './components/trialincourtDialog.vue'; +import trialincourtDialog from "./components/trialincourtDialog.vue"; +import payDialog from "./components/payDialog.vue"; +import { caseApplicationDetail } from "@/api/pay/pay"; import { caseApply, removeCaseApply, submitCaseApply, selectCaseApply, } from "@/api/caseAccess/caseEntry"; + export default { name: "caseList", dicts: ["case_status"], @@ -337,7 +351,8 @@ export default { courtReviewDialog, choosetrialmethodDaiog, adjudicaterecordDialog, - trialincourtDialog + trialincourtDialog, + payDialog, }, data() { return { @@ -370,10 +385,13 @@ export default { showformateCourt: false, //组庭界面显示 showcourtReview: false, //组庭审核页面 showchoosetrialmethod: false, //选择仲裁方式页面 - choosetrialmethodata:{}, + choosetrialmethodata: {}, showadjudicaterecord: false, //书面审理弹框 - adjudicatename: {},//书面仲裁(被)申请人姓名 + adjudicatename: {}, //书面仲裁(被)申请人姓名 showtrialincourt: false, //开庭审理 + openPay: false, //缴费弹框 + payTitle: "", + payForm: {}, }; }, created() { @@ -491,10 +509,26 @@ export default { }) .catch(() => {}); }, - // 查看缴费 - viewpaymentRow(row) { - console.log(row, "查看缴费"); + // 取消缴费 + paycancelRow(row) { + this.openPay = false; }, + payStatus(val) { + this.getDetail({ id: val.id }); + this.openPay = true; + this.payTitle = "缴费"; + }, + getDetail(parms) { + caseApplicationDetail(parms).then((res) => { + if (res.data.caseStatus == 1) { + res.data.caseStatusName = "待缴费"; + } + this.form = res.data; + this.payForm.feePayable = res.data.feePayable; + this.payForm.caseId = res.data.id; + }); + }, + // 组庭 // formationcourtRow(row) { // console.log(row, "组庭"); @@ -535,7 +569,7 @@ export default { // console.log(row, "书面审理"); this.showadjudicaterecord = true; this.form = row; - this.getInfo(row) + this.getInfo(row); }, canceladjudicaterecord() { this.showadjudicaterecord = false; @@ -545,10 +579,10 @@ export default { console.log(row, "开庭审理"); this.showtrialincourt = true; this.form = row; - this.getInfo(row) + this.getInfo(row); }, canceltrialincourt() { - this.showtrialincourt = false; + this.showtrialincourt = false; }, // 生成裁决书 generateawardRow(row) { @@ -562,15 +596,14 @@ export default { getInfo(row) { const id = row.id; selectCaseApply({ id }).then((res) => { - console.log(res,'nnnnnnnnnnnn'); // this.visible = true; // this.formData = res.data; this.adjudicatename = { applicantName: res.data.applicantName, respondentName: res.data.respondentName, feePayable: res.data.feePayable, - hearDate: res.data.hearDate - } + hearDate: res.data.hearDate, + }; this.initpaymentArr = []; this.initpaymentArr1 = []; res.data.caseAffiliates.forEach((item) => { diff --git a/src/views/caseManagement/components/payDialog.vue b/src/views/caseManagement/components/payDialog.vue new file mode 100644 index 0000000..caafa71 --- /dev/null +++ b/src/views/caseManagement/components/payDialog.vue @@ -0,0 +1,138 @@ + + + + + \ No newline at end of file diff --git a/src/views/caseManagement/components/trialincourtDialog.vue b/src/views/caseManagement/components/trialincourtDialog.vue index 7fb2136..a4ecf95 100644 --- a/src/views/caseManagement/components/trialincourtDialog.vue +++ b/src/views/caseManagement/components/trialincourtDialog.vue @@ -125,7 +125,10 @@ - 发起会议 + 发起会议 + + 提交仲裁结果