办结
This commit is contained in:
parent
247cce79c1
commit
44822f7d86
@ -206,7 +206,7 @@
|
|||||||
<div class="flex-row">
|
<div class="flex-row">
|
||||||
<!-- <el-button size="small" @click="handleImport">导入</el-button>
|
<!-- <el-button size="small" @click="handleImport">导入</el-button>
|
||||||
<el-button size="small" @click="handleBatchDelete">删除</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>
|
<el-button size="small" type="primary" @click="handleCaseAllocation">案件分配</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -528,11 +528,25 @@ import { values } from "lodash";
|
|||||||
}).catch(() => {});
|
}).catch(() => {});
|
||||||
},
|
},
|
||||||
// 新增
|
// 新增
|
||||||
handleAddForm(){
|
// handleAddForm(){
|
||||||
this.addCaseDialog={
|
// this.addCaseDialog={
|
||||||
title:'新增案件',
|
// 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(){
|
handleCaseAllocation(){
|
||||||
|
|
||||||
|
|||||||
@ -499,6 +499,10 @@ import { values } from "lodash";
|
|||||||
this.$message.warning(`请至少选中一个调解案件!`)
|
this.$message.warning(`请至少选中一个调解案件!`)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
api.updateCaseStatus({caseStatus: 2, ids: this.selectionData}).then(res => {
|
||||||
|
this.$message.success("成功");
|
||||||
|
this.getCaseInfoList(1)
|
||||||
|
})
|
||||||
},
|
},
|
||||||
handleBrainCall(){
|
handleBrainCall(){
|
||||||
// 智能外呼
|
// 智能外呼
|
||||||
|
|||||||
@ -180,6 +180,11 @@ const caseManagementApi = {
|
|||||||
return service.service.post(`${apiAdmin}api/trace/traceServed/retry`, data)
|
return service.service.post(`${apiAdmin}api/trace/traceServed/retry`, data)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// 批量更新案件状态(在办、办结)
|
||||||
|
updateCaseStatus: data => {
|
||||||
|
return service.service.post(`${apiAdmin}cases/caseInfo/updateCaseStatus`, data)
|
||||||
|
},
|
||||||
|
|
||||||
//========================end::案件管理======================================
|
//========================end::案件管理======================================
|
||||||
}
|
}
|
||||||
export default caseManagementApi;
|
export default caseManagementApi;
|
||||||
Loading…
x
Reference in New Issue
Block a user