fmui-base 2.1.0-beta.5 → 2.1.0-beta.6
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/form/form.js +1 -4
- package/lib/process_info/processInfo.js +1 -1
- package/lib/selectMember/select.js +8 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/form/form.js
CHANGED
|
@@ -57,10 +57,6 @@ var _Field = require('saltui/lib/Field');
|
|
|
57
57
|
|
|
58
58
|
var _Field2 = _interopRequireDefault(_Field);
|
|
59
59
|
|
|
60
|
-
var _FoldablePane = require('saltui/lib/FoldablePane');
|
|
61
|
-
|
|
62
|
-
var _FoldablePane2 = _interopRequireDefault(_FoldablePane);
|
|
63
|
-
|
|
64
60
|
var _AngleRight = require('salt-icon/lib/AngleRight');
|
|
65
61
|
|
|
66
62
|
var _AngleRight2 = _interopRequireDefault(_AngleRight);
|
|
@@ -98,6 +94,7 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
|
98
94
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
99
95
|
|
|
100
96
|
_Field2.default;
|
|
97
|
+
// import FoldablePane from 'saltui/lib/FoldablePane';
|
|
101
98
|
// import Slot from 'saltui/lib/Slot';
|
|
102
99
|
|
|
103
100
|
// import SelectFileNo from '../select-fileno/pageHome';
|
|
@@ -6439,7 +6439,7 @@ var PageHome = function (_React$Component) {
|
|
|
6439
6439
|
item.name
|
|
6440
6440
|
) : _react2.default.createElement(
|
|
6441
6441
|
_Button2.default,
|
|
6442
|
-
{ type: item.type, code: item.buttonCode, display: item.display, onClick: t.handleSubmit.bind(t, item.no) },
|
|
6442
|
+
{ type: item.type, className: item.name == '保存草稿' ? 'button_save' : '', code: item.buttonCode, display: item.display, onClick: t.handleSubmit.bind(t, item.no) },
|
|
6443
6443
|
item.name
|
|
6444
6444
|
);
|
|
6445
6445
|
}.bind(this))
|
|
@@ -3290,7 +3290,14 @@ var Page = function (_React$Component) {
|
|
|
3290
3290
|
});
|
|
3291
3291
|
} else if ("orgUser" == type) {
|
|
3292
3292
|
var orgUserList = t.state.orgUserList;
|
|
3293
|
-
orgUserList[index].checked = !orgUserList[index].checked;
|
|
3293
|
+
// orgUserList[index].checked = !orgUserList[index].checked;
|
|
3294
|
+
|
|
3295
|
+
var checkUserId = orgUserList[index].id;
|
|
3296
|
+
orgUserList.map(function (orgUserListItem) {
|
|
3297
|
+
if (orgUserListItem.id == checkUserId) {
|
|
3298
|
+
orgUserListItem.checked = !orgUserListItem.checked;
|
|
3299
|
+
}
|
|
3300
|
+
});
|
|
3294
3301
|
var total = t.state.total;
|
|
3295
3302
|
var selectOrgUserNum = t.state.selectOrgUserNum; //当前组织下选中的用户数量
|
|
3296
3303
|
var selectUsers = selectedList.selectUsers;
|