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 c4e50bdc..0bd36347 100644
--- a/src/app/routes/order-management/components/complaint/complaint.component.ts
+++ b/src/app/routes/order-management/components/complaint/complaint.component.ts
@@ -23,24 +23,16 @@ export class OrderManagementComplaintComponent implements OnInit {
_$expand = false;
channelId: any;
resourceStatus: any;
+ selectedMainTabStatus = '1';
@ViewChild('st') private readonly st!: STComponent;
@ViewChild('sf', { static: false }) sf!: SFComponent;
@ViewChild('sfView', { static: false }) sfView!: SFComponent;
columns: STColumn[] = [];
- datass: any = [
- {
- one: '1',
- two: '1',
- three: '1',
- id: 1
- },
- {
- one: '2',
- two: '2',
- three: '2',
- id: 2
- },
-];
+ selectedIndex: number = 0;
+ mainTabs = [
+ { name: '投诉', status: '1' },
+ { name: '被投诉', status: '2' },
+ ]
tabs = [ {
name: '全部',
type: 0,
@@ -62,7 +54,11 @@ export class OrderManagementComplaintComponent implements OnInit {
public service: OrderManagementService,
private modal: NzModalService,
private router: Router
- ) { }
+ ) { if (this.selectedIndex === 0) {
+ this.selectedMainTabStatus = '1';
+ } else if (this.selectedIndex === 1) {
+ this.selectedMainTabStatus = '2';
+ }}
/**
* 查询参数
@@ -72,6 +68,9 @@ export class OrderManagementComplaintComponent implements OnInit {
if(this.resourceStatus) {
a.complaintStatus = this.resourceStatus
}
+ if(this.selectedMainTabStatus) {
+ a.complaintType = this.selectedMainTabStatus
+ }
const params: any = Object.assign({}, this.sf?.value || {});
delete params._$expand;
return {
@@ -155,7 +154,14 @@ export class OrderManagementComplaintComponent implements OnInit {
className: 'text-center',
width: '120px',
index: 'complaintStatusLabel'
- }, {
+ },
+ {
+ title: '处理人',
+ className: 'text-center',
+ width: '200px',
+ index:'handlePartyLabel'
+ },
+ {
title: '处理结果',
className: 'text-center',
width: '170px',
@@ -240,6 +246,19 @@ export class OrderManagementComplaintComponent implements OnInit {
this.st.load();
}, 500);
}
+ /**
+ * 切换投诉与被投诉tab
+ */
+ selectMainTab(e: any) {
+ console.log(this.selectedIndex);
+ this.selectedMainTabStatus = e?.status;
+ this.initST();
+ this.initSF();
+ setTimeout(() => {
+ this.st.load(1);
+ })
+ }
+
/**
* 导入货源
*/
diff --git a/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html b/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html
index 0b55fc05..75078c62 100644
--- a/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html
+++ b/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html
@@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2021-12-28 14:42:03
* @LastEditors : Shiming
- * @LastEditTime : 2022-03-09 13:38:21
+ * @LastEditTime : 2022-03-09 10:33:44
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
@@ -48,8 +48,8 @@
{{ i?.goodsResource?.dispatchName }}/{{ i?.goodsResource?.dispatchPhone }}
{{ i?.externalBillCode }}
{{ i?.resourceCode }}
- {{ i?.wayBillCode }}
- {{ i?.paymentDays }}
+ {{ i?.wayBillId }}
+ {{ i?.goodsResource?.dispatchName }}
@@ -203,7 +203,7 @@
diff --git a/src/app/routes/supply-management/components/bulk-detail/bulk-detail.component.html b/src/app/routes/supply-management/components/bulk-detail/bulk-detail.component.html
index e28c5d69..ac00d884 100644
--- a/src/app/routes/supply-management/components/bulk-detail/bulk-detail.component.html
+++ b/src/app/routes/supply-management/components/bulk-detail/bulk-detail.component.html
@@ -155,19 +155,19 @@