fmui-base 2.3.10 → 2.3.12
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/README.md +2 -0
- package/lib/form/subForm.js +3 -0
- package/lib/react_grid/react_grid.js +10 -2
- package/lib/selectMember/select.js +9 -9
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/form/subForm.js
CHANGED
|
@@ -1111,6 +1111,9 @@ var PageHome = function (_React$Component) {
|
|
|
1111
1111
|
if (!extButtonList) {
|
|
1112
1112
|
extButtonList = [];
|
|
1113
1113
|
}
|
|
1114
|
+
if (subForm && subForm[index] && subForm[index].extButtonList) {
|
|
1115
|
+
extButtonList = subForm[index].extButtonList;
|
|
1116
|
+
}
|
|
1114
1117
|
|
|
1115
1118
|
return extButtonList.map(function (item, i) {
|
|
1116
1119
|
return _react2.default.createElement(
|
|
@@ -829,9 +829,17 @@ var MyGrid = function (_React$Component) {
|
|
|
829
829
|
null,
|
|
830
830
|
_react2.default.createElement('img', { className: 'nodata t-PL10 t-PR10', src: '../../../fmui/images/home/nodata.png' })
|
|
831
831
|
)
|
|
832
|
+
),
|
|
833
|
+
_react2.default.createElement(
|
|
834
|
+
_Tab2.default.Item,
|
|
835
|
+
{ title: _react2.default.createElement(
|
|
836
|
+
'div',
|
|
837
|
+
{ style: { color: styleSetting.titleSet.titleColor, fontWeight: styleSetting.titleSet.titleWeight == 1 ? 700 : '', fontSize: styleSetting.titleSet.titleSize } },
|
|
838
|
+
t.props.cyyyPlusTitle ? t.props.cyyyPlusTitle : ''
|
|
839
|
+
) },
|
|
840
|
+
t.props.cyyyPlusContent ? t.props.cyyyPlusContent : ''
|
|
832
841
|
)
|
|
833
|
-
)
|
|
834
|
-
t.props.extendedContent ? t.props.extendedContent : ''
|
|
842
|
+
)
|
|
835
843
|
);
|
|
836
844
|
}
|
|
837
845
|
if (item.portletCode === 'bssx') {
|
|
@@ -5826,7 +5826,7 @@ var Page = function (_React$Component) {
|
|
|
5826
5826
|
}
|
|
5827
5827
|
}
|
|
5828
5828
|
|
|
5829
|
-
// 根据 commonUsedData
|
|
5829
|
+
// 根据 commonUsedData 实际选中状态同步全选(仿照 roleCheckAll 逻辑)
|
|
5830
5830
|
|
|
5831
5831
|
}, {
|
|
5832
5832
|
key: 'syncCommonCheckState',
|
|
@@ -5944,10 +5944,10 @@ var Page = function (_React$Component) {
|
|
|
5944
5944
|
commonTreeData.push(data);
|
|
5945
5945
|
}
|
|
5946
5946
|
}
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5947
|
+
t.commonDataChecked(commonUsedData);
|
|
5948
|
+
var commonCheckState = t.syncCommonCheckState(commonUsedData);
|
|
5949
|
+
selectCommonNum = commonCheckState.selectCommonNum;
|
|
5950
|
+
commonCheckAll = commonCheckState.commonCheckAll;
|
|
5951
5951
|
}
|
|
5952
5952
|
|
|
5953
5953
|
if (commonUsedDataSearch != null && commonUsedDataSearch != undefined && commonUsedDataSearch.length > 0) {
|
|
@@ -6528,15 +6528,15 @@ var Page = function (_React$Component) {
|
|
|
6528
6528
|
var t = this;
|
|
6529
6529
|
var chooseType = this.getChooseType();
|
|
6530
6530
|
if (obj.activeKey == "common") {
|
|
6531
|
+
var isShowCheckAll = true;
|
|
6532
|
+
if (checkType == "radio") {
|
|
6533
|
+
isShowCheckAll = false;
|
|
6534
|
+
}
|
|
6531
6535
|
var commonUsedData = t.state.commonUsedData;
|
|
6532
6536
|
if (commonUsedData != null && commonUsedData != undefined && commonUsedData.length > 0) {
|
|
6533
6537
|
t.commonDataChecked(commonUsedData);
|
|
6534
6538
|
}
|
|
6535
6539
|
var commonCheckState = t.syncCommonCheckState(commonUsedData);
|
|
6536
|
-
var isShowCheckAll = true;
|
|
6537
|
-
if (checkType == "radio") {
|
|
6538
|
-
isShowCheckAll = false;
|
|
6539
|
-
}
|
|
6540
6540
|
t.setState({
|
|
6541
6541
|
selectCommonNum: commonCheckState.selectCommonNum,
|
|
6542
6542
|
isShowCheckAll: isShowCheckAll,
|