From a367bfc14085dad05710361c5a75fda762cdc09d Mon Sep 17 00:00:00 2001 From: "13621160019@163.com" <13621160019@163.com> Date: Fri, 23 Apr 2021 11:28:14 +0800 Subject: [PATCH] updated changelog and set version number to 1.1.2 --- CHANGELOG.md | 73 +++++++++++++++++++++++++++- admin/app/api.js | 4 +- admin/views/common/footer-login.html | 2 +- admin/views/common/footer.html | 2 +- database/myems_system_db.sql | 2 +- database/upgrade1.1.2.sql | 3 ++ myems-api/core/version.py | 4 +- web/package.json | 2 +- web/src/config.js | 2 +- 9 files changed, 84 insertions(+), 10 deletions(-) create mode 100644 database/upgrade1.1.2.sql diff --git a/CHANGELOG.md b/CHANGELOG.md index 85f659c7..44bf62f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,76 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Removed - None. +## [v1.1.2] - 2021-04-23 +### Added +- added assoicated parameters data to excel exporter of shopfloorstatistics in API +- added associated parameters data to excel exporter of shopfloorsaving in API +- added associated parameters data to excel exporter of shopfloorload in API +- added associated parameters data to excel exporter of shopfloorenergyitem in API +- added associated parameters data to excel exporter of shopfloorenergycategory in API +- added associated parameters data to excel exporter of shopfloorcost in API +- added associated parameters data to excel exporter of storestatistics in API +- added associated parameters data to excel exporter of storesaving in API +- added associated parameters data to excel exporter of storeload in API +- added associated parameters data to storeenergyitem in API +- added associated parameters data to excel exporter of storeenergycategory in API +- added associated parameters data to excel exporter of storecost in API +- added associated parameters data to excel exporter of spacestatistics in API +- added associated parameters data to excel exporter of spacesaving in API +- added associated parameters data to excel exporter of spaceoutput in API +- added associated parameters data to excel exporter of spaceload in API +- added associated parameters data to excel exporter of spaceincome in API +- added associated parameters data to excel exporter of spaceenergyitem in API +- added associated parameters data to excel exporter of spaceenergycategory in API +- added associated parameters data to excel export of spacecost in API +- added associated parameters data to excel exporter of metertrend in API +- added associated parameters data to excel exporter of meterenergy in API +- added associated parameters data to excel exporter of metersubmetersbalance in API +- added parameters data to excel exporter of metercost in API +- added associated parameters data to excel exporter of tenantstatistics in API +- added associated paramters data to excel exporter of tenantsaving in API +- added associated paramters data to excel exporter of tenantload in API +- added associated paramters data to excel exporter of tenantenergyitem in API +- added associated parameters data to excel exporter of tenantenergycategory in API +- added associated parameters data to excel exporter of tenantcost in API +- added associated parameters data to excel exporter of combinedequipmentstatistics in API +- added associated paramters data to combinedequipmentsaving in API +- added associated parameters data to combinedequipmentload in API +- added associated parameters data to combinedequipmentoutput in API +- added associated parameters data to combinedequipmentincome in API +- added associated parameters data to combinedequipmentenergyitem in API +- added associated parameters data to combinedequipmentenergycategory in API +- added associated parameters data to combinedequipmentcost in API +- added quickmode to HTTP request parameters of MeterTrend report in API +- added paramter data to excel exporter of EquipmentStatistics in API +- added parameter data to excel exporter of EquipmentSaving in API +- added paramter data to excel exporter of EquipmentOutput in API +- added parameter data to excel exporter of EquipmentLoad in API +- added paramters data to excel exporter of EquipmentEnergyItem in API +- added parameters data to excel exporter of EquipmentEnergyCategory in API + +### Changed +- updated README +- updated excel exporter of metersubmetersbalance in API +- updated excel exporter of meterenergy in API +- updated excel exporter of metercost in API +- updated panel width and height of costcenter in Admin UI +- updated panel width and height of combinedequipment view in Admin UI +- updated panel width and height of equipment view in Admin UI +- changed query form column width from auto to xs={6} sm={3} in Web UI + +### Fixed +- fixed issues in excel exporters of combinedequipment in API +- added parameters validator to statistics_hourly_data_by_period in API +- added code to validate parameters of averaging_hourly_data_by_period in API +- fixed issue in excel exporter of equipmentincome in API +- fixed unit issue in CombinedEquipmentCost report in API + + +### Removed +- deleted slim-scroll from and added maxheight to panel of views in Admin UI + + ## [v1.1.1] - 2021-03-31 ### Added - added associated equipment data to CombinedEquipmentCost report in API @@ -157,7 +227,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Removed - None. -[Unreleased]: https://github.com/MyEMS/myems/compare/v1.1.0...HEAD +[Unreleased]: https://github.com/MyEMS/myems/compare/v1.1.2...HEAD +[v1.1.2]: https://github.com/MyEMS/myems/compare/v1.1.1...v1.1.2 [v1.1.1]: https://github.com/MyEMS/myems/compare/v1.1.0...v1.1.1 [v1.0.8]: https://github.com/MyEMS/myems/compare/v1.0.8...v1.1.0 [v1.0.8]: https://github.com/MyEMS/myems/compare/v1.0.7...v1.0.8 diff --git a/admin/app/api.js b/admin/app/api.js index 89aa9e28..2e928445 100644 --- a/admin/app/api.js +++ b/admin/app/api.js @@ -1,6 +1,6 @@ //Switch Classes Function function getAPI(){ - //return "http://127.0.0.1:8000/"; + return "http://127.0.0.1:8000/"; // to avoid CORS issue, use Nginx to proxy myems-api to path /api with the same ip and port as myems-web - return window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/api/"; + //return window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/api/"; } diff --git a/admin/views/common/footer-login.html b/admin/views/common/footer-login.html index 52ee27ab..d2d24904 100644 --- a/admin/views/common/footer-login.html +++ b/admin/views/common/footer-login.html @@ -1,5 +1,5 @@
diff --git a/admin/views/common/footer.html b/admin/views/common/footer.html index eca7f5fa..46dd5b4c 100644 --- a/admin/views/common/footer.html +++ b/admin/views/common/footer.html @@ -3,6 +3,6 @@ https://myems.io