Merge branch 'develop'
This commit is contained in:
@ -273,6 +273,7 @@ export class PayableOrderComponent implements OnInit {
|
|||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
text: '浏览',
|
text: '浏览',
|
||||||
|
acl: { ability: ['FINANCIAL-PAYABLE-view'] },
|
||||||
click: item =>
|
click: item =>
|
||||||
this.router.navigate(['/financial-management/payable-order/detail/' + item.id], { queryParams: { billHId: item.id } })
|
this.router.navigate(['/financial-management/payable-order/detail/' + item.id], { queryParams: { billHId: item.id } })
|
||||||
}
|
}
|
||||||
|
|||||||
@ -40,7 +40,8 @@
|
|||||||
<label class="page_title"> <label class="driver">|</label> 充值记录</label>
|
<label class="page_title"> <label class="driver">|</label> 充值记录</label>
|
||||||
<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()">筛选</button>
|
||||||
<button nz-button nzDanger (click)="exportList()"> 导出</button>
|
<button nz-button nzDanger (click)="exportList()" acl [acl-ability]="['FINANCIAL-RECHARGE-export']">
|
||||||
|
导出</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<st #st [data]="service.$api_get_recharge_page" [columns]="columns" [req]="{ process: beforeReq }" [page]="{}"
|
<st #st [data]="service.$api_get_recharge_page" [columns]="columns" [req]="{ process: beforeReq }" [page]="{}"
|
||||||
|
|||||||
@ -119,7 +119,7 @@ export class RechargeRecordComponent extends BasicTableComponent implements OnIn
|
|||||||
title: '账户名称',
|
title: '账户名称',
|
||||||
ui: {
|
ui: {
|
||||||
placeholder: '请输入',
|
placeholder: '请输入',
|
||||||
autocomplete: 'off',
|
autocomplete: 'off'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
accountType: {
|
accountType: {
|
||||||
@ -133,7 +133,7 @@ export class RechargeRecordComponent extends BasicTableComponent implements OnIn
|
|||||||
],
|
],
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'select',
|
widget: 'select',
|
||||||
placeholder: '请选择',
|
placeholder: '请选择'
|
||||||
},
|
},
|
||||||
default: ''
|
default: ''
|
||||||
},
|
},
|
||||||
@ -157,7 +157,7 @@ export class RechargeRecordComponent extends BasicTableComponent implements OnIn
|
|||||||
],
|
],
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'select',
|
widget: 'select',
|
||||||
placeholder: '请选择',
|
placeholder: '请选择'
|
||||||
},
|
},
|
||||||
default: ''
|
default: ''
|
||||||
}
|
}
|
||||||
@ -195,6 +195,7 @@ export class RechargeRecordComponent extends BasicTableComponent implements OnIn
|
|||||||
{ type: 'divider' },
|
{ type: 'divider' },
|
||||||
{
|
{
|
||||||
text: '查看回单<br>',
|
text: '查看回单<br>',
|
||||||
|
acl: { ability: ['FINANCIAL-RECHARGE-receiptApply'] },
|
||||||
click: item =>
|
click: item =>
|
||||||
this.service.getReceiptUrl(item.receiptUrl, {
|
this.service.getReceiptUrl(item.receiptUrl, {
|
||||||
bankType: item.bankType,
|
bankType: item.bankType,
|
||||||
@ -207,6 +208,7 @@ export class RechargeRecordComponent extends BasicTableComponent implements OnIn
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: '添加备注',
|
text: '添加备注',
|
||||||
|
acl: { ability: ['FINANCIAL-RECHARGE-addRemark'] },
|
||||||
click: item => this.addRemark(item)
|
click: item => this.addRemark(item)
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@ -50,11 +50,11 @@ const routes: Routes = [
|
|||||||
component: PlatformAccountDetailComponent,
|
component: PlatformAccountDetailComponent,
|
||||||
data: { guard: { ability: ['FINANCIAL-PLATFORM-DETAIL-detail'] } }
|
data: { guard: { ability: ['FINANCIAL-PLATFORM-DETAIL-detail'] } }
|
||||||
},
|
},
|
||||||
{ path: 'recharge-record', component: RechargeRecordComponent },
|
{ path: 'recharge-record', component: RechargeRecordComponent, data: { guard: { ability: ['FINANCIAL-RECHARGE-list'] } } },
|
||||||
{ path: 'withdrawals-record', component: WithdrawalsRecordComponent },
|
{ path: 'withdrawals-record', component: WithdrawalsRecordComponent },
|
||||||
{ path: 'withdrawals-record/detail/:id', component: WithdrawalsDetailComponent },
|
{ path: 'withdrawals-record/detail/:id', component: WithdrawalsDetailComponent },
|
||||||
{ path: 'refund-record', component: RefundRecordComponent },
|
{ path: 'refund-record', component: RefundRecordComponent },
|
||||||
{ path: 'voucher-management', component: VoucherManagementComponent },
|
{ path: 'voucher-management', component: VoucherManagementComponent, data: { guard: { ability: ['FINANCIAL-VOUCHER-list'] } } },
|
||||||
{ path: 'voucher-management/detail/:id', component: VoucherDetailComponent },
|
{ path: 'voucher-management/detail/:id', component: VoucherDetailComponent },
|
||||||
{ path: 'voucher-summary', component: VoucherSummaryComponent, data: { guard: { ability: ['FINANCIAL-VOUCHER-SUMMARY-list'] } } },
|
{ path: 'voucher-summary', component: VoucherSummaryComponent, data: { guard: { ability: ['FINANCIAL-VOUCHER-SUMMARY-list'] } } },
|
||||||
{ path: 'voucher-summary/detail/:id', component: SummaryDetailComponent },
|
{ path: 'voucher-summary/detail/:id', component: SummaryDetailComponent },
|
||||||
|
|||||||
@ -1,4 +1,17 @@
|
|||||||
|
<!--
|
||||||
|
* @Description :
|
||||||
|
* @Version : 1.0
|
||||||
|
* @Author : Shiming
|
||||||
|
* @Date : 2022-04-21 13:49:22
|
||||||
|
* @LastEditors : Shiming
|
||||||
|
* @LastEditTime : 2022-04-28 17:40:42
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\assigned-car\\assigned-car.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
|
-->
|
||||||
|
<nz-spin [nzSpinning]="service.http.loading">
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<div nz-row>
|
<div nz-row>
|
||||||
<div nz-col nzSpan="18">
|
<div nz-col nzSpan="18">
|
||||||
<sf #sf [schema]="schema" mode="search" [ui]="ui" [compact]="true" (formSubmit)="st.load(1)"
|
<sf #sf [schema]="schema" mode="search" [ui]="ui" [compact]="true" (formSubmit)="st.load(1)"
|
||||||
@ -41,9 +54,12 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
</st>
|
</st>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</nz-spin >
|
||||||
|
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button nz-button type="button" (click)="close()">关闭</button>
|
<button nz-button type="button" (click)="close()">关闭</button>
|
||||||
<button nz-button type="submit" nzType="primary" (click)="verifyVechicleStatus(params)" [disabled]="!selectedRows"
|
<button nz-button type="submit" nzType="primary" (click)="verifyVechicleStatus(params)" [disabled]="!selectedRows"
|
||||||
[nzLoading]="service.http.loading">发布并指派给司机</button>
|
[nzLoading]="service.http.loading">发布并指派给司机</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|||||||
@ -4,12 +4,13 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-12 10:52:50
|
* @Date : 2022-01-12 10:52:50
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-03-02 14:27:20
|
* @LastEditTime : 2022-04-28 17:36:31
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\choose-famifiar\\choose-famifiar.component.html
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\choose-famifiar\\choose-famifiar.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<!-- <button nz-button nzType="primary" style="margin-bottom: 24px" (click)="add()"><i nz-icon nzType="plus"></i>添加司机</button> -->
|
<!-- <button nz-button nzType="primary" style="margin-bottom: 24px" (click)="add()"><i nz-icon nzType="plus"></i>添加司机</button> -->
|
||||||
<!-- 搜索区 -->
|
<!-- 搜索区 -->
|
||||||
|
<nz-spin [nzSpinning]="service.http.loading">
|
||||||
<div nz-row nzGutter="8">
|
<div nz-row nzGutter="8">
|
||||||
<div nz-col [nzSpan]="18">
|
<div nz-col [nzSpan]="18">
|
||||||
<sf #sf [ui]="ui" [schema]="schema" [button]="'none'"></sf>
|
<sf #sf [ui]="ui" [schema]="schema" [button]="'none'"></sf>
|
||||||
@ -19,6 +20,7 @@
|
|||||||
<button nz-button (click)="resetSF()">重置</button>
|
<button nz-button (click)="resetSF()">重置</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div nz-row nzGutter="8">
|
<div nz-row nzGutter="8">
|
||||||
<div nz-col [nzSpan]="12">
|
<div nz-col [nzSpan]="12">
|
||||||
<!-- 数据列表 -->
|
<!-- 数据列表 -->
|
||||||
@ -55,6 +57,8 @@
|
|||||||
</st>
|
</st>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</nz-spin>
|
||||||
|
|
||||||
<div *nzModalFooter>
|
<div *nzModalFooter>
|
||||||
<button nz-button nzType="default" (click)="cancel()">取消</button>
|
<button nz-button nzType="default" (click)="cancel()">取消</button>
|
||||||
<button nz-button nzType="primary" (click)="ok()">发布并指派给司机</button>
|
<button nz-button nzType="primary" (click)="ok()">发布并指派给司机</button>
|
||||||
|
|||||||
@ -25,8 +25,10 @@
|
|||||||
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
||||||
</div>
|
</div>
|
||||||
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.expend-options]="_$expand" class="text-right">
|
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.expend-options]="_$expand" class="text-right">
|
||||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
|
<button nz-button nzType="primary" acl [acl-ability]="['SYSTEM-ANNOUNCEMENT-list']"
|
||||||
<button nz-button [disabled]="false" nzType="primary">导出</button>
|
[nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
|
||||||
|
<button nz-button [disabled]="false" nzType="primary" acl
|
||||||
|
[acl-ability]="['SYSTEM-ANNOUNCEMENT-export']">导出</button>
|
||||||
<button nz-button [disabled]="false" (click)="resetSF()">重置</button>
|
<button nz-button [disabled]="false" (click)="resetSF()">重置</button>
|
||||||
<button nz-button nzType="link" (click)="expandToggle()">
|
<button nz-button nzType="link" (click)="expandToggle()">
|
||||||
{{ !_$expand ? '展开' : '收起' }}
|
{{ !_$expand ? '展开' : '收起' }}
|
||||||
@ -40,7 +42,8 @@
|
|||||||
<nz-card class="content-box">
|
<nz-card class="content-box">
|
||||||
<div class="d-flex justify-content-end mb-sm mt-sm">
|
<div class="d-flex justify-content-end mb-sm mt-sm">
|
||||||
<div>
|
<div>
|
||||||
<button nz-button nzType="primary" (click)="roleAction('', 1)">新增公告</button>
|
<button nz-button nzType="primary" (click)="roleAction('', 1)" acl
|
||||||
|
[acl-ability]="['SYSTEM-ANNOUNCEMENT-add']">新增公告</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<st #st [data]="service.$api_getAnnouncementInfoList_page" [columns]="columns" [req]="{ params: reqParams }"
|
<st #st [data]="service.$api_getAnnouncementInfoList_page" [columns]="columns" [req]="{ params: reqParams }"
|
||||||
|
|||||||
@ -39,10 +39,12 @@ export class AnnouncementMessageComponent implements OnInit {
|
|||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
text: '编辑',
|
text: '编辑',
|
||||||
|
acl: { ability: ['SYSTEM-ANNOUNCEMENT-edit'] },
|
||||||
click: item => this.roleAction(item, 2)
|
click: item => this.roleAction(item, 2)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: '删除',
|
text: '删除',
|
||||||
|
acl: { ability: ['SYSTEM-ANNOUNCEMENT-delete'] },
|
||||||
click: item => this.deleteAction(item)
|
click: item => this.deleteAction(item)
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|||||||
@ -54,7 +54,7 @@ const routes: Routes = [
|
|||||||
{ path: 'network-freight/new/:id', component: NetworkFreightNewComponent },
|
{ path: 'network-freight/new/:id', component: NetworkFreightNewComponent },
|
||||||
{ path: 'close-account', component: CloseAccountComponent },
|
{ path: 'close-account', component: CloseAccountComponent },
|
||||||
// { path: 'btn-management', component: BtnManagementComponent },
|
// { path: 'btn-management', component: BtnManagementComponent },
|
||||||
{ path: 'announcement-message', component: AnnouncementMessageComponent },
|
{ path: 'announcement-message', component: AnnouncementMessageComponent, data: { guard: { ability: ['SYSTEM-ANNOUNCEMENT-list'] } } },
|
||||||
{ path: 'insurance-set', component: InsuranceSetComponent },
|
{ path: 'insurance-set', component: InsuranceSetComponent },
|
||||||
{ path: 'sms-template', component: SmsTemplateComponent, data: { guard: { ability: ['SMS_TEMPLATE-search'] } } }
|
{ path: 'sms-template', component: SmsTemplateComponent, data: { guard: { ability: ['SMS_TEMPLATE-search'] } } }
|
||||||
];
|
];
|
||||||
|
|||||||
@ -16,16 +16,18 @@ import { TaxManagementIndividualIncomeComponent } from './components/individual-
|
|||||||
import { TaxManagementInvoiceReportingComponent } from './components/invoice-reporting/invoice-reporting.component';
|
import { TaxManagementInvoiceReportingComponent } from './components/invoice-reporting/invoice-reporting.component';
|
||||||
import { TaxManagementOrderReportingComponent } from './components/order-reporting/order-reporting.component';
|
import { TaxManagementOrderReportingComponent } from './components/order-reporting/order-reporting.component';
|
||||||
|
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{ path: 'orderReport', component: TaxManagementOrderReportingComponent },
|
{ path: 'orderReport', component: TaxManagementOrderReportingComponent, data: { guard: { ability: ['TAX-ORDERREPORT-search'] } } },
|
||||||
{ path: 'income', component: TaxManagementIndividualIncomeComponent },
|
{ path: 'income', component: TaxManagementIndividualIncomeComponent, data: { guard: { ability: ['TAX-INCOME-search'] } } },
|
||||||
{ path: 'collect', component: TaxManagementIndividualCollectComponent },
|
{ path: 'collect', component: TaxManagementIndividualCollectComponent, data: { guard: { ability: ['TAX-COLLECT-search'] } } },
|
||||||
{ path: 'declare', component: TaxManagementIndividualDeclareComponent },
|
{ path: 'declare', component: TaxManagementIndividualDeclareComponent, data: { guard: { ability: ['TAX-DECLARE-search'] } } },
|
||||||
{ path: 'invoiceReport', component: TaxManagementInvoiceReportingComponent },
|
{
|
||||||
|
path: 'invoiceReport',
|
||||||
|
component: TaxManagementInvoiceReportingComponent,
|
||||||
|
data: { guard: { ability: ['TAX_INVOICE_REPORT-list'] } }
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [RouterModule.forChild(routes)],
|
imports: [RouterModule.forChild(routes)],
|
||||||
exports: [RouterModule]
|
exports: [RouterModule]
|
||||||
|
|||||||
@ -71,7 +71,7 @@ const routes: Routes = [
|
|||||||
{
|
{
|
||||||
path: 'driver/config',
|
path: 'driver/config',
|
||||||
component: UserCenterComponentsDriverConfigComponent,
|
component: UserCenterComponentsDriverConfigComponent,
|
||||||
data: { guard: { ability: ['USERCENTER-DRIVER-CAPTAIN-list'] } }
|
data: { guard: { ability: ['USERCENTER-DRIVER-CONFIG-search'] } }
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@ -16,17 +16,10 @@
|
|||||||
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
||||||
</div>
|
</div>
|
||||||
<div nz-col [nzSpan]="_$expand ? 24 : 6" class="text-right">
|
<div nz-col [nzSpan]="_$expand ? 24 : 6" class="text-right">
|
||||||
<button
|
<button nz-button nzType="primary" acl [acl-ability]="['VEHICLE-LIST-search']" [nzLoading]="service.http.loading"
|
||||||
nz-button
|
(click)="st?.load(1)">查询</button>
|
||||||
nzType="primary"
|
<button nz-button nzType="primary" [disabled]="false" (click)="exportFire()" acl
|
||||||
acl
|
[acl-ability]="'VEHICLE-LIST-export'">导出</button>
|
||||||
[acl-ability]="['VEHICLE-LIST-search']"
|
|
||||||
[nzLoading]="service.http.loading"
|
|
||||||
(click)="st?.load(1)"
|
|
||||||
>查询</button>
|
|
||||||
<button nz-button nzType="primary" [disabled]="false" (click)="exportFire()" acl [acl-ability]="'VEHICLE-LIST-export'"
|
|
||||||
>导出</button
|
|
||||||
>
|
|
||||||
<button nz-button [disabled]="false" (click)="resetSF()">重置</button>
|
<button nz-button [disabled]="false" (click)="resetSF()">重置</button>
|
||||||
<button nz-button nzType="link" (click)="expandToggle()">
|
<button nz-button nzType="link" (click)="expandToggle()">
|
||||||
{{ !_$expand ? '展开' : '收起' }}
|
{{ !_$expand ? '展开' : '收起' }}
|
||||||
@ -38,23 +31,14 @@
|
|||||||
<nz-card>
|
<nz-card>
|
||||||
<!-- 数据列表 -->
|
<!-- 数据列表 -->
|
||||||
|
|
||||||
<st
|
<st #st [bordered]="true" [scroll]="{ x: '1200px' }" [columns]="columns" [data]="service.$api_get_operate_list"
|
||||||
#st
|
|
||||||
[bordered]="true"
|
|
||||||
[scroll]="{ x: '1200px' }"
|
|
||||||
[columns]="columns"
|
|
||||||
[data]="service.$api_get_operate_list"
|
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' }, process: dataProcess }"
|
[res]="{ reName: { list: 'data.records', total: 'data.total' }, process: dataProcess }"
|
||||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }" [loading]="false">
|
||||||
[loading]="false"
|
|
||||||
>
|
|
||||||
<ng-template st-row="carLength" let-item let-index="index">
|
<ng-template st-row="carLength" let-item let-index="index">
|
||||||
<div
|
<div>{{ item?.carModelLabel }}-{{ item?.carLengthLabel ? item?.carLengthLabel + '米' : '' }}-{{
|
||||||
>{{ item?.carModelLabel }}-{{ item?.carLengthLabel ? item?.carLengthLabel + '米' : '' }}-{{
|
|
||||||
item?.carLoad ? item?.carLoad + '吨' : ''
|
item?.carLoad ? item?.carLoad + '吨' : ''
|
||||||
}}</div
|
}}</div>
|
||||||
>
|
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template st-row="isSelf" let-item let-index="index">
|
<ng-template st-row="isSelf" let-item let-index="index">
|
||||||
<div>
|
<div>
|
||||||
@ -68,13 +52,19 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template st-row="approvalAuditStatus" let-item let-index="index">
|
<ng-template st-row="approvalAuditStatus" let-item let-index="index">
|
||||||
<div>
|
<div>
|
||||||
<span *ngIf="item?.approvalAuditStatus === -1 || (item?.approvalAuditStatus === '-1' && item?.isSelf)">未上传</span>
|
<span
|
||||||
|
*ngIf="item?.approvalAuditStatus === -1 || (item?.approvalAuditStatus === '-1' && item?.isSelf)">未上传</span>
|
||||||
<span *ngIf="item?.approvalAuditStatus === 0 || (item?.approvalAuditStatus === '0' && item?.isSelf)">草稿</span>
|
<span *ngIf="item?.approvalAuditStatus === 0 || (item?.approvalAuditStatus === '0' && item?.isSelf)">草稿</span>
|
||||||
<span *ngIf="item?.approvalAuditStatus === 10 || (item?.approvalAuditStatus === '10' && item?.isSelf)">待审核</span>
|
<span
|
||||||
<span *ngIf="item?.approvalAuditStatus === 15 || (item?.approvalAuditStatus === '15' && item?.isSelf)">已撤销</span>
|
*ngIf="item?.approvalAuditStatus === 10 || (item?.approvalAuditStatus === '10' && item?.isSelf)">待审核</span>
|
||||||
<span *ngIf="item?.approvalAuditStatus === 20 || (item?.approvalAuditStatus === '20' && item?.isSelf)">已审核</span>
|
<span
|
||||||
<span *ngIf="item?.approvalAuditStatus === 30 || (item?.approvalAuditStatus === '30' && item?.isSelf)">已驳回</span>
|
*ngIf="item?.approvalAuditStatus === 15 || (item?.approvalAuditStatus === '15' && item?.isSelf)">已撤销</span>
|
||||||
<span *ngIf="item?.approvalAuditStatus === 40 || (item?.approvalAuditStatus === '40' && item?.isSelf)">证件过期</span>
|
<span
|
||||||
|
*ngIf="item?.approvalAuditStatus === 20 || (item?.approvalAuditStatus === '20' && item?.isSelf)">已审核</span>
|
||||||
|
<span
|
||||||
|
*ngIf="item?.approvalAuditStatus === 30 || (item?.approvalAuditStatus === '30' && item?.isSelf)">已驳回</span>
|
||||||
|
<span
|
||||||
|
*ngIf="item?.approvalAuditStatus === 40 || (item?.approvalAuditStatus === '40' && item?.isSelf)">证件过期</span>
|
||||||
<span *ngIf="!item?.isSelf">-</span>
|
<span *ngIf="!item?.isSelf">-</span>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|||||||
@ -14,10 +14,14 @@ import { VehicleComponentsListDetailComponent } from './components/list/detail/d
|
|||||||
import { VehicleComponentsListComponent } from './components/list/list.component';
|
import { VehicleComponentsListComponent } from './components/list/list.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{ path: 'list', component: VehicleComponentsListComponent },
|
{ path: 'list', component: VehicleComponentsListComponent, data: { guard: { ability: ['VEHICLE-LIST-search'] } } },
|
||||||
{ path: 'list/detail/:id', component: VehicleComponentsListDetailComponent },
|
{ path: 'list/detail/:id', component: VehicleComponentsListDetailComponent, data: { guard: { ability: ['VEHICLE-LIST-DETAIL-list'] } } },
|
||||||
{ path: 'audit', component: VehicleComponentsAuditComponent },
|
{ path: 'audit', component: VehicleComponentsAuditComponent, data: { guard: { ability: ['VEHICLE-AUDIT-search'] } } },
|
||||||
{ path: 'audit/detail/:id', component: VehicleComponentsAuditDetailComponent }
|
{
|
||||||
|
path: 'audit/detail/:id',
|
||||||
|
component: VehicleComponentsAuditDetailComponent,
|
||||||
|
data: { guard: { ability: ['VEHICLE-AUDIT-DETAIL-search'] } }
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
|||||||
Reference in New Issue
Block a user