edit
This commit is contained in:
@ -30,7 +30,7 @@ module.exports = {
|
|||||||
// },
|
// },
|
||||||
'//api': {
|
'//api': {
|
||||||
target: {
|
target: {
|
||||||
host: 'tms-api-dev.eascs.com',
|
host: 'tms-api-test.eascs.com',
|
||||||
protocol: 'https:',
|
protocol: 'https:',
|
||||||
port: 443
|
port: 443
|
||||||
},
|
},
|
||||||
|
|||||||
@ -32,7 +32,8 @@
|
|||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="mr-sm">
|
<div class="mr-sm">
|
||||||
<button nz-button nzDanger [nzLoading]="service.http.loading" (click)="openDrawer()">筛选</button>
|
<button nz-button nzDanger [nzLoading]="service.http.loading" (click)="openDrawer()" acl
|
||||||
|
[acl-ability]="['FINANCIAL-RECEIPT-list']">筛选</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -60,9 +60,9 @@ const routes: Routes = [
|
|||||||
{ path: 'abnormal-gold/detail/:id', component: AbnormalGoldDetailComponent },
|
{ path: 'abnormal-gold/detail/:id', component: AbnormalGoldDetailComponent },
|
||||||
{ path: 'payment-record', component: PaymentRecordComponent },
|
{ path: 'payment-record', component: PaymentRecordComponent },
|
||||||
{ path: 'transaction-flow', component: TransactionFlowComponent },
|
{ path: 'transaction-flow', component: TransactionFlowComponent },
|
||||||
{ path: 'payment-order', component: PaymentOrderComponent },
|
{ path: 'payment-order', component: PaymentOrderComponent, data: { guard: { ability: ['FINANCIAL-PAYMENT-ORDER-list'] } } },
|
||||||
{ path: 'payment-order/detail/:id', component: PaymentOrderDetailComponent },
|
{ path: 'payment-order/detail/:id', component: PaymentOrderDetailComponent },
|
||||||
{ path: 'receipt-order', component: ReceiptOrderComponent },
|
{ path: 'receipt-order', component: ReceiptOrderComponent, data: { guard: { ability: ['FINANCIAL-RECEIPT-list'] } } },
|
||||||
{ path: 'receipt-order/detail/:id', component: ReceiptOrderDetailComponent },
|
{ path: 'receipt-order/detail/:id', component: ReceiptOrderDetailComponent },
|
||||||
{ path: 'advance-collection', component: AdvanceCollectionComponent },
|
{ path: 'advance-collection', component: AdvanceCollectionComponent },
|
||||||
{ path: 'advance-collection/detail/:id', component: AdvanceCollectionDetailComponent },
|
{ path: 'advance-collection/detail/:id', component: AdvanceCollectionDetailComponent },
|
||||||
@ -70,12 +70,11 @@ const routes: Routes = [
|
|||||||
{ path: 'receivable-order/detail/:id', component: ReceivableOrderDetailComponent },
|
{ path: 'receivable-order/detail/:id', component: ReceivableOrderDetailComponent },
|
||||||
{ path: 'payable-order', component: PayableOrderComponent },
|
{ path: 'payable-order', component: PayableOrderComponent },
|
||||||
{ path: 'payable-order/detail/:id', component: PayableOrderDetailComponent },
|
{ path: 'payable-order/detail/:id', component: PayableOrderDetailComponent },
|
||||||
{ path: 'bank-card-management/index', component: CwcBankCardManagementIndexComponent },
|
{ path: 'bank-card-management/index', component: CwcBankCardManagementIndexComponent }
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [RouterModule.forChild(routes)],
|
imports: [RouterModule.forChild(routes)],
|
||||||
exports: [RouterModule]
|
exports: [RouterModule]
|
||||||
})
|
})
|
||||||
export class FinancialManagementRoutingModule { }
|
export class FinancialManagementRoutingModule {}
|
||||||
|
|||||||
@ -16,8 +16,8 @@
|
|||||||
<p style="margin-bottom: 0;word-break:break-all">{{ detailData?.enterpriseName }}</p>
|
<p style="margin-bottom: 0;word-break:break-all">{{ detailData?.enterpriseName }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div nz-col [nzLg]="12" [nzSm]="24" [nzXs]="24">
|
<div nz-col [nzLg]="12" [nzSm]="24" [nzXs]="24">
|
||||||
<nz-badge nzStatus="success" nzText="正常" *ngIf="detailData?.stateLocked === 0"></nz-badge>
|
<nz-badge nzStatus="success" nzText="正常" *ngIf="!detailData?.stateLocked"></nz-badge>
|
||||||
<nz-badge nzStatus="error" nzText="冻结" *ngIf="detailData?.stateLocked === 1"></nz-badge>
|
<nz-badge nzStatus="error" nzText="冻结" *ngIf="detailData?.stateLocked"></nz-badge>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div nz-row>
|
<div nz-row>
|
||||||
@ -48,30 +48,30 @@
|
|||||||
保存
|
保存
|
||||||
</button>
|
</button>
|
||||||
<button [disabled]="false" nz-button nzDanger (click)="auditPass(true)"
|
<button [disabled]="false" nz-button nzDanger (click)="auditPass(true)"
|
||||||
*ngIf="detailData?.approvalStatus===10" acl [acl-ability]="['USERCENTER-FREIGHT-ENTERPRISE-D-audit']">
|
*ngIf="detailData?.approvalStatus===10" acl [acl-ability]="['USERCENTER-FREIGHT-LIST-DETAIL-pass']">
|
||||||
通过
|
通过
|
||||||
</button>
|
</button>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-template #editButton>
|
<ng-template #editButton>
|
||||||
<ng-container *ngIf="detailData?.approvalStatus===10">
|
<ng-container *ngIf="detailData?.approvalStatus===10">
|
||||||
<button [disabled]="false" nz-button nzDanger (click)="auditPass(false)" acl
|
<button [disabled]="false" nz-button nzDanger (click)="auditPass(false)" acl
|
||||||
[acl-ability]="['USERCENTER-FREIGHT-ENTERPRISE-D-audit']">
|
[acl-ability]="['USERCENTER-FREIGHT-LIST-DETAIL-pass']">
|
||||||
通过
|
通过
|
||||||
</button>
|
</button>
|
||||||
<button [disabled]="false" nz-button nzDanger (click)="auditNo()" acl
|
<button [disabled]="false" nz-button nzDanger (click)="auditNo()" acl
|
||||||
[acl-ability]="['USERCENTER-FREIGHT-ENTERPRISE-D-audit']">
|
[acl-ability]="['USERCENTER-FREIGHT-LIST-DETAIL-pass']">
|
||||||
驳回
|
驳回
|
||||||
</button>
|
</button>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container *ngIf="detailData?.approvalStatus!=10">
|
<ng-container *ngIf="detailData?.approvalStatus!=10">
|
||||||
<button [disabled]="false" nz-button nzDanger nz-popconfirm [nzPopconfirmTitle]="enable"
|
<button [disabled]="false" nz-button nzDanger nz-popconfirm [nzPopconfirmTitle]="enable"
|
||||||
(nzOnConfirm)="freezeOrResume(0)" nzPopconfirmPlacement="bottomRight" *ngIf="detailData?.stateLocked"
|
(nzOnConfirm)="freezeOrResume(0)" nzPopconfirmPlacement="bottomRight" *ngIf="detailData?.stateLocked"
|
||||||
acl [acl-ability]="['USERCENTER-FREIGHT-ENTERPRISE-D-lock']">
|
acl [acl-ability]="['USERCENTER-FREIGHT-LIST-DETAIL-lock']">
|
||||||
启用
|
启用
|
||||||
</button>
|
</button>
|
||||||
<button [disabled]="false" nz-button nzDanger nz-popconfirm [nzPopconfirmTitle]="frozen"
|
<button [disabled]="false" nz-button nzDanger nz-popconfirm [nzPopconfirmTitle]="frozen"
|
||||||
(nzOnConfirm)="freezeOrResume(1)" nzPopconfirmPlacement="bottomRight" *ngIf="!detailData?.stateLocked"
|
(nzOnConfirm)="freezeOrResume(1)" nzPopconfirmPlacement="bottomRight" *ngIf="!detailData?.stateLocked"
|
||||||
acl [acl-ability]="['USERCENTER-FREIGHT-ENTERPRISE-D-lock']">
|
acl [acl-ability]="['USERCENTER-FREIGHT-LIST-DETAIL-lock']">
|
||||||
冻结
|
冻结
|
||||||
</button>
|
</button>
|
||||||
<button [disabled]="false" nz-button nzDanger nz-popconfirm [nzPopconfirmTitle]="Payfrozen"
|
<button [disabled]="false" nz-button nzDanger nz-popconfirm [nzPopconfirmTitle]="Payfrozen"
|
||||||
@ -84,7 +84,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<button [disabled]="false" nz-button nzDanger (click)="ratify()" acl
|
<button [disabled]="false" nz-button nzDanger (click)="ratify()" acl
|
||||||
[acl-ability]="['USERCENTER-FREIGHT-ENTERPRISE-D-save']">
|
[acl-ability]="['USERCENTER-FREIGHT-LIST-DETAIL-save']">
|
||||||
修改
|
修改
|
||||||
</button>
|
</button>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|||||||
Reference in New Issue
Block a user