fmui-base 2.2.80 → 2.2.82

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,8 @@
3
3
  ---npm publish
4
4
 
5
5
  ## 更新日志
6
+ - 2.2.82: 流程提交推送到统一待办我的文件
7
+ - 2.2.81: 流程办理下一环节是指定办理人未未匹配到人员时,提交后,提醒:“未找到办理人员,不允许提交”
6
8
  - 2.2.80: 流程扫码发起后关闭表单
7
9
  - 2.2.79: 整型浮点型为空时不校验
8
10
  - 2.2.78: 数据表计算值不生效
package/lib/db/db.js CHANGED
@@ -873,6 +873,16 @@ context.create('FlowModuleAPI', {
873
873
  /* header:{'content-Type':'application/x-www-form-urlencoded'},*/
874
874
  willFetch: function willFetch() {}
875
875
  },
876
+ getSignature: {
877
+ mockUrl: 'query/getSignature.json',
878
+ url: _variables2.default.URLS.getSignature,
879
+ method: 'GET',
880
+ header: {
881
+ Authorization: 'Bearer ' + getLoginUserInfo().token
882
+ },
883
+ /* header:{'content-Type':'application/x-www-form-urlencoded'},*/
884
+ willFetch: function willFetch() {}
885
+ },
876
886
  getAllModuleList: {
877
887
  mockUrl: 'query/getAllModuleList.json',
878
888
  url: _variables2.default.URLS.getAllModuleList,
@@ -97,6 +97,7 @@ exports.default = {
97
97
  batchValidateForm: approveUrlPrefix + "batchValidateForm" + '?', //批量校验表单必填
98
98
  completeTaskBatch: approveUrlPrefix + "completeTaskBatch" + '?', //批量办理
99
99
  readCompleteTaskBatch: approveUrlPrefix + "readCompleteTaskBatch" + '?', //批量已阅
100
+ getSignature: approveUrlPrefix + "getSignature" + '?', //获取签章
100
101
  getPersonalPhrase: approveUrlPrefix + "getPersonalPhrase" + '?', //获取常用语
101
102
  savePersonalPhrase: approveUrlPrefix + "savePersonalPhrase" + '?', //保存常用语
102
103
  deletePhrase: approveUrlPrefix + "delPersonalPhrase" + '?', //删除常用语
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
  }
@@ -2424,7 +2424,8 @@ var PageHome = function (_React$Component) {
2424
2424
  module: _this2.state.module,
2425
2425
  lock: _this2.state.lock,
2426
2426
  reminderContent: _this2.state.reminderContent,
2427
- processInstanceId: _this2.state.processInstanceId
2427
+ processInstanceId: _this2.state.processInstanceId,
2428
+ permissionCode: _this2.state.permissionCode
2428
2429
  };
2429
2430
  var dealActionName = "";
2430
2431
  if (_this2.state.isStart == true) {
@@ -2642,7 +2643,7 @@ var PageHome = function (_React$Component) {
2642
2643
  }
2643
2644
  }
2644
2645
  if (type3ParNum == 0) {
2645
- item.type = 1;
2646
+ // item.type =1;
2646
2647
  }
2647
2648
  }
2648
2649
 
@@ -3853,13 +3854,21 @@ var PageHome = function (_React$Component) {
3853
3854
  if (checked) {
3854
3855
  var personValue = nextActivityList[i].personValue;
3855
3856
  var isEnd = nextActivityList[i].end;
3856
-
3857
+ console.log("personValue:" + JSON.stringify(personValue));
3857
3858
  if (personValue.length <= 0 && !isEnd) {
3858
- _Toast2.default.show({
3859
- type: 'error',
3860
- content: '请选择审批人'
3861
- });
3862
- return false;
3859
+ if (nextActivityList[i].type == 3) {
3860
+ _Toast2.default.show({
3861
+ type: 'error',
3862
+ content: '未找到办理人员,不允许提交'
3863
+ });
3864
+ return false;
3865
+ } else {
3866
+ _Toast2.default.show({
3867
+ type: 'error',
3868
+ content: '请选择审批人'
3869
+ });
3870
+ return false;
3871
+ }
3863
3872
  }
3864
3873
  var participantMode = nextActivityList[i].participantMode;
3865
3874
  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.82",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",