Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
		@ -271,25 +271,9 @@
 | 
				
			|||||||
  <nz-divider></nz-divider>
 | 
					  <nz-divider></nz-divider>
 | 
				
			||||||
  <sv-container col="3" class="mt16">
 | 
					  <sv-container col="3" class="mt16">
 | 
				
			||||||
    <sv-title>服务评级</sv-title>
 | 
					    <sv-title>服务评级</sv-title>
 | 
				
			||||||
    <sv label="服务评级">
 | 
					    <sv [label]="item.evaluateType" *ngFor="let item of billEvaluateList">
 | 
				
			||||||
      <nz-rate [ngModel]="2" nzDisabled></nz-rate>
 | 
					      <nz-rate [ngModel]="item.evaluateFraction" nzDisabled></nz-rate>
 | 
				
			||||||
    </sv>
 | 
					    </sv>
 | 
				
			||||||
    <sv label="运输效率">
 | 
					 | 
				
			||||||
      <nz-rate [ngModel]="2" nzDisabled></nz-rate>
 | 
					 | 
				
			||||||
    </sv>
 | 
					 | 
				
			||||||
    <sv label="运输安全">
 | 
					 | 
				
			||||||
      <nz-rate [ngModel]="2" nzDisabled></nz-rate>
 | 
					 | 
				
			||||||
    </sv>
 | 
					 | 
				
			||||||
    <sv label="服务质量">
 | 
					 | 
				
			||||||
      <nz-rate [ngModel]="2" nzDisabled></nz-rate>
 | 
					 | 
				
			||||||
    </sv>
 | 
					 | 
				
			||||||
    <sv label="客户满意度">
 | 
					 | 
				
			||||||
      <nz-rate [ngModel]="2" nzDisabled></nz-rate>
 | 
					 | 
				
			||||||
    </sv>
 | 
					 | 
				
			||||||
    <sv label="车辆整洁程度">
 | 
					 | 
				
			||||||
      <nz-rate [ngModel]="2" nzDisabled></nz-rate>
 | 
					 | 
				
			||||||
    </sv>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  </sv-container>
 | 
					  </sv-container>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <sv-container col="3" class="mt16">
 | 
					  <sv-container col="3" class="mt16">
 | 
				
			||||||
@ -334,7 +318,7 @@
 | 
				
			|||||||
<ng-template #uploadTemplate let-data="data" let-status="status" let-key="key" let-key2="key2" let-hover="hover">
 | 
					<ng-template #uploadTemplate let-data="data" let-status="status" let-key="key" let-key2="key2" let-hover="hover">
 | 
				
			||||||
  <nz-upload class="avatar-uploader" [nzAction]="uploadURl" nzName="multipartFile" nzListType="picture-card"
 | 
					  <nz-upload class="avatar-uploader" [nzAction]="uploadURl" nzName="multipartFile" nzListType="picture-card"
 | 
				
			||||||
    [nzShowUploadList]="false" nzFileType="image/png,image/jpeg,image/jpg,image/gif"
 | 
					    [nzShowUploadList]="false" nzFileType="image/png,image/jpeg,image/jpg,image/gif"
 | 
				
			||||||
    [nzDisabled]="!status || disabledUpload" (nzChange)="changeUpload($event,data,key,key2)">
 | 
					    [nzDisabled]="!status || disabledUpload" (nzChange)="changeUpload($event,data,key,key2,hover)">
 | 
				
			||||||
    <ng-container *ngIf="!data[key] && status">
 | 
					    <ng-container *ngIf="!data[key] && status">
 | 
				
			||||||
      <i class="upload-icon" nz-icon [nzType]="service.http.loading ? 'loading' : 'plus'"></i>
 | 
					      <i class="upload-icon" nz-icon [nzType]="service.http.loading ? 'loading' : 'plus'"></i>
 | 
				
			||||||
      <div class="ant-upload-text">上传</div>
 | 
					      <div class="ant-upload-text">上传</div>
 | 
				
			||||||
 | 
				
			|||||||
@ -53,6 +53,7 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
 | 
				
			|||||||
  @ViewChild('rejectedDriverModal', { static: false })
 | 
					  @ViewChild('rejectedDriverModal', { static: false })
 | 
				
			||||||
  rejectedDriverModal!: any;
 | 
					  rejectedDriverModal!: any;
 | 
				
			||||||
  adressCodeList: any = [];
 | 
					  adressCodeList: any = [];
 | 
				
			||||||
 | 
					  billEvaluateList: any = [];
 | 
				
			||||||
  approvalOpinion = '';
 | 
					  approvalOpinion = '';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  isEditUser = false;
 | 
					  isEditUser = false;
 | 
				
			||||||
@ -125,6 +126,15 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
 | 
				
			|||||||
        this.carList = res;
 | 
					        this.carList = res;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					    // 获取评价信息
 | 
				
			||||||
 | 
					    this.service
 | 
				
			||||||
 | 
					      .request(this.service.$api_get_driver_billEvaluate, { passiveUserId: this.route.snapshot.params.id }, 'POST', false)
 | 
				
			||||||
 | 
					      .subscribe(res => {
 | 
				
			||||||
 | 
					        if (res) {
 | 
				
			||||||
 | 
					          this.billEvaluateList = res;
 | 
				
			||||||
 | 
					          console.log(this.billEvaluateList);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      });
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /** 启用/冻结司机 */
 | 
					  /** 启用/冻结司机 */
 | 
				
			||||||
@ -409,10 +419,13 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
 | 
				
			|||||||
    });
 | 
					    });
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  changeUpload({ file, fileList, type }: any, data: any, key: string, key2: string) {
 | 
					  changeUpload({ file, fileList, type }: any, data: any, key: string, key2: string, id: string) {
 | 
				
			||||||
    if (type === 'success') {
 | 
					    if (type === 'success') {
 | 
				
			||||||
      data[key] = file.response.data?.fullFileWatermarkPath;
 | 
					      data[key] = file.response.data?.fullFileWatermarkPath;
 | 
				
			||||||
      data[key2] = file.response.data?.fullFilePath;
 | 
					      data[key2] = file.response.data?.fullFilePath;
 | 
				
			||||||
 | 
					      if (id === 'certificateBackFront' || id === 'certificateBack') {
 | 
				
			||||||
 | 
					        this.checkIdCard(file.response.data?.fullFilePath, id === 'certificateBackFront' ? 'front' : 'back', 0);
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -441,4 +454,28 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
 | 
				
			|||||||
  goBack() {
 | 
					  goBack() {
 | 
				
			||||||
    window.history.go(-1);
 | 
					    window.history.go(-1);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // 识别身份证 参数isFront:front-正面、back-背面;type:0-申请人身份证,1-法定代表人身份证
 | 
				
			||||||
 | 
					  checkIdCard(imgurl: any, isFront: string, type: number) {
 | 
				
			||||||
 | 
					    const params = {
 | 
				
			||||||
 | 
					      idCardUrl: imgurl,
 | 
				
			||||||
 | 
					      side: isFront
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					    this.service.request(this.service.$api_ocr_recognize_id_card, params).subscribe(res => {
 | 
				
			||||||
 | 
					      if (res) {
 | 
				
			||||||
 | 
					        // 企业管理员证件照
 | 
				
			||||||
 | 
					        if (type === 0) {
 | 
				
			||||||
 | 
					          if (isFront === 'front') {
 | 
				
			||||||
 | 
					            // 正面
 | 
				
			||||||
 | 
					            if (res.name) {
 | 
				
			||||||
 | 
					              this.userIdentityDetail.name = res.name;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            if (res.number) {
 | 
				
			||||||
 | 
					              this.userIdentityDetail.certificateNumber = res.number;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -29,7 +29,7 @@
 | 
				
			|||||||
              </div>
 | 
					              </div>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
            <div>
 | 
					            <div>
 | 
				
			||||||
              服务评级:<nz-rate [ngModel]="detailData?.serviceLevel" nzDisabled></nz-rate>
 | 
					              服务评级:<nz-rate [ngModel]="billEvaluate" nzDisabled></nz-rate>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
@ -188,7 +188,7 @@
 | 
				
			|||||||
        [nzPlaceHolder]="isEdit?'':'-'" [nzBorderless]="!isEdit" [nzSuffixIcon]="isEdit?'calendar':''"></nz-date-picker>
 | 
					        [nzPlaceHolder]="isEdit?'':'-'" [nzBorderless]="!isEdit" [nzSuffixIcon]="isEdit?'calendar':''"></nz-date-picker>
 | 
				
			||||||
    </sv>
 | 
					    </sv>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <sv label="营业期限" col="3">
 | 
					    <sv label="营业期限" col="1">
 | 
				
			||||||
      <nz-date-picker [(ngModel)]="detailData.operatingStartTime" [nzDisabled]="!isEdit" nzPlaceHolder=" "
 | 
					      <nz-date-picker [(ngModel)]="detailData.operatingStartTime" [nzDisabled]="!isEdit" nzPlaceHolder=" "
 | 
				
			||||||
        [nzBorderless]="!isEdit" [nzSuffixIcon]="isEdit?'calendar':''" style="width: 100px;" class="calendar">
 | 
					        [nzBorderless]="!isEdit" [nzSuffixIcon]="isEdit?'calendar':''" style="width: 100px;" class="calendar">
 | 
				
			||||||
      </nz-date-picker>
 | 
					      </nz-date-picker>
 | 
				
			||||||
@ -349,7 +349,7 @@
 | 
				
			|||||||
<ng-template #uploadTemplate let-data="data" let-status="status" let-key="key" let-key2="key2" let-hover="hover">
 | 
					<ng-template #uploadTemplate let-data="data" let-status="status" let-key="key" let-key2="key2" let-hover="hover">
 | 
				
			||||||
  <nz-upload class="avatar-uploader" [nzAction]="uploadURl" nzName="multipartFile" nzListType="picture-card"
 | 
					  <nz-upload class="avatar-uploader" [nzAction]="uploadURl" nzName="multipartFile" nzListType="picture-card"
 | 
				
			||||||
    [nzShowUploadList]="false" nzFileType="image/png,image/jpeg,image/jpg,image/gif"
 | 
					    [nzShowUploadList]="false" nzFileType="image/png,image/jpeg,image/jpg,image/gif"
 | 
				
			||||||
    [nzDisabled]="!isEdit || disabledUpload" (nzChange)="changeUpload($event,data,key,key2)">
 | 
					    [nzDisabled]="!isEdit || disabledUpload" (nzChange)="changeUpload($event,data,key,key2,hover)">
 | 
				
			||||||
    <ng-container *ngIf="!data[key] && isEdit">
 | 
					    <ng-container *ngIf="!data[key] && isEdit">
 | 
				
			||||||
      <i class="upload-icon" nz-icon [nzType]="service.http.loading ? 'loading' : 'plus'"></i>
 | 
					      <i class="upload-icon" nz-icon [nzType]="service.http.loading ? 'loading' : 'plus'"></i>
 | 
				
			||||||
      <div class="ant-upload-text">上传</div>
 | 
					      <div class="ant-upload-text">上传</div>
 | 
				
			||||||
 | 
				
			|||||||
@ -39,6 +39,8 @@ export class FreightComponentsListDetailComponent implements OnInit {
 | 
				
			|||||||
    1: '通过',
 | 
					    1: '通过',
 | 
				
			||||||
    2: '未认证'
 | 
					    2: '未认证'
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  billEvaluate = 0;
 | 
				
			||||||
  constructor(
 | 
					  constructor(
 | 
				
			||||||
    public service: UsermanageService,
 | 
					    public service: UsermanageService,
 | 
				
			||||||
    private route: ActivatedRoute,
 | 
					    private route: ActivatedRoute,
 | 
				
			||||||
@ -54,7 +56,6 @@ export class FreightComponentsListDetailComponent implements OnInit {
 | 
				
			|||||||
    this.service.getNetworkFreightForwarder().subscribe(res => {
 | 
					    this.service.getNetworkFreightForwarder().subscribe(res => {
 | 
				
			||||||
      if (res) {
 | 
					      if (res) {
 | 
				
			||||||
        this.ltdId = res;
 | 
					        this.ltdId = res;
 | 
				
			||||||
        console.log(this.ltdId);
 | 
					 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
@ -73,9 +74,20 @@ export class FreightComponentsListDetailComponent implements OnInit {
 | 
				
			|||||||
            Number(this.detailData.fullRegionVO?.cityCode),
 | 
					            Number(this.detailData.fullRegionVO?.cityCode),
 | 
				
			||||||
            Number(this.detailData.fullRegionVO?.areaCode)
 | 
					            Number(this.detailData.fullRegionVO?.areaCode)
 | 
				
			||||||
          ];
 | 
					          ];
 | 
				
			||||||
          console.log(this.enterpriseAddressCode);
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        console.log(res);
 | 
					      });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // 获取评价信息
 | 
				
			||||||
 | 
					    this.service
 | 
				
			||||||
 | 
					      .request(this.service.$api_get_driver_billEvaluate, { passiveUserId: this.route.snapshot.params.id }, 'POST', false)
 | 
				
			||||||
 | 
					      .subscribe(res => {
 | 
				
			||||||
 | 
					        if (res) {
 | 
				
			||||||
 | 
					          this.service.request(this.service.$api_get_freight_billEvaluate, res).subscribe(billEvaluate => {
 | 
				
			||||||
 | 
					            if (billEvaluate) {
 | 
				
			||||||
 | 
					              this.billEvaluate = billEvaluate.totalScore;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          });
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
      });
 | 
					      });
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -190,10 +202,19 @@ export class FreightComponentsListDetailComponent implements OnInit {
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  changeUpload({ file, fileList, type }: any, data: any, key: string, key2: string) {
 | 
					  changeUpload({ file, fileList, type }: any, data: any, key: string, key2: string, id: string) {
 | 
				
			||||||
    if (type === 'success') {
 | 
					    if (type === 'success') {
 | 
				
			||||||
      data[key] = file.response.data?.fullFileWatermarkPath;
 | 
					      data[key] = file.response.data?.fullFileWatermarkPath;
 | 
				
			||||||
      data[key2] = file.response.data?.fullFilePath;
 | 
					      data[key2] = file.response.data?.fullFilePath;
 | 
				
			||||||
 | 
					      if (id === 'legalFront' || id === 'legalBack') {
 | 
				
			||||||
 | 
					        this.checkIdCard(file.response.data?.fullFilePath, id === 'legalFront' ? 'front' : 'back', 1);
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					      if (id === 'certificateBackFront' || id === 'certificateBack') {
 | 
				
			||||||
 | 
					        this.checkIdCard(file.response.data?.fullFilePath, id === 'certificateBackFront' ? 'front' : 'back', 0);
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					      if (id === 'detailPhoto') {
 | 
				
			||||||
 | 
					        this.checkBusinessLicense(file.response.data?.fullFilePath);
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -267,4 +288,91 @@ export class FreightComponentsListDetailComponent implements OnInit {
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // 识别身份证 参数isFront:front-正面、back-背面;type:0-申请人身份证,1-法定代表人身份证
 | 
				
			||||||
 | 
					  checkIdCard(imgurl: any, isFront: string, type: number) {
 | 
				
			||||||
 | 
					    const params = {
 | 
				
			||||||
 | 
					      idCardUrl: imgurl,
 | 
				
			||||||
 | 
					      side: isFront
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					    this.service.request(this.service.$api_ocr_recognize_id_card, params).subscribe(res => {
 | 
				
			||||||
 | 
					      if (res) {
 | 
				
			||||||
 | 
					        if (type === 1) {
 | 
				
			||||||
 | 
					          // 法定代表人证件照
 | 
				
			||||||
 | 
					          if (isFront === 'front') {
 | 
				
			||||||
 | 
					            // 正面
 | 
				
			||||||
 | 
					            if (res.name) {
 | 
				
			||||||
 | 
					              this.detailData.legalPersonIdentityVO.name = res.name;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            if (res.number) {
 | 
				
			||||||
 | 
					              this.detailData.legalPersonIdentityVO.certificateNumber = res.number;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					          if (isFront === 'back') {
 | 
				
			||||||
 | 
					            // 背面
 | 
				
			||||||
 | 
					            if (res.validFrom) {
 | 
				
			||||||
 | 
					              this.detailData.legalPersonIdentityVO.validStartTime = res.validFrom;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            if (res.validTo) {
 | 
				
			||||||
 | 
					              this.detailData.legalPersonIdentityVO.validEndTime = res.validTo;
 | 
				
			||||||
 | 
					            } else {
 | 
				
			||||||
 | 
					              this.detailData.legalPersonIdentityVO.validEndTime = null;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        // 企业管理员证件照
 | 
				
			||||||
 | 
					        if (type === 0) {
 | 
				
			||||||
 | 
					          if (isFront === 'front') {
 | 
				
			||||||
 | 
					            // 正面
 | 
				
			||||||
 | 
					            if (res.name) {
 | 
				
			||||||
 | 
					              this.detailData.adminUserInfo.name = res.name;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            if (res.number) {
 | 
				
			||||||
 | 
					              this.detailData.adminUserInfo.certificateNumber = res.number;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // 识别营业执照
 | 
				
			||||||
 | 
					  checkBusinessLicense(imgurl: any) {
 | 
				
			||||||
 | 
					    this.service.request(this.service.$api_ocr_recognize_business_license, { businessLicenseUrl: imgurl }).subscribe(res => {
 | 
				
			||||||
 | 
					      if (res) {
 | 
				
			||||||
 | 
					        if (res.registrationNumber) {
 | 
				
			||||||
 | 
					          this.detailData.unifiedSocialCreditCode = res.registrationNumber;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        if (res.name) {
 | 
				
			||||||
 | 
					          this.detailData.enterpriseName = res.name;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        if (res.type) {
 | 
				
			||||||
 | 
					          this.detailData.enterpriseType = res.type;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        if (res.addressRegionCodes) {
 | 
				
			||||||
 | 
					          this.detailData.enterpriseAddressCode = res.addressRegionCodes;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        if (res.address) {
 | 
				
			||||||
 | 
					          this.detailData.enterpriseAddress = res.address;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        if (res.registeredCapital) {
 | 
				
			||||||
 | 
					          this.detailData.registrationCapital = res.registeredCapital;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        if (res.foundDate) {
 | 
				
			||||||
 | 
					          this.detailData.enterpriseRegistrationTime = res.foundDate;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        if (res.businessTermStartDate) {
 | 
				
			||||||
 | 
					          this.detailData.operatingStartTime = res.businessTermStartDate;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        if (res.businessTermEndDate) {
 | 
				
			||||||
 | 
					          this.detailData.operatingEndTime = res.businessTermEndDate;
 | 
				
			||||||
 | 
					        } else {
 | 
				
			||||||
 | 
					          this.detailData.operatingEndTime = null;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        if (res.businessScope) {
 | 
				
			||||||
 | 
					          this.detailData.businessScope = res.businessScope;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -18,43 +18,32 @@ import { ImageViewComponent } from 'src/app/shared/components/imagelist';
 | 
				
			|||||||
export class UsermanageService extends ShipperBaseService {
 | 
					export class UsermanageService extends ShipperBaseService {
 | 
				
			||||||
  // 查询企业列表
 | 
					  // 查询企业列表
 | 
				
			||||||
  $api_get_freight_list = '/api/mdc/cuc/enterpriseInfo/operate/list/page';
 | 
					  $api_get_freight_list = '/api/mdc/cuc/enterpriseInfo/operate/list/page';
 | 
				
			||||||
 | 
					 | 
				
			||||||
  // 导出企业列表
 | 
					  // 导出企业列表
 | 
				
			||||||
  $api_export_freight_list = '/api/mdc/cuc/enterpriseInfo/operate/export';
 | 
					  $api_export_freight_list = '/api/mdc/cuc/enterpriseInfo/operate/export';
 | 
				
			||||||
 | 
					 | 
				
			||||||
  // 查询企业详情
 | 
					  // 查询企业详情
 | 
				
			||||||
  $api_get_freight_detail = '/api/mdc/cuc/enterpriseInfo/operate/detail';
 | 
					  $api_get_freight_detail = '/api/mdc/cuc/enterpriseInfo/operate/detail';
 | 
				
			||||||
 | 
					 | 
				
			||||||
  // 查询车队长列表-运营后台
 | 
					  // 查询车队长列表-运营后台
 | 
				
			||||||
  $api_get_user_expand = '/api/mdc/userDriverExpand/list/page';
 | 
					  $api_get_user_expand = '/api/mdc/userDriverExpand/list/page';
 | 
				
			||||||
 | 
					 | 
				
			||||||
  // 添加企业业务员
 | 
					  // 添加企业业务员
 | 
				
			||||||
  $api_add_salesman = '/api/mdc/cuc/enterpriseInfo/operate/addSalesman';
 | 
					  $api_add_salesman = '/api/mdc/cuc/enterpriseInfo/operate/addSalesman';
 | 
				
			||||||
 | 
					 | 
				
			||||||
  // 添加货主,司机,车队长业务员
 | 
					  // 添加货主,司机,车队长业务员
 | 
				
			||||||
  $api_add_user_salesman = '/api/mdc/cuc/user/addPromoter';
 | 
					  $api_add_user_salesman = '/api/mdc/cuc/user/addPromoter';
 | 
				
			||||||
 | 
					 | 
				
			||||||
  // 冻结/启用企业业
 | 
					  // 冻结/启用企业业
 | 
				
			||||||
  $api_lock_freight = '/api/mdc/cuc/enterpriseInfo/operate/lock';
 | 
					  $api_lock_freight = '/api/mdc/cuc/enterpriseInfo/operate/lock';
 | 
				
			||||||
 | 
					 | 
				
			||||||
  // 企业审核
 | 
					  // 企业审核
 | 
				
			||||||
  $api_audit_freight = '/api/mdc/cuc/enterpriseInfo/operate/audit';
 | 
					  $api_audit_freight = '/api/mdc/cuc/enterpriseInfo/operate/audit';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // 货主员工列表(运营后台)
 | 
					  // 货主员工列表(运营后台)
 | 
				
			||||||
  $api_get_user_list = '/api/mdc/cuc/userApp/getShipperUserList';
 | 
					  $api_get_user_list = '/api/mdc/cuc/userApp/getShipperUserList';
 | 
				
			||||||
 | 
					 | 
				
			||||||
  // 冻结或恢复员工
 | 
					  // 冻结或恢复员工
 | 
				
			||||||
  $api_lock_staff = '/api/mdc/cuc/userApp/freezeOrResumeStaff';
 | 
					  $api_lock_staff = '/api/mdc/cuc/userApp/freezeOrResumeStaff';
 | 
				
			||||||
 | 
					 | 
				
			||||||
  // 冻结或恢复应用用户
 | 
					  // 冻结或恢复应用用户
 | 
				
			||||||
  $api_lock_app_user = '/api/mdc/cuc/userApp/freezeOrResume';
 | 
					  $api_lock_app_user = '/api/mdc/cuc/userApp/freezeOrResume';
 | 
				
			||||||
 | 
					 | 
				
			||||||
  // 冻结/启用用户
 | 
					  // 冻结/启用用户
 | 
				
			||||||
  $api_lock_user = '/api/mdc/cuc/enterpriseInfo/operate/lock';
 | 
					  $api_lock_user = '/api/mdc/cuc/enterpriseInfo/operate/lock';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // 查询司机列表
 | 
					  // 查询司机列表
 | 
				
			||||||
  $api_get_driver_list = '/api/mdc/cuc/driver/list/page';
 | 
					  $api_get_driver_list = '/api/mdc/cuc/driver/list/page';
 | 
				
			||||||
 | 
					 | 
				
			||||||
  // 根据应用用户id获取用户详情
 | 
					  // 根据应用用户id获取用户详情
 | 
				
			||||||
  $api_get_user_detail = '/api/mdc/cuc/user/getUserDetailByAppUserId';
 | 
					  $api_get_user_detail = '/api/mdc/cuc/user/getUserDetailByAppUserId';
 | 
				
			||||||
  // 根据应用用户ID获取身份信息表
 | 
					  // 根据应用用户ID获取身份信息表
 | 
				
			||||||
@ -68,6 +57,11 @@ export class UsermanageService extends ShipperBaseService {
 | 
				
			|||||||
  // 司机详情查看-获取用户关联的企业项目角色信息
 | 
					  // 司机详情查看-获取用户关联的企业项目角色信息
 | 
				
			||||||
  $api_get_driver_projects = '/api/mdc/cuc/user/getEnterpriceProjectInfo';
 | 
					  $api_get_driver_projects = '/api/mdc/cuc/user/getEnterpriceProjectInfo';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // 获取服务评级
 | 
				
			||||||
 | 
					  $api_get_driver_billEvaluate = '/api/sdc/billEvaluate/getServiceRating';
 | 
				
			||||||
 | 
					  // 总评分
 | 
				
			||||||
 | 
					  $api_get_freight_billEvaluate = '/api/sdc/billEvaluate/getTotalScore';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // 修改实名认证-运营管理后台
 | 
					  // 修改实名认证-运营管理后台
 | 
				
			||||||
  $api_update_driver_identity = '/api/mdc/cuc/identityInfo/operatorAlterIdentity';
 | 
					  $api_update_driver_identity = '/api/mdc/cuc/identityInfo/operatorAlterIdentity';
 | 
				
			||||||
  // 修改驾驶证信息
 | 
					  // 修改驾驶证信息
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user