diff --git a/src/app/system-management/host-config/host-config.component.ts b/src/app/system-management/host-config/host-config.component.ts
index 1868039..7272430 100644
--- a/src/app/system-management/host-config/host-config.component.ts
+++ b/src/app/system-management/host-config/host-config.component.ts
@@ -246,11 +246,6 @@ export class HostConfigComponent implements OnInit {
this.message.create('error', '请先下发source.yaml配置');
}
} else if (this.hostType == '黄海') {
- if (item.type === 1) {
- this.message.info('加油区不需要标注');
- return;
- }
-
const element = document.documentElement;
if (element.requestFullscreen) {
//进入全屏
@@ -1213,12 +1208,11 @@ rule_threshold:
smoke_th: 0.8,
phone_th: 0.8,
bulkoil_th: 0.8,
- fileUpload:
- 'http://121.36.37.70:8906/api/Objects/sinochemtest/violations',
- alarmUpload: 'http://121.36.37.70:8208/api/Data/ViolationRecordPush',
+ fileUpload: 'https://gas.anxincloud.cn/api/Objects/gas/violations',
+ alarmUpload: 'https://gas.anxincloud.cn/api/Data/ViolationRecordPush',
unloadingProUpload:
- 'http://121.36.37.70:8208/api/Data/OilUnloadingProcessPush',
- prefix: '/api/Objects/sinochemtest',
+ 'https://gas.anxincloud.cn/api/Data/OilUnloadingProcessPush',
+ prefix: '/api/Objects/gas',
};
this.listOfData.forEach((item: any) => {
if (item.type === 0) {
@@ -1231,10 +1225,16 @@ rule_threshold:
});
}
if (item.type === 1) {
- obj.sources.push({
+ let objitem: any = {
nickName: '加油区',
rtsp: item.uri,
- });
+ };
+ if (item.dimensionedPointsHuanghaiObj.bulkoilROI.length !== 0) {
+ objitem.bulkoilROI = pointsArrTransition(
+ item.dimensionedPointsHuanghaiObj.bulkoilROI
+ );
+ }
+ obj.sources.push(objitem);
}
if (item.type === 2) {
obj.sources.push({
diff --git a/src/app/system-management/image-label/image-label.component.html b/src/app/system-management/image-label/image-label.component.html
index 019f94c..56cf45f 100644
--- a/src/app/system-management/image-label/image-label.component.html
+++ b/src/app/system-management/image-label/image-label.component.html
@@ -14,9 +14,9 @@
删除
-