eoss 0.1.0-alpha.24 → 0.1.0-alpha.26

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 (309) hide show
  1. package/lib/0.js +1 -1
  2. package/lib/1.js +1 -1
  3. package/lib/10.js +1 -1
  4. package/lib/11.js +1 -1
  5. package/lib/12.js +1 -1
  6. package/lib/13.js +1 -1
  7. package/lib/14.js +1 -1
  8. package/lib/15.js +1 -1
  9. package/lib/16.js +1 -1
  10. package/lib/17.js +1 -1
  11. package/lib/18.js +1 -1
  12. package/lib/19.js +1 -1
  13. package/lib/20.js +1 -1
  14. package/lib/21.js +1 -1
  15. package/lib/22.js +1 -1
  16. package/lib/23.js +1 -1
  17. package/lib/24.js +1 -1
  18. package/lib/25.js +1 -1
  19. package/lib/26.js +1 -1
  20. package/lib/27.js +1 -1
  21. package/lib/28.js +1 -1
  22. package/lib/29.js +1 -1
  23. package/lib/3.js +1 -1
  24. package/lib/30.js +1 -1
  25. package/lib/31.js +1 -1
  26. package/lib/32.js +1 -1
  27. package/lib/33.js +1 -1
  28. package/lib/34.js +1 -1
  29. package/lib/35.js +1 -1
  30. package/lib/36.js +1 -1
  31. package/lib/37.js +1 -1
  32. package/lib/38.js +1 -1
  33. package/lib/39.js +1 -1
  34. package/lib/4.js +1 -1
  35. package/lib/40.js +1 -1
  36. package/lib/41.js +1 -1
  37. package/lib/42.js +1 -1
  38. package/lib/43.js +1 -1
  39. package/lib/44.js +1 -1
  40. package/lib/45.js +1 -1
  41. package/lib/46.js +1 -1
  42. package/lib/47.js +1 -1
  43. package/lib/48.js +1 -1
  44. package/lib/49.js +1 -1
  45. package/lib/5.js +1 -1
  46. package/lib/50.js +1 -1
  47. package/lib/51.js +1 -1
  48. package/lib/52.js +1 -1
  49. package/lib/53.js +1 -1
  50. package/lib/54.js +1 -1
  51. package/lib/55.js +1 -1
  52. package/lib/56.js +1 -1
  53. package/lib/57.js +1 -1
  54. package/lib/58.js +1 -1
  55. package/lib/59.js +1 -1
  56. package/lib/6.js +1 -1
  57. package/lib/60.js +1 -1
  58. package/lib/61.js +1 -1
  59. package/lib/62.js +1 -1
  60. package/lib/63.js +1 -1
  61. package/lib/64.js +1 -1
  62. package/lib/65.js +1 -1
  63. package/lib/66.js +1 -1
  64. package/lib/67.js +1 -1
  65. package/lib/68.js +1 -1
  66. package/lib/69.js +1 -1
  67. package/lib/7.js +1 -1
  68. package/lib/70.js +1 -1
  69. package/lib/71.js +1 -1
  70. package/lib/72.js +1 -1
  71. package/lib/73.js +1 -1
  72. package/lib/74.js +1 -1
  73. package/lib/75.js +1 -1
  74. package/lib/76.js +1 -1
  75. package/lib/77.js +1 -1
  76. package/lib/78.js +1 -1
  77. package/lib/79.js +1 -1
  78. package/lib/8.js +1 -1
  79. package/lib/80.js +1 -1
  80. package/lib/81.js +1 -1
  81. package/lib/9.js +1 -1
  82. package/lib/account-login.js +1554 -1437
  83. package/lib/alert.js +2 -2
  84. package/lib/aside.js +2 -2
  85. package/lib/audit-trajectory.js +928 -0
  86. package/lib/autocomplete.js +1506 -1506
  87. package/lib/avatar.js +2 -2
  88. package/lib/backtop.js +2 -2
  89. package/lib/badge.js +2 -2
  90. package/lib/breadcrumb-item.js +4 -4
  91. package/lib/breadcrumb.js +4 -4
  92. package/lib/button-group.js +9 -9
  93. package/lib/button.js +2 -2
  94. package/lib/ca-login.js +1290 -1290
  95. package/lib/calendar.js +999 -999
  96. package/lib/card.js +2 -2
  97. package/lib/carousel-item.js +1275 -1275
  98. package/lib/carousel.js +515 -515
  99. package/lib/cascader-panel.js +1302 -1302
  100. package/lib/cascader.js +1561 -1561
  101. package/lib/checkbox-button.js +2 -2
  102. package/lib/checkbox-group.js +1694 -1610
  103. package/lib/checkbox.js +9 -42
  104. package/lib/col.js +2 -2
  105. package/lib/collapse-item.js +1117 -1054
  106. package/lib/collapse.js +1122 -1054
  107. package/lib/color-picker.js +11 -11
  108. package/lib/config/api.js +80 -1
  109. package/lib/container.js +2 -2
  110. package/lib/cron.js +2 -2
  111. package/lib/data-table.js +1446 -1319
  112. package/lib/date-picker.js +1515 -1515
  113. package/lib/dialog.js +1796 -1794
  114. package/lib/divider.js +2 -2
  115. package/lib/drawer.js +4 -4
  116. package/lib/dropdown-item.js +4 -4
  117. package/lib/dropdown-menu.js +6 -6
  118. package/lib/dropdown.js +1477 -1477
  119. package/lib/email-login.js +1544 -1427
  120. package/lib/empty.js +2 -2
  121. package/lib/eoss.common.js +52567 -41727
  122. package/lib/flip.js +2 -2
  123. package/lib/flow-group.js +1278 -1278
  124. package/lib/flow.js +1716 -1599
  125. package/lib/flows.js +1561 -1444
  126. package/lib/footer.js +2 -2
  127. package/lib/form-item.js +1285 -1285
  128. package/lib/form.js +1144 -1067
  129. package/lib/guide.js +620 -0
  130. package/lib/header.js +2 -2
  131. package/lib/icon.js +1505 -1388
  132. package/lib/icons.js +2 -2
  133. package/lib/image-viewer.js +1376 -1376
  134. package/lib/image.js +73 -73
  135. package/lib/index.js +1 -1
  136. package/lib/infinite-scroll.js +71 -71
  137. package/lib/input-number.js +6 -6
  138. package/lib/input.js +1284 -1284
  139. package/lib/link.js +2 -2
  140. package/lib/loading.js +5 -5
  141. package/lib/login.js +1749 -1619
  142. package/lib/lowcode.js +12381 -5094
  143. package/lib/main.js +4049 -3653
  144. package/lib/marquee.js +1279 -1279
  145. package/lib/menu-item-group.js +2 -2
  146. package/lib/menu-item.js +2 -2
  147. package/lib/menu.js +1796 -1796
  148. package/lib/message-box.js +2993 -2993
  149. package/lib/message.js +1389 -1389
  150. package/lib/notification.js +1487 -1487
  151. package/lib/option-group.js +2 -2
  152. package/lib/option.js +1392 -1392
  153. package/lib/page-header.js +2 -2
  154. package/lib/pagination.js +1301 -1301
  155. package/lib/phone-login.js +1529 -1412
  156. package/lib/popconfirm.js +6 -6
  157. package/lib/popover.js +1425 -1425
  158. package/lib/process-config.js +7674 -0
  159. package/lib/process-module.js +7080 -0
  160. package/lib/process-rule.js +8246 -0
  161. package/lib/progress.js +5 -5
  162. package/lib/qr-code.js +7 -7
  163. package/lib/qrcode-login.js +1609 -1492
  164. package/lib/radio-button.js +10 -21
  165. package/lib/radio-group.js +1714 -1626
  166. package/lib/radio.js +10 -25
  167. package/lib/rate.js +1387 -1387
  168. package/lib/row.js +2 -2
  169. package/lib/scrollbar.js +1374 -1374
  170. package/lib/select.js +2376 -2257
  171. package/lib/selector-panel.js +1706 -1651
  172. package/lib/selector.js +1241 -1134
  173. package/lib/slider.js +2 -2
  174. package/lib/step.js +1119 -1051
  175. package/lib/steps.js +1276 -1276
  176. package/lib/submenu.js +530 -530
  177. package/lib/switch.js +1277 -1277
  178. package/lib/tab-pane.js +2 -2
  179. package/lib/table-column.js +1278 -1278
  180. package/lib/table.js +1953 -1836
  181. package/lib/tabs.js +1283 -1283
  182. package/lib/tag.js +2 -2
  183. package/lib/theme-chalk/audit-trajectory.css +0 -0
  184. package/lib/theme-chalk/base.css +1 -1
  185. package/lib/theme-chalk/button-group.css +1 -1
  186. package/lib/theme-chalk/calendar.css +1 -1
  187. package/lib/theme-chalk/guide.css +1 -0
  188. package/lib/theme-chalk/icon.css +1 -1
  189. package/lib/theme-chalk/icons.css +1 -1
  190. package/lib/theme-chalk/index.css +1 -1
  191. package/lib/theme-chalk/lowcode-view.css +1 -0
  192. package/lib/theme-chalk/lowcode.css +1 -1
  193. package/lib/theme-chalk/main.css +1 -1
  194. package/lib/theme-chalk/pagination.css +1 -1
  195. package/lib/theme-chalk/process-config.css +0 -0
  196. package/lib/theme-chalk/process-module.css +0 -0
  197. package/lib/theme-chalk/process-rule.css +1 -0
  198. package/lib/theme-chalk/select-dropdown.css +1 -1
  199. package/lib/theme-chalk/select.css +1 -1
  200. package/lib/theme-chalk/tree.css +1 -1
  201. package/lib/theme-chalk/update-history.css +0 -0
  202. package/lib/theme-chalk/wujie.css +1 -0
  203. package/lib/time-picker.js +1302 -1302
  204. package/lib/time-select.js +1298 -1298
  205. package/lib/timeline-item.js +2 -2
  206. package/lib/timeline.js +2 -2
  207. package/lib/tips.js +1613 -1496
  208. package/lib/toolbar.js +6 -6
  209. package/lib/tooltip.js +1363 -1363
  210. package/lib/transfer.js +1293 -1293
  211. package/lib/tree-group.js +1505 -1388
  212. package/lib/tree.js +1637 -1520
  213. package/lib/update-history.js +883 -0
  214. package/lib/upload.js +1689 -1572
  215. package/lib/utils/ajax.js +3 -5
  216. package/lib/utils/frame.js +133 -0
  217. package/lib/wujie.js +5037 -0
  218. package/package.json +3 -2
  219. package/packages/audit-trajectory/index.js +5 -0
  220. package/packages/audit-trajectory/src/main.vue +99 -0
  221. package/packages/button/src/button-group.vue +1 -1
  222. package/packages/cascader/src/cascader.vue +1 -1
  223. package/packages/checkbox/src/checkbox.vue +9 -14
  224. package/packages/data-table/src/data-table.vue +13 -4
  225. package/packages/date-picker/src/picker.vue +1 -1
  226. package/packages/dialog/src/dialog.vue +2 -0
  227. package/packages/form/src/form-item-render.vue +14 -6
  228. package/packages/form/src/form.vue +2 -2
  229. package/packages/guide/index.js +8 -0
  230. package/packages/guide/src/directive.js +47 -0
  231. package/packages/guide/src/guide.vue +89 -0
  232. package/packages/guide/src/manager.js +133 -0
  233. package/packages/input/src/input.vue +1 -1
  234. package/packages/login/src/login.vue +47 -46
  235. package/packages/lowcode/src/aside.vue +43 -8
  236. package/packages/lowcode/src/attribute/bind.vue +447 -236
  237. package/packages/lowcode/src/attribute/dependency.vue +474 -267
  238. package/packages/lowcode/src/attribute/function.vue +389 -51
  239. package/packages/lowcode/src/attribute/javascript.vue +311 -0
  240. package/packages/lowcode/src/attribute/property.vue +257 -166
  241. package/packages/lowcode/src/attribute/styles.vue +116 -15
  242. package/packages/lowcode/src/attribute.vue +654 -46
  243. package/packages/lowcode/src/canvas.vue +361 -60
  244. package/packages/lowcode/src/editor.vue +15 -2
  245. package/packages/lowcode/src/iframe.vue +60 -0
  246. package/packages/lowcode/src/lowcode.vue +233 -21
  247. package/packages/lowcode/src/mixins/history.js +132 -0
  248. package/packages/lowcode/src/pages.vue +1 -53
  249. package/packages/lowcode/src/render.vue +381 -56
  250. package/packages/lowcode/src/source.vue +12 -5
  251. package/packages/lowcode/src/toolbar.vue +43 -20
  252. package/packages/lowcode/src/util/source-generator.js +531 -0
  253. package/packages/lowcode/src/{source-parser.js → util/source-parser.js} +86 -32
  254. package/packages/lowcode-view/index.js +5 -0
  255. package/packages/lowcode-view/src/Iframe.vue +55 -0
  256. package/packages/lowcode-view/src/Modulels.vue +239 -0
  257. package/packages/lowcode-view/src/render.vue +337 -0
  258. package/packages/lowcode-view/src/view.vue +763 -0
  259. package/packages/main/src/components/pages.vue +11 -2
  260. package/packages/main/src/event-center.js +160 -0
  261. package/packages/main/src/minxs.js +60 -90
  262. package/packages/process-config/index.js +5 -0
  263. package/packages/process-config/src/FormList.vue +180 -0
  264. package/packages/process-config/src/NodeConfig.vue +212 -0
  265. package/packages/process-config/src/NodeForm.vue +237 -0
  266. package/packages/process-config/src/main.vue +257 -0
  267. package/packages/process-module/index.js +5 -0
  268. package/packages/process-module/src/FormList.vue +177 -0
  269. package/packages/process-module/src/main.vue +233 -0
  270. package/packages/process-rule/index.js +5 -0
  271. package/packages/process-rule/src/FormList.vue +614 -0
  272. package/packages/process-rule/src/companyReportDetail.vue +92 -0
  273. package/packages/process-rule/src/main.vue +749 -0
  274. package/packages/progress/src/progress.vue +1 -1
  275. package/packages/radio/src/radio-button.vue +12 -9
  276. package/packages/radio/src/radio-group.vue +10 -14
  277. package/packages/radio/src/radio.vue +12 -11
  278. package/packages/select/src/option-tree.vue +4 -4
  279. package/packages/select/src/option.vue +2 -2
  280. package/packages/select/src/select.vue +34 -37
  281. package/packages/selector/src/selector.vue +10 -12
  282. package/packages/theme-chalk/src/audit-trajectory.scss +0 -0
  283. package/packages/theme-chalk/src/button-group.scss +7 -0
  284. package/packages/theme-chalk/src/common/var.scss +34 -10
  285. package/packages/theme-chalk/src/guide.scss +93 -0
  286. package/packages/theme-chalk/src/icon.scss +425 -426
  287. package/packages/theme-chalk/src/icons.scss +1 -1
  288. package/packages/theme-chalk/src/index.scss +7 -0
  289. package/packages/theme-chalk/src/lowcode-view.scss +288 -0
  290. package/packages/theme-chalk/src/lowcode.scss +59 -2
  291. package/packages/theme-chalk/src/process-config.scss +0 -0
  292. package/packages/theme-chalk/src/process-module.scss +0 -0
  293. package/packages/theme-chalk/src/process-rule.scss +57 -0
  294. package/packages/theme-chalk/src/select-dropdown.scss +1 -1
  295. package/packages/theme-chalk/src/tree.scss +1 -0
  296. package/packages/theme-chalk/src/update-history.scss +0 -0
  297. package/packages/theme-chalk/src/wujie.scss +5 -0
  298. package/packages/update-history/index.js +5 -0
  299. package/packages/update-history/src/main.vue +54 -0
  300. package/packages/wujie/index.js +10 -0
  301. package/packages/wujie/src/wujie.vue +205 -0
  302. package/src/components/field-render.vue +5 -0
  303. package/src/config/api.js +80 -0
  304. package/src/index.js +23 -2
  305. package/src/utils/ajax.js +2 -2
  306. package/src/utils/frame.js +102 -0
  307. package/packages/lowcode/src/source-generator.js +0 -316
  308. /package/packages/lowcode/src/{json-repair.js → util/json-repair.js} +0 -0
  309. /package/packages/lowcode/src/{monaco-vue-completions.js → util/monaco-vue-completions.js} +0 -0
package/lib/flows.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 162);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 173);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -91,32 +91,32 @@ module.exports =
91
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
92
 
93
93
  "use strict";
94
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return noop; });
95
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return hasOwn; });
96
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return toObject; });
97
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return getValueByPath; });
98
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return getPropByPath; });
94
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return noop; });
95
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return hasOwn; });
96
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return toObject; });
97
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return getValueByPath; });
98
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return getPropByPath; });
99
99
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return generateId; });
100
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return valueEquals; });
100
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return valueEquals; });
101
101
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return escapeRegexpString; });
102
102
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return arrayFindIndex; });
103
103
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return arrayFind; });
104
104
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return coerceTruthyValueToArray; });
105
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return isIE; });
106
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return isEdge; });
107
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return isFirefox; });
105
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return isIE; });
106
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return isEdge; });
107
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return isFirefox; });
108
108
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return autoprefixer; });
109
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return kebabCase; });
109
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return kebabCase; });
110
110
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return capitalize; });
111
111
  /* unused harmony export looseEqual */
112
112
  /* unused harmony export arrayEquals */
113
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return isEqual; });
114
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return rafThrottle; });
113
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return isEqual; });
114
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return rafThrottle; });
115
115
  /* unused harmony export objToArray */
116
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return requestAnimationFrame; });
116
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return requestAnimationFrame; });
117
117
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return cancelAnimationFrame; });
118
118
  /* unused harmony export debounce */
119
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return throttle; });
119
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return throttle; });
120
120
  /* unused harmony export guid */
121
121
  /* unused harmony export uid */
122
122
  /* unused harmony export get */
@@ -124,7 +124,7 @@ module.exports =
124
124
  /* unused harmony export cloneDeep */
125
125
  /* unused harmony export grouping */
126
126
  /* unused harmony export pager */
127
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return getWinTop; });
127
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return getWinTop; });
128
128
  /* unused harmony export getFileType */
129
129
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return arrUnique; });
130
130
  /* unused harmony export average */
@@ -142,60 +142,60 @@ module.exports =
142
142
  /* unused harmony export exportXls */
143
143
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return extend; });
144
144
  /* unused harmony export getObjectType */
145
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return getParams; });
145
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return getParams; });
146
146
  /* unused harmony export getScript */
147
147
  /* unused harmony export getStyle */
148
148
  /* unused harmony export getTypeName */
149
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return getTypePrefix; });
149
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return getTypePrefix; });
150
150
  /* unused harmony export getValues */
151
151
  /* unused harmony export getZoom */
152
152
  /* unused harmony export getLength */
153
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return timestampUrl; });
153
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return timestampUrl; });
154
154
  /* unused harmony export hasChars */
155
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return identical; });
156
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return indexOfObj; });
157
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return isEmpty; });
158
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return isExist; });
155
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return identical; });
156
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return indexOfObj; });
157
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return isEmpty; });
158
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return isExist; });
159
159
  /* unused harmony export isFunction */
160
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return isObjectEqual; });
161
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return joinUrl; });
162
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return getHorizontalMargin; });
163
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return layoutWaterfall; });
160
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return isObjectEqual; });
161
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return joinUrl; });
162
+ /* unused harmony export getHorizontalMargin */
163
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return layoutWaterfall; });
164
164
  /* unused harmony export loadJs */
165
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return loading; });
165
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return loading; });
166
166
  /* unused harmony export lowerCase */
167
167
  /* unused harmony export overbrim */
168
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return queryParams; });
168
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return queryParams; });
169
169
  /* unused harmony export receiveMessage */
170
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return renderIcon; });
170
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return renderIcon; });
171
171
  /* unused harmony export replenish */
172
172
  /* unused harmony export rmbToCapital */
173
173
  /* unused harmony export setScale */
174
174
  /* unused harmony export sendMessage */
175
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return setFavicon; });
175
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return setFavicon; });
176
176
  /* unused harmony export sum */
177
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return startWith; });
177
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return startWith; });
178
178
  /* unused harmony export takeLeft */
179
179
  /* unused harmony export takeRight */
180
180
  /* unused harmony export trimWhitespace */
181
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return toFixed; });
181
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return toFixed; });
182
182
  /* unused harmony export toFunction */
183
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return updateTheme; });
183
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return updateTheme; });
184
184
  /* unused harmony export upperType */
185
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return urlJoinParams; });
186
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return uuid; });
187
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return watermark; });
185
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return urlJoinParams; });
186
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return uuid; });
187
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return watermark; });
188
188
  /* unused harmony export winTopOpen */
189
189
  /* unused harmony export confirm */
190
190
  /* unused harmony export success */
191
191
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return error; });
192
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return warning; });
192
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return warning; });
193
193
  /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4);
194
194
  /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
195
195
  /* harmony import */ var _color__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12);
196
- /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
197
- /* harmony import */ var _storage__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2);
198
- /* harmony import */ var _date__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1);
196
+ /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5);
197
+ /* harmony import */ var _storage__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1);
198
+ /* harmony import */ var _date__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2);
199
199
  var _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; };
200
200
 
201
201
  var _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; };
@@ -205,9 +205,9 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
205
205
 
206
206
 
207
207
 
208
- var _get = __webpack_require__(20);
209
- var _set = __webpack_require__(21);
210
- var _cloneDeep = __webpack_require__(22);
208
+ var _get = __webpack_require__(19);
209
+ var _set = __webpack_require__(20);
210
+ var _cloneDeep = __webpack_require__(21);
211
211
  var hasOwnProperty = Object.prototype.hasOwnProperty;
212
212
 
213
213
  // 导入date中的formatDate函数
@@ -2172,7 +2172,7 @@ var loadJs = function loadJs(url, callback) {
2172
2172
  var loading = function loading() {
2173
2173
  var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '请求中...';
2174
2174
 
2175
- var Loading = __webpack_require__(18).default;
2175
+ var Loading = __webpack_require__(17).default;
2176
2176
  return Loading.service({
2177
2177
  text: text,
2178
2178
  spinner: 'es-icon-jiazai',
@@ -3040,988 +3040,236 @@ var warning = function warning(content, _callback3) {
3040
3040
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3041
3041
 
3042
3042
  "use strict";
3043
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return fecha; });
3044
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return getSettings; });
3045
- /* unused harmony export toDate */
3046
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return isDate; });
3047
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return isDateObject; });
3048
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return formatDate; });
3049
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return parseDate; });
3050
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getDayCountOfMonth; });
3051
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return getDayCountOfYear; });
3052
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return getFirstDayOfMonth; });
3053
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return prevDate; });
3054
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return nextDate; });
3055
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return getStartDateOfMonth; });
3056
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return getWeekNumber; });
3057
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return getRangeHours; });
3058
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return getPrevMonthLastDays; });
3059
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return getMonthDays; });
3060
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return getRangeMinutes; });
3061
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return range; });
3062
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return modifyDate; });
3063
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return modifyTime; });
3064
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return modifyWithTimeString; });
3065
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return clearTime; });
3066
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return clearMilliseconds; });
3067
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return limitTimeRange; });
3068
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return timeWithinRange; });
3069
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return changeYearMonthAndClampDate; });
3070
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return prevMonth; });
3071
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return nextMonth; });
3072
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return prevYear; });
3073
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return nextYear; });
3074
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return extractDateFormat; });
3075
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return extractTimeFormat; });
3076
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return validateRangeInOneMonth; });
3077
- /* unused harmony export calculateNetworkDays */
3078
- /* unused harmony export dateAddDays */
3079
- /* unused harmony export dateDiff */
3080
- /* unused harmony export dayOfMonth */
3081
- /* unused harmony export getCurrentDate */
3082
- /* unused harmony export getCurrentDateTime */
3083
- /* unused harmony export getHour */
3084
- /* unused harmony export getMinute */
3085
- /* unused harmony export getMonth */
3086
- /* unused harmony export getSecond */
3087
- /* unused harmony export getWeekday */
3088
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return timeCycle; });
3089
- /* Modified from https://github.com/taylorhakes/fecha
3090
- *
3091
- * The MIT License (MIT)
3092
- *
3093
- * Copyright (c) 2015 Taylor Hakes
3094
- *
3095
- * Permission is hereby granted, free of charge, to any person obtaining a copy
3096
- * of this software and associated documentation files (the "Software"), to deal
3097
- * in the Software without restriction, including without limitation the rights
3098
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
3099
- * copies of the Software, and to permit persons to whom the Software is
3100
- * furnished to do so, subject to the following conditions:
3101
- *
3102
- * The above copyright notice and this permission notice shall be included in all
3103
- * copies or substantial portions of the Software.
3104
- *
3105
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3106
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3107
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
3108
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3109
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3110
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3111
- * SOFTWARE.
3112
- */
3113
-
3114
- /*eslint-disable*/
3115
- // 把 YYYY-MM-DD 改成了 yyyy-MM-dd
3116
-
3117
-
3118
- /**
3119
- * Parse or format dates
3120
- * @class fecha
3121
- */
3122
- const fecha = {};
3123
- const token = /d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g;
3124
- const twoDigits = '\\d\\d?';
3125
- const threeDigits = '\\d{3}';
3126
- const fourDigits = '\\d{4}';
3127
- const word = '[^\\s]+';
3128
- const literal = /\[([^]*?)\]/gm;
3129
- const noop = function () {};
3130
-
3131
- function regexEscape(str) {
3132
- return str.replace(/[|\\{()[^$+*?.-]/g, '\\$&');
3133
- }
3134
-
3135
- function shorten(arr, sLen) {
3136
- const newArr = [];
3137
- for (let i = 0, len = arr.length; i < len; i++) {
3138
- newArr.push(arr[i].substr(0, sLen));
3139
- }
3140
- return newArr;
3141
- }
3142
-
3143
- function monthUpdate() {
3144
- return function (d, v) {
3145
- const index = ['january', 'february', 'march', 'april', 'may', 'june', 'july', 'august', 'september', 'october', 'november', 'december'].indexOf(v.toLowerCase());
3146
- if (~index) {
3147
- d.month = index;
3148
- }
3149
- };
3150
- }
3151
-
3152
- function pad(val, len) {
3153
- val = String(val);
3154
- len = len || 2;
3155
- while (val.length < len) {
3156
- val = '0' + val;
3157
- }
3158
- return val;
3159
- }
3160
-
3161
- // 直接使用中文日期名称常量
3162
- const dayNames = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'];
3163
- const monthNames = ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'];
3164
- const monthNamesShort = ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'];
3165
- const dayNamesShort = ['日', '一', '二', '三', '四', '五', '六'];
3166
- const amPm = ['上午', '下午'];
3167
- const DoFn = function DoFn(D) {
3168
- return D + '日';
3169
- };
3170
-
3171
- const formatFlags = {
3172
- D: function(dateObj) {
3173
- return dateObj.getDay();
3174
- },
3175
- DD: function(dateObj) {
3176
- return pad(dateObj.getDay());
3177
- },
3178
- Do: function(dateObj) {
3179
- return DoFn(dateObj.getDate());
3180
- },
3181
- d: function(dateObj) {
3182
- return dateObj.getDate();
3183
- },
3184
- dd: function(dateObj) {
3185
- return pad(dateObj.getDate());
3186
- },
3187
- ddd: function(dateObj) {
3188
- return dayNamesShort[dateObj.getDay()];
3189
- },
3190
- dddd: function(dateObj) {
3191
- return dayNames[dateObj.getDay()];
3192
- },
3193
- M: function(dateObj) {
3194
- return dateObj.getMonth() + 1;
3195
- },
3196
- MM: function(dateObj) {
3197
- return pad(dateObj.getMonth() + 1);
3198
- },
3199
- MMM: function(dateObj) {
3200
- return monthNamesShort[dateObj.getMonth()];
3201
- },
3202
- MMMM: function(dateObj) {
3203
- return monthNames[dateObj.getMonth()];
3204
- },
3205
- yy: function(dateObj) {
3206
- return pad(String(dateObj.getFullYear()), 4).substr(2);
3207
- },
3208
- yyyy: function(dateObj) {
3209
- return pad(dateObj.getFullYear(), 4);
3210
- },
3211
- h: function(dateObj) {
3212
- return dateObj.getHours() % 12 || 12;
3213
- },
3214
- hh: function(dateObj) {
3215
- return pad(dateObj.getHours() % 12 || 12);
3216
- },
3217
- H: function(dateObj) {
3218
- return dateObj.getHours();
3219
- },
3220
- HH: function(dateObj) {
3221
- return pad(dateObj.getHours());
3222
- },
3223
- m: function(dateObj) {
3224
- return dateObj.getMinutes();
3225
- },
3226
- mm: function(dateObj) {
3227
- return pad(dateObj.getMinutes());
3228
- },
3229
- s: function(dateObj) {
3230
- return dateObj.getSeconds();
3231
- },
3232
- ss: function(dateObj) {
3233
- return pad(dateObj.getSeconds());
3234
- },
3235
- S: function(dateObj) {
3236
- return Math.round(dateObj.getMilliseconds() / 100);
3237
- },
3238
- SS: function(dateObj) {
3239
- return pad(Math.round(dateObj.getMilliseconds() / 10), 2);
3240
- },
3241
- SSS: function(dateObj) {
3242
- return pad(dateObj.getMilliseconds(), 3);
3243
- },
3244
- a: function(dateObj) {
3245
- return dateObj.getHours() < 12 ? '上午' : '下午';
3246
- },
3247
- A: function(dateObj) {
3248
- return dateObj.getHours() < 12 ? '上午' : '下午';
3249
- },
3250
- ZZ: function(dateObj) {
3251
- const o = dateObj.getTimezoneOffset();
3252
- return (o > 0 ? '-' : '+') + pad(Math.floor(Math.abs(o) / 60) * 100 + Math.abs(o) % 60, 4);
3253
- }
3254
- };
3255
-
3256
- const parseFlags = {
3257
- d: [twoDigits, function (d, v) {
3258
- d.day = v;
3259
- }],
3260
- Do: [twoDigits + word, function (d, v) {
3261
- d.day = parseInt(v, 10);
3262
- }],
3263
- M: [twoDigits, function (d, v) {
3264
- d.month = v - 1;
3265
- }],
3266
- yy: [twoDigits, function (d, v) {
3267
- const da = new Date(), cent = +('' + da.getFullYear()).substr(0, 2);
3268
- d.year = '' + (v > 68 ? cent - 1 : cent) + v;
3269
- }],
3270
- h: [twoDigits, function (d, v) {
3271
- d.hour = v;
3272
- }],
3273
- m: [twoDigits, function (d, v) {
3274
- d.minute = v;
3275
- }],
3276
- s: [twoDigits, function (d, v) {
3277
- d.second = v;
3278
- }],
3279
- yyyy: [fourDigits, function (d, v) {
3280
- d.year = v;
3281
- }],
3282
- S: ['\\d', function (d, v) {
3283
- d.millisecond = v * 100;
3284
- }],
3285
- SS: ['\\d{2}', function (d, v) {
3286
- d.millisecond = v * 10;
3287
- }],
3288
- SSS: [threeDigits, function (d, v) {
3289
- d.millisecond = v;
3290
- }],
3291
- D: [twoDigits, noop],
3292
- ddd: [word, noop],
3293
- MMM: [word, monthUpdate('monthNamesShort')],
3294
- MMMM: [word, monthUpdate('monthNames')],
3295
- a: [word, function (d, v) {
3296
- const val = v.toLowerCase();
3297
- if (val === '上午') {
3298
- d.isPm = false;
3299
- } else if (val === '下午') {
3300
- d.isPm = true;
3301
- }
3302
- }],
3303
- ZZ: ['[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z', function (d, v) {
3304
- let parts = (v + '').match(/([+-]|\d\d)/gi), minutes;
3305
-
3306
- if (parts) {
3307
- minutes = +(parts[1] * 60) + parseInt(parts[2], 10);
3308
- d.timezoneOffset = parts[0] === '+' ? minutes : -minutes;
3309
- }
3310
- }]
3311
- };
3312
- parseFlags.dd = parseFlags.d;
3313
- parseFlags.dddd = parseFlags.ddd;
3314
- parseFlags.DD = parseFlags.D;
3315
- parseFlags.mm = parseFlags.m;
3316
- parseFlags.hh = parseFlags.H = parseFlags.HH = parseFlags.h;
3317
- parseFlags.MM = parseFlags.M;
3318
- parseFlags.ss = parseFlags.s;
3319
- parseFlags.A = parseFlags.a;
3320
-
3321
-
3322
- // Some common format strings
3323
- fecha.masks = {
3324
- default: 'ddd MMM dd yyyy HH:mm:ss',
3325
- shortDate: 'M/D/yy',
3326
- mediumDate: 'MMM d, yyyy',
3327
- longDate: 'MMMM d, yyyy',
3328
- fullDate: 'dddd, MMMM d, yyyy',
3329
- shortTime: 'HH:mm',
3330
- mediumTime: 'HH:mm:ss',
3331
- longTime: 'HH:mm:ss.SSS'
3332
- };
3333
-
3334
- /***
3335
- * Format a date
3336
- * @method format
3337
- * @param {Date|number} dateObj
3338
- * @param {string} mask Format of the date, i.e. 'mm-dd-yy' or 'shortDate'
3339
- */
3340
- fecha.format = function (dateObj, mask) {
3341
- if (typeof dateObj === 'number') {
3342
- dateObj = new Date(dateObj);
3343
- }
3344
-
3345
- if (Object.prototype.toString.call(dateObj) !== '[object Date]' || isNaN(dateObj.getTime())) {
3346
- throw new Error('Invalid Date in fecha.format');
3347
- }
3348
-
3349
- mask = fecha.masks[mask] || mask || fecha.masks['default'];
3350
-
3351
- const literals = [];
3352
-
3353
- // Make literals inactive by replacing them with ??
3354
- mask = mask.replace(literal, function($0, $1) {
3355
- literals.push($1);
3356
- return '@@@';
3357
- });
3358
- // Apply formatting rules
3359
- mask = mask.replace(token, function ($0) {
3360
- return $0 in formatFlags ? formatFlags[$0](dateObj) : $0.slice(1, $0.length - 1);
3361
- });
3362
- // Inline literal values back into the formatted value
3363
- return mask.replace(/@@@/g, function() {
3364
- return literals.shift();
3365
- });
3366
- };
3367
-
3368
- /**
3369
- * Parse a date string into an object, changes - into /
3370
- * @method parse
3371
- * @param {string} dateStr Date string
3372
- * @param {string} format Date parse format
3373
- * @returns {Date|boolean}
3374
- */
3375
- fecha.parse = function (dateStr, format) {
3376
- if (typeof format !== 'string') {
3377
- throw new Error('Invalid format in fecha.parse');
3378
- }
3379
-
3380
- format = fecha.masks[format] || format;
3381
-
3382
- // Avoid regular expression denial of service, fail early for really long strings
3383
- // https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS
3384
- if (dateStr.length > 1000) {
3385
- return null;
3386
- }
3387
-
3388
- const dateInfo = {};
3389
- const parseInfo = [];
3390
- const literals = [];
3391
- format = format.replace(literal, function($0, $1) {
3392
- literals.push($1);
3393
- return '@@@';
3394
- });
3395
- let newFormat = regexEscape(format).replace(token, function ($0) {
3396
- if (parseFlags[$0]) {
3397
- const info = parseFlags[$0];
3398
- parseInfo.push(info[1]);
3399
- return '(' + info[0] + ')';
3400
- }
3401
-
3402
- return $0;
3403
- });
3404
- newFormat = newFormat.replace(/@@@/g, function() {
3405
- return literals.shift();
3406
- });
3407
- const matches = dateStr.match(new RegExp(newFormat, 'i'));
3408
- if (!matches) {
3409
- return null;
3410
- }
3411
-
3412
- for (let i = 1; i < matches.length; i++) {
3413
- parseInfo[i - 1](dateInfo, matches[i]);
3414
- }
3415
-
3416
- const today = new Date();
3417
- if (dateInfo.isPm === true && dateInfo.hour != null && +dateInfo.hour !== 12) {
3418
- dateInfo.hour = +dateInfo.hour + 12;
3419
- } else if (dateInfo.isPm === false && +dateInfo.hour === 12) {
3420
- dateInfo.hour = 0;
3421
- }
3422
-
3423
- let date;
3424
- if (dateInfo.timezoneOffset != null) {
3425
- dateInfo.minute = +(dateInfo.minute || 0) - +dateInfo.timezoneOffset;
3426
- date = new Date(Date.UTC(dateInfo.year || today.getFullYear(), dateInfo.month || 0, dateInfo.day || 1,
3427
- dateInfo.hour || 0, dateInfo.minute || 0, dateInfo.second || 0, dateInfo.millisecond || 0));
3428
- } else {
3429
- date = new Date(dateInfo.year || today.getFullYear(), dateInfo.month || 0, dateInfo.day || 1,
3430
- dateInfo.hour || 0, dateInfo.minute || 0, dateInfo.second || 0, dateInfo.millisecond || 0);
3431
- }
3432
- return date;
3433
- };
3434
-
3435
- // 导出fecha对象
3436
-
3437
-
3438
- // 以下是从date-util.js合并的函数
3439
- const newArray = function(start, end) {
3440
- let result = [];
3441
- for (let i = start; i <= end; i++) {
3442
- result.push(i);
3443
- }
3444
- return result;
3445
- };
3446
-
3447
- const getSettings = () => {
3448
- return {
3449
- dayNamesShort: ['日', '一', '二', '三', '四', '五', '六'],
3450
- dayNames: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
3451
- monthNamesShort: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
3452
- monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
3453
- amPm: ['上午', '下午']
3454
- };
3455
- };
3456
-
3457
- const toDate = function(date) {
3458
- return isDate(date) ? new Date(date) : null;
3459
- };
3460
-
3461
- const isDate = function(date) {
3462
- if (date === null || date === undefined) return false;
3463
- if (isNaN(new Date(date).getTime())) return false;
3464
- if (Array.isArray(date)) return false; // deal with `new Date([ new Date() ]) -> new Date()`
3465
- return true;
3466
- };
3467
-
3468
- const isDateObject = function(val) {
3469
- return val instanceof Date;
3470
- };
3471
-
3472
- const formatDate = function (date, format = 'yyyy-MM-dd') {
3473
- // 处理多种输入类型
3474
- if (!date) return '';
3475
-
3476
- // 如果是时间戳,转成日期对象
3477
- if (typeof date === 'number') {
3478
- date = new Date(date);
3479
- }
3480
- // 如果是字符串,转成日期对象
3481
- if (typeof date === 'string') {
3482
- date = new Date(date);
3483
- }
3484
-
3485
- // 调用toDate进一步验证和转换
3486
- date = toDate(date);
3487
- if (!date) return '';
3488
-
3489
- // 兼容大写和小写的格式标记
3490
- // 将大写的YYYY/MM/DD/HH/mm/ss转换为小写的yyyy/mm/dd/hh/mm/ss
3491
- const lowercaseFormat = format
3492
- .replace(/YYYY/g, 'yyyy')
3493
- .replace(/D/g, 'd')
3494
-
3495
- // 使用fecha库进行格式化,支持中文配置
3496
- const str = fecha.format(date, lowercaseFormat, getSettings());
3497
- return str;
3498
- };
3499
-
3500
- const parseDate = function(string, format) {
3501
- return fecha.parse(string, format || 'yyyy-MM-dd', getSettings());
3502
- };
3503
-
3504
- const getDayCountOfMonth = function(year, month) {
3505
- if (month === 3 || month === 5 || month === 8 || month === 10) {
3506
- return 30;
3507
- }
3508
-
3509
- if (month === 1) {
3510
- if (year % 4 === 0 && year % 100 !== 0 || year % 400 === 0) {
3511
- return 29;
3512
- } else {
3513
- return 28;
3514
- }
3515
- }
3516
-
3517
- return 31;
3518
- };
3519
-
3520
- const getDayCountOfYear = function(year) {
3521
- const isLeapYear = year % 400 === 0 || (year % 100 !== 0 && year % 4 === 0);
3522
- return isLeapYear ? 366 : 365;
3523
- };
3524
-
3525
- const getFirstDayOfMonth = function(date) {
3526
- const temp = new Date(date.getTime());
3527
- temp.setDate(1);
3528
- return temp.getDay();
3529
- };
3530
-
3531
- // see: https://stackoverflow.com/questions/3674539/incrementing-a-date-in-javascript
3532
- // {prev, next} Date should work for Daylight Saving Time
3533
- // Adding 24 * 60 * 60 * 1000 does not work in the above scenario
3534
- const prevDate = function(date, amount = 1) {
3535
- return new Date(date.getFullYear(), date.getMonth(), date.getDate() - amount);
3536
- };
3537
-
3538
- const nextDate = function(date, amount = 1) {
3539
- return new Date(date.getFullYear(), date.getMonth(), date.getDate() + amount);
3540
- };
3541
-
3542
- const getStartDateOfMonth = function(year, month) {
3543
- const result = new Date(year, month, 1);
3544
- const day = result.getDay();
3545
-
3546
- if (day === 0) {
3547
- return prevDate(result, 7);
3548
- } else {
3549
- return prevDate(result, day);
3550
- }
3551
- };
3552
-
3553
- const getWeekNumber = function(date) {
3554
- // 支持多种输入类型
3555
- if (!date||!isDate(date)) {
3556
- date = new Date();
3557
- }
3558
- if (typeof date === 'string') {
3559
- date = new Date(date);
3560
- }
3561
-
3562
- // 验证日期有效性
3563
- if (!isDate(date)) return null;
3564
-
3565
- const d = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate()));
3566
- // 设置为最近的星期四:当前日期 + 4 - 当前星期数
3567
- // 将星期日的星期数设为7
3568
- d.setUTCDate(d.getUTCDate() + 4 - (d.getUTCDay() || 7));
3569
- // 获取当年的第一天
3570
- const yearStart = new Date(Date.UTC(d.getUTCFullYear(), 0, 1));
3571
- // 计算到最近的星期四的完整周数
3572
- const weekNo = Math.ceil((((d - yearStart) / 86400000) + 1) / 7);
3573
- // 返回周数
3574
- return weekNo;
3575
- };
3576
-
3577
- const getRangeHours = function(ranges) {
3578
- const hours = [];
3579
- let disabledHours = [];
3580
-
3581
- (ranges || []).forEach(range => {
3582
- const value = range.map(date => date.getHours());
3583
-
3584
- disabledHours = disabledHours.concat(newArray(value[0], value[1]));
3585
- });
3586
-
3587
- if (disabledHours.length) {
3588
- for (let i = 0; i < 24; i++) {
3589
- hours[i] = disabledHours.indexOf(i) === -1;
3590
- }
3591
- } else {
3592
- for (let i = 0; i < 24; i++) {
3593
- hours[i] = false;
3594
- }
3595
- }
3596
-
3597
- return hours;
3598
- };
3599
-
3600
- const getPrevMonthLastDays = (date, amount) => {
3601
- if (amount <= 0) return [];
3602
- const temp = new Date(date.getTime());
3603
- temp.setDate(0);
3604
- const lastDay = temp.getDate();
3605
- return range(amount).map((_, index) => lastDay - (amount - index - 1));
3606
- };
3607
-
3608
- const getMonthDays = (date) => {
3609
- const temp = new Date(date.getFullYear(), date.getMonth() + 1, 0);
3610
- const days = temp.getDate();
3611
- return range(days).map((_, index) => index + 1);
3612
- };
3613
-
3614
- function setRangeData(arr, start, end, value) {
3615
- for (let i = start; i < end; i++) {
3616
- arr[i] = value;
3617
- }
3618
- }
3619
-
3620
- const getRangeMinutes = function(ranges, hour) {
3621
- const minutes = new Array(60);
3622
-
3623
- if (ranges.length > 0) {
3624
- ranges.forEach(range => {
3625
- const start = range[0];
3626
- const end = range[1];
3627
- const startHour = start.getHours();
3628
- const startMinute = start.getMinutes();
3629
- const endHour = end.getHours();
3630
- const endMinute = end.getMinutes();
3631
- if (startHour === hour && endHour !== hour) {
3632
- setRangeData(minutes, startMinute, 60, true);
3633
- } else if (startHour === hour && endHour === hour) {
3634
- setRangeData(minutes, startMinute, endMinute + 1, true);
3635
- } else if (startHour !== hour && endHour === hour) {
3636
- setRangeData(minutes, 0, endMinute + 1, true);
3637
- } else if (startHour < hour && endHour > hour) {
3638
- setRangeData(minutes, 0, 60, true);
3639
- }
3640
- });
3641
- } else {
3642
- setRangeData(minutes, 0, 60, true);
3643
- }
3644
- return minutes;
3645
- };
3646
-
3647
- const range = function(n) {
3648
- // see https://stackoverflow.com/questions/3746725/create-a-javascript-array-containing-1-n
3649
- return Array.apply(null, {length: n}).map((_, n) => n);
3650
- };
3651
-
3652
- const modifyDate = function(date, y, m, d) {
3653
- return new Date(y, m, d, date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds());
3654
- };
3655
-
3656
- const modifyTime = function(date, h, m, s) {
3657
- return new Date(date.getFullYear(), date.getMonth(), date.getDate(), h, m, s, date.getMilliseconds());
3658
- };
3659
-
3660
- const modifyWithTimeString = (date, time) => {
3661
- if (date == null || !time) {
3662
- return date;
3663
- }
3664
- time = parseDate(time, 'HH:mm:ss');
3665
- return modifyTime(date, time.getHours(), time.getMinutes(), time.getSeconds());
3666
- };
3667
-
3668
- const clearTime = function(date) {
3669
- return new Date(date.getFullYear(), date.getMonth(), date.getDate());
3670
- };
3671
-
3672
- const clearMilliseconds = function(date) {
3673
- return new Date(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), 0);
3674
- };
3675
-
3676
- const limitTimeRange = function(date, ranges, format = 'HH:mm:ss') {
3677
- // TODO: refactory a more elegant solution
3678
- if (ranges.length === 0) return date;
3679
- const normalizeDate = date => fecha.parse(fecha.format(date, format), format);
3680
- const ndate = normalizeDate(date);
3681
- const nranges = ranges.map(range => range.map(normalizeDate));
3682
- if (nranges.some(nrange => ndate >= nrange[0] && ndate <= nrange[1])) return date;
3683
-
3684
- let minDate = nranges[0][0];
3685
- let maxDate = nranges[0][0];
3686
-
3687
- nranges.forEach(nrange => {
3688
- minDate = new Date(Math.min(nrange[0], minDate));
3689
- maxDate = new Date(Math.max(nrange[1], minDate));
3690
- });
3691
-
3692
- const ret = ndate < minDate ? minDate : maxDate;
3693
- // preserve Year/Month/Date
3694
- return modifyDate(
3695
- ret,
3696
- date.getFullYear(),
3697
- date.getMonth(),
3698
- date.getDate()
3699
- );
3700
- };
3701
-
3702
- const timeWithinRange = function(date, selectableRange, format) {
3703
- const limitedDate = limitTimeRange(date, selectableRange, format);
3704
- return limitedDate.getTime() === date.getTime();
3705
- };
3706
-
3707
- const changeYearMonthAndClampDate = function(date, year, month) {
3708
- // clamp date to the number of days in `year`, `month`
3709
- // eg: (2010-1-31, 2010, 2) => 2010-2-28
3710
- const monthDate = Math.min(date.getDate(), getDayCountOfMonth(year, month));
3711
- return modifyDate(date, year, month, monthDate);
3712
- };
3713
-
3714
- const prevMonth = function(date) {
3715
- const year = date.getFullYear();
3716
- const month = date.getMonth();
3717
- return month === 0
3718
- ? changeYearMonthAndClampDate(date, year - 1, 11)
3719
- : changeYearMonthAndClampDate(date, year, month - 1);
3720
- };
3721
-
3722
- const nextMonth = function(date) {
3723
- const year = date.getFullYear();
3724
- const month = date.getMonth();
3725
- return month === 11
3726
- ? changeYearMonthAndClampDate(date, year + 1, 0)
3727
- : changeYearMonthAndClampDate(date, year, month + 1);
3728
- };
3729
-
3730
- const prevYear = function(date, amount = 1) {
3731
- const year = date.getFullYear();
3732
- const month = date.getMonth();
3733
- return changeYearMonthAndClampDate(date, year - amount, month);
3734
- };
3735
-
3736
- const nextYear = function(date, amount = 1) {
3737
- const year = date.getFullYear();
3738
- const month = date.getMonth();
3739
- return changeYearMonthAndClampDate(date, year + amount, month);
3740
- };
3741
-
3742
- const extractDateFormat = function(format) {
3743
- return format
3744
- .replace(/\W?m{1,2}|\W?ZZ/g, '')
3745
- .replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi, '')
3746
- .trim();
3747
- };
3748
-
3749
- const extractTimeFormat = function(format) {
3750
- return format
3751
- .replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?y{2,4}/g, '')
3752
- .trim();
3753
- };
3754
-
3755
- const validateRangeInOneMonth = function(start, end) {
3756
- return (start.getMonth() === end.getMonth()) && (start.getFullYear() === end.getFullYear());
3757
- };
3758
-
3759
- /**
3760
- * 计算两个日期之间的工作日数量(不包括周末和节假日)
3761
- * @param {string} start_date - 开始日期字符串,格式为 "YYYY-MM-DD"
3762
- * @param {string} end_date - 结束日期字符串,格式为 "YYYY-MM-DD"
3763
- * @param {Array<string>} holidays - 假期日期字符串数组,格式为 "YYYY-MM-DD"
3764
- * @returns {number} 工作日数量
3765
- */
3766
- const calculateNetworkDays = function (start_date, end_date, holidays = []) {
3767
- if (typeof start_date !== 'string' || typeof end_date !== 'string') {
3768
- throw new Error(
3769
- "Invalid input. Please provide valid date strings in the format 'YYYY-MM-DD'."
3770
- );
3771
- }
3772
-
3773
- const startDateObj = new Date(start_date);
3774
- const endDateObj = new Date(end_date);
3775
-
3776
- if (isNaN(startDateObj.getTime()) || isNaN(endDateObj.getTime())) {
3777
- throw new Error(
3778
- "Invalid date format. Please provide valid date strings in the format 'YYYY-MM-DD'."
3779
- );
3780
- }
3781
-
3782
- if (startDateObj > endDateObj) {
3783
- throw new Error('Start date should be earlier than or equal to end date.');
3784
- }
3785
-
3786
- let workdays = 0;
3787
-
3788
- // Iterate through each day in the date range
3789
- for (
3790
- let currentDate = new Date(startDateObj);
3791
- currentDate <= endDateObj;
3792
- currentDate.setDate(currentDate.getDate() + 1)
3793
- ) {
3794
- // Check if the current day is a weekend (Saturday or Sunday)
3795
- const isWeekend = currentDate.getDay() === 0 || currentDate.getDay() === 6;
3796
-
3797
- // Check if the current day is a holiday
3798
- const isHoliday = holidays.some((holiday) => {
3799
- const holidayDate = new Date(holiday);
3800
- return currentDate.toDateString() === holidayDate.toDateString();
3801
- });
3802
-
3803
- // If it's a workday (not a weekend or holiday), increment the workdays count
3804
- if (!isWeekend && !isHoliday) {
3805
- workdays++;
3806
- }
3807
- }
3808
-
3809
- return workdays;
3810
- };
3811
-
3812
- /**
3813
- * 日期加减天数
3814
- * @param {string} start_date - 起始日期字符串,格式为 "YYYY-MM-DD"
3815
- * @param {number} days - 要加上或减去的天数,正数表示加,负数表示减
3816
- * @returns {string} 结果日期,格式为 "YYYY-MM-DD"
3817
- */
3818
- const dateAddDays = function (start_date, days) {
3819
- if (typeof start_date !== 'string' || !Number.isInteger(days)) {
3820
- throw new Error(
3821
- "Invalid input. Please provide a valid date string in the format 'YYYY-MM-DD' and a valid integer for the number of days."
3822
- );
3823
- }
3824
-
3825
- const startDateObj = new Date(start_date);
3826
- if (isNaN(startDateObj.getTime())) {
3827
- throw new Error(
3828
- "Invalid date format. Please provide a valid date string in the format 'YYYY-MM-DD'."
3829
- );
3830
- }
3831
-
3832
- const resultDateObj = new Date(startDateObj);
3833
- resultDateObj.setDate(resultDateObj.getDate() + days);
3834
-
3835
- const resultYear = resultDateObj.getFullYear();
3836
- const resultMonth = String(resultDateObj.getMonth() + 1).padStart(2, '0');
3837
- const resultDay = String(resultDateObj.getDate()).padStart(2, '0');
3838
-
3839
- return `${resultYear}-${resultMonth}-${resultDay}`;
3840
- };
3841
-
3842
- /**
3843
- * 计算两个日期之间的差值
3844
- * @date 2023年12月14日
3845
- * @param {String} start_date - 起始日期字符串
3846
- * @param {String} end_date - 结束日期字符串
3847
- * @param {String} unit - 单位:year/month/day
3848
- * @returns {Number} 差值
3849
- */
3850
- const dateDiff = function (start_date, end_date, unit = 'day') {
3851
- // Assuming date strings are in "YYYY-MM-DD" format
3852
- var startDate = new Date(start_date);
3853
- var endDate = new Date(end_date);
3854
-
3855
- // If the date is invalid, return 0
3856
- if (isNaN(startDate.getTime()) || isNaN(endDate.getTime())) {
3857
- return 0;
3858
- }
3859
-
3860
- if (unit === 'year') {
3861
- return endDate.getFullYear() - startDate.getFullYear();
3862
- } else if (unit === 'month') {
3863
- return (
3864
- (endDate.getFullYear() - startDate.getFullYear()) * 12 +
3865
- (endDate.getMonth() - startDate.getMonth())
3866
- );
3867
- } else {
3868
- // Default to day
3869
- var timeDifference = endDate - startDate;
3870
- // Calculate days (86400000 milliseconds per day)
3871
- return Math.floor(timeDifference / 86400000);
3872
- }
3873
- };
3874
-
3875
- /**
3876
- * 获取月份中的日期
3877
- * @param {string} date - 日期字符串,格式为 "YYYY-MM-DD"
3878
- * @returns {number} 月份中的日期(1-31)
3879
- */
3880
- const dayOfMonth = function (date) {
3881
- if (typeof date !== 'string') {
3882
- throw new Error(
3883
- "Invalid input. Please provide a valid date string in the format 'YYYY-MM-DD'."
3884
- );
3885
- }
3886
-
3887
- const dateObj = new Date(date);
3888
- if (isNaN(dateObj.getTime())) {
3889
- throw new Error(
3890
- "Invalid date format. Please provide a valid date string in the format 'YYYY-MM-DD'."
3891
- );
3892
- }
3893
-
3894
- return dateObj.getDate();
3895
- };
3896
-
3897
- /**
3898
- * 获取当前日期
3899
- * @date 2022年5月7日
3900
- * @param {string} format - 日期格式,默认为'YYYY-MM-DD'
3901
- * @returns {string} 当前日期的格式化字符串
3902
- */
3903
- const getCurrentDate = function (format = 'YYYY-MM-DD') {
3904
- return formatDate(new Date(), format);
3905
- };
3906
-
3907
- /**
3908
- * 获取当前日期时间
3909
- * @date 2022年5月7日
3910
- * @param {string} format - 日期时间格式,默认为'YYYY-MM-DD HH:mm:ss'
3911
- * @returns {string} 当前日期时间的格式化字符串
3912
- */
3913
- const getCurrentDateTime = function (format = 'YYYY-MM-DD HH:mm:ss') {
3914
- return formatDate(new Date(), format);
3915
- };
3916
-
3917
- /**
3918
- * 获取小时
3919
- * @date 2022年5月7日
3920
- * @param {Date|string} [date] - 日期对象或日期字符串
3921
- * @returns {number} 小时数(0-23)
3922
- */
3923
- const getHour = function (date) {
3924
- if (!date) {
3925
- return new Date().getHours();
3926
- }
3927
- if (typeof date === 'string') {
3928
- date = new Date(date);
3929
- }
3930
- return date.getHours();
3931
- };
3932
-
3933
- /**
3934
- * 获取分钟
3935
- * @date 2022年5月7日
3936
- * @param {Date|string} [date] - 日期对象或日期字符串
3937
- * @returns {number} 分钟数(0-59)
3938
- */
3939
- const getMinute = function (date) {
3940
- if (!date) {
3941
- return new Date().getMinutes();
3942
- }
3943
- if (typeof date === 'string') {
3944
- date = new Date(date);
3945
- }
3946
- return date.getMinutes();
3947
- };
3948
-
3949
- /**
3950
- * 获取月份
3951
- * @date 2022年5月7日
3952
- * @param {Date|string} [date] - 日期对象或日期字符串
3953
- * @returns {number} 月份数(1-12)
3954
- */
3955
- const getMonth = function (date) {
3956
- if (!date) {
3957
- return new Date().getMonth() + 1;
3958
- }
3959
- if (typeof date === 'string') {
3960
- date = new Date(date);
3961
- }
3962
- return date.getMonth() + 1;
3963
- };
3964
-
3965
- /**
3966
- * 获取秒
3967
- * @date 2022年5月7日
3968
- * @param {Date|string} [date] - 日期对象或日期字符串
3969
- * @returns {number} 秒数(0-59)
3970
- */
3971
- const getSecond = function (date) {
3972
- if (!date) {
3973
- return new Date().getSeconds();
3974
- }
3975
- if (typeof date === 'string') {
3976
- date = new Date(date);
3977
- }
3978
- return date.getSeconds();
3979
- };
3980
-
3981
- /**
3982
- * 获取星期几
3983
- * @date 2022年5月7日
3984
- * @param {Date|string} [date] - 日期对象或日期字符串
3985
- * @returns {number} 星期几(0-6,0表示星期日)
3986
- */
3987
- const getWeekday = function (date) {
3988
- if (!date) {
3989
- return new Date().getDay();
3990
- }
3991
- if (typeof date === 'string') {
3992
- date = new Date(date);
3993
- }
3994
- return date.getDay();
3995
- };
3996
-
3997
-
3998
- /**
3999
- * @desc 获取上午/下午/晚上
4000
- * @author huangbo
4001
- * @date 2022年5月7日
4002
- * @param {String} [time] - 时间
4003
- **/
4004
- const timeCycle = function (time) {
4005
- let hour = 0;
4006
- if (!time) {
4007
- hour = new Date().getHours();
4008
- } else if (typeof time === 'string') {
4009
- // 从时间字符串中提取小时
4010
- const match = time.match(/^(\d{1,2})/);
4011
- if (match) {
4012
- hour = parseInt(match[1], 10);
4013
- }
4014
- } else if (typeof time === 'number') {
4015
- hour = time;
4016
- }
4017
- // 判断时间段
4018
- if (hour >= 5 && hour < 12) {
4019
- return '上午';
4020
- } else if (hour >= 12 && hour < 18) {
4021
- return '下午';
4022
- } else {
4023
- return '晚上';
4024
- }
3043
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return setStorage; });
3044
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getStorage; });
3045
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return removeStorage; });
3046
+ /* unused harmony export setCookie */
3047
+ /* unused harmony export getCookie */
3048
+ var _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; };
3049
+
3050
+ /**
3051
+ * setStorage
3052
+ * @desc:设置本地储存数据
3053
+ * @author huangbo
3054
+ * @date 2022年5月7日
3055
+ * @param {String|Object} [key] - 数据的名称或包含type、key、value的对象
3056
+ * @param {String} [value] - 数据的值(当第一个参数为字符串时使用)
3057
+ **/
3058
+ var setStorage = function setStorage(key, value) {
3059
+ // 解析参数,支持两种调用方式:setStorage(key, value) 和 setStorage({type, key, value})
3060
+ var type = void 0,
3061
+ finalKey = void 0,
3062
+ finalValue = void 0;
3063
+
3064
+ if ((typeof key === 'undefined' ? 'undefined' : _typeof(key)) === 'object' && key !== null) {
3065
+ // 对象调用方式:setStorage({type, key, value})
3066
+ type = key.type;
3067
+ finalKey = key.key;
3068
+ finalValue = key.value;
3069
+ } else {
3070
+ // 字符串调用方式:setStorage(key, value)
3071
+ type = getStorage('storageType');
3072
+ finalKey = key;
3073
+ finalValue = value;
3074
+ }
3075
+
3076
+ // 使用默认存储类型如果未指定
3077
+ type = type || getStorage('storageType');
3078
+
3079
+ // 获取存储对象
3080
+ var storage = type === 'localStorage' ? localStorage : sessionStorage;
3081
+
3082
+ // 处理不同类型的key
3083
+ if (typeof finalKey === 'string') {
3084
+ // 单个字符串key
3085
+ var storedValue = (typeof finalValue === 'undefined' ? 'undefined' : _typeof(finalValue)) === 'object' ? JSON.stringify(finalValue) : finalValue;
3086
+ storage.setItem(finalKey, storedValue);
3087
+ if (finalKey === 'token') {
3088
+ setCookie('token', storedValue);
3089
+ }
3090
+ } else if (Array.isArray(finalKey)) {
3091
+ // 数组key,为多个key设置同一个value
3092
+ var _storedValue = (typeof finalValue === 'undefined' ? 'undefined' : _typeof(finalValue)) === 'object' ? JSON.stringify(finalValue) : finalValue;
3093
+ for (var i = 0; i < finalKey.length; i++) {
3094
+ storage.setItem(finalKey[i], _storedValue);
3095
+ if (finalKey[i] === 'token') {
3096
+ setCookie('token', _storedValue);
3097
+ }
3098
+ }
3099
+ } else if ((typeof finalKey === 'undefined' ? 'undefined' : _typeof(finalKey)) === 'object' && finalKey !== null) {
3100
+ // 对象key,对象的属性名称作为key,属性值作为value
3101
+ for (var k in finalKey) {
3102
+ if (Object.prototype.hasOwnProperty.call(finalKey, k)) {
3103
+ var _storedValue2 = _typeof(finalKey[k]) === 'object' ? JSON.stringify(finalKey[k]) : finalKey[k];
3104
+ storage.setItem(k, _storedValue2);
3105
+ if (k === 'token') {
3106
+ setCookie('token', _storedValue2);
3107
+ }
3108
+ }
3109
+ }
3110
+ }
3111
+ };
3112
+
3113
+ /**
3114
+ * getStorage
3115
+ * @desc:获取本地储存数据
3116
+ * @author huangbo
3117
+ * @date 2022年5月7日
3118
+ * @param {String} [key] - 获取的名称
3119
+ **/
3120
+ var getStorage = function getStorage(key) {
3121
+ if (key) {
3122
+ var res = sessionStorage.getItem(key) || localStorage.getItem(key);
3123
+ if (!res && key === 'token') {
3124
+ res = getCookie('token');
3125
+ }
3126
+ if (key === 'host' && !res) {
3127
+ res = '';
3128
+ }
3129
+ return res;
3130
+ }
3131
+ var defaults = {};
3132
+ var token = sessionStorage.getItem('token') || localStorage.getItem('token') || getCookie('token');
3133
+ var ssId = sessionStorage.getItem('ssId') || localStorage.getItem('ssId') || getCookie('ssId');
3134
+
3135
+ var deviceUnique = sessionStorage.getItem('deviceUnique') || localStorage.getItem('deviceUnique') || getCookie('deviceUnique');
3136
+ if (token) {
3137
+ defaults.Authorization = token;
3138
+ }
3139
+ if (ssId) {
3140
+ defaults.ssId = ssId;
3141
+ }
3142
+ if (deviceUnique) {
3143
+ defaults.deviceUnique = deviceUnique;
3144
+ }
3145
+ return defaults;
3146
+ };
3147
+
3148
+ /**
3149
+ * removeStorage
3150
+ * @desc:删除本地储存数据
3151
+ * @author huangbo
3152
+ * @date 2022年5月7日
3153
+ * @param {String, Array} [key] - 获取的名称
3154
+ **/
3155
+ var removeStorage = function removeStorage(key) {
3156
+ if (Array.isArray(key)) {
3157
+ for (var i = 0; i < key.length; i++) {
3158
+ sessionStorage.removeItem(key[i]);
3159
+ localStorage.removeItem(key[i]);
3160
+ if (key[i] === 'token') {
3161
+ removeCookie('token');
3162
+ }
3163
+ }
3164
+ } else if (key) {
3165
+ sessionStorage.removeItem(key);
3166
+ localStorage.removeItem(key);
3167
+ if (key === 'token') {
3168
+ removeCookie('token');
3169
+ }
3170
+ } else {
3171
+ sessionStorage.clear();
3172
+ localStorage.clear();
3173
+ removeCookie('token');
3174
+ }
3175
+ };
3176
+
3177
+ /**
3178
+ * setCookie
3179
+ * @desc 设置cookie
3180
+ * @author huangbo
3181
+ * @param {string} [name] cookie名称
3182
+ * @param {string} [value] cookie值
3183
+ * @param {boolean} [isSession] 是否是会话cookie
3184
+ **/
3185
+ var setCookie = function setCookie(name, value) {
3186
+ var isSession = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
3187
+ var time = arguments[3];
3188
+
3189
+ try {
3190
+ var cookieParts = [encodeURIComponent(name) + '=' + encodeURIComponent(value), 'path=/' // 仅保留path设置,确保全站访问
3191
+ ];
3192
+ // 会话/持久Cookie设置
3193
+ if (!isSession) {
3194
+ if (/MSIE|Trident/.test(navigator.userAgent)) {
3195
+ // IE使用expires
3196
+ var date = new Date();
3197
+ date.setTime(date.getTime() + (time || 7 * 24 * 60 * 60 * 1000));
3198
+ cookieParts.push('expires=' + date.toUTCString());
3199
+ } else {
3200
+ // 其他浏览器使用max-age
3201
+ cookieParts.push('max-age=' + (time || 7 * 24 * 60 * 60));
3202
+ }
3203
+ }
3204
+ // 内核兼容处理
3205
+ if (/MSIE|Trident/.test(navigator.userAgent)) {
3206
+ // IE特殊处理:添加P3P协议头
3207
+ cookieParts.push('P3P=CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"');
3208
+ } else {
3209
+ // 现代浏览器设置
3210
+ cookieParts.push('samesite=lax');
3211
+ if (window.location.protocol === 'https:') {
3212
+ cookieParts.push('secure');
3213
+ }
3214
+ }
3215
+
3216
+ // 设置Cookie
3217
+ document.cookie = cookieParts.join('; ');
3218
+ return true;
3219
+ } catch (e) {
3220
+ console.error('Cookie设置失败:', e);
3221
+ return false;
3222
+ }
3223
+ };
3224
+
3225
+ /**
3226
+ * getCookie
3227
+ * @desc 获取cookie中指定名称的值
3228
+ * @author huangbo
3229
+ * @param {string} [name] cookie名称
3230
+ **/
3231
+ var getCookie = function getCookie(name) {
3232
+ var cookies = document.cookie.split(';');
3233
+ for (var _iterator = cookies, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
3234
+ var _ref;
3235
+
3236
+ if (_isArray) {
3237
+ if (_i >= _iterator.length) break;
3238
+ _ref = _iterator[_i++];
3239
+ } else {
3240
+ _i = _iterator.next();
3241
+ if (_i.done) break;
3242
+ _ref = _i.value;
3243
+ }
3244
+
3245
+ var cookie = _ref;
3246
+
3247
+ var _cookie$trim$split = cookie.trim().split('='),
3248
+ cookieName = _cookie$trim$split[0],
3249
+ cookieValue = _cookie$trim$split[1];
3250
+
3251
+ if (decodeURIComponent(cookieName) === name) {
3252
+ return decodeURIComponent(cookieValue);
3253
+ }
3254
+ }
3255
+ return null;
3256
+ };
3257
+
3258
+ /**
3259
+ * removeCookie
3260
+ * @desc:删除cookie
3261
+ * @author huangbo
3262
+ * @date 2022年5月7日
3263
+ * @param {String, Array} [key] - 获取的名称
3264
+ **/
3265
+ var removeCookie = function removeCookie(key) {
3266
+ if (Array.isArray(key)) {
3267
+ for (var i = 0; i < key.length; i++) {
3268
+ document.cookie = encodeURIComponent(key[i]) + '=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';
3269
+ }
3270
+ } else {
3271
+ document.cookie = encodeURIComponent(key) + '=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';
3272
+ }
4025
3273
  };
4026
3274
 
4027
3275
  /***/ }),
@@ -4096,7 +3344,7 @@ var getColor = function getColor($color, $n) {
4096
3344
  var getLightness = function getLightness($v, $i, $isLight) {
4097
3345
  var $value = $isLight ? $v + $brightnessStep1 * $i : $v - $brightnessStep2 * $i;
4098
3346
  $value = $value < 1 ? $value : 1;
4099
- return Object(_util__WEBPACK_IMPORTED_MODULE_0__[/* toFixed */ "V"])($value, 2);
3347
+ return Object(_util__WEBPACK_IMPORTED_MODULE_0__[/* toFixed */ "U"])($value, 2);
4100
3348
  };
4101
3349
 
4102
3350
  /**
@@ -4120,7 +3368,7 @@ var getSaturation = function getSaturation($s, $i, $isLight) {
4120
3368
  $saturation = 0.1;
4121
3369
  }
4122
3370
  $saturation = $saturation > 0.06 ? $saturation : 0.06;
4123
- return Object(_util__WEBPACK_IMPORTED_MODULE_0__[/* toFixed */ "V"])($saturation, 2);
3371
+ return Object(_util__WEBPACK_IMPORTED_MODULE_0__[/* toFixed */ "U"])($saturation, 2);
4124
3372
  };
4125
3373
 
4126
3374
  /**
@@ -4234,7 +3482,14 @@ var getRgb = function getRgb($color) {
4234
3482
 
4235
3483
  /***/ }),
4236
3484
 
4237
- /***/ 162:
3485
+ /***/ 17:
3486
+ /***/ (function(module, exports) {
3487
+
3488
+ module.exports = require("eoss/lib/loading");
3489
+
3490
+ /***/ }),
3491
+
3492
+ /***/ 173:
4238
3493
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4239
3494
 
4240
3495
  "use strict";
@@ -4845,7 +4100,7 @@ var util = __webpack_require__(0);
4845
4100
 
4846
4101
  this.loading = true;
4847
4102
  Object(ajax["a" /* ajax */])({
4848
- url: id ? api["p" /* editCommonOpion */] : api["a" /* addCommonOpion */],
4103
+ url: id ? api["w" /* editCommonOpion */] : api["a" /* addCommonOpion */],
4849
4104
  params: { id: id }
4850
4105
  }).then(function (res) {
4851
4106
  var status = res.status,
@@ -5012,7 +4267,7 @@ opinions_listvue_type_template_id_f78ad058_scoped_true_render._withStripped = tr
5012
4267
  type: 'primary',
5013
4268
  event: function event() {
5014
4269
  _this.getValue();
5015
- _this.action = api["sb" /* saveCommonOpinion */];
4270
+ _this.action = api["Xb" /* saveCommonOpinion */];
5016
4271
  _this.visible = true;
5017
4272
  }
5018
4273
  }]
@@ -5032,7 +4287,7 @@ opinions_listvue_type_template_id_f78ad058_scoped_true_render._withStripped = tr
5032
4287
  events: [{
5033
4288
  text: '编辑',
5034
4289
  event: function event(data) {
5035
- _this.action = api["dc" /* updateCommonOpinion */];
4290
+ _this.action = api["Kc" /* updateCommonOpinion */];
5036
4291
  _this.formData = data;
5037
4292
  _this.visible = true;
5038
4293
  }
@@ -5044,7 +4299,7 @@ opinions_listvue_type_template_id_f78ad058_scoped_true_render._withStripped = tr
5044
4299
  }]
5045
4300
  }],
5046
4301
  visible: false,
5047
- action: api["sb" /* saveCommonOpinion */],
4302
+ action: api["Xb" /* saveCommonOpinion */],
5048
4303
  formContents: [{
5049
4304
  label: '排序号',
5050
4305
  name: 'sort',
@@ -5087,7 +4342,7 @@ opinions_listvue_type_template_id_f78ad058_scoped_true_render._withStripped = tr
5087
4342
  cancelButtonText: '取消',
5088
4343
  type: 'warning'
5089
4344
  }).then(function () {
5090
- _this2.loading = Object(util["L" /* loading */])('删除中');
4345
+ _this2.loading = Object(util["K" /* loading */])('删除中');
5091
4346
  Object(ajax["a" /* ajax */])({
5092
4347
  url: deleteCommonOpion,
5093
4348
  params: {
@@ -5197,7 +4452,7 @@ var opinions_list_component = Object(componentNormalizer["a" /* default */])(
5197
4452
 
5198
4453
  /* harmony default export */ var opinions_list = (opinions_list_component.exports);
5199
4454
  // EXTERNAL MODULE: ./src/utils/storage.js
5200
- var storage = __webpack_require__(2);
4455
+ var storage = __webpack_require__(1);
5201
4456
 
5202
4457
  // EXTERNAL MODULE: ./src/utils/color.js
5203
4458
  var color = __webpack_require__(12);
@@ -5698,7 +4953,7 @@ var opinions_file_component = Object(componentNormalizer["a" /* default */])(
5698
4953
 
5699
4954
  var val = command.content;
5700
4955
  Object(ajax["a" /* ajax */])({
5701
- url: api["v" /* findSysParam */],
4956
+ url: api["C" /* findSysParam */],
5702
4957
  params: { cpName: 'commonOpinionsSelectType' }
5703
4958
  }).then(function (res) {
5704
4959
  if (res.status == 'success') {
@@ -5751,7 +5006,7 @@ var opinions_file_component = Object(componentNormalizer["a" /* default */])(
5751
5006
  var _this4 = this;
5752
5007
 
5753
5008
  Object(ajax["a" /* ajax */])({
5754
- url: api["f" /* commonOpion */],
5009
+ url: api["j" /* commonOpion */],
5755
5010
  params: {
5756
5011
  userId: Object(storage["a" /* getStorage */])('userId')
5757
5012
  },
@@ -5799,9 +5054,9 @@ var opinions_file_component = Object(componentNormalizer["a" /* default */])(
5799
5054
  for (var key in data) {
5800
5055
  info['bean.' + key] = data[key];
5801
5056
  }
5802
- this.loading = Object(util["L" /* loading */])('提交中');
5057
+ this.loading = Object(util["K" /* loading */])('提交中');
5803
5058
  Object(ajax["a" /* ajax */])({
5804
- url: data.id ? api["dc" /* updateCommonOpinion */] : api["sb" /* saveCommonOpinion */],
5059
+ url: data.id ? api["Kc" /* updateCommonOpinion */] : api["Xb" /* saveCommonOpinion */],
5805
5060
  data: info,
5806
5061
  header: { 'Content-Type': 'multipart/form-data' },
5807
5062
  method: 'post'
@@ -6898,7 +6153,7 @@ var flowvue_type_script_lang_js_extends = Object.assign || function (target) { f
6898
6153
  pendingId: this.pendingId,
6899
6154
  businessId: this.businessIds
6900
6155
  };
6901
- Object(ajax["a" /* ajax */])({ url: api["I" /* getNodeInfo */], params: params }).then(function (res) {
6156
+ Object(ajax["a" /* ajax */])({ url: api["P" /* getNodeInfo */], params: params }).then(function (res) {
6902
6157
  var status = res.status,
6903
6158
  message = res.message,
6904
6159
  data = res.data;
@@ -7020,250 +6275,1002 @@ flow.install = function (Vue) {
7020
6275
  };
7021
6276
 
7022
6277
  /* harmony default export */ var flows = __webpack_exports__["default"] = (flow);
7023
-
7024
- /***/ }),
7025
-
7026
- /***/ 18:
7027
- /***/ (function(module, exports) {
7028
-
7029
- module.exports = require("eoss/lib/loading");
7030
-
7031
- /***/ }),
7032
-
7033
- /***/ 2:
7034
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7035
-
7036
- "use strict";
7037
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return setStorage; });
7038
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getStorage; });
7039
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return removeStorage; });
7040
- /* unused harmony export setCookie */
7041
- /* unused harmony export getCookie */
7042
- var _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; };
7043
-
7044
- /**
7045
- * setStorage
7046
- * @desc:设置本地储存数据
7047
- * @author huangbo
7048
- * @date 2022年5月7日
7049
- * @param {String|Object} [key] - 数据的名称或包含type、key、value的对象
7050
- * @param {String} [value] - 数据的值(当第一个参数为字符串时使用)
7051
- **/
7052
- var setStorage = function setStorage(key, value) {
7053
- // 解析参数,支持两种调用方式:setStorage(key, value) 和 setStorage({type, key, value})
7054
- var type = void 0,
7055
- finalKey = void 0,
7056
- finalValue = void 0;
7057
-
7058
- if ((typeof key === 'undefined' ? 'undefined' : _typeof(key)) === 'object' && key !== null) {
7059
- // 对象调用方式:setStorage({type, key, value})
7060
- type = key.type;
7061
- finalKey = key.key;
7062
- finalValue = key.value;
7063
- } else {
7064
- // 字符串调用方式:setStorage(key, value)
7065
- type = getStorage('storageType');
7066
- finalKey = key;
7067
- finalValue = value;
7068
- }
7069
-
7070
- // 使用默认存储类型如果未指定
7071
- type = type || getStorage('storageType');
7072
-
7073
- // 获取存储对象
7074
- var storage = type === 'localStorage' ? localStorage : sessionStorage;
7075
-
7076
- // 处理不同类型的key
7077
- if (typeof finalKey === 'string') {
7078
- // 单个字符串key
7079
- var storedValue = (typeof finalValue === 'undefined' ? 'undefined' : _typeof(finalValue)) === 'object' ? JSON.stringify(finalValue) : finalValue;
7080
- storage.setItem(finalKey, storedValue);
7081
- if (finalKey === 'token') {
7082
- setCookie('token', storedValue);
7083
- }
7084
- } else if (Array.isArray(finalKey)) {
7085
- // 数组key,为多个key设置同一个value
7086
- var _storedValue = (typeof finalValue === 'undefined' ? 'undefined' : _typeof(finalValue)) === 'object' ? JSON.stringify(finalValue) : finalValue;
7087
- for (var i = 0; i < finalKey.length; i++) {
7088
- storage.setItem(finalKey[i], _storedValue);
7089
- if (finalKey[i] === 'token') {
7090
- setCookie('token', _storedValue);
7091
- }
7092
- }
7093
- } else if ((typeof finalKey === 'undefined' ? 'undefined' : _typeof(finalKey)) === 'object' && finalKey !== null) {
7094
- // 对象key,对象的属性名称作为key,属性值作为value
7095
- for (var k in finalKey) {
7096
- if (Object.prototype.hasOwnProperty.call(finalKey, k)) {
7097
- var _storedValue2 = _typeof(finalKey[k]) === 'object' ? JSON.stringify(finalKey[k]) : finalKey[k];
7098
- storage.setItem(k, _storedValue2);
7099
- if (k === 'token') {
7100
- setCookie('token', _storedValue2);
7101
- }
7102
- }
7103
- }
7104
- }
7105
- };
7106
-
7107
- /**
7108
- * getStorage
7109
- * @desc:获取本地储存数据
7110
- * @author huangbo
7111
- * @date 2022年5月7日
7112
- * @param {String} [key] - 获取的名称
7113
- **/
7114
- var getStorage = function getStorage(key) {
7115
- if (key) {
7116
- var res = sessionStorage.getItem(key) || localStorage.getItem(key);
7117
- if (!res && key === 'token') {
7118
- res = getCookie('token');
7119
- }
7120
- if (key === 'host' && !res) {
7121
- res = '';
7122
- }
7123
- return res;
7124
- }
7125
- var defaults = {};
7126
- var token = sessionStorage.getItem('token') || localStorage.getItem('token') || getCookie('token');
7127
- var ssId = sessionStorage.getItem('ssId') || localStorage.getItem('ssId') || getCookie('ssId');
7128
-
7129
- var deviceUnique = sessionStorage.getItem('deviceUnique') || localStorage.getItem('deviceUnique') || getCookie('deviceUnique');
7130
- if (token) {
7131
- defaults.Authorization = token;
7132
- }
7133
- if (ssId) {
7134
- defaults.ssId = ssId;
7135
- }
7136
- if (deviceUnique) {
7137
- defaults.deviceUnique = deviceUnique;
7138
- }
7139
- return defaults;
7140
- };
7141
-
7142
- /**
7143
- * removeStorage
7144
- * @desc:删除本地储存数据
7145
- * @author huangbo
7146
- * @date 2022年5月7日
7147
- * @param {String, Array} [key] - 获取的名称
7148
- **/
7149
- var removeStorage = function removeStorage(key) {
7150
- if (Array.isArray(key)) {
7151
- for (var i = 0; i < key.length; i++) {
7152
- sessionStorage.removeItem(key[i]);
7153
- localStorage.removeItem(key[i]);
7154
- if (key[i] === 'token') {
7155
- removeCookie('token');
7156
- }
7157
- }
7158
- } else if (key) {
7159
- sessionStorage.removeItem(key);
7160
- localStorage.removeItem(key);
7161
- if (key === 'token') {
7162
- removeCookie('token');
7163
- }
7164
- } else {
7165
- sessionStorage.clear();
7166
- localStorage.clear();
7167
- removeCookie('token');
7168
- }
7169
- };
7170
-
7171
- /**
7172
- * setCookie
7173
- * @desc 设置cookie
7174
- * @author huangbo
7175
- * @param {string} [name] cookie名称
7176
- * @param {string} [value] cookie值
7177
- * @param {boolean} [isSession] 是否是会话cookie
7178
- **/
7179
- var setCookie = function setCookie(name, value) {
7180
- var isSession = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
7181
- var time = arguments[3];
7182
-
7183
- try {
7184
- var cookieParts = [encodeURIComponent(name) + '=' + encodeURIComponent(value), 'path=/' // 仅保留path设置,确保全站访问
7185
- ];
7186
- // 会话/持久Cookie设置
7187
- if (!isSession) {
7188
- if (/MSIE|Trident/.test(navigator.userAgent)) {
7189
- // IE使用expires
7190
- var date = new Date();
7191
- date.setTime(date.getTime() + (time || 7 * 24 * 60 * 60 * 1000));
7192
- cookieParts.push('expires=' + date.toUTCString());
7193
- } else {
7194
- // 其他浏览器使用max-age
7195
- cookieParts.push('max-age=' + (time || 7 * 24 * 60 * 60));
7196
- }
7197
- }
7198
- // 内核兼容处理
7199
- if (/MSIE|Trident/.test(navigator.userAgent)) {
7200
- // IE特殊处理:添加P3P协议头
7201
- cookieParts.push('P3P=CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"');
7202
- } else {
7203
- // 现代浏览器设置
7204
- cookieParts.push('samesite=lax');
7205
- if (window.location.protocol === 'https:') {
7206
- cookieParts.push('secure');
7207
- }
7208
- }
7209
-
7210
- // 设置Cookie
7211
- document.cookie = cookieParts.join('; ');
7212
- return true;
7213
- } catch (e) {
7214
- console.error('Cookie设置失败:', e);
7215
- return false;
7216
- }
7217
- };
7218
-
7219
- /**
7220
- * getCookie
7221
- * @desc 获取cookie中指定名称的值
7222
- * @author huangbo
7223
- * @param {string} [name] cookie名称
7224
- **/
7225
- var getCookie = function getCookie(name) {
7226
- var cookies = document.cookie.split(';');
7227
- for (var _iterator = cookies, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
7228
- var _ref;
7229
-
7230
- if (_isArray) {
7231
- if (_i >= _iterator.length) break;
7232
- _ref = _iterator[_i++];
7233
- } else {
7234
- _i = _iterator.next();
7235
- if (_i.done) break;
7236
- _ref = _i.value;
7237
- }
7238
-
7239
- var cookie = _ref;
7240
-
7241
- var _cookie$trim$split = cookie.trim().split('='),
7242
- cookieName = _cookie$trim$split[0],
7243
- cookieValue = _cookie$trim$split[1];
7244
-
7245
- if (decodeURIComponent(cookieName) === name) {
7246
- return decodeURIComponent(cookieValue);
7247
- }
7248
- }
7249
- return null;
7250
- };
7251
-
7252
- /**
7253
- * removeCookie
7254
- * @desc:删除cookie
7255
- * @author huangbo
7256
- * @date 2022年5月7日
7257
- * @param {String, Array} [key] - 获取的名称
7258
- **/
7259
- var removeCookie = function removeCookie(key) {
7260
- if (Array.isArray(key)) {
7261
- for (var i = 0; i < key.length; i++) {
7262
- document.cookie = encodeURIComponent(key[i]) + '=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';
7263
- }
7264
- } else {
7265
- document.cookie = encodeURIComponent(key) + '=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';
7266
- }
6278
+
6279
+ /***/ }),
6280
+
6281
+ /***/ 19:
6282
+ /***/ (function(module, exports) {
6283
+
6284
+ module.exports = require("lodash/get");
6285
+
6286
+ /***/ }),
6287
+
6288
+ /***/ 2:
6289
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6290
+
6291
+ "use strict";
6292
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return fecha; });
6293
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return getSettings; });
6294
+ /* unused harmony export toDate */
6295
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return isDate; });
6296
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return isDateObject; });
6297
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return formatDate; });
6298
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return parseDate; });
6299
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getDayCountOfMonth; });
6300
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return getDayCountOfYear; });
6301
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return getFirstDayOfMonth; });
6302
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return prevDate; });
6303
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return nextDate; });
6304
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return getStartDateOfMonth; });
6305
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return getWeekNumber; });
6306
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return getRangeHours; });
6307
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return getPrevMonthLastDays; });
6308
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return getMonthDays; });
6309
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return getRangeMinutes; });
6310
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return range; });
6311
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return modifyDate; });
6312
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return modifyTime; });
6313
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return modifyWithTimeString; });
6314
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return clearTime; });
6315
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return clearMilliseconds; });
6316
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return limitTimeRange; });
6317
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return timeWithinRange; });
6318
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return changeYearMonthAndClampDate; });
6319
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return prevMonth; });
6320
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return nextMonth; });
6321
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return prevYear; });
6322
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return nextYear; });
6323
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return extractDateFormat; });
6324
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return extractTimeFormat; });
6325
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return validateRangeInOneMonth; });
6326
+ /* unused harmony export calculateNetworkDays */
6327
+ /* unused harmony export dateAddDays */
6328
+ /* unused harmony export dateDiff */
6329
+ /* unused harmony export dayOfMonth */
6330
+ /* unused harmony export getCurrentDate */
6331
+ /* unused harmony export getCurrentDateTime */
6332
+ /* unused harmony export getHour */
6333
+ /* unused harmony export getMinute */
6334
+ /* unused harmony export getMonth */
6335
+ /* unused harmony export getSecond */
6336
+ /* unused harmony export getWeekday */
6337
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return timeCycle; });
6338
+ /* Modified from https://github.com/taylorhakes/fecha
6339
+ *
6340
+ * The MIT License (MIT)
6341
+ *
6342
+ * Copyright (c) 2015 Taylor Hakes
6343
+ *
6344
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
6345
+ * of this software and associated documentation files (the "Software"), to deal
6346
+ * in the Software without restriction, including without limitation the rights
6347
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6348
+ * copies of the Software, and to permit persons to whom the Software is
6349
+ * furnished to do so, subject to the following conditions:
6350
+ *
6351
+ * The above copyright notice and this permission notice shall be included in all
6352
+ * copies or substantial portions of the Software.
6353
+ *
6354
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6355
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
6356
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
6357
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
6358
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
6359
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
6360
+ * SOFTWARE.
6361
+ */
6362
+
6363
+ /*eslint-disable*/
6364
+ // 把 YYYY-MM-DD 改成了 yyyy-MM-dd
6365
+
6366
+
6367
+ /**
6368
+ * Parse or format dates
6369
+ * @class fecha
6370
+ */
6371
+ const fecha = {};
6372
+ const token = /d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g;
6373
+ const twoDigits = '\\d\\d?';
6374
+ const threeDigits = '\\d{3}';
6375
+ const fourDigits = '\\d{4}';
6376
+ const word = '[^\\s]+';
6377
+ const literal = /\[([^]*?)\]/gm;
6378
+ const noop = function () {};
6379
+
6380
+ function regexEscape(str) {
6381
+ return str.replace(/[|\\{()[^$+*?.-]/g, '\\$&');
6382
+ }
6383
+
6384
+ function shorten(arr, sLen) {
6385
+ const newArr = [];
6386
+ for (let i = 0, len = arr.length; i < len; i++) {
6387
+ newArr.push(arr[i].substr(0, sLen));
6388
+ }
6389
+ return newArr;
6390
+ }
6391
+
6392
+ function monthUpdate() {
6393
+ return function (d, v) {
6394
+ const index = ['january', 'february', 'march', 'april', 'may', 'june', 'july', 'august', 'september', 'october', 'november', 'december'].indexOf(v.toLowerCase());
6395
+ if (~index) {
6396
+ d.month = index;
6397
+ }
6398
+ };
6399
+ }
6400
+
6401
+ function pad(val, len) {
6402
+ val = String(val);
6403
+ len = len || 2;
6404
+ while (val.length < len) {
6405
+ val = '0' + val;
6406
+ }
6407
+ return val;
6408
+ }
6409
+
6410
+ // 直接使用中文日期名称常量
6411
+ const dayNames = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'];
6412
+ const monthNames = ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'];
6413
+ const monthNamesShort = ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'];
6414
+ const dayNamesShort = ['日', '一', '二', '三', '四', '五', '六'];
6415
+ const amPm = ['上午', '下午'];
6416
+ const DoFn = function DoFn(D) {
6417
+ return D + '日';
6418
+ };
6419
+
6420
+ const formatFlags = {
6421
+ D: function(dateObj) {
6422
+ return dateObj.getDay();
6423
+ },
6424
+ DD: function(dateObj) {
6425
+ return pad(dateObj.getDay());
6426
+ },
6427
+ Do: function(dateObj) {
6428
+ return DoFn(dateObj.getDate());
6429
+ },
6430
+ d: function(dateObj) {
6431
+ return dateObj.getDate();
6432
+ },
6433
+ dd: function(dateObj) {
6434
+ return pad(dateObj.getDate());
6435
+ },
6436
+ ddd: function(dateObj) {
6437
+ return dayNamesShort[dateObj.getDay()];
6438
+ },
6439
+ dddd: function(dateObj) {
6440
+ return dayNames[dateObj.getDay()];
6441
+ },
6442
+ M: function(dateObj) {
6443
+ return dateObj.getMonth() + 1;
6444
+ },
6445
+ MM: function(dateObj) {
6446
+ return pad(dateObj.getMonth() + 1);
6447
+ },
6448
+ MMM: function(dateObj) {
6449
+ return monthNamesShort[dateObj.getMonth()];
6450
+ },
6451
+ MMMM: function(dateObj) {
6452
+ return monthNames[dateObj.getMonth()];
6453
+ },
6454
+ yy: function(dateObj) {
6455
+ return pad(String(dateObj.getFullYear()), 4).substr(2);
6456
+ },
6457
+ yyyy: function(dateObj) {
6458
+ return pad(dateObj.getFullYear(), 4);
6459
+ },
6460
+ h: function(dateObj) {
6461
+ return dateObj.getHours() % 12 || 12;
6462
+ },
6463
+ hh: function(dateObj) {
6464
+ return pad(dateObj.getHours() % 12 || 12);
6465
+ },
6466
+ H: function(dateObj) {
6467
+ return dateObj.getHours();
6468
+ },
6469
+ HH: function(dateObj) {
6470
+ return pad(dateObj.getHours());
6471
+ },
6472
+ m: function(dateObj) {
6473
+ return dateObj.getMinutes();
6474
+ },
6475
+ mm: function(dateObj) {
6476
+ return pad(dateObj.getMinutes());
6477
+ },
6478
+ s: function(dateObj) {
6479
+ return dateObj.getSeconds();
6480
+ },
6481
+ ss: function(dateObj) {
6482
+ return pad(dateObj.getSeconds());
6483
+ },
6484
+ S: function(dateObj) {
6485
+ return Math.round(dateObj.getMilliseconds() / 100);
6486
+ },
6487
+ SS: function(dateObj) {
6488
+ return pad(Math.round(dateObj.getMilliseconds() / 10), 2);
6489
+ },
6490
+ SSS: function(dateObj) {
6491
+ return pad(dateObj.getMilliseconds(), 3);
6492
+ },
6493
+ a: function(dateObj) {
6494
+ return dateObj.getHours() < 12 ? '上午' : '下午';
6495
+ },
6496
+ A: function(dateObj) {
6497
+ return dateObj.getHours() < 12 ? '上午' : '下午';
6498
+ },
6499
+ ZZ: function(dateObj) {
6500
+ const o = dateObj.getTimezoneOffset();
6501
+ return (o > 0 ? '-' : '+') + pad(Math.floor(Math.abs(o) / 60) * 100 + Math.abs(o) % 60, 4);
6502
+ }
6503
+ };
6504
+
6505
+ const parseFlags = {
6506
+ d: [twoDigits, function (d, v) {
6507
+ d.day = v;
6508
+ }],
6509
+ Do: [twoDigits + word, function (d, v) {
6510
+ d.day = parseInt(v, 10);
6511
+ }],
6512
+ M: [twoDigits, function (d, v) {
6513
+ d.month = v - 1;
6514
+ }],
6515
+ yy: [twoDigits, function (d, v) {
6516
+ const da = new Date(), cent = +('' + da.getFullYear()).substr(0, 2);
6517
+ d.year = '' + (v > 68 ? cent - 1 : cent) + v;
6518
+ }],
6519
+ h: [twoDigits, function (d, v) {
6520
+ d.hour = v;
6521
+ }],
6522
+ m: [twoDigits, function (d, v) {
6523
+ d.minute = v;
6524
+ }],
6525
+ s: [twoDigits, function (d, v) {
6526
+ d.second = v;
6527
+ }],
6528
+ yyyy: [fourDigits, function (d, v) {
6529
+ d.year = v;
6530
+ }],
6531
+ S: ['\\d', function (d, v) {
6532
+ d.millisecond = v * 100;
6533
+ }],
6534
+ SS: ['\\d{2}', function (d, v) {
6535
+ d.millisecond = v * 10;
6536
+ }],
6537
+ SSS: [threeDigits, function (d, v) {
6538
+ d.millisecond = v;
6539
+ }],
6540
+ D: [twoDigits, noop],
6541
+ ddd: [word, noop],
6542
+ MMM: [word, monthUpdate('monthNamesShort')],
6543
+ MMMM: [word, monthUpdate('monthNames')],
6544
+ a: [word, function (d, v) {
6545
+ const val = v.toLowerCase();
6546
+ if (val === '上午') {
6547
+ d.isPm = false;
6548
+ } else if (val === '下午') {
6549
+ d.isPm = true;
6550
+ }
6551
+ }],
6552
+ ZZ: ['[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z', function (d, v) {
6553
+ let parts = (v + '').match(/([+-]|\d\d)/gi), minutes;
6554
+
6555
+ if (parts) {
6556
+ minutes = +(parts[1] * 60) + parseInt(parts[2], 10);
6557
+ d.timezoneOffset = parts[0] === '+' ? minutes : -minutes;
6558
+ }
6559
+ }]
6560
+ };
6561
+ parseFlags.dd = parseFlags.d;
6562
+ parseFlags.dddd = parseFlags.ddd;
6563
+ parseFlags.DD = parseFlags.D;
6564
+ parseFlags.mm = parseFlags.m;
6565
+ parseFlags.hh = parseFlags.H = parseFlags.HH = parseFlags.h;
6566
+ parseFlags.MM = parseFlags.M;
6567
+ parseFlags.ss = parseFlags.s;
6568
+ parseFlags.A = parseFlags.a;
6569
+
6570
+
6571
+ // Some common format strings
6572
+ fecha.masks = {
6573
+ default: 'ddd MMM dd yyyy HH:mm:ss',
6574
+ shortDate: 'M/D/yy',
6575
+ mediumDate: 'MMM d, yyyy',
6576
+ longDate: 'MMMM d, yyyy',
6577
+ fullDate: 'dddd, MMMM d, yyyy',
6578
+ shortTime: 'HH:mm',
6579
+ mediumTime: 'HH:mm:ss',
6580
+ longTime: 'HH:mm:ss.SSS'
6581
+ };
6582
+
6583
+ /***
6584
+ * Format a date
6585
+ * @method format
6586
+ * @param {Date|number} dateObj
6587
+ * @param {string} mask Format of the date, i.e. 'mm-dd-yy' or 'shortDate'
6588
+ */
6589
+ fecha.format = function (dateObj, mask) {
6590
+ if (typeof dateObj === 'number') {
6591
+ dateObj = new Date(dateObj);
6592
+ }
6593
+
6594
+ if (Object.prototype.toString.call(dateObj) !== '[object Date]' || isNaN(dateObj.getTime())) {
6595
+ throw new Error('Invalid Date in fecha.format');
6596
+ }
6597
+
6598
+ mask = fecha.masks[mask] || mask || fecha.masks['default'];
6599
+
6600
+ const literals = [];
6601
+
6602
+ // Make literals inactive by replacing them with ??
6603
+ mask = mask.replace(literal, function($0, $1) {
6604
+ literals.push($1);
6605
+ return '@@@';
6606
+ });
6607
+ // Apply formatting rules
6608
+ mask = mask.replace(token, function ($0) {
6609
+ return $0 in formatFlags ? formatFlags[$0](dateObj) : $0.slice(1, $0.length - 1);
6610
+ });
6611
+ // Inline literal values back into the formatted value
6612
+ return mask.replace(/@@@/g, function() {
6613
+ return literals.shift();
6614
+ });
6615
+ };
6616
+
6617
+ /**
6618
+ * Parse a date string into an object, changes - into /
6619
+ * @method parse
6620
+ * @param {string} dateStr Date string
6621
+ * @param {string} format Date parse format
6622
+ * @returns {Date|boolean}
6623
+ */
6624
+ fecha.parse = function (dateStr, format) {
6625
+ if (typeof format !== 'string') {
6626
+ throw new Error('Invalid format in fecha.parse');
6627
+ }
6628
+
6629
+ format = fecha.masks[format] || format;
6630
+
6631
+ // Avoid regular expression denial of service, fail early for really long strings
6632
+ // https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS
6633
+ if (dateStr.length > 1000) {
6634
+ return null;
6635
+ }
6636
+
6637
+ const dateInfo = {};
6638
+ const parseInfo = [];
6639
+ const literals = [];
6640
+ format = format.replace(literal, function($0, $1) {
6641
+ literals.push($1);
6642
+ return '@@@';
6643
+ });
6644
+ let newFormat = regexEscape(format).replace(token, function ($0) {
6645
+ if (parseFlags[$0]) {
6646
+ const info = parseFlags[$0];
6647
+ parseInfo.push(info[1]);
6648
+ return '(' + info[0] + ')';
6649
+ }
6650
+
6651
+ return $0;
6652
+ });
6653
+ newFormat = newFormat.replace(/@@@/g, function() {
6654
+ return literals.shift();
6655
+ });
6656
+ const matches = dateStr.match(new RegExp(newFormat, 'i'));
6657
+ if (!matches) {
6658
+ return null;
6659
+ }
6660
+
6661
+ for (let i = 1; i < matches.length; i++) {
6662
+ parseInfo[i - 1](dateInfo, matches[i]);
6663
+ }
6664
+
6665
+ const today = new Date();
6666
+ if (dateInfo.isPm === true && dateInfo.hour != null && +dateInfo.hour !== 12) {
6667
+ dateInfo.hour = +dateInfo.hour + 12;
6668
+ } else if (dateInfo.isPm === false && +dateInfo.hour === 12) {
6669
+ dateInfo.hour = 0;
6670
+ }
6671
+
6672
+ let date;
6673
+ if (dateInfo.timezoneOffset != null) {
6674
+ dateInfo.minute = +(dateInfo.minute || 0) - +dateInfo.timezoneOffset;
6675
+ date = new Date(Date.UTC(dateInfo.year || today.getFullYear(), dateInfo.month || 0, dateInfo.day || 1,
6676
+ dateInfo.hour || 0, dateInfo.minute || 0, dateInfo.second || 0, dateInfo.millisecond || 0));
6677
+ } else {
6678
+ date = new Date(dateInfo.year || today.getFullYear(), dateInfo.month || 0, dateInfo.day || 1,
6679
+ dateInfo.hour || 0, dateInfo.minute || 0, dateInfo.second || 0, dateInfo.millisecond || 0);
6680
+ }
6681
+ return date;
6682
+ };
6683
+
6684
+ // 导出fecha对象
6685
+
6686
+
6687
+ // 以下是从date-util.js合并的函数
6688
+ const newArray = function(start, end) {
6689
+ let result = [];
6690
+ for (let i = start; i <= end; i++) {
6691
+ result.push(i);
6692
+ }
6693
+ return result;
6694
+ };
6695
+
6696
+ const getSettings = () => {
6697
+ return {
6698
+ dayNamesShort: ['日', '一', '二', '三', '四', '五', '六'],
6699
+ dayNames: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
6700
+ monthNamesShort: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
6701
+ monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
6702
+ amPm: ['上午', '下午']
6703
+ };
6704
+ };
6705
+
6706
+ const toDate = function(date) {
6707
+ return isDate(date) ? new Date(date) : null;
6708
+ };
6709
+
6710
+ const isDate = function(date) {
6711
+ if (date === null || date === undefined) return false;
6712
+ if (isNaN(new Date(date).getTime())) return false;
6713
+ if (Array.isArray(date)) return false; // deal with `new Date([ new Date() ]) -> new Date()`
6714
+ return true;
6715
+ };
6716
+
6717
+ const isDateObject = function(val) {
6718
+ return val instanceof Date;
6719
+ };
6720
+
6721
+ const formatDate = function (date, format = 'yyyy-MM-dd') {
6722
+ // 处理多种输入类型
6723
+ if (!date) return '';
6724
+
6725
+ // 如果是时间戳,转成日期对象
6726
+ if (typeof date === 'number') {
6727
+ date = new Date(date);
6728
+ }
6729
+ // 如果是字符串,转成日期对象
6730
+ if (typeof date === 'string') {
6731
+ date = new Date(date);
6732
+ }
6733
+
6734
+ // 调用toDate进一步验证和转换
6735
+ date = toDate(date);
6736
+ if (!date) return '';
6737
+
6738
+ // 兼容大写和小写的格式标记
6739
+ // 将大写的YYYY/MM/DD/HH/mm/ss转换为小写的yyyy/mm/dd/hh/mm/ss
6740
+ const lowercaseFormat = format
6741
+ .replace(/YYYY/g, 'yyyy')
6742
+ .replace(/D/g, 'd')
6743
+
6744
+ // 使用fecha库进行格式化,支持中文配置
6745
+ const str = fecha.format(date, lowercaseFormat, getSettings());
6746
+ return str;
6747
+ };
6748
+
6749
+ const parseDate = function(string, format) {
6750
+ return fecha.parse(string, format || 'yyyy-MM-dd', getSettings());
6751
+ };
6752
+
6753
+ const getDayCountOfMonth = function(year, month) {
6754
+ if (month === 3 || month === 5 || month === 8 || month === 10) {
6755
+ return 30;
6756
+ }
6757
+
6758
+ if (month === 1) {
6759
+ if (year % 4 === 0 && year % 100 !== 0 || year % 400 === 0) {
6760
+ return 29;
6761
+ } else {
6762
+ return 28;
6763
+ }
6764
+ }
6765
+
6766
+ return 31;
6767
+ };
6768
+
6769
+ const getDayCountOfYear = function(year) {
6770
+ const isLeapYear = year % 400 === 0 || (year % 100 !== 0 && year % 4 === 0);
6771
+ return isLeapYear ? 366 : 365;
6772
+ };
6773
+
6774
+ const getFirstDayOfMonth = function(date) {
6775
+ const temp = new Date(date.getTime());
6776
+ temp.setDate(1);
6777
+ return temp.getDay();
6778
+ };
6779
+
6780
+ // see: https://stackoverflow.com/questions/3674539/incrementing-a-date-in-javascript
6781
+ // {prev, next} Date should work for Daylight Saving Time
6782
+ // Adding 24 * 60 * 60 * 1000 does not work in the above scenario
6783
+ const prevDate = function(date, amount = 1) {
6784
+ return new Date(date.getFullYear(), date.getMonth(), date.getDate() - amount);
6785
+ };
6786
+
6787
+ const nextDate = function(date, amount = 1) {
6788
+ return new Date(date.getFullYear(), date.getMonth(), date.getDate() + amount);
6789
+ };
6790
+
6791
+ const getStartDateOfMonth = function(year, month) {
6792
+ const result = new Date(year, month, 1);
6793
+ const day = result.getDay();
6794
+
6795
+ if (day === 0) {
6796
+ return prevDate(result, 7);
6797
+ } else {
6798
+ return prevDate(result, day);
6799
+ }
6800
+ };
6801
+
6802
+ const getWeekNumber = function(date) {
6803
+ // 支持多种输入类型
6804
+ if (!date||!isDate(date)) {
6805
+ date = new Date();
6806
+ }
6807
+ if (typeof date === 'string') {
6808
+ date = new Date(date);
6809
+ }
6810
+
6811
+ // 验证日期有效性
6812
+ if (!isDate(date)) return null;
6813
+
6814
+ const d = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate()));
6815
+ // 设置为最近的星期四:当前日期 + 4 - 当前星期数
6816
+ // 将星期日的星期数设为7
6817
+ d.setUTCDate(d.getUTCDate() + 4 - (d.getUTCDay() || 7));
6818
+ // 获取当年的第一天
6819
+ const yearStart = new Date(Date.UTC(d.getUTCFullYear(), 0, 1));
6820
+ // 计算到最近的星期四的完整周数
6821
+ const weekNo = Math.ceil((((d - yearStart) / 86400000) + 1) / 7);
6822
+ // 返回周数
6823
+ return weekNo;
6824
+ };
6825
+
6826
+ const getRangeHours = function(ranges) {
6827
+ const hours = [];
6828
+ let disabledHours = [];
6829
+
6830
+ (ranges || []).forEach(range => {
6831
+ const value = range.map(date => date.getHours());
6832
+
6833
+ disabledHours = disabledHours.concat(newArray(value[0], value[1]));
6834
+ });
6835
+
6836
+ if (disabledHours.length) {
6837
+ for (let i = 0; i < 24; i++) {
6838
+ hours[i] = disabledHours.indexOf(i) === -1;
6839
+ }
6840
+ } else {
6841
+ for (let i = 0; i < 24; i++) {
6842
+ hours[i] = false;
6843
+ }
6844
+ }
6845
+
6846
+ return hours;
6847
+ };
6848
+
6849
+ const getPrevMonthLastDays = (date, amount) => {
6850
+ if (amount <= 0) return [];
6851
+ const temp = new Date(date.getTime());
6852
+ temp.setDate(0);
6853
+ const lastDay = temp.getDate();
6854
+ return range(amount).map((_, index) => lastDay - (amount - index - 1));
6855
+ };
6856
+
6857
+ const getMonthDays = (date) => {
6858
+ const temp = new Date(date.getFullYear(), date.getMonth() + 1, 0);
6859
+ const days = temp.getDate();
6860
+ return range(days).map((_, index) => index + 1);
6861
+ };
6862
+
6863
+ function setRangeData(arr, start, end, value) {
6864
+ for (let i = start; i < end; i++) {
6865
+ arr[i] = value;
6866
+ }
6867
+ }
6868
+
6869
+ const getRangeMinutes = function(ranges, hour) {
6870
+ const minutes = new Array(60);
6871
+
6872
+ if (ranges.length > 0) {
6873
+ ranges.forEach(range => {
6874
+ const start = range[0];
6875
+ const end = range[1];
6876
+ const startHour = start.getHours();
6877
+ const startMinute = start.getMinutes();
6878
+ const endHour = end.getHours();
6879
+ const endMinute = end.getMinutes();
6880
+ if (startHour === hour && endHour !== hour) {
6881
+ setRangeData(minutes, startMinute, 60, true);
6882
+ } else if (startHour === hour && endHour === hour) {
6883
+ setRangeData(minutes, startMinute, endMinute + 1, true);
6884
+ } else if (startHour !== hour && endHour === hour) {
6885
+ setRangeData(minutes, 0, endMinute + 1, true);
6886
+ } else if (startHour < hour && endHour > hour) {
6887
+ setRangeData(minutes, 0, 60, true);
6888
+ }
6889
+ });
6890
+ } else {
6891
+ setRangeData(minutes, 0, 60, true);
6892
+ }
6893
+ return minutes;
6894
+ };
6895
+
6896
+ const range = function(n) {
6897
+ // see https://stackoverflow.com/questions/3746725/create-a-javascript-array-containing-1-n
6898
+ return Array.apply(null, {length: n}).map((_, n) => n);
6899
+ };
6900
+
6901
+ const modifyDate = function(date, y, m, d) {
6902
+ return new Date(y, m, d, date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds());
6903
+ };
6904
+
6905
+ const modifyTime = function(date, h, m, s) {
6906
+ return new Date(date.getFullYear(), date.getMonth(), date.getDate(), h, m, s, date.getMilliseconds());
6907
+ };
6908
+
6909
+ const modifyWithTimeString = (date, time) => {
6910
+ if (date == null || !time) {
6911
+ return date;
6912
+ }
6913
+ time = parseDate(time, 'HH:mm:ss');
6914
+ return modifyTime(date, time.getHours(), time.getMinutes(), time.getSeconds());
6915
+ };
6916
+
6917
+ const clearTime = function(date) {
6918
+ return new Date(date.getFullYear(), date.getMonth(), date.getDate());
6919
+ };
6920
+
6921
+ const clearMilliseconds = function(date) {
6922
+ return new Date(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), 0);
6923
+ };
6924
+
6925
+ const limitTimeRange = function(date, ranges, format = 'HH:mm:ss') {
6926
+ // TODO: refactory a more elegant solution
6927
+ if (ranges.length === 0) return date;
6928
+ const normalizeDate = date => fecha.parse(fecha.format(date, format), format);
6929
+ const ndate = normalizeDate(date);
6930
+ const nranges = ranges.map(range => range.map(normalizeDate));
6931
+ if (nranges.some(nrange => ndate >= nrange[0] && ndate <= nrange[1])) return date;
6932
+
6933
+ let minDate = nranges[0][0];
6934
+ let maxDate = nranges[0][0];
6935
+
6936
+ nranges.forEach(nrange => {
6937
+ minDate = new Date(Math.min(nrange[0], minDate));
6938
+ maxDate = new Date(Math.max(nrange[1], minDate));
6939
+ });
6940
+
6941
+ const ret = ndate < minDate ? minDate : maxDate;
6942
+ // preserve Year/Month/Date
6943
+ return modifyDate(
6944
+ ret,
6945
+ date.getFullYear(),
6946
+ date.getMonth(),
6947
+ date.getDate()
6948
+ );
6949
+ };
6950
+
6951
+ const timeWithinRange = function(date, selectableRange, format) {
6952
+ const limitedDate = limitTimeRange(date, selectableRange, format);
6953
+ return limitedDate.getTime() === date.getTime();
6954
+ };
6955
+
6956
+ const changeYearMonthAndClampDate = function(date, year, month) {
6957
+ // clamp date to the number of days in `year`, `month`
6958
+ // eg: (2010-1-31, 2010, 2) => 2010-2-28
6959
+ const monthDate = Math.min(date.getDate(), getDayCountOfMonth(year, month));
6960
+ return modifyDate(date, year, month, monthDate);
6961
+ };
6962
+
6963
+ const prevMonth = function(date) {
6964
+ const year = date.getFullYear();
6965
+ const month = date.getMonth();
6966
+ return month === 0
6967
+ ? changeYearMonthAndClampDate(date, year - 1, 11)
6968
+ : changeYearMonthAndClampDate(date, year, month - 1);
6969
+ };
6970
+
6971
+ const nextMonth = function(date) {
6972
+ const year = date.getFullYear();
6973
+ const month = date.getMonth();
6974
+ return month === 11
6975
+ ? changeYearMonthAndClampDate(date, year + 1, 0)
6976
+ : changeYearMonthAndClampDate(date, year, month + 1);
6977
+ };
6978
+
6979
+ const prevYear = function(date, amount = 1) {
6980
+ const year = date.getFullYear();
6981
+ const month = date.getMonth();
6982
+ return changeYearMonthAndClampDate(date, year - amount, month);
6983
+ };
6984
+
6985
+ const nextYear = function(date, amount = 1) {
6986
+ const year = date.getFullYear();
6987
+ const month = date.getMonth();
6988
+ return changeYearMonthAndClampDate(date, year + amount, month);
6989
+ };
6990
+
6991
+ const extractDateFormat = function(format) {
6992
+ return format
6993
+ .replace(/\W?m{1,2}|\W?ZZ/g, '')
6994
+ .replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi, '')
6995
+ .trim();
6996
+ };
6997
+
6998
+ const extractTimeFormat = function(format) {
6999
+ return format
7000
+ .replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?y{2,4}/g, '')
7001
+ .trim();
7002
+ };
7003
+
7004
+ const validateRangeInOneMonth = function(start, end) {
7005
+ return (start.getMonth() === end.getMonth()) && (start.getFullYear() === end.getFullYear());
7006
+ };
7007
+
7008
+ /**
7009
+ * 计算两个日期之间的工作日数量(不包括周末和节假日)
7010
+ * @param {string} start_date - 开始日期字符串,格式为 "YYYY-MM-DD"
7011
+ * @param {string} end_date - 结束日期字符串,格式为 "YYYY-MM-DD"
7012
+ * @param {Array<string>} holidays - 假期日期字符串数组,格式为 "YYYY-MM-DD"
7013
+ * @returns {number} 工作日数量
7014
+ */
7015
+ const calculateNetworkDays = function (start_date, end_date, holidays = []) {
7016
+ if (typeof start_date !== 'string' || typeof end_date !== 'string') {
7017
+ throw new Error(
7018
+ "Invalid input. Please provide valid date strings in the format 'YYYY-MM-DD'."
7019
+ );
7020
+ }
7021
+
7022
+ const startDateObj = new Date(start_date);
7023
+ const endDateObj = new Date(end_date);
7024
+
7025
+ if (isNaN(startDateObj.getTime()) || isNaN(endDateObj.getTime())) {
7026
+ throw new Error(
7027
+ "Invalid date format. Please provide valid date strings in the format 'YYYY-MM-DD'."
7028
+ );
7029
+ }
7030
+
7031
+ if (startDateObj > endDateObj) {
7032
+ throw new Error('Start date should be earlier than or equal to end date.');
7033
+ }
7034
+
7035
+ let workdays = 0;
7036
+
7037
+ // Iterate through each day in the date range
7038
+ for (
7039
+ let currentDate = new Date(startDateObj);
7040
+ currentDate <= endDateObj;
7041
+ currentDate.setDate(currentDate.getDate() + 1)
7042
+ ) {
7043
+ // Check if the current day is a weekend (Saturday or Sunday)
7044
+ const isWeekend = currentDate.getDay() === 0 || currentDate.getDay() === 6;
7045
+
7046
+ // Check if the current day is a holiday
7047
+ const isHoliday = holidays.some((holiday) => {
7048
+ const holidayDate = new Date(holiday);
7049
+ return currentDate.toDateString() === holidayDate.toDateString();
7050
+ });
7051
+
7052
+ // If it's a workday (not a weekend or holiday), increment the workdays count
7053
+ if (!isWeekend && !isHoliday) {
7054
+ workdays++;
7055
+ }
7056
+ }
7057
+
7058
+ return workdays;
7059
+ };
7060
+
7061
+ /**
7062
+ * 日期加减天数
7063
+ * @param {string} start_date - 起始日期字符串,格式为 "YYYY-MM-DD"
7064
+ * @param {number} days - 要加上或减去的天数,正数表示加,负数表示减
7065
+ * @returns {string} 结果日期,格式为 "YYYY-MM-DD"
7066
+ */
7067
+ const dateAddDays = function (start_date, days) {
7068
+ if (typeof start_date !== 'string' || !Number.isInteger(days)) {
7069
+ throw new Error(
7070
+ "Invalid input. Please provide a valid date string in the format 'YYYY-MM-DD' and a valid integer for the number of days."
7071
+ );
7072
+ }
7073
+
7074
+ const startDateObj = new Date(start_date);
7075
+ if (isNaN(startDateObj.getTime())) {
7076
+ throw new Error(
7077
+ "Invalid date format. Please provide a valid date string in the format 'YYYY-MM-DD'."
7078
+ );
7079
+ }
7080
+
7081
+ const resultDateObj = new Date(startDateObj);
7082
+ resultDateObj.setDate(resultDateObj.getDate() + days);
7083
+
7084
+ const resultYear = resultDateObj.getFullYear();
7085
+ const resultMonth = String(resultDateObj.getMonth() + 1).padStart(2, '0');
7086
+ const resultDay = String(resultDateObj.getDate()).padStart(2, '0');
7087
+
7088
+ return `${resultYear}-${resultMonth}-${resultDay}`;
7089
+ };
7090
+
7091
+ /**
7092
+ * 计算两个日期之间的差值
7093
+ * @date 2023年12月14日
7094
+ * @param {String} start_date - 起始日期字符串
7095
+ * @param {String} end_date - 结束日期字符串
7096
+ * @param {String} unit - 单位:year/month/day
7097
+ * @returns {Number} 差值
7098
+ */
7099
+ const dateDiff = function (start_date, end_date, unit = 'day') {
7100
+ // Assuming date strings are in "YYYY-MM-DD" format
7101
+ var startDate = new Date(start_date);
7102
+ var endDate = new Date(end_date);
7103
+
7104
+ // If the date is invalid, return 0
7105
+ if (isNaN(startDate.getTime()) || isNaN(endDate.getTime())) {
7106
+ return 0;
7107
+ }
7108
+
7109
+ if (unit === 'year') {
7110
+ return endDate.getFullYear() - startDate.getFullYear();
7111
+ } else if (unit === 'month') {
7112
+ return (
7113
+ (endDate.getFullYear() - startDate.getFullYear()) * 12 +
7114
+ (endDate.getMonth() - startDate.getMonth())
7115
+ );
7116
+ } else {
7117
+ // Default to day
7118
+ var timeDifference = endDate - startDate;
7119
+ // Calculate days (86400000 milliseconds per day)
7120
+ return Math.floor(timeDifference / 86400000);
7121
+ }
7122
+ };
7123
+
7124
+ /**
7125
+ * 获取月份中的日期
7126
+ * @param {string} date - 日期字符串,格式为 "YYYY-MM-DD"
7127
+ * @returns {number} 月份中的日期(1-31)
7128
+ */
7129
+ const dayOfMonth = function (date) {
7130
+ if (typeof date !== 'string') {
7131
+ throw new Error(
7132
+ "Invalid input. Please provide a valid date string in the format 'YYYY-MM-DD'."
7133
+ );
7134
+ }
7135
+
7136
+ const dateObj = new Date(date);
7137
+ if (isNaN(dateObj.getTime())) {
7138
+ throw new Error(
7139
+ "Invalid date format. Please provide a valid date string in the format 'YYYY-MM-DD'."
7140
+ );
7141
+ }
7142
+
7143
+ return dateObj.getDate();
7144
+ };
7145
+
7146
+ /**
7147
+ * 获取当前日期
7148
+ * @date 2022年5月7日
7149
+ * @param {string} format - 日期格式,默认为'YYYY-MM-DD'
7150
+ * @returns {string} 当前日期的格式化字符串
7151
+ */
7152
+ const getCurrentDate = function (format = 'YYYY-MM-DD') {
7153
+ return formatDate(new Date(), format);
7154
+ };
7155
+
7156
+ /**
7157
+ * 获取当前日期时间
7158
+ * @date 2022年5月7日
7159
+ * @param {string} format - 日期时间格式,默认为'YYYY-MM-DD HH:mm:ss'
7160
+ * @returns {string} 当前日期时间的格式化字符串
7161
+ */
7162
+ const getCurrentDateTime = function (format = 'YYYY-MM-DD HH:mm:ss') {
7163
+ return formatDate(new Date(), format);
7164
+ };
7165
+
7166
+ /**
7167
+ * 获取小时
7168
+ * @date 2022年5月7日
7169
+ * @param {Date|string} [date] - 日期对象或日期字符串
7170
+ * @returns {number} 小时数(0-23)
7171
+ */
7172
+ const getHour = function (date) {
7173
+ if (!date) {
7174
+ return new Date().getHours();
7175
+ }
7176
+ if (typeof date === 'string') {
7177
+ date = new Date(date);
7178
+ }
7179
+ return date.getHours();
7180
+ };
7181
+
7182
+ /**
7183
+ * 获取分钟
7184
+ * @date 2022年5月7日
7185
+ * @param {Date|string} [date] - 日期对象或日期字符串
7186
+ * @returns {number} 分钟数(0-59)
7187
+ */
7188
+ const getMinute = function (date) {
7189
+ if (!date) {
7190
+ return new Date().getMinutes();
7191
+ }
7192
+ if (typeof date === 'string') {
7193
+ date = new Date(date);
7194
+ }
7195
+ return date.getMinutes();
7196
+ };
7197
+
7198
+ /**
7199
+ * 获取月份
7200
+ * @date 2022年5月7日
7201
+ * @param {Date|string} [date] - 日期对象或日期字符串
7202
+ * @returns {number} 月份数(1-12)
7203
+ */
7204
+ const getMonth = function (date) {
7205
+ if (!date) {
7206
+ return new Date().getMonth() + 1;
7207
+ }
7208
+ if (typeof date === 'string') {
7209
+ date = new Date(date);
7210
+ }
7211
+ return date.getMonth() + 1;
7212
+ };
7213
+
7214
+ /**
7215
+ * 获取秒
7216
+ * @date 2022年5月7日
7217
+ * @param {Date|string} [date] - 日期对象或日期字符串
7218
+ * @returns {number} 秒数(0-59)
7219
+ */
7220
+ const getSecond = function (date) {
7221
+ if (!date) {
7222
+ return new Date().getSeconds();
7223
+ }
7224
+ if (typeof date === 'string') {
7225
+ date = new Date(date);
7226
+ }
7227
+ return date.getSeconds();
7228
+ };
7229
+
7230
+ /**
7231
+ * 获取星期几
7232
+ * @date 2022年5月7日
7233
+ * @param {Date|string} [date] - 日期对象或日期字符串
7234
+ * @returns {number} 星期几(0-6,0表示星期日)
7235
+ */
7236
+ const getWeekday = function (date) {
7237
+ if (!date) {
7238
+ return new Date().getDay();
7239
+ }
7240
+ if (typeof date === 'string') {
7241
+ date = new Date(date);
7242
+ }
7243
+ return date.getDay();
7244
+ };
7245
+
7246
+
7247
+ /**
7248
+ * @desc 获取上午/下午/晚上
7249
+ * @author huangbo
7250
+ * @date 2022年5月7日
7251
+ * @param {String} [time] - 时间
7252
+ **/
7253
+ const timeCycle = function (time) {
7254
+ let hour = 0;
7255
+ if (!time) {
7256
+ hour = new Date().getHours();
7257
+ } else if (typeof time === 'string') {
7258
+ // 从时间字符串中提取小时
7259
+ const match = time.match(/^(\d{1,2})/);
7260
+ if (match) {
7261
+ hour = parseInt(match[1], 10);
7262
+ }
7263
+ } else if (typeof time === 'number') {
7264
+ hour = time;
7265
+ }
7266
+ // 判断时间段
7267
+ if (hour >= 5 && hour < 12) {
7268
+ return '上午';
7269
+ } else if (hour >= 12 && hour < 18) {
7270
+ return '下午';
7271
+ } else {
7272
+ return '晚上';
7273
+ }
7267
7274
  };
7268
7275
 
7269
7276
  /***/ }),
@@ -7271,32 +7278,25 @@ var removeCookie = function removeCookie(key) {
7271
7278
  /***/ 20:
7272
7279
  /***/ (function(module, exports) {
7273
7280
 
7274
- module.exports = require("lodash/get");
7275
-
7276
- /***/ }),
7277
-
7278
- /***/ 21:
7279
- /***/ (function(module, exports) {
7280
-
7281
7281
  module.exports = require("lodash/set");
7282
7282
 
7283
7283
  /***/ }),
7284
7284
 
7285
- /***/ 22:
7285
+ /***/ 21:
7286
7286
  /***/ (function(module, exports) {
7287
7287
 
7288
7288
  module.exports = require("lodash/cloneDeep");
7289
7289
 
7290
7290
  /***/ }),
7291
7291
 
7292
- /***/ 24:
7292
+ /***/ 23:
7293
7293
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7294
7294
 
7295
7295
  "use strict";
7296
7296
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return doEncrypt; });
7297
7297
  /* unused harmony export doDecrypt */
7298
- /* harmony import */ var _storage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
7299
- var sm2 = __webpack_require__(35).sm2;
7298
+ /* harmony import */ var _storage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
7299
+ var sm2 = __webpack_require__(34).sm2;
7300
7300
 
7301
7301
 
7302
7302
  /**
@@ -7348,13 +7348,20 @@ var doDecrypt = function doDecrypt(_ref2) {
7348
7348
 
7349
7349
  /***/ }),
7350
7350
 
7351
- /***/ 25:
7351
+ /***/ 24:
7352
7352
  /***/ (function(module, exports) {
7353
7353
 
7354
7354
  module.exports = require("fetch-request-source");
7355
7355
 
7356
7356
  /***/ }),
7357
7357
 
7358
+ /***/ 29:
7359
+ /***/ (function(module, exports) {
7360
+
7361
+ module.exports = require("qs");
7362
+
7363
+ /***/ }),
7364
+
7358
7365
  /***/ 3:
7359
7366
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7360
7367
 
@@ -7463,25 +7470,18 @@ function normalizeComponent(
7463
7470
  /***/ 30:
7464
7471
  /***/ (function(module, exports) {
7465
7472
 
7466
- module.exports = require("qs");
7467
-
7468
- /***/ }),
7469
-
7470
- /***/ 31:
7471
- /***/ (function(module, exports) {
7472
-
7473
7473
  module.exports = require("axios");
7474
7474
 
7475
7475
  /***/ }),
7476
7476
 
7477
- /***/ 32:
7477
+ /***/ 31:
7478
7478
  /***/ (function(module, exports) {
7479
7479
 
7480
7480
  module.exports = require("json-bigint");
7481
7481
 
7482
7482
  /***/ }),
7483
7483
 
7484
- /***/ 35:
7484
+ /***/ 34:
7485
7485
  /***/ (function(module, exports) {
7486
7486
 
7487
7487
  module.exports = require("sm-crypto");
@@ -7495,7 +7495,7 @@ module.exports = require("vue");
7495
7495
 
7496
7496
  /***/ }),
7497
7497
 
7498
- /***/ 6:
7498
+ /***/ 5:
7499
7499
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7500
7500
 
7501
7501
  "use strict";
@@ -7566,147 +7566,147 @@ function isDefined(val) {
7566
7566
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7567
7567
 
7568
7568
  "use strict";
7569
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return doCaLogin; });
7570
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doUserLogin; });
7571
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return doQrLogin; });
7572
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return logout; });
7573
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return initLogin; });
7574
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return switchUserTo; });
7575
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return changeImg; });
7576
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return getLoginCode; });
7577
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return doCodeLogin; });
7569
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return doCaLogin; });
7570
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return doUserLogin; });
7571
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return doQrLogin; });
7572
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return logout; });
7573
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return initLogin; });
7574
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dc", function() { return switchUserTo; });
7575
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return changeImg; });
7576
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return getLoginCode; });
7577
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return doCodeLogin; });
7578
7578
  /* unused harmony export updateCode */
7579
7579
  /* unused harmony export getModifyPassCode */
7580
7580
  /* unused harmony export codeModifyPass */
7581
7581
  /* unused harmony export loginModifyPassword */
7582
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return authCenter; });
7582
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return authCenter; });
7583
7583
  /* unused harmony export initModifyPassword */
7584
7584
  /* unused harmony export doWechatQrLogin */
7585
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return getTwoFactorLoginCode; });
7585
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return getTwoFactorLoginCode; });
7586
7586
  /* unused harmony export doTwoFactorLogin */
7587
7587
  /* unused harmony export initRetrialAuth */
7588
7588
  /* unused harmony export getRetrialAuthCode */
7589
7589
  /* unused harmony export scanCodeRetrialAuth */
7590
7590
  /* unused harmony export codeRetrialAuth */
7591
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return doAssistanceQrLogin; });
7592
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ic", function() { return userOnline; });
7593
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return getUserAppWithTag; });
7594
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return recordUserApp; });
7595
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return getUserRecordApp; });
7596
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return mainConfig; });
7597
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return initUserSet; });
7598
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ec", function() { return updateUserInfo; });
7591
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return doAssistanceQrLogin; });
7592
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qc", function() { return userOnline; });
7593
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return getUserAppWithTag; });
7594
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return recordUserApp; });
7595
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return getUserRecordApp; });
7596
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return mainConfig; });
7597
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return initUserSet; });
7598
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mc", function() { return updateUserInfo; });
7599
7599
  /* unused harmony export getUserImgUrl */
7600
7600
  /* unused harmony export getDoorIndex */
7601
7601
  /* unused harmony export refreshOnlineUsers */
7602
7602
  /* unused harmony export getQuickMenuIds */
7603
7603
  /* unused harmony export getApplicationIdArray */
7604
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getComplexApplications; });
7605
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return getComplexApplicationsNew; });
7606
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getMainAppWithTag; });
7607
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return getByType; });
7604
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return getComplexApplications; });
7605
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getComplexApplicationsNew; });
7606
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return getMainAppWithTag; });
7607
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getByType; });
7608
7608
  /* unused harmony export getUserCustomInfo */
7609
7609
  /* unused harmony export updateUserCustomInfo */
7610
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return saveOrUpdate; });
7611
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return sysMsgPage; });
7612
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return ignoreSysMsg; });
7613
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return ignoreAllSysMsg; });
7614
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return searchType; });
7615
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return getSysParam; });
7616
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return getAdjunctProperties; });
7617
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hc", function() { return uploads; });
7618
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gc", function() { return uploadOnlyOne; });
7619
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return getAdjunctFileInfos; });
7610
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return saveOrUpdate; });
7611
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ec", function() { return sysMsgPage; });
7612
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return ignoreSysMsg; });
7613
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return ignoreAllSysMsg; });
7614
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return searchType; });
7615
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return getSysParam; });
7616
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getAdjunctProperties; });
7617
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pc", function() { return uploads; });
7618
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Oc", function() { return uploadOnlyOne; });
7619
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return getAdjunctFileInfos; });
7620
7620
  /* unused harmony export uploadSort */
7621
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return downloadByAdjunctId; });
7622
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fc", function() { return uploadDownloads; });
7623
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return previewAdjunct; });
7624
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return previewAdjunct2; });
7625
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return previewAdjunctOffice; });
7626
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return delAdjunct; });
7621
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return downloadByAdjunctId; });
7622
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nc", function() { return uploadDownloads; });
7623
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return previewAdjunct; });
7624
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return previewAdjunct2; });
7625
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return previewAdjunctOffice; });
7626
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return delAdjunct; });
7627
7627
  /* unused harmony export upload_updateClassify */
7628
7628
  /* unused harmony export getDeleteAdjunctFileInfos */
7629
7629
  /* unused harmony export getPictureBase64 */
7630
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return getSelectorOrgTree; });
7631
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return getSelectorOrgDetail; });
7632
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return getOrgMainTree; });
7630
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return getSelectorOrgTree; });
7631
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return getSelectorOrgDetail; });
7632
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return getOrgMainTree; });
7633
7633
  /* unused harmony export getSelectOrgsubids */
7634
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return findSysCode; });
7634
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return findSysCode; });
7635
7635
  /* unused harmony export getDictList */
7636
7636
  /* unused harmony export findUserBaseInfo */
7637
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return gethelpdoc; });
7637
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return gethelpdoc; });
7638
7638
  /* unused harmony export getCurrentuser */
7639
7639
  /* unused harmony export mainDetail */
7640
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return toStartFlow; });
7641
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return tempSave; });
7642
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return commonOpion; });
7640
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "uc", function() { return toStartFlow; });
7641
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pc", function() { return tempSave; });
7642
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return commonOpion; });
7643
7643
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
7644
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return editCommonOpion; });
7645
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return saveCommonOpinion; });
7646
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dc", function() { return updateCommonOpinion; });
7647
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return deleteCommonOpion; });
7648
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return getProcessDefList; });
7649
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getNodeInfo; });
7650
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return findCodeValues; });
7651
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return findSysParam; });
7652
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return findSysCodes; });
7653
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getNotificationMsg; });
7654
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getHandleInfoHtml; });
7655
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return taskHandleHtml; });
7644
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return editCommonOpion; });
7645
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return saveCommonOpinion; });
7646
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kc", function() { return updateCommonOpinion; });
7647
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return deleteCommonOpion; });
7648
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return getProcessDefList; });
7649
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return getNodeInfo; });
7650
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return findCodeValues; });
7651
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return findSysParam; });
7652
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return findSysCodes; });
7653
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return getNotificationMsg; });
7654
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return getHandleInfoHtml; });
7655
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gc", function() { return taskHandleHtml; });
7656
7656
  /* unused harmony export getView */
7657
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return register; });
7658
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return pendedhistoryList; });
7659
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return toTaskRejectHtml; });
7660
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return taskRejectHtml; });
7661
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return toStartTaskRead; });
7662
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return toStartTaskReadIndex; });
7663
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return taskReadHtml; });
7664
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return rejectAndEnd; });
7665
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return toSendMsg; });
7666
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return sendMsg; });
7667
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return endFlowHtml; });
7668
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return handleInfo; });
7669
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return loginUserInfo; });
7670
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jc", function() { return wss; });
7671
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bc", function() { return topic; });
7672
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return getPresetCustomInfo; });
7673
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return getPresetNodeInfo; });
7674
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return toTaskTransferIndex; });
7675
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return taskTransfer; });
7657
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return register; });
7658
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return pendedhistoryList; });
7659
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yc", function() { return toTaskRejectHtml; });
7660
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ic", function() { return taskRejectHtml; });
7661
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vc", function() { return toStartTaskRead; });
7662
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wc", function() { return toStartTaskReadIndex; });
7663
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hc", function() { return taskReadHtml; });
7664
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return rejectAndEnd; });
7665
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tc", function() { return toSendMsg; });
7666
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ac", function() { return sendMsg; });
7667
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return endFlowHtml; });
7668
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return handleInfo; });
7669
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return loginUserInfo; });
7670
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rc", function() { return wss; });
7671
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ic", function() { return topic; });
7672
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return getPresetCustomInfo; });
7673
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return getPresetNodeInfo; });
7674
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ec", function() { return toTaskTransferIndex; });
7675
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mc", function() { return taskTransfer; });
7676
7676
  /* unused harmony export toPresetInfoListIndex */
7677
7677
  /* unused harmony export deletePresetInfo */
7678
7678
  /* unused harmony export historyListJson */
7679
7679
  /* unused harmony export pendedhistoryListJson */
7680
7680
  /* unused harmony export pressListJson */
7681
7681
  /* unused harmony export deleteFlow */
7682
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return isCanStartSubFlow; });
7683
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return toTaskUnionExamine; });
7684
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return taskUnionExamine; });
7685
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return toTaskTakeAdvice; });
7686
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return taskTakeAdvice; });
7687
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return toTaskStartDraft; });
7688
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return toTaskSupervise; });
7689
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return toTaskSuperviseSub; });
7690
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return taskStartDraft; });
7691
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return toTaskReview; });
7692
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return taskReview; });
7693
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return toTaskUnionSeal; });
7694
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return taskUnionSeal; });
7695
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ac", function() { return toTwoOfficesDispatch; });
7696
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cc", function() { return twoOfficesDispatch; });
7697
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return toResetProcessIndex; });
7698
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return resetProcess; });
7699
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return toTaskContinuationIndex; });
7700
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return taskContinuation; });
7701
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return getFreeStartFlowParams; });
7702
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return freeStartFlowWithSubmitTask; });
7703
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return checkForeignOrgStartedCircularRead; });
7682
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return isCanStartSubFlow; });
7683
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fc", function() { return toTaskUnionExamine; });
7684
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nc", function() { return taskUnionExamine; });
7685
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Dc", function() { return toTaskTakeAdvice; });
7686
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lc", function() { return taskTakeAdvice; });
7687
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ac", function() { return toTaskStartDraft; });
7688
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bc", function() { return toTaskSupervise; });
7689
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cc", function() { return toTaskSuperviseSub; });
7690
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kc", function() { return taskStartDraft; });
7691
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zc", function() { return toTaskReview; });
7692
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jc", function() { return taskReview; });
7693
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gc", function() { return toTaskUnionSeal; });
7694
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "oc", function() { return taskUnionSeal; });
7695
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hc", function() { return toTwoOfficesDispatch; });
7696
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jc", function() { return twoOfficesDispatch; });
7697
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sc", function() { return toResetProcessIndex; });
7698
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return resetProcess; });
7699
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xc", function() { return toTaskContinuationIndex; });
7700
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fc", function() { return taskContinuation; });
7701
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return getFreeStartFlowParams; });
7702
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return freeStartFlowWithSubmitTask; });
7703
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return checkForeignOrgStartedCircularRead; });
7704
7704
  /* unused harmony export pendedhistoryListWithCircularReadJson */
7705
7705
  /* unused harmony export fyListJson */
7706
7706
  /* unused harmony export circularReadWithdraw */
7707
7707
  /* unused harmony export taskReadWithDraw */
7708
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return startReadTransferHandleFlowWithTaskReadEnd; });
7709
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return checkBusinessIdStartedReadTransferHandle; });
7708
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bc", function() { return startReadTransferHandleFlowWithTaskReadEnd; });
7709
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return checkBusinessIdStartedReadTransferHandle; });
7710
7710
  /* unused harmony export sendList */
7711
7711
  /* unused harmony export sendInfo */
7712
7712
  /* unused harmony export sendSave */
@@ -7714,19 +7714,57 @@ function isDefined(val) {
7714
7714
  /* unused harmony export sendDelete */
7715
7715
  /* unused harmony export sendBatch */
7716
7716
  /* unused harmony export formContents */
7717
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return directStartTaskCircularRead; });
7718
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return endFlowAndStartTaskCircularRead; });
7719
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return getNodeInfoForStart; });
7720
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return freeStartFlow; });
7721
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return getUrgencyLevelChangedNotificationType; });
7722
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return toFreeTaskCircularRead; });
7723
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return freeTaskCircularRead; });
7724
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return pageLists; });
7717
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return directStartTaskCircularRead; });
7718
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return endFlowAndStartTaskCircularRead; });
7719
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return getNodeInfoForStart; });
7720
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return freeStartFlow; });
7721
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return getUrgencyLevelChangedNotificationType; });
7722
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rc", function() { return toFreeTaskCircularRead; });
7723
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return freeTaskCircularRead; });
7724
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return pageLists; });
7725
7725
  /* unused harmony export publishedLists */
7726
7726
  /* unused harmony export pageInfo */
7727
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return pageSave; });
7728
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return pageUpdate; });
7729
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return pageDelete; });
7727
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return pageGroup; });
7728
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return pageSave; });
7729
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return pageUpdate; });
7730
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return pageDelete; });
7731
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return batchSave; });
7732
+ /* unused harmony export batchUpdate */
7733
+ /* unused harmony export batchDelete */
7734
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return batchList; });
7735
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return processListJson; });
7736
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return processInfo; });
7737
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return processDeleteJson; });
7738
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return processSave; });
7739
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return processUpdate; });
7740
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return nodeListJson; });
7741
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return nodeDeleteJson; });
7742
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return nodeSave; });
7743
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return nodeUpdate; });
7744
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return nodeInfo; });
7745
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return moduleListJson; });
7746
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return moduleInfo; });
7747
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return moduleDelete; });
7748
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return moduleSave; });
7749
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return moduleUpdate; });
7750
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return ruleListJson; });
7751
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return ruleEdit; });
7752
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return ruleRead; });
7753
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return ruleSave; });
7754
+ /* unused harmony export ruleSupplement */
7755
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return ruleUndore; });
7756
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return ruleAdd; });
7757
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return companyDetail; });
7758
+ /* unused harmony export issueDetailList */
7759
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return deleteRule; });
7760
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return getSysParamV1; });
7761
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return companyList; });
7762
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cc", function() { return supplement; });
7763
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return isAddSource; });
7764
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qc", function() { return tiggerInTime; });
7765
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lc", function() { return updateHistory; });
7766
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return auditTrajectory; });
7767
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return changeInTime; });
7730
7768
  var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
7731
7769
  // 登录
7732
7770
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
@@ -8006,6 +8044,9 @@ var pageLists = '/main2/pageComponentConfig/listJson';
8006
8044
  var publishedLists = '/main2/pageComponentConfig/listPublished';
8007
8045
  // 获取自定义配置详情
8008
8046
  var pageInfo = '/main2/pageComponentConfig/info';
8047
+ // 获取自定义配置授权列表
8048
+ var pageGroup = 'main2/pageComponentTarget/listByConfigIdAndTypeGroup';
8049
+
8009
8050
  // 保存自定义配置,发布也调这个接口但要加上字段status=1
8010
8051
  var pageSave = '/main2/pageComponentConfig/save';
8011
8052
  // 更新自定义配置
@@ -8013,6 +8054,82 @@ var pageUpdate = '/main2/pageComponentConfig/update';
8013
8054
  // 删除自定义配置
8014
8055
  var pageDelete = '/main2/pageComponentConfig/deleteById';
8015
8056
 
8057
+ // 保存自定义页面授权
8058
+ var batchSave = '/main2/pageComponentTarget/batchSave';
8059
+ // 修改自定义页面授权
8060
+ var batchUpdate = '/main2/pageComponentTarget/update';
8061
+ // 删除自定义页面授权
8062
+ var batchDelete = '/main2/pageComponentTarget/deleteByConfigId';
8063
+ // 获取自定义页面授权列表
8064
+ var batchList = '/main2/pageComponentTarget/listByConfigId';
8065
+ // 下发相关接口
8066
+ // 获取流程列表
8067
+ var processListJson = '/baseBusinessMain/listJson';
8068
+ // 根据id获取流程
8069
+ var processInfo = '/baseBusinessMain/info';
8070
+ // 删除流程
8071
+ var processDeleteJson = '/baseBusinessMain/deleteById';
8072
+ // 保存流程
8073
+ var processSave = '/baseBusinessMain/save';
8074
+ // 修改流程
8075
+ var processUpdate = '/baseBusinessMain/update';
8076
+ // 获取节点列表
8077
+ var nodeListJson = '/baseBusinessDetail/listJson';
8078
+ // 删除节点
8079
+ var nodeDeleteJson = '/baseBusinessDetail/deleteById';
8080
+ // 保存节点
8081
+ var nodeSave = '/baseBusinessDetail/save';
8082
+ // 修改节点
8083
+ var nodeUpdate = '/baseBusinessDetail/update';
8084
+ // 根据id获取节点信息
8085
+ var nodeInfo = '/baseBusinessDetail/info';
8086
+ // 获取模块列表
8087
+ var moduleListJson = '/baseIssueModule/list';
8088
+ // 获取模块列表
8089
+ var moduleInfo = '/baseIssueModule/info';
8090
+ // 删除模块
8091
+ var moduleDelete = '/baseIssueModule/deleteById';
8092
+ // 保存模块
8093
+ var moduleSave = '/baseIssueModule/save';
8094
+ // 修改模块
8095
+ var moduleUpdate = '/baseIssueModule/update';
8096
+ // 获取规则列表
8097
+ var ruleListJson = '/baseIssueRules/list';
8098
+ // 根据id编辑规则数据
8099
+ var ruleEdit = '/baseIssueRules/edit';
8100
+ // 根据id查看规则数据
8101
+ var ruleRead = '/baseIssueRules/info';
8102
+ // 下发、保存规则
8103
+ var ruleSave = '/baseIssueRules/save';
8104
+ // 补发规则
8105
+ var ruleSupplement = '/baseIssueRules/supplement';
8106
+ // 撤回规则
8107
+ var ruleUndore = '/baseIssueRules/undore';
8108
+ // 新增规则页面数据获取接口
8109
+ var ruleAdd = '/baseIssueRules/add';
8110
+ // 企业总数-已上报数数据接口
8111
+ var companyDetail = '/baseIssueRules/companydetail';
8112
+ // 下发详情列表数据接口
8113
+ var issueDetailList = '/baseIssueDetail/list';
8114
+ // 下发详情删除规则
8115
+ var deleteRule = '/baseIssueRules/deleteById';
8116
+ // 获取组织分中心编码
8117
+ var getSysParamV1 = '/sys/v1/mecpSys/getSysParam.dhtml';
8118
+ // 下发详情列表数据接口
8119
+ var companyList = '/baseIssueDetail/list';
8120
+ // 补发接口
8121
+ var supplement = '/baseIssueRules/supplement';
8122
+ // 是否显示新增按钮(权限控制)
8123
+ var isAddSource = '/baseIssueRules/isAddSource';
8124
+ // 触发定时
8125
+ var tiggerInTime = '/baseIssueRules/tiggerInTime';
8126
+ // 修改记录列表
8127
+ var updateHistory = '/baseEntityCompare/updateHistory';
8128
+ // 修改记录列表
8129
+ var auditTrajectory = '/baseOperationRecords/listJson';
8130
+ // 暂停定时任务
8131
+ var changeInTime = '/baseIssueRules/changeInTime';
8132
+
8016
8133
  /***/ }),
8017
8134
 
8018
8135
  /***/ 8:
@@ -8037,15 +8154,15 @@ module.exports = require("eoss/lib/message-box");
8037
8154
  /* unused harmony export downloadZip */
8038
8155
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return deleteFile; });
8039
8156
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return getTableData; });
8040
- /* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30);
8157
+ /* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29);
8041
8158
  /* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_0__);
8042
- /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31);
8159
+ /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(30);
8043
8160
  /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
8044
- /* harmony import */ var _sm__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(24);
8045
- /* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(32);
8161
+ /* harmony import */ var _sm__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23);
8162
+ /* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31);
8046
8163
  /* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(json_bigint__WEBPACK_IMPORTED_MODULE_3__);
8047
- /* harmony import */ var _storage__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2);
8048
- /* harmony import */ var fetch_request_source__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(25);
8164
+ /* harmony import */ var _storage__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1);
8165
+ /* harmony import */ var fetch_request_source__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(24);
8049
8166
  /* harmony import */ var fetch_request_source__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(fetch_request_source__WEBPACK_IMPORTED_MODULE_5__);
8050
8167
  /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(0);
8051
8168
  /* harmony import */ var _config_api__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(7);
@@ -8284,7 +8401,7 @@ var ajax = function ajax(_ref) {
8284
8401
  delete params[key];
8285
8402
  }
8286
8403
  }
8287
- url = Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* urlJoinParams */ "Y"])({ url: url, param: encodedParams });
8404
+ url = Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* urlJoinParams */ "X"])({ url: url, param: encodedParams });
8288
8405
  }
8289
8406
  } else {
8290
8407
  params = {};
@@ -8642,7 +8759,7 @@ function redirectToLogin() {
8642
8759
 
8643
8760
  if (loginPage) {
8644
8761
  // 处理相对路径
8645
- if (!Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* startWith */ "S"])(loginPage, ['http', '/'], true)) {
8762
+ if (!Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* startWith */ "R"])(loginPage, ['http', '/'], true)) {
8646
8763
  var pathname = '';
8647
8764
  try {
8648
8765
  pathname = window.top.location.pathname;
@@ -8673,8 +8790,8 @@ function redirectToLogin() {
8673
8790
  * 检查 URL 参数是否包含 serverId 和 authType,如果有则先完成认证
8674
8791
  * @returns {Promise} 认证完成后 resolve
8675
8792
  */
8676
- function initAuth() {
8677
- var params = Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* getParams */ "t"])();
8793
+ var initAuth = function initAuth() {
8794
+ var params = Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* getParams */ "s"])();
8678
8795
  var token = Object(_storage__WEBPACK_IMPORTED_MODULE_4__[/* getStorage */ "a"])('token') || Object(_storage__WEBPACK_IMPORTED_MODULE_4__[/* getStorage */ "a"])('Authorization');
8679
8796
 
8680
8797
  // 已有 token 或没有认证参数,直接返回
@@ -8682,11 +8799,11 @@ function initAuth() {
8682
8799
  return Promise.resolve();
8683
8800
  }
8684
8801
 
8685
- var loadingInstance = Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* loading */ "L"])('页面加载中...');
8802
+ var loadingInstance = Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* loading */ "K"])('页面加载中...');
8686
8803
 
8687
8804
  return ajax({
8688
8805
  method: 'post',
8689
- url: _config_api__WEBPACK_IMPORTED_MODULE_7__[/* authCenter */ "b"],
8806
+ url: _config_api__WEBPACK_IMPORTED_MODULE_7__[/* authCenter */ "c"],
8690
8807
  data: params
8691
8808
  }).then(function (res) {
8692
8809
  if (res.rCode === 0) {
@@ -8734,7 +8851,7 @@ function initAuth() {
8734
8851
  }).finally(function () {
8735
8852
  loadingInstance.close();
8736
8853
  });
8737
- }
8854
+ };
8738
8855
 
8739
8856
  /**
8740
8857
  * isLogined
@@ -8761,7 +8878,7 @@ var isLogined = function isLogined(_ref3) {
8761
8878
 
8762
8879
  // 处理cookie参数
8763
8880
  if (cookie === undefined) {
8764
- cookie = Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* getParams */ "t"])({ name: 'cookie' });
8881
+ cookie = Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* getParams */ "s"])({ name: 'cookie' });
8765
8882
  }
8766
8883
 
8767
8884
  // 处理登录页面路径
@@ -8776,7 +8893,7 @@ var isLogined = function isLogined(_ref3) {
8776
8893
  sessionStorage.setItem('loginPage', loginPage);
8777
8894
 
8778
8895
  // 处理相对路径
8779
- if (!Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* startWith */ "S"])(loginPage, ['http', '/'], true)) {
8896
+ if (!Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* startWith */ "R"])(loginPage, ['http', '/'], true)) {
8780
8897
  if (pathname !== '/') {
8781
8898
  var pathParts = pathname.split('/');
8782
8899
  pathParts.splice(pathParts.length - 1);
@@ -8801,7 +8918,7 @@ var isLogined = function isLogined(_ref3) {
8801
8918
 
8802
8919
  // 处理重定向
8803
8920
  if (redirect && (to.path === '/main' || to.path === '/login')) {
8804
- window.location.replace(Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* urlJoinParams */ "Y"])({ url: '.' + to.path + '.html', param: to.query }));
8921
+ window.location.replace(Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* urlJoinParams */ "X"])({ url: '.' + to.path + '.html', param: to.query }));
8805
8922
  } else {
8806
8923
  next();
8807
8924
  }
@@ -8854,7 +8971,7 @@ function redirectToLoginPage(loginPage, next) {
8854
8971
  * @param {function} callback - 回调函数
8855
8972
  **/
8856
8973
  var getMainConfig = function getMainConfig(callback) {
8857
- ajax({ url: _config_api__WEBPACK_IMPORTED_MODULE_7__[/* mainConfig */ "fb"], params: { userConfigTypes: 'customMenus,customConfig' } }).then(function (res) {
8974
+ ajax({ url: _config_api__WEBPACK_IMPORTED_MODULE_7__[/* mainConfig */ "ob"], params: { userConfigTypes: 'customMenus,customConfig' } }).then(function (res) {
8858
8975
  if (res && res.rCode === 0) {
8859
8976
  callback(res.results);
8860
8977
  }
@@ -8877,7 +8994,7 @@ var getSysCodeList = function getSysCodeList(_ref4) {
8877
8994
  method = _ref4$method === undefined ? 'POST' : _ref4$method,
8878
8995
  service = _ref4.service,
8879
8996
  _ref4$url = _ref4.url,
8880
- url = _ref4$url === undefined ? _config_api__WEBPACK_IMPORTED_MODULE_7__[/* findSysCode */ "t"] : _ref4$url,
8997
+ url = _ref4$url === undefined ? _config_api__WEBPACK_IMPORTED_MODULE_7__[/* findSysCode */ "A"] : _ref4$url,
8881
8998
  sysCode = _ref4.sysCode,
8882
8999
  _ref4$param = _ref4.param,
8883
9000
  param = _ref4$param === undefined ? {} : _ref4$param,
@@ -8987,7 +9104,7 @@ var downloadFile = function downloadFile(_ref6) {
8987
9104
  file = _ref6.file,
8988
9105
  withToken = _ref6.withToken;
8989
9106
 
8990
- var dochubConfig = Object(_storage__WEBPACK_IMPORTED_MODULE_4__[/* getStorage */ "a"])('dochubConfig') || { downloadDocumentUrl: _config_api__WEBPACK_IMPORTED_MODULE_7__[/* downloadByAdjunctId */ "o"] };
9107
+ var dochubConfig = Object(_storage__WEBPACK_IMPORTED_MODULE_4__[/* getStorage */ "a"])('dochubConfig') || { downloadDocumentUrl: _config_api__WEBPACK_IMPORTED_MODULE_7__[/* downloadByAdjunctId */ "v"] };
8991
9108
 
8992
9109
  var downloadUrl = '';
8993
9110
  if (file.adjunctId || file.response && file.response.adjunctId) {
@@ -9004,7 +9121,7 @@ var downloadFile = function downloadFile(_ref6) {
9004
9121
 
9005
9122
  // 拼接URL参数
9006
9123
  if (Object.keys(params).length > 0) {
9007
- downloadUrl = Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* urlJoinParams */ "Y"])({ url: downloadUrl, param: params });
9124
+ downloadUrl = Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* urlJoinParams */ "X"])({ url: downloadUrl, param: params });
9008
9125
  }
9009
9126
  } else if (file.raw) {
9010
9127
  downloadUrl = URL.createObjectURL(file.raw);
@@ -9050,7 +9167,7 @@ var downloadZip = function downloadZip(_ref7) {
9050
9167
  code = _ref7.code,
9051
9168
  option = _objectWithoutProperties(_ref7, ['withToken', 'fileName', 'url', 'ownId', 'code']);
9052
9169
 
9053
- var dochubConfig = Object(_storage__WEBPACK_IMPORTED_MODULE_4__[/* getStorage */ "a"])('dochubConfig') || { compressDownloadDocumentUrl: _config_api__WEBPACK_IMPORTED_MODULE_7__[/* uploadDownloads */ "fc"] };
9170
+ var dochubConfig = Object(_storage__WEBPACK_IMPORTED_MODULE_4__[/* getStorage */ "a"])('dochubConfig') || { compressDownloadDocumentUrl: _config_api__WEBPACK_IMPORTED_MODULE_7__[/* uploadDownloads */ "Nc"] };
9054
9171
 
9055
9172
  // 处理URL和参数
9056
9173
  var downloadUrl = url ? url : dochubConfig.compressDownloadDocumentUrl;
@@ -9066,7 +9183,7 @@ var downloadZip = function downloadZip(_ref7) {
9066
9183
 
9067
9184
  // 拼接URL参数
9068
9185
  if (Object.keys(params).length > 0) {
9069
- downloadUrl = Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* urlJoinParams */ "Y"])({ url: downloadUrl, param: params });
9186
+ downloadUrl = Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* urlJoinParams */ "X"])({ url: downloadUrl, param: params });
9070
9187
  }
9071
9188
 
9072
9189
  // 创建a标签
@@ -9102,7 +9219,7 @@ var deleteFile = function deleteFile(_ref8) {
9102
9219
  onSuccess = _ref8.onSuccess,
9103
9220
  onError = _ref8.onError;
9104
9221
 
9105
- var dochubConfig = JSON.parse(Object(_storage__WEBPACK_IMPORTED_MODULE_4__[/* getStorage */ "a"])('dochubConfig') || '{ deleteDocumentUrl: \'' + _config_api__WEBPACK_IMPORTED_MODULE_7__[/* delAdjunct */ "g"] + '\' }');
9222
+ var dochubConfig = JSON.parse(Object(_storage__WEBPACK_IMPORTED_MODULE_4__[/* getStorage */ "a"])('dochubConfig') || '{ deleteDocumentUrl: \'' + _config_api__WEBPACK_IMPORTED_MODULE_7__[/* delAdjunct */ "m"] + '\' }');
9106
9223
 
9107
9224
  // 处理URL和参数
9108
9225
  var deleteUrl = url ? url : dochubConfig.deleteDocumentUrl;
@@ -9171,7 +9288,7 @@ var getTableData = function getTableData(_ref9) {
9171
9288
  onSuccess = _ref9.onSuccess,
9172
9289
  onError = _ref9.onError;
9173
9290
 
9174
- var loadingInstance = Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* loading */ "L"])('数据加载中...');
9291
+ var loadingInstance = Object(_util__WEBPACK_IMPORTED_MODULE_6__[/* loading */ "K"])('数据加载中...');
9175
9292
  return new Promise(function (resolve, reject) {
9176
9293
  ajax({
9177
9294
  method: method,