fmui-base 2.1.83 → 2.1.84

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
  ---npm publish
4
4
 
5
5
  ## 更新日志
6
+ - 2.1.84:子表扩展方法增加扩展参数
6
7
  - 2.1.83:相关对象移动端审批后会被置空
7
8
  - 2.1.82:月日时间类型显示
8
9
  - 2.1.81:关联字段隐藏冲突处理
@@ -760,7 +760,7 @@ var PageHome = function (_React$Component) {
760
760
  console.log("getDetaiExtOperate===");
761
761
  var subForm = this.state.itemParam.subForm;
762
762
  var extButtonList = this.state.itemParam.extButtonList;
763
- // extButtonList = [{'buttonName':'扩展1','buttonFun':'kuozhan1'},{'buttonName':'扩展3','buttonFun':'kuozhan3'}];
763
+ // extButtonList = [{'buttonName':'扩展1','buttonFun':'kuozhan1'},{'buttonName':'扩展3','buttonFun':'kuozhan3','extParam':'{}'}];
764
764
  if (!extButtonList) {
765
765
  extButtonList = [];
766
766
  }
@@ -771,7 +771,7 @@ var PageHome = function (_React$Component) {
771
771
  { className: 'dd-drug-list' },
772
772
  _react2.default.createElement(
773
773
  Box,
774
- { 'data-key': i, onClick: _this3.extOperate.bind(_this3, index, _this3.state.itemParam, item.buttonFun), className: 't-P16 theme-color' },
774
+ { 'data-key': i, onClick: _this3.extOperate.bind(_this3, index, _this3.state.itemParam, item.buttonFun, item.extParam), className: 't-P16 theme-color' },
775
775
  item.buttonName
776
776
  )
777
777
  );
@@ -782,9 +782,9 @@ var PageHome = function (_React$Component) {
782
782
 
783
783
  }, {
784
784
  key: 'extOperate',
785
- value: function extOperate(i, itemParam, buttonFun) {
785
+ value: function extOperate(i, itemParam, buttonFun, extParam) {
786
786
  if (typeof FlowCommon.subFormItemExtOperate === "function") {
787
- FlowCommon.subFormItemExtOperate(this.state, i, itemParam, buttonFun, this);
787
+ FlowCommon.subFormItemExtOperate(this.state, i, itemParam, buttonFun, extParam, this);
788
788
  }
789
789
  }
790
790
  }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.1.83",
3
+ "version": "2.1.84",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",