agilebuilder-ui 1.1.4-temp4 → 1.1.4-temp5
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
|
@@ -410,6 +410,9 @@ export default {
|
|
|
410
410
|
pageContext = this.options.pageContext
|
|
411
411
|
}
|
|
412
412
|
const isMobile = isMobileBrowser()
|
|
413
|
+
if (this.options.checkStrictly) {
|
|
414
|
+
checkStrictly = true
|
|
415
|
+
}
|
|
413
416
|
return {
|
|
414
417
|
isLoading: false,
|
|
415
418
|
currentPage: 1,
|
|
@@ -433,6 +436,7 @@ export default {
|
|
|
433
436
|
timer2: null,
|
|
434
437
|
isSql: false, // 是否是sql查询
|
|
435
438
|
parentProp, // 树状结构数据时,父字段名,默认是id
|
|
439
|
+
checkStrictly,
|
|
436
440
|
hasLoadData: false,
|
|
437
441
|
mergeFields,
|
|
438
442
|
newWidth: null,
|
|
@@ -2168,10 +2172,10 @@ export default {
|
|
|
2168
2172
|
// 表示更改了排序信息
|
|
2169
2173
|
searchParam.sorts = this.sortInfo
|
|
2170
2174
|
}
|
|
2171
|
-
if (!searchParam.sorts) {
|
|
2172
|
-
searchParam.sorts = []
|
|
2173
|
-
}
|
|
2174
2175
|
if (this.mergeFields && this.mergeFields.length > 0) {
|
|
2176
|
+
if (!searchParam.sorts) {
|
|
2177
|
+
searchParam.sorts = []
|
|
2178
|
+
}
|
|
2175
2179
|
const mergeFieldsArr = []
|
|
2176
2180
|
for (const mergeField of this.mergeFields) {
|
|
2177
2181
|
let flag = true
|
|
@@ -2191,10 +2195,6 @@ export default {
|
|
|
2191
2195
|
mergeFieldsArr.push(...searchParam.sorts)
|
|
2192
2196
|
searchParam.sorts = mergeFieldsArr
|
|
2193
2197
|
}
|
|
2194
|
-
debugger
|
|
2195
|
-
if (gridParams.options.initSortInfo) {
|
|
2196
|
-
searchParam.sorts.push(gridParams.options.initSortInfo)
|
|
2197
|
-
}
|
|
2198
2198
|
// 是否有初始过滤条件
|
|
2199
2199
|
if (gridParams.options && typeof gridParams.options.initSearchForm !== 'undefined') {
|
|
2200
2200
|
searchParam.initSearchForm = gridParams.options.initSearchForm
|
|
@@ -2980,6 +2980,9 @@ export default {
|
|
|
2980
2980
|
}
|
|
2981
2981
|
treeProps.hasChildren = hasChildren
|
|
2982
2982
|
}
|
|
2983
|
+
if (this.checkStrictly) {
|
|
2984
|
+
treeProps.checkStrictly = true
|
|
2985
|
+
}
|
|
2983
2986
|
return treeProps
|
|
2984
2987
|
},
|
|
2985
2988
|
refreshSubTableData(data) {
|