eoss-ui 0.5.33 → 0.5.35

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 (63) hide show
  1. package/CHANGELOG.md +929 -0
  2. package/lib/button-group.js +115 -95
  3. package/lib/button.js +115 -95
  4. package/lib/checkbox-group.js +118 -99
  5. package/lib/config/api.js +2 -0
  6. package/lib/data-table-form.js +116 -96
  7. package/lib/data-table.js +119 -99
  8. package/lib/date-picker.js +115 -95
  9. package/lib/dialog.js +123 -99
  10. package/lib/eoss-ui.common.js +628 -436
  11. package/lib/flow-group.js +184 -134
  12. package/lib/flow-list.js +119 -99
  13. package/lib/flow.js +163 -143
  14. package/lib/form.js +116 -96
  15. package/lib/handle-user.js +116 -96
  16. package/lib/handler.js +229 -161
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +115 -95
  19. package/lib/input.js +115 -95
  20. package/lib/login.js +243 -126
  21. package/lib/main.js +149 -138
  22. package/lib/nav.js +115 -95
  23. package/lib/notify.js +103 -100
  24. package/lib/page.js +115 -95
  25. package/lib/player.js +115 -95
  26. package/lib/qr-code.js +115 -95
  27. package/lib/radio-group.js +116 -96
  28. package/lib/retrial-auth.js +118 -98
  29. package/lib/select-ganged.js +115 -95
  30. package/lib/select.js +116 -96
  31. package/lib/selector-panel.js +133 -113
  32. package/lib/selector.js +116 -96
  33. package/lib/sizer.js +117 -97
  34. package/lib/steps.js +115 -95
  35. package/lib/switch.js +115 -95
  36. package/lib/table-form.js +115 -95
  37. package/lib/tabs.js +115 -95
  38. package/lib/theme-chalk/handler.css +1 -1
  39. package/lib/theme-chalk/index.css +1 -1
  40. package/lib/tips.js +116 -96
  41. package/lib/toolbar.js +24 -21
  42. package/lib/tree-group.js +115 -95
  43. package/lib/tree.js +116 -96
  44. package/lib/upload.js +125 -105
  45. package/lib/utils/util.js +17 -0
  46. package/lib/wujie.js +115 -95
  47. package/lib/wxlogin.js +115 -95
  48. package/package.json +2 -2
  49. package/packages/checkbox-group/src/main.vue +0 -1
  50. package/packages/dialog/src/main.vue +6 -2
  51. package/packages/flow-group/src/main.vue +40 -18
  52. package/packages/handler/src/main.vue +52 -32
  53. package/packages/login/src/main.vue +78 -10
  54. package/packages/login/src/resetPassword.vue +7 -5
  55. package/packages/main/src/main.vue +11 -26
  56. package/packages/main/src/userinfo.vue +1 -1
  57. package/packages/theme-chalk/lib/handler.css +1 -1
  58. package/packages/theme-chalk/lib/index.css +1 -1
  59. package/packages/theme-chalk/src/handler.scss +3 -1
  60. package/packages/toolbar/src/main.vue +20 -20
  61. package/src/config/api.js +2 -0
  62. package/src/index.js +1 -1
  63. package/src/utils/util.js +22 -2
package/lib/upload.js CHANGED
@@ -1294,6 +1294,7 @@ var getLength = function getLength(text) {
1294
1294
  * @desc:转换明度
1295
1295
  * @author huangbo
1296
1296
  * @date 2022年5月7日
1297
+ * @return {string,array} 元素类名或者id
1297
1298
  **/
1298
1299
  var getLightness = function getLightness($v, $i, $isLight) {
1299
1300
  var $value = $isLight ? $v + $brightnessStep1 * $i : $v - $brightnessStep2 * $i;
@@ -1301,6 +1302,21 @@ var getLightness = function getLightness($v, $i, $isLight) {
1301
1302
  return toFixed($value, 2);
1302
1303
  };
1303
1304
 
1305
+ /**
1306
+ * getMainConfig
1307
+ * @desc 获取系统配置
1308
+ * @author huangbo
1309
+ * @date 2022年5月7日
1310
+ * @param {function} callback - 回调函数
1311
+ **/
1312
+ var getMainConfig = function getMainConfig(callback) {
1313
+ ajax({ url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* mainConfig */ "db"] }).then(function (res) {
1314
+ if (res && res.rCode === 0) {
1315
+ callback(res.results);
1316
+ }
1317
+ }).catch(function () {});
1318
+ };
1319
+
1304
1320
  /**
1305
1321
  * getMinute
1306
1322
  * @desc 获取分钟
@@ -2931,6 +2947,7 @@ var watermark = function watermark(option) {
2931
2947
  getHour: getHour,
2932
2948
  getWeekNumber: getWeekNumber,
2933
2949
  getLength: getLength,
2950
+ getMainConfig: getMainConfig,
2934
2951
  getMinute: getMinute,
2935
2952
  getMonth: getMonth,
2936
2953
  getObjectType: getObjectType,
@@ -2992,128 +3009,129 @@ var watermark = function watermark(option) {
2992
3009
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2993
3010
 
2994
3011
  "use strict";
2995
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return doCaLogin; });
2996
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return doUserLogin; });
2997
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return doQrLogin; });
2998
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return logout; });
2999
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return initLogin; });
3000
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return switchUserTo; });
3012
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return doCaLogin; });
3013
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return doUserLogin; });
3014
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doQrLogin; });
3015
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return logout; });
3016
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return initLogin; });
3017
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return switchUserTo; });
3001
3018
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return changeImg; });
3002
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return getLoginCode; });
3003
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return doCodeLogin; });
3019
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return getLoginCode; });
3020
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return doCodeLogin; });
3004
3021
  /* unused harmony export updateCode */
3005
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return getModifyPassCode; });
3022
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getModifyPassCode; });
3006
3023
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return codeModifyPass; });
3007
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return loginModifyPassword; });
3024
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return loginModifyPassword; });
3008
3025
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return authCenter; });
3009
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return initModifyPassword; });
3010
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return doWechatQrLogin; });
3011
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return getTwoFactorLoginCode; });
3012
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doTwoFactorLogin; });
3013
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return initRetrialAuth; });
3014
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return getRetrialAuthCode; });
3015
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return scanCodeRetrialAuth; });
3026
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return initModifyPassword; });
3027
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return doWechatQrLogin; });
3028
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return getTwoFactorLoginCode; });
3029
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return doTwoFactorLogin; });
3030
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return initRetrialAuth; });
3031
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return getRetrialAuthCode; });
3032
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return scanCodeRetrialAuth; });
3016
3033
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return codeRetrialAuth; });
3017
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return mainConfig; });
3018
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return initUserSet; });
3019
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return updateUserInfo; });
3034
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return doAssistanceQrLogin; });
3035
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return mainConfig; });
3036
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return initUserSet; });
3037
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return updateUserInfo; });
3020
3038
  /* unused harmony export getUserImgUrl */
3021
3039
  /* unused harmony export getDoorIndex */
3022
3040
  /* unused harmony export refreshOnlineUsers */
3023
3041
  /* unused harmony export getQuickMenuIds */
3024
3042
  /* unused harmony export getApplicationIdArray */
3025
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return getComplexApplications; });
3026
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return getComplexApplicationsNew; });
3043
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return getComplexApplications; });
3044
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getComplexApplicationsNew; });
3027
3045
  /* unused harmony export getUserCustomInfo */
3028
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return updateUserCustomInfo; });
3029
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return sysMsgPage; });
3030
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return ignoreSysMsg; });
3031
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return ignoreAllSysMsg; });
3032
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return getAdjunctProperties; });
3033
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return uploads; });
3034
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return uploadOnlyOne; });
3035
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return getAdjunctFileInfos; });
3036
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return uploadSort; });
3037
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return downloadByAdjunctId; });
3038
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return uploadDownloads; });
3039
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return previewAdjunct; });
3040
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return previewAdjunct2; });
3041
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return previewAdjunctOffice; });
3046
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return updateUserCustomInfo; });
3047
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return sysMsgPage; });
3048
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return ignoreSysMsg; });
3049
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return ignoreAllSysMsg; });
3050
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return getAdjunctProperties; });
3051
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ac", function() { return uploads; });
3052
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return uploadOnlyOne; });
3053
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return getAdjunctFileInfos; });
3054
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return uploadSort; });
3055
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return downloadByAdjunctId; });
3056
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return uploadDownloads; });
3057
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return previewAdjunct; });
3058
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return previewAdjunct2; });
3059
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return previewAdjunctOffice; });
3042
3060
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return delAdjunct; });
3043
3061
  /* unused harmony export upload_updateClassify */
3044
3062
  /* unused harmony export getDeleteAdjunctFileInfos */
3045
3063
  /* unused harmony export getPictureBase64 */
3046
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return getSelectorOrgTree; });
3047
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return getSelectorOrgDetail; });
3048
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getOrgMainTree; });
3049
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return getSelectOrgsubids; });
3050
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return findSysCode; });
3064
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return getSelectorOrgTree; });
3065
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return getSelectorOrgDetail; });
3066
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getOrgMainTree; });
3067
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return getSelectOrgsubids; });
3068
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return findSysCode; });
3051
3069
  /* unused harmony export findUserBaseInfo */
3052
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return gethelpdoc; });
3070
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return gethelpdoc; });
3053
3071
  /* unused harmony export getCurrentuser */
3054
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return mainDetail; });
3055
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return toStartFlow; });
3056
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return tempSave; });
3072
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return mainDetail; });
3073
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toStartFlow; });
3074
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return tempSave; });
3057
3075
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return commonOpion; });
3058
3076
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
3059
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return editCommonOpion; });
3060
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return saveCommonOpinion; });
3061
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return updateCommonOpinion; });
3077
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return editCommonOpion; });
3078
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return saveCommonOpinion; });
3079
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return updateCommonOpinion; });
3062
3080
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return deleteCommonOpion; });
3063
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getProcessDefList; });
3064
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getNodeInfo; });
3065
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return findCodeValues; });
3066
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return findSysParam; });
3067
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return findSysCodes; });
3068
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return getNotificationMsg; });
3069
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getHandleInfoHtml; });
3070
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return taskHandleHtml; });
3081
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return getProcessDefList; });
3082
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return getNodeInfo; });
3083
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return findCodeValues; });
3084
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return findSysParam; });
3085
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return findSysCodes; });
3086
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getNotificationMsg; });
3087
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return getHandleInfoHtml; });
3088
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return taskHandleHtml; });
3071
3089
  /* unused harmony export getView */
3072
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return register; });
3073
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return pendedhistoryList; });
3074
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return toTaskRejectHtml; });
3075
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return taskRejectHtml; });
3076
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toStartTaskRead; });
3077
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toStartTaskReadIndex; });
3078
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return taskReadHtml; });
3079
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return rejectAndEnd; });
3080
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return toSendMsg; });
3081
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return sendMsg; });
3082
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return endFlowHtml; });
3083
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return handleInfo; });
3084
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return loginUserInfo; });
3085
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ac", function() { return wss; });
3086
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return topic; });
3087
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getPresetCustomInfo; });
3088
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return getPresetNodeInfo; });
3089
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return toTaskTransferIndex; });
3090
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return taskTransfer; });
3091
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return toPresetInfoListIndex; });
3090
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return register; });
3091
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return pendedhistoryList; });
3092
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return toTaskRejectHtml; });
3093
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return taskRejectHtml; });
3094
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toStartTaskRead; });
3095
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return toStartTaskReadIndex; });
3096
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return taskReadHtml; });
3097
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return rejectAndEnd; });
3098
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return toSendMsg; });
3099
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return sendMsg; });
3100
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return endFlowHtml; });
3101
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return handleInfo; });
3102
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return loginUserInfo; });
3103
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bc", function() { return wss; });
3104
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return topic; });
3105
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return getPresetCustomInfo; });
3106
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getPresetNodeInfo; });
3107
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return toTaskTransferIndex; });
3108
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return taskTransfer; });
3109
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return toPresetInfoListIndex; });
3092
3110
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return deletePresetInfo; });
3093
3111
  /* unused harmony export historyListJson */
3094
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return pendedhistoryListJson; });
3095
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return pressListJson; });
3112
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return pendedhistoryListJson; });
3113
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return pressListJson; });
3096
3114
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return deleteFlow; });
3097
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return isCanStartSubFlow; });
3098
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return toTaskUnionExamine; });
3099
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return taskUnionExamine; });
3100
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return toTaskTakeAdvice; });
3101
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return taskTakeAdvice; });
3102
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return toTaskStartDraft; });
3103
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return taskStartDraft; });
3104
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return toTaskReview; });
3105
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return taskReview; });
3106
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return toTaskUnionSeal; });
3107
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return taskUnionSeal; });
3108
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return toTwoOfficesDispatch; });
3109
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return twoOfficesDispatch; });
3110
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return sendList; });
3111
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return sendInfo; });
3115
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return isCanStartSubFlow; });
3116
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return toTaskUnionExamine; });
3117
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return taskUnionExamine; });
3118
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return toTaskTakeAdvice; });
3119
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return taskTakeAdvice; });
3120
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return toTaskStartDraft; });
3121
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return taskStartDraft; });
3122
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return toTaskReview; });
3123
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return taskReview; });
3124
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return toTaskUnionSeal; });
3125
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return taskUnionSeal; });
3126
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return toTwoOfficesDispatch; });
3127
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return twoOfficesDispatch; });
3128
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return sendList; });
3129
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return sendInfo; });
3112
3130
  /* unused harmony export sendSave */
3113
3131
  /* unused harmony export sendUpdate */
3114
3132
  /* unused harmony export sendDelete */
3115
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return sendBatch; });
3116
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return formContents; });
3133
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return sendBatch; });
3134
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return formContents; });
3117
3135
  // 登录
3118
3136
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
3119
3137
  var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
@@ -3137,6 +3155,8 @@ var initRetrialAuth = '/sso2/retrialAuth/initRetrialAuth'; // 初始化二级身
3137
3155
  var getRetrialAuthCode = '/sso2/retrialAuth/getRetrialAuthCode'; // 获取二级身份验证验证码
3138
3156
  var scanCodeRetrialAuth = '/sso2/retrialAuth/scanCodeRetrialAuth'; // 二维码扫码验证(二级权限验证)
3139
3157
  var codeRetrialAuth = '/sso2/retrialAuth/codeRetrialAuth'; // 二级身份验证-验证码验证
3158
+ var doAssistanceQrLogin = '/sso2/signIn/auth/doAssistanceQrLogin'; // 二级身份验证-验证码验证
3159
+
3140
3160
  // 框架
3141
3161
  var mainConfig = '/main2/main/mainConfig'; // 获取主页面配置
3142
3162
  var initUserSet = '/main2/main/initUserSet'; // 获取用户信息
@@ -4464,7 +4484,7 @@ var _props;
4464
4484
  }, _props.properties = {
4465
4485
  type: String,
4466
4486
  default: function _default() {
4467
- return api["z" /* getAdjunctProperties */];
4487
+ return api["A" /* getAdjunctProperties */];
4468
4488
  }
4469
4489
  }, _props.icons = {
4470
4490
  type: Object,
@@ -4497,7 +4517,7 @@ var _props;
4497
4517
  videoChange: false,
4498
4518
  source: '',
4499
4519
  excludeNames: '',
4500
- previewAdjunct: api["hb" /* previewAdjunct */],
4520
+ previewAdjunct: api["ib" /* previewAdjunct */],
4501
4521
  boxHeight: this.listHeight,
4502
4522
  kkfileview: null
4503
4523
  };
@@ -4543,7 +4563,7 @@ var _props;
4543
4563
  return this.showFileList;
4544
4564
  },
4545
4565
  url: function url() {
4546
- var url = this.action ? this.action : this.portrait ? api["Xb" /* uploadOnlyOne */] : api["Zb" /* uploads */];
4566
+ var url = this.action ? this.action : this.portrait ? api["Yb" /* uploadOnlyOne */] : api["ac" /* uploads */];
4547
4567
  return url.indexOf(this.host) > -1 ? url : this.host + url;
4548
4568
  },
4549
4569
  excludes: function excludes() {
@@ -4559,7 +4579,7 @@ var _props;
4559
4579
  return this.totalSize ? this.totalSize : this.fileTotalSize ? this.fileTotalSize : 0;
4560
4580
  },
4561
4581
  getAdjunctFileInfos: function getAdjunctFileInfos() {
4562
- return typeof this.fileList === 'string' ? this.fileList : api["y" /* getAdjunctFileInfos */];
4582
+ return typeof this.fileList === 'string' ? this.fileList : api["z" /* getAdjunctFileInfos */];
4563
4583
  },
4564
4584
  showList: function showList() {
4565
4585
  return this.portrait ? false : this.showFileList;
@@ -4823,7 +4843,7 @@ var _props;
4823
4843
  host += this.host;
4824
4844
  }
4825
4845
  }
4826
- var url = encodeURIComponent(external_js_base64_["Base64"].encode(host + (typeof this.download === 'string' ? this.download : api["q" /* downloadByAdjunctId */]) + ('?adjunctId=' + (file.adjunctId || file.response.adjunctId) + '&fullfilename=' + file.originalName)));
4846
+ var url = encodeURIComponent(external_js_base64_["Base64"].encode(host + (typeof this.download === 'string' ? this.download : api["r" /* downloadByAdjunctId */]) + ('?adjunctId=' + (file.adjunctId || file.response.adjunctId) + '&fullfilename=' + file.originalName)));
4827
4847
  util["a" /* default */].win.top.open(this.kkfileview + '?url=' + url);
4828
4848
  },
4829
4849
  handlePreview: function handlePreview(res) {
@@ -4842,13 +4862,13 @@ var _props;
4842
4862
  if (this.kkfileview) {
4843
4863
  this.openKkfileview(file);
4844
4864
  } else {
4845
- util["a" /* default */].win.top.open(this.host + (url ? url : api["jb" /* previewAdjunctOffice */]) + '?cmd=view&bucketName=' + file.absolutePath + '&fileId=' + file.adjunctId + '&fileName=' + file.newName);
4865
+ util["a" /* default */].win.top.open(this.host + (url ? url : api["kb" /* previewAdjunctOffice */]) + '?cmd=view&bucketName=' + file.absolutePath + '&fileId=' + file.adjunctId + '&fileName=' + file.newName);
4846
4866
  }
4847
4867
  } else if (suffix.includes('pdf')) {
4848
4868
  if (this.kkfileview) {
4849
4869
  this.openKkfileview(file);
4850
4870
  } else {
4851
- util["a" /* default */].win.top.open(this.host + (url ? url : api["ib" /* previewAdjunct2 */]) + '/' + file.originalName + '?adjunctId=' + file.adjunctId);
4871
+ util["a" /* default */].win.top.open(this.host + (url ? url : api["jb" /* previewAdjunct2 */]) + '/' + file.originalName + '?adjunctId=' + file.adjunctId);
4852
4872
  }
4853
4873
  } else if (suffix.includes('jpge') || suffix.includes('jpg') || suffix.includes('gif') || suffix.includes('png')) {
4854
4874
  this.imgUrl = res.url && util["a" /* default */].startWith(url, ['http', '/', true]) ? res.url : this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId;
@@ -5010,12 +5030,12 @@ var _props;
5010
5030
  }
5011
5031
  },
5012
5032
  handleDownloads: function handleDownloads() {
5013
- var url = typeof this.downloads === 'string' ? this.downloads : api["Wb" /* uploadDownloads */];
5033
+ var url = typeof this.downloads === 'string' ? this.downloads : api["Xb" /* uploadDownloads */];
5014
5034
  util["a" /* default */].win.open(this.host + url + '?ownId=' + this.ownId + '&code=' + this.code + (this.extendCode ? '&extendCode=' + this.extendCode : ''));
5015
5035
  },
5016
5036
  handleDownload: function handleDownload(file) {
5017
5037
  if (file.status === 'success') {
5018
- var url = typeof this.download === 'string' ? this.download : api["q" /* downloadByAdjunctId */];
5038
+ var url = typeof this.download === 'string' ? this.download : api["r" /* downloadByAdjunctId */];
5019
5039
  util["a" /* default */].win.open(this.host + url + '?adjunctId=' + (file.adjunctId || file.response.adjunctId));
5020
5040
  } else {
5021
5041
  this.aLinkDownload(file);
@@ -5050,7 +5070,7 @@ var _props;
5050
5070
  ids = ids.join(',');
5051
5071
  util["a" /* default */].ajax({
5052
5072
  method: this.method,
5053
- url: api["Yb" /* uploadSort */],
5073
+ url: api["Zb" /* uploadSort */],
5054
5074
  data: {
5055
5075
  ids: ids
5056
5076
  },
package/lib/utils/util.js CHANGED
@@ -1212,6 +1212,7 @@ var getLength = function getLength(text) {
1212
1212
  * @desc:转换明度
1213
1213
  * @author huangbo
1214
1214
  * @date 2022年5月7日
1215
+ * @return {string,array} 元素类名或者id
1215
1216
  **/
1216
1217
  var getLightness = function getLightness($v, $i, $isLight) {
1217
1218
  var $value = $isLight ? $v + $brightnessStep1 * $i : $v - $brightnessStep2 * $i;
@@ -1219,6 +1220,21 @@ var getLightness = function getLightness($v, $i, $isLight) {
1219
1220
  return toFixed($value, 2);
1220
1221
  };
1221
1222
 
1223
+ /**
1224
+ * getMainConfig
1225
+ * @desc 获取系统配置
1226
+ * @author huangbo
1227
+ * @date 2022年5月7日
1228
+ * @param {function} callback - 回调函数
1229
+ **/
1230
+ var getMainConfig = function getMainConfig(callback) {
1231
+ ajax({ url: _api.mainConfig }).then(function (res) {
1232
+ if (res && res.rCode === 0) {
1233
+ callback(res.results);
1234
+ }
1235
+ }).catch(function () {});
1236
+ };
1237
+
1222
1238
  /**
1223
1239
  * getMinute
1224
1240
  * @desc 获取分钟
@@ -2849,6 +2865,7 @@ exports.default = {
2849
2865
  getHour: getHour,
2850
2866
  getWeekNumber: getWeekNumber,
2851
2867
  getLength: getLength,
2868
+ getMainConfig: getMainConfig,
2852
2869
  getMinute: getMinute,
2853
2870
  getMonth: getMonth,
2854
2871
  getObjectType: getObjectType,