解决冲突

This commit is contained in:
wangshiming
2022-02-28 19:31:33 +08:00
parent 8555bb7f39
commit 172ecc6263
7 changed files with 98 additions and 97 deletions

View File

@ -480,6 +480,7 @@ export class insuranceManagementListComponent implements OnInit {
{
text: '查看保单',
click: _record => this.showImg(_record),
iif: item => item.insureStatus == '2'
// acl: { ability: ['VEHICLE-LIST-view'] },
// iif: item =>
// item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '1'
@ -487,6 +488,7 @@ export class insuranceManagementListComponent implements OnInit {
{
text: '退保费',
click: _record => this.retreatPrice(_record),
iif: item => item.insureStatus == '2'
// acl: { ability: ['VEHICLE-LIST-view'] },
}
]
@ -531,7 +533,7 @@ export class insuranceManagementListComponent implements OnInit {
nzContent: '退还后不可撤销,请谨慎操作!',
nzCancelText: '取消',
nzOnOk: () => {
this.service.request(this.service.$api_del_many, [value.id]).subscribe(res => {
this.service.request(this.service.$api_get_addINPBillRefundApplication, {id: value.id}).subscribe(res => {
if (res) {
this.service.msgSrv.success('删除菜单成功');
}