diff --git a/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.ts b/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.ts
index cdbe5362..240ebd5b 100644
--- a/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.ts
+++ b/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.ts
@@ -1,8 +1,7 @@
import { Component, OnInit, ViewChild } from '@angular/core';
-import { FormBuilder, FormGroup, Validators } from '@angular/forms';
-import { Router } from '@angular/router';
+import { FormBuilder, FormGroup } from '@angular/forms';
+import { ActivatedRoute, Router } from '@angular/router';
import {
- SFArrayWidgetSchema,
SFComponent,
SFNumberWidgetSchema,
SFSchema,
@@ -12,10 +11,9 @@ import {
} from '@delon/form';
import { _HttpClient } from '@delon/theme';
import { AmapPoiPickerComponent } from '@shared';
-import { NzModalRef, NzModalService } from 'ng-zorro-antd/modal';
-
+import { NzModalService } from 'ng-zorro-antd/modal';
import { PublishGoodsChooseFamifiarComponent } from '../choose-famifiar/choose-famifiar.component';
-import { GaodeMapComponent } from '../gaode-map/gaode-map.component';
+import { SupplyManagementService } from '../../services/supply-management.service';
@Component({
selector: 'app-publish-goods-onecar-publish',
templateUrl: './onecar-publish.component.html',
@@ -24,7 +22,7 @@ import { GaodeMapComponent } from '../gaode-map/gaode-map.component';
export class SupplyManagementOnecarPublishComponent implements OnInit {
validateForm1: FormGroup;
newTempchecked = false; //是否存入新模板
-
+ id = this.route.snapshot.params.id;
// // 单位
unit1 = '吨';
unit2 = '方';
@@ -43,10 +41,8 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
phone: '18888888888'
}
];
-
- // formatterRmb = (value: number): string => `¥ ${value}`;
- // parserRmb = (value: string): string => value.replace('¥ ', '');
- constructor(private http: _HttpClient, fb: FormBuilder, private router: Router, private modalService: NzModalService) {
+ dataList: any;
+ constructor(private http: _HttpClient, fb: FormBuilder, private router: Router, private route: ActivatedRoute, private modalService: NzModalService, public service: SupplyManagementService) {
this.validateForm1 = fb.group({
name1: [null, []],
name2: [null, []],
@@ -89,12 +85,13 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
this.initSF5();
this.initSF6();
this.initSF7();
+ this.initdata();
}
initSF1() {
this.schema1 = {
properties: {
- name3: {
+ shipperAdispatchNameppUserNmae: {
type: 'string',
title: '货主',
maxLength: 30,
@@ -102,7 +99,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
placeholder: '请输入'
}
},
- name4: {
+ enterpriseProjectName: {
type: 'string',
title: '项目',
enum: [
@@ -124,7 +121,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
// change: (i) => this.updateCategory(i, '/categoryId2'),
} as SFSelectWidgetSchema
},
- no1: {
+ enterpriseInfoName: {
type: 'string',
title: '网络货运人',
ui: {
@@ -132,7 +129,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
},
default: 0
},
- name8: {
+ externalResourceCode: {
type: 'string',
title: '外部货源号',
maxLength: 30,
@@ -140,7 +137,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
placeholder: '请输入'
}
},
- name2: {
+ dispatchName: {
type: 'string',
title: '调度员',
enum: [
@@ -494,4 +491,15 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
nzWidth: 848
});
}
+ goBack() {
+ window.history.go(-1);
+ }
+ // 初始化信息
+ initdata() {
+ console.log(this.id)
+ this.service.request(`${this.service.$api_get_getCompleteVehicleDetail}`, {id:this.id}).subscribe((res) => {
+ console.log(res)
+ this.dataList = res;
+ })
+ }
}
diff --git a/src/app/routes/supply-management/components/update-price/update-price.component.html b/src/app/routes/supply-management/components/update-price/update-price.component.html
index 9ca3db20..a4734c9f 100644
--- a/src/app/routes/supply-management/components/update-price/update-price.component.html
+++ b/src/app/routes/supply-management/components/update-price/update-price.component.html
@@ -1,3 +1,11 @@
+
@@ -15,10 +23,10 @@
变更日志
-
+
\ No newline at end of file
diff --git a/src/app/routes/supply-management/components/update-price/update-price.component.ts b/src/app/routes/supply-management/components/update-price/update-price.component.ts
index 8e942bb0..30fbe169 100644
--- a/src/app/routes/supply-management/components/update-price/update-price.component.ts
+++ b/src/app/routes/supply-management/components/update-price/update-price.component.ts
@@ -1,3 +1,11 @@
+/*
+ * @Author: your name
+ * @Date: 2021-12-03 11:10:14
+ * @LastEditTime: 2021-12-07 19:50:40
+ * @LastEditors: your name
+ * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
+ * @FilePath: \tms-obc-web\src\app\routes\supply-management\components\update-price\update-price.component.ts
+ */
import { Component, OnInit, ViewChild } from '@angular/core';
import { STColumn } from '@delon/abc/st';
import { SFComponent, SFSchema, SFUISchema } from '@delon/form';
diff --git a/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.html b/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.html
index 61cbd133..7c78877e 100644
--- a/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.html
+++ b/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.html
@@ -6,17 +6,20 @@
-
-
+
- {{ i?.no }}
- 待接单
+ {{ dataList?.resourceCode }}
+
+ 待接单
+ 已接单
+ 已取消
+
@@ -24,70 +27,90 @@
-
+
-
-
{{ i?.owner }}
-
32943898021309809423
-
3321944288191034921
-
18112345678
-
曲丽丽 18100000000
-
曲丽丽 18100000000
+
+ {{ dataList?.enterpriseProjectId }}
+ {{ dataList?.externalResourceCode }}
+ {{ dataList?.enterpriseProjectId }}
+ {{ dataList?.dispatchName }}
-
装卸货信息
-
装货地:广东省深圳市龙岗区怡亚通大厦
-
联系人:奥利给/13680058545
-
卸货地:广东省深圳市福田区岗厦村9巷8号405(新村)
-
联系人:花花世界/13680058545
-
发货日期:广东省深圳市福田区岗厦村9巷8号405(新村)
-
卸货日期:花花世界/13680058545
+
+
装卸货信息
+
+
装货地:{{item?.detailedAddress}}
+
联系人:{{item?.appUserName}}/{{item?.contractTelephone}}
+
+
+
卸货地:{{item?.detailedAddress}}
+
联系人:{{item?.appUserName}}/{{item?.contractTelephone}}
+
+
发货日期:{{item?.createTime}}
+
卸货日期:{{item?.modifyTime}}
+
-
+
-
货物信息
-
货物名称:广东省深圳市龙岗区怡亚通大厦
-
重量/体积:广东省深圳市福田区岗厦村9巷8号405(新村)
-
车型/车长:花花世界/13680058545
+
+
货物信息
+
货物名称:{{item?.goodsName}}
+
货物数量:{{item?.weight}}吨/{{item?.volume}}立方
+
用车需求:{{item?.vehicleDemand}}
+
-
+
-
承运信息
-
司机:广东省深圳市龙岗区怡亚通大厦
-
车牌号:广东省深圳市福田区岗厦村9巷8号405(新村)
-
车型/车长/承重:{{'拖车'}} | {{'4.5米'}} | {{'15吨'}}
+
承运信息
+
网络货运人:{{dataList?.carrierInformationVO?.enterpriseInfoName}}
+
服务类型:{{dataList?.carrierInformationVO?.serviceType === 1 ? '抢单' : '指派'}}
+
司机姓名:{{dataList?.carrierInformationVO?.driverName}}
+
手机号:{{dataList?.carrierInformationVO?.driverTelephone}}
+
车牌号:{{dataList?.carrierInformationVO?.driverLicensePlate}}
+
+
+
+
+
服务信息
+
货物价值:{{dataList?.goodsInfoList?.goodsName}}
+
保价费金额:{{dataList?.goodsInfoList?.goodsName}}
-
补充信息
-
需要回单
-
备注:奥利给/13680058545
+
补充信息
+
{{dataList?.supplementaryInformationVO?.stateReceipt === 2 ? '不需要回单' : '需要回单'}}
+
联系人:{{dataList?.supplementaryInformationVO?.receiptUserId}}
+
联系电话:{{dataList?.supplementaryInformationVO?.remarks}}
+
所在地区:{{dataList?.supplementaryInformationVO?.remarks}}
+
详细地址:{{dataList?.supplementaryInformationVO?.receiptAddress}}
+
备注:{{dataList?.supplementaryInformationVO?.remarks}}
-
运费信息
+
运费信息
-
{{400 | currency }}
-
{{400 | currency }}
-
{{400 | currency }}
-
{{400 | currency}}
-
{{400 | currency }}
+
预付:{{dataList?.expenseList?.prePay | currency: '¥' }}
+
油卡:{{dataList?.expenseList?.oilCardPay | currency: '¥'}}
+
到付:{{dataList?.expenseList?.toPay | currency: '¥'}}
+
回单付:{{dataList?.expenseList?.receiptPay | currency: '¥'}}
+
保险费:{{dataList?.expenseList?.insuranceFee | currency: '¥'}}
+
附加费保险费:{{dataList?.expenseList?.appendFee | currency: '¥'}}
-
{{400 | currency }}
+ {{dataList?.expenseList?.totalFee | currency: '¥' }}
diff --git a/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.ts b/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.ts
index 0f719e6f..c6d5ef16 100644
--- a/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.ts
+++ b/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.ts
@@ -1,5 +1,13 @@
+/*
+ * @Author: your name
+ * @Date: 2021-12-03 11:10:14
+ * @LastEditTime: 2021-12-08 14:35:47
+ * @LastEditors: Please set LastEditors
+ * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
+ * @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle-detail\vehicle-detail.component.ts
+ */
import { Component, OnInit } from '@angular/core';
-import { ActivatedRoute } from '@angular/router';
+import { ActivatedRoute, Router } from '@angular/router';
import { STColumn } from '@delon/abc/st';
import { _HttpClient } from '@delon/theme';
import { NzMessageService } from 'ng-zorro-antd/message';
@@ -14,6 +22,7 @@ export class SupplyManagementVehicleDetailComponent implements OnInit {
id = this.route.snapshot.params.id;
i: any;
+ dataList: any;
logColumns: STColumn[] = [
{ title: '内容', index: 'theme' },
{ title: '操作人', index: 'operationUserPhone' },
@@ -24,18 +33,40 @@ export class SupplyManagementVehicleDetailComponent implements OnInit {
private route: ActivatedRoute,
private msgSrv: NzMessageService,
private service: SupplyManagementService,
+ private router: Router,private ar: ActivatedRoute
) {
}
ngOnInit(): void {
- this.service.http.get(`/user/${this.id}?_allow_anonymous=true&_allow_badcode=true`).subscribe(res => {
- console.log(res);
- this.i = res
- });
+ console.log(this.id)
+ if(this.id) {
+ this.getDetailList(this.id)
+ }
}
-
+ // 获取录单员
+ getDetailList(id: any) {
+ const params = {
+ id: id
+ };
+ this.service.request(`${this.service.$api_get_getCompleteVehicleDetail}`, params).subscribe((res) => {
+ console.log(res)
+ this.dataList = res
+ })
+ }
+ // 修改货源
+ modification() {
+ this.router.navigate(['/supply-management/vehicle-amend', this.id], {
+ relativeTo: this.ar
+ })
+ }
+ // 再下一单
+ nextOrder() {
+ this.router.navigate(['/supply-management/vehicle-amend', this.id], {
+ relativeTo: this.ar
+ })
+ }
diff --git a/src/app/routes/supply-management/components/vehicle/vehicle.component.html b/src/app/routes/supply-management/components/vehicle/vehicle.component.html
index f5f6aa17..9b6deaec 100644
--- a/src/app/routes/supply-management/components/vehicle/vehicle.component.html
+++ b/src/app/routes/supply-management/components/vehicle/vehicle.component.html
@@ -1,7 +1,7 @@
-
-
- {{item.no}}
+
+
+ {{item.resourceCode}}
-
-
+
+
+ {{item?.LoadingAddressArr[i]}}
+
+
+
+ 抢单
+ 指派
+
+
{{item.no}}
diff --git a/src/app/routes/supply-management/components/vehicle/vehicle.component.ts b/src/app/routes/supply-management/components/vehicle/vehicle.component.ts
index 34243b32..587a4c71 100644
--- a/src/app/routes/supply-management/components/vehicle/vehicle.component.ts
+++ b/src/app/routes/supply-management/components/vehicle/vehicle.component.ts
@@ -16,7 +16,6 @@ import { SupplyManagementUpdateFreightComponent } from '../update-freight/update
styleUrls: ['./vehicle.component.less']
})
export class SupplyManagementVehicleComponent implements OnInit {
- url = `/user?_allow_anonymous=true`;
ui: SFUISchema = {};
ui2: SFUISchema = {};
schema: SFSchema = {};
@@ -30,32 +29,40 @@ export class SupplyManagementVehicleComponent implements OnInit {
columns: STColumn[] = [];
tabs = [ {
name: '全部',
- type: 5,
+ type: 0,
count: 0,
},
{
name: '待接单',
- type: 5,
+ type: 1,
count: 0,
},
{
name: '已接单',
- type: 5,
+ type: 2,
count: 0,
},
{
name: '已取消',
- type: 5,
+ type: 3,
count: 0,
},
];
+ resourceStatus: any;
constructor(public service: SupplyManagementService, private modal: NzModalService, private router: Router,private ar: ActivatedRoute) { }
/**
* 查询参数
*/
get reqParams() {
+ console.log(this.resourceStatus)
+ const a:any = {};
+ if(this.resourceStatus) {
+ a.resourceStatus = this.resourceStatus
+ }
+ console.log(a)
return {
+ ...a,
...this.sf?.value,
};
}
@@ -77,35 +84,35 @@ export class SupplyManagementVehicleComponent implements OnInit {
this.schema = {
properties: {
_$expand: { type: 'boolean', ui: { hidden: true } },
- no: {
+ resourceCode: {
type: 'string',
title: '货源编号',
},
- sex2: {
+ serviceType: {
title: '服务类型',
type: 'string',
- default: 0,
enum: [
- { label: '未知', value: 0 },
- { label: '男', value: 1 },
- { label: '女', value: 2 },
- { label: '保密', value: 3 },
+ { label: '抢单', value: 1 },
+ { label: '指派', value: 2 },
],
ui: {
widget: 'select',
} as SFSelectWidgetSchema,
},
- categoryId: {
+ goodsName: {
type: 'string',
title: '货物名称',
- // enum: this.secondCatList || [],
+ enum: [
+ { label: '普货', value: 1 },
+ { label: '指派', value: 2 },
+ ],
ui: {
widget: 'select',
placeholder: '请选择',
} as SFSelectWidgetSchema,
},
- no2: {
+ loadingPlace: {
type: 'string',
title: '装货地',
ui: {
@@ -114,7 +121,7 @@ export class SupplyManagementVehicleComponent implements OnInit {
},
}
},
- no1: {
+ dischargePlace: {
type: 'string',
title: '卸货地',
ui: {
@@ -123,7 +130,7 @@ export class SupplyManagementVehicleComponent implements OnInit {
},
}
},
- no4: {
+ shipperAppUserName: {
type: 'string',
title: '货主',
ui: {
@@ -132,15 +139,14 @@ export class SupplyManagementVehicleComponent implements OnInit {
},
}
},
- sex: {
+ auditStatus: {
title: '审核状态',
type: 'string',
- default: 0,
enum: [
- { label: '未知', value: 0 },
- { label: '男', value: 1 },
- { label: '女', value: 2 },
- { label: '保密', value: 3 },
+ { label: '待审核', value: 1 },
+ { label: '审核通过', value: 2 },
+ { label: '不通过', value: 3 },
+ { label: '已取消', value: 4 },
],
ui: {
widget: 'select',
@@ -149,7 +155,7 @@ export class SupplyManagementVehicleComponent implements OnInit {
},
} as SFSelectWidgetSchema,
},
- appId: {
+ enterpriseInfoName: {
type: 'string',
title: '网络货运人',
ui: {
@@ -159,7 +165,7 @@ export class SupplyManagementVehicleComponent implements OnInit {
_$expand: (value: boolean) => value,
},
allowClear: true,
- asyncData: () => this.getCatalogueMember(),
+ // asyncData: () => this.getCatalogueMember(),
},
},
},
@@ -193,26 +199,31 @@ export class SupplyManagementVehicleComponent implements OnInit {
title: '货源编号',
width: '100px',
className: 'text-center',
- render: 'goodsId'
+ render: 'resourceCode'
},
- { title: '服务类型', index: 'externalSn', width: '120px', className: 'text-center' },
- { title: '货主', index: 'linkUrl', width: '120px', className: 'text-center' },
+ { title: '服务类型', index: 'serviceType', width: '120px', className: 'text-center',render: 'serviceType'},
+ { title: '货主', index: 'shipperAppUserName', width: '120px', className: 'text-center' },
{
title: '项目名称',
+ index: 'enterpriseProjectName',
className: 'text-center',
width: '120px',
},
{
title: '装货地',
+ index: 'loadingAddressArr',
className: 'text-center',
width: '120px',
+ render: 'loadingAddressArr'
}, {
title: '卸货地',
+ index: 'unloadingAddressArr',
className: 'text-center',
width: '120px',
},
{
title: '货物名称',
+ index: 'goodsName',
className: 'text-center',
width: '120px',
},
@@ -220,9 +231,12 @@ export class SupplyManagementVehicleComponent implements OnInit {
title: '货物数量',
className: 'text-center',
width: '120px',
+ index: 'goodsNumber',
+
},
{
title: '用车需求',
+ index: 'vehicleDemand',
className: 'text-center',
width: '120px',
},
@@ -230,41 +244,43 @@ export class SupplyManagementVehicleComponent implements OnInit {
title: '总费用',
className: 'text-center',
width: '120px',
- index: 'goodsId',
- render: 'enStatusStr27878'
+ index: 'totalAmount',
+ render: 'totalAmount'
},
{
title: '附加费',
className: 'text-center',
width: '120px',
+ index: 'surcharge',
},
{
title: '货源状态',
className: 'text-center',
- index: 'enStatusStr2',
+ index: 'resourceStatus',
type: 'badge',
width: '120px',
badge: {
- 正常: { text: '正常', color: 'success' },
- 冻结: { text: '冻结', color: 'warning' },
- 废弃: { text: '废弃', color: 'default' },
+ 1: { text: '待接单', color: 'success' },
+ 2: { text: '已接单', color: 'warning' },
},
},
{
title: '创建时间',
width: '170px',
+ index: 'releaseTime',
className: 'text-center',
},
{
title: '审核状态',
className: 'text-center',
- index: 'enStatusStr3',
+ index: 'auditStatus',
type: 'badge',
width: '170px',
badge: {
- 正常: { text: '正常', color: 'success' },
- 冻结: { text: '冻结', color: 'warning' },
- 废弃: { text: '废弃', color: 'default' },
+ 1: { text: '待审核', color: 'warning' },
+ 2: { text: '审核通过', color: 'success' },
+ 3: { text: '不通过', color: 'default' },
+ 4: { text: '已取消', color: 'default' },
},
},
{
@@ -276,10 +292,12 @@ export class SupplyManagementVehicleComponent implements OnInit {
{
text: '货源审核',
click: (_record) => this.audit(_record, 1),
+ // iif: item => item.auditStatus === 1,
},
{
text: '修改货源',
click: (_record) => this.amend(_record),
+ // iif: item => item.auditStatus === 1 || item.auditStatus === 2,
},
{
text: '修改运费',
@@ -287,15 +305,17 @@ export class SupplyManagementVehicleComponent implements OnInit {
},
{
text: '取消货源',
+ // iif: item => item.auditStatus === 1 || item.auditStatus === 2,
// click: (_record) => this.delOne(_record),
},
{
text: '再下一单',
- // click: (_record) => this.editOne(_record),
+ click: (_record) => this.nextOrder(_record),
},
{
text: '重新指派',
click: (_record) => this.assignedCar(_record),
+ // iif: item => item.auditStatus === 2,
},
],
},
@@ -332,21 +352,14 @@ export class SupplyManagementVehicleComponent implements OnInit {
- // 获取录单员
- getCatalogueMember() {
- const params = {
- };
- return this.service.request(this.service.$api_get_catalogue_member, params, 'GET').pipe(
- map((res) => {
- if (res) {
- console.log(res)
- }
- }),
- );
- }
selectChange(e: number) {
console.log(e);
+ this.resourceStatus = e;
+ this.initST();
+ setTimeout(() => {
+ this.st.load();
+ }, 500);
}
/**
@@ -435,4 +448,9 @@ export class SupplyManagementVehicleComponent implements OnInit {
relativeTo: this.ar
})
}
+ nextOrder(item: any) {
+ this.router.navigate(['/supply-management/vehicle-amend', item.id], {
+ relativeTo: this.ar
+ })
+ }
}
diff --git a/src/app/routes/supply-management/services/supply-management.service.ts b/src/app/routes/supply-management/services/supply-management.service.ts
index 80882fb7..56310ac2 100644
--- a/src/app/routes/supply-management/services/supply-management.service.ts
+++ b/src/app/routes/supply-management/services/supply-management.service.ts
@@ -1,3 +1,11 @@
+/*
+ * @Author: your name
+ * @Date: 2021-12-03 11:10:14
+ * @LastEditTime: 2021-12-07 20:09:14
+ * @LastEditors: Please set LastEditors
+ * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
+ * @FilePath: \tms-obc-web\src\app\routes\supply-management\services\supply-management.service.ts
+ */
import { Injectable, Injector } from '@angular/core';
import { BaseService } from 'src/app/shared/services';
@@ -5,9 +13,15 @@ import { BaseService } from 'src/app/shared/services';
providedIn: 'root'
})
export class SupplyManagementService extends BaseService {
+ // 整车获取货源表详情
+ $api_get_getCompleteVehicleDetail = `api/sdc/goodsResourceOperate/getCompleteVehicleDetail`;
+ // 大宗获取货源表详情
+ $api_get_getBulkDetail = `api/sdc/goodsResourceOperate/getBulkDetail`;
+ // 查询运营后台大宗货源列表
+ $api_get_bulkPage_list = `api/sdc/goodsResourceOperate/list/bulkPage`;
+ // 查询运营后台整车货源列表
+ $api_get_wholePage_list = `api/sdc/goodsResourceOperate/list/wholePage`;
- $api_get_catalogue_member = `/user?_allow_anonymous=true`;
- $api_del_driver = ``;
constructor(public injector: Injector) {
super(injector)
}
diff --git a/src/app/shared/services/business/user.service.ts b/src/app/shared/services/business/user.service.ts
index 0fee00cb..21e7cf7a 100644
--- a/src/app/shared/services/business/user.service.ts
+++ b/src/app/shared/services/business/user.service.ts
@@ -2,8 +2,8 @@
* @Description:
* @Author: wsm
* @Date: 2021-06-22 10:25:33
- * @LastEditTime: 2021-06-23 20:25:05
- * @LastEditors: Do not edit
+ * @LastEditTime: 2021-12-08 15:40:21
+ * @LastEditors: Please set LastEditors
* @Reference:
*/
import { Inject, Injectable, Injector } from '@angular/core';
@@ -25,11 +25,11 @@ export class EAUserService extends BaseService {
/**
* 账号密码登录
*/
- $api_login_by_account = `/api/mdc/cuc/user/login?_allow_anonymous=true`;
+ $api_login_by_account = `api/mdc/cuc/user/login?_allow_anonymous=true`;
/**
* 手机号登录
*/
- $api_login_by_mobile = `/api/mdc/cuc/user/sms/login?_allow_anonymous=true`;
+ $api_login_by_mobile = `api/mdc/cuc/user/sms/login?_allow_anonymous=true`;
// 登录路径
private $api_login = `/scce/cuc/cuc/user/login?_allow_anonymous=true`;
private $api_captcha_login = `/scce/cuc/cuc/user/sms/login?_allow_anonymous=true`;