fmui-base 1.0.9 → 1.0.11

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.
@@ -2547,6 +2547,11 @@ var PageHome = function (_React$Component) {
2547
2547
  emp.window.close({
2548
2548
  id: 'this' //指定被关闭窗口标识,如果id=‘this‘,则关闭当前窗口
2549
2549
  });
2550
+ } else {
2551
+ setTimeout(function () {
2552
+
2553
+ backPage();
2554
+ }, 1500);
2550
2555
  }
2551
2556
  } else {
2552
2557
  setTimeout(function () {
@@ -3016,6 +3021,11 @@ var PageHome = function (_React$Component) {
3016
3021
  emp.window.close({
3017
3022
  id: 'this' //指定被关闭窗口标识,如果id=‘this‘,则关闭当前窗口
3018
3023
  });
3024
+ } else {
3025
+ setTimeout(function () {
3026
+
3027
+ backPage();
3028
+ }, 1500);
3019
3029
  }
3020
3030
  } else {
3021
3031
  setTimeout(function () {
@@ -3070,6 +3080,11 @@ var PageHome = function (_React$Component) {
3070
3080
  emp.window.close({
3071
3081
  id: 'this' //指定被关闭窗口标识,如果id=‘this‘,则关闭当前窗口
3072
3082
  });
3083
+ } else {
3084
+ setTimeout(function () {
3085
+
3086
+ backPage();
3087
+ }, 1500);
3073
3088
  }
3074
3089
  } else {
3075
3090
  setTimeout(function () {
@@ -3177,6 +3192,11 @@ var PageHome = function (_React$Component) {
3177
3192
  emp.window.close({
3178
3193
  id: 'this' //指定被关闭窗口标识,如果id=‘this‘,则关闭当前窗口
3179
3194
  });
3195
+ } else {
3196
+ setTimeout(function () {
3197
+
3198
+ backPage();
3199
+ }, 1500);
3180
3200
  }
3181
3201
  } else {
3182
3202
  setTimeout(function () {
@@ -3234,6 +3254,11 @@ var PageHome = function (_React$Component) {
3234
3254
  emp.window.close({
3235
3255
  id: 'this' //指定被关闭窗口标识,如果id=‘this‘,则关闭当前窗口
3236
3256
  });
3257
+ } else {
3258
+ setTimeout(function () {
3259
+
3260
+ backPage();
3261
+ }, 1500);
3237
3262
  }
3238
3263
  } else {
3239
3264
  setTimeout(function () {
@@ -3405,6 +3430,11 @@ var PageHome = function (_React$Component) {
3405
3430
  emp.window.close({
3406
3431
  id: 'this' //指定被关闭窗口标识,如果id=‘this‘,则关闭当前窗口
3407
3432
  });
3433
+ } else {
3434
+ setTimeout(function () {
3435
+
3436
+ backPage();
3437
+ }, 1500);
3408
3438
  }
3409
3439
  } else {
3410
3440
  setTimeout(function () {
@@ -4028,6 +4058,11 @@ var PageHome = function (_React$Component) {
4028
4058
  emp.window.close({
4029
4059
  id: 'this' //指定被关闭窗口标识,如果id=‘this‘,则关闭当前窗口
4030
4060
  });
4061
+ } else {
4062
+ setTimeout(function () {
4063
+
4064
+ backPage();
4065
+ }, 1500);
4031
4066
  }
4032
4067
  } else {
4033
4068
  setTimeout(function () {
@@ -4280,6 +4315,11 @@ var PageHome = function (_React$Component) {
4280
4315
  emp.window.close({
4281
4316
  id: 'this' //指定被关闭窗口标识,如果id=‘this‘,则关闭当前窗口
4282
4317
  });
4318
+ } else {
4319
+ setTimeout(function () {
4320
+
4321
+ backPage();
4322
+ }, 1500);
4283
4323
  }
4284
4324
  } else {
4285
4325
  setTimeout(function () {
@@ -4379,6 +4419,11 @@ var PageHome = function (_React$Component) {
4379
4419
  emp.window.close({
4380
4420
  id: 'this' //指定被关闭窗口标识,如果id=‘this‘,则关闭当前窗口
4381
4421
  });
4422
+ } else {
4423
+ setTimeout(function () {
4424
+
4425
+ backPage();
4426
+ }, 1500);
4382
4427
  }
4383
4428
  } else {
4384
4429
  setTimeout(function () {
@@ -4582,6 +4627,11 @@ var PageHome = function (_React$Component) {
4582
4627
  emp.window.close({
4583
4628
  id: 'this' //指定被关闭窗口标识,如果id=‘this‘,则关闭当前窗口
4584
4629
  });
4630
+ } else {
4631
+ setTimeout(function () {
4632
+
4633
+ backPage();
4634
+ }, 1500);
4585
4635
  }
4586
4636
  } else {
4587
4637
  setTimeout(function () {
@@ -4639,6 +4689,11 @@ var PageHome = function (_React$Component) {
4639
4689
  emp.window.close({
4640
4690
  id: 'this' //指定被关闭窗口标识,如果id=‘this‘,则关闭当前窗口
4641
4691
  });
4692
+ } else {
4693
+ setTimeout(function () {
4694
+
4695
+ backPage();
4696
+ }, 1500);
4642
4697
  }
4643
4698
  } else {
4644
4699
  setTimeout(function () {
@@ -140,9 +140,9 @@ var PageHome = function (_React$Component) {
140
140
  dir: dir,
141
141
  limitNo: limitNo,
142
142
  context: context,
143
- uploadUrl: context + '/dingisv/api/common/createFile',
144
- urlPrev: context + '/dingisv/api/common/viewImage?fid=',
145
- queryUrl: context + '/dingisv/api/common/getAttachmentByIds?ids=',
143
+ uploadUrl: context + '/api/plugin/attachment/mobile/createFile',
144
+ urlPrev: context + '/api/plugin/attachment/mobile/viewImage?fid=',
145
+ queryUrl: context + '/api/plugin/attachment/mobile/getAttachmentByIds?ids=',
146
146
  //queryUrl: context + '/client/approve/getCanBackActivity?ids=',
147
147
  token: token,
148
148
  isInit: false,
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "title": "fmui-base",
5
- "description": "流程组件修改",
5
+ "description": "流程组件推送返回修改",
6
6
  "main": "lib/index.js",
7
7
  "files": [
8
8
  "dist",