doway-coms 1.5.4 → 1.5.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "1.5.4",
3
+ "version": "1.5.6",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -1479,6 +1479,12 @@ export default {
1479
1479
  colParams["disableUserVisible"] = originCol.disableUserVisible === true;
1480
1480
  colInfo["params"] = colParams;
1481
1481
  colInfo["params"]["sysOriValue"] = {};
1482
+
1483
+ //是否系统显示还是系统隐藏
1484
+ colParams["sysVisible"] = true
1485
+ if(!originCol.sysVisible){
1486
+ colParams["sysVisible"] = false
1487
+ }
1482
1488
  if (originCol.children) {
1483
1489
  colInfo["children"] = [];
1484
1490
  for (let x = 0; x < originCol.children.length; x++) {
@@ -1756,7 +1762,7 @@ export default {
1756
1762
  );
1757
1763
  this.userDefineColumns = XEUtils.filter(
1758
1764
  tableCollectColumn,
1759
- (p) => !p.children && p.params.disableUserVisible !== true && p.sysVisible===true && p.field !== 'operation'
1765
+ (p) => !p.children && p.params.disableUserVisible !== true && p.params.sysVisible===true && p.field !== 'operation'
1760
1766
  );
1761
1767
  this.showGridColumnUserDefine = true;
1762
1768
  },
@@ -68,7 +68,7 @@ export default new Vuex.Store({
68
68
  sortable: loopField.isSortable,
69
69
  controlType: loopField.controlType,
70
70
  edit:loopField.edit,
71
- sysVisible:!loopField.sysVisible
71
+ sysVisible:!loopField.sysHidden
72
72
  }
73
73
  //页面状态控制
74
74
  if(loopField.editStates){