fix bug
This commit is contained in:
@ -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);
|
||||
|
||||
|
||||
@ -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();
|
||||
});
|
||||
}
|
||||
/**
|
||||
*查看评价
|
||||
|
||||
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user