edit
This commit is contained in:
@ -94,11 +94,9 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
|
||||
|
||||
/** 启用/冻结司机 */
|
||||
userAction(status: number) {
|
||||
console.log( this.userDetail );
|
||||
|
||||
this.nzModalService.warning({
|
||||
nzTitle: status === 1 ? '确定启用该司机吗?' : '确定冻结该司机吗?',
|
||||
nzContent: status === 1 ? '停用后,司机将被限制使用,无法登陆,请谨慎操作!' : '启用后,该司机将恢复正常使用功能,请再次确认!',
|
||||
nzContent: status === 1 ? '启用后,该司机将恢复正常使用功能,请再次确认!' : '冻结后,司机将被限制使用,无法登陆,请谨慎操作!',
|
||||
nzOnOk: () => {
|
||||
this.service
|
||||
.request(this.service.$api_lock_or_free_user, {
|
||||
|
||||
Reference in New Issue
Block a user