修改bug

This commit is contained in:
liuxi 2025-02-11 16:25:03 +08:00
parent 24b5e019d9
commit 9bafda069e
4 changed files with 22 additions and 6 deletions

View File

@ -54,7 +54,7 @@
<div class="flex-row"> <div class="flex-row">
<el-button size="small" type="primary" @click="handleImport">增量导入案件</el-button> <el-button size="small" type="primary" @click="handleImport">增量导入案件</el-button>
<el-button size="small" :disabled="tableData.length==0 ? true: false" @click="handleExport">导出错误案件</el-button> <el-button size="small" :disabled="tableData.length==0 ? true: false" @click="handleExport">导出错误案件</el-button>
<!-- <el-button size="small" @click="handleDelete">清空错误案件</el-button> --> <el-button size="small" @click="handleDelete">清空错误案件</el-button>
</div> </div>
</div> </div>
@ -165,7 +165,7 @@ import cpkapi from "@/services/casePackageManagement";
}, },
// //
getCasepkgError_headers(){ 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) { if (!res.code) {
this.Error_headers = res; this.Error_headers = res;
} }
@ -197,7 +197,18 @@ import cpkapi from "@/services/casePackageManagement";
}) })
}, },
handleDelete(){ 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() { hanldeReset() {

View File

@ -25,7 +25,7 @@
<el-col :span="24"> <el-col :span="24">
<div class="flex-row-center align-items-center height-40 mb-24"> <div class="flex-row-center align-items-center height-40 mb-24">
<span class="tabs__search-criteria-title flex-shrink-0 pr-16" style="width:100px">签字有效时间</span> <span class="tabs__search-criteria-title flex-shrink-0 pr-16" style="width:100px">签字有效时间</span>
<el-select v-model="ObjectInfo.deadline" <el-select v-model="ObjectInfo.deadNum"
placeholder="请选择签字有效期限" class="width100"> placeholder="请选择签字有效期限" class="width100">
<el-option label="1天" value="1"></el-option> <el-option label="1天" value="1"></el-option>
<el-option label="2天" value="2"></el-option> <el-option label="2天" value="2"></el-option>
@ -76,6 +76,7 @@ import api from "@/services/caseManagement";
ObjectInfo:{ ObjectInfo:{
fileTypes:['MEDIATE_NOTE','MEDIATE_APPLICATION','CONFIRMATION_OF_ADDRESS'], fileTypes:['MEDIATE_NOTE','MEDIATE_APPLICATION','CONFIRMATION_OF_ADDRESS'],
deadline:'1', deadline:'1',
deadNum:'1',
caseIdList:[] caseIdList:[]
}, },
tableData:[], tableData:[],
@ -104,7 +105,7 @@ import api from "@/services/caseManagement";
let currentDate = new Date(); let currentDate = new Date();
// //
const nextDate = currentDate const nextDate = currentDate
currentDate.setDate(currentDate.getDate() + (this.ObjectInfo.deadline*1)) currentDate.setDate(currentDate.getDate() + (this.ObjectInfo.deadNum*1))
const year = nextDate.getFullYear(); const year = nextDate.getFullYear();
const month = (nextDate.getMonth() + 1).toString().padStart(2, '0'); const month = (nextDate.getMonth() + 1).toString().padStart(2, '0');
const day = nextDate.getDate().toString().padStart(2, '0'); const day = nextDate.getDate().toString().padStart(2, '0');

View File

@ -32,7 +32,7 @@
</div> </div>
</div> </div>
<div class="color-86909C mt-8 ml-8 f16"> <div class="color-86909C mt-8 ml-8 f16">
<a class="mr-24 cursor-pointer" @click="makeCall(item)"><i class="el-icon-phone"></i> 电话</a> <a class="mr-24 cursor-pointer" v-if="item.phone !=''" @click="makeCall(item)"><i class="el-icon-phone"></i> 电话</a>
<el-popover v-if="item.role == 'DEBTOR' && item.type =='本人'" <el-popover v-if="item.role == 'DEBTOR' && item.type =='本人'"
placement="top" placement="top"

View File

@ -47,6 +47,10 @@ const caseManagementApi = {
postcase_pkg_error_down: data => { postcase_pkg_error_down: data => {
return service.service.post(`${apiMediate}case_pkg/imports/error/down`, data) 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)
},