eoss-ui 0.5.81-beta → 0.5.81-beta10
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.
- package/lib/button-group.js +50 -50
- package/lib/button.js +50 -50
- package/lib/checkbox-group.js +50 -50
- package/lib/data-table-form.js +50 -50
- package/lib/data-table.js +195 -174
- package/lib/date-picker.js +50 -50
- package/lib/dialog.js +50 -50
- package/lib/eoss-ui.common.js +2592 -1440
- package/lib/flow-group.js +50 -50
- package/lib/flow-list.js +53 -53
- package/lib/flow.js +71 -71
- package/lib/form.js +90 -52
- package/lib/handle-user.js +67 -54
- package/lib/handler.js +59 -53
- package/lib/icon.js +78 -58
- package/lib/index.js +1 -1
- package/lib/input-number.js +50 -50
- package/lib/input.js +50 -50
- package/lib/login.js +59 -56
- package/lib/main.js +2214 -1212
- package/lib/nav.js +50 -50
- package/lib/notify.js +55 -55
- package/lib/page.js +50 -50
- package/lib/player.js +50 -50
- package/lib/qr-code.js +50 -50
- package/lib/radio-group.js +50 -50
- package/lib/retrial-auth.js +51 -51
- package/lib/select-ganged.js +50 -50
- package/lib/select.js +51 -51
- package/lib/selector-panel.js +115 -67
- package/lib/selector.js +58 -54
- package/lib/sizer.js +50 -50
- package/lib/steps.js +50 -50
- package/lib/switch.js +50 -50
- package/lib/table-form.js +50 -50
- package/lib/tabs.js +50 -50
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/button-group.css +1 -1
- package/lib/theme-chalk/data-table.css +1 -1
- package/lib/theme-chalk/form.css +1 -1
- package/lib/theme-chalk/handler.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/lib/theme-chalk/menu.css +1 -1
- package/lib/theme-chalk/nav.css +1 -1
- package/lib/theme-chalk/selector-panel.css +1 -1
- package/lib/theme-chalk/simplicity.css +1 -1
- package/lib/theme-chalk/sizer.css +1 -1
- package/lib/theme-chalk/tree.css +1 -1
- package/lib/theme-chalk/upload.css +1 -1
- package/lib/tips.js +50 -50
- package/lib/tree-group.js +50 -50
- package/lib/tree.js +50 -50
- package/lib/upload.js +63 -63
- package/lib/wujie.js +50 -50
- package/lib/wxlogin.js +50 -50
- package/package.json +2 -2
- package/packages/data-table/src/main.vue +53 -28
- package/packages/form/src/main.vue +38 -8
- package/packages/handle-user/src/main.vue +10 -3
- package/packages/handler/src/main.vue +2 -0
- package/packages/icon/src/main.vue +23 -6
- package/packages/login/src/main.vue +11 -4
- package/packages/main/src/default/index.vue +32 -109
- package/packages/main/src/main.vue +17 -16
- package/packages/main/src/simplicity/apps.vue +201 -133
- package/packages/main/src/simplicity/avatar.vue +16 -6
- package/packages/main/src/simplicity/handler.vue +77 -37
- package/packages/main/src/simplicity/index.vue +485 -199
- package/packages/main/src/simplicity/menu-list.vue +75 -22
- package/packages/main/src/simplicity/message.vue +35 -25
- package/packages/main/src/simplicity/notice.vue +72 -39
- package/packages/main/src/simplicity/router-page.vue +53 -0
- package/packages/main/src/simplicity/settings.vue +1 -1
- package/packages/main/src/simplicity/sub-menu.vue +163 -55
- package/packages/main/src/simplicity/user.vue +10 -5
- package/packages/main/src/simplicity/userinfo.vue +1 -0
- package/packages/select/src/main.vue +4 -1
- package/packages/selector/src/main.vue +6 -2
- package/packages/selector-panel/src/main.vue +22 -8
- package/packages/selector-panel/src/selection.vue +6 -0
- package/packages/theme-chalk/lib/base.css +1 -1
- package/packages/theme-chalk/lib/button-group.css +1 -1
- package/packages/theme-chalk/lib/data-table.css +1 -1
- package/packages/theme-chalk/lib/form.css +1 -1
- package/packages/theme-chalk/lib/handler.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/main.css +1 -1
- package/packages/theme-chalk/lib/menu.css +1 -1
- package/packages/theme-chalk/lib/nav.css +1 -1
- package/packages/theme-chalk/lib/selector-panel.css +1 -1
- package/packages/theme-chalk/lib/simplicity.css +1 -1
- package/packages/theme-chalk/lib/sizer.css +1 -1
- package/packages/theme-chalk/lib/tree.css +1 -1
- package/packages/theme-chalk/lib/upload.css +1 -1
- package/packages/theme-chalk/src/base.scss +5 -0
- package/packages/theme-chalk/src/button-group.scss +3 -3
- package/packages/theme-chalk/src/common/var.scss +6 -0
- package/packages/theme-chalk/src/data-table.scss +9 -12
- package/packages/theme-chalk/src/form.scss +2 -4
- package/packages/theme-chalk/src/handler.scss +5 -1
- package/packages/theme-chalk/src/login.scss +2 -2
- package/packages/theme-chalk/src/main.scss +2 -2
- package/packages/theme-chalk/src/nav.scss +3 -2
- package/packages/theme-chalk/src/selector-panel.scss +2 -1
- package/packages/theme-chalk/src/simplicity.scss +364 -61
- package/packages/theme-chalk/src/tree.scss +4 -2
- package/packages/upload/src/main.vue +3 -1
- package/src/index.js +1 -1
package/lib/wxlogin.js
CHANGED
|
@@ -3251,7 +3251,7 @@ var watermark = function watermark(option) {
|
|
|
3251
3251
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doQrLogin; });
|
|
3252
3252
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return logout; });
|
|
3253
3253
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return initLogin; });
|
|
3254
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3254
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return switchUserTo; });
|
|
3255
3255
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return changeImg; });
|
|
3256
3256
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getLoginCode; });
|
|
3257
3257
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return doCodeLogin; });
|
|
@@ -3266,12 +3266,12 @@ var watermark = function watermark(option) {
|
|
|
3266
3266
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return doTwoFactorLogin; });
|
|
3267
3267
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return initRetrialAuth; });
|
|
3268
3268
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return getRetrialAuthCode; });
|
|
3269
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3269
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return scanCodeRetrialAuth; });
|
|
3270
3270
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return codeRetrialAuth; });
|
|
3271
3271
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return doAssistanceQrLogin; });
|
|
3272
3272
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return mainConfig; });
|
|
3273
3273
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return initUserSet; });
|
|
3274
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3274
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return updateUserInfo; });
|
|
3275
3275
|
/* unused harmony export getUserImgUrl */
|
|
3276
3276
|
/* unused harmony export getDoorIndex */
|
|
3277
3277
|
/* unused harmony export refreshOnlineUsers */
|
|
@@ -3281,20 +3281,20 @@ var watermark = function watermark(option) {
|
|
|
3281
3281
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getComplexApplicationsNew; });
|
|
3282
3282
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return getUserAppWithTag; });
|
|
3283
3283
|
/* unused harmony export getUserCustomInfo */
|
|
3284
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3285
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3284
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return updateUserCustomInfo; });
|
|
3285
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return sysMsgPage; });
|
|
3286
3286
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return ignoreSysMsg; });
|
|
3287
3287
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return ignoreAllSysMsg; });
|
|
3288
3288
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return getAdjunctProperties; });
|
|
3289
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3290
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3289
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bc", function() { return uploads; });
|
|
3290
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return uploadOnlyOne; });
|
|
3291
3291
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return getAdjunctFileInfos; });
|
|
3292
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3292
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ac", function() { return uploadSort; });
|
|
3293
3293
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return downloadByAdjunctId; });
|
|
3294
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3295
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3296
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3297
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3294
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return uploadDownloads; });
|
|
3295
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return previewAdjunct; });
|
|
3296
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return previewAdjunct2; });
|
|
3297
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return previewAdjunctOffice; });
|
|
3298
3298
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return delAdjunct; });
|
|
3299
3299
|
/* unused harmony export upload_updateClassify */
|
|
3300
3300
|
/* unused harmony export getDeleteAdjunctFileInfos */
|
|
@@ -3308,14 +3308,14 @@ var watermark = function watermark(option) {
|
|
|
3308
3308
|
/* unused harmony export findUserBaseInfo */
|
|
3309
3309
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return gethelpdoc; });
|
|
3310
3310
|
/* unused harmony export getCurrentuser */
|
|
3311
|
-
/* harmony export
|
|
3312
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3313
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3311
|
+
/* unused harmony export mainDetail */
|
|
3312
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toStartFlow; });
|
|
3313
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return tempSave; });
|
|
3314
3314
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return commonOpion; });
|
|
3315
3315
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
|
|
3316
3316
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return editCommonOpion; });
|
|
3317
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3318
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3317
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return saveCommonOpinion; });
|
|
3318
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return updateCommonOpinion; });
|
|
3319
3319
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return deleteCommonOpion; });
|
|
3320
3320
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return getProcessDefList; });
|
|
3321
3321
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getNodeInfo; });
|
|
@@ -3324,52 +3324,52 @@ var watermark = function watermark(option) {
|
|
|
3324
3324
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return findSysCodes; });
|
|
3325
3325
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getNotificationMsg; });
|
|
3326
3326
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return getHandleInfoHtml; });
|
|
3327
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3327
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return taskHandleHtml; });
|
|
3328
3328
|
/* unused harmony export getView */
|
|
3329
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3330
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3331
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3332
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3333
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3334
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3335
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3336
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3337
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3338
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3329
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return register; });
|
|
3330
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return pendedhistoryList; });
|
|
3331
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return toTaskRejectHtml; });
|
|
3332
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return taskRejectHtml; });
|
|
3333
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return toStartTaskRead; });
|
|
3334
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return toStartTaskReadIndex; });
|
|
3335
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return taskReadHtml; });
|
|
3336
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return rejectAndEnd; });
|
|
3337
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toSendMsg; });
|
|
3338
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return sendMsg; });
|
|
3339
3339
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return endFlowHtml; });
|
|
3340
3340
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return handleInfo; });
|
|
3341
3341
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return loginUserInfo; });
|
|
3342
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3343
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3342
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cc", function() { return wss; });
|
|
3343
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return topic; });
|
|
3344
3344
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getPresetCustomInfo; });
|
|
3345
3345
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return getPresetNodeInfo; });
|
|
3346
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3347
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3348
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3346
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return toTaskTransferIndex; });
|
|
3347
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return taskTransfer; });
|
|
3348
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return toPresetInfoListIndex; });
|
|
3349
3349
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return deletePresetInfo; });
|
|
3350
3350
|
/* unused harmony export historyListJson */
|
|
3351
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3352
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3351
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return pendedhistoryListJson; });
|
|
3352
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return pressListJson; });
|
|
3353
3353
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return deleteFlow; });
|
|
3354
3354
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return isCanStartSubFlow; });
|
|
3355
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3356
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3357
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3358
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3359
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3360
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3361
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3362
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3363
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3364
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3365
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3366
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3367
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3368
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3355
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return toTaskUnionExamine; });
|
|
3356
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return taskUnionExamine; });
|
|
3357
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return toTaskTakeAdvice; });
|
|
3358
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return taskTakeAdvice; });
|
|
3359
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return toTaskStartDraft; });
|
|
3360
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return taskStartDraft; });
|
|
3361
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return toTaskReview; });
|
|
3362
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return taskReview; });
|
|
3363
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return toTaskUnionSeal; });
|
|
3364
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return taskUnionSeal; });
|
|
3365
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return toTwoOfficesDispatch; });
|
|
3366
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return twoOfficesDispatch; });
|
|
3367
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return sendList; });
|
|
3368
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return sendInfo; });
|
|
3369
3369
|
/* unused harmony export sendSave */
|
|
3370
3370
|
/* unused harmony export sendUpdate */
|
|
3371
3371
|
/* unused harmony export sendDelete */
|
|
3372
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3372
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return sendBatch; });
|
|
3373
3373
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return formContents; });
|
|
3374
3374
|
// 登录
|
|
3375
3375
|
var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eoss-ui",
|
|
3
|
-
"version": "0.5.81-
|
|
3
|
+
"version": "0.5.81-beta10",
|
|
4
4
|
"description": "eoss内部业务组件",
|
|
5
5
|
"main": "lib/eoss-ui.common.js",
|
|
6
6
|
"files": [
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"cp-cli": "^1.0.2",
|
|
98
98
|
"cross-env": "^3.1.3",
|
|
99
99
|
"css-loader": "^2.1.0",
|
|
100
|
-
"eoss-element": "^0.3.
|
|
100
|
+
"eoss-element": "^0.3.9",
|
|
101
101
|
"es6-promise": "^4.0.5",
|
|
102
102
|
"eslint": "4.18.2",
|
|
103
103
|
"eslint-config-elemefe": "0.1.1",
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
ref="component"
|
|
7
7
|
v-loading="tableLoading"
|
|
8
8
|
element-loading-background="rgba(0, 0, 0, 0.65)"
|
|
9
|
-
:model="tag === 'div' ? '' :
|
|
9
|
+
:model="tag === 'div' ? '' : list"
|
|
10
10
|
:element-loading-text="tableLoadingText"
|
|
11
11
|
>
|
|
12
12
|
<es-toolbar
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
dragSort: dragSort,
|
|
58
58
|
dragSortClass: dragSortIcon
|
|
59
59
|
}"
|
|
60
|
-
:data.sync="
|
|
60
|
+
:data.sync="list"
|
|
61
61
|
v-on="{
|
|
62
62
|
...$listeners,
|
|
63
63
|
'row-click': rowClick,
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
</el-table>
|
|
150
150
|
<div v-if="infiniteScroll" class="es-table-page es-loading-page">
|
|
151
151
|
<span>共{{ config.totalCount }}条,</span>
|
|
152
|
-
<span>已加载{{
|
|
152
|
+
<span>已加载{{ list.length }}条</span>
|
|
153
153
|
</div>
|
|
154
154
|
<es-pagination
|
|
155
155
|
v-else-if="page"
|
|
@@ -582,6 +582,11 @@ export default {
|
|
|
582
582
|
return this.data;
|
|
583
583
|
},
|
|
584
584
|
set(val) {
|
|
585
|
+
if (this.list && this.list.length) {
|
|
586
|
+
this.$nextTick(() => {
|
|
587
|
+
this.list = val;
|
|
588
|
+
});
|
|
589
|
+
}
|
|
585
590
|
this.$emit('update:data', val);
|
|
586
591
|
return val;
|
|
587
592
|
}
|
|
@@ -646,18 +651,12 @@ export default {
|
|
|
646
651
|
this.resetHeight();
|
|
647
652
|
this.doLayout();
|
|
648
653
|
},
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
// !Object.prototype.hasOwnProperty.call(this.page, 'totalCount')
|
|
656
|
-
// ) {
|
|
657
|
-
// this.config.totalCount = val.length - this.lose;
|
|
658
|
-
// }
|
|
659
|
-
// }
|
|
660
|
-
// },
|
|
654
|
+
data: {
|
|
655
|
+
deep: true,
|
|
656
|
+
handler() {
|
|
657
|
+
this.list = this.setData();
|
|
658
|
+
}
|
|
659
|
+
},
|
|
661
660
|
page() {
|
|
662
661
|
this.resetHeight();
|
|
663
662
|
this.doLayout();
|
|
@@ -688,7 +687,7 @@ export default {
|
|
|
688
687
|
}
|
|
689
688
|
},
|
|
690
689
|
checked(newVal) {
|
|
691
|
-
this.
|
|
690
|
+
this.list.length && this.checkSelect(newVal);
|
|
692
691
|
},
|
|
693
692
|
thead: {
|
|
694
693
|
deep: true,
|
|
@@ -732,6 +731,7 @@ export default {
|
|
|
732
731
|
this.$refs.oaTable &&
|
|
733
732
|
this.$refs.oaTable.resetScroll &&
|
|
734
733
|
this.$refs.oaTable.resetScroll(0, 0);
|
|
734
|
+
this.list = this.setData();
|
|
735
735
|
}
|
|
736
736
|
},
|
|
737
737
|
height: {
|
|
@@ -770,10 +770,36 @@ export default {
|
|
|
770
770
|
this.chekOpenTotalArea();
|
|
771
771
|
},
|
|
772
772
|
mounted() {
|
|
773
|
-
this.
|
|
773
|
+
if (this.data.length) {
|
|
774
|
+
this.list = this.setData();
|
|
775
|
+
}
|
|
776
|
+
this.list.length && this.checkSelect(this.checked);
|
|
774
777
|
this.resetHeight();
|
|
778
|
+
if (util.win.top != util.win.self) {
|
|
779
|
+
util.win.onresize = debounce(500, this.resetHeight);
|
|
780
|
+
}
|
|
775
781
|
},
|
|
776
782
|
methods: {
|
|
783
|
+
setData() {
|
|
784
|
+
if (
|
|
785
|
+
this.page &&
|
|
786
|
+
((typeof this.page === 'object' &&
|
|
787
|
+
(!Object.prototype.hasOwnProperty.call(this.page, 'totalCount') ||
|
|
788
|
+
this.page.totalCount == 0)) ||
|
|
789
|
+
this.page === true)
|
|
790
|
+
) {
|
|
791
|
+
this.config.totalCount = this.data.length - this.lose;
|
|
792
|
+
}
|
|
793
|
+
if (this.page && this.data.length > this.config.pageSize) {
|
|
794
|
+
return this.data.filter((item, index) => {
|
|
795
|
+
return (
|
|
796
|
+
index > (this.config.pageNum - 1) * this.config.pageSize - 1 &&
|
|
797
|
+
index < this.config.pageNum * this.config.pageSize
|
|
798
|
+
);
|
|
799
|
+
});
|
|
800
|
+
}
|
|
801
|
+
return this.data;
|
|
802
|
+
},
|
|
777
803
|
getRequestKey(config) {
|
|
778
804
|
const { method, url, params, data } = config;
|
|
779
805
|
return [method, url, qs.stringify(params), qs.stringify(data)].join('&');
|
|
@@ -951,7 +977,7 @@ export default {
|
|
|
951
977
|
if (util.isObject(row)) {
|
|
952
978
|
this.$refs.oaTable.toggleRowSelection(row, true);
|
|
953
979
|
} else
|
|
954
|
-
this.
|
|
980
|
+
this.list.forEach((item) => {
|
|
955
981
|
if (item[this.checkedKey] === row) {
|
|
956
982
|
this.$refs.oaTable.toggleRowSelection(item, true);
|
|
957
983
|
return;
|
|
@@ -1061,9 +1087,8 @@ export default {
|
|
|
1061
1087
|
);
|
|
1062
1088
|
this.config.pageNum += 1;
|
|
1063
1089
|
} else {
|
|
1090
|
+
this.list = results.data || results.records || results.list;
|
|
1064
1091
|
this.$nextTick(() => {
|
|
1065
|
-
this.list =
|
|
1066
|
-
results.data || results.records || results.list || [];
|
|
1067
1092
|
this.$refs.oaTable &&
|
|
1068
1093
|
this.$refs.oaTable.resetScroll &&
|
|
1069
1094
|
this.$refs.oaTable.resetScroll(0, 0);
|
|
@@ -1130,14 +1155,14 @@ export default {
|
|
|
1130
1155
|
this.$refs.oaTable.sort(prop, order);
|
|
1131
1156
|
},
|
|
1132
1157
|
formBlur(data) {
|
|
1133
|
-
this.$emit('blur', data, this.
|
|
1158
|
+
this.$emit('blur', data, this.list);
|
|
1134
1159
|
},
|
|
1135
1160
|
formFocus(data) {
|
|
1136
|
-
this.$emit('focus', data, this.
|
|
1161
|
+
this.$emit('focus', data, this.list);
|
|
1137
1162
|
},
|
|
1138
1163
|
formChange(data) {
|
|
1139
|
-
this.$emit('edit', data, this.
|
|
1140
|
-
this.$emit('change', data, this.
|
|
1164
|
+
this.$emit('edit', data, this.list);
|
|
1165
|
+
this.$emit('change', data, this.list);
|
|
1141
1166
|
},
|
|
1142
1167
|
handleAjax(handle, row) {
|
|
1143
1168
|
this.changeLoading(true, `${handle.text}中...`);
|
|
@@ -1292,7 +1317,7 @@ export default {
|
|
|
1292
1317
|
handle.event({
|
|
1293
1318
|
ele: this,
|
|
1294
1319
|
thead: thead,
|
|
1295
|
-
data: this.
|
|
1320
|
+
data: this.list,
|
|
1296
1321
|
selected: rows,
|
|
1297
1322
|
...res
|
|
1298
1323
|
});
|
|
@@ -1395,13 +1420,13 @@ export default {
|
|
|
1395
1420
|
});
|
|
1396
1421
|
util.exportXls({
|
|
1397
1422
|
thead: thead,
|
|
1398
|
-
data: this.
|
|
1423
|
+
data: this.list,
|
|
1399
1424
|
name: this.fileName,
|
|
1400
1425
|
option: this.optionDatas
|
|
1401
1426
|
});
|
|
1402
1427
|
}
|
|
1403
|
-
this.$emit('btnClick', res, this.
|
|
1404
|
-
this.$emit('btn-click', res, this.
|
|
1428
|
+
this.$emit('btnClick', res, this.list, thead, rows);
|
|
1429
|
+
this.$emit('btn-click', res, this.list, thead, rows);
|
|
1405
1430
|
}
|
|
1406
1431
|
},
|
|
1407
1432
|
sizeChange(res) {
|
|
@@ -203,7 +203,10 @@
|
|
|
203
203
|
ref="es-form-pane"
|
|
204
204
|
:key="item.name"
|
|
205
205
|
:label-width="
|
|
206
|
-
item.showLabel !== false &&
|
|
206
|
+
item.showLabel !== false &&
|
|
207
|
+
item.label &&
|
|
208
|
+
!item.labelHide &&
|
|
209
|
+
showLabel
|
|
207
210
|
? labelWidth
|
|
208
211
|
: '0'
|
|
209
212
|
"
|
|
@@ -251,7 +254,10 @@
|
|
|
251
254
|
<es-label
|
|
252
255
|
slot="label"
|
|
253
256
|
v-if="
|
|
254
|
-
item.showLabel !== false &&
|
|
257
|
+
item.showLabel !== false &&
|
|
258
|
+
item.label &&
|
|
259
|
+
!item.labelHide &&
|
|
260
|
+
showLabel
|
|
255
261
|
"
|
|
256
262
|
v-bind="getLabel(item.label)"
|
|
257
263
|
></es-label>
|
|
@@ -1192,7 +1198,10 @@
|
|
|
1192
1198
|
ref="es-form-pane"
|
|
1193
1199
|
:key="item.name"
|
|
1194
1200
|
:label-width="
|
|
1195
|
-
item.showLabel !== false &&
|
|
1201
|
+
item.showLabel !== false &&
|
|
1202
|
+
item.label &&
|
|
1203
|
+
!item.labelHide &&
|
|
1204
|
+
showLabel
|
|
1196
1205
|
? labelWidth
|
|
1197
1206
|
: '0'
|
|
1198
1207
|
"
|
|
@@ -1238,7 +1247,12 @@
|
|
|
1238
1247
|
>
|
|
1239
1248
|
<es-label
|
|
1240
1249
|
slot="label"
|
|
1241
|
-
v-if="
|
|
1250
|
+
v-if="
|
|
1251
|
+
item.showLabel !== false &&
|
|
1252
|
+
item.label &&
|
|
1253
|
+
!item.labelHide &&
|
|
1254
|
+
showLabel
|
|
1255
|
+
"
|
|
1242
1256
|
v-bind="getLabel(item.label)"
|
|
1243
1257
|
></es-label>
|
|
1244
1258
|
<es-input-number
|
|
@@ -2194,7 +2208,10 @@
|
|
|
2194
2208
|
ref="es-form-pane"
|
|
2195
2209
|
:key="item.name"
|
|
2196
2210
|
:label-width="
|
|
2197
|
-
item.showLabel !== false &&
|
|
2211
|
+
item.showLabel !== false &&
|
|
2212
|
+
item.label &&
|
|
2213
|
+
!item.labelHide &&
|
|
2214
|
+
showLabel
|
|
2198
2215
|
? labelWidth
|
|
2199
2216
|
: '0'
|
|
2200
2217
|
"
|
|
@@ -2244,7 +2261,12 @@
|
|
|
2244
2261
|
>
|
|
2245
2262
|
<es-label
|
|
2246
2263
|
slot="label"
|
|
2247
|
-
v-if="
|
|
2264
|
+
v-if="
|
|
2265
|
+
item.showLabel !== false &&
|
|
2266
|
+
item.label &&
|
|
2267
|
+
!item.labelHide &&
|
|
2268
|
+
showLabel
|
|
2269
|
+
"
|
|
2248
2270
|
v-bind="getLabel(item.label)"
|
|
2249
2271
|
></es-label>
|
|
2250
2272
|
<es-input-number
|
|
@@ -3135,7 +3157,10 @@
|
|
|
3135
3157
|
ref="es-form-pane"
|
|
3136
3158
|
:key="item.name"
|
|
3137
3159
|
:label-width="
|
|
3138
|
-
item.showLabel !== false &&
|
|
3160
|
+
item.showLabel !== false &&
|
|
3161
|
+
item.label &&
|
|
3162
|
+
!item.labelHide &&
|
|
3163
|
+
showLabel
|
|
3139
3164
|
? labelWidth
|
|
3140
3165
|
: '0'
|
|
3141
3166
|
"
|
|
@@ -3181,7 +3206,12 @@
|
|
|
3181
3206
|
>
|
|
3182
3207
|
<es-label
|
|
3183
3208
|
slot="label"
|
|
3184
|
-
v-if="
|
|
3209
|
+
v-if="
|
|
3210
|
+
item.showLabel !== false &&
|
|
3211
|
+
item.label &&
|
|
3212
|
+
!item.labelHide &&
|
|
3213
|
+
showLabel
|
|
3214
|
+
"
|
|
3185
3215
|
v-bind="getLabel(item.label)"
|
|
3186
3216
|
></es-label>
|
|
3187
3217
|
<es-input-number
|
|
@@ -20,7 +20,10 @@
|
|
|
20
20
|
<div class="es-user-job es-pointer" :title="job.name">
|
|
21
21
|
{{ job.name }}<i class="es-icon-tri-down"></i>
|
|
22
22
|
</div>
|
|
23
|
-
<el-dropdown-menu
|
|
23
|
+
<el-dropdown-menu
|
|
24
|
+
slot="dropdown"
|
|
25
|
+
:max-height="jobScrollbar ? undefined : 0"
|
|
26
|
+
>
|
|
24
27
|
<el-dropdown-item
|
|
25
28
|
v-for="(ele, ins) in user.identityList"
|
|
26
29
|
:key="ins"
|
|
@@ -29,8 +32,8 @@
|
|
|
29
32
|
>{{ ele.name }}</el-dropdown-item
|
|
30
33
|
>
|
|
31
34
|
</el-dropdown-menu>
|
|
32
|
-
</el-dropdown
|
|
33
|
-
>
|
|
35
|
+
</el-dropdown>
|
|
36
|
+
</template>
|
|
34
37
|
</div>
|
|
35
38
|
</div>
|
|
36
39
|
</template>
|
|
@@ -42,6 +45,10 @@ import util from 'eoss-ui/src/utils/util';
|
|
|
42
45
|
export default {
|
|
43
46
|
name: 'EsHandleUser',
|
|
44
47
|
props: {
|
|
48
|
+
jobScrollbar: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: true
|
|
51
|
+
},
|
|
45
52
|
data: Object,
|
|
46
53
|
userModel: Object
|
|
47
54
|
},
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
class="es-handler-user"
|
|
12
12
|
:data="item"
|
|
13
13
|
:userModel="userModel"
|
|
14
|
+
:job-scrollbar="jobScrollbar"
|
|
14
15
|
@click="handleClick"
|
|
15
16
|
@change="handleChange"
|
|
16
17
|
></es-handle-user>
|
|
@@ -116,6 +117,7 @@ export default {
|
|
|
116
117
|
}
|
|
117
118
|
},
|
|
118
119
|
props: {
|
|
120
|
+
jobScrollbar: Boolean,
|
|
119
121
|
data: Array,
|
|
120
122
|
color: {
|
|
121
123
|
type: String,
|
|
@@ -5,17 +5,22 @@
|
|
|
5
5
|
className,
|
|
6
6
|
{ 'es-pointer': Object.keys(event).length, 'es-icon_image': tag == 'img' }
|
|
7
7
|
]"
|
|
8
|
-
:src="tag == 'img' ?
|
|
8
|
+
:src="tag == 'img' ? url : ''"
|
|
9
9
|
v-on="event"
|
|
10
10
|
v-html="code"
|
|
11
11
|
/>
|
|
12
12
|
</template>
|
|
13
13
|
<script>
|
|
14
14
|
import util from 'eoss-ui/src/utils/util';
|
|
15
|
+
import { previewAdjunct } from 'eoss-ui/src/config/api.js';
|
|
15
16
|
export default {
|
|
16
17
|
name: 'EsIcon',
|
|
17
18
|
inheritAttrs: false,
|
|
18
19
|
props: {
|
|
20
|
+
preview: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: `${previewAdjunct}?adjunctId=`
|
|
23
|
+
},
|
|
19
24
|
contents: [Object, String]
|
|
20
25
|
},
|
|
21
26
|
watch: {
|
|
@@ -37,14 +42,18 @@ export default {
|
|
|
37
42
|
util.startWith(val, ['http', 'https', '/'])
|
|
38
43
|
) {
|
|
39
44
|
this.tag = 'img';
|
|
45
|
+
this.url = val;
|
|
40
46
|
} else {
|
|
41
47
|
this.tag = 'i';
|
|
42
|
-
if (
|
|
43
|
-
this.code = val;
|
|
44
|
-
this.className = 'es-icon';
|
|
45
|
-
} else {
|
|
48
|
+
if (this.unicode(val)) {
|
|
46
49
|
this.code = '';
|
|
47
50
|
this.className = val;
|
|
51
|
+
} else if (this.isId(val)) {
|
|
52
|
+
this.tag = 'img';
|
|
53
|
+
this.url = this.preview + val;
|
|
54
|
+
} else {
|
|
55
|
+
this.code = val;
|
|
56
|
+
this.className = 'es-icon';
|
|
48
57
|
}
|
|
49
58
|
}
|
|
50
59
|
} else {
|
|
@@ -59,6 +68,7 @@ export default {
|
|
|
59
68
|
data() {
|
|
60
69
|
return {
|
|
61
70
|
tag: 'i',
|
|
71
|
+
url: '',
|
|
62
72
|
code: '',
|
|
63
73
|
className: '',
|
|
64
74
|
event: {}
|
|
@@ -70,7 +80,14 @@ export default {
|
|
|
70
80
|
if (!res) {
|
|
71
81
|
return false;
|
|
72
82
|
}
|
|
73
|
-
var reg = new RegExp(/^es
|
|
83
|
+
var reg = new RegExp(/^(es-|el-)\S+/, 'g');
|
|
84
|
+
return res.match(reg) ? res.match(reg).length : 0;
|
|
85
|
+
},
|
|
86
|
+
isId(res) {
|
|
87
|
+
if (!res) {
|
|
88
|
+
return false;
|
|
89
|
+
}
|
|
90
|
+
var reg = new RegExp(/[a-z0-9]+-[a-z0-9]+-[a-z0-9]+-[a-z0-9]+\S+/, 'g');
|
|
74
91
|
return res.match(reg) ? res.match(reg).length : 0;
|
|
75
92
|
}
|
|
76
93
|
}
|
|
@@ -579,6 +579,7 @@ export default {
|
|
|
579
579
|
type: String,
|
|
580
580
|
default: 'center'
|
|
581
581
|
},
|
|
582
|
+
translate: String,
|
|
582
583
|
useResults: {
|
|
583
584
|
type: Boolean,
|
|
584
585
|
default: true
|
|
@@ -591,31 +592,36 @@ export default {
|
|
|
591
592
|
},
|
|
592
593
|
computed: {
|
|
593
594
|
transform() {
|
|
595
|
+
let translate = this.translate
|
|
596
|
+
? this.translate
|
|
597
|
+
: this.align === 'center'
|
|
598
|
+
? '-50%, -51%'
|
|
599
|
+
: '-51%';
|
|
594
600
|
if (this.align.indexOf('%') > -1) {
|
|
595
601
|
return {
|
|
596
602
|
left: this.align,
|
|
597
603
|
top: '50%',
|
|
598
|
-
transform:
|
|
604
|
+
transform: `translateY(${translate})`
|
|
599
605
|
};
|
|
600
606
|
}
|
|
601
607
|
if (this.align === 'left') {
|
|
602
608
|
return {
|
|
603
609
|
left: '30%',
|
|
604
610
|
top: '50%',
|
|
605
|
-
transform:
|
|
611
|
+
transform: `translateY(${translate})`
|
|
606
612
|
};
|
|
607
613
|
}
|
|
608
614
|
if (this.align === 'right') {
|
|
609
615
|
return {
|
|
610
616
|
left: '70%',
|
|
611
617
|
top: '50%',
|
|
612
|
-
transform:
|
|
618
|
+
transform: `translateY(${translate})`
|
|
613
619
|
};
|
|
614
620
|
}
|
|
615
621
|
return {
|
|
616
622
|
left: '50%',
|
|
617
623
|
top: '50%',
|
|
618
|
-
transform:
|
|
624
|
+
transform: `translate(${translate})`
|
|
619
625
|
};
|
|
620
626
|
},
|
|
621
627
|
redirectUri() {
|
|
@@ -1449,6 +1455,7 @@ export default {
|
|
|
1449
1455
|
if (this.toUrl) {
|
|
1450
1456
|
window.location.href = this.toUrl;
|
|
1451
1457
|
} else if (results.doorIndex && this.doorIndex) {
|
|
1458
|
+
sessionStorage.setItem('doorIndex', results.doorIndex);
|
|
1452
1459
|
window.location.href = results.doorIndex;
|
|
1453
1460
|
} else {
|
|
1454
1461
|
if (window.location.href.indexOf('login.html') > -1) {
|