Browse Source

[完善]更新时间

test-assets
邵佳豪 11 months ago
parent
commit
eef70064e8
  1. 4
      proxy.config.json
  2. 2
      src/app/app.component.ts
  3. 2
      src/app/pages/home-page/home-page.component.ts
  4. 4
      src/app/pages/home/home.component.html
  5. 1
      src/app/pages/home/home.component.ts

4
proxy.config.json

@ -2,13 +2,13 @@
"/api": {
"target": "http://121.36.37.70:8906/",
"测试1": "http://121.36.37.70:8906/",
"测试2": "https://znaq.sinochemoilmarketing.com/",
"测试2": "http://121.36.37.70:8906/",
"测试3": "https://gas.anxincloud.cn/",
"secure": false,
"changeOrigin": true
},
"/signalr": {
"target": "https://znaq.sinochemoilmarketing.com/",
"target": "http://121.36.37.70:8906/",
"secure": false,
"ws": true,
"logLevel": "debug"

2
src/app/app.component.ts

@ -19,7 +19,7 @@ export class AppComponent {
public token: CacheTokenService,
private notificationService: NzNotificationService
) {}
VERSION = 20240513;
VERSION = 20240521;
ngOnInit(): void {
this.sayHello();
}

2
src/app/pages/home-page/home-page.component.ts

@ -614,6 +614,8 @@ export class HomePageComponent implements OnInit {
this.warningechartbar.dispose();
this.oilchartpie.dispose();
this.oilchartbar.dispose();
this.mouseEnter();
}
resolutionRatio() {

4
src/app/pages/home/home.component.html

@ -25,7 +25,6 @@
<!-- 登录信息按钮 -->
<div class="boxright">
<i (click)="warningSwitch('voice')" nz-icon [ngClass]="{'grey': !isWarningVoice}" class="blue"
style="margin-top: 2px;" nz-tooltip nzTooltipTitle="预警声音开关" nzTooltipPlacement="bottom">
<svg width="20" height="20">
@ -117,5 +116,4 @@
</ng-template>
</ng-template>
</ng-template>

1
src/app/pages/home/home.component.ts

@ -345,6 +345,7 @@ export class HomeComponent implements OnInit {
var player = new Audio(audioUrl);
player.play(); //播放 mp3这个音频对象
}
modalData;
look(item) {
console.log("推送信息", item);

Loading…
Cancel
Save