This commit is contained in:
tdg930622 2024-12-31 11:01:35 +08:00
parent 247cce79c1
commit 44822f7d86
3 changed files with 29 additions and 6 deletions

View File

@ -206,7 +206,7 @@
<div class="flex-row">
<!-- <el-button size="small" @click="handleImport">导入</el-button>
<el-button size="small" @click="handleBatchDelete">删除</el-button>-->
<el-button size="small" @click="handleAddForm">案件办结</el-button>
<el-button size="small" @click="handleConclude">案件办结</el-button>
<el-button size="small" type="primary" @click="handleCaseAllocation">案件分配</el-button>
</div>
</div>
@ -528,11 +528,25 @@ import { values } from "lodash";
}).catch(() => {});
},
//
handleAddForm(){
this.addCaseDialog={
title:'新增案件',
}
},
// handleAddForm(){
// this.addCaseDialog={
// title:'',
// }
// },
handleConclude() {
//
if (this.selectionData.length == 0) {
this.$message.warning(`请至少选中一个调解案件!`)
return
}
if (!this.$clickThrottle()) {
return
}//
api.updateCaseStatus({caseStatus: 2, ids: this.selectionData}).then(res => {
this.$message.success("成功");
this.getCaseInfoList(1)
})
},
//
handleCaseAllocation(){

View File

@ -499,6 +499,10 @@ import { values } from "lodash";
this.$message.warning(`请至少选中一个调解案件!`)
return
}
api.updateCaseStatus({caseStatus: 2, ids: this.selectionData}).then(res => {
this.$message.success("成功");
this.getCaseInfoList(1)
})
},
handleBrainCall(){
//

View File

@ -180,6 +180,11 @@ const caseManagementApi = {
return service.service.post(`${apiAdmin}api/trace/traceServed/retry`, data)
},
// 批量更新案件状态(在办、办结)
updateCaseStatus: data => {
return service.service.post(`${apiAdmin}cases/caseInfo/updateCaseStatus`, data)
},
//========================end::案件管理======================================
}
export default caseManagementApi;