This commit is contained in:
Taric Xin
2022-03-07 17:30:21 +08:00
parent ef1f8e98e7
commit 7cfa2cc415
4 changed files with 7 additions and 8 deletions

View File

@ -51,7 +51,7 @@ export class AppComponent implements OnInit {
}); });
const screen: any = window.screen const screen: any = window.screen
var zoom = window.devicePixelRatio || screen.deviceXDPI / screen?.logicalXDPI; var zoom = window.devicePixelRatio || screen.deviceXDPI / screen?.logicalXDPI;
console.log(zoom) // console.log(zoom)
if (document.body.clientWidth >= 1280) { if (document.body.clientWidth >= 1280) {
if (zoom != 1 && zoom != 2 && zoom != 3) { if (zoom != 1 && zoom != 2 && zoom != 3) {
this.themeService.toggleTheme().then(); this.themeService.toggleTheme().then();

View File

@ -167,7 +167,7 @@ export class RefundRecordComponent implements OnInit {
placeholder: '请选择' placeholder: '请选择'
} }
}, },
shipperId: { enterpriseInfoName: {
type: 'string', type: 'string',
title: '货主', title: '货主',
ui: { ui: {
@ -184,7 +184,7 @@ export class RefundRecordComponent implements OnInit {
placeholder: '请输入' placeholder: '请输入'
} }
}, },
enterpriseProjectId: { enterpriseProjectName: {
type: 'string', type: 'string',
title: '所属项目', title: '所属项目',
ui: { ui: {
@ -197,7 +197,7 @@ export class RefundRecordComponent implements OnInit {
} }
} }
}, },
resourceId: { resourceCode: {
type: 'string', type: 'string',
title: '货源号', title: '货源号',
ui: { ui: {
@ -220,7 +220,7 @@ export class RefundRecordComponent implements OnInit {
nzShowTime: true nzShowTime: true
} as SFDateWidgetSchema } as SFDateWidgetSchema
}, },
ltdid: { ltdId: {
type: 'string', type: 'string',
title: '网络货运人', title: '网络货运人',
ui: { ui: {

View File

@ -45,13 +45,11 @@ export class AmapPathSimplifierComponent implements OnInit, OnChanges {
]; ];
this.setData(this.pathList); this.setData(this.pathList);
this.setPathIndex(this.selectedIndex); this.setPathIndex(this.selectedIndex);
console.log(this.MapList);
} }
} }
ngOnInit(): void { ngOnInit(): void {
this.mapInit(); this.mapInit();
console.log(this.MapList);
// this.DataInit();
} }
ngOnDestroy(): void { ngOnDestroy(): void {
if (this.aMap) { if (this.aMap) {

View File

@ -3,6 +3,7 @@ import { ChangeDetectorRef, Component, Input, OnInit, ViewChild } from '@angular
import { amapConf } from '@conf/amap.config'; import { amapConf } from '@conf/amap.config';
import { NzModalRef } from 'ng-zorro-antd/modal'; import { NzModalRef } from 'ng-zorro-antd/modal';
import { throwError } from 'rxjs'; import { throwError } from 'rxjs';
import { Script } from 'vm';
import { AmapService } from '../amap.service'; import { AmapService } from '../amap.service';
declare var AMap: any; declare var AMap: any;
declare var AMapUI: any; declare var AMapUI: any;