1116提交

This commit is contained in:
fz
2023-11-16 10:34:15 +08:00
parent 501b0846a7
commit 466adc40af
6 changed files with 65 additions and 29 deletions
@@ -47,6 +47,7 @@ import {
removeCaseApply,
submitCaseApplicationCheck
} from "@/api/caseAccess/caseEntry";
import { writtenHear } from "@/api/caseManagement/caseManagement.js";
import {
adjudicationCaseFile,
} from "@/api/awardManagement/awardManagement";
@@ -102,6 +103,12 @@ export default {
this.submitCaseApplicationCheckFn({ ids: this.batchData,agreeOrNotCheck:this.radio })
}else if (this.operateStatus == 3) {
this.adjudicationCaseFileFn({ ids: this.batchData })
}else if (this.operateStatus == 4) {
// this.adjudicationCaseFileFn({ ids: this.batchData })
this.writtenHearFn({ids: this.batchData})
}else if (this.operateStatus == 5) {
// this.adjudicationCaseFileFn({ ids: this.batchData })
// this.writtenHearFn({ids: this.batchData})
}
},
// 批量提交
@@ -136,6 +143,14 @@ export default {
this.$emit("getcaseApply", this.queryParams);
})
},
// 批量生成裁决书
writtenHearFn(data){
writtenHear(data).then(res=>{
this.$modal.msgSuccess("生成成功");
this.cancel();
this.$emit("getcaseApply", this.queryParams);
})
},
/** 查询列表 */
getcaseApply(val) {
this.loading = true;
@@ -147,6 +162,10 @@ export default {
this.queryParamsData.caseStatus = 1
}else if (this.operateStatus == 3) {
this.queryParamsData.caseStatus = 16
}else if (this.operateStatus == 4) {
this.queryParamsData.caseStatus = 9
}else if (this.operateStatus == 5) {
this.queryParamsData.caseStatus = 11
}
caseApply(val).then((response) => {
this.dataList = response.rows;