eoss-ui 0.7.20 → 0.7.22

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 (223) hide show
  1. package/lib/button-group.js +210 -119
  2. package/lib/button.js +210 -119
  3. package/lib/calogin.js +443 -352
  4. package/lib/checkbox-group.js +210 -119
  5. package/lib/data-table-form.js +210 -119
  6. package/lib/data-table.js +210 -119
  7. package/lib/date-picker.js +210 -119
  8. package/lib/dialog.js +210 -119
  9. package/lib/eoss-ui.common.js +907 -537
  10. package/lib/flow-group.js +210 -119
  11. package/lib/flow-list.js +210 -119
  12. package/lib/flow.js +625 -255
  13. package/lib/form.js +210 -119
  14. package/lib/handle-user.js +210 -119
  15. package/lib/handler.js +212 -122
  16. package/lib/icon.js +210 -119
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +210 -119
  19. package/lib/input.js +210 -119
  20. package/lib/login.js +214 -122
  21. package/lib/main.js +224 -133
  22. package/lib/nav.js +210 -119
  23. package/lib/page.js +210 -119
  24. package/lib/pagination.js +210 -119
  25. package/lib/player.js +210 -119
  26. package/lib/qr-code.js +223 -132
  27. package/lib/radio-group.js +210 -119
  28. package/lib/retrial-auth.js +210 -119
  29. package/lib/select-ganged.js +210 -119
  30. package/lib/select.js +210 -119
  31. package/lib/selector-panel.js +210 -119
  32. package/lib/selector.js +210 -119
  33. package/lib/sizer.js +210 -119
  34. package/lib/steps.js +210 -119
  35. package/lib/switch.js +210 -119
  36. package/lib/table-form.js +210 -119
  37. package/lib/tabs.js +210 -119
  38. package/lib/theme-chalk/flow.css +1 -1
  39. package/lib/theme-chalk/index.css +1 -1
  40. package/lib/tips.js +210 -119
  41. package/lib/tree-group.js +210 -119
  42. package/lib/tree.js +210 -119
  43. package/lib/upload.js +210 -119
  44. package/lib/utils/util.js +210 -119
  45. package/lib/wujie.js +210 -119
  46. package/lib/wxlogin.js +210 -119
  47. package/package.json +2 -2
  48. package/packages/button/index.js +5 -5
  49. package/packages/button/src/main.vue +418 -418
  50. package/packages/button-group/index.js +5 -5
  51. package/packages/calendar/index.js +5 -5
  52. package/packages/calogin/index.js +5 -5
  53. package/packages/calogin/src/plugin.js +915 -915
  54. package/packages/card/index.js +5 -5
  55. package/packages/card/src/main.vue +156 -156
  56. package/packages/cascader/index.js +5 -5
  57. package/packages/cascader/src/main.vue +168 -168
  58. package/packages/checkbox-group/index.js +5 -5
  59. package/packages/checkbox-group/src/main.vue +333 -333
  60. package/packages/clients/index.js +5 -5
  61. package/packages/clients/src/main.vue +151 -151
  62. package/packages/data-table/index.js +5 -5
  63. package/packages/data-table/src/children.vue +39 -39
  64. package/packages/data-table/src/sizer.vue +195 -195
  65. package/packages/data-table-form/index.js +5 -5
  66. package/packages/data-table-form/src/checkbox.vue +101 -101
  67. package/packages/data-table-form/src/colgroup.vue +17 -17
  68. package/packages/data-table-form/src/main.vue +181 -181
  69. package/packages/data-table-form/src/radio.vue +65 -65
  70. package/packages/data-table-form/src/table.vue +233 -233
  71. package/packages/data-table-form/src/tbody.vue +336 -336
  72. package/packages/data-table-form/src/thead.vue +68 -68
  73. package/packages/date-picker/index.js +5 -5
  74. package/packages/date-picker/src/main.vue +236 -236
  75. package/packages/dialog/index.js +5 -5
  76. package/packages/enable-drag/index.js +5 -5
  77. package/packages/enterprise/index.js +5 -5
  78. package/packages/enterprise/src/main.vue +66 -66
  79. package/packages/error-page/index.js +5 -5
  80. package/packages/error-page/src/main.vue +44 -44
  81. package/packages/flow/index.js +5 -5
  82. package/packages/flow/src/component/CustomPreset.vue +322 -322
  83. package/packages/flow/src/component/Preset.vue +255 -255
  84. package/packages/flow/src/component/TimeLimit.vue +190 -190
  85. package/packages/flow/src/component/taskUnionExamine.vue +95 -7
  86. package/packages/flow/src/form.vue +121 -121
  87. package/packages/flow/src/main.vue +81 -40
  88. package/packages/flow/src/processForm.vue +106 -27
  89. package/packages/flow/src/table.vue +58 -58
  90. package/packages/flow-group/index.js +5 -5
  91. package/packages/flow-list/index.js +5 -5
  92. package/packages/form/index.js +5 -5
  93. package/packages/handle-user/index.js +5 -5
  94. package/packages/handler/index.js +5 -5
  95. package/packages/handler/src/main.vue +0 -1
  96. package/packages/icon/index.js +5 -5
  97. package/packages/icons/index.js +5 -5
  98. package/packages/icons/src/main.vue +81 -81
  99. package/packages/input/index.js +5 -5
  100. package/packages/input/src/main.vue +356 -356
  101. package/packages/input-number/index.js +5 -5
  102. package/packages/input-number/src/main.vue +106 -106
  103. package/packages/label/index.js +5 -5
  104. package/packages/label/src/main.vue +457 -457
  105. package/packages/layout/index.js +5 -5
  106. package/packages/layout/src/item.vue +152 -152
  107. package/packages/layout/src/main.vue +31 -31
  108. package/packages/login/index.js +5 -5
  109. package/packages/login/src/main.vue +2 -1
  110. package/packages/main/index.js +5 -5
  111. package/packages/main/src/default/message.vue +249 -249
  112. package/packages/main/src/default/notice.vue +157 -157
  113. package/packages/main/src/public/online.vue +89 -89
  114. package/packages/main/src/public/settings.vue +221 -221
  115. package/packages/main/src/simplicity/apps.vue +388 -388
  116. package/packages/main/src/simplicity/index.vue +2 -2
  117. package/packages/main/src/simplicity/lists.vue +84 -84
  118. package/packages/main/src/simplicity/menu-list.vue +135 -135
  119. package/packages/main/src/simplicity/message.vue +259 -259
  120. package/packages/main/src/simplicity/notice.vue +190 -190
  121. package/packages/main/src/simplicity/router-page.vue +45 -45
  122. package/packages/main/src/simplicity/sub-menu.vue +264 -264
  123. package/packages/menu/index.js +5 -5
  124. package/packages/menu/src/main.vue +584 -584
  125. package/packages/nav/index.js +5 -5
  126. package/packages/nav/src/main.vue +351 -351
  127. package/packages/notify/index.js +5 -5
  128. package/packages/notify/src/main.vue +538 -538
  129. package/packages/page/index.js +5 -5
  130. package/packages/page/src/main.vue +167 -167
  131. package/packages/pagination/index.js +5 -5
  132. package/packages/pagination/src/main.vue +96 -96
  133. package/packages/player/index.js +5 -5
  134. package/packages/player/src/main.vue +194 -194
  135. package/packages/qr-code/index.js +5 -5
  136. package/packages/qr-code/src/main.vue +170 -170
  137. package/packages/radio-group/index.js +6 -6
  138. package/packages/radio-group/src/main.vue +319 -319
  139. package/packages/retrial-auth/index.js +5 -5
  140. package/packages/retrial-auth/src/main.vue +280 -280
  141. package/packages/select/index.js +5 -5
  142. package/packages/select-ganged/index.js +5 -5
  143. package/packages/select-ganged/src/main.vue +724 -724
  144. package/packages/selector/index.js +5 -5
  145. package/packages/selector-panel/index.js +5 -5
  146. package/packages/selector-panel/src/tree.vue +129 -129
  147. package/packages/sizer/index.js +5 -5
  148. package/packages/sizer/src/main.vue +254 -254
  149. package/packages/steps/index.js +5 -5
  150. package/packages/steps/src/main.vue +181 -181
  151. package/packages/switch/index.js +5 -5
  152. package/packages/table-form/index.js +5 -5
  153. package/packages/tabs/index.js +5 -5
  154. package/packages/tabs/src/main.vue +788 -788
  155. package/packages/tabs-panel/index.js +5 -5
  156. package/packages/tabs-panel/src/main.vue +29 -29
  157. package/packages/theme-chalk/lib/flow.css +1 -1
  158. package/packages/theme-chalk/lib/index.css +1 -1
  159. package/packages/theme-chalk/src/base.scss +261 -261
  160. package/packages/theme-chalk/src/button-group.scss +176 -176
  161. package/packages/theme-chalk/src/button.scss +24 -24
  162. package/packages/theme-chalk/src/calendar.scss +113 -113
  163. package/packages/theme-chalk/src/card.scss +99 -99
  164. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  165. package/packages/theme-chalk/src/clients.scss +87 -87
  166. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  167. package/packages/theme-chalk/src/data-table.scss +293 -293
  168. package/packages/theme-chalk/src/date-picker.scss +7 -7
  169. package/packages/theme-chalk/src/dialog.scss +77 -77
  170. package/packages/theme-chalk/src/enable-drag.scss +181 -181
  171. package/packages/theme-chalk/src/enterprise.scss +5 -5
  172. package/packages/theme-chalk/src/error-page.scss +18 -18
  173. package/packages/theme-chalk/src/flow-group.scss +110 -110
  174. package/packages/theme-chalk/src/flow-list.scss +39 -39
  175. package/packages/theme-chalk/src/flow.scss +4 -1
  176. package/packages/theme-chalk/src/handle-user.scss +40 -40
  177. package/packages/theme-chalk/src/icons.scss +99 -99
  178. package/packages/theme-chalk/src/input.scss +9 -9
  179. package/packages/theme-chalk/src/label.scss +24 -24
  180. package/packages/theme-chalk/src/layout.scss +46 -46
  181. package/packages/theme-chalk/src/main.scss +663 -663
  182. package/packages/theme-chalk/src/menu.scss +222 -222
  183. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  184. package/packages/theme-chalk/src/nav.scss +111 -111
  185. package/packages/theme-chalk/src/page.scss +3 -3
  186. package/packages/theme-chalk/src/pagination.scss +29 -29
  187. package/packages/theme-chalk/src/player.scss +9 -9
  188. package/packages/theme-chalk/src/qr-code.scss +17 -17
  189. package/packages/theme-chalk/src/radio-group.scss +9 -9
  190. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  191. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  192. package/packages/theme-chalk/src/select.scss +8 -8
  193. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  194. package/packages/theme-chalk/src/sizer.scss +36 -36
  195. package/packages/theme-chalk/src/steps.scss +88 -88
  196. package/packages/theme-chalk/src/switch.scss +3 -3
  197. package/packages/theme-chalk/src/table-form.scss +1 -1
  198. package/packages/theme-chalk/src/tabs.scss +87 -87
  199. package/packages/theme-chalk/src/tips.scss +7 -7
  200. package/packages/theme-chalk/src/toolbar.scss +179 -179
  201. package/packages/theme-chalk/src/tree-group.scss +72 -72
  202. package/packages/theme-chalk/src/tree.scss +165 -165
  203. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  204. package/packages/tips/index.js +5 -5
  205. package/packages/tips/src/main.vue +141 -141
  206. package/packages/toolbar/index.js +5 -5
  207. package/packages/toolbar/src/main.vue +430 -430
  208. package/packages/tree/index.js +5 -5
  209. package/packages/tree-group/index.js +5 -5
  210. package/packages/upload/index.js +5 -5
  211. package/packages/upload/src/picture.js +15 -15
  212. package/packages/wujie/index.js +5 -5
  213. package/packages/wujie/src/main.vue +145 -145
  214. package/packages/wxlogin/index.js +5 -5
  215. package/packages/wxlogin/src/main.vue +128 -128
  216. package/src/config/image.js +2 -2
  217. package/src/index.js +1 -1
  218. package/src/utils/bus.js +3 -3
  219. package/src/utils/date-util.js +312 -312
  220. package/src/utils/http.js +50 -50
  221. package/src/utils/store.js +21 -21
  222. package/src/utils/util.js +192 -145
  223. package/src/utils/webSocket.js +107 -107
@@ -198,12 +198,14 @@ var ajax = function ajax(_ref) {
198
198
  mix = _ref$mix === undefined ? false : _ref$mix,
199
199
  _ref$defaults = _ref.defaults,
200
200
  defaults = _ref$defaults === undefined ? false : _ref$defaults,
201
+ _ref$withCredentials = _ref.withCredentials,
202
+ withCredentials = _ref$withCredentials === undefined ? true : _ref$withCredentials,
201
203
  loading = _ref.loading,
202
204
  publicKey = _ref.publicKey,
203
205
  secret = _ref.secret,
204
206
  encodes = _ref.encodes,
205
207
  oldmode = _ref.oldmode,
206
- configs = _objectWithoutProperties(_ref, ['headers', 'method', 'url', 'host', 'data', 'params', 'format', 'formatConfig', 'mix', 'defaults', 'loading', 'publicKey', 'secret', 'encodes', 'oldmode']);
208
+ configs = _objectWithoutProperties(_ref, ['headers', 'method', 'url', 'host', 'data', 'params', 'format', 'formatConfig', 'mix', 'defaults', 'withCredentials', 'loading', 'publicKey', 'secret', 'encodes', 'oldmode']);
207
209
 
208
210
  var header = headers || {};
209
211
  if (!method) {
@@ -241,20 +243,18 @@ var ajax = function ajax(_ref) {
241
243
  // delPendingRequest(response.config);
242
244
  loading && loading.close();
243
245
  if (response.headers.authorization && response.headers.authorization !== getStorage('token')) {
244
- if (localStorage.getItem('storage') === 'localStorage' || localStorage.getItem('token') || localStorage.getItem('Authorization')) {
245
- localStorage.setItem('token', response.headers.authorization);
246
- localStorage.setItem('Authorization', response.headers.authorization);
247
- } else {
248
- sessionStorage.setItem('token', response.headers.authorization);
249
- sessionStorage.setItem('Authorization', response.headers.authorization);
250
- }
246
+ setStorage({
247
+ key: ['token', 'Authorization'],
248
+ value: response.headers.authorization
249
+ });
251
250
  }
252
- if ((response.headers.ssId || response.headers.Ssid || response.headers.ssid) && (response.headers.ssId || response.headers.SsId || response.headers.ssid) !== getStorage('ssId')) {
253
- if (localStorage.getItem('storage') === 'localStorage' || localStorage.getItem('ssId')) {
254
- localStorage.setItem('ssId', response.headers.ssId || response.headers.SsId || response.headers.ssid);
255
- } else {
256
- sessionStorage.setItem('ssId', response.headers.ssId || response.headers.SsId || response.headers.ssid);
257
- }
251
+ var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
252
+
253
+ if (ssId && ssId !== getStorage('ssId')) {
254
+ setStorage({
255
+ key: 'ssId',
256
+ value: ssId
257
+ });
258
258
  }
259
259
  if (response.status === 200) {
260
260
  responses(response.data);
@@ -1791,37 +1791,6 @@ var getSecond = function getSecond(datetime) {
1791
1791
  return datetimeObj.getSeconds();
1792
1792
  };
1793
1793
 
1794
- /**
1795
- * getStorage
1796
- * @desc:获取本地储存数据
1797
- * @author huangbo
1798
- * @date 2022年5月7日
1799
- * @param {String} [key] - 获取的名称
1800
- **/
1801
- var getStorage = function getStorage(key) {
1802
- if (key) {
1803
- var res = sessionStorage.getItem(key) || localStorage.getItem(key) || win[key];
1804
- if (key === 'host' && !res) {
1805
- return win.location.origin;
1806
- }
1807
- return res;
1808
- }
1809
- var defaults = {};
1810
- var token = sessionStorage.getItem('token') || localStorage.getItem('token') || win.token;
1811
- var ssId = sessionStorage.getItem('ssId') || localStorage.getItem('ssId') || win.ssId;
1812
- var deviceUnique = sessionStorage.getItem('deviceUnique') || localStorage.getItem('deviceUnique') || win.deviceUnique;
1813
- if (token) {
1814
- defaults.Authorization = token;
1815
- }
1816
- if (ssId) {
1817
- defaults.ssId = ssId;
1818
- }
1819
- if (deviceUnique) {
1820
- defaults.deviceUnique = deviceUnique;
1821
- }
1822
- return defaults;
1823
- };
1824
-
1825
1794
  /**
1826
1795
  * getStyle
1827
1796
  * @desc:获取元素样式(含非行内样式)
@@ -2348,9 +2317,7 @@ var isLogined = function () {
2348
2317
 
2349
2318
  switch (results.statusCode) {
2350
2319
  case 0:
2351
- var storage = getStorage('storage');
2352
2320
  setStorage({
2353
- type: storage,
2354
2321
  key: {
2355
2322
  ssId: results.ssId,
2356
2323
  token: results.token,
@@ -2727,28 +2694,6 @@ var receiveMessage = function receiveMessage(_ref14) {
2727
2694
  });
2728
2695
  };
2729
2696
 
2730
- /**
2731
- * removeStorage
2732
- * @desc:删除本地储存数据
2733
- * @author huangbo
2734
- * @date 2022年5月7日
2735
- * @param {String, Array} [key] - 获取的名称
2736
- **/
2737
- var removeStorage = function removeStorage(key) {
2738
- if (Array.isArray(key)) {
2739
- for (var i = 0; i < key.length; i++) {
2740
- sessionStorage.removeItem(key[i]);
2741
- localStorage.removeItem(key[i]);
2742
- }
2743
- } else if (key) {
2744
- sessionStorage.removeItem(key);
2745
- localStorage.removeItem(key);
2746
- } else {
2747
- sessionStorage.clear();
2748
- localStorage.clear();
2749
- }
2750
- };
2751
-
2752
2697
  /**
2753
2698
  * replenish
2754
2699
  * @desc:补全小数位数
@@ -3046,52 +2991,6 @@ var setFavicon = function setFavicon(url) {
3046
2991
  }
3047
2992
  };
3048
2993
 
3049
- /**
3050
- * setStorage
3051
- * @desc:设置本地储存数据
3052
- * @author huangbo
3053
- * @date 2022年5月7日
3054
- * @param {String} [type] - 储存类型
3055
- * @param {String, Array, Object} [key] - 数据的名称,array类型表示多个key保存同一个value,object类型时对象的属性名称作为key属性值作为value
3056
- * @param {String} [value] - 数据的值
3057
- **/
3058
- var setStorage = function setStorage(_ref17) {
3059
- var type = _ref17.type,
3060
- key = _ref17.key,
3061
- value = _ref17.value;
3062
-
3063
- if (value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object') {
3064
- value = JSON.stringify(value);
3065
- }
3066
- if (type === 'localStorage') {
3067
- if (typeof key === 'string') {
3068
- localStorage.setItem(key, value);
3069
- } else if (Array.isArray(key)) {
3070
- for (var i in key) {
3071
- localStorage.setItem(key[i], value);
3072
- }
3073
- } else {
3074
- for (var _i7 in key) {
3075
- var val = _typeof(key[_i7]) === 'object' ? JSON.stringify(key[_i7]) : key[_i7];
3076
- localStorage.setItem(_i7, val);
3077
- }
3078
- }
3079
- } else {
3080
- if (typeof key === 'string') {
3081
- sessionStorage.setItem(key, value);
3082
- } else if (Array.isArray(key)) {
3083
- for (var _i8 in key) {
3084
- sessionStorage.setItem(key[_i8], value);
3085
- }
3086
- } else {
3087
- for (var _i9 in key) {
3088
- var _val = _typeof(key[_i9]) === 'object' ? JSON.stringify(key[_i9]) : key[_i9];
3089
- sessionStorage.setItem(_i9, _val);
3090
- }
3091
- }
3092
- }
3093
- };
3094
-
3095
2994
  /**
3096
2995
  * socket
3097
2996
  * @desc:webSocket
@@ -3352,10 +3251,10 @@ var upperCase = function upperCase(text) {
3352
3251
  * @param {Object} [url] - url地址
3353
3252
  * @param {Object} [param] - 被转换的对象
3354
3253
  **/
3355
- var urlJoinParams = function urlJoinParams(_ref18) {
3356
- var url = _ref18.url,
3357
- param = _ref18.param,
3358
- timestamp = _ref18.timestamp;
3254
+ var urlJoinParams = function urlJoinParams(_ref17) {
3255
+ var url = _ref17.url,
3256
+ param = _ref17.param,
3257
+ timestamp = _ref17.timestamp;
3359
3258
 
3360
3259
  var arry = decodeURI(url).split('?');
3361
3260
  var times = new Date().getTime();
@@ -3471,6 +3370,195 @@ var watermark = function watermark(option) {
3471
3370
  };
3472
3371
  };
3473
3372
 
3373
+ /**
3374
+ * setStorage
3375
+ * @desc:设置本地储存数据
3376
+ * @author huangbo
3377
+ * @date 2022年5月7日
3378
+ * @param {String} [type] - 储存类型
3379
+ * @param {String, Array, Object} [key] - 数据的名称,array类型表示多个key保存同一个value,object类型时对象的属性名称作为key属性值作为value
3380
+ * @param {String} [value] - 数据的值
3381
+ **/
3382
+ var setStorage = function setStorage(_ref18) {
3383
+ var type = _ref18.type,
3384
+ key = _ref18.key,
3385
+ value = _ref18.value;
3386
+
3387
+ type = type || getStorage('storage');
3388
+
3389
+ if (value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object') {
3390
+ value = JSON.stringify(value);
3391
+ }
3392
+ if (type === 'localStorage') {
3393
+ if (typeof key === 'string') {
3394
+ localStorage.setItem(key, value);
3395
+ if (key === 'token') {
3396
+ setCookie('token', value);
3397
+ }
3398
+ } else if (Array.isArray(key)) {
3399
+ for (var i in key) {
3400
+ localStorage.setItem(key[i], value);
3401
+ if (key[i] === 'token') {
3402
+ setCookie('token', value);
3403
+ }
3404
+ }
3405
+ } else {
3406
+ for (var _i7 in key) {
3407
+ var val = _typeof(key[_i7]) === 'object' ? JSON.stringify(key[_i7]) : key[_i7];
3408
+ localStorage.setItem(_i7, val);
3409
+ if (_i7 === 'token') {
3410
+ setCookie('token', val);
3411
+ }
3412
+ }
3413
+ }
3414
+ } else {
3415
+ if (typeof key === 'string') {
3416
+ sessionStorage.setItem(key, value);
3417
+ if (key === 'token') {
3418
+ setCookie('token', value);
3419
+ }
3420
+ } else if (Array.isArray(key)) {
3421
+ for (var _i8 in key) {
3422
+ sessionStorage.setItem(key[_i8], value);
3423
+ if (key[_i8] === 'token') {
3424
+ setCookie('token', value);
3425
+ }
3426
+ }
3427
+ } else {
3428
+ for (var _i9 in key) {
3429
+ var _val = _typeof(key[_i9]) === 'object' ? JSON.stringify(key[_i9]) : key[_i9];
3430
+ sessionStorage.setItem(_i9, _val);
3431
+ if (_i9 === 'token') {
3432
+ setCookie('token', _val);
3433
+ }
3434
+ }
3435
+ }
3436
+ }
3437
+ };
3438
+
3439
+ /**
3440
+ * getStorage
3441
+ * @desc:获取本地储存数据
3442
+ * @author huangbo
3443
+ * @date 2022年5月7日
3444
+ * @param {String} [key] - 获取的名称
3445
+ **/
3446
+ var getStorage = function getStorage(key) {
3447
+ if (key) {
3448
+ var res = sessionStorage.getItem(key) || localStorage.getItem(key) || win[key];
3449
+ if (key === 'host' && !res) {
3450
+ return win.location.origin;
3451
+ }
3452
+ return res;
3453
+ }
3454
+ var defaults = {};
3455
+ var token = sessionStorage.getItem('token') || localStorage.getItem('token') || getCookie('token') || win.token;
3456
+ var ssId = sessionStorage.getItem('ssId') || localStorage.getItem('ssId') || getCookie('ssId') || win.ssId;
3457
+
3458
+ var deviceUnique = sessionStorage.getItem('deviceUnique') || localStorage.getItem('deviceUnique') || getCookie('deviceUnique') || win.deviceUnique;
3459
+ if (token) {
3460
+ defaults.Authorization = token;
3461
+ }
3462
+ if (ssId) {
3463
+ defaults.ssId = ssId;
3464
+ }
3465
+ if (deviceUnique) {
3466
+ defaults.deviceUnique = deviceUnique;
3467
+ }
3468
+ return defaults;
3469
+ };
3470
+
3471
+ /**
3472
+ * removeStorage
3473
+ * @desc:删除本地储存数据
3474
+ * @author huangbo
3475
+ * @date 2022年5月7日
3476
+ * @param {String, Array} [key] - 获取的名称
3477
+ **/
3478
+ var removeStorage = function removeStorage(key) {
3479
+ if (Array.isArray(key)) {
3480
+ for (var i = 0; i < key.length; i++) {
3481
+ sessionStorage.removeItem(key[i]);
3482
+ localStorage.removeItem(key[i]);
3483
+ if (key[i] === 'token') {
3484
+ removeCookie('token');
3485
+ }
3486
+ }
3487
+ } else if (key) {
3488
+ sessionStorage.removeItem(key);
3489
+ localStorage.removeItem(key);
3490
+ if (key === 'token') {
3491
+ removeCookie('token');
3492
+ }
3493
+ } else {
3494
+ sessionStorage.clear();
3495
+ localStorage.clear();
3496
+ removeCookie('token');
3497
+ }
3498
+ };
3499
+
3500
+ /**
3501
+ * setCookie
3502
+ * @desc 设置cookie
3503
+ * @author huangbo
3504
+ * @param {string} [name] cookie名称
3505
+ * @return {string} [value] cookie值
3506
+ **/
3507
+ var setCookie = function setCookie(name, value) {
3508
+ // 不设置 expires 或 max-age,默认为会话 Cookie
3509
+ document.cookie = encodeURIComponent(name) + '=' + encodeURIComponent(value) + '; path=/';
3510
+ };
3511
+
3512
+ /**
3513
+ * getCookie
3514
+ * @desc 获取cookie中指定名称的值
3515
+ * @author huangbo
3516
+ * @param {string} [name] cookie名称
3517
+ **/
3518
+ var getCookie = function getCookie(name) {
3519
+ var cookies = document.cookie.split(';');
3520
+ for (var _iterator = cookies, _isArray = Array.isArray(_iterator), _i10 = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
3521
+ var _ref19;
3522
+
3523
+ if (_isArray) {
3524
+ if (_i10 >= _iterator.length) break;
3525
+ _ref19 = _iterator[_i10++];
3526
+ } else {
3527
+ _i10 = _iterator.next();
3528
+ if (_i10.done) break;
3529
+ _ref19 = _i10.value;
3530
+ }
3531
+
3532
+ var cookie = _ref19;
3533
+
3534
+ var _cookie$trim$split = cookie.trim().split('='),
3535
+ cookieName = _cookie$trim$split[0],
3536
+ cookieValue = _cookie$trim$split[1];
3537
+
3538
+ if (decodeURIComponent(cookieName) === name) {
3539
+ return decodeURIComponent(cookieValue);
3540
+ }
3541
+ }
3542
+ return null;
3543
+ };
3544
+
3545
+ /**
3546
+ * removeCookie
3547
+ * @desc:删除cookie
3548
+ * @author huangbo
3549
+ * @date 2022年5月7日
3550
+ * @param {String, Array} [key] - 获取的名称
3551
+ **/
3552
+ var removeCookie = function removeCookie(key) {
3553
+ if (Array.isArray(key)) {
3554
+ for (var i = 0; i < key.length; i++) {
3555
+ document.cookie = encodeURIComponent(key[i]) + '=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';
3556
+ }
3557
+ } else {
3558
+ document.cookie = encodeURIComponent(key) + '=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';
3559
+ }
3560
+ };
3561
+
3474
3562
  /* harmony default export */ __webpack_exports__["a"] = ({
3475
3563
  ajax: ajax,
3476
3564
  ajaxStream: ajaxStream,
@@ -3497,6 +3585,7 @@ var watermark = function watermark(option) {
3497
3585
  formatDate: formatDate,
3498
3586
  getCurrentDate: getCurrentDate,
3499
3587
  getCurrentDateTime: getCurrentDateTime,
3588
+ getCookie: getCookie,
3500
3589
  getHour: getHour,
3501
3590
  getMyWinTop: getMyWinTop,
3502
3591
  getWeekNumber: getWeekNumber,
@@ -3534,6 +3623,7 @@ var watermark = function watermark(option) {
3534
3623
  mixColor: mixColor,
3535
3624
  overbrim: overbrim,
3536
3625
  queryParams: queryParams,
3626
+ removeCookie: removeCookie,
3537
3627
  receiveMessage: receiveMessage,
3538
3628
  removeStorage: removeStorage,
3539
3629
  replenish: replenish,
@@ -3541,6 +3631,7 @@ var watermark = function watermark(option) {
3541
3631
  rgbToHsv: rgbToHsv,
3542
3632
  rmbToCapital: rmbToCapital,
3543
3633
  sendMessage: sendMessage,
3634
+ setCookie: setCookie,
3544
3635
  setFavicon: setFavicon,
3545
3636
  setScale: setScale,
3546
3637
  setStorage: setStorage,
@@ -6118,8 +6209,8 @@ var plugin_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "
6118
6209
 
6119
6210
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6120
6211
 
6121
- /**
6122
- * JIT_GW_ExtInterface 模块,提供与客户端交互的功能
6212
+ /**
6213
+ * JIT_GW_ExtInterface 模块,提供与客户端交互的功能
6123
6214
  */
6124
6215
  var CA_ExtInterface = function () {
6125
6216
  function CA_ExtInterface() {
@@ -6132,11 +6223,11 @@ var CA_ExtInterface = function () {
6132
6223
  this.init();
6133
6224
  }
6134
6225
 
6135
- /**
6136
- * 简单的 Object.assign 兼容 IE <= 11 的 polyfill
6137
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
6138
- * @param {Object} target - 目标对象
6139
- * @param {Object} options - 新的选项对象
6226
+ /**
6227
+ * 简单的 Object.assign 兼容 IE <= 11 的 polyfill
6228
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
6229
+ * @param {Object} target - 目标对象
6230
+ * @param {Object} options - 新的选项对象
6140
6231
  */
6141
6232
 
6142
6233
 
@@ -6151,8 +6242,8 @@ var CA_ExtInterface = function () {
6151
6242
  }
6152
6243
  };
6153
6244
 
6154
- /**
6155
- * 检查当前会话的 WebSocket URL
6245
+ /**
6246
+ * 检查当前会话的 WebSocket URL
6156
6247
  */
6157
6248
 
6158
6249
 
@@ -6166,8 +6257,8 @@ var CA_ExtInterface = function () {
6166
6257
  }
6167
6258
  };
6168
6259
 
6169
- /**
6170
- * 检查是否使用 ActiveX
6260
+ /**
6261
+ * 检查是否使用 ActiveX
6171
6262
  */
6172
6263
 
6173
6264
 
@@ -6179,11 +6270,11 @@ var CA_ExtInterface = function () {
6179
6270
  }
6180
6271
  };
6181
6272
 
6182
- /**
6183
- * 扩展发送消息并等待响应
6184
- * @param {string} operatorCmd - 操作命令
6185
- * @param {string} sendMsg - 发送的消息
6186
- * @returns {string} 响应消息
6273
+ /**
6274
+ * 扩展发送消息并等待响应
6275
+ * @param {string} operatorCmd - 操作命令
6276
+ * @param {string} sendMsg - 发送的消息
6277
+ * @returns {string} 响应消息
6187
6278
  */
6188
6279
 
6189
6280
 
@@ -6193,11 +6284,11 @@ var CA_ExtInterface = function () {
6193
6284
  return this.sendAndWaitMessage(this.currentSessionWSURL, strSendMsg);
6194
6285
  };
6195
6286
 
6196
- /**
6197
- * 发送消息并等待响应
6198
- * @param {string} wsurl - WebSocket URL
6199
- * @param {string} sendMsg - 发送的消息
6200
- * @returns {string} 响应消息
6287
+ /**
6288
+ * 发送消息并等待响应
6289
+ * @param {string} wsurl - WebSocket URL
6290
+ * @param {string} sendMsg - 发送的消息
6291
+ * @returns {string} 响应消息
6201
6292
  */
6202
6293
 
6203
6294
 
@@ -6221,9 +6312,9 @@ var CA_ExtInterface = function () {
6221
6312
  return ResultMsg;
6222
6313
  };
6223
6314
 
6224
- /**
6225
- * 配置选项
6226
- * @param {Object} extendOption - 扩展选项
6315
+ /**
6316
+ * 配置选项
6317
+ * @param {Object} extendOption - 扩展选项
6227
6318
  */
6228
6319
 
6229
6320
 
@@ -6233,8 +6324,8 @@ var CA_ExtInterface = function () {
6233
6324
  }
6234
6325
  };
6235
6326
 
6236
- /**
6237
- * 初始化
6327
+ /**
6328
+ * 初始化
6238
6329
  */
6239
6330
 
6240
6331
 
@@ -6242,9 +6333,9 @@ var CA_ExtInterface = function () {
6242
6333
  this.isUseActioveX();
6243
6334
  };
6244
6335
 
6245
- /**
6246
- * 返回客户端的版本
6247
- * @returns {string} 客户端版本
6336
+ /**
6337
+ * 返回客户端的版本
6338
+ * @returns {string} 客户端版本
6248
6339
  */
6249
6340
 
6250
6341
 
@@ -6257,13 +6348,13 @@ var CA_ExtInterface = function () {
6257
6348
  }
6258
6349
  };
6259
6350
 
6260
- /**
6261
- * 下载客户端程序并安装
6262
- * @param {string} bstrURL - 下载地址
6263
- * @param {string} bstrHashValue - 哈希值
6264
- * @param {boolean} bSync - 是否同步安装
6265
- * @param {boolean} bOnlySSO - 是否仅安装 SSO
6266
- * @returns {number} 安装结果
6351
+ /**
6352
+ * 下载客户端程序并安装
6353
+ * @param {string} bstrURL - 下载地址
6354
+ * @param {string} bstrHashValue - 哈希值
6355
+ * @param {boolean} bSync - 是否同步安装
6356
+ * @param {boolean} bOnlySSO - 是否仅安装 SSO
6357
+ * @returns {number} 安装结果
6267
6358
  */
6268
6359
 
6269
6360
 
@@ -6277,11 +6368,11 @@ var CA_ExtInterface = function () {
6277
6368
  }
6278
6369
  };
6279
6370
 
6280
- /**
6281
- * 获取硬件指纹信息
6282
- * @param {number} dwSign - 签名
6283
- * @param {string} strGateWayIP - 网关 IP
6284
- * @returns {string} 硬件指纹信息
6371
+ /**
6372
+ * 获取硬件指纹信息
6373
+ * @param {number} dwSign - 签名
6374
+ * @param {string} strGateWayIP - 网关 IP
6375
+ * @returns {string} 硬件指纹信息
6285
6376
  */
6286
6377
 
6287
6378
 
@@ -6295,12 +6386,12 @@ var CA_ExtInterface = function () {
6295
6386
  }
6296
6387
  };
6297
6388
 
6298
- /**
6299
- * 设置转发策略和代填策略
6300
- * @param {string} strProxyPolicy - 转发策略
6301
- * @param {string} strSSOPolicy - 代填策略
6302
- * @param {string} strGatewayAddress - 网关地址
6303
- * @returns {number} 设置结果
6389
+ /**
6390
+ * 设置转发策略和代填策略
6391
+ * @param {string} strProxyPolicy - 转发策略
6392
+ * @param {string} strSSOPolicy - 代填策略
6393
+ * @param {string} strGatewayAddress - 网关地址
6394
+ * @returns {number} 设置结果
6304
6395
  */
6305
6396
 
6306
6397
 
@@ -6314,11 +6405,11 @@ var CA_ExtInterface = function () {
6314
6405
  }
6315
6406
  };
6316
6407
 
6317
- /**
6318
- * 启动认证信息模块
6319
- * @param {string} strFileName - 文件名
6320
- * @param {string} strXmlData - XML 数据
6321
- * @returns {string} 认证信息
6408
+ /**
6409
+ * 启动认证信息模块
6410
+ * @param {string} strFileName - 文件名
6411
+ * @param {string} strXmlData - XML 数据
6412
+ * @returns {string} 认证信息
6322
6413
  */
6323
6414
 
6324
6415
 
@@ -6332,10 +6423,10 @@ var CA_ExtInterface = function () {
6332
6423
  }
6333
6424
  };
6334
6425
 
6335
- /**
6336
- * 打开 BS 应用
6337
- * @param {string} strUrl - 应用 URL
6338
- * @returns {number} 打开结果
6426
+ /**
6427
+ * 打开 BS 应用
6428
+ * @param {string} strUrl - 应用 URL
6429
+ * @returns {number} 打开结果
6339
6430
  */
6340
6431
 
6341
6432
 
@@ -6349,12 +6440,12 @@ var CA_ExtInterface = function () {
6349
6440
  }
6350
6441
  };
6351
6442
 
6352
- /**
6353
- * 打开 CS 应用
6354
- * @param {string} strGatewayAddress - 网关地址
6355
- * @param {string} strAppFlag - 应用标识
6356
- * @param {string} strAppPath - 应用路径
6357
- * @returns {number} 打开结果
6443
+ /**
6444
+ * 打开 CS 应用
6445
+ * @param {string} strGatewayAddress - 网关地址
6446
+ * @param {string} strAppFlag - 应用标识
6447
+ * @param {string} strAppPath - 应用路径
6448
+ * @returns {number} 打开结果
6358
6449
  */
6359
6450
 
6360
6451
 
@@ -6368,13 +6459,13 @@ var CA_ExtInterface = function () {
6368
6459
  }
6369
6460
  };
6370
6461
 
6371
- /**
6372
- * 设置自动更新策略
6373
- * @param {string} strGatewayAddress - 网关地址
6374
- * @param {number} nGatewayPort - 网关端口
6375
- * @param {string} strUserToken - 用户令牌
6376
- * @param {number} updatedelay - 更新延迟
6377
- * @returns {number} 设置结果
6462
+ /**
6463
+ * 设置自动更新策略
6464
+ * @param {string} strGatewayAddress - 网关地址
6465
+ * @param {number} nGatewayPort - 网关端口
6466
+ * @param {string} strUserToken - 用户令牌
6467
+ * @param {number} updatedelay - 更新延迟
6468
+ * @returns {number} 设置结果
6378
6469
  */
6379
6470
 
6380
6471
 
@@ -6388,10 +6479,10 @@ var CA_ExtInterface = function () {
6388
6479
  }
6389
6480
  };
6390
6481
 
6391
- /**
6392
- * 获取客户端 IP
6393
- * @param {string} strGatewayIP - 网关 IP
6394
- * @returns {string} 客户端 IP
6482
+ /**
6483
+ * 获取客户端 IP
6484
+ * @param {string} strGatewayIP - 网关 IP
6485
+ * @returns {string} 客户端 IP
6395
6486
  */
6396
6487
 
6397
6488
 
@@ -6405,10 +6496,10 @@ var CA_ExtInterface = function () {
6405
6496
  }
6406
6497
  };
6407
6498
 
6408
- /**
6409
- * 登出网关
6410
- * @param {string} strServerIP - 服务器 IP
6411
- * @returns {number} 登出结果
6499
+ /**
6500
+ * 登出网关
6501
+ * @param {string} strServerIP - 服务器 IP
6502
+ * @returns {number} 登出结果
6412
6503
  */
6413
6504
 
6414
6505
 
@@ -6422,11 +6513,11 @@ var CA_ExtInterface = function () {
6422
6513
  }
6423
6514
  };
6424
6515
 
6425
- /**
6426
- * 运行安装包
6427
- * @param {number} lRunType - 运行类型
6428
- * @param {boolean} bIsOnlySSO - 是否仅安装 SSO
6429
- * @returns {number} 运行结果
6516
+ /**
6517
+ * 运行安装包
6518
+ * @param {number} lRunType - 运行类型
6519
+ * @param {boolean} bIsOnlySSO - 是否仅安装 SSO
6520
+ * @returns {number} 运行结果
6430
6521
  */
6431
6522
 
6432
6523
 
@@ -6440,9 +6531,9 @@ var CA_ExtInterface = function () {
6440
6531
  }
6441
6532
  };
6442
6533
 
6443
- /**
6444
- * 获取下载进度
6445
- * @returns {number} 下载进度
6534
+ /**
6535
+ * 获取下载进度
6536
+ * @returns {number} 下载进度
6446
6537
  */
6447
6538
 
6448
6539
 
@@ -6456,9 +6547,9 @@ var CA_ExtInterface = function () {
6456
6547
  }
6457
6548
  };
6458
6549
 
6459
- /**
6460
- * 是否安装完成
6461
- * @returns {boolean} 安装完成状态
6550
+ /**
6551
+ * 是否安装完成
6552
+ * @returns {boolean} 安装完成状态
6462
6553
  */
6463
6554
 
6464
6555
 
@@ -6472,11 +6563,11 @@ var CA_ExtInterface = function () {
6472
6563
  }
6473
6564
  };
6474
6565
 
6475
- /**
6476
- * 初始化签包对象
6477
- * @param {string} strAlgType - 算法类型
6478
- * @param {string} strAuxParam - 辅助参数
6479
- * @returns {number} 初始化结果
6566
+ /**
6567
+ * 初始化签包对象
6568
+ * @param {string} strAlgType - 算法类型
6569
+ * @param {string} strAuxParam - 辅助参数
6570
+ * @returns {number} 初始化结果
6480
6571
  */
6481
6572
 
6482
6573
 
@@ -6490,10 +6581,10 @@ var CA_ExtInterface = function () {
6490
6581
  }
6491
6582
  };
6492
6583
 
6493
- /**
6494
- * 设置摘要算法
6495
- * @param {string} strDigestAlg - 摘要算法
6496
- * @returns {number} 设置结果
6584
+ /**
6585
+ * 设置摘要算法
6586
+ * @param {string} strDigestAlg - 摘要算法
6587
+ * @returns {number} 设置结果
6497
6588
  */
6498
6589
 
6499
6590
 
@@ -6507,10 +6598,10 @@ var CA_ExtInterface = function () {
6507
6598
  }
6508
6599
  };
6509
6600
 
6510
- /**
6511
- * 设置单证书是否弹出对话框
6512
- * @param {number} isChoose - 是否弹出对话框
6513
- * @returns {number} 设置结果
6601
+ /**
6602
+ * 设置单证书是否弹出对话框
6603
+ * @param {number} isChoose - 是否弹出对话框
6604
+ * @returns {number} 设置结果
6514
6605
  */
6515
6606
 
6516
6607
 
@@ -6524,11 +6615,11 @@ var CA_ExtInterface = function () {
6524
6615
  }
6525
6616
  };
6526
6617
 
6527
- /**
6528
- * 添加证书过滤条件
6529
- * @param {number} ulType - 过滤类型
6530
- * @param {string} strValue - 过滤值
6531
- * @returns {number} 添加结果
6618
+ /**
6619
+ * 添加证书过滤条件
6620
+ * @param {number} ulType - 过滤类型
6621
+ * @param {string} strValue - 过滤值
6622
+ * @returns {number} 添加结果
6532
6623
  */
6533
6624
 
6534
6625
 
@@ -6542,9 +6633,9 @@ var CA_ExtInterface = function () {
6542
6633
  }
6543
6634
  };
6544
6635
 
6545
- /**
6546
- * 清除所有过滤条件
6547
- * @returns {number} 清除结果
6636
+ /**
6637
+ * 清除所有过滤条件
6638
+ * @returns {number} 清除结果
6548
6639
  */
6549
6640
 
6550
6641
 
@@ -6558,10 +6649,10 @@ var CA_ExtInterface = function () {
6558
6649
  }
6559
6650
  };
6560
6651
 
6561
- /**
6562
- * P1 签名
6563
- * @param {string} strValueBase64 - 待签名的 Base64 字符串
6564
- * @returns {string} 签名结果
6652
+ /**
6653
+ * P1 签名
6654
+ * @param {string} strValueBase64 - 待签名的 Base64 字符串
6655
+ * @returns {string} 签名结果
6565
6656
  */
6566
6657
 
6567
6658
 
@@ -6575,10 +6666,10 @@ var CA_ExtInterface = function () {
6575
6666
  }
6576
6667
  };
6577
6668
 
6578
- /**
6579
- * P1 签名字符串
6580
- * @param {string} strValue - 待签名的字符串
6581
- * @returns {string} 签名结果
6669
+ /**
6670
+ * P1 签名字符串
6671
+ * @param {string} strValue - 待签名的字符串
6672
+ * @returns {string} 签名结果
6582
6673
  */
6583
6674
 
6584
6675
 
@@ -6592,12 +6683,12 @@ var CA_ExtInterface = function () {
6592
6683
  }
6593
6684
  };
6594
6685
 
6595
- /**
6596
- * P7 签名
6597
- * @param {string} strValueBase64 - 待签名的 Base64 字符串
6598
- * @param {boolean} isDetach - 是否分离签名
6599
- * @param {boolean} isIncludeCert - 是否包含证书
6600
- * @returns {string} 签名结果
6686
+ /**
6687
+ * P7 签名
6688
+ * @param {string} strValueBase64 - 待签名的 Base64 字符串
6689
+ * @param {boolean} isDetach - 是否分离签名
6690
+ * @param {boolean} isIncludeCert - 是否包含证书
6691
+ * @returns {string} 签名结果
6601
6692
  */
6602
6693
 
6603
6694
 
@@ -6611,12 +6702,12 @@ var CA_ExtInterface = function () {
6611
6702
  }
6612
6703
  };
6613
6704
 
6614
- /**
6615
- * P7 签名字符串
6616
- * @param {string} strValue - 待签名的字符串
6617
- * @param {boolean} isDetach - 是否分离签名
6618
- * @param {boolean} isIncludeCert - 是否包含证书
6619
- * @returns {string} 签名结果
6705
+ /**
6706
+ * P7 签名字符串
6707
+ * @param {string} strValue - 待签名的字符串
6708
+ * @param {boolean} isDetach - 是否分离签名
6709
+ * @param {boolean} isIncludeCert - 是否包含证书
6710
+ * @returns {string} 签名结果
6620
6711
  */
6621
6712
 
6622
6713
 
@@ -6630,9 +6721,9 @@ var CA_ExtInterface = function () {
6630
6721
  }
6631
6722
  };
6632
6723
 
6633
- /**
6634
- * 释放签名对象
6635
- * @returns {number} 释放结果
6724
+ /**
6725
+ * 释放签名对象
6726
+ * @returns {number} 释放结果
6636
6727
  */
6637
6728
 
6638
6729
 
@@ -6646,9 +6737,9 @@ var CA_ExtInterface = function () {
6646
6737
  }
6647
6738
  };
6648
6739
 
6649
- /**
6650
- * 获取签名版本
6651
- * @returns {string} 签名版本
6740
+ /**
6741
+ * 获取签名版本
6742
+ * @returns {string} 签名版本
6652
6743
  */
6653
6744
 
6654
6745
 
@@ -6662,9 +6753,9 @@ var CA_ExtInterface = function () {
6662
6753
  }
6663
6754
  };
6664
6755
 
6665
- /**
6666
- * 获取签名证书
6667
- * @returns {string} 签名证书
6756
+ /**
6757
+ * 获取签名证书
6758
+ * @returns {string} 签名证书
6668
6759
  */
6669
6760
 
6670
6761
 
@@ -6678,9 +6769,9 @@ var CA_ExtInterface = function () {
6678
6769
  }
6679
6770
  };
6680
6771
 
6681
- /**
6682
- * 获取错误码
6683
- * @returns {number} 错误码
6772
+ /**
6773
+ * 获取错误码
6774
+ * @returns {number} 错误码
6684
6775
  */
6685
6776
 
6686
6777
 
@@ -6694,9 +6785,9 @@ var CA_ExtInterface = function () {
6694
6785
  }
6695
6786
  };
6696
6787
 
6697
- /**
6698
- * 获取错误信息
6699
- * @returns {string} 错误信息
6788
+ /**
6789
+ * 获取错误信息
6790
+ * @returns {string} 错误信息
6700
6791
  */
6701
6792
 
6702
6793
 
@@ -6710,9 +6801,9 @@ var CA_ExtInterface = function () {
6710
6801
  }
6711
6802
  };
6712
6803
 
6713
- /**
6714
- * 销毁认证对象
6715
- * @returns {number} 销毁结果
6804
+ /**
6805
+ * 销毁认证对象
6806
+ * @returns {number} 销毁结果
6716
6807
  */
6717
6808
 
6718
6809
 
@@ -6726,9 +6817,9 @@ var CA_ExtInterface = function () {
6726
6817
  }
6727
6818
  };
6728
6819
 
6729
- /**
6730
- * 获取证书类型
6731
- * @returns {string} 证书类型
6820
+ /**
6821
+ * 获取证书类型
6822
+ * @returns {string} 证书类型
6732
6823
  */
6733
6824
 
6734
6825
 
@@ -6742,9 +6833,9 @@ var CA_ExtInterface = function () {
6742
6833
  }
6743
6834
  };
6744
6835
 
6745
- /**
6746
- * 获取签名摘要算法
6747
- * @returns {string} 签名摘要算法
6836
+ /**
6837
+ * 获取签名摘要算法
6838
+ * @returns {string} 签名摘要算法
6748
6839
  */
6749
6840
 
6750
6841
 
@@ -6758,11 +6849,11 @@ var CA_ExtInterface = function () {
6758
6849
  }
6759
6850
  };
6760
6851
 
6761
- /**
6762
- * 使能调用序列
6763
- * @param {boolean} bCallQueueEnable - 是否使能调用序列
6764
- * @param {boolean} bHeadInfoEnable - 是否使能头部信息
6765
- * @returns {number} 使能结果
6852
+ /**
6853
+ * 使能调用序列
6854
+ * @param {boolean} bCallQueueEnable - 是否使能调用序列
6855
+ * @param {boolean} bHeadInfoEnable - 是否使能头部信息
6856
+ * @returns {number} 使能结果
6766
6857
  */
6767
6858
 
6768
6859
 
@@ -6776,9 +6867,9 @@ var CA_ExtInterface = function () {
6776
6867
  }
6777
6868
  };
6778
6869
 
6779
- /**
6780
- * 清空调用序列结果
6781
- * @returns {number} 清空调用序列结果
6870
+ /**
6871
+ * 清空调用序列结果
6872
+ * @returns {number} 清空调用序列结果
6782
6873
  */
6783
6874
 
6784
6875
 
@@ -6792,9 +6883,9 @@ var CA_ExtInterface = function () {
6792
6883
  }
6793
6884
  };
6794
6885
 
6795
- /**
6796
- * 获取调用序列结果
6797
- * @returns {string} 调用序列结果
6886
+ /**
6887
+ * 获取调用序列结果
6888
+ * @returns {string} 调用序列结果
6798
6889
  */
6799
6890
 
6800
6891
 
@@ -6808,12 +6899,12 @@ var CA_ExtInterface = function () {
6808
6899
  }
6809
6900
  };
6810
6901
 
6811
- /**
6812
- * 客户端安全策略检查
6813
- * @param {string} strGatewayAddress - 网关地址
6814
- * @param {number} usGatewayPort - 网关端口
6815
- * @param {string} strSecurityPolicys - 安全策略
6816
- * @returns {boolean} 检查结果
6902
+ /**
6903
+ * 客户端安全策略检查
6904
+ * @param {string} strGatewayAddress - 网关地址
6905
+ * @param {number} usGatewayPort - 网关端口
6906
+ * @param {string} strSecurityPolicys - 安全策略
6907
+ * @returns {boolean} 检查结果
6817
6908
  */
6818
6909
 
6819
6910
 
@@ -6827,9 +6918,9 @@ var CA_ExtInterface = function () {
6827
6918
  }
6828
6919
  };
6829
6920
 
6830
- /**
6831
- * 获取通讯协议版本
6832
- * @returns {string} 通讯协议版本
6921
+ /**
6922
+ * 获取通讯协议版本
6923
+ * @returns {string} 通讯协议版本
6833
6924
  */
6834
6925
 
6835
6926
 
@@ -6843,13 +6934,13 @@ var CA_ExtInterface = function () {
6843
6934
  }
6844
6935
  };
6845
6936
 
6846
- /**
6847
- * 修改 Key 的 Pin 码
6848
- * @param {string} strCertSn - 证书序列号
6849
- * @param {number} lPinCodeType - Pin 码类型
6850
- * @param {string} strCurPinCode - 当前 Pin 码
6851
- * @param {string} strNewPinCode - 新 Pin 码
6852
- * @returns {number} 修改结果
6937
+ /**
6938
+ * 修改 Key 的 Pin 码
6939
+ * @param {string} strCertSn - 证书序列号
6940
+ * @param {number} lPinCodeType - Pin 码类型
6941
+ * @param {string} strCurPinCode - 当前 Pin 码
6942
+ * @param {string} strNewPinCode - 新 Pin 码
6943
+ * @returns {number} 修改结果
6853
6944
  */
6854
6945
 
6855
6946
 
@@ -6863,10 +6954,10 @@ var CA_ExtInterface = function () {
6863
6954
  }
6864
6955
  };
6865
6956
 
6866
- /**
6867
- * 等待策略设置完毕
6868
- * @param {string} strGatewayAddress - 网关地址
6869
- * @returns {number} 等待结果
6957
+ /**
6958
+ * 等待策略设置完毕
6959
+ * @param {string} strGatewayAddress - 网关地址
6960
+ * @returns {number} 等待结果
6870
6961
  */
6871
6962
 
6872
6963
 
@@ -6880,10 +6971,10 @@ var CA_ExtInterface = function () {
6880
6971
  }
6881
6972
  };
6882
6973
 
6883
- /**
6884
- * 获取会话 Token
6885
- * @param {string} strGatewayAddress - 网关地址
6886
- * @returns {string} 会话 Token
6974
+ /**
6975
+ * 获取会话 Token
6976
+ * @param {string} strGatewayAddress - 网关地址
6977
+ * @returns {string} 会话 Token
6887
6978
  */
6888
6979
 
6889
6980
 
@@ -6897,9 +6988,9 @@ var CA_ExtInterface = function () {
6897
6988
  }
6898
6989
  };
6899
6990
 
6900
- /**
6901
- * 获取控件版本
6902
- * @returns {string} 控件版本
6991
+ /**
6992
+ * 获取控件版本
6993
+ * @returns {string} 控件版本
6903
6994
  */
6904
6995
 
6905
6996
 
@@ -6913,10 +7004,10 @@ var CA_ExtInterface = function () {
6913
7004
  }
6914
7005
  };
6915
7006
 
6916
- /**
6917
- * 设置语言资源
6918
- * @param {string} strLanguage - 语言资源
6919
- * @returns {number} 设置结果
7007
+ /**
7008
+ * 设置语言资源
7009
+ * @param {string} strLanguage - 语言资源
7010
+ * @returns {number} 设置结果
6920
7011
  */
6921
7012
 
6922
7013
 
@@ -6930,12 +7021,12 @@ var CA_ExtInterface = function () {
6930
7021
  }
6931
7022
  };
6932
7023
 
6933
- /**
6934
- * 获取用户属性
6935
- * @param {string} strGatewayAddress - 网关地址
6936
- * @param {string} strAppFlag - 应用标识
6937
- * @param {string} strAttributeName - 属性名称
6938
- * @returns {string} 用户属性值
7024
+ /**
7025
+ * 获取用户属性
7026
+ * @param {string} strGatewayAddress - 网关地址
7027
+ * @param {string} strAppFlag - 应用标识
7028
+ * @param {string} strAttributeName - 属性名称
7029
+ * @returns {string} 用户属性值
6939
7030
  */
6940
7031
 
6941
7032
 
@@ -6949,9 +7040,9 @@ var CA_ExtInterface = function () {
6949
7040
  }
6950
7041
  };
6951
7042
 
6952
- /**
6953
- * 获取签名加密 PIN 码
6954
- * @returns {string} 签名加密 PIN 码
7043
+ /**
7044
+ * 获取签名加密 PIN 码
7045
+ * @returns {string} 签名加密 PIN 码
6955
7046
  */
6956
7047
 
6957
7048
 
@@ -6964,20 +7055,20 @@ var CA_ExtInterface = function () {
6964
7055
  return result.value;
6965
7056
  }
6966
7057
  };
6967
- /*
6968
- *曙光四川CA
6969
- *'SOF_GetUserList' 证书列表
6970
- *'SOF_ExportUserCert' 导出证书
6971
- *'SOF_GetCertInfo': 获取证书信息
6972
- *'SOF_GenRandom': 生成随机数
6973
- *'SOF_SignData': 获取证书签名
6974
- *'SOF_Login': 登录证书
6975
- *'SOF_GetPinRetryCount': 剩余次数
7058
+ /*
7059
+ *曙光四川CA
7060
+ *'SOF_GetUserList' 证书列表
7061
+ *'SOF_ExportUserCert' 导出证书
7062
+ *'SOF_GetCertInfo': 获取证书信息
7063
+ *'SOF_GenRandom': 生成随机数
7064
+ *'SOF_SignData': 获取证书签名
7065
+ *'SOF_Login': 登录证书
7066
+ *'SOF_GetPinRetryCount': 剩余次数
6976
7067
  */
6977
- /**
6978
- *
6979
- * 获取webSocket消息
6980
- * @returns {string}
7068
+ /**
7069
+ *
7070
+ * 获取webSocket消息
7071
+ * @returns {string}
6981
7072
  */
6982
7073
 
6983
7074
 
@@ -7013,10 +7104,10 @@ var CA_ExtInterface = function () {
7013
7104
  };
7014
7105
  });
7015
7106
  };
7016
- /**
7017
- *
7018
- * base64解码
7019
- * @returns {string} base64解码后的字符串
7107
+ /**
7108
+ *
7109
+ * base64解码
7110
+ * @returns {string} base64解码后的字符串
7020
7111
  */
7021
7112
 
7022
7113
 
@@ -7051,10 +7142,10 @@ var CA_ExtInterface = function () {
7051
7142
  val = this.utf8_decode(val);
7052
7143
  return val;
7053
7144
  };
7054
- /**
7055
- *
7056
- * base64编码
7057
- * @returns {string} base64编码后的字符串
7145
+ /**
7146
+ *
7147
+ * base64编码
7148
+ * @returns {string} base64编码后的字符串
7058
7149
  */
7059
7150
 
7060
7151
 
@@ -7087,10 +7178,10 @@ var CA_ExtInterface = function () {
7087
7178
  }
7088
7179
  return val;
7089
7180
  };
7090
- /**
7091
- *
7092
- * utf8解码
7093
- * @returns {string} utf8解码后的字符串
7181
+ /**
7182
+ *
7183
+ * utf8解码
7184
+ * @returns {string} utf8解码后的字符串
7094
7185
  */
7095
7186
 
7096
7187
 
@@ -7119,10 +7210,10 @@ var CA_ExtInterface = function () {
7119
7210
  }
7120
7211
  return string;
7121
7212
  };
7122
- /**
7123
- *
7124
- * utf8编码
7125
- * @returns {string} utf8编码后的字符串
7213
+ /**
7214
+ *
7215
+ * utf8编码
7216
+ * @returns {string} utf8编码后的字符串
7126
7217
  */
7127
7218
 
7128
7219
 
@@ -27545,8 +27636,8 @@ form_src_main.install = function (Vue) {
27545
27636
  };
27546
27637
 
27547
27638
  /* harmony default export */ var packages_form = (form_src_main);
27548
- // 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=d565d514&
27549
- var mainvue_type_template_id_d565d514_render = function () {
27639
+ // 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=5ee0fd1a&
27640
+ var mainvue_type_template_id_5ee0fd1a_render = function () {
27550
27641
  var _vm = this
27551
27642
  var _h = _vm.$createElement
27552
27643
  var _c = _vm._self._c || _h
@@ -28118,6 +28209,7 @@ var mainvue_type_template_id_d565d514_render = function () {
28118
28209
  staticClass: "demo-dynamic",
28119
28210
  attrs: {
28120
28211
  model: _vm.isFlow ? _vm.nodeInfo : _vm.nextNode,
28212
+ rules: _vm.rules,
28121
28213
  "label-width":
28122
28214
  _vm.startFlowPageEmbeddedIntoStartFlowIndex
28123
28215
  ? "100px"
@@ -28865,112 +28957,6 @@ var mainvue_type_template_id_d565d514_render = function () {
28865
28957
  1
28866
28958
  )
28867
28959
  : _vm._e(),
28868
- _vm.enableCustomLimitTimeSetting
28869
- ? _c(
28870
- "el-form-item",
28871
- {
28872
- attrs: {
28873
- prop: "customLimitTime",
28874
- label: "限时办理",
28875
- },
28876
- },
28877
- [
28878
- _c(
28879
- "el-input",
28880
- {
28881
- staticClass:
28882
- "input-with-select custom-limit-time",
28883
- attrs: {
28884
- placeholder:
28885
- "请输入限时办理的天数",
28886
- },
28887
- on: {
28888
- change:
28889
- _vm.changeCustomLimitTime,
28890
- },
28891
- model: {
28892
- value:
28893
- _vm.nextNode
28894
- .customLimitTime,
28895
- callback: function (
28896
- $$v
28897
- ) {
28898
- _vm.$set(
28899
- _vm.nextNode,
28900
- "customLimitTime",
28901
- $$v
28902
- )
28903
- },
28904
- expression:
28905
- "nextNode.customLimitTime",
28906
- },
28907
- },
28908
- [
28909
- !_vm.showCustomLimitTimeText
28910
- ? _c("es-select", {
28911
- attrs: {
28912
- slot: "prepend",
28913
- placeholder:
28914
- "请选择",
28915
- sysCode:
28916
- "bpm_custom_limit_time",
28917
- },
28918
- slot: "prepend",
28919
- model: {
28920
- value:
28921
- _vm.nextNode
28922
- .customLimitTime,
28923
- callback:
28924
- function (
28925
- $$v
28926
- ) {
28927
- _vm.$set(
28928
- _vm.nextNode,
28929
- "customLimitTime",
28930
- $$v
28931
- )
28932
- },
28933
- expression:
28934
- "nextNode.customLimitTime",
28935
- },
28936
- })
28937
- : _vm._e(),
28938
- _c(
28939
- "es-button",
28940
- {
28941
- attrs: {
28942
- slot: "append",
28943
- type: "primary",
28944
- },
28945
- on: {
28946
- click:
28947
- function () {
28948
- _vm.nextNode.customLimitTime =
28949
- ""
28950
- _vm.showCustomLimitTimeText =
28951
- !_vm.showCustomLimitTimeText
28952
- },
28953
- },
28954
- slot: "append",
28955
- },
28956
- [
28957
- _vm._v(
28958
- "切换" +
28959
- _vm._s(
28960
- _vm.showCustomLimitTimeText
28961
- ? "选择框"
28962
- : "文本框"
28963
- )
28964
- ),
28965
- ]
28966
- ),
28967
- ],
28968
- 1
28969
- ),
28970
- ],
28971
- 1
28972
- )
28973
- : _vm._e(),
28974
28960
  _vm.isHideCurrentOrg &&
28975
28961
  _vm.nextNode.isReturnSubmitter !=
28976
28962
  1
@@ -29220,6 +29206,115 @@ var mainvue_type_template_id_d565d514_render = function () {
29220
29206
  1
29221
29207
  )
29222
29208
  : _vm._e(),
29209
+ _vm.enableCustomLimitTimeSetting
29210
+ ? _c(
29211
+ "el-form-item",
29212
+ {
29213
+ staticStyle: {
29214
+ "margin-bottom": "10px",
29215
+ },
29216
+ attrs: {
29217
+ prop: "customLimitTime",
29218
+ label: "限时办理",
29219
+ },
29220
+ },
29221
+ [
29222
+ _c(
29223
+ "el-input",
29224
+ {
29225
+ staticClass:
29226
+ "input-with-select custom-limit-time",
29227
+ attrs: {
29228
+ placeholder:
29229
+ "请输入限时办理的天数",
29230
+ },
29231
+ on: {
29232
+ change:
29233
+ _vm.changeCustomLimitTime,
29234
+ },
29235
+ model: {
29236
+ value:
29237
+ _vm.nextNode
29238
+ .customLimitTime,
29239
+ callback: function (
29240
+ $$v
29241
+ ) {
29242
+ _vm.$set(
29243
+ _vm.nextNode,
29244
+ "customLimitTime",
29245
+ $$v
29246
+ )
29247
+ },
29248
+ expression:
29249
+ "nextNode.customLimitTime",
29250
+ },
29251
+ },
29252
+ [
29253
+ !_vm.showCustomLimitTimeText
29254
+ ? _c("es-select", {
29255
+ attrs: {
29256
+ slot: "prepend",
29257
+ placeholder:
29258
+ "请选择",
29259
+ sysCode:
29260
+ "bpm_custom_limit_time",
29261
+ },
29262
+ slot: "prepend",
29263
+ model: {
29264
+ value:
29265
+ _vm.nextNode
29266
+ .customLimitTime,
29267
+ callback:
29268
+ function (
29269
+ $$v
29270
+ ) {
29271
+ _vm.$set(
29272
+ _vm.nextNode,
29273
+ "customLimitTime",
29274
+ $$v
29275
+ )
29276
+ },
29277
+ expression:
29278
+ "nextNode.customLimitTime",
29279
+ },
29280
+ })
29281
+ : _vm._e(),
29282
+ _c(
29283
+ "es-button",
29284
+ {
29285
+ attrs: {
29286
+ slot: "append",
29287
+ type: "primary",
29288
+ },
29289
+ on: {
29290
+ click:
29291
+ function () {
29292
+ _vm.nextNode.customLimitTime =
29293
+ ""
29294
+ _vm.showCustomLimitTimeText =
29295
+ !_vm.showCustomLimitTimeText
29296
+ },
29297
+ },
29298
+ slot: "append",
29299
+ },
29300
+ [
29301
+ _vm._v(
29302
+ "切换" +
29303
+ _vm._s(
29304
+ _vm.showCustomLimitTimeText
29305
+ ? "选择框"
29306
+ : "文本框"
29307
+ )
29308
+ ),
29309
+ ]
29310
+ ),
29311
+ ],
29312
+ 1
29313
+ ),
29314
+ ],
29315
+ 1
29316
+ )
29317
+ : _vm._e(),
29223
29318
  _vm.isHandleExplain == 1
29224
29319
  ? _c(
29225
29320
  "el-form-item",
@@ -30459,11 +30554,11 @@ var mainvue_type_template_id_d565d514_render = function () {
30459
30554
  )
30460
30555
  : _vm._e()
30461
30556
  }
30462
- var mainvue_type_template_id_d565d514_staticRenderFns = []
30463
- mainvue_type_template_id_d565d514_render._withStripped = true
30557
+ var mainvue_type_template_id_5ee0fd1a_staticRenderFns = []
30558
+ mainvue_type_template_id_5ee0fd1a_render._withStripped = true
30464
30559
 
30465
30560
 
30466
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=d565d514&
30561
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=5ee0fd1a&
30467
30562
 
30468
30563
  // 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=e934fd66&
30469
30564
  var CommonOpinionsvue_type_template_id_e934fd66_render = function () {
@@ -31506,8 +31601,8 @@ var CommonOpinions_component = normalizeComponent(
31506
31601
  )
31507
31602
 
31508
31603
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
31509
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=e536b88e&
31510
- var processFormvue_type_template_id_e536b88e_render = function () {
31604
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=e6806444&
31605
+ var processFormvue_type_template_id_e6806444_render = function () {
31511
31606
  var _vm = this
31512
31607
  var _h = _vm.$createElement
31513
31608
  var _c = _vm._self._c || _h
@@ -31538,6 +31633,7 @@ var processFormvue_type_template_id_e536b88e_render = function () {
31538
31633
  attrs: {
31539
31634
  model: _vm.nextNode,
31540
31635
  "label-width": "100px",
31636
+ rules: _vm.rules,
31541
31637
  "label-position": _vm.labelPosition,
31542
31638
  },
31543
31639
  },
@@ -31694,7 +31790,7 @@ var processFormvue_type_template_id_e536b88e_render = function () {
31694
31790
  label: "下步节点",
31695
31791
  rules: [
31696
31792
  {
31697
- required: true,
31793
+ required: false,
31698
31794
  message: "请选择下步节点",
31699
31795
  trigger: "blur",
31700
31796
  },
@@ -31884,7 +31980,26 @@ var processFormvue_type_template_id_e536b88e_render = function () {
31884
31980
  _vm.enableCustomLimitTimeSetting
31885
31981
  ? _c(
31886
31982
  "el-form-item",
31887
- { attrs: { prop: "customLimitTime", label: "限时办理" } },
31983
+ {
31984
+ attrs: {
31985
+ prop: "customLimitTime",
31986
+ label: "限时办理",
31987
+ rules: [
31988
+ {
31989
+ required: _vm.enableCustomLimitTimeSetting,
31990
+ message: _vm.showCustomLimitTimeText
31991
+ ? "请输入限时办理天数"
31992
+ : "请选择限时办理天数",
31993
+ trigger: "blur",
31994
+ },
31995
+ {
31996
+ required: _vm.enableCustomLimitTimeSetting,
31997
+ validator: _vm.checkCustomLimitTime,
31998
+ trigger: "blur",
31999
+ },
32000
+ ],
32001
+ },
32002
+ },
31888
32003
  [
31889
32004
  _c(
31890
32005
  "el-input",
@@ -31980,7 +32095,7 @@ var processFormvue_type_template_id_e536b88e_render = function () {
31980
32095
  name: "show",
31981
32096
  rawName: "v-show",
31982
32097
  value: _vm.showBtn && _vm.nextNode.noticeList.length > 0,
31983
- expression: "showBtn && nextNode.noticeList.length>0",
32098
+ expression: "showBtn && nextNode.noticeList.length > 0",
31984
32099
  },
31985
32100
  ],
31986
32101
  attrs: { prop: "noticeType", label: "通知方式" },
@@ -32264,11 +32379,11 @@ var processFormvue_type_template_id_e536b88e_render = function () {
32264
32379
  1
32265
32380
  )
32266
32381
  }
32267
- var processFormvue_type_template_id_e536b88e_staticRenderFns = []
32268
- processFormvue_type_template_id_e536b88e_render._withStripped = true
32382
+ var processFormvue_type_template_id_e6806444_staticRenderFns = []
32383
+ processFormvue_type_template_id_e6806444_render._withStripped = true
32269
32384
 
32270
32385
 
32271
- // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=e536b88e&
32386
+ // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=e6806444&
32272
32387
 
32273
32388
  // 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=4750588e&
32274
32389
  var selectUservue_type_template_id_4750588e_render = function () {
@@ -34136,6 +34251,28 @@ var processFormvue_type_script_lang_js_components;
34136
34251
  //
34137
34252
  //
34138
34253
  //
34254
+ //
34255
+ //
34256
+ //
34257
+ //
34258
+ //
34259
+ //
34260
+ //
34261
+ //
34262
+ //
34263
+ //
34264
+ //
34265
+ //
34266
+ //
34267
+ //
34268
+ //
34269
+ //
34270
+ //
34271
+ //
34272
+ //
34273
+ //
34274
+ //
34275
+ //
34139
34276
 
34140
34277
 
34141
34278
 
@@ -34356,6 +34493,19 @@ var processFormvue_type_script_lang_js_components;
34356
34493
  }
34357
34494
  },
34358
34495
  computed: {
34496
+ rules: function rules() {
34497
+ return {
34498
+ customLimitTime: [{
34499
+ required: this.enableCustomLimitTimeSetting,
34500
+ message: this.showCustomLimitTimeText ? '请输入限时办理天数' : '请选择限时办理天数',
34501
+ trigger: 'blur'
34502
+ }, {
34503
+ required: this.enableCustomLimitTimeSetting,
34504
+ validator: this.checkCustomLimitTime,
34505
+ trigger: 'blur'
34506
+ }]
34507
+ };
34508
+ },
34359
34509
  types: function types() {
34360
34510
  if (this.isCdjxjTaskHandle == 'true') {
34361
34511
  return ['employee', 'enterprise', 'department'];
@@ -34380,6 +34530,25 @@ var processFormvue_type_script_lang_js_components;
34380
34530
  },
34381
34531
 
34382
34532
  methods: {
34533
+ limitTimevalidate: function limitTimevalidate() {
34534
+ var validSate = true;
34535
+ this.$refs.nextNode.validate(function (valid) {
34536
+ if (valid) {
34537
+ validSate = true;
34538
+ } else {
34539
+ validSate = false;
34540
+ }
34541
+ });
34542
+ return validSate;
34543
+ },
34544
+ checkCustomLimitTime: function checkCustomLimitTime(rule, value, callback) {
34545
+ if (!Number(value) || value.indexOf('.') != -1 || Number(value) < 0) {
34546
+ callback(new Error('请输入正确的天数'));
34547
+ this.nextNode.customLimitTime = '';
34548
+ } else {
34549
+ callback();
34550
+ }
34551
+ },
34383
34552
  handleChange: function handleChange() {
34384
34553
  this.isChangeMessage = true;
34385
34554
  },
@@ -34613,7 +34782,6 @@ var processFormvue_type_script_lang_js_components;
34613
34782
  var params = {
34614
34783
  processDefinitionId: _this5.processDefinitionId,
34615
34784
  nextUserId: _this5.multiple ? newNextUser.join(',') : nextUser,
34616
- customLimitTime: customLimitTime,
34617
34785
  nextNodeId: nextNode,
34618
34786
  businessId: _this5.businessId,
34619
34787
  notificationType: newNoticeType,
@@ -34627,6 +34795,18 @@ var processFormvue_type_script_lang_js_components;
34627
34795
  presetReadUserId: _this5.mixPresetList && _this5.mixPresetList.length > 0 ? _this5.mixPresetList.join('|') : presetReadUserId.join(','),
34628
34796
  opinion: _this5.newOpinion || newOpinion
34629
34797
  };
34798
+ if (_this5.enableCustomLimitTimeSetting) {
34799
+ params.customLimitTime = customLimitTime;
34800
+ if (!customLimitTime) {
34801
+ _this5.$message.warning('请选择或输入限时办理的天数');
34802
+ _this5.nextNode.customLimitTime = '';
34803
+ return;
34804
+ } else if (!Number(customLimitTime) || val.indexOf('.') != -1 || Number(customLimitTime) < 0) {
34805
+ _this5.$message.warning('请输入正确的天数');
34806
+ _this5.nextNode.customLimitTime = '';
34807
+ return;
34808
+ }
34809
+ }
34630
34810
  if (_this5.activeNames != '1') delete params.customPresetUserJson;
34631
34811
  if (_this5.isFreeStartFlow || _this5.formType === 'readTransfer') {
34632
34812
  var newParm = {};
@@ -34997,8 +35177,8 @@ var processFormvue_type_script_lang_js_components;
34997
35177
 
34998
35178
  var processForm_component = normalizeComponent(
34999
35179
  src_processFormvue_type_script_lang_js_,
35000
- processFormvue_type_template_id_e536b88e_render,
35001
- processFormvue_type_template_id_e536b88e_staticRenderFns,
35180
+ processFormvue_type_template_id_e6806444_render,
35181
+ processFormvue_type_template_id_e6806444_staticRenderFns,
35002
35182
  false,
35003
35183
  null,
35004
35184
  null,
@@ -39181,8 +39361,8 @@ var reset_component = normalizeComponent(
39181
39361
  )
39182
39362
 
39183
39363
  /* harmony default export */ var src_reset = (reset_component.exports);
39184
- // 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/taskUnionExamine.vue?vue&type=template&id=1d14cf9e&
39185
- var taskUnionExaminevue_type_template_id_1d14cf9e_render = function () {
39364
+ // 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/taskUnionExamine.vue?vue&type=template&id=6dd739cc&
39365
+ var taskUnionExaminevue_type_template_id_6dd739cc_render = function () {
39186
39366
  var _vm = this
39187
39367
  var _h = _vm.$createElement
39188
39368
  var _c = _vm._self._c || _h
@@ -39205,7 +39385,11 @@ var taskUnionExaminevue_type_template_id_1d14cf9e_render = function () {
39205
39385
  {
39206
39386
  ref: "infoList",
39207
39387
  staticClass: "demo-dynamic",
39208
- attrs: { model: _vm.infoList, "label-width": "120px" },
39388
+ attrs: {
39389
+ model: _vm.infoList,
39390
+ rules: _vm.rules,
39391
+ "label-width": "120px",
39392
+ },
39209
39393
  },
39210
39394
  [
39211
39395
  _vm.isSinglePage
@@ -39329,6 +39513,73 @@ var taskUnionExaminevue_type_template_id_1d14cf9e_render = function () {
39329
39513
  1
39330
39514
  )
39331
39515
  : _vm._e(),
39516
+ _vm.enableCustomLimitTimeSetting
39517
+ ? _c(
39518
+ "el-form-item",
39519
+ { attrs: { prop: "customLimitTime", label: "限时办理" } },
39520
+ [
39521
+ _c(
39522
+ "el-input",
39523
+ {
39524
+ staticClass: "input-with-select custom-limit-time",
39525
+ attrs: { placeholder: "请输入限时办理的天数" },
39526
+ model: {
39527
+ value: _vm.infoList.customLimitTime,
39528
+ callback: function ($$v) {
39529
+ _vm.$set(_vm.infoList, "customLimitTime", $$v)
39530
+ },
39531
+ expression: "infoList.customLimitTime",
39532
+ },
39533
+ },
39534
+ [
39535
+ !_vm.showCustomLimitTimeText
39536
+ ? _c("es-select", {
39537
+ attrs: {
39538
+ slot: "prepend",
39539
+ placeholder: "请选择",
39540
+ sysCode: "bpm_custom_limit_time",
39541
+ },
39542
+ slot: "prepend",
39543
+ model: {
39544
+ value: _vm.infoList.customLimitTime,
39545
+ callback: function ($$v) {
39546
+ _vm.$set(_vm.infoList, "customLimitTime", $$v)
39547
+ },
39548
+ expression: "infoList.customLimitTime",
39549
+ },
39550
+ })
39551
+ : _vm._e(),
39552
+ _c(
39553
+ "es-button",
39554
+ {
39555
+ attrs: { slot: "append", type: "primary" },
39556
+ on: {
39557
+ click: function () {
39558
+ _vm.infoList.customLimitTime = ""
39559
+ _vm.showCustomLimitTimeText =
39560
+ !_vm.showCustomLimitTimeText
39561
+ },
39562
+ },
39563
+ slot: "append",
39564
+ },
39565
+ [
39566
+ _vm._v(
39567
+ "切换" +
39568
+ _vm._s(
39569
+ _vm.showCustomLimitTimeText
39570
+ ? "选择框"
39571
+ : "文本框"
39572
+ )
39573
+ ),
39574
+ ]
39575
+ ),
39576
+ ],
39577
+ 1
39578
+ ),
39579
+ ],
39580
+ 1
39581
+ )
39582
+ : _vm._e(),
39332
39583
  _c(
39333
39584
  "el-form-item",
39334
39585
  {
@@ -39444,11 +39695,11 @@ var taskUnionExaminevue_type_template_id_1d14cf9e_render = function () {
39444
39695
  1
39445
39696
  )
39446
39697
  }
39447
- var taskUnionExaminevue_type_template_id_1d14cf9e_staticRenderFns = []
39448
- taskUnionExaminevue_type_template_id_1d14cf9e_render._withStripped = true
39698
+ var taskUnionExaminevue_type_template_id_6dd739cc_staticRenderFns = []
39699
+ taskUnionExaminevue_type_template_id_6dd739cc_render._withStripped = true
39449
39700
 
39450
39701
 
39451
- // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=1d14cf9e&
39702
+ // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=6dd739cc&
39452
39703
 
39453
39704
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=script&lang=js&
39454
39705
  var taskUnionExaminevue_type_script_lang_js_components;
@@ -39590,6 +39841,37 @@ var taskUnionExaminevue_type_script_lang_js_components;
39590
39841
  //
39591
39842
  //
39592
39843
  //
39844
+ //
39845
+ //
39846
+ //
39847
+ //
39848
+ //
39849
+ //
39850
+ //
39851
+ //
39852
+ //
39853
+ //
39854
+ //
39855
+ //
39856
+ //
39857
+ //
39858
+ //
39859
+ //
39860
+ //
39861
+ //
39862
+ //
39863
+ //
39864
+ //
39865
+ //
39866
+ //
39867
+ //
39868
+ //
39869
+ //
39870
+ //
39871
+ //
39872
+ //
39873
+ //
39874
+ //
39593
39875
 
39594
39876
 
39595
39877
 
@@ -39606,9 +39888,12 @@ var taskUnionExaminevue_type_script_lang_js_components;
39606
39888
  disabled: { type: Boolean, default: false },
39607
39889
  simpleTips: { type: Boolean, default: true },
39608
39890
  multiple: { type: Boolean, default: true },
39609
- selectorParams: { type: Object, default: function _default() {
39891
+ selectorParams: {
39892
+ type: Object,
39893
+ default: function _default() {
39610
39894
  return {};
39611
- } }
39895
+ }
39896
+ }
39612
39897
  },
39613
39898
  inheritAttrs: false,
39614
39899
  data: function data() {
@@ -39617,6 +39902,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
39617
39902
  readOnlyNotificationType: '',
39618
39903
  notificationMessageReadOnly: false,
39619
39904
  otherMix: false,
39905
+ enableCustomLimitTimeSetting: false,
39906
+ showCustomLimitTimeText: false,
39620
39907
  currentMix: false,
39621
39908
  infoList: {
39622
39909
  nextOtherOrgObj: [],
@@ -39624,7 +39911,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
39624
39911
  noticeType: [],
39625
39912
  noticeList: [],
39626
39913
  noticeInfo: '',
39627
- opinion: ''
39914
+ opinion: '',
39915
+ customLimitTime: ''
39628
39916
  },
39629
39917
  onlyName: '',
39630
39918
  unionSealData: [],
@@ -39650,6 +39938,18 @@ var taskUnionExaminevue_type_script_lang_js_components;
39650
39938
  loading: false
39651
39939
  };
39652
39940
  },
39941
+
39942
+ computed: {
39943
+ rules: function rules() {
39944
+ return {
39945
+ customLimitTime: [{
39946
+ required: this.enableCustomLimitTimeSetting,
39947
+ message: this.showCustomLimitTimeText ? '请输入限时办理天数' : '请选择限时办理天数',
39948
+ trigger: 'blur'
39949
+ }, { required: this.enableCustomLimitTimeSetting, validator: this.checkCustomLimitTime, trigger: 'change' }]
39950
+ };
39951
+ }
39952
+ },
39653
39953
  mounted: function mounted() {
39654
39954
  this.loading = true;
39655
39955
  this.newMultiple = this.multiple;
@@ -39661,6 +39961,25 @@ var taskUnionExaminevue_type_script_lang_js_components;
39661
39961
  },
39662
39962
 
39663
39963
  methods: {
39964
+ validate: function validate() {
39965
+ var validSate = true;
39966
+ this.$refs.infoList.validate(function (valid) {
39967
+ if (valid) {
39968
+ validSate = true;
39969
+ } else {
39970
+ validSate = false;
39971
+ }
39972
+ });
39973
+ return validSate;
39974
+ },
39975
+ checkCustomLimitTime: function checkCustomLimitTime(rule, value, callback) {
39976
+ if (!Number(value) || value.indexOf('.') != -1 || Number(value) < 0) {
39977
+ callback(new Error('请输入正确的天数'));
39978
+ this.infoList.customLimitTime = '';
39979
+ } else {
39980
+ callback();
39981
+ }
39982
+ },
39664
39983
  isMultiple: function isMultiple(val) {
39665
39984
  if (val == 7 || val == 9 || val == 11) {
39666
39985
  this.newMultiple = false;
@@ -39772,6 +40091,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
39772
40091
  unionDispatchOrgId = _res$data2.unionDispatchOrgId,
39773
40092
  otherOrgDisabledObjId = _res$data2.otherOrgDisabledObjId,
39774
40093
  orgNames = _res$data2.orgNames,
40094
+ enableCustomLimitTimeSetting = _res$data2.enableCustomLimitTimeSetting,
40095
+ defaultCustomLimitDays = _res$data2.defaultCustomLimitDays,
39775
40096
  _res$data2$nodeInfoMa = _res$data2.nodeInfoMap.nodeExtAttr,
39776
40097
  userSelectionType = _res$data2$nodeInfoMa.userSelectionType,
39777
40098
  isHideOtherOrg = _res$data2$nodeInfoMa.isHideOtherOrg,
@@ -39781,6 +40102,10 @@ var taskUnionExaminevue_type_script_lang_js_components;
39781
40102
  if (otherOrgDisabledObjId) {
39782
40103
  _this3.otherOrgDisabledObjId = otherOrgDisabledObjId.split(',');
39783
40104
  }
40105
+ _this3.enableCustomLimitTimeSetting = enableCustomLimitTimeSetting;
40106
+ if (_this3.enableCustomLimitTimeSetting && defaultCustomLimitDays) {
40107
+ _this3.infoList.customLimitTime = defaultCustomLimitDays + '';
40108
+ }
39784
40109
  if (res.data.customizedConfig) {
39785
40110
  if (res.data.customizedConfig.currentOrgSelectorCustomized) {
39786
40111
  _this3.currentMix = res.data.customizedConfig.currentOrgSelectorSelectMix == 'true';
@@ -39867,6 +40192,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
39867
40192
  nextCurrentOrgObj = _infoList2.nextCurrentOrgObj,
39868
40193
  nextOtherOrgObj = _infoList2.nextOtherOrgObj,
39869
40194
  noticeType = _infoList2.noticeType,
40195
+ customLimitTime = _infoList2.customLimitTime,
39870
40196
  noticeInfo = _infoList2.noticeInfo,
39871
40197
  isOpinionRequired = this.isOpinionRequired,
39872
40198
  opinion = this.opinion,
@@ -39878,9 +40204,11 @@ var taskUnionExaminevue_type_script_lang_js_components;
39878
40204
  isSubFlow = this.isSubFlow,
39879
40205
  pendingId = this.pendingId;
39880
40206
 
39881
- if (type == 'takeAdvice' && !nextCurrentOrgObj && isHideCurrentOrg == 0 && isHideOtherOrg == 0 && !nextOtherOrgObj) {
40207
+ console.log(nextCurrentOrgObj);
40208
+ console.log(nextOtherOrgObj);
40209
+ if (type == 'takeAdvice' && !nextCurrentOrgObj && isHideCurrentOrg == 0 && nextCurrentOrgObj.length == 0 && isHideOtherOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0)) {
39882
40210
  return this.$message.warning('请选择处理对象!');
39883
- } else if (isHideCurrentOrg == 0 && !nextOtherOrgObj && !nextCurrentOrgObj) {
40211
+ } else if (isHideCurrentOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0) && (!nextCurrentOrgObj || nextCurrentOrgObj.length == 0)) {
39884
40212
  return this.$message.warning('请选择处理对象!');
39885
40213
  }
39886
40214
 
@@ -39894,6 +40222,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
39894
40222
  data: {
39895
40223
  opinion: opinion,
39896
40224
  pendingId: pendingId,
40225
+
39897
40226
  nextOtherOrgObj: this.type == 'unionSeal' ? this.unionSealData.map(function (x) {
39898
40227
  return x.showid;
39899
40228
  }).join(',') : Array.isArray(nextOtherOrgObj) ? nextOtherOrgObj.join(',') : nextOtherOrgObj,
@@ -39907,6 +40236,11 @@ var taskUnionExaminevue_type_script_lang_js_components;
39907
40236
  headers: { Accept: 'application/json,text/plain' },
39908
40237
  method: 'POST'
39909
40238
  };
40239
+ if (this.enableCustomLimitTimeSetting) {
40240
+ param.data.customLimitTime = customLimitTime;
40241
+ console.log(this.validate(), 'this.validate()');
40242
+ if (!this.validate()) return;
40243
+ }
39910
40244
  this.loading = true;
39911
40245
  utils_util["a" /* default */].ajax(param).then(function (res) {
39912
40246
  var message = res.message,
@@ -40043,8 +40377,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
40043
40377
 
40044
40378
  var taskUnionExamine_component = normalizeComponent(
40045
40379
  component_taskUnionExaminevue_type_script_lang_js_,
40046
- taskUnionExaminevue_type_template_id_1d14cf9e_render,
40047
- taskUnionExaminevue_type_template_id_1d14cf9e_staticRenderFns,
40380
+ taskUnionExaminevue_type_template_id_6dd739cc_render,
40381
+ taskUnionExaminevue_type_template_id_6dd739cc_staticRenderFns,
40048
40382
  false,
40049
40383
  null,
40050
40384
  null,
@@ -47333,6 +47667,9 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
47333
47667
  //
47334
47668
  //
47335
47669
  //
47670
+ //
47671
+ //
47672
+ //
47336
47673
 
47337
47674
 
47338
47675
 
@@ -47404,9 +47741,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
47404
47741
  type: Object,
47405
47742
  default: function _default() {}
47406
47743
  },
47407
- selectorParams: { type: Object, default: function _default() {
47744
+ selectorParams: {
47745
+ type: Object,
47746
+ default: function _default() {
47408
47747
  return {};
47409
- } },
47748
+ }
47749
+ },
47410
47750
  width: {
47411
47751
  type: String
47412
47752
  },
@@ -47676,6 +48016,15 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
47676
48016
  }
47677
48017
  },
47678
48018
  computed: {
48019
+ rules: function rules() {
48020
+ return {
48021
+ customLimitTime: [{
48022
+ required: this.enableCustomLimitTimeSetting,
48023
+ message: this.showCustomLimitTimeText ? '请输入限时办理天数' : '请选择限时办理天数',
48024
+ trigger: 'blur'
48025
+ }, { required: this.enableCustomLimitTimeSetting, validator: this.checkCustomLimitTime, trigger: 'change' }]
48026
+ };
48027
+ },
47679
48028
  tabs: function tabs() {
47680
48029
  return {
47681
48030
  employee: {
@@ -47718,6 +48067,25 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
47718
48067
  }
47719
48068
  },
47720
48069
  methods: {
48070
+ limitTimevalidate: function limitTimevalidate() {
48071
+ var validSate = true;
48072
+ this.$refs.nextNode.validate(function (valid) {
48073
+ if (valid) {
48074
+ validSate = true;
48075
+ } else {
48076
+ validSate = false;
48077
+ }
48078
+ });
48079
+ return validSate;
48080
+ },
48081
+ checkCustomLimitTime: function checkCustomLimitTime(rule, value, callback) {
48082
+ if (!Number(value) || value.indexOf('.') != -1 || Number(value) < 0) {
48083
+ callback(new Error('请输入正确的天数'));
48084
+ this.nextNode.customLimitTime = '';
48085
+ } else {
48086
+ callback();
48087
+ }
48088
+ },
47721
48089
  getAdminMsgType: function getAdminMsgType() {
47722
48090
  var _this = this;
47723
48091
 
@@ -47796,7 +48164,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
47796
48164
  // });
47797
48165
  // }
47798
48166
  _this3.optionsKey++;
47799
- _this3.isOpinionRequired = res.data.nodeExtAttr.isOpinionRequired == 1;
48167
+ _this3.isOpinionRequired = res.data.nodeExtAttr.isOpinionRequired;
47800
48168
  _this3.showOpinion = false;
47801
48169
  setTimeout(function () {
47802
48170
  _this3.showOpinion = true;
@@ -48701,6 +49069,9 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
48701
49069
  if (status === 'success') {
48702
49070
  _this27.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
48703
49071
  _this27.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
49072
+ if (_this27.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
49073
+ _this27.nextNode.customLimitTime = data.nodeMoreInfo.defaultCustomLimitDays + '';
49074
+ }
48704
49075
  data.otherOrgDisabledObjId && (_this27.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
48705
49076
  data.currentOrgDisabledObjId && (_this27.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
48706
49077
  if (data != null) {
@@ -49127,7 +49498,6 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49127
49498
  });
49128
49499
  }
49129
49500
  _this29.isCurrentNodeForbiddenChangeCandidate = nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
49130
- console.log(opinion, 'opinionopinionopinion');
49131
49501
  _this29.value = opinion || '';
49132
49502
  _this29.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
49133
49503
  _this29.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
@@ -49792,8 +50162,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49792
50162
 
49793
50163
  var flow_src_main_component = normalizeComponent(
49794
50164
  packages_flow_src_mainvue_type_script_lang_js_,
49795
- mainvue_type_template_id_d565d514_render,
49796
- mainvue_type_template_id_d565d514_staticRenderFns,
50165
+ mainvue_type_template_id_5ee0fd1a_render,
50166
+ mainvue_type_template_id_5ee0fd1a_staticRenderFns,
49797
50167
  false,
49798
50168
  null,
49799
50169
  null,
@@ -53929,8 +54299,8 @@ handle_user_src_main.install = function (Vue) {
53929
54299
  };
53930
54300
 
53931
54301
  /* harmony default export */ var handle_user = (handle_user_src_main);
53932
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=66f7fc3a&
53933
- var mainvue_type_template_id_66f7fc3a_render = function () {
54302
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=a45878a6&
54303
+ var mainvue_type_template_id_a45878a6_render = function () {
53934
54304
  var _vm = this
53935
54305
  var _h = _vm.$createElement
53936
54306
  var _c = _vm._self._c || _h
@@ -54177,11 +54547,11 @@ var mainvue_type_template_id_66f7fc3a_render = function () {
54177
54547
  2
54178
54548
  )
54179
54549
  }
54180
- var mainvue_type_template_id_66f7fc3a_staticRenderFns = []
54181
- mainvue_type_template_id_66f7fc3a_render._withStripped = true
54550
+ var mainvue_type_template_id_a45878a6_staticRenderFns = []
54551
+ mainvue_type_template_id_a45878a6_render._withStripped = true
54182
54552
 
54183
54553
 
54184
- // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=66f7fc3a&
54554
+ // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=a45878a6&
54185
54555
 
54186
54556
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=script&lang=js&
54187
54557
  var handler_src_mainvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -54526,7 +54896,6 @@ var _props;
54526
54896
  return len;
54527
54897
  },
54528
54898
  handleClick: function handleClick(res) {
54529
- console.log(res);
54530
54899
  var type = res.type,
54531
54900
  event = res.event;
54532
54901
 
@@ -54641,8 +55010,8 @@ var _props;
54641
55010
 
54642
55011
  var handler_src_main_component = normalizeComponent(
54643
55012
  packages_handler_src_mainvue_type_script_lang_js_,
54644
- mainvue_type_template_id_66f7fc3a_render,
54645
- mainvue_type_template_id_66f7fc3a_staticRenderFns,
55013
+ mainvue_type_template_id_a45878a6_render,
55014
+ mainvue_type_template_id_a45878a6_staticRenderFns,
54646
55015
  false,
54647
55016
  null,
54648
55017
  null,
@@ -56199,8 +56568,8 @@ layout_src_main.install = function (Vue) {
56199
56568
  };
56200
56569
 
56201
56570
  /* harmony default export */ var packages_layout = (layout_src_main);
56202
- // 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=53be147b&
56203
- var mainvue_type_template_id_53be147b_render = function () {
56571
+ // 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=e19b01ac&
56572
+ var mainvue_type_template_id_e19b01ac_render = function () {
56204
56573
  var _vm = this
56205
56574
  var _h = _vm.$createElement
56206
56575
  var _c = _vm._self._c || _h
@@ -57475,7 +57844,7 @@ var mainvue_type_template_id_53be147b_render = function () {
57475
57844
  )
57476
57845
  : _vm._e()
57477
57846
  }
57478
- var mainvue_type_template_id_53be147b_staticRenderFns = [
57847
+ var mainvue_type_template_id_e19b01ac_staticRenderFns = [
57479
57848
  function () {
57480
57849
  var _vm = this
57481
57850
  var _h = _vm.$createElement
@@ -57490,10 +57859,10 @@ var mainvue_type_template_id_53be147b_staticRenderFns = [
57490
57859
  ])
57491
57860
  },
57492
57861
  ]
57493
- mainvue_type_template_id_53be147b_render._withStripped = true
57862
+ mainvue_type_template_id_e19b01ac_render._withStripped = true
57494
57863
 
57495
57864
 
57496
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=53be147b&
57865
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=e19b01ac&
57497
57866
 
57498
57867
  // 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=325dc074&
57499
57868
  var resetPasswordvue_type_template_id_325dc074_render = function () {
@@ -59742,7 +60111,8 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
59742
60111
  }).then(function (res) {
59743
60112
  if (res.rCode === 0) {
59744
60113
  var results = res.results;
59745
- if (results.statusCode === 0) {
60114
+ if (results.statusCode === 0 || results.statusCode === 2) {
60115
+ // statusCode为2时 代表密码过期,也应执行handleResults
59746
60116
  clearTimeout(_this12.interval);
59747
60117
  _this12.handleResults(results, 3);
59748
60118
  } else {
@@ -59958,8 +60328,8 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
59958
60328
 
59959
60329
  var login_src_main_component = normalizeComponent(
59960
60330
  packages_login_src_mainvue_type_script_lang_js_,
59961
- mainvue_type_template_id_53be147b_render,
59962
- mainvue_type_template_id_53be147b_staticRenderFns,
60331
+ mainvue_type_template_id_e19b01ac_render,
60332
+ mainvue_type_template_id_e19b01ac_staticRenderFns,
59963
60333
  false,
59964
60334
  null,
59965
60335
  null,
@@ -60080,8 +60450,8 @@ mainvue_type_template_id_d57cecee_render._withStripped = true
60080
60450
 
60081
60451
  // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=d57cecee&
60082
60452
 
60083
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=1f6395a8&scoped=true&
60084
- var simplicityvue_type_template_id_1f6395a8_scoped_true_render = function () {
60453
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=7cb3c8cc&scoped=true&
60454
+ var simplicityvue_type_template_id_7cb3c8cc_scoped_true_render = function () {
60085
60455
  var _vm = this
60086
60456
  var _h = _vm.$createElement
60087
60457
  var _c = _vm._self._c || _h
@@ -60775,11 +61145,11 @@ var simplicityvue_type_template_id_1f6395a8_scoped_true_render = function () {
60775
61145
  ),
60776
61146
  ])
60777
61147
  }
60778
- var simplicityvue_type_template_id_1f6395a8_scoped_true_staticRenderFns = []
60779
- simplicityvue_type_template_id_1f6395a8_scoped_true_render._withStripped = true
61148
+ var simplicityvue_type_template_id_7cb3c8cc_scoped_true_staticRenderFns = []
61149
+ simplicityvue_type_template_id_7cb3c8cc_scoped_true_render._withStripped = true
60780
61150
 
60781
61151
 
60782
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=1f6395a8&scoped=true&
61152
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=7cb3c8cc&scoped=true&
60783
61153
 
60784
61154
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=e722b45c&scoped=true&
60785
61155
  var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
@@ -62868,10 +63238,10 @@ appsvue_type_template_id_71b9cb14_scoped_true_render._withStripped = true
62868
63238
  this.$emit('click', res);
62869
63239
  },
62870
63240
 
62871
- /**
62872
- * @desc:获取气泡提醒
62873
- * @author huangbo
62874
- * @date 2024年9月7日
63241
+ /**
63242
+ * @desc:获取气泡提醒
63243
+ * @author huangbo
63244
+ * @date 2024年9月7日
62875
63245
  **/
62876
63246
  getBadge: function getBadge(res) {
62877
63247
  var num = res.tips || 0;
@@ -68221,11 +68591,11 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
68221
68591
  }
68222
68592
  if (close) {
68223
68593
  if (close === old) {
68224
- this.tabs.splice(n, 0);
68594
+ this.tabs.splice(n, 1);
68225
68595
  } else {
68226
68596
  var d = utils_util["a" /* default */].indexOfObj(this.tabs, close, 'id,code,appCode');
68227
68597
  if (d > -1) {
68228
- this.tabs.splice(d, 0);
68598
+ this.tabs.splice(d, 1);
68229
68599
  }
68230
68600
  }
68231
68601
  }
@@ -68276,11 +68646,11 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
68276
68646
 
68277
68647
  var simplicity_component = normalizeComponent(
68278
68648
  src_simplicityvue_type_script_lang_js_,
68279
- simplicityvue_type_template_id_1f6395a8_scoped_true_render,
68280
- simplicityvue_type_template_id_1f6395a8_scoped_true_staticRenderFns,
68649
+ simplicityvue_type_template_id_7cb3c8cc_scoped_true_render,
68650
+ simplicityvue_type_template_id_7cb3c8cc_scoped_true_staticRenderFns,
68281
68651
  false,
68282
68652
  null,
68283
- "1f6395a8",
68653
+ "7cb3c8cc",
68284
68654
  null
68285
68655
 
68286
68656
  )
@@ -75311,19 +75681,19 @@ var QRCode = __webpack_require__(24);
75311
75681
  //设置logo大小
75312
75682
  var logoPosition = (_this3.mwidth - 46) / 2; //logo相对于canvas居中定位
75313
75683
  //设置获取的logo将其变为圆角以及添加白色背景
75314
- /* ctx.fillStyle = "#fff";
75315
- ctx.beginPath();
75316
- let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
75317
- let w = 46; //圆角宽
75318
- let x = logoPosition - 5;
75319
- let y = logoPosition - 5;
75320
- let r = 5; //圆角半径
75321
- ctx.moveTo(x + r, y);
75322
- ctx.arcTo(x + w, y, x + w, y + h, r);
75323
- ctx.arcTo(x + w, y + h, x, y + h, r);
75324
- ctx.arcTo(x, y + h, x, y, r);
75325
- ctx.arcTo(x, y, x + w, y, r);
75326
- ctx.closePath();
75684
+ /* ctx.fillStyle = "#fff";
75685
+ ctx.beginPath();
75686
+ let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
75687
+ let w = 46; //圆角宽
75688
+ let x = logoPosition - 5;
75689
+ let y = logoPosition - 5;
75690
+ let r = 5; //圆角半径
75691
+ ctx.moveTo(x + r, y);
75692
+ ctx.arcTo(x + w, y, x + w, y + h, r);
75693
+ ctx.arcTo(x + w, y + h, x, y + h, r);
75694
+ ctx.arcTo(x, y + h, x, y, r);
75695
+ ctx.arcTo(x, y, x + w, y, r);
75696
+ ctx.closePath();
75327
75697
  ctx.fill(); */
75328
75698
  logo.onload = function () {
75329
75699
  ctx.drawImage(logo, logoPosition, logoPosition, 46, 46);
@@ -93422,7 +93792,7 @@ if (typeof window !== 'undefined' && window.Vue) {
93422
93792
  }
93423
93793
 
93424
93794
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
93425
- version: '0.7.20',
93795
+ version: '0.7.22',
93426
93796
  install: install,
93427
93797
  Button: packages_button,
93428
93798
  ButtonGroup: button_group,