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
@@ -3,6 +3,7 @@
3
3
  ---
4
4
 
5
5
  ## 更新日志
6
+ - 1.0.22:流程列表批量办理按钮增加配置项可控制隐藏
6
7
  - 1.0.22:修改流程列表统一待办和搜索
7
8
  - 1.0.21:修改流程列表统一待办
8
9
  - 1.0.20:修改推送打开作废流程提示
@@ -102,6 +102,7 @@ var HBox = _Boxs2.default.HBox,
102
102
  var ButtonGroup = _Button2.default.ButtonGroup;
103
103
  //import UserInfo from '../approval-details/UserInfo';
104
104
 
105
+ var extFile = "";
105
106
  var ActionSheetButton = void 0;
106
107
  var iconIndex = 0;
107
108
  var searchVal = '';
@@ -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
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",