diff --git a/proxy.config.json b/proxy.config.json index c51ed6d..b147575 100644 --- a/proxy.config.json +++ b/proxy.config.json @@ -1,13 +1,13 @@ { - "/api": { - "target": "http://39.106.78.171:8906", - "secure": false, - "changeOrigin": true - }, - "/signalr": { - "target": "http://39.106.78.171:8906", - "secure": false, - "ws": true, - "logLevel": "debug" + "/api": { + "target": "http://39.106.78.171:8906", + "secure": false, + "changeOrigin": true + }, + "/signalr": { + "target": "http://39.106.78.171:8906", + "secure": false, + "ws": true, + "logLevel": "debug" } -} \ No newline at end of file +} diff --git a/src/app/pages/left-domain/left-domain.component.html b/src/app/pages/left-domain/left-domain.component.html index e51375e..555a440 100644 --- a/src/app/pages/left-domain/left-domain.component.html +++ b/src/app/pages/left-domain/left-domain.component.html @@ -74,7 +74,7 @@

-

+

@@ -101,7 +101,7 @@

-

+

diff --git a/src/app/pages/left-domain/left-domain.component.ts b/src/app/pages/left-domain/left-domain.component.ts index b1665e1..d9021f9 100644 --- a/src/app/pages/left-domain/left-domain.component.ts +++ b/src/app/pages/left-domain/left-domain.component.ts @@ -207,6 +207,26 @@ export class LeftDomainComponent implements OnInit { //编辑模式 } + //是否换行 + isLineFeed(str: string):boolean { + if (str) { + let strlen = 0; + for (var i = 0;i < str.length; i++) { + if(str.charCodeAt(i) > 255) //如果是汉字,则字符串长度加2 + strlen += 2; + else + strlen++; + } + if (strlen >= 16) { + return false + } else { + return true + } + } else { + return true + } + } + //获取设备 数量 getFacilityNum(type: string): string { let num = 0 diff --git a/src/app/pages/login/login.component.html b/src/app/pages/login/login.component.html index 4d6331b..8fea242 100644 --- a/src/app/pages/login/login.component.html +++ b/src/app/pages/login/login.component.html @@ -1,7 +1,7 @@

欢迎登录

-

中化石油智能安全管理系统

+

加油站智能安全管理系统

diff --git a/src/app/pages/login/login.component.scss b/src/app/pages/login/login.component.scss index b58c9c0..3724d20 100644 --- a/src/app/pages/login/login.component.scss +++ b/src/app/pages/login/login.component.scss @@ -13,10 +13,10 @@ transform: translate(-50%,-50%); background-color: rgba(0, 13, 33, 0.24); border-radius: 16px; - width: 456px; + width: 468px; height: 548px; box-sizing: border-box; - padding: 79px 48px 42px 48px; + padding: 79px 45px 42px 45px; color: rgba(255, 255, 255, 1); } diff --git a/src/app/pages/oil-station-info/oil-station-info.component.html b/src/app/pages/oil-station-info/oil-station-info.component.html index bf4776f..d98e121 100644 --- a/src/app/pages/oil-station-info/oil-station-info.component.html +++ b/src/app/pages/oil-station-info/oil-station-info.component.html @@ -146,12 +146,12 @@ - 油罐容积 + 油罐容积(m³) - + @@ -318,7 +318,7 @@ nzTheme="outline">重新上传
- + @@ -326,7 +326,7 @@ *提前预警时间天数: - + 重新上传
- + @@ -367,7 +367,7 @@ *提前预警时间天数: - + 重新上传
- + *提前预警时间天数: - + 经营品类 油机数量 车道数量 - 油罐容积 + 油罐容积 操作 @@ -89,7 +89,7 @@ {{item.sellVariety}} {{item.gasStationCount}} {{item.laneCount}} - {{item.tankVolume}} + {{item.tankVolume}}{{item.tankVolume ? 'm³' : null}} 查看 diff --git a/src/app/system-management/navigation/navigation.component.html b/src/app/system-management/navigation/navigation.component.html index 35ad50d..d7010d6 100644 --- a/src/app/system-management/navigation/navigation.component.html +++ b/src/app/system-management/navigation/navigation.component.html @@ -23,7 +23,7 @@ - Hey,欢迎登录加油站可视化智能安全管理系统 + Hey,欢迎登录加油站智能安全管理系统 diff --git a/src/index.html b/src/index.html index cda1af7..e24c7ef 100644 --- a/src/index.html +++ b/src/index.html @@ -2,7 +2,7 @@ - 中化石油智能安全管理系统 + 加油站智能安全管理系统