diff --git a/src/app/routes/usercenter/components/freight/list/showService/showService.component.html b/src/app/routes/usercenter/components/freight/list/showService/showService.component.html
index 83ae084c..2c4deeca 100644
--- a/src/app/routes/usercenter/components/freight/list/showService/showService.component.html
+++ b/src/app/routes/usercenter/components/freight/list/showService/showService.component.html
@@ -1,16 +1,14 @@
-
客服人员
+
* 客服人员
-
-
-
-
+
+
\ No newline at end of file
diff --git a/src/app/routes/usercenter/components/freight/list/showService/showservice.component.ts b/src/app/routes/usercenter/components/freight/list/showService/showservice.component.ts
index f3e0ad5c..d0e4b01e 100644
--- a/src/app/routes/usercenter/components/freight/list/showService/showservice.component.ts
+++ b/src/app/routes/usercenter/components/freight/list/showService/showservice.component.ts
@@ -16,46 +16,38 @@ import { UsermanageService } from 'src/app/routes/usercenter/services/usercenter
})
export class ShowServiceComponent implements OnInit {
@ViewChild('sf', { static: false }) sf!: SFComponent;
+ appUserId = ''
record: any = {};
i: any;
-
+ serviceList: any = [];
constructor(
private modal: NzModalRef,
public service: UsermanageService,
- private envSrv: EAEnvironmentService,
- private eaCacheSrv: EACacheService,
) { }
ngOnInit(): void {
-
+ this.initData()
}
close(): void {
this.modal.close(true)
}
-
+initData(){
+ this.service.request(this.service.$api_getStaffList).subscribe(res => {
+ this.serviceList = res
+ })
+}
submitForm(){
- // const params:any = {
- // appUserId: this.i.appUserId,
- // ...this.sf.value,
- // bindType: this.i.bindType
- // };
- // params.carFrontPhoto = this.detailData.carFrontPhoto
- // params.carProtocal = this.detailData.carProtocal
- // params.certificatePhotoFront = this.detailData.certificatePhotoFront
- // params.certificatePhotoBack = this.detailData.certificatePhotoBack
- // params.roadTransportPhoto = this.detailData.roadTransportPhoto
- // delete params.titleA
- // delete params.titleB
- // this.checked = true
- // this.service.request(this.service.$api_updateAssistCertification, params).subscribe(res => {
- // this.checked = false
- // if(res){
- // this.service.msgSrv.success('添加成功')
- // this.modal.close(true)
- // }
- // })
+ const params:any = {
+ appUserId: this.appUserId,
+ };
+ this.service.request(this.service.$api_getStaffList, params).subscribe(res => {
+ if(res){
+ this.service.msgSrv.success('分配成功')
+ this.modal.close(true)
+ }
+ })
}
}
diff --git a/src/app/routes/usercenter/services/usercenter.service.ts b/src/app/routes/usercenter/services/usercenter.service.ts
index 07792f92..47557dbb 100644
--- a/src/app/routes/usercenter/services/usercenter.service.ts
+++ b/src/app/routes/usercenter/services/usercenter.service.ts
@@ -160,6 +160,8 @@ export class UsermanageService extends ShipperBaseService {
$api_findEnterpriceChannelRelLog = '/api/mdc/enterpriceRelLog/findEnterpriceChannelRelLog';
// 查询企业合伙人渠道关系信息
$api_getEnterpriceRel = '/api/mdc/enterpriceRelLog/getEnterpriceRel';
+ // 员工列表
+ $api_getStaffList = '/api/mdc/cuc/userApp/getStaffList';
constructor(public injector: Injector, public nzModalService: NzModalService, private nzImageService: NzImageService) {
super(injector);