fix bug
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-18 09:51:21
|
* @Date : 2022-01-18 09:51:21
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-05-06 16:05:45
|
* @LastEditTime : 2022-05-06 16:57:23
|
||||||
* @FilePath : \\tms-obc-web\\proxy.conf.js
|
* @FilePath : \\tms-obc-web\\proxy.conf.js
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -30,7 +30,7 @@ module.exports = {
|
|||||||
// },
|
// },
|
||||||
'//api': {
|
'//api': {
|
||||||
target: {
|
target: {
|
||||||
host: 'tms-api-dev.eascs.com',
|
host: 'tms-api-test.eascs.com',
|
||||||
protocol: 'https:',
|
protocol: 'https:',
|
||||||
port: 443
|
port: 443
|
||||||
},
|
},
|
||||||
|
|||||||
@ -55,7 +55,7 @@ export class PartnerListComponent {
|
|||||||
};
|
};
|
||||||
|
|
||||||
loadSelectOptions() {
|
loadSelectOptions() {
|
||||||
this.service.getRebateConfig().subscribe(res => {
|
this.service.getRebateConfig({stateLocked: 1}).subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
|
|
||||||
|
|||||||
@ -203,14 +203,18 @@ export class VehicleComponentsListDetailComponent implements OnInit {
|
|||||||
*查看评价
|
*查看评价
|
||||||
*/
|
*/
|
||||||
viewEvaluate(item: any) {
|
viewEvaluate(item: any) {
|
||||||
console.log(item);
|
// console.log(item);
|
||||||
this.st.reload();
|
// this.st.reload();
|
||||||
this.getDetailList();
|
// this.getDetailList();
|
||||||
const params = {
|
// const params = {
|
||||||
imgList: [item.carProtocal],
|
// imgList: [item.carProtocal],
|
||||||
index: 0
|
// index: 0
|
||||||
};
|
// };
|
||||||
this.nzImageService.preview([{ src: item.carProtocal}]);
|
// this.nzImageService.preview([{ src: item.carProtocal}]);
|
||||||
|
this.modal.createStatic(VehicleImgViewComponent, { i: item }).subscribe(() => {
|
||||||
|
this.st.reload();
|
||||||
|
this.getDetailList();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
*查看评价
|
*查看评价
|
||||||
|
|||||||
@ -383,8 +383,13 @@ export class ShipperBaseService extends BaseService {
|
|||||||
* 获取全部返佣配置
|
* 获取全部返佣配置
|
||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
getRebateConfig() {
|
getRebateConfig(value?: any) {
|
||||||
const params = {};
|
const params:any = {};
|
||||||
|
if(value) {
|
||||||
|
params.stateLocked = 1
|
||||||
|
}
|
||||||
|
console.log(params);
|
||||||
|
|
||||||
return this.request(this.$api_get_rebate_config, params, 'POST').pipe(
|
return this.request(this.$api_get_rebate_config, params, 'POST').pipe(
|
||||||
map(res => {
|
map(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
|
|||||||
Reference in New Issue
Block a user