|
@@ -454,7 +454,7 @@ export default {
|
|
|
handler(curVal, oldVal) {
|
|
handler(curVal, oldVal) {
|
|
|
var _self = this;
|
|
var _self = this;
|
|
|
this.tabButtonsShowLogical();
|
|
this.tabButtonsShowLogical();
|
|
|
- // this.reportViewsShowLogical();
|
|
|
|
|
|
|
+ this.reportViewsShowLogical();
|
|
|
if (_self.autoSaveInterval != null) {
|
|
if (_self.autoSaveInterval != null) {
|
|
|
clearInterval(_self.autoSaveInterval);
|
|
clearInterval(_self.autoSaveInterval);
|
|
|
_self.autoSaveInterval = null;
|
|
_self.autoSaveInterval = null;
|
|
@@ -464,6 +464,13 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 显示界面发生改变的时候,重新执行显示逻辑
|
|
|
|
|
+ */
|
|
|
|
|
+ windowDisplayType: function(newValue, oldValue){
|
|
|
|
|
+ this.tabButtonsShowLogical();
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
beforeCreate: function () {
|
|
beforeCreate: function () {
|
|
@@ -1076,6 +1083,13 @@ export default {
|
|
|
*/
|
|
*/
|
|
|
reportViewsShowLogical: function () {
|
|
reportViewsShowLogical: function () {
|
|
|
var _self = this;
|
|
var _self = this;
|
|
|
|
|
+
|
|
|
|
|
+ if(_self.windowDisplayType != 'Report'){
|
|
|
|
|
+ // add by jack 2023-12-05
|
|
|
|
|
+ // 如果不处于报表界面,那么不执行下述业务逻辑
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
if (
|
|
if (
|
|
|
_self.window.reportViewDto != null &&
|
|
_self.window.reportViewDto != null &&
|
|
|
_self.window.reportViewDto.reportViewItemDtos != null
|
|
_self.window.reportViewDto.reportViewItemDtos != null
|