fmui-base 2.0.83 → 2.0.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.0.84:批量办理回调时报错问题处理
6
7
  - 2.0.83:同一字段关联字段,编辑方式相同时冲突
7
8
  - 2.0.82:移动表单支持宏值签名图片
8
9
  - 2.0.81:流程批量办理组件,办理后增加回调方法
@@ -479,6 +479,7 @@ var PageHome = function (_React$Component) {
479
479
  var checkedItem = {};
480
480
  var selectUserReadOnly = false;
481
481
  var personValue = []; //选中的人
482
+ var personValues = []; //备选的人
482
483
  var participantMode = item.participantMode; //判断选人是单选还是多选
483
484
  var commonUsedData = []; //自定义选人的范围,常用
484
485
  var commonTreeData = [];
@@ -489,6 +490,7 @@ var PageHome = function (_React$Component) {
489
490
  var commonHasUser = false; //常用是否有用户
490
491
  var commonHasOrg = false; //常用是否有组织
491
492
  var commonHasGroup = false; //常用是否有群组
493
+ var type3ParNum = 0;
492
494
  if (item.type == 3) {
493
495
  //指定人选择
494
496
  selectUserReadOnly = true;
@@ -1178,9 +1180,27 @@ var PageHome = function (_React$Component) {
1178
1180
  }
1179
1181
  var barDataId = returnDataItem.dataId;
1180
1182
  var barModules = returnDataItem.modules;
1181
- var FlowCommon = require('pages/flow_common/' + barModules).default ? require('pages/flow_common/' + barModules).default : require('pages/flow_common/' + barModules);
1182
- if (FlowCommon && typeof FlowCommon.operateCallBack === "function") {
1183
- FlowCommon.operateCallBack({ type: barStatus, dataId: barDataId, isBatch: 1 }, t.state);
1183
+ var formCode = returnDataItem.formCode;
1184
+ var FlowCommon;
1185
+ try {
1186
+ FlowCommon = require('pages/flow_common/' + barModules).default ? require('pages/flow_common/' + barModules).default : require('pages/flow_common/' + barModules);
1187
+ if (typeof FlowCommon !== 'undefined' && typeof FlowCommon.operateCallBack === "function") {
1188
+ FlowCommon.operateCallBack({ type: barStatus, dataId: barDataId, isBatch: 1 }, t.state);
1189
+ }
1190
+ } catch (e) {
1191
+ // alert("exception: "+e.message);
1192
+ }
1193
+
1194
+ var mobileExt;
1195
+ try {
1196
+ if (barModules) {
1197
+ mobileExt = typeof eval(barModules + "_" + formCode + "_mobileExt") !== 'undefined' ? eval(barModules + "_" + formCode + "_mobileExt") : null;
1198
+ }
1199
+ if (typeof mobileExt !== 'undefined' && typeof mobileExt["operateCallBack"] === "function") {
1200
+ mobileExt["operateCallBack"]({ type: barStatus, dataId: barDataId, isBatch: 1 }, t.state);
1201
+ }
1202
+ } catch (e) {
1203
+ // alert("exception: "+e.message);
1184
1204
  }
1185
1205
  }
1186
1206
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.0.83",
3
+ "version": "2.0.84",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",