eoss-ui 0.4.58 → 0.4.59

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 (71) hide show
  1. package/lib/button-group.js +18 -5
  2. package/lib/button.js +18 -5
  3. package/lib/checkbox-group.js +18 -5
  4. package/lib/clients.js +95 -4
  5. package/lib/data-table-form.js +18 -5
  6. package/lib/data-table.js +23 -11
  7. package/lib/date-picker.js +18 -5
  8. package/lib/dialog.js +18 -5
  9. package/lib/eoss-ui.common.js +1322 -1049
  10. package/lib/flow-group.js +927 -860
  11. package/lib/flow-list.js +18 -5
  12. package/lib/flow.js +31 -16
  13. package/lib/form.js +18 -5
  14. package/lib/handle-user.js +18 -5
  15. package/lib/handler.js +37 -15
  16. package/lib/index.js +1 -1
  17. package/lib/input-number.js +18 -5
  18. package/lib/input.js +30 -10
  19. package/lib/login.js +101 -33
  20. package/lib/main.js +62 -30
  21. package/lib/mainComp.js +18 -5
  22. package/lib/nav.js +18 -5
  23. package/lib/page.js +18 -5
  24. package/lib/player.js +18 -5
  25. package/lib/qr-code.js +18 -5
  26. package/lib/radio-group.js +18 -5
  27. package/lib/retrial-auth.js +18 -5
  28. package/lib/select-ganged.js +18 -5
  29. package/lib/select.js +18 -5
  30. package/lib/selector-panel.js +18 -5
  31. package/lib/selector.js +18 -5
  32. package/lib/sizer.js +18 -5
  33. package/lib/steps.js +18 -5
  34. package/lib/switch.js +18 -5
  35. package/lib/table-form.js +25 -11
  36. package/lib/tabs.js +18 -5
  37. package/lib/theme-chalk/clients.css +1 -1
  38. package/lib/theme-chalk/flow-group.css +1 -1
  39. package/lib/theme-chalk/index.css +1 -1
  40. package/lib/theme-chalk/login.css +1 -1
  41. package/lib/tips.js +18 -5
  42. package/lib/toolbar.js +0 -1
  43. package/lib/tree-group.js +18 -5
  44. package/lib/tree.js +18 -5
  45. package/lib/upload.js +89 -52
  46. package/lib/utils/util.js +18 -5
  47. package/lib/wujie.js +18 -5
  48. package/lib/wxlogin.js +18 -5
  49. package/package.json +2 -2
  50. package/packages/clients/src/main.vue +60 -2
  51. package/packages/data-table/src/main.vue +0 -1
  52. package/packages/flow/src/main.vue +1 -0
  53. package/packages/flow/src/startTaskRead.vue +2 -2
  54. package/packages/flow-group/src/main.vue +284 -265
  55. package/packages/form/src/table.vue +3 -2
  56. package/packages/handler/src/main.vue +20 -10
  57. package/packages/input/src/main.vue +7 -2
  58. package/packages/login/src/main.vue +77 -27
  59. package/packages/main/src/main.vue +20 -10
  60. package/packages/main/src/userinfo.vue +20 -9
  61. package/packages/theme-chalk/lib/clients.css +1 -1
  62. package/packages/theme-chalk/lib/flow-group.css +1 -1
  63. package/packages/theme-chalk/lib/index.css +1 -1
  64. package/packages/theme-chalk/lib/login.css +1 -1
  65. package/packages/theme-chalk/src/clients.scss +8 -0
  66. package/packages/theme-chalk/src/flow-group.scss +9 -3
  67. package/packages/theme-chalk/src/login.scss +3 -0
  68. package/packages/toolbar/src/main.vue +0 -1
  69. package/packages/upload/src/main.vue +43 -27
  70. package/src/index.js +1 -1
  71. package/src/utils/util.js +20 -10
@@ -1 +1 @@
1
- @charset "UTF-8";.es-login-screen{width:100%;height:100%;background-position:center;background-repeat:no-repeat;background-size:cover;position:relative;overflow:hidden}.es-login-screen .es-login-logo{height:58px;position:absolute;left:24px;top:24px}.es-login{width:540px;position:absolute;padding:0 12px}.es-login .es-login-name{display:block;margin-bottom:56px;position:relative;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.es-login .es-login-main{padding:60px 80px;position:relative;border-radius:20px;background-size:100% 100%;background-color:#fff;background-repeat:no-repeat;-webkit-box-shadow:0 6px 30px 5px rgba(0,0,0,.05),0 16px 24px 2px rgba(0,0,0,.04),0 8px 10px -5px rgba(0,0,0,.08);box-shadow:0 6px 30px 5px rgba(0,0,0,.05),0 16px 24px 2px rgba(0,0,0,.04),0 8px 10px -5px rgba(0,0,0,.08)}.es-login .es-login-main .es-login-switch{position:absolute;right:10px;top:10px;overflow:hidden;z-index:99}.es-login .es-login-main .es-login-switch .es-icon{font-size:60px;color:#1890ff;cursor:pointer;position:relative;top:-1px}.es-login .es-login-main .es-login-switch .es-icon::after{content:'';position:absolute;left:-10px;top:1px;border-color:transparent transparent #fff #fff;border-style:solid;border-width:30px}.es-login .es-login-main .es-login-switchs{position:absolute;bottom:0;left:0;right:0;text-align:center;padding-bottom:16px;color:#d9d9d9;z-index:99}.es-login .es-login-main .es-login-switchs .es-icon{font-size:24px;cursor:pointer}.es-login .es-login-main .es-login-switchs .es-icon+.es-icon{margin-left:12px}.es-login .es-login-main .es-login-switchs .es-icon.es-icon-active{color:#1890ff}.es-login .es-login-main .es-downloadSetup{font-size:14px;text-align:center;line-height:18px;padding-bottom:12px}.es-login .es-login-main .es-downloadSetup span{cursor:pointer;color:#333}.es-login .es-login-main .es-downloadSetup span:hover{color:#f9d900}.es-login .es-login-main .es-warning{color:#a90404;line-height:18px;font-size:16px;text-align:center;padding-bottom:12px}.es-login .es-login-title{color:#1890ff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:24px;font-size:24px;line-height:24px;font-weight:700;margin-bottom:48px;position:relative}.es-login .es-login-title::after,.es-login .es-login-title::before{content:'';height:1px;-webkit-box-flex:1;-ms-flex:1;flex:1;background-color:#eee}.es-login .es-login-title .es-login-title-content{margin:0 24px}.es-login .es-login-form{border-radius:20px;background-color:rgba(255,255,255,.3);position:relative;padding-bottom:20px}.es-login .es-login-form .el-form-item{margin-bottom:32px}.es-login .es-login-form .el-form-item__content{line-height:normal}.es-login .es-login-form .el-form-item__error{font-size:14px}.es-login .es-login-form .el-input__clear{font-size:18px}.es-login .es-login-form .el-input__inner{height:50px;font-size:18px;background-color:#f7f7f7;border-radius:10px;padding-left:52px}.es-login .es-login-form .el-input__inner::-webkit-input-placeholder{font-size:16px}.es-login .es-login-form .el-input__inner:-moz-placeholder{font-size:16px}.es-login .es-login-form .el-input__inner::-moz-placeholder{font-size:16px}.es-login .es-login-form .el-input__inner:-ms-input-placeholder{font-size:16px}.es-login .es-login-form .el-input__prefix{left:20px;line-height:52px}.es-login .es-login-form .es-label-user{font-size:18px;color:#333}.es-login .es-login-form .es-label-password{font-size:22px;color:#333;position:relative;top:2px}.es-login .es-login-form .es-label-image-code{padding-right:120px}.es-login .es-login-form .es-label-image-code .el-input__suffix{padding:5px;right:0}.es-login .es-login-form .es-label-image-code .es-img-code{cursor:pointer}.es-login .es-login-form .es-label-image-code .es-get-code{margin-top:-5px;margin-bottom:-5px;line-height:32px;font-size:16px;padding:8px 16px}.es-login .es-login-form .es-label-code-image{font-size:20px;color:#333;line-height:50px}.es-login .es-login-form .es-password-handle{height:22px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:-8px;margin-bottom:40px}.es-login .es-login-form .es-password-handle .el-checkbox__label{font-size:16px;font-weight:400;color:#333!important}.es-login .es-login-form .es-password-handle .el-checkbox__input .el-checkbox__inner{width:18px;height:18px;border-radius:10px}.es-login .es-login-form .es-password-handle .el-checkbox__input .el-checkbox__inner::after{border:2px solid #fff;border-left:0;border-top:0;height:8px;left:6px;top:2px}.es-login .es-login-form .es-password-handle .es-password-forget{font-size:16px;color:#999;text-align:right;float:right;cursor:pointer}.es-login .es-login-form .es-button-submit{width:100%;height:50px;font-size:20px;font-weight:500;border-radius:10px}.es-login .es-login-form.es-login-verify .es-login-title{margin-bottom:70px}.es-login .es-login-form.es-login-verify .el-form-item{margin-bottom:62px}.es-login .es-login-qrcode .es-login-down-app{font-size:14px;font-weight:400;text-align:center;line-height:20px}.es-login .es-login-qrcode .es-login-down-app .es-login-app-name{color:#a90404;padding:0 8px}.es-login .es-login-qrcode .es-qrcode-box,.es-login .es-login-qrcode .es-wx-qrcode-box{padding-top:25px;padding-bottom:25px}.es-login .es-login-qrcode .es-qrcode-img{border:1px solid #d9d9d9}.es-login.es-simple .es-login-form .el-input__inner{border-width:0 0 1px;border-radius:0;background-color:#fff;padding-left:32px;padding-right:16px;-webkit-box-shadow:none;box-shadow:none}.es-login.es-simple .es-login-form .el-input__inner::-webkit-input-placeholder{font-size:16px;color:#999}.es-login.es-simple .es-login-form .el-input__inner:-moz-placeholder{font-size:16px;color:#999}.es-login.es-simple .es-login-form .el-input__inner::-moz-placeholder{font-size:16px;color:#999}.es-login.es-simple .es-login-form .el-input__inner:-ms-input-placeholder{font-size:16px;color:#999}.es-login.es-simple .el-input__prefix{left:0}@media screen and (max-width:1600px){.es-login{width:428px;padding:0 8px}.es-login .es-login-logo{height:42px;left:20px;top:20px}.es-login .es-login-name{width:428px;margin-bottom:40px}.es-login .es-login-main{padding:40px 44px}.es-login .es-login-main .es-login-switch{right:24px;top:24px}.es-login .es-login-main .es-login-switch .es-icon{font-size:60px}.es-login .es-login-main .es-login-switch .es-icon::after{left:-10px;border-width:30px}.es-login .es-login-main .es-warning{font-size:14px}.es-login .es-login-title{height:22px;margin-bottom:36px;font-size:18px;line-height:22px}.es-login .es-login-title .es-login-title-content{margin:0 12px}.es-login .es-login-form .el-input__inner{padding-left:40px;height:44px;line-height:44px;font-size:13px}.es-login .es-login-form .el-input__inner::-webkit-input-placeholder{font-size:13px}.es-login .es-login-form .el-input__prefix{left:16px;line-height:36px}.es-login .es-login-form .es-label-user{font-size:14px}.es-login .es-login-form .es-label-password{font-size:16px;top:0}.es-login .es-login-form .el-input__clear{font-size:14px;line-height:36px}.es-login .es-login-form .es-label-code-image{font-size:16px;line-height:36px}.es-login .es-login-form .el-form-item__error,.es-login .es-login-form .es-password-handle .el-checkbox__label,.es-login .es-login-form .es-password-handle .es-password-forget{font-size:12px}.es-login .es-login-form .es-label-image-code{padding-right:100px}.es-login .es-login-form .es-label-image-code .el-input__suffix{padding:2px}.es-login .es-login-form .es-label-image-code .el-input__suffix .es-get-code{margin-top:-2px;margin-bottom:-2px;padding:5px 6px}.es-login .es-login-form .es-label-image-code .es-img-code{height:32px}.es-login .es-login-form .es-password-handle{margin-top:0;margin-bottom:20px}.es-login .es-login-form .es-password-handle .el-checkbox__input .el-checkbox__inner{width:14px;height:14px;top:1px;padding-left:6px}.es-login .es-login-form .es-password-handle .el-checkbox__input .el-checkbox__inner::after{left:4px;top:0}.es-login .es-login-form .es-password-handle .el-checkbox__input.is-checked .el-checkbox__inner::after{-webkit-transform:rotate(45deg) scaleY(.9);transform:rotate(45deg) scaleY(.9)}.es-login .es-login-form .extra{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.es-login .es-login-form .extra span{cursor:pointer;font-size:14px;color:#12278b}.es-login .es-login-form .es-button-submit{height:44px;line-height:44px;font-size:16px;padding:0 8px;border-radius:8px}.es-login .es-login-form.es-login-verify .es-login-title{margin-bottom:68px}.es-login .es-login-form.es-login-verify .el-form-item{margin-bottom:54px}.es-login .es-login-qrcode .es-login-title{margin-bottom:18px}.es-login .es-login-qrcode .es-qrcode-box,.es-login .es-login-qrcode .es-wx-qrcode-box{padding-top:16px;padding-bottom:16px}}.es-user-info .es-form-content{padding-right:30px}.es-user-info .es-form-button{padding-right:20px}.es-login-icp{display:-webkit-box;display:-ms-flexbox;display:flex;position:fixed;left:50%;bottom:20px;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.es-login-icp .es-login-icp-item{display:block;white-space:nowrap;font-size:14px;font-weight:400}.es-login-icp .es-login-icp-item+.es-login-icp-item{margin-left:20px}.es-login-icp a:hover{text-decoration:underline}.rest-password-box{height:100%;position:relative}.rest-password-box.rest-password-cut{padding-top:60px}.rest-password-box .rest-menu-cut{position:absolute;left:0;top:0;right:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}
1
+ @charset "UTF-8";.es-login-screen{width:100%;height:100%;background-position:center;background-repeat:no-repeat;background-size:cover;position:relative;overflow:hidden}.es-login-screen .es-login-logo{height:58px;position:absolute;left:24px;top:24px}.es-login{width:540px;position:absolute;padding:0 12px}.es-login .es-login-name{display:block;margin-bottom:56px;position:relative;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.es-login .es-login-main{padding:60px 80px;position:relative;border-radius:20px;background-size:100% 100%;background-color:#fff;background-repeat:no-repeat;-webkit-box-shadow:0 6px 30px 5px rgba(0,0,0,.05),0 16px 24px 2px rgba(0,0,0,.04),0 8px 10px -5px rgba(0,0,0,.08);box-shadow:0 6px 30px 5px rgba(0,0,0,.05),0 16px 24px 2px rgba(0,0,0,.04),0 8px 10px -5px rgba(0,0,0,.08)}.es-login .es-login-main .es-login-switch{position:absolute;right:10px;top:10px;overflow:hidden;z-index:99}.es-login .es-login-main .es-login-switch .es-icon{font-size:60px;color:#1890ff;cursor:pointer;position:relative;top:-1px}.es-login .es-login-main .es-login-switch .es-icon::after{content:'';position:absolute;left:-10px;top:1px;border-color:transparent transparent #fff #fff;border-style:solid;border-width:30px}.es-login .es-login-main .es-login-switchs{position:absolute;bottom:0;left:0;right:0;text-align:center;padding-bottom:16px;color:#d9d9d9;z-index:99}.es-login .es-login-main .es-login-switchs .es-icon{font-size:24px;cursor:pointer}.es-login .es-login-main .es-login-switchs .es-icon+.es-icon{margin-left:12px}.es-login .es-login-main .es-login-switchs .es-icon.es-icon-active{color:#1890ff}.es-login .es-login-main .es-downloadSetup{font-size:14px;text-align:center;line-height:18px;padding-bottom:12px}.es-login .es-login-main .es-downloadSetup span{cursor:pointer;color:#333}.es-login .es-login-main .es-downloadSetup span:hover{color:#f9d900}.es-login .es-login-main .es-warning{color:#a90404;line-height:18px;font-size:16px;text-align:center;padding-bottom:12px}.es-login .es-login-title{color:#1890ff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:24px;font-size:24px;line-height:24px;font-weight:700;margin-bottom:48px;position:relative}.es-login .es-login-title::after,.es-login .es-login-title::before{content:'';height:1px;-webkit-box-flex:1;-ms-flex:1;flex:1;background-color:#eee}.es-login .es-login-title .es-login-title-content{margin:0 24px}.es-login .es-login-form{border-radius:20px;background-color:rgba(255,255,255,.3);position:relative;padding-bottom:20px}.es-login .es-login-form .el-form-item{margin-bottom:32px}.es-login .es-login-form .el-form-item__content{line-height:normal}.es-login .es-login-form .el-form-item__error{font-size:14px}.es-login .es-login-form .el-input__clear{font-size:18px}.es-login .es-login-form .el-input__inner{height:50px;font-size:18px;background-color:#f7f7f7;border-radius:10px;padding-left:52px}.es-login .es-login-form .el-input__inner::-webkit-input-placeholder{font-size:16px}.es-login .es-login-form .el-input__inner:-moz-placeholder{font-size:16px}.es-login .es-login-form .el-input__inner::-moz-placeholder{font-size:16px}.es-login .es-login-form .el-input__inner:-ms-input-placeholder{font-size:16px}.es-login .es-login-form .el-input__prefix{left:20px;line-height:52px}.es-login .es-login-form .es-label-user{font-size:18px;color:#333}.es-login .es-login-form .es-label-password{font-size:22px;color:#333;position:relative;top:2px}.es-login .es-login-form .es-label-image-code{padding-right:120px}.es-login .es-login-form .es-label-image-code .el-input__suffix{padding:5px;right:0}.es-login .es-login-form .es-label-image-code .es-img-code{cursor:pointer}.es-login .es-login-form .es-label-image-code .es-get-code{margin-top:-5px;margin-bottom:-5px;line-height:32px;font-size:16px;padding:8px 16px}.es-login .es-login-form .es-label-code-image{font-size:20px;color:#333;line-height:50px}.es-login .es-login-form .es-password-handle{height:22px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:-8px;margin-bottom:40px}.es-login .es-login-form .es-password-handle .el-checkbox__label{font-size:16px;font-weight:400;color:#333!important}.es-login .es-login-form .es-password-handle .el-checkbox__input .el-checkbox__inner{width:18px;height:18px;border-radius:10px}.es-login .es-login-form .es-password-handle .el-checkbox__input .el-checkbox__inner::after{border:2px solid #fff;border-left:0;border-top:0;height:8px;left:6px;top:2px}.es-login .es-login-form .es-password-handle .es-password-forget{font-size:16px;color:#999;text-align:right;float:right;cursor:pointer}.es-login .es-login-form .es-button-submit{width:100%;height:50px;font-size:20px;font-weight:500;border-radius:10px}.es-login .es-login-form.es-login-verify .es-login-title{margin-bottom:70px}.es-login .es-login-form.es-login-verify .el-form-item{margin-bottom:62px}.es-login .es-login-form .el-autocomplete{width:100%}.es-login .es-login-qrcode .es-login-down-app{font-size:14px;font-weight:400;text-align:center;line-height:20px}.es-login .es-login-qrcode .es-login-down-app .es-login-app-name{color:#a90404;padding:0 8px}.es-login .es-login-qrcode .es-qrcode-box,.es-login .es-login-qrcode .es-wx-qrcode-box{padding-top:25px;padding-bottom:25px}.es-login .es-login-qrcode .es-qrcode-img{border:1px solid #d9d9d9}.es-login.es-simple .es-login-form .el-input__inner{border-width:0 0 1px;border-radius:0;background-color:#fff;padding-left:32px;padding-right:16px;-webkit-box-shadow:none;box-shadow:none}.es-login.es-simple .es-login-form .el-input__inner::-webkit-input-placeholder{font-size:16px;color:#999}.es-login.es-simple .es-login-form .el-input__inner:-moz-placeholder{font-size:16px;color:#999}.es-login.es-simple .es-login-form .el-input__inner::-moz-placeholder{font-size:16px;color:#999}.es-login.es-simple .es-login-form .el-input__inner:-ms-input-placeholder{font-size:16px;color:#999}.es-login.es-simple .el-input__prefix{left:0}@media screen and (max-width:1600px){.es-login{width:428px;padding:0 8px}.es-login .es-login-logo{height:42px;left:20px;top:20px}.es-login .es-login-name{width:428px;margin-bottom:40px}.es-login .es-login-main{padding:40px 44px}.es-login .es-login-main .es-login-switch{right:24px;top:24px}.es-login .es-login-main .es-login-switch .es-icon{font-size:60px}.es-login .es-login-main .es-login-switch .es-icon::after{left:-10px;border-width:30px}.es-login .es-login-main .es-warning{font-size:14px}.es-login .es-login-title{height:22px;margin-bottom:36px;font-size:18px;line-height:22px}.es-login .es-login-title .es-login-title-content{margin:0 12px}.es-login .es-login-form .el-input__inner{padding-left:40px;height:44px;line-height:44px;font-size:13px}.es-login .es-login-form .el-input__inner::-webkit-input-placeholder{font-size:13px}.es-login .es-login-form .el-input__prefix{left:16px;line-height:36px}.es-login .es-login-form .es-label-user{font-size:14px}.es-login .es-login-form .es-label-password{font-size:16px;top:0}.es-login .es-login-form .el-input__clear{font-size:14px;line-height:36px}.es-login .es-login-form .es-label-code-image{font-size:16px;line-height:36px}.es-login .es-login-form .el-form-item__error,.es-login .es-login-form .es-password-handle .el-checkbox__label,.es-login .es-login-form .es-password-handle .es-password-forget{font-size:12px}.es-login .es-login-form .es-label-image-code{padding-right:100px}.es-login .es-login-form .es-label-image-code .el-input__suffix{padding:2px}.es-login .es-login-form .es-label-image-code .el-input__suffix .es-get-code{margin-top:-2px;margin-bottom:-2px;padding:5px 6px}.es-login .es-login-form .es-label-image-code .es-img-code{height:32px}.es-login .es-login-form .es-password-handle{margin-top:0;margin-bottom:20px}.es-login .es-login-form .es-password-handle .el-checkbox__input .el-checkbox__inner{width:14px;height:14px;top:1px;padding-left:6px}.es-login .es-login-form .es-password-handle .el-checkbox__input .el-checkbox__inner::after{left:4px;top:0}.es-login .es-login-form .es-password-handle .el-checkbox__input.is-checked .el-checkbox__inner::after{-webkit-transform:rotate(45deg) scaleY(.9);transform:rotate(45deg) scaleY(.9)}.es-login .es-login-form .extra{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.es-login .es-login-form .extra span{cursor:pointer;font-size:14px;color:#12278b}.es-login .es-login-form .es-button-submit{height:44px;line-height:44px;font-size:16px;padding:0 8px;border-radius:8px}.es-login .es-login-form.es-login-verify .es-login-title{margin-bottom:68px}.es-login .es-login-form.es-login-verify .el-form-item{margin-bottom:54px}.es-login .es-login-qrcode .es-login-title{margin-bottom:18px}.es-login .es-login-qrcode .es-qrcode-box,.es-login .es-login-qrcode .es-wx-qrcode-box{padding-top:16px;padding-bottom:16px}}.es-user-info .es-form-content{padding-right:30px}.es-user-info .es-form-button{padding-right:20px}.es-login-icp{display:-webkit-box;display:-ms-flexbox;display:flex;position:fixed;left:50%;bottom:20px;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.es-login-icp .es-login-icp-item{display:block;white-space:nowrap;font-size:14px;font-weight:400}.es-login-icp .es-login-icp-item+.es-login-icp-item{margin-left:20px}.es-login-icp a:hover{text-decoration:underline}.rest-password-box{height:100%;position:relative}.rest-password-box.rest-password-cut{padding-top:60px}.rest-password-box .rest-menu-cut{position:absolute;left:0;top:0;right:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}
package/lib/tips.js CHANGED
@@ -264,20 +264,33 @@ var ajax = function ajax(_ref) {
264
264
  }).then(function () {
265
265
  var loginPage = getStorage('login') || getStorage('loginPage');
266
266
  if (loginPage) {
267
- win.top.location.href = loginPage;
267
+ var src = void 0;
268
+ if (!startWith(loginPage, ['http', '/'])) {
269
+ var pathname = win.top.location.pathname;
270
+ if (pathname !== '/') {
271
+ pathname = pathname.split('/');
272
+ pathname.splice(pathname.length - 1);
273
+ pathname = pathname.join('/');
274
+ }
275
+ src = pathname + loginPage.replace('./', '');
276
+ } else {
277
+ src = loginPage;
278
+ }
279
+ win.top.location.href = src;
268
280
  } else if (win.top.location.href.indexOf('main.html') > -1) {
269
281
  win.top.location.href = './login.html';
270
282
  } else {
271
283
  var hash = win.top.location.hash;
272
- if (hash || win.top.location.indexOf('model=') && win.top.location.indexOf('view=') && win.top.location.indexOf('render.html')) {
284
+ if (hash) {
273
285
  var len = win.top.location.href.indexOf(hash);
274
- var href = win.top.location.href.slice(0, len) + '#/login';
275
- win.top.location.href = href;
286
+ win.top.location.href = win.location.href.slice(0, len) + '#/login';
276
287
  } else {
277
288
  win.top.location.href = '/login.html';
278
289
  }
279
290
  }
280
- }).catch(function (e) {});
291
+ }).catch(function (e) {
292
+ sessionStorage.removeItem('remind');
293
+ });
281
294
  }, 1000));
282
295
  }
283
296
  } else if (response.data.rCode === 61) {
package/lib/toolbar.js CHANGED
@@ -406,7 +406,6 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
406
406
  checkbox: 'es-toolbar-item-checkbox',
407
407
  switch: 'es-toolbar-item-switch'
408
408
  };
409
- console.log();
410
409
  search = [h('es-form', {
411
410
  class: ['es-form-search', _this2.small ? 'es-form-search-small' : '', _this2.showFormBtn ? '' : 'es-form-search-nobtn'],
412
411
  props: _extends({
package/lib/tree-group.js CHANGED
@@ -264,20 +264,33 @@ var ajax = function ajax(_ref) {
264
264
  }).then(function () {
265
265
  var loginPage = getStorage('login') || getStorage('loginPage');
266
266
  if (loginPage) {
267
- win.top.location.href = loginPage;
267
+ var src = void 0;
268
+ if (!startWith(loginPage, ['http', '/'])) {
269
+ var pathname = win.top.location.pathname;
270
+ if (pathname !== '/') {
271
+ pathname = pathname.split('/');
272
+ pathname.splice(pathname.length - 1);
273
+ pathname = pathname.join('/');
274
+ }
275
+ src = pathname + loginPage.replace('./', '');
276
+ } else {
277
+ src = loginPage;
278
+ }
279
+ win.top.location.href = src;
268
280
  } else if (win.top.location.href.indexOf('main.html') > -1) {
269
281
  win.top.location.href = './login.html';
270
282
  } else {
271
283
  var hash = win.top.location.hash;
272
- if (hash || win.top.location.indexOf('model=') && win.top.location.indexOf('view=') && win.top.location.indexOf('render.html')) {
284
+ if (hash) {
273
285
  var len = win.top.location.href.indexOf(hash);
274
- var href = win.top.location.href.slice(0, len) + '#/login';
275
- win.top.location.href = href;
286
+ win.top.location.href = win.location.href.slice(0, len) + '#/login';
276
287
  } else {
277
288
  win.top.location.href = '/login.html';
278
289
  }
279
290
  }
280
- }).catch(function (e) {});
291
+ }).catch(function (e) {
292
+ sessionStorage.removeItem('remind');
293
+ });
281
294
  }, 1000));
282
295
  }
283
296
  } else if (response.data.rCode === 61) {
package/lib/tree.js CHANGED
@@ -264,20 +264,33 @@ var ajax = function ajax(_ref) {
264
264
  }).then(function () {
265
265
  var loginPage = getStorage('login') || getStorage('loginPage');
266
266
  if (loginPage) {
267
- win.top.location.href = loginPage;
267
+ var src = void 0;
268
+ if (!startWith(loginPage, ['http', '/'])) {
269
+ var pathname = win.top.location.pathname;
270
+ if (pathname !== '/') {
271
+ pathname = pathname.split('/');
272
+ pathname.splice(pathname.length - 1);
273
+ pathname = pathname.join('/');
274
+ }
275
+ src = pathname + loginPage.replace('./', '');
276
+ } else {
277
+ src = loginPage;
278
+ }
279
+ win.top.location.href = src;
268
280
  } else if (win.top.location.href.indexOf('main.html') > -1) {
269
281
  win.top.location.href = './login.html';
270
282
  } else {
271
283
  var hash = win.top.location.hash;
272
- if (hash || win.top.location.indexOf('model=') && win.top.location.indexOf('view=') && win.top.location.indexOf('render.html')) {
284
+ if (hash) {
273
285
  var len = win.top.location.href.indexOf(hash);
274
- var href = win.top.location.href.slice(0, len) + '#/login';
275
- win.top.location.href = href;
286
+ win.top.location.href = win.location.href.slice(0, len) + '#/login';
276
287
  } else {
277
288
  win.top.location.href = '/login.html';
278
289
  }
279
290
  }
280
- }).catch(function (e) {});
291
+ }).catch(function (e) {
292
+ sessionStorage.removeItem('remind');
293
+ });
281
294
  }, 1000));
282
295
  }
283
296
  } else if (response.data.rCode === 61) {
package/lib/upload.js CHANGED
@@ -264,20 +264,33 @@ var ajax = function ajax(_ref) {
264
264
  }).then(function () {
265
265
  var loginPage = getStorage('login') || getStorage('loginPage');
266
266
  if (loginPage) {
267
- win.top.location.href = loginPage;
267
+ var src = void 0;
268
+ if (!startWith(loginPage, ['http', '/'])) {
269
+ var pathname = win.top.location.pathname;
270
+ if (pathname !== '/') {
271
+ pathname = pathname.split('/');
272
+ pathname.splice(pathname.length - 1);
273
+ pathname = pathname.join('/');
274
+ }
275
+ src = pathname + loginPage.replace('./', '');
276
+ } else {
277
+ src = loginPage;
278
+ }
279
+ win.top.location.href = src;
268
280
  } else if (win.top.location.href.indexOf('main.html') > -1) {
269
281
  win.top.location.href = './login.html';
270
282
  } else {
271
283
  var hash = win.top.location.hash;
272
- if (hash || win.top.location.indexOf('model=') && win.top.location.indexOf('view=') && win.top.location.indexOf('render.html')) {
284
+ if (hash) {
273
285
  var len = win.top.location.href.indexOf(hash);
274
- var href = win.top.location.href.slice(0, len) + '#/login';
275
- win.top.location.href = href;
286
+ win.top.location.href = win.location.href.slice(0, len) + '#/login';
276
287
  } else {
277
288
  win.top.location.href = '/login.html';
278
289
  }
279
290
  }
280
- }).catch(function (e) {});
291
+ }).catch(function (e) {
292
+ sessionStorage.removeItem('remind');
293
+ });
281
294
  }, 1000));
282
295
  }
283
296
  } else if (response.data.rCode === 61) {
@@ -2833,8 +2846,8 @@ function normalizeComponent(
2833
2846
  // ESM COMPAT FLAG
2834
2847
  __webpack_require__.r(__webpack_exports__);
2835
2848
 
2836
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=3df48687&
2837
- var mainvue_type_template_id_3df48687_render = function () {
2849
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=456fded3&
2850
+ var mainvue_type_template_id_456fded3_render = function () {
2838
2851
  var _vm = this
2839
2852
  var _h = _vm.$createElement
2840
2853
  var _c = _vm._self._c || _h
@@ -3113,50 +3126,61 @@ var mainvue_type_template_id_3df48687_render = function () {
3113
3126
  ],
3114
3127
  2
3115
3128
  ),
3116
- _c(
3117
- "es-dialog",
3118
- {
3119
- attrs: { slot: "dialog", title: _vm.title, visible: _vm.showImg },
3120
- on: {
3121
- "update:visible": function ($event) {
3122
- _vm.showImg = $event
3129
+ _vm.previewScale && _vm.showImg
3130
+ ? _c("el-image-viewer", {
3131
+ attrs: {
3132
+ slot: "dialog",
3133
+ "z-index": 9999,
3134
+ "initial-index": 0,
3135
+ "url-list": [_vm.imgUrl],
3136
+ "on-close": _vm.closeViewer,
3123
3137
  },
3124
- },
3125
- slot: "dialog",
3126
- },
3127
- [
3128
- _c(
3129
- "div",
3138
+ slot: "dialog",
3139
+ })
3140
+ : _c(
3141
+ "es-dialog",
3130
3142
  {
3131
- directives: [
3132
- {
3133
- name: "loading",
3134
- rawName: "v-loading",
3135
- value: _vm.imgChange,
3136
- expression: "imgChange",
3143
+ attrs: { slot: "dialog", title: _vm.title, visible: _vm.showImg },
3144
+ on: {
3145
+ "update:visible": function ($event) {
3146
+ _vm.showImg = $event
3137
3147
  },
3138
- ],
3139
- staticClass: "es-upload-dialog",
3140
- attrs: { "element-loading-background": "rgba(0, 0, 0, 0.8)" },
3148
+ },
3149
+ slot: "dialog",
3141
3150
  },
3142
3151
  [
3143
- _c("img", {
3144
- directives: [
3145
- {
3146
- name: "show",
3147
- rawName: "v-show",
3148
- value: !_vm.imgChange,
3149
- expression: "!imgChange",
3150
- },
3151
- ],
3152
- ref: "showImg",
3153
- style: _vm.styles,
3154
- attrs: { src: _vm.imgUrl },
3155
- }),
3152
+ _c(
3153
+ "div",
3154
+ {
3155
+ directives: [
3156
+ {
3157
+ name: "loading",
3158
+ rawName: "v-loading",
3159
+ value: _vm.imgChange,
3160
+ expression: "imgChange",
3161
+ },
3162
+ ],
3163
+ staticClass: "es-upload-dialog",
3164
+ attrs: { "element-loading-background": "rgba(0, 0, 0, 0.8)" },
3165
+ },
3166
+ [
3167
+ _c("img", {
3168
+ directives: [
3169
+ {
3170
+ name: "show",
3171
+ rawName: "v-show",
3172
+ value: !_vm.imgChange,
3173
+ expression: "!imgChange",
3174
+ },
3175
+ ],
3176
+ ref: "showImg",
3177
+ style: _vm.styles,
3178
+ attrs: { src: _vm.imgUrl },
3179
+ }),
3180
+ ]
3181
+ ),
3156
3182
  ]
3157
3183
  ),
3158
- ]
3159
- ),
3160
3184
  _c(
3161
3185
  "es-dialog",
3162
3186
  {
@@ -3185,10 +3209,10 @@ var mainvue_type_template_id_3df48687_render = function () {
3185
3209
  )
3186
3210
  }
3187
3211
  var staticRenderFns = []
3188
- mainvue_type_template_id_3df48687_render._withStripped = true
3212
+ mainvue_type_template_id_456fded3_render._withStripped = true
3189
3213
 
3190
3214
 
3191
- // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=3df48687&
3215
+ // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=456fded3&
3192
3216
 
3193
3217
  // EXTERNAL MODULE: ./src/config/api.js
3194
3218
  var api = __webpack_require__(1);
@@ -3387,6 +3411,13 @@ var _props;
3387
3411
  //
3388
3412
  //
3389
3413
  //
3414
+ //
3415
+ //
3416
+ //
3417
+ //
3418
+ //
3419
+ //
3420
+ //
3390
3421
 
3391
3422
 
3392
3423
 
@@ -3594,6 +3625,9 @@ var _props;
3594
3625
  default: function _default() {
3595
3626
  return {};
3596
3627
  }
3628
+ }, _props.previewScale = {
3629
+ type: Boolean,
3630
+ default: true
3597
3631
  }, _props),
3598
3632
  data: function data() {
3599
3633
  return {
@@ -3923,7 +3957,7 @@ var _props;
3923
3957
  } else if (suffix.includes('pdf')) {
3924
3958
  util["a" /* default */].win.open(this.host + (url ? url : api["hb" /* previewAdjunct2 */]) + '/' + file.originalName + '?adjunctId=' + file.adjunctId);
3925
3959
  } else if (suffix.includes('jpge') || suffix.includes('jpg') || suffix.includes('gif') || suffix.includes('png')) {
3926
- this.imgUrl = this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId;
3960
+ this.imgUrl = res.url ? res.url : this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId;
3927
3961
  this.title = file.originalName;
3928
3962
  this.showImg = true;
3929
3963
  this.$nextTick(function () {
@@ -3944,10 +3978,13 @@ var _props;
3944
3978
  }
3945
3979
  }
3946
3980
  },
3981
+ closeViewer: function closeViewer() {
3982
+ this.showImg = false;
3983
+ },
3947
3984
  loadImage: function loadImage() {
3948
3985
  var _this5 = this;
3949
3986
 
3950
- this.$refs.showImg.onload = function () {
3987
+ this.$refs.showImg && (this.$refs.showImg.onload = function () {
3951
3988
  _this5.imgChange = false;
3952
3989
  var w = _this5.$refs.showImg.naturalWidth;
3953
3990
  var h = _this5.$refs.showImg.naturalHeight;
@@ -3964,14 +4001,14 @@ var _props;
3964
4001
  if (h < ph) {
3965
4002
  _this5.styles.height = h + 'px';
3966
4003
  }
3967
- };
4004
+ });
3968
4005
  },
3969
4006
  isLt: function isLt(file) {
3970
4007
  var flag = false;
3971
4008
  var flieArr = file.name.split('.');
3972
- var suffix = '.' + flieArr[flieArr.length - 1];
4009
+ var suffix = '.' + flieArr[flieArr.length - 1].toLowerCase();
3973
4010
  if (this.accepts) {
3974
- var accepts = this.accepts.split(',');
4011
+ var accepts = this.accepts.toLowerCase().split(',');
3975
4012
  flag = accepts.includes(suffix);
3976
4013
  if (!flag) {
3977
4014
  this.$message.error('\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF\uFF0C\u8BF7\u4E0A\u4F20' + this.accepts + '\u7C7B\u578B\u6587\u4EF6!');
@@ -4217,7 +4254,7 @@ var componentNormalizer = __webpack_require__(3);
4217
4254
 
4218
4255
  var component = Object(componentNormalizer["a" /* default */])(
4219
4256
  src_mainvue_type_script_lang_js_,
4220
- mainvue_type_template_id_3df48687_render,
4257
+ mainvue_type_template_id_456fded3_render,
4221
4258
  staticRenderFns,
4222
4259
  false,
4223
4260
  null,
package/lib/utils/util.js CHANGED
@@ -179,20 +179,33 @@ var ajax = function ajax(_ref) {
179
179
  }).then(function () {
180
180
  var loginPage = getStorage('login') || getStorage('loginPage');
181
181
  if (loginPage) {
182
- win.top.location.href = loginPage;
182
+ var src = void 0;
183
+ if (!startWith(loginPage, ['http', '/'])) {
184
+ var pathname = win.top.location.pathname;
185
+ if (pathname !== '/') {
186
+ pathname = pathname.split('/');
187
+ pathname.splice(pathname.length - 1);
188
+ pathname = pathname.join('/');
189
+ }
190
+ src = pathname + loginPage.replace('./', '');
191
+ } else {
192
+ src = loginPage;
193
+ }
194
+ win.top.location.href = src;
183
195
  } else if (win.top.location.href.indexOf('main.html') > -1) {
184
196
  win.top.location.href = './login.html';
185
197
  } else {
186
198
  var hash = win.top.location.hash;
187
- if (hash || win.top.location.indexOf('model=') && win.top.location.indexOf('view=') && win.top.location.indexOf('render.html')) {
199
+ if (hash) {
188
200
  var len = win.top.location.href.indexOf(hash);
189
- var href = win.top.location.href.slice(0, len) + '#/login';
190
- win.top.location.href = href;
201
+ win.top.location.href = win.location.href.slice(0, len) + '#/login';
191
202
  } else {
192
203
  win.top.location.href = '/login.html';
193
204
  }
194
205
  }
195
- }).catch(function (e) {});
206
+ }).catch(function (e) {
207
+ sessionStorage.removeItem('remind');
208
+ });
196
209
  }, 1000));
197
210
  }
198
211
  } else if (response.data.rCode === 61) {
package/lib/wujie.js CHANGED
@@ -264,20 +264,33 @@ var ajax = function ajax(_ref) {
264
264
  }).then(function () {
265
265
  var loginPage = getStorage('login') || getStorage('loginPage');
266
266
  if (loginPage) {
267
- win.top.location.href = loginPage;
267
+ var src = void 0;
268
+ if (!startWith(loginPage, ['http', '/'])) {
269
+ var pathname = win.top.location.pathname;
270
+ if (pathname !== '/') {
271
+ pathname = pathname.split('/');
272
+ pathname.splice(pathname.length - 1);
273
+ pathname = pathname.join('/');
274
+ }
275
+ src = pathname + loginPage.replace('./', '');
276
+ } else {
277
+ src = loginPage;
278
+ }
279
+ win.top.location.href = src;
268
280
  } else if (win.top.location.href.indexOf('main.html') > -1) {
269
281
  win.top.location.href = './login.html';
270
282
  } else {
271
283
  var hash = win.top.location.hash;
272
- if (hash || win.top.location.indexOf('model=') && win.top.location.indexOf('view=') && win.top.location.indexOf('render.html')) {
284
+ if (hash) {
273
285
  var len = win.top.location.href.indexOf(hash);
274
- var href = win.top.location.href.slice(0, len) + '#/login';
275
- win.top.location.href = href;
286
+ win.top.location.href = win.location.href.slice(0, len) + '#/login';
276
287
  } else {
277
288
  win.top.location.href = '/login.html';
278
289
  }
279
290
  }
280
- }).catch(function (e) {});
291
+ }).catch(function (e) {
292
+ sessionStorage.removeItem('remind');
293
+ });
281
294
  }, 1000));
282
295
  }
283
296
  } else if (response.data.rCode === 61) {
package/lib/wxlogin.js CHANGED
@@ -264,20 +264,33 @@ var ajax = function ajax(_ref) {
264
264
  }).then(function () {
265
265
  var loginPage = getStorage('login') || getStorage('loginPage');
266
266
  if (loginPage) {
267
- win.top.location.href = loginPage;
267
+ var src = void 0;
268
+ if (!startWith(loginPage, ['http', '/'])) {
269
+ var pathname = win.top.location.pathname;
270
+ if (pathname !== '/') {
271
+ pathname = pathname.split('/');
272
+ pathname.splice(pathname.length - 1);
273
+ pathname = pathname.join('/');
274
+ }
275
+ src = pathname + loginPage.replace('./', '');
276
+ } else {
277
+ src = loginPage;
278
+ }
279
+ win.top.location.href = src;
268
280
  } else if (win.top.location.href.indexOf('main.html') > -1) {
269
281
  win.top.location.href = './login.html';
270
282
  } else {
271
283
  var hash = win.top.location.hash;
272
- if (hash || win.top.location.indexOf('model=') && win.top.location.indexOf('view=') && win.top.location.indexOf('render.html')) {
284
+ if (hash) {
273
285
  var len = win.top.location.href.indexOf(hash);
274
- var href = win.top.location.href.slice(0, len) + '#/login';
275
- win.top.location.href = href;
286
+ win.top.location.href = win.location.href.slice(0, len) + '#/login';
276
287
  } else {
277
288
  win.top.location.href = '/login.html';
278
289
  }
279
290
  }
280
- }).catch(function (e) {});
291
+ }).catch(function (e) {
292
+ sessionStorage.removeItem('remind');
293
+ });
281
294
  }, 1000));
282
295
  }
283
296
  } else if (response.data.rCode === 61) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-ui",
3
- "version": "0.4.58",
3
+ "version": "0.4.59",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
@@ -93,7 +93,7 @@
93
93
  "cp-cli": "^1.0.2",
94
94
  "cross-env": "^3.1.3",
95
95
  "css-loader": "^2.1.0",
96
- "eoss-element": "^0.2.64",
96
+ "eoss-element": "^0.2.66",
97
97
  "es6-promise": "^4.0.5",
98
98
  "eslint": "4.18.2",
99
99
  "eslint-config-elemefe": "0.1.1",