fmui-base 2.2.80 → 2.2.81

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.2.81: 流程办理下一环节是指定办理人未未匹配到人员时,提交后,提醒:“未找到办理人员,不允许提交”
6
7
  - 2.2.80: 流程扫码发起后关闭表单
7
8
  - 2.2.79: 整型浮点型为空时不校验
8
9
  - 2.2.78: 数据表计算值不生效
package/lib/form/form.js CHANGED
@@ -1994,6 +1994,7 @@ var PageHome = function (_React$Component) {
1994
1994
  if (itemParam.itemType == 'popuser') {
1995
1995
  this.refs['selectMember_' + itemParam.key].initSelectData();
1996
1996
  }
1997
+ this.props.onChange(this.props.data, itemParam);
1997
1998
  });
1998
1999
  }
1999
2000
  }
@@ -2642,7 +2642,7 @@ var PageHome = function (_React$Component) {
2642
2642
  }
2643
2643
  }
2644
2644
  if (type3ParNum == 0) {
2645
- item.type = 1;
2645
+ // item.type =1;
2646
2646
  }
2647
2647
  }
2648
2648
 
@@ -3853,13 +3853,21 @@ var PageHome = function (_React$Component) {
3853
3853
  if (checked) {
3854
3854
  var personValue = nextActivityList[i].personValue;
3855
3855
  var isEnd = nextActivityList[i].end;
3856
-
3856
+ console.log("personValue:" + JSON.stringify(personValue));
3857
3857
  if (personValue.length <= 0 && !isEnd) {
3858
- _Toast2.default.show({
3859
- type: 'error',
3860
- content: '请选择审批人'
3861
- });
3862
- return false;
3858
+ if (nextActivityList[i].type == 3) {
3859
+ _Toast2.default.show({
3860
+ type: 'error',
3861
+ content: '未找到办理人员,不允许提交'
3862
+ });
3863
+ return false;
3864
+ } else {
3865
+ _Toast2.default.show({
3866
+ type: 'error',
3867
+ content: '请选择审批人'
3868
+ });
3869
+ return false;
3870
+ }
3863
3871
  }
3864
3872
  var participantMode = nextActivityList[i].participantMode;
3865
3873
  if (participantMode == 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.2.80",
3
+ "version": "2.2.81",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",