fmui-base 1.0.22 → 1.0.23
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
CHANGED
|
@@ -403,6 +403,7 @@ var PageHome = function (_React$Component2) {
|
|
|
403
403
|
var activeIndex = props.activeIndex ? props.activeIndex : 0;
|
|
404
404
|
var module = props.module ? props.module : "approve";
|
|
405
405
|
var type = props.type ? props.type : "self"; //self:本应用,all:全模块
|
|
406
|
+
var hasBatch = eval(props.hasBatch ? props.hasBatch : "true"); //是否有批量办理
|
|
406
407
|
var tabCodes = props.tabCodes ? props.tabCodes : "undo,unread,done,read,myself"; //标签页
|
|
407
408
|
var searchVal = props.search;
|
|
408
409
|
|
|
@@ -464,7 +465,8 @@ var PageHome = function (_React$Component2) {
|
|
|
464
465
|
unreadListUrl: unreadListUrl,
|
|
465
466
|
doneListUrl: doneListUrl,
|
|
466
467
|
readListUrl: readListUrl,
|
|
467
|
-
myselfListUrl: myselfListUrl
|
|
468
|
+
myselfListUrl: myselfListUrl,
|
|
469
|
+
hasBatch: hasBatch
|
|
468
470
|
};
|
|
469
471
|
|
|
470
472
|
/**
|
|
@@ -1013,7 +1015,7 @@ var PageHome = function (_React$Component2) {
|
|
|
1013
1015
|
),
|
|
1014
1016
|
_react2.default.createElement(
|
|
1015
1017
|
Box,
|
|
1016
|
-
{ className: this.state.isBatch ? "t-FCc t-PR16" : "t-FCddblue t-PR16", onClick: this.clickBatch.bind(this, this.state.isBatch) },
|
|
1018
|
+
{ className: this.state.hasBatch ? this.state.isBatch ? "t-FCc t-PR16" : "t-FCddblue t-PR16" : "t-DN", onClick: this.clickBatch.bind(this, this.state.isBatch) },
|
|
1017
1019
|
'\u6279\u91CF'
|
|
1018
1020
|
)
|
|
1019
1021
|
),
|
|
@@ -1052,7 +1054,7 @@ var PageHome = function (_React$Component2) {
|
|
|
1052
1054
|
),
|
|
1053
1055
|
_react2.default.createElement(
|
|
1054
1056
|
Box,
|
|
1055
|
-
{ className: this.state.isBatch ? "t-FCc t-PR16" : "t-FCddblue t-PR16", isBatch: this.state.isBatch, onClick: this.clickBatch.bind(this, this.state.isBatch) },
|
|
1057
|
+
{ className: this.state.hasBatch ? this.state.isBatch ? "t-FCc t-PR16" : "t-FCddblue t-PR16" : "t-DN", isBatch: this.state.isBatch, onClick: this.clickBatch.bind(this, this.state.isBatch) },
|
|
1056
1058
|
'\u6279\u91CF'
|
|
1057
1059
|
)
|
|
1058
1060
|
),
|