案件信息列表接口调整

This commit is contained in:
Your Name
2023-09-20 18:40:49 +08:00
parent 44c65c680f
commit bd0d081ace
6 changed files with 134 additions and 51 deletions
+8 -5
View File
@@ -366,6 +366,7 @@ export default {
// 查询参数
queryParams: {
caseNum: undefined,
caseStatusList: [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 16],
hearDate: "",
caseStatus: null,
pageNum: 1,
@@ -395,7 +396,7 @@ export default {
};
},
created() {
this.getcaseApply();
this.getcaseApply(this.queryParams);
},
methods: {
cancel() {
@@ -405,9 +406,9 @@ 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 ? "立案申请" : "待缴费";
@@ -418,13 +419,15 @@ export default {
},
/** 搜索按钮操作 */
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() {