eoss-ui 0.7.75 → 0.7.76

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 (206) hide show
  1. package/lib/button-group.js +68 -36
  2. package/lib/button.js +68 -36
  3. package/lib/calogin.js +301 -269
  4. package/lib/checkbox-group.js +68 -36
  5. package/lib/data-table-form.js +68 -36
  6. package/lib/data-table.js +68 -36
  7. package/lib/date-picker.js +68 -36
  8. package/lib/dialog.js +68 -36
  9. package/lib/eoss-ui.common.js +463 -349
  10. package/lib/flow-group.js +68 -36
  11. package/lib/flow-list.js +68 -36
  12. package/lib/flow.js +68 -36
  13. package/lib/form.js +68 -36
  14. package/lib/handle-user.js +68 -36
  15. package/lib/handler.js +68 -36
  16. package/lib/icon.js +68 -36
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +68 -36
  19. package/lib/input.js +68 -36
  20. package/lib/login.js +68 -36
  21. package/lib/main.js +211 -97
  22. package/lib/nav.js +68 -36
  23. package/lib/page.js +68 -36
  24. package/lib/pagination.js +68 -36
  25. package/lib/player.js +68 -36
  26. package/lib/qr-code.js +81 -49
  27. package/lib/radio-group.js +68 -36
  28. package/lib/retrial-auth.js +68 -36
  29. package/lib/select-ganged.js +68 -36
  30. package/lib/select.js +68 -36
  31. package/lib/selector-panel.js +68 -36
  32. package/lib/selector.js +68 -36
  33. package/lib/sizer.js +68 -36
  34. package/lib/steps.js +68 -36
  35. package/lib/switch.js +68 -36
  36. package/lib/table-form.js +68 -36
  37. package/lib/tabs.js +68 -36
  38. package/lib/theme-chalk/index.css +1 -1
  39. package/lib/theme-chalk/login.css +1 -1
  40. package/lib/theme-chalk/main.css +1 -1
  41. package/lib/theme-chalk/simplicity-top.css +1 -1
  42. package/lib/tips.js +68 -36
  43. package/lib/tree-group.js +68 -36
  44. package/lib/tree.js +68 -36
  45. package/lib/upload.js +68 -36
  46. package/lib/utils/util.js +68 -36
  47. package/lib/wujie.js +68 -36
  48. package/lib/wxlogin.js +68 -36
  49. package/package.json +1 -1
  50. package/packages/button/index.js +5 -5
  51. package/packages/button/src/main.vue +418 -418
  52. package/packages/button-group/index.js +5 -5
  53. package/packages/calendar/index.js +5 -5
  54. package/packages/calogin/index.js +5 -5
  55. package/packages/calogin/src/plugin.js +915 -915
  56. package/packages/card/index.js +5 -5
  57. package/packages/card/src/main.vue +156 -156
  58. package/packages/cascader/index.js +5 -5
  59. package/packages/cascader/src/main.vue +168 -168
  60. package/packages/checkbox-group/index.js +5 -5
  61. package/packages/checkbox-group/src/main.vue +333 -333
  62. package/packages/clients/index.js +5 -5
  63. package/packages/data-table/index.js +5 -5
  64. package/packages/data-table/src/children.vue +39 -39
  65. package/packages/data-table/src/sizer.vue +195 -195
  66. package/packages/data-table-form/index.js +5 -5
  67. package/packages/data-table-form/src/checkbox.vue +101 -101
  68. package/packages/data-table-form/src/colgroup.vue +17 -17
  69. package/packages/data-table-form/src/main.vue +181 -181
  70. package/packages/data-table-form/src/radio.vue +65 -65
  71. package/packages/data-table-form/src/table.vue +233 -233
  72. package/packages/data-table-form/src/tbody.vue +336 -336
  73. package/packages/data-table-form/src/thead.vue +68 -68
  74. package/packages/date-picker/index.js +5 -5
  75. package/packages/date-picker/src/main.vue +236 -236
  76. package/packages/dialog/index.js +5 -5
  77. package/packages/enable-drag/index.js +5 -5
  78. package/packages/enterprise/index.js +5 -5
  79. package/packages/enterprise/src/main.vue +66 -66
  80. package/packages/error-page/index.js +5 -5
  81. package/packages/error-page/src/main.vue +44 -44
  82. package/packages/flow/index.js +5 -5
  83. package/packages/flow/src/component/TimeLimit.vue +190 -190
  84. package/packages/flow/src/table.vue +58 -58
  85. package/packages/flow-group/index.js +5 -5
  86. package/packages/flow-list/index.js +5 -5
  87. package/packages/form/index.js +5 -5
  88. package/packages/handle-user/index.js +5 -5
  89. package/packages/handler/index.js +5 -5
  90. package/packages/icon/index.js +5 -5
  91. package/packages/icons/index.js +5 -5
  92. package/packages/icons/src/main.vue +81 -81
  93. package/packages/input/index.js +5 -5
  94. package/packages/input/src/main.vue +356 -356
  95. package/packages/input-number/index.js +5 -5
  96. package/packages/input-number/src/main.vue +106 -106
  97. package/packages/label/index.js +5 -5
  98. package/packages/label/src/main.vue +457 -457
  99. package/packages/layout/index.js +5 -5
  100. package/packages/layout/src/item.vue +152 -152
  101. package/packages/layout/src/main.vue +31 -31
  102. package/packages/login/index.js +5 -5
  103. package/packages/main/index.js +5 -5
  104. package/packages/main/src/default/message.vue +249 -249
  105. package/packages/main/src/default/notice.vue +157 -157
  106. package/packages/main/src/main.vue +27 -15
  107. package/packages/main/src/simplicity/index.vue +6 -0
  108. package/packages/main/src/simplicity/lists.vue +84 -84
  109. package/packages/main/src/simplicity/router-page.vue +45 -45
  110. package/packages/main/src/simplicityTop/handler.vue +6 -0
  111. package/packages/main/src/simplicityTop/index.vue +62 -9
  112. package/packages/menu/index.js +5 -5
  113. package/packages/nav/index.js +5 -5
  114. package/packages/notify/index.js +5 -5
  115. package/packages/notify/src/main.vue +538 -538
  116. package/packages/page/index.js +5 -5
  117. package/packages/page/src/main.vue +167 -167
  118. package/packages/pagination/index.js +5 -5
  119. package/packages/pagination/src/main.vue +96 -96
  120. package/packages/player/index.js +5 -5
  121. package/packages/player/src/main.vue +194 -194
  122. package/packages/qr-code/index.js +5 -5
  123. package/packages/qr-code/src/main.vue +170 -170
  124. package/packages/radio-group/index.js +6 -6
  125. package/packages/radio-group/src/main.vue +319 -319
  126. package/packages/retrial-auth/index.js +5 -5
  127. package/packages/retrial-auth/src/main.vue +280 -280
  128. package/packages/select/index.js +5 -5
  129. package/packages/select-ganged/index.js +5 -5
  130. package/packages/select-ganged/src/main.vue +724 -724
  131. package/packages/selector/index.js +5 -5
  132. package/packages/selector-panel/index.js +5 -5
  133. package/packages/selector-panel/src/tree.vue +129 -129
  134. package/packages/sizer/index.js +5 -5
  135. package/packages/sizer/src/main.vue +254 -254
  136. package/packages/steps/index.js +5 -5
  137. package/packages/steps/src/main.vue +181 -181
  138. package/packages/switch/index.js +5 -5
  139. package/packages/table-form/index.js +5 -5
  140. package/packages/tabs/index.js +5 -5
  141. package/packages/tabs/src/main.vue +788 -788
  142. package/packages/tabs-panel/index.js +5 -5
  143. package/packages/tabs-panel/src/main.vue +29 -29
  144. package/packages/theme-chalk/lib/index.css +1 -1
  145. package/packages/theme-chalk/lib/login.css +1 -1
  146. package/packages/theme-chalk/lib/main.css +1 -1
  147. package/packages/theme-chalk/lib/simplicity-top.css +1 -1
  148. package/packages/theme-chalk/src/base.scss +261 -261
  149. package/packages/theme-chalk/src/button-group.scss +176 -176
  150. package/packages/theme-chalk/src/button.scss +24 -24
  151. package/packages/theme-chalk/src/calendar.scss +113 -113
  152. package/packages/theme-chalk/src/card.scss +99 -99
  153. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  154. package/packages/theme-chalk/src/clients.scss +87 -87
  155. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  156. package/packages/theme-chalk/src/date-picker.scss +7 -7
  157. package/packages/theme-chalk/src/dialog.scss +77 -77
  158. package/packages/theme-chalk/src/enable-drag.scss +181 -181
  159. package/packages/theme-chalk/src/enterprise.scss +5 -5
  160. package/packages/theme-chalk/src/error-page.scss +18 -18
  161. package/packages/theme-chalk/src/flow-group.scss +110 -110
  162. package/packages/theme-chalk/src/flow-list.scss +39 -39
  163. package/packages/theme-chalk/src/handle-user.scss +40 -40
  164. package/packages/theme-chalk/src/icons.scss +99 -99
  165. package/packages/theme-chalk/src/input.scss +9 -9
  166. package/packages/theme-chalk/src/label.scss +24 -24
  167. package/packages/theme-chalk/src/layout.scss +46 -46
  168. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  169. package/packages/theme-chalk/src/nav.scss +111 -111
  170. package/packages/theme-chalk/src/page.scss +3 -3
  171. package/packages/theme-chalk/src/pagination.scss +29 -29
  172. package/packages/theme-chalk/src/player.scss +9 -9
  173. package/packages/theme-chalk/src/qr-code.scss +17 -17
  174. package/packages/theme-chalk/src/radio-group.scss +9 -9
  175. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  176. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  177. package/packages/theme-chalk/src/select.scss +8 -8
  178. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  179. package/packages/theme-chalk/src/simplicity-top.scss +13 -0
  180. package/packages/theme-chalk/src/sizer.scss +36 -36
  181. package/packages/theme-chalk/src/steps.scss +88 -88
  182. package/packages/theme-chalk/src/switch.scss +3 -3
  183. package/packages/theme-chalk/src/table-form.scss +1 -1
  184. package/packages/theme-chalk/src/tabs.scss +87 -87
  185. package/packages/theme-chalk/src/tips.scss +7 -7
  186. package/packages/theme-chalk/src/toolbar.scss +179 -179
  187. package/packages/theme-chalk/src/tree-group.scss +72 -72
  188. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  189. package/packages/tips/index.js +5 -5
  190. package/packages/toolbar/index.js +5 -5
  191. package/packages/tree/index.js +5 -5
  192. package/packages/tree-group/index.js +5 -5
  193. package/packages/upload/index.js +5 -5
  194. package/packages/upload/src/picture.js +15 -15
  195. package/packages/wujie/index.js +5 -5
  196. package/packages/wujie/src/main.vue +145 -145
  197. package/packages/wxlogin/index.js +5 -5
  198. package/packages/wxlogin/src/main.vue +128 -128
  199. package/src/config/image.js +2 -2
  200. package/src/index.js +1 -1
  201. package/src/utils/bus.js +3 -3
  202. package/src/utils/date-util.js +312 -312
  203. package/src/utils/http.js +50 -50
  204. package/src/utils/store.js +21 -21
  205. package/src/utils/util.js +172 -105
  206. package/src/utils/webSocket.js +107 -107
@@ -1449,7 +1449,6 @@ var util_ajax = function ajax(_ref) {
1449
1449
  loading && loading.close();
1450
1450
  if (response.headers.authorization) {
1451
1451
  response.headers.authorization !== getStorage('token') && setStorage({
1452
-
1453
1452
  key: ['token', 'Authorization'],
1454
1453
  value: response.headers.authorization
1455
1454
  });
@@ -1786,7 +1785,11 @@ var ajaxStream = function ajaxStream(_ref2) {
1786
1785
  } else if (error.response) {
1787
1786
  errorMessage = '\u670D\u52A1\u5668\u9519\u8BEF (' + error.response.status + '): ' + (error.response.data || '未知错误');
1788
1787
  }
1789
- fail && fail({ status: 0, message: { role: 'assistant', content: errorMessage }, controller: controller });
1788
+ fail && fail({
1789
+ status: 0,
1790
+ message: { role: 'assistant', content: errorMessage },
1791
+ controller: controller
1792
+ });
1790
1793
  } finally {
1791
1794
  final && final({ status: -1, message: null, controller: controller });
1792
1795
  }
@@ -2552,7 +2555,7 @@ var util_formatDate = function formatDate(date, fmt) {
2552
2555
  'm+': obj.getMinutes(), // 分钟 (0-59)
2553
2556
  's+': obj.getSeconds(), // 秒 (0-59)
2554
2557
  'q+': quarter[Math.floor(monthNum / 3)], // 季度 (一~四)
2555
- 'S': obj.getMilliseconds() // 毫秒 (0-999)
2558
+ S: obj.getMilliseconds() // 毫秒 (0-999)
2556
2559
  };
2557
2560
 
2558
2561
  // 4. 处理年份
@@ -3211,26 +3214,51 @@ var getZoom = function getZoom() {
3211
3214
 
3212
3215
  var util_handlerUrl = function handlerUrl(url, param, before) {
3213
3216
  var arry = url.split('?');
3214
- if (arry.length > 2) {
3215
- var ary = arry.splice(1, arry.length);
3216
- arry.push(ary.join('?'));
3217
- }
3218
- if (arry.length > 1) {
3219
- if (arry[1].indexOf('_tt') > -1) {
3220
- var search = arry[1].split('&');
3221
- for (var i in search) {
3222
- if (search[i].indexOf('_tt') > -1) {
3223
- search[i] = '_tt=' + new Date().getTime();
3217
+ // /archives-ui/webpack/index.html?cookie=1#/fullTextSearch
3218
+ if (arry.length > 1 && arry[1].indexOf('#/') > -1) {
3219
+ // 分割成 arry[0] = /archives-ui/webpack/index.html 和 arry[1] = cookie=1#/fullTextSearch
3220
+ var hashs = arry[1].split('#/'); // 分割成 hashs[0] = cookie=1 和 hashs[1] = fullTextSearch
3221
+ if (hashs[1].indexOf('?') === -1) {
3222
+ hashs[1] += '?_tt=' + new Date().getTime();
3223
+ } else {
3224
+ if (hashs[1].indexOf('_tt') === -1) {
3225
+ hashs[1] += '&_tt=' + new Date().getTime();
3226
+ } else {
3227
+ var search = hashs[1].split('&');
3228
+ for (var i in search) {
3229
+ if (search[i].indexOf('_tt') > -1) {
3230
+ search[i] = '_tt=' + new Date().getTime();
3231
+ }
3224
3232
  }
3233
+ hashs[1] = search.join('&');
3225
3234
  }
3226
- arry[1] = search.join('&');
3227
- } else {
3228
- arry[1] += '&_tt=' + new Date().getTime();
3229
3235
  }
3230
- url = arry.join('?');
3236
+ // /archives-ui/webpack/index.html?cookie=1#/fullTextSearch&_tt=1764839214926&false
3237
+ // 会不会存在 参数中也有#/
3238
+ url = arry[0] + '?' + hashs.join('#/');
3231
3239
  } else {
3232
- url += '?_tt=' + new Date().getTime();
3240
+ if (arry.length > 2) {
3241
+ var ary = arry.splice(1, arry.length);
3242
+ arry.push(ary.join('?'));
3243
+ }
3244
+ if (arry.length > 1) {
3245
+ if (arry[1].indexOf('_tt') > -1) {
3246
+ var _search = arry[1].split('&');
3247
+ for (var _i7 in _search) {
3248
+ if (_search[_i7].indexOf('_tt') > -1) {
3249
+ _search[_i7] = '_tt=' + new Date().getTime();
3250
+ }
3251
+ }
3252
+ arry[1] = _search.join('&');
3253
+ } else {
3254
+ arry[1] += '&_tt=' + new Date().getTime();
3255
+ }
3256
+ url = arry.join('?');
3257
+ } else {
3258
+ url += '?_tt=' + new Date().getTime();
3259
+ }
3233
3260
  }
3261
+
3234
3262
  if (param) {
3235
3263
  var str = queryParams(param);
3236
3264
  url += '&' + str;
@@ -3526,7 +3554,11 @@ var util_isLogined = function () {
3526
3554
  break;
3527
3555
  }
3528
3556
 
3529
- loadingInstance = external_eoss_element_["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
3557
+ loadingInstance = external_eoss_element_["Loading"].service({
3558
+ text: '页面加载中',
3559
+ spinner: 'el-icon-loading',
3560
+ background: 'rgba(0, 0, 0, 0.65)'
3561
+ });
3530
3562
  _context.next = 17;
3531
3563
  return util_ajax({
3532
3564
  method: 'post',
@@ -4624,10 +4656,10 @@ var setStorage = function setStorage(_ref18) {
4624
4656
  }
4625
4657
  }
4626
4658
  } else {
4627
- for (var _i7 in key) {
4628
- var val = _typeof(key[_i7]) === 'object' ? JSON.stringify(key[_i7]) : key[_i7];
4629
- localStorage.setItem(_i7, val);
4630
- if (_i7 === 'token') {
4659
+ for (var _i8 in key) {
4660
+ var val = _typeof(key[_i8]) === 'object' ? JSON.stringify(key[_i8]) : key[_i8];
4661
+ localStorage.setItem(_i8, val);
4662
+ if (_i8 === 'token') {
4631
4663
  setCookie('token', val);
4632
4664
  }
4633
4665
  }
@@ -4639,17 +4671,17 @@ var setStorage = function setStorage(_ref18) {
4639
4671
  setCookie('token', value);
4640
4672
  }
4641
4673
  } else if (Array.isArray(key)) {
4642
- for (var _i8 in key) {
4643
- sessionStorage.setItem(key[_i8], value);
4644
- if (key[_i8] === 'token') {
4674
+ for (var _i9 in key) {
4675
+ sessionStorage.setItem(key[_i9], value);
4676
+ if (key[_i9] === 'token') {
4645
4677
  setCookie('token', value);
4646
4678
  }
4647
4679
  }
4648
4680
  } else {
4649
- for (var _i9 in key) {
4650
- var _val = _typeof(key[_i9]) === 'object' ? JSON.stringify(key[_i9]) : key[_i9];
4651
- sessionStorage.setItem(_i9, _val);
4652
- if (_i9 === 'token') {
4681
+ for (var _i10 in key) {
4682
+ var _val = _typeof(key[_i10]) === 'object' ? JSON.stringify(key[_i10]) : key[_i10];
4683
+ sessionStorage.setItem(_i10, _val);
4684
+ if (_i10 === 'token') {
4653
4685
  setCookie('token', _val);
4654
4686
  }
4655
4687
  }
@@ -4777,16 +4809,16 @@ var setCookie = function setCookie(name, value) {
4777
4809
  **/
4778
4810
  var getCookie = function getCookie(name) {
4779
4811
  var cookies = document.cookie.split(';');
4780
- for (var _iterator = cookies, _isArray = Array.isArray(_iterator), _i10 = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
4812
+ for (var _iterator = cookies, _isArray = Array.isArray(_iterator), _i11 = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
4781
4813
  var _ref19;
4782
4814
 
4783
4815
  if (_isArray) {
4784
- if (_i10 >= _iterator.length) break;
4785
- _ref19 = _iterator[_i10++];
4816
+ if (_i11 >= _iterator.length) break;
4817
+ _ref19 = _iterator[_i11++];
4786
4818
  } else {
4787
- _i10 = _iterator.next();
4788
- if (_i10.done) break;
4789
- _ref19 = _i10.value;
4819
+ _i11 = _iterator.next();
4820
+ if (_i11.done) break;
4821
+ _ref19 = _i11.value;
4790
4822
  }
4791
4823
 
4792
4824
  var cookie = _ref19;
@@ -6775,8 +6807,8 @@ var plugin_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "
6775
6807
 
6776
6808
  function plugin_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6777
6809
 
6778
- /**
6779
- * JIT_GW_ExtInterface 模块,提供与客户端交互的功能
6810
+ /**
6811
+ * JIT_GW_ExtInterface 模块,提供与客户端交互的功能
6780
6812
  */
6781
6813
  var CA_ExtInterface = function () {
6782
6814
  function CA_ExtInterface() {
@@ -6789,11 +6821,11 @@ var CA_ExtInterface = function () {
6789
6821
  this.init();
6790
6822
  }
6791
6823
 
6792
- /**
6793
- * 简单的 Object.assign 兼容 IE <= 11 的 polyfill
6794
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
6795
- * @param {Object} target - 目标对象
6796
- * @param {Object} options - 新的选项对象
6824
+ /**
6825
+ * 简单的 Object.assign 兼容 IE <= 11 的 polyfill
6826
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
6827
+ * @param {Object} target - 目标对象
6828
+ * @param {Object} options - 新的选项对象
6797
6829
  */
6798
6830
 
6799
6831
 
@@ -6808,8 +6840,8 @@ var CA_ExtInterface = function () {
6808
6840
  }
6809
6841
  };
6810
6842
 
6811
- /**
6812
- * 检查当前会话的 WebSocket URL
6843
+ /**
6844
+ * 检查当前会话的 WebSocket URL
6813
6845
  */
6814
6846
 
6815
6847
 
@@ -6823,8 +6855,8 @@ var CA_ExtInterface = function () {
6823
6855
  }
6824
6856
  };
6825
6857
 
6826
- /**
6827
- * 检查是否使用 ActiveX
6858
+ /**
6859
+ * 检查是否使用 ActiveX
6828
6860
  */
6829
6861
 
6830
6862
 
@@ -6836,11 +6868,11 @@ var CA_ExtInterface = function () {
6836
6868
  }
6837
6869
  };
6838
6870
 
6839
- /**
6840
- * 扩展发送消息并等待响应
6841
- * @param {string} operatorCmd - 操作命令
6842
- * @param {string} sendMsg - 发送的消息
6843
- * @returns {string} 响应消息
6871
+ /**
6872
+ * 扩展发送消息并等待响应
6873
+ * @param {string} operatorCmd - 操作命令
6874
+ * @param {string} sendMsg - 发送的消息
6875
+ * @returns {string} 响应消息
6844
6876
  */
6845
6877
 
6846
6878
 
@@ -6850,11 +6882,11 @@ var CA_ExtInterface = function () {
6850
6882
  return this.sendAndWaitMessage(this.currentSessionWSURL, strSendMsg);
6851
6883
  };
6852
6884
 
6853
- /**
6854
- * 发送消息并等待响应
6855
- * @param {string} wsurl - WebSocket URL
6856
- * @param {string} sendMsg - 发送的消息
6857
- * @returns {string} 响应消息
6885
+ /**
6886
+ * 发送消息并等待响应
6887
+ * @param {string} wsurl - WebSocket URL
6888
+ * @param {string} sendMsg - 发送的消息
6889
+ * @returns {string} 响应消息
6858
6890
  */
6859
6891
 
6860
6892
 
@@ -6878,9 +6910,9 @@ var CA_ExtInterface = function () {
6878
6910
  return ResultMsg;
6879
6911
  };
6880
6912
 
6881
- /**
6882
- * 配置选项
6883
- * @param {Object} extendOption - 扩展选项
6913
+ /**
6914
+ * 配置选项
6915
+ * @param {Object} extendOption - 扩展选项
6884
6916
  */
6885
6917
 
6886
6918
 
@@ -6890,8 +6922,8 @@ var CA_ExtInterface = function () {
6890
6922
  }
6891
6923
  };
6892
6924
 
6893
- /**
6894
- * 初始化
6925
+ /**
6926
+ * 初始化
6895
6927
  */
6896
6928
 
6897
6929
 
@@ -6899,9 +6931,9 @@ var CA_ExtInterface = function () {
6899
6931
  this.isUseActioveX();
6900
6932
  };
6901
6933
 
6902
- /**
6903
- * 返回客户端的版本
6904
- * @returns {string} 客户端版本
6934
+ /**
6935
+ * 返回客户端的版本
6936
+ * @returns {string} 客户端版本
6905
6937
  */
6906
6938
 
6907
6939
 
@@ -6914,13 +6946,13 @@ var CA_ExtInterface = function () {
6914
6946
  }
6915
6947
  };
6916
6948
 
6917
- /**
6918
- * 下载客户端程序并安装
6919
- * @param {string} bstrURL - 下载地址
6920
- * @param {string} bstrHashValue - 哈希值
6921
- * @param {boolean} bSync - 是否同步安装
6922
- * @param {boolean} bOnlySSO - 是否仅安装 SSO
6923
- * @returns {number} 安装结果
6949
+ /**
6950
+ * 下载客户端程序并安装
6951
+ * @param {string} bstrURL - 下载地址
6952
+ * @param {string} bstrHashValue - 哈希值
6953
+ * @param {boolean} bSync - 是否同步安装
6954
+ * @param {boolean} bOnlySSO - 是否仅安装 SSO
6955
+ * @returns {number} 安装结果
6924
6956
  */
6925
6957
 
6926
6958
 
@@ -6934,11 +6966,11 @@ var CA_ExtInterface = function () {
6934
6966
  }
6935
6967
  };
6936
6968
 
6937
- /**
6938
- * 获取硬件指纹信息
6939
- * @param {number} dwSign - 签名
6940
- * @param {string} strGateWayIP - 网关 IP
6941
- * @returns {string} 硬件指纹信息
6969
+ /**
6970
+ * 获取硬件指纹信息
6971
+ * @param {number} dwSign - 签名
6972
+ * @param {string} strGateWayIP - 网关 IP
6973
+ * @returns {string} 硬件指纹信息
6942
6974
  */
6943
6975
 
6944
6976
 
@@ -6952,12 +6984,12 @@ var CA_ExtInterface = function () {
6952
6984
  }
6953
6985
  };
6954
6986
 
6955
- /**
6956
- * 设置转发策略和代填策略
6957
- * @param {string} strProxyPolicy - 转发策略
6958
- * @param {string} strSSOPolicy - 代填策略
6959
- * @param {string} strGatewayAddress - 网关地址
6960
- * @returns {number} 设置结果
6987
+ /**
6988
+ * 设置转发策略和代填策略
6989
+ * @param {string} strProxyPolicy - 转发策略
6990
+ * @param {string} strSSOPolicy - 代填策略
6991
+ * @param {string} strGatewayAddress - 网关地址
6992
+ * @returns {number} 设置结果
6961
6993
  */
6962
6994
 
6963
6995
 
@@ -6971,11 +7003,11 @@ var CA_ExtInterface = function () {
6971
7003
  }
6972
7004
  };
6973
7005
 
6974
- /**
6975
- * 启动认证信息模块
6976
- * @param {string} strFileName - 文件名
6977
- * @param {string} strXmlData - XML 数据
6978
- * @returns {string} 认证信息
7006
+ /**
7007
+ * 启动认证信息模块
7008
+ * @param {string} strFileName - 文件名
7009
+ * @param {string} strXmlData - XML 数据
7010
+ * @returns {string} 认证信息
6979
7011
  */
6980
7012
 
6981
7013
 
@@ -6989,10 +7021,10 @@ var CA_ExtInterface = function () {
6989
7021
  }
6990
7022
  };
6991
7023
 
6992
- /**
6993
- * 打开 BS 应用
6994
- * @param {string} strUrl - 应用 URL
6995
- * @returns {number} 打开结果
7024
+ /**
7025
+ * 打开 BS 应用
7026
+ * @param {string} strUrl - 应用 URL
7027
+ * @returns {number} 打开结果
6996
7028
  */
6997
7029
 
6998
7030
 
@@ -7006,12 +7038,12 @@ var CA_ExtInterface = function () {
7006
7038
  }
7007
7039
  };
7008
7040
 
7009
- /**
7010
- * 打开 CS 应用
7011
- * @param {string} strGatewayAddress - 网关地址
7012
- * @param {string} strAppFlag - 应用标识
7013
- * @param {string} strAppPath - 应用路径
7014
- * @returns {number} 打开结果
7041
+ /**
7042
+ * 打开 CS 应用
7043
+ * @param {string} strGatewayAddress - 网关地址
7044
+ * @param {string} strAppFlag - 应用标识
7045
+ * @param {string} strAppPath - 应用路径
7046
+ * @returns {number} 打开结果
7015
7047
  */
7016
7048
 
7017
7049
 
@@ -7025,13 +7057,13 @@ var CA_ExtInterface = function () {
7025
7057
  }
7026
7058
  };
7027
7059
 
7028
- /**
7029
- * 设置自动更新策略
7030
- * @param {string} strGatewayAddress - 网关地址
7031
- * @param {number} nGatewayPort - 网关端口
7032
- * @param {string} strUserToken - 用户令牌
7033
- * @param {number} updatedelay - 更新延迟
7034
- * @returns {number} 设置结果
7060
+ /**
7061
+ * 设置自动更新策略
7062
+ * @param {string} strGatewayAddress - 网关地址
7063
+ * @param {number} nGatewayPort - 网关端口
7064
+ * @param {string} strUserToken - 用户令牌
7065
+ * @param {number} updatedelay - 更新延迟
7066
+ * @returns {number} 设置结果
7035
7067
  */
7036
7068
 
7037
7069
 
@@ -7045,10 +7077,10 @@ var CA_ExtInterface = function () {
7045
7077
  }
7046
7078
  };
7047
7079
 
7048
- /**
7049
- * 获取客户端 IP
7050
- * @param {string} strGatewayIP - 网关 IP
7051
- * @returns {string} 客户端 IP
7080
+ /**
7081
+ * 获取客户端 IP
7082
+ * @param {string} strGatewayIP - 网关 IP
7083
+ * @returns {string} 客户端 IP
7052
7084
  */
7053
7085
 
7054
7086
 
@@ -7062,10 +7094,10 @@ var CA_ExtInterface = function () {
7062
7094
  }
7063
7095
  };
7064
7096
 
7065
- /**
7066
- * 登出网关
7067
- * @param {string} strServerIP - 服务器 IP
7068
- * @returns {number} 登出结果
7097
+ /**
7098
+ * 登出网关
7099
+ * @param {string} strServerIP - 服务器 IP
7100
+ * @returns {number} 登出结果
7069
7101
  */
7070
7102
 
7071
7103
 
@@ -7079,11 +7111,11 @@ var CA_ExtInterface = function () {
7079
7111
  }
7080
7112
  };
7081
7113
 
7082
- /**
7083
- * 运行安装包
7084
- * @param {number} lRunType - 运行类型
7085
- * @param {boolean} bIsOnlySSO - 是否仅安装 SSO
7086
- * @returns {number} 运行结果
7114
+ /**
7115
+ * 运行安装包
7116
+ * @param {number} lRunType - 运行类型
7117
+ * @param {boolean} bIsOnlySSO - 是否仅安装 SSO
7118
+ * @returns {number} 运行结果
7087
7119
  */
7088
7120
 
7089
7121
 
@@ -7097,9 +7129,9 @@ var CA_ExtInterface = function () {
7097
7129
  }
7098
7130
  };
7099
7131
 
7100
- /**
7101
- * 获取下载进度
7102
- * @returns {number} 下载进度
7132
+ /**
7133
+ * 获取下载进度
7134
+ * @returns {number} 下载进度
7103
7135
  */
7104
7136
 
7105
7137
 
@@ -7113,9 +7145,9 @@ var CA_ExtInterface = function () {
7113
7145
  }
7114
7146
  };
7115
7147
 
7116
- /**
7117
- * 是否安装完成
7118
- * @returns {boolean} 安装完成状态
7148
+ /**
7149
+ * 是否安装完成
7150
+ * @returns {boolean} 安装完成状态
7119
7151
  */
7120
7152
 
7121
7153
 
@@ -7129,11 +7161,11 @@ var CA_ExtInterface = function () {
7129
7161
  }
7130
7162
  };
7131
7163
 
7132
- /**
7133
- * 初始化签包对象
7134
- * @param {string} strAlgType - 算法类型
7135
- * @param {string} strAuxParam - 辅助参数
7136
- * @returns {number} 初始化结果
7164
+ /**
7165
+ * 初始化签包对象
7166
+ * @param {string} strAlgType - 算法类型
7167
+ * @param {string} strAuxParam - 辅助参数
7168
+ * @returns {number} 初始化结果
7137
7169
  */
7138
7170
 
7139
7171
 
@@ -7147,10 +7179,10 @@ var CA_ExtInterface = function () {
7147
7179
  }
7148
7180
  };
7149
7181
 
7150
- /**
7151
- * 设置摘要算法
7152
- * @param {string} strDigestAlg - 摘要算法
7153
- * @returns {number} 设置结果
7182
+ /**
7183
+ * 设置摘要算法
7184
+ * @param {string} strDigestAlg - 摘要算法
7185
+ * @returns {number} 设置结果
7154
7186
  */
7155
7187
 
7156
7188
 
@@ -7164,10 +7196,10 @@ var CA_ExtInterface = function () {
7164
7196
  }
7165
7197
  };
7166
7198
 
7167
- /**
7168
- * 设置单证书是否弹出对话框
7169
- * @param {number} isChoose - 是否弹出对话框
7170
- * @returns {number} 设置结果
7199
+ /**
7200
+ * 设置单证书是否弹出对话框
7201
+ * @param {number} isChoose - 是否弹出对话框
7202
+ * @returns {number} 设置结果
7171
7203
  */
7172
7204
 
7173
7205
 
@@ -7181,11 +7213,11 @@ var CA_ExtInterface = function () {
7181
7213
  }
7182
7214
  };
7183
7215
 
7184
- /**
7185
- * 添加证书过滤条件
7186
- * @param {number} ulType - 过滤类型
7187
- * @param {string} strValue - 过滤值
7188
- * @returns {number} 添加结果
7216
+ /**
7217
+ * 添加证书过滤条件
7218
+ * @param {number} ulType - 过滤类型
7219
+ * @param {string} strValue - 过滤值
7220
+ * @returns {number} 添加结果
7189
7221
  */
7190
7222
 
7191
7223
 
@@ -7199,9 +7231,9 @@ var CA_ExtInterface = function () {
7199
7231
  }
7200
7232
  };
7201
7233
 
7202
- /**
7203
- * 清除所有过滤条件
7204
- * @returns {number} 清除结果
7234
+ /**
7235
+ * 清除所有过滤条件
7236
+ * @returns {number} 清除结果
7205
7237
  */
7206
7238
 
7207
7239
 
@@ -7215,10 +7247,10 @@ var CA_ExtInterface = function () {
7215
7247
  }
7216
7248
  };
7217
7249
 
7218
- /**
7219
- * P1 签名
7220
- * @param {string} strValueBase64 - 待签名的 Base64 字符串
7221
- * @returns {string} 签名结果
7250
+ /**
7251
+ * P1 签名
7252
+ * @param {string} strValueBase64 - 待签名的 Base64 字符串
7253
+ * @returns {string} 签名结果
7222
7254
  */
7223
7255
 
7224
7256
 
@@ -7232,10 +7264,10 @@ var CA_ExtInterface = function () {
7232
7264
  }
7233
7265
  };
7234
7266
 
7235
- /**
7236
- * P1 签名字符串
7237
- * @param {string} strValue - 待签名的字符串
7238
- * @returns {string} 签名结果
7267
+ /**
7268
+ * P1 签名字符串
7269
+ * @param {string} strValue - 待签名的字符串
7270
+ * @returns {string} 签名结果
7239
7271
  */
7240
7272
 
7241
7273
 
@@ -7249,12 +7281,12 @@ var CA_ExtInterface = function () {
7249
7281
  }
7250
7282
  };
7251
7283
 
7252
- /**
7253
- * P7 签名
7254
- * @param {string} strValueBase64 - 待签名的 Base64 字符串
7255
- * @param {boolean} isDetach - 是否分离签名
7256
- * @param {boolean} isIncludeCert - 是否包含证书
7257
- * @returns {string} 签名结果
7284
+ /**
7285
+ * P7 签名
7286
+ * @param {string} strValueBase64 - 待签名的 Base64 字符串
7287
+ * @param {boolean} isDetach - 是否分离签名
7288
+ * @param {boolean} isIncludeCert - 是否包含证书
7289
+ * @returns {string} 签名结果
7258
7290
  */
7259
7291
 
7260
7292
 
@@ -7268,12 +7300,12 @@ var CA_ExtInterface = function () {
7268
7300
  }
7269
7301
  };
7270
7302
 
7271
- /**
7272
- * P7 签名字符串
7273
- * @param {string} strValue - 待签名的字符串
7274
- * @param {boolean} isDetach - 是否分离签名
7275
- * @param {boolean} isIncludeCert - 是否包含证书
7276
- * @returns {string} 签名结果
7303
+ /**
7304
+ * P7 签名字符串
7305
+ * @param {string} strValue - 待签名的字符串
7306
+ * @param {boolean} isDetach - 是否分离签名
7307
+ * @param {boolean} isIncludeCert - 是否包含证书
7308
+ * @returns {string} 签名结果
7277
7309
  */
7278
7310
 
7279
7311
 
@@ -7287,9 +7319,9 @@ var CA_ExtInterface = function () {
7287
7319
  }
7288
7320
  };
7289
7321
 
7290
- /**
7291
- * 释放签名对象
7292
- * @returns {number} 释放结果
7322
+ /**
7323
+ * 释放签名对象
7324
+ * @returns {number} 释放结果
7293
7325
  */
7294
7326
 
7295
7327
 
@@ -7303,9 +7335,9 @@ var CA_ExtInterface = function () {
7303
7335
  }
7304
7336
  };
7305
7337
 
7306
- /**
7307
- * 获取签名版本
7308
- * @returns {string} 签名版本
7338
+ /**
7339
+ * 获取签名版本
7340
+ * @returns {string} 签名版本
7309
7341
  */
7310
7342
 
7311
7343
 
@@ -7319,9 +7351,9 @@ var CA_ExtInterface = function () {
7319
7351
  }
7320
7352
  };
7321
7353
 
7322
- /**
7323
- * 获取签名证书
7324
- * @returns {string} 签名证书
7354
+ /**
7355
+ * 获取签名证书
7356
+ * @returns {string} 签名证书
7325
7357
  */
7326
7358
 
7327
7359
 
@@ -7335,9 +7367,9 @@ var CA_ExtInterface = function () {
7335
7367
  }
7336
7368
  };
7337
7369
 
7338
- /**
7339
- * 获取错误码
7340
- * @returns {number} 错误码
7370
+ /**
7371
+ * 获取错误码
7372
+ * @returns {number} 错误码
7341
7373
  */
7342
7374
 
7343
7375
 
@@ -7351,9 +7383,9 @@ var CA_ExtInterface = function () {
7351
7383
  }
7352
7384
  };
7353
7385
 
7354
- /**
7355
- * 获取错误信息
7356
- * @returns {string} 错误信息
7386
+ /**
7387
+ * 获取错误信息
7388
+ * @returns {string} 错误信息
7357
7389
  */
7358
7390
 
7359
7391
 
@@ -7367,9 +7399,9 @@ var CA_ExtInterface = function () {
7367
7399
  }
7368
7400
  };
7369
7401
 
7370
- /**
7371
- * 销毁认证对象
7372
- * @returns {number} 销毁结果
7402
+ /**
7403
+ * 销毁认证对象
7404
+ * @returns {number} 销毁结果
7373
7405
  */
7374
7406
 
7375
7407
 
@@ -7383,9 +7415,9 @@ var CA_ExtInterface = function () {
7383
7415
  }
7384
7416
  };
7385
7417
 
7386
- /**
7387
- * 获取证书类型
7388
- * @returns {string} 证书类型
7418
+ /**
7419
+ * 获取证书类型
7420
+ * @returns {string} 证书类型
7389
7421
  */
7390
7422
 
7391
7423
 
@@ -7399,9 +7431,9 @@ var CA_ExtInterface = function () {
7399
7431
  }
7400
7432
  };
7401
7433
 
7402
- /**
7403
- * 获取签名摘要算法
7404
- * @returns {string} 签名摘要算法
7434
+ /**
7435
+ * 获取签名摘要算法
7436
+ * @returns {string} 签名摘要算法
7405
7437
  */
7406
7438
 
7407
7439
 
@@ -7415,11 +7447,11 @@ var CA_ExtInterface = function () {
7415
7447
  }
7416
7448
  };
7417
7449
 
7418
- /**
7419
- * 使能调用序列
7420
- * @param {boolean} bCallQueueEnable - 是否使能调用序列
7421
- * @param {boolean} bHeadInfoEnable - 是否使能头部信息
7422
- * @returns {number} 使能结果
7450
+ /**
7451
+ * 使能调用序列
7452
+ * @param {boolean} bCallQueueEnable - 是否使能调用序列
7453
+ * @param {boolean} bHeadInfoEnable - 是否使能头部信息
7454
+ * @returns {number} 使能结果
7423
7455
  */
7424
7456
 
7425
7457
 
@@ -7433,9 +7465,9 @@ var CA_ExtInterface = function () {
7433
7465
  }
7434
7466
  };
7435
7467
 
7436
- /**
7437
- * 清空调用序列结果
7438
- * @returns {number} 清空调用序列结果
7468
+ /**
7469
+ * 清空调用序列结果
7470
+ * @returns {number} 清空调用序列结果
7439
7471
  */
7440
7472
 
7441
7473
 
@@ -7449,9 +7481,9 @@ var CA_ExtInterface = function () {
7449
7481
  }
7450
7482
  };
7451
7483
 
7452
- /**
7453
- * 获取调用序列结果
7454
- * @returns {string} 调用序列结果
7484
+ /**
7485
+ * 获取调用序列结果
7486
+ * @returns {string} 调用序列结果
7455
7487
  */
7456
7488
 
7457
7489
 
@@ -7465,12 +7497,12 @@ var CA_ExtInterface = function () {
7465
7497
  }
7466
7498
  };
7467
7499
 
7468
- /**
7469
- * 客户端安全策略检查
7470
- * @param {string} strGatewayAddress - 网关地址
7471
- * @param {number} usGatewayPort - 网关端口
7472
- * @param {string} strSecurityPolicys - 安全策略
7473
- * @returns {boolean} 检查结果
7500
+ /**
7501
+ * 客户端安全策略检查
7502
+ * @param {string} strGatewayAddress - 网关地址
7503
+ * @param {number} usGatewayPort - 网关端口
7504
+ * @param {string} strSecurityPolicys - 安全策略
7505
+ * @returns {boolean} 检查结果
7474
7506
  */
7475
7507
 
7476
7508
 
@@ -7484,9 +7516,9 @@ var CA_ExtInterface = function () {
7484
7516
  }
7485
7517
  };
7486
7518
 
7487
- /**
7488
- * 获取通讯协议版本
7489
- * @returns {string} 通讯协议版本
7519
+ /**
7520
+ * 获取通讯协议版本
7521
+ * @returns {string} 通讯协议版本
7490
7522
  */
7491
7523
 
7492
7524
 
@@ -7500,13 +7532,13 @@ var CA_ExtInterface = function () {
7500
7532
  }
7501
7533
  };
7502
7534
 
7503
- /**
7504
- * 修改 Key 的 Pin 码
7505
- * @param {string} strCertSn - 证书序列号
7506
- * @param {number} lPinCodeType - Pin 码类型
7507
- * @param {string} strCurPinCode - 当前 Pin 码
7508
- * @param {string} strNewPinCode - 新 Pin 码
7509
- * @returns {number} 修改结果
7535
+ /**
7536
+ * 修改 Key 的 Pin 码
7537
+ * @param {string} strCertSn - 证书序列号
7538
+ * @param {number} lPinCodeType - Pin 码类型
7539
+ * @param {string} strCurPinCode - 当前 Pin 码
7540
+ * @param {string} strNewPinCode - 新 Pin 码
7541
+ * @returns {number} 修改结果
7510
7542
  */
7511
7543
 
7512
7544
 
@@ -7520,10 +7552,10 @@ var CA_ExtInterface = function () {
7520
7552
  }
7521
7553
  };
7522
7554
 
7523
- /**
7524
- * 等待策略设置完毕
7525
- * @param {string} strGatewayAddress - 网关地址
7526
- * @returns {number} 等待结果
7555
+ /**
7556
+ * 等待策略设置完毕
7557
+ * @param {string} strGatewayAddress - 网关地址
7558
+ * @returns {number} 等待结果
7527
7559
  */
7528
7560
 
7529
7561
 
@@ -7537,10 +7569,10 @@ var CA_ExtInterface = function () {
7537
7569
  }
7538
7570
  };
7539
7571
 
7540
- /**
7541
- * 获取会话 Token
7542
- * @param {string} strGatewayAddress - 网关地址
7543
- * @returns {string} 会话 Token
7572
+ /**
7573
+ * 获取会话 Token
7574
+ * @param {string} strGatewayAddress - 网关地址
7575
+ * @returns {string} 会话 Token
7544
7576
  */
7545
7577
 
7546
7578
 
@@ -7554,9 +7586,9 @@ var CA_ExtInterface = function () {
7554
7586
  }
7555
7587
  };
7556
7588
 
7557
- /**
7558
- * 获取控件版本
7559
- * @returns {string} 控件版本
7589
+ /**
7590
+ * 获取控件版本
7591
+ * @returns {string} 控件版本
7560
7592
  */
7561
7593
 
7562
7594
 
@@ -7570,10 +7602,10 @@ var CA_ExtInterface = function () {
7570
7602
  }
7571
7603
  };
7572
7604
 
7573
- /**
7574
- * 设置语言资源
7575
- * @param {string} strLanguage - 语言资源
7576
- * @returns {number} 设置结果
7605
+ /**
7606
+ * 设置语言资源
7607
+ * @param {string} strLanguage - 语言资源
7608
+ * @returns {number} 设置结果
7577
7609
  */
7578
7610
 
7579
7611
 
@@ -7587,12 +7619,12 @@ var CA_ExtInterface = function () {
7587
7619
  }
7588
7620
  };
7589
7621
 
7590
- /**
7591
- * 获取用户属性
7592
- * @param {string} strGatewayAddress - 网关地址
7593
- * @param {string} strAppFlag - 应用标识
7594
- * @param {string} strAttributeName - 属性名称
7595
- * @returns {string} 用户属性值
7622
+ /**
7623
+ * 获取用户属性
7624
+ * @param {string} strGatewayAddress - 网关地址
7625
+ * @param {string} strAppFlag - 应用标识
7626
+ * @param {string} strAttributeName - 属性名称
7627
+ * @returns {string} 用户属性值
7596
7628
  */
7597
7629
 
7598
7630
 
@@ -7606,9 +7638,9 @@ var CA_ExtInterface = function () {
7606
7638
  }
7607
7639
  };
7608
7640
 
7609
- /**
7610
- * 获取签名加密 PIN 码
7611
- * @returns {string} 签名加密 PIN 码
7641
+ /**
7642
+ * 获取签名加密 PIN 码
7643
+ * @returns {string} 签名加密 PIN 码
7612
7644
  */
7613
7645
 
7614
7646
 
@@ -7621,20 +7653,20 @@ var CA_ExtInterface = function () {
7621
7653
  return result.value;
7622
7654
  }
7623
7655
  };
7624
- /*
7625
- *曙光四川CA
7626
- *'SOF_GetUserList' 证书列表
7627
- *'SOF_ExportUserCert' 导出证书
7628
- *'SOF_GetCertInfo': 获取证书信息
7629
- *'SOF_GenRandom': 生成随机数
7630
- *'SOF_SignData': 获取证书签名
7631
- *'SOF_Login': 登录证书
7632
- *'SOF_GetPinRetryCount': 剩余次数
7656
+ /*
7657
+ *曙光四川CA
7658
+ *'SOF_GetUserList' 证书列表
7659
+ *'SOF_ExportUserCert' 导出证书
7660
+ *'SOF_GetCertInfo': 获取证书信息
7661
+ *'SOF_GenRandom': 生成随机数
7662
+ *'SOF_SignData': 获取证书签名
7663
+ *'SOF_Login': 登录证书
7664
+ *'SOF_GetPinRetryCount': 剩余次数
7633
7665
  */
7634
- /**
7635
- *
7636
- * 获取webSocket消息
7637
- * @returns {string}
7666
+ /**
7667
+ *
7668
+ * 获取webSocket消息
7669
+ * @returns {string}
7638
7670
  */
7639
7671
 
7640
7672
 
@@ -7670,10 +7702,10 @@ var CA_ExtInterface = function () {
7670
7702
  };
7671
7703
  });
7672
7704
  };
7673
- /**
7674
- *
7675
- * base64解码
7676
- * @returns {string} base64解码后的字符串
7705
+ /**
7706
+ *
7707
+ * base64解码
7708
+ * @returns {string} base64解码后的字符串
7677
7709
  */
7678
7710
 
7679
7711
 
@@ -7708,10 +7740,10 @@ var CA_ExtInterface = function () {
7708
7740
  val = this.utf8_decode(val);
7709
7741
  return val;
7710
7742
  };
7711
- /**
7712
- *
7713
- * base64编码
7714
- * @returns {string} base64编码后的字符串
7743
+ /**
7744
+ *
7745
+ * base64编码
7746
+ * @returns {string} base64编码后的字符串
7715
7747
  */
7716
7748
 
7717
7749
 
@@ -7744,10 +7776,10 @@ var CA_ExtInterface = function () {
7744
7776
  }
7745
7777
  return val;
7746
7778
  };
7747
- /**
7748
- *
7749
- * utf8解码
7750
- * @returns {string} utf8解码后的字符串
7779
+ /**
7780
+ *
7781
+ * utf8解码
7782
+ * @returns {string} utf8解码后的字符串
7751
7783
  */
7752
7784
 
7753
7785
 
@@ -7776,10 +7808,10 @@ var CA_ExtInterface = function () {
7776
7808
  }
7777
7809
  return string;
7778
7810
  };
7779
- /**
7780
- *
7781
- * utf8编码
7782
- * @returns {string} utf8编码后的字符串
7811
+ /**
7812
+ *
7813
+ * utf8编码
7814
+ * @returns {string} utf8编码后的字符串
7783
7815
  */
7784
7816
 
7785
7817
 
@@ -61441,8 +61473,8 @@ login_src_main.install = function (Vue) {
61441
61473
  };
61442
61474
 
61443
61475
  /* harmony default export */ var login = (login_src_main);
61444
- // 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=0fbde292&
61445
- var mainvue_type_template_id_0fbde292_render = function () {
61476
+ // 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=48272c28&
61477
+ var mainvue_type_template_id_48272c28_render = function () {
61446
61478
  var _vm = this
61447
61479
  var _h = _vm.$createElement
61448
61480
  var _c = _vm._self._c || _h
@@ -61585,14 +61617,14 @@ var mainvue_type_template_id_0fbde292_render = function () {
61585
61617
  )
61586
61618
  : _vm._e()
61587
61619
  }
61588
- var mainvue_type_template_id_0fbde292_staticRenderFns = []
61589
- mainvue_type_template_id_0fbde292_render._withStripped = true
61620
+ var mainvue_type_template_id_48272c28_staticRenderFns = []
61621
+ mainvue_type_template_id_48272c28_render._withStripped = true
61590
61622
 
61591
61623
 
61592
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=0fbde292&
61624
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=48272c28&
61593
61625
 
61594
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=6808c3e5&scoped=true&
61595
- var simplicityvue_type_template_id_6808c3e5_scoped_true_render = function () {
61626
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=560d8a6d&scoped=true&
61627
+ var simplicityvue_type_template_id_560d8a6d_scoped_true_render = function () {
61596
61628
  var _vm = this
61597
61629
  var _h = _vm.$createElement
61598
61630
  var _c = _vm._self._c || _h
@@ -62358,11 +62390,11 @@ var simplicityvue_type_template_id_6808c3e5_scoped_true_render = function () {
62358
62390
  ),
62359
62391
  ])
62360
62392
  }
62361
- var simplicityvue_type_template_id_6808c3e5_scoped_true_staticRenderFns = []
62362
- simplicityvue_type_template_id_6808c3e5_scoped_true_render._withStripped = true
62393
+ var simplicityvue_type_template_id_560d8a6d_scoped_true_staticRenderFns = []
62394
+ simplicityvue_type_template_id_560d8a6d_scoped_true_render._withStripped = true
62363
62395
 
62364
62396
 
62365
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=6808c3e5&scoped=true&
62397
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=560d8a6d&scoped=true&
62366
62398
 
62367
62399
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=e722b45c&scoped=true&
62368
62400
  var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
@@ -68571,6 +68603,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
68571
68603
  type: Number,
68572
68604
  default: 220
68573
68605
  },
68606
+ showTipNums: {
68607
+ type: Boolean,
68608
+ default: true
68609
+ },
68574
68610
  //路由方式
68575
68611
  routeType: String,
68576
68612
  host: {
@@ -69352,6 +69388,8 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
69352
69388
  setTips: function setTips(obj) {
69353
69389
  var _this4 = this;
69354
69390
 
69391
+ // 不显示菜单气泡提醒
69392
+ if (!this.showTipNums) return;
69355
69393
  if (!this.menuTips || !Object.keys(this.menuTips).length) {
69356
69394
  return false;
69357
69395
  }
@@ -70200,18 +70238,18 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
70200
70238
 
70201
70239
  var simplicity_component = normalizeComponent(
70202
70240
  src_simplicityvue_type_script_lang_js_,
70203
- simplicityvue_type_template_id_6808c3e5_scoped_true_render,
70204
- simplicityvue_type_template_id_6808c3e5_scoped_true_staticRenderFns,
70241
+ simplicityvue_type_template_id_560d8a6d_scoped_true_render,
70242
+ simplicityvue_type_template_id_560d8a6d_scoped_true_staticRenderFns,
70205
70243
  false,
70206
70244
  null,
70207
- "6808c3e5",
70245
+ "560d8a6d",
70208
70246
  null
70209
70247
 
70210
70248
  )
70211
70249
 
70212
70250
  /* harmony default export */ var simplicity = (simplicity_component.exports);
70213
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/index.vue?vue&type=template&id=06dd3ec1&scoped=true&
70214
- var simplicityTopvue_type_template_id_06dd3ec1_scoped_true_render = function () {
70251
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/index.vue?vue&type=template&id=567b8a97&scoped=true&
70252
+ var simplicityTopvue_type_template_id_567b8a97_scoped_true_render = function () {
70215
70253
  var _vm = this
70216
70254
  var _h = _vm.$createElement
70217
70255
  var _c = _vm._self._c || _h
@@ -70405,7 +70443,16 @@ var simplicityTopvue_type_template_id_06dd3ec1_scoped_true_render = function ()
70405
70443
  "div",
70406
70444
  { staticClass: "es-simplicitytop-menu-item" },
70407
70445
  [
70408
- _vm._m(0),
70446
+ _c("div", { staticClass: "es-simplicitytop-menu-title" }, [
70447
+ _c(
70448
+ "span",
70449
+ {
70450
+ staticClass: "es-simplicitytop-menu-name",
70451
+ on: { click: _vm.testReloadPage },
70452
+ },
70453
+ [_vm._v("我的快捷")]
70454
+ ),
70455
+ ]),
70409
70456
  _c(
70410
70457
  "el-scrollbar",
70411
70458
  { staticStyle: { height: "calc(100% - 45px)" } },
@@ -70765,22 +70812,11 @@ var simplicityTopvue_type_template_id_06dd3ec1_scoped_true_render = function ()
70765
70812
  1
70766
70813
  )
70767
70814
  }
70768
- var simplicityTopvue_type_template_id_06dd3ec1_scoped_true_staticRenderFns = [
70769
- function () {
70770
- var _vm = this
70771
- var _h = _vm.$createElement
70772
- var _c = _vm._self._c || _h
70773
- return _c("div", { staticClass: "es-simplicitytop-menu-title" }, [
70774
- _c("span", { staticClass: "es-simplicitytop-menu-name" }, [
70775
- _vm._v("我的快捷"),
70776
- ]),
70777
- ])
70778
- },
70779
- ]
70780
- simplicityTopvue_type_template_id_06dd3ec1_scoped_true_render._withStripped = true
70815
+ var simplicityTopvue_type_template_id_567b8a97_scoped_true_staticRenderFns = []
70816
+ simplicityTopvue_type_template_id_567b8a97_scoped_true_render._withStripped = true
70781
70817
 
70782
70818
 
70783
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/index.vue?vue&type=template&id=06dd3ec1&scoped=true&
70819
+ // CONCATENATED MODULE: ./packages/main/src/simplicityTop/index.vue?vue&type=template&id=567b8a97&scoped=true&
70784
70820
 
70785
70821
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/avatar.vue?vue&type=template&id=30391b69&scoped=true&
70786
70822
  var avatarvue_type_template_id_30391b69_scoped_true_render = function () {
@@ -70931,8 +70967,8 @@ var simplicityTop_avatar_component = normalizeComponent(
70931
70967
  )
70932
70968
 
70933
70969
  /* harmony default export */ var simplicityTop_avatar = (simplicityTop_avatar_component.exports);
70934
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/handler.vue?vue&type=template&id=6434fb72&scoped=true&
70935
- var handlervue_type_template_id_6434fb72_scoped_true_render = function () {
70970
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/handler.vue?vue&type=template&id=45fffc05&scoped=true&
70971
+ var handlervue_type_template_id_45fffc05_scoped_true_render = function () {
70936
70972
  var _vm = this
70937
70973
  var _h = _vm.$createElement
70938
70974
  var _c = _vm._self._c || _h
@@ -71024,6 +71060,23 @@ var handlervue_type_template_id_6434fb72_scoped_true_render = function () {
71024
71060
  _c("span", { staticClass: "es-simplicitytop-handler-text" }, [
71025
71061
  _vm._v(_vm._s(item.text)),
71026
71062
  ]),
71063
+ item.type == "notice" && _vm.nums[item.type] > 0
71064
+ ? _c(
71065
+ "div",
71066
+ { staticClass: "es-simplicitytop-handler-badge" },
71067
+ [
71068
+ _vm._v(
71069
+ "\n " +
71070
+ _vm._s(
71071
+ _vm.nums[item.type] > 99
71072
+ ? "99+"
71073
+ : _vm.nums[item.type]
71074
+ ) +
71075
+ "\n "
71076
+ ),
71077
+ ]
71078
+ )
71079
+ : _vm._e(),
71027
71080
  ],
71028
71081
  1
71029
71082
  ),
@@ -71033,11 +71086,11 @@ var handlervue_type_template_id_6434fb72_scoped_true_render = function () {
71033
71086
  2
71034
71087
  )
71035
71088
  }
71036
- var handlervue_type_template_id_6434fb72_scoped_true_staticRenderFns = []
71037
- handlervue_type_template_id_6434fb72_scoped_true_render._withStripped = true
71089
+ var handlervue_type_template_id_45fffc05_scoped_true_staticRenderFns = []
71090
+ handlervue_type_template_id_45fffc05_scoped_true_render._withStripped = true
71038
71091
 
71039
71092
 
71040
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/handler.vue?vue&type=template&id=6434fb72&scoped=true&
71093
+ // CONCATENATED MODULE: ./packages/main/src/simplicityTop/handler.vue?vue&type=template&id=45fffc05&scoped=true&
71041
71094
 
71042
71095
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/handler.vue?vue&type=script&lang=js&
71043
71096
  var simplicityTop_handlervue_type_script_lang_js_data;
@@ -71092,6 +71145,12 @@ var simplicityTop_handlervue_type_script_lang_js_data;
71092
71145
  //
71093
71146
  //
71094
71147
  //
71148
+ //
71149
+ //
71150
+ //
71151
+ //
71152
+ //
71153
+ //
71095
71154
 
71096
71155
 
71097
71156
 
@@ -71251,11 +71310,11 @@ var simplicityTop_handlervue_type_script_lang_js_data;
71251
71310
 
71252
71311
  var simplicityTop_handler_component = normalizeComponent(
71253
71312
  src_simplicityTop_handlervue_type_script_lang_js_,
71254
- handlervue_type_template_id_6434fb72_scoped_true_render,
71255
- handlervue_type_template_id_6434fb72_scoped_true_staticRenderFns,
71313
+ handlervue_type_template_id_45fffc05_scoped_true_render,
71314
+ handlervue_type_template_id_45fffc05_scoped_true_staticRenderFns,
71256
71315
  false,
71257
71316
  null,
71258
- "6434fb72",
71317
+ "45fffc05",
71259
71318
  null
71260
71319
 
71261
71320
  )
@@ -73333,6 +73392,8 @@ function simplicityTopvue_type_script_lang_js_asyncToGenerator(fn) { return func
73333
73392
  //
73334
73393
  //
73335
73394
  //
73395
+ //
73396
+ //
73336
73397
 
73337
73398
 
73338
73399
 
@@ -73348,6 +73409,8 @@ function simplicityTopvue_type_script_lang_js_asyncToGenerator(fn) { return func
73348
73409
 
73349
73410
 
73350
73411
 
73412
+
73413
+
73351
73414
  var simplicityTopvue_type_script_lang_js_isIE = /MSIE|Trident/.test(navigator.userAgent);
73352
73415
  var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode || 'default';
73353
73416
  // let events = [
@@ -74660,7 +74723,7 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
74660
74723
 
74661
74724
  this.menus = rebuildMenu;
74662
74725
  this.setTips(this.menus);
74663
- utils_store.set('nav', this.menus);
74726
+ // store.set('nav', this.menus);
74664
74727
  var obj = this.getMenu(this.menus, this.indexUrl);
74665
74728
  obj = obj ? JSON.parse(JSON.stringify(obj)) : {
74666
74729
  url: this.indexUrl,
@@ -74713,6 +74776,7 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
74713
74776
  var url = res.url;
74714
74777
 
74715
74778
  var urls = url.split('?');
74779
+ console.log(res);
74716
74780
  if (urls[0].indexOf('.js') > 1 && !simplicityTopvue_type_script_lang_js_isIE) {
74717
74781
  res.method = 'wujie';
74718
74782
  if (!res.appCode) {
@@ -75045,17 +75109,55 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
75045
75109
  this.webSocket.destroy();
75046
75110
  }
75047
75111
  },
75112
+ testReloadPage: function testReloadPage() {
75113
+ this.handleRefresh(1);
75114
+ },
75048
75115
 
75049
75116
  /**
75050
75117
  * @desc:刷新选中iframe页签
75051
75118
  * @author huangbo
75052
75119
  * @date 2024年9月7日
75053
75120
  **/
75054
- handleRefresh: function handleRefresh() {
75121
+ handleRefresh: function handleRefresh(arg) {
75055
75122
  this.getNums();
75123
+ console.log(arg, 'arg');
75056
75124
  if (window.top.refreshList) {
75057
75125
  window.top.refreshList();
75058
75126
  }
75127
+ if (arg != undefined) {
75128
+ var tab = this.currentPage;
75129
+ if (tab.appCode == 'indexUrl') return;
75130
+ if (simplicityTopvue_type_script_lang_js_isIE || tab.method === 'iframe') {
75131
+ if (arg && arg === 'pageData') {
75132
+ var iframe = document.getElementById(tab.id || tab.appCode);
75133
+ var source = tab.url;
75134
+ if (source && !utils_util.startWith(source, ['http', 'https'], true)) {
75135
+ source = location.origin + source.replace('./', '/');
75136
+ }
75137
+ !iframe && (iframe = document.getElementById(this.iframeId));
75138
+ iframe && iframe.contentWindow.postMessage({ method: 'pageData' }, source || '*');
75139
+ } else {
75140
+ this.$set(this.currentPage, 'url', utils_util.handlerUrl(tab.url));
75141
+ }
75142
+ return;
75143
+ }
75144
+ if (tab.method === 'wujie' && tab.appCode) {
75145
+ if (arg && arg === 'pageData') {
75146
+ external_wujie_vue2_default.a.$emit('pageData', tab);
75147
+ } else {
75148
+ window.document.querySelector('iframe[name=' + tab.appCode + ']').contentWindow.location.reload(true);
75149
+ }
75150
+ return;
75151
+ }
75152
+ if (tab.method === 'router') {
75153
+ if (arg && arg === 'pageData') {
75154
+ var bus = this.bus || this.$root.Bus;
75155
+ bus.$emit('pageData', tab);
75156
+ } else {
75157
+ this.$set(this.currentPage, 'keys', utils_util.uuid());
75158
+ }
75159
+ }
75160
+ }
75059
75161
  },
75060
75162
 
75061
75163
  /**
@@ -75183,7 +75285,6 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
75183
75285
  // util.win.open(this.doorIndex, '_self');
75184
75286
  this.currentPage = simplicityTopvue_type_script_lang_js_extends({}, this.homePage);
75185
75287
  this.appCodes = 'indexUrl';
75186
- console.log(this.currentPage, 'this.currentPage');
75187
75288
  break;
75188
75289
  case 'userinfo':
75189
75290
  this.$refs.user.handleOpen();
@@ -75389,7 +75490,6 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
75389
75490
  handleSelect: function handleSelect(res) {
75390
75491
  var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
75391
75492
 
75392
- console.log(res, 'handleSelect');
75393
75493
  var node = res.node ? res.node : res;
75394
75494
  if (node.urlopenmode == 1 || node.openModel == 1) {
75395
75495
  utils_util.win.open(node.url || node.menuurl);
@@ -75399,11 +75499,12 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
75399
75499
  var apps = node;
75400
75500
  var param = params;
75401
75501
  var reload = true;
75402
- if (typeof res === 'string') {
75403
- apps = res.split(',');
75502
+ if (typeof node === 'string') {
75503
+ apps = node.split(',');
75404
75504
  } else if (utils_util.isObject(node)) {
75405
75505
  var appCode = node.appCode || node.menuCode;
75406
- apps = Array.isArray(appCode) ? appCode : appCode.split(',');
75506
+ var id = node.id || node.menuId;
75507
+ apps = appCode ? Array.isArray(appCode) ? appCode : appCode.split(',') : [id];
75407
75508
  node.param && (param = simplicityTopvue_type_script_lang_js_extends({}, node.param, params));
75408
75509
  reload = Object.prototype.hasOwnProperty.call(node, 'reload') ? node.reload : true;
75409
75510
  }
@@ -75412,6 +75513,7 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
75412
75513
  currentPage = _findMenuById.currentPage,
75413
75514
  fourthTabs = _findMenuById.fourthTabs;
75414
75515
 
75516
+ console.log('fourthTabs', fourthTabs, 'currentPage', currentPage);
75415
75517
  if (currentPage) {
75416
75518
  this.currentPage = {};
75417
75519
  this.fourthTabs = [];
@@ -75423,7 +75525,7 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
75423
75525
  this.currentPage.url = utils_util.handlerUrl(this.currentPage.url, param);
75424
75526
  }
75425
75527
  this.tabActiveName = this.currentPage.id;
75426
- this.appCodes = this.currentPage.appCode;
75528
+ this.appCodes = this.currentPage.appCode || this.currentPage.id;
75427
75529
  } else {
75428
75530
  this.fourthTabs = fourthTabs;
75429
75531
  this.currentPage = this.setIframeType(currentPage);
@@ -75544,11 +75646,11 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
75544
75646
 
75545
75647
  var simplicityTop_component = normalizeComponent(
75546
75648
  src_simplicityTopvue_type_script_lang_js_,
75547
- simplicityTopvue_type_template_id_06dd3ec1_scoped_true_render,
75548
- simplicityTopvue_type_template_id_06dd3ec1_scoped_true_staticRenderFns,
75649
+ simplicityTopvue_type_template_id_567b8a97_scoped_true_render,
75650
+ simplicityTopvue_type_template_id_567b8a97_scoped_true_staticRenderFns,
75549
75651
  false,
75550
75652
  null,
75551
- "06dd3ec1",
75653
+ "567b8a97",
75552
75654
  null
75553
75655
 
75554
75656
  )
@@ -79680,7 +79782,11 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
79680
79782
  type: Number,
79681
79783
  default: 3000
79682
79784
  },
79683
- multiple: Boolean
79785
+ multiple: Boolean,
79786
+ changeThemeReload: {
79787
+ type: Boolean,
79788
+ default: false
79789
+ }
79684
79790
  },
79685
79791
  computed: {
79686
79792
  _launchImage: function _launchImage() {
@@ -79702,6 +79808,10 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
79702
79808
  };
79703
79809
  },
79704
79810
  created: function created() {
79811
+ var layoutType = localStorage.getItem('layoutType');
79812
+ if (layoutType) {
79813
+ this.layoutType = layoutType;
79814
+ }
79705
79815
  this.params = utils_util.getParams() || {};
79706
79816
  this.sysCode = this.params.sysCode;
79707
79817
  this.appCode = this.params.appCode || this.params.appcode;
@@ -79720,10 +79830,6 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
79720
79830
  this.$nextTick(function () {
79721
79831
  // 当主题变化时,重新绑定一次事件 防止事件丢失 或者绑定错误
79722
79832
  _this.bindEvent();
79723
- var layoutType = localStorage.getItem('layoutType');
79724
- if (layoutType) {
79725
- _this.layoutType = layoutType;
79726
- }
79727
79833
  });
79728
79834
  },
79729
79835
 
@@ -79832,20 +79938,29 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
79832
79938
  if (active) {
79833
79939
  this.layout = active;
79834
79940
  }
79941
+ // 重新加载页面,刷新布局风格配置信息
79942
+ // 如果不刷新,会导致事件绑定出现问题,导致事件丢失
79943
+ if (this.changeThemeReload) {
79944
+ window.top.location.reload();
79945
+ return;
79946
+ }
79947
+
79835
79948
  var mainConfig = utils_util.getStorage('mainConfig');
79836
- if (mainConfig) {
79837
- mainConfig = JSON.parse(mainConfig);
79838
- this.$nextTick(function () {
79949
+ // 切换布局风格后,重新绑定事件
79950
+ this.$nextTick(function () {
79951
+ _this3.bindEvent();
79952
+ if (mainConfig) {
79953
+ mainConfig = JSON.parse(mainConfig);
79839
79954
  _this3.$refs.main.init(mainConfig, true);
79840
79955
  utils_util.getMainConfig(function (res) {
79841
79956
  _this3.$refs.main.init(res, false);
79842
79957
  });
79843
- });
79844
- } else {
79845
- utils_util.getMainConfig(function (res) {
79846
- _this3.$refs.main.init(res, true);
79847
- });
79848
- }
79958
+ } else {
79959
+ utils_util.getMainConfig(function (res) {
79960
+ _this3.$refs.main.init(res, true);
79961
+ });
79962
+ }
79963
+ });
79849
79964
  },
79850
79965
 
79851
79966
  /**
@@ -80164,7 +80279,6 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
80164
80279
  **/
80165
80280
  busEmit: function busEmit(event, args) {
80166
80281
  console.log('busEmit', event, args);
80167
-
80168
80282
  external_wujie_vue2_default.a.bus.$emit(event, args);
80169
80283
  var iframes = document.getElementsByTagName('iframe');
80170
80284
  for (var i = 0; i < iframes.length; i++) {
@@ -80196,8 +80310,8 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
80196
80310
 
80197
80311
  var main_src_main_component = normalizeComponent(
80198
80312
  packages_main_src_mainvue_type_script_lang_js_,
80199
- mainvue_type_template_id_0fbde292_render,
80200
- mainvue_type_template_id_0fbde292_staticRenderFns,
80313
+ mainvue_type_template_id_48272c28_render,
80314
+ mainvue_type_template_id_48272c28_staticRenderFns,
80201
80315
  false,
80202
80316
  null,
80203
80317
  null,
@@ -82768,19 +82882,19 @@ var QRCode = __webpack_require__(27);
82768
82882
  //设置logo大小
82769
82883
  var logoPosition = (_this3.mwidth - 46) / 2; //logo相对于canvas居中定位
82770
82884
  //设置获取的logo将其变为圆角以及添加白色背景
82771
- /* ctx.fillStyle = "#fff";
82772
- ctx.beginPath();
82773
- let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
82774
- let w = 46; //圆角宽
82775
- let x = logoPosition - 5;
82776
- let y = logoPosition - 5;
82777
- let r = 5; //圆角半径
82778
- ctx.moveTo(x + r, y);
82779
- ctx.arcTo(x + w, y, x + w, y + h, r);
82780
- ctx.arcTo(x + w, y + h, x, y + h, r);
82781
- ctx.arcTo(x, y + h, x, y, r);
82782
- ctx.arcTo(x, y, x + w, y, r);
82783
- ctx.closePath();
82885
+ /* ctx.fillStyle = "#fff";
82886
+ ctx.beginPath();
82887
+ let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
82888
+ let w = 46; //圆角宽
82889
+ let x = logoPosition - 5;
82890
+ let y = logoPosition - 5;
82891
+ let r = 5; //圆角半径
82892
+ ctx.moveTo(x + r, y);
82893
+ ctx.arcTo(x + w, y, x + w, y + h, r);
82894
+ ctx.arcTo(x + w, y + h, x, y + h, r);
82895
+ ctx.arcTo(x, y + h, x, y, r);
82896
+ ctx.arcTo(x, y, x + w, y, r);
82897
+ ctx.closePath();
82784
82898
  ctx.fill(); */
82785
82899
  logo.onload = function () {
82786
82900
  ctx.drawImage(logo, logoPosition, logoPosition, 46, 46);
@@ -100897,7 +101011,7 @@ if (typeof window !== 'undefined' && window.Vue) {
100897
101011
  }
100898
101012
 
100899
101013
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
100900
- version: '0.7.75',
101014
+ version: '0.7.76',
100901
101015
  install: install,
100902
101016
  Button: packages_button,
100903
101017
  ButtonGroup: button_group,