eoss-ui 0.5.43 → 0.5.45

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 (138) hide show
  1. package/CHANGELOG.md +929 -0
  2. package/README.md +18 -0
  3. package/lib/button-group.js +136 -69
  4. package/lib/button.js +146 -72
  5. package/lib/checkbox-group.js +132 -67
  6. package/lib/data-table-form.js +142 -74
  7. package/lib/data-table.js +225 -104
  8. package/lib/date-picker.js +132 -67
  9. package/lib/dialog.js +145 -71
  10. package/lib/eoss-ui.common.js +717 -414
  11. package/lib/flow-group.js +157 -74
  12. package/lib/flow-list.js +136 -69
  13. package/lib/flow.js +185 -99
  14. package/lib/form.js +141 -69
  15. package/lib/handle-user.js +142 -70
  16. package/lib/handler.js +165 -93
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +132 -67
  19. package/lib/input.js +132 -67
  20. package/lib/login.js +165 -97
  21. package/lib/main.js +258 -153
  22. package/lib/nav.js +132 -67
  23. package/lib/page.js +132 -67
  24. package/lib/player.js +132 -67
  25. package/lib/qr-code.js +132 -67
  26. package/lib/radio-group.js +132 -67
  27. package/lib/retrial-auth.js +144 -71
  28. package/lib/select-ganged.js +132 -67
  29. package/lib/select.js +132 -67
  30. package/lib/selector-panel.js +147 -74
  31. package/lib/selector.js +132 -67
  32. package/lib/sizer.js +132 -67
  33. package/lib/steps.js +132 -67
  34. package/lib/switch.js +132 -67
  35. package/lib/table-form.js +139 -72
  36. package/lib/tabs.js +135 -69
  37. package/lib/theme-chalk/data-table.css +1 -1
  38. package/lib/theme-chalk/index.css +1 -1
  39. package/lib/theme-chalk/toolbar.css +1 -1
  40. package/lib/tips.js +132 -67
  41. package/lib/toolbar.js +7 -1
  42. package/lib/tree-group.js +167 -71
  43. package/lib/tree.js +132 -67
  44. package/lib/upload.js +143 -78
  45. package/lib/utils/util.js +132 -67
  46. package/lib/wujie.js +132 -67
  47. package/lib/wxlogin.js +132 -67
  48. package/package.json +2 -2
  49. package/packages/button/src/main.vue +14 -5
  50. package/packages/button-group/src/main.vue +2 -0
  51. package/packages/data-table/src/column.vue +4 -0
  52. package/packages/data-table/src/main.vue +65 -26
  53. package/packages/data-table-form/src/tbody.vue +3 -0
  54. package/packages/dialog/src/main.vue +11 -2
  55. package/packages/flow/src/component/CustomPreset.vue +14 -7
  56. package/packages/flow/src/component/FileList.vue +4 -2
  57. package/packages/flow/src/component/Preset.vue +11 -13
  58. package/packages/flow/src/form.vue +5 -4
  59. package/packages/flow/src/main.vue +7 -7
  60. package/packages/flow/src/table.vue +8 -1
  61. package/packages/flow-group/src/main.vue +23 -5
  62. package/packages/form/src/main.vue +12 -0
  63. package/packages/form/src/table.vue +2 -0
  64. package/packages/handle-user/src/main.vue +8 -1
  65. package/packages/handler/src/main.vue +35 -28
  66. package/packages/login/src/main.vue +35 -31
  67. package/packages/main/src/async-component/index.vue +4 -2
  68. package/packages/main/src/main.vue +70 -31
  69. package/packages/main/src/userinfo.vue +29 -25
  70. package/packages/retrial-auth/src/main.vue +10 -2
  71. package/packages/selector-panel/src/selection.vue +6 -0
  72. package/packages/tabs/src/main.vue +1 -0
  73. package/packages/theme-chalk/lib/base.css +1 -0
  74. package/packages/theme-chalk/lib/button-group.css +1 -0
  75. package/packages/theme-chalk/lib/button.css +1 -0
  76. package/packages/theme-chalk/lib/card.css +1 -0
  77. package/packages/theme-chalk/lib/cascader.css +0 -0
  78. package/packages/theme-chalk/lib/checkbox-group.css +1 -0
  79. package/packages/theme-chalk/lib/clients.css +1 -0
  80. package/packages/theme-chalk/lib/data-table-form.css +1 -0
  81. package/packages/theme-chalk/lib/data-table.css +1 -0
  82. package/packages/theme-chalk/lib/date-picker.css +1 -0
  83. package/packages/theme-chalk/lib/dialog.css +1 -0
  84. package/packages/theme-chalk/lib/enterprise.css +1 -0
  85. package/packages/theme-chalk/lib/error-page.css +1 -0
  86. package/packages/theme-chalk/lib/flow-chart.css +0 -0
  87. package/packages/theme-chalk/lib/flow-group.css +1 -0
  88. package/packages/theme-chalk/lib/flow-list.css +1 -0
  89. package/packages/theme-chalk/lib/flow.css +1 -0
  90. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  91. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  92. package/packages/theme-chalk/lib/form.css +1 -0
  93. package/packages/theme-chalk/lib/handle-user.css +1 -0
  94. package/packages/theme-chalk/lib/handler.css +1 -0
  95. package/packages/theme-chalk/lib/icon.css +1 -0
  96. package/packages/theme-chalk/lib/icons.css +1 -0
  97. package/packages/theme-chalk/lib/index.css +1 -0
  98. package/packages/theme-chalk/lib/input-number.css +0 -0
  99. package/packages/theme-chalk/lib/input.css +1 -0
  100. package/packages/theme-chalk/lib/label.css +1 -0
  101. package/packages/theme-chalk/lib/layout.css +1 -0
  102. package/packages/theme-chalk/lib/login.css +1 -0
  103. package/packages/theme-chalk/lib/main.css +1 -0
  104. package/packages/theme-chalk/lib/mainComp.css +0 -0
  105. package/packages/theme-chalk/lib/menu.css +1 -0
  106. package/packages/theme-chalk/lib/nav.css +1 -0
  107. package/packages/theme-chalk/lib/notify.css +0 -0
  108. package/packages/theme-chalk/lib/page.css +1 -0
  109. package/packages/theme-chalk/lib/pagination.css +1 -0
  110. package/packages/theme-chalk/lib/player.css +1 -0
  111. package/packages/theme-chalk/lib/qr-code.css +1 -0
  112. package/packages/theme-chalk/lib/radio-group.css +1 -0
  113. package/packages/theme-chalk/lib/retrial-auth.css +1 -0
  114. package/packages/theme-chalk/lib/select-ganged.css +1 -0
  115. package/packages/theme-chalk/lib/select.css +1 -0
  116. package/packages/theme-chalk/lib/selector-panel.css +1 -0
  117. package/packages/theme-chalk/lib/selector.css +1 -0
  118. package/packages/theme-chalk/lib/sizer.css +1 -0
  119. package/packages/theme-chalk/lib/steps.css +1 -0
  120. package/packages/theme-chalk/lib/switch.css +1 -0
  121. package/packages/theme-chalk/lib/table-form.css +0 -0
  122. package/packages/theme-chalk/lib/tabs-panel.css +0 -0
  123. package/packages/theme-chalk/lib/tabs.css +1 -0
  124. package/packages/theme-chalk/lib/tips.css +1 -0
  125. package/packages/theme-chalk/lib/toolbar.css +1 -0
  126. package/packages/theme-chalk/lib/tree-group.css +1 -0
  127. package/packages/theme-chalk/lib/tree.css +1 -0
  128. package/packages/theme-chalk/lib/upload.css +1 -0
  129. package/packages/theme-chalk/lib/wujie.css +0 -0
  130. package/packages/theme-chalk/lib/wxlogin.css +1 -0
  131. package/packages/theme-chalk/src/data-table.scss +6 -0
  132. package/packages/theme-chalk/src/toolbar.scss +3 -0
  133. package/packages/toolbar/src/main.vue +10 -1
  134. package/packages/tree-group/src/main.vue +36 -2
  135. package/packages/upload/src/main.vue +6 -6
  136. package/src/index.js +1 -1
  137. package/src/utils/util.js +148 -80
  138. package/packages/theme-chalk/gulpfile.js +0 -25
@@ -257,7 +257,13 @@ var ajax = function ajax(_ref) {
257
257
  if (response.status === 200) {
258
258
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
259
259
  removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
260
- if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
260
+ var href = '';
261
+ try {
262
+ href = win.top.location.href;
263
+ } catch (error) {
264
+ href = win.location.href;
265
+ }
266
+ if (href.indexOf('#/login') === -1 && href.indexOf('/login.html') === -1) {
261
267
  var remind = sessionStorage.getItem('remind');
262
268
  if (!remind) {
263
269
  clearTimeout(loginMsg);
@@ -273,33 +279,37 @@ var ajax = function ajax(_ref) {
273
279
  closeOnClickModal: false,
274
280
  type: 'warning'
275
281
  }).then(function () {
276
- var loginPage = getStorage('login') || getStorage('loginPage');
277
- if (loginPage) {
278
- var src = void 0;
279
- if (!startWith(loginPage, ['http', '/'], true)) {
280
- var pathname = win.top.location.pathname;
281
- if (pathname !== '/') {
282
- pathname = pathname.split('/');
283
- pathname.splice(pathname.length - 1);
284
- pathname = pathname.join('/');
285
- src = pathname + '/' + loginPage.replace('./', '');
282
+ try {
283
+ var loginPage = getStorage('login') || getStorage('loginPage');
284
+ if (loginPage) {
285
+ var src = void 0;
286
+ if (!startWith(loginPage, ['http', '/'], true)) {
287
+ var pathname = win.top.location.pathname;
288
+ if (pathname !== '/') {
289
+ pathname = pathname.split('/');
290
+ pathname.splice(pathname.length - 1);
291
+ pathname = pathname.join('/');
292
+ src = pathname + '/' + loginPage.replace('./', '');
293
+ } else {
294
+ src = pathname + loginPage.replace('./', '');
295
+ }
286
296
  } else {
287
- src = pathname + loginPage.replace('./', '');
297
+ src = loginPage;
288
298
  }
299
+ win.top.location.href = src;
300
+ } else if (win.top.location.href.indexOf('main.html') > -1) {
301
+ win.top.location.href = './login.html';
289
302
  } else {
290
- src = loginPage;
291
- }
292
- win.top.location.href = src;
293
- } else if (win.top.location.href.indexOf('main.html') > -1) {
294
- win.top.location.href = './login.html';
295
- } else {
296
- var hash = win.top.location.hash;
297
- if (hash) {
298
- var len = win.top.location.href.indexOf(hash);
299
- win.top.location.href = win.location.href.slice(0, len) + '#/login';
300
- } else {
301
- win.top.location.href = '/login.html';
303
+ var hash = win.top.location.hash;
304
+ if (hash) {
305
+ var len = win.top.location.href.indexOf(hash);
306
+ win.top.location.href = win.location.href.slice(0, len) + '#/login';
307
+ } else {
308
+ win.top.location.href = '/login.html';
309
+ }
302
310
  }
311
+ } catch (error) {
312
+ win.postMessage({ type: 1 }, '*');
303
313
  }
304
314
  }).catch(function (e) {
305
315
  sessionStorage.removeItem('remind');
@@ -737,7 +747,13 @@ var delUrlParam = function delUrlParam(_ref2) {
737
747
  var url = _ref2.url,
738
748
  key = _ref2.key;
739
749
 
740
- var src = url ? decodeURI(url) : decodeURI(win.top.location.href);
750
+ var pUrl = '';
751
+ try {
752
+ pUrl = win.top.location.href;
753
+ } catch (error) {
754
+ pUrl = win.location.href;
755
+ }
756
+ var src = url ? decodeURI(url) : decodeURI(pUrl);
741
757
  var param = getParams({ url: src });
742
758
  if (param && key.length) {
743
759
  if (Array.isArray(key)) {
@@ -1233,6 +1249,21 @@ var getHour = function getHour(datetime) {
1233
1249
  return datetimeObj.getHours();
1234
1250
  };
1235
1251
 
1252
+ /**
1253
+ * getMyWinTop
1254
+ * @desc 获取同域的top窗口
1255
+ * @param {object} wind - window对象
1256
+ **/
1257
+ var getMyWinTop = function getMyWinTop(wind) {
1258
+ wind = wind ? wind : win;
1259
+ try {
1260
+ wind.parent.document;
1261
+ return getMyWinTop(wind.parent);
1262
+ } catch (error) {
1263
+ return wind;
1264
+ }
1265
+ };
1266
+
1236
1267
  /**
1237
1268
  * getWeekNumber
1238
1269
  * @desc 当年第几周
@@ -1987,7 +2018,12 @@ var isLogined = function isLogined(_ref8) {
1987
2018
  }).catch(function () {});
1988
2019
  return;
1989
2020
  }
1990
- var pathname = win.top.location.pathname;
2021
+ var pathname = '';
2022
+ try {
2023
+ pathname = win.top.location.pathname;
2024
+ } catch (error) {
2025
+ pathname = win.location.pathname;
2026
+ }
1991
2027
  if (loginPage) {
1992
2028
  sessionStorage.setItem('loginPage', loginPage);
1993
2029
  if (!startWith(loginPage, ['http', '/'], true)) {
@@ -2028,22 +2064,38 @@ var isLogined = function isLogined(_ref8) {
2028
2064
  deviceUnique: results.deviceUnique
2029
2065
  }
2030
2066
  });
2031
- var url = delUrlParam({
2032
- url: win.top.location.href,
2033
- key: ['serverId', 'authType', 'code', 'sessionId']
2034
- });
2035
- win.top.location.href = url;
2036
- setTimeout(function () {
2037
- win.top.location.reload();
2038
- }, 200);
2067
+ try {
2068
+ var url = delUrlParam({
2069
+ url: win.top.location.href,
2070
+ key: ['serverId', 'authType', 'code', 'sessionId']
2071
+ });
2072
+ win.top.location.href = url;
2073
+ setTimeout(function () {
2074
+ win.top.location.reload();
2075
+ }, 200);
2076
+ } catch (error) {
2077
+ var _url2 = delUrlParam({
2078
+ url: win.location.href,
2079
+ key: ['serverId', 'authType', 'code', 'sessionId']
2080
+ });
2081
+ win.location.href = _url2;
2082
+ setTimeout(function () {
2083
+ win.location.reload();
2084
+ }, 200);
2085
+ }
2039
2086
  break;
2040
2087
  case 1:
2041
2088
  break;
2042
2089
  case 2:
2043
2090
  break;
2044
2091
  case 3:
2045
- var href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(win.top.location.href));
2046
- win.top.location.href = href;
2092
+ try {
2093
+ var href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(win.top.location.href));
2094
+ win.top.location.href = href;
2095
+ } catch (error) {
2096
+ var _href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(win.location.href));
2097
+ win.location.href = _href;
2098
+ }
2047
2099
  break;
2048
2100
  case 4:
2049
2101
  eoss_element__WEBPACK_IMPORTED_MODULE_5__["MessageBox"].alert(results.msg ? results.msg : '账号未绑定,账号密码登录后自动绑定!', '提示', {
@@ -2051,14 +2103,18 @@ var isLogined = function isLogined(_ref8) {
2051
2103
  type: 'error',
2052
2104
  callback: function callback() {
2053
2105
  sessionStorage.setItem('extUserBindHandleId', results.extUserBindHandleId);
2054
- if (loginPage) {
2055
- win.top.location.replace(loginPage);
2056
- } else if (document.referrer) {
2057
- win.top.location.replace(document.referrer);
2058
- } else if (win.top.location.href.indexOf('main.html') > -1) {
2059
- win.top.location.href = './login.html';
2060
- } else {
2061
- next('/login');
2106
+ try {
2107
+ if (loginPage) {
2108
+ win.top.location.replace(loginPage);
2109
+ } else if (document.referrer) {
2110
+ win.top.location.replace(document.referrer);
2111
+ } else if (win.top.location.href.indexOf('main.html') > -1) {
2112
+ win.top.location.href = './login.html';
2113
+ } else {
2114
+ next('/login');
2115
+ }
2116
+ } catch (error) {
2117
+ win.postMessage({ type: 1 }, '*');
2062
2118
  }
2063
2119
  }
2064
2120
  });
@@ -2070,14 +2126,18 @@ var isLogined = function isLogined(_ref8) {
2070
2126
  confirmButtonText: '确定',
2071
2127
  type: 'error',
2072
2128
  callback: function callback() {
2073
- if (loginPage) {
2074
- win.top.location.replace(loginPage);
2075
- } else if (document.referrer) {
2076
- win.top.location.replace(document.referrer);
2077
- } else if (win.top.location.href.indexOf('main.html') > -1) {
2078
- win.top.location.href = './login.html';
2079
- } else {
2080
- next('/login');
2129
+ try {
2130
+ if (loginPage) {
2131
+ win.top.location.replace(loginPage);
2132
+ } else if (document.referrer) {
2133
+ win.top.location.replace(document.referrer);
2134
+ } else if (win.top.location.href.indexOf('main.html') > -1) {
2135
+ win.top.location.href = './login.html';
2136
+ } else {
2137
+ next('/login');
2138
+ }
2139
+ } catch (error) {
2140
+ win.postMessage({ type: 1 }, '*');
2081
2141
  }
2082
2142
  }
2083
2143
  });
@@ -2090,14 +2150,18 @@ var isLogined = function isLogined(_ref8) {
2090
2150
  next();
2091
2151
  }
2092
2152
  } else {
2093
- if (loginPage) {
2094
- win.top.location.replace(loginPage);
2095
- } else if (document.referrer) {
2096
- win.top.location.replace(document.referrer);
2097
- } else if (win.top.location.href.indexOf('main.html') > -1) {
2098
- win.top.location.href = './login.html';
2099
- } else {
2100
- next('/login');
2153
+ try {
2154
+ if (loginPage) {
2155
+ win.top.location.replace(loginPage);
2156
+ } else if (document.referrer) {
2157
+ win.top.location.replace(document.referrer);
2158
+ } else if (win.top.location.href.indexOf('main.html') > -1) {
2159
+ win.top.location.href = './login.html';
2160
+ } else {
2161
+ next('/login');
2162
+ }
2163
+ } catch (error) {
2164
+ win.postMessage({ type: 1 }, '*');
2101
2165
  }
2102
2166
  }
2103
2167
  }
@@ -2527,30 +2591,30 @@ var setStorage = function setStorage(_ref14) {
2527
2591
  if (value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object') {
2528
2592
  value = JSON.stringify(value);
2529
2593
  }
2530
- if (type === undefined || type === 'sessionStorage') {
2594
+ if (type === 'localStorage') {
2531
2595
  if (typeof key === 'string') {
2532
- sessionStorage.setItem(key, value);
2596
+ localStorage.setItem(key, value);
2533
2597
  } else if (Array.isArray(key)) {
2534
2598
  for (var i in key) {
2535
- sessionStorage.setItem(key[i], value);
2599
+ localStorage.setItem(key[i], value);
2536
2600
  }
2537
2601
  } else {
2538
2602
  for (var _i6 in key) {
2539
2603
  var val = _typeof(key[_i6]) === 'object' ? JSON.stringify(key[_i6]) : key[_i6];
2540
- sessionStorage.setItem(_i6, val);
2604
+ localStorage.setItem(_i6, val);
2541
2605
  }
2542
2606
  }
2543
2607
  } else {
2544
2608
  if (typeof key === 'string') {
2545
- localStorage.setItem(key, value);
2609
+ sessionStorage.setItem(key, value);
2546
2610
  } else if (Array.isArray(key)) {
2547
2611
  for (var _i7 in key) {
2548
- localStorage.setItem(key[_i7], value);
2612
+ sessionStorage.setItem(key[_i7], value);
2549
2613
  }
2550
2614
  } else {
2551
2615
  for (var _i8 in key) {
2552
2616
  var _val = _typeof(key[_i8]) === 'object' ? JSON.stringify(key[_i8]) : key[_i8];
2553
- localStorage.setItem(_i8, _val);
2617
+ sessionStorage.setItem(_i8, _val);
2554
2618
  }
2555
2619
  }
2556
2620
  }
@@ -2953,6 +3017,7 @@ var watermark = function watermark(option) {
2953
3017
  getCurrentDate: getCurrentDate,
2954
3018
  getCurrentDateTime: getCurrentDateTime,
2955
3019
  getHour: getHour,
3020
+ getMyWinTop: getMyWinTop,
2956
3021
  getWeekNumber: getWeekNumber,
2957
3022
  getLength: getLength,
2958
3023
  getMainConfig: getMainConfig,
@@ -3709,8 +3774,17 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3709
3774
  var param = this.param ? this.param : {};
3710
3775
  evt.stopPropagation();
3711
3776
  evt.preventDefault();
3712
- var width = utils_util["a" /* default */].win.top.screen.availWidth - 10;
3713
- var height = utils_util["a" /* default */].win.top.screen.availHeight - 60;
3777
+ var width = 0;
3778
+ var height = 0;
3779
+ var win = void 0;
3780
+ try {
3781
+ utils_util["a" /* default */].win.top.document;
3782
+ win = utils_util["a" /* default */].win.top;
3783
+ } catch (error) {
3784
+ win = utils_util["a" /* default */].getMyWinTop();
3785
+ }
3786
+ width = win.screen.availWidth - 10;
3787
+ height = win.screen.availHeight - 60;
3714
3788
  var flag = true;
3715
3789
  if (this.esForm) {
3716
3790
  var params = utils_util["a" /* default */].getParams({ url: this.link });
@@ -3832,12 +3906,12 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3832
3906
  if (flag) {
3833
3907
  if (this.specs) {
3834
3908
  if (typeof this.specs === 'boolean') {
3835
- windows = utils_util["a" /* default */].win.top.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }), this.name, 'width=' + width + 'px,height=' + height + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
3909
+ windows = utils_util["a" /* default */].win.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }), this.name, 'width=' + width + 'px,height=' + height + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
3836
3910
  } else {
3837
- windows = utils_util["a" /* default */].win.top.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }), this.name, this.specs);
3911
+ windows = utils_util["a" /* default */].win.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }), this.name, this.specs);
3838
3912
  }
3839
3913
  } else {
3840
- windows = utils_util["a" /* default */].win.top.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }));
3914
+ windows = utils_util["a" /* default */].win.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }));
3841
3915
  }
3842
3916
  }
3843
3917
  if (windows) {
@@ -4045,8 +4119,8 @@ main.install = function (Vue) {
4045
4119
  };
4046
4120
 
4047
4121
  /* harmony default export */ var packages_button = (main);
4048
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button-group/src/main.vue?vue&type=template&id=d8f0dac2&
4049
- var mainvue_type_template_id_d8f0dac2_render = function () {
4122
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button-group/src/main.vue?vue&type=template&id=10c7630a&
4123
+ var mainvue_type_template_id_10c7630a_render = function () {
4050
4124
  var _vm = this
4051
4125
  var _h = _vm.$createElement
4052
4126
  var _c = _vm._self._c || _h
@@ -4128,11 +4202,11 @@ var mainvue_type_template_id_d8f0dac2_render = function () {
4128
4202
  2
4129
4203
  )
4130
4204
  }
4131
- var mainvue_type_template_id_d8f0dac2_staticRenderFns = []
4132
- mainvue_type_template_id_d8f0dac2_render._withStripped = true
4205
+ var mainvue_type_template_id_10c7630a_staticRenderFns = []
4206
+ mainvue_type_template_id_10c7630a_render._withStripped = true
4133
4207
 
4134
4208
 
4135
- // CONCATENATED MODULE: ./packages/button-group/src/main.vue?vue&type=template&id=d8f0dac2&
4209
+ // CONCATENATED MODULE: ./packages/button-group/src/main.vue?vue&type=template&id=10c7630a&
4136
4210
 
4137
4211
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/button-group/src/main.vue?vue&type=script&lang=js&
4138
4212
  //
@@ -4247,9 +4321,11 @@ mainvue_type_template_id_d8f0dac2_render._withStripped = true
4247
4321
  },
4248
4322
  handleClick: function handleClick(obj) {
4249
4323
  this.$emit('handleClick', obj);
4324
+ this.$emit('handle-click', obj);
4250
4325
  },
4251
4326
  handleCommand: function handleCommand(res) {
4252
4327
  this.$emit('handleClick', { row: this.data, handle: res });
4328
+ this.$emit('handle-click', { row: this.data, handle: res });
4253
4329
  },
4254
4330
  resetWidth: function resetWidth() {
4255
4331
  var _this2 = this;
@@ -4282,8 +4358,8 @@ mainvue_type_template_id_d8f0dac2_render._withStripped = true
4282
4358
 
4283
4359
  var src_main_component = normalizeComponent(
4284
4360
  packages_button_group_src_mainvue_type_script_lang_js_,
4285
- mainvue_type_template_id_d8f0dac2_render,
4286
- mainvue_type_template_id_d8f0dac2_staticRenderFns,
4361
+ mainvue_type_template_id_10c7630a_render,
4362
+ mainvue_type_template_id_10c7630a_staticRenderFns,
4287
4363
  false,
4288
4364
  null,
4289
4365
  null,
@@ -5625,8 +5701,8 @@ clients_src_main.install = function (Vue) {
5625
5701
  };
5626
5702
 
5627
5703
  /* harmony default export */ var clients = (clients_src_main);
5628
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=85146f6a&
5629
- var mainvue_type_template_id_85146f6a_render = function () {
5704
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=76df6f7a&
5705
+ var mainvue_type_template_id_76df6f7a_render = function () {
5630
5706
  var _vm = this
5631
5707
  var _h = _vm.$createElement
5632
5708
  var _c = _vm._self._c || _h
@@ -5646,6 +5722,7 @@ var mainvue_type_template_id_85146f6a_render = function () {
5646
5722
  staticClass: "es-data-table",
5647
5723
  attrs: {
5648
5724
  "label-width": "0",
5725
+ "element-loading-background": "rgba(0, 0, 0, 0.65)",
5649
5726
  model: _vm.tag === "div" ? "" : _vm.datas,
5650
5727
  "element-loading-text": _vm.tableLoadingText,
5651
5728
  },
@@ -5669,14 +5746,18 @@ var mainvue_type_template_id_85146f6a_render = function () {
5669
5746
  },
5670
5747
  false
5671
5748
  ),
5672
- {
5673
- click: _vm.handleClick,
5674
- search: _vm.hanleSearch,
5675
- submit: _vm.hanleSubmit,
5676
- tabs: _vm.handleTabs,
5677
- reset: _vm.hanleReset,
5678
- cancel: _vm.hanleCancel,
5679
- }
5749
+ Object.assign(
5750
+ {},
5751
+ {
5752
+ click: _vm.handleClick,
5753
+ search: _vm.hanleSearch,
5754
+ submit: _vm.hanleSubmit,
5755
+ tabs: _vm.handleTabs,
5756
+ reset: _vm.hanleReset,
5757
+ cancel: _vm.hanleCancel,
5758
+ },
5759
+ _vm.toolbars.events || {}
5760
+ )
5680
5761
  )
5681
5762
  )
5682
5763
  : _vm._e(),
@@ -5718,6 +5799,8 @@ var mainvue_type_template_id_85146f6a_render = function () {
5718
5799
  ? _vm.tableHeight
5719
5800
  : undefined,
5720
5801
  border: _vm.border,
5802
+ infiniteScroll: _vm.getTableData,
5803
+ infiniteScrollDisabled: _vm.infiniteDisabled,
5721
5804
  }),
5722
5805
  false
5723
5806
  ),
@@ -5840,7 +5923,16 @@ var mainvue_type_template_id_85146f6a_render = function () {
5840
5923
  ],
5841
5924
  2
5842
5925
  ),
5843
- _vm.page
5926
+ _vm.infiniteScroll
5927
+ ? _c("div", { staticClass: "es-table-page es-loading-page" }, [
5928
+ _c("span", [
5929
+ _vm._v("共" + _vm._s(_vm.config.totalCount) + "条,"),
5930
+ ]),
5931
+ _c("span", [
5932
+ _vm._v("已加载" + _vm._s(_vm.datas.length) + "条"),
5933
+ ]),
5934
+ ])
5935
+ : _vm.page
5844
5936
  ? _c(
5845
5937
  "es-pagination",
5846
5938
  _vm._g(
@@ -5875,11 +5967,11 @@ var mainvue_type_template_id_85146f6a_render = function () {
5875
5967
  1
5876
5968
  )
5877
5969
  }
5878
- var mainvue_type_template_id_85146f6a_staticRenderFns = []
5879
- mainvue_type_template_id_85146f6a_render._withStripped = true
5970
+ var mainvue_type_template_id_76df6f7a_staticRenderFns = []
5971
+ mainvue_type_template_id_76df6f7a_render._withStripped = true
5880
5972
 
5881
5973
 
5882
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=85146f6a&
5974
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=76df6f7a&
5883
5975
 
5884
5976
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/children.vue?vue&type=template&id=29bcbc72&
5885
5977
  var childrenvue_type_template_id_29bcbc72_render = function () {
@@ -5924,8 +6016,8 @@ childrenvue_type_template_id_29bcbc72_render._withStripped = true
5924
6016
 
5925
6017
  // CONCATENATED MODULE: ./packages/data-table/src/children.vue?vue&type=template&id=29bcbc72&
5926
6018
 
5927
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/column.vue?vue&type=template&id=84eb4d70&
5928
- var columnvue_type_template_id_84eb4d70_render = function () {
6019
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/column.vue?vue&type=template&id=00e33786&
6020
+ var columnvue_type_template_id_00e33786_render = function () {
5929
6021
  var _vm = this
5930
6022
  var _h = _vm.$createElement
5931
6023
  var _c = _vm._self._c || _h
@@ -6643,11 +6735,11 @@ var columnvue_type_template_id_84eb4d70_render = function () {
6643
6735
  2
6644
6736
  )
6645
6737
  }
6646
- var columnvue_type_template_id_84eb4d70_staticRenderFns = []
6647
- columnvue_type_template_id_84eb4d70_render._withStripped = true
6738
+ var columnvue_type_template_id_00e33786_staticRenderFns = []
6739
+ columnvue_type_template_id_00e33786_render._withStripped = true
6648
6740
 
6649
6741
 
6650
- // CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=84eb4d70&
6742
+ // CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=00e33786&
6651
6743
 
6652
6744
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
6653
6745
  var regenerator_ = __webpack_require__(2);
@@ -7419,10 +7511,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7419
7511
  handleBlur: function handleBlur(data) {
7420
7512
  this.events && this.events.blur && this.events.blur(data);
7421
7513
  this.$emit('formBlur', data);
7514
+ this.$emit('form-blur', data);
7422
7515
  },
7423
7516
  handleFocus: function handleFocus(data) {
7424
7517
  this.events && this.events.focus && this.events.focus(data);
7425
7518
  this.$emit('formFocus', data);
7519
+ this.$emit('form-focus', data);
7426
7520
  },
7427
7521
  handleChange: function handleChange(data) {
7428
7522
  var _this3 = this;
@@ -7479,9 +7573,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7479
7573
  }
7480
7574
  this.events && this.events.change && this.events.change(data);
7481
7575
  this.$emit('formChange', data);
7576
+ this.$emit('form-change', data);
7482
7577
  },
7483
7578
  handleClick: function handleClick(data) {
7484
7579
  this.$emit('handleClick', data);
7580
+ this.$emit('handle-click', data);
7485
7581
  },
7486
7582
  formatDate: function formatDate(date, fmt) {
7487
7583
  return utils_util["a" /* default */].formatDate(date, fmt);
@@ -7500,8 +7596,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7500
7596
 
7501
7597
  var column_component = normalizeComponent(
7502
7598
  src_columnvue_type_script_lang_js_,
7503
- columnvue_type_template_id_84eb4d70_render,
7504
- columnvue_type_template_id_84eb4d70_staticRenderFns,
7599
+ columnvue_type_template_id_00e33786_render,
7600
+ columnvue_type_template_id_00e33786_staticRenderFns,
7505
7601
  false,
7506
7602
  null,
7507
7603
  null,
@@ -7953,6 +8049,14 @@ var mainvue_type_script_lang_js_components, _watch;
7953
8049
  //
7954
8050
  //
7955
8051
  //
8052
+ //
8053
+ //
8054
+ //
8055
+ //
8056
+ //
8057
+ //
8058
+ //
8059
+ //
7956
8060
 
7957
8061
 
7958
8062
 
@@ -8177,21 +8281,16 @@ var mainvue_type_script_lang_js_components, _watch;
8177
8281
  }
8178
8282
  },
8179
8283
  rowData: [Object, Boolean],
8180
- least: {
8181
- type: Boolean,
8182
- default: false
8183
- },
8284
+ least: Boolean,
8184
8285
  //保留搜索参数
8185
- retainSearh: {
8186
- type: Boolean,
8187
- default: false
8188
- }
8286
+ retainSearh: Boolean,
8287
+ infiniteScroll: Boolean
8189
8288
  },
8190
8289
  data: function data() {
8191
8290
  return {
8192
8291
  requests: [],
8193
8292
  theadData: [],
8194
- list: null,
8293
+ list: [],
8195
8294
  tableLoading: this.loading,
8196
8295
  tableLoadingText: '加载中...',
8197
8296
  isFirsetCheck: false,
@@ -8212,7 +8311,8 @@ var mainvue_type_script_lang_js_components, _watch;
8212
8311
  options: {},
8213
8312
  icon: true,
8214
8313
  show: true,
8215
- sysCodes: []
8314
+ sysCodes: [],
8315
+ infiniteDisabled: this.infiniteScroll
8216
8316
  };
8217
8317
  },
8218
8318
 
@@ -8235,13 +8335,19 @@ var mainvue_type_script_lang_js_components, _watch;
8235
8335
  });
8236
8336
  }
8237
8337
  if (this.numbers) {
8338
+ var index = 1;
8339
+ if (this.infiniteScroll) {
8340
+ index = typeof this.index == 'boolean' ? 1 : this.index;
8341
+ } else if (this.index || this.index === 0) {
8342
+ index = this.index === true ? (this.config.pageNum - 1) * this.config.pageSize + 1 : this.index;
8343
+ }
8238
8344
  thead.push({
8239
8345
  type: 'index',
8240
8346
  label: '序号',
8241
8347
  width: '70',
8242
8348
  align: 'center',
8243
8349
  fixed: 'left',
8244
- index: this.index === true ? (this.config.pageNum - 1) * this.config.pageSize + 1 : this.index === false ? 1 : this.index
8350
+ index: index
8245
8351
  });
8246
8352
  }
8247
8353
  if (this.theadData.length) {
@@ -8259,10 +8365,10 @@ var mainvue_type_script_lang_js_components, _watch;
8259
8365
  get: function get() {
8260
8366
  var _this = this;
8261
8367
 
8262
- if (this.list) {
8368
+ if (this.list && this.list.length) {
8263
8369
  return this.list;
8264
8370
  }
8265
- if (this.page && this.data && this.data.length && this.config.totalCount < this.data.length + 1) {
8371
+ if (this.page && this.data && this.data.length && this.config.totalCount < this.data.length + 2) {
8266
8372
  this.config.totalCount = this.data.length - this.lose;
8267
8373
  return this.data.filter(function (item, index) {
8268
8374
  return index > (_this.config.pageNum - 1) * _this.config.pageSize - 1 && index < _this.config.pageNum * _this.config.pageSize;
@@ -8515,12 +8621,19 @@ var mainvue_type_script_lang_js_components, _watch;
8515
8621
  }
8516
8622
  this.data.splice(index, 0, data);
8517
8623
  this.$emit('dataChange', 'add', data);
8624
+ this.$emit('data-change', 'add', data);
8518
8625
  this.$emit('btnClick', {
8519
8626
  event: 'addRow',
8520
8627
  row: data,
8521
8628
  index: index,
8522
8629
  data: this.data
8523
8630
  });
8631
+ this.$emit('btn-click', {
8632
+ event: 'addRow',
8633
+ row: data,
8634
+ index: index,
8635
+ data: this.data
8636
+ });
8524
8637
  } else {
8525
8638
  var _index = this.data.length;
8526
8639
  if (this.page) {
@@ -8556,12 +8669,19 @@ var mainvue_type_script_lang_js_components, _watch;
8556
8669
  }
8557
8670
  this.data.splice(index, 1);
8558
8671
  this.$emit('dataChange', 'delete', data);
8672
+ this.$emit('data-change', 'delete', data);
8559
8673
  this.$emit('btnClick', {
8560
8674
  event: 'deleteRow',
8561
8675
  row: data,
8562
8676
  index: index,
8563
8677
  data: this.data
8564
8678
  });
8679
+ this.$emit('btn-click', {
8680
+ event: 'deleteRow',
8681
+ row: data,
8682
+ index: index,
8683
+ data: this.data
8684
+ });
8565
8685
  },
8566
8686
  checkSelect: function checkSelect(newVal) {
8567
8687
  var _this5 = this;
@@ -8627,7 +8747,7 @@ var mainvue_type_script_lang_js_components, _watch;
8627
8747
  if (!this.url) {
8628
8748
  return;
8629
8749
  }
8630
- if (first !== false) {
8750
+ if (first !== false && !this.infiniteScroll) {
8631
8751
  this.config.pageNum = 1;
8632
8752
  }
8633
8753
  this.tableLoadingText = '加载中...';
@@ -8651,13 +8771,21 @@ var mainvue_type_script_lang_js_components, _watch;
8651
8771
  }).then(function (res) {
8652
8772
  _this7.tableLoading = false;
8653
8773
  if (res.rCode === 0 || res.status === 'success') {
8654
- _this7.$refs.oaTable && _this7.$refs.oaTable.resetScroll && _this7.$refs.oaTable.resetScroll(0, 0);
8655
8774
  var results = _this7.parseData !== undefined ? _this7.parseData(res.results || res.data || res) : res.results || res.data;
8656
- _this7.list = results.data || results.records || results.list || [];
8775
+ if (_this7.infiniteScroll) {
8776
+ _this7.list = _this7.list.concat(results.data || results.records || results.list);
8777
+ _this7.config.pageNum += 1;
8778
+ } else {
8779
+ _this7.list = results.data || results.records || results.list || [];
8780
+ _this7.$refs.oaTable && _this7.$refs.oaTable.resetScroll && _this7.$refs.oaTable.resetScroll(0, 0);
8781
+ }
8657
8782
  _this7.config.totalCount = results.count || results.total || results.totalCount;
8658
8783
  _this7.checked && _this7.$nextTick(function () {
8659
8784
  _this7.checkSelect(_this7.checked);
8660
8785
  });
8786
+ if (_this7.infiniteScroll && _this7.config.totalCount === _this7.list.length) {
8787
+ _this7.infiniteDisabled = true;
8788
+ }
8661
8789
  } else {
8662
8790
  _this7.list = [];
8663
8791
  //this.tableHeight = false;
@@ -8957,6 +9085,7 @@ var mainvue_type_script_lang_js_components, _watch;
8957
9085
  sizeChange: function sizeChange(res) {
8958
9086
  this.config.pageSize = res;
8959
9087
  this.config.pageNum = 1;
9088
+ this.checkSelect(this.checked);
8960
9089
  this.$emit('page-size-change', res);
8961
9090
  if (this.url) {
8962
9091
  this.getTableData({ where: this.wheres, first: false });
@@ -8964,6 +9093,7 @@ var mainvue_type_script_lang_js_components, _watch;
8964
9093
  },
8965
9094
  currentChange: function currentChange(res) {
8966
9095
  this.config.pageNum = res;
9096
+ this.checkSelect(this.checked);
8967
9097
  this.$emit('page-current-change', res);
8968
9098
  if (this.url) {
8969
9099
  this.getTableData({ where: this.wheres, first: false });
@@ -8971,10 +9101,12 @@ var mainvue_type_script_lang_js_components, _watch;
8971
9101
  },
8972
9102
  preClick: function preClick(res) {
8973
9103
  this.config.pageNum = res;
9104
+ this.checkSelect(this.checked);
8974
9105
  this.$emit('prev', res);
8975
9106
  },
8976
9107
  nextClick: function nextClick(res) {
8977
9108
  this.config.pageNum = res;
9109
+ this.checkSelect(this.checked);
8978
9110
  this.$emit('next', res);
8979
9111
  },
8980
9112
  hanleSearch: function hanleSearch(data) {
@@ -9150,8 +9282,8 @@ var mainvue_type_script_lang_js_components, _watch;
9150
9282
 
9151
9283
  var data_table_src_main_component = normalizeComponent(
9152
9284
  packages_data_table_src_mainvue_type_script_lang_js_,
9153
- mainvue_type_template_id_85146f6a_render,
9154
- mainvue_type_template_id_85146f6a_staticRenderFns,
9285
+ mainvue_type_template_id_76df6f7a_render,
9286
+ mainvue_type_template_id_76df6f7a_staticRenderFns,
9155
9287
  false,
9156
9288
  null,
9157
9289
  null,
@@ -9571,8 +9703,8 @@ var thead_component = normalizeComponent(
9571
9703
  )
9572
9704
 
9573
9705
  /* harmony default export */ var src_thead = (thead_component.exports);
9574
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table-form/src/tbody.vue?vue&type=template&id=6ced763c&
9575
- var tbodyvue_type_template_id_6ced763c_render = function () {
9706
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table-form/src/tbody.vue?vue&type=template&id=810ed4be&
9707
+ var tbodyvue_type_template_id_810ed4be_render = function () {
9576
9708
  var _vm = this
9577
9709
  var _h = _vm.$createElement
9578
9710
  var _c = _vm._self._c || _h
@@ -9972,11 +10104,11 @@ var tbodyvue_type_template_id_6ced763c_render = function () {
9972
10104
  0
9973
10105
  )
9974
10106
  }
9975
- var tbodyvue_type_template_id_6ced763c_staticRenderFns = []
9976
- tbodyvue_type_template_id_6ced763c_render._withStripped = true
10107
+ var tbodyvue_type_template_id_810ed4be_staticRenderFns = []
10108
+ tbodyvue_type_template_id_810ed4be_render._withStripped = true
9977
10109
 
9978
10110
 
9979
- // CONCATENATED MODULE: ./packages/data-table-form/src/tbody.vue?vue&type=template&id=6ced763c&
10111
+ // CONCATENATED MODULE: ./packages/data-table-form/src/tbody.vue?vue&type=template&id=810ed4be&
9980
10112
 
9981
10113
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table-form/src/radio.vue?vue&type=template&id=3c835729&
9982
10114
  var radiovue_type_template_id_3c835729_render = function () {
@@ -10483,12 +10615,15 @@ var tbodyvue_type_script_lang_js_components;
10483
10615
  methods: {
10484
10616
  handleBlur: function handleBlur(data) {
10485
10617
  this.$emit('formBlur', data);
10618
+ this.$emit('form-blur', data);
10486
10619
  },
10487
10620
  handleFocus: function handleFocus(data) {
10488
10621
  this.$emit('formFocus', data);
10622
+ this.$emit('form-focus', data);
10489
10623
  },
10490
10624
  handleChange: function handleChange(data) {
10491
10625
  this.$emit('formChange', data);
10626
+ this.$emit('form-change', data);
10492
10627
  },
10493
10628
  handeClick: function handeClick(res) {
10494
10629
  var item = res.item,
@@ -10584,8 +10719,8 @@ var tbodyvue_type_script_lang_js_components;
10584
10719
 
10585
10720
  var tbody_component = normalizeComponent(
10586
10721
  src_tbodyvue_type_script_lang_js_,
10587
- tbodyvue_type_template_id_6ced763c_render,
10588
- tbodyvue_type_template_id_6ced763c_staticRenderFns,
10722
+ tbodyvue_type_template_id_810ed4be_render,
10723
+ tbodyvue_type_template_id_810ed4be_staticRenderFns,
10589
10724
  false,
10590
10725
  null,
10591
10726
  null,
@@ -11253,8 +11388,8 @@ date_picker_src_main.install = function (Vue) {
11253
11388
  };
11254
11389
 
11255
11390
  /* harmony default export */ var date_picker = (date_picker_src_main);
11256
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=009d211c&
11257
- var mainvue_type_template_id_009d211c_render = function () {
11391
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=b1d8aec4&
11392
+ var mainvue_type_template_id_b1d8aec4_render = function () {
11258
11393
  var _vm = this
11259
11394
  var _h = _vm.$createElement
11260
11395
  var _c = _vm._self._c || _h
@@ -11763,11 +11898,11 @@ var mainvue_type_template_id_009d211c_render = function () {
11763
11898
  2
11764
11899
  )
11765
11900
  }
11766
- var mainvue_type_template_id_009d211c_staticRenderFns = []
11767
- mainvue_type_template_id_009d211c_render._withStripped = true
11901
+ var mainvue_type_template_id_b1d8aec4_staticRenderFns = []
11902
+ mainvue_type_template_id_b1d8aec4_render._withStripped = true
11768
11903
 
11769
11904
 
11770
- // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=009d211c&
11905
+ // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=b1d8aec4&
11771
11906
 
11772
11907
  // EXTERNAL MODULE: external "wujie-vue2"
11773
11908
  var external_wujie_vue2_ = __webpack_require__(13);
@@ -12165,8 +12300,17 @@ var mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
12165
12300
  created: function created() {
12166
12301
  var _this = this;
12167
12302
 
12168
- var availWidth = utils_util["a" /* default */].win.top.document.body.offsetWidth - 260;
12169
- var availHeight = utils_util["a" /* default */].win.top.document.body.offsetHeight - 60;
12303
+ var availWidth = 0;
12304
+ var availHeight = 0;
12305
+ var win = void 0;
12306
+ try {
12307
+ utils_util["a" /* default */].win.top.document;
12308
+ win = utils_util["a" /* default */].win.top;
12309
+ } catch (error) {
12310
+ win = utils_util["a" /* default */].getMyWinTop();
12311
+ }
12312
+ availWidth = win.document.body.offsetWidth - 260;
12313
+ availHeight = win.document.body.offsetHeight - 60;
12170
12314
  this.sizes.max = { width: availWidth + 'px', height: availHeight + 'px' };
12171
12315
  if (this.size === 'full' || this.width == '100%' && this.height == '100%') {
12172
12316
  this.full = true;
@@ -12321,8 +12465,8 @@ var mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
12321
12465
 
12322
12466
  var dialog_src_main_component = normalizeComponent(
12323
12467
  packages_dialog_src_mainvue_type_script_lang_js_,
12324
- mainvue_type_template_id_009d211c_render,
12325
- mainvue_type_template_id_009d211c_staticRenderFns,
12468
+ mainvue_type_template_id_b1d8aec4_render,
12469
+ mainvue_type_template_id_b1d8aec4_staticRenderFns,
12326
12470
  false,
12327
12471
  null,
12328
12472
  null,
@@ -12588,8 +12732,8 @@ error_page_src_main.install = function (Vue) {
12588
12732
  };
12589
12733
 
12590
12734
  /* harmony default export */ var error_page = (error_page_src_main);
12591
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=93b578ee&
12592
- var mainvue_type_template_id_93b578ee_render = function () {
12735
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=7d054bca&
12736
+ var mainvue_type_template_id_7d054bca_render = function () {
12593
12737
  var _vm = this
12594
12738
  var _h = _vm.$createElement
12595
12739
  var _c = _vm._self._c || _h
@@ -23505,11 +23649,11 @@ var mainvue_type_template_id_93b578ee_render = function () {
23505
23649
  )
23506
23650
  : _vm._e()
23507
23651
  }
23508
- var mainvue_type_template_id_93b578ee_staticRenderFns = []
23509
- mainvue_type_template_id_93b578ee_render._withStripped = true
23652
+ var mainvue_type_template_id_7d054bca_staticRenderFns = []
23653
+ mainvue_type_template_id_7d054bca_render._withStripped = true
23510
23654
 
23511
23655
 
23512
- // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=93b578ee&
23656
+ // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=7d054bca&
23513
23657
 
23514
23658
  // CONCATENATED MODULE: ./src/utils/rules.js
23515
23659
  // 手机号
@@ -28010,6 +28154,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
28010
28154
  }
28011
28155
  _this6.values = utils_util["a" /* default */].extend({}, data, value);
28012
28156
  _this6.$emit('valueSuccess', _this6.values);
28157
+ _this6.$emit('value-success', _this6.values);
28013
28158
  _this6.$emit('result', _this6.values);
28014
28159
  }
28015
28160
  }).catch(function (err) {
@@ -28091,6 +28236,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
28091
28236
  if (valid) {
28092
28237
  _this7.stepActive = index;
28093
28238
  _this7.$emit('stepChange', _this7.stepActive);
28239
+ _this7.$emit('step-change', _this7.stepActive);
28094
28240
  } else {
28095
28241
  _this7.setScroll(valid, triggers, _this7.$refs.scrollbar);
28096
28242
  }
@@ -28098,6 +28244,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
28098
28244
  } else {
28099
28245
  this.stepActive = index;
28100
28246
  this.$emit('stepChange', this.stepActive);
28247
+ this.$emit('step-change', this.stepActive);
28101
28248
  }
28102
28249
  } else if (res.event === 'submit' || res.event === 'confirm' || res.type === 'submit') {
28103
28250
  if (this.action) {
@@ -28137,13 +28284,16 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
28137
28284
  } else if (res.event === 'stepPrev') {
28138
28285
  this.stepActive -= 1;
28139
28286
  this.$emit('stepChange', this.stepActive);
28287
+ this.$emit('step-change', this.stepActive);
28140
28288
  this.$emit('stepPrev', res, this.models, this.getNewValue(utils_util["a" /* default */].extend({}, this._value, this.models), res));
28141
28289
  } else if (res.event === 'stepNext') {
28142
28290
  this.$refs.esForm.validate(function (valid, fields, triggers) {
28143
28291
  if (valid) {
28144
28292
  _this7.stepActive += 1;
28145
28293
  _this7.$emit('stepChange', _this7.stepActive);
28294
+ _this7.$emit('step-change', _this7.stepActive);
28146
28295
  _this7.$emit('stepNext', res, _this7.models, _this7.getNewValue(utils_util["a" /* default */].extend({}, _this7._value, _this7.models), res));
28296
+ _this7.$emit('step-next', res, _this7.models, _this7.getNewValue(utils_util["a" /* default */].extend({}, _this7._value, _this7.models), res));
28147
28297
  } else {
28148
28298
  _this7.setScroll(valid, triggers, _this7.$refs.scrollbar);
28149
28299
  }
@@ -28191,6 +28341,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
28191
28341
  },
28192
28342
  handleDataChange: function handleDataChange(res, data) {
28193
28343
  this.$emit('dataChange', res, data);
28344
+ this.$emit('data-change', res, data);
28194
28345
  },
28195
28346
  handleCollapse: function handleCollapse() {},
28196
28347
  handleChange: function handleChange(a, b, c) {
@@ -28642,8 +28793,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
28642
28793
 
28643
28794
  var form_src_main_component = normalizeComponent(
28644
28795
  packages_form_src_mainvue_type_script_lang_js_,
28645
- mainvue_type_template_id_93b578ee_render,
28646
- mainvue_type_template_id_93b578ee_staticRenderFns,
28796
+ mainvue_type_template_id_7d054bca_render,
28797
+ mainvue_type_template_id_7d054bca_staticRenderFns,
28647
28798
  false,
28648
28799
  null,
28649
28800
  null,
@@ -28660,8 +28811,8 @@ form_src_main.install = function (Vue) {
28660
28811
  };
28661
28812
 
28662
28813
  /* harmony default export */ var packages_form = (form_src_main);
28663
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=650e1054&
28664
- var mainvue_type_template_id_650e1054_render = function () {
28814
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=53041718&
28815
+ var mainvue_type_template_id_53041718_render = function () {
28665
28816
  var _vm = this
28666
28817
  var _h = _vm.$createElement
28667
28818
  var _c = _vm._self._c || _h
@@ -30380,11 +30531,11 @@ var mainvue_type_template_id_650e1054_render = function () {
30380
30531
  )
30381
30532
  : _vm._e()
30382
30533
  }
30383
- var mainvue_type_template_id_650e1054_staticRenderFns = []
30384
- mainvue_type_template_id_650e1054_render._withStripped = true
30534
+ var mainvue_type_template_id_53041718_staticRenderFns = []
30535
+ mainvue_type_template_id_53041718_render._withStripped = true
30385
30536
 
30386
30537
 
30387
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=650e1054&
30538
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=53041718&
30388
30539
 
30389
30540
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=4e1f4030&
30390
30541
  var CommonOpinionsvue_type_template_id_4e1f4030_render = function () {
@@ -30562,8 +30713,8 @@ CommonOpinionsvue_type_template_id_4e1f4030_render._withStripped = true
30562
30713
 
30563
30714
  // CONCATENATED MODULE: ./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=4e1f4030&
30564
30715
 
30565
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/table.vue?vue&type=template&id=508feae4&
30566
- var tablevue_type_template_id_508feae4_render = function () {
30716
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/table.vue?vue&type=template&id=67f38db6&
30717
+ var tablevue_type_template_id_67f38db6_render = function () {
30567
30718
  var _vm = this
30568
30719
  var _h = _vm.$createElement
30569
30720
  var _c = _vm._self._c || _h
@@ -30635,11 +30786,11 @@ var tablevue_type_template_id_508feae4_render = function () {
30635
30786
  2
30636
30787
  )
30637
30788
  }
30638
- var tablevue_type_template_id_508feae4_staticRenderFns = []
30639
- tablevue_type_template_id_508feae4_render._withStripped = true
30789
+ var tablevue_type_template_id_67f38db6_staticRenderFns = []
30790
+ tablevue_type_template_id_67f38db6_render._withStripped = true
30640
30791
 
30641
30792
 
30642
- // CONCATENATED MODULE: ./packages/flow/src/table.vue?vue&type=template&id=508feae4&
30793
+ // CONCATENATED MODULE: ./packages/flow/src/table.vue?vue&type=template&id=67f38db6&
30643
30794
 
30644
30795
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/table.vue?vue&type=script&lang=js&
30645
30796
  //
@@ -30666,6 +30817,11 @@ tablevue_type_template_id_508feae4_render._withStripped = true
30666
30817
  //
30667
30818
  //
30668
30819
  //
30820
+ //
30821
+ //
30822
+ //
30823
+ //
30824
+ //
30669
30825
 
30670
30826
  /* harmony default export */ var flow_src_tablevue_type_script_lang_js_ = ({
30671
30827
  name: 'Table',
@@ -30687,9 +30843,11 @@ tablevue_type_template_id_508feae4_render._withStripped = true
30687
30843
  methods: {
30688
30844
  handleClick: function handleClick(val) {
30689
30845
  this.$emit('upDateClick', val);
30846
+ this.$emit('up-date-click', val);
30690
30847
  },
30691
30848
  delClick: function delClick(val) {
30692
30849
  this.$emit('delClick', val);
30850
+ this.$emit('del-click', val);
30693
30851
  }
30694
30852
  }
30695
30853
  });
@@ -30705,8 +30863,8 @@ tablevue_type_template_id_508feae4_render._withStripped = true
30705
30863
 
30706
30864
  var src_table_component = normalizeComponent(
30707
30865
  packages_flow_src_tablevue_type_script_lang_js_,
30708
- tablevue_type_template_id_508feae4_render,
30709
- tablevue_type_template_id_508feae4_staticRenderFns,
30866
+ tablevue_type_template_id_67f38db6_render,
30867
+ tablevue_type_template_id_67f38db6_staticRenderFns,
30710
30868
  false,
30711
30869
  null,
30712
30870
  null,
@@ -30715,8 +30873,8 @@ var src_table_component = normalizeComponent(
30715
30873
  )
30716
30874
 
30717
30875
  /* harmony default export */ var flow_src_table = (src_table_component.exports);
30718
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/form.vue?vue&type=template&id=c3a13696&
30719
- var formvue_type_template_id_c3a13696_render = function () {
30876
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/form.vue?vue&type=template&id=55fae080&
30877
+ var formvue_type_template_id_55fae080_render = function () {
30720
30878
  var _vm = this
30721
30879
  var _h = _vm.$createElement
30722
30880
  var _c = _vm._self._c || _h
@@ -30830,11 +30988,11 @@ var formvue_type_template_id_c3a13696_render = function () {
30830
30988
  1
30831
30989
  )
30832
30990
  }
30833
- var formvue_type_template_id_c3a13696_staticRenderFns = []
30834
- formvue_type_template_id_c3a13696_render._withStripped = true
30991
+ var formvue_type_template_id_55fae080_staticRenderFns = []
30992
+ formvue_type_template_id_55fae080_render._withStripped = true
30835
30993
 
30836
30994
 
30837
- // CONCATENATED MODULE: ./packages/flow/src/form.vue?vue&type=template&id=c3a13696&
30995
+ // CONCATENATED MODULE: ./packages/flow/src/form.vue?vue&type=template&id=55fae080&
30838
30996
 
30839
30997
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/form.vue?vue&type=script&lang=js&
30840
30998
  //
@@ -30956,6 +31114,7 @@ formvue_type_template_id_c3a13696_render._withStripped = true
30956
31114
  this.$refs[formName].validate(function (valid) {
30957
31115
  if (valid) {
30958
31116
  _this2.$emit('subMit', { addVisible: false, data: _this2.newData });
31117
+ _this2.$emit('sub-mit', { addVisible: false, data: _this2.newData });
30959
31118
  } else {
30960
31119
  return false;
30961
31120
  }
@@ -30975,8 +31134,8 @@ formvue_type_template_id_c3a13696_render._withStripped = true
30975
31134
 
30976
31135
  var form_component = normalizeComponent(
30977
31136
  src_formvue_type_script_lang_js_,
30978
- formvue_type_template_id_c3a13696_render,
30979
- formvue_type_template_id_c3a13696_staticRenderFns,
31137
+ formvue_type_template_id_55fae080_render,
31138
+ formvue_type_template_id_55fae080_staticRenderFns,
30980
31139
  false,
30981
31140
  null,
30982
31141
  null,
@@ -32423,8 +32582,8 @@ var selectUser_component = normalizeComponent(
32423
32582
  )
32424
32583
 
32425
32584
  /* harmony default export */ var selectUser = (selectUser_component.exports);
32426
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CustomPreset.vue?vue&type=template&id=7a0fdf16&
32427
- var CustomPresetvue_type_template_id_7a0fdf16_render = function () {
32585
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CustomPreset.vue?vue&type=template&id=1f648b95&
32586
+ var CustomPresetvue_type_template_id_1f648b95_render = function () {
32428
32587
  var _vm = this
32429
32588
  var _h = _vm.$createElement
32430
32589
  var _c = _vm._self._c || _h
@@ -32526,11 +32685,11 @@ var CustomPresetvue_type_template_id_7a0fdf16_render = function () {
32526
32685
  1
32527
32686
  )
32528
32687
  }
32529
- var CustomPresetvue_type_template_id_7a0fdf16_staticRenderFns = []
32530
- CustomPresetvue_type_template_id_7a0fdf16_render._withStripped = true
32688
+ var CustomPresetvue_type_template_id_1f648b95_staticRenderFns = []
32689
+ CustomPresetvue_type_template_id_1f648b95_render._withStripped = true
32531
32690
 
32532
32691
 
32533
- // CONCATENATED MODULE: ./packages/flow/src/component/CustomPreset.vue?vue&type=template&id=7a0fdf16&
32692
+ // CONCATENATED MODULE: ./packages/flow/src/component/CustomPreset.vue?vue&type=template&id=1f648b95&
32534
32693
 
32535
32694
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CustomPreset.vue?vue&type=script&lang=js&
32536
32695
  var CustomPresetvue_type_script_lang_js_components;
@@ -32573,6 +32732,9 @@ var CustomPresetvue_type_script_lang_js_components;
32573
32732
  //
32574
32733
  //
32575
32734
  //
32735
+ //
32736
+ //
32737
+ //
32576
32738
 
32577
32739
 
32578
32740
 
@@ -32615,6 +32777,7 @@ var CustomPresetvue_type_script_lang_js_components;
32615
32777
  watch: {
32616
32778
  activeNames: function activeNames(val) {
32617
32779
  this.$emit('changeActiveNames', val);
32780
+ this.$emit('change-active-names', val);
32618
32781
  },
32619
32782
 
32620
32783
  processDefinitionId: {
@@ -32639,6 +32802,7 @@ var CustomPresetvue_type_script_lang_js_components;
32639
32802
  return;
32640
32803
  }
32641
32804
  this.$emit('loadingStart');
32805
+ this.$emit('loading-start');
32642
32806
  this.show = false;
32643
32807
  this.getPresetFlowInfo(nodeId, processDefinitionId);
32644
32808
  // return
@@ -32704,6 +32868,7 @@ var CustomPresetvue_type_script_lang_js_components;
32704
32868
  _this.$message.error(message || '系统错误,请联系管理员!');
32705
32869
  }
32706
32870
  _this.$emit('loadingEnd');
32871
+ _this.$emit('loading-end');
32707
32872
  nodeId && setTimeout(function () {
32708
32873
  _this.$refs.selectUser[index].changeInfo(_this.newPresetList[index]);
32709
32874
  }, 500);
@@ -32829,6 +32994,7 @@ var CustomPresetvue_type_script_lang_js_components;
32829
32994
  });
32830
32995
  });
32831
32996
  this.$emit('changeCustom', customPresetUserJson);
32997
+ this.$emit('change-custom', customPresetUserJson);
32832
32998
  }
32833
32999
  }
32834
33000
  });
@@ -32844,8 +33010,8 @@ var CustomPresetvue_type_script_lang_js_components;
32844
33010
 
32845
33011
  var CustomPreset_component = normalizeComponent(
32846
33012
  component_CustomPresetvue_type_script_lang_js_,
32847
- CustomPresetvue_type_template_id_7a0fdf16_render,
32848
- CustomPresetvue_type_template_id_7a0fdf16_staticRenderFns,
33013
+ CustomPresetvue_type_template_id_1f648b95_render,
33014
+ CustomPresetvue_type_template_id_1f648b95_staticRenderFns,
32849
33015
  false,
32850
33016
  null,
32851
33017
  null,
@@ -32854,8 +33020,8 @@ var CustomPreset_component = normalizeComponent(
32854
33020
  )
32855
33021
 
32856
33022
  /* harmony default export */ var CustomPreset = (CustomPreset_component.exports);
32857
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Preset.vue?vue&type=template&id=62657536&
32858
- var Presetvue_type_template_id_62657536_render = function () {
33023
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Preset.vue?vue&type=template&id=23d1e880&
33024
+ var Presetvue_type_template_id_23d1e880_render = function () {
32859
33025
  var _vm = this
32860
33026
  var _h = _vm.$createElement
32861
33027
  var _c = _vm._self._c || _h
@@ -32951,11 +33117,11 @@ var Presetvue_type_template_id_62657536_render = function () {
32951
33117
  1
32952
33118
  )
32953
33119
  }
32954
- var Presetvue_type_template_id_62657536_staticRenderFns = []
32955
- Presetvue_type_template_id_62657536_render._withStripped = true
33120
+ var Presetvue_type_template_id_23d1e880_staticRenderFns = []
33121
+ Presetvue_type_template_id_23d1e880_render._withStripped = true
32956
33122
 
32957
33123
 
32958
- // CONCATENATED MODULE: ./packages/flow/src/component/Preset.vue?vue&type=template&id=62657536&
33124
+ // CONCATENATED MODULE: ./packages/flow/src/component/Preset.vue?vue&type=template&id=23d1e880&
32959
33125
 
32960
33126
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Preset.vue?vue&type=script&lang=js&
32961
33127
  var Presetvue_type_script_lang_js_components;
@@ -33073,6 +33239,7 @@ var Presetvue_type_script_lang_js_components;
33073
33239
  });
33074
33240
  });
33075
33241
  this.$emit('changePreset', presetUserJson);
33242
+ this.$emit('change-preset', presetUserJson);
33076
33243
  },
33077
33244
  changePresetUser: function changePresetUser(val, index) {
33078
33245
  var nextUser = val.nextUser;
@@ -33093,6 +33260,7 @@ var Presetvue_type_script_lang_js_components;
33093
33260
  var _this = this;
33094
33261
 
33095
33262
  this.$emit('loadingStart');
33263
+ this.$emit('loading-start');
33096
33264
  var nextNodeId = this.nextNodeId,
33097
33265
  processDefinitionId = this.processDefinitionId,
33098
33266
  businessId = this.businessId,
@@ -33180,6 +33348,7 @@ var Presetvue_type_script_lang_js_components;
33180
33348
  });
33181
33349
  this.changeSelectData();
33182
33350
  this.$emit('loadingEnd');
33351
+ this.$emit('loading-end');
33183
33352
  },
33184
33353
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
33185
33354
  var multiple = false;
@@ -33226,8 +33395,8 @@ var Presetvue_type_script_lang_js_components;
33226
33395
 
33227
33396
  var Preset_component = normalizeComponent(
33228
33397
  component_Presetvue_type_script_lang_js_,
33229
- Presetvue_type_template_id_62657536_render,
33230
- Presetvue_type_template_id_62657536_staticRenderFns,
33398
+ Presetvue_type_template_id_23d1e880_render,
33399
+ Presetvue_type_template_id_23d1e880_staticRenderFns,
33231
33400
  false,
33232
33401
  null,
33233
33402
  null,
@@ -34101,8 +34270,8 @@ var processForm_component = normalizeComponent(
34101
34270
  )
34102
34271
 
34103
34272
  /* harmony default export */ var processForm = (processForm_component.exports);
34104
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/FileList.vue?vue&type=template&id=8bcb1480&
34105
- var FileListvue_type_template_id_8bcb1480_render = function () {
34273
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/FileList.vue?vue&type=template&id=1258a45c&
34274
+ var FileListvue_type_template_id_1258a45c_render = function () {
34106
34275
  var _vm = this
34107
34276
  var _h = _vm.$createElement
34108
34277
  var _c = _vm._self._c || _h
@@ -34135,11 +34304,11 @@ var FileListvue_type_template_id_8bcb1480_render = function () {
34135
34304
  1
34136
34305
  )
34137
34306
  }
34138
- var FileListvue_type_template_id_8bcb1480_staticRenderFns = []
34139
- FileListvue_type_template_id_8bcb1480_render._withStripped = true
34307
+ var FileListvue_type_template_id_1258a45c_staticRenderFns = []
34308
+ FileListvue_type_template_id_1258a45c_render._withStripped = true
34140
34309
 
34141
34310
 
34142
- // CONCATENATED MODULE: ./packages/flow/src/component/FileList.vue?vue&type=template&id=8bcb1480&
34311
+ // CONCATENATED MODULE: ./packages/flow/src/component/FileList.vue?vue&type=template&id=1258a45c&
34143
34312
 
34144
34313
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/FileList.vue?vue&type=script&lang=js&
34145
34314
  //
@@ -34208,6 +34377,7 @@ FileListvue_type_template_id_8bcb1480_render._withStripped = true
34208
34377
  methods: {
34209
34378
  successFile: function successFile(response, file, fileList) {
34210
34379
  this.$emit('changeFileNum', fileList.length);
34380
+ this.$emit('change-file-num', fileList.length);
34211
34381
  },
34212
34382
 
34213
34383
  //删除附件
@@ -34226,6 +34396,7 @@ FileListvue_type_template_id_8bcb1480_render._withStripped = true
34226
34396
  if (rCode == 0) {
34227
34397
  _this.$message.success('删除成功');
34228
34398
  _this.$emit('changeFileNum', fileList.length);
34399
+ _this.$emit('change-fFile-num', fileList.length);
34229
34400
  } else {
34230
34401
  _this.$message.error(msg || '系统错误,请联系管理员!');
34231
34402
  }
@@ -34249,8 +34420,8 @@ FileListvue_type_template_id_8bcb1480_render._withStripped = true
34249
34420
 
34250
34421
  var FileList_component = normalizeComponent(
34251
34422
  component_FileListvue_type_script_lang_js_,
34252
- FileListvue_type_template_id_8bcb1480_render,
34253
- FileListvue_type_template_id_8bcb1480_staticRenderFns,
34423
+ FileListvue_type_template_id_1258a45c_render,
34424
+ FileListvue_type_template_id_1258a45c_staticRenderFns,
34254
34425
  false,
34255
34426
  null,
34256
34427
  null,
@@ -39239,6 +39410,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39239
39410
  taskButtonList = _res$data2.taskButtonList;
39240
39411
 
39241
39412
  _this23.$emit('startTaskRead', res);
39413
+ _this23.$emit('start-task-read', res);
39242
39414
  _this23.currentOrgName = currentOrgName;
39243
39415
  _this23.otherOrgName = otherOrgName;
39244
39416
  _this23.endFlowInfo.choiceOrgId = choiceOrgId;
@@ -39806,8 +39978,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39806
39978
 
39807
39979
  var flow_src_main_component = normalizeComponent(
39808
39980
  packages_flow_src_mainvue_type_script_lang_js_,
39809
- mainvue_type_template_id_650e1054_render,
39810
- mainvue_type_template_id_650e1054_staticRenderFns,
39981
+ mainvue_type_template_id_53041718_render,
39982
+ mainvue_type_template_id_53041718_staticRenderFns,
39811
39983
  false,
39812
39984
  null,
39813
39985
  null,
@@ -39824,8 +39996,8 @@ flow_src_main.install = function (Vue) {
39824
39996
  };
39825
39997
 
39826
39998
  /* harmony default export */ var packages_flow = (flow_src_main);
39827
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=7f13854e&
39828
- var mainvue_type_template_id_7f13854e_render = function () {
39999
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=16f6a02a&
40000
+ var mainvue_type_template_id_16f6a02a_render = function () {
39829
40001
  var _vm = this
39830
40002
  var _h = _vm.$createElement
39831
40003
  var _c = _vm._self._c || _h
@@ -41053,11 +41225,11 @@ var mainvue_type_template_id_7f13854e_render = function () {
41053
41225
  2
41054
41226
  )
41055
41227
  }
41056
- var mainvue_type_template_id_7f13854e_staticRenderFns = []
41057
- mainvue_type_template_id_7f13854e_render._withStripped = true
41228
+ var mainvue_type_template_id_16f6a02a_staticRenderFns = []
41229
+ mainvue_type_template_id_16f6a02a_render._withStripped = true
41058
41230
 
41059
41231
 
41060
- // CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=7f13854e&
41232
+ // CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=16f6a02a&
41061
41233
 
41062
41234
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=script&lang=js&
41063
41235
  var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -41633,8 +41805,17 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
41633
41805
  var item = _this.tabs[n];
41634
41806
  var url = null;
41635
41807
  var name = item.name;
41636
- var width = utils_util["a" /* default */].win.top.screen.availWidth - 10;
41637
- var height = utils_util["a" /* default */].win.top.screen.availHeight - 60;
41808
+ var width = 0;
41809
+ var height = 0;
41810
+ var win = void 0;
41811
+ try {
41812
+ utils_util["a" /* default */].win.top.document;
41813
+ win = utils_util["a" /* default */].win.top;
41814
+ } catch (error) {
41815
+ win = utils_util["a" /* default */].getMyWinTop();
41816
+ }
41817
+ width = win.screen.availWidth - 10;
41818
+ height = win.screen.availHeight - 60;
41638
41819
  if (item.url) {
41639
41820
  url = _this.handleUrlJoinParams(item);
41640
41821
  }
@@ -41644,7 +41825,7 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
41644
41825
  }
41645
41826
  if (url) {
41646
41827
  reject();
41647
- utils_util["a" /* default */].win.top.open(url, name, 'width=' + width + 'px,height=' + height + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
41828
+ utils_util["a" /* default */].win.open(url, name, 'width=' + width + 'px,height=' + height + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
41648
41829
  } else {
41649
41830
  resolve();
41650
41831
  }
@@ -41694,8 +41875,16 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
41694
41875
  handleSuccess: function handleSuccess() {
41695
41876
  if (this.closeDialog && this.esDialog) {
41696
41877
  this.esDialog.handleClose();
41697
- } else if (utils_util["a" /* default */].win.top.opener) {
41698
- utils_util["a" /* default */].win.top.close();
41878
+ } else if (utils_util["a" /* default */].win.opener) {
41879
+ var win = void 0;
41880
+ try {
41881
+ utils_util["a" /* default */].win.top.document;
41882
+ win = utils_util["a" /* default */].win.top;
41883
+ } catch (error) {
41884
+ win = utils_util["a" /* default */].getMyWinTop();
41885
+ }
41886
+ win.close();
41887
+ win.postMessage({ type: 0 }, '*');
41699
41888
  }
41700
41889
  if (this.events && this.events.success) {
41701
41890
  this.events.success();
@@ -41714,6 +41903,7 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
41714
41903
  },
41715
41904
  handleChangeData: function handleChangeData(res) {
41716
41905
  this.$emit('changeData', res);
41906
+ this.$emit('change-data', res);
41717
41907
  }
41718
41908
  }
41719
41909
  });
@@ -41729,8 +41919,8 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
41729
41919
 
41730
41920
  var flow_group_src_main_component = normalizeComponent(
41731
41921
  packages_flow_group_src_mainvue_type_script_lang_js_,
41732
- mainvue_type_template_id_7f13854e_render,
41733
- mainvue_type_template_id_7f13854e_staticRenderFns,
41922
+ mainvue_type_template_id_16f6a02a_render,
41923
+ mainvue_type_template_id_16f6a02a_staticRenderFns,
41734
41924
  false,
41735
41925
  null,
41736
41926
  null,
@@ -43006,8 +43196,8 @@ flow_list_src_main.install = function (Vue) {
43006
43196
  };
43007
43197
 
43008
43198
  /* harmony default export */ var flow_list = (flow_list_src_main);
43009
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handle-user/src/main.vue?vue&type=template&id=5b7835c6&
43010
- var mainvue_type_template_id_5b7835c6_render = function () {
43199
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handle-user/src/main.vue?vue&type=template&id=4616b35e&
43200
+ var mainvue_type_template_id_4616b35e_render = function () {
43011
43201
  var _vm = this
43012
43202
  var _h = _vm.$createElement
43013
43203
  var _c = _vm._self._c || _h
@@ -43090,11 +43280,11 @@ var mainvue_type_template_id_5b7835c6_render = function () {
43090
43280
  : _vm._e(),
43091
43281
  ])
43092
43282
  }
43093
- var mainvue_type_template_id_5b7835c6_staticRenderFns = []
43094
- mainvue_type_template_id_5b7835c6_render._withStripped = true
43283
+ var mainvue_type_template_id_4616b35e_staticRenderFns = []
43284
+ mainvue_type_template_id_4616b35e_render._withStripped = true
43095
43285
 
43096
43286
 
43097
- // CONCATENATED MODULE: ./packages/handle-user/src/main.vue?vue&type=template&id=5b7835c6&
43287
+ // CONCATENATED MODULE: ./packages/handle-user/src/main.vue?vue&type=template&id=4616b35e&
43098
43288
 
43099
43289
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/handle-user/src/main.vue?vue&type=script&lang=js&
43100
43290
  //
@@ -43196,7 +43386,14 @@ mainvue_type_template_id_5b7835c6_render._withStripped = true
43196
43386
  duration: 500,
43197
43387
  onClose: function onClose() {
43198
43388
  utils_util["a" /* default */].removeStorage(['mainConfig', 'jump']);
43199
- utils_util["a" /* default */].win.top.location.reload();
43389
+ var win = void 0;
43390
+ try {
43391
+ utils_util["a" /* default */].win.top.document;
43392
+ win = utils_util["a" /* default */].win.top;
43393
+ } catch (error) {
43394
+ win = utils_util["a" /* default */].getMyWinTop();
43395
+ }
43396
+ win.location.reload();
43200
43397
  }
43201
43398
  });
43202
43399
  } else {
@@ -43228,8 +43425,8 @@ mainvue_type_template_id_5b7835c6_render._withStripped = true
43228
43425
 
43229
43426
  var handle_user_src_main_component = normalizeComponent(
43230
43427
  packages_handle_user_src_mainvue_type_script_lang_js_,
43231
- mainvue_type_template_id_5b7835c6_render,
43232
- mainvue_type_template_id_5b7835c6_staticRenderFns,
43428
+ mainvue_type_template_id_4616b35e_render,
43429
+ mainvue_type_template_id_4616b35e_staticRenderFns,
43233
43430
  false,
43234
43431
  null,
43235
43432
  null,
@@ -43246,8 +43443,8 @@ handle_user_src_main.install = function (Vue) {
43246
43443
  };
43247
43444
 
43248
43445
  /* harmony default export */ var handle_user = (handle_user_src_main);
43249
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=78f7fb3f&
43250
- var mainvue_type_template_id_78f7fb3f_render = function () {
43446
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=6f2ac1fb&
43447
+ var mainvue_type_template_id_6f2ac1fb_render = function () {
43251
43448
  var _vm = this
43252
43449
  var _h = _vm.$createElement
43253
43450
  var _c = _vm._self._c || _h
@@ -43445,11 +43642,11 @@ var mainvue_type_template_id_78f7fb3f_render = function () {
43445
43642
  0
43446
43643
  )
43447
43644
  }
43448
- var mainvue_type_template_id_78f7fb3f_staticRenderFns = []
43449
- mainvue_type_template_id_78f7fb3f_render._withStripped = true
43645
+ var mainvue_type_template_id_6f2ac1fb_staticRenderFns = []
43646
+ mainvue_type_template_id_6f2ac1fb_render._withStripped = true
43450
43647
 
43451
43648
 
43452
- // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=78f7fb3f&
43649
+ // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=6f2ac1fb&
43453
43650
 
43454
43651
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=script&lang=js&
43455
43652
  //
@@ -43601,7 +43798,10 @@ mainvue_type_template_id_78f7fb3f_render._withStripped = true
43601
43798
  type: Boolean,
43602
43799
  default: false
43603
43800
  },
43604
- maxHeight: String
43801
+ maxHeight: {
43802
+ type: String,
43803
+ default: '100%'
43804
+ }
43605
43805
  },
43606
43806
  watch: {
43607
43807
  subSystem: {
@@ -43736,33 +43936,37 @@ mainvue_type_template_id_78f7fb3f_render._withStripped = true
43736
43936
  if (_this2.onQuit && typeof _this2.onQuit === 'function') {
43737
43937
  _this2.onQuit();
43738
43938
  } else {
43739
- var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
43740
- if (loginPage) {
43741
- var src = void 0;
43742
- if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
43743
- var pathname = utils_util["a" /* default */].win.top.location.pathname;
43744
- if (pathname !== '/') {
43745
- pathname = pathname.split('/');
43746
- pathname.splice(pathname.length - 1);
43747
- pathname = pathname.join('/');
43748
- src = pathname + '/' + loginPage.replace('./', '');
43939
+ try {
43940
+ var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
43941
+ if (loginPage) {
43942
+ var src = void 0;
43943
+ if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
43944
+ var pathname = utils_util["a" /* default */].win.top.location.pathname;
43945
+ if (pathname !== '/') {
43946
+ pathname = pathname.split('/');
43947
+ pathname.splice(pathname.length - 1);
43948
+ pathname = pathname.join('/');
43949
+ src = pathname + '/' + loginPage.replace('./', '');
43950
+ } else {
43951
+ src = pathname + loginPage.replace('./', '');
43952
+ }
43749
43953
  } else {
43750
- src = pathname + loginPage.replace('./', '');
43954
+ src = loginPage;
43751
43955
  }
43956
+ utils_util["a" /* default */].win.top.location.href = src;
43957
+ } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
43958
+ utils_util["a" /* default */].win.top.location.href = './login.html';
43752
43959
  } else {
43753
- src = loginPage;
43754
- }
43755
- utils_util["a" /* default */].win.top.location.href = src;
43756
- } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
43757
- utils_util["a" /* default */].win.top.location.href = './login.html';
43758
- } else {
43759
- var hash = utils_util["a" /* default */].win.top.location.hash;
43760
- if (hash) {
43761
- var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
43762
- utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
43763
- } else {
43764
- utils_util["a" /* default */].win.top.location.href = '/login.html';
43960
+ var hash = utils_util["a" /* default */].win.top.location.hash;
43961
+ if (hash) {
43962
+ var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
43963
+ utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
43964
+ } else {
43965
+ utils_util["a" /* default */].win.top.location.href = '/login.html';
43966
+ }
43765
43967
  }
43968
+ } catch (error) {
43969
+ utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
43766
43970
  }
43767
43971
  }
43768
43972
  }
@@ -43787,8 +43991,8 @@ mainvue_type_template_id_78f7fb3f_render._withStripped = true
43787
43991
 
43788
43992
  var handler_src_main_component = normalizeComponent(
43789
43993
  packages_handler_src_mainvue_type_script_lang_js_,
43790
- mainvue_type_template_id_78f7fb3f_render,
43791
- mainvue_type_template_id_78f7fb3f_staticRenderFns,
43994
+ mainvue_type_template_id_6f2ac1fb_render,
43995
+ mainvue_type_template_id_6f2ac1fb_staticRenderFns,
43792
43996
  false,
43793
43997
  null,
43794
43998
  null,
@@ -45169,8 +45373,8 @@ layout_src_main.install = function (Vue) {
45169
45373
  };
45170
45374
 
45171
45375
  /* harmony default export */ var layout = (layout_src_main);
45172
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=413b11b3&
45173
- var mainvue_type_template_id_413b11b3_render = function () {
45376
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=705a6762&
45377
+ var mainvue_type_template_id_705a6762_render = function () {
45174
45378
  var _vm = this
45175
45379
  var _h = _vm.$createElement
45176
45380
  var _c = _vm._self._c || _h
@@ -45659,7 +45863,7 @@ var mainvue_type_template_id_413b11b3_render = function () {
45659
45863
  ],
45660
45864
  2
45661
45865
  ),
45662
- _vm.active == 3
45866
+ _vm.active == 3 && _vm.identifyingId
45663
45867
  ? _c("es-qr-code", {
45664
45868
  attrs: { content: _vm.identifyingId },
45665
45869
  })
@@ -46049,11 +46253,11 @@ var mainvue_type_template_id_413b11b3_render = function () {
46049
46253
  )
46050
46254
  : _vm._e()
46051
46255
  }
46052
- var mainvue_type_template_id_413b11b3_staticRenderFns = []
46053
- mainvue_type_template_id_413b11b3_render._withStripped = true
46256
+ var mainvue_type_template_id_705a6762_staticRenderFns = []
46257
+ mainvue_type_template_id_705a6762_render._withStripped = true
46054
46258
 
46055
46259
 
46056
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=413b11b3&
46260
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=705a6762&
46057
46261
 
46058
46262
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/resetPassword.vue?vue&type=template&id=28f463b9&
46059
46263
  var resetPasswordvue_type_template_id_28f463b9_render = function () {
@@ -47345,8 +47549,10 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
47345
47549
  doAssistance: null
47346
47550
  };
47347
47551
  },
47348
- created: function created() {
47552
+ beforeCreate: function beforeCreate() {
47349
47553
  utils_util["a" /* default */].removeStorage(['remind', 'ssId', 'token', 'Authorization', 'deviceUnique', 'userId', 'userName', 'useCaseCodes']);
47554
+ },
47555
+ created: function created() {
47350
47556
  this.code = utils_util["a" /* default */].getParams('code');
47351
47557
  if (this.code) {
47352
47558
  this.doWechatLogin(this.code);
@@ -47487,6 +47693,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
47487
47693
  this.onDownLoadApp();
47488
47694
  } else {
47489
47695
  this.$emit('handleDownLoadApp');
47696
+ this.$emit('handle-down-load-app');
47490
47697
  }
47491
47698
  } else {
47492
47699
  this.showDownLoadApp = true;
@@ -47508,36 +47715,34 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
47508
47715
  getLogin: function getLogin() {
47509
47716
  var _this3 = this;
47510
47717
 
47511
- var config = utils_store.get('initLogin');
47718
+ var config = utils_util["a" /* default */].getStorage('initLogin');
47512
47719
  if (config) {
47513
47720
  this.setConfig(config);
47514
- } else {
47515
- utils_util["a" /* default */].ajax({ url: this.initLogin }).then(function (res) {
47516
- if (res && res.rCode === 0) {
47517
- utils_store.set('initLogin', res.results);
47518
- utils_util["a" /* default */].setStorage({
47519
- type: _this3.storage,
47520
- key: 'initLogin',
47521
- value: JSON.stringify(res.results)
47522
- });
47523
- _this3.setConfig(res.results);
47524
- } else {
47525
- _this3.$message({
47526
- message: res.msg || '系统错误,请联系管理员!',
47527
- type: 'error',
47528
- duration: 2000
47529
- });
47530
- }
47531
- }).catch(function (err) {
47532
- if (err.message && err.message !== 'canceled') {
47533
- _this3.$message.error(err.message);
47534
- }
47535
- });
47536
47721
  }
47722
+ utils_util["a" /* default */].ajax({ url: this.initLogin }).then(function (res) {
47723
+ if (res && res.rCode === 0) {
47724
+ utils_store.set('initLogin', res.results);
47725
+ utils_util["a" /* default */].setStorage({
47726
+ type: 'localStorage',
47727
+ key: 'initLogin',
47728
+ value: JSON.stringify(res.results)
47729
+ });
47730
+ _this3.setConfig(res.results);
47731
+ } else {
47732
+ _this3.$message({
47733
+ message: res.msg || '系统错误,请联系管理员!',
47734
+ type: 'error',
47735
+ duration: 2000
47736
+ });
47737
+ }
47738
+ }).catch(function (err) {
47739
+ if (err.message && err.message !== 'canceled') {
47740
+ _this3.$message.error(err.message);
47741
+ }
47742
+ });
47537
47743
  },
47538
47744
  setConfig: function setConfig(res) {
47539
- var host = utils_util["a" /* default */].getStorage('host');
47540
- this.identifyingId = res.identifyingId;
47745
+ this.identifyingId = res.identifyingId || '';
47541
47746
  this.getImgCode();
47542
47747
  var downloads = {};
47543
47748
  if (res.androidDownloadUrl) {
@@ -47565,9 +47770,11 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
47565
47770
  this.loginModel = res.loginModel;
47566
47771
  this.loginBackgroundImg = res.loginBackgroundUrl ? res.loginBackgroundUrl.split(',') : null;
47567
47772
  this.loginLogoImg = res.loginLogoUrl ? res.loginLogoUrl : null;
47773
+ res.loginPage && sessionStorage.setItem('loginPage', res.loginPage);
47568
47774
  if (res.subsystemExtend && Object.keys(res.subsystemExtend).length) {
47569
47775
  this.icpInfo = res.subsystemExtend;
47570
47776
  this.forgetUrl = res.subsystemExtend.look_pass_url;
47777
+ res.subsystemExtend.loginPage && sessionStorage.setItem('loginPage', res.subsystemExtend.loginPage);
47571
47778
  if (res.subsystemExtend.login_url) {
47572
47779
  this.actionUrl = res.subsystemExtend.login_url;
47573
47780
  }
@@ -47757,7 +47964,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
47757
47964
  }).then(function (res) {
47758
47965
  _this6.submit = false;
47759
47966
  if (res.rCode == 0) {
47760
- sessionStorage.removeItem('extUserBindHandleId');
47967
+ utils_util["a" /* default */].removeStorage('extUserBindHandleId');
47761
47968
  _this6.handleRemember();
47762
47969
  var results = res.results;
47763
47970
  _this6.handleResults(results);
@@ -48034,8 +48241,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
48034
48241
 
48035
48242
  var login_src_main_component = normalizeComponent(
48036
48243
  packages_login_src_mainvue_type_script_lang_js_,
48037
- mainvue_type_template_id_413b11b3_render,
48038
- mainvue_type_template_id_413b11b3_staticRenderFns,
48244
+ mainvue_type_template_id_705a6762_render,
48245
+ mainvue_type_template_id_705a6762_staticRenderFns,
48039
48246
  false,
48040
48247
  null,
48041
48248
  null,
@@ -48052,8 +48259,8 @@ login_src_main.install = function (Vue) {
48052
48259
  };
48053
48260
 
48054
48261
  /* harmony default export */ var login = (login_src_main);
48055
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=07ff4c6a&
48056
- var mainvue_type_template_id_07ff4c6a_render = function () {
48262
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=679ec798&
48263
+ var mainvue_type_template_id_679ec798_render = function () {
48057
48264
  var _vm = this
48058
48265
  var _h = _vm.$createElement
48059
48266
  var _c = _vm._self._c || _h
@@ -48164,7 +48371,7 @@ var mainvue_type_template_id_07ff4c6a_render = function () {
48164
48371
  storage: _vm.storage,
48165
48372
  notice: _vm.notice,
48166
48373
  data: _vm.handleData,
48167
- "max-height": _vm.maxHeight,
48374
+ "max-height": _vm._maxHeight,
48168
48375
  },
48169
48376
  on: {
48170
48377
  select: function (res) {
@@ -48479,14 +48686,14 @@ var mainvue_type_template_id_07ff4c6a_render = function () {
48479
48686
  1
48480
48687
  )
48481
48688
  }
48482
- var mainvue_type_template_id_07ff4c6a_staticRenderFns = []
48483
- mainvue_type_template_id_07ff4c6a_render._withStripped = true
48689
+ var mainvue_type_template_id_679ec798_staticRenderFns = []
48690
+ mainvue_type_template_id_679ec798_render._withStripped = true
48484
48691
 
48485
48692
 
48486
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=07ff4c6a&
48693
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=679ec798&
48487
48694
 
48488
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=template&id=137dd243&
48489
- var userinfovue_type_template_id_137dd243_render = function () {
48695
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=template&id=e93353b8&
48696
+ var userinfovue_type_template_id_e93353b8_render = function () {
48490
48697
  var _vm = this
48491
48698
  var _h = _vm.$createElement
48492
48699
  var _c = _vm._self._c || _h
@@ -48502,11 +48709,11 @@ var userinfovue_type_template_id_137dd243_render = function () {
48502
48709
  2
48503
48710
  )
48504
48711
  }
48505
- var userinfovue_type_template_id_137dd243_staticRenderFns = []
48506
- userinfovue_type_template_id_137dd243_render._withStripped = true
48712
+ var userinfovue_type_template_id_e93353b8_staticRenderFns = []
48713
+ userinfovue_type_template_id_e93353b8_render._withStripped = true
48507
48714
 
48508
48715
 
48509
- // CONCATENATED MODULE: ./packages/main/src/userinfo.vue?vue&type=template&id=137dd243&
48716
+ // CONCATENATED MODULE: ./packages/main/src/userinfo.vue?vue&type=template&id=e93353b8&
48510
48717
 
48511
48718
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=script&lang=js&
48512
48719
  //
@@ -48841,32 +49048,36 @@ userinfovue_type_template_id_137dd243_render._withStripped = true
48841
49048
  type: 'warning'
48842
49049
  }).then(function () {
48843
49050
  var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
48844
- if (loginPage) {
48845
- var src = void 0;
48846
- if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
48847
- var pathname = utils_util["a" /* default */].win.top.location.pathname;
48848
- if (pathname !== '/') {
48849
- pathname = pathname.split('/');
48850
- pathname.splice(pathname.length - 1);
48851
- pathname = pathname.join('/');
48852
- src = pathname + '/' + loginPage.replace('./', '');
49051
+ try {
49052
+ if (loginPage) {
49053
+ var src = void 0;
49054
+ if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
49055
+ var pathname = utils_util["a" /* default */].win.top.location.pathname;
49056
+ if (pathname !== '/') {
49057
+ pathname = pathname.split('/');
49058
+ pathname.splice(pathname.length - 1);
49059
+ pathname = pathname.join('/');
49060
+ src = pathname + '/' + loginPage.replace('./', '');
49061
+ } else {
49062
+ src = pathname + loginPage.replace('./', '');
49063
+ }
48853
49064
  } else {
48854
- src = pathname + loginPage.replace('./', '');
49065
+ src = loginPage;
48855
49066
  }
49067
+ utils_util["a" /* default */].win.top.location.href = src;
49068
+ } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
49069
+ utils_util["a" /* default */].win.top.location.href = './login.html';
48856
49070
  } else {
48857
- src = loginPage;
48858
- }
48859
- utils_util["a" /* default */].win.top.location.href = src;
48860
- } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
48861
- utils_util["a" /* default */].win.top.location.href = './login.html';
48862
- } else {
48863
- var hash = utils_util["a" /* default */].win.top.location.hash;
48864
- if (hash) {
48865
- var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
48866
- utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
48867
- } else {
48868
- utils_util["a" /* default */].win.top.location.href = '/login.html';
49071
+ var hash = utils_util["a" /* default */].win.top.location.hash;
49072
+ if (hash) {
49073
+ var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
49074
+ utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
49075
+ } else {
49076
+ utils_util["a" /* default */].win.top.location.href = '/login.html';
49077
+ }
48869
49078
  }
49079
+ } catch (error) {
49080
+ utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
48870
49081
  }
48871
49082
  }).catch(function (e) {});
48872
49083
  } else {
@@ -48922,8 +49133,8 @@ userinfovue_type_template_id_137dd243_render._withStripped = true
48922
49133
 
48923
49134
  var userinfo_component = normalizeComponent(
48924
49135
  src_userinfovue_type_script_lang_js_,
48925
- userinfovue_type_template_id_137dd243_render,
48926
- userinfovue_type_template_id_137dd243_staticRenderFns,
49136
+ userinfovue_type_template_id_e93353b8_render,
49137
+ userinfovue_type_template_id_e93353b8_staticRenderFns,
48927
49138
  false,
48928
49139
  null,
48929
49140
  null,
@@ -50098,8 +50309,8 @@ var notice_component = normalizeComponent(
50098
50309
  )
50099
50310
 
50100
50311
  /* harmony default export */ var notice = (notice_component.exports);
50101
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/async-component/index.vue?vue&type=template&id=51f0233c&scoped=true&
50102
- var async_componentvue_type_template_id_51f0233c_scoped_true_render = function () {
50312
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/async-component/index.vue?vue&type=template&id=8b78c8b6&scoped=true&
50313
+ var async_componentvue_type_template_id_8b78c8b6_scoped_true_render = function () {
50103
50314
  var _vm = this
50104
50315
  var _h = _vm.$createElement
50105
50316
  var _c = _vm._self._c || _h
@@ -50111,11 +50322,11 @@ var async_componentvue_type_template_id_51f0233c_scoped_true_render = function (
50111
50322
  )
50112
50323
  )
50113
50324
  }
50114
- var async_componentvue_type_template_id_51f0233c_scoped_true_staticRenderFns = []
50115
- async_componentvue_type_template_id_51f0233c_scoped_true_render._withStripped = true
50325
+ var async_componentvue_type_template_id_8b78c8b6_scoped_true_staticRenderFns = []
50326
+ async_componentvue_type_template_id_8b78c8b6_scoped_true_render._withStripped = true
50116
50327
 
50117
50328
 
50118
- // CONCATENATED MODULE: ./packages/main/src/async-component/index.vue?vue&type=template&id=51f0233c&scoped=true&
50329
+ // CONCATENATED MODULE: ./packages/main/src/async-component/index.vue?vue&type=template&id=8b78c8b6&scoped=true&
50119
50330
 
50120
50331
  // EXTERNAL MODULE: external "runtime-import"
50121
50332
  var external_runtime_import_ = __webpack_require__(15);
@@ -50177,7 +50388,7 @@ function async_componentvue_type_script_lang_js_asyncToGenerator(fn) { return fu
50177
50388
  _context.prev = 0;
50178
50389
 
50179
50390
  if (!(url.indexOf && (url.indexOf('http:') != -1 || url.indexOf('https:') != -1 || url.indexOf('/dev-api') != -1))) {
50180
- _context.next = 19;
50391
+ _context.next = 21;
50181
50392
  break;
50182
50393
  }
50183
50394
 
@@ -50185,7 +50396,7 @@ function async_componentvue_type_script_lang_js_asyncToGenerator(fn) { return fu
50185
50396
  catchComponent = utils_util["a" /* default */].win[url];
50186
50397
 
50187
50398
  if (!catchComponent) {
50188
- _context.next = 8;
50399
+ _context.next = 9;
50189
50400
  break;
50190
50401
  }
50191
50402
 
@@ -50193,56 +50404,58 @@ function async_componentvue_type_script_lang_js_asyncToGenerator(fn) { return fu
50193
50404
  _this.comp = catchComponent;
50194
50405
  // 回传props内容
50195
50406
  _this.$emit('handleGetProps', _this.comp.props);
50196
- _context.next = 17;
50407
+ _this.$emit('handle-get-props', _this.comp.props);
50408
+ _context.next = 19;
50197
50409
  break;
50198
50410
 
50199
- case 8:
50200
- _context.next = 10;
50411
+ case 9:
50412
+ _context.next = 11;
50201
50413
  return Object(external_runtime_import_["importScript"])(url);
50202
50414
 
50203
- case 10:
50415
+ case 11:
50204
50416
  comp = _context.sent;
50205
50417
 
50206
50418
  if (comp) {
50207
- _context.next = 14;
50419
+ _context.next = 15;
50208
50420
  break;
50209
50421
  }
50210
50422
 
50211
50423
  _this.$message.error('不是合规组件,请检查组件上传环境和语法');
50212
50424
  return _context.abrupt('return');
50213
50425
 
50214
- case 14:
50426
+ case 15:
50215
50427
  _this.comp = comp;
50216
50428
  utils_util["a" /* default */].win[url] = comp;
50217
50429
  // 回传props内容
50218
50430
  _this.$emit('handleGetProps', _this.comp.props);
50431
+ _this.$emit('handle-get-props', _this.comp.props);
50219
50432
 
50220
- case 17:
50221
- _context.next = 20;
50433
+ case 19:
50434
+ _context.next = 22;
50222
50435
  break;
50223
50436
 
50224
- case 19:
50437
+ case 21:
50225
50438
  // 如果不是url则当作文本片段处理
50226
50439
  _this.comp = url;
50227
50440
  // 回传props内容
50228
50441
  // this.$emit('handleGetProps', this.comp.props);
50229
50442
 
50230
- case 20:
50231
- _context.next = 25;
50443
+ case 22:
50444
+ _context.next = 27;
50232
50445
  break;
50233
50446
 
50234
- case 22:
50235
- _context.prev = 22;
50447
+ case 24:
50448
+ _context.prev = 24;
50236
50449
  _context.t0 = _context['catch'](0);
50237
50450
 
50238
50451
  console.error(_context.t0);
50239
50452
 
50240
- case 25:
50453
+ case 27:
50241
50454
  case 'end':
50242
50455
  return _context.stop();
50243
50456
  }
50244
50457
  }
50245
- }, _callee, _this, [[0, 22]]);
50458
+ }, _callee, _this, [[0, 24]]);
50246
50459
  }))();
50247
50460
  }
50248
50461
  }
@@ -50259,11 +50472,11 @@ function async_componentvue_type_script_lang_js_asyncToGenerator(fn) { return fu
50259
50472
 
50260
50473
  var async_component_component = normalizeComponent(
50261
50474
  src_async_componentvue_type_script_lang_js_,
50262
- async_componentvue_type_template_id_51f0233c_scoped_true_render,
50263
- async_componentvue_type_template_id_51f0233c_scoped_true_staticRenderFns,
50475
+ async_componentvue_type_template_id_8b78c8b6_scoped_true_render,
50476
+ async_componentvue_type_template_id_8b78c8b6_scoped_true_staticRenderFns,
50264
50477
  false,
50265
50478
  null,
50266
- "51f0233c",
50479
+ "8b78c8b6",
50267
50480
  null
50268
50481
 
50269
50482
  )
@@ -50532,6 +50745,7 @@ var main_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
50532
50745
 
50533
50746
  var isIE = navigator.userAgent.indexOf('MSIE') != -1;
50534
50747
  var log = utils_util["a" /* default */].getParams('console');
50748
+ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["a" /* default */].getParams('appcode');
50535
50749
  /* harmony default export */ var main_src_mainvue_type_script_lang_js_ = ({
50536
50750
  name: 'EsMain',
50537
50751
  inheritAttrs: false,
@@ -50569,7 +50783,12 @@ var log = utils_util["a" /* default */].getParams('console');
50569
50783
  type: String,
50570
50784
  default: ''
50571
50785
  },
50572
- param: Object,
50786
+ param: {
50787
+ type: Object,
50788
+ default: function _default() {
50789
+ return {};
50790
+ }
50791
+ },
50573
50792
  header: {
50574
50793
  type: Boolean,
50575
50794
  default: true
@@ -50674,12 +50893,20 @@ var log = utils_util["a" /* default */].getParams('console');
50674
50893
  loadHomePage: {
50675
50894
  type: [Boolean, String],
50676
50895
  default: true
50677
- }
50896
+ },
50897
+ appCode: String
50678
50898
  },
50679
50899
  computed: {
50680
50900
  showHeader: function showHeader() {
50681
50901
  return this.isHeader == 0 ? false : this.header;
50682
50902
  },
50903
+ _maxHeight: function _maxHeight() {
50904
+ if (this.maxHeight) {
50905
+ return this.maxHeight;
50906
+ }
50907
+ console.log(document.body.clientHeight - 50);
50908
+ return String(document.body.clientHeight - 77);
50909
+ },
50683
50910
  showSide: function showSide() {
50684
50911
  return this.isSide !== null ? this.isSide : this.sideNav;
50685
50912
  },
@@ -50784,6 +51011,9 @@ var log = utils_util["a" /* default */].getParams('console');
50784
51011
  },
50785
51012
  isConsole: function isConsole() {
50786
51013
  return log ? true : this.console;
51014
+ },
51015
+ menuCode: function menuCode() {
51016
+ return appCode || this.appCode;
50787
51017
  }
50788
51018
  },
50789
51019
  watch: {
@@ -51165,8 +51395,12 @@ var log = utils_util["a" /* default */].getParams('console');
51165
51395
  this.color = unescape(results[i].color).toLowerCase();
51166
51396
  }
51167
51397
  if (i === 'subsystemExtend' && results[i].webPageWatermark) {
51168
- utils_util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
51169
- utils_util["a" /* default */].watermark(results[i].webPageWatermark);
51398
+ try {
51399
+ utils_util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
51400
+ utils_util["a" /* default */].watermark(results[i].webPageWatermark);
51401
+ } catch (error) {
51402
+ utils_util["a" /* default */].win.postMessage({ type: 2, content: results[i].webPageWatermark }, '*');
51403
+ }
51170
51404
  }
51171
51405
 
51172
51406
  if (i === 'subsystemExtend' && results[i].loginPage) {
@@ -51300,7 +51534,9 @@ var log = utils_util["a" /* default */].getParams('console');
51300
51534
  getMenu: function getMenu() {
51301
51535
  var _this5 = this;
51302
51536
 
51303
- utils_util["a" /* default */].ajax({ url: this.action, params: this.param ? this.param : {} }).then(function (res) {
51537
+ var param = this.menuCode ? { menuCode: this.menuCode } : {};
51538
+ var params = main_src_mainvue_type_script_lang_js_extends({}, this.param, param);
51539
+ utils_util["a" /* default */].ajax({ url: this.action, params: params }).then(function (res) {
51304
51540
  if (res.rCode === 0) {
51305
51541
  if (res.results && res.results.length) {
51306
51542
  _this5.menus = JSON.parse(JSON.stringify(res.results));
@@ -52177,32 +52413,36 @@ var log = utils_util["a" /* default */].getParams('console');
52177
52413
  _this13.$confirm(msg, btn).then(function () {
52178
52414
  utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
52179
52415
  var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
52180
- if (loginPage) {
52181
- var src = void 0;
52182
- if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
52183
- var pathname = utils_util["a" /* default */].win.top.location.pathname;
52184
- if (pathname !== '/') {
52185
- pathname = pathname.split('/');
52186
- pathname.splice(pathname.length - 1);
52187
- pathname = pathname.join('/');
52188
- src = pathname + '/' + loginPage.replace('./', '');
52416
+ try {
52417
+ if (loginPage) {
52418
+ var src = void 0;
52419
+ if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
52420
+ var pathname = utils_util["a" /* default */].win.top.location.pathname;
52421
+ if (pathname !== '/') {
52422
+ pathname = pathname.split('/');
52423
+ pathname.splice(pathname.length - 1);
52424
+ pathname = pathname.join('/');
52425
+ src = pathname + '/' + loginPage.replace('./', '');
52426
+ } else {
52427
+ src = pathname + loginPage.replace('./', '');
52428
+ }
52189
52429
  } else {
52190
- src = pathname + loginPage.replace('./', '');
52430
+ src = loginPage;
52191
52431
  }
52432
+ utils_util["a" /* default */].win.top.location.href = src;
52433
+ } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
52434
+ utils_util["a" /* default */].win.top.location.href = './login.html';
52192
52435
  } else {
52193
- src = loginPage;
52194
- }
52195
- utils_util["a" /* default */].win.top.location.href = src;
52196
- } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
52197
- utils_util["a" /* default */].win.top.location.href = './login.html';
52198
- } else {
52199
- var hash = utils_util["a" /* default */].win.top.location.hash;
52200
- if (hash) {
52201
- var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
52202
- utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
52203
- } else {
52204
- utils_util["a" /* default */].win.top.location.href = '/login.html';
52436
+ var hash = utils_util["a" /* default */].win.top.location.hash;
52437
+ if (hash) {
52438
+ var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
52439
+ utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
52440
+ } else {
52441
+ utils_util["a" /* default */].win.top.location.href = '/login.html';
52442
+ }
52205
52443
  }
52444
+ } catch (error) {
52445
+ utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
52206
52446
  }
52207
52447
  }).catch(function (e) {
52208
52448
  sessionStorage.removeItem('remind');
@@ -52222,8 +52462,15 @@ var log = utils_util["a" /* default */].getParams('console');
52222
52462
  src = pathname + url.replace('./', '/');
52223
52463
  }
52224
52464
  if (name) {
52225
- var w = width ? width : utils_util["a" /* default */].win.top.screen.availWidth - 10;
52226
- var h = height ? height : utils_util["a" /* default */].win.top.screen.availHeight - 60;
52465
+ var w = 0;
52466
+ var h = 0;
52467
+ try {
52468
+ w = width ? width : utils_util["a" /* default */].win.top.screen.availWidth - 10;
52469
+ h = height ? height : utils_util["a" /* default */].win.top.screen.availHeight - 60;
52470
+ } catch (error) {
52471
+ w = width ? width : utils_util["a" /* default */].win.screen.availWidth - 10;
52472
+ h = height ? height : utils_util["a" /* default */].win.screen.availHeight - 60;
52473
+ }
52227
52474
  return utils_util["a" /* default */].win.open(src, name, 'width=' + w + 'px,height=' + h + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
52228
52475
  } else {
52229
52476
  return utils_util["a" /* default */].win.open(src);
@@ -52250,8 +52497,8 @@ var log = utils_util["a" /* default */].getParams('console');
52250
52497
 
52251
52498
  var main_src_main_component = normalizeComponent(
52252
52499
  packages_main_src_mainvue_type_script_lang_js_,
52253
- mainvue_type_template_id_07ff4c6a_render,
52254
- mainvue_type_template_id_07ff4c6a_staticRenderFns,
52500
+ mainvue_type_template_id_679ec798_render,
52501
+ mainvue_type_template_id_679ec798_staticRenderFns,
52255
52502
  false,
52256
52503
  null,
52257
52504
  null,
@@ -55082,8 +55329,8 @@ radio_group_src_main.install = function (Vue) {
55082
55329
  };
55083
55330
 
55084
55331
  /* harmony default export */ var radio_group = (radio_group_src_main);
55085
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/retrial-auth/src/main.vue?vue&type=template&id=74d02fd0&
55086
- var mainvue_type_template_id_74d02fd0_render = function () {
55332
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/retrial-auth/src/main.vue?vue&type=template&id=70256784&
55333
+ var mainvue_type_template_id_70256784_render = function () {
55087
55334
  var _vm = this
55088
55335
  var _h = _vm.$createElement
55089
55336
  var _c = _vm._self._c || _h
@@ -55232,11 +55479,11 @@ var mainvue_type_template_id_74d02fd0_render = function () {
55232
55479
  1
55233
55480
  )
55234
55481
  }
55235
- var mainvue_type_template_id_74d02fd0_staticRenderFns = []
55236
- mainvue_type_template_id_74d02fd0_render._withStripped = true
55482
+ var mainvue_type_template_id_70256784_staticRenderFns = []
55483
+ mainvue_type_template_id_70256784_render._withStripped = true
55237
55484
 
55238
55485
 
55239
- // CONCATENATED MODULE: ./packages/retrial-auth/src/main.vue?vue&type=template&id=74d02fd0&
55486
+ // CONCATENATED MODULE: ./packages/retrial-auth/src/main.vue?vue&type=template&id=70256784&
55240
55487
 
55241
55488
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/retrial-auth/src/main.vue?vue&type=script&lang=js&
55242
55489
  //
@@ -55413,7 +55660,11 @@ mainvue_type_template_id_74d02fd0_render._withStripped = true
55413
55660
  type: 'success'
55414
55661
  });
55415
55662
  _this3.msgBox.handleClose();
55416
- _this3.reload && utils_util["a" /* default */].win.top.location.reload();
55663
+ try {
55664
+ _this3.reload && utils_util["a" /* default */].win.top.location.reload();
55665
+ } catch (error) {
55666
+ _this3.reload && utils_util["a" /* default */].win.postMessage({ type: 3 }, '*');
55667
+ }
55417
55668
  } else {
55418
55669
  _this3.$message({
55419
55670
  message: msg,
@@ -55489,7 +55740,11 @@ mainvue_type_template_id_74d02fd0_render._withStripped = true
55489
55740
  type: 'success'
55490
55741
  });
55491
55742
  _this5.msgBox.handleClose();
55492
- _this5.reload && utils_util["a" /* default */].win.top.location.reload();
55743
+ try {
55744
+ _this5.reload && utils_util["a" /* default */].win.top.location.reload();
55745
+ } catch (error) {
55746
+ _this5.reload && utils_util["a" /* default */].win.postMessage({ type: 3 }, '*');
55747
+ }
55493
55748
  } else {
55494
55749
  _this5.scanCode = setTimeout(function () {
55495
55750
  _this5.handleScanCodeRetrialAuth();
@@ -55520,8 +55775,8 @@ mainvue_type_template_id_74d02fd0_render._withStripped = true
55520
55775
 
55521
55776
  var retrial_auth_src_main_component = normalizeComponent(
55522
55777
  packages_retrial_auth_src_mainvue_type_script_lang_js_,
55523
- mainvue_type_template_id_74d02fd0_render,
55524
- mainvue_type_template_id_74d02fd0_staticRenderFns,
55778
+ mainvue_type_template_id_70256784_render,
55779
+ mainvue_type_template_id_70256784_staticRenderFns,
55525
55780
  false,
55526
55781
  null,
55527
55782
  null,
@@ -58552,8 +58807,8 @@ var tree_component = normalizeComponent(
58552
58807
  )
58553
58808
 
58554
58809
  /* harmony default export */ var tree = (tree_component.exports);
58555
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/selection.vue?vue&type=template&id=66e09547&
58556
- var selectionvue_type_template_id_66e09547_render = function () {
58810
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/selection.vue?vue&type=template&id=0ec05c7a&
58811
+ var selectionvue_type_template_id_0ec05c7a_render = function () {
58557
58812
  var _vm = this
58558
58813
  var _h = _vm.$createElement
58559
58814
  var _c = _vm._self._c || _h
@@ -58601,6 +58856,7 @@ var selectionvue_type_template_id_66e09547_render = function () {
58601
58856
  disabled:
58602
58857
  typeof item == "string" ? false : item.disabled,
58603
58858
  "value-key": _vm.valueKey,
58859
+ tooltip: item[_vm.tipKey],
58604
58860
  },
58605
58861
  },
58606
58862
  "el-radio",
@@ -58655,6 +58911,7 @@ var selectionvue_type_template_id_66e09547_render = function () {
58655
58911
  disabled:
58656
58912
  typeof item == "string" ? false : item.disabled,
58657
58913
  "value-key": _vm.valueKey,
58914
+ tooltip: item[_vm.tipKey],
58658
58915
  },
58659
58916
  },
58660
58917
  "el-checkbox",
@@ -58692,11 +58949,11 @@ var selectionvue_type_template_id_66e09547_render = function () {
58692
58949
  1
58693
58950
  )
58694
58951
  }
58695
- var selectionvue_type_template_id_66e09547_staticRenderFns = []
58696
- selectionvue_type_template_id_66e09547_render._withStripped = true
58952
+ var selectionvue_type_template_id_0ec05c7a_staticRenderFns = []
58953
+ selectionvue_type_template_id_0ec05c7a_render._withStripped = true
58697
58954
 
58698
58955
 
58699
- // CONCATENATED MODULE: ./packages/selector-panel/src/selection.vue?vue&type=template&id=66e09547&
58956
+ // CONCATENATED MODULE: ./packages/selector-panel/src/selection.vue?vue&type=template&id=0ec05c7a&
58700
58957
 
58701
58958
  // EXTERNAL MODULE: external "sortablejs"
58702
58959
  var external_sortablejs_ = __webpack_require__(18);
@@ -58752,6 +59009,8 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
58752
59009
  //
58753
59010
  //
58754
59011
  //
59012
+ //
59013
+ //
58755
59014
 
58756
59015
 
58757
59016
 
@@ -58768,6 +59027,10 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
58768
59027
  type: String,
58769
59028
  default: 'showname'
58770
59029
  },
59030
+ tipKey: {
59031
+ type: String,
59032
+ default: 'pathname'
59033
+ },
58771
59034
  valueType: {
58772
59035
  type: String,
58773
59036
  default: 'object',
@@ -58857,8 +59120,8 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
58857
59120
 
58858
59121
  var selection_component = normalizeComponent(
58859
59122
  src_selectionvue_type_script_lang_js_,
58860
- selectionvue_type_template_id_66e09547_render,
58861
- selectionvue_type_template_id_66e09547_staticRenderFns,
59123
+ selectionvue_type_template_id_0ec05c7a_render,
59124
+ selectionvue_type_template_id_0ec05c7a_staticRenderFns,
58862
59125
  false,
58863
59126
  null,
58864
59127
  null,
@@ -60723,8 +60986,8 @@ switch_src_main.install = function (Vue) {
60723
60986
  };
60724
60987
 
60725
60988
  /* harmony default export */ var packages_switch = (switch_src_main);
60726
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/main.vue?vue&type=template&id=f3f60fca&
60727
- var mainvue_type_template_id_f3f60fca_render = function () {
60989
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/main.vue?vue&type=template&id=53268d69&
60990
+ var mainvue_type_template_id_53268d69_render = function () {
60728
60991
  var _vm = this
60729
60992
  var _h = _vm.$createElement
60730
60993
  var _c = _vm._self._c || _h
@@ -62451,11 +62714,11 @@ var mainvue_type_template_id_f3f60fca_render = function () {
62451
62714
  2
62452
62715
  )
62453
62716
  }
62454
- var mainvue_type_template_id_f3f60fca_staticRenderFns = []
62455
- mainvue_type_template_id_f3f60fca_render._withStripped = true
62717
+ var mainvue_type_template_id_53268d69_staticRenderFns = []
62718
+ mainvue_type_template_id_53268d69_render._withStripped = true
62456
62719
 
62457
62720
 
62458
- // CONCATENATED MODULE: ./packages/tabs/src/main.vue?vue&type=template&id=f3f60fca&
62721
+ // CONCATENATED MODULE: ./packages/tabs/src/main.vue?vue&type=template&id=53268d69&
62459
62722
 
62460
62723
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/main.vue?vue&type=script&lang=js&
62461
62724
  //
@@ -63224,6 +63487,7 @@ mainvue_type_template_id_f3f60fca_render._withStripped = true
63224
63487
  },
63225
63488
  handleChangeData: function handleChangeData(res) {
63226
63489
  this.$emit('changeData', res);
63490
+ this.$emit('change-data', res);
63227
63491
  }
63228
63492
  }
63229
63493
  });
@@ -63239,8 +63503,8 @@ mainvue_type_template_id_f3f60fca_render._withStripped = true
63239
63503
 
63240
63504
  var tabs_src_main_component = normalizeComponent(
63241
63505
  packages_tabs_src_mainvue_type_script_lang_js_,
63242
- mainvue_type_template_id_f3f60fca_render,
63243
- mainvue_type_template_id_f3f60fca_staticRenderFns,
63506
+ mainvue_type_template_id_53268d69_render,
63507
+ mainvue_type_template_id_53268d69_staticRenderFns,
63244
63508
  false,
63245
63509
  null,
63246
63510
  null,
@@ -64453,8 +64717,8 @@ tree_src_main.install = function (Vue) {
64453
64717
  };
64454
64718
 
64455
64719
  /* harmony default export */ var packages_tree = (tree_src_main);
64456
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=template&id=0fcb164d&
64457
- var mainvue_type_template_id_0fcb164d_render = function () {
64720
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=template&id=074a6d7c&
64721
+ var mainvue_type_template_id_074a6d7c_render = function () {
64458
64722
  var _vm = this
64459
64723
  var _h = _vm.$createElement
64460
64724
  var _c = _vm._self._c || _h
@@ -64783,11 +65047,11 @@ var mainvue_type_template_id_0fcb164d_render = function () {
64783
65047
  2
64784
65048
  )
64785
65049
  }
64786
- var mainvue_type_template_id_0fcb164d_staticRenderFns = []
64787
- mainvue_type_template_id_0fcb164d_render._withStripped = true
65050
+ var mainvue_type_template_id_074a6d7c_staticRenderFns = []
65051
+ mainvue_type_template_id_074a6d7c_render._withStripped = true
64788
65052
 
64789
65053
 
64790
- // CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=0fcb164d&
65054
+ // CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=074a6d7c&
64791
65055
 
64792
65056
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=script&lang=js&
64793
65057
  var tree_group_src_mainvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -65018,7 +65282,8 @@ var tree_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
65018
65282
  checkedAsSearch: {
65019
65283
  type: Boolean,
65020
65284
  default: true
65021
- }
65285
+ },
65286
+ iframe: Boolean
65022
65287
  },
65023
65288
  computed: {
65024
65289
  wujieName: function wujieName() {
@@ -65030,7 +65295,7 @@ var tree_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
65030
65295
  if (src) {
65031
65296
  if (src.indexOf('//:') === 0) {
65032
65297
  return 'wujie';
65033
- } else if (src.indexOf('dhtml') > -1 || src.indexOf('html') > -1 && src.indexOf('html#') === -1) {
65298
+ } else if (src.indexOf('dhtml') > -1 || src.indexOf('html') > -1 && src.indexOf('html#') === -1 || this.iframe) {
65034
65299
  return 'iframe';
65035
65300
  } else {
65036
65301
  var routes = this.$router.options.routes;
@@ -65276,6 +65541,36 @@ var tree_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
65276
65541
  },
65277
65542
  handleCurrentFirst: function handleCurrentFirst(type, res, tabs) {
65278
65543
  this.$emit('current-first', type, res, tabs);
65544
+ },
65545
+ hasRouter: function hasRouter(res, url) {
65546
+ if (!url) {
65547
+ return false;
65548
+ }
65549
+ if (Array.isArray(res)) {
65550
+ for (var i in res) {
65551
+ var path = this.hasRouter(res[i], url);
65552
+ if (path) {
65553
+ return path;
65554
+ }
65555
+ }
65556
+ } else {
65557
+ var _path = res.path;
65558
+ if (_path !== '/' && _path !== '/404') {
65559
+ _path = _path.replace(_path[1], _path[1].toLowerCase());
65560
+ }
65561
+ var pathname = url.substring(url.indexOf('#/') + 1);
65562
+ pathname = pathname.replace(pathname[1], pathname[1].toLowerCase()).split('?')[0];
65563
+ if (res.path !== '/' && pathname == _path) {
65564
+ return pathname;
65565
+ }
65566
+ if (res && Object.prototype.hasOwnProperty.call(res, 'children')) {
65567
+ var _path2 = this.hasRouter(res.children, url);
65568
+ if (_path2) {
65569
+ return _path2;
65570
+ }
65571
+ }
65572
+ }
65573
+ return false;
65279
65574
  }
65280
65575
  }
65281
65576
  });
@@ -65291,8 +65586,8 @@ var tree_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
65291
65586
 
65292
65587
  var tree_group_src_main_component = normalizeComponent(
65293
65588
  packages_tree_group_src_mainvue_type_script_lang_js_,
65294
- mainvue_type_template_id_0fcb164d_render,
65295
- mainvue_type_template_id_0fcb164d_staticRenderFns,
65589
+ mainvue_type_template_id_074a6d7c_render,
65590
+ mainvue_type_template_id_074a6d7c_staticRenderFns,
65296
65591
  false,
65297
65592
  null,
65298
65593
  null,
@@ -65573,7 +65868,13 @@ function mainvue_type_script_lang_js_objectWithoutProperties(obj, keys) { var ta
65573
65868
  _this2.show = !_this2.show;
65574
65869
  }
65575
65870
  }
65576
- }, '高级搜索'));
65871
+ }, ['高级搜索', h('i', {
65872
+ class: {
65873
+ 'el-icon-arrow-down': !_this2.show,
65874
+ 'el-icon-arrow-up': _this2.show,
65875
+ 'es-advanced-icon': 1
65876
+ }
65877
+ })]));
65577
65878
  filter = h('transition', {
65578
65879
  props: {
65579
65880
  name: 'el-zoom-in-top'
@@ -65649,8 +65950,8 @@ toolbar_src_main.install = function (Vue) {
65649
65950
  };
65650
65951
 
65651
65952
  /* harmony default export */ var packages_toolbar = (toolbar_src_main);
65652
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/table.vue?vue&type=template&id=0cd27751&
65653
- var tablevue_type_template_id_0cd27751_render = function () {
65953
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/table.vue?vue&type=template&id=ec2b55d6&
65954
+ var tablevue_type_template_id_ec2b55d6_render = function () {
65654
65955
  var _vm = this
65655
65956
  var _h = _vm.$createElement
65656
65957
  var _c = _vm._self._c || _h
@@ -68305,11 +68606,11 @@ var tablevue_type_template_id_0cd27751_render = function () {
68305
68606
  2
68306
68607
  )
68307
68608
  }
68308
- var tablevue_type_template_id_0cd27751_staticRenderFns = []
68309
- tablevue_type_template_id_0cd27751_render._withStripped = true
68609
+ var tablevue_type_template_id_ec2b55d6_staticRenderFns = []
68610
+ tablevue_type_template_id_ec2b55d6_render._withStripped = true
68310
68611
 
68311
68612
 
68312
- // CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=0cd27751&
68613
+ // CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=ec2b55d6&
68313
68614
 
68314
68615
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/table.vue?vue&type=script&lang=js&
68315
68616
  var src_tablevue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -69633,6 +69934,7 @@ var src_tablevue_type_script_lang_js_extends = Object.assign || function (target
69633
69934
  },
69634
69935
  handleClick: function handleClick(res) {
69635
69936
  this.$emit('btnClick', res, this.models);
69937
+ this.$emit('btn-click', res, this.models);
69636
69938
  },
69637
69939
  handleChange: function handleChange(res, value, data) {
69638
69940
  if (res.events && res.events.change) {
@@ -69666,6 +69968,7 @@ var src_tablevue_type_script_lang_js_extends = Object.assign || function (target
69666
69968
  res.events.dataChange(res, value, data);
69667
69969
  } else {
69668
69970
  this.$emit('dataChange', res, data);
69971
+ this.$emit('data-change', res, data);
69669
69972
  }
69670
69973
  },
69671
69974
  handleExclAttribute: function handleExclAttribute(_ref) {
@@ -69691,8 +69994,8 @@ var src_tablevue_type_script_lang_js_extends = Object.assign || function (target
69691
69994
 
69692
69995
  var form_src_table_component = normalizeComponent(
69693
69996
  packages_form_src_tablevue_type_script_lang_js_,
69694
- tablevue_type_template_id_0cd27751_render,
69695
- tablevue_type_template_id_0cd27751_staticRenderFns,
69997
+ tablevue_type_template_id_ec2b55d6_render,
69998
+ tablevue_type_template_id_ec2b55d6_staticRenderFns,
69696
69999
  false,
69697
70000
  null,
69698
70001
  null,
@@ -69709,8 +70012,8 @@ form_src_table.install = function (Vue) {
69709
70012
  };
69710
70013
 
69711
70014
  /* harmony default export */ var table_form = (form_src_table);
69712
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=2f5f0ecd&
69713
- var mainvue_type_template_id_2f5f0ecd_render = function () {
70015
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=3d54363f&
70016
+ var mainvue_type_template_id_3d54363f_render = function () {
69714
70017
  var _vm = this
69715
70018
  var _h = _vm.$createElement
69716
70019
  var _c = _vm._self._c || _h
@@ -70089,11 +70392,11 @@ var mainvue_type_template_id_2f5f0ecd_render = function () {
70089
70392
  )
70090
70393
  : _vm._e()
70091
70394
  }
70092
- var mainvue_type_template_id_2f5f0ecd_staticRenderFns = []
70093
- mainvue_type_template_id_2f5f0ecd_render._withStripped = true
70395
+ var mainvue_type_template_id_3d54363f_staticRenderFns = []
70396
+ mainvue_type_template_id_3d54363f_render._withStripped = true
70094
70397
 
70095
70398
 
70096
- // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=2f5f0ecd&
70399
+ // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=3d54363f&
70097
70400
 
70098
70401
  // CONCATENATED MODULE: ./packages/upload/src/picture.js
70099
70402
  /* harmony default export */ var picture = ({
@@ -70845,7 +71148,7 @@ var mainvue_type_script_lang_js_props;
70845
71148
  this.$refs.upload.submit();
70846
71149
  },
70847
71150
  openKkfileview: function openKkfileview(file) {
70848
- var host = utils_util["a" /* default */].win.top.location.origin;
71151
+ var host = utils_util["a" /* default */].win.location.origin;
70849
71152
  if (this.host) {
70850
71153
  if (utils_util["a" /* default */].startWith(this.host, 'http')) {
70851
71154
  host = this.host;
@@ -70854,7 +71157,7 @@ var mainvue_type_script_lang_js_props;
70854
71157
  }
70855
71158
  }
70856
71159
  var url = encodeURIComponent(external_js_base64_["Base64"].encode(host + (typeof this.download === 'string' ? this.download : api["r" /* downloadByAdjunctId */]) + ('?adjunctId=' + (file.adjunctId || file.response.adjunctId) + '&fullfilename=' + file.originalName)));
70857
- utils_util["a" /* default */].win.top.open(this.kkfileview + '?url=' + url);
71160
+ utils_util["a" /* default */].win.open(this.kkfileview + '?url=' + url);
70858
71161
  },
70859
71162
  handlePreview: function handlePreview(res) {
70860
71163
  var _this4 = this;
@@ -70872,13 +71175,13 @@ var mainvue_type_script_lang_js_props;
70872
71175
  if (this.kkfileview) {
70873
71176
  this.openKkfileview(file);
70874
71177
  } else {
70875
- utils_util["a" /* default */].win.top.open(this.host + (url ? url : api["kb" /* previewAdjunctOffice */]) + '?cmd=view&bucketName=' + file.absolutePath + '&fileId=' + file.adjunctId + '&fileName=' + file.newName);
71178
+ utils_util["a" /* default */].win.open(this.host + (url ? url : api["kb" /* previewAdjunctOffice */]) + '?cmd=view&bucketName=' + file.absolutePath + '&fileId=' + file.adjunctId + '&fileName=' + file.newName);
70876
71179
  }
70877
71180
  } else if (suffix.includes('pdf')) {
70878
71181
  if (this.kkfileview) {
70879
71182
  this.openKkfileview(file);
70880
71183
  } else {
70881
- utils_util["a" /* default */].win.top.open(this.host + (url ? url : api["jb" /* previewAdjunct2 */]) + '/' + file.originalName + '?adjunctId=' + file.adjunctId);
71184
+ utils_util["a" /* default */].win.open(this.host + (url ? url : api["jb" /* previewAdjunct2 */]) + '/' + file.originalName + '?adjunctId=' + file.adjunctId);
70882
71185
  }
70883
71186
  } else if (suffix.includes('jpge') || suffix.includes('jpg') || suffix.includes('gif') || suffix.includes('png')) {
70884
71187
  this.imgUrl = res.url && utils_util["a" /* default */].startWith(url, ['http', '/', true]) ? res.url : this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId;
@@ -70897,11 +71200,11 @@ var mainvue_type_script_lang_js_props;
70897
71200
  if (this.kkfileview) {
70898
71201
  this.openKkfileview(file);
70899
71202
  } else {
70900
- utils_util["a" /* default */].win.top.open(this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId);
71203
+ utils_util["a" /* default */].win.open(this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId);
70901
71204
  }
70902
71205
  }
70903
71206
  } else {
70904
- utils_util["a" /* default */].win.top.open(URL.createObjectURL(file.raw));
71207
+ utils_util["a" /* default */].win.open(URL.createObjectURL(file.raw));
70905
71208
  }
70906
71209
  }
70907
71210
  }
@@ -71179,8 +71482,8 @@ var mainvue_type_script_lang_js_props;
71179
71482
 
71180
71483
  var upload_src_main_component = normalizeComponent(
71181
71484
  packages_upload_src_mainvue_type_script_lang_js_,
71182
- mainvue_type_template_id_2f5f0ecd_render,
71183
- mainvue_type_template_id_2f5f0ecd_staticRenderFns,
71485
+ mainvue_type_template_id_3d54363f_render,
71486
+ mainvue_type_template_id_3d54363f_staticRenderFns,
71184
71487
  false,
71185
71488
  null,
71186
71489
  null,
@@ -71655,7 +71958,7 @@ if (typeof window !== 'undefined' && window.Vue) {
71655
71958
  }
71656
71959
 
71657
71960
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
71658
- version: '0.5.43',
71961
+ version: '0.5.45',
71659
71962
  install: install,
71660
71963
  Button: packages_button,
71661
71964
  ButtonGroup: button_group,