From 1f203d13604313f588a5adc5d42811aaafc999a9 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Wed, 11 May 2022 11:29:32 +0800 Subject: [PATCH] fix bug --- .../components/list/list.component.html | 11 ++++++++++ .../components/list/list.component.ts | 22 +++++++++++++------ 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/src/app/routes/partner/level-config/components/list/list.component.html b/src/app/routes/partner/level-config/components/list/list.component.html index e422e411..4b5ae111 100644 --- a/src/app/routes/partner/level-config/components/list/list.component.html +++ b/src/app/routes/partner/level-config/components/list/list.component.html @@ -1,3 +1,13 @@ + { return item.stateLocked ? '禁用' : '启用'; } @@ -98,6 +104,8 @@ export class ParterLevelConfigListComponent implements OnInit { { title: '操作', className: 'text-center', + width: 120, + fixed: 'right', buttons: [ { text: '编辑', @@ -162,7 +170,7 @@ export class ParterLevelConfigListComponent implements OnInit { restart(item: any) { this.modalService.confirm({ nzTitle: '启用确认', - nzContent: `确定启用该账号吗?
`, + nzContent: `确定启用该等级吗?
`, nzOnOk: () => this.service.request(this.service.$api_updatePartnerGradeConfig, { id: item.id }).subscribe(res => { if (res) { @@ -175,7 +183,7 @@ export class ParterLevelConfigListComponent implements OnInit { stop(item: any) { this.modalService.confirm({ nzTitle: '禁用确认', - nzContent: `确定禁用该账号吗?
`, + nzContent: `确定禁用该等级吗?
`, nzOnOk: () => this.service.request(this.service.$api_updatePartnerGradeConfig, { id: item.id }).subscribe(res => { if (res) {