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

@ -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) {