Browse Source

[完善]跳转页面

beijing
邵佳豪 1 year ago
parent
commit
eb34445184
  1. 2
      package.json
  2. 7
      proxy.config.json
  3. 2
      src/app/pages/gis-home/gis-home.component.html

2
package.json

@ -3,7 +3,7 @@
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve --proxy-config proxy.config.json --open --port 1119",
"start": "ng serve --proxy-config proxy.config.json --open --port 1119 --host 192.168.1.82",
"build": "node --max_old_space_size=5048 ./node_modules/@angular/cli/bin/ng build --configuration production",
"test": "ng test",
"lint": "ng lint",

7
proxy.config.json

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

2
src/app/pages/gis-home/gis-home.component.html

@ -3,7 +3,7 @@
<div class="mask" style="pointer-events: none;"></div>
<div class="leftBox">
<div class="left1 cardItem"
(click)="urlTo('http://localhost:51423/planManagement/entryPlan?singleSignOn=true')">
(click)="urlTo('http://121.36.37.70:8201/planManagement/entryPlan?singleSignOn=true')">
<app-card-title [title]="'预案统计'" [subtitle]="'Plan statistics'"></app-card-title>
<app-unit-title [num]="33" (childEvent)="handleChildData($event)"></app-unit-title>
<div class="content">

Loading…
Cancel
Save