立案审查页面调整及接口调试 #31

Merged
hhlxayunmei merged 1 commits from hhl into dev 2023-09-21 05:36:32 +00:00
4 changed files with 141 additions and 34 deletions
Showing only changes of commit 2bb3595196 - Show all commits
+8
View File
@@ -25,3 +25,11 @@ export function pendTralSure(data) {
data: data,
});
}
// 立案审查
export function submitCaseApplicationCheck(data) {
return request({
url: "/caseApplication/submitCaseApplicationCheck",
method: "post",
data: data,
});
}
+28 -31
View File
@@ -101,9 +101,9 @@
prop="caseSubjectAmount"
/>
<el-table-column
label="立案日期"
label="仲裁方式"
align="center"
prop="registerDate"
prop="arbitratMethod"
:show-overflow-tooltip="true"
/>
<!-- 仲裁员 -->
@@ -168,7 +168,7 @@
<el-button
size="mini"
type="text"
icon="el-icon-zoom-in"
icon="el-icon-view"
@click="filingreviewRow(scope.row)"
v-if="scope.row.caseStatus == 1"
v-hasPermi="['monitor:online:forceLogout']"
@@ -219,7 +219,7 @@
@click="choosetrialmethodRow(scope.row)"
v-if="scope.row.caseStatus == 7"
v-hasPermi="['monitor:online:forceLogout']"
>选择开庭方式</el-button
>审核仲裁方式</el-button
>
<el-button
size="mini"
@@ -289,6 +289,14 @@
@cancelBatch="cancelBatch"
:getcaseApply="getcaseApply"
></batchDialog>
<!-- 立案审查页面 -->
<filingreviewDialog
:showfilingreview="showfilingreview"
:filingreviewdata="filingreviewdata"
:queryParams="queryParams"
@getcaseApply="getcaseApply"
@cancelFilingreview="cancelFilingreview"
></filingreviewDialog>
<!-- 组庭页面---改为组庭审核 -->
<formateCourtDialog
:showformateCourt="showformateCourt"
@@ -349,6 +357,7 @@ import choosetrialmethodDaiog from "./components/choosetrialmethodDaiog.vue";
import adjudicaterecordDialog from "./components/adjudicaterecordDialog.vue";
import trialincourtDialog from "./components/trialincourtDialog.vue";
import payDialog from "./components/payDialog.vue";
import filingreviewDialog from './components/filingreviewDialog.vue';
import { caseApplicationDetail } from "@/api/pay/pay";
import {
@@ -370,6 +379,7 @@ export default {
adjudicaterecordDialog,
trialincourtDialog,
payDialog,
filingreviewDialog
},
data() {
return {
@@ -398,6 +408,8 @@ export default {
flag: "-1",
initpaymentArr: [],
initpaymentArr1: [],
showfilingreview: false, //立案申查弹框控制
filingreviewdata: {}, //立案审查传输数据
openbatch: false, // 批量申请弹框
formateCourtData: {}, //组庭
showformateCourt: false, //组庭界面显示
@@ -427,6 +439,9 @@ export default {
this.loading = true;
caseApply(val).then((response) => {
this.dataList = response.rows;
this.dataList.forEach((item) => {
item.arbitratMethod = item.arbitratMethod == 1 ? "视频仲裁" : "书面仲载";
});
this.total = response.total;
this.loading = false;
});
@@ -483,19 +498,6 @@ export default {
batchApplication() {
this.openbatch = true;
},
// 列表提交立案
onsubmitRow(row) {
this.$modal
.confirm("是否提交立案?")
.then(function () {
return submitCaseApply({ id: row.id });
})
.then(() => {
this.getcaseApply(this.queryParams);
this.$modal.msgSuccess("立案成功");
})
.catch(() => {});
},
// 详情
detailRow(row) {
this.flag = "0";
@@ -528,16 +530,11 @@ export default {
// 立案审查
filingreviewRow(row) {
console.log(row, "立案审查");
// this.$modal
// .confirm("确定提交案件数据吗?")
// .then(function () {
// return submitCaseApply({ id: row.id });
// })
// .then(() => {
// this.getcaseApply(this.queryParams);
// this.$modal.msgSuccess("立案审查成功");
// })
// .catch(() => {});
this.showfilingreview = true;
this.filingreviewdata = row;
},
cancelFilingreview() {
this.showfilingreview = false;
},
// 取消缴费
paycancelRow(row) {
@@ -571,22 +568,22 @@ export default {
},
// 组庭确认
courtconfirmationRow(row) {
console.log(row, "组庭确认");
// console.log(row, "组庭确认");
this.showcourtReview = true;
this.form = row;
},
// 组庭审核
courtreviewRow(row) {
console.log(row, "组庭审核");
// console.log(row, "组庭审核");
this.formateCourtData = row;
this.showformateCourt = true;
},
cancelcourtReview() {
this.showcourtReview = false;
},
// 选择开庭方式
// 选择开庭方式改为审核仲裁方式
choosetrialmethodRow(row) {
console.log(row, "选择开庭方式");
// console.log(row, "选择开庭方式");
this.choosetrialmethodata = row;
this.showchoosetrialmethod = true;
},
@@ -2,7 +2,7 @@
<div>
<!-- 选择仲裁方式页面 -->
<el-dialog
title="开庭方式"
title="审核开庭方式"
:visible="showchoosetrialmethod"
width="500px"
@close="cancel"
@@ -10,8 +10,8 @@
>
<div class="radiobox">
<el-radio-group v-model="radio">
<el-radio :label="2">书面审理</el-radio>
<el-radio :label="1">开庭审理</el-radio>
<el-radio :label="0">拒绝开庭方式</el-radio>
<el-radio :label="1">同意开庭方式</el-radio>
</el-radio-group>
</div>
@@ -0,0 +1,102 @@
<template>
<div>
<!-- 立案审查 -->
<el-dialog
title="立案审查"
:visible="showfilingreview"
width="500px"
@close="cancel"
:destroy-on-close="true"
>
<div class="radiobox">
<el-radio-group v-model="radio">
<el-radio :label="1">同意</el-radio>
<el-radio :label="2">拒绝</el-radio>
</el-radio-group>
</div>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm" class="endbutton"
><span>提 交</span></el-button
>
<el-button @click="cancel" class="endbutton1"
><span> 取 消</span></el-button
>
</div>
</el-dialog>
</div>
</template>
<script>
import { submitCaseApplicationCheck } from "@/api/caseManagement/caseManagement.js";
export default {
name: "filingreviewDialog",
props: ["showfilingreview", "filingreviewdata", "queryParams"],
data() {
return {
radio: 1,
};
},
methods: {
submitForm() {
let paramsdata = {
agreeOrNotCheck: this.radio,
id: this.filingreviewdata.id,
};
submitCaseApplicationCheck(paramsdata)
.then((res) => {
this.$modal.msgSuccess("审查成功");
this.cancel();
this.$emit("getcaseApply", this.queryParams);
})
.catch((err) => {});
},
cancel() {
this.$emit("cancelFilingreview");
},
},
};
</script>
<style lang="scss" scoped>
.radiobox {
margin-left: 5%;
}
::v-deep .el-dialog {
width: 800px;
background: #ffffff;
border-radius: 20px;
}
.endbutton {
width: 124px;
height: 37px;
background: #0072ff;
border-radius: 19px;
span {
width: 32px;
height: 15px;
font-size: 16px;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
// line-height: 48px;
}
}
.endbutton1 {
width: 124px;
height: 37px;
background: #ffffff;
border: 1px solid #d0d0d0;
border-radius: 19px;
span {
width: 31px;
height: 13px;
font-size: 16px;
font-family: Microsoft YaHei;
font-weight: 400;
color: #959595;
}
}
</style>