@flexem/fc-gui 3.0.0-alpha.75 → 3.0.0-alpha.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -329,4 +329,14 @@
329
329
  ## 3.0.0-alpha.75(2023-03-27)
330
330
  ### Web端
331
331
  #### Bug Fix
332
- 1. FLEXCLOUD-2535 【app】分页器与表格分离
332
+ 1. FLEXCLOUD-2547 【氚云 20230325001177】运营仪表盘中添加设备的组态,如果设备组态有视频监控的话,放大缩小组态界面后。组态里面的视频画面显示有问题
333
+
334
+ ## 3.0.0-alpha.76(2023-03-27)
335
+ ### Web端
336
+ #### Bug Fix
337
+ 1. 把视频组件中的视频,改成拉伸显示
338
+
339
+ ## 3.0.0-alpha.77(2023-04-06)
340
+ ### Web端
341
+ #### Bug Fix
342
+ 1. FLEXCLOUD-2523 【报警表】模拟告警表元件画面应与历史曲线元件保持一致
@@ -39500,6 +39500,7 @@ class video_element_VideoElement extends conditional_display_element_Conditional
39500
39500
  .attr('height', this.model.size.height)
39501
39501
  .append('xhtml:video')
39502
39502
  .attr('id', this.videoId)
39503
+ .attr('class', 'element-video')
39503
39504
  .attr('scareX', this.model.location.x / this.guiSize.width)
39504
39505
  .attr('scareY', this.model.location.y / this.guiSize.height)
39505
39506
  .attr('src', videoUrl)
@@ -40063,6 +40064,7 @@ class alarm_element_AlarmElement extends conditional_display_element_Conditional
40063
40064
  this.variableCommunicator = variableCommunicator;
40064
40065
  this.timePeriods = this.getValidTimePeriods();
40065
40066
  this.pageSize = this.model.generalSetting.pageSize;
40067
+ localStorage.setItem('simulate-time', moment().valueOf() + '');
40066
40068
  if (this.model.filterSetting) {
40067
40069
  this.alarmNames = this.model.filterSetting.detailsData.map(item => item.name);
40068
40070
  this.currentTimePeriod = (_a = this.model.filterSetting) === null || _a === void 0 ? void 0 : _a.displayPeriod;
@@ -40316,8 +40318,10 @@ class alarm_element_AlarmElement extends conditional_display_element_Conditional
40316
40318
  }
40317
40319
  }
40318
40320
  loadFirstPage() {
40319
- this.page = 0;
40320
- this.init();
40321
+ if (this.page > 0) {
40322
+ this.page = 0;
40323
+ this.init();
40324
+ }
40321
40325
  }
40322
40326
  loadNextPage() {
40323
40327
  let last_page = Math.ceil(this.totalCount / this.pageSize);
@@ -40325,21 +40329,23 @@ class alarm_element_AlarmElement extends conditional_display_element_Conditional
40325
40329
  last_page--;
40326
40330
  if (this.page < last_page) {
40327
40331
  this.page++;
40332
+ this.init();
40328
40333
  }
40329
- this.init();
40330
40334
  }
40331
40335
  loadPreviousPage() {
40332
40336
  if (this.page > 0) {
40333
40337
  this.page--;
40338
+ this.init();
40334
40339
  }
40335
- this.init();
40336
40340
  }
40337
40341
  loadLastPage() {
40338
40342
  let last_page = Math.ceil(this.totalCount / this.pageSize);
40339
40343
  if (last_page)
40340
40344
  last_page--;
40341
- this.page = last_page;
40342
- this.init();
40345
+ if (this.page !== last_page) {
40346
+ this.page = last_page;
40347
+ this.init();
40348
+ }
40343
40349
  }
40344
40350
  }
40345
40351