办结
This commit is contained in:
parent
247cce79c1
commit
44822f7d86
@ -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(){
|
||||
|
||||
|
||||
@ -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(){
|
||||
// 智能外呼
|
||||
|
||||
@ -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;
|
||||
Loading…
x
Reference in New Issue
Block a user