edit
This commit is contained in:
@ -319,11 +319,11 @@ export class UserCenterComponentsDriverComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
acl: { ability: ['USERCENTER-DRIVER-LIST-view'] },
|
acl: { ability: ['USERCENTER-DRIVER-LIST-view'] },
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
text: '基础设置',
|
// text: '基础设置',
|
||||||
click: item => this.settingAction(item),
|
// click: item => this.settingAction(item),
|
||||||
acl: { ability: ['USERCENTER-DRIVER-LIST-basicSetting'] },
|
// acl: { ability: ['USERCENTER-DRIVER-LIST-basicSetting'] },
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
text: '资金账户',
|
text: '资金账户',
|
||||||
click: item => this.showAccountDetail(item),
|
click: item => this.showAccountDetail(item),
|
||||||
|
|||||||
@ -88,7 +88,7 @@
|
|||||||
<ng-container *ngSwitchCase="9">
|
<ng-container *ngSwitchCase="9">
|
||||||
<nz-upload [nzAction]="service.$api_upload_url" [nzName]="'multipartFile'"
|
<nz-upload [nzAction]="service.$api_upload_url" [nzName]="'multipartFile'"
|
||||||
[nzHeaders]="{ authorization: 'authorization-text' }"
|
[nzHeaders]="{ authorization: 'authorization-text' }"
|
||||||
[(nzFileList)]="item.itemValue">
|
[(nzFileList)]="item.itemValue" style="margin-left: 26px;">
|
||||||
<button nz-button>
|
<button nz-button>
|
||||||
<i nz-icon nzType="upload"></i>
|
<i nz-icon nzType="upload"></i>
|
||||||
上传文件
|
上传文件
|
||||||
@ -97,7 +97,7 @@
|
|||||||
</ng-container>
|
</ng-container>
|
||||||
<!-- 开关选项 -->
|
<!-- 开关选项 -->
|
||||||
<ng-container *ngSwitchCase="10">
|
<ng-container *ngSwitchCase="10">
|
||||||
<nz-switch [(ngModel)]="item.itemValue"></nz-switch>
|
<nz-switch [ngModel]="item.itemValue" style="margin-left: 26px;"></nz-switch>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<!-- 开关选项 -->
|
<!-- 开关选项 -->
|
||||||
<ng-container *ngSwitchCase="999">
|
<ng-container *ngSwitchCase="999">
|
||||||
|
|||||||
@ -75,6 +75,8 @@ export class DynamicSettingModalComponent implements OnInit {
|
|||||||
this.configList = this.formatItems(this.selectedTab.items);
|
this.configList = this.formatItems(this.selectedTab.items);
|
||||||
const hiddenType = this.configList.find((item: any) => item.itemType === 7 || item.itemType === 999);
|
const hiddenType = this.configList.find((item: any) => item.itemType === 7 || item.itemType === 999);
|
||||||
this.labelWidth = hiddenType ? 0 : 200;
|
this.labelWidth = hiddenType ? 0 : 200;
|
||||||
|
console.log(this.configList);
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -45,6 +45,7 @@ import { NzCascaderModule } from 'ng-zorro-antd/cascader';
|
|||||||
import { NzAnchorModule } from 'ng-zorro-antd/anchor';
|
import { NzAnchorModule } from 'ng-zorro-antd/anchor';
|
||||||
import { NzAffixModule } from 'ng-zorro-antd/affix';
|
import { NzAffixModule } from 'ng-zorro-antd/affix';
|
||||||
import { NzTypographyModule } from 'ng-zorro-antd/typography';
|
import { NzTypographyModule } from 'ng-zorro-antd/typography';
|
||||||
|
import { NzSwitchModule } from 'ng-zorro-antd/switch';
|
||||||
export const SHARED_ZORRO_MODULES = [
|
export const SHARED_ZORRO_MODULES = [
|
||||||
NzButtonModule,
|
NzButtonModule,
|
||||||
NzGridModule,
|
NzGridModule,
|
||||||
@ -84,5 +85,5 @@ export const SHARED_ZORRO_MODULES = [
|
|||||||
NzAnchorModule,
|
NzAnchorModule,
|
||||||
NzAffixModule,
|
NzAffixModule,
|
||||||
NzTypographyModule,
|
NzTypographyModule,
|
||||||
|
NzSwitchModule
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user