diff --git a/src/api/caseManagement/caseManagement.js b/src/api/caseManagement/caseManagement.js
index 0fabfab..91cc84a 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,
});
}
// 组庭确认
diff --git a/src/views/caseManagement/caseList.vue b/src/views/caseManagement/caseList.vue
index 11517ac..ebdd200 100644
--- a/src/views/caseManagement/caseList.vue
+++ b/src/views/caseManagement/caseList.vue
@@ -147,6 +147,15 @@
v-hasPermi="['monitor:online:forceLogout']"
>修改
+ 提交
开庭审理
- 生成裁决书
+
+ 生成裁决书
+
@@ -264,6 +275,7 @@
:visible="visible"
@cancel="cancel"
:form="form"
+ :queryParams="queryParams"
:dialogtitle="dialogtitle"
:getcaseApply="getcaseApply"
:flag="flag"
@@ -273,6 +285,7 @@
@@ -280,6 +293,7 @@
@@ -287,6 +301,7 @@
@@ -294,6 +309,7 @@
@@ -302,6 +318,7 @@
:showadjudicaterecord="showadjudicaterecord"
:form="form"
:adjudicatename="adjudicatename"
+ :queryParams="queryParams"
@canceladjudicaterecord="canceladjudicaterecord"
@getcaseApply="getcaseApply"
>
@@ -410,24 +427,21 @@ export default {
this.loading = true;
caseApply(val).then((response) => {
this.dataList = response.rows;
- // this.dataList.forEach((item) => {
- // item.caseStatus = item.caseStatus == 0 ? "立案申请" : "待缴费";
- // });
this.total = response.total;
this.loading = false;
});
},
/** 搜索按钮操作 */
handleQuery() {
- this.queryParams.caseStatusList = []
+ this.queryParams.caseStatusList = [];
this.queryParams.pageNum = 1;
this.getcaseApply(this.queryParams);
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
- this.queryParams.caseStatusList = [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 16],
- this.getcaseApply(this.queryParams);
+ (this.queryParams.caseStatusList = [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 16]),
+ this.getcaseApply(this.queryParams);
},
// 案件录入
filingApplication() {
@@ -477,7 +491,7 @@ export default {
return submitCaseApply({ id: row.id });
})
.then(() => {
- this.getcaseApply();
+ this.getcaseApply(this.queryParams);
this.$modal.msgSuccess("立案成功");
})
.catch(() => {});
@@ -498,20 +512,33 @@ 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(() => {});
},
+ // 立案审查
+ filingreviewRow(row) {
+ console.log(row, "立案审查");
+ // this.$modal
+ // .confirm("确定提交案件数据吗?")
+ // .then(function () {
+ // return submitCaseApply({ id: row.id });
+ // })
+ // .then(() => {
+ // this.getcaseApply(this.queryParams);
+ // this.$modal.msgSuccess("立案审查成功");
+ // })
+ // .catch(() => {});
+ },
// 取消缴费
paycancelRow(row) {
this.openPay = false;
@@ -627,7 +654,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 f7582c0..8826f92 100644
--- a/src/views/caseManagement/components/adjudicaterecordDialog.vue
+++ b/src/views/caseManagement/components/adjudicaterecordDialog.vue
@@ -182,7 +182,7 @@
>
@@ -203,7 +203,7 @@
>
@@ -286,7 +286,7 @@
import { writtenHear } from "@/api/caseManagement/caseManagement.js";
export default {
- props: ["showadjudicaterecord", "form", "adjudicatename"],
+ props: ["showadjudicaterecord", "form", "adjudicatename", "queryParams"],
data() {
return {
formData: {},
@@ -307,17 +307,18 @@ export default {
submitForm() {
this.$refs["form2"].validate((valid) => {
if (valid) {
- writtenHear(
- {
- accidentDescription: this.form2.accidentDescription,
- arbitrationResult: this.form2.arbitrationResult,
- },
- { id: this.formData.id }
- )
+ writtenHear({
+ caseAppliId: this.formData.id,
+ evidenDetermi: this.form2.evidenDetermi,
+ factDetermi: this.form2.factDetermi,
+ caseSketch: this.form2.caseSketch,
+ arbitrateThink: this.form2.arbitrateThink,
+ rulingFollows: this.form2.rulingFollows,
+ })
.then((res) => {
this.$modal.msgSuccess("提交成功");
this.cancel();
- this.$emit("getcaseApply");
+ this.$emit("getcaseApply",this.queryParams);
})
.catch((err) => {});
}
diff --git a/src/views/caseManagement/components/batchDialog.vue b/src/views/caseManagement/components/batchDialog.vue
index 4003ce0..6c4e79b 100644
--- a/src/views/caseManagement/components/batchDialog.vue
+++ b/src/views/caseManagement/components/batchDialog.vue
@@ -65,7 +65,7 @@
import { importTemplate } from "@/api/caseAccess/caseEntry";
import { getToken } from "@/utils/auth";
export default {
- props: ["openbatch","getcaseApply"],
+ props: ["openbatch","getcaseApply","queryParams"],
data() {
return {
// key: value,
@@ -141,7 +141,7 @@ export default {
"导入结果",
{ dangerouslyUseHTMLString: true }
);
- this.getcaseApply();
+ this.getcaseApply(this.queryParams);
},
},
};
diff --git a/src/views/caseManagement/components/caseentryDialog.vue b/src/views/caseManagement/components/caseentryDialog.vue
index 2809bae..b2440ec 100644
--- a/src/views/caseManagement/components/caseentryDialog.vue
+++ b/src/views/caseManagement/components/caseentryDialog.vue
@@ -540,6 +540,7 @@ export default {
"flag",
"initpaymentArr",
"initpaymentArr1",
+ "queryParams"
],
data() {
return {
@@ -755,7 +756,7 @@ export default {
}).then((res) => {
this.$modal.msgSuccess("修改成功");
this.$emit("cancel");
- this.getcaseApply();
+ this.getcaseApply(this.queryParams);
});
} else {
addCaseApply({
@@ -764,7 +765,7 @@ export default {
}).then((response) => {
this.$modal.msgSuccess("新增成功");
this.$emit("cancel");
- this.getcaseApply();
+ this.getcaseApply(this.queryParams);
});
}
// this.$emit("cancel");
diff --git a/src/views/caseManagement/components/choosetrialmethodDaiog.vue b/src/views/caseManagement/components/choosetrialmethodDaiog.vue
index 8e38a7d..d3c3c04 100644
--- a/src/views/caseManagement/components/choosetrialmethodDaiog.vue
+++ b/src/views/caseManagement/components/choosetrialmethodDaiog.vue
@@ -31,7 +31,7 @@
import { arbitrateMethod } from "@/api/caseManagement/caseManagement.js";
export default {
name: "showchoosetrialmethodDialog",
- props: ["showchoosetrialmethod", "choosetrialmethodata"],
+ props: ["showchoosetrialmethod", "choosetrialmethodata", "queryParams"],
data() {
return {
radio: 2,
@@ -50,7 +50,7 @@ export default {
.then((res) => {
this.$modal.msgSuccess("提交成功");
this.cancel();
- this.$emit("getcaseApply");
+ this.$emit("getcaseApply",this.queryParams);
})
.catch((err) => {});
},
diff --git a/src/views/caseManagement/components/courtReviewDialog.vue b/src/views/caseManagement/components/courtReviewDialog.vue
index b9cbb98..a5865b0 100644
--- a/src/views/caseManagement/components/courtReviewDialog.vue
+++ b/src/views/caseManagement/components/courtReviewDialog.vue
@@ -47,7 +47,7 @@ import { pendTralSure } from "@/api/caseManagement/caseManagement.js";
import moment from "moment";
export default {
name: "courtReviewDialog",
- props: ["showcourtReview", "form"],
+ props: ["showcourtReview", "form", "queryParams"],
data() {
return {
hearDate: "",
@@ -68,7 +68,7 @@ export default {
.then((res) => {
this.$modal.msgSuccess("确认成功");
this.cancel();
- this.$emit("getcaseApply");
+ this.$emit("getcaseApply",this.queryParams);
})
.catch((err) => {});
}
diff --git a/src/views/caseManagement/components/formateCourtDialog.vue b/src/views/caseManagement/components/formateCourtDialog.vue
index ebe9646..691b2d1 100644
--- a/src/views/caseManagement/components/formateCourtDialog.vue
+++ b/src/views/caseManagement/components/formateCourtDialog.vue
@@ -52,8 +52,8 @@
@@ -74,12 +74,12 @@