fmui-base 2.0.69 → 2.0.70
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 +1 -0
- package/lib/react_grid/react_grid.js +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -112,8 +112,9 @@ var MyGrid = function (_React$Component) {
|
|
|
112
112
|
} else if (item.portletCode == 'image') {
|
|
113
113
|
_this.setState(_defineProperty({}, item.portletCode + '_' + item.id, JSON.parse(item.personalSetting)));
|
|
114
114
|
} else if (item.portletCode == 'cyyy') {
|
|
115
|
+
var cyyyCols = JSON.parse(item.personalSetting).cols;
|
|
115
116
|
t.getShoucangAppInfo(item.id);
|
|
116
|
-
t.getOftenList(item.id);
|
|
117
|
+
t.getOftenList(item.id, cyyyCols);
|
|
117
118
|
_this.getRemindCount();
|
|
118
119
|
} else if (item.portletCode !== 'tbgl') {
|
|
119
120
|
var _params = {
|
|
@@ -161,10 +162,10 @@ var MyGrid = function (_React$Component) {
|
|
|
161
162
|
}).catch(function (error) {});
|
|
162
163
|
};
|
|
163
164
|
|
|
164
|
-
_this.getOftenList = function (id) {
|
|
165
|
+
_this.getOftenList = function (id, cyyyCols) {
|
|
165
166
|
var data = getLoginUserInfo();
|
|
166
167
|
var thirdMenuType = data.thirdMenuType;
|
|
167
|
-
var params = { code: "cyyy" };
|
|
168
|
+
var params = { code: "cyyy", cols: cyyyCols };
|
|
168
169
|
if (thirdMenuType == null || thirdMenuType == 'null' || thirdMenuType == undefined || thirdMenuType == 'undefined') {
|
|
169
170
|
thirdMenuType = 'DING';
|
|
170
171
|
}
|