mooho-base-admin-plus 2.4.50 → 2.4.52
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/history.md +2 -0
- package/package/mooho-base-admin-plus.min.esm.js +10 -10
- package/package/mooho-base-admin-plus.min.js +3 -3
- package/package.json +1 -1
- package/src/api/customModel.js +3 -3
- package/src/api/dataSource.js +3 -3
- package/src/api/model.js +3 -3
- package/src/components/view/view-form.vue +1 -1
package/history.md
CHANGED
|
@@ -82,3 +82,5 @@ mooho-base-admin-plus@2.4.47 - 多选可筛选选择框清空内容不重新刷
|
|
|
82
82
|
mooho-base-admin-plus@2.4.48 - 修复弹出选择框多加载一次的bug
|
|
83
83
|
mooho-base-admin-plus@2.4.49 - 筛选条件增加了日期范围控件支持
|
|
84
84
|
mooho-base-admin-plus@2.4.50 - 静态选项增加bool类型支持,优化表格中的静态选项支持
|
|
85
|
+
mooho-base-admin-plus@2.4.51 - 静态选项bool类型取消false的默认值
|
|
86
|
+
mooho-base-admin-plus@2.4.52 - 导出可选其他视图
|
|
@@ -14691,7 +14691,7 @@ var modelApi = {
|
|
|
14691
14691
|
...filter2,
|
|
14692
14692
|
per: 1e5,
|
|
14693
14693
|
returnType: 1,
|
|
14694
|
-
viewCode: tableView2.code
|
|
14694
|
+
viewCode: !!(tableView2.exportDataViewCode || "").trim() ? tableView2.exportDataViewCode : tableView2.code
|
|
14695
14695
|
};
|
|
14696
14696
|
let result2;
|
|
14697
14697
|
if (tableView2.isGroupBy) {
|
|
@@ -14730,7 +14730,7 @@ var modelApi = {
|
|
|
14730
14730
|
...filter2,
|
|
14731
14731
|
per: 1e5,
|
|
14732
14732
|
returnType: 3,
|
|
14733
|
-
viewCode: tableView2.code
|
|
14733
|
+
viewCode: !!(tableView2.exportDataViewCode || "").trim() ? tableView2.exportDataViewCode : tableView2.code
|
|
14734
14734
|
};
|
|
14735
14735
|
let result2;
|
|
14736
14736
|
if (tableView2.isGroupBy) {
|
|
@@ -14773,7 +14773,7 @@ var modelApi = {
|
|
|
14773
14773
|
...filter2,
|
|
14774
14774
|
per: 1e3,
|
|
14775
14775
|
returnType: 2,
|
|
14776
|
-
viewCode: tableView2.code
|
|
14776
|
+
viewCode: !!(tableView2.exportDataViewCode || "").trim() ? tableView2.exportDataViewCode : tableView2.code
|
|
14777
14777
|
};
|
|
14778
14778
|
let result2;
|
|
14779
14779
|
if (tableView2.isGroupBy) {
|
|
@@ -22676,7 +22676,7 @@ var customModelApi = {
|
|
|
22676
22676
|
modelName: tableView2.model,
|
|
22677
22677
|
per: 1e5,
|
|
22678
22678
|
returnType: 1,
|
|
22679
|
-
viewCode: tableView2.code
|
|
22679
|
+
viewCode: !!(tableView2.exportDataViewCode || "").trim() ? tableView2.exportDataViewCode : tableView2.code
|
|
22680
22680
|
};
|
|
22681
22681
|
let result2;
|
|
22682
22682
|
if (tableView2.isGroupBy) {
|
|
@@ -22707,7 +22707,7 @@ var customModelApi = {
|
|
|
22707
22707
|
modelName: tableView2.model,
|
|
22708
22708
|
per: 1e5,
|
|
22709
22709
|
returnType: 3,
|
|
22710
|
-
viewCode: tableView2.code
|
|
22710
|
+
viewCode: !!(tableView2.exportDataViewCode || "").trim() ? tableView2.exportDataViewCode : tableView2.code
|
|
22711
22711
|
};
|
|
22712
22712
|
let result2;
|
|
22713
22713
|
if (tableView2.isGroupBy) {
|
|
@@ -22737,7 +22737,7 @@ var customModelApi = {
|
|
|
22737
22737
|
modelName: tableView2.model,
|
|
22738
22738
|
per: 1e3,
|
|
22739
22739
|
returnType: 2,
|
|
22740
|
-
viewCode: tableView2.code
|
|
22740
|
+
viewCode: !!(tableView2.exportDataViewCode || "").trim() ? tableView2.exportDataViewCode : tableView2.code
|
|
22741
22741
|
};
|
|
22742
22742
|
let result2;
|
|
22743
22743
|
if (tableView2.isGroupBy) {
|
|
@@ -22957,7 +22957,7 @@ var dataSourceApi = {
|
|
|
22957
22957
|
...filter2,
|
|
22958
22958
|
per: 1e5,
|
|
22959
22959
|
returnType: 1,
|
|
22960
|
-
viewCode: tableView2.code,
|
|
22960
|
+
viewCode: !!(tableView2.exportDataViewCode || "").trim() ? tableView2.exportDataViewCode : tableView2.code,
|
|
22961
22961
|
dataSource: tableView2.dataSource
|
|
22962
22962
|
};
|
|
22963
22963
|
const result2 = await service({
|
|
@@ -22976,7 +22976,7 @@ var dataSourceApi = {
|
|
|
22976
22976
|
...filter2,
|
|
22977
22977
|
per: 1e5,
|
|
22978
22978
|
returnType: 3,
|
|
22979
|
-
viewCode: tableView2.code,
|
|
22979
|
+
viewCode: !!(tableView2.exportDataViewCode || "").trim() ? tableView2.exportDataViewCode : tableView2.code,
|
|
22980
22980
|
dataSource: tableView2.dataSource
|
|
22981
22981
|
};
|
|
22982
22982
|
const result2 = await service({
|
|
@@ -22994,7 +22994,7 @@ var dataSourceApi = {
|
|
|
22994
22994
|
...filter2,
|
|
22995
22995
|
per: 1e3,
|
|
22996
22996
|
returnType: 2,
|
|
22997
|
-
viewCode: tableView2.code,
|
|
22997
|
+
viewCode: !!(tableView2.exportDataViewCode || "").trim() ? tableView2.exportDataViewCode : tableView2.code,
|
|
22998
22998
|
dataSource: tableView2.dataSource
|
|
22999
22999
|
};
|
|
23000
23000
|
const result2 = await service({
|
|
@@ -40716,7 +40716,7 @@ const _sfc_main$$ = {
|
|
|
40716
40716
|
}
|
|
40717
40717
|
}
|
|
40718
40718
|
} else {
|
|
40719
|
-
if (item.dataType === "Boolean") {
|
|
40719
|
+
if ((item.controlType == "Check" || item.controlType == "Switch") && item.dataType === "Boolean") {
|
|
40720
40720
|
this.setData(data2, item.code, false);
|
|
40721
40721
|
} else {
|
|
40722
40722
|
this.setData(data2, item.code, null);
|