接口修改
This commit is contained in:
parent
7f37d00538
commit
3c7fe35355
@ -111,16 +111,16 @@ export default {
|
||||
},
|
||||
// 删除
|
||||
handleDelete(scope){
|
||||
this.$confirm("此操作将永久删除该角色, 是否继续?", "提示", {
|
||||
this.$confirm("确定解绑坐席电话, 是否继续?", "提示", {
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
if(!this.$clickThrottle()) { return }//防止重复点击
|
||||
systemManageApi.deleteRoleById({ id: scope.row.id }).then((res) => {
|
||||
systemManageApi.seatUnbind({ id: scope.row.id }).then((res) => {
|
||||
|
||||
this.$message.success("成功");
|
||||
this.getRoleList(1)
|
||||
this.$message.success("解绑成功");
|
||||
this.getSeatList(1)
|
||||
|
||||
});
|
||||
}).catch(() => {});
|
||||
|
||||
@ -87,7 +87,7 @@ const systemLogApi = {
|
||||
seatBind: data => {
|
||||
return service.service.post(`${apiAdmin}system/user/seat/bind`, data)
|
||||
},
|
||||
// 座席绑定
|
||||
// 座席解绑
|
||||
seatUnbind: data => {
|
||||
return service.service.post(`${apiAdmin}system/user/seat/unbind`, data)
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user