diff --git a/src/api/caseManagement/caseManagement.js b/src/api/caseManagement/caseManagement.js
index 0fabfab..33c2423 100644
--- a/src/api/caseManagement/caseManagement.js
+++ b/src/api/caseManagement/caseManagement.js
@@ -10,12 +10,11 @@ export function arbitrateMethod(data, id) {
});
}
// 书面审理
-export function writtenHear(data, id) {
+export function writtenHear(data) {
return request({
url: "/arbitrate/writtenHear",
method: "post",
- params: data,
- data: id,
+ data: data,
});
}
// 组庭确认
@@ -26,3 +25,11 @@ export function pendTralSure(data) {
data: data,
});
}
+// 立案审查
+export function submitCaseApplicationCheck(data) {
+ return request({
+ url: "/caseApplication/submitCaseApplicationCheck",
+ method: "post",
+ data: data,
+ });
+}
diff --git a/src/views/caseManagement/caseList.vue b/src/views/caseManagement/caseList.vue
index df7fb89..245bca2 100644
--- a/src/views/caseManagement/caseList.vue
+++ b/src/views/caseManagement/caseList.vue
@@ -101,9 +101,9 @@
prop="caseSubjectAmount"
/>
@@ -147,6 +147,15 @@
v-hasPermi="['monitor:online:forceLogout']"
>修改
+ 提交
立案审查
- 查看缴费
+
+ 缴费
+
+
@@ -261,6 +275,7 @@
:visible="visible"
@cancel="cancel"
:form="form"
+ :queryParams="queryParams"
:dialogtitle="dialogtitle"
:getcaseApply="getcaseApply"
:flag="flag"
@@ -270,13 +285,23 @@
+
+
@@ -284,13 +309,15 @@
-
+
@@ -299,16 +326,25 @@
:showadjudicaterecord="showadjudicaterecord"
:form="form"
:adjudicatename="adjudicatename"
+ :queryParams="queryParams"
@canceladjudicaterecord="canceladjudicaterecord"
@getcaseApply="getcaseApply"
>
+
+
@@ -319,14 +355,18 @@ 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 filingreviewDialog from './components/filingreviewDialog.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 +377,9 @@ export default {
courtReviewDialog,
choosetrialmethodDaiog,
adjudicaterecordDialog,
- trialincourtDialog
+ trialincourtDialog,
+ payDialog,
+ filingreviewDialog
},
data() {
return {
@@ -351,6 +393,7 @@ export default {
// 查询参数
queryParams: {
caseNum: undefined,
+ caseStatusList: [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 16],
hearDate: "",
caseStatus: null,
pageNum: 1,
@@ -365,19 +408,24 @@ export default {
flag: "-1",
initpaymentArr: [],
initpaymentArr1: [],
+ showfilingreview: false, //立案申查弹框控制
+ filingreviewdata: {}, //立案审查传输数据
openbatch: false, // 批量申请弹框
formateCourtData: {}, //组庭
showformateCourt: false, //组庭界面显示
showcourtReview: false, //组庭审核页面
showchoosetrialmethod: false, //选择仲裁方式页面
- choosetrialmethodata:{},
+ choosetrialmethodata: {},
showadjudicaterecord: false, //书面审理弹框
- adjudicatename: {},//书面仲裁(被)申请人姓名
+ adjudicatename: {}, //书面仲裁(被)申请人姓名
showtrialincourt: false, //开庭审理
+ openPay: false, //缴费弹框
+ payTitle: "",
+ payForm: {},
};
},
created() {
- this.getcaseApply();
+ this.getcaseApply(this.queryParams);
},
methods: {
cancel() {
@@ -387,26 +435,28 @@ export default {
this.openbatch = false;
},
/** 查询列表 */
- getcaseApply() {
+ getcaseApply(val) {
this.loading = true;
- caseApply(this.queryParams).then((response) => {
+ caseApply(val).then((response) => {
this.dataList = response.rows;
- // this.dataList.forEach((item) => {
- // item.caseStatus = item.caseStatus == 0 ? "立案申请" : "待缴费";
- // });
+ this.dataList.forEach((item) => {
+ item.arbitratMethod = item.arbitratMethod == 1 ? "视频仲裁" : "书面仲载";
+ });
this.total = response.total;
this.loading = false;
});
},
/** 搜索按钮操作 */
handleQuery() {
+ this.queryParams.caseStatusList = [];
this.queryParams.pageNum = 1;
- this.getcaseApply();
+ this.getcaseApply(this.queryParams);
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
- this.handleQuery();
+ (this.queryParams.caseStatusList = [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 16]),
+ this.getcaseApply(this.queryParams);
},
// 案件录入
filingApplication() {
@@ -448,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.$modal.msgSuccess("立案成功");
- })
- .catch(() => {});
- },
// 详情
detailRow(row) {
this.flag = "0";
@@ -477,24 +514,48 @@ export default {
this.dialogtitle = "立案修改";
this.getInfo(row);
},
- // 立案审查
- filingreviewRow(row) {
- console.log(row, "立案审查");
+ // 列表提交立案
+ onsubmitRow(row) {
this.$modal
- .confirm("确定提交案件数据吗?")
+ .confirm("是否提交立案申请?")
.then(function () {
return submitCaseApply({ id: row.id });
})
.then(() => {
- this.getcaseApply();
- this.$modal.msgSuccess("立案成功");
+ this.getcaseApply(this.queryParams);
+ this.$modal.msgSuccess("立案申请成功");
})
.catch(() => {});
},
- // 查看缴费
- viewpaymentRow(row) {
- console.log(row, "查看缴费");
+ // 立案审查
+ filingreviewRow(row) {
+ console.log(row, "立案审查");
+ this.showfilingreview = true;
+ this.filingreviewdata = row;
},
+ cancelFilingreview() {
+ this.showfilingreview = false;
+ },
+ // 取消缴费
+ 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, "组庭");
@@ -507,26 +568,26 @@ 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;
},
- // 关闭选择开庭方式
+ // 关闭审核仲裁方式
cancelshowchoosetrialMethod() {
this.showchoosetrialmethod = false;
},
@@ -535,7 +596,7 @@ export default {
// console.log(row, "书面审理");
this.showadjudicaterecord = true;
this.form = row;
- this.getInfo(row)
+ this.getInfo(row);
},
canceladjudicaterecord() {
this.showadjudicaterecord = false;
@@ -545,10 +606,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 +623,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) => {
@@ -591,7 +651,7 @@ export default {
return removeCaseApply({ id: row.id });
})
.then((res) => {
- this.getcaseApply();
+ this.getcaseApply(this.queryParams);
this.$modal.msgSuccess("删除成功");
})
.catch(() => {});
diff --git a/src/views/caseManagement/components/adjudicaterecordDialog.vue b/src/views/caseManagement/components/adjudicaterecordDialog.vue
index e4f1410..8826f92 100644
--- a/src/views/caseManagement/components/adjudicaterecordDialog.vue
+++ b/src/views/caseManagement/components/adjudicaterecordDialog.vue
@@ -93,7 +93,10 @@
-->
-
+
@@ -123,7 +126,7 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+