From 1445cd6629142cef3713adae151703efaeacb325 Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Fri, 31 Dec 2021 11:44:17 +0800 Subject: [PATCH 1/4] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=A2=84=E8=AD=A6=E5=A4=A9=E6=95=B0=E8=BE=93=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../oil-station-info/oil-station-info.component.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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..f53b413 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 @@ -318,7 +318,7 @@ nzTheme="outline">重新上传
- + @@ -326,7 +326,7 @@ *提前预警时间天数: - + 重新上传
- + @@ -367,7 +367,7 @@ *提前预警时间天数: - + 重新上传
- + *提前预警时间天数: - + Date: Tue, 4 Jan 2022 14:53:45 +0800 Subject: [PATCH 2/4] =?UTF-8?q?[=E4=BF=AE=E6=94=B9]=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E5=90=8D=E7=A7=B0=E5=92=8C=E7=89=88=E6=9D=83?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proxy.config.json | 22 +++++++++---------- src/app/pages/login/login.component.html | 4 ++-- src/app/pages/login/login.component.scss | 4 ++-- .../navigation/navigation.component.html | 2 +- src/index.html | 2 +- 5 files changed, 17 insertions(+), 17 deletions(-) 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/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/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 From d4f711f4f3d5010e2005d4ace5e0c03a5b099b9b Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Wed, 5 Jan 2022 15:33:22 +0800 Subject: [PATCH 4/4] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E6=B2=B9=E7=BD=90?= =?UTF-8?q?=E5=AE=B9=E7=A7=AF=E5=8D=95=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/oil-station-info/oil-station-info.component.html | 4 ++-- src/app/pages/plan-admin/plan-admin.component.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 f53b413..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³) - + diff --git a/src/app/pages/plan-admin/plan-admin.component.html b/src/app/pages/plan-admin/plan-admin.component.html index 4f2f656..9da9d0f 100644 --- a/src/app/pages/plan-admin/plan-admin.component.html +++ b/src/app/pages/plan-admin/plan-admin.component.html @@ -69,7 +69,7 @@ 经营品类 油机数量 车道数量 - 油罐容积 + 油罐容积 操作 @@ -89,7 +89,7 @@ {{item.sellVariety}} {{item.gasStationCount}} {{item.laneCount}} - {{item.tankVolume}} + {{item.tankVolume}}{{item.tankVolume ? 'm³' : null}} 查看