eoss-ui 0.4.58 → 0.4.60
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 +20 -5
- package/lib/button.js +20 -5
- package/lib/checkbox-group.js +20 -5
- package/lib/clients.js +95 -4
- package/lib/data-table-form.js +20 -5
- package/lib/data-table.js +25 -11
- package/lib/date-picker.js +20 -5
- package/lib/dialog.js +20 -5
- package/lib/eoss-ui.common.js +1400 -1086
- package/lib/flow-group.js +929 -860
- package/lib/flow-list.js +20 -5
- package/lib/flow.js +33 -16
- package/lib/form.js +20 -5
- package/lib/handle-user.js +20 -5
- package/lib/handler.js +41 -15
- package/lib/index.js +1 -1
- package/lib/input-number.js +20 -5
- package/lib/input.js +32 -10
- package/lib/login.js +103 -33
- package/lib/main.js +85 -38
- package/lib/mainComp.js +69 -30
- package/lib/nav.js +20 -5
- package/lib/page.js +20 -5
- package/lib/player.js +20 -5
- package/lib/qr-code.js +20 -5
- package/lib/radio-group.js +20 -5
- package/lib/retrial-auth.js +20 -5
- package/lib/select-ganged.js +20 -5
- package/lib/select.js +20 -5
- package/lib/selector-panel.js +20 -5
- package/lib/selector.js +20 -5
- package/lib/sizer.js +20 -5
- package/lib/steps.js +20 -5
- package/lib/switch.js +20 -5
- package/lib/table-form.js +27 -11
- package/lib/tabs.js +20 -5
- package/lib/theme-chalk/clients.css +1 -1
- package/lib/theme-chalk/flow-group.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/login.css +1 -1
- package/lib/tips.js +20 -5
- package/lib/toolbar.js +0 -1
- package/lib/tree-group.js +20 -5
- package/lib/tree.js +20 -5
- package/lib/upload.js +91 -52
- package/lib/utils/util.js +20 -5
- package/lib/wujie.js +20 -5
- package/lib/wxlogin.js +20 -5
- package/package.json +2 -2
- package/packages/clients/src/main.vue +60 -2
- package/packages/data-table/src/main.vue +0 -1
- package/packages/flow/src/main.vue +1 -0
- package/packages/flow/src/startTaskRead.vue +2 -2
- package/packages/flow-group/src/main.vue +284 -265
- package/packages/form/src/table.vue +3 -2
- package/packages/handler/src/main.vue +22 -10
- package/packages/input/src/main.vue +7 -2
- package/packages/login/src/main.vue +77 -27
- package/packages/main/src/main.vue +52 -32
- package/packages/main/src/userinfo.vue +22 -9
- package/packages/mainComp/src/main.vue +23 -10
- package/packages/mainComp/src/userinfo.vue +22 -9
- package/packages/theme-chalk/lib/clients.css +1 -1
- package/packages/theme-chalk/lib/flow-group.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/login.css +1 -1
- package/packages/theme-chalk/src/clients.scss +8 -0
- package/packages/theme-chalk/src/flow-group.scss +9 -3
- package/packages/theme-chalk/src/login.scss +3 -0
- package/packages/toolbar/src/main.vue +0 -1
- package/packages/upload/src/main.vue +43 -26
- package/src/index.js +1 -1
- package/src/utils/util.js +22 -10
- package/CHANGELOG.md +0 -929
|
@@ -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,35 @@ var ajax = function ajax(_ref) {
|
|
|
264
264
|
}).then(function () {
|
|
265
265
|
var loginPage = getStorage('login') || getStorage('loginPage');
|
|
266
266
|
if (loginPage) {
|
|
267
|
-
|
|
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
|
+
src = pathname + loginPage.replace('./', '/');
|
|
275
|
+
} else {
|
|
276
|
+
src = pathname + loginPage.replace('./', '');
|
|
277
|
+
}
|
|
278
|
+
} else {
|
|
279
|
+
src = loginPage;
|
|
280
|
+
}
|
|
281
|
+
win.top.location.href = src;
|
|
268
282
|
} else if (win.top.location.href.indexOf('main.html') > -1) {
|
|
269
283
|
win.top.location.href = './login.html';
|
|
270
284
|
} else {
|
|
271
285
|
var hash = win.top.location.hash;
|
|
272
|
-
if (hash
|
|
286
|
+
if (hash) {
|
|
273
287
|
var len = win.top.location.href.indexOf(hash);
|
|
274
|
-
|
|
275
|
-
win.top.location.href = href;
|
|
288
|
+
win.top.location.href = win.location.href.slice(0, len) + '#/login';
|
|
276
289
|
} else {
|
|
277
290
|
win.top.location.href = '/login.html';
|
|
278
291
|
}
|
|
279
292
|
}
|
|
280
|
-
}).catch(function (e) {
|
|
293
|
+
}).catch(function (e) {
|
|
294
|
+
sessionStorage.removeItem('remind');
|
|
295
|
+
});
|
|
281
296
|
}, 1000));
|
|
282
297
|
}
|
|
283
298
|
} 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,35 @@ var ajax = function ajax(_ref) {
|
|
|
264
264
|
}).then(function () {
|
|
265
265
|
var loginPage = getStorage('login') || getStorage('loginPage');
|
|
266
266
|
if (loginPage) {
|
|
267
|
-
|
|
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
|
+
src = pathname + loginPage.replace('./', '/');
|
|
275
|
+
} else {
|
|
276
|
+
src = pathname + loginPage.replace('./', '');
|
|
277
|
+
}
|
|
278
|
+
} else {
|
|
279
|
+
src = loginPage;
|
|
280
|
+
}
|
|
281
|
+
win.top.location.href = src;
|
|
268
282
|
} else if (win.top.location.href.indexOf('main.html') > -1) {
|
|
269
283
|
win.top.location.href = './login.html';
|
|
270
284
|
} else {
|
|
271
285
|
var hash = win.top.location.hash;
|
|
272
|
-
if (hash
|
|
286
|
+
if (hash) {
|
|
273
287
|
var len = win.top.location.href.indexOf(hash);
|
|
274
|
-
|
|
275
|
-
win.top.location.href = href;
|
|
288
|
+
win.top.location.href = win.location.href.slice(0, len) + '#/login';
|
|
276
289
|
} else {
|
|
277
290
|
win.top.location.href = '/login.html';
|
|
278
291
|
}
|
|
279
292
|
}
|
|
280
|
-
}).catch(function (e) {
|
|
293
|
+
}).catch(function (e) {
|
|
294
|
+
sessionStorage.removeItem('remind');
|
|
295
|
+
});
|
|
281
296
|
}, 1000));
|
|
282
297
|
}
|
|
283
298
|
} else if (response.data.rCode === 61) {
|
package/lib/tree.js
CHANGED
|
@@ -264,20 +264,35 @@ var ajax = function ajax(_ref) {
|
|
|
264
264
|
}).then(function () {
|
|
265
265
|
var loginPage = getStorage('login') || getStorage('loginPage');
|
|
266
266
|
if (loginPage) {
|
|
267
|
-
|
|
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
|
+
src = pathname + loginPage.replace('./', '/');
|
|
275
|
+
} else {
|
|
276
|
+
src = pathname + loginPage.replace('./', '');
|
|
277
|
+
}
|
|
278
|
+
} else {
|
|
279
|
+
src = loginPage;
|
|
280
|
+
}
|
|
281
|
+
win.top.location.href = src;
|
|
268
282
|
} else if (win.top.location.href.indexOf('main.html') > -1) {
|
|
269
283
|
win.top.location.href = './login.html';
|
|
270
284
|
} else {
|
|
271
285
|
var hash = win.top.location.hash;
|
|
272
|
-
if (hash
|
|
286
|
+
if (hash) {
|
|
273
287
|
var len = win.top.location.href.indexOf(hash);
|
|
274
|
-
|
|
275
|
-
win.top.location.href = href;
|
|
288
|
+
win.top.location.href = win.location.href.slice(0, len) + '#/login';
|
|
276
289
|
} else {
|
|
277
290
|
win.top.location.href = '/login.html';
|
|
278
291
|
}
|
|
279
292
|
}
|
|
280
|
-
}).catch(function (e) {
|
|
293
|
+
}).catch(function (e) {
|
|
294
|
+
sessionStorage.removeItem('remind');
|
|
295
|
+
});
|
|
281
296
|
}, 1000));
|
|
282
297
|
}
|
|
283
298
|
} else if (response.data.rCode === 61) {
|
package/lib/upload.js
CHANGED
|
@@ -264,20 +264,35 @@ var ajax = function ajax(_ref) {
|
|
|
264
264
|
}).then(function () {
|
|
265
265
|
var loginPage = getStorage('login') || getStorage('loginPage');
|
|
266
266
|
if (loginPage) {
|
|
267
|
-
|
|
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
|
+
src = pathname + loginPage.replace('./', '/');
|
|
275
|
+
} else {
|
|
276
|
+
src = pathname + loginPage.replace('./', '');
|
|
277
|
+
}
|
|
278
|
+
} else {
|
|
279
|
+
src = loginPage;
|
|
280
|
+
}
|
|
281
|
+
win.top.location.href = src;
|
|
268
282
|
} else if (win.top.location.href.indexOf('main.html') > -1) {
|
|
269
283
|
win.top.location.href = './login.html';
|
|
270
284
|
} else {
|
|
271
285
|
var hash = win.top.location.hash;
|
|
272
|
-
if (hash
|
|
286
|
+
if (hash) {
|
|
273
287
|
var len = win.top.location.href.indexOf(hash);
|
|
274
|
-
|
|
275
|
-
win.top.location.href = href;
|
|
288
|
+
win.top.location.href = win.location.href.slice(0, len) + '#/login';
|
|
276
289
|
} else {
|
|
277
290
|
win.top.location.href = '/login.html';
|
|
278
291
|
}
|
|
279
292
|
}
|
|
280
|
-
}).catch(function (e) {
|
|
293
|
+
}).catch(function (e) {
|
|
294
|
+
sessionStorage.removeItem('remind');
|
|
295
|
+
});
|
|
281
296
|
}, 1000));
|
|
282
297
|
}
|
|
283
298
|
} else if (response.data.rCode === 61) {
|
|
@@ -2833,8 +2848,8 @@ function normalizeComponent(
|
|
|
2833
2848
|
// ESM COMPAT FLAG
|
|
2834
2849
|
__webpack_require__.r(__webpack_exports__);
|
|
2835
2850
|
|
|
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=
|
|
2837
|
-
var
|
|
2851
|
+
// 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=a329683c&
|
|
2852
|
+
var mainvue_type_template_id_a329683c_render = function () {
|
|
2838
2853
|
var _vm = this
|
|
2839
2854
|
var _h = _vm.$createElement
|
|
2840
2855
|
var _c = _vm._self._c || _h
|
|
@@ -3113,50 +3128,61 @@ var mainvue_type_template_id_3df48687_render = function () {
|
|
|
3113
3128
|
],
|
|
3114
3129
|
2
|
|
3115
3130
|
),
|
|
3116
|
-
|
|
3117
|
-
"
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
_vm.
|
|
3131
|
+
_vm.previewScale && _vm.showImg
|
|
3132
|
+
? _c("el-image-viewer", {
|
|
3133
|
+
attrs: {
|
|
3134
|
+
slot: "dialog",
|
|
3135
|
+
"z-index": 9999,
|
|
3136
|
+
"initial-index": 0,
|
|
3137
|
+
"url-list": [_vm.imgUrl],
|
|
3138
|
+
"on-close": _vm.closeViewer,
|
|
3123
3139
|
},
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
_c(
|
|
3129
|
-
"div",
|
|
3140
|
+
slot: "dialog",
|
|
3141
|
+
})
|
|
3142
|
+
: _c(
|
|
3143
|
+
"es-dialog",
|
|
3130
3144
|
{
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
value: _vm.imgChange,
|
|
3136
|
-
expression: "imgChange",
|
|
3145
|
+
attrs: { slot: "dialog", title: _vm.title, visible: _vm.showImg },
|
|
3146
|
+
on: {
|
|
3147
|
+
"update:visible": function ($event) {
|
|
3148
|
+
_vm.showImg = $event
|
|
3137
3149
|
},
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
attrs: { "element-loading-background": "rgba(0, 0, 0, 0.8)" },
|
|
3150
|
+
},
|
|
3151
|
+
slot: "dialog",
|
|
3141
3152
|
},
|
|
3142
3153
|
[
|
|
3143
|
-
_c(
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3154
|
+
_c(
|
|
3155
|
+
"div",
|
|
3156
|
+
{
|
|
3157
|
+
directives: [
|
|
3158
|
+
{
|
|
3159
|
+
name: "loading",
|
|
3160
|
+
rawName: "v-loading",
|
|
3161
|
+
value: _vm.imgChange,
|
|
3162
|
+
expression: "imgChange",
|
|
3163
|
+
},
|
|
3164
|
+
],
|
|
3165
|
+
staticClass: "es-upload-dialog",
|
|
3166
|
+
attrs: { "element-loading-background": "rgba(0, 0, 0, 0.8)" },
|
|
3167
|
+
},
|
|
3168
|
+
[
|
|
3169
|
+
_c("img", {
|
|
3170
|
+
directives: [
|
|
3171
|
+
{
|
|
3172
|
+
name: "show",
|
|
3173
|
+
rawName: "v-show",
|
|
3174
|
+
value: !_vm.imgChange,
|
|
3175
|
+
expression: "!imgChange",
|
|
3176
|
+
},
|
|
3177
|
+
],
|
|
3178
|
+
ref: "showImg",
|
|
3179
|
+
style: _vm.styles,
|
|
3180
|
+
attrs: { src: _vm.imgUrl },
|
|
3181
|
+
}),
|
|
3182
|
+
]
|
|
3183
|
+
),
|
|
3156
3184
|
]
|
|
3157
3185
|
),
|
|
3158
|
-
]
|
|
3159
|
-
),
|
|
3160
3186
|
_c(
|
|
3161
3187
|
"es-dialog",
|
|
3162
3188
|
{
|
|
@@ -3185,10 +3211,10 @@ var mainvue_type_template_id_3df48687_render = function () {
|
|
|
3185
3211
|
)
|
|
3186
3212
|
}
|
|
3187
3213
|
var staticRenderFns = []
|
|
3188
|
-
|
|
3214
|
+
mainvue_type_template_id_a329683c_render._withStripped = true
|
|
3189
3215
|
|
|
3190
3216
|
|
|
3191
|
-
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=
|
|
3217
|
+
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=a329683c&
|
|
3192
3218
|
|
|
3193
3219
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
3194
3220
|
var api = __webpack_require__(1);
|
|
@@ -3387,6 +3413,13 @@ var _props;
|
|
|
3387
3413
|
//
|
|
3388
3414
|
//
|
|
3389
3415
|
//
|
|
3416
|
+
//
|
|
3417
|
+
//
|
|
3418
|
+
//
|
|
3419
|
+
//
|
|
3420
|
+
//
|
|
3421
|
+
//
|
|
3422
|
+
//
|
|
3390
3423
|
|
|
3391
3424
|
|
|
3392
3425
|
|
|
@@ -3594,6 +3627,9 @@ var _props;
|
|
|
3594
3627
|
default: function _default() {
|
|
3595
3628
|
return {};
|
|
3596
3629
|
}
|
|
3630
|
+
}, _props.previewScale = {
|
|
3631
|
+
type: Boolean,
|
|
3632
|
+
default: true
|
|
3597
3633
|
}, _props),
|
|
3598
3634
|
data: function data() {
|
|
3599
3635
|
return {
|
|
@@ -3923,7 +3959,7 @@ var _props;
|
|
|
3923
3959
|
} else if (suffix.includes('pdf')) {
|
|
3924
3960
|
util["a" /* default */].win.open(this.host + (url ? url : api["hb" /* previewAdjunct2 */]) + '/' + file.originalName + '?adjunctId=' + file.adjunctId);
|
|
3925
3961
|
} 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;
|
|
3962
|
+
this.imgUrl = res.url && util["a" /* default */].startWith(url, ['http', '/']) ? res.url : this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId;
|
|
3927
3963
|
this.title = file.originalName;
|
|
3928
3964
|
this.showImg = true;
|
|
3929
3965
|
this.$nextTick(function () {
|
|
@@ -3944,10 +3980,13 @@ var _props;
|
|
|
3944
3980
|
}
|
|
3945
3981
|
}
|
|
3946
3982
|
},
|
|
3983
|
+
closeViewer: function closeViewer() {
|
|
3984
|
+
this.showImg = false;
|
|
3985
|
+
},
|
|
3947
3986
|
loadImage: function loadImage() {
|
|
3948
3987
|
var _this5 = this;
|
|
3949
3988
|
|
|
3950
|
-
this.$refs.showImg.onload = function () {
|
|
3989
|
+
this.$refs.showImg && (this.$refs.showImg.onload = function () {
|
|
3951
3990
|
_this5.imgChange = false;
|
|
3952
3991
|
var w = _this5.$refs.showImg.naturalWidth;
|
|
3953
3992
|
var h = _this5.$refs.showImg.naturalHeight;
|
|
@@ -3964,14 +4003,14 @@ var _props;
|
|
|
3964
4003
|
if (h < ph) {
|
|
3965
4004
|
_this5.styles.height = h + 'px';
|
|
3966
4005
|
}
|
|
3967
|
-
};
|
|
4006
|
+
});
|
|
3968
4007
|
},
|
|
3969
4008
|
isLt: function isLt(file) {
|
|
3970
4009
|
var flag = false;
|
|
3971
4010
|
var flieArr = file.name.split('.');
|
|
3972
|
-
var suffix = '.' + flieArr[flieArr.length - 1];
|
|
4011
|
+
var suffix = '.' + flieArr[flieArr.length - 1].toLowerCase();
|
|
3973
4012
|
if (this.accepts) {
|
|
3974
|
-
var accepts = this.accepts.split(',');
|
|
4013
|
+
var accepts = this.accepts.toLowerCase().split(',');
|
|
3975
4014
|
flag = accepts.includes(suffix);
|
|
3976
4015
|
if (!flag) {
|
|
3977
4016
|
this.$message.error('\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF\uFF0C\u8BF7\u4E0A\u4F20' + this.accepts + '\u7C7B\u578B\u6587\u4EF6!');
|
|
@@ -4217,7 +4256,7 @@ var componentNormalizer = __webpack_require__(3);
|
|
|
4217
4256
|
|
|
4218
4257
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
4219
4258
|
src_mainvue_type_script_lang_js_,
|
|
4220
|
-
|
|
4259
|
+
mainvue_type_template_id_a329683c_render,
|
|
4221
4260
|
staticRenderFns,
|
|
4222
4261
|
false,
|
|
4223
4262
|
null,
|
package/lib/utils/util.js
CHANGED
|
@@ -179,20 +179,35 @@ var ajax = function ajax(_ref) {
|
|
|
179
179
|
}).then(function () {
|
|
180
180
|
var loginPage = getStorage('login') || getStorage('loginPage');
|
|
181
181
|
if (loginPage) {
|
|
182
|
-
|
|
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
|
+
src = pathname + loginPage.replace('./', '/');
|
|
190
|
+
} else {
|
|
191
|
+
src = pathname + loginPage.replace('./', '');
|
|
192
|
+
}
|
|
193
|
+
} else {
|
|
194
|
+
src = loginPage;
|
|
195
|
+
}
|
|
196
|
+
win.top.location.href = src;
|
|
183
197
|
} else if (win.top.location.href.indexOf('main.html') > -1) {
|
|
184
198
|
win.top.location.href = './login.html';
|
|
185
199
|
} else {
|
|
186
200
|
var hash = win.top.location.hash;
|
|
187
|
-
if (hash
|
|
201
|
+
if (hash) {
|
|
188
202
|
var len = win.top.location.href.indexOf(hash);
|
|
189
|
-
|
|
190
|
-
win.top.location.href = href;
|
|
203
|
+
win.top.location.href = win.location.href.slice(0, len) + '#/login';
|
|
191
204
|
} else {
|
|
192
205
|
win.top.location.href = '/login.html';
|
|
193
206
|
}
|
|
194
207
|
}
|
|
195
|
-
}).catch(function (e) {
|
|
208
|
+
}).catch(function (e) {
|
|
209
|
+
sessionStorage.removeItem('remind');
|
|
210
|
+
});
|
|
196
211
|
}, 1000));
|
|
197
212
|
}
|
|
198
213
|
} else if (response.data.rCode === 61) {
|
package/lib/wujie.js
CHANGED
|
@@ -264,20 +264,35 @@ var ajax = function ajax(_ref) {
|
|
|
264
264
|
}).then(function () {
|
|
265
265
|
var loginPage = getStorage('login') || getStorage('loginPage');
|
|
266
266
|
if (loginPage) {
|
|
267
|
-
|
|
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
|
+
src = pathname + loginPage.replace('./', '/');
|
|
275
|
+
} else {
|
|
276
|
+
src = pathname + loginPage.replace('./', '');
|
|
277
|
+
}
|
|
278
|
+
} else {
|
|
279
|
+
src = loginPage;
|
|
280
|
+
}
|
|
281
|
+
win.top.location.href = src;
|
|
268
282
|
} else if (win.top.location.href.indexOf('main.html') > -1) {
|
|
269
283
|
win.top.location.href = './login.html';
|
|
270
284
|
} else {
|
|
271
285
|
var hash = win.top.location.hash;
|
|
272
|
-
if (hash
|
|
286
|
+
if (hash) {
|
|
273
287
|
var len = win.top.location.href.indexOf(hash);
|
|
274
|
-
|
|
275
|
-
win.top.location.href = href;
|
|
288
|
+
win.top.location.href = win.location.href.slice(0, len) + '#/login';
|
|
276
289
|
} else {
|
|
277
290
|
win.top.location.href = '/login.html';
|
|
278
291
|
}
|
|
279
292
|
}
|
|
280
|
-
}).catch(function (e) {
|
|
293
|
+
}).catch(function (e) {
|
|
294
|
+
sessionStorage.removeItem('remind');
|
|
295
|
+
});
|
|
281
296
|
}, 1000));
|
|
282
297
|
}
|
|
283
298
|
} else if (response.data.rCode === 61) {
|
package/lib/wxlogin.js
CHANGED
|
@@ -264,20 +264,35 @@ var ajax = function ajax(_ref) {
|
|
|
264
264
|
}).then(function () {
|
|
265
265
|
var loginPage = getStorage('login') || getStorage('loginPage');
|
|
266
266
|
if (loginPage) {
|
|
267
|
-
|
|
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
|
+
src = pathname + loginPage.replace('./', '/');
|
|
275
|
+
} else {
|
|
276
|
+
src = pathname + loginPage.replace('./', '');
|
|
277
|
+
}
|
|
278
|
+
} else {
|
|
279
|
+
src = loginPage;
|
|
280
|
+
}
|
|
281
|
+
win.top.location.href = src;
|
|
268
282
|
} else if (win.top.location.href.indexOf('main.html') > -1) {
|
|
269
283
|
win.top.location.href = './login.html';
|
|
270
284
|
} else {
|
|
271
285
|
var hash = win.top.location.hash;
|
|
272
|
-
if (hash
|
|
286
|
+
if (hash) {
|
|
273
287
|
var len = win.top.location.href.indexOf(hash);
|
|
274
|
-
|
|
275
|
-
win.top.location.href = href;
|
|
288
|
+
win.top.location.href = win.location.href.slice(0, len) + '#/login';
|
|
276
289
|
} else {
|
|
277
290
|
win.top.location.href = '/login.html';
|
|
278
291
|
}
|
|
279
292
|
}
|
|
280
|
-
}).catch(function (e) {
|
|
293
|
+
}).catch(function (e) {
|
|
294
|
+
sessionStorage.removeItem('remind');
|
|
295
|
+
});
|
|
281
296
|
}, 1000));
|
|
282
297
|
}
|
|
283
298
|
} 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.
|
|
3
|
+
"version": "0.4.60",
|
|
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.
|
|
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",
|