Browse Source

[完善]配置文件完善

develop
邵佳豪 3 years ago
parent
commit
e314cb0314
  1. 4
      proxy.config.json
  2. 3
      src/app/app.module.ts
  3. 4
      src/app/system-management/condition-monitoring/model/model.component.html
  4. 11
      src/app/system-management/host-config/host-config.component.ts
  5. 6
      src/app/system-management/organization/organization.component.html
  6. 8
      src/app/system-management/organization/organization.component.scss

4
proxy.config.json

@ -1,11 +1,11 @@
{
"/api": {
"target": "http://39.106.78.171:8920",
"target": "http://121.36.37.70:8080",
"secure": false,
"changeOrigin": true
},
"/signalr": {
"target": "http://39.106.78.171:8920",
"target": "http://121.36.37.70:8080",
"secure": false,
"ws": true,
"logLevel": "debug"

3
src/app/app.module.ts

@ -28,8 +28,7 @@ import { ConfigFormDataService } from './service/configFormData.service';
NzNotificationModule,
NzMessageModule
],
providers: [httpInterceptorProviders, CacheTokenService, TreeService, ConfigFormDataService,
{ provide: RouteReuseStrategy, useClass: CustomReuseStrategy }],
providers: [httpInterceptorProviders, CacheTokenService, TreeService, ConfigFormDataService],
bootstrap: [AppComponent]
})
export class AppModule { }

4
src/app/system-management/condition-monitoring/model/model.component.html

@ -9,7 +9,9 @@
<nz-option [nzValue]="'idnet'" nzLabel="idnet"></nz-option>
<nz-option [nzValue]="'oilnet'" nzLabel="oilnet"></nz-option>
<nz-option [nzValue]="'smoking_calling_net'" nzLabel="smoking_calling_net"></nz-option>
<nz-option [nzValue]="'connet'" nzLabel="connet"></nz-option>
<!-- <nz-option [nzValue]="'connet'" nzLabel="connet"></nz-option> -->
<nz-option [nzValue]="'connet_oil'" nzLabel="connet_oil"></nz-option>
<nz-option [nzValue]="'connet_grounder'" nzLabel="connet_grounder"></nz-option>
<nz-option [nzValue]="'fire_smoke_net'" nzLabel="fire_smoke_net"></nz-option>
</nz-select>
</nz-form-control>

11
src/app/system-management/host-config/host-config.component.ts

@ -591,12 +591,19 @@ smoking_calling_net:
interval: 1
batch_size: 32
connet:
connet_oil:
enable: true
apply_on: 2
roi:
- 'oil_tube-${order}':
- [${xieyouguan}]
- [${xieyouguan}]
interval: 1
batch_size: 2
connet_grounder:
enable: true
apply_on: 2
roi:
- 'grounder-${order}':
- [${jingdian}]
interval: 1

6
src/app/system-management/organization/organization.component.html

@ -25,9 +25,9 @@
<div class="nodebox">
<span class="name">{{ node.title }}</span>
<span class="operation">
<span (click)="addOr(node)" *ngIf="!node.origin.isGasStation">新增</span>
<span (click)="editOr(node)">编辑</span>
<span (click)="deleteOr(node)">删除</span>
<span class="blue" (click)="addOr(node)" *ngIf="!node.origin.isGasStation">新增</span>
<span class="blue" (click)="editOr(node)">编辑</span>
<span class="red" (click)="deleteOr(node)">删除</span>
</span>
</div>
</ng-template>

8
src/app/system-management/organization/organization.component.scss

@ -67,12 +67,4 @@
margin-left: 40px;
}
span:nth-child(1),
span:nth-child(2) {
color: #2399FF;
}
span:nth-child(3) {
color: rgba(0, 13, 33, 0.48);
}
}

Loading…
Cancel
Save