eoss-ui 0.7.28 → 0.7.30

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.
Files changed (67) hide show
  1. package/lib/button-group.js +35 -10
  2. package/lib/button.js +35 -10
  3. package/lib/calogin.js +35 -10
  4. package/lib/checkbox-group.js +35 -10
  5. package/lib/data-table-form.js +35 -10
  6. package/lib/data-table.js +35 -10
  7. package/lib/date-picker.js +35 -10
  8. package/lib/dialog.js +35 -10
  9. package/lib/eoss-ui.common.js +580 -325
  10. package/lib/flow-group.js +35 -10
  11. package/lib/flow-list.js +35 -10
  12. package/lib/flow.js +198 -128
  13. package/lib/form.js +35 -10
  14. package/lib/handle-user.js +35 -10
  15. package/lib/handler.js +35 -10
  16. package/lib/icon.js +35 -10
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +35 -10
  19. package/lib/input.js +35 -10
  20. package/lib/login.js +41 -16
  21. package/lib/main.js +367 -156
  22. package/lib/menu.js +0 -1
  23. package/lib/nav.js +35 -10
  24. package/lib/page.js +35 -10
  25. package/lib/pagination.js +35 -10
  26. package/lib/player.js +35 -10
  27. package/lib/qr-code.js +35 -10
  28. package/lib/radio-group.js +35 -10
  29. package/lib/retrial-auth.js +35 -10
  30. package/lib/select-ganged.js +35 -10
  31. package/lib/select.js +35 -10
  32. package/lib/selector-panel.js +35 -10
  33. package/lib/selector.js +35 -10
  34. package/lib/sizer.js +35 -10
  35. package/lib/steps.js +35 -10
  36. package/lib/switch.js +35 -10
  37. package/lib/table-form.js +35 -10
  38. package/lib/tabs.js +35 -10
  39. package/lib/tips.js +35 -10
  40. package/lib/tree-group.js +35 -10
  41. package/lib/tree.js +35 -10
  42. package/lib/upload.js +35 -10
  43. package/lib/utils/util.js +31 -6
  44. package/lib/wujie.js +35 -10
  45. package/lib/wxlogin.js +35 -10
  46. package/package.json +1 -1
  47. package/packages/.DS_Store +0 -0
  48. package/packages/date-picker/.DS_Store +0 -0
  49. package/packages/flow/.DS_Store +0 -0
  50. package/packages/flow/src/.DS_Store +0 -0
  51. package/packages/flow/src/component/taskUnionExamine.vue +8 -8
  52. package/packages/flow/src/main.vue +6 -4
  53. package/packages/flow/src/processForm.vue +6 -4
  54. package/packages/flow-list/.DS_Store +0 -0
  55. package/packages/login/.DS_Store +0 -0
  56. package/packages/login/src/main.vue +4 -4
  57. package/packages/main/.DS_Store +0 -0
  58. package/packages/main/src/.DS_Store +0 -0
  59. package/packages/main/src/default/index.vue +2 -2
  60. package/packages/main/src/main.vue +165 -69
  61. package/packages/main/src/simplicity/index.vue +49 -6
  62. package/packages/main/src/simplicity/sub-menu.vue +3 -1
  63. package/packages/menu/.DS_Store +0 -0
  64. package/packages/menu/src/main.vue +0 -1
  65. package/src/.DS_Store +0 -0
  66. package/src/index.js +1 -1
  67. package/src/utils/util.js +31 -6
package/lib/tree.js CHANGED
@@ -123,8 +123,8 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
123
123
  **/
124
124
 
125
125
  /* eslint-disable indent */
126
- var sm2 = __webpack_require__(12).sm2;
127
- var lodash = __webpack_require__(13);
126
+ var sm2 = __webpack_require__(13).sm2;
127
+ var lodash = __webpack_require__(12);
128
128
 
129
129
 
130
130
 
@@ -133,6 +133,7 @@ var lodash = __webpack_require__(13);
133
133
 
134
134
 
135
135
  var win = window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
136
+ var isIE = /MSIE|Trident/.test(navigator.userAgent);
136
137
  var parser = new ua_parser_js__WEBPACK_IMPORTED_MODULE_6__["UAParser"]();
137
138
  var $hueStep = 2;
138
139
  var $saturationStep1 = 0.16;
@@ -667,11 +668,20 @@ var busEmit = function busEmit(that, _ref3) {
667
668
  var method = _ref3.method,
668
669
  args = _ref3.args;
669
670
 
670
- var bus = win.$wujie ? win.$wujie.bus : that ? that.bus || that.$root.Bus || that.$root.$bus : null;
671
- if (bus) {
672
- Array.isArray(args) ? bus.$emit.apply(bus, [method].concat(args)) : bus.$emit(method, args);
671
+ if (isIE) {
672
+ var bus = that ? that.bus || that.$root.Bus || that.$root.$bus : null;
673
+ if (bus) {
674
+ Array.isArray(args) ? bus.$emit.apply(bus, [method].concat(args)) : bus.$emit(method, args);
675
+ } else {
676
+ win.parent.postMessage({ method: method, query: args, args: args }, '*');
677
+ }
673
678
  } else {
674
- win.parent.postMessage({ method: method, query: args }, '*');
679
+ var _bus = win.$wujie ? win.$wujie.bus : that ? that.bus || that.$root.Bus || that.$root.$bus : null;
680
+ if (_bus) {
681
+ Array.isArray(args) ? _bus.$emit.apply(_bus, [method].concat(args)) : _bus.$emit(method, args);
682
+ } else {
683
+ win.parent.postMessage({ method: method, query: args, args: args }, '*');
684
+ }
675
685
  }
676
686
  };
677
687
 
@@ -3511,7 +3521,6 @@ var setCookie = function setCookie(name, value) {
3511
3521
  var isSession = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
3512
3522
  var time = arguments[3];
3513
3523
 
3514
- var isIE = /MSIE|Trident/.test(navigator.userAgent);
3515
3524
  try {
3516
3525
  var cookieParts = [encodeURIComponent(name) + '=' + encodeURIComponent(value), 'path=/' // 仅保留path设置,确保全站访问
3517
3526
  ];
@@ -3598,6 +3607,20 @@ var removeCookie = function removeCookie(key) {
3598
3607
  }
3599
3608
  };
3600
3609
 
3610
+ var winTopOpen = function winTopOpen(config) {
3611
+ if (isIE) {
3612
+ if (win.top !== win.self) {
3613
+ try {
3614
+ win.top.windowOpen(config);
3615
+ } catch (error) {
3616
+ win.postMessage({ method: 'windowOpen', query: config }, '*');
3617
+ }
3618
+ }
3619
+ } else {
3620
+ busEmit('windowOpen', config);
3621
+ }
3622
+ };
3623
+
3601
3624
  /* harmony default export */ __webpack_exports__["a"] = ({
3602
3625
  ajax: ajax,
3603
3626
  ajaxStream: ajaxStream,
@@ -3651,6 +3674,7 @@ var removeCookie = function removeCookie(key) {
3651
3674
  isEmpty: isEmpty,
3652
3675
  isExist: isExist,
3653
3676
  isFunction: isFunction,
3677
+ isIE: isIE,
3654
3678
  isLogged: isLogged,
3655
3679
  isLogined: isLogined,
3656
3680
  isObject: isObject,
@@ -3690,7 +3714,8 @@ var removeCookie = function removeCookie(key) {
3690
3714
  urlJoinParams: urlJoinParams,
3691
3715
  uuid: uuid,
3692
3716
  watermark: watermark,
3693
- win: win
3717
+ win: win,
3718
+ winTopOpen: winTopOpen
3694
3719
  });
3695
3720
 
3696
3721
  /***/ }),
@@ -4136,14 +4161,14 @@ module.exports = require("ua-parser-js");
4136
4161
  /***/ 12:
4137
4162
  /***/ (function(module, exports) {
4138
4163
 
4139
- module.exports = require("sm-crypto");
4164
+ module.exports = require("lodash");
4140
4165
 
4141
4166
  /***/ }),
4142
4167
 
4143
4168
  /***/ 13:
4144
4169
  /***/ (function(module, exports) {
4145
4170
 
4146
- module.exports = require("lodash");
4171
+ module.exports = require("sm-crypto");
4147
4172
 
4148
4173
  /***/ }),
4149
4174
 
package/lib/upload.js CHANGED
@@ -122,8 +122,8 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
122
122
  **/
123
123
 
124
124
  /* eslint-disable indent */
125
- var sm2 = __webpack_require__(12).sm2;
126
- var lodash = __webpack_require__(13);
125
+ var sm2 = __webpack_require__(13).sm2;
126
+ var lodash = __webpack_require__(12);
127
127
 
128
128
 
129
129
 
@@ -132,6 +132,7 @@ var lodash = __webpack_require__(13);
132
132
 
133
133
 
134
134
  var win = window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
135
+ var isIE = /MSIE|Trident/.test(navigator.userAgent);
135
136
  var parser = new ua_parser_js__WEBPACK_IMPORTED_MODULE_6__["UAParser"]();
136
137
  var $hueStep = 2;
137
138
  var $saturationStep1 = 0.16;
@@ -666,11 +667,20 @@ var busEmit = function busEmit(that, _ref3) {
666
667
  var method = _ref3.method,
667
668
  args = _ref3.args;
668
669
 
669
- var bus = win.$wujie ? win.$wujie.bus : that ? that.bus || that.$root.Bus || that.$root.$bus : null;
670
- if (bus) {
671
- Array.isArray(args) ? bus.$emit.apply(bus, [method].concat(args)) : bus.$emit(method, args);
670
+ if (isIE) {
671
+ var bus = that ? that.bus || that.$root.Bus || that.$root.$bus : null;
672
+ if (bus) {
673
+ Array.isArray(args) ? bus.$emit.apply(bus, [method].concat(args)) : bus.$emit(method, args);
674
+ } else {
675
+ win.parent.postMessage({ method: method, query: args, args: args }, '*');
676
+ }
672
677
  } else {
673
- win.parent.postMessage({ method: method, query: args }, '*');
678
+ var _bus = win.$wujie ? win.$wujie.bus : that ? that.bus || that.$root.Bus || that.$root.$bus : null;
679
+ if (_bus) {
680
+ Array.isArray(args) ? _bus.$emit.apply(_bus, [method].concat(args)) : _bus.$emit(method, args);
681
+ } else {
682
+ win.parent.postMessage({ method: method, query: args, args: args }, '*');
683
+ }
674
684
  }
675
685
  };
676
686
 
@@ -3510,7 +3520,6 @@ var setCookie = function setCookie(name, value) {
3510
3520
  var isSession = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
3511
3521
  var time = arguments[3];
3512
3522
 
3513
- var isIE = /MSIE|Trident/.test(navigator.userAgent);
3514
3523
  try {
3515
3524
  var cookieParts = [encodeURIComponent(name) + '=' + encodeURIComponent(value), 'path=/' // 仅保留path设置,确保全站访问
3516
3525
  ];
@@ -3597,6 +3606,20 @@ var removeCookie = function removeCookie(key) {
3597
3606
  }
3598
3607
  };
3599
3608
 
3609
+ var winTopOpen = function winTopOpen(config) {
3610
+ if (isIE) {
3611
+ if (win.top !== win.self) {
3612
+ try {
3613
+ win.top.windowOpen(config);
3614
+ } catch (error) {
3615
+ win.postMessage({ method: 'windowOpen', query: config }, '*');
3616
+ }
3617
+ }
3618
+ } else {
3619
+ busEmit('windowOpen', config);
3620
+ }
3621
+ };
3622
+
3600
3623
  /* harmony default export */ __webpack_exports__["a"] = ({
3601
3624
  ajax: ajax,
3602
3625
  ajaxStream: ajaxStream,
@@ -3650,6 +3673,7 @@ var removeCookie = function removeCookie(key) {
3650
3673
  isEmpty: isEmpty,
3651
3674
  isExist: isExist,
3652
3675
  isFunction: isFunction,
3676
+ isIE: isIE,
3653
3677
  isLogged: isLogged,
3654
3678
  isLogined: isLogined,
3655
3679
  isObject: isObject,
@@ -3689,7 +3713,8 @@ var removeCookie = function removeCookie(key) {
3689
3713
  urlJoinParams: urlJoinParams,
3690
3714
  uuid: uuid,
3691
3715
  watermark: watermark,
3692
- win: win
3716
+ win: win,
3717
+ winTopOpen: winTopOpen
3693
3718
  });
3694
3719
 
3695
3720
  /***/ }),
@@ -4413,13 +4438,13 @@ module.exports = require("ua-parser-js");
4413
4438
  /* 12 */
4414
4439
  /***/ (function(module, exports) {
4415
4440
 
4416
- module.exports = require("sm-crypto");
4441
+ module.exports = require("lodash");
4417
4442
 
4418
4443
  /***/ }),
4419
4444
  /* 13 */
4420
4445
  /***/ (function(module, exports) {
4421
4446
 
4422
- module.exports = require("lodash");
4447
+ module.exports = require("sm-crypto");
4423
4448
 
4424
4449
  /***/ }),
4425
4450
  /* 14 */
package/lib/utils/util.js CHANGED
@@ -49,6 +49,7 @@ var lodash = require('lodash');
49
49
 
50
50
 
51
51
  var win = window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
52
+ var isIE = /MSIE|Trident/.test(navigator.userAgent);
52
53
  var parser = new _uaParserJs.UAParser();
53
54
  var $hueStep = 2;
54
55
  var $saturationStep1 = 0.16;
@@ -583,11 +584,20 @@ var busEmit = function busEmit(that, _ref3) {
583
584
  var method = _ref3.method,
584
585
  args = _ref3.args;
585
586
 
586
- var bus = win.$wujie ? win.$wujie.bus : that ? that.bus || that.$root.Bus || that.$root.$bus : null;
587
- if (bus) {
588
- Array.isArray(args) ? bus.$emit.apply(bus, [method].concat(args)) : bus.$emit(method, args);
587
+ if (isIE) {
588
+ var bus = that ? that.bus || that.$root.Bus || that.$root.$bus : null;
589
+ if (bus) {
590
+ Array.isArray(args) ? bus.$emit.apply(bus, [method].concat(args)) : bus.$emit(method, args);
591
+ } else {
592
+ win.parent.postMessage({ method: method, query: args, args: args }, '*');
593
+ }
589
594
  } else {
590
- win.parent.postMessage({ method: method, query: args }, '*');
595
+ var _bus = win.$wujie ? win.$wujie.bus : that ? that.bus || that.$root.Bus || that.$root.$bus : null;
596
+ if (_bus) {
597
+ Array.isArray(args) ? _bus.$emit.apply(_bus, [method].concat(args)) : _bus.$emit(method, args);
598
+ } else {
599
+ win.parent.postMessage({ method: method, query: args, args: args }, '*');
600
+ }
591
601
  }
592
602
  };
593
603
 
@@ -3427,7 +3437,6 @@ var setCookie = function setCookie(name, value) {
3427
3437
  var isSession = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
3428
3438
  var time = arguments[3];
3429
3439
 
3430
- var isIE = /MSIE|Trident/.test(navigator.userAgent);
3431
3440
  try {
3432
3441
  var cookieParts = [encodeURIComponent(name) + '=' + encodeURIComponent(value), 'path=/' // 仅保留path设置,确保全站访问
3433
3442
  ];
@@ -3514,6 +3523,20 @@ var removeCookie = function removeCookie(key) {
3514
3523
  }
3515
3524
  };
3516
3525
 
3526
+ var winTopOpen = function winTopOpen(config) {
3527
+ if (isIE) {
3528
+ if (win.top !== win.self) {
3529
+ try {
3530
+ win.top.windowOpen(config);
3531
+ } catch (error) {
3532
+ win.postMessage({ method: 'windowOpen', query: config }, '*');
3533
+ }
3534
+ }
3535
+ } else {
3536
+ busEmit('windowOpen', config);
3537
+ }
3538
+ };
3539
+
3517
3540
  exports.default = {
3518
3541
  ajax: ajax,
3519
3542
  ajaxStream: ajaxStream,
@@ -3567,6 +3590,7 @@ exports.default = {
3567
3590
  isEmpty: isEmpty,
3568
3591
  isExist: isExist,
3569
3592
  isFunction: isFunction,
3593
+ isIE: isIE,
3570
3594
  isLogged: isLogged,
3571
3595
  isLogined: isLogined,
3572
3596
  isObject: isObject,
@@ -3606,5 +3630,6 @@ exports.default = {
3606
3630
  urlJoinParams: urlJoinParams,
3607
3631
  uuid: uuid,
3608
3632
  watermark: watermark,
3609
- win: win
3633
+ win: win,
3634
+ winTopOpen: winTopOpen
3610
3635
  };
package/lib/wujie.js CHANGED
@@ -123,8 +123,8 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
123
123
  **/
124
124
 
125
125
  /* eslint-disable indent */
126
- var sm2 = __webpack_require__(12).sm2;
127
- var lodash = __webpack_require__(13);
126
+ var sm2 = __webpack_require__(13).sm2;
127
+ var lodash = __webpack_require__(12);
128
128
 
129
129
 
130
130
 
@@ -133,6 +133,7 @@ var lodash = __webpack_require__(13);
133
133
 
134
134
 
135
135
  var win = window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
136
+ var isIE = /MSIE|Trident/.test(navigator.userAgent);
136
137
  var parser = new ua_parser_js__WEBPACK_IMPORTED_MODULE_6__["UAParser"]();
137
138
  var $hueStep = 2;
138
139
  var $saturationStep1 = 0.16;
@@ -667,11 +668,20 @@ var busEmit = function busEmit(that, _ref3) {
667
668
  var method = _ref3.method,
668
669
  args = _ref3.args;
669
670
 
670
- var bus = win.$wujie ? win.$wujie.bus : that ? that.bus || that.$root.Bus || that.$root.$bus : null;
671
- if (bus) {
672
- Array.isArray(args) ? bus.$emit.apply(bus, [method].concat(args)) : bus.$emit(method, args);
671
+ if (isIE) {
672
+ var bus = that ? that.bus || that.$root.Bus || that.$root.$bus : null;
673
+ if (bus) {
674
+ Array.isArray(args) ? bus.$emit.apply(bus, [method].concat(args)) : bus.$emit(method, args);
675
+ } else {
676
+ win.parent.postMessage({ method: method, query: args, args: args }, '*');
677
+ }
673
678
  } else {
674
- win.parent.postMessage({ method: method, query: args }, '*');
679
+ var _bus = win.$wujie ? win.$wujie.bus : that ? that.bus || that.$root.Bus || that.$root.$bus : null;
680
+ if (_bus) {
681
+ Array.isArray(args) ? _bus.$emit.apply(_bus, [method].concat(args)) : _bus.$emit(method, args);
682
+ } else {
683
+ win.parent.postMessage({ method: method, query: args, args: args }, '*');
684
+ }
675
685
  }
676
686
  };
677
687
 
@@ -3511,7 +3521,6 @@ var setCookie = function setCookie(name, value) {
3511
3521
  var isSession = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
3512
3522
  var time = arguments[3];
3513
3523
 
3514
- var isIE = /MSIE|Trident/.test(navigator.userAgent);
3515
3524
  try {
3516
3525
  var cookieParts = [encodeURIComponent(name) + '=' + encodeURIComponent(value), 'path=/' // 仅保留path设置,确保全站访问
3517
3526
  ];
@@ -3598,6 +3607,20 @@ var removeCookie = function removeCookie(key) {
3598
3607
  }
3599
3608
  };
3600
3609
 
3610
+ var winTopOpen = function winTopOpen(config) {
3611
+ if (isIE) {
3612
+ if (win.top !== win.self) {
3613
+ try {
3614
+ win.top.windowOpen(config);
3615
+ } catch (error) {
3616
+ win.postMessage({ method: 'windowOpen', query: config }, '*');
3617
+ }
3618
+ }
3619
+ } else {
3620
+ busEmit('windowOpen', config);
3621
+ }
3622
+ };
3623
+
3601
3624
  /* harmony default export */ __webpack_exports__["a"] = ({
3602
3625
  ajax: ajax,
3603
3626
  ajaxStream: ajaxStream,
@@ -3651,6 +3674,7 @@ var removeCookie = function removeCookie(key) {
3651
3674
  isEmpty: isEmpty,
3652
3675
  isExist: isExist,
3653
3676
  isFunction: isFunction,
3677
+ isIE: isIE,
3654
3678
  isLogged: isLogged,
3655
3679
  isLogined: isLogined,
3656
3680
  isObject: isObject,
@@ -3690,7 +3714,8 @@ var removeCookie = function removeCookie(key) {
3690
3714
  urlJoinParams: urlJoinParams,
3691
3715
  uuid: uuid,
3692
3716
  watermark: watermark,
3693
- win: win
3717
+ win: win,
3718
+ winTopOpen: winTopOpen
3694
3719
  });
3695
3720
 
3696
3721
  /***/ }),
@@ -4136,14 +4161,14 @@ module.exports = require("ua-parser-js");
4136
4161
  /***/ 12:
4137
4162
  /***/ (function(module, exports) {
4138
4163
 
4139
- module.exports = require("sm-crypto");
4164
+ module.exports = require("lodash");
4140
4165
 
4141
4166
  /***/ }),
4142
4167
 
4143
4168
  /***/ 13:
4144
4169
  /***/ (function(module, exports) {
4145
4170
 
4146
- module.exports = require("lodash");
4171
+ module.exports = require("sm-crypto");
4147
4172
 
4148
4173
  /***/ }),
4149
4174
 
package/lib/wxlogin.js CHANGED
@@ -123,8 +123,8 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
123
123
  **/
124
124
 
125
125
  /* eslint-disable indent */
126
- var sm2 = __webpack_require__(12).sm2;
127
- var lodash = __webpack_require__(13);
126
+ var sm2 = __webpack_require__(13).sm2;
127
+ var lodash = __webpack_require__(12);
128
128
 
129
129
 
130
130
 
@@ -133,6 +133,7 @@ var lodash = __webpack_require__(13);
133
133
 
134
134
 
135
135
  var win = window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
136
+ var isIE = /MSIE|Trident/.test(navigator.userAgent);
136
137
  var parser = new ua_parser_js__WEBPACK_IMPORTED_MODULE_6__["UAParser"]();
137
138
  var $hueStep = 2;
138
139
  var $saturationStep1 = 0.16;
@@ -667,11 +668,20 @@ var busEmit = function busEmit(that, _ref3) {
667
668
  var method = _ref3.method,
668
669
  args = _ref3.args;
669
670
 
670
- var bus = win.$wujie ? win.$wujie.bus : that ? that.bus || that.$root.Bus || that.$root.$bus : null;
671
- if (bus) {
672
- Array.isArray(args) ? bus.$emit.apply(bus, [method].concat(args)) : bus.$emit(method, args);
671
+ if (isIE) {
672
+ var bus = that ? that.bus || that.$root.Bus || that.$root.$bus : null;
673
+ if (bus) {
674
+ Array.isArray(args) ? bus.$emit.apply(bus, [method].concat(args)) : bus.$emit(method, args);
675
+ } else {
676
+ win.parent.postMessage({ method: method, query: args, args: args }, '*');
677
+ }
673
678
  } else {
674
- win.parent.postMessage({ method: method, query: args }, '*');
679
+ var _bus = win.$wujie ? win.$wujie.bus : that ? that.bus || that.$root.Bus || that.$root.$bus : null;
680
+ if (_bus) {
681
+ Array.isArray(args) ? _bus.$emit.apply(_bus, [method].concat(args)) : _bus.$emit(method, args);
682
+ } else {
683
+ win.parent.postMessage({ method: method, query: args, args: args }, '*');
684
+ }
675
685
  }
676
686
  };
677
687
 
@@ -3511,7 +3521,6 @@ var setCookie = function setCookie(name, value) {
3511
3521
  var isSession = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
3512
3522
  var time = arguments[3];
3513
3523
 
3514
- var isIE = /MSIE|Trident/.test(navigator.userAgent);
3515
3524
  try {
3516
3525
  var cookieParts = [encodeURIComponent(name) + '=' + encodeURIComponent(value), 'path=/' // 仅保留path设置,确保全站访问
3517
3526
  ];
@@ -3598,6 +3607,20 @@ var removeCookie = function removeCookie(key) {
3598
3607
  }
3599
3608
  };
3600
3609
 
3610
+ var winTopOpen = function winTopOpen(config) {
3611
+ if (isIE) {
3612
+ if (win.top !== win.self) {
3613
+ try {
3614
+ win.top.windowOpen(config);
3615
+ } catch (error) {
3616
+ win.postMessage({ method: 'windowOpen', query: config }, '*');
3617
+ }
3618
+ }
3619
+ } else {
3620
+ busEmit('windowOpen', config);
3621
+ }
3622
+ };
3623
+
3601
3624
  /* harmony default export */ __webpack_exports__["a"] = ({
3602
3625
  ajax: ajax,
3603
3626
  ajaxStream: ajaxStream,
@@ -3651,6 +3674,7 @@ var removeCookie = function removeCookie(key) {
3651
3674
  isEmpty: isEmpty,
3652
3675
  isExist: isExist,
3653
3676
  isFunction: isFunction,
3677
+ isIE: isIE,
3654
3678
  isLogged: isLogged,
3655
3679
  isLogined: isLogined,
3656
3680
  isObject: isObject,
@@ -3690,7 +3714,8 @@ var removeCookie = function removeCookie(key) {
3690
3714
  urlJoinParams: urlJoinParams,
3691
3715
  uuid: uuid,
3692
3716
  watermark: watermark,
3693
- win: win
3717
+ win: win,
3718
+ winTopOpen: winTopOpen
3694
3719
  });
3695
3720
 
3696
3721
  /***/ }),
@@ -4136,14 +4161,14 @@ module.exports = require("ua-parser-js");
4136
4161
  /***/ 12:
4137
4162
  /***/ (function(module, exports) {
4138
4163
 
4139
- module.exports = require("sm-crypto");
4164
+ module.exports = require("lodash");
4140
4165
 
4141
4166
  /***/ }),
4142
4167
 
4143
4168
  /***/ 13:
4144
4169
  /***/ (function(module, exports) {
4145
4170
 
4146
- module.exports = require("lodash");
4171
+ module.exports = require("sm-crypto");
4147
4172
 
4148
4173
  /***/ }),
4149
4174
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-ui",
3
- "version": "0.7.28",
3
+ "version": "0.7.30",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
Binary file
Binary file
Binary file
Binary file
@@ -91,20 +91,20 @@
91
91
  >
92
92
  <!-- style="width: 49%; display: inline-block;" -->
93
93
  <es-select
94
- style="width: 20% !important; display: inline-block;"
94
+ style="width: 20% !important; display: inline-block"
95
95
  v-model="infoList.customLimitTimeText"
96
96
  placeholder="请选择"
97
97
  @change="handleChangeTime"
98
98
  sysCode="bpm_custom_limit_time"
99
99
  ></es-select>
100
100
  <el-input
101
- style="width: 20%; display: inline-block;"
101
+ style="width: 20%; display: inline-block"
102
102
  v-model="infoList.customLimitTime"
103
103
  placeholder="请输入限时办理的天数"
104
104
  class="input-with-select custom-limit-time"
105
- >
106
-
105
+ >
107
106
  </el-input>
107
+ <span style="margin-left: 5px">天</span>
108
108
  <!-- <es-button
109
109
  type="primary"
110
110
  slot="append"
@@ -229,7 +229,7 @@ export default {
229
229
  noticeInfo: '',
230
230
  opinion: '',
231
231
  customLimitTime: '',
232
- customLimitTimeText:''
232
+ customLimitTimeText: ''
233
233
  },
234
234
  onlyName: '',
235
235
  unionSealData: [],
@@ -285,7 +285,7 @@ export default {
285
285
  this.getInfo();
286
286
  },
287
287
  methods: {
288
- handleChangeTime(val){
288
+ handleChangeTime(val) {
289
289
  this.infoList.customLimitTime = val;
290
290
  },
291
291
  validate() {
@@ -438,8 +438,8 @@ export default {
438
438
  }
439
439
  this.enableCustomLimitTimeSetting = enableCustomLimitTimeSetting;
440
440
  if (this.enableCustomLimitTimeSetting && defaultCustomLimitDays) {
441
- this.infoList.customLimitTime = this.infoList.customLimitTimeText = defaultCustomLimitDays + '';
442
-
441
+ this.infoList.customLimitTime =
442
+ this.infoList.customLimitTimeText = defaultCustomLimitDays + '';
443
443
  }
444
444
  if (res.data.customizedConfig) {
445
445
  if (res.data.customizedConfig.currentOrgSelectorCustomized) {
@@ -585,15 +585,16 @@
585
585
  style="margin-bottom: 10px"
586
586
  >
587
587
  <!-- v-if="!showCustomLimitTimeText" -->
588
- <es-select
589
- style="width: 50% !important; display: inline-block;"
588
+ <div style="display: flex;width: 100%;">
589
+ <es-select
590
+ style="flex: 1 !important; display: inline-block;"
590
591
  v-model="nextNode.customLimitTimeText"
591
592
  placeholder="请选择"
592
593
  @change="handleChangeTime"
593
594
  sysCode="bpm_custom_limit_time"
594
595
  ></es-select>
595
596
  <el-input
596
- style="width: 50%; display: inline-block;"
597
+ style="flex: 1; display: inline-block;"
597
598
  v-model="nextNode.customLimitTime"
598
599
  placeholder="请输入限时办理的天数"
599
600
  @change="changeCustomLimitTime"
@@ -614,7 +615,8 @@
614
615
  }}</es-button
615
616
  > -->
616
617
  </el-input>
617
-
618
+ <span style="margin-left:5px">天</span>
619
+ </div>
618
620
  <!-- slot="prepend" -->
619
621
  </el-form-item>
620
622
 
@@ -226,22 +226,24 @@
226
226
  }
227
227
  ]"
228
228
  >
229
- <es-select
229
+ <div style="display: flex;">
230
+ <es-select
230
231
  v-model="nextNode.customLimitTimeText"
231
232
  placeholder="请选择"
232
233
  @change="handleChangeTime"
233
- :style="`width: ${showBtn?'20%' : '50%'} !important; display: inline-block;`"
234
+ :style="`flex:${showBtn?'unset' : '1'};width: ${showBtn?'20%' : 'unset'} !important; display: inline-block;`"
234
235
  sysCode="bpm_custom_limit_time"
235
236
  ></es-select>
236
237
  <el-input
237
238
  v-model="nextNode.customLimitTime"
238
- :style="`width: ${showBtn?'20%' : '50%'} !important; display: inline-block;`"
239
+ :style="`flex:${showBtn?'unset' : '1'};width: ${showBtn?'20%' : 'unset'} !important; display: inline-block;`"
239
240
  placeholder="请输入限时办理的天数"
240
241
  class="input-with-select custom-limit-time"
241
242
  @change="changeCustomLimitTime"
242
243
  >
243
244
  </el-input>
244
-
245
+ <span style="margin-left:5px">天</span>
246
+ </div>
245
247
  </el-form-item>
246
248
  <el-form-item
247
249
  v-if="isHandleExplain == 1"
Binary file
Binary file
@@ -1307,7 +1307,7 @@ export default {
1307
1307
  value: JSON.stringify(res.results)
1308
1308
  });
1309
1309
  this.$emit('initLogin', res.results);
1310
- this.setConfig(res.results);
1310
+ this.setConfig(res.results, true);
1311
1311
  } else {
1312
1312
  this.$message({
1313
1313
  message: res.msg || '系统错误,请联系管理员!',
@@ -1321,7 +1321,7 @@ export default {
1321
1321
  }
1322
1322
  });
1323
1323
  },
1324
- setConfig(res) {
1324
+ setConfig(res, ajax) {
1325
1325
  const isLogined = localStorage.getItem('isLogined');
1326
1326
  this.identifyingId = res.identifyingId || '';
1327
1327
  this.getImgCode();
@@ -1475,7 +1475,7 @@ export default {
1475
1475
  this.storageType = res.subsystemExtend.storageType;
1476
1476
  }
1477
1477
  if (res.subsystemExtend.alertContent) {
1478
- this.alertContent(res.subsystemExtend.alertContent);
1478
+ ajax && this.alertContent(res.subsystemExtend.alertContent);
1479
1479
  }
1480
1480
  }
1481
1481
  this.passModifyModel = res.passModifyModel;
@@ -1500,7 +1500,7 @@ export default {
1500
1500
  setHeight: isMarkdown,
1501
1501
  showConfirmButton: false,
1502
1502
  ...config
1503
- });
1503
+ }).catch(() => {});
1504
1504
  },
1505
1505
  async downloadMdFile(url) {
1506
1506
  try {
Binary file
Binary file