案件列表查询调整
This commit is contained in:
@@ -147,6 +147,15 @@
|
||||
v-hasPermi="['monitor:online:forceLogout']"
|
||||
>修改</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
|
||||
size="mini"
|
||||
type="text"
|
||||
@@ -230,15 +239,17 @@
|
||||
v-hasPermi="['monitor:online:forceLogout']"
|
||||
>开庭审理</el-button
|
||||
>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-document"
|
||||
@click="generateawardRow(scope.row)"
|
||||
v-if="scope.row.caseStatus == 10"
|
||||
v-hasPermi="['monitor:online:forceLogout']"
|
||||
>生成裁决书</el-button
|
||||
>
|
||||
<el-popconfirm title="确定生成裁决书吗?" @confirm="generateawardRow(scope.row)">
|
||||
<el-button
|
||||
size="mini"
|
||||
slot="reference"
|
||||
type="text"
|
||||
icon="el-icon-document"
|
||||
v-if="scope.row.caseStatus == 10"
|
||||
v-hasPermi="['monitor:online:forceLogout']"
|
||||
>生成裁决书</el-button
|
||||
>
|
||||
</el-popconfirm>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@@ -256,7 +267,7 @@
|
||||
:total="total"
|
||||
:page.sync="queryParams.pageNum"
|
||||
:limit.sync="queryParams.pageSize"
|
||||
@pagination="getcaseApply"
|
||||
@pagination="getcaseApply(queryParams)"
|
||||
/>
|
||||
|
||||
<!-- 立案申请弹框 -->
|
||||
@@ -264,6 +275,7 @@
|
||||
:visible="visible"
|
||||
@cancel="cancel"
|
||||
:form="form"
|
||||
:queryParams="queryParams"
|
||||
:dialogtitle="dialogtitle"
|
||||
:getcaseApply="getcaseApply"
|
||||
:flag="flag"
|
||||
@@ -273,6 +285,7 @@
|
||||
<!-- 批量申请弹框 openbatch-->
|
||||
<batchDialog
|
||||
:openbatch="openbatch"
|
||||
:queryParams="queryParams"
|
||||
@cancelBatch="cancelBatch"
|
||||
:getcaseApply="getcaseApply"
|
||||
></batchDialog>
|
||||
@@ -280,6 +293,7 @@
|
||||
<formateCourtDialog
|
||||
:showformateCourt="showformateCourt"
|
||||
@cancelcourtDialog="cancelcourtDialog"
|
||||
:queryParams="queryParams"
|
||||
:formateCourtData="formateCourtData"
|
||||
@getcaseApply="getcaseApply"
|
||||
></formateCourtDialog>
|
||||
@@ -287,6 +301,7 @@
|
||||
<courtReviewDialog
|
||||
:showcourtReview="showcourtReview"
|
||||
:form="form"
|
||||
:queryParams="queryParams"
|
||||
@cancelcourtReview="cancelcourtReview"
|
||||
@getcaseApply="getcaseApply"
|
||||
></courtReviewDialog>
|
||||
@@ -294,6 +309,7 @@
|
||||
<choosetrialmethodDaiog
|
||||
:showchoosetrialmethod="showchoosetrialmethod"
|
||||
:choosetrialmethodata="choosetrialmethodata"
|
||||
:queryParams="queryParams"
|
||||
@getcaseApply="getcaseApply"
|
||||
@cancelshowchoosetrialMethod="cancelshowchoosetrialMethod"
|
||||
></choosetrialmethodDaiog>
|
||||
@@ -302,6 +318,7 @@
|
||||
:showadjudicaterecord="showadjudicaterecord"
|
||||
:form="form"
|
||||
:adjudicatename="adjudicatename"
|
||||
:queryParams="queryParams"
|
||||
@canceladjudicaterecord="canceladjudicaterecord"
|
||||
@getcaseApply="getcaseApply"
|
||||
></adjudicaterecordDialog>
|
||||
@@ -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(() => {});
|
||||
|
||||
Reference in New Issue
Block a user