案件列表查询调整,书面审理接口调整 #30

Merged
hhlxayunmei merged 1 commits from hhl into dev 2023-09-21 01:42:33 +00:00
8 changed files with 79 additions and 51 deletions
+2 -3
View File
@@ -10,12 +10,11 @@ export function arbitrateMethod(data, id) {
}); });
} }
// 书面审理 // 书面审理
export function writtenHear(data, id) { export function writtenHear(data) {
return request({ return request({
url: "/arbitrate/writtenHear", url: "/arbitrate/writtenHear",
method: "post", method: "post",
params: data, data: data,
data: id,
}); });
} }
// 组庭确认 // 组庭确认
+51 -24
View File
@@ -147,6 +147,15 @@
v-hasPermi="['monitor:online:forceLogout']" v-hasPermi="['monitor:online:forceLogout']"
>修改</el-button >修改</el-button
> >
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="onsubmitRow(scope.row)"
v-if="scope.row.caseStatus == 0"
v-hasPermi="['monitor:online:forceLogout']"
>提交</el-button
>
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
@@ -230,15 +239,17 @@
v-hasPermi="['monitor:online:forceLogout']" v-hasPermi="['monitor:online:forceLogout']"
>开庭审理</el-button >开庭审理</el-button
> >
<el-button <el-popconfirm title="确定生成裁决书吗?" @confirm="generateawardRow(scope.row)">
size="mini" <el-button
type="text" size="mini"
icon="el-icon-document" slot="reference"
@click="generateawardRow(scope.row)" type="text"
v-if="scope.row.caseStatus == 10" icon="el-icon-document"
v-hasPermi="['monitor:online:forceLogout']" v-if="scope.row.caseStatus == 10"
>生成裁决书</el-button v-hasPermi="['monitor:online:forceLogout']"
> >生成裁决书</el-button
>
</el-popconfirm>
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
@@ -256,7 +267,7 @@
:total="total" :total="total"
:page.sync="queryParams.pageNum" :page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize" :limit.sync="queryParams.pageSize"
@pagination="getcaseApply" @pagination="getcaseApply(queryParams)"
/> />
<!-- 立案申请弹框 --> <!-- 立案申请弹框 -->
@@ -264,6 +275,7 @@
:visible="visible" :visible="visible"
@cancel="cancel" @cancel="cancel"
:form="form" :form="form"
:queryParams="queryParams"
:dialogtitle="dialogtitle" :dialogtitle="dialogtitle"
:getcaseApply="getcaseApply" :getcaseApply="getcaseApply"
:flag="flag" :flag="flag"
@@ -273,6 +285,7 @@
<!-- 批量申请弹框 openbatch--> <!-- 批量申请弹框 openbatch-->
<batchDialog <batchDialog
:openbatch="openbatch" :openbatch="openbatch"
:queryParams="queryParams"
@cancelBatch="cancelBatch" @cancelBatch="cancelBatch"
:getcaseApply="getcaseApply" :getcaseApply="getcaseApply"
></batchDialog> ></batchDialog>
@@ -280,6 +293,7 @@
<formateCourtDialog <formateCourtDialog
:showformateCourt="showformateCourt" :showformateCourt="showformateCourt"
@cancelcourtDialog="cancelcourtDialog" @cancelcourtDialog="cancelcourtDialog"
:queryParams="queryParams"
:formateCourtData="formateCourtData" :formateCourtData="formateCourtData"
@getcaseApply="getcaseApply" @getcaseApply="getcaseApply"
></formateCourtDialog> ></formateCourtDialog>
@@ -287,6 +301,7 @@
<courtReviewDialog <courtReviewDialog
:showcourtReview="showcourtReview" :showcourtReview="showcourtReview"
:form="form" :form="form"
:queryParams="queryParams"
@cancelcourtReview="cancelcourtReview" @cancelcourtReview="cancelcourtReview"
@getcaseApply="getcaseApply" @getcaseApply="getcaseApply"
></courtReviewDialog> ></courtReviewDialog>
@@ -294,6 +309,7 @@
<choosetrialmethodDaiog <choosetrialmethodDaiog
:showchoosetrialmethod="showchoosetrialmethod" :showchoosetrialmethod="showchoosetrialmethod"
:choosetrialmethodata="choosetrialmethodata" :choosetrialmethodata="choosetrialmethodata"
:queryParams="queryParams"
@getcaseApply="getcaseApply" @getcaseApply="getcaseApply"
@cancelshowchoosetrialMethod="cancelshowchoosetrialMethod" @cancelshowchoosetrialMethod="cancelshowchoosetrialMethod"
></choosetrialmethodDaiog> ></choosetrialmethodDaiog>
@@ -302,6 +318,7 @@
:showadjudicaterecord="showadjudicaterecord" :showadjudicaterecord="showadjudicaterecord"
:form="form" :form="form"
:adjudicatename="adjudicatename" :adjudicatename="adjudicatename"
:queryParams="queryParams"
@canceladjudicaterecord="canceladjudicaterecord" @canceladjudicaterecord="canceladjudicaterecord"
@getcaseApply="getcaseApply" @getcaseApply="getcaseApply"
></adjudicaterecordDialog> ></adjudicaterecordDialog>
@@ -410,24 +427,21 @@ export default {
this.loading = true; this.loading = true;
caseApply(val).then((response) => { caseApply(val).then((response) => {
this.dataList = response.rows; this.dataList = response.rows;
// this.dataList.forEach((item) => {
// item.caseStatus = item.caseStatus == 0 ? "立案申请" : "待缴费";
// });
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
}); });
}, },
/** 搜索按钮操作 */ /** 搜索按钮操作 */
handleQuery() { handleQuery() {
this.queryParams.caseStatusList = [] this.queryParams.caseStatusList = [];
this.queryParams.pageNum = 1; this.queryParams.pageNum = 1;
this.getcaseApply(this.queryParams); this.getcaseApply(this.queryParams);
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
this.resetForm("queryForm"); this.resetForm("queryForm");
this.queryParams.caseStatusList = [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 16], (this.queryParams.caseStatusList = [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 16]),
this.getcaseApply(this.queryParams); this.getcaseApply(this.queryParams);
}, },
// 案件录入 // 案件录入
filingApplication() { filingApplication() {
@@ -477,7 +491,7 @@ export default {
return submitCaseApply({ id: row.id }); return submitCaseApply({ id: row.id });
}) })
.then(() => { .then(() => {
this.getcaseApply(); this.getcaseApply(this.queryParams);
this.$modal.msgSuccess("立案成功"); this.$modal.msgSuccess("立案成功");
}) })
.catch(() => {}); .catch(() => {});
@@ -498,20 +512,33 @@ export default {
this.dialogtitle = "立案修改"; this.dialogtitle = "立案修改";
this.getInfo(row); this.getInfo(row);
}, },
// 立案审查 // 列表提交立案
filingreviewRow(row) { onsubmitRow(row) {
console.log(row, "立案审查");
this.$modal this.$modal
.confirm("确定提交案件数据吗?") .confirm("是否提交立案申请?")
.then(function () { .then(function () {
return submitCaseApply({ id: row.id }); return submitCaseApply({ id: row.id });
}) })
.then(() => { .then(() => {
this.getcaseApply(); this.getcaseApply(this.queryParams);
this.$modal.msgSuccess("立案成功"); this.$modal.msgSuccess("立案申请成功");
}) })
.catch(() => {}); .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) { paycancelRow(row) {
this.openPay = false; this.openPay = false;
@@ -627,7 +654,7 @@ export default {
return removeCaseApply({ id: row.id }); return removeCaseApply({ id: row.id });
}) })
.then((res) => { .then((res) => {
this.getcaseApply(); this.getcaseApply(this.queryParams);
this.$modal.msgSuccess("删除成功"); this.$modal.msgSuccess("删除成功");
}) })
.catch(() => {}); .catch(() => {});
@@ -182,7 +182,7 @@
> >
<el-input <el-input
type="textarea" type="textarea"
:autosize="{ minRows: 4}" :autosize="{ minRows: 4 }"
placeholder="请输入仲裁结果" placeholder="请输入仲裁结果"
v-model="form2.evidenDetermi" v-model="form2.evidenDetermi"
> >
@@ -203,7 +203,7 @@
> >
<el-input <el-input
type="textarea" type="textarea"
:autosize="{ minRows: 4}" :autosize="{ minRows: 4 }"
placeholder="请输入" placeholder="请输入"
v-model="form2.factDetermi" v-model="form2.factDetermi"
> >
@@ -286,7 +286,7 @@
import { writtenHear } from "@/api/caseManagement/caseManagement.js"; import { writtenHear } from "@/api/caseManagement/caseManagement.js";
export default { export default {
props: ["showadjudicaterecord", "form", "adjudicatename"], props: ["showadjudicaterecord", "form", "adjudicatename", "queryParams"],
data() { data() {
return { return {
formData: {}, formData: {},
@@ -307,17 +307,18 @@ export default {
submitForm() { submitForm() {
this.$refs["form2"].validate((valid) => { this.$refs["form2"].validate((valid) => {
if (valid) { if (valid) {
writtenHear( writtenHear({
{ caseAppliId: this.formData.id,
accidentDescription: this.form2.accidentDescription, evidenDetermi: this.form2.evidenDetermi,
arbitrationResult: this.form2.arbitrationResult, factDetermi: this.form2.factDetermi,
}, caseSketch: this.form2.caseSketch,
{ id: this.formData.id } arbitrateThink: this.form2.arbitrateThink,
) rulingFollows: this.form2.rulingFollows,
})
.then((res) => { .then((res) => {
this.$modal.msgSuccess("提交成功"); this.$modal.msgSuccess("提交成功");
this.cancel(); this.cancel();
this.$emit("getcaseApply"); this.$emit("getcaseApply",this.queryParams);
}) })
.catch((err) => {}); .catch((err) => {});
} }
@@ -65,7 +65,7 @@
import { importTemplate } from "@/api/caseAccess/caseEntry"; import { importTemplate } from "@/api/caseAccess/caseEntry";
import { getToken } from "@/utils/auth"; import { getToken } from "@/utils/auth";
export default { export default {
props: ["openbatch","getcaseApply"], props: ["openbatch","getcaseApply","queryParams"],
data() { data() {
return { return {
// key: value, // key: value,
@@ -141,7 +141,7 @@ export default {
"导入结果", "导入结果",
{ dangerouslyUseHTMLString: true } { dangerouslyUseHTMLString: true }
); );
this.getcaseApply(); this.getcaseApply(this.queryParams);
}, },
}, },
}; };
@@ -540,6 +540,7 @@ export default {
"flag", "flag",
"initpaymentArr", "initpaymentArr",
"initpaymentArr1", "initpaymentArr1",
"queryParams"
], ],
data() { data() {
return { return {
@@ -755,7 +756,7 @@ export default {
}).then((res) => { }).then((res) => {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.$emit("cancel"); this.$emit("cancel");
this.getcaseApply(); this.getcaseApply(this.queryParams);
}); });
} else { } else {
addCaseApply({ addCaseApply({
@@ -764,7 +765,7 @@ export default {
}).then((response) => { }).then((response) => {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.$emit("cancel"); this.$emit("cancel");
this.getcaseApply(); this.getcaseApply(this.queryParams);
}); });
} }
// this.$emit("cancel"); // this.$emit("cancel");
@@ -31,7 +31,7 @@
import { arbitrateMethod } from "@/api/caseManagement/caseManagement.js"; import { arbitrateMethod } from "@/api/caseManagement/caseManagement.js";
export default { export default {
name: "showchoosetrialmethodDialog", name: "showchoosetrialmethodDialog",
props: ["showchoosetrialmethod", "choosetrialmethodata"], props: ["showchoosetrialmethod", "choosetrialmethodata", "queryParams"],
data() { data() {
return { return {
radio: 2, radio: 2,
@@ -50,7 +50,7 @@ export default {
.then((res) => { .then((res) => {
this.$modal.msgSuccess("提交成功"); this.$modal.msgSuccess("提交成功");
this.cancel(); this.cancel();
this.$emit("getcaseApply"); this.$emit("getcaseApply",this.queryParams);
}) })
.catch((err) => {}); .catch((err) => {});
}, },
@@ -47,7 +47,7 @@ import { pendTralSure } from "@/api/caseManagement/caseManagement.js";
import moment from "moment"; import moment from "moment";
export default { export default {
name: "courtReviewDialog", name: "courtReviewDialog",
props: ["showcourtReview", "form"], props: ["showcourtReview", "form", "queryParams"],
data() { data() {
return { return {
hearDate: "", hearDate: "",
@@ -68,7 +68,7 @@ export default {
.then((res) => { .then((res) => {
this.$modal.msgSuccess("确认成功"); this.$modal.msgSuccess("确认成功");
this.cancel(); this.cancel();
this.$emit("getcaseApply"); this.$emit("getcaseApply",this.queryParams);
}) })
.catch((err) => {}); .catch((err) => {});
} }
@@ -52,8 +52,8 @@
<pagination <pagination
v-show="total > 0" v-show="total > 0"
:total="total" :total="total"
:page.sync="queryParams.pageNum" :page.sync="queryParams1.pageNum"
:limit.sync="queryParams.pageSize" :limit.sync="queryParams1.pageSize"
@pagination="getarbitrAtor" @pagination="getarbitrAtor"
v-if="isAgreePendTral == 0" v-if="isAgreePendTral == 0"
/> />
@@ -74,12 +74,12 @@
<script> <script>
import { arbitrAtor, pendTralCheck } from "@/api/formationCourt/formationCourt"; import { arbitrAtor, pendTralCheck } from "@/api/formationCourt/formationCourt";
export default { export default {
props: ["showformateCourt", "formateCourtData"], props: ["showformateCourt", "formateCourtData", "queryParams"],
data() { data() {
return { return {
dataList: [], dataList: [],
total: 0, total: 0,
queryParams: { queryParams1: {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
}, },
@@ -127,7 +127,7 @@ export default {
pendTralCheck(this.paramsdata).then((res) => { pendTralCheck(this.paramsdata).then((res) => {
this.cancel(); this.cancel();
this.$modal.msgSuccess("组庭成功"); this.$modal.msgSuccess("组庭成功");
this.$emit("getcaseApply"); this.$emit("getcaseApply",this.queryParams);
}); });
// } // }
}, },