eoss-ui 0.6.67 → 0.6.69

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 (282) hide show
  1. package/lib/button-group.js +3 -2
  2. package/lib/button.js +3 -2
  3. package/lib/calogin.js +700 -256
  4. package/lib/checkbox-group.js +3 -2
  5. package/lib/data-table-form.js +3 -2
  6. package/lib/data-table.js +3 -2
  7. package/lib/date-picker.js +3 -2
  8. package/lib/dialog.js +3 -2
  9. package/lib/eoss-ui.common.js +1386 -920
  10. package/lib/flow-group.js +3 -2
  11. package/lib/flow-list.js +161 -177
  12. package/lib/flow.js +301 -291
  13. package/lib/form.js +3 -2
  14. package/lib/handle-user.js +3 -2
  15. package/lib/handler.js +3 -2
  16. package/lib/icon.js +3 -2
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +3 -2
  19. package/lib/input.js +3 -2
  20. package/lib/login.js +70 -39
  21. package/lib/main.js +135 -134
  22. package/lib/nav.js +3 -2
  23. package/lib/page.js +3 -2
  24. package/lib/pagination.js +3 -2
  25. package/lib/player.js +3 -2
  26. package/lib/qr-code.js +16 -15
  27. package/lib/radio-group.js +3 -2
  28. package/lib/retrial-auth.js +3 -2
  29. package/lib/select-ganged.js +3 -2
  30. package/lib/select.js +3 -2
  31. package/lib/selector-panel.js +3 -2
  32. package/lib/selector.js +3 -2
  33. package/lib/sizer.js +3 -2
  34. package/lib/steps.js +3 -2
  35. package/lib/switch.js +3 -2
  36. package/lib/table-form.js +3 -2
  37. package/lib/tabs.js +3 -2
  38. package/lib/theme-chalk/index.css +1 -1
  39. package/lib/theme-chalk/login.css +1 -1
  40. package/lib/tips.js +3 -2
  41. package/lib/tree-group.js +3 -2
  42. package/lib/tree.js +3 -2
  43. package/lib/upload.js +3 -2
  44. package/lib/utils/util.js +3 -2
  45. package/lib/wujie.js +3 -2
  46. package/lib/wxlogin.js +3 -2
  47. package/package.json +160 -160
  48. package/packages/.DS_Store +0 -0
  49. package/packages/autocomplete/.DS_Store +0 -0
  50. package/packages/button/index.js +5 -5
  51. package/packages/button/src/main.vue +418 -418
  52. package/packages/button-group/index.js +5 -5
  53. package/packages/button-group/src/main.vue +298 -298
  54. package/packages/calendar/index.js +5 -5
  55. package/packages/calogin/.DS_Store +0 -0
  56. package/packages/calogin/index.js +5 -5
  57. package/packages/calogin/src/main.vue +410 -131
  58. package/packages/calogin/src/plugin.js +915 -748
  59. package/packages/card/index.js +5 -5
  60. package/packages/card/src/main.vue +156 -156
  61. package/packages/cascader/index.js +5 -5
  62. package/packages/cascader/src/main.vue +168 -168
  63. package/packages/checkbox-group/index.js +5 -5
  64. package/packages/checkbox-group/src/main.vue +333 -333
  65. package/packages/clients/index.js +5 -5
  66. package/packages/clients/src/main.vue +151 -151
  67. package/packages/data-table/index.js +5 -5
  68. package/packages/data-table/src/children.vue +39 -39
  69. package/packages/data-table/src/column.vue +989 -989
  70. package/packages/data-table/src/main.vue +1822 -1822
  71. package/packages/data-table/src/sizer.vue +195 -195
  72. package/packages/data-table-form/index.js +5 -5
  73. package/packages/data-table-form/src/checkbox.vue +101 -101
  74. package/packages/data-table-form/src/colgroup.vue +17 -17
  75. package/packages/data-table-form/src/main.vue +181 -181
  76. package/packages/data-table-form/src/radio.vue +65 -65
  77. package/packages/data-table-form/src/table.vue +233 -233
  78. package/packages/data-table-form/src/tbody.vue +336 -336
  79. package/packages/data-table-form/src/thead.vue +68 -68
  80. package/packages/date-picker/.DS_Store +0 -0
  81. package/packages/date-picker/index.js +5 -5
  82. package/packages/date-picker/src/.DS_Store +0 -0
  83. package/packages/date-picker/src/main.vue +236 -236
  84. package/packages/dialog/index.js +5 -5
  85. package/packages/enable-drag/index.js +5 -5
  86. package/packages/enterprise/index.js +5 -5
  87. package/packages/enterprise/src/main.vue +66 -66
  88. package/packages/error-page/index.js +5 -5
  89. package/packages/error-page/src/main.vue +44 -44
  90. package/packages/flow/.DS_Store +0 -0
  91. package/packages/flow/index.js +5 -5
  92. package/packages/flow/src/component/Circulate.vue +351 -351
  93. package/packages/flow/src/component/CommonOpinions.vue +346 -346
  94. package/packages/flow/src/component/CustomPreset.vue +322 -322
  95. package/packages/flow/src/component/FileList.vue +99 -99
  96. package/packages/flow/src/component/Preset.vue +255 -255
  97. package/packages/flow/src/component/SendMsg.vue +241 -241
  98. package/packages/flow/src/component/TimeLimit.vue +190 -190
  99. package/packages/flow/src/component/taskUnionExamine.vue +619 -619
  100. package/packages/flow/src/form.vue +121 -121
  101. package/packages/flow/src/freeStartFlow.vue +2843 -2843
  102. package/packages/flow/src/main.vue +3369 -3367
  103. package/packages/flow/src/processForm.vue +1091 -1091
  104. package/packages/flow/src/processReject.vue +294 -294
  105. package/packages/flow/src/reset.vue +905 -905
  106. package/packages/flow/src/selectUser.vue +6 -0
  107. package/packages/flow/src/startTaskRead.vue +659 -659
  108. package/packages/flow/src/supervise.vue +149 -149
  109. package/packages/flow/src/table.vue +58 -58
  110. package/packages/flow-group/index.js +5 -5
  111. package/packages/flow-group/src/main.vue +688 -688
  112. package/packages/flow-list/.DS_Store +0 -0
  113. package/packages/flow-list/index.js +5 -5
  114. package/packages/flow-list/src/main.vue +1738 -1757
  115. package/packages/form/index.js +5 -5
  116. package/packages/form/src/main.vue +3581 -3581
  117. package/packages/form/src/table.vue +1426 -1426
  118. package/packages/handle-user/index.js +5 -5
  119. package/packages/handle-user/src/main.vue +138 -138
  120. package/packages/handler/index.js +5 -5
  121. package/packages/handler/src/main.vue +493 -493
  122. package/packages/icon/index.js +5 -5
  123. package/packages/icon/src/main.vue +101 -101
  124. package/packages/icons/index.js +5 -5
  125. package/packages/icons/src/main.vue +81 -81
  126. package/packages/input/index.js +5 -5
  127. package/packages/input/src/main.vue +356 -356
  128. package/packages/input-number/index.js +5 -5
  129. package/packages/input-number/src/main.vue +106 -106
  130. package/packages/label/index.js +5 -5
  131. package/packages/label/src/main.vue +457 -457
  132. package/packages/layout/index.js +5 -5
  133. package/packages/layout/src/item.vue +152 -152
  134. package/packages/layout/src/main.vue +31 -31
  135. package/packages/login/.DS_Store +0 -0
  136. package/packages/login/index.js +5 -5
  137. package/packages/login/src/main.vue +2015 -1988
  138. package/packages/login/src/resetPassword.vue +562 -562
  139. package/packages/main/.DS_Store +0 -0
  140. package/packages/main/index.js +5 -5
  141. package/packages/main/src/.DS_Store +0 -0
  142. package/packages/main/src/default/message.vue +249 -249
  143. package/packages/main/src/default/notice.vue +157 -157
  144. package/packages/main/src/default/userinfo.vue +503 -503
  145. package/packages/main/src/public/online.vue +89 -89
  146. package/packages/main/src/public/search.vue +462 -462
  147. package/packages/main/src/public/settings.vue +221 -221
  148. package/packages/main/src/simplicity/apps.vue +388 -388
  149. package/packages/main/src/simplicity/avatar.vue +83 -83
  150. package/packages/main/src/simplicity/handler.vue +259 -259
  151. package/packages/main/src/simplicity/index.vue +2089 -2089
  152. package/packages/main/src/simplicity/lists.vue +84 -84
  153. package/packages/main/src/simplicity/menu-list.vue +135 -135
  154. package/packages/main/src/simplicity/message.vue +259 -259
  155. package/packages/main/src/simplicity/notice.vue +190 -190
  156. package/packages/main/src/simplicity/router-page.vue +45 -45
  157. package/packages/main/src/simplicity/sub-menu.vue +264 -264
  158. package/packages/main/src/simplicity/user.vue +257 -257
  159. package/packages/main/src/simplicity/userinfo.vue +312 -312
  160. package/packages/menu/.DS_Store +0 -0
  161. package/packages/menu/index.js +5 -5
  162. package/packages/menu/src/main.vue +584 -584
  163. package/packages/nav/index.js +5 -5
  164. package/packages/nav/src/main.vue +351 -351
  165. package/packages/notify/index.js +5 -5
  166. package/packages/notify/src/main.vue +538 -538
  167. package/packages/page/index.js +5 -5
  168. package/packages/page/src/main.vue +167 -167
  169. package/packages/pagination/index.js +5 -5
  170. package/packages/pagination/src/main.vue +96 -96
  171. package/packages/player/index.js +5 -5
  172. package/packages/player/src/main.vue +194 -194
  173. package/packages/qr-code/index.js +5 -5
  174. package/packages/qr-code/src/main.vue +170 -170
  175. package/packages/radio-group/index.js +6 -6
  176. package/packages/radio-group/src/main.vue +319 -319
  177. package/packages/retrial-auth/index.js +5 -5
  178. package/packages/retrial-auth/src/main.vue +280 -280
  179. package/packages/scrollbar/.DS_Store +0 -0
  180. package/packages/select/.DS_Store +0 -0
  181. package/packages/select/index.js +5 -5
  182. package/packages/select/src/main.vue +778 -778
  183. package/packages/select-ganged/index.js +5 -5
  184. package/packages/select-ganged/src/main.vue +724 -724
  185. package/packages/selector/index.js +5 -5
  186. package/packages/selector/src/main.vue +687 -687
  187. package/packages/selector-panel/index.js +5 -5
  188. package/packages/selector-panel/src/main.vue +1027 -1027
  189. package/packages/selector-panel/src/selection.vue +177 -177
  190. package/packages/selector-panel/src/tree.vue +129 -129
  191. package/packages/sizer/index.js +5 -5
  192. package/packages/sizer/src/main.vue +254 -254
  193. package/packages/steps/index.js +5 -5
  194. package/packages/steps/src/main.vue +181 -181
  195. package/packages/switch/index.js +5 -5
  196. package/packages/switch/src/main.vue +154 -154
  197. package/packages/table-form/index.js +5 -5
  198. package/packages/tabs/index.js +5 -5
  199. package/packages/tabs/src/main.vue +788 -788
  200. package/packages/tabs-panel/index.js +5 -5
  201. package/packages/tabs-panel/src/main.vue +29 -29
  202. package/packages/theme-chalk/lib/index.css +1 -1
  203. package/packages/theme-chalk/lib/login.css +1 -1
  204. package/packages/theme-chalk/src/.DS_Store +0 -0
  205. package/packages/theme-chalk/src/base.scss +261 -261
  206. package/packages/theme-chalk/src/button-group.scss +176 -176
  207. package/packages/theme-chalk/src/button.scss +24 -24
  208. package/packages/theme-chalk/src/calendar.scss +113 -113
  209. package/packages/theme-chalk/src/card.scss +99 -99
  210. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  211. package/packages/theme-chalk/src/clients.scss +87 -87
  212. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  213. package/packages/theme-chalk/src/data-table.scss +293 -293
  214. package/packages/theme-chalk/src/date-picker.scss +7 -7
  215. package/packages/theme-chalk/src/dialog.scss +77 -77
  216. package/packages/theme-chalk/src/enable-drag.scss +181 -181
  217. package/packages/theme-chalk/src/enterprise.scss +5 -5
  218. package/packages/theme-chalk/src/error-page.scss +18 -18
  219. package/packages/theme-chalk/src/flow-group.scss +110 -110
  220. package/packages/theme-chalk/src/flow-list.scss +39 -39
  221. package/packages/theme-chalk/src/flow.scss +343 -343
  222. package/packages/theme-chalk/src/form.scss +496 -496
  223. package/packages/theme-chalk/src/handle-user.scss +40 -40
  224. package/packages/theme-chalk/src/handler.scss +143 -143
  225. package/packages/theme-chalk/src/icon.scss +1792 -1792
  226. package/packages/theme-chalk/src/icons.scss +99 -99
  227. package/packages/theme-chalk/src/input.scss +9 -9
  228. package/packages/theme-chalk/src/label.scss +24 -24
  229. package/packages/theme-chalk/src/layout.scss +46 -46
  230. package/packages/theme-chalk/src/login.scss +981 -981
  231. package/packages/theme-chalk/src/main.scss +663 -663
  232. package/packages/theme-chalk/src/menu.scss +222 -222
  233. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  234. package/packages/theme-chalk/src/nav.scss +111 -111
  235. package/packages/theme-chalk/src/page.scss +3 -3
  236. package/packages/theme-chalk/src/pagination.scss +29 -29
  237. package/packages/theme-chalk/src/player.scss +9 -9
  238. package/packages/theme-chalk/src/qr-code.scss +17 -17
  239. package/packages/theme-chalk/src/radio-group.scss +9 -9
  240. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  241. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  242. package/packages/theme-chalk/src/select.scss +8 -8
  243. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  244. package/packages/theme-chalk/src/selector.scss +91 -91
  245. package/packages/theme-chalk/src/simplicity.scss +1355 -1355
  246. package/packages/theme-chalk/src/sizer.scss +36 -36
  247. package/packages/theme-chalk/src/steps.scss +88 -88
  248. package/packages/theme-chalk/src/switch.scss +3 -3
  249. package/packages/theme-chalk/src/table-form.scss +1 -1
  250. package/packages/theme-chalk/src/tabs.scss +87 -87
  251. package/packages/theme-chalk/src/tips.scss +7 -7
  252. package/packages/theme-chalk/src/toolbar.scss +179 -179
  253. package/packages/theme-chalk/src/tree-group.scss +72 -72
  254. package/packages/theme-chalk/src/tree.scss +165 -165
  255. package/packages/theme-chalk/src/upload.scss +168 -168
  256. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  257. package/packages/tips/index.js +5 -5
  258. package/packages/tips/src/main.vue +141 -141
  259. package/packages/toolbar/index.js +5 -5
  260. package/packages/toolbar/src/main.vue +430 -430
  261. package/packages/tree/index.js +5 -5
  262. package/packages/tree-group/index.js +5 -5
  263. package/packages/upload/.DS_Store +0 -0
  264. package/packages/upload/index.js +5 -5
  265. package/packages/upload/src/main.vue +1347 -1347
  266. package/packages/upload/src/picture.js +15 -15
  267. package/packages/wujie/index.js +5 -5
  268. package/packages/wujie/src/main.vue +145 -145
  269. package/packages/wxlogin/index.js +5 -5
  270. package/packages/wxlogin/src/main.vue +128 -128
  271. package/src/.DS_Store +0 -0
  272. package/src/config/api.js +291 -291
  273. package/src/config/image.js +2 -2
  274. package/src/index.js +163 -163
  275. package/src/utils/.DS_Store +0 -0
  276. package/src/utils/bus.js +3 -3
  277. package/src/utils/date-util.js +312 -312
  278. package/src/utils/http.js +50 -50
  279. package/src/utils/rules.js +18 -18
  280. package/src/utils/store.js +21 -21
  281. package/src/utils/util.js +3 -2
  282. package/src/utils/webSocket.js +107 -107
@@ -586,8 +586,9 @@ var ajaxStream = function ajaxStream(_ref2) {
586
586
  try {
587
587
  // 假设数据是 JSON 格式
588
588
  var parsedData = JSON.parse(data);
589
- info.time = parsedData.time;
590
- info.conversationId = parsedData.conversationId;
589
+ info = _extends({}, info, parsedData);
590
+ // info.time = parsedData.time;
591
+ // info.conversationId = parsedData.conversationId;
591
592
  var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
592
593
  var match = parsedData.message.match(thinkRegex);
593
594
  if (match) {
@@ -5883,31 +5884,28 @@ calendar_src_main.install = function (Vue) {
5883
5884
  };
5884
5885
 
5885
5886
  /* 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 () {
5887
+ // 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=4b7c35fc&scoped=true&
5888
+ var mainvue_type_template_id_4b7c35fc_scoped_true_render = function () {
5888
5889
  var _vm = this
5889
5890
  var _h = _vm.$createElement
5890
5891
  var _c = _vm._self._c || _h
5891
- return _c(
5892
- "span",
5893
- { on: { click: _vm.getCertificate } },
5894
- [_vm._t("default")],
5895
- 2
5896
- )
5892
+ return _c("span", [
5893
+ _c("span", { on: { click: _vm.getCertificate } }, [_vm._t("default")], 2),
5894
+ ])
5897
5895
  }
5898
- var mainvue_type_template_id_e879a944_scoped_true_staticRenderFns = []
5899
- mainvue_type_template_id_e879a944_scoped_true_render._withStripped = true
5896
+ var mainvue_type_template_id_4b7c35fc_scoped_true_staticRenderFns = []
5897
+ mainvue_type_template_id_4b7c35fc_scoped_true_render._withStripped = true
5900
5898
 
5901
5899
 
5902
- // CONCATENATED MODULE: ./packages/calogin/src/main.vue?vue&type=template&id=e879a944&scoped=true&
5900
+ // CONCATENATED MODULE: ./packages/calogin/src/main.vue?vue&type=template&id=4b7c35fc&scoped=true&
5903
5901
 
5904
5902
  // CONCATENATED MODULE: ./packages/calogin/src/plugin.js
5905
5903
  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
5904
 
5907
5905
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5908
5906
 
5909
- /**
5910
- * JIT_GW_ExtInterface 模块,提供与客户端交互的功能
5907
+ /**
5908
+ * JIT_GW_ExtInterface 模块,提供与客户端交互的功能
5911
5909
  */
5912
5910
  var CA_ExtInterface = function () {
5913
5911
  function CA_ExtInterface() {
@@ -5916,13 +5914,15 @@ var CA_ExtInterface = function () {
5916
5914
  this.currentSessionWSURL = '';
5917
5915
  this.useActioveX = false;
5918
5916
  this.options = {};
5917
+ this.webSocket = null;
5918
+ this.init();
5919
5919
  }
5920
5920
 
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 - 新的选项对象
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 - 新的选项对象
5926
5926
  */
5927
5927
 
5928
5928
 
@@ -5937,8 +5937,8 @@ var CA_ExtInterface = function () {
5937
5937
  }
5938
5938
  };
5939
5939
 
5940
- /**
5941
- * 检查当前会话的 WebSocket URL
5940
+ /**
5941
+ * 检查当前会话的 WebSocket URL
5942
5942
  */
5943
5943
 
5944
5944
 
@@ -5952,8 +5952,8 @@ var CA_ExtInterface = function () {
5952
5952
  }
5953
5953
  };
5954
5954
 
5955
- /**
5956
- * 检查是否使用 ActiveX
5955
+ /**
5956
+ * 检查是否使用 ActiveX
5957
5957
  */
5958
5958
 
5959
5959
 
@@ -5965,11 +5965,11 @@ var CA_ExtInterface = function () {
5965
5965
  }
5966
5966
  };
5967
5967
 
5968
- /**
5969
- * 扩展发送消息并等待响应
5970
- * @param {string} operatorCmd - 操作命令
5971
- * @param {string} sendMsg - 发送的消息
5972
- * @returns {string} 响应消息
5968
+ /**
5969
+ * 扩展发送消息并等待响应
5970
+ * @param {string} operatorCmd - 操作命令
5971
+ * @param {string} sendMsg - 发送的消息
5972
+ * @returns {string} 响应消息
5973
5973
  */
5974
5974
 
5975
5975
 
@@ -5979,11 +5979,11 @@ var CA_ExtInterface = function () {
5979
5979
  return this.sendAndWaitMessage(this.currentSessionWSURL, strSendMsg);
5980
5980
  };
5981
5981
 
5982
- /**
5983
- * 发送消息并等待响应
5984
- * @param {string} wsurl - WebSocket URL
5985
- * @param {string} sendMsg - 发送的消息
5986
- * @returns {string} 响应消息
5982
+ /**
5983
+ * 发送消息并等待响应
5984
+ * @param {string} wsurl - WebSocket URL
5985
+ * @param {string} sendMsg - 发送的消息
5986
+ * @returns {string} 响应消息
5987
5987
  */
5988
5988
 
5989
5989
 
@@ -6007,9 +6007,9 @@ var CA_ExtInterface = function () {
6007
6007
  return ResultMsg;
6008
6008
  };
6009
6009
 
6010
- /**
6011
- * 配置选项
6012
- * @param {Object} extendOption - 扩展选项
6010
+ /**
6011
+ * 配置选项
6012
+ * @param {Object} extendOption - 扩展选项
6013
6013
  */
6014
6014
 
6015
6015
 
@@ -6019,8 +6019,8 @@ var CA_ExtInterface = function () {
6019
6019
  }
6020
6020
  };
6021
6021
 
6022
- /**
6023
- * 初始化
6022
+ /**
6023
+ * 初始化
6024
6024
  */
6025
6025
 
6026
6026
 
@@ -6028,9 +6028,9 @@ var CA_ExtInterface = function () {
6028
6028
  this.isUseActioveX();
6029
6029
  };
6030
6030
 
6031
- /**
6032
- * 返回客户端的版本
6033
- * @returns {string} 客户端版本
6031
+ /**
6032
+ * 返回客户端的版本
6033
+ * @returns {string} 客户端版本
6034
6034
  */
6035
6035
 
6036
6036
 
@@ -6043,13 +6043,13 @@ var CA_ExtInterface = function () {
6043
6043
  }
6044
6044
  };
6045
6045
 
6046
- /**
6047
- * 下载客户端程序并安装
6048
- * @param {string} bstrURL - 下载地址
6049
- * @param {string} bstrHashValue - 哈希值
6050
- * @param {boolean} bSync - 是否同步安装
6051
- * @param {boolean} bOnlySSO - 是否仅安装 SSO
6052
- * @returns {number} 安装结果
6046
+ /**
6047
+ * 下载客户端程序并安装
6048
+ * @param {string} bstrURL - 下载地址
6049
+ * @param {string} bstrHashValue - 哈希值
6050
+ * @param {boolean} bSync - 是否同步安装
6051
+ * @param {boolean} bOnlySSO - 是否仅安装 SSO
6052
+ * @returns {number} 安装结果
6053
6053
  */
6054
6054
 
6055
6055
 
@@ -6063,11 +6063,11 @@ var CA_ExtInterface = function () {
6063
6063
  }
6064
6064
  };
6065
6065
 
6066
- /**
6067
- * 获取硬件指纹信息
6068
- * @param {number} dwSign - 签名
6069
- * @param {string} strGateWayIP - 网关 IP
6070
- * @returns {string} 硬件指纹信息
6066
+ /**
6067
+ * 获取硬件指纹信息
6068
+ * @param {number} dwSign - 签名
6069
+ * @param {string} strGateWayIP - 网关 IP
6070
+ * @returns {string} 硬件指纹信息
6071
6071
  */
6072
6072
 
6073
6073
 
@@ -6081,12 +6081,12 @@ var CA_ExtInterface = function () {
6081
6081
  }
6082
6082
  };
6083
6083
 
6084
- /**
6085
- * 设置转发策略和代填策略
6086
- * @param {string} strProxyPolicy - 转发策略
6087
- * @param {string} strSSOPolicy - 代填策略
6088
- * @param {string} strGatewayAddress - 网关地址
6089
- * @returns {number} 设置结果
6084
+ /**
6085
+ * 设置转发策略和代填策略
6086
+ * @param {string} strProxyPolicy - 转发策略
6087
+ * @param {string} strSSOPolicy - 代填策略
6088
+ * @param {string} strGatewayAddress - 网关地址
6089
+ * @returns {number} 设置结果
6090
6090
  */
6091
6091
 
6092
6092
 
@@ -6100,11 +6100,11 @@ var CA_ExtInterface = function () {
6100
6100
  }
6101
6101
  };
6102
6102
 
6103
- /**
6104
- * 启动认证信息模块
6105
- * @param {string} strFileName - 文件名
6106
- * @param {string} strXmlData - XML 数据
6107
- * @returns {string} 认证信息
6103
+ /**
6104
+ * 启动认证信息模块
6105
+ * @param {string} strFileName - 文件名
6106
+ * @param {string} strXmlData - XML 数据
6107
+ * @returns {string} 认证信息
6108
6108
  */
6109
6109
 
6110
6110
 
@@ -6118,10 +6118,10 @@ var CA_ExtInterface = function () {
6118
6118
  }
6119
6119
  };
6120
6120
 
6121
- /**
6122
- * 打开 BS 应用
6123
- * @param {string} strUrl - 应用 URL
6124
- * @returns {number} 打开结果
6121
+ /**
6122
+ * 打开 BS 应用
6123
+ * @param {string} strUrl - 应用 URL
6124
+ * @returns {number} 打开结果
6125
6125
  */
6126
6126
 
6127
6127
 
@@ -6135,12 +6135,12 @@ var CA_ExtInterface = function () {
6135
6135
  }
6136
6136
  };
6137
6137
 
6138
- /**
6139
- * 打开 CS 应用
6140
- * @param {string} strGatewayAddress - 网关地址
6141
- * @param {string} strAppFlag - 应用标识
6142
- * @param {string} strAppPath - 应用路径
6143
- * @returns {number} 打开结果
6138
+ /**
6139
+ * 打开 CS 应用
6140
+ * @param {string} strGatewayAddress - 网关地址
6141
+ * @param {string} strAppFlag - 应用标识
6142
+ * @param {string} strAppPath - 应用路径
6143
+ * @returns {number} 打开结果
6144
6144
  */
6145
6145
 
6146
6146
 
@@ -6154,13 +6154,13 @@ var CA_ExtInterface = function () {
6154
6154
  }
6155
6155
  };
6156
6156
 
6157
- /**
6158
- * 设置自动更新策略
6159
- * @param {string} strGatewayAddress - 网关地址
6160
- * @param {number} nGatewayPort - 网关端口
6161
- * @param {string} strUserToken - 用户令牌
6162
- * @param {number} updatedelay - 更新延迟
6163
- * @returns {number} 设置结果
6157
+ /**
6158
+ * 设置自动更新策略
6159
+ * @param {string} strGatewayAddress - 网关地址
6160
+ * @param {number} nGatewayPort - 网关端口
6161
+ * @param {string} strUserToken - 用户令牌
6162
+ * @param {number} updatedelay - 更新延迟
6163
+ * @returns {number} 设置结果
6164
6164
  */
6165
6165
 
6166
6166
 
@@ -6174,10 +6174,10 @@ var CA_ExtInterface = function () {
6174
6174
  }
6175
6175
  };
6176
6176
 
6177
- /**
6178
- * 获取客户端 IP
6179
- * @param {string} strGatewayIP - 网关 IP
6180
- * @returns {string} 客户端 IP
6177
+ /**
6178
+ * 获取客户端 IP
6179
+ * @param {string} strGatewayIP - 网关 IP
6180
+ * @returns {string} 客户端 IP
6181
6181
  */
6182
6182
 
6183
6183
 
@@ -6191,10 +6191,10 @@ var CA_ExtInterface = function () {
6191
6191
  }
6192
6192
  };
6193
6193
 
6194
- /**
6195
- * 登出网关
6196
- * @param {string} strServerIP - 服务器 IP
6197
- * @returns {number} 登出结果
6194
+ /**
6195
+ * 登出网关
6196
+ * @param {string} strServerIP - 服务器 IP
6197
+ * @returns {number} 登出结果
6198
6198
  */
6199
6199
 
6200
6200
 
@@ -6208,11 +6208,11 @@ var CA_ExtInterface = function () {
6208
6208
  }
6209
6209
  };
6210
6210
 
6211
- /**
6212
- * 运行安装包
6213
- * @param {number} lRunType - 运行类型
6214
- * @param {boolean} bIsOnlySSO - 是否仅安装 SSO
6215
- * @returns {number} 运行结果
6211
+ /**
6212
+ * 运行安装包
6213
+ * @param {number} lRunType - 运行类型
6214
+ * @param {boolean} bIsOnlySSO - 是否仅安装 SSO
6215
+ * @returns {number} 运行结果
6216
6216
  */
6217
6217
 
6218
6218
 
@@ -6226,9 +6226,9 @@ var CA_ExtInterface = function () {
6226
6226
  }
6227
6227
  };
6228
6228
 
6229
- /**
6230
- * 获取下载进度
6231
- * @returns {number} 下载进度
6229
+ /**
6230
+ * 获取下载进度
6231
+ * @returns {number} 下载进度
6232
6232
  */
6233
6233
 
6234
6234
 
@@ -6242,9 +6242,9 @@ var CA_ExtInterface = function () {
6242
6242
  }
6243
6243
  };
6244
6244
 
6245
- /**
6246
- * 是否安装完成
6247
- * @returns {boolean} 安装完成状态
6245
+ /**
6246
+ * 是否安装完成
6247
+ * @returns {boolean} 安装完成状态
6248
6248
  */
6249
6249
 
6250
6250
 
@@ -6258,11 +6258,11 @@ var CA_ExtInterface = function () {
6258
6258
  }
6259
6259
  };
6260
6260
 
6261
- /**
6262
- * 初始化签包对象
6263
- * @param {string} strAlgType - 算法类型
6264
- * @param {string} strAuxParam - 辅助参数
6265
- * @returns {number} 初始化结果
6261
+ /**
6262
+ * 初始化签包对象
6263
+ * @param {string} strAlgType - 算法类型
6264
+ * @param {string} strAuxParam - 辅助参数
6265
+ * @returns {number} 初始化结果
6266
6266
  */
6267
6267
 
6268
6268
 
@@ -6276,10 +6276,10 @@ var CA_ExtInterface = function () {
6276
6276
  }
6277
6277
  };
6278
6278
 
6279
- /**
6280
- * 设置摘要算法
6281
- * @param {string} strDigestAlg - 摘要算法
6282
- * @returns {number} 设置结果
6279
+ /**
6280
+ * 设置摘要算法
6281
+ * @param {string} strDigestAlg - 摘要算法
6282
+ * @returns {number} 设置结果
6283
6283
  */
6284
6284
 
6285
6285
 
@@ -6293,10 +6293,10 @@ var CA_ExtInterface = function () {
6293
6293
  }
6294
6294
  };
6295
6295
 
6296
- /**
6297
- * 设置单证书是否弹出对话框
6298
- * @param {number} isChoose - 是否弹出对话框
6299
- * @returns {number} 设置结果
6296
+ /**
6297
+ * 设置单证书是否弹出对话框
6298
+ * @param {number} isChoose - 是否弹出对话框
6299
+ * @returns {number} 设置结果
6300
6300
  */
6301
6301
 
6302
6302
 
@@ -6310,11 +6310,11 @@ var CA_ExtInterface = function () {
6310
6310
  }
6311
6311
  };
6312
6312
 
6313
- /**
6314
- * 添加证书过滤条件
6315
- * @param {number} ulType - 过滤类型
6316
- * @param {string} strValue - 过滤值
6317
- * @returns {number} 添加结果
6313
+ /**
6314
+ * 添加证书过滤条件
6315
+ * @param {number} ulType - 过滤类型
6316
+ * @param {string} strValue - 过滤值
6317
+ * @returns {number} 添加结果
6318
6318
  */
6319
6319
 
6320
6320
 
@@ -6328,9 +6328,9 @@ var CA_ExtInterface = function () {
6328
6328
  }
6329
6329
  };
6330
6330
 
6331
- /**
6332
- * 清除所有过滤条件
6333
- * @returns {number} 清除结果
6331
+ /**
6332
+ * 清除所有过滤条件
6333
+ * @returns {number} 清除结果
6334
6334
  */
6335
6335
 
6336
6336
 
@@ -6344,10 +6344,10 @@ var CA_ExtInterface = function () {
6344
6344
  }
6345
6345
  };
6346
6346
 
6347
- /**
6348
- * P1 签名
6349
- * @param {string} strValueBase64 - 待签名的 Base64 字符串
6350
- * @returns {string} 签名结果
6347
+ /**
6348
+ * P1 签名
6349
+ * @param {string} strValueBase64 - 待签名的 Base64 字符串
6350
+ * @returns {string} 签名结果
6351
6351
  */
6352
6352
 
6353
6353
 
@@ -6361,10 +6361,10 @@ var CA_ExtInterface = function () {
6361
6361
  }
6362
6362
  };
6363
6363
 
6364
- /**
6365
- * P1 签名字符串
6366
- * @param {string} strValue - 待签名的字符串
6367
- * @returns {string} 签名结果
6364
+ /**
6365
+ * P1 签名字符串
6366
+ * @param {string} strValue - 待签名的字符串
6367
+ * @returns {string} 签名结果
6368
6368
  */
6369
6369
 
6370
6370
 
@@ -6378,12 +6378,12 @@ var CA_ExtInterface = function () {
6378
6378
  }
6379
6379
  };
6380
6380
 
6381
- /**
6382
- * P7 签名
6383
- * @param {string} strValueBase64 - 待签名的 Base64 字符串
6384
- * @param {boolean} isDetach - 是否分离签名
6385
- * @param {boolean} isIncludeCert - 是否包含证书
6386
- * @returns {string} 签名结果
6381
+ /**
6382
+ * P7 签名
6383
+ * @param {string} strValueBase64 - 待签名的 Base64 字符串
6384
+ * @param {boolean} isDetach - 是否分离签名
6385
+ * @param {boolean} isIncludeCert - 是否包含证书
6386
+ * @returns {string} 签名结果
6387
6387
  */
6388
6388
 
6389
6389
 
@@ -6397,12 +6397,12 @@ var CA_ExtInterface = function () {
6397
6397
  }
6398
6398
  };
6399
6399
 
6400
- /**
6401
- * P7 签名字符串
6402
- * @param {string} strValue - 待签名的字符串
6403
- * @param {boolean} isDetach - 是否分离签名
6404
- * @param {boolean} isIncludeCert - 是否包含证书
6405
- * @returns {string} 签名结果
6400
+ /**
6401
+ * P7 签名字符串
6402
+ * @param {string} strValue - 待签名的字符串
6403
+ * @param {boolean} isDetach - 是否分离签名
6404
+ * @param {boolean} isIncludeCert - 是否包含证书
6405
+ * @returns {string} 签名结果
6406
6406
  */
6407
6407
 
6408
6408
 
@@ -6416,9 +6416,9 @@ var CA_ExtInterface = function () {
6416
6416
  }
6417
6417
  };
6418
6418
 
6419
- /**
6420
- * 释放签名对象
6421
- * @returns {number} 释放结果
6419
+ /**
6420
+ * 释放签名对象
6421
+ * @returns {number} 释放结果
6422
6422
  */
6423
6423
 
6424
6424
 
@@ -6432,9 +6432,9 @@ var CA_ExtInterface = function () {
6432
6432
  }
6433
6433
  };
6434
6434
 
6435
- /**
6436
- * 获取签名版本
6437
- * @returns {string} 签名版本
6435
+ /**
6436
+ * 获取签名版本
6437
+ * @returns {string} 签名版本
6438
6438
  */
6439
6439
 
6440
6440
 
@@ -6448,9 +6448,9 @@ var CA_ExtInterface = function () {
6448
6448
  }
6449
6449
  };
6450
6450
 
6451
- /**
6452
- * 获取签名证书
6453
- * @returns {string} 签名证书
6451
+ /**
6452
+ * 获取签名证书
6453
+ * @returns {string} 签名证书
6454
6454
  */
6455
6455
 
6456
6456
 
@@ -6464,9 +6464,9 @@ var CA_ExtInterface = function () {
6464
6464
  }
6465
6465
  };
6466
6466
 
6467
- /**
6468
- * 获取错误码
6469
- * @returns {number} 错误码
6467
+ /**
6468
+ * 获取错误码
6469
+ * @returns {number} 错误码
6470
6470
  */
6471
6471
 
6472
6472
 
@@ -6480,9 +6480,9 @@ var CA_ExtInterface = function () {
6480
6480
  }
6481
6481
  };
6482
6482
 
6483
- /**
6484
- * 获取错误信息
6485
- * @returns {string} 错误信息
6483
+ /**
6484
+ * 获取错误信息
6485
+ * @returns {string} 错误信息
6486
6486
  */
6487
6487
 
6488
6488
 
@@ -6496,9 +6496,9 @@ var CA_ExtInterface = function () {
6496
6496
  }
6497
6497
  };
6498
6498
 
6499
- /**
6500
- * 销毁认证对象
6501
- * @returns {number} 销毁结果
6499
+ /**
6500
+ * 销毁认证对象
6501
+ * @returns {number} 销毁结果
6502
6502
  */
6503
6503
 
6504
6504
 
@@ -6512,9 +6512,9 @@ var CA_ExtInterface = function () {
6512
6512
  }
6513
6513
  };
6514
6514
 
6515
- /**
6516
- * 获取证书类型
6517
- * @returns {string} 证书类型
6515
+ /**
6516
+ * 获取证书类型
6517
+ * @returns {string} 证书类型
6518
6518
  */
6519
6519
 
6520
6520
 
@@ -6528,9 +6528,9 @@ var CA_ExtInterface = function () {
6528
6528
  }
6529
6529
  };
6530
6530
 
6531
- /**
6532
- * 获取签名摘要算法
6533
- * @returns {string} 签名摘要算法
6531
+ /**
6532
+ * 获取签名摘要算法
6533
+ * @returns {string} 签名摘要算法
6534
6534
  */
6535
6535
 
6536
6536
 
@@ -6544,11 +6544,11 @@ var CA_ExtInterface = function () {
6544
6544
  }
6545
6545
  };
6546
6546
 
6547
- /**
6548
- * 使能调用序列
6549
- * @param {boolean} bCallQueueEnable - 是否使能调用序列
6550
- * @param {boolean} bHeadInfoEnable - 是否使能头部信息
6551
- * @returns {number} 使能结果
6547
+ /**
6548
+ * 使能调用序列
6549
+ * @param {boolean} bCallQueueEnable - 是否使能调用序列
6550
+ * @param {boolean} bHeadInfoEnable - 是否使能头部信息
6551
+ * @returns {number} 使能结果
6552
6552
  */
6553
6553
 
6554
6554
 
@@ -6562,9 +6562,9 @@ var CA_ExtInterface = function () {
6562
6562
  }
6563
6563
  };
6564
6564
 
6565
- /**
6566
- * 清空调用序列结果
6567
- * @returns {number} 清空调用序列结果
6565
+ /**
6566
+ * 清空调用序列结果
6567
+ * @returns {number} 清空调用序列结果
6568
6568
  */
6569
6569
 
6570
6570
 
@@ -6578,9 +6578,9 @@ var CA_ExtInterface = function () {
6578
6578
  }
6579
6579
  };
6580
6580
 
6581
- /**
6582
- * 获取调用序列结果
6583
- * @returns {string} 调用序列结果
6581
+ /**
6582
+ * 获取调用序列结果
6583
+ * @returns {string} 调用序列结果
6584
6584
  */
6585
6585
 
6586
6586
 
@@ -6594,12 +6594,12 @@ var CA_ExtInterface = function () {
6594
6594
  }
6595
6595
  };
6596
6596
 
6597
- /**
6598
- * 客户端安全策略检查
6599
- * @param {string} strGatewayAddress - 网关地址
6600
- * @param {number} usGatewayPort - 网关端口
6601
- * @param {string} strSecurityPolicys - 安全策略
6602
- * @returns {boolean} 检查结果
6597
+ /**
6598
+ * 客户端安全策略检查
6599
+ * @param {string} strGatewayAddress - 网关地址
6600
+ * @param {number} usGatewayPort - 网关端口
6601
+ * @param {string} strSecurityPolicys - 安全策略
6602
+ * @returns {boolean} 检查结果
6603
6603
  */
6604
6604
 
6605
6605
 
@@ -6613,9 +6613,9 @@ var CA_ExtInterface = function () {
6613
6613
  }
6614
6614
  };
6615
6615
 
6616
- /**
6617
- * 获取通讯协议版本
6618
- * @returns {string} 通讯协议版本
6616
+ /**
6617
+ * 获取通讯协议版本
6618
+ * @returns {string} 通讯协议版本
6619
6619
  */
6620
6620
 
6621
6621
 
@@ -6629,13 +6629,13 @@ var CA_ExtInterface = function () {
6629
6629
  }
6630
6630
  };
6631
6631
 
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} 修改结果
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} 修改结果
6639
6639
  */
6640
6640
 
6641
6641
 
@@ -6649,10 +6649,10 @@ var CA_ExtInterface = function () {
6649
6649
  }
6650
6650
  };
6651
6651
 
6652
- /**
6653
- * 等待策略设置完毕
6654
- * @param {string} strGatewayAddress - 网关地址
6655
- * @returns {number} 等待结果
6652
+ /**
6653
+ * 等待策略设置完毕
6654
+ * @param {string} strGatewayAddress - 网关地址
6655
+ * @returns {number} 等待结果
6656
6656
  */
6657
6657
 
6658
6658
 
@@ -6666,10 +6666,10 @@ var CA_ExtInterface = function () {
6666
6666
  }
6667
6667
  };
6668
6668
 
6669
- /**
6670
- * 获取会话 Token
6671
- * @param {string} strGatewayAddress - 网关地址
6672
- * @returns {string} 会话 Token
6669
+ /**
6670
+ * 获取会话 Token
6671
+ * @param {string} strGatewayAddress - 网关地址
6672
+ * @returns {string} 会话 Token
6673
6673
  */
6674
6674
 
6675
6675
 
@@ -6683,9 +6683,9 @@ var CA_ExtInterface = function () {
6683
6683
  }
6684
6684
  };
6685
6685
 
6686
- /**
6687
- * 获取控件版本
6688
- * @returns {string} 控件版本
6686
+ /**
6687
+ * 获取控件版本
6688
+ * @returns {string} 控件版本
6689
6689
  */
6690
6690
 
6691
6691
 
@@ -6699,10 +6699,10 @@ var CA_ExtInterface = function () {
6699
6699
  }
6700
6700
  };
6701
6701
 
6702
- /**
6703
- * 设置语言资源
6704
- * @param {string} strLanguage - 语言资源
6705
- * @returns {number} 设置结果
6702
+ /**
6703
+ * 设置语言资源
6704
+ * @param {string} strLanguage - 语言资源
6705
+ * @returns {number} 设置结果
6706
6706
  */
6707
6707
 
6708
6708
 
@@ -6716,12 +6716,12 @@ var CA_ExtInterface = function () {
6716
6716
  }
6717
6717
  };
6718
6718
 
6719
- /**
6720
- * 获取用户属性
6721
- * @param {string} strGatewayAddress - 网关地址
6722
- * @param {string} strAppFlag - 应用标识
6723
- * @param {string} strAttributeName - 属性名称
6724
- * @returns {string} 用户属性值
6719
+ /**
6720
+ * 获取用户属性
6721
+ * @param {string} strGatewayAddress - 网关地址
6722
+ * @param {string} strAppFlag - 应用标识
6723
+ * @param {string} strAttributeName - 属性名称
6724
+ * @returns {string} 用户属性值
6725
6725
  */
6726
6726
 
6727
6727
 
@@ -6735,9 +6735,9 @@ var CA_ExtInterface = function () {
6735
6735
  }
6736
6736
  };
6737
6737
 
6738
- /**
6739
- * 获取签名加密 PIN 码
6740
- * @returns {string} 签名加密 PIN 码
6738
+ /**
6739
+ * 获取签名加密 PIN 码
6740
+ * @returns {string} 签名加密 PIN 码
6741
6741
  */
6742
6742
 
6743
6743
 
@@ -6750,6 +6750,186 @@ var CA_ExtInterface = function () {
6750
6750
  return result.value;
6751
6751
  }
6752
6752
  };
6753
+ /*
6754
+ *曙光四川CA
6755
+ *'SOF_GetUserList' 证书列表
6756
+ *'SOF_ExportUserCert' 导出证书
6757
+ *'SOF_GetCertInfo': 获取证书信息
6758
+ *'SOF_GenRandom': 生成随机数
6759
+ *'SOF_SignData': 获取证书签名
6760
+ *'SOF_Login': 登录证书
6761
+ *'SOF_GetPinRetryCount': 剩余次数
6762
+ */
6763
+ /**
6764
+ *
6765
+ * 获取webSocket消息
6766
+ * @returns {string}
6767
+ */
6768
+
6769
+
6770
+ CA_ExtInterface.prototype.getMessage = function getMessage(_ref) {
6771
+ var _this = this;
6772
+
6773
+ var action = _ref.action,
6774
+ _ref$params = _ref.params,
6775
+ params = _ref$params === undefined ? [] : _ref$params;
6776
+
6777
+ return new Promise(function (resolve, reject) {
6778
+ var obj = JSON.stringify({
6779
+ 'action': action,
6780
+ 'params': params
6781
+ });
6782
+ if (!_this.webSocket) {
6783
+ _this.webSocket = new WebSocket('wss://localhost:36171');
6784
+ _this.webSocket.onerror = function (event) {
6785
+ _this.webSocket = null;
6786
+ reject(event);
6787
+ };
6788
+ _this.webSocket.onopen = function () {
6789
+ _this.webSocket.send(obj);
6790
+ };
6791
+ } else {
6792
+ _this.webSocket.send(obj);
6793
+ }
6794
+ _this.webSocket.onclose = function (event) {
6795
+ _this.webSocket = null;
6796
+ };
6797
+ _this.webSocket.onmessage = function (event) {
6798
+ resolve(JSON.parse(event.data));
6799
+ };
6800
+ });
6801
+ };
6802
+ /**
6803
+ *
6804
+ * base64解码
6805
+ * @returns {string} base64解码后的字符串
6806
+ */
6807
+
6808
+
6809
+ CA_ExtInterface.prototype.base64Decode = function base64Decode(res) {
6810
+ var _keyStr = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
6811
+ var val = '';
6812
+ var chr1 = void 0;
6813
+ var chr2 = void 0;
6814
+ var chr3 = void 0;
6815
+ var enc1 = void 0;
6816
+ var enc2 = void 0;
6817
+ var enc3 = void 0;
6818
+ var enc4 = void 0;
6819
+ var i = 0;
6820
+ res = res.replace(/[^A-Za-z0-9\+\/\=]/g, '');
6821
+ while (i < res.length) {
6822
+ enc1 = _keyStr.indexOf(res.charAt(i++));
6823
+ enc2 = _keyStr.indexOf(res.charAt(i++));
6824
+ enc3 = _keyStr.indexOf(res.charAt(i++));
6825
+ enc4 = _keyStr.indexOf(res.charAt(i++));
6826
+ chr1 = enc1 << 2 | enc2 >> 4;
6827
+ chr2 = (enc2 & 15) << 4 | enc3 >> 2;
6828
+ chr3 = (enc3 & 3) << 6 | enc4;
6829
+ val = val + String.fromCharCode(chr1);
6830
+ if (enc3 !== 64) {
6831
+ val = val + String.fromCharCode(chr2);
6832
+ }
6833
+ if (enc4 !== 64) {
6834
+ val = val + String.fromCharCode(chr3);
6835
+ }
6836
+ }
6837
+ val = this.utf8_decode(val);
6838
+ return val;
6839
+ };
6840
+ /**
6841
+ *
6842
+ * base64编码
6843
+ * @returns {string} base64编码后的字符串
6844
+ */
6845
+
6846
+
6847
+ CA_ExtInterface.prototype.base64Encode = function base64Encode(res) {
6848
+ var _keyStr = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
6849
+ var val = '';
6850
+ var chr1 = void 0;
6851
+ var chr2 = void 0;
6852
+ var chr3 = void 0;
6853
+ var enc1 = void 0;
6854
+ var enc2 = void 0;
6855
+ var enc3 = void 0;
6856
+ var enc4 = void 0;
6857
+ var i = 0;
6858
+ res = this.utf8_encode(res);
6859
+ while (i < res.length) {
6860
+ chr1 = res.charCodeAt(i++);
6861
+ chr2 = res.charCodeAt(i++);
6862
+ chr3 = res.charCodeAt(i++);
6863
+ enc1 = chr1 >> 2;
6864
+ enc2 = (chr1 & 3) << 4 | chr2 >> 4;
6865
+ enc3 = (chr2 & 15) << 2 | chr3 >> 6;
6866
+ enc4 = chr3 & 63;
6867
+ if (isNaN(chr2)) {
6868
+ enc3 = enc4 = 64;
6869
+ } else if (isNaN(chr3)) {
6870
+ enc4 = 64;
6871
+ }
6872
+ val = val + _keyStr.charAt(enc1) + _keyStr.charAt(enc2) + _keyStr.charAt(enc3) + _keyStr.charAt(enc4);
6873
+ }
6874
+ return val;
6875
+ };
6876
+ /**
6877
+ *
6878
+ * utf8解码
6879
+ * @returns {string} utf8解码后的字符串
6880
+ */
6881
+
6882
+
6883
+ CA_ExtInterface.prototype.utf8_decode = function utf8_decode(utftext) {
6884
+ var string = '';
6885
+ var i = 0;
6886
+ var c = 0;
6887
+ // let c1 = 0;
6888
+ var c2 = 0;
6889
+ var c3 = 0;
6890
+ while (i < utftext.length) {
6891
+ c = utftext.charCodeAt(i);
6892
+ if (c < 128) {
6893
+ string += String.fromCharCode(c);
6894
+ i++;
6895
+ } else if (c > 191 && c < 224) {
6896
+ c2 = utftext.charCodeAt(i + 1);
6897
+ string += String.fromCharCode((c & 31) << 6 | c2 & 63);
6898
+ i += 2;
6899
+ } else {
6900
+ c2 = utftext.charCodeAt(i + 1);
6901
+ c3 = utftext.charCodeAt(i + 2);
6902
+ string += String.fromCharCode((c & 15) << 12 | (c2 & 63) << 6 | c3 & 63);
6903
+ i += 3;
6904
+ }
6905
+ }
6906
+ return string;
6907
+ };
6908
+ /**
6909
+ *
6910
+ * utf8编码
6911
+ * @returns {string} utf8编码后的字符串
6912
+ */
6913
+
6914
+
6915
+ CA_ExtInterface.prototype.utf8_encode = function utf8_encode(string) {
6916
+ string = string.replace(/\r\n/g, '\n');
6917
+ var utftext = '';
6918
+ for (var n = 0; n < string.length; n++) {
6919
+ var c = string.charCodeAt(n);
6920
+ if (c < 128) {
6921
+ utftext += String.fromCharCode(c);
6922
+ } else if (c > 127 && c < 2048) {
6923
+ utftext += String.fromCharCode(c >> 6 | 192);
6924
+ utftext += String.fromCharCode(c & 63 | 128);
6925
+ } else {
6926
+ utftext += String.fromCharCode(c >> 12 | 224);
6927
+ utftext += String.fromCharCode(c >> 6 & 63 | 128);
6928
+ utftext += String.fromCharCode(c & 63 | 128);
6929
+ }
6930
+ }
6931
+ return utftext;
6932
+ };
6753
6933
 
6754
6934
  return CA_ExtInterface;
6755
6935
  }();
@@ -6763,6 +6943,8 @@ var caPlugin = new CA_ExtInterface();
6763
6943
  //
6764
6944
  //
6765
6945
  //
6946
+ //
6947
+ //
6766
6948
 
6767
6949
 
6768
6950
 
@@ -6770,6 +6952,11 @@ var caPlugin = new CA_ExtInterface();
6770
6952
  /* harmony default export */ var calogin_src_mainvue_type_script_lang_js_ = ({
6771
6953
  name: 'EsCaLogin',
6772
6954
  props: {
6955
+ installPath: String,
6956
+ caModel: {
6957
+ type: String,
6958
+ required: true
6959
+ }, // CA登录方式,JIDA-吉大正元,SHU_GUANG-曙光,SICHUAN-四川
6773
6960
  identifyingId: {
6774
6961
  type: String,
6775
6962
  default: function _default() {
@@ -6792,7 +6979,12 @@ var caPlugin = new CA_ExtInterface();
6792
6979
  },
6793
6980
  data: function data() {
6794
6981
  return {
6795
- signedData: ''
6982
+ userList: [],
6983
+ signedData: '', //证书原文
6984
+ b64originData: '', //签名原文
6985
+ b64SignData: '', //签名结果
6986
+ idCard: '',
6987
+ certId: ''
6796
6988
  };
6797
6989
  },
6798
6990
 
@@ -6814,58 +7006,310 @@ var caPlugin = new CA_ExtInterface();
6814
7006
  methods: {
6815
7007
  init: function init() {
6816
7008
  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
- }
7009
+ // 创建 object 元素
7010
+ var pnxClientElement = document.createElement('object');
7011
+ pnxClientElement.classid = 'clsid:9DD991F7-6FB0-4004-95A4-0A55006A8C42';
7012
+ pnxClientElement.width = '0';
7013
+ pnxClientElement.height = '0';
7014
+ pnxClientElement.id = 'PNXClient';
7015
+ pnxClientElement.style.position = 'absolute';
7016
+ document.body.appendChild(pnxClientElement);
6823
7017
  }
6824
7018
  },
6825
7019
  getCertificate: function getCertificate() {
7020
+ var _this = this;
7021
+
7022
+ this.$emit('click');
6826
7023
  // 检查 PNXClient 是否存在
6827
7024
  if (!window.PNXClient) {
6828
7025
  this.$message.error('控件加载失败,请刷新页面重试!');
7026
+ this.$emit('error', { code: 0, msg: '控件加载失败,请刷新页面重试!' });
6829
7027
  return;
6830
7028
  }
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('用户取消操作!');
7029
+ switch (this.caModel) {
7030
+ //吉大正元:
7031
+ case 'JIDA':
7032
+ try {
7033
+ src_plugin.getVersion();
7034
+ } catch (e) {
7035
+ if (this.installPath) {
7036
+ this.$confirm('未安装控件,请进行安装控件!', '控件下载', {
7037
+ confirmButtonText: '确定',
7038
+ cancelButtonText: '取消',
7039
+ type: 'warning'
7040
+ }).then(function () {
7041
+ window.open(_this.installPath);
7042
+ }).catch(function () {});
7043
+ } else {
7044
+ this.$message.error('未安装控件,请进行安装控件!');
7045
+ }
7046
+ this.$emit('error', {
7047
+ type: 1,
7048
+ msg: '未安装控件,请进行安装控件!'
7049
+ });
6853
7050
  return;
6854
- } else if (errorCode === -536870815 || errorCode === 3758096481) {
6855
- this.$message.error('没有找到有效的证书,如果使用的是KEY,请确认已经插入key!');
7051
+ }
7052
+ try {
7053
+ // 清除之前的过滤器
7054
+ src_plugin.clearFilter();
7055
+ // 初始化vctk控件
7056
+ src_plugin.initialize('', this.param);
7057
+ // 控制证书为一个时,不弹出证书选择框
7058
+ src_plugin.setChooseSingleCert(1);
7059
+
7060
+ // 生成签名信息
7061
+ this.signedData = src_plugin.p7SignString(this.identifyingId, true, true);
7062
+
7063
+ //获取错误码
7064
+ var errorCode = Number(src_plugin.getLastError());
7065
+ if (errorCode !== 0) {
7066
+ if (errorCode === 3758096386 || errorCode === 2148532334) {
7067
+ this.$message.error('用户取消操作!');
7068
+ this.$emit('error', { code: 52, msg: '用户取消操作!' });
7069
+ return;
7070
+ } else if (errorCode === -536870815 || errorCode === 3758096481) {
7071
+ this.$message.error('没有找到有效的证书,如果使用的是KEY,请确认已经插入key!');
7072
+ this.$emit('error', {
7073
+ type: 2,
7074
+ msg: '没有找到有效的证书,如果使用的是KEY,请确认已经插入key!'
7075
+ });
7076
+ return;
7077
+ } else {
7078
+ var msg = src_plugin.getLastErrorMessage();
7079
+ this.$message.error(msg);
7080
+ this.$emit('error', { code: 3, msg: msg });
7081
+ return;
7082
+ }
7083
+ }
7084
+ this.success && this.success(this.signedData);
7085
+ return this.signedData;
7086
+ } catch (error) {
7087
+ // 捕获其他可能的异常
7088
+ this.$message.error('\u64CD\u4F5C\u5931\u8D25: ' + error.message);
7089
+ this.$emit('error', { code: 4, msg: error.message });
7090
+ }
7091
+ break;
7092
+ //曙光:
7093
+ case 'SHU_GUANG':
7094
+ src_plugin.getMessage({ action: 'SOF_GetUserList' }).then(function (res) {
7095
+ var retCode = res.retCode,
7096
+ retMsg = res.retMsg,
7097
+ retValue = res.retValue;
7098
+
7099
+ if (!retValue || retCode !== 0) {
7100
+ _this.$message.error(retCode !== 0 ? retMsg : '未找到证书,请插入证书UKEY!');
7101
+ _this.$emit('error', {
7102
+ type: 2,
7103
+ msg: retCode !== 0 ? retMsg : '未找到证书,请插入证书UKEY!'
7104
+ });
7105
+ return;
7106
+ }
7107
+ var userList = retValue.split('&&&');
7108
+ if (userList.length === 1) {
7109
+ //如果只有一个证书,直接获取证书信息
7110
+ _this.certId = userList[0].split('||')[1];
7111
+ _this.getCertInfo(_this.certId);
7112
+ } else {
7113
+ // 如果有多个证书,弹出选择框
7114
+ _this.userList = userList.map(function (item) {
7115
+ var _item$split = item.split('||'),
7116
+ name = _item$split[0],
7117
+ certId = _item$split[1];
7118
+
7119
+ return { label: name, value: certId };
7120
+ });
7121
+ _this.$prompt('', '证书选择', {
7122
+ confirmButtonText: '确定',
7123
+ cancelButtonText: '取消',
7124
+ inputPattern: /^.+$/,
7125
+ inputErrorMessage: '请选择证书!',
7126
+ selectData: _this.userList
7127
+ }).then(function (res) {
7128
+ _this.certId = res.value;
7129
+ _this.getCertInfo(_this.certId);
7130
+ }).catch(function () {
7131
+ _this.$emit('error', { code: 52, msg: '用户取消操作!' });
7132
+ });
7133
+ }
7134
+ }).catch(function (err) {
7135
+ if (_this.installPath) {
7136
+ _this.$confirm('请检查是否安装并启用证书助手控件!', '控件下载', {
7137
+ confirmButtonText: '确定',
7138
+ cancelButtonText: '取消',
7139
+ type: 'warning'
7140
+ }).then(function () {
7141
+ window.open(_this.installPath);
7142
+ }).catch(function () {});
7143
+ } else {
7144
+ _this.$message.error('请检查是否安装并启用证书助手控件!');
7145
+ }
7146
+ _this.$emit('error', {
7147
+ type: 1,
7148
+ msg: '请检查是否安装并启用证书助手控件!'
7149
+ });
7150
+ });
7151
+ break;
7152
+ //四川:
7153
+ case 'SICHUAN':
7154
+ this.$message.warning('四川CA登录方式对接中!');
7155
+ this.$emit('error');
7156
+ break;
7157
+ }
7158
+ },
7159
+ getCertInfo: function getCertInfo(name) {
7160
+ var _this2 = this;
7161
+
7162
+ src_plugin.getMessage({ action: 'SOF_ExportUserCert', params: [name] }).then(function (res) {
7163
+ var retCode = res.retCode,
7164
+ retMsg = res.retMsg,
7165
+ retValue = res.retValue;
7166
+
7167
+ if (retCode !== 0) {
7168
+ _this2.$message.error(retMsg);
7169
+ _this2.$emit('error', { code: retCode, msg: retMsg });
7170
+ return;
7171
+ }
7172
+ //设置证书原文
7173
+ _this2.signedData = retValue.replace('-----BEGIN CERTIFICATE-----', '').replace('-----END CERTIFICATE-----', '');
7174
+ src_plugin.getMessage({
7175
+ action: 'SOF_GetCertInfo',
7176
+ params: [retValue, 'SGD_CERT_SUBJECT_SN']
7177
+ }).then(function (res) {
7178
+ var retCode = res.retCode,
7179
+ retMsg = res.retMsg,
7180
+ retValue = res.retValue;
7181
+
7182
+ if (retCode !== 0) {
7183
+ _this2.$message.error(retMsg);
7184
+ _this2.$emit('error', { code: retCode, msg: retMsg });
6856
7185
  return;
6857
- } else {
6858
- this.$message.error(src_plugin.getLastErrorMessage());
7186
+ }
7187
+ _this2.idCard = src_plugin.base64Decode(retValue);
7188
+ src_plugin.getMessage({
7189
+ action: 'SOF_GenRandom',
7190
+ params: [16]
7191
+ }).then(function (res) {
7192
+ var retCode = res.retCode,
7193
+ retMsg = res.retMsg,
7194
+ retValue = res.retValue;
7195
+
7196
+ if (retCode !== 0) {
7197
+ _this2.$message.error(retMsg);
7198
+ _this2.$emit('error', { code: retCode, msg: retMsg });
7199
+ return;
7200
+ }
7201
+ _this2.b64originData = retValue + _this2.identifyingId;
7202
+ src_plugin.getMessage({
7203
+ action: 'SOF_SignData',
7204
+ params: [_this2.certId, src_plugin.base64Encode(_this2.b64originData)]
7205
+ }).then(function (res) {
7206
+ var retCode = res.retCode,
7207
+ retMsg = res.retMsg,
7208
+ retValue = res.retValue;
7209
+
7210
+ if (retCode !== 0) {
7211
+ if (retCode === 184550659) {
7212
+ _this2.cerLogin();
7213
+ } else {
7214
+ _this2.$message.error(retMsg);
7215
+ _this2.$emit('error', { code: retCode, msg: retMsg });
7216
+ }
7217
+ return;
7218
+ }
7219
+ _this2.b64SignData = retValue;
7220
+ _this2.success && _this2.success({
7221
+ identifyingId: _this2.identifyingId,
7222
+ signedData: _this2.signedData, //证书原文
7223
+ b64originData: _this2.b64originData, //签名原文
7224
+ b64SignData: _this2.b64SignData, //签名结果
7225
+ idCard: _this2.idCard,
7226
+ certId: _this2.certId
7227
+ });
7228
+ }).catch(function (err) {
7229
+ _this2.$emit('error', { code: 5, msg: err });
7230
+ });
7231
+ }).catch(function (err) {
7232
+ _this2.$emit('error', { code: 6, msg: err });
7233
+ });
7234
+ }).catch(function (err) {
7235
+ _this2.$emit('error', { code: 7, msg: err });
7236
+ });
7237
+ }).catch(function (err) {
7238
+ _this2.$emit('error', { code: 8, msg: err });
7239
+ });
7240
+ },
7241
+ cerLogin: function cerLogin() {
7242
+ var _this3 = this;
7243
+
7244
+ var title = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '提示';
7245
+
7246
+ this.$prompt('输入密码', title, {
7247
+ confirmButtonText: '确定',
7248
+ cancelButtonText: '取消',
7249
+ inputPattern: /^[[\x21-\x7E]{6,16}$/,
7250
+ inputErrorMessage: '请输入密码'
7251
+ }).then(function (_ref) {
7252
+ var value = _ref.value;
7253
+
7254
+ src_plugin.getMessage({
7255
+ action: 'SOF_Login',
7256
+ params: [_this3.certId, value]
7257
+ }).then(function (res) {
7258
+ var retCode = res.retCode,
7259
+ retMsg = res.retMsg,
7260
+ retValue = res.retValue;
7261
+
7262
+ if (retCode !== 0 || retValue === false) {
7263
+ if (retValue === false) {
7264
+ src_plugin.getMessage({
7265
+ action: 'SOF_GetPinRetryCount',
7266
+ params: [_this3.certId]
7267
+ }).then(function (res) {
7268
+ var retValue = res.retValue;
7269
+
7270
+ _this3.cerLogin('\u767B\u5F55\u5931\u8D25\uFF01\u5269\u4F59\u53E3\u4EE4\u91CD\u8BD5\u6B21\u6570\uFF1A' + retValue + '\u6B21');
7271
+ });
7272
+ return;
7273
+ }
7274
+ _this3.$message.error(retMsg);
7275
+ _this3.$emit('error', { code: retCode, msg: retMsg });
6859
7276
  return;
6860
7277
  }
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
- }
7278
+ src_plugin.getMessage({
7279
+ action: 'SOF_SignData',
7280
+ params: [_this3.certId, src_plugin.base64Encode(_this3.b64originData)]
7281
+ }).then(function (res) {
7282
+ var retCode = res.retCode,
7283
+ retMsg = res.retMsg,
7284
+ retValue = res.retValue;
7285
+
7286
+ if (retCode !== 0) {
7287
+ if (retCode === 184550659) {
7288
+ _this3.cerLogin();
7289
+ } else {
7290
+ _this3.$message.error(retMsg);
7291
+ _this3.$emit('error', { code: retCode, msg: retMsg });
7292
+ }
7293
+ return;
7294
+ }
7295
+ _this3.b64SignData = retValue;
7296
+ _this3.success && _this3.success({
7297
+ identifyingId: _this3.identifyingId,
7298
+ signedData: _this3.signedData, //证书原文
7299
+ b64originData: _this3.b64originData, //签名原文
7300
+ b64SignData: _this3.b64SignData, //签名结果
7301
+ idCard: _this3.idCard,
7302
+ certId: _this3.certId
7303
+ });
7304
+ }).catch(function (err) {
7305
+ _this3.$emit('error', { code: 9, msg: err });
7306
+ });
7307
+ }).catch(function () {
7308
+ _this3.$emit('error', { code: 10, msg: err });
7309
+ });
7310
+ }).catch(function () {
7311
+ _this3.$emit('error', { code: 11, msg: err });
7312
+ });
6869
7313
  }
6870
7314
  }
6871
7315
  });
@@ -6881,11 +7325,11 @@ var caPlugin = new CA_ExtInterface();
6881
7325
 
6882
7326
  var calogin_src_main_component = normalizeComponent(
6883
7327
  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,
7328
+ mainvue_type_template_id_4b7c35fc_scoped_true_render,
7329
+ mainvue_type_template_id_4b7c35fc_scoped_true_staticRenderFns,
6886
7330
  false,
6887
7331
  null,
6888
- "e879a944",
7332
+ "4b7c35fc",
6889
7333
  null
6890
7334
 
6891
7335
  )
@@ -26293,8 +26737,8 @@ form_src_main.install = function (Vue) {
26293
26737
  };
26294
26738
 
26295
26739
  /* harmony default export */ var packages_form = (form_src_main);
26296
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=5f8259cf&
26297
- var mainvue_type_template_id_5f8259cf_render = function () {
26740
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=9a490c28&
26741
+ var mainvue_type_template_id_9a490c28_render = function () {
26298
26742
  var _vm = this
26299
26743
  var _h = _vm.$createElement
26300
26744
  var _c = _vm._self._c || _h
@@ -28850,11 +29294,11 @@ var mainvue_type_template_id_5f8259cf_render = function () {
28850
29294
  )
28851
29295
  : _vm._e()
28852
29296
  }
28853
- var mainvue_type_template_id_5f8259cf_staticRenderFns = []
28854
- mainvue_type_template_id_5f8259cf_render._withStripped = true
29297
+ var mainvue_type_template_id_9a490c28_staticRenderFns = []
29298
+ mainvue_type_template_id_9a490c28_render._withStripped = true
28855
29299
 
28856
29300
 
28857
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=5f8259cf&
29301
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=9a490c28&
28858
29302
 
28859
29303
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=fdf49dec&
28860
29304
  var CommonOpinionsvue_type_template_id_fdf49dec_render = function () {
@@ -29659,21 +30103,21 @@ var CommonOpinionsvue_type_script_lang_js_components;
29659
30103
  return validSate;
29660
30104
  },
29661
30105
 
29662
- /**
29663
- * changeOpinion
29664
- * @desc:监听意见变化
29665
- * @author liufan
29666
- * @date 2022年10月28日
30106
+ /**
30107
+ * changeOpinion
30108
+ * @desc:监听意见变化
30109
+ * @author liufan
30110
+ * @date 2022年10月28日
29667
30111
  **/
29668
30112
  changeOpinion: function changeOpinion() {
29669
30113
  this.$emit('change', this.form.value);
29670
30114
  },
29671
30115
 
29672
- /**
29673
- * getCommonOpion
29674
- * @desc:获取意见
29675
- * @author liufan
29676
- * @date 2022年5月25日
30116
+ /**
30117
+ * getCommonOpion
30118
+ * @desc:获取意见
30119
+ * @author liufan
30120
+ * @date 2022年5月25日
29677
30121
  **/
29678
30122
  getCommonOpion: function getCommonOpion() {
29679
30123
  var _this = this;
@@ -29702,24 +30146,24 @@ var CommonOpinionsvue_type_script_lang_js_components;
29702
30146
  });
29703
30147
  },
29704
30148
 
29705
- /**
29706
- * upDate
29707
- * @desc:修改常用语
29708
- * @author liufan
29709
- * @param {Object} val 修改值
29710
- * @date 2022年5月25日
30149
+ /**
30150
+ * upDate
30151
+ * @desc:修改常用语
30152
+ * @author liufan
30153
+ * @param {Object} val 修改值
30154
+ * @date 2022年5月25日
29711
30155
  **/
29712
30156
  upDate: function upDate(val) {
29713
30157
  this.FormData.id = val.id;
29714
30158
  this.addVisible = true;
29715
30159
  },
29716
30160
 
29717
- /**
29718
- * selectChange
29719
- * @desc:常用语选择
29720
- * @author liufan
29721
- * @param {String} val 选中值
29722
- * @date 2022年5月25日
30161
+ /**
30162
+ * selectChange
30163
+ * @desc:常用语选择
30164
+ * @author liufan
30165
+ * @param {String} val 选中值
30166
+ * @date 2022年5月25日
29723
30167
  **/
29724
30168
  selectChange: function selectChange(val) {
29725
30169
  var _this2 = this;
@@ -29738,12 +30182,12 @@ var CommonOpinionsvue_type_script_lang_js_components;
29738
30182
  });
29739
30183
  },
29740
30184
 
29741
- /**
29742
- * del
29743
- * @desc:删除常用语
29744
- * @author liufan
29745
- * @param {Object} val 删除的数据
29746
- * @date 2022年5月25日
30185
+ /**
30186
+ * del
30187
+ * @desc:删除常用语
30188
+ * @author liufan
30189
+ * @param {Object} val 删除的数据
30190
+ * @date 2022年5月25日
29747
30191
  **/
29748
30192
  del: function del(val) {
29749
30193
  var _this3 = this;
@@ -29785,12 +30229,12 @@ var CommonOpinionsvue_type_script_lang_js_components;
29785
30229
  }).catch(function (e) {});
29786
30230
  },
29787
30231
 
29788
- /**
29789
- * submit
29790
- * @desc:新增/编辑意见保存
29791
- * @author liufan
29792
- * @param {Object} val 保存数据
29793
- * @date 2022年5月25日
30232
+ /**
30233
+ * submit
30234
+ * @desc:新增/编辑意见保存
30235
+ * @author liufan
30236
+ * @param {Object} val 保存数据
30237
+ * @date 2022年5月25日
29794
30238
  **/
29795
30239
  submit: function submit(val) {
29796
30240
  var _this4 = this;
@@ -30472,8 +30916,8 @@ processFormvue_type_template_id_d7f4c800_render._withStripped = true
30472
30916
 
30473
30917
  // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=d7f4c800&
30474
30918
 
30475
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=1de54739&
30476
- var selectUservue_type_template_id_1de54739_render = function () {
30919
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=12e8d2a9&
30920
+ var selectUservue_type_template_id_12e8d2a9_render = function () {
30477
30921
  var _vm = this
30478
30922
  var _h = _vm.$createElement
30479
30923
  var _c = _vm._self._c || _h
@@ -30590,6 +31034,7 @@ var selectUservue_type_template_id_1de54739_render = function () {
30590
31034
  !_vm.isCustomUser ||
30591
31035
  _vm.isCurrentNodeForbiddenChangeCandidate == 1,
30592
31036
  filterable: Boolean(_vm.isCustomUser),
31037
+ where: _vm.newWhere,
30593
31038
  multiple: _vm.newMultiple,
30594
31039
  param: Object.assign({}, _vm.newParams, { info: "no" }),
30595
31040
  disableds: _vm.disableds,
@@ -30616,11 +31061,11 @@ var selectUservue_type_template_id_1de54739_render = function () {
30616
31061
  2
30617
31062
  )
30618
31063
  }
30619
- var selectUservue_type_template_id_1de54739_staticRenderFns = []
30620
- selectUservue_type_template_id_1de54739_render._withStripped = true
31064
+ var selectUservue_type_template_id_12e8d2a9_staticRenderFns = []
31065
+ selectUservue_type_template_id_12e8d2a9_render._withStripped = true
30621
31066
 
30622
31067
 
30623
- // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=1de54739&
31068
+ // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=12e8d2a9&
30624
31069
 
30625
31070
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=script&lang=js&
30626
31071
  var selectUservue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -30715,6 +31160,7 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
30715
31160
  //
30716
31161
  //
30717
31162
  //
31163
+ //
30718
31164
 
30719
31165
 
30720
31166
 
@@ -30823,6 +31269,11 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
30823
31269
  };
30824
31270
  },
30825
31271
 
31272
+ computed: {
31273
+ newWhere: function newWhere() {
31274
+ return selectUservue_type_script_lang_js_extends({ mid: JSON.parse(utils_util["a" /* default */].getStorage('mainConfig')).userModel.orgId + '-org-1' }, this.where);
31275
+ }
31276
+ },
30826
31277
  watch: {
30827
31278
  newPresetEdit: function newPresetEdit(val) {
30828
31279
  var _this = this;
@@ -31096,8 +31547,8 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
31096
31547
 
31097
31548
  var selectUser_component = normalizeComponent(
31098
31549
  src_selectUservue_type_script_lang_js_,
31099
- selectUservue_type_template_id_1de54739_render,
31100
- selectUservue_type_template_id_1de54739_staticRenderFns,
31550
+ selectUservue_type_template_id_12e8d2a9_render,
31551
+ selectUservue_type_template_id_12e8d2a9_staticRenderFns,
31101
31552
  false,
31102
31553
  null,
31103
31554
  null,
@@ -32804,11 +33255,11 @@ var processFormvue_type_script_lang_js_components;
32804
33255
  });
32805
33256
  },
32806
33257
 
32807
- /**
32808
- * isMultiple
32809
- * @desc:是否多选
32810
- * @author liufan
32811
- * @date 2022年9月13日
33258
+ /**
33259
+ * isMultiple
33260
+ * @desc:是否多选
33261
+ * @author liufan
33262
+ * @date 2022年9月13日
32812
33263
  **/
32813
33264
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
32814
33265
  var multiple = false;
@@ -36840,11 +37291,11 @@ var resetvue_type_script_lang_js_components;
36840
37291
  });
36841
37292
  },
36842
37293
 
36843
- /**
36844
- * isMultiple
36845
- * @desc:是否多选
36846
- * @author liufan
36847
- * @date 2022年9月13日
37294
+ /**
37295
+ * isMultiple
37296
+ * @desc:是否多选
37297
+ * @author liufan
37298
+ * @date 2022年9月13日
36848
37299
  **/
36849
37300
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
36850
37301
  var multiple = false;
@@ -41217,11 +41668,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41217
41668
  });
41218
41669
  },
41219
41670
 
41220
- /**
41221
- * saveInfo
41222
- * @desc:暂存
41223
- * @author liufan
41224
- * @date 2022年9月9日
41671
+ /**
41672
+ * saveInfo
41673
+ * @desc:暂存
41674
+ * @author liufan
41675
+ * @date 2022年9月9日
41225
41676
  **/
41226
41677
  saveInfo: function saveInfo(type, btn) {
41227
41678
  var _this6 = this;
@@ -41283,11 +41734,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41283
41734
  });
41284
41735
  },
41285
41736
 
41286
- /**
41287
- * rejectBtn
41288
- * @desc:点击驳回
41289
- * @author liufan
41290
- * @date 2022年5月25日
41737
+ /**
41738
+ * rejectBtn
41739
+ * @desc:点击驳回
41740
+ * @author liufan
41741
+ * @date 2022年5月25日
41291
41742
  **/
41292
41743
  rejectBtn: function rejectBtn() {
41293
41744
  var _this8 = this;
@@ -41305,11 +41756,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41305
41756
  }
41306
41757
  },
41307
41758
 
41308
- /**
41309
- * taskReadBtn
41310
- * @desc:点击分阅
41311
- * @author liufan
41312
- * @date 2022年5月25日
41759
+ /**
41760
+ * taskReadBtn
41761
+ * @desc:点击分阅
41762
+ * @author liufan
41763
+ * @date 2022年5月25日
41313
41764
  **/
41314
41765
  taskReadBtn: function taskReadBtn() {
41315
41766
  var _this9 = this;
@@ -41328,11 +41779,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41328
41779
  }
41329
41780
  },
41330
41781
 
41331
- /**
41332
- * getFind
41333
- * @desc:获取通知方式
41334
- * @author liufan
41335
- * @date 2022年5月25日
41782
+ /**
41783
+ * getFind
41784
+ * @desc:获取通知方式
41785
+ * @author liufan
41786
+ * @date 2022年5月25日
41336
41787
  **/
41337
41788
  getFind: function getFind() {
41338
41789
  var _this10 = this;
@@ -41387,12 +41838,12 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41387
41838
  });
41388
41839
  },
41389
41840
 
41390
- /**
41391
- * endFlows
41392
- * @desc:直接办结
41393
- * @author liufan
41394
- * @param {Object} res 直接办结数据
41395
- * @date 2022年5月25日
41841
+ /**
41842
+ * endFlows
41843
+ * @desc:直接办结
41844
+ * @author liufan
41845
+ * @param {Object} res 直接办结数据
41846
+ * @date 2022年5月25日
41396
41847
  **/
41397
41848
  endFlows: function endFlows(res) {
41398
41849
  var _this12 = this;
@@ -41446,12 +41897,12 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41446
41897
  }).catch(function (e) {});
41447
41898
  },
41448
41899
 
41449
- /**
41450
- * goView
41451
- * @desc:更多流程按钮操作
41452
- * @author liufan
41453
- * @param {Object} res 当前点击操作按钮数据
41454
- * @date 2022年5月25日
41900
+ /**
41901
+ * goView
41902
+ * @desc:更多流程按钮操作
41903
+ * @author liufan
41904
+ * @param {Object} res 当前点击操作按钮数据
41905
+ * @date 2022年5月25日
41455
41906
  **/
41456
41907
  goView: function goView(res) {
41457
41908
  // 驳回并办结:rejectAndEndHtml
@@ -41536,11 +41987,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41536
41987
  // isCanStartSubFlow
41537
41988
  },
41538
41989
 
41539
- /**
41540
- * toTakeAdvice
41541
- * @desc:征求意见
41542
- * @author liufan
41543
- * @date 2022年9月29日
41990
+ /**
41991
+ * toTakeAdvice
41992
+ * @desc:征求意见
41993
+ * @author liufan
41994
+ * @date 2022年9月29日
41544
41995
  **/
41545
41996
  toTakeAdvice: function toTakeAdvice(res) {
41546
41997
  var _this14 = this;
@@ -41584,11 +42035,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41584
42035
  });
41585
42036
  },
41586
42037
 
41587
- /**
41588
- * toStartDraf
41589
- * @desc: 稿件递送、联合审核、复核
41590
- * @author liufan
41591
- * @date 2022年9月29日
42038
+ /**
42039
+ * toStartDraf
42040
+ * @desc: 稿件递送、联合审核、复核
42041
+ * @author liufan
42042
+ * @date 2022年9月29日
41592
42043
  **/
41593
42044
  toStartDraf: function toStartDraf(res) {
41594
42045
  var _this16 = this;
@@ -41602,11 +42053,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41602
42053
  }
41603
42054
  },
41604
42055
 
41605
- /**
41606
- * toSendMsg
41607
- * @desc:核稿通知
41608
- * @author liufan
41609
- * @date 2022年9月29日
42056
+ /**
42057
+ * toSendMsg
42058
+ * @desc:核稿通知
42059
+ * @author liufan
42060
+ * @date 2022年9月29日
41610
42061
  **/
41611
42062
  toSendMsg: function toSendMsg(res) {
41612
42063
  var _this17 = this;
@@ -41620,11 +42071,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41620
42071
  }
41621
42072
  },
41622
42073
 
41623
- /**
41624
- * toTaskReadAndEnd
41625
- * @desc:分阅并办结
41626
- * @author liufan
41627
- * @date 2022年9月29日
42074
+ /**
42075
+ * toTaskReadAndEnd
42076
+ * @desc:分阅并办结
42077
+ * @author liufan
42078
+ * @date 2022年9月29日
41628
42079
  **/
41629
42080
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
41630
42081
  var _this18 = this;
@@ -41642,11 +42093,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41642
42093
  }
41643
42094
  },
41644
42095
 
41645
- /**
41646
- * rejectAndEnd
41647
- * @desc:驳回并办结
41648
- * @author liufan
41649
- * @date 2022年9月29日
42096
+ /**
42097
+ * rejectAndEnd
42098
+ * @desc:驳回并办结
42099
+ * @author liufan
42100
+ * @date 2022年9月29日
41650
42101
  **/
41651
42102
  rejectAndEnd: function rejectAndEnd(res) {
41652
42103
  var _this19 = this;
@@ -41701,11 +42152,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41701
42152
  });
41702
42153
  },
41703
42154
 
41704
- /**
41705
- * toTransfer
41706
- * @desc:转办
41707
- * @author liufan
41708
- * @date 2022年9月29日
42155
+ /**
42156
+ * toTransfer
42157
+ * @desc:转办
42158
+ * @author liufan
42159
+ * @date 2022年9月29日
41709
42160
  **/
41710
42161
  toTransfer: function toTransfer(res) {
41711
42162
  var _this21 = this;
@@ -41721,11 +42172,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41721
42172
  }
41722
42173
  },
41723
42174
 
41724
- /**
41725
- * getNodeInfo
41726
- * @desc:获取节点信息
41727
- * @author liufan
41728
- * @date 2022年5月25日
42175
+ /**
42176
+ * getNodeInfo
42177
+ * @desc:获取节点信息
42178
+ * @author liufan
42179
+ * @date 2022年5月25日
41729
42180
  **/
41730
42181
  getNodeInfo: function getNodeInfo() {
41731
42182
  var _this22 = this;
@@ -41824,12 +42275,12 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41824
42275
  });
41825
42276
  },
41826
42277
 
41827
- /**
41828
- * selecNext
41829
- * @desc:下步节点变化时更新数据
41830
- * @author liufan
41831
- * @param {String} val 当前选中值
41832
- * @date 2022年5月25日
42278
+ /**
42279
+ * selecNext
42280
+ * @desc:下步节点变化时更新数据
42281
+ * @author liufan
42282
+ * @param {String} val 当前选中值
42283
+ * @date 2022年5月25日
41833
42284
  **/
41834
42285
  selecNext: function selecNext(val, type, isDef) {
41835
42286
  var _this23 = this;
@@ -41938,11 +42389,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41938
42389
  if (isDef !== true) this.getNodeInfo();
41939
42390
  },
41940
42391
 
41941
- /**
41942
- * isMultiple
41943
- * @desc:是否多选
41944
- * @author liufan
41945
- * @date 2022年9月13日
42392
+ /**
42393
+ * isMultiple
42394
+ * @desc:是否多选
42395
+ * @author liufan
42396
+ * @date 2022年9月13日
41946
42397
  **/
41947
42398
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
41948
42399
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -41974,11 +42425,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
41974
42425
  }
41975
42426
  },
41976
42427
 
41977
- /**
41978
- * getHedInfo
41979
- * @desc:获取审核页面数据
41980
- * @author liufan
41981
- * @date 2022年5月25日
42428
+ /**
42429
+ * getHedInfo
42430
+ * @desc:获取审核页面数据
42431
+ * @author liufan
42432
+ * @date 2022年5月25日
41982
42433
  **/
41983
42434
  getHedInfo: function getHedInfo() {
41984
42435
  var _this24 = this;
@@ -42214,13 +42665,13 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
42214
42665
  });
42215
42666
  },
42216
42667
 
42217
- /**
42218
- * closeProcess
42219
- * @desc:关闭弹窗
42220
- * @author liufan
42221
- * @param {boolean} val 当前是否办理流程
42222
- * @param {String} type 当前点击的弹窗类型
42223
- * @date 2022年5月25日
42668
+ /**
42669
+ * closeProcess
42670
+ * @desc:关闭弹窗
42671
+ * @author liufan
42672
+ * @param {boolean} val 当前是否办理流程
42673
+ * @param {String} type 当前点击的弹窗类型
42674
+ * @date 2022年5月25日
42224
42675
  **/
42225
42676
  closeProcess: function closeProcess(val, type, closeParent) {
42226
42677
  if (closeParent) {
@@ -42237,23 +42688,23 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
42237
42688
  }
42238
42689
  },
42239
42690
 
42240
- /**
42241
- * selectChange
42242
- * @desc:常用语选择
42243
- * @author liufan
42244
- * @param {String} val 选中值
42245
- * @date 2022年5月25日
42691
+ /**
42692
+ * selectChange
42693
+ * @desc:常用语选择
42694
+ * @author liufan
42695
+ * @param {String} val 选中值
42696
+ * @date 2022年5月25日
42246
42697
  **/
42247
42698
  selectChange: function selectChange(val) {
42248
42699
  this.value = val;
42249
42700
  },
42250
42701
 
42251
- /**
42252
- * upDate
42253
- * @desc:修改常用语
42254
- * @author liufan
42255
- * @param {Object} val 修改值
42256
- * @date 2022年5月25日
42702
+ /**
42703
+ * upDate
42704
+ * @desc:修改常用语
42705
+ * @author liufan
42706
+ * @param {Object} val 修改值
42707
+ * @date 2022年5月25日
42257
42708
  **/
42258
42709
  upDate: function upDate(val) {
42259
42710
  this.FormData.id = val.id;
@@ -42261,11 +42712,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
42261
42712
  },
42262
42713
 
42263
42714
 
42264
- /**
42265
- * getProcess
42266
- * @desc:获取选择流程
42267
- * @author liufan
42268
- * @date 2022年5月25日
42715
+ /**
42716
+ * getProcess
42717
+ * @desc:获取选择流程
42718
+ * @author liufan
42719
+ * @date 2022年5月25日
42269
42720
  **/
42270
42721
  getProcess: function getProcess() {
42271
42722
  var _this25 = this;
@@ -42319,11 +42770,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
42319
42770
  });
42320
42771
  },
42321
42772
 
42322
- /**
42323
- * getPendedhistoryList
42324
- * @desc:获取流程列表
42325
- * @author liufan
42326
- * @date 2022年5月25日
42773
+ /**
42774
+ * getPendedhistoryList
42775
+ * @desc:获取流程列表
42776
+ * @author liufan
42777
+ * @date 2022年5月25日
42327
42778
  **/
42328
42779
  getPendedhistoryList: function getPendedhistoryList() {
42329
42780
  var _this26 = this;
@@ -42355,12 +42806,12 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
42355
42806
  },
42356
42807
 
42357
42808
  // 提交流程
42358
- /**
42359
- * subProcess
42360
- * @desc:提交流程
42361
- * @author liufan
42362
- * @param {String} formName 当前form表单ref值
42363
- * @date 2022年5月25日
42809
+ /**
42810
+ * subProcess
42811
+ * @desc:提交流程
42812
+ * @author liufan
42813
+ * @param {String} formName 当前form表单ref值
42814
+ * @date 2022年5月25日
42364
42815
  **/
42365
42816
  subProcess: function subProcess(val) {
42366
42817
  var _this27 = this;
@@ -45189,11 +45640,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45189
45640
  });
45190
45641
  },
45191
45642
 
45192
- /**
45193
- * saveInfo
45194
- * @desc:暂存
45195
- * @author liufan
45196
- * @date 2022年9月9日
45643
+ /**
45644
+ * saveInfo
45645
+ * @desc:暂存
45646
+ * @author liufan
45647
+ * @date 2022年9月9日
45197
45648
  **/
45198
45649
  saveInfo: function saveInfo(type, btn) {
45199
45650
  var _this9 = this;
@@ -45255,11 +45706,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45255
45706
  });
45256
45707
  },
45257
45708
 
45258
- /**
45259
- * rejectBtn
45260
- * @desc:点击驳回
45261
- * @author liufan
45262
- * @date 2022年5月25日
45709
+ /**
45710
+ * rejectBtn
45711
+ * @desc:点击驳回
45712
+ * @author liufan
45713
+ * @date 2022年5月25日
45263
45714
  **/
45264
45715
  rejectBtn: function rejectBtn() {
45265
45716
  var _this11 = this;
@@ -45277,11 +45728,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45277
45728
  }
45278
45729
  },
45279
45730
 
45280
- /**
45281
- * taskReadBtn
45282
- * @desc:点击分阅
45283
- * @author liufan
45284
- * @date 2022年5月25日
45731
+ /**
45732
+ * taskReadBtn
45733
+ * @desc:点击分阅
45734
+ * @author liufan
45735
+ * @date 2022年5月25日
45285
45736
  **/
45286
45737
  taskReadBtn: function taskReadBtn() {
45287
45738
  var _this12 = this;
@@ -45300,11 +45751,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45300
45751
  }
45301
45752
  },
45302
45753
 
45303
- /**
45304
- * getFind
45305
- * @desc:获取通知方式
45306
- * @author liufan
45307
- * @date 2022年5月25日
45754
+ /**
45755
+ * getFind
45756
+ * @desc:获取通知方式
45757
+ * @author liufan
45758
+ * @date 2022年5月25日
45308
45759
  **/
45309
45760
  getFind: function getFind() {
45310
45761
  var _this13 = this;
@@ -45370,12 +45821,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45370
45821
  });
45371
45822
  },
45372
45823
 
45373
- /**
45374
- * endFlows
45375
- * @desc:直接办结
45376
- * @author liufan
45377
- * @param {Object} res 直接办结数据
45378
- * @date 2022年5月25日
45824
+ /**
45825
+ * endFlows
45826
+ * @desc:直接办结
45827
+ * @author liufan
45828
+ * @param {Object} res 直接办结数据
45829
+ * @date 2022年5月25日
45379
45830
  **/
45380
45831
  endFlows: function endFlows(res) {
45381
45832
  var _this15 = this;
@@ -45430,12 +45881,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45430
45881
  }).catch(function (e) {});
45431
45882
  },
45432
45883
 
45433
- /**
45434
- * goView
45435
- * @desc:更多流程按钮操作
45436
- * @author liufan
45437
- * @param {Object} res 当前点击操作按钮数据
45438
- * @date 2022年5月25日
45884
+ /**
45885
+ * goView
45886
+ * @desc:更多流程按钮操作
45887
+ * @author liufan
45888
+ * @param {Object} res 当前点击操作按钮数据
45889
+ * @date 2022年5月25日
45439
45890
  **/
45440
45891
  goView: function goView(res) {
45441
45892
  // 驳回并办结:rejectAndEndHtml
@@ -45520,11 +45971,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45520
45971
  // isCanStartSubFlow
45521
45972
  },
45522
45973
 
45523
- /**
45524
- * toTakeAdvice
45525
- * @desc:征求意见
45526
- * @author liufan
45527
- * @date 2022年9月29日
45974
+ /**
45975
+ * toTakeAdvice
45976
+ * @desc:征求意见
45977
+ * @author liufan
45978
+ * @date 2022年9月29日
45528
45979
  **/
45529
45980
  toTakeAdvice: function toTakeAdvice(res) {
45530
45981
  var _this17 = this;
@@ -45568,11 +46019,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45568
46019
  });
45569
46020
  },
45570
46021
 
45571
- /**
45572
- * toStartDraf
45573
- * @desc: 稿件递送、联合审核、复核
45574
- * @author liufan
45575
- * @date 2022年9月29日
46022
+ /**
46023
+ * toStartDraf
46024
+ * @desc: 稿件递送、联合审核、复核
46025
+ * @author liufan
46026
+ * @date 2022年9月29日
45576
46027
  **/
45577
46028
  toStartDraf: function toStartDraf(res) {
45578
46029
  var _this19 = this;
@@ -45586,11 +46037,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45586
46037
  }
45587
46038
  },
45588
46039
 
45589
- /**
45590
- * toSendMsg
45591
- * @desc:核稿通知
45592
- * @author liufan
45593
- * @date 2022年9月29日
46040
+ /**
46041
+ * toSendMsg
46042
+ * @desc:核稿通知
46043
+ * @author liufan
46044
+ * @date 2022年9月29日
45594
46045
  **/
45595
46046
  toSendMsg: function toSendMsg(res) {
45596
46047
  var _this20 = this;
@@ -45604,11 +46055,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45604
46055
  }
45605
46056
  },
45606
46057
 
45607
- /**
45608
- * toTaskReadAndEnd
45609
- * @desc:分阅并办结
45610
- * @author liufan
45611
- * @date 2022年9月29日
46058
+ /**
46059
+ * toTaskReadAndEnd
46060
+ * @desc:分阅并办结
46061
+ * @author liufan
46062
+ * @date 2022年9月29日
45612
46063
  **/
45613
46064
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
45614
46065
  var _this21 = this;
@@ -45626,11 +46077,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45626
46077
  }
45627
46078
  },
45628
46079
 
45629
- /**
45630
- * rejectAndEnd
45631
- * @desc:驳回并办结
45632
- * @author liufan
45633
- * @date 2022年9月29日
46080
+ /**
46081
+ * rejectAndEnd
46082
+ * @desc:驳回并办结
46083
+ * @author liufan
46084
+ * @date 2022年9月29日
45634
46085
  **/
45635
46086
  rejectAndEnd: function rejectAndEnd(res) {
45636
46087
  var _this22 = this;
@@ -45686,11 +46137,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45686
46137
  });
45687
46138
  },
45688
46139
 
45689
- /**
45690
- * toTransfer
45691
- * @desc:转办
45692
- * @author liufan
45693
- * @date 2022年9月29日
46140
+ /**
46141
+ * toTransfer
46142
+ * @desc:转办
46143
+ * @author liufan
46144
+ * @date 2022年9月29日
45694
46145
  **/
45695
46146
  toTransfer: function toTransfer(res) {
45696
46147
  var _this24 = this;
@@ -45706,11 +46157,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45706
46157
  }
45707
46158
  },
45708
46159
 
45709
- /**
45710
- * getNodeInfo
45711
- * @desc:获取节点信息
45712
- * @author liufan
45713
- * @date 2022年5月25日
46160
+ /**
46161
+ * getNodeInfo
46162
+ * @desc:获取节点信息
46163
+ * @author liufan
46164
+ * @date 2022年5月25日
45714
46165
  **/
45715
46166
  getNodeInfo: function getNodeInfo() {
45716
46167
  var _this25 = this;
@@ -45813,12 +46264,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45813
46264
  });
45814
46265
  },
45815
46266
 
45816
- /**
45817
- * selecNext
45818
- * @desc:下步节点变化时更新数据
45819
- * @author liufan
45820
- * @param {String} val 当前选中值
45821
- * @date 2022年5月25日
46267
+ /**
46268
+ * selecNext
46269
+ * @desc:下步节点变化时更新数据
46270
+ * @author liufan
46271
+ * @param {String} val 当前选中值
46272
+ * @date 2022年5月25日
45822
46273
  **/
45823
46274
  selecNext: function selecNext(val, type, isDef) {
45824
46275
  var _this26 = this;
@@ -45928,11 +46379,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45928
46379
  this.getNodeInfo();
45929
46380
  },
45930
46381
 
45931
- /**
45932
- * isMultiple
45933
- * @desc:是否多选
45934
- * @author liufan
45935
- * @date 2022年9月13日
46382
+ /**
46383
+ * isMultiple
46384
+ * @desc:是否多选
46385
+ * @author liufan
46386
+ * @date 2022年9月13日
45936
46387
  **/
45937
46388
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
45938
46389
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -45964,11 +46415,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
45964
46415
  }
45965
46416
  },
45966
46417
 
45967
- /**
45968
- * getHedInfo
45969
- * @desc:获取审核页面数据
45970
- * @author liufan
45971
- * @date 2022年5月25日
46418
+ /**
46419
+ * getHedInfo
46420
+ * @desc:获取审核页面数据
46421
+ * @author liufan
46422
+ * @date 2022年5月25日
45972
46423
  **/
45973
46424
  getHedInfo: function getHedInfo() {
45974
46425
  var _this27 = this;
@@ -46214,13 +46665,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
46214
46665
  });
46215
46666
  },
46216
46667
 
46217
- /**
46218
- * closeProcess
46219
- * @desc:关闭弹窗
46220
- * @author liufan
46221
- * @param {boolean} val 当前是否办理流程
46222
- * @param {String} type 当前点击的弹窗类型
46223
- * @date 2022年5月25日
46668
+ /**
46669
+ * closeProcess
46670
+ * @desc:关闭弹窗
46671
+ * @author liufan
46672
+ * @param {boolean} val 当前是否办理流程
46673
+ * @param {String} type 当前点击的弹窗类型
46674
+ * @date 2022年5月25日
46224
46675
  **/
46225
46676
  closeProcess: function closeProcess(val, type, closeParent) {
46226
46677
  if (closeParent) {
@@ -46235,26 +46686,28 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
46235
46686
  if (val == 'taskReadAndEnd' || val == true && type != 'taskRead' || val == 'transfer') {
46236
46687
  this.flowSuccess(true);
46237
46688
  // this.$emit('success');
46689
+ } else {
46690
+ this.$emit('cancel');
46238
46691
  }
46239
46692
  },
46240
46693
 
46241
- /**
46242
- * selectChange
46243
- * @desc:常用语选择
46244
- * @author liufan
46245
- * @param {String} val 选中值
46246
- * @date 2022年5月25日
46694
+ /**
46695
+ * selectChange
46696
+ * @desc:常用语选择
46697
+ * @author liufan
46698
+ * @param {String} val 选中值
46699
+ * @date 2022年5月25日
46247
46700
  **/
46248
46701
  selectChange: function selectChange(val) {
46249
46702
  this.value = val;
46250
46703
  },
46251
46704
 
46252
- /**
46253
- * upDate
46254
- * @desc:修改常用语
46255
- * @author liufan
46256
- * @param {Object} val 修改值
46257
- * @date 2022年5月25日
46705
+ /**
46706
+ * upDate
46707
+ * @desc:修改常用语
46708
+ * @author liufan
46709
+ * @param {Object} val 修改值
46710
+ * @date 2022年5月25日
46258
46711
  **/
46259
46712
  upDate: function upDate(val) {
46260
46713
  this.FormData.id = val.id;
@@ -46262,11 +46715,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
46262
46715
  },
46263
46716
 
46264
46717
 
46265
- /**
46266
- * getProcess
46267
- * @desc:获取选择流程
46268
- * @author liufan
46269
- * @date 2022年5月25日
46718
+ /**
46719
+ * getProcess
46720
+ * @desc:获取选择流程
46721
+ * @author liufan
46722
+ * @date 2022年5月25日
46270
46723
  **/
46271
46724
  getProcess: function getProcess(val) {
46272
46725
  var _this28 = this;
@@ -46321,11 +46774,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
46321
46774
  });
46322
46775
  },
46323
46776
 
46324
- /**
46325
- * getPendedhistoryList
46326
- * @desc:获取流程列表
46327
- * @author liufan
46328
- * @date 2022年5月25日
46777
+ /**
46778
+ * getPendedhistoryList
46779
+ * @desc:获取流程列表
46780
+ * @author liufan
46781
+ * @date 2022年5月25日
46329
46782
  **/
46330
46783
  getPendedhistoryList: function getPendedhistoryList() {
46331
46784
  var _this29 = this;
@@ -46393,12 +46846,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
46393
46846
  },
46394
46847
 
46395
46848
  // 提交流程
46396
- /**
46397
- * subProcess
46398
- * @desc:提交流程
46399
- * @author liufan
46400
- * @param {String} formName 当前form表单ref值
46401
- * @date 2022年5月25日
46849
+ /**
46850
+ * subProcess
46851
+ * @desc:提交流程
46852
+ * @author liufan
46853
+ * @param {String} formName 当前form表单ref值
46854
+ * @date 2022年5月25日
46402
46855
  **/
46403
46856
  subProcess: function subProcess(val, type) {
46404
46857
  var _this31 = this;
@@ -46718,8 +47171,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
46718
47171
 
46719
47172
  var flow_src_main_component = normalizeComponent(
46720
47173
  packages_flow_src_mainvue_type_script_lang_js_,
46721
- mainvue_type_template_id_5f8259cf_render,
46722
- mainvue_type_template_id_5f8259cf_staticRenderFns,
47174
+ mainvue_type_template_id_9a490c28_render,
47175
+ mainvue_type_template_id_9a490c28_staticRenderFns,
46723
47176
  false,
46724
47177
  null,
46725
47178
  null,
@@ -48709,8 +49162,8 @@ flow_group_src_main.install = function (Vue) {
48709
49162
  };
48710
49163
 
48711
49164
  /* 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 () {
49165
+ // 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&
49166
+ var mainvue_type_template_id_017a3796_render = function () {
48714
49167
  var _vm = this
48715
49168
  var _h = _vm.$createElement
48716
49169
  var _c = _vm._self._c || _h
@@ -48765,7 +49218,11 @@ var mainvue_type_template_id_64b7e13b_render = function () {
48765
49218
  display: _vm.display,
48766
49219
  numbers: _vm.numbers,
48767
49220
  full: _vm.height !== "auto",
48768
- data: _vm.returnData(item.type),
49221
+ data: _vm.showDoresult
49222
+ ? _vm.returnData(item.type).filter(function (x) {
49223
+ return x.doresult || x.handleInfo
49224
+ })
49225
+ : _vm.returnData(item.type),
48769
49226
  },
48770
49227
  on: {
48771
49228
  "cell-click": _vm.handleCellClick,
@@ -48913,11 +49370,11 @@ var mainvue_type_template_id_64b7e13b_render = function () {
48913
49370
  2
48914
49371
  )
48915
49372
  }
48916
- var mainvue_type_template_id_64b7e13b_staticRenderFns = []
48917
- mainvue_type_template_id_64b7e13b_render._withStripped = true
49373
+ var mainvue_type_template_id_017a3796_staticRenderFns = []
49374
+ mainvue_type_template_id_017a3796_render._withStripped = true
48918
49375
 
48919
49376
 
48920
- // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=64b7e13b&
49377
+ // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=017a3796&
48921
49378
 
48922
49379
  // 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
49380
 
@@ -50041,8 +50498,6 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50041
50498
  }).catch(function () {});
50042
50499
  },
50043
50500
  getCircularReadList: function getCircularReadList() {
50044
- var _this9 = this;
50045
-
50046
50501
  var _that = this;
50047
50502
  var params = {
50048
50503
  url: api["rb" /* pendedhistoryListWithCircularReadJson */],
@@ -50050,11 +50505,7 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50050
50505
  };
50051
50506
  utils_util["a" /* default */].ajax(params).then(function (res) {
50052
50507
  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
- }
50508
+
50058
50509
  _that.circularData = res.data.fyHistoryList;
50059
50510
  _that.hasCircularReadWithdrawAuthority = res.data.hasCircularReadWithdrawAuthority;
50060
50511
  _that.$nextTick(function () {
@@ -50116,15 +50567,15 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50116
50567
  }
50117
50568
  },
50118
50569
 
50119
- /**
50120
- * handleFormSubmit
50121
- * @desc:删除节点点击事件
50122
- * @param {Object} formData 点击删除的form数据
50123
- * @author liufan
50124
- * @date 2022年11月29日
50570
+ /**
50571
+ * handleFormSubmit
50572
+ * @desc:删除节点点击事件
50573
+ * @param {Object} formData 点击删除的form数据
50574
+ * @author liufan
50575
+ * @date 2022年11月29日
50125
50576
  **/
50126
50577
  handleFormSubmit: function handleFormSubmit(formData) {
50127
- var _this10 = this;
50578
+ var _this9 = this;
50128
50579
 
50129
50580
  this.delLoading = true;
50130
50581
  var params = {
@@ -50136,64 +50587,64 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50136
50587
  var status = res.status,
50137
50588
  message = res.message;
50138
50589
 
50139
- _this10.delLoading = false;
50590
+ _this9.delLoading = false;
50140
50591
  if (status === 'success') {
50141
- _this10.$message.success('删除成功');
50142
- _this10.showDel = false;
50143
- _this10.handleChange();
50592
+ _this9.$message.success('删除成功');
50593
+ _this9.showDel = false;
50594
+ _this9.handleChange();
50144
50595
  } else {
50145
- _this10.$message.error(message || '系统错误,请联系管理员!');
50596
+ _this9.$message.error(message || '系统错误,请联系管理员!');
50146
50597
  }
50147
50598
  }).catch(function (err) {
50148
- _this10.delLoading = false;
50599
+ _this9.delLoading = false;
50149
50600
  if (err.message && err.message !== 'canceled') {
50150
- _this10.$message.error(err.message);
50601
+ _this9.$message.error(err.message);
50151
50602
  }
50152
50603
  });
50153
50604
  },
50154
50605
 
50155
- /**
50156
- * del
50157
- * @desc:展示删除弹窗
50158
- * @param {String} id 当前点击数据id
50159
- * @author liufan
50160
- * @date 2022年11月29日
50606
+ /**
50607
+ * del
50608
+ * @desc:展示删除弹窗
50609
+ * @param {String} id 当前点击数据id
50610
+ * @author liufan
50611
+ * @date 2022年11月29日
50161
50612
  **/
50162
50613
  del: function del(id) {
50163
50614
  this.historyId = id;
50164
50615
  this.showDel = true;
50165
50616
  },
50166
50617
 
50167
- /**
50168
- * handleCurrentChange
50169
- * @desc:监听页码变化
50170
- * @param {String} val 当前页
50171
- * @author liufan
50172
- * @date 2022年11月29日
50618
+ /**
50619
+ * handleCurrentChange
50620
+ * @desc:监听页码变化
50621
+ * @param {String} val 当前页
50622
+ * @author liufan
50623
+ * @date 2022年11月29日
50173
50624
  **/
50174
50625
  handleCurrentChange: function handleCurrentChange(val) {
50175
50626
  this.currentPage = val;
50176
50627
  this.getPressList();
50177
50628
  },
50178
50629
 
50179
- /**
50180
- * handleSizeChange
50181
- * @desc:监听每页数据显示数量变化
50182
- * @param {String} val 每页展示数量
50183
- * @author liufan
50184
- * @date 2022年11月29日
50630
+ /**
50631
+ * handleSizeChange
50632
+ * @desc:监听每页数据显示数量变化
50633
+ * @param {String} val 每页展示数量
50634
+ * @author liufan
50635
+ * @date 2022年11月29日
50185
50636
  **/
50186
50637
  handleSizeChange: function handleSizeChange(val) {
50187
50638
  this.pageSize = val;
50188
50639
  this.getPressList();
50189
50640
  },
50190
50641
 
50191
- /**
50192
- * sortChange
50193
- * @desc:监听排序变化
50194
- * @param {Object} info 需要排序的字段及排序方式
50195
- * @author liufan
50196
- * @date 2022年11月29日
50642
+ /**
50643
+ * sortChange
50644
+ * @desc:监听排序变化
50645
+ * @param {Object} info 需要排序的字段及排序方式
50646
+ * @author liufan
50647
+ * @date 2022年11月29日
50197
50648
  **/
50198
50649
  sortChange: function sortChange(info) {
50199
50650
  var prop = info.prop,
@@ -50204,14 +50655,14 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50204
50655
  this.getPressList();
50205
50656
  },
50206
50657
 
50207
- /**
50208
- * getPressList
50209
- * @desc:催办列表数据
50210
- * @author liufan
50211
- * @date 2022年11月29日
50658
+ /**
50659
+ * getPressList
50660
+ * @desc:催办列表数据
50661
+ * @author liufan
50662
+ * @date 2022年11月29日
50212
50663
  **/
50213
50664
  getPressList: function getPressList() {
50214
- var _this11 = this;
50665
+ var _this10 = this;
50215
50666
 
50216
50667
  var historyId = this.historyId,
50217
50668
  pageSize = this.pageSize,
@@ -50227,23 +50678,23 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50227
50678
  data: { page: currentPage, rows: pageSize, sidx: sidx, sord: sord, historyId: historyId }
50228
50679
  };
50229
50680
  utils_util["a" /* default */].ajax(params).then(function (res) {
50230
- _this11.pressTableList = res.data;
50231
- _this11.total = res.totalrecords;
50232
- _this11.pressLoading = false;
50681
+ _this10.pressTableList = res.data;
50682
+ _this10.total = res.totalrecords;
50683
+ _this10.pressLoading = false;
50233
50684
  }).catch(function (err) {
50234
- _this11.pressLoading = false;
50685
+ _this10.pressLoading = false;
50235
50686
  if (err.message && err.message !== 'canceled') {
50236
- _this11.$message.error(err.message);
50687
+ _this10.$message.error(err.message);
50237
50688
  }
50238
50689
  });
50239
50690
  },
50240
50691
 
50241
- /**
50242
- * goPress
50243
- * @desc:催办列表查看
50244
- * @param {String} id 催办列表id
50245
- * @author liufan
50246
- * @date 2022年11月29日
50692
+ /**
50693
+ * goPress
50694
+ * @desc:催办列表查看
50695
+ * @param {String} id 催办列表id
50696
+ * @author liufan
50697
+ * @date 2022年11月29日
50247
50698
  **/
50248
50699
  goPress: function goPress(id) {
50249
50700
  this.historyId = id;
@@ -50251,23 +50702,23 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50251
50702
  this.getPressList();
50252
50703
  },
50253
50704
 
50254
- /**
50255
- * showFile
50256
- * @desc:附件查看
50257
- * @param {String} ownId 附件id
50258
- * @author liufan
50259
- * @date 2022年11月29日
50705
+ /**
50706
+ * showFile
50707
+ * @desc:附件查看
50708
+ * @param {String} ownId 附件id
50709
+ * @author liufan
50710
+ * @date 2022年11月29日
50260
50711
  **/
50261
50712
  showFile: function showFile(ownId) {
50262
50713
  this.wfpendingid = ownId;
50263
50714
  this.showFileList = true;
50264
50715
  },
50265
50716
 
50266
- /**
50267
- * handleChange
50268
- * @desc:切换排序方式
50269
- * @author liufan
50270
- * @date 2022年11月22日
50717
+ /**
50718
+ * handleChange
50719
+ * @desc:切换排序方式
50720
+ * @author liufan
50721
+ * @date 2022年11月22日
50271
50722
  **/
50272
50723
  handleChange: function handleChange(key, value) {
50273
50724
  if (value) {
@@ -50278,7 +50729,7 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50278
50729
  this.getFlowList();
50279
50730
  },
50280
50731
  getFyListJson: function getFyListJson(type) {
50281
- var _this12 = this;
50732
+ var _this11 = this;
50282
50733
 
50283
50734
  return flow_list_src_mainvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee3() {
50284
50735
  var params;
@@ -50289,21 +50740,17 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50289
50740
  params = {
50290
50741
  url: api["F" /* fyListJson */],
50291
50742
  params: {
50292
- appRecordId: _this12.businessId,
50743
+ appRecordId: _this11.businessId,
50293
50744
  status: type
50294
50745
  }
50295
50746
  };
50296
50747
  _context3.next = 3;
50297
50748
  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
- }
50749
+
50303
50750
  if (type == 1) {
50304
- _this12.untreatedReadData = res.data;
50751
+ _this11.untreatedReadData = res.data;
50305
50752
  } else {
50306
- _this12.processedReadData = res.data;
50753
+ _this11.processedReadData = res.data;
50307
50754
  }
50308
50755
  });
50309
50756
 
@@ -50312,18 +50759,18 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50312
50759
  return _context3.stop();
50313
50760
  }
50314
50761
  }
50315
- }, _callee3, _this12);
50762
+ }, _callee3, _this11);
50316
50763
  }))();
50317
50764
  },
50318
50765
 
50319
- /**
50320
- * getFlowList
50321
- * @desc:获取流程列表
50322
- * @author liufan
50323
- * @date 2022年11月22日
50766
+ /**
50767
+ * getFlowList
50768
+ * @desc:获取流程列表
50769
+ * @author liufan
50770
+ * @date 2022年11月22日
50324
50771
  **/
50325
50772
  getFlowList: function getFlowList() {
50326
- var _this13 = this;
50773
+ var _this12 = this;
50327
50774
 
50328
50775
  var params = {
50329
50776
  url: api["qb" /* pendedhistoryListJson */],
@@ -50346,65 +50793,58 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50346
50793
  modify = _res$data.modify,
50347
50794
  taskReadName = _res$data.taskReadName;
50348
50795
 
50349
- _this13.loading.close();
50796
+ _this12.loading.close();
50350
50797
  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) {
50798
+
50799
+ _this12.flowTableInfo.adjunctCode = adjunctCode;
50800
+ _this12.flowTableInfo.hasAgent = hasAgent;
50801
+ _this12.attachmentPaperClipCssStyle = res.data.attachmentPaperClipCssStyle;
50802
+ _this12.isShort = isShort;
50803
+ _this12.taskReadName = taskReadName;
50804
+ _this12.flowData = wfHistoryList;
50805
+ _this12.flowData.map(function (x) {
50366
50806
  if (!x.deptid) {
50367
50807
  x.deptid = x.deptName;
50368
50808
  }
50369
50809
  });
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;
50810
+ _this12.splitReadingData = fyHistoryList;
50811
+ _this12.modify = modify;
50812
+ _this12.show = true;
50813
+ if (_this12.height == 'auto') {
50814
+ _this12.$nextTick(function () {
50815
+ _this12.content.map(function (x) {
50816
+ _this12[x.type + 'Height'] = _this12.$refs[x.type][0].offsetHeight;
50377
50817
  });
50378
50818
  });
50379
50819
  }
50380
- if (_this13.contents.indexOf('circular') != -1) {
50381
- _this13.getCircularReadList();
50820
+ if (_this12.contents.indexOf('circular') != -1) {
50821
+ _this12.getCircularReadList();
50382
50822
  } else {
50383
- _this13.$nextTick(function () {
50384
- _this13.getListCount(_this13.flowListCount);
50823
+ _this12.$nextTick(function () {
50824
+ _this12.getListCount(_this12.flowListCount);
50385
50825
  });
50386
50826
  }
50387
50827
  } else {
50388
- _this13.$message.error(message || '系统错误,请联系管理员!');
50828
+ _this12.$message.error(message || '系统错误,请联系管理员!');
50389
50829
  }
50390
50830
  }).catch(function (err) {
50391
- _this13.loading.close();
50831
+ _this12.loading.close();
50392
50832
  if (err.message && err.message !== 'canceled') {
50393
- _this13.$message.error(err.message);
50833
+ _this12.$message.error(err.message);
50394
50834
  }
50395
- _this13.show = true;
50835
+ _this12.show = true;
50396
50836
  });
50397
50837
  },
50398
50838
 
50399
- /**
50400
- * handleClick
50401
- * @desc:表单点击事件
50402
- * @param {Object} val 当前点击行数据及按钮
50403
- * @author liufan
50404
- * @date 2022年11月10日
50839
+ /**
50840
+ * handleClick
50841
+ * @desc:表单点击事件
50842
+ * @param {Object} val 当前点击行数据及按钮
50843
+ * @author liufan
50844
+ * @date 2022年11月10日
50405
50845
  **/
50406
50846
  handleClick: function handleClick(val) {
50407
- var _this14 = this;
50847
+ var _this13 = this;
50408
50848
 
50409
50849
  var text = val.handle.text,
50410
50850
  _val$row = val.row,
@@ -50414,7 +50854,7 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50414
50854
  if (text === '置为失效') {
50415
50855
  if (status == 0) {
50416
50856
  this.$confirm('您确定要置为失效吗?').then(function () {
50417
- _this14.loading = utils_util["a" /* default */].loading(_this14.$loading, '提交中...');
50857
+ _this13.loading = utils_util["a" /* default */].loading(_this13.$loading, '提交中...');
50418
50858
  var param = {
50419
50859
  url: api["m" /* deletePresetInfo */],
50420
50860
  headers: { Accept: 'application/json,text/plain' },
@@ -50425,17 +50865,17 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50425
50865
  var status = res.status,
50426
50866
  message = res.message;
50427
50867
 
50428
- _this14.loading.close();
50868
+ _this13.loading.close();
50429
50869
  if (status === 'success') {
50430
- _this14.$message.success('操作成功');
50431
- _this14.getListInfo();
50870
+ _this13.$message.success('操作成功');
50871
+ _this13.getListInfo();
50432
50872
  } else {
50433
- _this14.$message.error(message || '系统错误,请联系管理员!');
50873
+ _this13.$message.error(message || '系统错误,请联系管理员!');
50434
50874
  }
50435
50875
  }).catch(function (err) {
50436
- _this14.loading.close();
50876
+ _this13.loading.close();
50437
50877
  if (err.message && err.message !== 'canceled') {
50438
- _this14.$message.error(err.message);
50878
+ _this13.$message.error(err.message);
50439
50879
  }
50440
50880
  });
50441
50881
  }).catch(function (e) {
@@ -50447,13 +50887,13 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50447
50887
  }
50448
50888
  },
50449
50889
 
50450
- /**
50451
- * getCodeValue
50452
- * @desc:获取代码表过滤后的值
50453
- * @param {String} value 展示数据的代码值
50454
- * @param {String} type 代码表类型
50455
- * @author liufan
50456
- * @date 2022年11月10日
50890
+ /**
50891
+ * getCodeValue
50892
+ * @desc:获取代码表过滤后的值
50893
+ * @param {String} value 展示数据的代码值
50894
+ * @param {String} type 代码表类型
50895
+ * @author liufan
50896
+ * @date 2022年11月10日
50457
50897
  **/
50458
50898
  getCodeValue: function getCodeValue(value, type) {
50459
50899
  var val = this[type].filter(function (item) {
@@ -50462,15 +50902,15 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50462
50902
  return val[0].shortName;
50463
50903
  },
50464
50904
 
50465
- /**
50466
- * getSysInfo
50467
- * @desc:获取代码表
50468
- * @param {String} code 编码code值
50469
- * @author liufan
50470
- * @date 2022年11月10日
50905
+ /**
50906
+ * getSysInfo
50907
+ * @desc:获取代码表
50908
+ * @param {String} code 编码code值
50909
+ * @author liufan
50910
+ * @date 2022年11月10日
50471
50911
  **/
50472
50912
  getSysInfo: function getSysInfo(code) {
50473
- var _this15 = this;
50913
+ var _this14 = this;
50474
50914
 
50475
50915
  var params = {
50476
50916
  url: api["z" /* findCodeValues */],
@@ -50482,21 +50922,21 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50482
50922
  data = res.data;
50483
50923
 
50484
50924
  if (status == 'success') {
50485
- _this15[code] = data;
50925
+ _this14[code] = data;
50486
50926
  } else {
50487
- _this15.$message.error(message || '系统错误,请联系管理员!');
50927
+ _this14.$message.error(message || '系统错误,请联系管理员!');
50488
50928
  }
50489
50929
  }).catch(function (e) {});
50490
50930
  },
50491
50931
 
50492
- /**
50493
- * getListInfo
50494
- * @desc:获取预设列表数据
50495
- * @author liufan
50496
- * @date 2022年11月10日
50932
+ /**
50933
+ * getListInfo
50934
+ * @desc:获取预设列表数据
50935
+ * @author liufan
50936
+ * @date 2022年11月10日
50497
50937
  **/
50498
50938
  getListInfo: function getListInfo() {
50499
- var _this16 = this;
50939
+ var _this15 = this;
50500
50940
 
50501
50941
  var param = {
50502
50942
  url: api["Wb" /* toPresetInfoListIndex */],
@@ -50511,24 +50951,20 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50511
50951
  canDelete = _res$data2.canDelete,
50512
50952
  currentUserHasPresetInfoAuth = _res$data2.currentUserHasPresetInfoAuth;
50513
50953
 
50514
- _this16.loading.close();
50954
+ _this15.loading.close();
50515
50955
  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;
50956
+
50957
+ presetInfoList && (_this15.presetData = presetInfoList);
50958
+ _this15.presetInfoListHiddenColumns = presetInfoListHiddenColumns;
50959
+ _this15.currentUserHasPresetInfoAuth = currentUserHasPresetInfoAuth;
50960
+ _this15.canDelete = canDelete;
50525
50961
  } else {
50526
- _this16.$message.error(message || '系统错误,请联系管理员!');
50962
+ _this15.$message.error(message || '系统错误,请联系管理员!');
50527
50963
  }
50528
50964
  }).catch(function (err) {
50529
- _this16.loading.close();
50965
+ _this15.loading.close();
50530
50966
  if (err.message && err.message !== 'canceled') {
50531
- _this16.$message.error(err.message);
50967
+ _this15.$message.error(err.message);
50532
50968
  }
50533
50969
  });
50534
50970
  }
@@ -50546,8 +50982,8 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
50546
50982
 
50547
50983
  var flow_list_src_main_component = normalizeComponent(
50548
50984
  packages_flow_list_src_mainvue_type_script_lang_js_,
50549
- mainvue_type_template_id_64b7e13b_render,
50550
- mainvue_type_template_id_64b7e13b_staticRenderFns,
50985
+ mainvue_type_template_id_017a3796_render,
50986
+ mainvue_type_template_id_017a3796_staticRenderFns,
50551
50987
  false,
50552
50988
  null,
50553
50989
  null,
@@ -53088,8 +53524,8 @@ layout_src_main.install = function (Vue) {
53088
53524
  };
53089
53525
 
53090
53526
  /* 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 () {
53527
+ // 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=729dd354&
53528
+ var mainvue_type_template_id_729dd354_render = function () {
53093
53529
  var _vm = this
53094
53530
  var _h = _vm.$createElement
53095
53531
  var _c = _vm._self._c || _h
@@ -53258,35 +53694,38 @@ var mainvue_type_template_id_68c9ba89_render = function () {
53258
53694
  : [
53259
53695
  _vm._l(_vm.icons, function (item) {
53260
53696
  return [
53261
- _c(
53262
- "div",
53263
- {
53264
- directives: [
53697
+ _vm.modelLength == 2
53698
+ ? _c(
53699
+ "div",
53265
53700
  {
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",
53701
+ directives: [
53702
+ {
53703
+ name: "show",
53704
+ rawName: "v-show",
53705
+ value:
53706
+ _vm.active != item.type &&
53707
+ _vm.modelTips,
53708
+ expression:
53709
+ "active != item.type && modelTips",
53710
+ },
53711
+ ],
53712
+ key: item.type,
53713
+ staticClass:
53714
+ "es-login-model-item-tips",
53274
53715
  },
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
- ),
53716
+ [
53717
+ _vm._v(
53718
+ "\n " +
53719
+ _vm._s(item.name) +
53720
+ "点这里"
53721
+ ),
53722
+ _c("i", {
53723
+ staticClass:
53724
+ "es-icon-zhixiangyou",
53725
+ }),
53726
+ ]
53727
+ )
53728
+ : _vm._e(),
53290
53729
  _c(
53291
53730
  "span",
53292
53731
  {
@@ -53385,7 +53824,7 @@ var mainvue_type_template_id_68c9ba89_render = function () {
53385
53824
  : [
53386
53825
  _vm._l(_vm.icons, function (item) {
53387
53826
  return [
53388
- item.type !== "3" && item.type !== "1"
53827
+ item.type !== "3"
53389
53828
  ? _c(
53390
53829
  "div",
53391
53830
  {
@@ -54322,7 +54761,7 @@ var mainvue_type_template_id_68c9ba89_render = function () {
54322
54761
  },
54323
54762
  [
54324
54763
  _c("p", { staticClass: "es-launch-text es-launch-user-name" }, [
54325
- _vm._v(_vm._s(_vm.userName) + ",你好!"),
54764
+ _vm._v(_vm._s(_vm.userName) + ",您好!"),
54326
54765
  ]),
54327
54766
  _c(
54328
54767
  "p",
@@ -54340,9 +54779,12 @@ var mainvue_type_template_id_68c9ba89_render = function () {
54340
54779
  ? _c("es-ca-login", {
54341
54780
  ref: "calogin",
54342
54781
  attrs: {
54782
+ "install-path": _vm.installPath,
54783
+ "ca-model": _vm.caLoginModel,
54343
54784
  identifyingId: _vm.identifyingId,
54344
54785
  success: _vm.caLogin,
54345
54786
  },
54787
+ on: { error: _vm.handleError },
54346
54788
  })
54347
54789
  : _vm._e(),
54348
54790
  ],
@@ -54350,7 +54792,7 @@ var mainvue_type_template_id_68c9ba89_render = function () {
54350
54792
  )
54351
54793
  : _vm._e()
54352
54794
  }
54353
- var mainvue_type_template_id_68c9ba89_staticRenderFns = [
54795
+ var mainvue_type_template_id_729dd354_staticRenderFns = [
54354
54796
  function () {
54355
54797
  var _vm = this
54356
54798
  var _h = _vm.$createElement
@@ -54365,10 +54807,10 @@ var mainvue_type_template_id_68c9ba89_staticRenderFns = [
54365
54807
  ])
54366
54808
  },
54367
54809
  ]
54368
- mainvue_type_template_id_68c9ba89_render._withStripped = true
54810
+ mainvue_type_template_id_729dd354_render._withStripped = true
54369
54811
 
54370
54812
 
54371
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=68c9ba89&
54813
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=729dd354&
54372
54814
 
54373
54815
  // 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
54816
  var resetPasswordvue_type_template_id_45dccfdc_render = function () {
@@ -55454,6 +55896,10 @@ function login_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return fun
55454
55896
  //
55455
55897
  //
55456
55898
  //
55899
+ //
55900
+ //
55901
+ //
55902
+ //
55457
55903
 
55458
55904
 
55459
55905
 
@@ -55693,7 +56139,9 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
55693
56139
  default: function _default() {
55694
56140
  return [];
55695
56141
  }
55696
- }
56142
+ },
56143
+ caModel: String,
56144
+ caInstallPath: String
55697
56145
  },
55698
56146
  computed: {
55699
56147
  transform: function transform() {
@@ -55791,6 +56239,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
55791
56239
  types.forEach(function (item) {
55792
56240
  icon.push(_this.iconfonts[item]);
55793
56241
  });
56242
+ console.log(icon);
55794
56243
  return icon;
55795
56244
  },
55796
56245
  isCaLogin: function isCaLogin() {
@@ -55881,6 +56330,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
55881
56330
  loginTitleImg: this.loginTitle,
55882
56331
  loginLogoImg: this.loginLogo,
55883
56332
  loginModel: this.type,
56333
+ caLoginModel: this.caModel,
55884
56334
  passModifyModel: null,
55885
56335
  active: 0,
55886
56336
  submit: false,
@@ -55945,7 +56395,8 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
55945
56395
  launchKey: 'day',
55946
56396
  launchTime: 2000,
55947
56397
  switchActive: this.switchsActive,
55948
- loginDownloadApp: this.loginDownloadApps
56398
+ loginDownloadApp: this.loginDownloadApps,
56399
+ installPath: this.caInstallPath
55949
56400
  };
55950
56401
  },
55951
56402
  beforeCreate: function beforeCreate() {
@@ -55956,8 +56407,8 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
55956
56407
  },
55957
56408
  created: function created() {
55958
56409
  this.launchKey = 5 < new Date().getHours() < 18 ? 'day' : 'night';
55959
- if (ceshi == 'true' || ceshi == true) {
55960
- this.loginModel = '0';
56410
+ if (ceshi) {
56411
+ this.loginModel = ceshi == 'true' || ceshi == true ? '0' : ceshi;
55961
56412
  }
55962
56413
  if (this.isScale || utils_util["a" /* default */].getParams('scale')) {
55963
56414
  utils_util["a" /* default */].setScale();
@@ -56151,6 +56602,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
56151
56602
  _this4.$refs[ref] && _this4.$refs[ref].clearValidate();
56152
56603
  });
56153
56604
  } else {
56605
+ this.submit = true;
56154
56606
  this.$refs.calogin && this.$refs.calogin.getCertificate();
56155
56607
  }
56156
56608
  this.countdown = 0;
@@ -56272,15 +56724,19 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
56272
56724
  document.title = res.subsystemName;
56273
56725
  }
56274
56726
  this.app = res.appName || res.subsystemName;
56275
- if (res.loginModel && ceshi !== 'true' && ceshi !== true) {
56727
+ if (res.loginModel && !ceshi) {
56276
56728
  this.loginModel = (res.firstLoginModel || this.firstLoginModel) && !isLogined ? res.firstLoginModel || this.firstLoginModel : res.loginModel;
56277
56729
  }
56730
+
56278
56731
  if (res.loginBackgroundUrl) {
56279
56732
  this.loginBackgroundImg = res.loginBackgroundUrl.split(',');
56280
56733
  }
56281
56734
  if (res.loginLogoUrl) {
56282
56735
  this.loginLogoImg = res.loginLogoUrl;
56283
56736
  }
56737
+ if (res.caModel) {
56738
+ this.caLoginModel = res.caModel;
56739
+ }
56284
56740
  res.loginPage && sessionStorage.setItem('loginPage', res.loginPage);
56285
56741
  if (res.subsystemExtend && Object.keys(res.subsystemExtend).length) {
56286
56742
  if (res.subsystemExtend.copyright && res.subsystemExtend.copyright.length) {
@@ -56300,6 +56756,9 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
56300
56756
  if (res.subsystemExtend.loginModel && (ceshi == 'true' || ceshi == true)) {
56301
56757
  this.loginModel = (res.firstLoginModel || this.firstLoginModel) && !isLogined ? res.firstLoginModel || this.firstLoginModel : res.subsystemExtend.loginModel;
56302
56758
  }
56759
+ if (res.subsystemExtend.caModel) {
56760
+ this.caLoginModel = res.subsystemExtend.caModel;
56761
+ }
56303
56762
  if (res.subsystemExtend.applicationName) {
56304
56763
  localStorage.setItem('appcode', res.subsystemExtend.applicationName);
56305
56764
  }
@@ -56353,6 +56812,9 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
56353
56812
  if (res.subsystemExtend.loginDownloadApp) {
56354
56813
  this.loginDownloadApp = res.subsystemExtend.loginDownloadApp;
56355
56814
  }
56815
+ if (res.subsystemExtend.caInstallPath) {
56816
+ this.installPath = res.subsystemExtend.caInstallPath;
56817
+ }
56356
56818
  }
56357
56819
  this.passModifyModel = res.passModifyModel;
56358
56820
  this.wechatAppid = res.wechatAppid;
@@ -56553,7 +57015,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
56553
57015
  utils_util["a" /* default */].ajax({
56554
57016
  method: 'post',
56555
57017
  url: this.caAction,
56556
- data: { identifyingId: this.identifyingId, signedData: signedData }
57018
+ data: typeof signedData === 'string' ? { identifyingId: this.identifyingId, signedData: signedData } : signedData
56557
57019
  }).then(function (res) {
56558
57020
  _this10.submit = false;
56559
57021
  if (res.rCode == 0) {
@@ -56576,6 +57038,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
56576
57038
  _this10.onError(res);
56577
57039
  }
56578
57040
  }).catch(function (err) {
57041
+ _this10.submit = false;
56579
57042
  if (err.message && err.message !== 'canceled') {
56580
57043
  _this10.$message.error(err.message);
56581
57044
  }
@@ -56812,6 +57275,9 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
56812
57275
  },
56813
57276
  handlePaste: function handlePaste(event) {
56814
57277
  this.safe && event.preventDefault();
57278
+ },
57279
+ handleError: function handleError() {
57280
+ this.submit = false;
56815
57281
  }
56816
57282
  },
56817
57283
  beforeDestroy: function beforeDestroy() {
@@ -56832,8 +57298,8 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
56832
57298
 
56833
57299
  var login_src_main_component = normalizeComponent(
56834
57300
  packages_login_src_mainvue_type_script_lang_js_,
56835
- mainvue_type_template_id_68c9ba89_render,
56836
- mainvue_type_template_id_68c9ba89_staticRenderFns,
57301
+ mainvue_type_template_id_729dd354_render,
57302
+ mainvue_type_template_id_729dd354_staticRenderFns,
56837
57303
  false,
56838
57304
  null,
56839
57305
  null,
@@ -59694,10 +60160,10 @@ appsvue_type_template_id_71b9cb14_scoped_true_render._withStripped = true
59694
60160
  this.$emit('click', res);
59695
60161
  },
59696
60162
 
59697
- /**
59698
- * @desc:获取气泡提醒
59699
- * @author huangbo
59700
- * @date 2024年9月7日
60163
+ /**
60164
+ * @desc:获取气泡提醒
60165
+ * @author huangbo
60166
+ * @date 2024年9月7日
59701
60167
  **/
59702
60168
  getBadge: function getBadge(res) {
59703
60169
  var num = res.tips || 0;
@@ -63720,10 +64186,10 @@ var events = [function (tabs, index, that) {
63720
64186
  },
63721
64187
 
63722
64188
  methods: {
63723
- /**
63724
- * @desc:匹配路由
63725
- * @author huangbo
63726
- * @date 2024年9月7日
64189
+ /**
64190
+ * @desc:匹配路由
64191
+ * @author huangbo
64192
+ * @date 2024年9月7日
63727
64193
  **/
63728
64194
  hasRouter: function hasRouter(res, url, code) {
63729
64195
  if (!url) {
@@ -63767,10 +64233,10 @@ var events = [function (tabs, index, that) {
63767
64233
  return false;
63768
64234
  },
63769
64235
 
63770
- /**
63771
- * @desc:获取初始数据
63772
- * @author huangbo
63773
- * @date 2024年9月7日
64236
+ /**
64237
+ * @desc:获取初始数据
64238
+ * @author huangbo
64239
+ * @date 2024年9月7日
63774
64240
  **/
63775
64241
  init: function init(results, first) {
63776
64242
  this.setConfig(results);
@@ -63779,10 +64245,10 @@ var events = [function (tabs, index, that) {
63779
64245
  }
63780
64246
  },
63781
64247
 
63782
- /**
63783
- * @desc:设置用户配置及信息
63784
- * @author huangbo
63785
- * @date 2024年9月7日
64248
+ /**
64249
+ * @desc:设置用户配置及信息
64250
+ * @author huangbo
64251
+ * @date 2024年9月7日
63786
64252
  **/
63787
64253
  setConfig: function setConfig(results) {
63788
64254
  localStorage.setItem('mainConfig', JSON.stringify(results));
@@ -63913,10 +64379,10 @@ var events = [function (tabs, index, that) {
63913
64379
  }
63914
64380
  },
63915
64381
 
63916
- /**
63917
- * @desc:获取所有应用
63918
- * @author huangbo
63919
- * @date 2024年9月7日
64382
+ /**
64383
+ * @desc:获取所有应用
64384
+ * @author huangbo
64385
+ * @date 2024年9月7日
63920
64386
  **/
63921
64387
  getApplications: function getApplications() {
63922
64388
  var _this = this;
@@ -63964,10 +64430,10 @@ var events = [function (tabs, index, that) {
63964
64430
  });
63965
64431
  },
63966
64432
 
63967
- /**
63968
- * @desc:获取菜单列表
63969
- * @author huangbo
63970
- * @date 2024年9月7日
64433
+ /**
64434
+ * @desc:获取菜单列表
64435
+ * @author huangbo
64436
+ * @date 2024年9月7日
63971
64437
  **/
63972
64438
  getMenus: function getMenus(loading) {
63973
64439
  var _this2 = this;
@@ -64000,10 +64466,10 @@ var events = [function (tabs, index, that) {
64000
64466
  });
64001
64467
  },
64002
64468
 
64003
- /**
64004
- * @desc:处理菜单列表
64005
- * @author huangbo
64006
- * @date 2024年9月7日
64469
+ /**
64470
+ * @desc:处理菜单列表
64471
+ * @author huangbo
64472
+ * @date 2024年9月7日
64007
64473
  **/
64008
64474
  renderMenus: function renderMenus(res) {
64009
64475
  this.menus = res;
@@ -64093,10 +64559,10 @@ var events = [function (tabs, index, that) {
64093
64559
  }
64094
64560
  },
64095
64561
 
64096
- /**
64097
- * @desc:设置页面加载类型
64098
- * @author huangbo
64099
- * @date 2024年9月7日
64562
+ /**
64563
+ * @desc:设置页面加载类型
64564
+ * @author huangbo
64565
+ * @date 2024年9月7日
64100
64566
  **/
64101
64567
  setIframeType: function setIframeType(res) {
64102
64568
  var url = res.url;
@@ -64152,10 +64618,10 @@ var events = [function (tabs, index, that) {
64152
64618
  return res;
64153
64619
  },
64154
64620
 
64155
- /**
64156
- * @desc:获取菜单
64157
- * @author huangbo
64158
- * @date 2024年9月7日
64621
+ /**
64622
+ * @desc:获取菜单
64623
+ * @author huangbo
64624
+ * @date 2024年9月7日
64159
64625
  **/
64160
64626
  getMenu: function getMenu(menus, res, key) {
64161
64627
  if (Array.isArray(menus)) {
@@ -64184,10 +64650,10 @@ var events = [function (tabs, index, that) {
64184
64650
  return false;
64185
64651
  },
64186
64652
 
64187
- /**
64188
- * @desc:获取菜单第一条数据
64189
- * @author huangbo
64190
- * @date 2024年9月7日
64653
+ /**
64654
+ * @desc:获取菜单第一条数据
64655
+ * @author huangbo
64656
+ * @date 2024年9月7日
64191
64657
  **/
64192
64658
  getFirst: function getFirst(obj) {
64193
64659
  if (!obj) {
@@ -64206,10 +64672,10 @@ var events = [function (tabs, index, that) {
64206
64672
  }
64207
64673
  },
64208
64674
 
64209
- /**
64210
- * @desc:遍历设置菜单气泡提醒
64211
- * @author huangbo
64212
- * @date 2024年9月7日
64675
+ /**
64676
+ * @desc:遍历设置菜单气泡提醒
64677
+ * @author huangbo
64678
+ * @date 2024年9月7日
64213
64679
  **/
64214
64680
  setTips: function setTips(obj) {
64215
64681
  var _this3 = this;
@@ -64272,10 +64738,10 @@ var events = [function (tabs, index, that) {
64272
64738
  }
64273
64739
  },
64274
64740
 
64275
- /**
64276
- * @desc:获取气泡提醒
64277
- * @author huangbo
64278
- * @date 2024年9月7日
64741
+ /**
64742
+ * @desc:获取气泡提醒
64743
+ * @author huangbo
64744
+ * @date 2024年9月7日
64279
64745
  **/
64280
64746
  getBadge: function getBadge(res) {
64281
64747
  var num = res.tips || 0;
@@ -64289,10 +64755,10 @@ var events = [function (tabs, index, that) {
64289
64755
  };
64290
64756
  },
64291
64757
 
64292
- /**
64293
- * @desc:开启weosocket
64294
- * @author huangbo
64295
- * @date 2024年9月7日
64758
+ /**
64759
+ * @desc:开启weosocket
64760
+ * @author huangbo
64761
+ * @date 2024年9月7日
64296
64762
  **/
64297
64763
  initWebSocket: function initWebSocket() {
64298
64764
  var _this5 = this;
@@ -64340,10 +64806,10 @@ var events = [function (tabs, index, that) {
64340
64806
  });
64341
64807
  },
64342
64808
 
64343
- /**
64344
- * @desc:显示用户信息
64345
- * @author huangbo
64346
- * @date 2024年9月7日
64809
+ /**
64810
+ * @desc:显示用户信息
64811
+ * @author huangbo
64812
+ * @date 2024年9月7日
64347
64813
  **/
64348
64814
  showUserInfo: function showUserInfo() {
64349
64815
  if (this.showUser === false) {
@@ -64351,19 +64817,19 @@ var events = [function (tabs, index, that) {
64351
64817
  }
64352
64818
  },
64353
64819
 
64354
- /**
64355
- * @desc:删除更多应用菜单点击
64356
- * @author huangbo
64357
- * @date 2024年9月7日
64820
+ /**
64821
+ * @desc:删除更多应用菜单点击
64822
+ * @author huangbo
64823
+ * @date 2024年9月7日
64358
64824
  **/
64359
64825
  handleDelete: function handleDelete(index) {
64360
64826
  this.newApps.splice(index, 1);
64361
64827
  },
64362
64828
 
64363
- /**
64364
- * @desc:储存更多应用菜单点击
64365
- * @author huangbo
64366
- * @date 2024年9月7日
64829
+ /**
64830
+ * @desc:储存更多应用菜单点击
64831
+ * @author huangbo
64832
+ * @date 2024年9月7日
64367
64833
  **/
64368
64834
  handlerClickApps: function handlerClickApps(res) {
64369
64835
  if (res.permission === false) {
@@ -64376,10 +64842,10 @@ var events = [function (tabs, index, that) {
64376
64842
  this.handlerClickApp(res);
64377
64843
  },
64378
64844
 
64379
- /**
64380
- * @desc:侧边应用菜单点击
64381
- * @author huangbo
64382
- * @date 2024年9月7日
64845
+ /**
64846
+ * @desc:侧边应用菜单点击
64847
+ * @author huangbo
64848
+ * @date 2024年9月7日
64383
64849
  **/
64384
64850
  handlerClickApp: function handlerClickApp(res) {
64385
64851
  this.showMsg = false;
@@ -64466,10 +64932,10 @@ var events = [function (tabs, index, that) {
64466
64932
  }
64467
64933
  },
64468
64934
 
64469
- /**
64470
- * @desc:显示Drawer界面
64471
- * @author huangbo
64472
- * @date 2024年9月7日
64935
+ /**
64936
+ * @desc:显示Drawer界面
64937
+ * @author huangbo
64938
+ * @date 2024年9月7日
64473
64939
  **/
64474
64940
  handlerSetDrawer: function handlerSetDrawer(res, type) {
64475
64941
  var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'ltr';
@@ -64489,19 +64955,19 @@ var events = [function (tabs, index, that) {
64489
64955
  }
64490
64956
  },
64491
64957
 
64492
- /**
64493
- * @desc:关闭Drawer界面
64494
- * @author huangbo
64495
- * @date 2024年9月7日
64958
+ /**
64959
+ * @desc:关闭Drawer界面
64960
+ * @author huangbo
64961
+ * @date 2024年9月7日
64496
64962
  **/
64497
64963
  handleCloseDrawer: function handleCloseDrawer() {
64498
64964
  this.drawer = { visible: false };
64499
64965
  },
64500
64966
 
64501
- /**
64502
- * @desc:菜单点击
64503
- * @author huangbo
64504
- * @date 2024年9月7日
64967
+ /**
64968
+ * @desc:菜单点击
64969
+ * @author huangbo
64970
+ * @date 2024年9月7日
64505
64971
  **/
64506
64972
  handlerClickMenu: function handlerClickMenu(res) {
64507
64973
  utils_util["a" /* default */].ajax({
@@ -64550,19 +65016,19 @@ var events = [function (tabs, index, that) {
64550
65016
  },
64551
65017
 
64552
65018
 
64553
- /**
64554
- * @desc:用户详情请求成功
64555
- * @author huangbo
64556
- * @date 2024年9月7日
65019
+ /**
65020
+ * @desc:用户详情请求成功
65021
+ * @author huangbo
65022
+ * @date 2024年9月7日
64557
65023
  **/
64558
65024
  handleSuccess: function handleSuccess(res) {
64559
65025
  this.simpleUserInfo = res.simpleUserInfo;
64560
65026
  },
64561
65027
 
64562
- /**
64563
- * @desc:修改用户配置
64564
- * @author huangbo
64565
- * @date 2024年9月7日
65028
+ /**
65029
+ * @desc:修改用户配置
65030
+ * @author huangbo
65031
+ * @date 2024年9月7日
64566
65032
  **/
64567
65033
  handleChangeConfig: function handleChangeConfig(name, res) {
64568
65034
  if (name == 'userHeadUrl') {
@@ -64578,10 +65044,10 @@ var events = [function (tabs, index, that) {
64578
65044
  }
64579
65045
  },
64580
65046
 
64581
- /**
64582
- * @desc:关闭webSocket
64583
- * @author huangbo
64584
- * @date 2024年9月7日
65047
+ /**
65048
+ * @desc:关闭webSocket
65049
+ * @author huangbo
65050
+ * @date 2024年9月7日
64585
65051
  **/
64586
65052
  handlerClose: function handlerClose() {
64587
65053
  if (this.webSocket) {
@@ -64589,10 +65055,10 @@ var events = [function (tabs, index, that) {
64589
65055
  }
64590
65056
  },
64591
65057
 
64592
- /**
64593
- * @desc:刷新选中iframe页签
64594
- * @author huangbo
64595
- * @date 2024年9月7日
65058
+ /**
65059
+ * @desc:刷新选中iframe页签
65060
+ * @author huangbo
65061
+ * @date 2024年9月7日
64596
65062
  **/
64597
65063
  handleRefresh: function handleRefresh() {
64598
65064
  var i = utils_util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
@@ -64613,10 +65079,10 @@ var events = [function (tabs, index, that) {
64613
65079
  }
64614
65080
  },
64615
65081
 
64616
- /**
64617
- * @desc:删除iframe
64618
- * @author huangbo
64619
- * @date 2024年9月7日
65082
+ /**
65083
+ * @desc:删除iframe
65084
+ * @author huangbo
65085
+ * @date 2024年9月7日
64620
65086
  **/
64621
65087
  handleRemove: function handleRemove(name) {
64622
65088
  var len = this.tabs.length - 1;
@@ -64633,10 +65099,10 @@ var events = [function (tabs, index, that) {
64633
65099
  }
64634
65100
  },
64635
65101
 
64636
- /**
64637
- * @desc:tabs鼠标右键事件
64638
- * @author huangbo
64639
- * @date 2024年9月7日
65102
+ /**
65103
+ * @desc:tabs鼠标右键事件
65104
+ * @author huangbo
65105
+ * @date 2024年9月7日
64640
65106
  **/
64641
65107
  handleContextmenu: function handleContextmenu(tabs, e) {
64642
65108
  var disabled = {};
@@ -64661,10 +65127,10 @@ var events = [function (tabs, index, that) {
64661
65127
  window.addEventListener('click', this.closeTabsEvents);
64662
65128
  },
64663
65129
 
64664
- /**
64665
- * @desc:tabs页签事件
64666
- * @author huangbo
64667
- * @date 2024年9月7日
65130
+ /**
65131
+ * @desc:tabs页签事件
65132
+ * @author huangbo
65133
+ * @date 2024年9月7日
64668
65134
  **/
64669
65135
  handleTabsEvents: function handleTabsEvents(num) {
64670
65136
  if (this.pane !== null) {
@@ -64682,10 +65148,10 @@ var events = [function (tabs, index, that) {
64682
65148
  window.removeEventListener('click', this.closeTabsEvents);
64683
65149
  },
64684
65150
 
64685
- /**
64686
- * @desc:handler工具栏点击事件
64687
- * @author huangbo
64688
- * @date 2024年9月7日
65151
+ /**
65152
+ * @desc:handler工具栏点击事件
65153
+ * @author huangbo
65154
+ * @date 2024年9月7日
64689
65155
  **/
64690
65156
  handleClick: function handleClick(res) {
64691
65157
  var type = res.type,
@@ -64763,10 +65229,10 @@ var events = [function (tabs, index, that) {
64763
65229
  this.$emit('handler-click', res);
64764
65230
  },
64765
65231
 
64766
- /**
64767
- * @desc:退出登录
64768
- * @author huangbo
64769
- * @date 2024年9月7日
65232
+ /**
65233
+ * @desc:退出登录
65234
+ * @author huangbo
65235
+ * @date 2024年9月7日
64770
65236
  **/
64771
65237
  handleQuit: function handleQuit() {
64772
65238
  var _this6 = this;
@@ -64841,10 +65307,10 @@ var events = [function (tabs, index, that) {
64841
65307
  }).catch(function (e) {});
64842
65308
  },
64843
65309
 
64844
- /**
64845
- * @desc:主题、消息回调
64846
- * @author huangbo
64847
- * @date 2024年9月7日
65310
+ /**
65311
+ * @desc:主题、消息回调
65312
+ * @author huangbo
65313
+ * @date 2024年9月7日
64848
65314
  **/
64849
65315
  handleChange: function handleChange(res) {
64850
65316
  var type = res.type,
@@ -64860,10 +65326,10 @@ var events = [function (tabs, index, that) {
64860
65326
  }
64861
65327
  },
64862
65328
 
64863
- /**
64864
- * @desc:菜单布局样式切换
64865
- * @author huangbo
64866
- * @date 2024年9月7日
65329
+ /**
65330
+ * @desc:菜单布局样式切换
65331
+ * @author huangbo
65332
+ * @date 2024年9月7日
64867
65333
  **/
64868
65334
  handleLayout: function handleLayout(res, active) {
64869
65335
  if (active) {
@@ -64872,10 +65338,10 @@ var events = [function (tabs, index, that) {
64872
65338
  this.$emit('chang-layout', res, active);
64873
65339
  },
64874
65340
 
64875
- /**
64876
- * @desc:消息修改总数
64877
- * @author huangbo
64878
- * @date 2024年9月7日
65341
+ /**
65342
+ * @desc:消息修改总数
65343
+ * @author huangbo
65344
+ * @date 2024年9月7日
64879
65345
  **/
64880
65346
  handleMenuTips: function handleMenuTips(id, num) {
64881
65347
  if (num) {
@@ -64886,10 +65352,10 @@ var events = [function (tabs, index, that) {
64886
65352
  }
64887
65353
  },
64888
65354
 
64889
- /**
64890
- * @desc:处理即时消息
64891
- * @author huangbo
64892
- * @date 2024年9月7日
65355
+ /**
65356
+ * @desc:处理即时消息
65357
+ * @author huangbo
65358
+ * @date 2024年9月7日
64893
65359
  **/
64894
65360
  handleOpened: function handleOpened(res) {
64895
65361
  var _this7 = this;
@@ -72031,19 +72497,19 @@ var QRCode = __webpack_require__(24);
72031
72497
  //设置logo大小
72032
72498
  var logoPosition = (_this3.mwidth - 46) / 2; //logo相对于canvas居中定位
72033
72499
  //设置获取的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();
72500
+ /* ctx.fillStyle = "#fff";
72501
+ ctx.beginPath();
72502
+ let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
72503
+ let w = 46; //圆角宽
72504
+ let x = logoPosition - 5;
72505
+ let y = logoPosition - 5;
72506
+ let r = 5; //圆角半径
72507
+ ctx.moveTo(x + r, y);
72508
+ ctx.arcTo(x + w, y, x + w, y + h, r);
72509
+ ctx.arcTo(x + w, y + h, x, y + h, r);
72510
+ ctx.arcTo(x, y + h, x, y, r);
72511
+ ctx.arcTo(x, y, x + w, y, r);
72512
+ ctx.closePath();
72047
72513
  ctx.fill(); */
72048
72514
  logo.onload = function () {
72049
72515
  ctx.drawImage(logo, logoPosition, logoPosition, 46, 46);
@@ -89935,7 +90401,7 @@ if (typeof window !== 'undefined' && window.Vue) {
89935
90401
  }
89936
90402
 
89937
90403
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
89938
- version: '0.6.67',
90404
+ version: '0.6.69',
89939
90405
  install: install,
89940
90406
  Button: packages_button,
89941
90407
  ButtonGroup: button_group,