接口修改

This commit is contained in:
张运江 2025-02-10 15:51:05 +08:00
parent 7f37d00538
commit 3c7fe35355
2 changed files with 5 additions and 5 deletions

View File

@ -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(() => {});

View File

@ -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)
},