eoss-ui 0.6.67 → 0.6.68

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 (244) hide show
  1. package/lib/calogin.js +663 -254
  2. package/lib/eoss-ui.common.js +1317 -902
  3. package/lib/flow-list.js +158 -175
  4. package/lib/flow.js +280 -280
  5. package/lib/index.js +1 -1
  6. package/lib/login.js +58 -35
  7. package/lib/main.js +132 -132
  8. package/lib/qr-code.js +13 -13
  9. package/lib/theme-chalk/index.css +1 -1
  10. package/lib/theme-chalk/login.css +1 -1
  11. package/package.json +160 -160
  12. package/packages/.DS_Store +0 -0
  13. package/packages/autocomplete/.DS_Store +0 -0
  14. package/packages/button/index.js +5 -5
  15. package/packages/button/src/main.vue +418 -418
  16. package/packages/button-group/index.js +5 -5
  17. package/packages/button-group/src/main.vue +298 -298
  18. package/packages/calendar/index.js +5 -5
  19. package/packages/calogin/.DS_Store +0 -0
  20. package/packages/calogin/index.js +5 -5
  21. package/packages/calogin/src/main.vue +368 -131
  22. package/packages/calogin/src/plugin.js +915 -748
  23. package/packages/card/index.js +5 -5
  24. package/packages/card/src/main.vue +156 -156
  25. package/packages/cascader/index.js +5 -5
  26. package/packages/cascader/src/main.vue +168 -168
  27. package/packages/checkbox-group/index.js +5 -5
  28. package/packages/checkbox-group/src/main.vue +333 -333
  29. package/packages/clients/index.js +5 -5
  30. package/packages/clients/src/main.vue +151 -151
  31. package/packages/data-table/index.js +5 -5
  32. package/packages/data-table/src/children.vue +39 -39
  33. package/packages/data-table/src/column.vue +989 -989
  34. package/packages/data-table/src/main.vue +1822 -1822
  35. package/packages/data-table/src/sizer.vue +195 -195
  36. package/packages/data-table-form/index.js +5 -5
  37. package/packages/data-table-form/src/checkbox.vue +101 -101
  38. package/packages/data-table-form/src/colgroup.vue +17 -17
  39. package/packages/data-table-form/src/main.vue +181 -181
  40. package/packages/data-table-form/src/radio.vue +65 -65
  41. package/packages/data-table-form/src/table.vue +233 -233
  42. package/packages/data-table-form/src/tbody.vue +336 -336
  43. package/packages/data-table-form/src/thead.vue +68 -68
  44. package/packages/date-picker/.DS_Store +0 -0
  45. package/packages/date-picker/index.js +5 -5
  46. package/packages/date-picker/src/.DS_Store +0 -0
  47. package/packages/date-picker/src/main.vue +236 -236
  48. package/packages/dialog/index.js +5 -5
  49. package/packages/enable-drag/index.js +5 -5
  50. package/packages/enterprise/index.js +5 -5
  51. package/packages/enterprise/src/main.vue +66 -66
  52. package/packages/error-page/index.js +5 -5
  53. package/packages/error-page/src/main.vue +44 -44
  54. package/packages/flow/.DS_Store +0 -0
  55. package/packages/flow/index.js +5 -5
  56. package/packages/flow/src/component/Circulate.vue +351 -351
  57. package/packages/flow/src/component/CommonOpinions.vue +346 -346
  58. package/packages/flow/src/component/CustomPreset.vue +322 -322
  59. package/packages/flow/src/component/FileList.vue +99 -99
  60. package/packages/flow/src/component/Preset.vue +255 -255
  61. package/packages/flow/src/component/SendMsg.vue +241 -241
  62. package/packages/flow/src/component/TimeLimit.vue +190 -190
  63. package/packages/flow/src/component/taskUnionExamine.vue +619 -619
  64. package/packages/flow/src/form.vue +121 -121
  65. package/packages/flow/src/freeStartFlow.vue +2843 -2843
  66. package/packages/flow/src/main.vue +3367 -3367
  67. package/packages/flow/src/processForm.vue +1091 -1091
  68. package/packages/flow/src/processReject.vue +294 -294
  69. package/packages/flow/src/reset.vue +905 -905
  70. package/packages/flow/src/startTaskRead.vue +659 -659
  71. package/packages/flow/src/supervise.vue +149 -149
  72. package/packages/flow/src/table.vue +58 -58
  73. package/packages/flow-group/index.js +5 -5
  74. package/packages/flow-group/src/main.vue +688 -688
  75. package/packages/flow-list/.DS_Store +0 -0
  76. package/packages/flow-list/index.js +5 -5
  77. package/packages/flow-list/src/main.vue +1738 -1757
  78. package/packages/form/index.js +5 -5
  79. package/packages/form/src/main.vue +3581 -3581
  80. package/packages/form/src/table.vue +1426 -1426
  81. package/packages/handle-user/index.js +5 -5
  82. package/packages/handle-user/src/main.vue +138 -138
  83. package/packages/handler/index.js +5 -5
  84. package/packages/handler/src/main.vue +493 -493
  85. package/packages/icon/index.js +5 -5
  86. package/packages/icon/src/main.vue +101 -101
  87. package/packages/icons/index.js +5 -5
  88. package/packages/icons/src/main.vue +81 -81
  89. package/packages/input/index.js +5 -5
  90. package/packages/input/src/main.vue +356 -356
  91. package/packages/input-number/index.js +5 -5
  92. package/packages/input-number/src/main.vue +106 -106
  93. package/packages/label/index.js +5 -5
  94. package/packages/label/src/main.vue +457 -457
  95. package/packages/layout/index.js +5 -5
  96. package/packages/layout/src/item.vue +152 -152
  97. package/packages/layout/src/main.vue +31 -31
  98. package/packages/login/.DS_Store +0 -0
  99. package/packages/login/index.js +5 -5
  100. package/packages/login/src/main.vue +2009 -1988
  101. package/packages/login/src/resetPassword.vue +562 -562
  102. package/packages/main/.DS_Store +0 -0
  103. package/packages/main/index.js +5 -5
  104. package/packages/main/src/.DS_Store +0 -0
  105. package/packages/main/src/default/message.vue +249 -249
  106. package/packages/main/src/default/notice.vue +157 -157
  107. package/packages/main/src/default/userinfo.vue +503 -503
  108. package/packages/main/src/public/online.vue +89 -89
  109. package/packages/main/src/public/search.vue +462 -462
  110. package/packages/main/src/public/settings.vue +221 -221
  111. package/packages/main/src/simplicity/apps.vue +388 -388
  112. package/packages/main/src/simplicity/avatar.vue +83 -83
  113. package/packages/main/src/simplicity/handler.vue +259 -259
  114. package/packages/main/src/simplicity/index.vue +2089 -2089
  115. package/packages/main/src/simplicity/lists.vue +84 -84
  116. package/packages/main/src/simplicity/menu-list.vue +135 -135
  117. package/packages/main/src/simplicity/message.vue +259 -259
  118. package/packages/main/src/simplicity/notice.vue +190 -190
  119. package/packages/main/src/simplicity/router-page.vue +45 -45
  120. package/packages/main/src/simplicity/sub-menu.vue +264 -264
  121. package/packages/main/src/simplicity/user.vue +257 -257
  122. package/packages/main/src/simplicity/userinfo.vue +312 -312
  123. package/packages/menu/.DS_Store +0 -0
  124. package/packages/menu/index.js +5 -5
  125. package/packages/menu/src/main.vue +584 -584
  126. package/packages/nav/index.js +5 -5
  127. package/packages/nav/src/main.vue +351 -351
  128. package/packages/notify/index.js +5 -5
  129. package/packages/notify/src/main.vue +538 -538
  130. package/packages/page/index.js +5 -5
  131. package/packages/page/src/main.vue +167 -167
  132. package/packages/pagination/index.js +5 -5
  133. package/packages/pagination/src/main.vue +96 -96
  134. package/packages/player/index.js +5 -5
  135. package/packages/player/src/main.vue +194 -194
  136. package/packages/qr-code/index.js +5 -5
  137. package/packages/qr-code/src/main.vue +170 -170
  138. package/packages/radio-group/index.js +6 -6
  139. package/packages/radio-group/src/main.vue +319 -319
  140. package/packages/retrial-auth/index.js +5 -5
  141. package/packages/retrial-auth/src/main.vue +280 -280
  142. package/packages/scrollbar/.DS_Store +0 -0
  143. package/packages/select/.DS_Store +0 -0
  144. package/packages/select/index.js +5 -5
  145. package/packages/select/src/main.vue +778 -778
  146. package/packages/select-ganged/index.js +5 -5
  147. package/packages/select-ganged/src/main.vue +724 -724
  148. package/packages/selector/index.js +5 -5
  149. package/packages/selector/src/main.vue +687 -687
  150. package/packages/selector-panel/index.js +5 -5
  151. package/packages/selector-panel/src/main.vue +1027 -1027
  152. package/packages/selector-panel/src/selection.vue +177 -177
  153. package/packages/selector-panel/src/tree.vue +129 -129
  154. package/packages/sizer/index.js +5 -5
  155. package/packages/sizer/src/main.vue +254 -254
  156. package/packages/steps/index.js +5 -5
  157. package/packages/steps/src/main.vue +181 -181
  158. package/packages/switch/index.js +5 -5
  159. package/packages/switch/src/main.vue +154 -154
  160. package/packages/table-form/index.js +5 -5
  161. package/packages/tabs/index.js +5 -5
  162. package/packages/tabs/src/main.vue +788 -788
  163. package/packages/tabs-panel/index.js +5 -5
  164. package/packages/tabs-panel/src/main.vue +29 -29
  165. package/packages/theme-chalk/lib/index.css +1 -1
  166. package/packages/theme-chalk/lib/login.css +1 -1
  167. package/packages/theme-chalk/src/.DS_Store +0 -0
  168. package/packages/theme-chalk/src/base.scss +261 -261
  169. package/packages/theme-chalk/src/button-group.scss +176 -176
  170. package/packages/theme-chalk/src/button.scss +24 -24
  171. package/packages/theme-chalk/src/calendar.scss +113 -113
  172. package/packages/theme-chalk/src/card.scss +99 -99
  173. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  174. package/packages/theme-chalk/src/clients.scss +87 -87
  175. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  176. package/packages/theme-chalk/src/data-table.scss +293 -293
  177. package/packages/theme-chalk/src/date-picker.scss +7 -7
  178. package/packages/theme-chalk/src/dialog.scss +77 -77
  179. package/packages/theme-chalk/src/enable-drag.scss +181 -181
  180. package/packages/theme-chalk/src/enterprise.scss +5 -5
  181. package/packages/theme-chalk/src/error-page.scss +18 -18
  182. package/packages/theme-chalk/src/flow-group.scss +110 -110
  183. package/packages/theme-chalk/src/flow-list.scss +39 -39
  184. package/packages/theme-chalk/src/flow.scss +343 -343
  185. package/packages/theme-chalk/src/form.scss +496 -496
  186. package/packages/theme-chalk/src/handle-user.scss +40 -40
  187. package/packages/theme-chalk/src/handler.scss +143 -143
  188. package/packages/theme-chalk/src/icon.scss +1792 -1792
  189. package/packages/theme-chalk/src/icons.scss +99 -99
  190. package/packages/theme-chalk/src/input.scss +9 -9
  191. package/packages/theme-chalk/src/label.scss +24 -24
  192. package/packages/theme-chalk/src/layout.scss +46 -46
  193. package/packages/theme-chalk/src/login.scss +981 -981
  194. package/packages/theme-chalk/src/main.scss +663 -663
  195. package/packages/theme-chalk/src/menu.scss +222 -222
  196. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  197. package/packages/theme-chalk/src/nav.scss +111 -111
  198. package/packages/theme-chalk/src/page.scss +3 -3
  199. package/packages/theme-chalk/src/pagination.scss +29 -29
  200. package/packages/theme-chalk/src/player.scss +9 -9
  201. package/packages/theme-chalk/src/qr-code.scss +17 -17
  202. package/packages/theme-chalk/src/radio-group.scss +9 -9
  203. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  204. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  205. package/packages/theme-chalk/src/select.scss +8 -8
  206. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  207. package/packages/theme-chalk/src/selector.scss +91 -91
  208. package/packages/theme-chalk/src/simplicity.scss +1355 -1355
  209. package/packages/theme-chalk/src/sizer.scss +36 -36
  210. package/packages/theme-chalk/src/steps.scss +88 -88
  211. package/packages/theme-chalk/src/switch.scss +3 -3
  212. package/packages/theme-chalk/src/table-form.scss +1 -1
  213. package/packages/theme-chalk/src/tabs.scss +87 -87
  214. package/packages/theme-chalk/src/tips.scss +7 -7
  215. package/packages/theme-chalk/src/toolbar.scss +179 -179
  216. package/packages/theme-chalk/src/tree-group.scss +72 -72
  217. package/packages/theme-chalk/src/tree.scss +165 -165
  218. package/packages/theme-chalk/src/upload.scss +168 -168
  219. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  220. package/packages/tips/index.js +5 -5
  221. package/packages/tips/src/main.vue +141 -141
  222. package/packages/toolbar/index.js +5 -5
  223. package/packages/toolbar/src/main.vue +430 -430
  224. package/packages/tree/index.js +5 -5
  225. package/packages/tree-group/index.js +5 -5
  226. package/packages/upload/.DS_Store +0 -0
  227. package/packages/upload/index.js +5 -5
  228. package/packages/upload/src/main.vue +1347 -1347
  229. package/packages/upload/src/picture.js +15 -15
  230. package/packages/wujie/index.js +5 -5
  231. package/packages/wujie/src/main.vue +145 -145
  232. package/packages/wxlogin/index.js +5 -5
  233. package/packages/wxlogin/src/main.vue +128 -128
  234. package/src/.DS_Store +0 -0
  235. package/src/config/api.js +291 -291
  236. package/src/config/image.js +2 -2
  237. package/src/index.js +163 -163
  238. package/src/utils/.DS_Store +0 -0
  239. package/src/utils/bus.js +3 -3
  240. package/src/utils/date-util.js +312 -312
  241. package/src/utils/http.js +50 -50
  242. package/src/utils/rules.js +18 -18
  243. package/src/utils/store.js +21 -21
  244. package/src/utils/webSocket.js +107 -107
@@ -5883,31 +5883,28 @@ calendar_src_main.install = function (Vue) {
5883
5883
  };
5884
5884
 
5885
5885
  /* harmony default export */ var calendar = (calendar_src_main);
5886
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/calogin/src/main.vue?vue&type=template&id=e879a944&scoped=true&
5887
- var mainvue_type_template_id_e879a944_scoped_true_render = function () {
5886
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/calogin/src/main.vue?vue&type=template&id=3ba625d0&scoped=true&
5887
+ var mainvue_type_template_id_3ba625d0_scoped_true_render = function () {
5888
5888
  var _vm = this
5889
5889
  var _h = _vm.$createElement
5890
5890
  var _c = _vm._self._c || _h
5891
- return _c(
5892
- "span",
5893
- { on: { click: _vm.getCertificate } },
5894
- [_vm._t("default")],
5895
- 2
5896
- )
5891
+ return _c("span", [
5892
+ _c("span", { on: { click: _vm.getCertificate } }, [_vm._t("default")], 2),
5893
+ ])
5897
5894
  }
5898
- var mainvue_type_template_id_e879a944_scoped_true_staticRenderFns = []
5899
- mainvue_type_template_id_e879a944_scoped_true_render._withStripped = true
5895
+ var mainvue_type_template_id_3ba625d0_scoped_true_staticRenderFns = []
5896
+ mainvue_type_template_id_3ba625d0_scoped_true_render._withStripped = true
5900
5897
 
5901
5898
 
5902
- // CONCATENATED MODULE: ./packages/calogin/src/main.vue?vue&type=template&id=e879a944&scoped=true&
5899
+ // CONCATENATED MODULE: ./packages/calogin/src/main.vue?vue&type=template&id=3ba625d0&scoped=true&
5903
5900
 
5904
5901
  // CONCATENATED MODULE: ./packages/calogin/src/plugin.js
5905
5902
  var plugin_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
5906
5903
 
5907
5904
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5908
5905
 
5909
- /**
5910
- * JIT_GW_ExtInterface 模块,提供与客户端交互的功能
5906
+ /**
5907
+ * JIT_GW_ExtInterface 模块,提供与客户端交互的功能
5911
5908
  */
5912
5909
  var CA_ExtInterface = function () {
5913
5910
  function CA_ExtInterface() {
@@ -5916,13 +5913,15 @@ var CA_ExtInterface = function () {
5916
5913
  this.currentSessionWSURL = '';
5917
5914
  this.useActioveX = false;
5918
5915
  this.options = {};
5916
+ this.webSocket = null;
5917
+ this.init();
5919
5918
  }
5920
5919
 
5921
- /**
5922
- * 简单的 Object.assign 兼容 IE <= 11 的 polyfill
5923
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
5924
- * @param {Object} target - 目标对象
5925
- * @param {Object} options - 新的选项对象
5920
+ /**
5921
+ * 简单的 Object.assign 兼容 IE <= 11 的 polyfill
5922
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
5923
+ * @param {Object} target - 目标对象
5924
+ * @param {Object} options - 新的选项对象
5926
5925
  */
5927
5926
 
5928
5927
 
@@ -5937,8 +5936,8 @@ var CA_ExtInterface = function () {
5937
5936
  }
5938
5937
  };
5939
5938
 
5940
- /**
5941
- * 检查当前会话的 WebSocket URL
5939
+ /**
5940
+ * 检查当前会话的 WebSocket URL
5942
5941
  */
5943
5942
 
5944
5943
 
@@ -5952,8 +5951,8 @@ var CA_ExtInterface = function () {
5952
5951
  }
5953
5952
  };
5954
5953
 
5955
- /**
5956
- * 检查是否使用 ActiveX
5954
+ /**
5955
+ * 检查是否使用 ActiveX
5957
5956
  */
5958
5957
 
5959
5958
 
@@ -5965,11 +5964,11 @@ var CA_ExtInterface = function () {
5965
5964
  }
5966
5965
  };
5967
5966
 
5968
- /**
5969
- * 扩展发送消息并等待响应
5970
- * @param {string} operatorCmd - 操作命令
5971
- * @param {string} sendMsg - 发送的消息
5972
- * @returns {string} 响应消息
5967
+ /**
5968
+ * 扩展发送消息并等待响应
5969
+ * @param {string} operatorCmd - 操作命令
5970
+ * @param {string} sendMsg - 发送的消息
5971
+ * @returns {string} 响应消息
5973
5972
  */
5974
5973
 
5975
5974
 
@@ -5979,11 +5978,11 @@ var CA_ExtInterface = function () {
5979
5978
  return this.sendAndWaitMessage(this.currentSessionWSURL, strSendMsg);
5980
5979
  };
5981
5980
 
5982
- /**
5983
- * 发送消息并等待响应
5984
- * @param {string} wsurl - WebSocket URL
5985
- * @param {string} sendMsg - 发送的消息
5986
- * @returns {string} 响应消息
5981
+ /**
5982
+ * 发送消息并等待响应
5983
+ * @param {string} wsurl - WebSocket URL
5984
+ * @param {string} sendMsg - 发送的消息
5985
+ * @returns {string} 响应消息
5987
5986
  */
5988
5987
 
5989
5988
 
@@ -6007,9 +6006,9 @@ var CA_ExtInterface = function () {
6007
6006
  return ResultMsg;
6008
6007
  };
6009
6008
 
6010
- /**
6011
- * 配置选项
6012
- * @param {Object} extendOption - 扩展选项
6009
+ /**
6010
+ * 配置选项
6011
+ * @param {Object} extendOption - 扩展选项
6013
6012
  */
6014
6013
 
6015
6014
 
@@ -6019,8 +6018,8 @@ var CA_ExtInterface = function () {
6019
6018
  }
6020
6019
  };
6021
6020
 
6022
- /**
6023
- * 初始化
6021
+ /**
6022
+ * 初始化
6024
6023
  */
6025
6024
 
6026
6025
 
@@ -6028,9 +6027,9 @@ var CA_ExtInterface = function () {
6028
6027
  this.isUseActioveX();
6029
6028
  };
6030
6029
 
6031
- /**
6032
- * 返回客户端的版本
6033
- * @returns {string} 客户端版本
6030
+ /**
6031
+ * 返回客户端的版本
6032
+ * @returns {string} 客户端版本
6034
6033
  */
6035
6034
 
6036
6035
 
@@ -6043,13 +6042,13 @@ var CA_ExtInterface = function () {
6043
6042
  }
6044
6043
  };
6045
6044
 
6046
- /**
6047
- * 下载客户端程序并安装
6048
- * @param {string} bstrURL - 下载地址
6049
- * @param {string} bstrHashValue - 哈希值
6050
- * @param {boolean} bSync - 是否同步安装
6051
- * @param {boolean} bOnlySSO - 是否仅安装 SSO
6052
- * @returns {number} 安装结果
6045
+ /**
6046
+ * 下载客户端程序并安装
6047
+ * @param {string} bstrURL - 下载地址
6048
+ * @param {string} bstrHashValue - 哈希值
6049
+ * @param {boolean} bSync - 是否同步安装
6050
+ * @param {boolean} bOnlySSO - 是否仅安装 SSO
6051
+ * @returns {number} 安装结果
6053
6052
  */
6054
6053
 
6055
6054
 
@@ -6063,11 +6062,11 @@ var CA_ExtInterface = function () {
6063
6062
  }
6064
6063
  };
6065
6064
 
6066
- /**
6067
- * 获取硬件指纹信息
6068
- * @param {number} dwSign - 签名
6069
- * @param {string} strGateWayIP - 网关 IP
6070
- * @returns {string} 硬件指纹信息
6065
+ /**
6066
+ * 获取硬件指纹信息
6067
+ * @param {number} dwSign - 签名
6068
+ * @param {string} strGateWayIP - 网关 IP
6069
+ * @returns {string} 硬件指纹信息
6071
6070
  */
6072
6071
 
6073
6072
 
@@ -6081,12 +6080,12 @@ var CA_ExtInterface = function () {
6081
6080
  }
6082
6081
  };
6083
6082
 
6084
- /**
6085
- * 设置转发策略和代填策略
6086
- * @param {string} strProxyPolicy - 转发策略
6087
- * @param {string} strSSOPolicy - 代填策略
6088
- * @param {string} strGatewayAddress - 网关地址
6089
- * @returns {number} 设置结果
6083
+ /**
6084
+ * 设置转发策略和代填策略
6085
+ * @param {string} strProxyPolicy - 转发策略
6086
+ * @param {string} strSSOPolicy - 代填策略
6087
+ * @param {string} strGatewayAddress - 网关地址
6088
+ * @returns {number} 设置结果
6090
6089
  */
6091
6090
 
6092
6091
 
@@ -6100,11 +6099,11 @@ var CA_ExtInterface = function () {
6100
6099
  }
6101
6100
  };
6102
6101
 
6103
- /**
6104
- * 启动认证信息模块
6105
- * @param {string} strFileName - 文件名
6106
- * @param {string} strXmlData - XML 数据
6107
- * @returns {string} 认证信息
6102
+ /**
6103
+ * 启动认证信息模块
6104
+ * @param {string} strFileName - 文件名
6105
+ * @param {string} strXmlData - XML 数据
6106
+ * @returns {string} 认证信息
6108
6107
  */
6109
6108
 
6110
6109
 
@@ -6118,10 +6117,10 @@ var CA_ExtInterface = function () {
6118
6117
  }
6119
6118
  };
6120
6119
 
6121
- /**
6122
- * 打开 BS 应用
6123
- * @param {string} strUrl - 应用 URL
6124
- * @returns {number} 打开结果
6120
+ /**
6121
+ * 打开 BS 应用
6122
+ * @param {string} strUrl - 应用 URL
6123
+ * @returns {number} 打开结果
6125
6124
  */
6126
6125
 
6127
6126
 
@@ -6135,12 +6134,12 @@ var CA_ExtInterface = function () {
6135
6134
  }
6136
6135
  };
6137
6136
 
6138
- /**
6139
- * 打开 CS 应用
6140
- * @param {string} strGatewayAddress - 网关地址
6141
- * @param {string} strAppFlag - 应用标识
6142
- * @param {string} strAppPath - 应用路径
6143
- * @returns {number} 打开结果
6137
+ /**
6138
+ * 打开 CS 应用
6139
+ * @param {string} strGatewayAddress - 网关地址
6140
+ * @param {string} strAppFlag - 应用标识
6141
+ * @param {string} strAppPath - 应用路径
6142
+ * @returns {number} 打开结果
6144
6143
  */
6145
6144
 
6146
6145
 
@@ -6154,13 +6153,13 @@ var CA_ExtInterface = function () {
6154
6153
  }
6155
6154
  };
6156
6155
 
6157
- /**
6158
- * 设置自动更新策略
6159
- * @param {string} strGatewayAddress - 网关地址
6160
- * @param {number} nGatewayPort - 网关端口
6161
- * @param {string} strUserToken - 用户令牌
6162
- * @param {number} updatedelay - 更新延迟
6163
- * @returns {number} 设置结果
6156
+ /**
6157
+ * 设置自动更新策略
6158
+ * @param {string} strGatewayAddress - 网关地址
6159
+ * @param {number} nGatewayPort - 网关端口
6160
+ * @param {string} strUserToken - 用户令牌
6161
+ * @param {number} updatedelay - 更新延迟
6162
+ * @returns {number} 设置结果
6164
6163
  */
6165
6164
 
6166
6165
 
@@ -6174,10 +6173,10 @@ var CA_ExtInterface = function () {
6174
6173
  }
6175
6174
  };
6176
6175
 
6177
- /**
6178
- * 获取客户端 IP
6179
- * @param {string} strGatewayIP - 网关 IP
6180
- * @returns {string} 客户端 IP
6176
+ /**
6177
+ * 获取客户端 IP
6178
+ * @param {string} strGatewayIP - 网关 IP
6179
+ * @returns {string} 客户端 IP
6181
6180
  */
6182
6181
 
6183
6182
 
@@ -6191,10 +6190,10 @@ var CA_ExtInterface = function () {
6191
6190
  }
6192
6191
  };
6193
6192
 
6194
- /**
6195
- * 登出网关
6196
- * @param {string} strServerIP - 服务器 IP
6197
- * @returns {number} 登出结果
6193
+ /**
6194
+ * 登出网关
6195
+ * @param {string} strServerIP - 服务器 IP
6196
+ * @returns {number} 登出结果
6198
6197
  */
6199
6198
 
6200
6199
 
@@ -6208,11 +6207,11 @@ var CA_ExtInterface = function () {
6208
6207
  }
6209
6208
  };
6210
6209
 
6211
- /**
6212
- * 运行安装包
6213
- * @param {number} lRunType - 运行类型
6214
- * @param {boolean} bIsOnlySSO - 是否仅安装 SSO
6215
- * @returns {number} 运行结果
6210
+ /**
6211
+ * 运行安装包
6212
+ * @param {number} lRunType - 运行类型
6213
+ * @param {boolean} bIsOnlySSO - 是否仅安装 SSO
6214
+ * @returns {number} 运行结果
6216
6215
  */
6217
6216
 
6218
6217
 
@@ -6226,9 +6225,9 @@ var CA_ExtInterface = function () {
6226
6225
  }
6227
6226
  };
6228
6227
 
6229
- /**
6230
- * 获取下载进度
6231
- * @returns {number} 下载进度
6228
+ /**
6229
+ * 获取下载进度
6230
+ * @returns {number} 下载进度
6232
6231
  */
6233
6232
 
6234
6233
 
@@ -6242,9 +6241,9 @@ var CA_ExtInterface = function () {
6242
6241
  }
6243
6242
  };
6244
6243
 
6245
- /**
6246
- * 是否安装完成
6247
- * @returns {boolean} 安装完成状态
6244
+ /**
6245
+ * 是否安装完成
6246
+ * @returns {boolean} 安装完成状态
6248
6247
  */
6249
6248
 
6250
6249
 
@@ -6258,11 +6257,11 @@ var CA_ExtInterface = function () {
6258
6257
  }
6259
6258
  };
6260
6259
 
6261
- /**
6262
- * 初始化签包对象
6263
- * @param {string} strAlgType - 算法类型
6264
- * @param {string} strAuxParam - 辅助参数
6265
- * @returns {number} 初始化结果
6260
+ /**
6261
+ * 初始化签包对象
6262
+ * @param {string} strAlgType - 算法类型
6263
+ * @param {string} strAuxParam - 辅助参数
6264
+ * @returns {number} 初始化结果
6266
6265
  */
6267
6266
 
6268
6267
 
@@ -6276,10 +6275,10 @@ var CA_ExtInterface = function () {
6276
6275
  }
6277
6276
  };
6278
6277
 
6279
- /**
6280
- * 设置摘要算法
6281
- * @param {string} strDigestAlg - 摘要算法
6282
- * @returns {number} 设置结果
6278
+ /**
6279
+ * 设置摘要算法
6280
+ * @param {string} strDigestAlg - 摘要算法
6281
+ * @returns {number} 设置结果
6283
6282
  */
6284
6283
 
6285
6284
 
@@ -6293,10 +6292,10 @@ var CA_ExtInterface = function () {
6293
6292
  }
6294
6293
  };
6295
6294
 
6296
- /**
6297
- * 设置单证书是否弹出对话框
6298
- * @param {number} isChoose - 是否弹出对话框
6299
- * @returns {number} 设置结果
6295
+ /**
6296
+ * 设置单证书是否弹出对话框
6297
+ * @param {number} isChoose - 是否弹出对话框
6298
+ * @returns {number} 设置结果
6300
6299
  */
6301
6300
 
6302
6301
 
@@ -6310,11 +6309,11 @@ var CA_ExtInterface = function () {
6310
6309
  }
6311
6310
  };
6312
6311
 
6313
- /**
6314
- * 添加证书过滤条件
6315
- * @param {number} ulType - 过滤类型
6316
- * @param {string} strValue - 过滤值
6317
- * @returns {number} 添加结果
6312
+ /**
6313
+ * 添加证书过滤条件
6314
+ * @param {number} ulType - 过滤类型
6315
+ * @param {string} strValue - 过滤值
6316
+ * @returns {number} 添加结果
6318
6317
  */
6319
6318
 
6320
6319
 
@@ -6328,9 +6327,9 @@ var CA_ExtInterface = function () {
6328
6327
  }
6329
6328
  };
6330
6329
 
6331
- /**
6332
- * 清除所有过滤条件
6333
- * @returns {number} 清除结果
6330
+ /**
6331
+ * 清除所有过滤条件
6332
+ * @returns {number} 清除结果
6334
6333
  */
6335
6334
 
6336
6335
 
@@ -6344,10 +6343,10 @@ var CA_ExtInterface = function () {
6344
6343
  }
6345
6344
  };
6346
6345
 
6347
- /**
6348
- * P1 签名
6349
- * @param {string} strValueBase64 - 待签名的 Base64 字符串
6350
- * @returns {string} 签名结果
6346
+ /**
6347
+ * P1 签名
6348
+ * @param {string} strValueBase64 - 待签名的 Base64 字符串
6349
+ * @returns {string} 签名结果
6351
6350
  */
6352
6351
 
6353
6352
 
@@ -6361,10 +6360,10 @@ var CA_ExtInterface = function () {
6361
6360
  }
6362
6361
  };
6363
6362
 
6364
- /**
6365
- * P1 签名字符串
6366
- * @param {string} strValue - 待签名的字符串
6367
- * @returns {string} 签名结果
6363
+ /**
6364
+ * P1 签名字符串
6365
+ * @param {string} strValue - 待签名的字符串
6366
+ * @returns {string} 签名结果
6368
6367
  */
6369
6368
 
6370
6369
 
@@ -6378,12 +6377,12 @@ var CA_ExtInterface = function () {
6378
6377
  }
6379
6378
  };
6380
6379
 
6381
- /**
6382
- * P7 签名
6383
- * @param {string} strValueBase64 - 待签名的 Base64 字符串
6384
- * @param {boolean} isDetach - 是否分离签名
6385
- * @param {boolean} isIncludeCert - 是否包含证书
6386
- * @returns {string} 签名结果
6380
+ /**
6381
+ * P7 签名
6382
+ * @param {string} strValueBase64 - 待签名的 Base64 字符串
6383
+ * @param {boolean} isDetach - 是否分离签名
6384
+ * @param {boolean} isIncludeCert - 是否包含证书
6385
+ * @returns {string} 签名结果
6387
6386
  */
6388
6387
 
6389
6388
 
@@ -6397,12 +6396,12 @@ var CA_ExtInterface = function () {
6397
6396
  }
6398
6397
  };
6399
6398
 
6400
- /**
6401
- * P7 签名字符串
6402
- * @param {string} strValue - 待签名的字符串
6403
- * @param {boolean} isDetach - 是否分离签名
6404
- * @param {boolean} isIncludeCert - 是否包含证书
6405
- * @returns {string} 签名结果
6399
+ /**
6400
+ * P7 签名字符串
6401
+ * @param {string} strValue - 待签名的字符串
6402
+ * @param {boolean} isDetach - 是否分离签名
6403
+ * @param {boolean} isIncludeCert - 是否包含证书
6404
+ * @returns {string} 签名结果
6406
6405
  */
6407
6406
 
6408
6407
 
@@ -6416,9 +6415,9 @@ var CA_ExtInterface = function () {
6416
6415
  }
6417
6416
  };
6418
6417
 
6419
- /**
6420
- * 释放签名对象
6421
- * @returns {number} 释放结果
6418
+ /**
6419
+ * 释放签名对象
6420
+ * @returns {number} 释放结果
6422
6421
  */
6423
6422
 
6424
6423
 
@@ -6432,9 +6431,9 @@ var CA_ExtInterface = function () {
6432
6431
  }
6433
6432
  };
6434
6433
 
6435
- /**
6436
- * 获取签名版本
6437
- * @returns {string} 签名版本
6434
+ /**
6435
+ * 获取签名版本
6436
+ * @returns {string} 签名版本
6438
6437
  */
6439
6438
 
6440
6439
 
@@ -6448,9 +6447,9 @@ var CA_ExtInterface = function () {
6448
6447
  }
6449
6448
  };
6450
6449
 
6451
- /**
6452
- * 获取签名证书
6453
- * @returns {string} 签名证书
6450
+ /**
6451
+ * 获取签名证书
6452
+ * @returns {string} 签名证书
6454
6453
  */
6455
6454
 
6456
6455
 
@@ -6464,9 +6463,9 @@ var CA_ExtInterface = function () {
6464
6463
  }
6465
6464
  };
6466
6465
 
6467
- /**
6468
- * 获取错误码
6469
- * @returns {number} 错误码
6466
+ /**
6467
+ * 获取错误码
6468
+ * @returns {number} 错误码
6470
6469
  */
6471
6470
 
6472
6471
 
@@ -6480,9 +6479,9 @@ var CA_ExtInterface = function () {
6480
6479
  }
6481
6480
  };
6482
6481
 
6483
- /**
6484
- * 获取错误信息
6485
- * @returns {string} 错误信息
6482
+ /**
6483
+ * 获取错误信息
6484
+ * @returns {string} 错误信息
6486
6485
  */
6487
6486
 
6488
6487
 
@@ -6496,9 +6495,9 @@ var CA_ExtInterface = function () {
6496
6495
  }
6497
6496
  };
6498
6497
 
6499
- /**
6500
- * 销毁认证对象
6501
- * @returns {number} 销毁结果
6498
+ /**
6499
+ * 销毁认证对象
6500
+ * @returns {number} 销毁结果
6502
6501
  */
6503
6502
 
6504
6503
 
@@ -6512,9 +6511,9 @@ var CA_ExtInterface = function () {
6512
6511
  }
6513
6512
  };
6514
6513
 
6515
- /**
6516
- * 获取证书类型
6517
- * @returns {string} 证书类型
6514
+ /**
6515
+ * 获取证书类型
6516
+ * @returns {string} 证书类型
6518
6517
  */
6519
6518
 
6520
6519
 
@@ -6528,9 +6527,9 @@ var CA_ExtInterface = function () {
6528
6527
  }
6529
6528
  };
6530
6529
 
6531
- /**
6532
- * 获取签名摘要算法
6533
- * @returns {string} 签名摘要算法
6530
+ /**
6531
+ * 获取签名摘要算法
6532
+ * @returns {string} 签名摘要算法
6534
6533
  */
6535
6534
 
6536
6535
 
@@ -6544,11 +6543,11 @@ var CA_ExtInterface = function () {
6544
6543
  }
6545
6544
  };
6546
6545
 
6547
- /**
6548
- * 使能调用序列
6549
- * @param {boolean} bCallQueueEnable - 是否使能调用序列
6550
- * @param {boolean} bHeadInfoEnable - 是否使能头部信息
6551
- * @returns {number} 使能结果
6546
+ /**
6547
+ * 使能调用序列
6548
+ * @param {boolean} bCallQueueEnable - 是否使能调用序列
6549
+ * @param {boolean} bHeadInfoEnable - 是否使能头部信息
6550
+ * @returns {number} 使能结果
6552
6551
  */
6553
6552
 
6554
6553
 
@@ -6562,9 +6561,9 @@ var CA_ExtInterface = function () {
6562
6561
  }
6563
6562
  };
6564
6563
 
6565
- /**
6566
- * 清空调用序列结果
6567
- * @returns {number} 清空调用序列结果
6564
+ /**
6565
+ * 清空调用序列结果
6566
+ * @returns {number} 清空调用序列结果
6568
6567
  */
6569
6568
 
6570
6569
 
@@ -6578,9 +6577,9 @@ var CA_ExtInterface = function () {
6578
6577
  }
6579
6578
  };
6580
6579
 
6581
- /**
6582
- * 获取调用序列结果
6583
- * @returns {string} 调用序列结果
6580
+ /**
6581
+ * 获取调用序列结果
6582
+ * @returns {string} 调用序列结果
6584
6583
  */
6585
6584
 
6586
6585
 
@@ -6594,12 +6593,12 @@ var CA_ExtInterface = function () {
6594
6593
  }
6595
6594
  };
6596
6595
 
6597
- /**
6598
- * 客户端安全策略检查
6599
- * @param {string} strGatewayAddress - 网关地址
6600
- * @param {number} usGatewayPort - 网关端口
6601
- * @param {string} strSecurityPolicys - 安全策略
6602
- * @returns {boolean} 检查结果
6596
+ /**
6597
+ * 客户端安全策略检查
6598
+ * @param {string} strGatewayAddress - 网关地址
6599
+ * @param {number} usGatewayPort - 网关端口
6600
+ * @param {string} strSecurityPolicys - 安全策略
6601
+ * @returns {boolean} 检查结果
6603
6602
  */
6604
6603
 
6605
6604
 
@@ -6613,9 +6612,9 @@ var CA_ExtInterface = function () {
6613
6612
  }
6614
6613
  };
6615
6614
 
6616
- /**
6617
- * 获取通讯协议版本
6618
- * @returns {string} 通讯协议版本
6615
+ /**
6616
+ * 获取通讯协议版本
6617
+ * @returns {string} 通讯协议版本
6619
6618
  */
6620
6619
 
6621
6620
 
@@ -6629,13 +6628,13 @@ var CA_ExtInterface = function () {
6629
6628
  }
6630
6629
  };
6631
6630
 
6632
- /**
6633
- * 修改 Key 的 Pin 码
6634
- * @param {string} strCertSn - 证书序列号
6635
- * @param {number} lPinCodeType - Pin 码类型
6636
- * @param {string} strCurPinCode - 当前 Pin 码
6637
- * @param {string} strNewPinCode - 新 Pin 码
6638
- * @returns {number} 修改结果
6631
+ /**
6632
+ * 修改 Key 的 Pin 码
6633
+ * @param {string} strCertSn - 证书序列号
6634
+ * @param {number} lPinCodeType - Pin 码类型
6635
+ * @param {string} strCurPinCode - 当前 Pin 码
6636
+ * @param {string} strNewPinCode - 新 Pin 码
6637
+ * @returns {number} 修改结果
6639
6638
  */
6640
6639
 
6641
6640
 
@@ -6649,10 +6648,10 @@ var CA_ExtInterface = function () {
6649
6648
  }
6650
6649
  };
6651
6650
 
6652
- /**
6653
- * 等待策略设置完毕
6654
- * @param {string} strGatewayAddress - 网关地址
6655
- * @returns {number} 等待结果
6651
+ /**
6652
+ * 等待策略设置完毕
6653
+ * @param {string} strGatewayAddress - 网关地址
6654
+ * @returns {number} 等待结果
6656
6655
  */
6657
6656
 
6658
6657
 
@@ -6666,10 +6665,10 @@ var CA_ExtInterface = function () {
6666
6665
  }
6667
6666
  };
6668
6667
 
6669
- /**
6670
- * 获取会话 Token
6671
- * @param {string} strGatewayAddress - 网关地址
6672
- * @returns {string} 会话 Token
6668
+ /**
6669
+ * 获取会话 Token
6670
+ * @param {string} strGatewayAddress - 网关地址
6671
+ * @returns {string} 会话 Token
6673
6672
  */
6674
6673
 
6675
6674
 
@@ -6683,9 +6682,9 @@ var CA_ExtInterface = function () {
6683
6682
  }
6684
6683
  };
6685
6684
 
6686
- /**
6687
- * 获取控件版本
6688
- * @returns {string} 控件版本
6685
+ /**
6686
+ * 获取控件版本
6687
+ * @returns {string} 控件版本
6689
6688
  */
6690
6689
 
6691
6690
 
@@ -6699,10 +6698,10 @@ var CA_ExtInterface = function () {
6699
6698
  }
6700
6699
  };
6701
6700
 
6702
- /**
6703
- * 设置语言资源
6704
- * @param {string} strLanguage - 语言资源
6705
- * @returns {number} 设置结果
6701
+ /**
6702
+ * 设置语言资源
6703
+ * @param {string} strLanguage - 语言资源
6704
+ * @returns {number} 设置结果
6706
6705
  */
6707
6706
 
6708
6707
 
@@ -6716,12 +6715,12 @@ var CA_ExtInterface = function () {
6716
6715
  }
6717
6716
  };
6718
6717
 
6719
- /**
6720
- * 获取用户属性
6721
- * @param {string} strGatewayAddress - 网关地址
6722
- * @param {string} strAppFlag - 应用标识
6723
- * @param {string} strAttributeName - 属性名称
6724
- * @returns {string} 用户属性值
6718
+ /**
6719
+ * 获取用户属性
6720
+ * @param {string} strGatewayAddress - 网关地址
6721
+ * @param {string} strAppFlag - 应用标识
6722
+ * @param {string} strAttributeName - 属性名称
6723
+ * @returns {string} 用户属性值
6725
6724
  */
6726
6725
 
6727
6726
 
@@ -6735,9 +6734,9 @@ var CA_ExtInterface = function () {
6735
6734
  }
6736
6735
  };
6737
6736
 
6738
- /**
6739
- * 获取签名加密 PIN 码
6740
- * @returns {string} 签名加密 PIN 码
6737
+ /**
6738
+ * 获取签名加密 PIN 码
6739
+ * @returns {string} 签名加密 PIN 码
6741
6740
  */
6742
6741
 
6743
6742
 
@@ -6750,6 +6749,186 @@ var CA_ExtInterface = function () {
6750
6749
  return result.value;
6751
6750
  }
6752
6751
  };
6752
+ /*
6753
+ *曙光四川CA
6754
+ *'SOF_GetUserList' 证书列表
6755
+ *'SOF_ExportUserCert' 导出证书
6756
+ *'SOF_GetCertInfo': 获取证书信息
6757
+ *'SOF_GenRandom': 生成随机数
6758
+ *'SOF_SignData': 获取证书签名
6759
+ *'SOF_Login': 登录证书
6760
+ *'SOF_GetPinRetryCount': 剩余次数
6761
+ */
6762
+ /**
6763
+ *
6764
+ * 获取webSocket消息
6765
+ * @returns {string}
6766
+ */
6767
+
6768
+
6769
+ CA_ExtInterface.prototype.getMessage = function getMessage(_ref) {
6770
+ var _this = this;
6771
+
6772
+ var action = _ref.action,
6773
+ _ref$params = _ref.params,
6774
+ params = _ref$params === undefined ? [] : _ref$params;
6775
+
6776
+ return new Promise(function (resolve, reject) {
6777
+ var obj = JSON.stringify({
6778
+ 'action': action,
6779
+ 'params': params
6780
+ });
6781
+ if (!_this.webSocket) {
6782
+ _this.webSocket = new WebSocket('wss://localhost:36171');
6783
+ _this.webSocket.onerror = function (event) {
6784
+ _this.webSocket = null;
6785
+ reject(event);
6786
+ };
6787
+ _this.webSocket.onopen = function () {
6788
+ _this.webSocket.send(obj);
6789
+ };
6790
+ } else {
6791
+ _this.webSocket.send(obj);
6792
+ }
6793
+ _this.webSocket.onclose = function (event) {
6794
+ _this.webSocket = null;
6795
+ };
6796
+ _this.webSocket.onmessage = function (event) {
6797
+ resolve(JSON.parse(event.data));
6798
+ };
6799
+ });
6800
+ };
6801
+ /**
6802
+ *
6803
+ * base64解码
6804
+ * @returns {string} base64解码后的字符串
6805
+ */
6806
+
6807
+
6808
+ CA_ExtInterface.prototype.base64Decode = function base64Decode(res) {
6809
+ var _keyStr = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
6810
+ var val = '';
6811
+ var chr1 = void 0;
6812
+ var chr2 = void 0;
6813
+ var chr3 = void 0;
6814
+ var enc1 = void 0;
6815
+ var enc2 = void 0;
6816
+ var enc3 = void 0;
6817
+ var enc4 = void 0;
6818
+ var i = 0;
6819
+ res = res.replace(/[^A-Za-z0-9\+\/\=]/g, '');
6820
+ while (i < res.length) {
6821
+ enc1 = _keyStr.indexOf(res.charAt(i++));
6822
+ enc2 = _keyStr.indexOf(res.charAt(i++));
6823
+ enc3 = _keyStr.indexOf(res.charAt(i++));
6824
+ enc4 = _keyStr.indexOf(res.charAt(i++));
6825
+ chr1 = enc1 << 2 | enc2 >> 4;
6826
+ chr2 = (enc2 & 15) << 4 | enc3 >> 2;
6827
+ chr3 = (enc3 & 3) << 6 | enc4;
6828
+ val = val + String.fromCharCode(chr1);
6829
+ if (enc3 !== 64) {
6830
+ val = val + String.fromCharCode(chr2);
6831
+ }
6832
+ if (enc4 !== 64) {
6833
+ val = val + String.fromCharCode(chr3);
6834
+ }
6835
+ }
6836
+ val = this.utf8_decode(val);
6837
+ return val;
6838
+ };
6839
+ /**
6840
+ *
6841
+ * base64编码
6842
+ * @returns {string} base64编码后的字符串
6843
+ */
6844
+
6845
+
6846
+ CA_ExtInterface.prototype.base64Encode = function base64Encode(res) {
6847
+ var _keyStr = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
6848
+ var val = '';
6849
+ var chr1 = void 0;
6850
+ var chr2 = void 0;
6851
+ var chr3 = void 0;
6852
+ var enc1 = void 0;
6853
+ var enc2 = void 0;
6854
+ var enc3 = void 0;
6855
+ var enc4 = void 0;
6856
+ var i = 0;
6857
+ res = this.utf8_encode(res);
6858
+ while (i < res.length) {
6859
+ chr1 = res.charCodeAt(i++);
6860
+ chr2 = res.charCodeAt(i++);
6861
+ chr3 = res.charCodeAt(i++);
6862
+ enc1 = chr1 >> 2;
6863
+ enc2 = (chr1 & 3) << 4 | chr2 >> 4;
6864
+ enc3 = (chr2 & 15) << 2 | chr3 >> 6;
6865
+ enc4 = chr3 & 63;
6866
+ if (isNaN(chr2)) {
6867
+ enc3 = enc4 = 64;
6868
+ } else if (isNaN(chr3)) {
6869
+ enc4 = 64;
6870
+ }
6871
+ val = val + _keyStr.charAt(enc1) + _keyStr.charAt(enc2) + _keyStr.charAt(enc3) + _keyStr.charAt(enc4);
6872
+ }
6873
+ return val;
6874
+ };
6875
+ /**
6876
+ *
6877
+ * utf8解码
6878
+ * @returns {string} utf8解码后的字符串
6879
+ */
6880
+
6881
+
6882
+ CA_ExtInterface.prototype.utf8_decode = function utf8_decode(utftext) {
6883
+ var string = '';
6884
+ var i = 0;
6885
+ var c = 0;
6886
+ // let c1 = 0;
6887
+ var c2 = 0;
6888
+ var c3 = 0;
6889
+ while (i < utftext.length) {
6890
+ c = utftext.charCodeAt(i);
6891
+ if (c < 128) {
6892
+ string += String.fromCharCode(c);
6893
+ i++;
6894
+ } else if (c > 191 && c < 224) {
6895
+ c2 = utftext.charCodeAt(i + 1);
6896
+ string += String.fromCharCode((c & 31) << 6 | c2 & 63);
6897
+ i += 2;
6898
+ } else {
6899
+ c2 = utftext.charCodeAt(i + 1);
6900
+ c3 = utftext.charCodeAt(i + 2);
6901
+ string += String.fromCharCode((c & 15) << 12 | (c2 & 63) << 6 | c3 & 63);
6902
+ i += 3;
6903
+ }
6904
+ }
6905
+ return string;
6906
+ };
6907
+ /**
6908
+ *
6909
+ * utf8编码
6910
+ * @returns {string} utf8编码后的字符串
6911
+ */
6912
+
6913
+
6914
+ CA_ExtInterface.prototype.utf8_encode = function utf8_encode(string) {
6915
+ string = string.replace(/\r\n/g, '\n');
6916
+ var utftext = '';
6917
+ for (var n = 0; n < string.length; n++) {
6918
+ var c = string.charCodeAt(n);
6919
+ if (c < 128) {
6920
+ utftext += String.fromCharCode(c);
6921
+ } else if (c > 127 && c < 2048) {
6922
+ utftext += String.fromCharCode(c >> 6 | 192);
6923
+ utftext += String.fromCharCode(c & 63 | 128);
6924
+ } else {
6925
+ utftext += String.fromCharCode(c >> 12 | 224);
6926
+ utftext += String.fromCharCode(c >> 6 & 63 | 128);
6927
+ utftext += String.fromCharCode(c & 63 | 128);
6928
+ }
6929
+ }
6930
+ return utftext;
6931
+ };
6753
6932
 
6754
6933
  return CA_ExtInterface;
6755
6934
  }();
@@ -6763,6 +6942,8 @@ var caPlugin = new CA_ExtInterface();
6763
6942
  //
6764
6943
  //
6765
6944
  //
6945
+ //
6946
+ //
6766
6947
 
6767
6948
 
6768
6949
 
@@ -6770,6 +6951,10 @@ var caPlugin = new CA_ExtInterface();
6770
6951
  /* harmony default export */ var calogin_src_mainvue_type_script_lang_js_ = ({
6771
6952
  name: 'EsCaLogin',
6772
6953
  props: {
6954
+ caModel: {
6955
+ type: String,
6956
+ required: true
6957
+ }, // CA登录方式,JIDA-吉大正元,SHU_GUANG-曙光,SICHUAN-四川
6773
6958
  identifyingId: {
6774
6959
  type: String,
6775
6960
  default: function _default() {
@@ -6792,7 +6977,12 @@ var caPlugin = new CA_ExtInterface();
6792
6977
  },
6793
6978
  data: function data() {
6794
6979
  return {
6795
- signedData: ''
6980
+ userList: [],
6981
+ signedData: '', //证书原文
6982
+ b64originData: '', //签名原文
6983
+ b64SignData: '', //签名结果
6984
+ idCard: '',
6985
+ certId: ''
6796
6986
  };
6797
6987
  },
6798
6988
 
@@ -6814,58 +7004,277 @@ var caPlugin = new CA_ExtInterface();
6814
7004
  methods: {
6815
7005
  init: function init() {
6816
7006
  if (!window.PNXClient) {
6817
- var parser = new DOMParser();
6818
- var doc = parser.parseFromString("<object classid='clsid:9DD991F7-6FB0-4004-95A4-0A55006A8C42' width='0' height='0' id='PNXClient' style='position: absolute;'></object>", 'text/html');
6819
- var pnxClientElement = doc.querySelector('object');
6820
- if (pnxClientElement) {
6821
- document.body.appendChild(pnxClientElement);
6822
- }
7007
+ // 创建 object 元素
7008
+ var pnxClientElement = document.createElement('object');
7009
+ pnxClientElement.classid = 'clsid:9DD991F7-6FB0-4004-95A4-0A55006A8C42';
7010
+ pnxClientElement.width = '0';
7011
+ pnxClientElement.height = '0';
7012
+ pnxClientElement.id = 'PNXClient';
7013
+ pnxClientElement.style.position = 'absolute';
7014
+ document.body.appendChild(pnxClientElement);
6823
7015
  }
6824
7016
  },
6825
7017
  getCertificate: function getCertificate() {
7018
+ var _this = this;
7019
+
7020
+ this.$emit('click');
6826
7021
  // 检查 PNXClient 是否存在
6827
7022
  if (!window.PNXClient) {
6828
7023
  this.$message.error('控件加载失败,请刷新页面重试!');
7024
+ this.$emit('error');
6829
7025
  return;
6830
7026
  }
6831
- try {
6832
- src_plugin.getVersion();
6833
- } catch (e) {
6834
- this.$message.error('未安装控件,请进行安装控件!');
6835
- return;
6836
- }
6837
- try {
6838
- // 清除之前的过滤器
6839
- src_plugin.clearFilter();
6840
- // 初始化vctk控件
6841
- src_plugin.initialize('', this.param);
6842
- // 控制证书为一个时,不弹出证书选择框
6843
- src_plugin.setChooseSingleCert(1);
6844
-
6845
- // 生成签名信息
6846
- this.signedData = src_plugin.p7SignString(this.identifyingId, true, true);
6847
-
6848
- //获取错误码
6849
- var errorCode = Number(src_plugin.getLastError());
6850
- if (errorCode !== 0) {
6851
- if (errorCode === 3758096386 || errorCode === 2148532334) {
6852
- this.$message.error('用户取消操作!');
7027
+ switch (this.caModel) {
7028
+ //吉大正元:
7029
+ case 'JIDA':
7030
+ try {
7031
+ src_plugin.getVersion();
7032
+ } catch (e) {
7033
+ this.$message.error('未安装控件,请进行安装控件!');
7034
+ this.$emit('error');
6853
7035
  return;
6854
- } else if (errorCode === -536870815 || errorCode === 3758096481) {
6855
- this.$message.error('没有找到有效的证书,如果使用的是KEY,请确认已经插入key!');
7036
+ }
7037
+ try {
7038
+ // 清除之前的过滤器
7039
+ src_plugin.clearFilter();
7040
+ // 初始化vctk控件
7041
+ src_plugin.initialize('', this.param);
7042
+ // 控制证书为一个时,不弹出证书选择框
7043
+ src_plugin.setChooseSingleCert(1);
7044
+
7045
+ // 生成签名信息
7046
+ this.signedData = src_plugin.p7SignString(this.identifyingId, true, true);
7047
+
7048
+ //获取错误码
7049
+ var errorCode = Number(src_plugin.getLastError());
7050
+ if (errorCode !== 0) {
7051
+ if (errorCode === 3758096386 || errorCode === 2148532334) {
7052
+ this.$message.error('用户取消操作!');
7053
+ this.$emit('error');
7054
+ return;
7055
+ } else if (errorCode === -536870815 || errorCode === 3758096481) {
7056
+ this.$message.error('没有找到有效的证书,如果使用的是KEY,请确认已经插入key!');
7057
+ this.$emit('error');
7058
+ return;
7059
+ } else {
7060
+ this.$message.error(src_plugin.getLastErrorMessage());
7061
+ this.$emit('error');
7062
+ return;
7063
+ }
7064
+ }
7065
+ this.success && this.success(this.signedData);
7066
+ return this.signedData;
7067
+ } catch (error) {
7068
+ // 捕获其他可能的异常
7069
+ this.$message.error('\u64CD\u4F5C\u5931\u8D25: ' + error.message);
7070
+ this.$emit('error');
7071
+ }
7072
+ break;
7073
+ //曙光:
7074
+ case 'SHU_GUANG':
7075
+ src_plugin.getMessage({ action: 'SOF_GetUserList' }).then(function (res) {
7076
+ var retCode = res.retCode,
7077
+ retMsg = res.retMsg,
7078
+ retValue = res.retValue;
7079
+
7080
+ if (!retValue || retCode !== 0) {
7081
+ _this.$message.error(retCode !== 0 ? retMsg : '未找到证书,请插入证书UKEY!');
7082
+ _this.$emit('error');
7083
+ return;
7084
+ }
7085
+ var userList = retValue.split('&&&');
7086
+ if (userList.length === 1) {
7087
+ //如果只有一个证书,直接获取证书信息
7088
+ _this.certId = userList[0].split('||')[1];
7089
+ _this.getCertInfo(_this.certId);
7090
+ } else {
7091
+ // 如果有多个证书,弹出选择框
7092
+ _this.userList = userList.map(function (item) {
7093
+ var _item$split = item.split('||'),
7094
+ name = _item$split[0],
7095
+ certId = _item$split[1];
7096
+
7097
+ return { label: name, value: certId };
7098
+ });
7099
+ _this.$prompt('', '证书选择', {
7100
+ confirmButtonText: '确定',
7101
+ cancelButtonText: '取消',
7102
+ inputPattern: /^.+$/,
7103
+ inputErrorMessage: '请选择证书!',
7104
+ selectData: _this.userList
7105
+ }).then(function (res) {
7106
+ _this.certId = res.value;
7107
+ _this.getCertInfo(_this.certId);
7108
+ }).catch(function () {
7109
+ _this.$emit('error');
7110
+ });
7111
+ }
7112
+ }).catch(function (err) {
7113
+ _this.$message.error('请检查是否安装并启用证书助手控件!');
7114
+ _this.$emit('error');
7115
+ });
7116
+ break;
7117
+ //四川:
7118
+ case 'SICHUAN':
7119
+ this.$message.warning('四川CA登录方式对接中!');
7120
+ this.$emit('error');
7121
+ break;
7122
+ }
7123
+ },
7124
+ getCertInfo: function getCertInfo(name) {
7125
+ var _this2 = this;
7126
+
7127
+ src_plugin.getMessage({ action: 'SOF_ExportUserCert', params: [name] }).then(function (res) {
7128
+ var retCode = res.retCode,
7129
+ retMsg = res.retMsg,
7130
+ retValue = res.retValue;
7131
+
7132
+ if (retCode !== 0) {
7133
+ _this2.$message.error(retMsg);
7134
+ _this2.$emit('error');
7135
+ return;
7136
+ }
7137
+ //设置证书原文
7138
+ _this2.signedData = retValue.replace('-----BEGIN CERTIFICATE-----', '').replace('-----END CERTIFICATE-----', '');
7139
+ src_plugin.getMessage({
7140
+ action: 'SOF_GetCertInfo',
7141
+ params: [retValue, 'SGD_CERT_SUBJECT_SN']
7142
+ }).then(function (res) {
7143
+ var retCode = res.retCode,
7144
+ retMsg = res.retMsg,
7145
+ retValue = res.retValue;
7146
+
7147
+ if (retCode !== 0) {
7148
+ _this2.$message.error(retMsg);
7149
+ _this2.$emit('error');
6856
7150
  return;
6857
- } else {
6858
- this.$message.error(src_plugin.getLastErrorMessage());
7151
+ }
7152
+ _this2.idCard = src_plugin.base64Decode(retValue);
7153
+ src_plugin.getMessage({
7154
+ action: 'SOF_GenRandom',
7155
+ params: [16]
7156
+ }).then(function (res) {
7157
+ var retCode = res.retCode,
7158
+ retMsg = res.retMsg,
7159
+ retValue = res.retValue;
7160
+
7161
+ if (retCode !== 0) {
7162
+ _this2.$message.error(retMsg);
7163
+ _this2.$emit('error');
7164
+ return;
7165
+ }
7166
+ _this2.b64originData = retValue + _this2.identifyingId;
7167
+ src_plugin.getMessage({
7168
+ action: 'SOF_SignData',
7169
+ params: [_this2.certId, src_plugin.base64Encode(_this2.b64originData)]
7170
+ }).then(function (res) {
7171
+ var retCode = res.retCode,
7172
+ retMsg = res.retMsg,
7173
+ retValue = res.retValue;
7174
+
7175
+ if (retCode !== 0) {
7176
+ if (retCode === 184550659) {
7177
+ _this2.cerLogin();
7178
+ } else {
7179
+ _this2.$message.error(retMsg);
7180
+ _this2.$emit('error');
7181
+ }
7182
+ return;
7183
+ }
7184
+ _this2.b64SignData = retValue;
7185
+ _this2.success && _this2.success({
7186
+ identifyingId: _this2.identifyingId,
7187
+ signedData: _this2.signedData, //证书原文
7188
+ b64originData: _this2.b64originData, //签名原文
7189
+ b64SignData: _this2.b64SignData, //签名结果
7190
+ idCard: _this2.idCard,
7191
+ certId: _this2.certId
7192
+ });
7193
+ }).catch(function (err) {
7194
+ _this2.$emit('error');
7195
+ });
7196
+ }).catch(function (err) {
7197
+ _this2.$emit('error');
7198
+ });
7199
+ }).catch(function (err) {
7200
+ _this2.$emit('error');
7201
+ });
7202
+ }).catch(function (err) {
7203
+ _this2.$emit('error');
7204
+ });
7205
+ },
7206
+ cerLogin: function cerLogin() {
7207
+ var _this3 = this;
7208
+
7209
+ var title = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '提示';
7210
+
7211
+ this.$prompt('输入密码', title, {
7212
+ confirmButtonText: '确定',
7213
+ cancelButtonText: '取消',
7214
+ inputPattern: /^[[\x21-\x7E]{6,16}$/,
7215
+ inputErrorMessage: '请输入密码'
7216
+ }).then(function (_ref) {
7217
+ var value = _ref.value;
7218
+
7219
+ src_plugin.getMessage({
7220
+ action: 'SOF_Login',
7221
+ params: [_this3.certId, value]
7222
+ }).then(function (res) {
7223
+ var retCode = res.retCode,
7224
+ retMsg = res.retMsg,
7225
+ retValue = res.retValue;
7226
+
7227
+ if (retCode !== 0 || retValue === false) {
7228
+ if (retValue === false) {
7229
+ src_plugin.getMessage({
7230
+ action: 'SOF_GetPinRetryCount',
7231
+ params: [_this3.certId]
7232
+ }).then(function (res) {
7233
+ var retValue = res.retValue;
7234
+
7235
+ _this3.cerLogin('\u767B\u5F55\u5931\u8D25\uFF01\u5269\u4F59\u53E3\u4EE4\u91CD\u8BD5\u6B21\u6570\uFF1A' + retValue + '\u6B21');
7236
+ });
7237
+ return;
7238
+ }
7239
+ _this3.$message.error(retMsg);
7240
+ _this3.$emit('error');
6859
7241
  return;
6860
7242
  }
6861
- }
6862
- console.log('签名数据:', this.signedData);
6863
- this.success && this.success(this.signedData);
6864
- return this.signedData;
6865
- } catch (error) {
6866
- // 捕获其他可能的异常
6867
- this.$message.error('\u64CD\u4F5C\u5931\u8D25: ' + error.message);
6868
- }
7243
+ src_plugin.getMessage({
7244
+ action: 'SOF_SignData',
7245
+ params: [_this3.certId, src_plugin.base64Encode(_this3.b64originData)]
7246
+ }).then(function (res) {
7247
+ var retCode = res.retCode,
7248
+ retMsg = res.retMsg,
7249
+ retValue = res.retValue;
7250
+
7251
+ if (retCode !== 0) {
7252
+ if (retCode === 184550659) {
7253
+ _this3.cerLogin();
7254
+ } else {
7255
+ _this3.$message.error(retMsg);
7256
+ _this3.$emit('error');
7257
+ }
7258
+ return;
7259
+ }
7260
+ _this3.b64SignData = retValue;
7261
+ _this3.success && _this3.success({
7262
+ identifyingId: _this3.identifyingId,
7263
+ signedData: _this3.signedData, //证书原文
7264
+ b64originData: _this3.b64originData, //签名原文
7265
+ b64SignData: _this3.b64SignData, //签名结果
7266
+ idCard: _this3.idCard,
7267
+ certId: _this3.certId
7268
+ });
7269
+ }).catch(function (err) {
7270
+ _this3.$emit('error');
7271
+ });
7272
+ }).catch(function () {
7273
+ _this3.$emit('error');
7274
+ });
7275
+ }).catch(function () {
7276
+ _this3.$emit('error');
7277
+ });
6869
7278
  }
6870
7279
  }
6871
7280
  });
@@ -6881,11 +7290,11 @@ var caPlugin = new CA_ExtInterface();
6881
7290
 
6882
7291
  var calogin_src_main_component = normalizeComponent(
6883
7292
  packages_calogin_src_mainvue_type_script_lang_js_,
6884
- mainvue_type_template_id_e879a944_scoped_true_render,
6885
- mainvue_type_template_id_e879a944_scoped_true_staticRenderFns,
7293
+ mainvue_type_template_id_3ba625d0_scoped_true_render,
7294
+ mainvue_type_template_id_3ba625d0_scoped_true_staticRenderFns,
6886
7295
  false,
6887
7296
  null,
6888
- "e879a944",
7297
+ "3ba625d0",
6889
7298
  null
6890
7299
 
6891
7300
  )
@@ -29659,21 +30068,21 @@ var CommonOpinionsvue_type_script_lang_js_components;
29659
30068
  return validSate;
29660
30069
  },
29661
30070
 
29662
- /**
29663
- * changeOpinion
29664
- * @desc:监听意见变化
29665
- * @author liufan
29666
- * @date 2022年10月28日
30071
+ /**
30072
+ * changeOpinion
30073
+ * @desc:监听意见变化
30074
+ * @author liufan
30075
+ * @date 2022年10月28日
29667
30076
  **/
29668
30077
  changeOpinion: function changeOpinion() {
29669
30078
  this.$emit('change', this.form.value);
29670
30079
  },
29671
30080
 
29672
- /**
29673
- * getCommonOpion
29674
- * @desc:获取意见
29675
- * @author liufan
29676
- * @date 2022年5月25日
30081
+ /**
30082
+ * getCommonOpion
30083
+ * @desc:获取意见
30084
+ * @author liufan
30085
+ * @date 2022年5月25日
29677
30086
  **/
29678
30087
  getCommonOpion: function getCommonOpion() {
29679
30088
  var _this = this;
@@ -29702,24 +30111,24 @@ var CommonOpinionsvue_type_script_lang_js_components;
29702
30111
  });
29703
30112
  },
29704
30113
 
29705
- /**
29706
- * upDate
29707
- * @desc:修改常用语
29708
- * @author liufan
29709
- * @param {Object} val 修改值
29710
- * @date 2022年5月25日
30114
+ /**
30115
+ * upDate
30116
+ * @desc:修改常用语
30117
+ * @author liufan
30118
+ * @param {Object} val 修改值
30119
+ * @date 2022年5月25日
29711
30120
  **/
29712
30121
  upDate: function upDate(val) {
29713
30122
  this.FormData.id = val.id;
29714
30123
  this.addVisible = true;
29715
30124
  },
29716
30125
 
29717
- /**
29718
- * selectChange
29719
- * @desc:常用语选择
29720
- * @author liufan
29721
- * @param {String} val 选中值
29722
- * @date 2022年5月25日
30126
+ /**
30127
+ * selectChange
30128
+ * @desc:常用语选择
30129
+ * @author liufan
30130
+ * @param {String} val 选中值
30131
+ * @date 2022年5月25日
29723
30132
  **/
29724
30133
  selectChange: function selectChange(val) {
29725
30134
  var _this2 = this;
@@ -29738,12 +30147,12 @@ var CommonOpinionsvue_type_script_lang_js_components;
29738
30147
  });
29739
30148
  },
29740
30149
 
29741
- /**
29742
- * del
29743
- * @desc:删除常用语
29744
- * @author liufan
29745
- * @param {Object} val 删除的数据
29746
- * @date 2022年5月25日
30150
+ /**
30151
+ * del
30152
+ * @desc:删除常用语
30153
+ * @author liufan
30154
+ * @param {Object} val 删除的数据
30155
+ * @date 2022年5月25日
29747
30156
  **/
29748
30157
  del: function del(val) {
29749
30158
  var _this3 = this;
@@ -29785,12 +30194,12 @@ var CommonOpinionsvue_type_script_lang_js_components;
29785
30194
  }).catch(function (e) {});
29786
30195
  },
29787
30196
 
29788
- /**
29789
- * submit
29790
- * @desc:新增/编辑意见保存
29791
- * @author liufan
29792
- * @param {Object} val 保存数据
29793
- * @date 2022年5月25日
30197
+ /**
30198
+ * submit
30199
+ * @desc:新增/编辑意见保存
30200
+ * @author liufan
30201
+ * @param {Object} val 保存数据
30202
+ * @date 2022年5月25日
29794
30203
  **/
29795
30204
  submit: function submit(val) {
29796
30205
  var _this4 = this;
@@ -32804,11 +33213,11 @@ var processFormvue_type_script_lang_js_components;
32804
33213
  });
32805
33214
  },
32806
33215
 
32807
- /**
32808
- * isMultiple
32809
- * @desc:是否多选
32810
- * @author liufan
32811
- * @date 2022年9月13日
33216
+ /**
33217
+ * isMultiple
33218
+ * @desc:是否多选
33219
+ * @author liufan
33220
+ * @date 2022年9月13日
32812
33221
  **/
32813
33222
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
32814
33223
  var multiple = false;
@@ -36840,11 +37249,11 @@ var resetvue_type_script_lang_js_components;
36840
37249
  });
36841
37250
  },
36842
37251
 
36843
- /**
36844
- * isMultiple
36845
- * @desc:是否多选
36846
- * @author liufan
36847
- * @date 2022年9月13日
37252
+ /**
37253
+ * isMultiple
37254
+ * @desc:是否多选
37255
+ * @author liufan
37256
+ * @date 2022年9月13日
36848
37257
  **/
36849
37258
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
36850
37259
  var multiple = false;
@@ -41217,11 +41626,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41217
41626
  });
41218
41627
  },
41219
41628
 
41220
- /**
41221
- * saveInfo
41222
- * @desc:暂存
41223
- * @author liufan
41224
- * @date 2022年9月9日
41629
+ /**
41630
+ * saveInfo
41631
+ * @desc:暂存
41632
+ * @author liufan
41633
+ * @date 2022年9月9日
41225
41634
  **/
41226
41635
  saveInfo: function saveInfo(type, btn) {
41227
41636
  var _this6 = this;
@@ -41283,11 +41692,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41283
41692
  });
41284
41693
  },
41285
41694
 
41286
- /**
41287
- * rejectBtn
41288
- * @desc:点击驳回
41289
- * @author liufan
41290
- * @date 2022年5月25日
41695
+ /**
41696
+ * rejectBtn
41697
+ * @desc:点击驳回
41698
+ * @author liufan
41699
+ * @date 2022年5月25日
41291
41700
  **/
41292
41701
  rejectBtn: function rejectBtn() {
41293
41702
  var _this8 = this;
@@ -41305,11 +41714,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41305
41714
  }
41306
41715
  },
41307
41716
 
41308
- /**
41309
- * taskReadBtn
41310
- * @desc:点击分阅
41311
- * @author liufan
41312
- * @date 2022年5月25日
41717
+ /**
41718
+ * taskReadBtn
41719
+ * @desc:点击分阅
41720
+ * @author liufan
41721
+ * @date 2022年5月25日
41313
41722
  **/
41314
41723
  taskReadBtn: function taskReadBtn() {
41315
41724
  var _this9 = this;
@@ -41328,11 +41737,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41328
41737
  }
41329
41738
  },
41330
41739
 
41331
- /**
41332
- * getFind
41333
- * @desc:获取通知方式
41334
- * @author liufan
41335
- * @date 2022年5月25日
41740
+ /**
41741
+ * getFind
41742
+ * @desc:获取通知方式
41743
+ * @author liufan
41744
+ * @date 2022年5月25日
41336
41745
  **/
41337
41746
  getFind: function getFind() {
41338
41747
  var _this10 = this;
@@ -41387,12 +41796,12 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41387
41796
  });
41388
41797
  },
41389
41798
 
41390
- /**
41391
- * endFlows
41392
- * @desc:直接办结
41393
- * @author liufan
41394
- * @param {Object} res 直接办结数据
41395
- * @date 2022年5月25日
41799
+ /**
41800
+ * endFlows
41801
+ * @desc:直接办结
41802
+ * @author liufan
41803
+ * @param {Object} res 直接办结数据
41804
+ * @date 2022年5月25日
41396
41805
  **/
41397
41806
  endFlows: function endFlows(res) {
41398
41807
  var _this12 = this;
@@ -41446,12 +41855,12 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41446
41855
  }).catch(function (e) {});
41447
41856
  },
41448
41857
 
41449
- /**
41450
- * goView
41451
- * @desc:更多流程按钮操作
41452
- * @author liufan
41453
- * @param {Object} res 当前点击操作按钮数据
41454
- * @date 2022年5月25日
41858
+ /**
41859
+ * goView
41860
+ * @desc:更多流程按钮操作
41861
+ * @author liufan
41862
+ * @param {Object} res 当前点击操作按钮数据
41863
+ * @date 2022年5月25日
41455
41864
  **/
41456
41865
  goView: function goView(res) {
41457
41866
  // 驳回并办结:rejectAndEndHtml
@@ -41536,11 +41945,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41536
41945
  // isCanStartSubFlow
41537
41946
  },
41538
41947
 
41539
- /**
41540
- * toTakeAdvice
41541
- * @desc:征求意见
41542
- * @author liufan
41543
- * @date 2022年9月29日
41948
+ /**
41949
+ * toTakeAdvice
41950
+ * @desc:征求意见
41951
+ * @author liufan
41952
+ * @date 2022年9月29日
41544
41953
  **/
41545
41954
  toTakeAdvice: function toTakeAdvice(res) {
41546
41955
  var _this14 = this;
@@ -41584,11 +41993,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41584
41993
  });
41585
41994
  },
41586
41995
 
41587
- /**
41588
- * toStartDraf
41589
- * @desc: 稿件递送、联合审核、复核
41590
- * @author liufan
41591
- * @date 2022年9月29日
41996
+ /**
41997
+ * toStartDraf
41998
+ * @desc: 稿件递送、联合审核、复核
41999
+ * @author liufan
42000
+ * @date 2022年9月29日
41592
42001
  **/
41593
42002
  toStartDraf: function toStartDraf(res) {
41594
42003
  var _this16 = this;
@@ -41602,11 +42011,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41602
42011
  }
41603
42012
  },
41604
42013
 
41605
- /**
41606
- * toSendMsg
41607
- * @desc:核稿通知
41608
- * @author liufan
41609
- * @date 2022年9月29日
42014
+ /**
42015
+ * toSendMsg
42016
+ * @desc:核稿通知
42017
+ * @author liufan
42018
+ * @date 2022年9月29日
41610
42019
  **/
41611
42020
  toSendMsg: function toSendMsg(res) {
41612
42021
  var _this17 = this;
@@ -41620,11 +42029,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41620
42029
  }
41621
42030
  },
41622
42031
 
41623
- /**
41624
- * toTaskReadAndEnd
41625
- * @desc:分阅并办结
41626
- * @author liufan
41627
- * @date 2022年9月29日
42032
+ /**
42033
+ * toTaskReadAndEnd
42034
+ * @desc:分阅并办结
42035
+ * @author liufan
42036
+ * @date 2022年9月29日
41628
42037
  **/
41629
42038
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
41630
42039
  var _this18 = this;
@@ -41642,11 +42051,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41642
42051
  }
41643
42052
  },
41644
42053
 
41645
- /**
41646
- * rejectAndEnd
41647
- * @desc:驳回并办结
41648
- * @author liufan
41649
- * @date 2022年9月29日
42054
+ /**
42055
+ * rejectAndEnd
42056
+ * @desc:驳回并办结
42057
+ * @author liufan
42058
+ * @date 2022年9月29日
41650
42059
  **/
41651
42060
  rejectAndEnd: function rejectAndEnd(res) {
41652
42061
  var _this19 = this;
@@ -41701,11 +42110,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41701
42110
  });
41702
42111
  },
41703
42112
 
41704
- /**
41705
- * toTransfer
41706
- * @desc:转办
41707
- * @author liufan
41708
- * @date 2022年9月29日
42113
+ /**
42114
+ * toTransfer
42115
+ * @desc:转办
42116
+ * @author liufan
42117
+ * @date 2022年9月29日
41709
42118
  **/
41710
42119
  toTransfer: function toTransfer(res) {
41711
42120
  var _this21 = this;
@@ -41721,11 +42130,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41721
42130
  }
41722
42131
  },
41723
42132
 
41724
- /**
41725
- * getNodeInfo
41726
- * @desc:获取节点信息
41727
- * @author liufan
41728
- * @date 2022年5月25日
42133
+ /**
42134
+ * getNodeInfo
42135
+ * @desc:获取节点信息
42136
+ * @author liufan
42137
+ * @date 2022年5月25日
41729
42138
  **/
41730
42139
  getNodeInfo: function getNodeInfo() {
41731
42140
  var _this22 = this;
@@ -41824,12 +42233,12 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41824
42233
  });
41825
42234
  },
41826
42235
 
41827
- /**
41828
- * selecNext
41829
- * @desc:下步节点变化时更新数据
41830
- * @author liufan
41831
- * @param {String} val 当前选中值
41832
- * @date 2022年5月25日
42236
+ /**
42237
+ * selecNext
42238
+ * @desc:下步节点变化时更新数据
42239
+ * @author liufan
42240
+ * @param {String} val 当前选中值
42241
+ * @date 2022年5月25日
41833
42242
  **/
41834
42243
  selecNext: function selecNext(val, type, isDef) {
41835
42244
  var _this23 = this;
@@ -41938,11 +42347,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41938
42347
  if (isDef !== true) this.getNodeInfo();
41939
42348
  },
41940
42349
 
41941
- /**
41942
- * isMultiple
41943
- * @desc:是否多选
41944
- * @author liufan
41945
- * @date 2022年9月13日
42350
+ /**
42351
+ * isMultiple
42352
+ * @desc:是否多选
42353
+ * @author liufan
42354
+ * @date 2022年9月13日
41946
42355
  **/
41947
42356
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
41948
42357
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -41974,11 +42383,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41974
42383
  }
41975
42384
  },
41976
42385
 
41977
- /**
41978
- * getHedInfo
41979
- * @desc:获取审核页面数据
41980
- * @author liufan
41981
- * @date 2022年5月25日
42386
+ /**
42387
+ * getHedInfo
42388
+ * @desc:获取审核页面数据
42389
+ * @author liufan
42390
+ * @date 2022年5月25日
41982
42391
  **/
41983
42392
  getHedInfo: function getHedInfo() {
41984
42393
  var _this24 = this;
@@ -42214,13 +42623,13 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
42214
42623
  });
42215
42624
  },
42216
42625
 
42217
- /**
42218
- * closeProcess
42219
- * @desc:关闭弹窗
42220
- * @author liufan
42221
- * @param {boolean} val 当前是否办理流程
42222
- * @param {String} type 当前点击的弹窗类型
42223
- * @date 2022年5月25日
42626
+ /**
42627
+ * closeProcess
42628
+ * @desc:关闭弹窗
42629
+ * @author liufan
42630
+ * @param {boolean} val 当前是否办理流程
42631
+ * @param {String} type 当前点击的弹窗类型
42632
+ * @date 2022年5月25日
42224
42633
  **/
42225
42634
  closeProcess: function closeProcess(val, type, closeParent) {
42226
42635
  if (closeParent) {
@@ -42237,23 +42646,23 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
42237
42646
  }
42238
42647
  },
42239
42648
 
42240
- /**
42241
- * selectChange
42242
- * @desc:常用语选择
42243
- * @author liufan
42244
- * @param {String} val 选中值
42245
- * @date 2022年5月25日
42649
+ /**
42650
+ * selectChange
42651
+ * @desc:常用语选择
42652
+ * @author liufan
42653
+ * @param {String} val 选中值
42654
+ * @date 2022年5月25日
42246
42655
  **/
42247
42656
  selectChange: function selectChange(val) {
42248
42657
  this.value = val;
42249
42658
  },
42250
42659
 
42251
- /**
42252
- * upDate
42253
- * @desc:修改常用语
42254
- * @author liufan
42255
- * @param {Object} val 修改值
42256
- * @date 2022年5月25日
42660
+ /**
42661
+ * upDate
42662
+ * @desc:修改常用语
42663
+ * @author liufan
42664
+ * @param {Object} val 修改值
42665
+ * @date 2022年5月25日
42257
42666
  **/
42258
42667
  upDate: function upDate(val) {
42259
42668
  this.FormData.id = val.id;
@@ -42261,11 +42670,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
42261
42670
  },
42262
42671
 
42263
42672
 
42264
- /**
42265
- * getProcess
42266
- * @desc:获取选择流程
42267
- * @author liufan
42268
- * @date 2022年5月25日
42673
+ /**
42674
+ * getProcess
42675
+ * @desc:获取选择流程
42676
+ * @author liufan
42677
+ * @date 2022年5月25日
42269
42678
  **/
42270
42679
  getProcess: function getProcess() {
42271
42680
  var _this25 = this;
@@ -42319,11 +42728,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
42319
42728
  });
42320
42729
  },
42321
42730
 
42322
- /**
42323
- * getPendedhistoryList
42324
- * @desc:获取流程列表
42325
- * @author liufan
42326
- * @date 2022年5月25日
42731
+ /**
42732
+ * getPendedhistoryList
42733
+ * @desc:获取流程列表
42734
+ * @author liufan
42735
+ * @date 2022年5月25日
42327
42736
  **/
42328
42737
  getPendedhistoryList: function getPendedhistoryList() {
42329
42738
  var _this26 = this;
@@ -42355,12 +42764,12 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
42355
42764
  },
42356
42765
 
42357
42766
  // 提交流程
42358
- /**
42359
- * subProcess
42360
- * @desc:提交流程
42361
- * @author liufan
42362
- * @param {String} formName 当前form表单ref值
42363
- * @date 2022年5月25日
42767
+ /**
42768
+ * subProcess
42769
+ * @desc:提交流程
42770
+ * @author liufan
42771
+ * @param {String} formName 当前form表单ref值
42772
+ * @date 2022年5月25日
42364
42773
  **/
42365
42774
  subProcess: function subProcess(val) {
42366
42775
  var _this27 = this;
@@ -45189,11 +45598,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45189
45598
  });
45190
45599
  },
45191
45600
 
45192
- /**
45193
- * saveInfo
45194
- * @desc:暂存
45195
- * @author liufan
45196
- * @date 2022年9月9日
45601
+ /**
45602
+ * saveInfo
45603
+ * @desc:暂存
45604
+ * @author liufan
45605
+ * @date 2022年9月9日
45197
45606
  **/
45198
45607
  saveInfo: function saveInfo(type, btn) {
45199
45608
  var _this9 = this;
@@ -45255,11 +45664,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45255
45664
  });
45256
45665
  },
45257
45666
 
45258
- /**
45259
- * rejectBtn
45260
- * @desc:点击驳回
45261
- * @author liufan
45262
- * @date 2022年5月25日
45667
+ /**
45668
+ * rejectBtn
45669
+ * @desc:点击驳回
45670
+ * @author liufan
45671
+ * @date 2022年5月25日
45263
45672
  **/
45264
45673
  rejectBtn: function rejectBtn() {
45265
45674
  var _this11 = this;
@@ -45277,11 +45686,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45277
45686
  }
45278
45687
  },
45279
45688
 
45280
- /**
45281
- * taskReadBtn
45282
- * @desc:点击分阅
45283
- * @author liufan
45284
- * @date 2022年5月25日
45689
+ /**
45690
+ * taskReadBtn
45691
+ * @desc:点击分阅
45692
+ * @author liufan
45693
+ * @date 2022年5月25日
45285
45694
  **/
45286
45695
  taskReadBtn: function taskReadBtn() {
45287
45696
  var _this12 = this;
@@ -45300,11 +45709,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45300
45709
  }
45301
45710
  },
45302
45711
 
45303
- /**
45304
- * getFind
45305
- * @desc:获取通知方式
45306
- * @author liufan
45307
- * @date 2022年5月25日
45712
+ /**
45713
+ * getFind
45714
+ * @desc:获取通知方式
45715
+ * @author liufan
45716
+ * @date 2022年5月25日
45308
45717
  **/
45309
45718
  getFind: function getFind() {
45310
45719
  var _this13 = this;
@@ -45370,12 +45779,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45370
45779
  });
45371
45780
  },
45372
45781
 
45373
- /**
45374
- * endFlows
45375
- * @desc:直接办结
45376
- * @author liufan
45377
- * @param {Object} res 直接办结数据
45378
- * @date 2022年5月25日
45782
+ /**
45783
+ * endFlows
45784
+ * @desc:直接办结
45785
+ * @author liufan
45786
+ * @param {Object} res 直接办结数据
45787
+ * @date 2022年5月25日
45379
45788
  **/
45380
45789
  endFlows: function endFlows(res) {
45381
45790
  var _this15 = this;
@@ -45430,12 +45839,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45430
45839
  }).catch(function (e) {});
45431
45840
  },
45432
45841
 
45433
- /**
45434
- * goView
45435
- * @desc:更多流程按钮操作
45436
- * @author liufan
45437
- * @param {Object} res 当前点击操作按钮数据
45438
- * @date 2022年5月25日
45842
+ /**
45843
+ * goView
45844
+ * @desc:更多流程按钮操作
45845
+ * @author liufan
45846
+ * @param {Object} res 当前点击操作按钮数据
45847
+ * @date 2022年5月25日
45439
45848
  **/
45440
45849
  goView: function goView(res) {
45441
45850
  // 驳回并办结:rejectAndEndHtml
@@ -45520,11 +45929,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45520
45929
  // isCanStartSubFlow
45521
45930
  },
45522
45931
 
45523
- /**
45524
- * toTakeAdvice
45525
- * @desc:征求意见
45526
- * @author liufan
45527
- * @date 2022年9月29日
45932
+ /**
45933
+ * toTakeAdvice
45934
+ * @desc:征求意见
45935
+ * @author liufan
45936
+ * @date 2022年9月29日
45528
45937
  **/
45529
45938
  toTakeAdvice: function toTakeAdvice(res) {
45530
45939
  var _this17 = this;
@@ -45568,11 +45977,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45568
45977
  });
45569
45978
  },
45570
45979
 
45571
- /**
45572
- * toStartDraf
45573
- * @desc: 稿件递送、联合审核、复核
45574
- * @author liufan
45575
- * @date 2022年9月29日
45980
+ /**
45981
+ * toStartDraf
45982
+ * @desc: 稿件递送、联合审核、复核
45983
+ * @author liufan
45984
+ * @date 2022年9月29日
45576
45985
  **/
45577
45986
  toStartDraf: function toStartDraf(res) {
45578
45987
  var _this19 = this;
@@ -45586,11 +45995,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45586
45995
  }
45587
45996
  },
45588
45997
 
45589
- /**
45590
- * toSendMsg
45591
- * @desc:核稿通知
45592
- * @author liufan
45593
- * @date 2022年9月29日
45998
+ /**
45999
+ * toSendMsg
46000
+ * @desc:核稿通知
46001
+ * @author liufan
46002
+ * @date 2022年9月29日
45594
46003
  **/
45595
46004
  toSendMsg: function toSendMsg(res) {
45596
46005
  var _this20 = this;
@@ -45604,11 +46013,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45604
46013
  }
45605
46014
  },
45606
46015
 
45607
- /**
45608
- * toTaskReadAndEnd
45609
- * @desc:分阅并办结
45610
- * @author liufan
45611
- * @date 2022年9月29日
46016
+ /**
46017
+ * toTaskReadAndEnd
46018
+ * @desc:分阅并办结
46019
+ * @author liufan
46020
+ * @date 2022年9月29日
45612
46021
  **/
45613
46022
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
45614
46023
  var _this21 = this;
@@ -45626,11 +46035,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45626
46035
  }
45627
46036
  },
45628
46037
 
45629
- /**
45630
- * rejectAndEnd
45631
- * @desc:驳回并办结
45632
- * @author liufan
45633
- * @date 2022年9月29日
46038
+ /**
46039
+ * rejectAndEnd
46040
+ * @desc:驳回并办结
46041
+ * @author liufan
46042
+ * @date 2022年9月29日
45634
46043
  **/
45635
46044
  rejectAndEnd: function rejectAndEnd(res) {
45636
46045
  var _this22 = this;
@@ -45686,11 +46095,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45686
46095
  });
45687
46096
  },
45688
46097
 
45689
- /**
45690
- * toTransfer
45691
- * @desc:转办
45692
- * @author liufan
45693
- * @date 2022年9月29日
46098
+ /**
46099
+ * toTransfer
46100
+ * @desc:转办
46101
+ * @author liufan
46102
+ * @date 2022年9月29日
45694
46103
  **/
45695
46104
  toTransfer: function toTransfer(res) {
45696
46105
  var _this24 = this;
@@ -45706,11 +46115,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45706
46115
  }
45707
46116
  },
45708
46117
 
45709
- /**
45710
- * getNodeInfo
45711
- * @desc:获取节点信息
45712
- * @author liufan
45713
- * @date 2022年5月25日
46118
+ /**
46119
+ * getNodeInfo
46120
+ * @desc:获取节点信息
46121
+ * @author liufan
46122
+ * @date 2022年5月25日
45714
46123
  **/
45715
46124
  getNodeInfo: function getNodeInfo() {
45716
46125
  var _this25 = this;
@@ -45813,12 +46222,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45813
46222
  });
45814
46223
  },
45815
46224
 
45816
- /**
45817
- * selecNext
45818
- * @desc:下步节点变化时更新数据
45819
- * @author liufan
45820
- * @param {String} val 当前选中值
45821
- * @date 2022年5月25日
46225
+ /**
46226
+ * selecNext
46227
+ * @desc:下步节点变化时更新数据
46228
+ * @author liufan
46229
+ * @param {String} val 当前选中值
46230
+ * @date 2022年5月25日
45822
46231
  **/
45823
46232
  selecNext: function selecNext(val, type, isDef) {
45824
46233
  var _this26 = this;
@@ -45928,11 +46337,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45928
46337
  this.getNodeInfo();
45929
46338
  },
45930
46339
 
45931
- /**
45932
- * isMultiple
45933
- * @desc:是否多选
45934
- * @author liufan
45935
- * @date 2022年9月13日
46340
+ /**
46341
+ * isMultiple
46342
+ * @desc:是否多选
46343
+ * @author liufan
46344
+ * @date 2022年9月13日
45936
46345
  **/
45937
46346
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
45938
46347
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -45964,11 +46373,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45964
46373
  }
45965
46374
  },
45966
46375
 
45967
- /**
45968
- * getHedInfo
45969
- * @desc:获取审核页面数据
45970
- * @author liufan
45971
- * @date 2022年5月25日
46376
+ /**
46377
+ * getHedInfo
46378
+ * @desc:获取审核页面数据
46379
+ * @author liufan
46380
+ * @date 2022年5月25日
45972
46381
  **/
45973
46382
  getHedInfo: function getHedInfo() {
45974
46383
  var _this27 = this;
@@ -46214,13 +46623,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
46214
46623
  });
46215
46624
  },
46216
46625
 
46217
- /**
46218
- * closeProcess
46219
- * @desc:关闭弹窗
46220
- * @author liufan
46221
- * @param {boolean} val 当前是否办理流程
46222
- * @param {String} type 当前点击的弹窗类型
46223
- * @date 2022年5月25日
46626
+ /**
46627
+ * closeProcess
46628
+ * @desc:关闭弹窗
46629
+ * @author liufan
46630
+ * @param {boolean} val 当前是否办理流程
46631
+ * @param {String} type 当前点击的弹窗类型
46632
+ * @date 2022年5月25日
46224
46633
  **/
46225
46634
  closeProcess: function closeProcess(val, type, closeParent) {
46226
46635
  if (closeParent) {
@@ -46238,23 +46647,23 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
46238
46647
  }
46239
46648
  },
46240
46649
 
46241
- /**
46242
- * selectChange
46243
- * @desc:常用语选择
46244
- * @author liufan
46245
- * @param {String} val 选中值
46246
- * @date 2022年5月25日
46650
+ /**
46651
+ * selectChange
46652
+ * @desc:常用语选择
46653
+ * @author liufan
46654
+ * @param {String} val 选中值
46655
+ * @date 2022年5月25日
46247
46656
  **/
46248
46657
  selectChange: function selectChange(val) {
46249
46658
  this.value = val;
46250
46659
  },
46251
46660
 
46252
- /**
46253
- * upDate
46254
- * @desc:修改常用语
46255
- * @author liufan
46256
- * @param {Object} val 修改值
46257
- * @date 2022年5月25日
46661
+ /**
46662
+ * upDate
46663
+ * @desc:修改常用语
46664
+ * @author liufan
46665
+ * @param {Object} val 修改值
46666
+ * @date 2022年5月25日
46258
46667
  **/
46259
46668
  upDate: function upDate(val) {
46260
46669
  this.FormData.id = val.id;
@@ -46262,11 +46671,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
46262
46671
  },
46263
46672
 
46264
46673
 
46265
- /**
46266
- * getProcess
46267
- * @desc:获取选择流程
46268
- * @author liufan
46269
- * @date 2022年5月25日
46674
+ /**
46675
+ * getProcess
46676
+ * @desc:获取选择流程
46677
+ * @author liufan
46678
+ * @date 2022年5月25日
46270
46679
  **/
46271
46680
  getProcess: function getProcess(val) {
46272
46681
  var _this28 = this;
@@ -46321,11 +46730,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
46321
46730
  });
46322
46731
  },
46323
46732
 
46324
- /**
46325
- * getPendedhistoryList
46326
- * @desc:获取流程列表
46327
- * @author liufan
46328
- * @date 2022年5月25日
46733
+ /**
46734
+ * getPendedhistoryList
46735
+ * @desc:获取流程列表
46736
+ * @author liufan
46737
+ * @date 2022年5月25日
46329
46738
  **/
46330
46739
  getPendedhistoryList: function getPendedhistoryList() {
46331
46740
  var _this29 = this;
@@ -46393,12 +46802,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
46393
46802
  },
46394
46803
 
46395
46804
  // 提交流程
46396
- /**
46397
- * subProcess
46398
- * @desc:提交流程
46399
- * @author liufan
46400
- * @param {String} formName 当前form表单ref值
46401
- * @date 2022年5月25日
46805
+ /**
46806
+ * subProcess
46807
+ * @desc:提交流程
46808
+ * @author liufan
46809
+ * @param {String} formName 当前form表单ref值
46810
+ * @date 2022年5月25日
46402
46811
  **/
46403
46812
  subProcess: function subProcess(val, type) {
46404
46813
  var _this31 = this;
@@ -48709,8 +49118,8 @@ flow_group_src_main.install = function (Vue) {
48709
49118
  };
48710
49119
 
48711
49120
  /* harmony default export */ var flow_group = (flow_group_src_main);
48712
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=64b7e13b&
48713
- var mainvue_type_template_id_64b7e13b_render = function () {
49121
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=017a3796&
49122
+ var mainvue_type_template_id_017a3796_render = function () {
48714
49123
  var _vm = this
48715
49124
  var _h = _vm.$createElement
48716
49125
  var _c = _vm._self._c || _h
@@ -48765,7 +49174,11 @@ var mainvue_type_template_id_64b7e13b_render = function () {
48765
49174
  display: _vm.display,
48766
49175
  numbers: _vm.numbers,
48767
49176
  full: _vm.height !== "auto",
48768
- data: _vm.returnData(item.type),
49177
+ data: _vm.showDoresult
49178
+ ? _vm.returnData(item.type).filter(function (x) {
49179
+ return x.doresult || x.handleInfo
49180
+ })
49181
+ : _vm.returnData(item.type),
48769
49182
  },
48770
49183
  on: {
48771
49184
  "cell-click": _vm.handleCellClick,
@@ -48913,11 +49326,11 @@ var mainvue_type_template_id_64b7e13b_render = function () {
48913
49326
  2
48914
49327
  )
48915
49328
  }
48916
- var mainvue_type_template_id_64b7e13b_staticRenderFns = []
48917
- mainvue_type_template_id_64b7e13b_render._withStripped = true
49329
+ var mainvue_type_template_id_017a3796_staticRenderFns = []
49330
+ mainvue_type_template_id_017a3796_render._withStripped = true
48918
49331
 
48919
49332
 
48920
- // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=64b7e13b&
49333
+ // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=017a3796&
48921
49334
 
48922
49335
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=script&lang=js&
48923
49336
 
@@ -50041,8 +50454,6 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50041
50454
  }).catch(function () {});
50042
50455
  },
50043
50456
  getCircularReadList: function getCircularReadList() {
50044
- var _this9 = this;
50045
-
50046
50457
  var _that = this;
50047
50458
  var params = {
50048
50459
  url: api["rb" /* pendedhistoryListWithCircularReadJson */],
@@ -50050,11 +50461,7 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50050
50461
  };
50051
50462
  utils_util["a" /* default */].ajax(params).then(function (res) {
50052
50463
  if (res.status == 'success' || res.rCode == 0) {
50053
- if (_this9.showDoresult && res.data.fyHistoryList) {
50054
- res.data.fyHistoryList = res.data.fyHistoryList.filter(function (x) {
50055
- return x.doresult || x.handleInfo;
50056
- });
50057
- }
50464
+
50058
50465
  _that.circularData = res.data.fyHistoryList;
50059
50466
  _that.hasCircularReadWithdrawAuthority = res.data.hasCircularReadWithdrawAuthority;
50060
50467
  _that.$nextTick(function () {
@@ -50116,15 +50523,15 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50116
50523
  }
50117
50524
  },
50118
50525
 
50119
- /**
50120
- * handleFormSubmit
50121
- * @desc:删除节点点击事件
50122
- * @param {Object} formData 点击删除的form数据
50123
- * @author liufan
50124
- * @date 2022年11月29日
50526
+ /**
50527
+ * handleFormSubmit
50528
+ * @desc:删除节点点击事件
50529
+ * @param {Object} formData 点击删除的form数据
50530
+ * @author liufan
50531
+ * @date 2022年11月29日
50125
50532
  **/
50126
50533
  handleFormSubmit: function handleFormSubmit(formData) {
50127
- var _this10 = this;
50534
+ var _this9 = this;
50128
50535
 
50129
50536
  this.delLoading = true;
50130
50537
  var params = {
@@ -50136,64 +50543,64 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50136
50543
  var status = res.status,
50137
50544
  message = res.message;
50138
50545
 
50139
- _this10.delLoading = false;
50546
+ _this9.delLoading = false;
50140
50547
  if (status === 'success') {
50141
- _this10.$message.success('删除成功');
50142
- _this10.showDel = false;
50143
- _this10.handleChange();
50548
+ _this9.$message.success('删除成功');
50549
+ _this9.showDel = false;
50550
+ _this9.handleChange();
50144
50551
  } else {
50145
- _this10.$message.error(message || '系统错误,请联系管理员!');
50552
+ _this9.$message.error(message || '系统错误,请联系管理员!');
50146
50553
  }
50147
50554
  }).catch(function (err) {
50148
- _this10.delLoading = false;
50555
+ _this9.delLoading = false;
50149
50556
  if (err.message && err.message !== 'canceled') {
50150
- _this10.$message.error(err.message);
50557
+ _this9.$message.error(err.message);
50151
50558
  }
50152
50559
  });
50153
50560
  },
50154
50561
 
50155
- /**
50156
- * del
50157
- * @desc:展示删除弹窗
50158
- * @param {String} id 当前点击数据id
50159
- * @author liufan
50160
- * @date 2022年11月29日
50562
+ /**
50563
+ * del
50564
+ * @desc:展示删除弹窗
50565
+ * @param {String} id 当前点击数据id
50566
+ * @author liufan
50567
+ * @date 2022年11月29日
50161
50568
  **/
50162
50569
  del: function del(id) {
50163
50570
  this.historyId = id;
50164
50571
  this.showDel = true;
50165
50572
  },
50166
50573
 
50167
- /**
50168
- * handleCurrentChange
50169
- * @desc:监听页码变化
50170
- * @param {String} val 当前页
50171
- * @author liufan
50172
- * @date 2022年11月29日
50574
+ /**
50575
+ * handleCurrentChange
50576
+ * @desc:监听页码变化
50577
+ * @param {String} val 当前页
50578
+ * @author liufan
50579
+ * @date 2022年11月29日
50173
50580
  **/
50174
50581
  handleCurrentChange: function handleCurrentChange(val) {
50175
50582
  this.currentPage = val;
50176
50583
  this.getPressList();
50177
50584
  },
50178
50585
 
50179
- /**
50180
- * handleSizeChange
50181
- * @desc:监听每页数据显示数量变化
50182
- * @param {String} val 每页展示数量
50183
- * @author liufan
50184
- * @date 2022年11月29日
50586
+ /**
50587
+ * handleSizeChange
50588
+ * @desc:监听每页数据显示数量变化
50589
+ * @param {String} val 每页展示数量
50590
+ * @author liufan
50591
+ * @date 2022年11月29日
50185
50592
  **/
50186
50593
  handleSizeChange: function handleSizeChange(val) {
50187
50594
  this.pageSize = val;
50188
50595
  this.getPressList();
50189
50596
  },
50190
50597
 
50191
- /**
50192
- * sortChange
50193
- * @desc:监听排序变化
50194
- * @param {Object} info 需要排序的字段及排序方式
50195
- * @author liufan
50196
- * @date 2022年11月29日
50598
+ /**
50599
+ * sortChange
50600
+ * @desc:监听排序变化
50601
+ * @param {Object} info 需要排序的字段及排序方式
50602
+ * @author liufan
50603
+ * @date 2022年11月29日
50197
50604
  **/
50198
50605
  sortChange: function sortChange(info) {
50199
50606
  var prop = info.prop,
@@ -50204,14 +50611,14 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50204
50611
  this.getPressList();
50205
50612
  },
50206
50613
 
50207
- /**
50208
- * getPressList
50209
- * @desc:催办列表数据
50210
- * @author liufan
50211
- * @date 2022年11月29日
50614
+ /**
50615
+ * getPressList
50616
+ * @desc:催办列表数据
50617
+ * @author liufan
50618
+ * @date 2022年11月29日
50212
50619
  **/
50213
50620
  getPressList: function getPressList() {
50214
- var _this11 = this;
50621
+ var _this10 = this;
50215
50622
 
50216
50623
  var historyId = this.historyId,
50217
50624
  pageSize = this.pageSize,
@@ -50227,23 +50634,23 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50227
50634
  data: { page: currentPage, rows: pageSize, sidx: sidx, sord: sord, historyId: historyId }
50228
50635
  };
50229
50636
  utils_util["a" /* default */].ajax(params).then(function (res) {
50230
- _this11.pressTableList = res.data;
50231
- _this11.total = res.totalrecords;
50232
- _this11.pressLoading = false;
50637
+ _this10.pressTableList = res.data;
50638
+ _this10.total = res.totalrecords;
50639
+ _this10.pressLoading = false;
50233
50640
  }).catch(function (err) {
50234
- _this11.pressLoading = false;
50641
+ _this10.pressLoading = false;
50235
50642
  if (err.message && err.message !== 'canceled') {
50236
- _this11.$message.error(err.message);
50643
+ _this10.$message.error(err.message);
50237
50644
  }
50238
50645
  });
50239
50646
  },
50240
50647
 
50241
- /**
50242
- * goPress
50243
- * @desc:催办列表查看
50244
- * @param {String} id 催办列表id
50245
- * @author liufan
50246
- * @date 2022年11月29日
50648
+ /**
50649
+ * goPress
50650
+ * @desc:催办列表查看
50651
+ * @param {String} id 催办列表id
50652
+ * @author liufan
50653
+ * @date 2022年11月29日
50247
50654
  **/
50248
50655
  goPress: function goPress(id) {
50249
50656
  this.historyId = id;
@@ -50251,23 +50658,23 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50251
50658
  this.getPressList();
50252
50659
  },
50253
50660
 
50254
- /**
50255
- * showFile
50256
- * @desc:附件查看
50257
- * @param {String} ownId 附件id
50258
- * @author liufan
50259
- * @date 2022年11月29日
50661
+ /**
50662
+ * showFile
50663
+ * @desc:附件查看
50664
+ * @param {String} ownId 附件id
50665
+ * @author liufan
50666
+ * @date 2022年11月29日
50260
50667
  **/
50261
50668
  showFile: function showFile(ownId) {
50262
50669
  this.wfpendingid = ownId;
50263
50670
  this.showFileList = true;
50264
50671
  },
50265
50672
 
50266
- /**
50267
- * handleChange
50268
- * @desc:切换排序方式
50269
- * @author liufan
50270
- * @date 2022年11月22日
50673
+ /**
50674
+ * handleChange
50675
+ * @desc:切换排序方式
50676
+ * @author liufan
50677
+ * @date 2022年11月22日
50271
50678
  **/
50272
50679
  handleChange: function handleChange(key, value) {
50273
50680
  if (value) {
@@ -50278,7 +50685,7 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50278
50685
  this.getFlowList();
50279
50686
  },
50280
50687
  getFyListJson: function getFyListJson(type) {
50281
- var _this12 = this;
50688
+ var _this11 = this;
50282
50689
 
50283
50690
  return flow_list_src_mainvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee3() {
50284
50691
  var params;
@@ -50289,21 +50696,17 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50289
50696
  params = {
50290
50697
  url: api["F" /* fyListJson */],
50291
50698
  params: {
50292
- appRecordId: _this12.businessId,
50699
+ appRecordId: _this11.businessId,
50293
50700
  status: type
50294
50701
  }
50295
50702
  };
50296
50703
  _context3.next = 3;
50297
50704
  return utils_util["a" /* default */].ajax(params).then(function (res) {
50298
- if (_this12.showDoresult && res.data) {
50299
- res.data = res.data.filter(function (x) {
50300
- return x.doresult || x.handleInfo;
50301
- });
50302
- }
50705
+
50303
50706
  if (type == 1) {
50304
- _this12.untreatedReadData = res.data;
50707
+ _this11.untreatedReadData = res.data;
50305
50708
  } else {
50306
- _this12.processedReadData = res.data;
50709
+ _this11.processedReadData = res.data;
50307
50710
  }
50308
50711
  });
50309
50712
 
@@ -50312,18 +50715,18 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50312
50715
  return _context3.stop();
50313
50716
  }
50314
50717
  }
50315
- }, _callee3, _this12);
50718
+ }, _callee3, _this11);
50316
50719
  }))();
50317
50720
  },
50318
50721
 
50319
- /**
50320
- * getFlowList
50321
- * @desc:获取流程列表
50322
- * @author liufan
50323
- * @date 2022年11月22日
50722
+ /**
50723
+ * getFlowList
50724
+ * @desc:获取流程列表
50725
+ * @author liufan
50726
+ * @date 2022年11月22日
50324
50727
  **/
50325
50728
  getFlowList: function getFlowList() {
50326
- var _this13 = this;
50729
+ var _this12 = this;
50327
50730
 
50328
50731
  var params = {
50329
50732
  url: api["qb" /* pendedhistoryListJson */],
@@ -50346,65 +50749,58 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50346
50749
  modify = _res$data.modify,
50347
50750
  taskReadName = _res$data.taskReadName;
50348
50751
 
50349
- _this13.loading.close();
50752
+ _this12.loading.close();
50350
50753
  if (status == 'success') {
50351
- if (_this13.showDoresult) {
50352
- wfHistoryList && (wfHistoryList = wfHistoryList.filter(function (x) {
50353
- return x.doresult || x.handleInfo;
50354
- }));
50355
- fyHistoryList && (fyHistoryList = fyHistoryList.filter(function (x) {
50356
- return x.doresult || x.handleInfo;
50357
- }));
50358
- }
50359
- _this13.flowTableInfo.adjunctCode = adjunctCode;
50360
- _this13.flowTableInfo.hasAgent = hasAgent;
50361
- _this13.attachmentPaperClipCssStyle = res.data.attachmentPaperClipCssStyle;
50362
- _this13.isShort = isShort;
50363
- _this13.taskReadName = taskReadName;
50364
- _this13.flowData = wfHistoryList;
50365
- _this13.flowData.map(function (x) {
50754
+
50755
+ _this12.flowTableInfo.adjunctCode = adjunctCode;
50756
+ _this12.flowTableInfo.hasAgent = hasAgent;
50757
+ _this12.attachmentPaperClipCssStyle = res.data.attachmentPaperClipCssStyle;
50758
+ _this12.isShort = isShort;
50759
+ _this12.taskReadName = taskReadName;
50760
+ _this12.flowData = wfHistoryList;
50761
+ _this12.flowData.map(function (x) {
50366
50762
  if (!x.deptid) {
50367
50763
  x.deptid = x.deptName;
50368
50764
  }
50369
50765
  });
50370
- _this13.splitReadingData = fyHistoryList;
50371
- _this13.modify = modify;
50372
- _this13.show = true;
50373
- if (_this13.height == 'auto') {
50374
- _this13.$nextTick(function () {
50375
- _this13.content.map(function (x) {
50376
- _this13[x.type + 'Height'] = _this13.$refs[x.type][0].offsetHeight;
50766
+ _this12.splitReadingData = fyHistoryList;
50767
+ _this12.modify = modify;
50768
+ _this12.show = true;
50769
+ if (_this12.height == 'auto') {
50770
+ _this12.$nextTick(function () {
50771
+ _this12.content.map(function (x) {
50772
+ _this12[x.type + 'Height'] = _this12.$refs[x.type][0].offsetHeight;
50377
50773
  });
50378
50774
  });
50379
50775
  }
50380
- if (_this13.contents.indexOf('circular') != -1) {
50381
- _this13.getCircularReadList();
50776
+ if (_this12.contents.indexOf('circular') != -1) {
50777
+ _this12.getCircularReadList();
50382
50778
  } else {
50383
- _this13.$nextTick(function () {
50384
- _this13.getListCount(_this13.flowListCount);
50779
+ _this12.$nextTick(function () {
50780
+ _this12.getListCount(_this12.flowListCount);
50385
50781
  });
50386
50782
  }
50387
50783
  } else {
50388
- _this13.$message.error(message || '系统错误,请联系管理员!');
50784
+ _this12.$message.error(message || '系统错误,请联系管理员!');
50389
50785
  }
50390
50786
  }).catch(function (err) {
50391
- _this13.loading.close();
50787
+ _this12.loading.close();
50392
50788
  if (err.message && err.message !== 'canceled') {
50393
- _this13.$message.error(err.message);
50789
+ _this12.$message.error(err.message);
50394
50790
  }
50395
- _this13.show = true;
50791
+ _this12.show = true;
50396
50792
  });
50397
50793
  },
50398
50794
 
50399
- /**
50400
- * handleClick
50401
- * @desc:表单点击事件
50402
- * @param {Object} val 当前点击行数据及按钮
50403
- * @author liufan
50404
- * @date 2022年11月10日
50795
+ /**
50796
+ * handleClick
50797
+ * @desc:表单点击事件
50798
+ * @param {Object} val 当前点击行数据及按钮
50799
+ * @author liufan
50800
+ * @date 2022年11月10日
50405
50801
  **/
50406
50802
  handleClick: function handleClick(val) {
50407
- var _this14 = this;
50803
+ var _this13 = this;
50408
50804
 
50409
50805
  var text = val.handle.text,
50410
50806
  _val$row = val.row,
@@ -50414,7 +50810,7 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50414
50810
  if (text === '置为失效') {
50415
50811
  if (status == 0) {
50416
50812
  this.$confirm('您确定要置为失效吗?').then(function () {
50417
- _this14.loading = utils_util["a" /* default */].loading(_this14.$loading, '提交中...');
50813
+ _this13.loading = utils_util["a" /* default */].loading(_this13.$loading, '提交中...');
50418
50814
  var param = {
50419
50815
  url: api["m" /* deletePresetInfo */],
50420
50816
  headers: { Accept: 'application/json,text/plain' },
@@ -50425,17 +50821,17 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50425
50821
  var status = res.status,
50426
50822
  message = res.message;
50427
50823
 
50428
- _this14.loading.close();
50824
+ _this13.loading.close();
50429
50825
  if (status === 'success') {
50430
- _this14.$message.success('操作成功');
50431
- _this14.getListInfo();
50826
+ _this13.$message.success('操作成功');
50827
+ _this13.getListInfo();
50432
50828
  } else {
50433
- _this14.$message.error(message || '系统错误,请联系管理员!');
50829
+ _this13.$message.error(message || '系统错误,请联系管理员!');
50434
50830
  }
50435
50831
  }).catch(function (err) {
50436
- _this14.loading.close();
50832
+ _this13.loading.close();
50437
50833
  if (err.message && err.message !== 'canceled') {
50438
- _this14.$message.error(err.message);
50834
+ _this13.$message.error(err.message);
50439
50835
  }
50440
50836
  });
50441
50837
  }).catch(function (e) {
@@ -50447,13 +50843,13 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50447
50843
  }
50448
50844
  },
50449
50845
 
50450
- /**
50451
- * getCodeValue
50452
- * @desc:获取代码表过滤后的值
50453
- * @param {String} value 展示数据的代码值
50454
- * @param {String} type 代码表类型
50455
- * @author liufan
50456
- * @date 2022年11月10日
50846
+ /**
50847
+ * getCodeValue
50848
+ * @desc:获取代码表过滤后的值
50849
+ * @param {String} value 展示数据的代码值
50850
+ * @param {String} type 代码表类型
50851
+ * @author liufan
50852
+ * @date 2022年11月10日
50457
50853
  **/
50458
50854
  getCodeValue: function getCodeValue(value, type) {
50459
50855
  var val = this[type].filter(function (item) {
@@ -50462,15 +50858,15 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50462
50858
  return val[0].shortName;
50463
50859
  },
50464
50860
 
50465
- /**
50466
- * getSysInfo
50467
- * @desc:获取代码表
50468
- * @param {String} code 编码code值
50469
- * @author liufan
50470
- * @date 2022年11月10日
50861
+ /**
50862
+ * getSysInfo
50863
+ * @desc:获取代码表
50864
+ * @param {String} code 编码code值
50865
+ * @author liufan
50866
+ * @date 2022年11月10日
50471
50867
  **/
50472
50868
  getSysInfo: function getSysInfo(code) {
50473
- var _this15 = this;
50869
+ var _this14 = this;
50474
50870
 
50475
50871
  var params = {
50476
50872
  url: api["z" /* findCodeValues */],
@@ -50482,21 +50878,21 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50482
50878
  data = res.data;
50483
50879
 
50484
50880
  if (status == 'success') {
50485
- _this15[code] = data;
50881
+ _this14[code] = data;
50486
50882
  } else {
50487
- _this15.$message.error(message || '系统错误,请联系管理员!');
50883
+ _this14.$message.error(message || '系统错误,请联系管理员!');
50488
50884
  }
50489
50885
  }).catch(function (e) {});
50490
50886
  },
50491
50887
 
50492
- /**
50493
- * getListInfo
50494
- * @desc:获取预设列表数据
50495
- * @author liufan
50496
- * @date 2022年11月10日
50888
+ /**
50889
+ * getListInfo
50890
+ * @desc:获取预设列表数据
50891
+ * @author liufan
50892
+ * @date 2022年11月10日
50497
50893
  **/
50498
50894
  getListInfo: function getListInfo() {
50499
- var _this16 = this;
50895
+ var _this15 = this;
50500
50896
 
50501
50897
  var param = {
50502
50898
  url: api["Wb" /* toPresetInfoListIndex */],
@@ -50511,24 +50907,20 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50511
50907
  canDelete = _res$data2.canDelete,
50512
50908
  currentUserHasPresetInfoAuth = _res$data2.currentUserHasPresetInfoAuth;
50513
50909
 
50514
- _this16.loading.close();
50910
+ _this15.loading.close();
50515
50911
  if (status == 'success') {
50516
- if (_this16.showDoresult && presetInfoList) {
50517
- presetInfoList = presetInfoList.filter(function (x) {
50518
- return x.doresult || x.handleInfo;
50519
- });
50520
- }
50521
- presetInfoList && (_this16.presetData = presetInfoList);
50522
- _this16.presetInfoListHiddenColumns = presetInfoListHiddenColumns;
50523
- _this16.currentUserHasPresetInfoAuth = currentUserHasPresetInfoAuth;
50524
- _this16.canDelete = canDelete;
50912
+
50913
+ presetInfoList && (_this15.presetData = presetInfoList);
50914
+ _this15.presetInfoListHiddenColumns = presetInfoListHiddenColumns;
50915
+ _this15.currentUserHasPresetInfoAuth = currentUserHasPresetInfoAuth;
50916
+ _this15.canDelete = canDelete;
50525
50917
  } else {
50526
- _this16.$message.error(message || '系统错误,请联系管理员!');
50918
+ _this15.$message.error(message || '系统错误,请联系管理员!');
50527
50919
  }
50528
50920
  }).catch(function (err) {
50529
- _this16.loading.close();
50921
+ _this15.loading.close();
50530
50922
  if (err.message && err.message !== 'canceled') {
50531
- _this16.$message.error(err.message);
50923
+ _this15.$message.error(err.message);
50532
50924
  }
50533
50925
  });
50534
50926
  }
@@ -50546,8 +50938,8 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50546
50938
 
50547
50939
  var flow_list_src_main_component = normalizeComponent(
50548
50940
  packages_flow_list_src_mainvue_type_script_lang_js_,
50549
- mainvue_type_template_id_64b7e13b_render,
50550
- mainvue_type_template_id_64b7e13b_staticRenderFns,
50941
+ mainvue_type_template_id_017a3796_render,
50942
+ mainvue_type_template_id_017a3796_staticRenderFns,
50551
50943
  false,
50552
50944
  null,
50553
50945
  null,
@@ -53088,8 +53480,8 @@ layout_src_main.install = function (Vue) {
53088
53480
  };
53089
53481
 
53090
53482
  /* harmony default export */ var packages_layout = (layout_src_main);
53091
- // 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=68c9ba89&
53092
- var mainvue_type_template_id_68c9ba89_render = function () {
53483
+ // 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=950692f2&
53484
+ var mainvue_type_template_id_950692f2_render = function () {
53093
53485
  var _vm = this
53094
53486
  var _h = _vm.$createElement
53095
53487
  var _c = _vm._self._c || _h
@@ -53258,35 +53650,38 @@ var mainvue_type_template_id_68c9ba89_render = function () {
53258
53650
  : [
53259
53651
  _vm._l(_vm.icons, function (item) {
53260
53652
  return [
53261
- _c(
53262
- "div",
53263
- {
53264
- directives: [
53653
+ _vm.modelLength == 2
53654
+ ? _c(
53655
+ "div",
53265
53656
  {
53266
- name: "show",
53267
- rawName: "v-show",
53268
- value:
53269
- _vm.modelLength == 2 &&
53270
- _vm.active != item.type &&
53271
- _vm.modelTips,
53272
- expression:
53273
- "modelLength == 2 && active != item.type && modelTips",
53657
+ directives: [
53658
+ {
53659
+ name: "show",
53660
+ rawName: "v-show",
53661
+ value:
53662
+ _vm.active != item.type &&
53663
+ _vm.modelTips,
53664
+ expression:
53665
+ "active != item.type && modelTips",
53666
+ },
53667
+ ],
53668
+ key: item.type,
53669
+ staticClass:
53670
+ "es-login-model-item-tips",
53274
53671
  },
53275
- ],
53276
- key: item.type,
53277
- staticClass: "es-login-model-item-tips",
53278
- },
53279
- [
53280
- _vm._v(
53281
- "\n " +
53282
- _vm._s(item.name) +
53283
- "点这里"
53284
- ),
53285
- _c("i", {
53286
- staticClass: "es-icon-zhixiangyou",
53287
- }),
53288
- ]
53289
- ),
53672
+ [
53673
+ _vm._v(
53674
+ "\n " +
53675
+ _vm._s(item.name) +
53676
+ "点这里"
53677
+ ),
53678
+ _c("i", {
53679
+ staticClass:
53680
+ "es-icon-zhixiangyou",
53681
+ }),
53682
+ ]
53683
+ )
53684
+ : _vm._e(),
53290
53685
  _c(
53291
53686
  "span",
53292
53687
  {
@@ -53385,7 +53780,7 @@ var mainvue_type_template_id_68c9ba89_render = function () {
53385
53780
  : [
53386
53781
  _vm._l(_vm.icons, function (item) {
53387
53782
  return [
53388
- item.type !== "3" && item.type !== "1"
53783
+ item.type !== "3"
53389
53784
  ? _c(
53390
53785
  "div",
53391
53786
  {
@@ -54340,9 +54735,11 @@ var mainvue_type_template_id_68c9ba89_render = function () {
54340
54735
  ? _c("es-ca-login", {
54341
54736
  ref: "calogin",
54342
54737
  attrs: {
54738
+ "ca-model": _vm.caLoginModel,
54343
54739
  identifyingId: _vm.identifyingId,
54344
54740
  success: _vm.caLogin,
54345
54741
  },
54742
+ on: { error: _vm.handleError },
54346
54743
  })
54347
54744
  : _vm._e(),
54348
54745
  ],
@@ -54350,7 +54747,7 @@ var mainvue_type_template_id_68c9ba89_render = function () {
54350
54747
  )
54351
54748
  : _vm._e()
54352
54749
  }
54353
- var mainvue_type_template_id_68c9ba89_staticRenderFns = [
54750
+ var mainvue_type_template_id_950692f2_staticRenderFns = [
54354
54751
  function () {
54355
54752
  var _vm = this
54356
54753
  var _h = _vm.$createElement
@@ -54365,10 +54762,10 @@ var mainvue_type_template_id_68c9ba89_staticRenderFns = [
54365
54762
  ])
54366
54763
  },
54367
54764
  ]
54368
- mainvue_type_template_id_68c9ba89_render._withStripped = true
54765
+ mainvue_type_template_id_950692f2_render._withStripped = true
54369
54766
 
54370
54767
 
54371
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=68c9ba89&
54768
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=950692f2&
54372
54769
 
54373
54770
  // 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=45dccfdc&
54374
54771
  var resetPasswordvue_type_template_id_45dccfdc_render = function () {
@@ -55454,6 +55851,9 @@ function login_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return fun
55454
55851
  //
55455
55852
  //
55456
55853
  //
55854
+ //
55855
+ //
55856
+ //
55457
55857
 
55458
55858
 
55459
55859
 
@@ -55693,7 +56093,8 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
55693
56093
  default: function _default() {
55694
56094
  return [];
55695
56095
  }
55696
- }
56096
+ },
56097
+ caModel: String
55697
56098
  },
55698
56099
  computed: {
55699
56100
  transform: function transform() {
@@ -55791,6 +56192,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
55791
56192
  types.forEach(function (item) {
55792
56193
  icon.push(_this.iconfonts[item]);
55793
56194
  });
56195
+ console.log(icon);
55794
56196
  return icon;
55795
56197
  },
55796
56198
  isCaLogin: function isCaLogin() {
@@ -55881,6 +56283,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
55881
56283
  loginTitleImg: this.loginTitle,
55882
56284
  loginLogoImg: this.loginLogo,
55883
56285
  loginModel: this.type,
56286
+ caLoginModel: this.caModel,
55884
56287
  passModifyModel: null,
55885
56288
  active: 0,
55886
56289
  submit: false,
@@ -55956,8 +56359,8 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
55956
56359
  },
55957
56360
  created: function created() {
55958
56361
  this.launchKey = 5 < new Date().getHours() < 18 ? 'day' : 'night';
55959
- if (ceshi == 'true' || ceshi == true) {
55960
- this.loginModel = '0';
56362
+ if (ceshi) {
56363
+ this.loginModel = ceshi == 'true' || ceshi == true ? '0' : ceshi;
55961
56364
  }
55962
56365
  if (this.isScale || utils_util["a" /* default */].getParams('scale')) {
55963
56366
  utils_util["a" /* default */].setScale();
@@ -56151,6 +56554,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
56151
56554
  _this4.$refs[ref] && _this4.$refs[ref].clearValidate();
56152
56555
  });
56153
56556
  } else {
56557
+ this.submit = true;
56154
56558
  this.$refs.calogin && this.$refs.calogin.getCertificate();
56155
56559
  }
56156
56560
  this.countdown = 0;
@@ -56272,15 +56676,19 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
56272
56676
  document.title = res.subsystemName;
56273
56677
  }
56274
56678
  this.app = res.appName || res.subsystemName;
56275
- if (res.loginModel && ceshi !== 'true' && ceshi !== true) {
56679
+ if (res.loginModel && !ceshi) {
56276
56680
  this.loginModel = (res.firstLoginModel || this.firstLoginModel) && !isLogined ? res.firstLoginModel || this.firstLoginModel : res.loginModel;
56277
56681
  }
56682
+
56278
56683
  if (res.loginBackgroundUrl) {
56279
56684
  this.loginBackgroundImg = res.loginBackgroundUrl.split(',');
56280
56685
  }
56281
56686
  if (res.loginLogoUrl) {
56282
56687
  this.loginLogoImg = res.loginLogoUrl;
56283
56688
  }
56689
+ if (res.caModel) {
56690
+ this.caLoginModel = res.caModel;
56691
+ }
56284
56692
  res.loginPage && sessionStorage.setItem('loginPage', res.loginPage);
56285
56693
  if (res.subsystemExtend && Object.keys(res.subsystemExtend).length) {
56286
56694
  if (res.subsystemExtend.copyright && res.subsystemExtend.copyright.length) {
@@ -56300,6 +56708,9 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
56300
56708
  if (res.subsystemExtend.loginModel && (ceshi == 'true' || ceshi == true)) {
56301
56709
  this.loginModel = (res.firstLoginModel || this.firstLoginModel) && !isLogined ? res.firstLoginModel || this.firstLoginModel : res.subsystemExtend.loginModel;
56302
56710
  }
56711
+ if (res.subsystemExtend.caModel) {
56712
+ this.caLoginModel = res.subsystemExtend.caModel;
56713
+ }
56303
56714
  if (res.subsystemExtend.applicationName) {
56304
56715
  localStorage.setItem('appcode', res.subsystemExtend.applicationName);
56305
56716
  }
@@ -56553,7 +56964,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
56553
56964
  utils_util["a" /* default */].ajax({
56554
56965
  method: 'post',
56555
56966
  url: this.caAction,
56556
- data: { identifyingId: this.identifyingId, signedData: signedData }
56967
+ data: typeof signedData === 'string' ? { identifyingId: this.identifyingId, signedData: signedData } : signedData
56557
56968
  }).then(function (res) {
56558
56969
  _this10.submit = false;
56559
56970
  if (res.rCode == 0) {
@@ -56576,6 +56987,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
56576
56987
  _this10.onError(res);
56577
56988
  }
56578
56989
  }).catch(function (err) {
56990
+ _this10.submit = false;
56579
56991
  if (err.message && err.message !== 'canceled') {
56580
56992
  _this10.$message.error(err.message);
56581
56993
  }
@@ -56812,6 +57224,9 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
56812
57224
  },
56813
57225
  handlePaste: function handlePaste(event) {
56814
57226
  this.safe && event.preventDefault();
57227
+ },
57228
+ handleError: function handleError() {
57229
+ this.submit = false;
56815
57230
  }
56816
57231
  },
56817
57232
  beforeDestroy: function beforeDestroy() {
@@ -56832,8 +57247,8 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
56832
57247
 
56833
57248
  var login_src_main_component = normalizeComponent(
56834
57249
  packages_login_src_mainvue_type_script_lang_js_,
56835
- mainvue_type_template_id_68c9ba89_render,
56836
- mainvue_type_template_id_68c9ba89_staticRenderFns,
57250
+ mainvue_type_template_id_950692f2_render,
57251
+ mainvue_type_template_id_950692f2_staticRenderFns,
56837
57252
  false,
56838
57253
  null,
56839
57254
  null,
@@ -59694,10 +60109,10 @@ appsvue_type_template_id_71b9cb14_scoped_true_render._withStripped = true
59694
60109
  this.$emit('click', res);
59695
60110
  },
59696
60111
 
59697
- /**
59698
- * @desc:获取气泡提醒
59699
- * @author huangbo
59700
- * @date 2024年9月7日
60112
+ /**
60113
+ * @desc:获取气泡提醒
60114
+ * @author huangbo
60115
+ * @date 2024年9月7日
59701
60116
  **/
59702
60117
  getBadge: function getBadge(res) {
59703
60118
  var num = res.tips || 0;
@@ -63720,10 +64135,10 @@ var events = [function (tabs, index, that) {
63720
64135
  },
63721
64136
 
63722
64137
  methods: {
63723
- /**
63724
- * @desc:匹配路由
63725
- * @author huangbo
63726
- * @date 2024年9月7日
64138
+ /**
64139
+ * @desc:匹配路由
64140
+ * @author huangbo
64141
+ * @date 2024年9月7日
63727
64142
  **/
63728
64143
  hasRouter: function hasRouter(res, url, code) {
63729
64144
  if (!url) {
@@ -63767,10 +64182,10 @@ var events = [function (tabs, index, that) {
63767
64182
  return false;
63768
64183
  },
63769
64184
 
63770
- /**
63771
- * @desc:获取初始数据
63772
- * @author huangbo
63773
- * @date 2024年9月7日
64185
+ /**
64186
+ * @desc:获取初始数据
64187
+ * @author huangbo
64188
+ * @date 2024年9月7日
63774
64189
  **/
63775
64190
  init: function init(results, first) {
63776
64191
  this.setConfig(results);
@@ -63779,10 +64194,10 @@ var events = [function (tabs, index, that) {
63779
64194
  }
63780
64195
  },
63781
64196
 
63782
- /**
63783
- * @desc:设置用户配置及信息
63784
- * @author huangbo
63785
- * @date 2024年9月7日
64197
+ /**
64198
+ * @desc:设置用户配置及信息
64199
+ * @author huangbo
64200
+ * @date 2024年9月7日
63786
64201
  **/
63787
64202
  setConfig: function setConfig(results) {
63788
64203
  localStorage.setItem('mainConfig', JSON.stringify(results));
@@ -63913,10 +64328,10 @@ var events = [function (tabs, index, that) {
63913
64328
  }
63914
64329
  },
63915
64330
 
63916
- /**
63917
- * @desc:获取所有应用
63918
- * @author huangbo
63919
- * @date 2024年9月7日
64331
+ /**
64332
+ * @desc:获取所有应用
64333
+ * @author huangbo
64334
+ * @date 2024年9月7日
63920
64335
  **/
63921
64336
  getApplications: function getApplications() {
63922
64337
  var _this = this;
@@ -63964,10 +64379,10 @@ var events = [function (tabs, index, that) {
63964
64379
  });
63965
64380
  },
63966
64381
 
63967
- /**
63968
- * @desc:获取菜单列表
63969
- * @author huangbo
63970
- * @date 2024年9月7日
64382
+ /**
64383
+ * @desc:获取菜单列表
64384
+ * @author huangbo
64385
+ * @date 2024年9月7日
63971
64386
  **/
63972
64387
  getMenus: function getMenus(loading) {
63973
64388
  var _this2 = this;
@@ -64000,10 +64415,10 @@ var events = [function (tabs, index, that) {
64000
64415
  });
64001
64416
  },
64002
64417
 
64003
- /**
64004
- * @desc:处理菜单列表
64005
- * @author huangbo
64006
- * @date 2024年9月7日
64418
+ /**
64419
+ * @desc:处理菜单列表
64420
+ * @author huangbo
64421
+ * @date 2024年9月7日
64007
64422
  **/
64008
64423
  renderMenus: function renderMenus(res) {
64009
64424
  this.menus = res;
@@ -64093,10 +64508,10 @@ var events = [function (tabs, index, that) {
64093
64508
  }
64094
64509
  },
64095
64510
 
64096
- /**
64097
- * @desc:设置页面加载类型
64098
- * @author huangbo
64099
- * @date 2024年9月7日
64511
+ /**
64512
+ * @desc:设置页面加载类型
64513
+ * @author huangbo
64514
+ * @date 2024年9月7日
64100
64515
  **/
64101
64516
  setIframeType: function setIframeType(res) {
64102
64517
  var url = res.url;
@@ -64152,10 +64567,10 @@ var events = [function (tabs, index, that) {
64152
64567
  return res;
64153
64568
  },
64154
64569
 
64155
- /**
64156
- * @desc:获取菜单
64157
- * @author huangbo
64158
- * @date 2024年9月7日
64570
+ /**
64571
+ * @desc:获取菜单
64572
+ * @author huangbo
64573
+ * @date 2024年9月7日
64159
64574
  **/
64160
64575
  getMenu: function getMenu(menus, res, key) {
64161
64576
  if (Array.isArray(menus)) {
@@ -64184,10 +64599,10 @@ var events = [function (tabs, index, that) {
64184
64599
  return false;
64185
64600
  },
64186
64601
 
64187
- /**
64188
- * @desc:获取菜单第一条数据
64189
- * @author huangbo
64190
- * @date 2024年9月7日
64602
+ /**
64603
+ * @desc:获取菜单第一条数据
64604
+ * @author huangbo
64605
+ * @date 2024年9月7日
64191
64606
  **/
64192
64607
  getFirst: function getFirst(obj) {
64193
64608
  if (!obj) {
@@ -64206,10 +64621,10 @@ var events = [function (tabs, index, that) {
64206
64621
  }
64207
64622
  },
64208
64623
 
64209
- /**
64210
- * @desc:遍历设置菜单气泡提醒
64211
- * @author huangbo
64212
- * @date 2024年9月7日
64624
+ /**
64625
+ * @desc:遍历设置菜单气泡提醒
64626
+ * @author huangbo
64627
+ * @date 2024年9月7日
64213
64628
  **/
64214
64629
  setTips: function setTips(obj) {
64215
64630
  var _this3 = this;
@@ -64272,10 +64687,10 @@ var events = [function (tabs, index, that) {
64272
64687
  }
64273
64688
  },
64274
64689
 
64275
- /**
64276
- * @desc:获取气泡提醒
64277
- * @author huangbo
64278
- * @date 2024年9月7日
64690
+ /**
64691
+ * @desc:获取气泡提醒
64692
+ * @author huangbo
64693
+ * @date 2024年9月7日
64279
64694
  **/
64280
64695
  getBadge: function getBadge(res) {
64281
64696
  var num = res.tips || 0;
@@ -64289,10 +64704,10 @@ var events = [function (tabs, index, that) {
64289
64704
  };
64290
64705
  },
64291
64706
 
64292
- /**
64293
- * @desc:开启weosocket
64294
- * @author huangbo
64295
- * @date 2024年9月7日
64707
+ /**
64708
+ * @desc:开启weosocket
64709
+ * @author huangbo
64710
+ * @date 2024年9月7日
64296
64711
  **/
64297
64712
  initWebSocket: function initWebSocket() {
64298
64713
  var _this5 = this;
@@ -64340,10 +64755,10 @@ var events = [function (tabs, index, that) {
64340
64755
  });
64341
64756
  },
64342
64757
 
64343
- /**
64344
- * @desc:显示用户信息
64345
- * @author huangbo
64346
- * @date 2024年9月7日
64758
+ /**
64759
+ * @desc:显示用户信息
64760
+ * @author huangbo
64761
+ * @date 2024年9月7日
64347
64762
  **/
64348
64763
  showUserInfo: function showUserInfo() {
64349
64764
  if (this.showUser === false) {
@@ -64351,19 +64766,19 @@ var events = [function (tabs, index, that) {
64351
64766
  }
64352
64767
  },
64353
64768
 
64354
- /**
64355
- * @desc:删除更多应用菜单点击
64356
- * @author huangbo
64357
- * @date 2024年9月7日
64769
+ /**
64770
+ * @desc:删除更多应用菜单点击
64771
+ * @author huangbo
64772
+ * @date 2024年9月7日
64358
64773
  **/
64359
64774
  handleDelete: function handleDelete(index) {
64360
64775
  this.newApps.splice(index, 1);
64361
64776
  },
64362
64777
 
64363
- /**
64364
- * @desc:储存更多应用菜单点击
64365
- * @author huangbo
64366
- * @date 2024年9月7日
64778
+ /**
64779
+ * @desc:储存更多应用菜单点击
64780
+ * @author huangbo
64781
+ * @date 2024年9月7日
64367
64782
  **/
64368
64783
  handlerClickApps: function handlerClickApps(res) {
64369
64784
  if (res.permission === false) {
@@ -64376,10 +64791,10 @@ var events = [function (tabs, index, that) {
64376
64791
  this.handlerClickApp(res);
64377
64792
  },
64378
64793
 
64379
- /**
64380
- * @desc:侧边应用菜单点击
64381
- * @author huangbo
64382
- * @date 2024年9月7日
64794
+ /**
64795
+ * @desc:侧边应用菜单点击
64796
+ * @author huangbo
64797
+ * @date 2024年9月7日
64383
64798
  **/
64384
64799
  handlerClickApp: function handlerClickApp(res) {
64385
64800
  this.showMsg = false;
@@ -64466,10 +64881,10 @@ var events = [function (tabs, index, that) {
64466
64881
  }
64467
64882
  },
64468
64883
 
64469
- /**
64470
- * @desc:显示Drawer界面
64471
- * @author huangbo
64472
- * @date 2024年9月7日
64884
+ /**
64885
+ * @desc:显示Drawer界面
64886
+ * @author huangbo
64887
+ * @date 2024年9月7日
64473
64888
  **/
64474
64889
  handlerSetDrawer: function handlerSetDrawer(res, type) {
64475
64890
  var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'ltr';
@@ -64489,19 +64904,19 @@ var events = [function (tabs, index, that) {
64489
64904
  }
64490
64905
  },
64491
64906
 
64492
- /**
64493
- * @desc:关闭Drawer界面
64494
- * @author huangbo
64495
- * @date 2024年9月7日
64907
+ /**
64908
+ * @desc:关闭Drawer界面
64909
+ * @author huangbo
64910
+ * @date 2024年9月7日
64496
64911
  **/
64497
64912
  handleCloseDrawer: function handleCloseDrawer() {
64498
64913
  this.drawer = { visible: false };
64499
64914
  },
64500
64915
 
64501
- /**
64502
- * @desc:菜单点击
64503
- * @author huangbo
64504
- * @date 2024年9月7日
64916
+ /**
64917
+ * @desc:菜单点击
64918
+ * @author huangbo
64919
+ * @date 2024年9月7日
64505
64920
  **/
64506
64921
  handlerClickMenu: function handlerClickMenu(res) {
64507
64922
  utils_util["a" /* default */].ajax({
@@ -64550,19 +64965,19 @@ var events = [function (tabs, index, that) {
64550
64965
  },
64551
64966
 
64552
64967
 
64553
- /**
64554
- * @desc:用户详情请求成功
64555
- * @author huangbo
64556
- * @date 2024年9月7日
64968
+ /**
64969
+ * @desc:用户详情请求成功
64970
+ * @author huangbo
64971
+ * @date 2024年9月7日
64557
64972
  **/
64558
64973
  handleSuccess: function handleSuccess(res) {
64559
64974
  this.simpleUserInfo = res.simpleUserInfo;
64560
64975
  },
64561
64976
 
64562
- /**
64563
- * @desc:修改用户配置
64564
- * @author huangbo
64565
- * @date 2024年9月7日
64977
+ /**
64978
+ * @desc:修改用户配置
64979
+ * @author huangbo
64980
+ * @date 2024年9月7日
64566
64981
  **/
64567
64982
  handleChangeConfig: function handleChangeConfig(name, res) {
64568
64983
  if (name == 'userHeadUrl') {
@@ -64578,10 +64993,10 @@ var events = [function (tabs, index, that) {
64578
64993
  }
64579
64994
  },
64580
64995
 
64581
- /**
64582
- * @desc:关闭webSocket
64583
- * @author huangbo
64584
- * @date 2024年9月7日
64996
+ /**
64997
+ * @desc:关闭webSocket
64998
+ * @author huangbo
64999
+ * @date 2024年9月7日
64585
65000
  **/
64586
65001
  handlerClose: function handlerClose() {
64587
65002
  if (this.webSocket) {
@@ -64589,10 +65004,10 @@ var events = [function (tabs, index, that) {
64589
65004
  }
64590
65005
  },
64591
65006
 
64592
- /**
64593
- * @desc:刷新选中iframe页签
64594
- * @author huangbo
64595
- * @date 2024年9月7日
65007
+ /**
65008
+ * @desc:刷新选中iframe页签
65009
+ * @author huangbo
65010
+ * @date 2024年9月7日
64596
65011
  **/
64597
65012
  handleRefresh: function handleRefresh() {
64598
65013
  var i = utils_util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
@@ -64613,10 +65028,10 @@ var events = [function (tabs, index, that) {
64613
65028
  }
64614
65029
  },
64615
65030
 
64616
- /**
64617
- * @desc:删除iframe
64618
- * @author huangbo
64619
- * @date 2024年9月7日
65031
+ /**
65032
+ * @desc:删除iframe
65033
+ * @author huangbo
65034
+ * @date 2024年9月7日
64620
65035
  **/
64621
65036
  handleRemove: function handleRemove(name) {
64622
65037
  var len = this.tabs.length - 1;
@@ -64633,10 +65048,10 @@ var events = [function (tabs, index, that) {
64633
65048
  }
64634
65049
  },
64635
65050
 
64636
- /**
64637
- * @desc:tabs鼠标右键事件
64638
- * @author huangbo
64639
- * @date 2024年9月7日
65051
+ /**
65052
+ * @desc:tabs鼠标右键事件
65053
+ * @author huangbo
65054
+ * @date 2024年9月7日
64640
65055
  **/
64641
65056
  handleContextmenu: function handleContextmenu(tabs, e) {
64642
65057
  var disabled = {};
@@ -64661,10 +65076,10 @@ var events = [function (tabs, index, that) {
64661
65076
  window.addEventListener('click', this.closeTabsEvents);
64662
65077
  },
64663
65078
 
64664
- /**
64665
- * @desc:tabs页签事件
64666
- * @author huangbo
64667
- * @date 2024年9月7日
65079
+ /**
65080
+ * @desc:tabs页签事件
65081
+ * @author huangbo
65082
+ * @date 2024年9月7日
64668
65083
  **/
64669
65084
  handleTabsEvents: function handleTabsEvents(num) {
64670
65085
  if (this.pane !== null) {
@@ -64682,10 +65097,10 @@ var events = [function (tabs, index, that) {
64682
65097
  window.removeEventListener('click', this.closeTabsEvents);
64683
65098
  },
64684
65099
 
64685
- /**
64686
- * @desc:handler工具栏点击事件
64687
- * @author huangbo
64688
- * @date 2024年9月7日
65100
+ /**
65101
+ * @desc:handler工具栏点击事件
65102
+ * @author huangbo
65103
+ * @date 2024年9月7日
64689
65104
  **/
64690
65105
  handleClick: function handleClick(res) {
64691
65106
  var type = res.type,
@@ -64763,10 +65178,10 @@ var events = [function (tabs, index, that) {
64763
65178
  this.$emit('handler-click', res);
64764
65179
  },
64765
65180
 
64766
- /**
64767
- * @desc:退出登录
64768
- * @author huangbo
64769
- * @date 2024年9月7日
65181
+ /**
65182
+ * @desc:退出登录
65183
+ * @author huangbo
65184
+ * @date 2024年9月7日
64770
65185
  **/
64771
65186
  handleQuit: function handleQuit() {
64772
65187
  var _this6 = this;
@@ -64841,10 +65256,10 @@ var events = [function (tabs, index, that) {
64841
65256
  }).catch(function (e) {});
64842
65257
  },
64843
65258
 
64844
- /**
64845
- * @desc:主题、消息回调
64846
- * @author huangbo
64847
- * @date 2024年9月7日
65259
+ /**
65260
+ * @desc:主题、消息回调
65261
+ * @author huangbo
65262
+ * @date 2024年9月7日
64848
65263
  **/
64849
65264
  handleChange: function handleChange(res) {
64850
65265
  var type = res.type,
@@ -64860,10 +65275,10 @@ var events = [function (tabs, index, that) {
64860
65275
  }
64861
65276
  },
64862
65277
 
64863
- /**
64864
- * @desc:菜单布局样式切换
64865
- * @author huangbo
64866
- * @date 2024年9月7日
65278
+ /**
65279
+ * @desc:菜单布局样式切换
65280
+ * @author huangbo
65281
+ * @date 2024年9月7日
64867
65282
  **/
64868
65283
  handleLayout: function handleLayout(res, active) {
64869
65284
  if (active) {
@@ -64872,10 +65287,10 @@ var events = [function (tabs, index, that) {
64872
65287
  this.$emit('chang-layout', res, active);
64873
65288
  },
64874
65289
 
64875
- /**
64876
- * @desc:消息修改总数
64877
- * @author huangbo
64878
- * @date 2024年9月7日
65290
+ /**
65291
+ * @desc:消息修改总数
65292
+ * @author huangbo
65293
+ * @date 2024年9月7日
64879
65294
  **/
64880
65295
  handleMenuTips: function handleMenuTips(id, num) {
64881
65296
  if (num) {
@@ -64886,10 +65301,10 @@ var events = [function (tabs, index, that) {
64886
65301
  }
64887
65302
  },
64888
65303
 
64889
- /**
64890
- * @desc:处理即时消息
64891
- * @author huangbo
64892
- * @date 2024年9月7日
65304
+ /**
65305
+ * @desc:处理即时消息
65306
+ * @author huangbo
65307
+ * @date 2024年9月7日
64893
65308
  **/
64894
65309
  handleOpened: function handleOpened(res) {
64895
65310
  var _this7 = this;
@@ -72031,19 +72446,19 @@ var QRCode = __webpack_require__(24);
72031
72446
  //设置logo大小
72032
72447
  var logoPosition = (_this3.mwidth - 46) / 2; //logo相对于canvas居中定位
72033
72448
  //设置获取的logo将其变为圆角以及添加白色背景
72034
- /* ctx.fillStyle = "#fff";
72035
- ctx.beginPath();
72036
- let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
72037
- let w = 46; //圆角宽
72038
- let x = logoPosition - 5;
72039
- let y = logoPosition - 5;
72040
- let r = 5; //圆角半径
72041
- ctx.moveTo(x + r, y);
72042
- ctx.arcTo(x + w, y, x + w, y + h, r);
72043
- ctx.arcTo(x + w, y + h, x, y + h, r);
72044
- ctx.arcTo(x, y + h, x, y, r);
72045
- ctx.arcTo(x, y, x + w, y, r);
72046
- ctx.closePath();
72449
+ /* ctx.fillStyle = "#fff";
72450
+ ctx.beginPath();
72451
+ let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
72452
+ let w = 46; //圆角宽
72453
+ let x = logoPosition - 5;
72454
+ let y = logoPosition - 5;
72455
+ let r = 5; //圆角半径
72456
+ ctx.moveTo(x + r, y);
72457
+ ctx.arcTo(x + w, y, x + w, y + h, r);
72458
+ ctx.arcTo(x + w, y + h, x, y + h, r);
72459
+ ctx.arcTo(x, y + h, x, y, r);
72460
+ ctx.arcTo(x, y, x + w, y, r);
72461
+ ctx.closePath();
72047
72462
  ctx.fill(); */
72048
72463
  logo.onload = function () {
72049
72464
  ctx.drawImage(logo, logoPosition, logoPosition, 46, 46);
@@ -89935,7 +90350,7 @@ if (typeof window !== 'undefined' && window.Vue) {
89935
90350
  }
89936
90351
 
89937
90352
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
89938
- version: '0.6.67',
90353
+ version: '0.6.68',
89939
90354
  install: install,
89940
90355
  Button: packages_button,
89941
90356
  ButtonGroup: button_group,