fmui-base 2.1.75 → 2.1.76
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/table.js +11 -11
- package/lib/selectMember/select.js +15 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/form/table.js
CHANGED
|
@@ -57,8 +57,6 @@ var _db2 = _interopRequireDefault(_db);
|
|
|
57
57
|
|
|
58
58
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
59
59
|
|
|
60
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
61
|
-
|
|
62
60
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
63
61
|
|
|
64
62
|
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
@@ -1732,8 +1730,7 @@ var PageHome = function (_React$Component) {
|
|
|
1732
1730
|
}, {
|
|
1733
1731
|
key: 'render',
|
|
1734
1732
|
value: function render() {
|
|
1735
|
-
var _this2 = this
|
|
1736
|
-
_React$createElement;
|
|
1733
|
+
var _this2 = this;
|
|
1737
1734
|
|
|
1738
1735
|
var t = this;
|
|
1739
1736
|
var allForm = this.props.allForm;
|
|
@@ -1870,18 +1867,21 @@ var PageHome = function (_React$Component) {
|
|
|
1870
1867
|
_react2.default.createElement(
|
|
1871
1868
|
'div',
|
|
1872
1869
|
{ className: t.props.commentUpload == '1' ? "" : "t-DN" },
|
|
1873
|
-
_react2.default.createElement(_upload2.default,
|
|
1870
|
+
_react2.default.createElement(_upload2.default, {
|
|
1874
1871
|
ref: "upload_default",
|
|
1875
1872
|
canAdd: true,
|
|
1876
1873
|
dir: this.state.module,
|
|
1877
1874
|
fileSizeLimit: 0,
|
|
1878
1875
|
canDel: true,
|
|
1879
|
-
limitNo: 5
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1876
|
+
limitNo: 5,
|
|
1877
|
+
initList: this.state.commentInitList,
|
|
1878
|
+
onChange: function onChange(value, isInit) {
|
|
1879
|
+
_this2.changeSpyj4(_this2, value);
|
|
1880
|
+
},
|
|
1881
|
+
onDel: function onDel(value) {
|
|
1882
|
+
t.changeSpyj4(_this2, value);
|
|
1883
|
+
}
|
|
1884
|
+
})
|
|
1885
1885
|
),
|
|
1886
1886
|
_react2.default.createElement(_CheckboxField2.default, {
|
|
1887
1887
|
className: this.state.hasCommentField == '1' ? "" : "t-DN",
|
|
@@ -493,7 +493,9 @@ var Page = function (_React$Component) {
|
|
|
493
493
|
selectGroups = [],
|
|
494
494
|
selectPersonalGroups = [],
|
|
495
495
|
selectDutys = [],
|
|
496
|
-
selectPoliticalOutlooks = []
|
|
496
|
+
selectPoliticalOutlooks = [],
|
|
497
|
+
selectExts = [];
|
|
498
|
+
var type = "";
|
|
497
499
|
for (var i = 0; i < scopeLists.length; i++) {
|
|
498
500
|
var scope = scopeLists[i];
|
|
499
501
|
if (defaultList != null) {
|
|
@@ -549,6 +551,14 @@ var Page = function (_React$Component) {
|
|
|
549
551
|
"politicalOutlookName": scope.scopeName
|
|
550
552
|
};
|
|
551
553
|
selectPoliticalOutlooks.push(politicalOutlook);
|
|
554
|
+
} else {
|
|
555
|
+
type = scope.scopeType;
|
|
556
|
+
var typeName = type + "Name";
|
|
557
|
+
var typeJson = {
|
|
558
|
+
"id": scope.scopeValue,
|
|
559
|
+
typeName: scope.scopeName
|
|
560
|
+
};
|
|
561
|
+
selectExts.push(typeJson);
|
|
552
562
|
}
|
|
553
563
|
}
|
|
554
564
|
selectedList.selectUsers = selectUsers;
|
|
@@ -559,6 +569,9 @@ var Page = function (_React$Component) {
|
|
|
559
569
|
selectedList.selectPersonalGroups = selectPersonalGroups;
|
|
560
570
|
selectedList.selectDutys = selectDutys;
|
|
561
571
|
selectedList.selectPoliticalOutlooks = selectPoliticalOutlooks;
|
|
572
|
+
if (type != "" && selectExts && selectExts.length > 0) {
|
|
573
|
+
selectedList["select" + type + "s"] = selectExts;
|
|
574
|
+
}
|
|
562
575
|
return selectedList;
|
|
563
576
|
}
|
|
564
577
|
|
|
@@ -6261,6 +6274,7 @@ var Page = function (_React$Component) {
|
|
|
6261
6274
|
}, {
|
|
6262
6275
|
key: 'handleTabChange',
|
|
6263
6276
|
value: function handleTabChange(obj) {
|
|
6277
|
+
console.log("popuser===handleTabChange===");
|
|
6264
6278
|
var isShowNav = false;
|
|
6265
6279
|
var isShowCheckAll = false;
|
|
6266
6280
|
var checkType = this.props.checkType;
|