diff --git a/src/pages/case-mistake/index.vue b/src/pages/case-mistake/index.vue index fe8ff0a..94c9370 100644 --- a/src/pages/case-mistake/index.vue +++ b/src/pages/case-mistake/index.vue @@ -54,7 +54,7 @@
增量导入案件 导出错误案件 - + 清空错误案件
@@ -165,7 +165,7 @@ import cpkapi from "@/services/casePackageManagement"; }, // 错误的案件记录标头 getCasepkgError_headers(){ - cpkapi.postcase_pkg_error_headers({id:this.queryParam.pkgId}).then(res => { + cpkapi.postcase_pkg_error_headers({id:this.queryParam.id}).then(res => { if (!res.code) { this.Error_headers = res; } @@ -197,7 +197,18 @@ import cpkapi from "@/services/casePackageManagement"; }) }, handleDelete(){ - + this.$confirm("此操作将清空此案件包错误案件, 是否继续?", "提示", { + confirmButtonText: "确定", + cancelButtonText: "取消", + type: "warning", + }).then(() => { + if(!this.$clickThrottle()) { return }//防止重复点击 + cpkapi.postcase_pkg_error_clean({ id: this.queryParam.id }).then((res) => { + this.$message.success("清空此案件包错误案件成功"); + this.getCasepkgList() + + }); + }).catch(() => {}); }, // 重置 hanldeReset() { diff --git a/src/pages/mediation-management/components/batchofficeWDialog.vue b/src/pages/mediation-management/components/batchofficeWDialog.vue index 384a355..291338f 100644 --- a/src/pages/mediation-management/components/batchofficeWDialog.vue +++ b/src/pages/mediation-management/components/batchofficeWDialog.vue @@ -25,7 +25,7 @@
签字有效时间 - @@ -76,6 +76,7 @@ import api from "@/services/caseManagement"; ObjectInfo:{ fileTypes:['MEDIATE_NOTE','MEDIATE_APPLICATION','CONFIRMATION_OF_ADDRESS'], deadline:'1', + deadNum:'1', caseIdList:[] }, tableData:[], @@ -104,7 +105,7 @@ import api from "@/services/caseManagement"; let currentDate = new Date(); // 获取昨天的日期 const nextDate = currentDate - currentDate.setDate(currentDate.getDate() + (this.ObjectInfo.deadline*1)) + currentDate.setDate(currentDate.getDate() + (this.ObjectInfo.deadNum*1)) const year = nextDate.getFullYear(); const month = (nextDate.getMonth() + 1).toString().padStart(2, '0'); const day = nextDate.getDate().toString().padStart(2, '0'); diff --git a/src/pages/mediation-page/components/contactPerson.vue b/src/pages/mediation-page/components/contactPerson.vue index cb23d36..8c29eb9 100644 --- a/src/pages/mediation-page/components/contactPerson.vue +++ b/src/pages/mediation-page/components/contactPerson.vue @@ -32,7 +32,7 @@
- 电话 + 电话 { return service.service.post(`${apiMediate}case_pkg/imports/error/down`, data) }, + // 清理案件包导入错误数据 + postcase_pkg_error_clean: data => { + return service.service.post(`${apiMediate}case_pkg/imports/error/clean`, data) + },