This commit is contained in:
wangshiming
2022-05-06 17:02:32 +08:00
parent 2713ff9b3b
commit f465578e7f
4 changed files with 22 additions and 13 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-01-18 09:51:21
* @LastEditors : Shiming
* @LastEditTime : 2022-05-06 16:05:45
* @LastEditTime : 2022-05-06 16:57:23
* @FilePath : \\tms-obc-web\\proxy.conf.js
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@ -30,7 +30,7 @@ module.exports = {
// },
'//api': {
target: {
host: 'tms-api-dev.eascs.com',
host: 'tms-api-test.eascs.com',
protocol: 'https:',
port: 443
},

View File

@ -55,7 +55,7 @@ export class PartnerListComponent {
};
loadSelectOptions() {
this.service.getRebateConfig().subscribe(res => {
this.service.getRebateConfig({stateLocked: 1}).subscribe(res => {
if (res) {
console.log(res);

View File

@ -203,14 +203,18 @@ export class VehicleComponentsListDetailComponent implements OnInit {
*查看评价
*/
viewEvaluate(item: any) {
console.log(item);
this.st.reload();
this.getDetailList();
const params = {
imgList: [item.carProtocal],
index: 0
};
this.nzImageService.preview([{ src: item.carProtocal}]);
// console.log(item);
// this.st.reload();
// this.getDetailList();
// const params = {
// imgList: [item.carProtocal],
// index: 0
// };
// this.nzImageService.preview([{ src: item.carProtocal}]);
this.modal.createStatic(VehicleImgViewComponent, { i: item }).subscribe(() => {
this.st.reload();
this.getDetailList();
});
}
/**
*查看评价

View File

@ -383,8 +383,13 @@ export class ShipperBaseService extends BaseService {
* 获取全部返佣配置
* @returns
*/
getRebateConfig() {
const params = {};
getRebateConfig(value?: any) {
const params:any = {};
if(value) {
params.stateLocked = 1
}
console.log(params);
return this.request(this.$api_get_rebate_config, params, 'POST').pipe(
map(res => {
if (res) {