-
+
-
+
diff --git a/src/app/routes/contract-management/components/contract-template/contract-template.component.ts b/src/app/routes/contract-management/components/contract-template/contract-template.component.ts
index e1a34797..3a28c9f8 100644
--- a/src/app/routes/contract-management/components/contract-template/contract-template.component.ts
+++ b/src/app/routes/contract-management/components/contract-template/contract-template.component.ts
@@ -125,10 +125,12 @@ export class ContractManagementTemplateComponent implements OnInit {
{
text: '编辑',
click: (_record) => this.edit(_record),
+ acl: { ability: ['CONTRACT-TEMPLATE-edit'] },
},
{
text: '删除',
click: (_record) => this.delete(_record),
+ acl: { ability: ['CONTRACT-TEMPLATE-delete'] },
},
],
},
diff --git a/src/app/routes/contract-management/components/policy/policy.component.html b/src/app/routes/contract-management/components/policy/policy.component.html
index 266fd620..d54bd837 100644
--- a/src/app/routes/contract-management/components/policy/policy.component.html
+++ b/src/app/routes/contract-management/components/policy/policy.component.html
@@ -1,3 +1,13 @@
+
@@ -24,7 +34,7 @@
-
+
-
-
+
+
查询
+ (click)="st?.load(1)" acl [acl-ability]="['ORDER-COMPLAINT-search']">查询
导出
重置
diff --git a/src/app/routes/order-management/components/complaint/complaint.component.ts b/src/app/routes/order-management/components/complaint/complaint.component.ts
index edf11ab5..7f743dd1 100644
--- a/src/app/routes/order-management/components/complaint/complaint.component.ts
+++ b/src/app/routes/order-management/components/complaint/complaint.component.ts
@@ -187,6 +187,7 @@ export class OrderManagementComplaintComponent implements OnInit {
{
text: '查看',
click: (_record) => this.view(_record),
+ acl: { ability: ['ORDER-COMPLAINT-view'] },
},
],
},
diff --git a/src/app/routes/order-management/components/compliance-audit/compliance-audit.component.html b/src/app/routes/order-management/components/compliance-audit/compliance-audit.component.html
index d958b017..4430599b 100644
--- a/src/app/routes/order-management/components/compliance-audit/compliance-audit.component.html
+++ b/src/app/routes/order-management/components/compliance-audit/compliance-audit.component.html
@@ -4,19 +4,26 @@
* @Author : Shiming
* @Date : 2022-01-12 10:52:50
* @LastEditors : Shiming
- * @LastEditTime : 2022-01-25 14:02:24
+ * @LastEditTime : 2022-02-23 15:36:48
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\compliance-audit\\compliance-audit.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
-
-
+
-
查询
-
导出
+
查询
+
导出
重置
{{ !_$expand ? '展开' : '收起' }}
@@ -40,84 +55,82 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
- {{ item.freightPrice | currency}}
-
-
- 装 | {{item?.loadingTime}}
- 卸 | {{item?.unloadingTime}}
-
-
-
- {{item?.driverName}}/{{item?.driverPhone}}/{{item?.carNo}}
-
+
+ {{ item.freightPrice | currency }}
+
+
+ 装 | {{ item?.loadingTime }}
+ 卸 | {{ item?.unloadingTime }}
+
+
+ {{ item?.driverName }}/{{ item?.driverPhone }}/{{ item?.carNo }}
-
- {{item?.payeeName}}/{{item?.payeePhone}}
-
+ {{ item?.payeeName }}/{{ item?.payeePhone }}
+
+
+ {{ item.billCode }}
+
+ {{ item?.resourceTypeLabel }}{{ item?.serviceTypeLabel }}
+
+
+ {{ item?.billStatusLabel }}
+
+
+
+ {{ item?.goodsName }}
+
+ {{ item?.weight ? item?.weight + '吨/' : '' }}
+ {{ item?.volume ? item?.volume + '方/' : '' }}
+ {{ item?.goodsNumber ? item?.goodsNumber + '吨' : '' }}
+
+
+
+ 0">
+
+ {{ data.expenseName }}:{{ data.price | currency }}
+ {{ data.paymentStatusLabel }}
+
+
-
- {{item.billCode}}
-
- {{item?.resourceTypeLabel}}{{item?.serviceTypeLabel}}
-
-
- {{item?.billStatusLabel}}
-
-
-
- {{item?.goodsName}}
-
- {{item?.weight ? item?.weight + '吨/' : '' }}
- {{item?.volume ? item?.volume + '方/' : '' }}
- {{item?.goodsNumber ? item?.goodsNumber + '吨' : '' }}
-
-
-
- 0">
-
- {{ data.expenseName }}:{{ data.price | currency }}
- {{ data.paymentStatusLabel }}
-
-
-
-
-批量抽查
-
+ 批量抽查
-
-
+
-
-
+
不合格
@@ -125,23 +138,22 @@
-
+
-
- {{ index + 1 }}
-
-
+ #stFloat
+ multiSort
+ size="small"
+ [bordered]="true"
+ [data]="service.$api_get_listChangeApply"
+ [columns]="columnsFloat"
+ [req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: changeParams }"
+ [res]="{ reName: { list: 'data', total: 'data.total' } }"
+ >
+
+ {{ index + 1 }}
+
+
取消
@@ -149,33 +161,35 @@
-
+
-
- {{ item.amountBeforeChange | currency}}
-
-
- ¥{{ item.amountchangeValue | number: '0.2-2'}}
-
-
- {{ item.amountAfterChange | currency}}
-
-
- 变更原因:{{ViewCause?.changeCause}}
- 拒绝原因:{{ViewCause?.refuseCause}}
- 注:附加费依据调整后的运输费用重新计算
+ #stFloatView
+ size="small"
+ [bordered]="true"
+ [data]="service.$api_getChangeRecordWholeDetail"
+ [columns]="columnsFloatView"
+ [req]="{ method: 'POST', allInBody: true, params: changeViewParams }"
+ [res]="{ reName: { list: 'data.list', total: 'data.total' } }"
+ >
+
+ {{ item.amountBeforeChange | currency }}
+
+ ¥{{ item.amountchangeValue | number: '0.2-2' }}
+
+ {{ item.amountAfterChange | currency }}
+
+
+ 变更原因:{{ ViewCause?.changeCause }}
+ 拒绝原因:{{ ViewCause?.refuseCause }}
+ 注:附加费依据调整后的运输费用重新计算
取消
确定
-
\ No newline at end of file
+
diff --git a/src/app/routes/order-management/components/compliance-audit/compliance-audit.component.ts b/src/app/routes/order-management/components/compliance-audit/compliance-audit.component.ts
index df351650..d6e0fa51 100644
--- a/src/app/routes/order-management/components/compliance-audit/compliance-audit.component.ts
+++ b/src/app/routes/order-management/components/compliance-audit/compliance-audit.component.ts
@@ -398,12 +398,14 @@ export class OrderManagementComplianceAuditComponent implements OnInit {
{
text: '运费变更记录',
click: _record => this.OpenPrice(_record),
- // iif: item => item.billStatus == '4'
+ // iif: item => item.billStatus == '4',
+ acl: { ability: ['ORDER-COMPLIANCE-AUDIT-listChangeApply'] },
},
{
text: '合规抽查 ',
click: _record => this.audit(_record),
- iif: item => item.complianceStatus == '0'
+ iif: item => item.complianceStatus == '0',
+ acl: { ability: ['ORDER-COMPLIANCE-AUDIT-updateBillByCompliance'] },
},
]
}
diff --git a/src/app/routes/order-management/modal/vehicle/modify-rate/modify-rate.component.ts b/src/app/routes/order-management/modal/vehicle/modify-rate/modify-rate.component.ts
index 3b8c81a2..87a1a092 100644
--- a/src/app/routes/order-management/modal/vehicle/modify-rate/modify-rate.component.ts
+++ b/src/app/routes/order-management/modal/vehicle/modify-rate/modify-rate.component.ts
@@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2021-12-29 14:51:07
* @LastEditors : Shiming
- * @LastEditTime : 2022-01-18 17:23:46
+ * @LastEditTime : 2022-02-23 16:19:27
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\modify-rate\\modify-rate.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@@ -42,6 +42,8 @@ export class VehicleModifyRateComponent implements OnInit {
additionalRate: {
type: 'number',
title: '附加费率',
+ maximum: 100,
+ minimum: 0,
ui: {
unit: '%',
widgetWidth: 200,
diff --git a/src/app/routes/partner/business-statistics/components/index/index.component.html b/src/app/routes/partner/business-statistics/components/index/index.component.html
new file mode 100644
index 00000000..482ccb06
--- /dev/null
+++ b/src/app/routes/partner/business-statistics/components/index/index.component.html
@@ -0,0 +1,9 @@
+
+
+ 新建
+
+
+
+
+
+
diff --git a/src/app/routes/partner/business-statistics/components/index/index.component.spec.ts b/src/app/routes/partner/business-statistics/components/index/index.component.spec.ts
new file mode 100644
index 00000000..d2ca3b79
--- /dev/null
+++ b/src/app/routes/partner/business-statistics/components/index/index.component.spec.ts
@@ -0,0 +1,24 @@
+import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
+import { PartnerBusinessStatisticsIndexComponent } from './index.component';
+
+describe('PartnerBusinessStatisticsIndexComponent', () => {
+ let component: PartnerBusinessStatisticsIndexComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(waitForAsync(() => {
+ TestBed.configureTestingModule({
+ declarations: [PartnerBusinessStatisticsIndexComponent]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(PartnerBusinessStatisticsIndexComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/routes/partner/business-statistics/components/index/index.component.ts b/src/app/routes/partner/business-statistics/components/index/index.component.ts
new file mode 100644
index 00000000..1b409e25
--- /dev/null
+++ b/src/app/routes/partner/business-statistics/components/index/index.component.ts
@@ -0,0 +1,45 @@
+import { Component, OnInit, ViewChild } from '@angular/core';
+import { STColumn, STComponent } from '@delon/abc/st';
+import { SFSchema } from '@delon/form';
+import { ModalHelper, _HttpClient } from '@delon/theme';
+
+@Component({
+ selector: 'app-partner-business-statistics-index',
+ templateUrl: './index.component.html',
+})
+export class PartnerBusinessStatisticsIndexComponent implements OnInit {
+ url = `/user`;
+ searchSchema: SFSchema = {
+ properties: {
+ no: {
+ type: 'string',
+ title: '编号'
+ }
+ }
+ };
+ @ViewChild('st') private readonly st!: STComponent;
+ columns: STColumn[] = [
+ { title: '编号', index: 'no' },
+ { title: '调用次数', type: 'number', index: 'callNo' },
+ { title: '头像', type: 'img', width: '50px', index: 'avatar' },
+ { title: '时间', type: 'date', index: 'updatedAt' },
+ {
+ title: '',
+ buttons: [
+ // { text: '查看', click: (item: any) => `/form/${item.id}` },
+ // { text: '编辑', type: 'static', component: FormEditComponent, click: 'reload' },
+ ]
+ }
+ ];
+
+ constructor(private http: _HttpClient, private modal: ModalHelper) { }
+
+ ngOnInit(): void { }
+
+ add(): void {
+ // this.modal
+ // .createStatic(FormEditComponent, { i: { id: 0 } })
+ // .subscribe(() => this.st.reload());
+ }
+
+}
diff --git a/src/app/routes/partner/partner-routing.module.ts b/src/app/routes/partner/partner-routing.module.ts
new file mode 100644
index 00000000..9b76c2c4
--- /dev/null
+++ b/src/app/routes/partner/partner-routing.module.ts
@@ -0,0 +1,12 @@
+import { NgModule } from '@angular/core';
+import { RouterModule, Routes } from '@angular/router';
+import { PartnerBusinessStatisticsIndexComponent } from './business-statistics/components/index/index.component';
+
+const routes: Routes = [
+ { path: 'index', component: PartnerBusinessStatisticsIndexComponent }];
+
+@NgModule({
+ imports: [RouterModule.forChild(routes)],
+ exports: [RouterModule]
+})
+export class PartnerRoutingModule { }
diff --git a/src/app/routes/partner/partner.module.ts b/src/app/routes/partner/partner.module.ts
new file mode 100644
index 00000000..c1198f85
--- /dev/null
+++ b/src/app/routes/partner/partner.module.ts
@@ -0,0 +1,13 @@
+import { NgModule } from '@angular/core';
+import { CommonModule } from '@angular/common';
+import { SharedModule } from '@shared';
+import { PartnerRoutingModule } from './partner-routing.module';
+import { PartnerBusinessStatisticsIndexComponent } from './business-statistics/components/index/index.component';
+
+const COMPONENTS: any[] = [
+ PartnerBusinessStatisticsIndexComponent];
+@NgModule({
+ declarations: [...COMPONENTS],
+ imports: [CommonModule, PartnerRoutingModule, SharedModule]
+})
+export class PartnerModule { }
diff --git a/src/app/routes/routes-routing.module.ts b/src/app/routes/routes-routing.module.ts
index 2585caa1..dc6d02c9 100644
--- a/src/app/routes/routes-routing.module.ts
+++ b/src/app/routes/routes-routing.module.ts
@@ -67,6 +67,7 @@ const routes: Routes = [
loadChildren: () => import('./contract-management/contract-management.module').then(m => m.ContractManagementManagementModule)
},
{ path: 'menu-management', loadChildren: () => import('./menu-manager/menu-manager.module').then(m => m.MenuManagerModule) },
+ { path: 'partner', loadChildren: () => import('./partner/partner.module').then(m => m.PartnerModule) },
{
path: 'download',
loadChildren: () => import('./download/download.module').then(m => m.DownloadModule)
diff --git a/src/app/routes/vehicle/components/list/list.component.html b/src/app/routes/vehicle/components/list/list.component.html
index 7e3b450d..be3fb947 100644
--- a/src/app/routes/vehicle/components/list/list.component.html
+++ b/src/app/routes/vehicle/components/list/list.component.html
@@ -24,7 +24,7 @@
[nzLoading]="service.http.loading"
(click)="st?.load(1)"
>查询
- 导出
重置
diff --git a/src/app/routes/waybill-management/components/abnormal-appear/abnormal-appear.component.html b/src/app/routes/waybill-management/components/abnormal-appear/abnormal-appear.component.html
index 2bb0d079..b17e0699 100644
--- a/src/app/routes/waybill-management/components/abnormal-appear/abnormal-appear.component.html
+++ b/src/app/routes/waybill-management/components/abnormal-appear/abnormal-appear.component.html
@@ -1,7 +1,7 @@