doway-coms 2.6.3 → 2.6.5
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
|
@@ -1236,7 +1236,7 @@ export default {
|
|
|
1236
1236
|
mounted() {
|
|
1237
1237
|
// 头部筛选条件标签数据
|
|
1238
1238
|
this.tagData = JSON.parse(
|
|
1239
|
-
JSON.stringify(this.$refs.baseGrid.getCheckedFilters())
|
|
1239
|
+
JSON.stringify(XEUtils.filter(this.$refs.baseGrid.getCheckedFilters(),p=>p.column.params.sysVisible!==false))
|
|
1240
1240
|
)
|
|
1241
1241
|
// 默认配置数据
|
|
1242
1242
|
this.defaultPostData = {
|
|
@@ -1247,7 +1247,7 @@ export default {
|
|
|
1247
1247
|
let defaultColumns = this.$refs.baseGrid
|
|
1248
1248
|
.getTableColumn()
|
|
1249
1249
|
.collectColumn.filter(
|
|
1250
|
-
(x) => x.field !== 'operation' && x.field !== undefined
|
|
1250
|
+
(x) => x.field !== 'operation' && x.field !== undefined && x.params.sysVisible!==false
|
|
1251
1251
|
)
|
|
1252
1252
|
defaultColumns.forEach((item, index) => {
|
|
1253
1253
|
let tempData = {
|
|
@@ -2006,7 +2006,7 @@ export default {
|
|
|
2006
2006
|
|
|
2007
2007
|
//是否系统显示还是系统隐藏
|
|
2008
2008
|
colParams['sysVisible'] = true
|
|
2009
|
-
if (
|
|
2009
|
+
if (originCol.sysVisible===false) {
|
|
2010
2010
|
colParams['sysVisible'] = false
|
|
2011
2011
|
}
|
|
2012
2012
|
if (originCol.children) {
|
|
@@ -3128,7 +3128,7 @@ export default {
|
|
|
3128
3128
|
XEUtils.clear(this.filterExpression)
|
|
3129
3129
|
XEUtils.clear(this.filterStr)
|
|
3130
3130
|
XEUtils.arrayEach(columns, (loopColInfo) => {
|
|
3131
|
-
if (!loopColInfo.filters) {
|
|
3131
|
+
if (!loopColInfo.filters || loopColInfo.params.sysVisible===false) {
|
|
3132
3132
|
return
|
|
3133
3133
|
}
|
|
3134
3134
|
if (loopColInfo.filters[0].data.bindingValues.length === 0) {
|