fmui-base 2.0.98 → 2.0.99

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.99:流程批量办理提示语优化
6
7
  - 2.0.98:表单字段增加校验
7
8
  - 2.0.97:流程列表页增加分类查询
8
9
  - 2.0.96:流程列表页增加分类查询
@@ -1163,10 +1163,18 @@ var PageHome = function (_React$Component) {
1163
1163
  content: content,
1164
1164
  onConfirm: function onConfirm() {
1165
1165
  db.FlowModuleAPI.completeTaskBatch(param).then(function (content) {
1166
- _Toast2.default.show({
1167
- type: 'success',
1168
- content: content.successCount + '条成功,' + content.skipCount + '条失败'
1169
- });
1166
+ if (content.skipCount == "0" || content.skipCount == 0) {
1167
+ _Toast2.default.show({
1168
+ type: 'success',
1169
+ content: '批量办理' + content.successCount + '条成功,' + content.skipCount + '条失败'
1170
+ });
1171
+ } else {
1172
+ _Toast2.default.show({
1173
+ type: 'success',
1174
+ content: '批量办理' + content.successCount + '条成功,' + content.skipCount + '条失败,失败原因:审批设置不支持,后继活动或者审批人需要手动选择'
1175
+ });
1176
+ }
1177
+
1170
1178
  var returnData = content.successList;
1171
1179
  if (typeof returnData != 'undefined' && returnData != null) {
1172
1180
  for (var i = 0; i < returnData.length; i++) {
@@ -1244,7 +1252,7 @@ var PageHome = function (_React$Component) {
1244
1252
  if (typeof error.errorMsg == 'undefined') {
1245
1253
  _Toast2.default.show({
1246
1254
  type: 'error',
1247
- content: '提交出错'
1255
+ content: '流程设置有误,请联系管理员'
1248
1256
  });
1249
1257
  } else {
1250
1258
  var message = error.errorMsg;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.0.98",
3
+ "version": "2.0.99",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",