替换containsAllLable
This commit is contained in:
@ -26,23 +26,23 @@ export class ContractManagementTemplateComponent implements OnInit {
|
||||
columns: STColumn[] = [];
|
||||
datass: any = [
|
||||
{
|
||||
one: '1',
|
||||
two: '1',
|
||||
three: '1',
|
||||
id: 1
|
||||
},
|
||||
one: '1',
|
||||
two: '1',
|
||||
three: '1',
|
||||
id: 1
|
||||
},
|
||||
{
|
||||
one: '2',
|
||||
two: '2',
|
||||
three: '2',
|
||||
id: 2
|
||||
},
|
||||
];
|
||||
one: '2',
|
||||
two: '2',
|
||||
three: '2',
|
||||
id: 2
|
||||
},
|
||||
];
|
||||
constructor(
|
||||
public service: ContractManagementService,
|
||||
private modal: NzModalService,
|
||||
private router: Router
|
||||
) { }
|
||||
) { }
|
||||
|
||||
/**
|
||||
* 查询参数
|
||||
@ -80,7 +80,7 @@ export class ContractManagementTemplateComponent implements OnInit {
|
||||
ui: {
|
||||
widget: 'dict-select',
|
||||
params: { dictKey: 'contract:template:type' },
|
||||
containsAllLable: true,
|
||||
containsAllLabel: true,
|
||||
visibleIf: {
|
||||
_$expand: (value: boolean) => value,
|
||||
},
|
||||
@ -178,7 +178,7 @@ export class ContractManagementTemplateComponent implements OnInit {
|
||||
}
|
||||
|
||||
edit(value: any) {
|
||||
this.router.navigate(['/contract-management/template/detail/' + value.id],{
|
||||
this.router.navigate(['/contract-management/template/detail/' + value.id], {
|
||||
queryParams: {
|
||||
status: 2
|
||||
}
|
||||
@ -195,7 +195,7 @@ export class ContractManagementTemplateComponent implements OnInit {
|
||||
window.history.go(-1)
|
||||
}
|
||||
view(value: any) {
|
||||
this.router.navigate(['/contract-management/template/detail/' + value.id],{
|
||||
this.router.navigate(['/contract-management/template/detail/' + value.id], {
|
||||
queryParams: {
|
||||
status: 3
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user