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();
|
||||
});
|
||||
}
|
||||
/**
|
||||
*查看评价
|
||||
|
||||
Reference in New Issue
Block a user