From 01f609591cabe78c0d06f1f12e86e1f744b78329 Mon Sep 17 00:00:00 2001 From: combineli Date: Wed, 19 Jun 2019 11:07:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=85=8D=E7=BD=AE=E4=B8=8D?= =?UTF-8?q?=E6=8D=A2=E8=A1=8C=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/dist/dcache.html | 4 +-- .../{dcache.0c579.css => dcache.e4d06.css} | 2 +- .../js/{dcache.d330f.js => dcache.fee59.js} | 2 +- client/src/pages/cacheConfig/moduleCache.vue | 25 ++++++++++++++++--- 4 files changed, 26 insertions(+), 7 deletions(-) rename client/dist/static/css/{dcache.0c579.css => dcache.e4d06.css} (99%) rename client/dist/static/js/{dcache.d330f.js => dcache.fee59.js} (79%) diff --git a/client/dist/dcache.html b/client/dist/dcache.html index 8627031b..d5dde2a9 100644 --- a/client/dist/dcache.html +++ b/client/dist/dcache.html @@ -1,4 +1,4 @@ -DCACHE
\ No newline at end of file + } \ No newline at end of file diff --git a/client/dist/static/css/dcache.0c579.css b/client/dist/static/css/dcache.e4d06.css similarity index 99% rename from client/dist/static/css/dcache.0c579.css rename to client/dist/static/css/dcache.e4d06.css index d43a8e4e..ea5c174e 100644 --- a/client/dist/static/css/dcache.0c579.css +++ b/client/dist/static/css/dcache.e4d06.css @@ -2,4 +2,4 @@ * Let UI v0.1.24 (https://github.com/yued-fe/let-ui) * (c) 2019 yued fe team * Released under the MIT License. - */.let-align{display:table;height:100%;width:100%}.let-align__inner{display:table-cell}.let_backdrop{bottom:0;left:0;position:fixed;right:0;top:0}.backdrop-enter-active,.backdrop-leave-active{transition:opacity .2s ease-out}.backdrop-enter,.backdrop-leave-active{opacity:0}.let-breadcrumb{line-height:1.5;font-size:0;font-weight:medium}.let-breadcrumb__separator{margin:0 8px;color:#222329;font-size:14px;font-weight:700}.let-breadcrumb__item{vertical-align:middle}.let-breadcrumb__item:last-child .let-breadcrumb__separator{display:none}.let-breadcrumb__item:last-child .let-breadcrumb__text{color:#222329;font-weight:400}.let-breadcrumb__link{color:#9096a3;font-size:14px;cursor:pointer;font-weight:700}.let-breadcrumb__link:hover{color:#222329}.let-breadcrumb__text{font-size:14px;color:#9096a3;font-weight:700}.let-button{background-image:none;border-radius:4px;cursor:pointer;display:inline-block;font-size:14px;font-weight:700;font-family:Pingfang SC,Microsoft YaHei,"sans-serif";line-height:34px;margin-bottom:0;padding:0 20px;text-align:center;-ms-touch-action:manipulation;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap;border:1px solid;box-sizing:border-box}.let-button_disabled{opacity:.6;cursor:not-allowed}.let-button_large{line-height:48px;padding:0 32px}.let-button_small{border-radius:3px;line-height:30px;padding:0 16px;font-size:12px}.let-button_mini{border-radius:2px;line-height:28px;padding:0 8px;font-size:12px}.let-button_default{background-color:#fff;border-color:#c0c4cc;color:#9096a3}.let-button_default:hover{background-color:#f5f8fa;box-shadow:0 2px 4px 0 rgba(192,196,204,.24)}.let-button_default:active{background-color:#f0f4f5}.let-button_default.let-button_disabled{background-color:hsla(0,0%,100%,.5);border-color:rgba(192,196,204,.5);color:hsla(221,9%,60%,.5);opacity:.6;cursor:not-allowed}.let-button_default.let-button_disabled:hover{box-shadow:none}.let-button_primary{background-color:#3f5ae0;border-color:#3f5ae0;color:#fff}.let-button_primary:hover{opacity:.8;box-shadow:0 2px 4px 0 rgba(103,125,235,.32)}.let-button_primary:active{background-color:#3952cc;opacity:1}.let-button_primary.let-button_disabled{opacity:.6;cursor:not-allowed}.let-button_primary.let-button_disabled:hover{box-shadow:none}.let-button_dark{background-color:#9096a3;border-color:#9096a3;color:#fff}.let-button_dark:hover{opacity:.8}.let-button_dark:active{background-color:#6d768f;opacity:1}.let-button_dark.let-button_disabled{opacity:.6;cursor:not-allowed}.let-button_dark.let-button_disabled:hover{box-shadow:none}.let-button_success{background-color:#6accab;border-color:#6accab;color:#fff}.let-button_success:hover{opacity:.8;box-shadow:0 2px 4px 0 rgba(106,204,204,.32)}.let-button_success:active{background-color:#5fb89a;opacity:1}.let-button_success.let-button_disabled{opacity:.6;cursor:not-allowed}.let-button_success.let-button_disabled:hover{box-shadow:none}.let-button_danger{background-color:#f56c77;color:#fff;border-color:#f56c77}.let-button_danger:hover{opacity:.8;box-shadow:0 2px 4px 0 rgba(245,108,119,.32)}.let-button_danger:active{background-color:#e0515d;opacity:1}.let-button_danger.let-button_disabled{opacity:.6;cursor:not-allowed}.let-button_danger.let-button_disabled:hover{box-shadow:none}.let-button_sub-primary{background-color:#fff;color:#3f5ae0;border:1px solid #3f5ae0}.let-button_sub-primary:hover{box-shadow:0 2px 4px 0 rgba(63,90,224,.24)}.let-button_sub-primary:active{background-color:#d2dffa}.let-button_sub-primary.let-button_disabled{opacity:.6;cursor:not-allowed}.let-button_sub-primary.let-button_disabled:hover{box-shadow:none}.let-button_sub-danger{background-color:#fff;color:#f56c77;border:1px solid #f56c77}.let-button_sub-danger:hover{box-shadow:0 2px 4px 0 rgba(226,50,51,.16)}.let-button_sub-danger:active{background-color:#f5ced1}.let-button_sub-danger.let-button_disabled{opacity:.6;cursor:not-allowed}.let-button_sub-danger.let-button_disabled:hover{box-shadow:none}.let-cascader{display:inline-block;width:256px;background-color:#fff;border-radius:4px;outline:none}.let-cascader,.let-cascader-input{position:relative;cursor:pointer;font-size:14px}.let-cascader-input{background-color:transparent!important;width:100%;display:block;border:1px solid #c0c4cc;display:inline-block;height:40px;line-height:1.5;color:#222329;border-radius:4px;padding:4px 15px;box-sizing:border-box}.let-cascader-active .let-cascader-input{border-color:#3f5ae0}.let-cascader-label{position:absolute;left:0;height:42px;line-height:42px;top:50%;margin-top:-21px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%;padding:0 20px 0 16px}.let-cascader-menus{z-index:8;font-size:14px;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);white-space:nowrap;background:#fff}.let-cascader-menus.slide-up-enter-active{animation:d .4s}.let-cascader-menus.slide-up-leave-active{animation:e .4s}.let-cascader-menu{display:inline-block;vertical-align:top;min-width:111px;min-height:180px;list-style:none;margin:0;padding:5px 0;border-right:1px solid #e9e9e9;overflow:auto}.let-cascader-menu-item{padding:7px 16px;cursor:pointer;white-space:nowrap;transition:all .3s;position:relative}.let-cascader-menu-item-expand{padding-right:28px}.let-cascader-menu-item-active,.let-cascader-menu-item:hover{background:#e6eaf5}.let-cascader-menu-item i{position:absolute;right:15px;top:50%;margin-top:-6px;color:#c0c4cc}.let-cascader i.let-icon-clear{position:absolute;background:#fff;right:13px;top:50%;color:rgba(0,0,0,.2);height:12px;width:12px;margin-top:-6px;opacity:0;z-index:2;cursor:pointer;transition:color .4s ease,opacity .2s ease}.let-cascader_clearable:hover i.let-icon-clear{color:rgba(0,0,0,.47);opacity:1}.let-cascader_clearable:hover i.let-icon-caret-down{opacity:0}.let-checkbox{cursor:pointer;display:inline-block;font-size:16px;vertical-align:middle}.let-checkbox_disabled{cursor:not-allowed}.let-checkbox__original{clip:rect(0,0,0,0);position:absolute}.let-checkbox__input{position:relative;display:inline-block;margin-top:-2px;width:16px;height:16px;border:1px solid #e1e4eb;border-radius:2px;background-color:#fff;vertical-align:middle;transition:border-color .1s cubic-bezier(.71,-.46,.29,1.46),background-color .1s cubic-bezier(.71,-.46,.29,1.46)}.let-checkbox__input,.let-checkbox__input:after{box-sizing:border-box}.let-checkbox__input:after{content:"";position:absolute;left:.3em;top:.12em;width:.28em;height:.56em;border:.07em solid #f5f6fa;border-left:0;border-top:0;transform:rotate(45deg) scale(0);transition:all .2s cubic-bezier(.71,-.46,.88,.6)}.let-checkbox__original:checked+.let-checkbox__input{background-color:#3f5ae0;border-color:#3f5ae0}.let-checkbox__original:checked+.let-checkbox__input:after{border-color:#f5f6fa;transform:rotate(45deg) scale(1)}.let-checkbox:hover .let-checkbox__original:not(:disabled)+.let-checkbox__input{border-color:#3f5ae0;box-shadow:0 2px 4px #e1e5fb}.let-checkbox.let-checkbox_disabled .let-checkbox__input{border-color:#e1e4eb;background-color:#f5f6fa}.let-checkbox.let-checkbox_disabled .let-checkbox__input:after{border-color:#c0c4cc}.let-checkbox__label{font-size:14px;margin-left:8px}.let-checkbox.is-invalid .let-checkbox__input{border-color:#f56c77}.let-collapse-transition{transition:height .218s,padding-top .218s,padding-bottom .218s}.let-date-picker{display:inline-block;vertical-align:middle;width:256px;box-sizing:border-box;font-family:Pingfang SC,Microsoft YaHei,"sans-serif"}.let-date-picker,.let-date-picker-selection{position:relative}.let-date-picker i.let-icon-calendar{color:#c0c4cc;font-size:14px;line-height:14px;position:absolute;top:50%;margin-top:-7px;left:15px}.let-date-picker__text{padding:0 14px;height:40px;border:1px solid #c0c4cc;border-radius:4px;outline:none;font-family:Helvetica,Avenir Next,roboto,Arial;color:#222329;font-size:14px;padding:0 6px 0 35px;box-sizing:border-box;width:100%;line-height:40px}.let-date-picker .let-date-picker-selection .let-date-picker__text:focus,.let-date-picker__text:focus{border-color:#3f5ae0}.let-date-picker-picker{background-color:#fff;border-radius:3px;box-shadow:0 3px 6px 0 hsla(221,9%,60%,.16);border:1px solid #d7dae0;position:absolute;width:322px;z-index:8;margin-top:16px}.let-date-picker-next,.let-date-picker-prev,.let-date-picker-title{cursor:pointer;display:block;height:40px;line-height:40px;text-align:center}.let-date-picker-next,.let-date-picker-prev{width:56px}.let-date-picker-next i.let-icon,.let-date-picker-prev i.let-icon{color:#9096a3}.let-date-picker-next:active i.let-icon,.let-date-picker-prev:active i.let-icon{color:#222329}.let-date-picker-prev{float:left}.let-date-picker-next{float:right}.let-date-picker-title{color:#222329;margin:0 56px;font-weight:700}.let-date-picker-title:hover{background-color:rgba(63,90,224,.2)}.let-date-picker-dates,.let-date-picker-days,.let-date-picker-months,.let-date-picker-years{overflow:hidden;text-align:center}.let-date-picker-dates span,.let-date-picker-days span,.let-date-picker-months span,.let-date-picker-years span{border-radius:2px;color:#4c5161;float:left}.let-date-picker-dates span,.let-date-picker-months span,.let-date-picker-years span{cursor:pointer;color:#222329}.let-date-picker-dates span:hover,.let-date-picker-months span:hover,.let-date-picker-years span:hover{background-color:rgba(63,90,224,.2)}.let-date-picker-dates span.disabled,.let-date-picker-months span.disabled,.let-date-picker-years span.disabled{color:#c0c4cc;pointer-events:none}.let-date-picker-dates span:not(.disabled).selected,.let-date-picker-months span:not(.disabled).selected,.let-date-picker-years span:not(.disabled).selected{background-color:#3f5ae0;color:#fff}.let-date-picker-months,.let-date-picker-years{padding:0 10px 10px}.let-date-picker-months span,.let-date-picker-years span{height:40px;line-height:40px;width:63px;margin:0 6px 6px}.let-date-picker-dates span,.let-date-picker-days span{height:24px;width:24px;line-height:24px;font-size:12px;font-weight:700}.let-date-picker-dates span:nth-child(7n+1),.let-date-picker-days span:nth-child(7n+1){margin-left:0}.let-date-picker-dates span:nth-child(7n+7),.let-date-picker-days span:nth-child(7n+7){margin-right:0}.let-date-picker-days{border-width:1px 0;border-style:solid;border-color:#e1e4eb;background-color:#f5f6fa;padding:4px 16px}.let-date-picker-days span{margin:0 10px;color:#a2a9b8}.let-date-picker-dates{padding:18px 16px}.let-date-picker-dates span{margin:5px 10px;box-sizing:border-box;font-family:Helvetica,Avenir Next,roboto,Arial;color:#454e66}.let-date-picker-dates span:not(.disabled).selected{border-radius:2px}.let-date-picker.is-disabled{opacity:.6;cursor:not-allowed}.let-date-picker.is-disabled .let-date-picker__text{pointer-events:none;box-shadow:inset 0 0 9999px #f5f6fa}.let-date-picker.is-invalid input{border-color:#ed4259}.let-date-picker_small .let-date-picker__text{height:32px;line-height:32px;font-size:12px}.let-date-picker_large .let-date-picker__text{height:48px;line-height:48px}.let-date-picker .let-date-picker__footer{border-top:1px solid #e4e4e4;padding:4px;text-align:right;background-color:#fff;position:relative}.let-date-picker .let-date-picker__footer .let-date-picker__link-btn{cursor:pointer;color:#20a0ff;text-decoration:none;padding:15px;font-size:12px}.let-date-picker__wrapper{position:relative}.let-date-picker .popover__arrow{position:absolute;top:4px;left:16px;width:0;height:0;border:6px solid transparent;border-bottom-color:#d7dae0}.let-date-picker .popover__arrow:after{position:absolute;width:0;height:0;border:6px solid transparent;border-top:none;border-bottom-color:#fff;top:2px;content:"";margin-left:-6px;z-index:9}.let-validator-errors{position:absolute;background-color:#f56c77;left:20%;top:-32px;margin-top:-4px;box-sizing:border-box;border-radius:4px;padding:0 8px;height:28px;word-wrap:break-word;z-index:11}.let-validator-errors p{color:#fff;word-break:keep-all;white-space:nowrap;word-wrap:break-word;line-height:28px}.let-validator-errors:after{content:"";position:absolute;left:6%;bottom:-10px;height:0;width:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid transparent;border-top:6px solid #f56c77;display:inline-block}.let-date-range-picker{display:inline-block;vertical-align:middle}.let-date-range-picker .let-date-picker{float:left;width:116px}.let-date-range-picker .let-date-picker:last-child .let-date-picker-picker{left:0}.let-date-range-picker>span{float:left;line-height:40px;text-align:center;width:24px}.let-datetime-picker{display:inline-block;min-width:160px;vertical-align:middle}.let-datetime-picker .let-date-picker{float:left;margin-right:10px;width:140px}.let-datetime-picker .let-time-picker{float:left;width:105px}.let-time-picker{display:inline-block;vertical-align:middle;width:256px;box-sizing:border-box;font-family:Pingfang SC,Microsoft YaHei,"sans-serif"}.let-time-picker,.let-time-picker-selection{position:relative}.let-time-picker i.let-icon-clock{color:#c0c4cc;font-size:14px;line-height:14px;position:absolute;top:50%;margin-top:-7px;left:15px}.let-time-picker__text{padding:0 14px;height:40px;border:1px solid #c0c4cc;border-radius:4px;outline:none;font-family:Helvetica,Avenir Next,roboto,Arial;color:#222329;font-size:14px;padding:0 32px 0 35px;box-sizing:border-box;width:100%;line-height:40px}.let-time-picker__text:focus{border-color:#3f5ae0}.let-time-picker-picker{background-color:#fff;border-radius:3px;box-shadow:0 3px 6px 0 hsla(221,9%,60%,.16);border:1px solid #d7dae0;position:absolute;width:322px;z-index:8;margin-top:16px}.let-time-picker-next,.let-time-picker-prev,.let-time-picker-title{cursor:pointer;display:block;height:40px;line-height:40px;text-align:center}.let-time-picker-next,.let-time-picker-prev{width:56px}.let-time-picker-next i.let-icon,.let-time-picker-prev i.let-icon{color:#9096a3}.let-time-picker-next:hover i,.let-time-picker-prev:hover i{color:$primary}.let-time-picker-prev{float:left}.let-time-picker-next{float:right}.let-time-picker-title{color:#222329;margin:0 56px;font-weight:700}.let-time-picker-title:hover{background-color:rgba(63,90,224,.2)}.let-time-picker-hours,.let-time-picker-minutes{overflow:hidden;text-align:center}.let-time-picker-hours span,.let-time-picker-minutes span{color:#222329;cursor:pointer;float:left}.let-time-picker-hours span:hover,.let-time-picker-minutes span:hover{background-color:rgba(63,90,224,.2)}.let-time-picker-hours span.disabled,.let-time-picker-minutes span.disabled{color:#ccd0d7}.let-time-picker-hours span:not(.disabled).selected,.let-time-picker-minutes span:not(.disabled).selected{background-color:#3f5ae0;color:#fff}.let-time-picker-hours{padding:16px 10px 10px}.let-time-picker-hours span{height:30px;line-height:30px;width:63px;margin:0 6px 6px}.let-time-picker-minutes{padding:0 10px 10px}.let-time-picker-minutes span{height:40px;line-height:40px;width:63px;margin:0 6px 6px}.let-time-picker.is-disabled{opacity:.6;cursor:not-allowed}.let-time-picker.is-disabled .let-time-picker__text{pointer-events:none;box-shadow:inset 0 0 9999px #f5f6fa}.let-time-picker.is-invalid input,.let-time-picker.is-invalid input:focus{border-color:#ed4259}.let-time-picker__wrapper{position:relative}.let-time-picker .popover__arrow{position:absolute;top:4px;left:16px;width:0;height:0;border:6px solid transparent;border-bottom-color:#d7dae0}.let-time-picker .popover__arrow:after{top:2px;position:absolute;width:0;height:0;border:6px solid transparent;border-top:none;border-bottom-color:#fff;content:"";margin-left:-6px;z-index:9}.let-datetime-range-picker{display:inline-block;min-width:548px;vertical-align:middle}.let-datetime-range-picker .let-datetime-picker{float:left;width:256px}.let-datetime-range-picker .let-datetime-picker:last-child .let-date-picker-picker{left:0}.let-datetime-range-picker>span{float:left;line-height:36px;text-align:center;width:36px}.let-dialog{background-color:rgba(0,0,0,.6);overflow-y:auto;padding:20px;box-sizing:border-box}.let-dialog__inner{background-color:#fff;border-radius:2px;margin-left:auto;margin-right:auto;position:relative;text-align:left;width:360px}.let-dialog__close{color:#999;cursor:pointer;font-size:14px;height:1em;position:absolute;right:26px;top:26px;width:1em}.let-dialog__close:after,.let-dialog__close:before{background:currentColor;border-radius:1em;content:"";left:0;height:10%;position:absolute;top:45%;width:100%}.let-dialog__close:before{transform:rotate(45deg)}.let-dialog__close:after{transform:rotate(-45deg)}.let-dialog__close:hover{color:#333}.let-dialog__head{color:#333;font-weight:700;font-size:16px;padding:24px 20px;box-sizing:border-box}.let-dialog__body{color:#444;overflow-y:auto;padding:20px;position:relative;font-size:14px}.let-dialog__foot{background-color:#fff;box-shadow:inset 0 1px 0 #fff;overflow:hidden;padding:24px;position:relative;text-align:right}.let-dialog__foot .let-button{padding:0 34px}.let-dialog__foot .let-button:first-child{margin-right:16px}.let-dropdown{position:relative}.let-dropdown-toggle{cursor:pointer}.let-dropdown-menu{background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.2);left:0;max-height:400px;min-width:160px;overflow-y:auto;padding:5px 0;position:absolute;z-index:6}.let-dropdown.is-disabled{opacity:.6;cursor:not-allowed}.let-form{background-color:#fff;*zoom:1}.let-form *{box-sizing:border-box}.let-form:after,.let-form:before{display:table;content:" "}.let-form:after{clear:both}.let-form-title_large{color:#222329;font-size:16px;margin-bottom:40px;padding-left:20px}.let-form-title_medium{margin-bottom:30px}.let-form-title_medium,.let-form-title_small{font-size:14px;color:#222329;padding-left:20px}.let-form-title_small{margin-bottom:24px}.let-form-cols-1 .let-form-item{padding-left:130px}.let-form-cols-1 .let-form-item__label{margin-left:-130px;padding-right:20px;width:130px}.let-form.let-form.let-form-cols-2,.let-form.let-form.let-form-cols-3{padding-bottom:10px}.let-form.let-form.let-form-cols-2 .let-form-item,.let-form.let-form.let-form-cols-3 .let-form-item{padding-left:100px}.let-form.let-form.let-form-cols-2 .let-form-item__label,.let-form.let-form.let-form-cols-3 .let-form-item__label{margin-left:-100px;width:100px}.let-form.let-form.let-form-cols-2 .let-form-item{width:50%;display:inline-block}.let-form.let-form-cols-3 .let-form-item{width:33.33%;display:inline-block}@media (max-width:1279px){.let-form.let-form-cols-3 .let-form-item{width:50%}}.let-form-gap-1{padding-bottom:10px}.let-form-gap-1 .let-form-item{margin-bottom:16px}.let-form-gap-1 .let-form-item-large{margin-top:20px}.let-form-gap-2 .let-form-item{margin-bottom:16px}.let-form-gap-2 .let-form-item-large{margin-top:40px}.let-form__inline .let-form-item{display:inline-block}.let-form__inline .let-form-item__content{float:left}.let-form-group,.let-form .let-form-item_large{width:100%}.let-form-group *{box-sizing:border-box}.let-form-group:after,.let-form-group:before{display:table;content:" "}.let-form-group:after{clear:both}.let-form-group__title{font-size:14px;color:#222329;margin-bottom:20px;margin-top:20px;padding-left:20px}.let-form-group__inline .let-form-item{display:inline-block;vertical-align:top}.let-form-group__inline .let-form-item__content{float:left;width:100%}.let-form-group__inline .let-form-item__label{float:left}.let-form-item{margin-bottom:16px;padding-left:100px}.let-form-item__label{font-size:12px;color:#9096a3;margin-left:-100px;text-align:right;width:100px;padding-right:12px;font-weight:700}.let-form-item__content,.let-form-item__label{display:inline-block;line-height:30px;vertical-align:middle}.let-form-item__content{position:relative}.let-form-item__content_width{width:100%}.let-form-item_large{margin-bottom:24px;padding-left:120px}.let-form-item_large .let-form-item__label{line-height:40px;margin-left:-120px;padding-right:16px;width:120px}.let-form-item_large .let-form-item__content{padding-top:24px}.let-form-item_small{margin-bottom:8px;padding-left:80px}.let-form-item_small .let-form-item__label{line-height:30px;margin-left:-80px;padding-right:8px;width:80px}.let-form-item_small .let-form-item__content{line-height:30px}.let-form-item__text{display:inline-block;min-height:30px;line-height:24px;padding:4px 0;vertical-align:middle}.let-form-item__text:empty{height:30px}.let-form-item__text:not(:last-child){margin-right:20px}.let-form-item_s2 .let-input,.let-form-item_s2 .let-select{width:200px}.let-form-item_s3 .let-input,.let-form-item_s3 .let-select{width:300px}.let-form-item_s5 .let-input,.let-form-item_s5 .let-select{width:500px}.let-form-item_s7 .let-input,.let-form-item_s7 .let-select{width:700px}.let-form-item .let-label__position_top{float:none;display:block;margin-left:0!important;text-align:left}.let-label__position_left{text-align:left;padding-left:20px}.let-label__position_center{text-align:center}.let-label__star:before{content:"*";color:#f56c6c;margin-right:4px}.let-input{display:inline-block;vertical-align:middle;position:relative;line-height:1.5}.let-input,.let-input input,.let-input textarea{font-size:14px;box-sizing:border-box}.let-input input,.let-input textarea{border:1px solid #c0c4cc;border-radius:4px;outline:none;color:#222329;padding:0 16px;width:100%}.let-input input:focus,.let-input textarea:focus{border-color:#3f5ae0}.let-input textarea{padding:12px 16px;height:100%;vertical-align:top}.let-input textarea+.let-input__counter{line-height:14px}.let-input ::-webkit-input-placeholder{color:#a2a9b8}.let-input :-moz-placeholder,.let-input ::-moz-placeholder{color:#a2a9b8}.let-input :-ms-input-placeholder{color:#a2a9b8}.let-input_large input{height:48px}.let-input_large .let-input__counter{line-height:48px}.let-input_middle input{height:40px}.let-input_middle .let-input__counter{line-height:40px}.let-input_small input{height:32px;padding:0 12px}.let-input_small .let-input__counter{line-height:32px}.let-input__counter{left:100%;position:absolute;margin-left:16px;bottom:0}.let-input__counter a{display:inline-block;vertical-align:middle;color:#a2a9b8}.let-input.is-disabled input,.let-input.is-disabled textarea{border:1px solid #c0c4cc;border-radius:4px;box-shadow:inset 0 0 9999px #f5f6fa;cursor:not-allowed}.let-input.is-disabled ::-webkit-input-placeholder{color:#a2a9b8}.let-input.is-disabled :-moz-placeholder,.let-input.is-disabled ::-moz-placeholder{color:#a2a9b8}.let-input.is-disabled :-ms-input-placeholder{color:#a2a9b8}.let-input.is-invalid input,.let-input.is-invalid input:focus,.let-input.is-invalid textarea,.let-input.is-invalid textarea:focus{border-color:#f56c77}.let-input-number{position:relative;box-sizing:border-box}.let-input-number_decrease{left:0;border-right:1px solid #c0c4cc}.let-input-number_decrease,.let-input-number_increase{position:absolute;z-index:5;height:100%;text-align:center;cursor:pointer}.let-input-number_increase{right:0;border-left:1px solid #c0c4cc}.let-input-number_large,.let-input-number_large .let-input{width:256px}.let-input-number_large .let-input-number_decrease,.let-input-number_large .let-input-number_increase{width:48px;line-height:48px}.let-input-number_middle,.let-input-number_middle .let-input input{width:204.8px}.let-input-number_middle .let-input-number_decrease,.let-input-number_middle .let-input-number_increase{width:40px;line-height:40px}.let-input-number_small{width:153.6px}.let-input-number_small .let-input input{width:100%}.let-input-number_small .let-input-number_decrease,.let-input-number_small .let-input-number_increase{width:32px;line-height:32px}.let-input-number.is-disabled .let-input-number_decrease,.let-input-number.is-disabled .let-input-number_increase{pointer-events:none}.let-input-number .let-icon-plus,.let-input-number .let-icon-subtract{color:#6d768f}.let-input-number .let-icon-plus:hover,.let-input-number .let-icon-subtract:hover{opacity:.6;color:rgba(0,0,0,.4)}.let-input-number .let-input{display:inline-block;position:relative}.let-input-number .let-input input{text-align:center}.let-input-range{display:inline-block;vertical-align:middle;position:relative;line-height:1.5}.let-input-range,.let-input-range input{font-size:14px;box-sizing:border-box}.let-input-range input{border:1px solid #c0c4cc;border-radius:4px;outline:none;color:#222329;padding:0 16px;height:40px;float:left;width:116px}.let-input-range input:focus{border-color:#3f5ae0}.let-input-range span{float:left;line-height:36px;text-align:center;width:36px}.let-input-range.is-disabled input{border:1px solid #c0c4cc;border-radius:4px;box-shadow:inset 0 0 9999px #f5f6fa;cursor:not-allowed}.let-input-range.is-invalid input,.let-input-range.is-invalid input:focus{border-color:#f56c77}.let-row{height:auto;position:relative;width:100%;zoom:1}.let-row:after,.let-row:before{content:" ";display:table}.let-row:after{clear:both;visibility:hidden;font-size:0;height:0}.let-row_flex{-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.let-row_flex,.let-row_flex:after,.let-row_flex:before{display:-ms-flexbox;display:flex}.let-row_flex_top{-ms-flex-align:start;align-items:flex-start}.let-row_flex_middle{-ms-flex-align:center;align-items:center}.let-row_flex_bottom{-ms-flex-align:end;align-items:flex-end}.let-row_flex_start{-ms-flex-pack:start;justify-content:flex-start}.let-row_flex_center{-ms-flex-pack:center;justify-content:center}.let-row_flex_end{-ms-flex-pack:end;justify-content:flex-end}.let-row_flex_space-between{-ms-flex-pack:justify;justify-content:space-between}.let-row_flex_space-around{-ms-flex-pack:distribute;justify-content:space-around}.let-col_24{width:100%}.let-col_push_24{left:100%}.let-col_pull_24{right:100%}.let-col_offset_24{margin-left:100%}.let-col_23{width:95.83333333%}.let-col_push_23{left:95.83333333%}.let-col_pull_23{right:95.83333333%}.let-col_offset_23{margin-left:95.83333333%}.let-col_22{width:91.66666667%}.let-col_push_22{left:91.66666667%}.let-col_pull_22{right:91.66666667%}.let-col_offset_22{margin-left:91.66666667%}.let-col_21{width:87.5%}.let-col_push_21{left:87.5%}.let-col_pull_21{right:87.5%}.let-col_offset_21{margin-left:87.5%}.let-col_20{width:83.33333333%}.let-col_push_20{left:83.33333333%}.let-col_pull_20{right:83.33333333%}.let-col_offset_20{margin-left:83.33333333%}.let-col_19{width:79.16666667%}.let-col_push_19{left:79.16666667%}.let-col_pull_19{right:79.16666667%}.let-col_offset_19{margin-left:79.16666667%}.let-col_18{width:75%}.let-col_push_18{left:75%}.let-col_pull_18{right:75%}.let-col_offset_18{margin-left:75%}.let-col_17{width:70.83333333%}.let-col_push_17{left:70.83333333%}.let-col_pull_17{right:70.83333333%}.let-col_offset_17{margin-left:70.83333333%}.let-col_16{width:66.66666667%}.let-col_push_16{left:66.66666667%}.let-col_pull_16{right:66.66666667%}.let-col_offset_16{margin-left:66.66666667%}.let-col_15{width:62.5%}.let-col_push_15{left:62.5%}.let-col_pull_15{right:62.5%}.let-col_offset_15{margin-left:62.5%}.let-col_14{width:58.33333333%}.let-col_push_14{left:58.33333333%}.let-col_pull_14{right:58.33333333%}.let-col_offset_14{margin-left:58.33333333%}.let-col_13{width:54.16666667%}.let-col_push_13{left:54.16666667%}.let-col_pull_13{right:54.16666667%}.let-col_offset_13{margin-left:54.16666667%}.let-col_12{width:50%}.let-col_push_12{left:50%}.let-col_pull_12{right:50%}.let-col_offset_12{margin-left:50%}.let-col_11{width:45.83333333%}.let-col_push_11{left:45.83333333%}.let-col_pull_11{right:45.83333333%}.let-col_offset_11{margin-left:45.83333333%}.let-col_10{width:41.66666667%}.let-col_push_10{left:41.66666667%}.let-col_pull_10{right:41.66666667%}.let-col_offset_10{margin-left:41.66666667%}.let-col_9{width:37.5%}.let-col_push_9{left:37.5%}.let-col_pull_9{right:37.5%}.let-col_offset_9{margin-left:37.5%}.let-col_8{width:33.33333333%}.let-col_push_8{left:33.33333333%}.let-col_pull_8{right:33.33333333%}.let-col_offset_8{margin-left:33.33333333%}.let-col_7{width:29.16666667%}.let-col_push_7{left:29.16666667%}.let-col_pull_7{right:29.16666667%}.let-col_offset_7{margin-left:29.16666667%}.let-col_6{width:25%}.let-col_push_6{left:25%}.let-col_pull_6{right:25%}.let-col_offset_6{margin-left:25%}.let-col_5{width:20.83333333%}.let-col_push_5{left:20.83333333%}.let-col_pull_5{right:20.83333333%}.let-col_offset_5{margin-left:20.83333333%}.let-col_4{width:16.66666667%}.let-col_push_4{left:16.66666667%}.let-col_pull_4{right:16.66666667%}.let-col_offset_4{margin-left:16.66666667%}.let-col_3{width:12.5%}.let-col_push_3{left:12.5%}.let-col_pull_3{right:12.5%}.let-col_offset_3{margin-left:12.5%}.let-col_2{width:8.33333333%}.let-col_push_2{left:8.33333333%}.let-col_pull_2{right:8.33333333%}.let-col_offset_2{margin-left:8.33333333%}.let-col_1{width:4.16666667%}.let-col_push_1{left:4.16666667%}.let-col_pull_1{right:4.16666667%}.let-col_offset_1{margin-left:4.16666667%}.let-col_push_0{left:auto}.let-col_pull_0{right:auto}.let-col_1,.let-col_2,.let-col_3,.let-col_4,.let-col_5,.let-col_6,.let-col_7,.let-col_8,.let-col_9,.let-col_10,.let-col_11,.let-col_12,.let-col_13,.let-col_14,.let-col_15,.let-col_16,.let-col_17,.let-col_18,.let-col_19,.let-col_20,.let-col_21,.let-col_22,.let-col_23,.let-col_24{position:relative;display:block;float:left;-ms-flex:0 0 auto;flex:0 0 auto}.let-loading__parent-relative{position:relative;pointer-events:none}.let-loading__content{display:inline-block;border-radius:4px}.let-loading__text{padding:12px 0 0;color:#3f5ae0;font-size:14px;text-align:center}.let-spinner{display:inline-block;position:relative;margin:0 auto;width:100px;vertical-align:middle}.let-spinner:before{content:"";display:block;padding-top:100%}.let-spinner__content{animation:a 2s linear infinite;height:100%;transform-origin:center center;width:100%;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;stroke:#3f5ae0}.let-spinner__path{stroke-dasharray:1,200;stroke-dashoffset:0;animation:b 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes a{to{transform:rotate(1turn)}}@keyframes b{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}body.has-modal-open{overflow:hidden}.let_modal{background-color:rgba(55,55,55,.6);overflow-y:auto;padding:20px}.let_modal .let-form-item{padding-left:0!important}.let_modal .let-align__inner{padding-top:15vh}.let_modal__align{position:relative}.let_modal__dialog{background-color:#fff;border-radius:4px;margin-left:auto;margin-right:auto;position:relative;text-align:left;padding:20px 48px 24px 32px}.let_modal_close{color:#999;cursor:pointer;font-size:14px;height:1em;position:absolute;right:23px;top:23px;width:1em;z-index:1}.let_modal_close:after,.let_modal_close:before{background:currentColor;border-radius:1em;content:"";left:0;height:10%;position:absolute;top:45%;width:100%}.let_modal_close:before{transform:rotate(45deg)}.let_modal_close:after{transform:rotate(-45deg)}.let_modal_close:hover{color:#333}.let_modal__head{color:#333;font-weight:700;font-size:16px}.let_modal__head .let_modal__title{display:inline-block;line-height:24px}.let_modal__body{color:#444;position:relative}.let_modal__body .let-form{padding:0;margin-top:20px}.let_modal__body .let-form .let-form-item:last-child{margin-bottom:0}.let_modal__foot{background-color:#fff;box-shadow:inset 0 1px 0 #fff;overflow:hidden;padding:32px 0 0;position:relative;border-bottom-left-radius:4px;border-bottom-right-radius:4px;text-align:left}.let_modal__foot .let-button{padding:0 34px}.let_modal__foot .let-button+.let-button{margin-left:16px}.let_modal__scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.let-notification{position:fixed;display:-ms-flexbox;display:flex;right:16px;width:450px;padding:10px 15px;color:#fff;background-color:#677deb;line-height:1.5;border-radius:4px;transition:opacity .3s,transform .3s,top .4s;z-index:10}.let-notification.notice-fade-enter-active{animation:h .4s}.let-notification.notice-fade-leave-active{animation:l .4s}.let-notification.notice-move-enter-active{animation:i .4s}.let-notification.notice-move-leave-active{animation:j .4s}.let-notification__center{left:50%;margin-left:-225px}.let-notification_success{background-color:#6accab}.let-notification_error{background-color:#f56c77}.let-notification_info{background-color:#677deb}.let-notification_warning{background-color:#f5ad1d}.let-notification__icon{color:#fff;font-size:14px;line-height:1.5;vertical-align:middle;margin-right:8px}.let-notification__content{-ms-flex:1;flex:1;padding-right:8px}.let-notification__title{color:#fff;font-size:14px}.let-notification__message{color:#fff;font-size:12px;margin-top:4px}.let-notification__close{color:#fff;font-size:10px;width:12px;height:12px;cursor:pointer;opacity:.7;position:relative;top:2px}.let-notification__close:hover{color:#b1b1b1}.let-notification_with-message{padding:12px 16px}.let-notification_with-message .let-notification__icon{font-size:24px;line-height:1.2}.let-notification_with-message .let-notification__title{font-weight:700}.let-notification_with-message .let-notification__close{font-size:10px}.let-notification_hover{cursor:pointer}.let-notification_hover:hover{opacity:1}.let-pagination_left{text-align:left}.let-pagination_center{text-align:center}.let-pagination_right{text-align:right}.let-pagination .let-icon__arrow{color:#262626}.let-pagination li,.let-pagination ul{display:inline-block;vertical-align:middle}.let-pagination li{background-color:#fff;float:left;min-width:32px;height:32px;line-height:30px;text-align:center;list-style:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;font-family:Arial;border:1px solid #dddee1;border-radius:4px}.let-pagination li+li{margin-left:12px}.let-pagination li a,.let-pagination li span{display:inline-block;font-size:14px;height:30px;line-height:30px;padding:0 10px;text-align:center}.let-pagination li a{color:#262626}.let-pagination li span{color:#444}.let-pagination li:hover{border-color:#677deb}.let-pagination li:hover .let-icon__arrow,.let-pagination li:hover a{color:#677deb}.let-pagination li.disabled:hover .let-icon__arrow{color:#e1e4eb}.let-pagination li.current{border:1px solid #3f5ae0;background-color:#3f5ae0;cursor:default}.let-pagination li.current a{background-color:#3f5ae0;cursor:default;color:#fff}.let-pagination li.disabled{border-color:#e1e4eb;cursor:not-allowed}.let-pagination li.disabled a,.let-pagination li.disabled i{color:#e1e4eb;cursor:not-allowed}.let-pagination-sum{display:inline-block;line-height:32px;margin-right:20px;vertical-align:middle}.let-pagination_noborder li{border:0}.let-pagination.let-pagination_small li{min-width:25px;height:25px;line-height:22px;border-radius:3px}.let-pagination.let-pagination_small a,.let-pagination.let-pagination_small span{font-size:12px;height:22px;line-height:22px;padding:0 6px}.let-pagination.let-pagination_small+li{margin-left:6px}.let-pagination.let-pagination_small-sum{display:inline-block;line-height:24px;margin-right:16px;vertical-align:middle}.let-pagination.let-pagination_small .let-pagination__jump{font-size:12px;height:24px;line-height:24px;min-width:24px;padding:0 8px}.let-pagination.let-pagination_small .let-pagination__editor{border-radius:4px;line-height:18px;padding:3px 2px;width:27px}.let-pagination__jump{font-size:14px;height:32px;line-height:32px;min-width:32px;padding:0 10px;margin-left:10px}.let-pagination__editor,.let-pagination__jump{display:inline-block;box-sizing:border-box}.let-pagination__editor{border:1px solid #dddee1;border-radius:4px;line-height:18px;padding:6px 2px;width:32px;text-align:center;margin:0 6px;transition:border .3s;-webkit-appearance:textfield;background-color:#fff;-webkit-rtl-ordering:logical;-webkit-writing-mode:horizontal-tb;white-space:nowrap;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;text-rendering:auto;color:#000;color:initial;letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-shadow:none}.let-poptip{display:inline-block}.let-poptip__trigger{display:inline-block;position:relative}.let-poptip__popper{position:absolute;max-width:400px;border:1px solid #ececec;box-shadow:0 1px 6px #ececec;background-color:#fff;z-index:8;padding:16px 20px}.let-poptip__title{margin:0;font-size:16px;word-wrap:break-word;border-radius:4px 4px 0 0;background-color:#fff;margin-bottom:8px}.let-poptip__content{font-size:12px;line-height:1.5;word-wrap:break-word;border-radius:4px}.let-poptip__arrow,.let-poptip__arrow:after{content:"";position:absolute;display:block;width:0;height:0;border:6px solid transparent}.let-poptip_top,.let-poptip_top-left,.let-poptip_top-right{margin-top:-12px}.let-poptip_top-left .let-poptip__arrow,.let-poptip_top-right .let-poptip__arrow,.let-poptip_top .let-poptip__arrow{bottom:0;left:50%;margin-left:-6px;margin-bottom:-6px;border-bottom-width:0;border-top-color:#ececec}.let-poptip_top-left .let-poptip__arrow:after,.let-poptip_top-right .let-poptip__arrow:after,.let-poptip_top .let-poptip__arrow:after{bottom:1px;margin-left:-6px;border-bottom-width:0;border-top-color:#fff}.let-poptip_top-left .let-poptip__arrow{left:12px}.let-poptip_top-right .let-poptip__arrow{left:auto;right:12px}.let-poptip_bottom,.let-poptip_bottom-left,.let-poptip_bottom-right{margin-top:12px}.let-poptip_bottom-left .let-poptip__arrow,.let-poptip_bottom-right .let-poptip__arrow,.let-poptip_bottom .let-poptip__arrow{top:0;left:50%;margin-left:-6px;margin-top:-6px;border-top-width:0;border-bottom-color:#ececec}.let-poptip_bottom-left .let-poptip__arrow:after,.let-poptip_bottom-right .let-poptip__arrow:after,.let-poptip_bottom .let-poptip__arrow:after{top:1px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}.let-poptip_bottom-left .let-poptip__arrow{left:12px}.let-poptip_bottom-right .let-poptip__arrow{left:auto;right:12px}.let-poptip_left,.let-poptip_left-bottom,.let-poptip_left-top{margin-left:-12px}.let-poptip_left-bottom .let-poptip__arrow,.let-poptip_left-top .let-poptip__arrow,.let-poptip_left .let-poptip__arrow{top:50%;right:0;margin-top:-6px;margin-right:-6px;border-right-width:0;border-left-color:#ececec}.let-poptip_left-bottom .let-poptip__arrow:after,.let-poptip_left-top .let-poptip__arrow:after,.let-poptip_left .let-poptip__arrow:after{right:1px;margin-top:-6px;border-right-width:0;border-left-color:#fff}.let-poptip_left-top .let-poptip__arrow{top:12px}.let-poptip_left-bottom .let-poptip__arrow{top:auto;bottom:12px}.let-poptip_right,.let-poptip_right-bottom,.let-poptip_right-top{margin-left:12px}.let-poptip_right-bottom .let-poptip__arrow,.let-poptip_right-top .let-poptip__arrow,.let-poptip_right .let-poptip__arrow{top:50%;left:0;margin-top:-6px;margin-left:-6px;border-left-width:0;border-right-color:#ececec}.let-poptip_right-bottom .let-poptip__arrow:after,.let-poptip_right-top .let-poptip__arrow:after,.let-poptip_right .let-poptip__arrow:after{left:1px;margin-top:-6px;border-left-width:0;border-right-color:#fff}.let-poptip_right-top .let-poptip__arrow{top:12px}.let-poptip_right-bottom .let-poptip__arrow{top:auto;bottom:12px}.let-radio__group{display:inline-block;font-size:14px}.let-radio__wrapper{font-size:14px;margin-right:8px}.let-radio,.let-radio__wrapper{vertical-align:middle;display:inline-block;position:relative;white-space:nowrap;cursor:pointer}.let-radio{outline:none;line-height:1}.let-radio,.let-radio *{box-sizing:border-box}.let-radio:hover .let-radio__inner,.let-radio__wrapper:hover .let-radio .let-radio__inner,.let-radio_focused .let-radio__inner{border-color:#3f5ae0;box-shadow:0 2px 4px 0 rgba(103,125,235,.16)}.let-radio__wrapper.let-radio__wrapper_checked:hover .let-radio .let-radio__inner,.let-radio__wrapper.let-radio__wrapper_disabled:hover .let-radio .let-radio__inner,.let-radio_checked:hover .let-radio__inner,.let-radio_disabled:hover .let-radio__inner{box-shadow:none}.let-radio__inner{position:relative;top:0;left:0;display:inline-block;width:16px;height:16px;border-radius:16px;border:1px solid #e1e4eb;background-color:#fff;transition:all .3s}.let-radio__inner:after{position:absolute;width:6px;height:6px;left:4px;top:4px;border-radius:50%;display:table;border-top:0;border-left:0;content:" ";background-color:#3f5ae0;opacity:0;transform:scale(0);transition:all .3s cubic-bezier(.78,.14,.15,.86)}.let-radio__input{position:absolute;left:0;z-index:1;cursor:pointer;opacity:0;top:0;bottom:0;right:0}.is-invalid .let-radio__inner{border-color:#f56c77}.let-radio_checked .let-radio__inner{border-color:#3f5ae0;border-width:2px}.let-radio_checked .let-radio__inner:after{left:3px;top:3px;transform:scale(1);opacity:1;transition:all .3s cubic-bezier(.78,.14,.15,.86)}.let-radio_disabled{cursor:not-allowed!important}.let-radio_disabled .let-radio__inner{border-color:#e1e4eb!important;background-color:#f5f6fa;cursor:not-allowed!important}.let-radio_disabled .let-radio__inner:after{background-color:#c0c4cc;cursor:not-allowed!important}.let-radio_disabled .let-radio__input{cursor:not-allowed!important}.let-radio_disabled+span{color:#c0c4cc;cursor:not-allowed}span.let-radio+*{padding-left:8px;padding-right:8px}.let-radio__button__wrapper{margin:0;height:32px;line-height:30px;color:#000;display:inline-block;transition:all .3s ease;cursor:pointer;border:1px solid #e1e4eb;border-left:0;background:#fff;padding:0 16px}.let-radio__button__wrapper a{color:#fff}.let-radio__button__wrapper>.let-radio__button{margin-left:0;display:block;width:0;height:0}.let-radio-group_large .let-radio__button__wrapper{height:40px;line-height:38px}.let-radio-group_small .let-radio__button__wrapper{height:24px;line-height:22px;padding:0 12px}.let-radio-group_small .let-radio__button__wrapper:first-child{border-radius:4px 0 0 4px}.let-radio-group_small .let-radio__button__wrapper:last-child{border-radius:0 4px 4px 0}.let-radio__button__wrapper:first-child{border-radius:4px 0 0 4px;border-left:1px solid #e1e4eb}.let-radio__button__wrapper:last-child{border-radius:0 4px 4px 0}.let-radio__button__wrapper:first-child:last-child{border-radius:4px}.let-radio__button__wrapper-focused,.let-radio__button__wrapper:hover{color:#3f5ae0;position:relative}.let-radio__button__wrapper .let-radio__inner,.let-radio__button__wrapper input[type=checkbox],.let-radio__button__wrapper input[type=radio]{opacity:0;width:0;height:0}.let-radio__button__wrapper_checked{background:#fff;border-color:#3f5ae0;color:#3f5ae0;box-shadow:-1px 0 0 0 #3f5ae0}.let-radio__button__wrapper_checked:first-child{border-color:#3f5ae0;box-shadow:none!important}.let-radio__button__wrapper_checked:active,.let-radio__button__wrapper_checked:hover{border-color:#3f5ae0;box-shadow:-1px 0 0 0 #3f5ae0;color:#3f5ae0}.let-radio__button__wrapper_disabled{cursor:not-allowed}.let-radio__button__wrapper_disabled,.let-radio__button__wrapper_disabled:first-child,.let-radio__button__wrapper_disabled:hover{border-color:#e1e4eb;background-color:#f7f7f7;color:#ccc}.let-radio__button__wrapper_disabled:first-child{border-left-color:#e1e4eb}.let-radio__button__wrapper_disabled.let-radio__button__wrapper_checked{color:#fff;background-color:#e6e6e6;border-color:#e1e4eb;box-shadow:none}.let-rate{display:inline-block;vertical-align:middle}.let-rate_normal{height:28px}.let-rate_normal .let-icon-star,.let-rate_normal .let-icon-star-hover{font-size:25px!important}.let-rate_normal .let-rate__text{display:inline-block;line-height:28px;color:#f5ad1d}.let-rate_small{height:20px}.let-rate_small .let-icon-star,.let-rate_small .let-icon-star-hover{font-size:16px!important;margin-right:4px!important}.let-rate_small .let-rate__text{margin-left:6px;display:inline-block;color:#f5ad1d}.let-rate_small .let-rate__star{padding-right:4px!important}.let-rate__star{padding-right:8px;cursor:pointer;float:left;text-align:center;position:relative;box-sizing:border-box}.let-rate__star .let-icon-star{font-size:25px;transition:.4s;color:#c0c4cc}.let-rate__star .let-icon-star-hover{font-size:25px;color:#c0c4cc}.let-rate__star .let-icon-star-hover:hover{transform:scale(1.1)!important;transition:.4s}.let-rate__star .let-icon-star-hover.on{color:#f5ad1d}.let-rate.is-disabled .let-rate__star{cursor:auto}.let-scroll{height:100%}.let-scroll .iScrollVerticalScrollbar{right:3px!important;width:6px!important}.let-scroll .iScrollIndicator{background:rgba(0,0,0,.3)!important;border-width:0!important}.let-select{position:relative;display:inline-block;width:100%;min-width:120px;color:#222329;font-size:14px;line-height:28px;vertical-align:middle}.let-select,.let-select__selection{box-sizing:border-box}.let-select__selection{padding:6px 32px 6px 10px;border:1px solid #c0c4cc;border-radius:4px;background-color:#fff;cursor:pointer;overflow:hidden;transition:all .4s ease}.let-select.is-invalid .let-select__selection{border-color:#f56c77}.let-select_disabled .let-select__selection{opacity:.6;cursor:not-allowed;box-shadow:inset 0 0 9999px #f5f6fa}.let-select-active .let-select__selection{border-color:#3f5ae0}.let-select__text_single{margin-left:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all;display:block}.let-select__placeholder{margin-left:6px;color:#a2a9b8}.let-select__tag_selected{margin:4px 8px 4px 0;border:1px solid #c0c4cc;height:20px;line-height:12px;box-sizing:border-box;display:inline-block;border-radius:100px;padding:3px 6px;font-size:0}.let-select__tag__text_selected{font-size:12px;color:#9096a3}.let-select__filter__input{font-size:14px;border:none;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.let-select i.let-icon-x{font-size:6px;color:#9096a3;transform:scale(.5)}.let-select i.let-icon-clear{position:absolute;background:#fff;right:13px;top:50%;margin-top:-13px;color:rgba(0,0,0,.2);height:12px;width:12px;opacity:0;z-index:2;cursor:pointer;transition:color .4s ease,opacity .2s ease}.let-select_clearable .let-select__selection:hover i.let-icon-clear{color:rgba(0,0,0,.47);opacity:1}.let-select_clearable .let-select__selection:hover i.let-icon-caret-down{opacity:0}.let-select__dropdown{position:absolute;width:100%;border-radius:4px;background-color:#fff;border:1px solid #d7dae0;box-shadow:0 3px 6px 0 hsla(221,9%,60%,.16);margin-top:16px;z-index:5}.let-select__dropdown.slide-up-enter-active{animation:d .4s}.let-select__dropdown.slide-up-leave-active{animation:e .4s}.let-select__dropdown.slide-down-enter-active{animation:f .4s}.let-select__dropdown.slide-down-leave-active{animation:g .4s}.let-select__dropdown .let-select__menu{margin:0;list-style:none;padding:7px 0;max-height:300px;overflow-y:auto}.let-select__dropdown .let-select__option{box-sizing:border-box;width:100%;height:40px;line-height:40px;color:#222329;padding:0 15px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.let-select__dropdown .let-select__option_disabled{opacity:.6;cursor:not-allowed}.let-select__dropdown .let-select__option_selected{background-color:#e6eaf5}.let-select__dropdown .let-select__option:hover:not(.disabled):not(.let-select__option_selected){background-color:rgba(230,234,245,.5)}.let-select__dropdown .popover__arrow{position:absolute;top:-12px;right:16px;width:0;height:0;border:6px solid transparent;border-bottom-color:#d7dae0}.let-select__dropdown .popover__arrow:after{top:2px;position:absolute;width:0;height:0;border:6px solid transparent;border-top:none;border-bottom-color:#fff;content:"";margin-left:-6px}.let-select__dropdown.at-top{margin-top:-16px}.let-select__dropdown.at-top .popover__arrow{position:absolute;top:auto;bottom:-12px;right:16px;width:0;height:0;border:6px solid transparent;border-top-color:#d7dae0}.let-select__dropdown.at-top .popover__arrow:after{top:auto;bottom:2px;position:absolute;width:0;height:0;border:6px solid transparent;border-bottom:none;border-top-color:#fff;content:"";margin-left:-6px}.let-select_small{font-size:12px}.let-select_small .let-select__selection{padding:4px 32px 4px 10px;line-height:24px}.let-select_small .let-select__dropdown .let-select__option{font-size:12px;line-height:32px;height:32px}.let-select_large .let-select__selection{padding:8px 32px 8px 10px;line-height:32px}.let-slider{position:relative;margin:10px 6px;height:14px;border-radius:6px;background-color:#f5f6fa;cursor:pointer;border-top:4px solid #fff;border-bottom:4px solid #fff;transition:background-color .3s ease}.let-slider,.let-slider *{box-sizing:border-box}.let-slider_with-marks{margin-bottom:28px}.let-slider__track{position:absolute;left:0;height:6px;border-radius:4px;z-index:1;transition:background-color .3s ease}.let-slider:hover .let-slider__track,.let-slider__track{background-color:#3f5ae0}.let-slider__handle{position:absolute;margin-left:-7px;margin-top:-5px;width:14px;height:14px;cursor:pointer;border-radius:50%;border:2px solid #3f5ae0;background-color:#fff;z-index:4;transition:border-color .3s ease,transform .3s cubic-bezier(.18,.89,.32,1.28)}.let-slider__mark{position:absolute;top:10px;left:0;width:100%;font-size:12px;z-index:3}.let-slider__mark__text{position:absolute;display:inline-block;vertical-align:middle;text-align:center;cursor:pointer;color:#999}.let-slider__mark__text_active{color:#000}.let-slider__step{position:absolute;width:100%;height:6px;background:transparent;z-index:1}.let-slider__dot{position:absolute;top:1px;margin-left:-2px;width:4px;height:4px;border:1px solid #fff;background-color:#fff;cursor:pointer;border-radius:50%;vertical-align:middle}.let-slider__dot:first-child,.let-slider__dot:last-child{display:none}.let-slider__dot_active{border:1px solid #9facef;background-color:#9facef}.let-slider_disabled .let-slider__track{background-color:#c0c4cc!important}.let-slider_disabled .let-slider__dot,.let-slider_disabled .let-slider__handle{border-color:#c0c4cc!important;background-color:#fff;cursor:not-allowed;box-shadow:none}.let-slider_disabled .let-slider_mark-text,.let-slider_disabled .letttt-slider__dot{cursor:not-allowed!important}.draggable-button-wrapper{position:relative;width:14px;height:14px}.draggable-button-wrapper .draggable-button{position:relative;top:-4px;left:-2px;width:14px;height:14px;border:2px solid #5cadff;border-radius:50%;background-color:#fff;transition:all .2s linear;opacity:0}.draggable-button-wrapper .let-tooltip__popper{top:-38px!important;left:50%!important;margin-left:-17px;white-space:nowrap}.draggable-button-wrapper .let-tooltip__content{background-color:#3f5ae0}.draggable-button-wrapper .let-tooltip_top .let-tooltip__arrow{border-top-color:#3f5ae0}.let-tooltip{display:inline-block}.let-tooltip .fade-enter-active{animation:k .4s}.let-tooltip .fade-leave-active{animation:l .4s}.let-tooltip__trigger{display:inline-block;position:relative}.let-tooltip__popper{position:absolute;z-index:7}.let-tooltip__content{padding:4px 8px;max-width:800px;color:#fff;font-size:12px;line-height:1.5;border-radius:4px;background-color:rgba(0,0,0,.75);word-wrap:break-word}.let-tooltip__arrow{position:absolute;display:block;width:0;height:0;border:4px solid transparent}.let-tooltip_top,.let-tooltip_top-left,.let-tooltip_top-right{padding:4px 0;margin-top:-2px}.let-tooltip_top-left .let-tooltip__arrow,.let-tooltip_top-right .let-tooltip__arrow,.let-tooltip_top .let-tooltip__arrow{bottom:0;left:50%;margin-left:-4px;border-bottom-width:0;border-top-color:rgba(0,0,0,.75)}.let-tooltip_top-left .let-tooltip__arrow{left:12px;right:auto}.let-tooltip_top-right .let-tooltip__arrow{left:auto;right:8px}.let-tooltip_bottom,.let-tooltip_bottom-left,.let-tooltip_bottom-right{padding:4px 0;margin-top:2px}.let-tooltip_bottom-left .let-tooltip__arrow,.let-tooltip_bottom-right .let-tooltip__arrow,.let-tooltip_bottom .let-tooltip__arrow{top:0;left:50%;margin-left:-4px;border-top-width:0;border-bottom-color:rgba(0,0,0,.75)}.let-tooltip_bottom-left .let-tooltip__arrow{left:12px;right:auto}.let-tooltip_bottom-right .let-tooltip__arrow{left:auto;right:8px}.let-tooltip_left,.let-tooltip_left-bottom,.let-tooltip_left-top{padding:0 4px;margin-left:-2px}.let-tooltip_left-bottom .let-tooltip__arrow,.let-tooltip_left-top .let-tooltip__arrow,.let-tooltip_left .let-tooltip__arrow{top:50%;right:0;margin-top:-4px;border-right-width:0;border-left-color:rgba(0,0,0,.75)}.let-tooltip_left-top .let-tooltip__arrow{top:12px;bottom:auto}.let-tooltip_left-bottom .let-tooltip__arrow{top:auto;bottom:8px}.let-tooltip_right,.let-tooltip_right-bottom,.let-tooltip_right-top{padding:0 4px;margin-left:2px}.let-tooltip_right-bottom .let-tooltip__arrow,.let-tooltip_right-top .let-tooltip__arrow,.let-tooltip_right .let-tooltip__arrow{top:50%;left:0;margin-top:-4px;border-left-width:0;border-right-color:rgba(0,0,0,.75)}.let-tooltip_right-top .let-tooltip__arrow{top:12px;bottom:auto}.let-tooltip_right-bottom .let-tooltip__arrow{top:auto;bottom:8px}.hide,.spin{display:none}.spin{color:#108ee9;vertical-align:middle;text-align:center;opacity:0;position:absolute;transition:transform .3s cubic-bezier(.78,.14,.15,.86);font-size:12px}.spin-spinning{opacity:1;position:static;display:inline-block}.let-spin{position:relative}.let-spin>div>.spin{position:absolute;height:100%;max-height:320px;width:100%;z-index:4}.let-spin>div>.spin .spin-dot{position:absolute;top:50%;left:50%;margin-left:-20px}.let-spin>div>.spin .spin-text{position:absolute;top:50%;width:100%;padding-top:6px}.let-spin>div>.spin.spin-show-text .spin-dot{margin-top:-40px}.let-spin>div>.spin-small .spin-text{padding-top:3px}.let-spin>div>.spin-small.spin-show-text .spin-dot{margin-left:-15px}.let-spin>div>.spin-large .spin-text{padding-top:12px}.let-spin>div>.spin-large.spin-show-text .spin-dot{margin-left:-25px}.spin-container{position:relative}.spin-blur{overflow:hidden;opacity:.7;filter:url('data:image/svg+xml;charset=utf-8,#filter');filter:blur(.5px);-webkit-transform:translateZ(0)}.spin-blur:after{content:"";position:absolute;left:0;right:0;top:0;bottom:0;background:#fff;opacity:.3}.spin-tip{color:rgba(0,0,0,.43)}.spin-dot{position:relative;display:inline-block;width:40px;height:40px}.spin-dot i{height:100%;left:0;position:absolute;top:0;width:100%}.spin-dot i:before{animation:1.2s infinite ease-in-out both;animation-name:c;background-color:currentColor;border-radius:100%;content:"";display:block;height:16%;margin:0 auto;width:16%}.spin-dot i:nth-child(2){transform:rotate(30deg)}.spin-dot i:nth-child(3){transform:rotate(60deg)}.spin-dot i:nth-child(4){transform:rotate(90deg)}.spin-dot i:nth-child(5){transform:rotate(120deg)}.spin-dot i:nth-child(6){transform:rotate(150deg)}.spin-dot i:nth-child(7){transform:rotate(180deg)}.spin-dot i:nth-child(8){transform:rotate(210deg)}.spin-dot i:nth-child(9){transform:rotate(240deg)}.spin-dot i:nth-child(10){transform:rotate(270deg)}.spin-dot i:nth-child(11){transform:rotate(300deg)}.spin-dot i:nth-child(12){transform:rotate(330deg)}.spin-dot i:nth-child(2):before{animation-delay:-1.1s}.spin-dot i:nth-child(3):before{animation-delay:-1s}.spin-dot i:nth-child(4):before{animation-delay:-.9s}.spin-dot i:nth-child(5):before{animation-delay:-.8s}.spin-dot i:nth-child(6):before{animation-delay:-.7s}.spin-dot i:nth-child(7):before{animation-delay:-.6s}.spin-dot i:nth-child(8):before{animation-delay:-.5s}.spin-dot i:nth-child(9):before{animation-delay:-.4s}.spin-dot i:nth-child(10):before{animation-delay:-.3s}.spin-dot i:nth-child(11):before{animation-delay:-.2s}.spin-dot i:nth-child(12):before{animation-delay:-.1s}.spin-small .spin-dot{width:30px;height:30px}.spin-small .spin-dot i:before{width:14%;height:14%}.spin-large .spin-dot{width:50px;height:50px}.spin.spin-show-text .spin-text{display:block}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.spin-blur{background:#fff;opacity:.5}}@keyframes c{0%,80%,to{opacity:0}40%{opacity:1}}.let-step{position:relative;display:inline-block;text-align:center;vertical-align:top}.let-step.is-success .let-step__icon{border-color:#3f5ae0;color:#3f5ae0}.let-step__head{position:relative;height:24px}.let-step__line{position:absolute;top:0;bottom:0;left:50%;margin:auto;width:100%;height:6px;background:#f5f6fa}.let-step__line-inner{display:block;height:100%;width:0;background:#3f5ae0;transition:width .2s}.let-step__icon{position:relative;display:inline-block;width:24px;height:24px;box-sizing:border-box;border:2px solid #c0c4cc;border-radius:50%;line-height:20px;background:#fff}.let-step__icon,.let-step__main{font-size:12px;text-align:center;color:#9096a3}.let-step__title{margin:4.5px 0 0}.let-step__title-large{margin:8.5px 0 0;font-size:14px;color:#222329}.let-step__description{margin:5px 0 0;padding:0 25%}.let-steps{font-size:0}.let-switch{box-sizing:border-box;position:relative;display:inline-block;min-width:48px;height:26px;border:1px solid #c0c4cc;border-radius:24px;background-color:#c0c4cc;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.let-switch,.let-switch:after{transition:all .3s;cursor:pointer}.let-switch:after{content:"";display:block;position:absolute;left:1px;top:1px;width:22px;height:22px;border-radius:50%;background-color:#fff}.let-switch__text{display:block;padding-left:28px;padding-right:4px;color:#fff;font-size:12px;line-height:24px}.let-switch_checked{border-color:#3f5ae0;background-color:#3f5ae0}.let-switch_checked:after{left:100%;margin-left:-23px}.let-switch_checked .let-switch__text{padding-left:6px;padding-right:26px}.let-switch_disabled{opacity:.5;cursor:not-allowed}.let-switch_disabled:after{background-color:#fff;cursor:not-allowed}.let-switch_disabled .let-switch__text{color:hsla(0,0%,100%,.7)}.let-switch_small{min-width:32px;height:20px}.let-switch_small:after{width:16px;height:16px}.let-switch_small .let-switch__text{font-size:10px;padding-left:22px;padding-right:6px;line-height:18px}.let-switch_small.let-switch_checked:after{left:100%;margin-left:-17px}.let-switch_small.let-switch_checked .let-switch__text{padding-left:6px;padding-right:22px}.let-switch_large{min-width:64px;height:32px}.let-switch_large:after{width:28px;height:28px}.let-switch_large .let-switch__text{font-size:14px;padding-left:39px;padding-right:4px;line-height:30px}.let-switch_large.let-switch_checked:after{left:100%;margin-left:-29px}.let-switch_large.let-switch_checked .let-switch__text{padding-left:10px}.let-table__wrap{position:relative}.let-table table{border:1px solid #e1e4eb;box-shadow:0 1px 2px #e1e4eb;border-radius:4px;background-color:#fff;border-spacing:0;margin-bottom:20px;max-width:100%;width:100%}.let-table caption{font-weight:700;padding:10px 0;text-align:left}.let-table tr td,.let-table tr th{border:0 solid #e1e4eb;border-collapse:collapse;line-height:20px;padding:10px 0 10px 15px}.let-table tr td.first,.let-table tr th.first{border-left-width:1px}.let-table tr td.last,.let-table tr th.last{border-right-width:1px}@media (max-width:1280px){.let-table tr td,.let-table tr th{padding-left:10px}}.let-table tr th{color:#9096a3;font-weight:700;font-size:12px;text-align:left;padding:14px 0 14px 15px}.let-table tr th .sortContainer{display:inline-block;cursor:pointer;margin-left:3px}.let-table tr th[colspan]{border-bottom-width:1px;border-left-width:1px}.let-table tr th[colspan]:not(:last-child){border-right-width:1px}.let-table tr td{border-top-width:1px;color:#454e66}.let-table tr td .operation{border-left:1px solid #e1e4eb;color:#3f5ae0;cursor:pointer;display:block;float:left;line-height:20px;padding-left:10px;padding-right:10px;position:relative}.let-table tr td .operation.first{border-left-width:0;padding-left:0}.let-table tr td .fa{color:#4a4a4a;text-align:center;width:20px}.let-table tr td .fa.clickable{color:#2972cc;cursor:pointer}.let-table tr td .fa.disabled{color:#ccc;pointer-events:none}.let-table tr td.expanded-cell{padding:0}.let-table tbody tr:hover{background:#ebf1ff}.let-table tbody tr.isTrEmpty:hover{background:#fff}.let-table .right{text-align:right}.let-table .left{text-align:left}.let-table .center{text-align:center}.let-table .let-checkbox,.let-table .let-switch{line-height:1;margin-top:-1px}.let-table .let-checkbox{height:16px}.let-table__operations{line-height:32px;padding-left:15px}@media (max-width:1280px){.let-table__operations{padding-left:10px}}.let-table__operations .let-button,.let-table__operations .let-checkbox{margin-right:15px}.let-table__expander{cursor:pointer;font-size:20px;height:30px;line-height:28px;margin:-10px 0 -10px -10px;text-align:center;width:30px}.let-table__expander i{transition:.2s}.let-table__expander.expanded i{transform:rotate(90deg)}.let-table.let-table_stripe tr:nth-child(2n) td{background-color:#fafbfc}.let-table.let-table_stripe tr:nth-child(2n):hover td{background-color:#ebf1ff}.let-table .flip-move{transition:transform .5s cubic-bezier(.55,0,.1,1)}.let-table .let-form{background-color:#f5f6fa;margin-bottom:0;padding:10px 20px}.let-table .let-form__item{margin-bottom:0}.let-table .let-form__item__label{color:gray;font-size:12px;text-align:left}.let-table__operation{color:#3f5ae0;font-size:12px;cursor:pointer;display:block;float:left;line-height:20px;padding-left:10px;padding-right:10px;position:relative}.let-table__operation.is-disabled{opacity:.6;cursor:not-allowed}.let-table__operation:first-of-type{border-left-width:0;padding-left:0}.let-table__operation_link{color:#3f5ae0}.let-table__operation_link:visited{color:#3952cc}.let-tabs__header{position:relative;min-height:44px;line-height:44px;border-bottom:1px solid #d7dae0}.let-tabs__header.center{text-align:center}.let-tabs__active-bar{position:absolute;bottom:-1px;height:2px;background:#3f5ae0;overflow:hidden;transition:transform .3s ease-in-out,width .3s ease-in-out;transform-origin:0 0}.let-tabs__icon{display:block;width:24px;height:24px;margin:14px auto -3px}.let-tabs__tabitem{display:inline-block;text-align:center;margin-right:24px;color:#9096a3;font-size:14px;font-weight:700;cursor:pointer}.let-tabs__tabitem:hover{color:#222329}.let-tabs__tabitem.left{float:left}.let-tabs__tabitem_cur{color:#222329}.let-tabs__tabitem_disabled{opacity:.6;cursor:not-allowed}.let-tabs__tabitem_disabled:hover{color:#9096a3}@keyframes d{0%{opacity:0;transform-origin:0 0;transform:scaleY(.8)}to{opacity:1;transform-origin:0 0;transform:scaleY(1)}}@keyframes e{0%{opacity:1;transform-origin:0 0;transform:scaleY(1)}to{opacity:0;transform-origin:0 0;transform:scaleY(.8)}}@keyframes f{0%{opacity:0;transform-origin:100% 100%;transform:scaleY(.8)}to{opacity:1;transform-origin:100% 100%;transform:scaleY(1)}}@keyframes g{0%{opacity:1;transform-origin:100% 100%;transform:scaleY(1)}to{opacity:0;transform-origin:100% 100%;transform:scaleY(.8)}}@keyframes h{0%{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes i{0%{opacity:0;transform-origin:0 0;transform:translateY(-100%)}to{opacity:1;transform-origin:0 0;transform:translateY(0)}}@keyframes j{0%{opacity:1;transform-origin:0 0;transform:translateY(0)}to{opacity:0;transform-origin:0 0;transform:translateY(-100%)}}@keyframes k{0%{opacity:0}to{opacity:1}}@keyframes l{0%{opacity:1}to{opacity:0}}.let-tag{font-size:12px;position:relative;display:inline-block;max-width:100%;padding:0 12px;border:1px solid;box-sizing:border-box;-webkit-font-smoothing:antialiased;border-color:currentColor}.let-tag+.let-tag{margin-left:8px}.let-tag_default{color:#3f5ae0}.let-tag_success{color:#6accab}.let-tag_danger{color:#f56c77}.let-tag_warning{color:#f5ad1d}.let-tag_info{color:#9096a3}.let-tag_large{height:32px;line-height:32px;border-radius:16px}.let-tag_medium{height:28px;line-height:28px;border-radius:14px}.let-tag_small{height:24px;line-height:24px;border-radius:12px}.let-tag_mini{height:20px;line-height:20px;border-radius:10px}.let-tag_hide{display:none}.let-tag__close{display:inline-block;position:relative;cursor:pointer;height:13px;width:13px;top:-1px;border-radius:50%;vertical-align:middle;overflow:hidden}.let-tag__close:after,.let-tag__close:before{position:absolute;border-radius:1px;background:currentColor;content:"";left:2px;height:1px;top:6px;width:9px}.let-tag__close:before{transform:rotate(45deg)}.let-tag__close:after{transform:rotate(-45deg)}.let-tag__close:hover{background:currentColor}.let-tag__close:hover:after,.let-tag__close:hover:before{color:#fff}.let-tag_checked{background-color:currentColor}.let-tag_checked .let-tag__close,.let-tag_checked span{color:#fff}.let-tag_checkable{cursor:pointer}.let-tree__node li{list-style-type:none}.let-tree__node .pointer{cursor:pointer}.let-tree__node .disabled{opacity:.6;cursor:not-allowed}.let-tree__node .active{color:#3f5ae0}.let-tree__node .let-icon-caret-right-small{font-size:12px;transition:transform .3s ease}.let-tree__node .let-icon-caret-right-small.down{transform:rotate(90deg)}a,a:hover{text-decoration:none}button,input,textarea{outline:none}::placeholder{color:#a2a9b8}:-ms-input-placeholder{color:#a2a9b8!important}@font-face{font-family:iconfont;src:url(data:application/vnd.ms-fontobject;base64,ABUAAFgUAAABAAIAAAAAAAIABQMAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAApkA4bQAAAAAAAAAAAAAAAAAAAAAAABAAaQBjAG8AbgBmAG8AbgB0AAAADgBSAGUAZwB1AGwAYQByAAAAFgBWAGUAcgBzAGkAbwBuACAAMQAuADAAAAAQAGkAYwBvAG4AZgBvAG4AdAAAAAAAAAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJXR0kCAAABfAAAAFZjbWFwnRRlhAAAAkAAAANMZ2x5Zkwma6AAAAXEAAAK2GhlYWQRMe7BAAAA4AAAADZoaGVhCGwEZQAAALwAAAAkaG10eGzp//sAAAHUAAAAbGxvY2EmqClAAAAFjAAAADhtYXhwAT0AnAAAARgAAAAgbmFtZT5U/n0AABCcAAACbXBvc3QaQvwJAAATDAAAAUwAAQAAA4D/gABcBMz//f/9BJAAAQAAAAAAAAAAAAAAAAAAABsAAQAAAAEAAG04QKZfDzz1AAsEAAAAAADWwtWNAAAAANbC1Y3//f8nBJADgwAAAAgAAgAAAAAAAAABAAAAGwCQABgAAAAAAAIAAAAKAAoAAAD/AAAA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CAAAAAAEAAP9/A38DgQAPAAATARYUBwEOAS4BNRE0PgEWzgKbFRX9ZQwcGg4OGhwDd/4zEDQQ/jMIAg4YDgOaDhgOAgABAAD/swSQA0MACgAABSYnATcFARcBDgECACUd/n+DATAB/aP9wQ8qTQEXAUGe/gKXff0VExUAAAQAAP+ABAADgAALABcAGwAfAAAFJgAnNgA3FgAXBgADDgEHHgEXPgE3LgEHMxEjFTMVIwIA2f7fBgYBIdnZASEGBv7f2anhBAThqanhBATh4nJycnKABgEh2dkBIQYG/t/Z2f7fA4gE4amp4QQE4amp4W7+cjl9AAMAAP+ABAADgAALABcAIQAABSYAJzYANxYAFwYAAw4BBx4BFz4BNy4BAyIvATcXARcBBgIA2f7fBgYBIdnZASEGBv7f2anhBAThqanhBAThzxQPtEeKAQBU/twRgAYBIdnZASEGBv7f2dn+3wOIBOGpqeEEBOGpqeH9nwyOWW0BHE3+vRIAAAABAAD/vgL9A0IABQAAARcJAQcBAo1w/q0BU3D+PwNCcP6u/q5wAcIAAQAAAAAC/QIrAAsAABMBFjI3ATYmJyEOAbEBBAsiCwEECxIV/fgVEgH0/poODgFmESUBASUAAAABAAAAAAMFAisACwAANwE2MhcBFgYHIS4BsQEJCiILAQgMExT97xUStgFnDQ3+mRElAQElAAAAAAMAAP+ABAADgAALABcAGwAABT4BNy4BJw4BBx4BFyYAJzYANxYAFwYAEwEXAQIAqeEEBOGpqeEEBOGp2v7fBQUBIdraASEFBf7fX/0+UALCDgThqanhBAThqanhdgUBIdraASEFBf7f2tr+3wOE/T5QAsIAAQAAAAADAQKBAAsAAAkBFhQHAQYmJxE+AQGMAWYODv6aESUBASUCdf78CiMK/vwMExQCCBUTAAAAABIA3gABAAAAAAAAABUAAAABAAAAAAABAAgAFQABAAAAAAACAAcAHQABAAAAAAADAAgAJAABAAAAAAAEAAgALAABAAAAAAAFAAsANAABAAAAAAAGAAgAPwABAAAAAAAKACsARwABAAAAAAALABMAcgADAAEECQAAACoAhQADAAEECQABABAArwADAAE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EeKAQBU/twRgAYBIdnZASEGBv7f2dn+3wOIBOGpqeEEBOGpqeH9nwyOWW0BHE3+vRIAAAABAAD/vgL9A0IABQAAARcJAQcBAo1w/q0BU3D+PwNCcP6u/q5wAcIAAQAAAAAC/QIrAAsAABMBFjI3ATYmJyEOAbEBBAsiCwEECxIV/fgVEgH0/poODgFmESUBASUAAAABAAAAAAMFAisACwAANwE2MhcBFgYHIS4BsQEJCiILAQgMExT97xUStgFnDQ3+mRElAQElAAAAAAMAAP+ABAADgAALABcAGwAABT4BNy4BJw4BBx4BFyYAJzYANxYAFwYAEwEXAQIAqeEEBOGpqeEEBOGp2v7fBQUBIdraASEFBf7fX/0+UALCDgThqanhBAThqanhdgUBIdraASEFBf7f2tr+3wOE/T5QAsIAAQAAAAADAQKBAAsAAAkBFhQHAQYmJxE+AQGMAWYODv6aESUBASUCdf78CiMK/vwMExQCCBUTAAAAABIA3gABAAAAAAAAABUAAAABAAAAAAABAAgAFQABAAAAAAACAAcAHQABAAAAAAADAAgAJAABAAAAAAAEAAgALAABAAAAAAAFAAsANAABAAAAAAAGAAgAPwABAAAAAAAKACsARwABAAAAAAALABMAcgADAAEECQAAACoAhQADAAEECQABABAArwADAAEECQACAA4AvwADAAEECQADABAAzQADAAEECQAEABAA3QADAAEECQAFABYA7QADAAEECQAGABABAwADAAEECQAKAFYBEwADAAEECQALACYBaQpDcmVhdGVkIGJ5IGljb25mb250Cmljb25mb250UmVndWxhcmljb25mb250aWNvbmZvbnRWZXJzaW9uIDEuMGljb25mb250R2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20ACgBDAHIAZQBhAHQAZQBkACAAYgB5ACAAaQBjAG8AbgBmAG8AbgB0AAoAaQBjAG8AbgBmAG8AbgB0AFIAZQBnAHUAbABhAHIAaQBjAG8AbgBmAG8AbgB0AGkAYwBvAG4AZgBvAG4AdABWAGUAcgBzAGkAbwBuAC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Q2xvY2sKY2FyZXQtbGVmdAtjYXJldC1yaWdodANnb3UEaW5mbwJvaxhsZXQtaWNvbi1hcnJvdy1sZWZ0LWNvcHkKY2FyZXQtZG93bghjYXJldC11cAJlbghBcnRib2FyZAAA) format("truetype"),url(/static/img/iconfont.4980b.svg#iconfont) format("svg")}.let-icon{font-family:iconfont!important;font-size:12px;font-style:normal;display:inline-block;text-trans:none;text-rendering:none;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.let-icon-arrow-left:before{content:"\E618"}.let-icon-arrow-right:before{content:"\E605"}.let-icon-clear:before{content:"\E606"}.let-icon-x:before{content:"\E609"}.let-icon-plus:before{content:"\E607"}.let-icon-line:before{content:"\E608"}.icon-Star:before{content:"\E604"}.let-icon-ban:before{content:"\E629"}.let-icon-gou:before{content:"\E612"}.let-icon-info:before{content:"\E613"}.let-icon-ok:before{content:"\E614"}.let-icon-caret-down:before{content:"\E626"}.let-icon-caret-up:before{content:"\E627"}.let-icon-calendar:before{content:"\E60D"}.let-icon-clock:before{content:"\E60E"}.let-icon-caret-left:before{content:"\E60F"}.let-icon-caret-right:before{content:"\E610"}.let-icon-sort:before{content:"\E704"}.let-icon-sort-desc:before{content:"\E61C"}.let-icon-sort-asc:before{content:"\E60A"}.let-icon-subtract:before{content:"\E6F2"}.let-icon-plus:before{content:"\E601"}.let-icon-star-hover:before{content:"\E60C"}.let-icon-star:before{content:"\E6EF"}.let-icon-caret-right-small:before{content:"\E62C"}.let-icon-caret-down{position:absolute;right:14px;padding-left:1px;margin-top:-6px;top:50%;width:12px;height:12px;line-height:12px;color:#9096a3;transition:transform .4s ease}.let-icon-caret-down.up{transform:rotate(-180deg)}.let-uploader{position:relative;height:32px;width:100%}.let-uploader *{box-sizing:border-box}.let-uploader input[type=file]{position:absolute;bottom:0;cursor:pointer;left:0;opacity:0;right:0;top:0;width:100%}.let-uploader .let-icon__check{font-size:10px;color:#6accab;margin-right:4px}.let-uploader.let-uploader_disabled{opacity:.65;pointer-events:none}.let-uploader__btnwrap{display:inline-block;overflow:hidden;position:relative;width:100%;height:32px}.let-uploader__placeholder{color:#a2a9b8}.let-uploader__placeholder,.let-uploader__successfile{display:inline-block;float:left;border:1px solid #c0c4cc;border-radius:4px;font-size:12px;line-height:20px;padding:5px 8px;cursor:pointer;font-weight:400;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.let-uploader__successfile{color:#222329}.is-invalid .let-uploader__placeholder{border-color:#f56c77}.is-invalid .let-uploader__btnwrap .let-uploader__btn{border-color:#f56c77;border-left:none}.let-uploader .let-uploader__btn{background:#3f5ae0;color:#fff;border:1px solid #3f5ae0;border-top-right-radius:4px;border-bottom-right-radius:4px;cursor:pointer;display:inline-block;font-size:14px;min-width:80px;font-weight:400;line-height:20px;padding:5px;text-align:center;-ms-touch-action:manipulation;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap;outline:none}.let-uploader:hover .let-uploader__btn{opacity:.8}.let-form__inline .let-form-item{padding-left:0!important;margin-right:32px;vertical-align:bottom}.let-form__inline .let-label__position_top{padding-right:0;width:100%}.let-form .let-input{width:100%}.let_modal{position:fixed!important}.let-loading .loading-inner{background:rgba(0,0,0,.9);padding:13px}.let-input_small input{font-size:12px;padding-left:8px;padding-right:8px}.let-select_small .let-select__selection{padding-left:8px}.let-select_small .let-select__text_single{margin-left:0}.let-select_small .let-select__option{padding-left:8px;padding-right:8px}.let-radio+.let-radio{margin-left:12px}.let-date-picker{width:100%}.let-table td:last-child.right,.let-table th:last-child.right{padding-right:15px}.let-table tr th .sortContainer{position:relative}.let-table tr th .sortContainer .let-icon-caret-down{left:0}.icon{fill:currentcolor;height:1em;vertical-align:-.25ex;width:1em}.tars-form-item .clickable{color:#3f5ae0}.app_index__footer{height:48px;background:#f0f2f5;color:#a2a9b8;font-size:12px;line-height:48px;text-align:center}.page_server_config .add-btn{position:absolute;right:0;top:0;z-index:2}.page_server_config .check-all{position:absolute;z-index:2;top:60px;left:16px}.page_server_config .let-table caption{padding-bottom:16px}.page_server_config .danger{color:#e0543f}.page_server_config .success{color:#49cc8f}.page_server_config .result{display:inline-block;max-width:420px;word-break:break-word;padding-right:10px}.page_server_config pre{color:#909fa3;margin-top:32px}.page_server_config .detail-loading{height:28px}.page_server_config .detail-loading:only-child{margin:20px 0}.page_server_config .history-table{margin-top:20px}.page_server_config .let-checkbox{vertical-align:baseline;vertical-align:initial}.section[data-v-2643216f]{margin-bottom:32px;position:relative}.hours-filter{overflow:hidden}.hours-filter h4{color:#9096a3;font-weight:700;margin-bottom:12px}.hours-filter ul{margin-bottom:-8px;overflow:hidden}.hours-filter li{border:1px solid #c0c4cc;border-radius:14px;color:#454e66;cursor:pointer;float:left;font-size:12px;line-height:26px;margin-bottom:8px;margin-right:8px;min-width:39px;padding:0 11px;text-align:center}.hours-filter li.active{border-color:#3f5ae0;color:#3f5ae0}.hours-filter li:last-child{margin-right:0}.compare-chart{position:relative}.compare-chart-zoom-in{color:inherit;cursor:pointer;font-size:16px;position:absolute;right:35px;top:5px}.compare-chart .let_modal__dialog{max-width:1200px}.page_server_server_monitor{padding-bottom:20px}.page_server_server_monitor .charts{margin-top:20px}.page_server_server_monitor .hours-filter{margin-bottom:16px}.page_server_debuger .add-btn{position:absolute;right:0;top:0;z-index:2}.page_server_debuger .mt10{margin-top:10px}.page_server_debuger .param_area textarea{border:none!important}.page_server_debuger .params_container{border:1px solid #c0c4cc;overflow:hidden;border-radius:5px}.page_server_debuger .div_line{border-right:1px solid #e4e9f2}.page_server_debuger .left_align{margin-left:-15px}@font-face{font-family:Lato;src:url(/static/fonts/Lato-Bold.ea734.eot);src:url(/static/fonts/Lato-Bold.ea734.eot?#font-spider) format("embedded-opentype"),url(/static/fonts/Lato-Bold.1870e.woff2) format("woff2"),url(/static/fonts/Lato-Bold.530a2.woff) format("woff"),url(/static/fonts/Lato-Bold.624f2.ttf) format("truetype"),url(/static/img/Lato-Bold.70b17.svg) format("svg");font-weight:700;font-style:normal}@font-face{font-family:Lato;src:url(/static/fonts/Lato-Regular.e0ede.eot);src:url(/static/fonts/Lato-Regular.e0ede.eot?#font-spider) format("embedded-opentype"),url(/static/fonts/Lato-Regular.6d8f7.woff2) format("woff2"),url(/static/fonts/Lato-Regular.9966c.woff) format("woff"),url(/static/fonts/Lato-Regular.25295.ttf) format("truetype"),url(/static/img/Lato-Regular.cd5ac.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:Lato;src:url(/static/fonts/Lato-Light.d10a5.eot);src:url(/static/fonts/Lato-Light.d10a5.eot?#font-spider) format("embedded-opentype"),url(/static/fonts/Lato-Light.502bf.woff2) format("woff2"),url(/static/fonts/Lato-Light.493f8.woff) format("woff"),url(/static/fonts/Lato-Light.a3eaa.ttf) format("truetype"),url(/static/img/Lato-Light.f5206.svg) format("svg");font-weight:300;font-style:normal}*,:after,:before{box-sizing:border-box}a,blockquote,body,dd,div,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,input,li,ol,p,pre,td,textarea,th,ul{margin:0;outline:none;padding:0}h1,h2,h3,h4,h5,h6{font-size:14px}li,ol,ul{list-style:none outside none}table{border-spacing:0;border-collapse:collapse}p,td,th{word-break:break-all}fieldset,img{border:0 none}input::-moz-focus-inner{border:none;padding:0}a{outline:none}a,a:hover{text-decoration:none}a img{border:none}img{display:inline-block;max-width:100%;vertical-align:middle}textarea{outline:none;resize:none}button,input{border:none;outline:none}input::-ms-clear{display:none}label{cursor:pointer}cite,em,i{font-style:normal}::placeholder{color:#ccc;font-weight:400}:-ms-input-placeholder{color:#ccc!important;font-weight:400!important}::-webkit-scrollbar{background:#ccc;border-radius:0;height:6px;position:absolute;width:6px}::-webkit-scrollbar-thumb{background:#999;border-radius:3px}body,html{height:100%}body{color:#565b66;font-family:Lato,PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif;-webkit-font-smoothing:antialiased;-moz-font-smoothing:antialiased;text-align:left}.clearfix{*zoom:1}.clearfix :after,.clearfix :before{display:table;content:" "}.clearfix :after{clear:both}.toe{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.disabled{opacity:.65;pointer-events:none}.hidden{display:none}.main-width{margin:0 auto;max-width:1440px;padding:0 24px}#app{position:relative;padding-bottom:48px;min-height:100%;font-size:14px}.app_index__footer{position:absolute;bottom:0;left:0;width:100%}.let-dialog .let-dialog__foot .let-align__inner{display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:center;justify-content:center}.let-dialog .let-dialog__foot .let-align__inner .let-button:first-child{margin-right:0;margin-left:16px}.page_operation _children{padding:20px 0}.danger{color:#e0543f}.app_index__header{height:80px;border-bottom:1px solid #ebecee}.app_index__header .main-width{position:relative}.app_index__header .tabs .let-tabs__header{border-bottom:none}.app_index__header .language-wrap,.app_index__header .logo-wrap,.app_index__header .user-wrap{position:absolute;top:0;height:80px;width:300px;padding:26px 24px}.app_index__header .logo-wrap{left:0;width:auto;z-index:100;padding:0}.app_index__header .logo-wrap a{display:inline-block;height:80px;padding:30px 20px 0;position:relative}.app_index__header .logo-wrap a.active:after{content:"";display:inline-block;height:3px;width:100%;background:#457ff5;position:absolute;top:76px;left:0}.app_index__header .logo-wrap a .logo{height:25px}.app_index__header .logo-wrap .logo{height:28px}.app_index__header .language-wrap{right:150px;width:150px;padding-top:20px}.app_index__header .user-wrap{right:0;width:150px;text-align:right}.app_index__header .user-wrap .user-info{max-width:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;height:28px;cursor:pointer}.app_index__header .user-wrap .user-info .avatar{height:100%;border-radius:50%}.app_index__header .user-wrap .user-info .name{margin:0 8px}.app_index__header .user-wrap .user-info .let-icon-caret-down{position:relative;right:auto;top:auto;padding-left:0;margin-top:0}.app_index__header .user-pop-wrap{position:absolute;right:20px;top:55px;border:1px solid #d7dae0;border-radius:4px;padding:10px;background:#fff;font-size:12px}.app_index__header .fade-enter-active,.app_index__header .fade-leave-active{transition:opacity .4s}.app_index__header .fade-enter,.app_index__header .fade-leave-to{opacity:0}.page_server{padding-bottom:40px;padding-top:40px;display:-ms-flexbox;display:flex}.page_server .left-tree{-ms-flex:0 0 auto;flex:0 0 auto;width:152px;min-height:380px}.page_server .left-tree .loading{display:block;text-align:center;margin:180px auto 0}.page_server .left-tree .let-icon-caret-right-small{margin-right:2px;margin-left:4px}.page_server .left-tree ul.let-tree__node{font-size:14px;line-height:24px;margin-left:10px}.page_server .left-tree ul.let-tree__node li{text-overflow:ellipsis;overflow:hidden;word-break:break-all;white-space:pre}.page_server .left-tree>ul.let-tree__node{font-size:16px;margin-bottom:24px;margin-left:0}.page_server .left-tree>ul.let-tree__node>li>ul.let-tree__node{margin-left:0}.page_server .left-tree>ul.let-tree__node>li>ul.let-tree__node li .pointer:first-of-type{margin-left:3px}.page_server .left-tree>ul.let-tree__node>li>ul.let-tree__node li .pointer:first-of-type:empty{margin-left:26px}.page_server .left-tree .tree-icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAAAkFBMVEUAAACasuCbs+NYXGhhZXBWXGaEpOZGgPZGgPVGgPZGgPZGgfdGgfdHgPZKgP9VgP9Zi/FUXnFWivFUYX+DpOZVXWlUiPJRZpFmbXpRhvJPa6RpbndNhPNMcLmAo+eZseBFf/X///9WW2b39/itsLXs7O1HfOfW19pJeNeNkJi9v8NLcsKlqK5Nba1QaJl1eYI9kzr2AAAAH3RSTlMAwEBA/sD++efJpH9bNhgG/fnx8e3t6Ojm39/Y1tbVyF3SDAAAAKdJREFUKM/NzEkWgjAURNGoKD3Y90pIRLHf/+78RxLLQHDsm95Txb5KI9+PUmYrCT1OeWHSoDhwucoN4tofN1Lv+EOfd/whvC93vKXtngkxWx8ttJpmGSG1KGs0H2QU4elMPLlyNCZSmOfFzRFidFfvQyIgJS9Pmj9KTcCq9zsIWFUIAQCq/gTlL3QOsg17fbCJnS5jmoEgBgaCwBpBYApkYVCTNya9AH72SFhYMf7uAAAAAElFTkSuQmCC);margin-right:4px;margin-left:0;vertical-align:middle}.page_server .left-tree .tree-icon.down{transform:rotate(0)}.page_server .left-tree .tree-icon:before{content:""}.page_server .right-view{-ms-flex:1;flex:1;margin-left:40px;margin-top:-10px}.page_server .right-view .empty{margin:88px 0 0 calc(50% - 228px);width:240px;text-align:center}.page_server .right-view .empty .package{width:180px;height:114px;margin-bottom:24px}.page_server .right-view .empty .title{font-size:18px;font-weight:700;margin-bottom:12px}.page_server .right-view .empty .notice{line-height:22px;color:#a2a9b8}.page_server .page_server_child{margin-top:20px;position:relative}.page_server .loading-placeholder{min-height:80px;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.page_server .let_modal .let-loading__parent-relative .let-align__inner{padding-top:0}.page_server .let-form.two-columns.let-form-cols-2{margin-right:-30px}.page_server .let-form.two-columns.let-form-cols-2 .let-form-item{padding-right:30px}.page_server .let-table__operation{padding-left:0;padding-right:0;margin-right:10px}.page_server .let-table__operation:last-of-type{margin-right:0}.page_server .status-activating,.page_server .status-active,.page_server .status-off{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.page_server .status-activating:before,.page_server .status-active:before,.page_server .status-off:before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:currentColor;margin-right:4px}.page_server .status-activating:after,.page_server .status-active:after,.page_server .status-off:after{display:inline-block}.page_server .status-active{color:#49cc8f}.page_server .status-active:after{content:"Active"}.page_server .status-off{color:#e0543f}.page_server .status-off:after{content:"Off"}.page_server .status-activating{color:#e0543f}.page_server .status-activating:after{width:70px;content:"Activating"}.page_server_manage .tbm16{margin:16px 0}.page_server_manage .danger{color:#e0543f}.page_server_manage .more-cmd .let-form-item__content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.page_server_manage .more-cmd span.let-radio{margin-right:5px}.page_server_manage .more-cmd label.let-radio{width:200px}.alignRight{float:right}.non-server-migration .let-form-item__label{margin-left:0}.non-server-migration.let-form{background-color:#fff}.non-server-migration .let-select.let-select_single{width:300px}.let-table .let-form{background-color:#fff}.progressTable[data-v-2dd804f4]{margin-top:20px}.page_server_property_monitor{padding-bottom:20px}.page_server_property_monitor .chart{margin-top:20px}.page_server_property_monitor .let-table td,.page_server_property_monitor .let-table th{border:1px solid #ddd;word-break:keep-all}.page_server_property_monitor .charts{margin-top:20px}.page_server_property_monitor .hours-filter{margin-bottom:16px}.page_server_publish{padding-bottom:32px}.page_server_publish .mt10{margin-top:10px}.page_server_publish .running{color:#3f5ae0}.page_server_publish .success{color:#6accab}.page_server_publish .stop{color:#f56c77}.let-form-cols-1 .let-form-item__label{width:140px}.apply_steps{margin:10px 0 20px;padding-bottom:20px;border-bottom:1px solid #d7dae0}.let-form-cols-1 .let-form-item__label{width:auto}.page_operation_module_info .poptip__popper{max-width:420px}.page_operation_module_info .let-poptip,.page_operation_module_info .let-poptip__trigger{display:block}.page_operation_module_info .let-poptip_top{width:auto!important;padding:4px 8px;background:#f56c77;color:#fff;border-radius:6px;top:-25px!important}.page_operation_module_info .let-poptip_top .let-poptip__arrow:after{border-top-color:#f56c77}.page_operation_module_info .let-poptip_top .let-poptip__content{font-size:14px;white-space:nowrap}.spinner-icon{color:#fff;height:17px;width:17px;margin-left:20px}.page_operation{padding-top:30px;padding-bottom:40px}.page_operation_children{padding:20px 0}.server_config_list_modal .let_modal__body{max-height:500px;overflow-y:auto;margin-top:20px}.operation-manage .let-tabs__content{padding-top:20px} \ No newline at end of file + */.let-align{display:table;height:100%;width:100%}.let-align__inner{display:table-cell}.let_backdrop{bottom:0;left:0;position:fixed;right:0;top:0}.backdrop-enter-active,.backdrop-leave-active{transition:opacity .2s ease-out}.backdrop-enter,.backdrop-leave-active{opacity:0}.let-breadcrumb{line-height:1.5;font-size:0;font-weight:medium}.let-breadcrumb__separator{margin:0 8px;color:#222329;font-size:14px;font-weight:700}.let-breadcrumb__item{vertical-align:middle}.let-breadcrumb__item:last-child .let-breadcrumb__separator{display:none}.let-breadcrumb__item:last-child .let-breadcrumb__text{color:#222329;font-weight:400}.let-breadcrumb__link{color:#9096a3;font-size:14px;cursor:pointer;font-weight:700}.let-breadcrumb__link:hover{color:#222329}.let-breadcrumb__text{font-size:14px;color:#9096a3;font-weight:700}.let-button{background-image:none;border-radius:4px;cursor:pointer;display:inline-block;font-size:14px;font-weight:700;font-family:Pingfang SC,Microsoft YaHei,"sans-serif";line-height:34px;margin-bottom:0;padding:0 20px;text-align:center;-ms-touch-action:manipulation;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap;border:1px solid;box-sizing:border-box}.let-button_disabled{opacity:.6;cursor:not-allowed}.let-button_large{line-height:48px;padding:0 32px}.let-button_small{border-radius:3px;line-height:30px;padding:0 16px;font-size:12px}.let-button_mini{border-radius:2px;line-height:28px;padding:0 8px;font-size:12px}.let-button_default{background-color:#fff;border-color:#c0c4cc;color:#9096a3}.let-button_default:hover{background-color:#f5f8fa;box-shadow:0 2px 4px 0 rgba(192,196,204,.24)}.let-button_default:active{background-color:#f0f4f5}.let-button_default.let-button_disabled{background-color:hsla(0,0%,100%,.5);border-color:rgba(192,196,204,.5);color:hsla(221,9%,60%,.5);opacity:.6;cursor:not-allowed}.let-button_default.let-button_disabled:hover{box-shadow:none}.let-button_primary{background-color:#3f5ae0;border-color:#3f5ae0;color:#fff}.let-button_primary:hover{opacity:.8;box-shadow:0 2px 4px 0 rgba(103,125,235,.32)}.let-button_primary:active{background-color:#3952cc;opacity:1}.let-button_primary.let-button_disabled{opacity:.6;cursor:not-allowed}.let-button_primary.let-button_disabled:hover{box-shadow:none}.let-button_dark{background-color:#9096a3;border-color:#9096a3;color:#fff}.let-button_dark:hover{opacity:.8}.let-button_dark:active{background-color:#6d768f;opacity:1}.let-button_dark.let-button_disabled{opacity:.6;cursor:not-allowed}.let-button_dark.let-button_disabled:hover{box-shadow:none}.let-button_success{background-color:#6accab;border-color:#6accab;color:#fff}.let-button_success:hover{opacity:.8;box-shadow:0 2px 4px 0 rgba(106,204,204,.32)}.let-button_success:active{background-color:#5fb89a;opacity:1}.let-button_success.let-button_disabled{opacity:.6;cursor:not-allowed}.let-button_success.let-button_disabled:hover{box-shadow:none}.let-button_danger{background-color:#f56c77;color:#fff;border-color:#f56c77}.let-button_danger:hover{opacity:.8;box-shadow:0 2px 4px 0 rgba(245,108,119,.32)}.let-button_danger:active{background-color:#e0515d;opacity:1}.let-button_danger.let-button_disabled{opacity:.6;cursor:not-allowed}.let-button_danger.let-button_disabled:hover{box-shadow:none}.let-button_sub-primary{background-color:#fff;color:#3f5ae0;border:1px solid #3f5ae0}.let-button_sub-primary:hover{box-shadow:0 2px 4px 0 rgba(63,90,224,.24)}.let-button_sub-primary:active{background-color:#d2dffa}.let-button_sub-primary.let-button_disabled{opacity:.6;cursor:not-allowed}.let-button_sub-primary.let-button_disabled:hover{box-shadow:none}.let-button_sub-danger{background-color:#fff;color:#f56c77;border:1px solid #f56c77}.let-button_sub-danger:hover{box-shadow:0 2px 4px 0 rgba(226,50,51,.16)}.let-button_sub-danger:active{background-color:#f5ced1}.let-button_sub-danger.let-button_disabled{opacity:.6;cursor:not-allowed}.let-button_sub-danger.let-button_disabled:hover{box-shadow:none}.let-cascader{display:inline-block;width:256px;background-color:#fff;border-radius:4px;outline:none}.let-cascader,.let-cascader-input{position:relative;cursor:pointer;font-size:14px}.let-cascader-input{background-color:transparent!important;width:100%;display:block;border:1px solid #c0c4cc;display:inline-block;height:40px;line-height:1.5;color:#222329;border-radius:4px;padding:4px 15px;box-sizing:border-box}.let-cascader-active .let-cascader-input{border-color:#3f5ae0}.let-cascader-label{position:absolute;left:0;height:42px;line-height:42px;top:50%;margin-top:-21px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%;padding:0 20px 0 16px}.let-cascader-menus{z-index:8;font-size:14px;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);white-space:nowrap;background:#fff}.let-cascader-menus.slide-up-enter-active{animation:d .4s}.let-cascader-menus.slide-up-leave-active{animation:e .4s}.let-cascader-menu{display:inline-block;vertical-align:top;min-width:111px;min-height:180px;list-style:none;margin:0;padding:5px 0;border-right:1px solid #e9e9e9;overflow:auto}.let-cascader-menu-item{padding:7px 16px;cursor:pointer;white-space:nowrap;transition:all .3s;position:relative}.let-cascader-menu-item-expand{padding-right:28px}.let-cascader-menu-item-active,.let-cascader-menu-item:hover{background:#e6eaf5}.let-cascader-menu-item i{position:absolute;right:15px;top:50%;margin-top:-6px;color:#c0c4cc}.let-cascader i.let-icon-clear{position:absolute;background:#fff;right:13px;top:50%;color:rgba(0,0,0,.2);height:12px;width:12px;margin-top:-6px;opacity:0;z-index:2;cursor:pointer;transition:color .4s ease,opacity .2s ease}.let-cascader_clearable:hover i.let-icon-clear{color:rgba(0,0,0,.47);opacity:1}.let-cascader_clearable:hover i.let-icon-caret-down{opacity:0}.let-checkbox{cursor:pointer;display:inline-block;font-size:16px;vertical-align:middle}.let-checkbox_disabled{cursor:not-allowed}.let-checkbox__original{clip:rect(0,0,0,0);position:absolute}.let-checkbox__input{position:relative;display:inline-block;margin-top:-2px;width:16px;height:16px;border:1px solid #e1e4eb;border-radius:2px;background-color:#fff;vertical-align:middle;transition:border-color .1s cubic-bezier(.71,-.46,.29,1.46),background-color .1s cubic-bezier(.71,-.46,.29,1.46)}.let-checkbox__input,.let-checkbox__input:after{box-sizing:border-box}.let-checkbox__input:after{content:"";position:absolute;left:.3em;top:.12em;width:.28em;height:.56em;border:.07em solid #f5f6fa;border-left:0;border-top:0;transform:rotate(45deg) scale(0);transition:all .2s cubic-bezier(.71,-.46,.88,.6)}.let-checkbox__original:checked+.let-checkbox__input{background-color:#3f5ae0;border-color:#3f5ae0}.let-checkbox__original:checked+.let-checkbox__input:after{border-color:#f5f6fa;transform:rotate(45deg) scale(1)}.let-checkbox:hover .let-checkbox__original:not(:disabled)+.let-checkbox__input{border-color:#3f5ae0;box-shadow:0 2px 4px #e1e5fb}.let-checkbox.let-checkbox_disabled .let-checkbox__input{border-color:#e1e4eb;background-color:#f5f6fa}.let-checkbox.let-checkbox_disabled .let-checkbox__input:after{border-color:#c0c4cc}.let-checkbox__label{font-size:14px;margin-left:8px}.let-checkbox.is-invalid .let-checkbox__input{border-color:#f56c77}.let-collapse-transition{transition:height .218s,padding-top .218s,padding-bottom .218s}.let-date-picker{display:inline-block;vertical-align:middle;width:256px;box-sizing:border-box;font-family:Pingfang SC,Microsoft YaHei,"sans-serif"}.let-date-picker,.let-date-picker-selection{position:relative}.let-date-picker i.let-icon-calendar{color:#c0c4cc;font-size:14px;line-height:14px;position:absolute;top:50%;margin-top:-7px;left:15px}.let-date-picker__text{padding:0 14px;height:40px;border:1px solid #c0c4cc;border-radius:4px;outline:none;font-family:Helvetica,Avenir Next,roboto,Arial;color:#222329;font-size:14px;padding:0 6px 0 35px;box-sizing:border-box;width:100%;line-height:40px}.let-date-picker .let-date-picker-selection .let-date-picker__text:focus,.let-date-picker__text:focus{border-color:#3f5ae0}.let-date-picker-picker{background-color:#fff;border-radius:3px;box-shadow:0 3px 6px 0 hsla(221,9%,60%,.16);border:1px solid #d7dae0;position:absolute;width:322px;z-index:8;margin-top:16px}.let-date-picker-next,.let-date-picker-prev,.let-date-picker-title{cursor:pointer;display:block;height:40px;line-height:40px;text-align:center}.let-date-picker-next,.let-date-picker-prev{width:56px}.let-date-picker-next i.let-icon,.let-date-picker-prev i.let-icon{color:#9096a3}.let-date-picker-next:active i.let-icon,.let-date-picker-prev:active i.let-icon{color:#222329}.let-date-picker-prev{float:left}.let-date-picker-next{float:right}.let-date-picker-title{color:#222329;margin:0 56px;font-weight:700}.let-date-picker-title:hover{background-color:rgba(63,90,224,.2)}.let-date-picker-dates,.let-date-picker-days,.let-date-picker-months,.let-date-picker-years{overflow:hidden;text-align:center}.let-date-picker-dates span,.let-date-picker-days span,.let-date-picker-months span,.let-date-picker-years span{border-radius:2px;color:#4c5161;float:left}.let-date-picker-dates span,.let-date-picker-months span,.let-date-picker-years span{cursor:pointer;color:#222329}.let-date-picker-dates span:hover,.let-date-picker-months span:hover,.let-date-picker-years span:hover{background-color:rgba(63,90,224,.2)}.let-date-picker-dates span.disabled,.let-date-picker-months span.disabled,.let-date-picker-years span.disabled{color:#c0c4cc;pointer-events:none}.let-date-picker-dates span:not(.disabled).selected,.let-date-picker-months span:not(.disabled).selected,.let-date-picker-years span:not(.disabled).selected{background-color:#3f5ae0;color:#fff}.let-date-picker-months,.let-date-picker-years{padding:0 10px 10px}.let-date-picker-months span,.let-date-picker-years span{height:40px;line-height:40px;width:63px;margin:0 6px 6px}.let-date-picker-dates span,.let-date-picker-days span{height:24px;width:24px;line-height:24px;font-size:12px;font-weight:700}.let-date-picker-dates span:nth-child(7n+1),.let-date-picker-days span:nth-child(7n+1){margin-left:0}.let-date-picker-dates span:nth-child(7n+7),.let-date-picker-days span:nth-child(7n+7){margin-right:0}.let-date-picker-days{border-width:1px 0;border-style:solid;border-color:#e1e4eb;background-color:#f5f6fa;padding:4px 16px}.let-date-picker-days span{margin:0 10px;color:#a2a9b8}.let-date-picker-dates{padding:18px 16px}.let-date-picker-dates span{margin:5px 10px;box-sizing:border-box;font-family:Helvetica,Avenir Next,roboto,Arial;color:#454e66}.let-date-picker-dates span:not(.disabled).selected{border-radius:2px}.let-date-picker.is-disabled{opacity:.6;cursor:not-allowed}.let-date-picker.is-disabled .let-date-picker__text{pointer-events:none;box-shadow:inset 0 0 9999px #f5f6fa}.let-date-picker.is-invalid input{border-color:#ed4259}.let-date-picker_small .let-date-picker__text{height:32px;line-height:32px;font-size:12px}.let-date-picker_large .let-date-picker__text{height:48px;line-height:48px}.let-date-picker .let-date-picker__footer{border-top:1px solid #e4e4e4;padding:4px;text-align:right;background-color:#fff;position:relative}.let-date-picker .let-date-picker__footer .let-date-picker__link-btn{cursor:pointer;color:#20a0ff;text-decoration:none;padding:15px;font-size:12px}.let-date-picker__wrapper{position:relative}.let-date-picker .popover__arrow{position:absolute;top:4px;left:16px;width:0;height:0;border:6px solid transparent;border-bottom-color:#d7dae0}.let-date-picker .popover__arrow:after{position:absolute;width:0;height:0;border:6px solid transparent;border-top:none;border-bottom-color:#fff;top:2px;content:"";margin-left:-6px;z-index:9}.let-validator-errors{position:absolute;background-color:#f56c77;left:20%;top:-32px;margin-top:-4px;box-sizing:border-box;border-radius:4px;padding:0 8px;height:28px;word-wrap:break-word;z-index:11}.let-validator-errors p{color:#fff;word-break:keep-all;white-space:nowrap;word-wrap:break-word;line-height:28px}.let-validator-errors:after{content:"";position:absolute;left:6%;bottom:-10px;height:0;width:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid transparent;border-top:6px solid #f56c77;display:inline-block}.let-date-range-picker{display:inline-block;vertical-align:middle}.let-date-range-picker .let-date-picker{float:left;width:116px}.let-date-range-picker .let-date-picker:last-child .let-date-picker-picker{left:0}.let-date-range-picker>span{float:left;line-height:40px;text-align:center;width:24px}.let-datetime-picker{display:inline-block;min-width:160px;vertical-align:middle}.let-datetime-picker .let-date-picker{float:left;margin-right:10px;width:140px}.let-datetime-picker .let-time-picker{float:left;width:105px}.let-time-picker{display:inline-block;vertical-align:middle;width:256px;box-sizing:border-box;font-family:Pingfang SC,Microsoft YaHei,"sans-serif"}.let-time-picker,.let-time-picker-selection{position:relative}.let-time-picker i.let-icon-clock{color:#c0c4cc;font-size:14px;line-height:14px;position:absolute;top:50%;margin-top:-7px;left:15px}.let-time-picker__text{padding:0 14px;height:40px;border:1px solid #c0c4cc;border-radius:4px;outline:none;font-family:Helvetica,Avenir Next,roboto,Arial;color:#222329;font-size:14px;padding:0 32px 0 35px;box-sizing:border-box;width:100%;line-height:40px}.let-time-picker__text:focus{border-color:#3f5ae0}.let-time-picker-picker{background-color:#fff;border-radius:3px;box-shadow:0 3px 6px 0 hsla(221,9%,60%,.16);border:1px solid #d7dae0;position:absolute;width:322px;z-index:8;margin-top:16px}.let-time-picker-next,.let-time-picker-prev,.let-time-picker-title{cursor:pointer;display:block;height:40px;line-height:40px;text-align:center}.let-time-picker-next,.let-time-picker-prev{width:56px}.let-time-picker-next i.let-icon,.let-time-picker-prev i.let-icon{color:#9096a3}.let-time-picker-next:hover i,.let-time-picker-prev:hover i{color:$primary}.let-time-picker-prev{float:left}.let-time-picker-next{float:right}.let-time-picker-title{color:#222329;margin:0 56px;font-weight:700}.let-time-picker-title:hover{background-color:rgba(63,90,224,.2)}.let-time-picker-hours,.let-time-picker-minutes{overflow:hidden;text-align:center}.let-time-picker-hours span,.let-time-picker-minutes span{color:#222329;cursor:pointer;float:left}.let-time-picker-hours span:hover,.let-time-picker-minutes span:hover{background-color:rgba(63,90,224,.2)}.let-time-picker-hours span.disabled,.let-time-picker-minutes span.disabled{color:#ccd0d7}.let-time-picker-hours span:not(.disabled).selected,.let-time-picker-minutes span:not(.disabled).selected{background-color:#3f5ae0;color:#fff}.let-time-picker-hours{padding:16px 10px 10px}.let-time-picker-hours span{height:30px;line-height:30px;width:63px;margin:0 6px 6px}.let-time-picker-minutes{padding:0 10px 10px}.let-time-picker-minutes span{height:40px;line-height:40px;width:63px;margin:0 6px 6px}.let-time-picker.is-disabled{opacity:.6;cursor:not-allowed}.let-time-picker.is-disabled .let-time-picker__text{pointer-events:none;box-shadow:inset 0 0 9999px #f5f6fa}.let-time-picker.is-invalid input,.let-time-picker.is-invalid input:focus{border-color:#ed4259}.let-time-picker__wrapper{position:relative}.let-time-picker .popover__arrow{position:absolute;top:4px;left:16px;width:0;height:0;border:6px solid transparent;border-bottom-color:#d7dae0}.let-time-picker .popover__arrow:after{top:2px;position:absolute;width:0;height:0;border:6px solid transparent;border-top:none;border-bottom-color:#fff;content:"";margin-left:-6px;z-index:9}.let-datetime-range-picker{display:inline-block;min-width:548px;vertical-align:middle}.let-datetime-range-picker .let-datetime-picker{float:left;width:256px}.let-datetime-range-picker .let-datetime-picker:last-child .let-date-picker-picker{left:0}.let-datetime-range-picker>span{float:left;line-height:36px;text-align:center;width:36px}.let-dialog{background-color:rgba(0,0,0,.6);overflow-y:auto;padding:20px;box-sizing:border-box}.let-dialog__inner{background-color:#fff;border-radius:2px;margin-left:auto;margin-right:auto;position:relative;text-align:left;width:360px}.let-dialog__close{color:#999;cursor:pointer;font-size:14px;height:1em;position:absolute;right:26px;top:26px;width:1em}.let-dialog__close:after,.let-dialog__close:before{background:currentColor;border-radius:1em;content:"";left:0;height:10%;position:absolute;top:45%;width:100%}.let-dialog__close:before{transform:rotate(45deg)}.let-dialog__close:after{transform:rotate(-45deg)}.let-dialog__close:hover{color:#333}.let-dialog__head{color:#333;font-weight:700;font-size:16px;padding:24px 20px;box-sizing:border-box}.let-dialog__body{color:#444;overflow-y:auto;padding:20px;position:relative;font-size:14px}.let-dialog__foot{background-color:#fff;box-shadow:inset 0 1px 0 #fff;overflow:hidden;padding:24px;position:relative;text-align:right}.let-dialog__foot .let-button{padding:0 34px}.let-dialog__foot .let-button:first-child{margin-right:16px}.let-dropdown{position:relative}.let-dropdown-toggle{cursor:pointer}.let-dropdown-menu{background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.2);left:0;max-height:400px;min-width:160px;overflow-y:auto;padding:5px 0;position:absolute;z-index:6}.let-dropdown.is-disabled{opacity:.6;cursor:not-allowed}.let-form{background-color:#fff;*zoom:1}.let-form *{box-sizing:border-box}.let-form:after,.let-form:before{display:table;content:" "}.let-form:after{clear:both}.let-form-title_large{color:#222329;font-size:16px;margin-bottom:40px;padding-left:20px}.let-form-title_medium{margin-bottom:30px}.let-form-title_medium,.let-form-title_small{font-size:14px;color:#222329;padding-left:20px}.let-form-title_small{margin-bottom:24px}.let-form-cols-1 .let-form-item{padding-left:130px}.let-form-cols-1 .let-form-item__label{margin-left:-130px;padding-right:20px;width:130px}.let-form.let-form.let-form-cols-2,.let-form.let-form.let-form-cols-3{padding-bottom:10px}.let-form.let-form.let-form-cols-2 .let-form-item,.let-form.let-form.let-form-cols-3 .let-form-item{padding-left:100px}.let-form.let-form.let-form-cols-2 .let-form-item__label,.let-form.let-form.let-form-cols-3 .let-form-item__label{margin-left:-100px;width:100px}.let-form.let-form.let-form-cols-2 .let-form-item{width:50%;display:inline-block}.let-form.let-form-cols-3 .let-form-item{width:33.33%;display:inline-block}@media (max-width:1279px){.let-form.let-form-cols-3 .let-form-item{width:50%}}.let-form-gap-1{padding-bottom:10px}.let-form-gap-1 .let-form-item{margin-bottom:16px}.let-form-gap-1 .let-form-item-large{margin-top:20px}.let-form-gap-2 .let-form-item{margin-bottom:16px}.let-form-gap-2 .let-form-item-large{margin-top:40px}.let-form__inline .let-form-item{display:inline-block}.let-form__inline .let-form-item__content{float:left}.let-form-group,.let-form .let-form-item_large{width:100%}.let-form-group *{box-sizing:border-box}.let-form-group:after,.let-form-group:before{display:table;content:" "}.let-form-group:after{clear:both}.let-form-group__title{font-size:14px;color:#222329;margin-bottom:20px;margin-top:20px;padding-left:20px}.let-form-group__inline .let-form-item{display:inline-block;vertical-align:top}.let-form-group__inline .let-form-item__content{float:left;width:100%}.let-form-group__inline .let-form-item__label{float:left}.let-form-item{margin-bottom:16px;padding-left:100px}.let-form-item__label{font-size:12px;color:#9096a3;margin-left:-100px;text-align:right;width:100px;padding-right:12px;font-weight:700}.let-form-item__content,.let-form-item__label{display:inline-block;line-height:30px;vertical-align:middle}.let-form-item__content{position:relative}.let-form-item__content_width{width:100%}.let-form-item_large{margin-bottom:24px;padding-left:120px}.let-form-item_large .let-form-item__label{line-height:40px;margin-left:-120px;padding-right:16px;width:120px}.let-form-item_large .let-form-item__content{padding-top:24px}.let-form-item_small{margin-bottom:8px;padding-left:80px}.let-form-item_small .let-form-item__label{line-height:30px;margin-left:-80px;padding-right:8px;width:80px}.let-form-item_small .let-form-item__content{line-height:30px}.let-form-item__text{display:inline-block;min-height:30px;line-height:24px;padding:4px 0;vertical-align:middle}.let-form-item__text:empty{height:30px}.let-form-item__text:not(:last-child){margin-right:20px}.let-form-item_s2 .let-input,.let-form-item_s2 .let-select{width:200px}.let-form-item_s3 .let-input,.let-form-item_s3 .let-select{width:300px}.let-form-item_s5 .let-input,.let-form-item_s5 .let-select{width:500px}.let-form-item_s7 .let-input,.let-form-item_s7 .let-select{width:700px}.let-form-item .let-label__position_top{float:none;display:block;margin-left:0!important;text-align:left}.let-label__position_left{text-align:left;padding-left:20px}.let-label__position_center{text-align:center}.let-label__star:before{content:"*";color:#f56c6c;margin-right:4px}.let-input{display:inline-block;vertical-align:middle;position:relative;line-height:1.5}.let-input,.let-input input,.let-input textarea{font-size:14px;box-sizing:border-box}.let-input input,.let-input textarea{border:1px solid #c0c4cc;border-radius:4px;outline:none;color:#222329;padding:0 16px;width:100%}.let-input input:focus,.let-input textarea:focus{border-color:#3f5ae0}.let-input textarea{padding:12px 16px;height:100%;vertical-align:top}.let-input textarea+.let-input__counter{line-height:14px}.let-input ::-webkit-input-placeholder{color:#a2a9b8}.let-input :-moz-placeholder,.let-input ::-moz-placeholder{color:#a2a9b8}.let-input :-ms-input-placeholder{color:#a2a9b8}.let-input_large input{height:48px}.let-input_large .let-input__counter{line-height:48px}.let-input_middle input{height:40px}.let-input_middle .let-input__counter{line-height:40px}.let-input_small input{height:32px;padding:0 12px}.let-input_small .let-input__counter{line-height:32px}.let-input__counter{left:100%;position:absolute;margin-left:16px;bottom:0}.let-input__counter a{display:inline-block;vertical-align:middle;color:#a2a9b8}.let-input.is-disabled input,.let-input.is-disabled textarea{border:1px solid #c0c4cc;border-radius:4px;box-shadow:inset 0 0 9999px #f5f6fa;cursor:not-allowed}.let-input.is-disabled ::-webkit-input-placeholder{color:#a2a9b8}.let-input.is-disabled :-moz-placeholder,.let-input.is-disabled ::-moz-placeholder{color:#a2a9b8}.let-input.is-disabled :-ms-input-placeholder{color:#a2a9b8}.let-input.is-invalid input,.let-input.is-invalid input:focus,.let-input.is-invalid textarea,.let-input.is-invalid textarea:focus{border-color:#f56c77}.let-input-number{position:relative;box-sizing:border-box}.let-input-number_decrease{left:0;border-right:1px solid #c0c4cc}.let-input-number_decrease,.let-input-number_increase{position:absolute;z-index:5;height:100%;text-align:center;cursor:pointer}.let-input-number_increase{right:0;border-left:1px solid #c0c4cc}.let-input-number_large,.let-input-number_large .let-input{width:256px}.let-input-number_large .let-input-number_decrease,.let-input-number_large .let-input-number_increase{width:48px;line-height:48px}.let-input-number_middle,.let-input-number_middle .let-input input{width:204.8px}.let-input-number_middle .let-input-number_decrease,.let-input-number_middle .let-input-number_increase{width:40px;line-height:40px}.let-input-number_small{width:153.6px}.let-input-number_small .let-input input{width:100%}.let-input-number_small .let-input-number_decrease,.let-input-number_small .let-input-number_increase{width:32px;line-height:32px}.let-input-number.is-disabled .let-input-number_decrease,.let-input-number.is-disabled .let-input-number_increase{pointer-events:none}.let-input-number .let-icon-plus,.let-input-number .let-icon-subtract{color:#6d768f}.let-input-number .let-icon-plus:hover,.let-input-number .let-icon-subtract:hover{opacity:.6;color:rgba(0,0,0,.4)}.let-input-number .let-input{display:inline-block;position:relative}.let-input-number .let-input input{text-align:center}.let-input-range{display:inline-block;vertical-align:middle;position:relative;line-height:1.5}.let-input-range,.let-input-range input{font-size:14px;box-sizing:border-box}.let-input-range input{border:1px solid #c0c4cc;border-radius:4px;outline:none;color:#222329;padding:0 16px;height:40px;float:left;width:116px}.let-input-range input:focus{border-color:#3f5ae0}.let-input-range span{float:left;line-height:36px;text-align:center;width:36px}.let-input-range.is-disabled input{border:1px solid #c0c4cc;border-radius:4px;box-shadow:inset 0 0 9999px #f5f6fa;cursor:not-allowed}.let-input-range.is-invalid input,.let-input-range.is-invalid input:focus{border-color:#f56c77}.let-row{height:auto;position:relative;width:100%;zoom:1}.let-row:after,.let-row:before{content:" ";display:table}.let-row:after{clear:both;visibility:hidden;font-size:0;height:0}.let-row_flex{-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.let-row_flex,.let-row_flex:after,.let-row_flex:before{display:-ms-flexbox;display:flex}.let-row_flex_top{-ms-flex-align:start;align-items:flex-start}.let-row_flex_middle{-ms-flex-align:center;align-items:center}.let-row_flex_bottom{-ms-flex-align:end;align-items:flex-end}.let-row_flex_start{-ms-flex-pack:start;justify-content:flex-start}.let-row_flex_center{-ms-flex-pack:center;justify-content:center}.let-row_flex_end{-ms-flex-pack:end;justify-content:flex-end}.let-row_flex_space-between{-ms-flex-pack:justify;justify-content:space-between}.let-row_flex_space-around{-ms-flex-pack:distribute;justify-content:space-around}.let-col_24{width:100%}.let-col_push_24{left:100%}.let-col_pull_24{right:100%}.let-col_offset_24{margin-left:100%}.let-col_23{width:95.83333333%}.let-col_push_23{left:95.83333333%}.let-col_pull_23{right:95.83333333%}.let-col_offset_23{margin-left:95.83333333%}.let-col_22{width:91.66666667%}.let-col_push_22{left:91.66666667%}.let-col_pull_22{right:91.66666667%}.let-col_offset_22{margin-left:91.66666667%}.let-col_21{width:87.5%}.let-col_push_21{left:87.5%}.let-col_pull_21{right:87.5%}.let-col_offset_21{margin-left:87.5%}.let-col_20{width:83.33333333%}.let-col_push_20{left:83.33333333%}.let-col_pull_20{right:83.33333333%}.let-col_offset_20{margin-left:83.33333333%}.let-col_19{width:79.16666667%}.let-col_push_19{left:79.16666667%}.let-col_pull_19{right:79.16666667%}.let-col_offset_19{margin-left:79.16666667%}.let-col_18{width:75%}.let-col_push_18{left:75%}.let-col_pull_18{right:75%}.let-col_offset_18{margin-left:75%}.let-col_17{width:70.83333333%}.let-col_push_17{left:70.83333333%}.let-col_pull_17{right:70.83333333%}.let-col_offset_17{margin-left:70.83333333%}.let-col_16{width:66.66666667%}.let-col_push_16{left:66.66666667%}.let-col_pull_16{right:66.66666667%}.let-col_offset_16{margin-left:66.66666667%}.let-col_15{width:62.5%}.let-col_push_15{left:62.5%}.let-col_pull_15{right:62.5%}.let-col_offset_15{margin-left:62.5%}.let-col_14{width:58.33333333%}.let-col_push_14{left:58.33333333%}.let-col_pull_14{right:58.33333333%}.let-col_offset_14{margin-left:58.33333333%}.let-col_13{width:54.16666667%}.let-col_push_13{left:54.16666667%}.let-col_pull_13{right:54.16666667%}.let-col_offset_13{margin-left:54.16666667%}.let-col_12{width:50%}.let-col_push_12{left:50%}.let-col_pull_12{right:50%}.let-col_offset_12{margin-left:50%}.let-col_11{width:45.83333333%}.let-col_push_11{left:45.83333333%}.let-col_pull_11{right:45.83333333%}.let-col_offset_11{margin-left:45.83333333%}.let-col_10{width:41.66666667%}.let-col_push_10{left:41.66666667%}.let-col_pull_10{right:41.66666667%}.let-col_offset_10{margin-left:41.66666667%}.let-col_9{width:37.5%}.let-col_push_9{left:37.5%}.let-col_pull_9{right:37.5%}.let-col_offset_9{margin-left:37.5%}.let-col_8{width:33.33333333%}.let-col_push_8{left:33.33333333%}.let-col_pull_8{right:33.33333333%}.let-col_offset_8{margin-left:33.33333333%}.let-col_7{width:29.16666667%}.let-col_push_7{left:29.16666667%}.let-col_pull_7{right:29.16666667%}.let-col_offset_7{margin-left:29.16666667%}.let-col_6{width:25%}.let-col_push_6{left:25%}.let-col_pull_6{right:25%}.let-col_offset_6{margin-left:25%}.let-col_5{width:20.83333333%}.let-col_push_5{left:20.83333333%}.let-col_pull_5{right:20.83333333%}.let-col_offset_5{margin-left:20.83333333%}.let-col_4{width:16.66666667%}.let-col_push_4{left:16.66666667%}.let-col_pull_4{right:16.66666667%}.let-col_offset_4{margin-left:16.66666667%}.let-col_3{width:12.5%}.let-col_push_3{left:12.5%}.let-col_pull_3{right:12.5%}.let-col_offset_3{margin-left:12.5%}.let-col_2{width:8.33333333%}.let-col_push_2{left:8.33333333%}.let-col_pull_2{right:8.33333333%}.let-col_offset_2{margin-left:8.33333333%}.let-col_1{width:4.16666667%}.let-col_push_1{left:4.16666667%}.let-col_pull_1{right:4.16666667%}.let-col_offset_1{margin-left:4.16666667%}.let-col_push_0{left:auto}.let-col_pull_0{right:auto}.let-col_1,.let-col_2,.let-col_3,.let-col_4,.let-col_5,.let-col_6,.let-col_7,.let-col_8,.let-col_9,.let-col_10,.let-col_11,.let-col_12,.let-col_13,.let-col_14,.let-col_15,.let-col_16,.let-col_17,.let-col_18,.let-col_19,.let-col_20,.let-col_21,.let-col_22,.let-col_23,.let-col_24{position:relative;display:block;float:left;-ms-flex:0 0 auto;flex:0 0 auto}.let-loading__parent-relative{position:relative;pointer-events:none}.let-loading__content{display:inline-block;border-radius:4px}.let-loading__text{padding:12px 0 0;color:#3f5ae0;font-size:14px;text-align:center}.let-spinner{display:inline-block;position:relative;margin:0 auto;width:100px;vertical-align:middle}.let-spinner:before{content:"";display:block;padding-top:100%}.let-spinner__content{animation:a 2s linear infinite;height:100%;transform-origin:center center;width:100%;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;stroke:#3f5ae0}.let-spinner__path{stroke-dasharray:1,200;stroke-dashoffset:0;animation:b 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes a{to{transform:rotate(1turn)}}@keyframes b{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}body.has-modal-open{overflow:hidden}.let_modal{background-color:rgba(55,55,55,.6);overflow-y:auto;padding:20px}.let_modal .let-form-item{padding-left:0!important}.let_modal .let-align__inner{padding-top:15vh}.let_modal__align{position:relative}.let_modal__dialog{background-color:#fff;border-radius:4px;margin-left:auto;margin-right:auto;position:relative;text-align:left;padding:20px 48px 24px 32px}.let_modal_close{color:#999;cursor:pointer;font-size:14px;height:1em;position:absolute;right:23px;top:23px;width:1em;z-index:1}.let_modal_close:after,.let_modal_close:before{background:currentColor;border-radius:1em;content:"";left:0;height:10%;position:absolute;top:45%;width:100%}.let_modal_close:before{transform:rotate(45deg)}.let_modal_close:after{transform:rotate(-45deg)}.let_modal_close:hover{color:#333}.let_modal__head{color:#333;font-weight:700;font-size:16px}.let_modal__head .let_modal__title{display:inline-block;line-height:24px}.let_modal__body{color:#444;position:relative}.let_modal__body .let-form{padding:0;margin-top:20px}.let_modal__body .let-form .let-form-item:last-child{margin-bottom:0}.let_modal__foot{background-color:#fff;box-shadow:inset 0 1px 0 #fff;overflow:hidden;padding:32px 0 0;position:relative;border-bottom-left-radius:4px;border-bottom-right-radius:4px;text-align:left}.let_modal__foot .let-button{padding:0 34px}.let_modal__foot .let-button+.let-button{margin-left:16px}.let_modal__scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.let-notification{position:fixed;display:-ms-flexbox;display:flex;right:16px;width:450px;padding:10px 15px;color:#fff;background-color:#677deb;line-height:1.5;border-radius:4px;transition:opacity .3s,transform .3s,top .4s;z-index:10}.let-notification.notice-fade-enter-active{animation:h .4s}.let-notification.notice-fade-leave-active{animation:l .4s}.let-notification.notice-move-enter-active{animation:i .4s}.let-notification.notice-move-leave-active{animation:j .4s}.let-notification__center{left:50%;margin-left:-225px}.let-notification_success{background-color:#6accab}.let-notification_error{background-color:#f56c77}.let-notification_info{background-color:#677deb}.let-notification_warning{background-color:#f5ad1d}.let-notification__icon{color:#fff;font-size:14px;line-height:1.5;vertical-align:middle;margin-right:8px}.let-notification__content{-ms-flex:1;flex:1;padding-right:8px}.let-notification__title{color:#fff;font-size:14px}.let-notification__message{color:#fff;font-size:12px;margin-top:4px}.let-notification__close{color:#fff;font-size:10px;width:12px;height:12px;cursor:pointer;opacity:.7;position:relative;top:2px}.let-notification__close:hover{color:#b1b1b1}.let-notification_with-message{padding:12px 16px}.let-notification_with-message .let-notification__icon{font-size:24px;line-height:1.2}.let-notification_with-message .let-notification__title{font-weight:700}.let-notification_with-message .let-notification__close{font-size:10px}.let-notification_hover{cursor:pointer}.let-notification_hover:hover{opacity:1}.let-pagination_left{text-align:left}.let-pagination_center{text-align:center}.let-pagination_right{text-align:right}.let-pagination .let-icon__arrow{color:#262626}.let-pagination li,.let-pagination ul{display:inline-block;vertical-align:middle}.let-pagination li{background-color:#fff;float:left;min-width:32px;height:32px;line-height:30px;text-align:center;list-style:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;font-family:Arial;border:1px solid #dddee1;border-radius:4px}.let-pagination li+li{margin-left:12px}.let-pagination li a,.let-pagination li span{display:inline-block;font-size:14px;height:30px;line-height:30px;padding:0 10px;text-align:center}.let-pagination li a{color:#262626}.let-pagination li span{color:#444}.let-pagination li:hover{border-color:#677deb}.let-pagination li:hover .let-icon__arrow,.let-pagination li:hover a{color:#677deb}.let-pagination li.disabled:hover .let-icon__arrow{color:#e1e4eb}.let-pagination li.current{border:1px solid #3f5ae0;background-color:#3f5ae0;cursor:default}.let-pagination li.current a{background-color:#3f5ae0;cursor:default;color:#fff}.let-pagination li.disabled{border-color:#e1e4eb;cursor:not-allowed}.let-pagination li.disabled a,.let-pagination li.disabled i{color:#e1e4eb;cursor:not-allowed}.let-pagination-sum{display:inline-block;line-height:32px;margin-right:20px;vertical-align:middle}.let-pagination_noborder li{border:0}.let-pagination.let-pagination_small li{min-width:25px;height:25px;line-height:22px;border-radius:3px}.let-pagination.let-pagination_small a,.let-pagination.let-pagination_small span{font-size:12px;height:22px;line-height:22px;padding:0 6px}.let-pagination.let-pagination_small+li{margin-left:6px}.let-pagination.let-pagination_small-sum{display:inline-block;line-height:24px;margin-right:16px;vertical-align:middle}.let-pagination.let-pagination_small .let-pagination__jump{font-size:12px;height:24px;line-height:24px;min-width:24px;padding:0 8px}.let-pagination.let-pagination_small .let-pagination__editor{border-radius:4px;line-height:18px;padding:3px 2px;width:27px}.let-pagination__jump{font-size:14px;height:32px;line-height:32px;min-width:32px;padding:0 10px;margin-left:10px}.let-pagination__editor,.let-pagination__jump{display:inline-block;box-sizing:border-box}.let-pagination__editor{border:1px solid #dddee1;border-radius:4px;line-height:18px;padding:6px 2px;width:32px;text-align:center;margin:0 6px;transition:border .3s;-webkit-appearance:textfield;background-color:#fff;-webkit-rtl-ordering:logical;-webkit-writing-mode:horizontal-tb;white-space:nowrap;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;text-rendering:auto;color:#000;color:initial;letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-shadow:none}.let-poptip{display:inline-block}.let-poptip__trigger{display:inline-block;position:relative}.let-poptip__popper{position:absolute;max-width:400px;border:1px solid #ececec;box-shadow:0 1px 6px #ececec;background-color:#fff;z-index:8;padding:16px 20px}.let-poptip__title{margin:0;font-size:16px;word-wrap:break-word;border-radius:4px 4px 0 0;background-color:#fff;margin-bottom:8px}.let-poptip__content{font-size:12px;line-height:1.5;word-wrap:break-word;border-radius:4px}.let-poptip__arrow,.let-poptip__arrow:after{content:"";position:absolute;display:block;width:0;height:0;border:6px solid transparent}.let-poptip_top,.let-poptip_top-left,.let-poptip_top-right{margin-top:-12px}.let-poptip_top-left .let-poptip__arrow,.let-poptip_top-right .let-poptip__arrow,.let-poptip_top .let-poptip__arrow{bottom:0;left:50%;margin-left:-6px;margin-bottom:-6px;border-bottom-width:0;border-top-color:#ececec}.let-poptip_top-left .let-poptip__arrow:after,.let-poptip_top-right .let-poptip__arrow:after,.let-poptip_top .let-poptip__arrow:after{bottom:1px;margin-left:-6px;border-bottom-width:0;border-top-color:#fff}.let-poptip_top-left .let-poptip__arrow{left:12px}.let-poptip_top-right .let-poptip__arrow{left:auto;right:12px}.let-poptip_bottom,.let-poptip_bottom-left,.let-poptip_bottom-right{margin-top:12px}.let-poptip_bottom-left .let-poptip__arrow,.let-poptip_bottom-right .let-poptip__arrow,.let-poptip_bottom .let-poptip__arrow{top:0;left:50%;margin-left:-6px;margin-top:-6px;border-top-width:0;border-bottom-color:#ececec}.let-poptip_bottom-left .let-poptip__arrow:after,.let-poptip_bottom-right .let-poptip__arrow:after,.let-poptip_bottom .let-poptip__arrow:after{top:1px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}.let-poptip_bottom-left .let-poptip__arrow{left:12px}.let-poptip_bottom-right .let-poptip__arrow{left:auto;right:12px}.let-poptip_left,.let-poptip_left-bottom,.let-poptip_left-top{margin-left:-12px}.let-poptip_left-bottom .let-poptip__arrow,.let-poptip_left-top .let-poptip__arrow,.let-poptip_left .let-poptip__arrow{top:50%;right:0;margin-top:-6px;margin-right:-6px;border-right-width:0;border-left-color:#ececec}.let-poptip_left-bottom .let-poptip__arrow:after,.let-poptip_left-top .let-poptip__arrow:after,.let-poptip_left .let-poptip__arrow:after{right:1px;margin-top:-6px;border-right-width:0;border-left-color:#fff}.let-poptip_left-top .let-poptip__arrow{top:12px}.let-poptip_left-bottom .let-poptip__arrow{top:auto;bottom:12px}.let-poptip_right,.let-poptip_right-bottom,.let-poptip_right-top{margin-left:12px}.let-poptip_right-bottom .let-poptip__arrow,.let-poptip_right-top .let-poptip__arrow,.let-poptip_right .let-poptip__arrow{top:50%;left:0;margin-top:-6px;margin-left:-6px;border-left-width:0;border-right-color:#ececec}.let-poptip_right-bottom .let-poptip__arrow:after,.let-poptip_right-top .let-poptip__arrow:after,.let-poptip_right .let-poptip__arrow:after{left:1px;margin-top:-6px;border-left-width:0;border-right-color:#fff}.let-poptip_right-top .let-poptip__arrow{top:12px}.let-poptip_right-bottom .let-poptip__arrow{top:auto;bottom:12px}.let-radio__group{display:inline-block;font-size:14px}.let-radio__wrapper{font-size:14px;margin-right:8px}.let-radio,.let-radio__wrapper{vertical-align:middle;display:inline-block;position:relative;white-space:nowrap;cursor:pointer}.let-radio{outline:none;line-height:1}.let-radio,.let-radio *{box-sizing:border-box}.let-radio:hover .let-radio__inner,.let-radio__wrapper:hover .let-radio .let-radio__inner,.let-radio_focused .let-radio__inner{border-color:#3f5ae0;box-shadow:0 2px 4px 0 rgba(103,125,235,.16)}.let-radio__wrapper.let-radio__wrapper_checked:hover .let-radio .let-radio__inner,.let-radio__wrapper.let-radio__wrapper_disabled:hover .let-radio .let-radio__inner,.let-radio_checked:hover .let-radio__inner,.let-radio_disabled:hover .let-radio__inner{box-shadow:none}.let-radio__inner{position:relative;top:0;left:0;display:inline-block;width:16px;height:16px;border-radius:16px;border:1px solid #e1e4eb;background-color:#fff;transition:all .3s}.let-radio__inner:after{position:absolute;width:6px;height:6px;left:4px;top:4px;border-radius:50%;display:table;border-top:0;border-left:0;content:" ";background-color:#3f5ae0;opacity:0;transform:scale(0);transition:all .3s cubic-bezier(.78,.14,.15,.86)}.let-radio__input{position:absolute;left:0;z-index:1;cursor:pointer;opacity:0;top:0;bottom:0;right:0}.is-invalid .let-radio__inner{border-color:#f56c77}.let-radio_checked .let-radio__inner{border-color:#3f5ae0;border-width:2px}.let-radio_checked .let-radio__inner:after{left:3px;top:3px;transform:scale(1);opacity:1;transition:all .3s cubic-bezier(.78,.14,.15,.86)}.let-radio_disabled{cursor:not-allowed!important}.let-radio_disabled .let-radio__inner{border-color:#e1e4eb!important;background-color:#f5f6fa;cursor:not-allowed!important}.let-radio_disabled .let-radio__inner:after{background-color:#c0c4cc;cursor:not-allowed!important}.let-radio_disabled .let-radio__input{cursor:not-allowed!important}.let-radio_disabled+span{color:#c0c4cc;cursor:not-allowed}span.let-radio+*{padding-left:8px;padding-right:8px}.let-radio__button__wrapper{margin:0;height:32px;line-height:30px;color:#000;display:inline-block;transition:all .3s ease;cursor:pointer;border:1px solid #e1e4eb;border-left:0;background:#fff;padding:0 16px}.let-radio__button__wrapper a{color:#fff}.let-radio__button__wrapper>.let-radio__button{margin-left:0;display:block;width:0;height:0}.let-radio-group_large .let-radio__button__wrapper{height:40px;line-height:38px}.let-radio-group_small .let-radio__button__wrapper{height:24px;line-height:22px;padding:0 12px}.let-radio-group_small .let-radio__button__wrapper:first-child{border-radius:4px 0 0 4px}.let-radio-group_small .let-radio__button__wrapper:last-child{border-radius:0 4px 4px 0}.let-radio__button__wrapper:first-child{border-radius:4px 0 0 4px;border-left:1px solid #e1e4eb}.let-radio__button__wrapper:last-child{border-radius:0 4px 4px 0}.let-radio__button__wrapper:first-child:last-child{border-radius:4px}.let-radio__button__wrapper-focused,.let-radio__button__wrapper:hover{color:#3f5ae0;position:relative}.let-radio__button__wrapper .let-radio__inner,.let-radio__button__wrapper input[type=checkbox],.let-radio__button__wrapper input[type=radio]{opacity:0;width:0;height:0}.let-radio__button__wrapper_checked{background:#fff;border-color:#3f5ae0;color:#3f5ae0;box-shadow:-1px 0 0 0 #3f5ae0}.let-radio__button__wrapper_checked:first-child{border-color:#3f5ae0;box-shadow:none!important}.let-radio__button__wrapper_checked:active,.let-radio__button__wrapper_checked:hover{border-color:#3f5ae0;box-shadow:-1px 0 0 0 #3f5ae0;color:#3f5ae0}.let-radio__button__wrapper_disabled{cursor:not-allowed}.let-radio__button__wrapper_disabled,.let-radio__button__wrapper_disabled:first-child,.let-radio__button__wrapper_disabled:hover{border-color:#e1e4eb;background-color:#f7f7f7;color:#ccc}.let-radio__button__wrapper_disabled:first-child{border-left-color:#e1e4eb}.let-radio__button__wrapper_disabled.let-radio__button__wrapper_checked{color:#fff;background-color:#e6e6e6;border-color:#e1e4eb;box-shadow:none}.let-rate{display:inline-block;vertical-align:middle}.let-rate_normal{height:28px}.let-rate_normal .let-icon-star,.let-rate_normal .let-icon-star-hover{font-size:25px!important}.let-rate_normal .let-rate__text{display:inline-block;line-height:28px;color:#f5ad1d}.let-rate_small{height:20px}.let-rate_small .let-icon-star,.let-rate_small .let-icon-star-hover{font-size:16px!important;margin-right:4px!important}.let-rate_small .let-rate__text{margin-left:6px;display:inline-block;color:#f5ad1d}.let-rate_small .let-rate__star{padding-right:4px!important}.let-rate__star{padding-right:8px;cursor:pointer;float:left;text-align:center;position:relative;box-sizing:border-box}.let-rate__star .let-icon-star{font-size:25px;transition:.4s;color:#c0c4cc}.let-rate__star .let-icon-star-hover{font-size:25px;color:#c0c4cc}.let-rate__star .let-icon-star-hover:hover{transform:scale(1.1)!important;transition:.4s}.let-rate__star .let-icon-star-hover.on{color:#f5ad1d}.let-rate.is-disabled .let-rate__star{cursor:auto}.let-scroll{height:100%}.let-scroll .iScrollVerticalScrollbar{right:3px!important;width:6px!important}.let-scroll .iScrollIndicator{background:rgba(0,0,0,.3)!important;border-width:0!important}.let-select{position:relative;display:inline-block;width:100%;min-width:120px;color:#222329;font-size:14px;line-height:28px;vertical-align:middle}.let-select,.let-select__selection{box-sizing:border-box}.let-select__selection{padding:6px 32px 6px 10px;border:1px solid #c0c4cc;border-radius:4px;background-color:#fff;cursor:pointer;overflow:hidden;transition:all .4s ease}.let-select.is-invalid .let-select__selection{border-color:#f56c77}.let-select_disabled .let-select__selection{opacity:.6;cursor:not-allowed;box-shadow:inset 0 0 9999px #f5f6fa}.let-select-active .let-select__selection{border-color:#3f5ae0}.let-select__text_single{margin-left:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all;display:block}.let-select__placeholder{margin-left:6px;color:#a2a9b8}.let-select__tag_selected{margin:4px 8px 4px 0;border:1px solid #c0c4cc;height:20px;line-height:12px;box-sizing:border-box;display:inline-block;border-radius:100px;padding:3px 6px;font-size:0}.let-select__tag__text_selected{font-size:12px;color:#9096a3}.let-select__filter__input{font-size:14px;border:none;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.let-select i.let-icon-x{font-size:6px;color:#9096a3;transform:scale(.5)}.let-select i.let-icon-clear{position:absolute;background:#fff;right:13px;top:50%;margin-top:-13px;color:rgba(0,0,0,.2);height:12px;width:12px;opacity:0;z-index:2;cursor:pointer;transition:color .4s ease,opacity .2s ease}.let-select_clearable .let-select__selection:hover i.let-icon-clear{color:rgba(0,0,0,.47);opacity:1}.let-select_clearable .let-select__selection:hover i.let-icon-caret-down{opacity:0}.let-select__dropdown{position:absolute;width:100%;border-radius:4px;background-color:#fff;border:1px solid #d7dae0;box-shadow:0 3px 6px 0 hsla(221,9%,60%,.16);margin-top:16px;z-index:5}.let-select__dropdown.slide-up-enter-active{animation:d .4s}.let-select__dropdown.slide-up-leave-active{animation:e .4s}.let-select__dropdown.slide-down-enter-active{animation:f .4s}.let-select__dropdown.slide-down-leave-active{animation:g .4s}.let-select__dropdown .let-select__menu{margin:0;list-style:none;padding:7px 0;max-height:300px;overflow-y:auto}.let-select__dropdown .let-select__option{box-sizing:border-box;width:100%;height:40px;line-height:40px;color:#222329;padding:0 15px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.let-select__dropdown .let-select__option_disabled{opacity:.6;cursor:not-allowed}.let-select__dropdown .let-select__option_selected{background-color:#e6eaf5}.let-select__dropdown .let-select__option:hover:not(.disabled):not(.let-select__option_selected){background-color:rgba(230,234,245,.5)}.let-select__dropdown .popover__arrow{position:absolute;top:-12px;right:16px;width:0;height:0;border:6px solid transparent;border-bottom-color:#d7dae0}.let-select__dropdown .popover__arrow:after{top:2px;position:absolute;width:0;height:0;border:6px solid transparent;border-top:none;border-bottom-color:#fff;content:"";margin-left:-6px}.let-select__dropdown.at-top{margin-top:-16px}.let-select__dropdown.at-top .popover__arrow{position:absolute;top:auto;bottom:-12px;right:16px;width:0;height:0;border:6px solid transparent;border-top-color:#d7dae0}.let-select__dropdown.at-top .popover__arrow:after{top:auto;bottom:2px;position:absolute;width:0;height:0;border:6px solid transparent;border-bottom:none;border-top-color:#fff;content:"";margin-left:-6px}.let-select_small{font-size:12px}.let-select_small .let-select__selection{padding:4px 32px 4px 10px;line-height:24px}.let-select_small .let-select__dropdown .let-select__option{font-size:12px;line-height:32px;height:32px}.let-select_large .let-select__selection{padding:8px 32px 8px 10px;line-height:32px}.let-slider{position:relative;margin:10px 6px;height:14px;border-radius:6px;background-color:#f5f6fa;cursor:pointer;border-top:4px solid #fff;border-bottom:4px solid #fff;transition:background-color .3s ease}.let-slider,.let-slider *{box-sizing:border-box}.let-slider_with-marks{margin-bottom:28px}.let-slider__track{position:absolute;left:0;height:6px;border-radius:4px;z-index:1;transition:background-color .3s ease}.let-slider:hover .let-slider__track,.let-slider__track{background-color:#3f5ae0}.let-slider__handle{position:absolute;margin-left:-7px;margin-top:-5px;width:14px;height:14px;cursor:pointer;border-radius:50%;border:2px solid #3f5ae0;background-color:#fff;z-index:4;transition:border-color .3s ease,transform .3s cubic-bezier(.18,.89,.32,1.28)}.let-slider__mark{position:absolute;top:10px;left:0;width:100%;font-size:12px;z-index:3}.let-slider__mark__text{position:absolute;display:inline-block;vertical-align:middle;text-align:center;cursor:pointer;color:#999}.let-slider__mark__text_active{color:#000}.let-slider__step{position:absolute;width:100%;height:6px;background:transparent;z-index:1}.let-slider__dot{position:absolute;top:1px;margin-left:-2px;width:4px;height:4px;border:1px solid #fff;background-color:#fff;cursor:pointer;border-radius:50%;vertical-align:middle}.let-slider__dot:first-child,.let-slider__dot:last-child{display:none}.let-slider__dot_active{border:1px solid #9facef;background-color:#9facef}.let-slider_disabled .let-slider__track{background-color:#c0c4cc!important}.let-slider_disabled .let-slider__dot,.let-slider_disabled .let-slider__handle{border-color:#c0c4cc!important;background-color:#fff;cursor:not-allowed;box-shadow:none}.let-slider_disabled .let-slider_mark-text,.let-slider_disabled .letttt-slider__dot{cursor:not-allowed!important}.draggable-button-wrapper{position:relative;width:14px;height:14px}.draggable-button-wrapper .draggable-button{position:relative;top:-4px;left:-2px;width:14px;height:14px;border:2px solid #5cadff;border-radius:50%;background-color:#fff;transition:all .2s linear;opacity:0}.draggable-button-wrapper .let-tooltip__popper{top:-38px!important;left:50%!important;margin-left:-17px;white-space:nowrap}.draggable-button-wrapper .let-tooltip__content{background-color:#3f5ae0}.draggable-button-wrapper .let-tooltip_top .let-tooltip__arrow{border-top-color:#3f5ae0}.let-tooltip{display:inline-block}.let-tooltip .fade-enter-active{animation:k .4s}.let-tooltip .fade-leave-active{animation:l .4s}.let-tooltip__trigger{display:inline-block;position:relative}.let-tooltip__popper{position:absolute;z-index:7}.let-tooltip__content{padding:4px 8px;max-width:800px;color:#fff;font-size:12px;line-height:1.5;border-radius:4px;background-color:rgba(0,0,0,.75);word-wrap:break-word}.let-tooltip__arrow{position:absolute;display:block;width:0;height:0;border:4px solid transparent}.let-tooltip_top,.let-tooltip_top-left,.let-tooltip_top-right{padding:4px 0;margin-top:-2px}.let-tooltip_top-left .let-tooltip__arrow,.let-tooltip_top-right .let-tooltip__arrow,.let-tooltip_top .let-tooltip__arrow{bottom:0;left:50%;margin-left:-4px;border-bottom-width:0;border-top-color:rgba(0,0,0,.75)}.let-tooltip_top-left .let-tooltip__arrow{left:12px;right:auto}.let-tooltip_top-right .let-tooltip__arrow{left:auto;right:8px}.let-tooltip_bottom,.let-tooltip_bottom-left,.let-tooltip_bottom-right{padding:4px 0;margin-top:2px}.let-tooltip_bottom-left .let-tooltip__arrow,.let-tooltip_bottom-right .let-tooltip__arrow,.let-tooltip_bottom .let-tooltip__arrow{top:0;left:50%;margin-left:-4px;border-top-width:0;border-bottom-color:rgba(0,0,0,.75)}.let-tooltip_bottom-left .let-tooltip__arrow{left:12px;right:auto}.let-tooltip_bottom-right .let-tooltip__arrow{left:auto;right:8px}.let-tooltip_left,.let-tooltip_left-bottom,.let-tooltip_left-top{padding:0 4px;margin-left:-2px}.let-tooltip_left-bottom .let-tooltip__arrow,.let-tooltip_left-top .let-tooltip__arrow,.let-tooltip_left .let-tooltip__arrow{top:50%;right:0;margin-top:-4px;border-right-width:0;border-left-color:rgba(0,0,0,.75)}.let-tooltip_left-top .let-tooltip__arrow{top:12px;bottom:auto}.let-tooltip_left-bottom .let-tooltip__arrow{top:auto;bottom:8px}.let-tooltip_right,.let-tooltip_right-bottom,.let-tooltip_right-top{padding:0 4px;margin-left:2px}.let-tooltip_right-bottom .let-tooltip__arrow,.let-tooltip_right-top .let-tooltip__arrow,.let-tooltip_right .let-tooltip__arrow{top:50%;left:0;margin-top:-4px;border-left-width:0;border-right-color:rgba(0,0,0,.75)}.let-tooltip_right-top .let-tooltip__arrow{top:12px;bottom:auto}.let-tooltip_right-bottom .let-tooltip__arrow{top:auto;bottom:8px}.hide,.spin{display:none}.spin{color:#108ee9;vertical-align:middle;text-align:center;opacity:0;position:absolute;transition:transform .3s cubic-bezier(.78,.14,.15,.86);font-size:12px}.spin-spinning{opacity:1;position:static;display:inline-block}.let-spin{position:relative}.let-spin>div>.spin{position:absolute;height:100%;max-height:320px;width:100%;z-index:4}.let-spin>div>.spin .spin-dot{position:absolute;top:50%;left:50%;margin-left:-20px}.let-spin>div>.spin .spin-text{position:absolute;top:50%;width:100%;padding-top:6px}.let-spin>div>.spin.spin-show-text .spin-dot{margin-top:-40px}.let-spin>div>.spin-small .spin-text{padding-top:3px}.let-spin>div>.spin-small.spin-show-text .spin-dot{margin-left:-15px}.let-spin>div>.spin-large .spin-text{padding-top:12px}.let-spin>div>.spin-large.spin-show-text .spin-dot{margin-left:-25px}.spin-container{position:relative}.spin-blur{overflow:hidden;opacity:.7;filter:url('data:image/svg+xml;charset=utf-8,#filter');filter:blur(.5px);-webkit-transform:translateZ(0)}.spin-blur:after{content:"";position:absolute;left:0;right:0;top:0;bottom:0;background:#fff;opacity:.3}.spin-tip{color:rgba(0,0,0,.43)}.spin-dot{position:relative;display:inline-block;width:40px;height:40px}.spin-dot i{height:100%;left:0;position:absolute;top:0;width:100%}.spin-dot i:before{animation:1.2s infinite ease-in-out both;animation-name:c;background-color:currentColor;border-radius:100%;content:"";display:block;height:16%;margin:0 auto;width:16%}.spin-dot i:nth-child(2){transform:rotate(30deg)}.spin-dot i:nth-child(3){transform:rotate(60deg)}.spin-dot i:nth-child(4){transform:rotate(90deg)}.spin-dot i:nth-child(5){transform:rotate(120deg)}.spin-dot i:nth-child(6){transform:rotate(150deg)}.spin-dot i:nth-child(7){transform:rotate(180deg)}.spin-dot i:nth-child(8){transform:rotate(210deg)}.spin-dot i:nth-child(9){transform:rotate(240deg)}.spin-dot i:nth-child(10){transform:rotate(270deg)}.spin-dot i:nth-child(11){transform:rotate(300deg)}.spin-dot i:nth-child(12){transform:rotate(330deg)}.spin-dot i:nth-child(2):before{animation-delay:-1.1s}.spin-dot i:nth-child(3):before{animation-delay:-1s}.spin-dot i:nth-child(4):before{animation-delay:-.9s}.spin-dot i:nth-child(5):before{animation-delay:-.8s}.spin-dot i:nth-child(6):before{animation-delay:-.7s}.spin-dot i:nth-child(7):before{animation-delay:-.6s}.spin-dot i:nth-child(8):before{animation-delay:-.5s}.spin-dot i:nth-child(9):before{animation-delay:-.4s}.spin-dot i:nth-child(10):before{animation-delay:-.3s}.spin-dot i:nth-child(11):before{animation-delay:-.2s}.spin-dot i:nth-child(12):before{animation-delay:-.1s}.spin-small .spin-dot{width:30px;height:30px}.spin-small .spin-dot i:before{width:14%;height:14%}.spin-large .spin-dot{width:50px;height:50px}.spin.spin-show-text .spin-text{display:block}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.spin-blur{background:#fff;opacity:.5}}@keyframes c{0%,80%,to{opacity:0}40%{opacity:1}}.let-step{position:relative;display:inline-block;text-align:center;vertical-align:top}.let-step.is-success .let-step__icon{border-color:#3f5ae0;color:#3f5ae0}.let-step__head{position:relative;height:24px}.let-step__line{position:absolute;top:0;bottom:0;left:50%;margin:auto;width:100%;height:6px;background:#f5f6fa}.let-step__line-inner{display:block;height:100%;width:0;background:#3f5ae0;transition:width .2s}.let-step__icon{position:relative;display:inline-block;width:24px;height:24px;box-sizing:border-box;border:2px solid #c0c4cc;border-radius:50%;line-height:20px;background:#fff}.let-step__icon,.let-step__main{font-size:12px;text-align:center;color:#9096a3}.let-step__title{margin:4.5px 0 0}.let-step__title-large{margin:8.5px 0 0;font-size:14px;color:#222329}.let-step__description{margin:5px 0 0;padding:0 25%}.let-steps{font-size:0}.let-switch{box-sizing:border-box;position:relative;display:inline-block;min-width:48px;height:26px;border:1px solid #c0c4cc;border-radius:24px;background-color:#c0c4cc;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.let-switch,.let-switch:after{transition:all .3s;cursor:pointer}.let-switch:after{content:"";display:block;position:absolute;left:1px;top:1px;width:22px;height:22px;border-radius:50%;background-color:#fff}.let-switch__text{display:block;padding-left:28px;padding-right:4px;color:#fff;font-size:12px;line-height:24px}.let-switch_checked{border-color:#3f5ae0;background-color:#3f5ae0}.let-switch_checked:after{left:100%;margin-left:-23px}.let-switch_checked .let-switch__text{padding-left:6px;padding-right:26px}.let-switch_disabled{opacity:.5;cursor:not-allowed}.let-switch_disabled:after{background-color:#fff;cursor:not-allowed}.let-switch_disabled .let-switch__text{color:hsla(0,0%,100%,.7)}.let-switch_small{min-width:32px;height:20px}.let-switch_small:after{width:16px;height:16px}.let-switch_small .let-switch__text{font-size:10px;padding-left:22px;padding-right:6px;line-height:18px}.let-switch_small.let-switch_checked:after{left:100%;margin-left:-17px}.let-switch_small.let-switch_checked .let-switch__text{padding-left:6px;padding-right:22px}.let-switch_large{min-width:64px;height:32px}.let-switch_large:after{width:28px;height:28px}.let-switch_large .let-switch__text{font-size:14px;padding-left:39px;padding-right:4px;line-height:30px}.let-switch_large.let-switch_checked:after{left:100%;margin-left:-29px}.let-switch_large.let-switch_checked .let-switch__text{padding-left:10px}.let-table__wrap{position:relative}.let-table table{border:1px solid #e1e4eb;box-shadow:0 1px 2px #e1e4eb;border-radius:4px;background-color:#fff;border-spacing:0;margin-bottom:20px;max-width:100%;width:100%}.let-table caption{font-weight:700;padding:10px 0;text-align:left}.let-table tr td,.let-table tr th{border:0 solid #e1e4eb;border-collapse:collapse;line-height:20px;padding:10px 0 10px 15px}.let-table tr td.first,.let-table tr th.first{border-left-width:1px}.let-table tr td.last,.let-table tr th.last{border-right-width:1px}@media (max-width:1280px){.let-table tr td,.let-table tr th{padding-left:10px}}.let-table tr th{color:#9096a3;font-weight:700;font-size:12px;text-align:left;padding:14px 0 14px 15px}.let-table tr th .sortContainer{display:inline-block;cursor:pointer;margin-left:3px}.let-table tr th[colspan]{border-bottom-width:1px;border-left-width:1px}.let-table tr th[colspan]:not(:last-child){border-right-width:1px}.let-table tr td{border-top-width:1px;color:#454e66}.let-table tr td .operation{border-left:1px solid #e1e4eb;color:#3f5ae0;cursor:pointer;display:block;float:left;line-height:20px;padding-left:10px;padding-right:10px;position:relative}.let-table tr td .operation.first{border-left-width:0;padding-left:0}.let-table tr td .fa{color:#4a4a4a;text-align:center;width:20px}.let-table tr td .fa.clickable{color:#2972cc;cursor:pointer}.let-table tr td .fa.disabled{color:#ccc;pointer-events:none}.let-table tr td.expanded-cell{padding:0}.let-table tbody tr:hover{background:#ebf1ff}.let-table tbody tr.isTrEmpty:hover{background:#fff}.let-table .right{text-align:right}.let-table .left{text-align:left}.let-table .center{text-align:center}.let-table .let-checkbox,.let-table .let-switch{line-height:1;margin-top:-1px}.let-table .let-checkbox{height:16px}.let-table__operations{line-height:32px;padding-left:15px}@media (max-width:1280px){.let-table__operations{padding-left:10px}}.let-table__operations .let-button,.let-table__operations .let-checkbox{margin-right:15px}.let-table__expander{cursor:pointer;font-size:20px;height:30px;line-height:28px;margin:-10px 0 -10px -10px;text-align:center;width:30px}.let-table__expander i{transition:.2s}.let-table__expander.expanded i{transform:rotate(90deg)}.let-table.let-table_stripe tr:nth-child(2n) td{background-color:#fafbfc}.let-table.let-table_stripe tr:nth-child(2n):hover td{background-color:#ebf1ff}.let-table .flip-move{transition:transform .5s cubic-bezier(.55,0,.1,1)}.let-table .let-form{background-color:#f5f6fa;margin-bottom:0;padding:10px 20px}.let-table .let-form__item{margin-bottom:0}.let-table .let-form__item__label{color:gray;font-size:12px;text-align:left}.let-table__operation{color:#3f5ae0;font-size:12px;cursor:pointer;display:block;float:left;line-height:20px;padding-left:10px;padding-right:10px;position:relative}.let-table__operation.is-disabled{opacity:.6;cursor:not-allowed}.let-table__operation:first-of-type{border-left-width:0;padding-left:0}.let-table__operation_link{color:#3f5ae0}.let-table__operation_link:visited{color:#3952cc}.let-tabs__header{position:relative;min-height:44px;line-height:44px;border-bottom:1px solid #d7dae0}.let-tabs__header.center{text-align:center}.let-tabs__active-bar{position:absolute;bottom:-1px;height:2px;background:#3f5ae0;overflow:hidden;transition:transform .3s ease-in-out,width .3s ease-in-out;transform-origin:0 0}.let-tabs__icon{display:block;width:24px;height:24px;margin:14px auto -3px}.let-tabs__tabitem{display:inline-block;text-align:center;margin-right:24px;color:#9096a3;font-size:14px;font-weight:700;cursor:pointer}.let-tabs__tabitem:hover{color:#222329}.let-tabs__tabitem.left{float:left}.let-tabs__tabitem_cur{color:#222329}.let-tabs__tabitem_disabled{opacity:.6;cursor:not-allowed}.let-tabs__tabitem_disabled:hover{color:#9096a3}@keyframes d{0%{opacity:0;transform-origin:0 0;transform:scaleY(.8)}to{opacity:1;transform-origin:0 0;transform:scaleY(1)}}@keyframes e{0%{opacity:1;transform-origin:0 0;transform:scaleY(1)}to{opacity:0;transform-origin:0 0;transform:scaleY(.8)}}@keyframes f{0%{opacity:0;transform-origin:100% 100%;transform:scaleY(.8)}to{opacity:1;transform-origin:100% 100%;transform:scaleY(1)}}@keyframes g{0%{opacity:1;transform-origin:100% 100%;transform:scaleY(1)}to{opacity:0;transform-origin:100% 100%;transform:scaleY(.8)}}@keyframes h{0%{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes i{0%{opacity:0;transform-origin:0 0;transform:translateY(-100%)}to{opacity:1;transform-origin:0 0;transform:translateY(0)}}@keyframes j{0%{opacity:1;transform-origin:0 0;transform:translateY(0)}to{opacity:0;transform-origin:0 0;transform:translateY(-100%)}}@keyframes k{0%{opacity:0}to{opacity:1}}@keyframes l{0%{opacity:1}to{opacity:0}}.let-tag{font-size:12px;position:relative;display:inline-block;max-width:100%;padding:0 12px;border:1px solid;box-sizing:border-box;-webkit-font-smoothing:antialiased;border-color:currentColor}.let-tag+.let-tag{margin-left:8px}.let-tag_default{color:#3f5ae0}.let-tag_success{color:#6accab}.let-tag_danger{color:#f56c77}.let-tag_warning{color:#f5ad1d}.let-tag_info{color:#9096a3}.let-tag_large{height:32px;line-height:32px;border-radius:16px}.let-tag_medium{height:28px;line-height:28px;border-radius:14px}.let-tag_small{height:24px;line-height:24px;border-radius:12px}.let-tag_mini{height:20px;line-height:20px;border-radius:10px}.let-tag_hide{display:none}.let-tag__close{display:inline-block;position:relative;cursor:pointer;height:13px;width:13px;top:-1px;border-radius:50%;vertical-align:middle;overflow:hidden}.let-tag__close:after,.let-tag__close:before{position:absolute;border-radius:1px;background:currentColor;content:"";left:2px;height:1px;top:6px;width:9px}.let-tag__close:before{transform:rotate(45deg)}.let-tag__close:after{transform:rotate(-45deg)}.let-tag__close:hover{background:currentColor}.let-tag__close:hover:after,.let-tag__close:hover:before{color:#fff}.let-tag_checked{background-color:currentColor}.let-tag_checked .let-tag__close,.let-tag_checked span{color:#fff}.let-tag_checkable{cursor:pointer}.let-tree__node li{list-style-type:none}.let-tree__node .pointer{cursor:pointer}.let-tree__node .disabled{opacity:.6;cursor:not-allowed}.let-tree__node .active{color:#3f5ae0}.let-tree__node .let-icon-caret-right-small{font-size:12px;transition:transform .3s ease}.let-tree__node .let-icon-caret-right-small.down{transform:rotate(90deg)}a,a:hover{text-decoration:none}button,input,textarea{outline:none}::placeholder{color:#a2a9b8}:-ms-input-placeholder{color:#a2a9b8!important}@font-face{font-family:iconfont;src:url(data:application/vnd.ms-fontobject;base64,ABUAAFgUAAABAAIAAAAAAAIABQMAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAApkA4bQAAAAAAAAAAAAAAAAAAAAAAABAAaQBjAG8AbgBmAG8AbgB0AAAADgBSAGUAZwB1AGwAYQByAAAAFgBWAGUAcgBzAGkAbwBuACAAMQAuADAAAAAQAGkAYwBvAG4AZgBvAG4AdAAAAAAAAAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJXR0kCAAABfAAAAFZjbWFwnRRlhAAAAkAAAANMZ2x5Zkwma6AAAAXEAAAK2GhlYWQRMe7BAAAA4AAAADZoaGVhCGwEZQAAALwAAAAkaG10eGzp//sAAAHUAAAAbGxvY2EmqClAAAAFjAAAADhtYXhwAT0AnAAAARgAAAAgbmFtZT5U/n0AABCcAAACbXBvc3QaQvwJAAATDAAAAUwAAQAAA4D/gABcBMz//f/9BJAAAQAAAAAAAAAAAAAAAAAAABsAAQAAAAEAAG04QKZfDzz1AAsEAAAAAADWwtWNAA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FwYAAw4BBx4BFz4BNy4BAyIvATcXARcBBgIA2f7fBgYBIdnZASEGBv7f2anhBAThqanhBAThzxQPtEeKAQBU/twRgAYBIdnZASEGBv7f2dn+3wOIBOGpqeEEBOGpqeH9nwyOWW0BHE3+vRIAAAABAAD/vgL9A0IABQAAARcJAQcBAo1w/q0BU3D+PwNCcP6u/q5wAcIAAQAAAAAC/QIrAAsAABMBFjI3ATYmJyEOAbEBBAsiCwEECxIV/fgVEgH0/poODgFmESUBASUAAAABAAAAAAMFAisACwAANwE2MhcBFgYHIS4BsQEJCiILAQgMExT97xUStgFnDQ3+mRElAQElAAAAAAMAAP+ABAADgAALABcAGwAABT4BNy4BJw4BBx4BFyYAJzYANxYAFwYAEwEXAQIAqeEEBOGpqeEEBOGp2v7fBQUBIdraASEFBf7fX/0+UALCDgThqanhBAThqanhdgUBIdraASEFBf7f2tr+3wOE/T5QAsIAAQAAAAADAQKBAAsAAAkBFhQHAQYmJxE+AQGMAWYODv6aESUBASUCdf78CiMK/vwMExQCCBUTAAAAABIA3gABAAAAAAAAABUAAAABAAAAAAABAAgAFQABAAAAAAACAAcAHQABAAAAAAADAAgAJAABAAAAAAAEAAgALAABAAAAAAAFAAsANAABAAAAAAAGAAgAPwABAAAAAAAKACsARwABAAAAAAALABMAcgADAAEECQAAACoAhQADAAEECQABABAArwADAAEECQACAA4AvwADAAEECQADABAAzQADAAEECQAEABAA3QADAAEECQAFABYA7QADAAEECQAGABABAwADAAEECQAKAFYBEwADAAEECQALACYBaQpDcmVhdGVkIGJ5IGljb25mb250Cmljb25mb250UmVndWxhcmljb25mb250aWNvbmZvbnRWZXJzaW9uIDEuMGljb25mb250R2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20ACgBDAHIAZQBhAHQAZQBkACAAYgB5ACAAaQBjAG8AbgBmAG8AbgB0AAoAaQBjAG8AbgBmAG8AbgB0AFIAZQBnA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3ctcmlnaHQJU3Rhci1ncmV5BFBsdXMIY2xlYXItd3QOTGl0dGxlQ2FsZW5kYXILTGl0dGxlQ2xvY2sKY2FyZXQtbGVmdAtjYXJldC1yaWdodANnb3UEaW5mbwJvaxhsZXQtaWNvbi1hcnJvdy1sZWZ0LWNvcHkKY2FyZXQtZG93bghjYXJldC11cAJlbghBcnRib2FyZAAA) format("truetype"),url(/static/img/iconfont.4980b.svg#iconfont) format("svg")}.let-icon{font-family:iconfont!important;font-size:12px;font-style:normal;display:inline-block;text-trans:none;text-rendering:none;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.let-icon-arrow-left:before{content:"\E618"}.let-icon-arrow-right:before{content:"\E605"}.let-icon-clear:before{content:"\E606"}.let-icon-x:before{content:"\E609"}.let-icon-plus:before{content:"\E607"}.let-icon-line:before{content:"\E608"}.icon-Star:before{content:"\E604"}.let-icon-ban:before{content:"\E629"}.let-icon-gou:before{content:"\E612"}.let-icon-info:before{content:"\E613"}.let-icon-ok:before{content:"\E614"}.let-icon-caret-down:before{content:"\E626"}.let-icon-caret-up:before{content:"\E627"}.let-icon-calendar:before{content:"\E60D"}.let-icon-clock:before{content:"\E60E"}.let-icon-caret-left:before{content:"\E60F"}.let-icon-caret-right:before{content:"\E610"}.let-icon-sort:before{content:"\E704"}.let-icon-sort-desc:before{content:"\E61C"}.let-icon-sort-asc:before{content:"\E60A"}.let-icon-subtract:before{content:"\E6F2"}.let-icon-plus:before{content:"\E601"}.let-icon-star-hover:before{content:"\E60C"}.let-icon-star:before{content:"\E6EF"}.let-icon-caret-right-small:before{content:"\E62C"}.let-icon-caret-down{position:absolute;right:14px;padding-left:1px;margin-top:-6px;top:50%;width:12px;height:12px;line-height:12px;color:#9096a3;transition:transform .4s ease}.let-icon-caret-down.up{transform:rotate(-180deg)}.let-uploader{position:relative;height:32px;width:100%}.let-uploader *{box-sizing:border-box}.let-uploader input[type=file]{position:absolute;bottom:0;cursor:pointer;left:0;opacity:0;right:0;top:0;width:100%}.let-uploader .let-icon__check{font-size:10px;color:#6accab;margin-right:4px}.let-uploader.let-uploader_disabled{opacity:.65;pointer-events:none}.let-uploader__btnwrap{display:inline-block;overflow:hidden;position:relative;width:100%;height:32px}.let-uploader__placeholder{color:#a2a9b8}.let-uploader__placeholder,.let-uploader__successfile{display:inline-block;float:left;border:1px solid #c0c4cc;border-radius:4px;font-size:12px;line-height:20px;padding:5px 8px;cursor:pointer;font-weight:400;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.let-uploader__successfile{color:#222329}.is-invalid .let-uploader__placeholder{border-color:#f56c77}.is-invalid .let-uploader__btnwrap .let-uploader__btn{border-color:#f56c77;border-left:none}.let-uploader .let-uploader__btn{background:#3f5ae0;color:#fff;border:1px solid #3f5ae0;border-top-right-radius:4px;border-bottom-right-radius:4px;cursor:pointer;display:inline-block;font-size:14px;min-width:80px;font-weight:400;line-height:20px;padding:5px;text-align:center;-ms-touch-action:manipulation;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap;outline:none}.let-uploader:hover .let-uploader__btn{opacity:.8}.let-form__inline .let-form-item{padding-left:0!important;margin-right:32px;vertical-align:bottom}.let-form__inline .let-label__position_top{padding-right:0;width:100%}.let-form .let-input{width:100%}.let_modal{position:fixed!important}.let-loading .loading-inner{background:rgba(0,0,0,.9);padding:13px}.let-input_small input{font-size:12px;padding-left:8px;padding-right:8px}.let-select_small .let-select__selection{padding-left:8px}.let-select_small .let-select__text_single{margin-left:0}.let-select_small .let-select__option{padding-left:8px;padding-right:8px}.let-radio+.let-radio{margin-left:12px}.let-date-picker{width:100%}.let-table td:last-child.right,.let-table th:last-child.right{padding-right:15px}.let-table tr th .sortContainer{position:relative}.let-table tr th .sortContainer .let-icon-caret-down{left:0}.icon{fill:currentcolor;height:1em;vertical-align:-.25ex;width:1em}.tars-form-item .clickable{color:#3f5ae0}.app_index__footer{height:48px;background:#f0f2f5;color:#a2a9b8;font-size:12px;line-height:48px;text-align:center}.page_server_config .add-btn{position:absolute;right:0;top:0;z-index:2}.page_server_config .check-all{position:absolute;z-index:2;top:60px;left:16px}.page_server_config .let-table caption{padding-bottom:16px}.page_server_config .danger{color:#e0543f}.page_server_config .success{color:#49cc8f}.page_server_config .result{display:inline-block;max-width:420px;word-break:break-word;padding-right:10px}.page_server_config pre{color:#909fa3;margin-top:32px}.page_server_config .detail-loading{height:28px}.page_server_config .detail-loading:only-child{margin:20px 0}.page_server_config .history-table{margin-top:20px}.page_server_config .let-checkbox{vertical-align:baseline;vertical-align:initial}.section[data-v-2643216f]{margin-bottom:32px;position:relative}.hours-filter{overflow:hidden}.hours-filter h4{color:#9096a3;font-weight:700;margin-bottom:12px}.hours-filter ul{margin-bottom:-8px;overflow:hidden}.hours-filter li{border:1px solid #c0c4cc;border-radius:14px;color:#454e66;cursor:pointer;float:left;font-size:12px;line-height:26px;margin-bottom:8px;margin-right:8px;min-width:39px;padding:0 11px;text-align:center}.hours-filter li.active{border-color:#3f5ae0;color:#3f5ae0}.hours-filter li:last-child{margin-right:0}.compare-chart{position:relative}.compare-chart-zoom-in{color:inherit;cursor:pointer;font-size:16px;position:absolute;right:35px;top:5px}.compare-chart .let_modal__dialog{max-width:1200px}.page_server_server_monitor{padding-bottom:20px}.page_server_server_monitor .charts{margin-top:20px}.page_server_server_monitor .hours-filter{margin-bottom:16px}.page_server_debuger .add-btn{position:absolute;right:0;top:0;z-index:2}.page_server_debuger .mt10{margin-top:10px}.page_server_debuger .param_area textarea{border:none!important}.page_server_debuger .params_container{border:1px solid #c0c4cc;overflow:hidden;border-radius:5px}.page_server_debuger .div_line{border-right:1px solid #e4e9f2}.page_server_debuger .left_align{margin-left:-15px}@font-face{font-family:Lato;src:url(/static/fonts/Lato-Bold.ea734.eot);src:url(/static/fonts/Lato-Bold.ea734.eot?#font-spider) format("embedded-opentype"),url(/static/fonts/Lato-Bold.1870e.woff2) format("woff2"),url(/static/fonts/Lato-Bold.530a2.woff) format("woff"),url(/static/fonts/Lato-Bold.624f2.ttf) format("truetype"),url(/static/img/Lato-Bold.70b17.svg) format("svg");font-weight:700;font-style:normal}@font-face{font-family:Lato;src:url(/static/fonts/Lato-Regular.e0ede.eot);src:url(/static/fonts/Lato-Regular.e0ede.eot?#font-spider) format("embedded-opentype"),url(/static/fonts/Lato-Regular.6d8f7.woff2) format("woff2"),url(/static/fonts/Lato-Regular.9966c.woff) format("woff"),url(/static/fonts/Lato-Regular.25295.ttf) format("truetype"),url(/static/img/Lato-Regular.cd5ac.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:Lato;src:url(/static/fonts/Lato-Light.d10a5.eot);src:url(/static/fonts/Lato-Light.d10a5.eot?#font-spider) format("embedded-opentype"),url(/static/fonts/Lato-Light.502bf.woff2) format("woff2"),url(/static/fonts/Lato-Light.493f8.woff) format("woff"),url(/static/fonts/Lato-Light.a3eaa.ttf) format("truetype"),url(/static/img/Lato-Light.f5206.svg) format("svg");font-weight:300;font-style:normal}*,:after,:before{box-sizing:border-box}a,blockquote,body,dd,div,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,input,li,ol,p,pre,td,textarea,th,ul{margin:0;outline:none;padding:0}h1,h2,h3,h4,h5,h6{font-size:14px}li,ol,ul{list-style:none outside none}table{border-spacing:0;border-collapse:collapse}p,td,th{word-break:break-all}fieldset,img{border:0 none}input::-moz-focus-inner{border:none;padding:0}a{outline:none}a,a:hover{text-decoration:none}a img{border:none}img{display:inline-block;max-width:100%;vertical-align:middle}textarea{outline:none;resize:none}button,input{border:none;outline:none}input::-ms-clear{display:none}label{cursor:pointer}cite,em,i{font-style:normal}::placeholder{color:#ccc;font-weight:400}:-ms-input-placeholder{color:#ccc!important;font-weight:400!important}::-webkit-scrollbar{background:#ccc;border-radius:0;height:6px;position:absolute;width:6px}::-webkit-scrollbar-thumb{background:#999;border-radius:3px}body,html{height:100%}body{color:#565b66;font-family:Lato,PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif;-webkit-font-smoothing:antialiased;-moz-font-smoothing:antialiased;text-align:left}.clearfix{*zoom:1}.clearfix :after,.clearfix :before{display:table;content:" "}.clearfix :after{clear:both}.toe{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.disabled{opacity:.65;pointer-events:none}.hidden{display:none}.main-width{margin:0 auto;max-width:1440px;padding:0 24px}#app{position:relative;padding-bottom:48px;min-height:100%;font-size:14px}.app_index__footer{position:absolute;bottom:0;left:0;width:100%}.let-dialog .let-dialog__foot .let-align__inner{display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:center;justify-content:center}.let-dialog .let-dialog__foot .let-align__inner .let-button:first-child{margin-right:0;margin-left:16px}.page_operation _children{padding:20px 0}.danger{color:#e0543f}.app_index__header{height:80px;border-bottom:1px solid #ebecee}.app_index__header .main-width{position:relative}.app_index__header .tabs .let-tabs__header{border-bottom:none}.app_index__header .language-wrap,.app_index__header .logo-wrap,.app_index__header .user-wrap{position:absolute;top:0;height:80px;width:300px;padding:26px 24px}.app_index__header .logo-wrap{left:0;width:auto;z-index:100;padding:0}.app_index__header .logo-wrap a{display:inline-block;height:80px;padding:30px 20px 0;position:relative}.app_index__header .logo-wrap a.active:after{content:"";display:inline-block;height:3px;width:100%;background:#457ff5;position:absolute;top:76px;left:0}.app_index__header .logo-wrap a .logo{height:25px}.app_index__header .logo-wrap .logo{height:28px}.app_index__header .language-wrap{right:150px;width:150px;padding-top:20px}.app_index__header .user-wrap{right:0;width:150px;text-align:right}.app_index__header .user-wrap .user-info{max-width:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;height:28px;cursor:pointer}.app_index__header .user-wrap .user-info .avatar{height:100%;border-radius:50%}.app_index__header .user-wrap .user-info .name{margin:0 8px}.app_index__header .user-wrap .user-info .let-icon-caret-down{position:relative;right:auto;top:auto;padding-left:0;margin-top:0}.app_index__header .user-pop-wrap{position:absolute;right:20px;top:55px;border:1px solid #d7dae0;border-radius:4px;padding:10px;background:#fff;font-size:12px}.app_index__header .fade-enter-active,.app_index__header .fade-leave-active{transition:opacity .4s}.app_index__header .fade-enter,.app_index__header .fade-leave-to{opacity:0}.page_server{padding-bottom:40px;padding-top:40px;display:-ms-flexbox;display:flex}.page_server .left-tree{-ms-flex:0 0 auto;flex:0 0 auto;width:152px;min-height:380px}.page_server .left-tree .loading{display:block;text-align:center;margin:180px auto 0}.page_server .left-tree .let-icon-caret-right-small{margin-right:2px;margin-left:4px}.page_server .left-tree ul.let-tree__node{font-size:14px;line-height:24px;margin-left:10px}.page_server .left-tree ul.let-tree__node li{text-overflow:ellipsis;overflow:hidden;word-break:break-all;white-space:pre}.page_server .left-tree>ul.let-tree__node{font-size:16px;margin-bottom:24px;margin-left:0}.page_server .left-tree>ul.let-tree__node>li>ul.let-tree__node{margin-left:0}.page_server .left-tree>ul.let-tree__node>li>ul.let-tree__node li .pointer:first-of-type{margin-left:3px}.page_server .left-tree>ul.let-tree__node>li>ul.let-tree__node li .pointer:first-of-type:empty{margin-left:26px}.page_server .left-tree .tree-icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAAAkFBMVEUAAACasuCbs+NYXGhhZXBWXGaEpOZGgPZGgPVGgPZGgPZGgfdGgfdHgPZKgP9VgP9Zi/FUXnFWivFUYX+DpOZVXWlUiPJRZpFmbXpRhvJPa6RpbndNhPNMcLmAo+eZseBFf/X///9WW2b39/itsLXs7O1HfOfW19pJeNeNkJi9v8NLcsKlqK5Nba1QaJl1eYI9kzr2AAAAH3RSTlMAwEBA/sD++efJpH9bNhgG/fnx8e3t6Ojm39/Y1tbVyF3SDAAAAKdJREFUKM/NzEkWgjAURNGoKD3Y90pIRLHf/+78RxLLQHDsm95Txb5KI9+PUmYrCT1OeWHSoDhwucoN4tofN1Lv+EOfd/whvC93vKXtngkxWx8ttJpmGSG1KGs0H2QU4elMPLlyNCZSmOfFzRFidFfvQyIgJS9Pmj9KTcCq9zsIWFUIAQCq/gTlL3QOsg17fbCJnS5jmoEgBgaCwBpBYApkYVCTNya9AH72SFhYMf7uAAAAAElFTkSuQmCC);margin-right:4px;margin-left:0;vertical-align:middle}.page_server .left-tree .tree-icon.down{transform:rotate(0)}.page_server .left-tree .tree-icon:before{content:""}.page_server .right-view{-ms-flex:1;flex:1;margin-left:40px;margin-top:-10px}.page_server .right-view .empty{margin:88px 0 0 calc(50% - 228px);width:240px;text-align:center}.page_server .right-view .empty .package{width:180px;height:114px;margin-bottom:24px}.page_server .right-view .empty .title{font-size:18px;font-weight:700;margin-bottom:12px}.page_server .right-view .empty .notice{line-height:22px;color:#a2a9b8}.page_server .page_server_child{margin-top:20px;position:relative}.page_server .loading-placeholder{min-height:80px;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.page_server .let_modal .let-loading__parent-relative .let-align__inner{padding-top:0}.page_server .let-form.two-columns.let-form-cols-2{margin-right:-30px}.page_server .let-form.two-columns.let-form-cols-2 .let-form-item{padding-right:30px}.page_server .let-table__operation{padding-left:0;padding-right:0;margin-right:10px}.page_server .let-table__operation:last-of-type{margin-right:0}.page_server .status-activating,.page_server .status-active,.page_server .status-off{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.page_server .status-activating:before,.page_server .status-active:before,.page_server .status-off:before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:currentColor;margin-right:4px}.page_server .status-activating:after,.page_server .status-active:after,.page_server .status-off:after{display:inline-block}.page_server .status-active{color:#49cc8f}.page_server .status-active:after{content:"Active"}.page_server .status-off{color:#e0543f}.page_server .status-off:after{content:"Off"}.page_server .status-activating{color:#e0543f}.page_server .status-activating:after{width:70px;content:"Activating"}.page_server_manage .tbm16{margin:16px 0}.page_server_manage .danger{color:#e0543f}.page_server_manage .more-cmd .let-form-item__content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.page_server_manage .more-cmd span.let-radio{margin-right:5px}.page_server_manage .more-cmd label.let-radio{width:200px}.alignRight{float:right}.non-server-migration .let-form-item__label{margin-left:0}.non-server-migration.let-form{background-color:#fff}.non-server-migration .let-select.let-select_single{width:300px}.let-table .let-form{background-color:#fff}.progressTable[data-v-2dd804f4]{margin-top:20px}.page_server_property_monitor{padding-bottom:20px}.page_server_property_monitor .chart{margin-top:20px}.page_server_property_monitor .let-table td,.page_server_property_monitor .let-table th{border:1px solid #ddd;word-break:keep-all}.page_server_property_monitor .charts{margin-top:20px}.page_server_property_monitor .hours-filter{margin-bottom:16px}.page_server_publish{padding-bottom:32px}.page_server_publish .mt10{margin-top:10px}.page_server_publish .running{color:#3f5ae0}.page_server_publish .success{color:#6accab}.page_server_publish .stop{color:#f56c77}.let-form-cols-1 .let-form-item__label{width:140px}.apply_steps{margin:10px 0 20px;padding-bottom:20px;border-bottom:1px solid #d7dae0}.let-form-cols-1 .let-form-item__label{width:auto}.page_operation_module_info .poptip__popper{max-width:420px}.page_operation_module_info .let-poptip,.page_operation_module_info .let-poptip__trigger{display:block}.page_operation_module_info .let-poptip_top{width:auto!important;padding:4px 8px;background:#f56c77;color:#fff;border-radius:6px;top:-25px!important}.page_operation_module_info .let-poptip_top .let-poptip__arrow:after{border-top-color:#f56c77}.page_operation_module_info .let-poptip_top .let-poptip__content{font-size:14px;white-space:nowrap}.spinner-icon{color:#fff;height:17px;width:17px;margin-left:20px}.page_operation{padding-top:30px;padding-bottom:40px}.page_operation_children{padding:20px 0}.server_config_list_modal .let_modal__body{max-height:500px;overflow-y:auto;margin-top:20px}.moduleCache .let-input textarea{padding:8px}.operation-manage .let-tabs__content{padding-top:20px} \ No newline at end of file diff --git a/client/dist/static/js/dcache.d330f.js b/client/dist/static/js/dcache.fee59.js similarity index 79% rename from client/dist/static/js/dcache.d330f.js rename to client/dist/static/js/dcache.fee59.js index fabd2e5d..0256f975 100644 --- a/client/dist/static/js/dcache.d330f.js +++ b/client/dist/static/js/dcache.fee59.js @@ -1,4 +1,4 @@ -webpackJsonp([1],{"+M9A":function(e,t){},"/4MF":function(e,t){},"/w7L":function(e,t,a){"use strict";var r=a("S1cf");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");function o(e){var r=e;return t&&(a.setAttribute("href",r),r=a.href),a.setAttribute("href",r),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname}}return e=o(window.location.href),function(t){var a=r.isString(t)?o(t):t;return a.protocol===e.protocol&&a.host===e.host}}():function(){return!0}},"1Ggf":function(e,t){},"3NoR":function(e,t,a){"use strict";var r=a("Dd8w"),o=a.n(r),s=a("pFYg"),n=a.n(s),i=a("7+uW"),l=a("QpGM"),c=a.n(l),d=(a("XSxf"),a("K/Lq")),u=a.n(d),m=(a("s2Rr"),{name:"Icon",props:{name:{type:String,required:!0}}}),p={render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"icon"},[t("use",{attrs:{"xlink:href":"#"+this.name}})])},staticRenderFns:[]};var h=a("VU/8")(m,p,!1,function(e){a("JIJe")},null,null).exports,f={name:"TarsFormItem",props:{label:String}},v={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("let-form-item",{staticClass:"tars-form-item"},[a("label",{staticClass:"let-form-item__label let-label__position_top clickable",on:{click:function(t){return e.$emit("onLabelClick")}}},[e._v(e._s(e.label))]),e._v(" "),e._t("default")],2)},staticRenderFns:[]};var _=a("VU/8")(f,v,!1,function(e){a("O444")},null,null).exports,g=a("Z/F5"),b=a.n(g),$=a("aqzs"),y=a.n($);i.default.use(c.a,{locale:{en:y.a,cn:b.a}[u.a.get("locale")||"cn"]||b.a}),i.default.component(h.name,h),i.default.component(_.name,_);var w=i.default.prototype.$Loading;function M(e){this.el=e,this.loading=null}M.prototype.show=function(e,t){"object"===(void 0===e?"undefined":n()(e))&&(t=e,e=null),this.loading&&this.hide();var a=this.el,r=w(o()({fullScreen:!a,target:a&&e?a.querySelector(e):a,boxClass:"loading-inner",background:"rgba(0,0,0,0)",color:"#fff",size:24},t));return r.show(),this.loading=r,this},M.prototype.hide=function(){return this.loading&&(this.loading.hide(),this.loading=null),this},M.show=function(){var e;return M._loading||(M._loading=new M),(e=M._loading).show.apply(e,arguments)},M.hide=function(){return M._loading||(M._loading=new M),M._loading.hide()},w.show=M.show,w.hide=M.hide,Object.defineProperty(i.default.prototype,"$loading",{get:function(){return this._loading||(this._loading=new M(this.$el)),this._loading}}),Object.defineProperty(i.default.prototype,"$tip",{get:function(){return this.$Notice}})},"3bIi":function(e,t,a){"use strict";var r=a("YdsM");e.exports=function(e,t,a,o,s){var n=new Error(e);return r(n,t,a,o,s)}},"4TWv":function(e,t){},"6uR2":function(e,t){},"7/2Y":function(e,t,a){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},"74BX":function(e,t){},"7x6k":function(e,t,a){"use strict";var r=a("mvHQ"),o=a.n(r),s=a("pFYg"),n=a.n(s),i={name:"InterfaceDebuger",components:{wrapper:a("mxK3").a},data:function(){return{serverData:{level:5,application:"",server_name:"",set_name:"",set_area:"",set_group:""},tarsFileList:[],uploadModal:{show:!1,model:{}},showDebug:!1,contextData:[],debuger_panel:!1,inParam:"",outParam:"",selectedFileName:"",selectedMethods:[],objName:"",objList:[],selectedId:""}},methods:{getFileList:function(){var e=this,t=this.$Loading.show();this.$ajax.getJSON("/server/api/get_file_list",{application:this.serverData.application,server_name:this.serverData.server_name}).then(function(a){t.hide(),e.tarsFileList=a}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.message||a.err_msg))})},openTarsUploadFileModal:function(){this.uploadModal.show=!0,this.uploadModal.model={application:this.serverData.application,server_name:this.serverData.server_name,set_name:this.serverData.set_name,file:null}},uploadFile:function(e){this.uploadModal.model.file=e},uploadTarsFile:function(){var e=this;if(this.$refs.uploadForm.validate()){var t=this.$Loading.show(),a=new FormData;a.append("application",this.uploadModal.model.application),a.append("server_name",this.uploadModal.model.server_name),a.append("set_name",this.uploadModal.model.set_name),a.append("suse",this.uploadModal.model.file),this.$ajax.postForm("/server/api/upload_tars_file",a).then(function(){t.hide(),e.getFileList(),e.uploadModal.show=!1,e.uploadModal.model=null}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.message||a.err_msg))})}},closeUploadModal:function(){this.uploadModal.show=!1},showDebuger:function(e){this.showDebug=!0,this.selectedFileName=e.file_name,this.inParam=null,this.outParam=null,this.selectedId=e.f_id,this.objName=null,this.getContextData(e.f_id),this.getObjList()},deleteTarsFile:function(e){var t=this;this.$confirm(this.$t("inf.dlg.deleteMsg"),this.$t("common.alert")).then(function(){var a=t.$Loading.show();t.$ajax.getJSON("/server/api/delete_tars_file",{id:e}).then(function(e){a.hide(),t.getFileList()}).catch(function(e){a.hide(),t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})}).catch(function(){})},getObjList:function(){var e=this;this.$ajax.getJSON("/server/api/all_adapter_conf_list",{application:this.serverData.application,server_name:this.serverData.server_name}).then(function(t){t.length&&(e.objList=t,e.objName=t[0].servant)}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},getContextData:function(e){var t=this;this.$ajax.getJSON("/server/api/get_contexts",{id:e,application:this.serverData.application,server_name:this.serverData.server_name,type:"all"}).then(function(e){t.contextData=e}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})},parseFields:function(e){var t={};for(var a in e){var r=e[a].defaultValue;r||("string"===e[a].type?r="":"long"!==e[a].type&&"int"!==e[a].type||(r=0)),t[a]=r}return t},getParams:function(e){var t=this;if(this.selectedMethods=e,3==e.length){var a=this.$Loading.show();this.$ajax.getJSON("/server/api/get_params",{application:this.serverData.application,server_name:this.serverData.server_name,id:this.selectedId,module_name:e[0],interface_name:e[1],function_name:e[2]}).then(function(r){a.hide();var s={};t.$ajax.getJSON("/server/api/get_structs",{id:t.selectedId,module_name:e[0]}).then(function(e){r.forEach(function(a){if(!a.out)if("string"===a.type)s[a.name]="";else if("array"===a.type)s[a.name]=[];else if("object"===n()(a.type))if(a.type.vector)s[a.name]=[];else if(a.type.isEnum){s[a.name]={}}else a.type.isStruct&&(s[a.name]=t.parseFields(e.structs[a.type.name].fields));else s[a.name]=""}),t.inParam=o()(s)})}).catch(function(e){a.hide(),t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})}},doDebug:function(){var e=this,t=this.$Loading.show();this.$ajax.postJSON("/server/api/interface_test",{id:this.selectedId,application:this.serverData.application,server_name:this.serverData.server_name,file_name:this.selectedFileName,module_name:this.selectedMethods[0],interface_name:this.selectedMethods[1],function_name:this.selectedMethods[2],params:this.inParam,objName:this.objName}).then(function(a){t.hide(),e.outParam=a}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.message||a.err_msg))})}},created:function(){this.serverData=this.$parent.getServerData()},mounted:function(){this.getFileList()}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_server_debuger"},[e.showDebug?e._e():a("wrapper",{ref:"tarsFileListLoading"},[a("let-button",{staticClass:"add-btn",attrs:{size:"small",theme:"primary"},on:{click:e.openTarsUploadFileModal}},[e._v(e._s(e.$t("operate.add")))]),e._v(" "),a("let-table",{attrs:{data:e.tarsFileList,title:e.$t("inf.title.listTitle"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("deployService.form.app"),prop:"application"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.service"),prop:"server_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cfg.btn.fileName"),prop:"file_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cfg.btn.lastUpdate"),prop:"posttime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"260px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.showDebuger(t.row)}}},[e._v(e._s(e.$t("inf.list.debug")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.deleteTarsFile(t.row.f_id)}}},[e._v(e._s(e.$t("operate.delete")))])]}}],null,!1,2386188281)})],1)],1),e._v(" "),e.showDebug?a("div",[a("let-form",{staticClass:"left_align",attrs:{itemWidth:"530px"}},[a("let-form-item",{attrs:{label:e.$t("inf.dlg.selectLabel")}},[a("let-cascader",{attrs:{data:e.contextData,required:"",size:"small"},on:{change:e.getParams}})],1),e._v(" "),e.objList.length?a("let-form-item",{attrs:{label:e.$t("inf.dlg.objName")}},[a("let-select",{model:{value:e.objName,callback:function(t){e.objName=t},expression:"objName"}},e._l(e.objList,function(e){return a("let-option",{key:e.servant,attrs:{value:e.servant}})}),1)],1):e._e(),e._v(" "),a("let-form-item",[a("let-button",{attrs:{theme:"primary"},on:{click:e.doDebug}},[e._v(e._s(e.$t("inf.list.debug")))])],1)],1),e._v(" "),a("let-row",[a("div",{staticClass:"params_container"},[a("let-col",{attrs:{span:12,itemWidth:"100%"}},[a("let-form",{attrs:{itemWidth:"100%"}},[a("let-input",{staticClass:"param_area div_line",attrs:{type:"textarea",rows:20,placeholder:e.$t("inf.dlg.inParam")},model:{value:e.inParam,callback:function(t){e.inParam=t},expression:"inParam"}})],1)],1),e._v(" "),a("let-col",{attrs:{span:12}},[a("let-form",{attrs:{itemWidth:"100%"}},[a("let-input",{staticClass:"param_area",attrs:{type:"textarea",rows:20,placeholder:e.$t("inf.dlg.outParam")},model:{value:e.outParam,callback:function(t){e.outParam=t},expression:"outParam"}})],1)],1)],1)]),e._v(" "),a("div",{staticClass:"mt10"},[a("let-button",{attrs:{theme:"primary",size:"small"},on:{click:function(t){e.showDebug=!1}}},[e._v(e._s(e.$t("operate.goback")))])],1)],1):e._e(),e._v(" "),a("let-modal",{attrs:{title:e.$t("inf.title.dlgTitle"),width:"880px",footShow:!1},on:{"on-cancel":e.closeUploadModal},model:{value:e.uploadModal.show,callback:function(t){e.$set(e.uploadModal,"show",t)},expression:"uploadModal.show"}},[e.uploadModal.model?a("let-form",{ref:"uploadForm",attrs:{itemWidth:"100%"},nativeOn:{submit:function(t){return t.preventDefault(),e.uploadTarsFile(t)}}},[a("let-form-item",{attrs:{itemWidth:"400px"}},[a("let-uploader",{attrs:{placeholder:e.$t("pub.dlg.defaultValue"),require:""},on:{upload:e.uploadFile}},[e._v("\n "+e._s(e.$t("common.submit")))]),e._v(" "),e.uploadModal.model.file?a("span",[e._v(e._s(e.uploadModal.model.file.name))]):e._e()],1),e._v(" "),a("let-button",{attrs:{type:"submit",theme:"primary"}},[e._v(e._s(e.$t("serverList.servant.upload")))])],1):e._e()],1)],1)},staticRenderFns:[]};var c=a("VU/8")(i,l,!1,function(e){a("VnDC")},null,null);t.a=c.exports},"86n0":function(e,t,a){"use strict";var r=a("mvHQ"),o=a.n(r),s=a("//Fk"),n=a.n(s),i=a("Zrlr"),l=a.n(i),c=a("wxAW"),d=a.n(c),u=a("fZjL"),m=a.n(u),p=a("woOf"),h=a.n(p),f=a("pFYg"),v=a.n(f),_=function(e){return"string"==typeof e},g=Array.isArray,b=function(e){return"object"===(void 0===e?"undefined":v()(e))&&null!==e},$=function(e){return"function"==typeof e},y=h.a;function w(e){return String(e).replace(/(?:[\0- "-&\+-\}\x7F-\xA8\xAA-\xAD\xAF-\u2121\u2123-\u23E8\u23F0-\u23F2\u23F4-\u23F7\u23FB-\u24C1\u24C3-\u25B5\u25B7-\u25FF\u27C0-\u2933\u2936-\u2B04\u2B08-\u2B1A\u2B1D-\u2B4F\u2B51-\u2B54\u2B56-\u302F\u3031-\u303C\u303E-\u3296\u3298\u329A-\uD7FF\uE000-\uFFFF]|[\uD800-\uD83B\uD83F-\uDBFF][\uDC00-\uDFFF]|\uD83C[\uDC00-\uDC03\uDC05-\uDCCE\uDCD0-\uDD6F\uDD72-\uDD7D\uDD80-\uDD8D\uDD8F\uDD90\uDE52-\uDEFF]|\uD83D[\uDE50-\uDE7F\uDF00-\uDFFF]|\uD83E[\uDC00-\uDCFF\uDE00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,encodeURIComponent).replace(/ /g,"+").replace(/[!'()~*]/g,function(e){return"%"+e.charCodeAt().toString(16).slice(-2).toUpperCase()})}function M(e){if(!e)return"";var t=[];return m()(e).forEach(function(a){var r=e[a];null!==r&&void 0!==r||(r=""),t.push(w(a)+"="+w(r))}),t.join("&").replace(/%20/g,"+")}function k(e){return M(m()(e).reduce(function(t,a){return function e(t,a,r){return g(r)||b(r)?(m()(r).forEach(function(o){e(t,a+"["+o+"]",r[o])}),t):(t[a]=r,t)}(t,a,e[a])},{}))}var x=function(){function e(t){l()(this,e),this.defaults=t}return d()(e,[{key:"get",value:function(e){return y({},this.defaults,e)}},{key:"set",value:function(e,t){var a=this;if(e){if(_(e)){var r=e.split(".");r.reduce(function(e,a,o){return o===r.length-1&&(e[a]=t),e[a]},this.defaults)}b(e)&&m()(e).forEach(function(t){a.set(t,e[t])}),g(e)&&e.forEach(function(e){return a.set(e,t)})}}},{key:"remove",value:function(e){var t=this;if(e){if(_(e)){var a=e.split(".");a.reduce(function(e,t,r){return r===a.length-1&&delete e[t],e[t]},this.defaults)}g(e)&&e.forEach(function(e){return t.remove(e)})}}}]),e}(),S=function(){function e(t){l()(this,e),this.handler=t}return d()(e,[{key:"set",value:function(e){$(e)&&(this.handler=e)}},{key:"exec",value:function(){$(this.handler)&&this.handler.apply(null,arguments)}}]),e}(),C=new(function(){function e(t){l()(this,e),this.base=t||""}return d()(e,[{key:"set",value:function(e){_(e)&&(this.base=e)}},{key:"get",value:function(e){return this.base+(e||"")}}]),e}()),L=new x({credentials:"same-origin",timeout:5e3}),N=new x({"X-Requested-With":"XMLHttpRequest"}),D=new x({}),A=new S,T=new S(function(){return!0});function q(e,t){var a=M(D.get(t));return a&&(a=-1===e.indexOf("?")?"?"+a:"&"+a),e+a}function F(e){var t=e.status;if(t>=200&&t<300||304===t)return e;throw A.exec(t,e),new Error(e.statusText)}function P(e){return e.json().then(null,function(t){return A.exec(500,e),n.a.reject(t)})}function R(e){return T.handler(e)?e:n.a.reject(e)}function O(e){return n.a.reject(e)}t.a={ServerUrl:C,Options:L,Headers:N,Body:D,StatusHandler:A,ResultHandler:T,get:function(e,t){var a=L.get({headers:N.get()});return fetch(C.get(q(e,t)),a).then(F).then(P).catch(O)},getJSON:function(e,t){var a=L.get({headers:N.get()});return fetch(C.get(q(e,t)),a).then(F).then(P).then(R).catch(O)},post:function(e,t){var a=L.get({method:"POST",headers:N.get({"Content-Type":"application/x-www-form-urlencoded"}),body:k(D.get(t))});return fetch(C.get(e),a).then(F).then(P).then(R).catch(O)},postForm:function(e,t){var a=L.get({method:"POST",headers:N.get(),body:t}),r=D.get({});return m()(r).forEach(function(e){t.append(e,r[e])}),fetch(C.get(e),a).then(F).then(P).then(R).catch(O)},postJSON:function(e,t){var a=L.get({method:"POST",headers:N.get({Accept:"application/json","Content-Type":"application/json"}),body:o()(D.get(t))});return fetch(C.get(e),a).then(F).then(P).then(R).catch(O)},put:function(e,t){var a=L.get({method:"PUT",headers:N.get({"Content-Type":"application/x-www-form-urlencoded"}),body:k(D.get(t))});return fetch(C.get(e),a).then(F).then(P).then(R).catch(O)},remove:function(e,t){var a=L.get({method:"DELETE",headers:N.get()});return fetch(C.get(q(e,t)),a).then(F).then(P).then(R).catch(O)},download:function(e,t){window.open(C.get(q(e,t)))}}},"8bu2":function(e,t){},"90RL":function(e,t){},"9eSX":function(e,t){},AuvU:function(e,t){},BXyq:function(e,t,a){"use strict";(function(t){var r=a("S1cf"),o=a("M8l6"),s={"Content-Type":"application/x-www-form-urlencoded"};function n(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var i,l={adapter:("undefined"!=typeof XMLHttpRequest?i=a("KRuG"):void 0!==t&&(i=a("KRuG")),i),transformRequest:[function(e,t){return o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(n(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(n(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(e){l.headers[e]={}}),r.forEach(["post","put","patch"],function(e){l.headers[e]=r.merge(s)}),e.exports=l}).call(t,a("W2nU"))},Bh3W:function(e,t){},Bn3n:function(e,t){},CH5c:function(e,t){},CPgP:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAABxCAYAAAD70PVfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADfhJREFUeNrsnT92G8kRh3v1lG1g7gkEnUDgCTQMtKmoxIkDgolTkScAcQKSoZ0Qes8O7MRUvAGHJyB0AkE3gANtyu0SCyKk5S7RNd0z0z3f9948yl4MMNNdXb+q/vvD7e2tAwAACOUJRQAAAAgIAAAgIAAAgIAAAAACAgAAgIAAAAACAgAACAgAACAgAACAgAAAACAgAACAgAAAAAICAAAICAAAFM/Txz7w88mvfdnvfanXJtf6d+Wvhfz3X2Y/LodcoX/9299H/o9clf5fL/y1s/GR8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YdTDPRUSBpoono8KZnGGkU3QQsxU2nTHQgSbSaaKPogTSrI5IQHTaZ6J1XB+wONdFoOrR9R5OJxtVBTBt2tOXVMaEm+m87drTSQAxEYfgdBS14Z29aKYpUpSBbEYqwVmTtPrHJOpI2szG52Kyx/ecRPoaTOQlv9O1BdIiz22gHbaUjG7058Y2OXR1r7+pYWue27YkOMjoWHeIs0HN9dbjH0GW0fgw7Z73RnHfiHMzoC++8u1HQ1tltNOddakaLdHyj28DVwUZHoRfpd7Ta6Ngd3XB1qGYYuDrE2RUWldG7Hc0wdaMFOn5Hb/syWp13XB0JFdxldCA6dAUPFpaGZuii45cKrqHljk4tLA3N0EnvR4fc0e4t9JqhvqN7o+OMv46CR1yA9gZooIEGuoQRF6C9ARpooE8P+vvLf/HwfD+f2bK9fjI/zsvXdjW1JeTzrTbVY2JKx11VbR4DRQPoROhzDb1d2WJ9Zb6Xa4FugM4EPe02+v3yB/oD6KGgZ2qj96AroDNHBxk90kaT0cNv9MtBRnfQNdEx5HmnoeW8IzoGhdbR0UpGS3RcEx0ZH0MHPWGjcz6G3NEjFZZuo+sa6OzNkAqeLTo47/4kOsjoMaCNMxWcj3+ggf5HIy5AewM00EADXcKIC9DeAA000ECXMOICtDdAAw000CWMuADtDdBAAw10CSMuQHsDNNBAA13CiAvQ3hwt9BeZfObQe9dnUAAAAABJRU5ErkJggg=="},CeRa:function(e,t,a){"use strict";var r=a("7+uW"),o=(a("miEh"),a("wQkr"),a("MqDE")),s=a.n(o);r.default.component(s.a.name,s.a);var n=a("Wc9H"),i=a.n(n),l=a("IaZV"),c=a.n(l),d=new i.a({id:"zoom-in",use:"zoom-in-usage",viewBox:"0 0 1024 1024",content:''}),u=(c.a.add(d),{props:{title:String,timeColumn:String,dataColumns:Array,data:Array},data:function(){return{enlarge:!1}},computed:{chartOptions:function(){var e={},t=[this.timeColumn];return this.dataColumns.forEach(function(a){var r=a.name,o=a.label;e[r]=o,t.push(r)}),{title:{show:!0,text:this.title},grid:{bottom:40,top:50},legend:{top:5},colors:["#f56c77","#6accab"],settings:{labelMap:e,scale:[!0,!1],lineStyle:{width:1}},data:{columns:t,rows:this.data}}},largeChartOptions:function(){var e={},t=[this.timeColumn];return this.dataColumns.forEach(function(a){var r=a.name,o=a.label;e[r]=o,t.push(r)}),{title:{show:!0,text:this.title},grid:{bottom:40,top:50},legend:{top:5},colors:["#f56c77","#6accab"],settings:{labelMap:e,scale:[!0,!1],lineStyle:{width:1}},data:{columns:t,rows:this.data},dataZoom:[{type:"inside",minValueSpan:12,zoomOnMouseWheel:"alt"},{minValueSpan:12}]}}}}),m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"compare-chart"},[a("ve-line",e._b({},"ve-line",e.chartOptions,!1)),e._v(" "),a("a",{staticClass:"compare-chart-zoom-in",attrs:{href:"javascript:"},on:{click:function(t){e.enlarge=!0}}},[a("icon",{attrs:{name:"zoom-in"}})],1),e._v(" "),a("let-modal",{attrs:{width:"80%"},on:{close:function(t){e.enlarge=!1}},model:{value:e.enlarge,callback:function(t){e.enlarge=t},expression:"enlarge"}},[e.enlarge?a("ve-line",e._b({},"ve-line",e.largeChartOptions,!1)):e._e(),e._v(" "),a("div",{attrs:{slot:"foot"},slot:"foot"})],1)],1)},staticRenderFns:[]};var p=a("VU/8")(u,m,!1,function(e){a("KtFB")},null,null);t.a=p.exports},Cp0g:function(e,t,a){"use strict";a.d(t,"a",function(){return d}),a.d(t,"c",function(){return u}),t.b=function(){return new o.a(function(e,t){c.a.getJSON("/server/api/get_locale").then(function(t){var a=l.a.get("locale");if("[object Object]"==Object.prototype.toString.call(t)){for(var r in t)d.setLocaleMessage(r,t[r]),u.push({localeCode:r,localeName:t[r].localeName,localeMessages:t});a=t[a]?a:"cn",u=t}d.locale=a,e()}).catch(function(e){t(e)})})};var r=a("//Fk"),o=a.n(r),s=a("7+uW"),n=a("TXmL"),i=a("K/Lq"),l=a.n(i),c=a("86n0");s.default.use(n.a),s.default.use(l.a);var d=new n.a({}),u=[]},DQfC:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("7+uW"),o=(a("3NoR"),a("sVYP")),s=a("m6R6"),n=a.n(s),i=a("v/hR"),l=a.n(i),c=a("Cp0g"),d={data:function(){return{serverIcon:n.a,opaIcon:l.a,locale:this.$cookie.get("locale")||"cn",uid:"--",userOptOpen:!1,enableLogin:!1,localeMessages:c.c}},methods:{clickTab:function(e){this.$router.replace(e)},getLoginUid:function(){var e=this;this.$ajax.getJSON("/server/api/get_login_uid").then(function(t){t&&t.uid?e.uid=t.uid:e.uid="***"}).catch(function(t){e.$tip.error("获取用户登录信息: "+(t.err_msg||t.message))})},changeLocale:function(){this.$cookie.set("locale",this.locale,{expires:"1Y"}),location.reload()},checkEnableLogin:function(){var e=this;this.$ajax.getJSON("/server/api/is_enable_login").then(function(t){e.enableLogin=t.enableLogin||!1}).catch(function(e){})}},mounted:function(){this.getLoginUid(),this.checkEnableLogin()}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app_index__header"},[a("div",{staticClass:"main-width"},[a("h1",{staticClass:"hidden"},[e._v("TARS")]),e._v(" "),e._m(0),e._v(" "),a("let-tabs",{staticClass:"tabs",attrs:{center:!0,activekey:e.$route.matched[0]?e.$route.matched[0].path:"/server"},on:{click:e.clickTab}},[a("let-tab-pane",{attrs:{tab:e.$t("header.tab.tab1"),tabkey:"/server",icon:e.serverIcon}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("header.dcache.tab2"),tabkey:"/operation",icon:e.opaIcon}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("header.tab.tab3"),tabkey:"/releasePackage",icon:e.opaIcon}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("header.tab.tab4"),tabkey:"/config",icon:e.opaIcon}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("header.tab.tab5"),tabkey:"/operationManage",icon:e.opaIcon}})],1),e._v(" "),a("div",{staticClass:"language-wrap"},[a("let-select",{attrs:{clearable:!1},on:{change:e.changeLocale},model:{value:e.locale,callback:function(t){e.locale=t},expression:"locale"}},[e._l(e.localeMessages,function(t){return[a("let-option",{attrs:{value:t.localeCode}},[e._v(e._s(t.localeName))])]})],2)],1),e._v(" "),a("div",{staticClass:"user-wrap"},[a("p",{staticClass:"user-info",on:{click:function(t){e.userOptOpen=!e.userOptOpen}}},[a("span",{staticClass:"name toe"},[e._v(e._s(e.uid)+" ")]),e._v(" "),a("i",{directives:[{name:"show",rawName:"v-show",value:e.enableLogin,expression:"enableLogin"}],staticClass:"let-icon let-icon-caret-down",class:{up:e.userOptOpen}}),e._v(" "),a("transition",{attrs:{name:"fade"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.enableLogin&&e.userOptOpen,expression:"enableLogin && userOptOpen"}],staticClass:"user-pop-wrap"},[a("a",{attrs:{href:"/logout"}},[e._v(e._s(e.$t("header.logout")))])])])],1)])],1)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"logo-wrap"},[t("a",{attrs:{href:"/"}},[t("img",{staticClass:"logo",attrs:{src:a("dLd/")}})]),this._v(" "),t("a",{staticClass:"active",attrs:{href:"/dcache.html"}},[t("img",{staticClass:"logo",attrs:{alt:"dcache",src:a("CPgP")}})])])}]};var m={name:"App",components:{AppDcacheHeader:a("VU/8")(d,u,!1,function(e){a("R2dJ")},null,null).exports,AppFooter:a("m8r6").a}},p={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("app-dcache-header"),this._v(" "),t("keep-alive",[t("router-view",{staticClass:"main-width"})],1),this._v(" "),t("app-footer",{staticClass:"app_index__footer"})],1)},staticRenderFns:[]};var h=a("VU/8")(m,p,!1,function(e){a("hVKt")},null,null).exports,f=a("/ocq"),v=a("woOf"),_=a.n(v),g={name:"Server",data:function(){return{treeErrMsg:"加载失败",treeData:null,enableAuth:!1,serverData:{level:5,application:"",server_name:"",set_name:"",set_area:"",set_group:"",module_name:""}}},computed:{base:function(){return"/server/"+this.$route.params.treeid},serverType:function(){return this.$route.params.serverType}},watch:{"$route.params.treeid":function(e){console.log("$route.params.treeid$route.params.treeid"),this.serverData=this.getServerData()},$route:function(e,t){"/server"===e.path&&this.getTreeData()}},methods:{selectTree:function(e,t){if(console.log(t),t.children&&t.children.length)this.$set(t,"expand",!t.expand),t.moduleName&&this.$router.push("/server/1"+t.pid.substr(1)+".6"+t.moduleName+"/cache");else{var a=t.serverType;!a&&(a="tars"),this.$router.push("/server/"+e+"/manage/"+a)}},handleData:function(e,t){var a=this;e&&e.length&&e.forEach(function(e){e.label=e.name,e.nodeKey=e.id,t&&(e.iconClass="tree-icon",e.expand=!0),e.children&&e.children.length&&a.handleData(e.children)})},getTreeData:function(){var e=this;this.treeData=null,this.$nextTick(function(){var t=e.$loading.show({target:e.$refs.treeLoading});e.$ajax.getJSON("/server/api/dtree").then(function(a){t.hide(),e.treeData=a,e.handleData(e.treeData,!0)}).catch(function(a){t.hide(),console.error(a),e.treeErrMsg=a.err_msg||a.message||"加载失败",e.treeData=!1})})},getServerData:function(){if(!this.$route.params.treeid)return{};var e={level:5,application:"",server_name:"",set_name:"",set_area:"",set_group:""};return this.$route.params.treeid.split(".").forEach(function(t){console.log("item",t);var a=+t.substr(0,1),r=t.substr(1);switch(a){case 1:e.application=r;break;case 2:e.set_name=r;break;case 3:e.set_area=r;break;case 4:e.set_group=r;break;case 5:e.server_name=r;break;case 6:e.module_name=r}e.level=a}),e},clickTab:function(e){var t=this.isServerManage(e),a=this.isServerManage(this.$route.path),r=t&&a?{path:e,query:{time:Date.now()}}:{path:e,query:{}};this.$router.push(_()({},this.$route,r))},isServerManage:function(e){return e.indexOf("/server")>-1&&(e.indexOf("/manage")>-1||e.indexOf("/cache")>-1)},isTrueTreeLevel:function(){var e=this.$route.path.split("/"),t=e[e.length-1],a=!1;5===this.serverData.level||"publish"!==t&&"server-monitor"!==t&&"property-monitor"!==t&&"user-manage"!==t||(a=!0),5!==this.serverData.level&&4!==this.serverData.level&&1!==this.serverData.level&&"config"===t&&(a=!0),a&&this.$router.replace("manage")}},created:function(){this.serverData=this.getServerData(),this.isTrueTreeLevel()},mounted:function(){this.getTreeData(),window.dcacheIndex=this}},b={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"page_server"},[e.treeData&&e.treeData.length?r("let-tree",{staticClass:"left-tree",attrs:{data:e.treeData,activeKey:e.$route.params.treeid},on:{"on-select":e.selectTree}}):e._e(),e._v(" "),e.treeData&&!e.treeData.length?r("div",{staticClass:"left-tree"},[r("p",{staticClass:"loading"},[e._v(e._s(e.$t("common.noService")))])]):e._e(),e._v(" "),e.treeData?e._e():r("div",{ref:"treeLoading",staticClass:"left-tree"},[!1===e.treeData?r("div",{staticClass:"loading"},[r("p",[e._v(e._s(e.treeErrMsg))]),e._v(" "),r("a",{attrs:{href:"javascript:;"},on:{click:e.getTreeData}},[e._v(e._s(e.$t("common.reTry")))])]):e._e()]),e._v(" "),this.$route.params.treeid?r("div",{staticClass:"right-view"},[r("let-tabs",{attrs:{activekey:e.$route.path},on:{click:e.clickTab}},[6!==e.serverData.level?r("let-tab-pane",{attrs:{tabkey:e.base+"/manage/"+e.serverType,tab:e.$t("header.tab.tab1")}}):e._e(),e._v(" "),6===e.serverData.level?r("let-tab-pane",{attrs:{tabkey:e.base+"/cache",tab:e.$t("header.tab.tab1")}}):e._e(),e._v(" "),5===e.serverData.level&&"dcache"!==e.serverType?r("let-tab-pane",{attrs:{tabkey:e.base+"/publish/"+e.serverType,tab:e.$t("index.rightView.tab.patch")}}):e._e(),e._v(" "),5!==e.serverData.level&&4!==e.serverData.level&&1!==e.serverData.level||"dcache"===e.serverType?e._e():r("let-tab-pane",{attrs:{tabkey:e.base+"/config/"+e.serverType,tab:5===e.serverData.level?e.$t("index.rightView.tab.serviceConfig"):4===e.serverData.level?e.$t("index.rightView.tab.setConfig"):1===e.serverData.level?e.$t("index.rightView.tab.appConfig"):""}}),e._v(" "),5===e.serverData.level?r("let-tab-pane",{attrs:{tabkey:e.base+"/server-monitor/"+e.serverType,tab:e.$t("index.rightView.tab.statMonitor")}}):e._e(),e._v(" "),5===e.serverData.level&&"dcache"!==this.$route.params.serverType?r("let-tab-pane",{attrs:{tabkey:e.base+"/property-monitor/"+e.serverType,tab:e.$t("index.rightView.tab.propertyMonitor")}}):e._e(),e._v(" "),5===e.serverData.level&&e.enableAuth?r("let-tab-pane",{attrs:{tabkey:e.base+"/user-manage/"+e.serverType,tab:e.$t("index.rightView.tab.privileage")}}):e._e(),e._v(" "),6===e.serverData.level?r("let-tab-pane",{attrs:{tabkey:e.base+"/moduleCache",tab:e.$t("cache.config.configuration")}}):e._e(),e._v(" "),6===e.serverData.level?r("let-tab-pane",{attrs:{tabkey:e.base+"/propertyMonitor",tab:e.$t("index.rightView.tab.propertyMonitor")}}):e._e()],1),e._v(" "),r("router-view",{key:e.$route.params.treeid,ref:"childView",staticClass:"page_server_child"})],1):r("div",{staticClass:"right-view"},[r("div",{staticClass:"empty"},[r("img",{staticClass:"package",attrs:{src:a("CZtL")}}),e._v(" "),r("p",{staticClass:"title"},[e._v(e._s(e.$t("index.rightView.title")))]),e._v(" "),r("p",{staticClass:"notice",domProps:{innerHTML:e._s(e.$t("index.rightView.tips"))}})])])],1)},staticRenderFns:[]};var $=a("VU/8")(g,b,!1,function(e){a("wU5I")},null,null).exports,y=(a("KsY+"),a("+6Bu")),w=a.n(y),M=a("//Fk"),k=a.n(M),x=a("Dd8w"),S=a.n(x),C=a("Xxa5"),L=a.n(C),N=a("exGp"),D=a.n(N),A=a("mvHQ"),T=a.n(A),q=a("dZBD"),F=a.n(q),P=a("mw3O"),R=a.n(P),O=F.a.create({baseURL:"/pages/server/api",timeout:25e3,transformRequest:[function(e,t){return"multipart/form-data"===t["Content-Type"]?e:"application/json"===t["Content-Type"]?T()(e):R.a.stringify(e)}]});O.interceptors.request.use(function(e){return e},function(e){throw new Error(e)}),O.interceptors.response.use(function(e){var t=e.data;if(200===t.ret_code)return t.data;throw new Error(t.err_msg)},function(e){throw new Error(e)});var I=O;function j(e){var t=e.servers,a=e.appName,r=e.moduleName,o=e.status,s=void 0===o?"1":o,n=e.cache_version,i=e.srcGroupName,l=void 0===i?[]:i,c=e.dstGroupName;return I({method:"post",url:"/cache/expandModule",data:{appName:a,moduleName:r,servers:t,status:s,cache_version:n,srcGroupName:l,dstGroupName:void 0===c?[]:c}})}function E(e){var t=e.servers,a=e.appName,r=e.moduleName,o=e.cache_version,s=e.srcGroupName,n=e.dstGroupName,i=e.transferData;return I({method:"post",url:"/cache/transferDCache",data:{servers:t,appName:a,moduleName:r,cache_version:o,srcGroupName:s,dstGroupName:n,transferData:i}})}function z(e){var t=e.appName,a=e.moduleName,r=e.srcGroupName,o=e.dstGroupName,s=e.transferData;return I({method:"post",url:"/cache/transferDCacheGroup",data:{appName:t,moduleName:a,srcGroupName:r,dstGroupName:o,transferData:s}})}function V(e){var t=e.appName,a=e.moduleName,r=e.type,o=e.srcGroupName;return I({method:"get",url:"/cache/hasOperation",params:{appName:t,moduleName:a,type:r,srcGroupName:o}})}function G(e){var t=e.appName,a=void 0===t?"":t,r=e.moduleName,o=void 0===r?"":r,s=e.type,n=void 0===s?"1":s,i=e.srcGroupName,l=void 0===i?[]:i,c=e.dstGroupName;return I({method:"post",url:"/cache/stopTransfer",data:{appName:a,moduleName:o,type:n,srcGroupName:l,dstGroupName:void 0===c?[]:c}})}function W(e){var t=e.appName,a=void 0===t?"":t,r=e.moduleName,o=void 0===r?"":r,s=e.type,n=void 0===s?"1":s,i=e.srcGroupName,l=void 0===i?[]:i,c=e.dstGroupName;return I({method:"post",url:"/cache/restartTransfer",data:{appName:a,moduleName:o,type:n,srcGroupName:l,dstGroupName:void 0===c?[]:c}})}function J(e){var t=e.appName,a=void 0===t?"":t,r=e.moduleName,o=void 0===r?"":r,s=e.type,n=void 0===s?"1":s,i=e.srcGroupName,l=void 0===i?[]:i,c=e.dstGroupName;return I({method:"post",url:"/cache/deleteTransfer",data:{appName:a,moduleName:o,type:n,srcGroupName:l,dstGroupName:void 0===c?[]:c}})}function B(e){var t=e.appName,a=void 0===t?"":t,r=e.moduleName,o=void 0===r?"":r,s=e.groupName;return I({method:"post",url:"/cache/switchServer",data:{appName:a,moduleName:o,groupName:void 0===s?"":s}})}function U(e){var t=e.appName,a=e.moduleName,r=e.groupName,o=e.mirrorIdc,s=e.dbFlag,n=e.enableErase;return I({method:"post",url:"/cache/recoverMirrorStatus",data:{appName:t,moduleName:a,groupName:r,mirrorIdc:o,dbFlag:s,enableErase:n}})}function H(e){var t=e.unType,a=e.appName,r=e.moduleName,o=e.serverNames;return I({method:"post",url:"/cache/uninstall4DCache",data:{unType:t,appName:a,moduleName:r,serverNames:o}})}function K(e){var t=e.appName,a=e.moduleName;return I({method:"get",url:"/cache/getCacheServerList",params:{appName:t,moduleName:a}})}function Z(e){var t=e.appName,a=e.moduleName;return I({method:"get",url:"/cache/getModuleConfig",params:{appName:t,moduleName:a}})}function Y(e){var t=e.applyId;return I({method:"get",url:"/cache/install_and_publish",params:{applyId:t}})}function X(e){var t=e.thedate,a=e.predate,r=e.startshowtime,o=e.endshowtime,s=e.moduleName,n=e.serverName;return I({method:"get",url:"/cache/queryProperptyData",params:{thedate:t,predate:a,startshowtime:r,endshowtime:o,moduleName:s,serverName:n}})}function Q(e){var t=e.application,a=void 0===t?"DCache":t,r=e.moduleName,o=void 0===r?"DCacheServerGroup":r,s=e.currPage,n=void 0===s?1:s,i=e.pageSize,l=void 0===i?5:i,c=e.cacheVersion;return I({method:"get",url:"/server_patch_list",params:{application:a,module_name:o,curr_page:n,page_size:l,package_type:c}})}function ee(e){var t=e.serial,a=void 0!==t&&t,r=e.items;return I({method:"post",url:"/add_task",data:{serial:a,items:void 0===r?[{server_id:"",command:"patch_tars",parameters:{patch_id:0,bak_flag:"",group_name:""}}]:r},headers:{"Content-Type":"application/json"}})}function te(e){var t=e.moduleId;return I({method:"get",url:"/get_module_config_info",params:{moduleId:t}})}function ae(e){var t=e.node_name;return I({method:"get",url:"/auto_port",params:{node_name:t}})}function re(e){var t=e.application,a=void 0===t?"":t,r=e.server_name,o=void 0===r?"":r,s=e.set,n=void 0===s?"":s,i=e.node_name,l=void 0===i?"":i,c=e.copy_node_config,d=void 0!==c&&c,u=e.expand_preview_servers;return I({method:"post",url:"/expand_server",data:{application:a,server_name:o,set:n,node_name:l,copy_node_config:d,expand_preview_servers:void 0===u?[{bind_ip:"",node_name:"",obj_name:"",port:"",set:""}]:u},headers:{"Content-Type":"application/json"}})}var oe={name:"ServerManage",data:function(){return{serverType:this.$route.params.serverType||"tars",serverData:{level:5,application:"",server_name:"",set_name:"",set_area:"",set_group:""},serverList:[],serverNotifyList:[],pageNum:1,pageSize:20,total:1,serverTypes:["tars_cpp","tars_java","tars_php","tars_nodejs","not_tars","tars_go"],configModal:{show:!1,model:null},servantModal:{show:!1,model:null,currentServer:null},servantDetailModal:{show:!1,isNew:!0,model:null},logLevels:["NONE","DEBUG","INFO","WARN","ERROR"],moreCmdModal:{show:!1,model:null,currentServer:null},expandModal:{show:!1,model:{application:"DCache",server_name:"",set:"",node_name:"",expand_nodes:[],enable_set:!1,set_name:"",set_area:"",set_group:"",copy_node_config:!1},expandIpStr:""},failCount:0}},computed:{showOthers:function(){return 5===this.serverData.level},isEndpointValid:function(){return!(!this.servantDetailModal.model||!this.servantDetailModal.model.endpoint)&&this.checkServantEndpoint(this.servantDetailModal.model.endpoint)}},watch:{$route:function(e,t){this.getServerList(),this.getServerNotifyList(1)}},methods:{getServerList:function(){var e,t=this,a=this.$refs.serverListLoading.$loading.show();this.$ajax.getJSON("/server/api/server_list",{tree_node_id:this.$route.params.treeid}).then((e=D()(L.a.mark(function e(r){return L.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a.hide(),t.serverList=r,"dcache"!==t.serverType){e.next=17;break}if(!(t.serverList.length>0)){e.next=6;break}return e.abrupt("return",!1);case 6:return e.prev=6,e.next=9,t.$ajax.postJSON("/server/api/cache/removeServer",{server_name:t.$route.params.treeid.split(".")[1].substr(1)});case 9:t.$parent.getTreeData(),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(6),console.error(e.t0);case 15:e.next=45;break;case 17:if("proxy"!==t.serverType){e.next=32;break}if(!(t.serverList.length>0)){e.next=21;break}return e.abrupt("return",!1);case 21:return e.prev=21,e.next=24,t.$ajax.postJSON("/server/api/cache/removeProxy",{server_name:t.$route.params.treeid.split(".")[1].substr(1)});case 24:t.$parent.getTreeData(),e.next=30;break;case 27:e.prev=27,e.t1=e.catch(21),console.error(e.t1);case 30:e.next=45;break;case 32:if("router"!==t.serverType){e.next=45;break}if(!(t.serverList.length>0)){e.next=36;break}return e.abrupt("return",!1);case 36:return e.prev=36,e.next=39,t.$ajax.postJSON("/server/api/cache/removeRouter",{server_name:t.$route.params.treeid.split(".")[1].substr(1)});case 39:t.$parent.getTreeData(),e.next=45;break;case 42:e.prev=42,e.t2=e.catch(36),console.error(e.t2);case 45:case"end":return e.stop()}},e,t,[[6,12],[21,27],[36,42]])})),function(t){return e.apply(this,arguments)})).catch(function(e){a.hide(),t.$confirm(e.err_msg||e.message||t.$t("serverList.msg.fail"),t.$t("common.alert")).then(function(){t.getServerList()})})},getServerNotifyList:function(e){var t=this;if(this.showOthers){var a=this.$refs.serverNotifyListLoading.$loading.show();this.$ajax.getJSON("/server/api/server_notify_list",{tree_node_id:this.$route.params.treeid,page_size:this.pageSize,curr_page:e}).then(function(r){a.hide(),t.pageNum=e,t.total=Math.ceil(r.count/t.pageSize),t.serverNotifyList=r.rows}).catch(function(e){a.hide(),t.$tip.error(t.$t("serverList.restart.failed")+": "+(e.err_msg||e.message))})}},gotoPage:function(e){this.getServerNotifyList(e)},getTemplateList:function(){var e=this;this.$ajax.getJSON("/server/api/template_name_list").then(function(t){e.configModal.model?e.configModal.model.templates=t:e.configModal.model={templates:t}}).catch(function(t){e.$tip.error(e.$t("serverList.restart.failed")+": "+(t.err_msg||t.message))})},getServerConfig:function(e){var t=this,a=this.$loading.show({target:this.$refs.configFormLoading});this.$ajax.getJSON("/server/api/server",{id:e}).then(function(e){a.hide(),t.configModal.model?t.configModal.model=_()({},t.configModal.model,e):(e.templates=[],t.configModal.model=e)}).catch(function(e){a.hide(),t.closeConfigModal(),t.$tip.error(t.$t("serverList.restart.failed")+": "+(e.err_msg||e.message))})},configServer:function(e){this.configModal.show=!0,this.getTemplateList(),this.getServerConfig(e)},saveConfig:function(){var e=this;if(this.$refs.configForm.validate()){var t=this.$Loading.show();this.$ajax.postJSON("/server/api/update_server",S()({isBak:this.configModal.model.bak_flag},this.configModal.model)).then(function(a){t.hide(),e.serverList=e.serverList.map(function(e){return e.id===a.id?a:e}),e.closeConfigModal(),e.$tip.success(e.$t("serverList.restart.success"))}).catch(function(a){t.hide(),e.$tip.error(e.$t("serverList.restart.failed")+": "+(a.message||a.err_msg))})}},closeConfigModal:function(){this.$refs.configForm&&this.$refs.configForm.resetValid(),this.configModal.show=!1,this.configModal.model=null},checkTaskStatus:function(e,t){var a=this;return new k.a(function(r,o){a.$ajax.getJSON("/server/api/task",{task_no:e}).then(function(t){1===t.status||0===t.status?setTimeout(function(){r(a.checkTaskStatus(e))},3e3):2===t.status?r("taskid: "+t.task_no):o(new Error("taskid: "+t.task_no))}).catch(function(s){t?o(new Error(s.err_msg||s.message||a.$t("common.networkErr"))):setTimeout(function(){r(a.checkTaskStatus(e,!0))},3e3)})})},addTask:function(e,t,a){var r=this,o=this.$Loading.show();return this.$ajax.postJSON("/server/api/add_task",{serial:!0,items:[{server_id:e,command:t}]}).then(function(e){return r.checkTaskStatus(e).then(function(e){o.hide(),r.getServerList(),r.$tip.success({title:a.success,message:e})}).catch(function(e){throw e})}).catch(function(e){o.hide(),r.getServerList(),r.$tip.error({title:a.error,message:e.err_msg||e.message||r.$t("common.networkErr")})})},restartServer:function(e){this.addTask(e,"restart",{success:this.$t("serverList.restart.success"),error:this.$t("serverList.restart.failed")})},stopServer:function(e){var t=this;this.$confirm(this.$t("serverList.stopService.msg.stopService"),this.$t("common.alert")).then(function(){t.addTask(e,"stop",{success:t.$t("serverList.restart.success"),error:t.$t("serverList.restart.failed")})})},undeployServer:function(e){var t=this,a=e.id,r=e.server_name;w()(e,["id","server_name"]);return D()(L.a.mark(function e(){return L.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t.$confirm(t.$t("serverList.dlg.msg.undeploy"),t.$t("common.alert")).then(D()(L.a.mark(function e(){var o,s;return L.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.serverList,s=t.serverType,!(["proxy","router"].indexOf(s)>-1&&1===o.length)){e.next=15;break}return e.next=4,t.$ajax.getJSON("/server/api/cache/hasModule",{serverType:s,serverName:r});case 4:if(!e.sent){e.next=7;break}return e.abrupt("return",t.$tip.warning(t.$t("pub.dlg.hasModule")));case 7:return e.prev=7,e.next=10,t.$confirm(t.$t("pub.dlg.cantUseApply"));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(7),e.abrupt("return",!1);case 15:return e.prev=15,e.next=18,t.addTask(a,"undeploy_tars",{success:t.$t("serverList.restart.success"),error:t.$t("serverList.restart.failed")});case 18:e.next=22;break;case 20:e.prev=20,e.t1=e.catch(15);case 22:return e.prev=22,t.closeMoreCmdModal(),e.finish(22);case 25:case"end":return e.stop()}},e,t,[[7,12],[15,20,22,25]])})));case 1:case"end":return e.stop()}},e,t)}))()},manageServant:function(e){var t=this;this.servantModal.show=!0;var a=this.$loading.show({target:this.$refs.servantModalLoading});this.$ajax.getJSON("/server/api/adapter_conf_list",{id:e.id}).then(function(r){a.hide(),t.servantModal.model=r,t.servantModal.currentServer=e}).catch(function(e){a.hide(),t.$tip.error(t.$t("serverList.restart.failed")+": "+(e.err_msg||e.message))})},closeServantModal:function(){this.servantModal.show=!1,this.servantModal.model=null,this.servantModal.currentServer=null},configServant:function(e){if(this.servantDetailModal.model={application:this.servantModal.currentServer.application,server_name:this.servantModal.currentServer.server_name,obj_name:"",node_name:"",endpoint:"",servant:"",thread_num:"",max_connections:"200000",queuecap:"10000",queuetimeout:"60000",allow_ip:"",protocol:"not_tars",handlegroup:""},this.servantDetailModal.isNew=!0,e){var t=this.servantModal.model.find(function(t){return t.id===e});t.obj_name=t.servant.split(".")[2],this.servantDetailModal.model=_()({},this.servantDetailModal.model,t),this.servantDetailModal.isNew=!1}this.servantDetailModal.show=!0},closeServantDetailModal:function(){this.$refs.servantDetailForm&&this.$refs.servantDetailForm.resetValid(),this.servantDetailModal.show=!1,this.servantDetailModal.model=null},checkServantEndpoint:function(e){var t=e.split(/\s-/),a=/^h\s(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/i,r=/^t\s([1-9]|[1-9]\d+)$/i,o=/^p\s\d{4,5}$/i,s=!0;if(/^tcp|udp$/i.test(t[0])){for(var n=0,i=1;i65535||n++,o=null}s=3===n}else s=!1;return s},saveServantDetail:function(){var e=this;if(this.$refs.servantDetailForm.validate()){var t=this.$Loading.show();if(this.servantDetailModal.isNew){var a=this.servantDetailModal.model;a.servant=[a.application,a.server_name,a.obj_name].join("."),this.$ajax.postJSON("/server/api/add_adapter_conf",a).then(function(a){t.hide(),e.servantModal.model.unshift(a),e.$tip.success(e.$t("common.success")),e.closeServantDetailModal()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.err_msg||a.message))})}else this.servantDetailModal.model.servant=this.servantDetailModal.model.application+"."+this.servantDetailModal.model.server_name+"."+this.servantDetailModal.model.obj_name,this.$ajax.postJSON("/server/api/update_adapter_conf",this.servantDetailModal.model).then(function(a){t.hide(),e.servantModal.model=e.servantModal.model.map(function(e){return e.id===a.id?a:e}),e.$tip.success(e.$t("common.success")),e.closeServantDetailModal()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.err_msg||a.message))})}},deleteServant:function(e){var t=this;this.$confirm(this.$t("serverList.servant.a"),this.$t("common.alert")).then(function(){var a=t.$Loading.show();t.$ajax.getJSON("/server/api/delete_adapter_conf",{id:e}).then(function(r){a.hide(),t.servantModal.model=t.servantModal.model.map(function(t){if(t.id!==e)return t}).filter(function(e){return e}),t.$tip.success(t.$t("common.success"))}).catch(function(e){a.hide(),t.$tip.error(t.$t("common.error")+": "+(e.err_msg||e.message))})})},showMoreCmd:function(e){var t=this;this.moreCmdModal.model={selected:"setloglevel",setloglevel:"NONE",loadconfig:"",command:"",configs:null},this.moreCmdModal.unwatch=this.$watch("moreCmdModal.model.selected",function(){t.$refs.moreCmdForm&&t.$refs.moreCmdForm.resetValid()}),this.moreCmdModal.show=!0,this.moreCmdModal.currentServer=e,this.$ajax.getJSON("/server/api/config_file_list",{level:5,application:e.application,server_name:e.server_name}).then(function(e){t.moreCmdModal.model&&(t.moreCmdModal.model.configs=e)}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.err_msg||e.message))})},sendCommand:function(e,t,a){var r=this,o=this.$Loading.show();this.$ajax.getJSON("/server/api/send_command",{server_ids:e,command:t}).then(function(e){o.hide();var t=e[0].err_msg.replace(/\n/g,"
");if(0!==e[0].ret_code)throw new Error(t);var s={title:r.$t("common.success"),message:t};a&&(s.duration=0),r.$tip.success(s)}).catch(function(e){o.hide(),r.$tip.error({title:r.$t("common.error"),message:e.err_msg||e.message})})},invokeMoreCmd:function(){var e=this.moreCmdModal.model,t=this.moreCmdModal.currentServer;"undeploy_tars"===e.selected?this.undeployServer(t):"setloglevel"===e.selected?this.sendCommand(t.id,"tars.setloglevel "+e.setloglevel):"loadconfig"===e.selected&&this.$refs.moreCmdForm.validate()?this.sendCommand(t.id,"tars.loadconfig "+e.loadconfig):"command"===e.selected&&this.$refs.moreCmdForm.validate()?this.sendCommand(t.id,e.command):"connection"===e.selected&&this.sendCommand(t.id,"tars.connection",!0)},closeMoreCmdModal:function(){this.$refs.moreCmdForm&&this.$refs.moreCmdForm.resetValid(),this.moreCmdModal.unwatch&&this.moreCmdModal.unwatch(),this.moreCmdModal.show=!1,this.moreCmdModal.model=null},handleNoPublishedTime:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$t("pub.dlg.unpublished");return"0000:00:00 00:00:00"===e?t:e},openExpandModal:function(e){var t=e.server_name,a=e.node_name;this.expandModal.show=!0,this.expandModal.model.server_name=t,this.expandModal.model.node_name=a},expandService:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n,i,l,c,d,u,m,p;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.$refs.expandForm.validate()){t.next=45;break}return(a=_()({},e.expandModal.model)).expand_nodes=e.expandModal.expandIpStr.trim().split(/[,;\n]/),r=e.$Loading.show(),t.prev=4,t.next=7,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,f=(h=a).application,v=void 0===f?"":f,g=h.server_name,b=void 0===g?"":g,$=h.set,y=void 0===$?"":$,w=h.node_name,M=void 0===w?"":w,k=h.expand_nodes,x=void 0===k?[""]:k,S=h.enable_set,C=void 0!==S&&S,L=h.set_name,N=void 0===L?"":L,D=h.set_area,A=void 0===D?"":D,T=h.set_group,q=void 0===T?"":T,F=h.copy_node_config,I({method:"post",url:"/expand_server_preview",data:{application:v,server_name:b,set:y,node_name:M,expand_nodes:x,enable_set:C,set_name:N,set_area:A,set_group:q,copy_node_config:void 0!==F&&F},headers:{"Content-Type":"application/json"}});case 7:if(o=t.sent){t.next=10;break}throw new Error(e.$t("serviceExpand.form.errTips.noneNodes"));case 10:return s=o.filter(function(t){return t.status===e.$t("serviceExpand.form.noExpand")}),n=[],i=[],s.forEach(function(e){i.push(e.bind_ip)}),t.next=16,ae({node_name:i.join(";")});case 16:return t.sent.forEach(function(t,a){e.$set(s[a],"port",String(t.port||""))}),s.forEach(function(e){n.push({bind_ip:e.bind_ip,node_name:e.node_name,obj_name:e.obj_name,port:e.port,set:e.set})}),l={application:a.application,server_name:a.server_name,set:a.set,node_name:a.node_name,copy_node_config:a.copy_node_config,expand_preview_servers:n},t.next=22,re(l);case 22:return c=t.sent,d=c.server_conf,u={serial:!1,items:[]},m=e.serverType,p="","router"===m?p="RouterServer":"proxy"===m?p="ProxyServer":"dcache"===m&&(p="DCacheServerGroup"),d.forEach(function(e){u.items.push({server_id:e.id.toString(),command:"patch_tars",parameters:{patch_id:e.patch_version,bak_flag:e.bak_flag,update_text:"",group_name:p}})}),t.next=31,ee(u);case 31:t.sent,e.$tip.success(e.$t("serviceExpand.form.errTips.success")),e.closeExpandModal(),e.getServerList(),e.getServerNotifyList(1),t.next=42;break;case 38:t.prev=38,t.t0=t.catch(4),console.error(t.t0),e.$tip.error(t.t0);case 42:return t.prev=42,r.hide(),t.finish(42);case 45:case"end":return t.stop()}var h,f,v,g,b,$,y,w,M,k,x,S,C,L,N,D,A,T,q,F},t,e,[[4,38,42,45]])}))()},closeExpandModal:function(){this.$refs.expandForm&&this.$refs.expandForm.resetValid(),this.expandModal.show=!1,this.expandModal.model={application:"DCache",server_name:"",set:"",node_name:"",expand_nodes:[],enable_set:!1,set_name:"",set_area:"",set_group:"",copy_node_config:!1},this.expandModal.expandIpStr=""}},created:function(){this.serverData=this.$parent.getServerData(),window.manage=this},mounted:function(){this.getServerList(),this.getServerNotifyList(1)}},se={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_server_manage"},[e.serverList?a("let-table",{ref:"serverListLoading",attrs:{data:e.serverList,title:e.$t("serverList.title.serverList"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("serverList.table.th.service"),prop:"server_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.ip"),prop:"node_name",width:"140px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.enableSet")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.enable_set?a("p",{staticStyle:{"max-width":"200px"}},[e._v("\n "+e._s(e.$t("common.set.setName"))+":"+e._s(t.row.set_name)),a("br"),e._v("\n "+e._s(e.$t("common.set.setArea"))+":"+e._s(t.row.set_area)),a("br"),e._v("\n "+e._s(e.$t("common.set.setGroup"))+":"+e._s(t.row.set_group)+"\n ")]):a("span",[e._v(e._s(e.$t("common.disable")))])]}}],null,!1,1670625483)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.configStatus"),width:"90px"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"===e.row.setting_state?"status-active":"status-off"})]}}],null,!1,3224184510)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.currStatus"),width:"65px"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"===e.row.present_state?"status-active":"activating"===e.row.present_state?"status-activating":"status-off"})]}}],null,!1,4116932289)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.processID"),prop:"process_id",width:"80px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.version"),prop:"patch_version",width:"68px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.time")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{"word-break":"break-word"}},[e._v(e._s(e.handleNoPublishedTime(t.row.patch_time)))])]}}],null,!1,3144837894)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"260px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.configServer(t.row.id)}}},[e._v(e._s(e.$t("operate.update")))]),e._v(" "),"proxy"===e.serverType||"router"===e.serverType?a("let-table-operation",{on:{click:function(a){return e.openExpandModal(t.row)}}},[e._v(e._s(e.$t("dcache.expand")))]):e._e(),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.restartServer(t.row.id)}}},[e._v(e._s(e.$t("operate.restart")))]),e._v(" "),a("let-table-operation",{staticClass:"danger",on:{click:function(a){return e.stopServer(t.row.id)}}},[e._v(e._s(e.$t("operate.stop")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.manageServant(t.row)}}},[e._v(e._s(e.$t("operate.servant")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.showMoreCmd(t.row)}}},[e._v(e._s(e.$t("operate.more")))])]}}],null,!1,2347587305)})],1):e._e(),e._v(" "),e.serverNotifyList&&e.showOthers?a("let-table",{ref:"serverNotifyListLoading",attrs:{data:e.serverNotifyList,title:e.$t("serverList.title.serverStatus"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("common.time"),prop:"notifytime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.serviceID"),prop:"server_id"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.threadID"),prop:"thread_id"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.result"),prop:"result"}})],1):e._e(),e._v(" "),a("let-pagination",{staticStyle:{"margin-bottom":"32px"},attrs:{page:e.pageNum,total:e.total},on:{change:e.gotoPage}}),e._v(" "),a("let-modal",{attrs:{title:e.$t("serviceExpand.title"),width:"800px",footShow:!(!e.expandModal.model||!e.expandModal.model.server_name)},on:{"on-confirm":e.expandService,close:e.closeExpandModal,"on-cancel":e.closeExpandModal},model:{value:e.expandModal.show,callback:function(t){e.$set(e.expandModal,"show",t)},expression:"expandModal.show"}},[e.expandModal.model&&e.expandModal.model.server_name?a("let-form",{ref:"expandForm",staticClass:"two-columns",attrs:{itemWidth:"360px",columns:2}},[a("let-form-item",{attrs:{label:e.$t("common.service")}},[e._v(e._s(e.expandModal.model.server_name))]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.ip")}},[e._v(e._s(e.expandModal.model.node_name))]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serviceExpand.form.tarIP"),itemWidth:"100%",required:""}},[a("let-input",{attrs:{type:"textarea",rows:3,placeholder:e.$t("serviceExpand.form.placeholder"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.expandModal.expandIpStr,callback:function(t){e.$set(e.expandModal,"expandIpStr",t)},expression:"expandModal.expandIpStr"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serviceExpand.form.nodeConfig"),itemWidth:"100%"}},[a("let-checkbox",{model:{value:e.expandModal.model.copy_node_config,callback:function(t){e.$set(e.expandModal.model,"copy_node_config",t)},expression:"expandModal.model.copy_node_config"}},[e._v("\n "+e._s(e.$t("serviceExpand.form.copyNodeConfig"))+"\n ")])],1)],1):e._e()],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("serverList.dlg.title.editService"),width:"800px",footShow:!(!e.configModal.model||!e.configModal.model.server_name)},on:{"on-confirm":e.saveConfig,close:e.closeConfigModal,"on-cancel":e.closeConfigModal},model:{value:e.configModal.show,callback:function(t){e.$set(e.configModal,"show",t)},expression:"configModal.show"}},[e.configModal.model&&e.configModal.model.server_name?a("let-form",{ref:"configForm",staticClass:"two-columns",attrs:{itemWidth:"360px",columns:2}},[a("let-form-item",{attrs:{label:e.$t("common.service")}},[e._v(e._s(e.configModal.model.server_name))]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.ip")}},[e._v(e._s(e.configModal.model.node_name))]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.isBackup"),required:""}},[a("let-radio-group",{attrs:{size:"small",data:[{value:!0,text:e.$t("common.yes")},{value:!1,text:e.$t("common.no")}]},model:{value:e.configModal.model.bak_flag,callback:function(t){e.$set(e.configModal.model,"bak_flag",t)},expression:"configModal.model.bak_flag"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.template"),required:""}},[e.configModal.model.templates&&e.configModal.model.templates.length?a("let-select",{attrs:{size:"small",required:""},model:{value:e.configModal.model.template_name,callback:function(t){e.$set(e.configModal.model,"template_name",t)},expression:"configModal.model.template_name"}},e._l(e.configModal.model.templates,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1):a("span",[e._v(e._s(e.configModal.model.template_name))])],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.serviceType"),required:""}},[a("let-select",{attrs:{size:"small",required:""},model:{value:e.configModal.model.server_type,callback:function(t){e.$set(e.configModal.model,"server_type",t)},expression:"configModal.model.server_type"}},e._l(e.serverTypes,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.table.th.enableSet"),required:""}},[a("let-radio-group",{attrs:{size:"small",data:[{value:!0,text:e.$t("common.enable")},{value:!1,text:e.$t("common.disable")}]},model:{value:e.configModal.model.enable_set,callback:function(t){e.$set(e.configModal.model,"enable_set",t)},expression:"configModal.model.enable_set"}})],1),e._v(" "),e.configModal.model.enable_set?a("let-form-item",{attrs:{label:e.$t("common.set.setName"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.errMsg.setName"),required:"",pattern:"^[a-z]+$","pattern-tip":e.$t("serverList.dlg.errMsg.setName")},model:{value:e.configModal.model.set_name,callback:function(t){e.$set(e.configModal.model,"set_name",t)},expression:"configModal.model.set_name"}})],1):e._e(),e._v(" "),e.configModal.model.enable_set?a("let-form-item",{attrs:{label:e.$t("common.set.setArea"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.errMsg.setArea"),required:"",pattern:"^[a-z]+$","pattern-tip":e.$t("serverList.dlg.errMsg.setArea")},model:{value:e.configModal.model.set_area,callback:function(t){e.$set(e.configModal.model,"set_area",t)},expression:"configModal.model.set_area"}})],1):e._e(),e._v(" "),e.configModal.model.enable_set?a("let-form-item",{attrs:{label:e.$t("common.set.setGroup"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.errMsg.setGroup"),required:"",pattern:"^[0-9\\*]+$","pattern-tip":e.$t("serverList.dlg.errMsg.setGroup")},model:{value:e.configModal.model.set_group,callback:function(t){e.$set(e.configModal.model,"set_group",t)},expression:"configModal.model.set_group"}})],1):e._e(),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.asyncThread"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.placeholder.thread"),required:"",pattern:"tars_nodejs"===e.configModal.model.server_type?"^[1-9][0-9]*$":"^([3-9]|[1-9][0-9]+)$","pattern-tip":"$t('serverList.dlg.placeholder.thread')"},model:{value:e.configModal.model.async_thread_num,callback:function(t){e.$set(e.configModal.model,"async_thread_num",t)},expression:"configModal.model.async_thread_num"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.defaultPath")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.base_path,callback:function(t){e.$set(e.configModal.model,"base_path",t)},expression:"configModal.model.base_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.exePath")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.exe_path,callback:function(t){e.$set(e.configModal.model,"exe_path",t)},expression:"configModal.model.exe_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.startScript")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.start_script_path,callback:function(t){e.$set(e.configModal.model,"start_script_path",t)},expression:"configModal.model.start_script_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.stopScript")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.stop_script_path,callback:function(t){e.$set(e.configModal.model,"stop_script_path",t)},expression:"configModal.model.stop_script_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.monitorScript"),itemWidth:"724px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.monitor_script_path,callback:function(t){e.$set(e.configModal.model,"monitor_script_path",t)},expression:"configModal.model.monitor_script_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.privateTemplate"),labelWidth:"150px",itemWidth:"724px"}},[a("let-input",{attrs:{size:"large",type:"textarea",rows:4},model:{value:e.configModal.model.profile,callback:function(t){e.$set(e.configModal.model,"profile",t)},expression:"configModal.model.profile"}})],1)],1):a("div",{ref:"configFormLoading",staticClass:"loading-placeholder"})],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("serverList.table.servant.title"),width:"1200px",footShow:!1},on:{close:e.closeServantModal},model:{value:e.servantModal.show,callback:function(t){e.$set(e.servantModal,"show",t)},expression:"servantModal.show"}},[a("let-button",{staticClass:"tbm16",attrs:{size:"small",theme:"primary"},on:{click:function(t){return e.configServant()}}},[e._v(e._s(e.$t("operate.add"))+" Servant")]),e._v(" "),e.servantModal.model?a("let-table",{attrs:{data:e.servantModal.model,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("operate.servant"),prop:"servant"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.adress"),prop:"endpoint"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.thread"),prop:"thread_num"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.maxConnecttions"),prop:"max_connections"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.maxQueue"),prop:"queuecap"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.timeout"),prop:"queuetimeout"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"90px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.configServant(t.row.id)}}},[e._v(e._s(e.$t("operate.update")))]),e._v(" "),a("let-table-operation",{staticClass:"danger",on:{click:function(a){return e.deleteServant(t.row.id)}}},[e._v(e._s(e.$t("operate.delete")))])]}}],null,!1,489266128)})],1):a("div",{ref:"servantModalLoading",staticClass:"loading-placeholder"})],1),e._v(" "),a("let-modal",{attrs:{title:e.servantDetailModal.isNew?e.$t("operate.title.add")+" Servant":e.$t("operate.title.update")+" Servant",width:"800px",footShow:!!e.servantDetailModal.model},on:{"on-confirm":e.saveServantDetail,close:e.closeServantDetailModal,"on-cancel":e.closeServantDetailModal},model:{value:e.servantDetailModal.show,callback:function(t){e.$set(e.servantDetailModal,"show",t)},expression:"servantDetailModal.show"}},[e.servantDetailModal.model?a("let-form",{ref:"servantDetailForm",staticClass:"two-columns",attrs:{itemWidth:"360px",columns:2}},[a("let-form-item",{attrs:{label:e.$t("serverList.servant.appService"),itemWidth:"724px"}},[a("span",[e._v(e._s(e.servantDetailModal.model.application)+"·"+e._s(e.servantDetailModal.model.server_name))])]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.objName"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.servant.c"),required:"",pattern:"^[A-Za-z]+$","pattern-tip":e.$t("serverList.servant.obj")},model:{value:e.servantDetailModal.model.obj_name,callback:function(t){e.$set(e.servantDetailModal.model,"obj_name",t)},expression:"servantDetailModal.model.obj_name"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.numOfThread"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.servant.thread"),required:"",pattern:"^[1-9][0-9]*$","pattern-tip":e.$t("serverList.servant.thread")},model:{value:e.servantDetailModal.model.thread_num,callback:function(t){e.$set(e.servantDetailModal.model,"thread_num",t)},expression:"servantDetailModal.model.thread_num"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.table.servant.adress"),required:"",itemWidth:"724px"}},[a("let-input",{ref:"endpoint",attrs:{size:"small",placeholder:"tcp -h 127.0.0.1 -t 60000 -p 12000",required:"",extraTip:e.isEndpointValid?"":e.$t("serverList.servant.error")},model:{value:e.servantDetailModal.model.endpoint,callback:function(t){e.$set(e.servantDetailModal.model,"endpoint",t)},expression:"servantDetailModal.model.endpoint"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.maxConnecttions"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.max_connections,callback:function(t){e.$set(e.servantDetailModal.model,"max_connections",t)},expression:"servantDetailModal.model.max_connections"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.lengthOfQueue"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.queuecap,callback:function(t){e.$set(e.servantDetailModal.model,"queuecap",t)},expression:"servantDetailModal.model.queuecap"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.queueTimeout"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.queuetimeout,callback:function(t){e.$set(e.servantDetailModal.model,"queuetimeout",t)},expression:"servantDetailModal.model.queuetimeout"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.allowIP")}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.allow_ip,callback:function(t){e.$set(e.servantDetailModal.model,"allow_ip",t)},expression:"servantDetailModal.model.allow_ip"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.protocol"),required:""}},[a("let-radio-group",{attrs:{size:"small",data:[{value:"tars",text:"TARS"},{value:"not_tars",text:e.$t("serverList.servant.notTARS")}]},model:{value:e.servantDetailModal.model.protocol,callback:function(t){e.$set(e.servantDetailModal.model,"protocol",t)},expression:"servantDetailModal.model.protocol"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.treatmentGroup"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.handlegroup,callback:function(t){e.$set(e.servantDetailModal.model,"handlegroup",t)},expression:"servantDetailModal.model.handlegroup"}})],1)],1):e._e()],1),e._v(" "),a("let-modal",{staticClass:"more-cmd",attrs:{title:e.$t("operate.title.more"),width:"700px"},on:{"on-confirm":e.invokeMoreCmd,close:e.closeMoreCmdModal,"on-cancel":e.closeMoreCmdModal},model:{value:e.moreCmdModal.show,callback:function(t){e.$set(e.moreCmdModal,"show",t)},expression:"moreCmdModal.show"}},[e.moreCmdModal.model?a("let-form",{ref:"moreCmdForm"},[a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"setloglevel"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.logLevel")))]),e._v(" "),a("let-select",{attrs:{size:"small",disabled:"setloglevel"!==e.moreCmdModal.model.selected},model:{value:e.moreCmdModal.model.setloglevel,callback:function(t){e.$set(e.moreCmdModal.model,"setloglevel",t)},expression:"moreCmdModal.model.setloglevel"}},e._l(e.logLevels,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1)],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"loadconfig"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.pushFile")))]),e._v(" "),a("let-select",{attrs:{size:"small",placeholder:e.moreCmdModal.model.configs&&e.moreCmdModal.model.configs.length?e.$t("pub.dlg.defaultValue"):e.$t("pub.dlg.noConfFile"),disabled:!(e.moreCmdModal.model.configs&&e.moreCmdModal.model.configs.length)||"loadconfig"!==e.moreCmdModal.model.selected,required:"loadconfig"===e.moreCmdModal.model.selected},model:{value:e.moreCmdModal.model.loadconfig,callback:function(t){e.$set(e.moreCmdModal.model,"loadconfig",t)},expression:"moreCmdModal.model.loadconfig"}},e._l(e.moreCmdModal.model.configs,function(t){return a("let-option",{key:t.filename,attrs:{value:t.filename}},[e._v(e._s(t.filename))])}),1)],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"command"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.sendCommand")))]),e._v(" "),a("let-input",{attrs:{size:"small",disabled:"command"!==e.moreCmdModal.model.selected,required:"command"===e.moreCmdModal.model.selected},model:{value:e.moreCmdModal.model.command,callback:function(t){e.$set(e.moreCmdModal.model,"command",t)},expression:"moreCmdModal.model.command"}})],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"connection"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.serviceLink")))])],1),e._v(" "),"dcache"!==e.serverType?a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{staticClass:"danger",attrs:{label:"undeploy_tars"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("operate.undeploy"))+" "+e._s(e.$t("common.service")))])],1):e._e()],1):e._e()],1)],1)},staticRenderFns:[]};var ne=a("VU/8")(oe,se,!1,function(e){a("Bn3n")},null,null).exports,ie=a("lHA8"),le=a.n(ie),ce=a("c/Tr"),de=a.n(ce),ue=a("M4fF"),me=a.n(ue),pe={data:function(){return{servers:[],transferData:!0,migrationMethods:[{value:!0,text:this.$t("dcache.migrationMethod1")},{value:!1,text:this.$t("dcache.migrationMethod2")}]}},props:{expandServers:{required:!0,type:Array}},computed:{appName:function(){return this.expandServers[0].app_name},moduleName:function(){return this.expandServers[0].module_name},cache_version:function(){return this.expandServers[0].cache_version},srcGroupName:function(){return this.expandServers[0].group_name},dstGroupName:function(){return this.servers[0].group_name}},methods:{getServers:function(){this.servers=this.newGroup(this.expandServers)},addNewGroup:function(){var e=this.servers;this.servers=e.concat(this.newGroup(e.slice(e.length-this.expandServers.length)))},deleteGroup:function(){this.servers.splice(this.servers.length-this.expandServers.length,this.expandServers.length)},newGroup:function(e){return e.map(function(e,t){var a=e.group_name,r=e.server_name;a=a.replace(/^(.*?)(\d+)$/,function(){return arguments[1]+(+arguments[2]+1)}),r=r.replace(/^(.*?)(\d+)-\d+$/,function(){return arguments[1]+(+arguments[2]+1)+"-"+(t+1)});var o=e.server_type;return S()({},e,{group_name:a,server_name:r,server_ip:"",shmKey:"",server_type:o})})}}},he={mixins:[pe],data:function(){return{}},methods:{submitServerConfig:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.$refs.detailForm.validate()){t.next=15;break}return a=e.servers,r=e.appName,o=e.moduleName,s=e.cache_version,e.dstGroupName,t.prev=2,t.next=5,j({servers:a,appName:r,moduleName:o,cache_version:s,srcGroupName:[]});case 5:n=t.sent,n.releaseId,e.$tip.success(e.$t("dcache.operationManage.hasExpand")),e.$emit("close"),t.next=15;break;case 11:t.prev=11,t.t0=t.catch(2),console.error(t.t0),e.$tip.error(t.t0.message);case 15:case"end":return t.stop()}},t,e,[[2,11]])}))()}},created:function(){this.getServers()}},fe={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"container"},[a("let-form",{ref:"detailForm",attrs:{inline:""}},[a("let-form-group",{attrs:{inline:"","label-position":"top"}},[a("let-table",{ref:"table",attrs:{data:e.servers,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("module.name"),prop:"module_name"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.module_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.serverGroup"),prop:"group_name"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.group_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"server_name"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.server_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverIp"),prop:"server_ip"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.server_ip,callback:function(a){e.$set(t.row,"server_ip",a)},expression:"scope.row.server_ip"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.deployArea"),prop:"area",width:"80px"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.area)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("deployService.form.serviceType"),width:"80px"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row.server_type;return["M"===r?a("span",[e._v(e._s(e.$t("cache.mainEngine")))]):"S"===r?a("span",[e._v(e._s(e.$t("cache.standByEngine")))]):"I"===r?a("span",[e._v(e._s(e.$t("cache.mirror")))]):e._e()]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.memorySize"),prop:"memory"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.memory)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.shmKey"),prop:"shmKey"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",placeholder:e.$t("module.shmKeyRule"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.shmKey,callback:function(a){e.$set(t.row,"shmKey",a)},expression:"scope.row.shmKey"}})]}}])})],1)],1),e._v(" "),a("div",[a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.submitServerConfig}},[e._v(e._s(e.$t("common.submit")))]),e._v(" "),a("div",{staticClass:"alignRight"},[a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.addNewGroup}},[e._v(e._s(e.$t("serviceExpand.newGroup")))]),e._v(" "),a("let-button",{attrs:{size:"small",theme:"danger",disabled:this.servers.length===this.expandServers.length},on:{click:e.deleteGroup}},[e._v(e._s(e.$t("serviceExpand.removeGroup")))])],1)],1)],1)],1)},staticRenderFns:[]};var ve=a("VU/8")(he,fe,!1,function(e){a("VMrG")},null,null).exports,_e={mixins:[pe],props:{checkSrcGroupName:{required:!0,type:String}},data:function(){return{}},methods:{submitServerConfig:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n,i,l;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.$refs.detailForm.validate()){t.next=13;break}return a=e.servers,r=e.appName,o=e.moduleName,s=e.cache_version,n=e.dstGroupName,i=e.transferData,l=e.checkSrcGroupName,t.prev=2,t.next=5,E({servers:a,appName:r,moduleName:o,cache_version:s,srcGroupName:l,dstGroupName:n,transferData:i});case 5:e.$tip.success(e.$t("dcache.operationManage.hasServerMigration")),e.$emit("close"),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(2),console.error(t.t0),e.$tip.error(t.t0.message);case 13:case"end":return t.stop()}},t,e,[[2,9]])}))()}},created:function(){this.getServers()}},ge={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"container"},[a("let-form",{ref:"detailForm",attrs:{inline:""}},[a("let-form-item",{attrs:{required:"",label:e.$t("dcache.migrationMethod")}},[a("let-radio-group",{attrs:{data:e.migrationMethods},model:{value:e.transferData,callback:function(t){e.transferData=t},expression:"transferData"}})],1),e._v(" "),a("let-form-group",{attrs:{inline:"","label-position":"top"}},[a("let-table",{ref:"table",attrs:{data:e.servers,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("module.name"),prop:"module_name"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.module_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.serverGroup"),prop:"group_name"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.group_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"server_name"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.server_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverIp"),prop:"server_ip"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.server_ip,callback:function(a){e.$set(t.row,"server_ip",a)},expression:"scope.row.server_ip"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.deployArea"),prop:"area"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.area)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("deployService.form.serviceType"),width:"80px"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row.server_type;return["M"===r?a("span",[e._v(e._s(e.$t("cache.mainEngine")))]):"S"===r?a("span",[e._v(e._s(e.$t("cache.standByEngine")))]):"I"===r?a("span",[e._v(e._s(e.$t("cache.mirror")))]):e._e()]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.memorySize"),prop:"memory"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.memory)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.shmKey"),prop:"shmKey"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",placeholder:e.$t("module.shmKeyRule"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.shmKey,callback:function(a){e.$set(t.row,"shmKey",a)},expression:"scope.row.shmKey"}})]}}])})],1)],1),e._v(" "),a("div",[a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.submitServerConfig}},[e._v(e._s(e.$t("common.submit")))])],1)],1)],1)},staticRenderFns:[]};var be=a("VU/8")(_e,ge,!1,function(e){a("gxaK")},null,null).exports,$e={mixins:[pe],props:{disabled:Boolean,expandServers:{required:!1,type:Array}},data:function(){return{show:!1,groupName:"",dstGroupNames:[]}},computed:{srcGroupName:function(){return this.expandServers.find(function(e){return e.isChecked}).group_name}},methods:{init:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n,i;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,e.groupName="",a=e.expandServers.map(function(e){return e.group_name}),1!==(a=de()(new le.a(a))).length){t.next=6;break}return t.abrupt("return",e.$tip.error(e.$t("dcache.onlyOneServiceGroup")));case 6:if(r=e.expandServers.filter(function(e){return e.isChecked}),o=r.map(function(e){return e.group_name}),!((o=de()(new le.a(o))).length>1)){t.next=11;break}return t.abrupt("return",e.$tip.error(e.$t("dcache.oneGroup")));case 11:return e.dstGroupNames=a.filter(function(e){return e!==o[0]}),s=e.appName,n=e.moduleName,i=e.srcGroupName,t.next=15,V({appName:s,moduleName:n,srcGroupName:i});case 15:if(!t.sent){t.next=18;break}throw new Error(e.$t("dcache.hasMigrationOperation"));case 18:e.show=!0,t.next=25;break;case 21:t.prev=21,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(t.t0.message);case 25:case"end":return t.stop()}},t,e,[[0,21]])}))()},submitServerConfig:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.$refs.detailForm.validate()){t.next=13;break}return t.prev=1,a=e.appName,r=e.moduleName,o=e.srcGroupName,s=e.groupName,n=e.transferData,t.next=5,z({appName:a,moduleName:r,srcGroupName:o,dstGroupName:s,transferData:n});case 5:t.sent,e.$tip.success(e.$t("dcache.operationManage.hasnonServerMigration")),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(1),console.error(t.t0),e.$tip.error(t.t0.message);case 13:case"end":return t.stop()}},t,e,[[1,9]])}))()}}},ye={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticStyle:{display:"inline"}},[a("let-button",{attrs:{theme:"primary",disabled:e.disabled},on:{click:e.init}},[e._v(e._s(e.$t("dcache.nonServerMigration")))]),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!0,width:"1000px",title:e.$t("dcache.nonServerMigration")},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[e.show?a("let-form",{ref:"detailForm",staticClass:"non-server-migration",attrs:{labelPosition:"right"}},[a("let-form-item",{attrs:{required:"",label:e.$t("dcache.operationManage.appName")+":"}},[e._v("\n "+e._s(e.appName)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{required:"",label:e.$t("dcache.operationManage.moduleName")+":"}},[e._v("\n "+e._s(e.moduleName)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{required:"",label:e.$t("dcache.operationManage.srcGroupName")+":"}},[e._v("\n "+e._s(e.srcGroupName)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%",required:"",label:e.$t("dcache.operationManage.dstGroupName")+":"}},[a("let-select",{attrs:{required:"",size:"small"},model:{value:e.groupName,callback:function(t){e.groupName=t},expression:"groupName"}},e._l(e.dstGroupNames,function(t){return a("let-option",{attrs:{value:t}},[e._v(e._s(t))])}),1)],1),e._v(" "),a("let-form-item",{attrs:{required:"",label:e.$t("dcache.migrationMethod")+":"}},[a("let-radio-group",{staticStyle:{width:"300px"},attrs:{data:e.migrationMethods},model:{value:e.transferData,callback:function(t){e.transferData=t},expression:"transferData"}})],1),e._v(" "),a("div",[a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.submitServerConfig}},[e._v(e._s(e.$t("common.submit")))])],1)],1):e._e()],1)],1)},staticRenderFns:[]};var we=a("VU/8")($e,ye,!1,function(e){a("RlLB")},null,null).exports,Me={props:{releaseId:{type:[Number,String],required:!0}},data:function(){return{items:[],timer:"",progressTip:"",success:!1,statusConfig:{0:this.$t("serverList.restart.notStart"),1:this.$t("serverList.restart.running"),2:this.$t("serverList.restart.success"),3:this.$t("serverList.restart.failed"),4:this.$t("serverList.restart.cancel"),5:this.$t("serverList.restart.parial")}}},methods:{getProgress:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s={releaseId:e.releaseId},void 0,n=s.releaseId,I({method:"get",url:"/task",params:{task_no:n}});case 3:a=t.sent,r=a.items,a.serial,a.status,a.task_no,e.items=r,o=!0,r.forEach(function(e){return[2,3].includes(e.status)?"":o=!1}),o?(e.timer&&window.clearTimeout(e.timer),e.success=!0,e.$emit("done-fn")):e.timer=window.setTimeout(e.getProgress,1e3),t.next=19;break;case 14:t.prev=14,t.t0=t.catch(0),e.success=!0,console.error(t.t0),e.$tip.error(t.t0.message);case 19:case"end":return t.stop()}var s,n},t,e,[[0,14]])}))()}},created:function(){this.getProgress()},destroyed:function(){this.timer&&window.clearTimeout(this.timer),this.$emit("close-fn")}},ke={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"progressTable"},[a("let-table",{ref:"ProgressTable",attrs:{data:e.items,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"server_name",width:"30%"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverIp"),prop:"node_name",width:"30%"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("common.status")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-tag",{attrs:{theme:2==t.row.status?"success":3==t.row.status?"danger":"",checked:""}},[e._v("\n "+e._s(e.statusConfig[t.row.status]+(2!=t.row.status&&3!=t.row.status?"...":""))+"\n ")])]}}])})],1),e._v(" "),a("p",{ref:"progressTip"},[e._v(e._s(e.$t(e.success?"dcache.executeSuccess":"dcache.execute")))])],1)},staticRenderFns:[]};var xe=a("VU/8")(Me,ke,!1,function(e){a("90RL")},"data-v-2dd804f4",null).exports,Se={components:{tarsReleaseProgress:xe},mixins:[pe],props:{disabled:Boolean,expandServers:{required:!1,type:Array},checkedServers:{required:!1,type:Array}},computed:{cacheVersion:function(){return this.checkedServers.length?this.checkedServers[0].cache_version:1}},data:function(){return{versionList:[],releaseId:null,show:!1,publishId:null,publishModal:{moduleName:"DCacheServerGroup",application:"DCache",totalPatchPage:0,pageSize:5,currPage:1},releaseIng:!1}},methods:{init:function(){this.show=!0,this.releaseId=null,this.releaseIng=!1,this.publishId=null,this.getVersionList()},patchChangePage:function(e){this.publishModal.currPage=e,this.getVersionList()},getVersionList:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n,i,l,c,d;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.cacheVersion,r=e.publishModal,o=r.moduleName,s=r.application,n=r.currPage,i=r.pageSize,t.next=4,Q({moduleName:o,application:s,currPage:n,pageSize:i,cacheVersion:a});case 4:l=t.sent,c=l.count,d=l.rows,e.publishModal.totalPatchPage=Math.ceil(c/i),e.versionList=d;case 9:case"end":return t.stop()}},t,e)}))()},publish:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=[],r=e.publishId,e.checkedServers.forEach(function(e){a.push({server_id:e.id.toString(),command:"patch_tars",parameters:{patch_id:r,bak_flag:e.bak_flag,update_text:"batch publish cache servers",group_name:"DCacheServerGroup"}})}),console.log(a),t.next=6,ee({items:a});case 6:o=t.sent,e.releaseIng=!0,e.releaseId=o;case 9:case"end":return t.stop()}},t,e)}))()},getServerList:function(){this.show=!1,this.$emit("success-fn")}}},Ce={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"batch-publish",staticStyle:{display:"inline"}},[a("let-button",{attrs:{theme:"primary",disabled:e.disabled},on:{click:e.init}},[e._v(e._s(e.$t("dcache.batchPublish")))]),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!0,width:"1000px",title:e.$t("dcache.batchPublish")},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[a("let-form",[a("let-form-item",{attrs:{label:e.$t("service.serverName")}},e._l(e.checkedServers,function(t){return a("p",[e._v(e._s(t.server_name))])}),0)],1),e._v(" "),a("let-table",{attrs:{data:e.versionList,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-radio",{attrs:{label:t.row.id},model:{value:e.publishId,callback:function(t){e.publishId=t},expression:"publishId"}},[e._v(" ")])]}}])}),e._v(" "),a("let-table-column",{attrs:{title:"ID",prop:"id"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.id)+"\n "),a("span",{staticStyle:{color:"green",display:"inline-block",width:"1em",height:"1em"},attrs:{title:e.$t("releasePackage.default")}},[1==t.row.default_version?a("icon",{attrs:{name:"default"}}):e._e()],1)]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.moduleName"),prop:"server"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.cacheType")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(1===t.row.package_type?"KVcache":"MKVcache"))])]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.servant.comment"),prop:"comment"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.uploadTime"),prop:"posttime"}}),e._v(" "),a("let-pagination",{attrs:{slot:"pagination",align:"right",total:e.publishModal.totalPatchPage,page:e.publishModal.currPage},on:{change:e.patchChangePage},slot:"pagination"},[e._v("\n abc\n ")]),e._v(" "),a("template",{slot:"operations"},[a("let-button",{attrs:{disabled:!e.publishId,theme:"primary"},on:{click:e.publish}},[e._v(e._s(e.$t("apply.publish")))])],1)],2)],1),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!0,width:"1000px",title:e.$t("dcache.batchPublish")},model:{value:e.releaseIng,callback:function(t){e.releaseIng=t},expression:"releaseIng"}},[e.releaseId&&e.releaseIng?a("tars-release-progress",{attrs:{"release-id":e.releaseId},on:{"close-fn":this.getServerList}}):e._e()],1)],1)},staticRenderFns:[]};var Le=a("VU/8")(Se,Ce,!1,function(e){a("TH6y")},null,null).exports,Ne={components:{tarsReleaseProgress:xe},mixins:[pe],props:{disabled:Boolean,expandServers:{required:!1,type:Array},checkedServers:{required:!1,type:Array},type:String},data:function(){return{versionList:[],releaseId:null,show:!1,publishModal:{moduleName:"DCacheServerGroup",application:"DCache",totalPatchPage:0,pageSize:5,currPage:1},releaseIng:!1}},methods:{init:function(){this.show=!0,this.releaseId=null,this.releaseIng=!1},confirm:function(){var e=this;return D()(L.a.mark(function t(){var a,r;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=[],e.checkedServers.forEach(function(t){a.push({server_id:t.id.toString(),command:e.type})}),t.next=5,ee({items:a});case 5:r=t.sent,e.releaseIng=!0,e.releaseId=r;case 8:case"end":return t.stop()}},t,e)}))()},getServerList:function(){this.show=!1,this.$emit("success-fn")}}},De={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"batch-publish",staticStyle:{display:"inline"}},[a("let-button",{attrs:{theme:"primary",disabled:e.disabled},on:{click:e.init}},[e._v(e._s(e.$t("dcache.batch."+e.type)))]),e._v(" "),a("let-modal",{attrs:{closeOnClickBackdrop:!0,width:"1000px",title:e.$t("dcache.batch."+e.type)},on:{"on-confirm":e.confirm},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[a("let-form",[a("let-form-item",{attrs:{label:e.$t("service.serverName")}},e._l(e.checkedServers,function(t){return a("p",[e._v(e._s(t.server_name))])}),0)],1)],1),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!0,width:"1000px",title:e.$t("dcache.batch."+e.type)},model:{value:e.releaseIng,callback:function(t){e.releaseIng=t},expression:"releaseIng"}},[e.releaseId&&e.releaseIng?a("tars-release-progress",{attrs:{"release-id":e.releaseId},on:{"close-fn":this.getServerList}}):e._e()],1)],1)},staticRenderFns:[]};var Ae=a("VU/8")(Ne,De,!1,function(e){a("ZJVQ")},null,null).exports,Te={props:{disabled:Boolean,serverList:Array},data:function(){return{show:!1,offlineServers:[],tip:"",unType:0,canOffline:!1}},computed:{checkedServers:function(){return this.serverList.filter(function(e){return!0===e.isChecked})},hasRouterPageNo:function(){return!!this.checkedServers.find(function(e){return 0!==e.routerPageNo})},appName:function(){return this.checkedServers[0]&&this.checkedServers[0].app_name},moduleName:function(){return this.checkedServers[0]&&this.checkedServers[0].module_name},hostServers:function(){return this.checkedServers.filter(function(e){return"M"===e.server_type})},backupServers:function(){return this.checkedServers.filter(function(e){return"S"===e.server_type})},allBackupServers:function(){return this.serverList.filter(function(e){return"S"===e.server_type})},mirrorServers:function(){return this.checkedServers.filter(function(e){return"I"===e.server_type})},allMirrorServers:function(){return this.serverList.filter(function(e){return"I"===e.server_type})},allBackupMirrorServers:function(){return this.serverList.filter(function(e){return"M"!==e.server_type})}},methods:{init:function(){var e=this;return D()(L.a.mark(function t(){var a,r;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.offlineServers=[],e.unType=0,e.canOffline=!1,e.$t,e.hostServers,e.backupServers,e.allBackupServers,e.mirrorServers,e.allMirrorServers,e.allBackupMirrorServers,a=e.appName,r=e.moduleName,t.next=7,V({appName:a,moduleName:r});case 7:if(!t.sent){t.next=10;break}throw new Error(e.$t("dcache.hasMigrationOperation"));case 10:e.offlineServers=e.checkedServers,e.getActiveServers().length||(e.canOffline=!0),e.show=!0,t.next=20;break;case 16:t.prev=16,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(t.t0.message);case 20:case"end":return t.stop()}},t,e,[[0,16]])}))()},getActiveServers:function(){return this.offlineServers.filter(function(e){return"active"===e.present_state||"active"===e.setting_state})},sureOffline:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n,i,l;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.offlineServers,r=e.unType,o=a.map(function(e){return"DCache."+e.server_name}),s=a[0].app_name,n=a[0].module_name,i={unType:r,appName:s,moduleName:n,serverNames:o},(l=e.$Loading({text:"loading..."})).show(),t.prev=7,t.next=10,H(i);case 10:t.sent,e.$tip.success("下线成功!"),e.show=!1,e.$emit("success-fn"),t.next=19;break;case 16:t.prev=16,t.t0=t.catch(7),e.$tip.error(t.t0.message);case 19:return t.prev=19,l.hide(),t.finish(19);case 22:case"end":return t.stop()}},t,e,[[7,16,19,22]])}))()}}},qe={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticStyle:{display:"inline"}},[a("let-button",{attrs:{theme:"primary",disabled:e.disabled},on:{click:e.init}},[e._v(e._s(e.$t("dcache.offline")))]),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!0,width:"1000px",title:e.$t("dcache.offline")},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[a("p",{staticStyle:{color:"red"}},[e._v(e._s(e.hasRouterPageNo?e.$t("dcache.hasRouterPageNo"):"")+e._s(e.canOffline?"":e.$t("dcache.cantOffline")))]),e._v(" "),a("let-table",{ref:"table",attrs:{data:e.offlineServers,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("module.name"),prop:"module_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"server_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverIp"),prop:"node_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.routerPageNo"),prop:"routerPageNo"}})],1),e._v(" "),a("let-button",{attrs:{disabled:!e.canOffline,size:"small",theme:"primary"},on:{click:e.sureOffline}},[e._v("\n "+e._s(e.$t("dcache.sureOffline"))+"\n ")])],1)],1)},staticRenderFns:[]};var Fe={components:{Expand:ve,ServerMigration:be,nonServerMigration:we,offline:a("VU/8")(Te,qe,!1,function(e){a("wOmO")},null,null).exports,batchPublish:Le,batchOperation:Ae},name:"ServerManage",data:function(){return{expandShow:!1,serverMigrationShow:!1,nonServerMigrationShow:!1,lastGroupServers:[],isCheckedAll:!1,serverData:{level:5,application:"",server_name:"",set_name:"",set_area:"",set_group:""},serverList:[],serverNotifyList:[],pageNum:1,pageSize:20,total:1,serverTypes:["tars_cpp","tars_java","tars_php","tars_nodejs","not_tars","tars_go"],configModal:{show:!1,model:null},servantModal:{show:!1,model:null,currentServer:null},servantDetailModal:{show:!1,isNew:!0,model:null},logLevels:["NONE","DEBUG","INFO","WARN","ERROR"],moreCmdModal:{show:!1,model:null,currentServer:null},failCount:0}},computed:{showOthers:function(){return 5===this.serverData.level},isEndpointValid:function(){return!(!this.servantDetailModal.model||!this.servantDetailModal.model.endpoint)&&this.checkServantEndpoint(this.servantDetailModal.model.endpoint)},hasCheckedServer:function(){return 0!==this.serverList.filter(function(e){return!0===e.isChecked}).length},checkedServers:function(){return this.serverList.filter(function(e){return!0===e.isChecked})},checkSrcGroupName:function(){return this.checkedServers[0]&&this.checkedServers[0].group_name}},watch:{isCheckedAll:function(){var e=this.isCheckedAll;this.serverList.forEach(function(t){t.isChecked=e})},$route:function(e,t){this.getServerList(),this.getServerNotifyList(1)}},methods:{expandCloseHandler:function(){this.expandShow=!1,this.getServerList()},serverMigrationCloseHandler:function(){this.serverMigrationShow=!1,this.getServerList()},expandHandler:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,e.checkPatchVersion()){t.next=4;break}throw new Error(e.$t("dcache.noTheSamePatchVersion"));case 4:return a=e.serverList[0],r=a.app_name,o=a.module_name,t.next=8,V({appName:r,moduleName:o});case 8:if(!t.sent){t.next=11;break}throw new Error(e.$t("dcache.hasExpandOperation"));case 11:e.lastGroupServers=e.getLastGroupServers(),e.expandShow=!0,t.next=19;break;case 15:t.prev=15,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(t.t0.message);case 19:case"end":return t.stop()}},t,e,[[0,15]])}))()},shrinkageHandler:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n,i;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,a=e.serverList[0],r=a.app_name,o=a.module_name,t.next=5,V({appName:r,moduleName:o});case 5:if(!t.sent){t.next=8;break}throw new Error(e.$t("dcache.hasShrinkageOperation"));case 8:if(s=e.serverList.map(function(e){return e.group_name}),s=de()(new le.a(s)),n=e.serverList.filter(function(e){return e.isChecked}),i=n.map(function(e){return e.group_name}),i=de()(new le.a(i)),s.toString()!==i.toString()){t.next=15;break}throw new Error(e.$t("dcache.leaveOneServiceGroup"));case 15:return t.next=17,e.$confirm(e.$t("dcache.operationManage.ensureShrinkage"));case 17:return t.next=19,void 0,void 0,void 0,void 0,void 0,c=(l={appName:r,moduleName:o,srcGroupName:i}).appName,d=void 0===c?"":c,u=l.moduleName,m=void 0===u?"":u,p=l.srcGroupName,I({method:"post",url:"/cache/reduceDcache",data:{appName:d,moduleName:m,srcGroupName:void 0===p?[]:p}});case 19:e.$tip.success(e.$t("dcache.operationManage.hasShrinkage")),t.next=26;break;case 22:t.prev=22,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(t.t0.message);case 26:case"end":return t.stop()}var l,c,d,u,m,p},t,e,[[0,22]])}))()},serverMigrationHandler:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,e.checkPatchVersion()){t.next=4;break}throw new Error(e.$t("dcache.noTheSamePatchVersion"));case 4:if(!(me.a.uniqBy(e.checkedServers,"group_name").length>1)){t.next=7;break}throw new Error(e.$t("dcache.oneGroup"));case 7:return a=e.checkedServers[0],r=a.app_name,o=a.module_name,s=a.group_name,t.next=11,V({appName:r,moduleName:o,srcGroupName:s});case 11:if(!t.sent){t.next=14;break}throw new Error(e.$t("dcache.hasMigrationOperation"));case 14:e.lastGroupServers=e.getLastGroupServers(),e.serverMigrationShow=!0,t.next=22;break;case 18:t.prev=18,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(t.t0.message);case 22:case"end":return t.stop()}},t,e,[[0,18]])}))()},switchHandler:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,a=e.serverList[0],r=a.app_name,o=a.module_name,s=e.serverList.filter(function(e){return e.isChecked}),n=s.map(function(e){return e.group_name}),1==(n=de()(new le.a(n))).length){t.next=8;break}throw new Error(e.$t("dcache.operationManage.onceSwitch"));case 8:return t.next=10,e.$confirm(e.$t("dcache.operationManage.ensureSwitch"));case 10:return t.next=12,B({appName:r,moduleName:o,groupName:n[0]});case 12:e.$tip.success(e.$t("dcache.operationManage.switchSuccess")),e.getServerList(),t.next=20;break;case 16:t.prev=16,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(t.t0.message);case 20:case"end":return t.stop()}},t,e,[[0,16]])}))()},getLastGroupServers:function(){var e=this.serverList.sort(function(e,t){return e.group_name>t.group_name})[this.serverList.length-1].group_name;return this.serverList.filter(function(t){return t.group_name===e})},checkPatchVersion:function(){var e=!0,t={};return this.serverList.forEach(function(a,r){var o=a.patch_version;if(0===r)return t[o]=o;t[o]||(e=!1)}),e},checkedAllChange:function(){console.log(arguments)},getServerList:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.$refs.serverListLoading.$loading.show(),t.prev=1,r=e.serverData,o=r.application,s=r.module_name,t.next=5,K({appName:o,moduleName:s});case 5:(n=t.sent).forEach(function(t){var a=e.serverList.find(function(e){return e.id===t.id});t.isChecked=!!a&&a.isChecked}),e.serverList=n,t.next=14;break;case 10:t.prev=10,t.t0=t.catch(1),console.error(t.t0),e.$tip.error(t.t0.message);case 14:return t.prev=14,a.hide(),t.finish(14);case 17:case"end":return t.stop()}},t,e,[[1,10,14,17]])}))()},getServerNotifyList:function(e){var t=this;if(this.showOthers){var a=this.$refs.serverNotifyListLoading.$loading.show();this.$ajax.getJSON("/server/api/server_notify_list",{tree_node_id:this.$route.params.treeid,page_size:this.pageSize,curr_page:e}).then(function(r){a.hide(),t.pageNum=e,t.total=Math.ceil(r.count/t.pageSize),t.serverNotifyList=r.rows}).catch(function(e){a.hide(),t.$tip.error(t.$t("serverList.restart.failed")+": "+(e.err_msg||e.message))})}},getTemplateList:function(){var e=this;this.$ajax.getJSON("/server/api/template_name_list").then(function(t){e.configModal.model?e.configModal.model.templates=t:e.configModal.model={templates:t}}).catch(function(t){e.$tip.error(e.$t("serverList.restart.failed")+": "+(t.err_msg||t.message))})},getServerConfig:function(e){var t=this,a=this.$loading.show({target:this.$refs.configFormLoading});this.$ajax.getJSON("/server/api/server",{id:e}).then(function(e){a.hide(),t.configModal.model?t.configModal.model=_()({},t.configModal.model,e):(e.templates=[],t.configModal.model=e)}).catch(function(e){a.hide(),t.closeConfigModal(),t.$tip.error(t.$t("serverList.restart.failed")+": "+(e.err_msg||e.message))})},configServer:function(e){this.configModal.show=!0,this.getTemplateList(),this.getServerConfig(e)},saveConfig:function(){var e=this;if(this.$refs.configForm.validate()){var t=this.$Loading.show();this.$ajax.postJSON("/server/api/update_server",S()({isBak:this.configModal.model.bak_flag},this.configModal.model)).then(function(a){t.hide(),e.serverList=e.serverList.map(function(e){return e.id===a.id?a:e}),e.closeConfigModal(),e.$tip.success(e.$t("serverList.restart.success"))}).catch(function(a){t.hide(),e.$tip.error(e.$t("serverList.restart.failed")+": "+(a.message||a.err_msg))})}},closeConfigModal:function(){this.$refs.configForm&&this.$refs.configForm.resetValid(),this.configModal.show=!1,this.configModal.model=null},checkTaskStatus:function(e,t){var a=this;return new k.a(function(r,o){a.$ajax.getJSON("/server/api/task",{task_no:e}).then(function(t){1===t.status||0===t.status?setTimeout(function(){r(a.checkTaskStatus(e))},3e3):2===t.status?r("taskid: "+t.task_no):o(new Error("taskid: "+t.task_no))}).catch(function(s){t?o(new Error(s.err_msg||s.message||a.$t("common.networkErr"))):setTimeout(function(){r(a.checkTaskStatus(e,!0))},3e3)})})},addTask:function(e,t,a){var r=this,o=this.$Loading.show();this.$ajax.postJSON("/server/api/add_task",{serial:!0,items:[{server_id:e,command:t}]}).then(function(e){return r.checkTaskStatus(e).then(function(e){o.hide(),r.getServerList(),r.$tip.success({title:a.success,message:e})}).catch(function(e){throw e})}).catch(function(e){o.hide(),r.getServerList(),r.$tip.error({title:a.error,message:e.err_msg||e.message||r.$t("common.networkErr")})})},restartServer:function(e){this.addTask(e,"restart",{success:this.$t("serverList.restart.success"),error:this.$t("serverList.restart.failed")})},stopServer:function(e){var t=this;this.$confirm(this.$t("serverList.stopService.msg.stopService"),this.$t("common.alert")).then(function(){t.addTask(e,"stop",{success:t.$t("serverList.restart.success"),error:t.$t("serverList.restart.failed")})})},undeployServer:function(e){var t=this;this.$confirm(this.$t("serverList.dlg.msg.undeploy"),this.$t("common.alert")).then(function(){t.addTask(e,"undeploy_tars",{success:t.$t("serverList.restart.success"),error:t.$t("serverList.restart.failed")}),t.closeMoreCmdModal()})},manageServant:function(e){var t=this;this.servantModal.show=!0;var a=this.$loading.show({target:this.$refs.servantModalLoading});this.$ajax.getJSON("/server/api/adapter_conf_list",{id:e.id}).then(function(r){a.hide(),t.servantModal.model=r,t.servantModal.currentServer=e}).catch(function(e){a.hide(),t.$tip.error(t.$t("serverList.restart.failed")+": "+(e.err_msg||e.message))})},closeServantModal:function(){this.servantModal.show=!1,this.servantModal.model=null,this.servantModal.currentServer=null},configServant:function(e){if(this.servantDetailModal.model={application:this.servantModal.currentServer.application,server_name:this.servantModal.currentServer.server_name,obj_name:"",node_name:"",endpoint:"",servant:"",thread_num:"",max_connections:"200000",queuecap:"10000",queuetimeout:"60000",allow_ip:"",protocol:"not_tars",handlegroup:""},this.servantDetailModal.isNew=!0,e){var t=this.servantModal.model.find(function(t){return t.id===e});t.obj_name=t.servant.split(".")[2],this.servantDetailModal.model=_()({},this.servantDetailModal.model,t),this.servantDetailModal.isNew=!1}this.servantDetailModal.show=!0},closeServantDetailModal:function(){this.$refs.servantDetailForm&&this.$refs.servantDetailForm.resetValid(),this.servantDetailModal.show=!1,this.servantDetailModal.model=null},checkServantEndpoint:function(e){var t=e.split(/\s-/),a=/^h\s(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/i,r=/^t\s([1-9]|[1-9]\d+)$/i,o=/^p\s\d{4,5}$/i,s=!0;if(/^tcp|udp$/i.test(t[0])){for(var n=0,i=1;i65535||n++,o=null}s=3===n}else s=!1;return s},saveServantDetail:function(){var e=this;if(this.$refs.servantDetailForm.validate()){var t=this.$Loading.show();if(this.servantDetailModal.isNew){var a=this.servantDetailModal.model;a.servant=[a.application,a.server_name,a.obj_name].join("."),this.$ajax.postJSON("/server/api/add_adapter_conf",a).then(function(a){t.hide(),e.servantModal.model.unshift(a),e.$tip.success(e.$t("common.success")),e.closeServantDetailModal()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.err_msg||a.message))})}else this.servantDetailModal.model.servant=this.servantDetailModal.model.application+"."+this.servantDetailModal.model.server_name+"."+this.servantDetailModal.model.obj_name,this.$ajax.postJSON("/server/api/update_adapter_conf",this.servantDetailModal.model).then(function(a){t.hide(),e.servantModal.model=e.servantModal.model.map(function(e){return e.id===a.id?a:e}),e.$tip.success(e.$t("common.success")),e.closeServantDetailModal()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.err_msg||a.message))})}},deleteServant:function(e){var t=this;this.$confirm(this.$t("serverList.servant.a"),this.$t("common.alert")).then(function(){var a=t.$Loading.show();t.$ajax.getJSON("/server/api/delete_adapter_conf",{id:e}).then(function(r){a.hide(),t.servantModal.model=t.servantModal.model.map(function(t){if(t.id!==e)return t}).filter(function(e){return e}),t.$tip.success(t.$t("common.success"))}).catch(function(e){a.hide(),t.$tip.error(t.$t("common.error")+": "+(e.err_msg||e.message))})})},showMoreCmd:function(e){var t=this;this.moreCmdModal.model={selected:"setloglevel",setloglevel:"NONE",loadconfig:"",command:"",configs:null},this.moreCmdModal.unwatch=this.$watch("moreCmdModal.model.selected",function(){t.$refs.moreCmdForm&&t.$refs.moreCmdForm.resetValid()}),this.moreCmdModal.show=!0,this.moreCmdModal.currentServer=e,this.$ajax.getJSON("/server/api/config_file_list",{level:5,application:e.application,server_name:e.server_name}).then(function(e){t.moreCmdModal.model&&(t.moreCmdModal.model.configs=e)}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.err_msg||e.message))})},sendCommand:function(e,t,a){var r=this,o=this.$Loading.show();this.$ajax.getJSON("/server/api/send_command",{server_ids:e,command:t}).then(function(e){o.hide();var t=e[0].err_msg.replace(/\n/g,"
");if(0!==e[0].ret_code)throw new Error(t);var s={title:r.$t("common.success"),message:t};a&&(s.duration=0),r.$tip.success(s)}).catch(function(e){o.hide(),r.$tip.error({title:r.$t("common.error"),message:e.err_msg||e.message})})},invokeMoreCmd:function(){var e=this.moreCmdModal.model,t=this.moreCmdModal.currentServer;"undeploy_tars"===e.selected?this.undeployServer(t.id):"setloglevel"===e.selected?this.sendCommand(t.id,"tars.setloglevel "+e.setloglevel):"loadconfig"===e.selected&&this.$refs.moreCmdForm.validate()?this.sendCommand(t.id,"tars.loadconfig "+e.loadconfig):"command"===e.selected&&this.$refs.moreCmdForm.validate()?this.sendCommand(t.id,e.command):"connection"===e.selected&&this.sendCommand(t.id,"tars.connection",!0)},closeMoreCmdModal:function(){this.$refs.moreCmdForm&&this.$refs.moreCmdForm.resetValid(),this.moreCmdModal.unwatch&&this.moreCmdModal.unwatch(),this.moreCmdModal.show=!1,this.moreCmdModal.model=null},handleNoPublishedTime:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$t("pub.dlg.unpublished");return"0000:00:00 00:00:00"===e?t:e}},created:function(){this.serverData=this.$parent.getServerData()},mounted:function(){this.getServerList(),this.getServerNotifyList(1)}},Pe={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_server_manage"},[e.serverList?a("let-table",{ref:"serverListLoading",attrs:{data:e.serverList,title:e.$t("serverList.title.serverList"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{scopedSlots:e._u([{key:"head",fn:function(t){return[a("let-checkbox",{attrs:{value:e.isCheckedAll,change:e.checkedAllChange},model:{value:e.isCheckedAll,callback:function(t){e.isCheckedAll=t},expression:"isCheckedAll"}})]}},{key:"default",fn:function(t){return[a("let-checkbox",{attrs:{value:t.row.id},model:{value:t.row.isChecked,callback:function(a){e.$set(t.row,"isChecked",a)},expression:"scope.row.isChecked"}})]}}],null,!1,2423312602)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.group"),prop:"group_name"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row.group_name;return[e._v(e._s(/.*?(\d+)$/.exec(a)[1]))]}}],null,!1,1174827465)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.service"),prop:"server_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.ip"),prop:"node_name",width:"125px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.zb"),width:"45px"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row.server_type;return["M"===r?a("span",[e._v(e._s(e.$t("cache.mainEngine")))]):"S"===r?a("span",[e._v(e._s(e.$t("cache.standByEngine")))]):"I"===r?a("span",[e._v(e._s(e.$t("cache.mirror")))]):e._e()]}}],null,!1,888927167)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.routerPageNo"),prop:"routerPageNo",width:"65px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.configStatus"),width:"65px"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"===e.row.setting_state?"status-active":"status-off"})]}}],null,!1,3224184510)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.currStatus"),width:"65px"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"===e.row.present_state?"status-active":"activating"===e.row.present_state?"status-activating":"status-off"})]}}],null,!1,4116932289)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.processID"),prop:"process_id",width:"65px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.version"),prop:"patch_version",width:"45px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.time")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{"white-space":"nowrap"}},[e._v(e._s(e.handleNoPublishedTime(t.row.patch_time)))])]}}],null,!1,453975453)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"260px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.configServer(t.row.id)}}},[e._v(e._s(e.$t("operate.update")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.restartServer(t.row.id)}}},[e._v(e._s(e.$t("operate.restart")))]),e._v(" "),a("let-table-operation",{staticClass:"danger",on:{click:function(a){return e.stopServer(t.row.id)}}},[e._v(e._s(e.$t("operate.stop"))+"\n ")]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.manageServant(t.row)}}},[e._v(e._s(e.$t("operate.servant")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.showMoreCmd(t.row)}}},[e._v(e._s(e.$t("operate.more")))])]}}],null,!1,278977735)}),e._v(" "),a("template",{slot:"operations"},[a("let-button",{attrs:{theme:"primary"},on:{click:e.expandHandler}},[e._v(e._s(e.$t("dcache.expand")))]),e._v(" "),a("let-button",{attrs:{theme:"primary",disabled:!e.hasCheckedServer},on:{click:e.shrinkageHandler}},[e._v(e._s(e.$t("dcache.Shrinkage"))+"\n ")]),e._v(" "),a("let-button",{attrs:{theme:"primary",disabled:!e.hasCheckedServer},on:{click:e.serverMigrationHandler}},[e._v("\n "+e._s(e.$t("dcache.serverMigration"))+"\n ")]),e._v(" "),e.serverList.length?a("non-server-migration",{attrs:{disabled:!e.hasCheckedServer,"expand-servers":e.serverList}}):e._e(),e._v(" "),a("let-button",{attrs:{theme:"primary",disabled:!e.hasCheckedServer},on:{click:e.switchHandler}},[e._v(e._s(e.$t("dcache.switch"))+"\n ")]),e._v(" "),a("offline",{attrs:{disabled:!e.hasCheckedServer,"server-list":e.serverList},on:{"success-fn":e.getServerList}}),e._v(" "),a("batch-publish",{attrs:{disabled:!e.hasCheckedServer,"checked-servers":e.checkedServers},on:{"success-fn":e.getServerList}}),e._v(" "),a("batch-operation",{attrs:{disabled:!e.hasCheckedServer,"checked-servers":e.checkedServers,type:"restart"},on:{"success-fn":e.getServerList}}),e._v(" "),a("batch-operation",{attrs:{disabled:!e.hasCheckedServer,"checked-servers":e.checkedServers,type:"stop"},on:{"success-fn":e.getServerList}})],1)],2):e._e(),e._v(" "),e.serverNotifyList&&e.showOthers?a("let-table",{ref:"serverNotifyListLoading",attrs:{data:e.serverNotifyList,title:e.$t("serverList.title.serverStatus"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("common.time"),prop:"notifytime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.serviceID"),prop:"server_id"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.threadID"),prop:"thread_id"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.result"),prop:"result"}})],1):e._e(),e._v(" "),a("let-modal",{attrs:{title:e.$t("serverList.dlg.title.editService"),width:"800px",footShow:!(!e.configModal.model||!e.configModal.model.server_name)},on:{"on-confirm":e.saveConfig,close:e.closeConfigModal,"on-cancel":e.closeConfigModal},model:{value:e.configModal.show,callback:function(t){e.$set(e.configModal,"show",t)},expression:"configModal.show"}},[e.configModal.model&&e.configModal.model.server_name?a("let-form",{ref:"configForm",staticClass:"two-columns",attrs:{itemWidth:"360px",columns:2}},[a("let-form-item",{attrs:{label:e.$t("common.service")}},[e._v(e._s(e.configModal.model.server_name))]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.ip")}},[e._v(e._s(e.configModal.model.node_name))]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.isBackup"),required:""}},[a("let-radio-group",{attrs:{size:"small",data:[{value:!0,text:e.$t("common.yes")},{value:!1,text:e.$t("common.no")}]},model:{value:e.configModal.model.bak_flag,callback:function(t){e.$set(e.configModal.model,"bak_flag",t)},expression:"configModal.model.bak_flag"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.template"),required:""}},[e.configModal.model.templates&&e.configModal.model.templates.length?a("let-select",{attrs:{size:"small",required:""},model:{value:e.configModal.model.template_name,callback:function(t){e.$set(e.configModal.model,"template_name",t)},expression:"configModal.model.template_name"}},e._l(e.configModal.model.templates,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1):a("span",[e._v(e._s(e.configModal.model.template_name))])],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.serviceType"),required:""}},[a("let-select",{attrs:{size:"small",required:""},model:{value:e.configModal.model.server_type,callback:function(t){e.$set(e.configModal.model,"server_type",t)},expression:"configModal.model.server_type"}},e._l(e.serverTypes,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.table.th.enableSet"),required:""}},[a("let-radio-group",{attrs:{size:"small",data:[{value:!0,text:e.$t("common.enable")},{value:!1,text:e.$t("common.disable")}]},model:{value:e.configModal.model.enable_set,callback:function(t){e.$set(e.configModal.model,"enable_set",t)},expression:"configModal.model.enable_set"}})],1),e._v(" "),e.configModal.model.enable_set?a("let-form-item",{attrs:{label:e.$t("common.set.setName"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.errMsg.setName"),required:"",pattern:"^[a-z]+$","pattern-tip":e.$t("serverList.dlg.errMsg.setName")},model:{value:e.configModal.model.set_name,callback:function(t){e.$set(e.configModal.model,"set_name",t)},expression:"configModal.model.set_name"}})],1):e._e(),e._v(" "),e.configModal.model.enable_set?a("let-form-item",{attrs:{label:e.$t("common.set.setArea"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.errMsg.setArea"),required:"",pattern:"^[a-z]+$","pattern-tip":e.$t("serverList.dlg.errMsg.setArea")},model:{value:e.configModal.model.set_area,callback:function(t){e.$set(e.configModal.model,"set_area",t)},expression:"configModal.model.set_area"}})],1):e._e(),e._v(" "),e.configModal.model.enable_set?a("let-form-item",{attrs:{label:e.$t("common.set.setGroup"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.errMsg.setGroup"),required:"",pattern:"^[0-9\\*]+$","pattern-tip":e.$t("serverList.dlg.errMsg.setGroup")},model:{value:e.configModal.model.set_group,callback:function(t){e.$set(e.configModal.model,"set_group",t)},expression:"configModal.model.set_group"}})],1):e._e(),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.asyncThread"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.placeholder.thread"),required:"",pattern:"tars_nodejs"===e.configModal.model.server_type?"^[1-9][0-9]*$":"^([3-9]|[1-9][0-9]+)$","pattern-tip":"$t('serverList.dlg.placeholder.thread')"},model:{value:e.configModal.model.async_thread_num,callback:function(t){e.$set(e.configModal.model,"async_thread_num",t)},expression:"configModal.model.async_thread_num"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.defaultPath")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.base_path,callback:function(t){e.$set(e.configModal.model,"base_path",t)},expression:"configModal.model.base_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.exePath")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.exe_path,callback:function(t){e.$set(e.configModal.model,"exe_path",t)},expression:"configModal.model.exe_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.startScript")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.start_script_path,callback:function(t){e.$set(e.configModal.model,"start_script_path",t)},expression:"configModal.model.start_script_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.stopScript")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.stop_script_path,callback:function(t){e.$set(e.configModal.model,"stop_script_path",t)},expression:"configModal.model.stop_script_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.monitorScript"),itemWidth:"724px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.monitor_script_path,callback:function(t){e.$set(e.configModal.model,"monitor_script_path",t)},expression:"configModal.model.monitor_script_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.privateTemplate"),labelWidth:"150px",itemWidth:"724px"}},[a("let-input",{attrs:{size:"large",type:"textarea",rows:4},model:{value:e.configModal.model.profile,callback:function(t){e.$set(e.configModal.model,"profile",t)},expression:"configModal.model.profile"}})],1)],1):a("div",{ref:"configFormLoading",staticClass:"loading-placeholder"})],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("serverList.table.servant.title"),width:"1200px",footShow:!1},on:{close:e.closeServantModal},model:{value:e.servantModal.show,callback:function(t){e.$set(e.servantModal,"show",t)},expression:"servantModal.show"}},[a("let-button",{staticClass:"tbm16",attrs:{size:"small",theme:"primary"},on:{click:function(t){return e.configServant()}}},[e._v(e._s(e.$t("operate.add"))+" Servant\n ")]),e._v(" "),e.servantModal.model?a("let-table",{attrs:{data:e.servantModal.model,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("operate.servant"),prop:"servant"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.adress"),prop:"endpoint"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.thread"),prop:"thread_num"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.maxConnecttions"),prop:"max_connections"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.maxQueue"),prop:"queuecap"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.timeout"),prop:"queuetimeout"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"90px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.configServant(t.row.id)}}},[e._v(e._s(e.$t("operate.update")))]),e._v(" "),a("let-table-operation",{staticClass:"danger",on:{click:function(a){return e.deleteServant(t.row.id)}}},[e._v(e._s(e.$t("operate.delete"))+"\n ")])]}}],null,!1,3434649609)})],1):a("div",{ref:"servantModalLoading",staticClass:"loading-placeholder"})],1),e._v(" "),a("let-modal",{attrs:{title:e.servantDetailModal.isNew?e.$t("operate.title.add")+" Servant":e.$t("operate.title.update")+" Servant",width:"800px",footShow:!!e.servantDetailModal.model},on:{"on-confirm":e.saveServantDetail,close:e.closeServantDetailModal,"on-cancel":e.closeServantDetailModal},model:{value:e.servantDetailModal.show,callback:function(t){e.$set(e.servantDetailModal,"show",t)},expression:"servantDetailModal.show"}},[e.servantDetailModal.model?a("let-form",{ref:"servantDetailForm",staticClass:"two-columns",attrs:{itemWidth:"360px",columns:2}},[a("let-form-item",{attrs:{label:e.$t("serverList.servant.appService"),itemWidth:"724px"}},[a("span",[e._v(e._s(e.servantDetailModal.model.application)+"·"+e._s(e.servantDetailModal.model.server_name))])]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.objName"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.servant.c"),required:"",pattern:"^[A-Za-z]+$","pattern-tip":e.$t("serverList.servant.obj")},model:{value:e.servantDetailModal.model.obj_name,callback:function(t){e.$set(e.servantDetailModal.model,"obj_name",t)},expression:"servantDetailModal.model.obj_name"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.numOfThread"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.servant.thread"),required:"",pattern:"^[1-9][0-9]*$","pattern-tip":e.$t("serverList.servant.thread")},model:{value:e.servantDetailModal.model.thread_num,callback:function(t){e.$set(e.servantDetailModal.model,"thread_num",t)},expression:"servantDetailModal.model.thread_num"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.table.servant.adress"),required:"",itemWidth:"724px"}},[a("let-input",{ref:"endpoint",attrs:{size:"small",placeholder:"tcp -h 127.0.0.1 -t 60000 -p 12000",required:"",extraTip:e.isEndpointValid?"":e.$t("serverList.servant.error")},model:{value:e.servantDetailModal.model.endpoint,callback:function(t){e.$set(e.servantDetailModal.model,"endpoint",t)},expression:"servantDetailModal.model.endpoint"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.maxConnecttions"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.max_connections,callback:function(t){e.$set(e.servantDetailModal.model,"max_connections",t)},expression:"servantDetailModal.model.max_connections"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.lengthOfQueue"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.queuecap,callback:function(t){e.$set(e.servantDetailModal.model,"queuecap",t)},expression:"servantDetailModal.model.queuecap"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.queueTimeout"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.queuetimeout,callback:function(t){e.$set(e.servantDetailModal.model,"queuetimeout",t)},expression:"servantDetailModal.model.queuetimeout"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.allowIP")}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.allow_ip,callback:function(t){e.$set(e.servantDetailModal.model,"allow_ip",t)},expression:"servantDetailModal.model.allow_ip"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.protocol"),required:""}},[a("let-radio-group",{attrs:{size:"small",data:[{value:"tars",text:"TARS"},{value:"not_tars",text:e.$t("serverList.servant.notTARS")}]},model:{value:e.servantDetailModal.model.protocol,callback:function(t){e.$set(e.servantDetailModal.model,"protocol",t)},expression:"servantDetailModal.model.protocol"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.treatmentGroup"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.handlegroup,callback:function(t){e.$set(e.servantDetailModal.model,"handlegroup",t)},expression:"servantDetailModal.model.handlegroup"}})],1)],1):e._e()],1),e._v(" "),a("let-modal",{staticClass:"more-cmd",attrs:{title:e.$t("operate.title.more"),width:"700px"},on:{"on-confirm":e.invokeMoreCmd,close:e.closeMoreCmdModal,"on-cancel":e.closeMoreCmdModal},model:{value:e.moreCmdModal.show,callback:function(t){e.$set(e.moreCmdModal,"show",t)},expression:"moreCmdModal.show"}},[e.moreCmdModal.model?a("let-form",{ref:"moreCmdForm"},[a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"setloglevel"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.logLevel"))+"\n ")]),e._v(" "),a("let-select",{attrs:{size:"small",disabled:"setloglevel"!==e.moreCmdModal.model.selected},model:{value:e.moreCmdModal.model.setloglevel,callback:function(t){e.$set(e.moreCmdModal.model,"setloglevel",t)},expression:"moreCmdModal.model.setloglevel"}},e._l(e.logLevels,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1)],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"loadconfig"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.pushFile"))+"\n ")]),e._v(" "),a("let-select",{attrs:{size:"small",placeholder:e.moreCmdModal.model.configs&&e.moreCmdModal.model.configs.length?e.$t("pub.dlg.defaultValue"):e.$t("pub.dlg.noConfFile"),disabled:!(e.moreCmdModal.model.configs&&e.moreCmdModal.model.configs.length)||"loadconfig"!==e.moreCmdModal.model.selected,required:"loadconfig"===e.moreCmdModal.model.selected},model:{value:e.moreCmdModal.model.loadconfig,callback:function(t){e.$set(e.moreCmdModal.model,"loadconfig",t)},expression:"moreCmdModal.model.loadconfig"}},e._l(e.moreCmdModal.model.configs,function(t){return a("let-option",{key:t.filename,attrs:{value:t.filename}},[e._v(e._s(t.filename)+"\n ")])}),1)],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"command"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.sendCommand"))+"\n ")]),e._v(" "),a("let-input",{attrs:{size:"small",disabled:"command"!==e.moreCmdModal.model.selected,required:"command"===e.moreCmdModal.model.selected},model:{value:e.moreCmdModal.model.command,callback:function(t){e.$set(e.moreCmdModal.model,"command",t)},expression:"moreCmdModal.model.command"}})],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"connection"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.serviceLink"))+"\n ")])],1)],1):e._e()],1),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!1,width:"1000px",title:e.$t("dcache.expand")},model:{value:e.expandShow,callback:function(t){e.expandShow=t},expression:"expandShow"}},[e.expandShow?a("Expand",{attrs:{"expand-servers":e.lastGroupServers},on:{close:e.expandCloseHandler}}):e._e()],1),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!1,width:"1000px",title:e.$t("dcache.serverMigration")},model:{value:e.serverMigrationShow,callback:function(t){e.serverMigrationShow=t},expression:"serverMigrationShow"}},[e.serverMigrationShow?a("server-migration",{attrs:{"check-src-group-name":e.checkSrcGroupName,"expand-servers":e.lastGroupServers},on:{close:e.serverMigrationCloseHandler}}):e._e()],1)],1)},staticRenderFns:[]};var Re=a("VU/8")(Fe,Pe,!1,function(e){a("RN9H")},null,null).exports,Oe=a("fZjL"),Ie=a.n(Oe),je=a("Tx4S"),Ee=a("q2c9"),ze=a("CeRa"),Ve={name:"ServerPropertyMonitor",components:{HoursFilter:Ee.a,CompareChart:ze.a},data:function(){var e=this.$route.params.treeid;return{query:{thedate:Object(je.b)(new Date,"YYYYMMDD"),predate:Object(je.b)(Date.now()-je.a,"YYYYMMDD"),startshowtime:"0000",endshowtime:"2360",moduleName:e.split(".")[1].substr(1),serverName:""},formatter:"YYYYMMDD",allItems:[],hour:-1,page:1,showChart:!0,keys:[]}},computed:{filteredItems:function(){var e=this.hour;return e>=0?this.allItems.filter(function(t){return+t.show_time.slice(0,2)===e}):this.allItems},itemsCount:function(){return this.filteredItems.length},pageCount:function(){return Math.ceil(this.filteredItems.length/20)},pagedItems:function(){return this.filteredItems.slice(20*(this.page-1),20*this.page)},chartOptions:function(){return{title:this.$t("monitor.table.total"),timeColumn:"show_time",dataColumns:[{name:"the_value",label:this.$t("monitor.property.property")},{name:"pre_value",label:this.$t("monitor.property.propertyC")}],data:this.allItems}},charts:function(){var e=this;return this.keys.map(function(t){return{title:t,timeColumn:"show_time",dataColumns:[{name:"the_"+t,label:e.$t("monitor.table.curr")},{name:"pre_"+t,label:e.$t("monitor.table.contrast")}],data:e.allItems}})}},mounted:function(){this.fetchData()},methods:{fetchData:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n,i,l,c,d,u;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.$refs.charts&&e.$refs.charts.$loading.show(),r=e.$refs.table.$loading.show(),t.prev=2,o=e.query,s=e.query,n=s.group_by,i=s.serverName,l=S()({},o),"serverName"===n&&""===i&&(l=S()({},l,{serverName:"*"})),t.next=8,X(l);case 8:c=t.sent,d=c.data,u=c.keys,e.allItems=d,e.keys=u,t.next=19;break;case 15:t.prev=15,t.t0=t.catch(2),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 19:return t.prev=19,a&&a.hide(),r.hide(),t.finish(19);case 23:case"end":return t.stop()}},t,e,[[2,15,19,23]])}))()},groupBy:function(e){this.query.group_by=e,this.showChart=!1,this.fetchData()},search:function(){delete this.query.group_by,this.showChart=!0,this.fetchData()},changePage:function(e){this.page=e}}},Ge={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_server_property_monitor"},[a("let-form",{attrs:{inline:"",itemWidth:"200px"},nativeOn:{submit:function(t){return t.preventDefault(),e.search(t)}}},[a("let-form-group",[a("let-form-item",{attrs:{label:e.$t("monitor.search.a")}},[a("let-date-picker",{attrs:{size:"small",formatter:e.formatter},model:{value:e.query.thedate,callback:function(t){e.$set(e.query,"thedate",t)},expression:"query.thedate"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("monitor.search.b")}},[a("let-date-picker",{attrs:{size:"small",formatter:e.formatter},model:{value:e.query.predate,callback:function(t){e.$set(e.query,"predate",t)},expression:"query.predate"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("monitor.search.start")}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.startshowtime,callback:function(t){e.$set(e.query,"startshowtime",t)},expression:"query.startshowtime"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("monitor.search.end")}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.endshowtime,callback:function(t){e.$set(e.query,"endshowtime",t)},expression:"query.endshowtime"}})],1)],1),e._v(" "),a("let-form-group",[a("tars-form-item",{attrs:{label:e.$t("module.name")},on:{onLabelClick:function(t){return e.groupBy("moduleName")}}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.moduleName,callback:function(t){e.$set(e.query,"moduleName",t)},expression:"query.moduleName"}})],1),e._v(" "),a("tars-form-item",{attrs:{label:e.$t("service.serverName")},on:{onLabelClick:function(t){return e.groupBy("serverName")}}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.serverName,callback:function(t){e.$set(e.query,"serverName",t)},expression:"query.serverName"}})],1),e._v(" "),a("let-form-item",[a("let-button",{attrs:{size:"small",type:"submit",theme:"primary"}},[e._v(e._s(e.$t("operate.search")))])],1)],1)],1),e._v(" "),e.showChart?a("let-row",{ref:"charts",staticClass:"charts"},e._l(e.charts,function(t){return a("let-col",{key:t.title,attrs:{span:12}},[e.allItems.length>0?a("compare-chart",e._b({},"compare-chart",t,!1)):e._e()],1)}),1):e._e(),e._v(" "),a("hours-filter",{model:{value:e.hour,callback:function(t){e.hour=t},expression:"hour"}}),e._v(" "),a("div",{staticStyle:{width:"1200px","overflow-x":"auto","padding-bottom":"20px"}},[a("let-table",{ref:"table",attrs:{data:e.pagedItems,"empty-msg":e.$t("common.nodata"),stripe:""}},[a("let-table-column",{attrs:{title:e.$t("common.time"),prop:"show_time",width:"80px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.name"),prop:"moduleName",width:""}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"serverName",width:"150px"}}),e._v(" "),e._l(e.keys,function(t){return[a("let-table-column",{attrs:{title:e.$t("monitor.table.curr")+" "+t,prop:"the_"+t}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.table.contrast")+" "+t,prop:"pre_"+t}})]}),e._v(" "),e.pageCount?a("let-pagination",{attrs:{slot:"pagination",total:e.pageCount,page:e.page,sum:e.itemsCount,"show-sums":"",jump:""},on:{change:e.changePage},slot:"pagination"}):e._e()],2)],1)],1)},staticRenderFns:[]};var We=a("VU/8")(Ve,Ge,!1,function(e){a("JeDk")},null,null).exports,Je={name:"ServerPublish",data:function(){return{serverType:this.$route.params.serverType||"tars",activeKey:"",treeData:[],totalServerList:[],serverList:[],isCheckedAll:!1,totalPage:0,pageSize:20,page:1,publishModal:{publishId:null,show:!1,model:null,module_name:"",application:"",totalPatchPage:0,patchPageSize:10,patchPage:1},finishModal:{show:!1,model:{task_no:"",items:[]}},statusConfig:{0:this.$t("serverList.restart.notStart"),1:this.$t("serverList.restart.running"),2:this.$t("serverList.restart.success"),3:this.$t("serverList.restart.failed"),4:this.$t("serverList.restart.cancel"),5:this.$t("serverList.restart.parial")},statusMap:{0:"EM_T_NOT_START",1:"EM_T_RUNNING",2:"EM_T_SUCCESS",3:"EM_T_FAILED",4:"EM_T_CANCEL",5:"EM_T_PARIAL"},showHistory:!1,startTime:"",endTime:"",totalHistoryList:[],historyList:[],historyTotalPage:0,historyPage:1,historyPageSize:20,taskModal:{show:!1,modal:!0},uploadModal:{show:!1,model:null},patchType:"patch",patchRadioData:[{value:"patch",text:this.$t("pub.dlg.upload")}],tagList:[],tagVersion:"",publishUrlConfModal:{show:!1,model:{tag:"",compiler:"",task:""}},compilerModal:{show:!1,model:null},pkgUpload:{show:!1,model:null}}},methods:{getCompileConf:function(){var e=this;this.$ajax.getJSON("/server/api/get_compile_conf").then(function(t){t.enable&&e.patchRadioData.push({value:"compile",text:e.$t("pub.dlg.compileAndPublish")})}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},getServerList:function(){var e=this,t=this.$Loading.show();this.$ajax.getJSON("/server/api/server_list",{tree_node_id:this.$route.params.treeid}).then(function(a){t.hide();var r=a||[];r.forEach(function(e){e.isChecked=!1}),e.totalServerList=r,e.totalPage=Math.ceil(e.totalServerList.length/e.pageSize),e.page=1,e.updateServerList()}).catch(function(a){t.hide(),e.$confirm(a.err_msg||a.message||e.$t("serverList.table.msg.fail")).then(function(){e.getServerList()})})},changePage:function(e){this.page=e},openPublishModal:function(){var e=this,t=this.serverList.filter(function(e){return e.isChecked});if(t.length<=0)this.$tip.warning(this.$t("pub.dlg.a"));else{var a=t[0];this.publishModal.publishId=null,this.publishModal.model={application:a.application,server_name:a.server_name,serverList:t,patchList:[],patch_id:"",update_text:"",show:!0};var r=this.serverType,o=a.server_name;"router"==r?o="RouterServer":"proxy"==r?o="ProxyServer":"dcache"==r&&(o="DCacheServerGroup"),this.publishModal.module_name=o,this.publishModal.application=a.application,this.publishModal.patchPage=1,this.publishModal.patchPageSize=5,this.getPatchList(a.application,o,1,5).then(function(t){e.publishModal.model.patchList=t.rows,e.publishModal.totalPatchPage=Math.ceil(t.count/5),e.publishModal.show=!0})}},patchChangePage:function(e){var t=this;this.publishModal.patchPage=e;var a=this.publishModal,r=a.module_name,o=a.application,s=a.patchPage,n=a.patchPageSize;this.getPatchList(o,r,s,n).then(function(e){t.publishModal.model.patchList=e.rows,t.publishModal.totalPatchPage=Math.ceil(e.count/n)})},getPatchList:function(e,t,a,r){return this.$ajax.getJSON("/server/api/server_patch_list",{application:e,module_name:t,curr_page:a,page_size:r})},closePublishModal:function(){this.publishModal.show=!1,this.publishModal.modal=null,this.patchType="patch",this.$refs.publishForm.resetValid()},savePublishServer:function(){var e=this;if(this.$refs.publishForm.validate()){var t=[],a="tars"===this.serverType?this.publishModal.model.patch_id.toString():this.publishModal.publishId;if(!a)return this.$tip.warning(this.$t("pub.dlg.ab"));var r=this.serverType,o="";"router"==r?o="RouterServer":"proxy"==r?o="ProxyServer":"dcache"==r&&(o="DCacheServerGroup"),this.publishModal.model.serverList.forEach(function(r){t.push({server_id:r.id.toString(),command:"patch_tars",parameters:{patch_id:a,bak_flag:r.bak_flag,update_text:e.publishModal.model.update_text,group_name:o}})});var s=this.$Loading.show();this.$ajax.postJSON("/server/api/add_task",{serial:!0,items:t}).then(function(t){s.hide(),e.closePublishModal(),e.finishModal.model.task_no=t,e.finishModal.show=!0,e.getTaskRepeat(t)}).catch(function(t){s.hide(),e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})}},closeFinishModal:function(){this.finishModal.show=!1,this.finishModal.modal=null,this.$refs.finishForm.resetValid()},getTaskRepeat:function(e){var t=this,a=void 0;a&&clearTimeout(a);!function r(){t.$ajax.getJSON("/server/api/task",{task_no:e}).then(function(e){var o=!0;e.items.forEach(function(e){[2,3].includes(e.status)||(o=!1)}),o?clearTimeout(a):a=setTimeout(r,2e3),t.finishModal.model.items=e.items}).catch(function(e){clearTimeout(a),t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})}()},updateServerList:function(){var e=(this.page-1)*this.pageSize,t=this.page*this.pageSize;this.serverList=this.totalServerList.slice(e,t)},gotoHistory:function(){this.showHistory=!0,this.getHistoryList(1)},getHistoryList:function(e){var t=this;"number"!=typeof e&&(e=1);var a=this.$Loading.show(),r={application:this.serverList[0].application||"",server_name:this.serverList[0].server_name||"",from:this.startTime,to:this.endTime,page_size:this.historyPageSize,curr_page:e};this.historyPage=e,this.$ajax.getJSON("/server/api/task_list",r).then(function(e){a.hide(),t.totalHistoryList=e.rows||[],t.historyTotalPage=Math.ceil(e.count/t.historyPageSize)}).catch(function(e){a.hide(),t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})},viewTask:function(e){var t=this;this.$ajax.getJSON("/server/api/task",{task_no:e}).then(function(e){t.taskModal.model=e,t.taskModal.show=!0})},changeHistoryPage:function(e){this.getHistoryList(e)},showUploadModal:function(){this.serverList.length<=0&&this.$tip.warning(this.$t("pub.dlg.a")),this.uploadModal.model={application:this.serverList[0].application||"",server_name:this.serverList[0].server_name||"",file:null,comment:""},this.uploadModal.show=!0},closeUploadModal:function(){this.uploadModal.show=!1,this.uploadModal.model=null,this.$refs.uploadForm.resetValid()},uploadFile:function(e){this.uploadModal.model.file=e},uploadPatchPackage:function(){var e=this;if(this.$refs.uploadForm.validate()){var t=this.$Loading.show(),a=new FormData;a.append("application",this.uploadModal.model.application),a.append("module_name",this.uploadModal.model.server_name),a.append("suse",this.uploadModal.model.file),a.append("comment",this.uploadModal.model.comment),a.append("task_id",(new Date).getTime()),this.$ajax.postForm("/server/api/upload_patch_package",a).then(function(){e.getPatchList(e.uploadModal.model.application,e.uploadModal.model.server_name,1,50).then(function(a){t.hide(),e.publishModal.model.patchList=a.rows,e.closeUploadModal()})}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.message||a.err_msg))})}},handleNoPublishedTime:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$t("pub.dlg.unpublished");return"0000:00:00 00:00:00"===e?t:e},patchChange:function(){"patch"==this.patchType?this.publishModal.model.show=!0:(this.publishModal.model.show=!1,this.getCodeVersion())},getCodeVersion:function(){var e=this;this.$ajax.get("/server/api/get_tag_list",{application:this.publishModal.model.application,server_name:this.publishModal.model.server_name}).then(function(t){""==t.data?e.openPubConfModal():e.tagList=t.data}).catch(function(t){e.tagList=[],e.$tip.error(e.$t("common.error")+": "+(err.err_msg||err.message))})},openPubConfModal:function(){var e=this;this.publishUrlConfModal.show=!0,this.$ajax.getJSON("/server/api/get_tag_conf",{application:this.publishModal.model.application,server_name:this.publishModal.model.server_name}).then(function(t){e.publishUrlConfModal.model.tag=t.path}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.err_msg||t.message))})},saveCompilerUrl:function(){var e=this;if(this.$refs.compilerForm.validate()){var t=this.$Loading.show();this.$ajax.getJSON("/server/api/set_tag_conf",{path:this.publishUrlConfModal.model.tag,application:this.publishModal.model.application,server_name:this.publishModal.model.server_name}).then(function(a){t.hide(),e.$tip.success(e.$t("common.success")),e.publishUrlConfModal.show=!1,e.getCodeVersion()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.err_msg||a.message))})}},addCompileTask:function(){var e=this;this.$ajax.getJSON("/server/api/get_compile_conf").then(function(t){var a=t.getVersionList;if(a){var r=e.publishModal.model.serverList.map(function(e){return e.node_name}),o={application:e.publishModal.model.application,server_name:e.publishModal.model.server_name,node:r.join(";"),path:e.tagVersion.split("--")[0],version:e.tagVersion.split("--")[1],comment:e.publishModal.model.update_text||"",compileUrl:a},s=e.$Loading.show();e.$ajax.postJSON("/server/api/do_compile",o).then(function(t){s.hide(),e.compilerModal.show=!0;var a="string"==typeof t?t:t.data;e.getStatus(a)}).catch(function(t){s.hide(),e.$tip.error(e.$t("common.error")+": "+(t.err_msg||t.message))})}else e.openPubConfModal()}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.err_msg||t.message))})},taskStatus:function(e){this.getStatus(e)},getStatus:function(e){var t=this;!function a(){var r=null;r&&clearTimeout(r),t.$ajax.getJSON("/server/api/compiler_task",{taskNo:e}).then(function(o){var s="array"==typeof o?o:o.data;if(s[0].status=t.statusConfig[s[0].state],1==s[0].state&&(r=setTimeout(a,2e3)),t.compilerModal.model?_()(t.compilerModal.model,{progress:s}):t.compilerModal.model={progress:s},2==s[0].state){var n=t.$Loading({text:"回传发布包"});n.show(),t.compilerModal.show=!1,setTimeout(function a(){t.$ajax.getJSON("/server/api/get_server_patch",{task_id:e}).then(function(e){0!==Ie()(e).length?(n.hide(),t.publishModal.model.patch_id=e.id,t.publishModal.show=!1,t.savePublishServer()):setTimeout(a,2e3)}).catch(function(e){n.hide(),t.$tip.error(t.$t("common.error")+": "+(e.err_msg||e.message))})},2e3)}}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.err_msg||e.message))})}()}},mounted:function(){this.getServerList(),this.getCompileConf()},watch:{isCheckedAll:function(){var e=this.isCheckedAll;this.serverList.forEach(function(t){t.isChecked=e})},page:function(){this.updateServerList()}}},Be={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_server_publish"},[e.showHistory?e._e():a("div",[e.serverList&&e.serverList.length>0?a("let-table",{ref:"table",attrs:{data:e.serverList,title:e.$t("serverList.title.serverList"),"empty-msg":e.$t("common.noService")}},[a("let-table-column",{scopedSlots:e._u([{key:"head",fn:function(t){return[a("let-checkbox",{model:{value:e.isCheckedAll,callback:function(t){e.isCheckedAll=t},expression:"isCheckedAll"}})]}},{key:"default",fn:function(t){return[a("let-checkbox",{attrs:{value:t.row.id},model:{value:t.row.isChecked,callback:function(a){e.$set(t.row,"isChecked",a)},expression:"scope.row.isChecked"}})]}}],null,!1,1693185143)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.ip"),prop:"node_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.enableSet")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.enable_set?e.$t("common.enable"):e.$t("common.disable")))])]}}],null,!1,2059146282)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("common.set.setName"),prop:"set_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("common.set.setArea"),prop:"set_area"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("common.set.setGroup"),prop:"set_group"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.configStatus")},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"==e.row.setting_state?"status-active":"status-off"})]}}],null,!1,483453731)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.currStatus")},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"==e.row.present_state?"status-active":"status-off"})]}}],null,!1,3783586142)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.version"),prop:"patch_version"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.time")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{"word-break":"break-word"}},[e._v(e._s(e.handleNoPublishedTime(t.row.patch_time)))])]}}],null,!1,3144837894)}),e._v(" "),a("let-pagination",{attrs:{slot:"pagination",align:"right",total:e.totalPage,page:e.page},on:{change:e.changePage},slot:"pagination"}),e._v(" "),a("div",{staticStyle:{"margin-left":"-15px"},attrs:{slot:"operations"},slot:"operations"},[a("let-button",{attrs:{theme:"primary",size:"small"},on:{click:e.openPublishModal}},[e._v(e._s(e.$t("pub.btn.pub")))]),e._v(" "),e.serverList&&e.serverList.length>0?a("let-button",{attrs:{size:"small"},on:{click:e.gotoHistory}},[e._v("\n "+e._s(e.$t("pub.btn.history"))+"\n ")]):e._e()],1)],1):e._e(),e._v(" "),a("let-modal",{attrs:{title:e.$t("index.rightView.tab.patch"),width:"880px",footShow:!1},on:{close:e.closePublishModal,"on-confirm":e.savePublishServer},model:{value:e.publishModal.show,callback:function(t){e.$set(e.publishModal,"show",t)},expression:"publishModal.show"}},[e.publishModal.model?a("let-form",{ref:"publishForm",attrs:{itemWidth:"100%"}},[a("let-form-item",{attrs:{label:e.$t("serverList.servant.appService")}},[e._v("\n "+e._s(e.publishModal.model.application)+"·"+e._s(e.publishModal.model.server_name)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("pub.dlg.ip")}},e._l(e.publishModal.model.serverList,function(t){return a("div",{key:t.id},[e._v(e._s(t.node_name))])}),0),e._v(" "),"tars"==e.serverType?a("let-form-item",{attrs:{label:e.$t("serverList.servant.comment")}},[a("let-input",{model:{value:e.publishModal.model.update_text,callback:function(t){e.$set(e.publishModal.model,"update_text",t)},expression:"publishModal.model.update_text"}})],1):e._e(),e._v(" "),e.patchRadioData.length>1?a("let-form-item",{attrs:{label:e.$t("pub.dlg.patchType")}},[a("let-radio-group",{attrs:{type:"button",size:"small",data:e.patchRadioData},on:{change:e.patchChange},model:{value:e.patchType,callback:function(t){e.patchType=t},expression:"patchType"}})],1):e._e(),e._v(" "),e.publishModal.model.show?a("let-form-item",{attrs:{label:e.$t("pub.dlg.releaseVersion")}},["tars"==e.serverType?a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("pub.dlg.ab")},model:{value:e.publishModal.model.patch_id,callback:function(t){e.$set(e.publishModal.model,"patch_id",t)},expression:"publishModal.model.patch_id"}},e._l(e.publishModal.model.patchList,function(t){return a("let-option",{key:t.id,attrs:{value:t.id}},[e._v("\n "+e._s(t.id)+" | "+e._s(t.posttime)+" | "+e._s(t.comment)+"\n ")])}),1):e._e(),e._v(" "),"tars"==e.serverType?a("let-button",{staticClass:"mt10",attrs:{theme:"primary",size:"small"},on:{click:e.showUploadModal}},[e._v("\n "+e._s(e.$t("pub.dlg.upload"))+"\n ")]):e._e(),e._v(" "),a("br"),e._v(" "),"tars"!==e.serverType?a("let-table",{attrs:{data:e.publishModal.model.patchList,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-radio",{attrs:{label:t.row.id},model:{value:e.publishModal.publishId,callback:function(t){e.$set(e.publishModal,"publishId",t)},expression:"publishModal.publishId"}},[e._v(" ")])]}}],null,!1,3748975665)}),e._v(" "),a("let-table-column",{attrs:{title:"ID",prop:"id"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.id)+"\n "),a("span",{staticStyle:{color:"green",display:"inline-block",width:"1em",height:"1em"},attrs:{title:e.$t("releasePackage.default")}},[1==t.row.default_version?a("icon",{attrs:{name:"default"}}):e._e()],1)]}}],null,!1,3749738076)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.moduleName"),prop:"server"}}),e._v(" "),"dcache"===e.serverType?a("let-table-column",{attrs:{title:e.$t("releasePackage.cacheType")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(1==t.row.package_type?"KVcache":"MKVcache"))])]}}],null,!1,1195663938)}):e._e(),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.servant.comment"),prop:"comment"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.uploadTime"),prop:"posttime"}}),e._v(" "),a("let-pagination",{attrs:{slot:"pagination",align:"right",total:e.publishModal.totalPatchPage,page:e.publishModal.patchPage},on:{change:e.patchChangePage},slot:"pagination"})],1):e._e(),e._v(" "),a("let-button",{staticClass:"mt10",attrs:{theme:"primary",size:"small"},on:{click:e.savePublishServer}},[e._v(e._s(e.$t("common.patch"))+"\n ")])],1):a("let-form-item",{attrs:{label:e.$t("serverList.table.th.version")}},[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty"),requred:""},model:{value:e.tagVersion,callback:function(t){e.tagVersion=t},expression:"tagVersion"}},e._l(e.tagList,function(t){return a("let-option",{key:""+t.version,attrs:{value:t.path+"--"+t.version}},[e._v("\n "+e._s(t.version)+"\n ")])}),1),e._v(" "),a("let-button",{staticClass:"mt10",attrs:{theme:"primary",size:"small"},on:{click:e.addCompileTask}},[e._v("\n "+e._s(e.$t("pub.dlg.compileAndPublish"))+"\n ")]),e._v(" "),e._e()],1)],1):e._e()],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("pub.dlg.upload"),width:"880px",footShow:!1},on:{"on-cancel":e.closeUploadModal},model:{value:e.uploadModal.show,callback:function(t){e.$set(e.uploadModal,"show",t)},expression:"uploadModal.show"}},[e.uploadModal.model?a("let-form",{ref:"uploadForm",attrs:{itemWidth:"100%"},nativeOn:{submit:function(t){return t.preventDefault(),e.uploadPatchPackage(t)}}},[a("let-form-item",{attrs:{label:e.$t("pub.dlg.releasePkg"),itemWidth:"400px"}},[a("let-uploader",{attrs:{placeholder:e.$t("pub.dlg.defaultValue")},on:{upload:e.uploadFile}},[e._v(e._s(e.$t("common.submit"))+"\n ")]),e._v(" "),e.uploadModal.model.file?a("span",[e._v(e._s(e.uploadModal.model.file.name))]):e._e()],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.comment")}},[a("let-input",{attrs:{type:"textarea",rows:3},model:{value:e.uploadModal.model.comment,callback:function(t){e.$set(e.uploadModal.model,"comment",t)},expression:"uploadModal.model.comment"}})],1),e._v(" "),a("let-button",{attrs:{type:"submit",theme:"primary"}},[e._v(e._s(e.$t("serverList.servant.upload")))])],1):e._e()],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("serverList.table.th.result"),width:"880px",footShow:!1},on:{"on-cancel":e.closeFinishModal},model:{value:e.finishModal.show,callback:function(t){e.$set(e.finishModal,"show",t)},expression:"finishModal.show"}},[e.finishModal.model?a("let-table",{attrs:{title:e.$t("serverList.servant.taskID")+e.finishModal.model.task_no,data:e.finishModal.model.items}},[a("let-table-column",{attrs:{title:e.$t("serverList.table.th.ip"),prop:"node_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("common.status")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-tag",{attrs:{theme:2==t.row.status?"success":3==t.row.status?"danger":"",checked:""}},[e._v("\n "+e._s(e.statusConfig[t.row.status]+(2!=t.row.status&&3!=t.row.status?"...":""))+"\n ")])]}}],null,!1,1065210608)})],1):e._e()],1)],1),e._v(" "),e.showHistory?a("div",[a("let-form",{attrs:{inline:"",itemWidth:"300px"},nativeOn:{submit:function(t){return t.preventDefault(),e.getHistoryList(t)}}},[a("let-form-item",{attrs:{label:e.$t("pub.date")}},[a("let-date-range-picker",{attrs:{start:e.startTime,end:e.endTime},on:{"update:start":function(t){e.startTime=t},"update:end":function(t){e.endTime=t}}})],1),e._v(" "),a("let-form-item",[a("let-button",{attrs:{type:"submit",theme:"primary"}},[e._v(e._s(e.$t("operate.search")))])],1)],1),e._v(" "),a("let-table",{ref:"historyTable",attrs:{data:e.totalHistoryList,title:e.$t("historyList.title"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("serverList.servant.taskID"),prop:"task_no"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.table.th.c2")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.serial?e.$t("common.yes"):e.$t("common.no")))])]}}],null,!1,98019885)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.dlg.title.taskStatus")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e.statusMap[t.row.status]||"-"))])]}}],null,!1,3973050033)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.table.th.c4")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.viewTask(t.row.task_no)}}},[e._v(e._s(e.$t("operate.view")))])]}}],null,!1,1853944e3)}),e._v(" "),a("let-pagination",{attrs:{slot:"pagination",align:"right",total:e.historyTotalPage,page:e.historyPage},on:{change:e.changeHistoryPage},slot:"pagination"}),e._v(" "),a("div",{staticStyle:{"margin-left":"-15px"},attrs:{slot:"operations"},slot:"operations"},[a("let-button",{attrs:{theme:"primary",size:"small"},on:{click:function(t){e.showHistory=!1}}},[e._v(e._s(e.$t("operate.goback")))])],1)],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("historyList.table.th.c4"),width:"880px",footShow:!1},on:{"on-cancel":function(t){e.taskModal.show=!1}},model:{value:e.taskModal.show,callback:function(t){e.$set(e.taskModal,"show",t)},expression:"taskModal.show"}},[e.taskModal.model?a("let-table",{attrs:{data:e.taskModal.model.items}},[a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c1"),prop:"item_no"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c2"),prop:"application"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c3"),prop:"server_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c4"),prop:"node_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c5"),prop:"command"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.search.start"),prop:"start_time"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.search.end"),prop:"end_time"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("common.status"),prop:"status_info"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c7"),prop:"execute_info"}})],1):e._e()],1)],1):e._e(),e._v(" "),a("let-modal",{attrs:{title:e.$t("pub.dlg.conf"),width:"800px",footShow:!0},on:{"on-confirm":e.saveCompilerUrl,"on-cancel":function(t){e.publishUrlConfModal.show=!1}},model:{value:e.publishUrlConfModal.show,callback:function(t){e.$set(e.publishUrlConfModal,"show",t)},expression:"publishUrlConfModal.show"}},[e.publishUrlConfModal.model?a("let-form",{ref:"compilerForm",attrs:{itemWidth:"100%",required:""}},[a("let-form-item",{attrs:{label:e.$t("pub.dlg.tag")}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("pub.tips.tag"),"required-tip":e.$t("deployService.table.tips.empty"),required:""},model:{value:e.publishUrlConfModal.model.tag,callback:function(t){e.$set(e.publishUrlConfModal.model,"tag",t)},expression:"publishUrlConfModal.model.tag"}})],1)],1):e._e()],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("pub.dlg.compileProgress"),width:"880px",footShow:!1},model:{value:e.compilerModal.show,callback:function(t){e.$set(e.compilerModal,"show",t)},expression:"compilerModal.show"}},[e.compilerModal.model?a("let-table",{attrs:{data:e.compilerModal.model.progress}},[a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c2"),prop:"application"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c3"),prop:"server_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c4"),prop:"node"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c8"),prop:"status"},scopedSlots:e._u([{key:"default",fn:function(t){return["1"==t.row.state?a("span",{staticClass:"running"},[e._v(e._s(t.row.status))]):"2"==t.row.state?a("span",{staticClass:"success"},[e._v(e._s(t.row.status))]):a("span",{staticClass:"stop"},[e._v(e._s(t.row.status))])]}}],null,!1,3193835083)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.search.start"),prop:"start_time"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.search.end"),prop:"end_time"}})],1):e._e()],1)],1)},staticRenderFns:[]};var Ue=a("VU/8")(Je,Be,!1,function(e){a("+M9A")},null,null).exports,He=a("vOkX"),Ke=a("SJ4V"),Ze=a("tqp+"),Ye=a("E+Yk"),Xe=a("7x6k"),Qe={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_operation"},[a("let-tabs",{attrs:{activekey:e.$route.matched[1]?e.$route.matched[1].path:"/operation/apply"},on:{click:e.onTabClick}},[a("let-tab-pane",{attrs:{tab:e.$t("apply.title"),tabkey:"/operation/apply"}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("module.title"),tabkey:"/operation/module"}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("region.title"),tabkey:"/operation/region"}})],1),e._v(" "),a("router-view",{staticClass:"page_operation_children"})],1)},staticRenderFns:[]};var et=a("VU/8")({name:"Oparetion",methods:{onTabClick:function(e){this.$router.replace(e)}}},Qe,!1,function(e){a("8bu2")},null,null).exports,tt={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_operation_apply"},[a("let-steps",{staticClass:"apply_steps",attrs:{current:e.step}},[a("let-step",{attrs:{title:e.$t(e.title1)}}),e._v(" "),a("let-step",{attrs:{title:e.$t(e.title2)}}),e._v(" "),a("let-step",{attrs:{title:e.$t(e.title3)}})],1),e._v(" "),a("router-view",{staticClass:"page_operation_apply_children"})],1)},staticRenderFns:[]};var at=a("VU/8")({data:function(){var e=this.$route.fullPath,t=1;return e.indexOf("createApply")>-1?t=1:e.indexOf("createService")>-1?t=2:e.indexOf("installAndPublish")>-1&&(t=3),{title1:"apply.createApply",title2:"apply.createRouterProxyService",title3:"apply.installAndPublish",step:t}},watch:{$route:function(e,t){var a=e.fullPath;a.indexOf("createApply")>-1?this.step=1:a.indexOf("createService")>-1?this.step=2:a.indexOf("installAndPublish")>-1&&(this.step=3)}},methods:{}},tt,!1,function(e){a("1Ggf")},null,null).exports,rt={data:function(){return{regions:[],setRegions:[],model:{name:"",admin:"",idcArea:"",setArea:[]}}},methods:{changeSelect:function(){var e=this;this.model.setArea=[];var t=this.regions.concat();t.splice(t.indexOf(t.find(function(t){return t.label==e.model.idcArea})),1),this.setRegions=t},createApply:function(){var e=this;if(this.$refs.detailForm.validate()){var t=this.model,a=this.$Loading.show();this.$ajax.postJSON("/server/api/add_apply",t).then(function(t){a.hide(),e.$tip.success(e.$t("common.success")),e.$router.push("/operation/apply/createService/"+t.id)}).catch(function(t){a.hide(),e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})}},getRegionList:function(){var e=this;return D()(L.a.mark(function t(){var a;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,I({method:"get",url:"/get_region_list"});case 3:a=t.sent,e.regions=a,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.error(t.t0);case 10:case"end":return t.stop()}},t,e,[[0,7]])}))()}},created:function(){this.getRegionList()},beforeRouteEnter:function(e,t,a){o.a.getJSON("/server/api/has_dcahce_patch_package").then(function(e){e?a():(console.log(e),a(function(e){console.log("aaaaa"),e.$tip.warning(e.$t("common.warning")+": "+e.$t("apply.uploadPatchPackage")),e.$router.push("/releasePackage/proxyList")}))}).catch(function(e){console.error(e.message||e.err_msg)})}},ot={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"page_operation_create_apply"},[a("let-form",{ref:"detailForm",attrs:{inline:""}},[a("let-form-item",{attrs:{label:e.$t("apply.title"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.model.name,callback:function(t){e.$set(e.model,"name",t)},expression:"model.name"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.admin"),itemWidth:"240px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.model.admin,callback:function(t){e.$set(e.model,"admin",t)},expression:"model.admin"}})],1),e._v(" "),a("br"),e._v(" "),a("let-form-item",{attrs:{label:e.$t("region.idcArea"),itemWidth:"240px"}},[a("let-select",{attrs:{size:"small"},on:{change:e.changeSelect},model:{value:e.model.idcArea,callback:function(t){e.$set(e.model,"idcArea",t)},expression:"model.idcArea"}},e._l(e.regions,function(t){return a("let-option",{key:t.label,attrs:{value:t.label}},[e._v("\n "+e._s(t.region)+"\n ")])}),1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("region.setArea"),itemWidth:"240px"}},[a("let-select",{attrs:{size:"small",multiple:!0},model:{value:e.model.setArea,callback:function(t){e.$set(e.model,"setArea",t)},expression:"model.setArea"}},e._l(e.setRegions,function(t){return a("let-option",{key:t.label,attrs:{value:t.label}},[e._v("\n "+e._s(t.region)+"\n ")])}),1)],1),e._v(" "),a("div",[a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.createApply}},[e._v(e._s(e.$t("apply.createApply")))])],1)],1)],1)},staticRenderFns:[]};var st=a("VU/8")(rt,ot,!1,function(e){a("FT6P")},null,null).exports,nt=(a("Ya8g"),{data:function(){return{templates:[],applyId:this.$route.params.applyId,apply:{Router:{apply_id:17,create_person:"adminUser",router_db_ip:"",router_db_name:"",router_db_pass:"",router_db_port:"",router_db_user:"",server_ip:"",server_name:"aswRouterServer",template_file:""},Proxy:[{apply_id:17,create_person:"adminUser",idc_area:"sz",server_ip:"",server_name:"aswRouterServer",template_file:""}]}}},methods:{templateNameList:function(){var e=this;return this.$ajax.getJSON("/server/api/template_name_list").then(function(t){e.templates=t,e.apply.Router.template_file=t[0],e.apply.Proxy.forEach(function(e){return e.template_file=t[0]})}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},getApplyInfo:function(){var e=this,t=this.applyId;return this.$ajax.getJSON("/server/api/get_apply_and_router_and_proxy",{applyId:t}).then(function(t){e.apply=t||{}}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},createService:function(){var e=this;if(this.$refs.detailForm.validate()){var t=this.apply;if(this.checkDuplicateIp(t.Proxy))this.$tip.error(this.$t("apply.duplicateIp"));else{var a=this.$Loading.show();this.$ajax.postJSON("/server/api/save_router_proxy",t).then(function(t){a.hide();var r=e.applyId;e.$router.push("/operation/apply/installAndPublish/"+r)}).catch(function(t){a.hide(),e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})}}},checkDuplicateIp:function(e){var t=[],a=!1;return e.forEach(function(e){e.server_ip.split(";").filter(function(e){return e}).forEach(function(e){t.indexOf(e)>-1?a=!0:t.push(e)})}),a}},created:function(){var e=this;return D()(L.a.mark(function t(){return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getApplyInfo();case 2:return t.next=4,e.templateNameList();case 4:case"end":return t.stop()}},t,e)}))()}}),it={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"page_operation_create_service"},[a("let-form",{ref:"detailForm",attrs:{"label-position":"top"}},[a("let-form-group",{attrs:{title:e.$t("apply.RouterConfigInfo"),inline:"","label-position":"top"}},[a("let-form-item",{attrs:{label:e.$t("service.serverName"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.apply.Router.server_name,callback:function(t){e.$set(e.apply.Router,"server_name",t)},expression:"apply.Router.server_name"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.serverIp"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.apply.Router.server_ip,callback:function(t){e.$set(e.apply.Router,"server_ip",t)},expression:"apply.Router.server_ip"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("deployService.form.template"),itemWidth:"240px",required:""}},[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.form.templateTips")},model:{value:e.apply.Router.template_file,callback:function(t){e.$set(e.apply.Router,"template_file",t)},expression:"apply.Router.template_file"}},e._l(e.templates,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1)],1),e._v(" "),a("br"),e._v(" "),a("span",{staticStyle:{"margin-left":"20px"}},[e._v(e._s(e.$t("service.routerDbNameTip")))]),e._v(" "),a("br"),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbName"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.apply.Router.router_db_name,callback:function(t){e.$set(e.apply.Router,"router_db_name",t)},expression:"apply.Router.router_db_name"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbIp"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.apply.Router.router_db_ip,callback:function(t){e.$set(e.apply.Router,"router_db_ip",t)},expression:"apply.Router.router_db_ip"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbPort"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.apply.Router.router_db_port,callback:function(t){e.$set(e.apply.Router,"router_db_port",t)},expression:"apply.Router.router_db_port"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbUser"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.apply.Router.router_db_user,callback:function(t){e.$set(e.apply.Router,"router_db_user",t)},expression:"apply.Router.router_db_user"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbPass"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.apply.Router.router_db_pass,callback:function(t){e.$set(e.apply.Router,"router_db_pass",t)},expression:"apply.Router.router_db_pass"}})],1)],1),e._v(" "),a("let-form-group",{attrs:{title:e.$t("apply.ProxyConfigInfo"),inline:"","label-position":"top"}},[a("let-table",{ref:"table",attrs:{data:e.apply.Proxy,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"server_name",width:"25%"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.server_name,callback:function(a){e.$set(t.row,"server_name",a)},expression:"scope.row.server_name"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.multipleIp"),prop:"server_ip",width:"25%"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.server_ip,callback:function(a){e.$set(t.row,"server_ip",a)},expression:"scope.row.server_ip"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("region.idcArea"),prop:"idc_area"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.idc_area)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("deployService.form.template"),prop:"template_file"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.form.templateTips")},model:{value:t.row.template_file,callback:function(a){e.$set(t.row,"template_file",a)},expression:"scope.row.template_file"}},e._l(e.templates,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1)]}}])})],1)],1),e._v(" "),a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.createService}},[e._v(e._s(e.$t("apply.createRouterProxyService"))+"\n ")])],1)],1)},staticRenderFns:[]};var lt=a("VU/8")(nt,it,!1,function(e){a("Qr60")},null,null).exports,ct=a("Wc9H"),dt=a.n(ct),ut=a("IaZV"),mt=a.n(ut),pt=new dt.a({id:"spinner",use:"spinner-usage",viewBox:"0 0 100 100",content:''}),ht=(mt.a.add(pt),{data:function(){return{applyId:this.$route.params.applyId,showModal:!1,items:[],apply:{set_area:[],Router:{apply_id:17,create_person:"adminUser",router_db_ip:"",router_db_name:"",router_db_pass:"",router_db_port:"",router_db_user:"",server_ip:"",server_name:"aswRouterServer",template_file:""},Proxy:[{apply_id:17,create_person:"adminUser",idc_area:"sz",server_ip:"",server_name:"aswRouterServer",template_file:""}]},timerId:null}},methods:{getApplyInfo:function(){var e=this,t=this.applyId;this.$ajax.getJSON("/server/api/get_apply_and_router_and_proxy",{applyId:t}).then(function(t){e.apply=t||{}}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},installAndPublish:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n,i;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,a=e.applyId,t.next=4,Y({applyId:a});case 4:r=t.sent,o=r.proxy,s=r.router,e.showModal=!0,n=o.releaseId,i=s.releaseId,e.items=[{module:"ProxyServer",releaseId:n,percent:"0",errMsg:"",timer:""},{module:"RouterServer",releaseId:i,percent:"0",errMsg:"",timer:""}],e.items.forEach(function(t){return e.repeatGetReleaseProgress(t)}),t.next=18;break;case 14:t.prev=14,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 18:case"end":return t.stop()}},t,e,[[0,14]])}))()},repeatGetReleaseProgress:function(e){var t=this;return D()(L.a.mark(function a(){var r,o;return L.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return clearTimeout(e.timer),a.prev=1,a.next=4,s={releaseId:e.releaseId},void 0,n=s.releaseId,I({method:"get",url:"/cache/getReleaseProgress",params:{releaseId:n}});case 4:r=a.sent,o=r.percent,e.percent=o,100===o?clearTimeout(e.timer):e.timer=setTimeout(t.repeatGetReleaseProgress.bind(t,e),1e3),a.next=16;break;case 10:a.prev=10,a.t0=a.catch(1),console.error(a.t0),t.$tip.error(t.$t("common.error")+": "+(a.t0.message||a.t0.err_msg)),e.errMsg=a.t0,clearTimeout(e.timer);case 16:case"end":return a.stop()}var s,n},a,t,[[1,10]])}))()},confirmPublish:function(){this.showModal=!1,document.body.classList.remove("has-modal-open"),this.$router.push("/operation/module/createModule")}},beforeRouteLeave:function(e,t,a){clearTimeout(this.timerId),a()},created:function(){this.getApplyInfo()}}),ft={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"page_operation_install_and_publish"},[a("let-form",{ref:"detailForm",attrs:{"label-position":"top"}},[a("let-form-group",{attrs:{title:e.$t("common.baseInfo"),inline:"","label-position":"top"}},[a("let-form-item",{attrs:{label:e.$t("apply.name"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.name)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.admin"),itemWidth:"240px"}},[e._v("\n "+e._s(e.apply.admin)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("region.idcArea"),itemWidth:"240px"}},[e._v("\n "+e._s(e.apply.idc_area)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("region.setArea"),itemWidth:"240px"}},[e._v("\n "+e._s(e.apply.set_area.join(","))+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.createPerson"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.create_person)+"\n ")])],1),e._v(" "),a("let-form-group",{attrs:{title:e.$t("apply.RouterConfigInfo"),inline:"","label-position":"top"}},[a("let-form-item",{attrs:{label:e.$t("service.serverName"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.Router.server_name)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.serverIp"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.Router.server_ip)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.templateFile"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.Router.template_file)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbName"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.Router.router_db_name)+"\n ")]),e._v(" "),a("br"),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbIp"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.Router.router_db_ip)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbPort"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.Router.router_db_port)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbUser"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.Router.router_db_user)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbPass"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.Router.router_db_pass)+"\n ")])],1),e._v(" "),a("let-form-group",{attrs:{title:e.$t("apply.ProxyConfigInfo"),inline:"","label-position":"top"}},[a("let-table",{ref:"table",attrs:{data:e.apply.Proxy,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"server_name",width:"25%"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.server_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.multipleIp"),prop:"server_ip",width:"25%"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.server_ip)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("region.idcArea"),prop:"idc_area"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.idc_area)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.templateFile"),prop:"template_file"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.template_file)+"\n ")]}}])})],1)],1),e._v(" "),a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.installAndPublish}},[e._v(e._s(e.$t("apply.installAndPublish"))+"\n ")])],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("publishLog.title"),width:"800px"},on:{"on-confirm":e.confirmPublish},model:{value:e.showModal,callback:function(t){e.showModal=t},expression:"showModal"}},[a("let-table",{ref:"ProgressTable",staticStyle:{"margin-top":"20px"},attrs:{data:e.items,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("module.title"),prop:"module",width:"20%"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("publishLog.releaseId"),prop:"releaseId",width:"20%"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("publishLog.releaseProgress"),prop:"percent"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row,o=r.percent,s=r.errMsg;return[s?a("p",{staticStyle:{color:"red"}},[e._v(e._s(s))]):a("span",[e._v(e._s(o))]),e._v(" "),100===o||s?e._e():a("icon",{staticClass:"spinner-icon",attrs:{name:"spinner"}})]}}])})],1)],1)],1)},staticRenderFns:[]};var vt=a("VU/8")(ht,ft,!1,function(e){a("YEpj")},null,null).exports,_t={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_operation_module"},[a("let-steps",{staticClass:"apply_steps",attrs:{current:e.step}},[a("let-step",{attrs:{title:e.$t(e.title1)}}),e._v(" "),a("let-step",{attrs:{title:e.$t(e.title2)}}),e._v(" "),a("let-step",{attrs:{title:e.$t(e.title3)}}),e._v(" "),a("let-step",{attrs:{title:e.$t(e.title4)}})],1),e._v(" "),a("router-view",{staticClass:"page_operation_apply_children"})],1)},staticRenderFns:[]};var gt=a("VU/8")({data:function(){var e=this.$route.fullPath,t=1;return e.indexOf("createApply")>-1?t=1:e.indexOf("moduleConfig")>-1?t=2:e.indexOf("serverConfig")>-1?t=3:e.indexOf("installAndPublish")>-1&&(t=4),{title1:"module.createModule",title2:"module.moduleConfig",title3:"module.serverConfig",title4:"apply.installAndPublish",step:t}},watch:{$route:function(e,t){var a=e.fullPath;a.indexOf("createApply")>-1?this.step=1:a.indexOf("moduleConfig")>-1?this.step=2:a.indexOf("serverConfig")>-1?this.step=3:a.indexOf("installAndPublish")>-1&&(this.step=4)}},methods:{}},_t,!1,function(e){a("qneH")},null,null).exports,bt=[{key:"1-0",value:"key-value(KVCache)"},{key:"2-1",value:"k-k-row(MKVCache)"},{key:"2-2",value:"Set(MKVCache)"},{key:"2-3",value:"List(MKVCache)"},{key:"2-4",value:"Zset(MKVCache)"}],$t={data:function(){return{model:{apply_id:"",follower:"",cache_version:"",mkcache_struct:""},applys:[],types:bt}},computed:{type:{get:function(){return this.model.cache_version?this.model.cache_version+"-"+this.model.mkcache_struct:""},set:function(e){var t=e.split("-");this.model.cache_version=t[0],this.model.mkcache_struct=t[1]}}},methods:{createModule:function(){var e=this;if(this.$refs.detailForm.validate()){var t=this.model,a=this.$Loading.show();this.$ajax.postJSON("/server/api/add_module_base_info",t).then(function(t){a.hide(),e.$tip.success(e.$t("common.success")),e.$router.push("/operation/module/moduleConfig/"+t.id)}).catch(function(t){a.hide(),e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})}}},beforeRouteEnter:function(e,t,a){o.a.getJSON("/server/api/get_apply_list").then(function(e){e.length?a(function(t){t.applys=e}):a(function(e){e.$tip.warning(e.$t("common.warning")+": "+e.$t("module.createApplyTips")),e.$router.push("/operation/apply/createApply")})}).catch(function(e){alert(e.message||e.err_msg)})}},yt={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"page_operation_create_module"},[a("let-form",{ref:"detailForm",attrs:{inline:""}},[a("let-form-item",{attrs:{label:e.$t("apply.title"),itemWidth:"240px",required:""}},[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.model.apply_id,callback:function(t){e.$set(e.model,"apply_id",t)},expression:"model.apply_id"}},e._l(e.applys,function(t){return a("let-option",{key:t.id,attrs:{value:t.id}},[e._v("\n "+e._s(t.name)+"\n ")])}),1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("module.cacheType"),itemWidth:"240px",required:""}},[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},e._l(e.types,function(t){return a("let-option",{key:t.key,attrs:{value:t.key}},[e._v("\n "+e._s(t.value)+"\n ")])}),1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("module.follower"),itemWidth:"240px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.model.follower,callback:function(t){e.$set(e.model,"follower",t)},expression:"model.follower"}})],1),e._v(" "),a("div",[a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.createModule}},[e._v(e._s(e.$t("common.nextStep")))])],1)],1)],1)},staticRenderFns:[]};var wt=a("VU/8")($t,yt,!1,function(e){a("fT6T")},null,null).exports,Mt=a("bOdI"),kt=a.n(Mt),xt=[{key:"1",value:"cache.title"},{key:"2",value:"cache.cachePersistent"}],St=[{key:"0",value:"string"},{key:"1",value:"int"},{key:"2",value:"longlong"}],Ct={data:function(){var e;return{cacheTypeOption:[{value:"1",text:this.$t("cache.cacheTypeTip1")},{value:"2",text:this.$t("cache.cacheTypeTip2")},{value:"3",text:this.$t("cache.cacheTypeTip3")}],keyTypeOption:St,cacheModuleType:xt,regions:[],setRegions:[],module:{cache_version:1},app_name:"",model:(e={admin:"",idc_area:"",key_type:null,module_name:"",cache_module_type:""},kt()(e,"key_type",""),kt()(e,"dbAccessServant",""),kt()(e,"per_record_avg",""),kt()(e,"total_record",""),kt()(e,"max_read_flow",""),kt()(e,"max_write_flow",""),kt()(e,"module_remark",""),kt()(e,"set_area",[]),kt()(e,"module_id",""),kt()(e,"apply_id",""),e)}},methods:{addModuleConfig:function(){var e=this;if(new RegExp("^"+this.app_name+"[a-zA-Z0-9]+$").test(this.model.module_name)){if(this.$refs.detailForm.validate()){var t=this.model,a=this.$Loading.show();this.$ajax.postJSON("/server/api/add_module_config",t).then(function(t){a.hide(),e.$tip.success(e.$t("common.success")),e.$router.push("/operation/module/serverConfig/"+t.module_id)}).catch(function(t){a.hide(),e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})}}else this.$tip.error(this.$t("module.namingError"))},changeSelect:function(){var e=this;this.model.set_area=[];var t=this.regions.concat();t.splice(t.indexOf(t.find(function(t){return t.label==e.model.idc_area})),1),this.setRegions=t},getRegionList:function(){var e=this;this.$ajax.getJSON("/server/api/get_region_list").then(function(t){t.length&&(e.regions=t)}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},getModuleInfo:function(){var e=this,t=this.$route.params.moduleId;this.$ajax.getJSON("/server/api/get_module_info",{moduleId:t}).then(function(t){e.model.apply_id=t.apply_id,e.model.module_id=t.id,e.module=t,e.getAppName(t.apply_id)}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},getAppName:function(e){var t=this;this.$ajax.getJSON("/server/api/get_apply_and_router_and_proxy",{applyId:e}).then(function(e){t.app_name=e.name||"",t.model.module_name=t.app_name}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})}},created:function(){this.getRegionList(),this.getModuleInfo()}},Lt={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"page_operation_module_info"},[a("let-form",{ref:"detailForm",attrs:{inline:""}},[a("let-form-item",{attrs:{label:e.$t("module.name"),itemWidth:"240px",required:""}},[a("let-poptip",{attrs:{placement:"top",content:e.$t("module.namingRule"),trigger:"hover"}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("module.namingRule"),required:"","required-tip":e.$t("deployService.table.tips.empty"),pattern:"^[a-zA-Z][a-zA-Z0-9]+$","pattern-tip":e.$t("module.namingRule")},model:{value:e.model.module_name,callback:function(t){e.$set(e.model,"module_name",t)},expression:"model.module_name"}})],1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("module.deployArea"),itemWidth:"240px"}},[a("let-select",{attrs:{size:"small"},on:{change:e.changeSelect},model:{value:e.model.idc_area,callback:function(t){e.$set(e.model,"idc_area",t)},expression:"model.idc_area"}},e._l(e.regions,function(t){return a("let-option",{key:t.label,attrs:{value:t.label}},[e._v("\n "+e._s(t.region)+"\n ")])}),1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("region.setArea"),itemWidth:"240px"}},[a("let-select",{attrs:{size:"small",multiple:!0},model:{value:e.model.set_area,callback:function(t){e.$set(e.model,"set_area",t)},expression:"model.set_area"}},e._l(e.setRegions,function(t){return a("let-option",{key:t.label,attrs:{value:t.label}},[e._v("\n "+e._s(t.region)+"\n ")])}),1)],1),e._v(" "),a("br"),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.perRecordAvg"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("cache.perRecordAvgUnit"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.model.per_record_avg,callback:function(t){e.$set(e.model,"per_record_avg",t)},expression:"model.per_record_avg"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.totalRecord"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("cache.dbDataCountUnit"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.model.total_record,callback:function(t){e.$set(e.model,"total_record",t)},expression:"model.total_record"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.maxReadFlow"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("cache.flowUnit"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.model.max_read_flow,callback:function(t){e.$set(e.model,"max_read_flow",t)},expression:"model.max_read_flow"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.maxWriteFlow"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("cache.flowUnit"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.model.max_write_flow,callback:function(t){e.$set(e.model,"max_write_flow",t)},expression:"model.max_write_flow"}})],1),e._v(" "),a("br"),e._v(" "),a("let-form-item",{attrs:{label:e.$t("module.scenario"),itemWidth:"240px",required:""}},[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.model.cache_module_type,callback:function(t){e.$set(e.model,"cache_module_type",t)},expression:"model.cache_module_type"}},e._l(e.cacheModuleType,function(t){return a("let-option",{key:t.key,attrs:{value:t.key}},[e._v("\n "+e._s(e.$t(t.value))+"\n ")])}),1)],1),e._v(" "),1==e.model.cache_module_type?a("let-form-item",{attrs:{label:e.$t("cache.cacheType"),itemWidth:"500px",required:""}},[a("let-radio-group",{attrs:{size:"small",required:"",data:e.cacheTypeOption},model:{value:e.model.key_type,callback:function(t){e.$set(e.model,"key_type",t)},expression:"model.key_type"}})],1):e._e(),e._v(" "),2==e.model.cache_module_type?a("let-form-item",{attrs:{label:e.$t("cache.dbAccessServantObj"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("cache.dbAccessServantObjEx"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.model.dbAccessServant,callback:function(t){e.$set(e.model,"dbAccessServant",t)},expression:"model.dbAccessServant"}})],1):e._e(),e._v(" "),a("br"),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.moduleRemark"),itemWidth:"516px",required:""}},[a("let-input",{attrs:{size:"small",type:"textarea",rows:4,required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.model.module_remark,callback:function(t){e.$set(e.model,"module_remark",t)},expression:"model.module_remark"}})],1),e._v(" "),a("div",[a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.addModuleConfig}},[e._v(e._s(e.$t("common.nextStep")))])],1)],1)],1)},staticRenderFns:[]};var Nt=a("VU/8")(Ct,Lt,!1,function(e){a("qzWr")},null,null).exports,Dt=[{key:"int",value:"int"},{key:"long",value:"long"},{key:"string",value:"string"},{key:"byte",value:"byte"},{key:"float",value:"float"},{key:"double",value:"double"}],At=[{key:"require",value:"require"},{key:"optional",value:"optional"}],Tt={data:function(){return{moduleId:this.$route.params.moduleId,moduleData:[],templates:[],isMkCache:!1,multiKey:!1,dataTypeOption:Dt,propertyOption:At,showMKModal:!1,mkCacheStructure:{mainKey:[{fieldName:"",keyType:"mkey",dataType:"",property:"require",defaultValue:"",maxLen:""}],unionKey:[{fieldName:"",keyType:"ukey",dataType:"",property:"require",defaultValue:"",maxLen:""}],value:[{fieldName:"",keyType:"value",dataType:"",property:"",defaultValue:"",maxLen:""}]}}},methods:{submitServerConfig:function(){this.$refs.detailForm.validate()&&(this.isMkCache?this.showMKModal=!0:this.checkSameShmKey(this.moduleData)?this.addServerConfig():this.$tip.error(this.$t("module.shmKeyError")))},checkSameShmKey:function(e){var t=me.a.uniqWith(e,function(e,t){return e.server_ip===t.server_ip&&e.shmKey===t.shmKey});return console.log(t),e.length===t.length},addServerConfig:function(){var e=this,t=this.moduleData,a=this.$Loading.show();this.$ajax.postJSON("/server/api/add_server_config",t).then(function(t){a.hide(),e.$tip.success(e.$t("common.success")),e.$router.push("/operation/module/installAndPublish/"+e.moduleId)}).catch(function(t){a.hide(),e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},getModuleConfigInfo:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,I({method:"get",url:"/template_name_list",params:{}});case 3:return a=t.sent,e.templates=a,r=e.$route.params.moduleId,t.next=8,te({moduleId:r});case 8:o=t.sent,s=1===o.ModuleBase.cache_version?"KV":"MKV",o.group_name=o.module_name+s+"Group1",o.area=o.idc_area,o.server_name=o.module_name+s+"CacheServer1-1",o.server_type=0,o.memory=Math.ceil(o.per_record_avg*o.total_record*1e4/1024/1024/1024),e.moduleData.push(S()({},o)),n=S()({},o,{server_name:o.module_name+s+"CacheServer1-2",server_type:1}),e.moduleData.push(n),o.set_area.length>0&&o.set_area.forEach(function(t,a){var r=S()({},o,{area:t,server_name:o.module_name+s+"CacheServer1-"+(a+3),server_type:2});e.moduleData.push(r)}),e.moduleData=e.moduleData.map(function(e){return S()({},e,{template_name:a.includes("DCache.Cache")?"DCache.Cache":"tars.default"})}),e.isMkCache=2===o.ModuleBase.cache_version,e.multiKey=2===o.ModuleBase.cache_version&&1===o.ModuleBase.mkcache_struct,t.next=28;break;case 24:t.prev=24,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 28:case"end":return t.stop()}},t,e,[[0,24]])}))()},mapServerType:function(e){return 0===e?this.$t("module.mainServer"):1===e?this.$t("module.backServer"):this.$t("module.mirror")},addUnionKey:function(){this.mkCacheStructure.unionKey.push({fieldName:"",keyType:"ukey",dataType:"",property:"require",defaultValue:"",maxLen:""})},deleteUnionKey:function(e){this.mkCacheStructure.unionKey.length>1?this.mkCacheStructure.unionKey.splice(e,1):this.$tip.error(this.$t("MKCache.error"))},addValue:function(){this.mkCacheStructure.value.push({fieldName:"",keyType:"value",dataType:"",property:"",defaultValue:"",maxLen:""})},deleteValue:function(e){this.mkCacheStructure.value.length>1?this.mkCacheStructure.value.splice(e,1):this.$tip.error(this.$t("MKCache.error"))},submitMKCache:function(){this.$refs.multiKeyForm.validate()&&(sessionStorage.setItem("mkCache",T()(this.mkCacheStructure)),this.showMKModal=!1,document.body.classList.remove("has-modal-open"),this.addServerConfig())}},created:function(){var e=this;return D()(L.a.mark(function t(){return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return sessionStorage.clear(),t.next=3,e.getModuleConfigInfo();case 3:case"end":return t.stop()}},t,e)}))()}},qt={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"page_operation_create_service"},[a("let-form",{ref:"detailForm",attrs:{inline:""}},[a("let-form-group",{attrs:{title:e.$t("module.serverInfo"),inline:"","label-position":"top"}},[a("let-table",{ref:"table",attrs:{data:e.moduleData,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("module.name"),prop:"module_name"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.module_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.serverGroup"),prop:"group_name"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.group_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"server_name"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.server_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("deployService.form.serviceType"),prop:"server_type"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.mapServerType(t.row.server_type))+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverIp"),prop:"server_ip"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.server_ip,callback:function(a){e.$set(t.row,"server_ip",a)},expression:"scope.row.server_ip"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.shmKey"),prop:"shmKey"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",placeholder:e.$t("module.shmKeyRule"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.shmKey,callback:function(a){e.$set(t.row,"shmKey",a)},expression:"scope.row.shmKey"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("deployService.form.template")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.form.templateTips")},model:{value:t.row.template_name,callback:function(a){e.$set(t.row,"template_name",a)},expression:"scope.row.template_name"}},e._l(e.templates,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1)]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.memorySize"),prop:"memory"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{staticStyle:{width:"60px"},attrs:{size:"small",placeholder:e.$t("module.memorySize"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.memory,callback:function(a){e.$set(t.row,"memory",a)},expression:"scope.row.memory"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.deployArea"),prop:"area"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.area)+"\n ")]}}])})],1)],1),e._v(" "),a("div",[a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.submitServerConfig}},[e._v(e._s(e.$t("common.nextStep")))])],1)],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("module.MultiKeyConfig"),width:"1000px"},on:{"on-confirm":e.submitMKCache},model:{value:e.showMKModal,callback:function(t){e.showMKModal=t},expression:"showMKModal"}},[a("let-form",{ref:"multiKeyForm",attrs:{"label-position":"top"}},[a("let-form-group",{attrs:{title:e.$t("MKCache.mainKey"),inline:"","label-position":"top"}},[a("let-table",{ref:"mainKey",attrs:{data:e.mkCacheStructure.mainKey,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("MKCache.fieldName"),prop:"fieldName",width:"30%"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.fieldName,callback:function(a){e.$set(t.row,"fieldName",a)},expression:"scope.row.fieldName"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.dataType"),prop:"dataType"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.dataType,callback:function(a){e.$set(t.row,"dataType",a)},expression:"scope.row.dataType"}},e._l(e.dataTypeOption,function(t){return a("let-option",{key:t.key,attrs:{value:t.value}},[e._v("\n "+e._s(t.value)+"\n ")])}),1)]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.fieldProperty"),prop:"property",width:"15%"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.property)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.defaultValue"),prop:"defaultValue"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small"},model:{value:t.row.defaultValue,callback:function(a){e.$set(t.row,"defaultValue",a)},expression:"scope.row.defaultValue"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.maxLen"),prop:"maxLen"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small"},model:{value:t.row.maxLen,callback:function(a){e.$set(t.row,"maxLen",a)},expression:"scope.row.maxLen"}})]}}])})],1)],1),e._v(" "),e.multiKey?a("let-form-group",{attrs:{title:e.$t("MKCache.unionKey"),inline:"","label-position":"top"}},[a("let-table",{ref:"unionKey",attrs:{data:e.mkCacheStructure.unionKey,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("MKCache.fieldName"),prop:"fieldName",width:"25%"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.fieldName,callback:function(a){e.$set(t.row,"fieldName",a)},expression:"scope.row.fieldName"}})]}}],null,!1,4011857556)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.dataType"),prop:"dataType"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.dataType,callback:function(a){e.$set(t.row,"dataType",a)},expression:"scope.row.dataType"}},e._l(e.dataTypeOption,function(t){return a("let-option",{key:t.key,attrs:{value:t.value}},[e._v("\n "+e._s(t.value)+"\n ")])}),1)]}}],null,!1,1906165843)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.fieldProperty"),prop:"property",width:"15%"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.property)+"\n ")]}}],null,!1,1274096314)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.defaultValue"),prop:"defaultValue"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small"},model:{value:t.row.defaultValue,callback:function(a){e.$set(t.row,"defaultValue",a)},expression:"scope.row.defaultValue"}})]}}],null,!1,3960107341)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.maxLen"),prop:"maxLen"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small"},model:{value:t.row.maxLen,callback:function(a){e.$set(t.row,"maxLen",a)},expression:"scope.row.maxLen"}})]}}],null,!1,112591966)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"15%"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:e.addUnionKey}},[e._v(e._s(e.$t("operate.add")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.deleteUnionKey(t.$index)}}},[e._v(e._s(e.$t("operate.delete")))])]}}],null,!1,1394424424)})],1)],1):e._e(),e._v(" "),a("let-form-group",{attrs:{title:e.$t("MKCache.dataValue"),inline:"","label-position":"top"}},[a("let-table",{ref:"dataValue",attrs:{data:e.mkCacheStructure.value,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("MKCache.fieldName"),prop:"fieldName",width:"25%"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.fieldName,callback:function(a){e.$set(t.row,"fieldName",a)},expression:"scope.row.fieldName"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.dataType"),prop:"dataType"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.dataType,callback:function(a){e.$set(t.row,"dataType",a)},expression:"scope.row.dataType"}},e._l(e.dataTypeOption,function(t){return a("let-option",{key:t.key,attrs:{value:t.value}},[e._v("\n "+e._s(t.value)+"\n ")])}),1)]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.fieldProperty"),prop:"property",width:"15%"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.property,callback:function(a){e.$set(t.row,"property",a)},expression:"scope.row.property"}},e._l(e.propertyOption,function(t){return a("let-option",{key:t.key,attrs:{value:t.value}},[e._v("\n "+e._s(t.value)+"\n ")])}),1)]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.defaultValue"),prop:"defaultValue"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.defaultValue,callback:function(a){e.$set(t.row,"defaultValue",a)},expression:"scope.row.defaultValue"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.maxLen"),prop:"maxLen"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.maxLen,callback:function(a){e.$set(t.row,"maxLen",a)},expression:"scope.row.maxLen"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"15%"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:e.addValue}},[e._v(e._s(e.$t("operate.add")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.deleteValue(t.$index)}}},[e._v(e._s(e.$t("operate.delete")))])]}}])})],1)],1)],1)],1)],1)},staticRenderFns:[]},Ft=a("VU/8")(Tt,qt,!1,null,null,null).exports,Pt={data:function(){return{moduleId:this.$route.params.moduleId,moduleData:{},releaseProgress:[],showModal:!1,timerId:null}},methods:{getModuleFullInfo:function(){var e=this,t=this.moduleId;this.$ajax.getJSON("/server/api/get_module_full_info",{moduleId:t}).then(function(t){e.moduleData=t||{}}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},installAndPublish:function(){var e=this,t=this.moduleId,a=sessionStorage.getItem("mkCache");this.$ajax.getJSON("/server/api/module_install_and_publish",{moduleId:t,mkCache:a}).then(function(t){var a=t.releaseRsp.releaseId;e.getTaskRepeat({releaseId:a}),e.$tip.success(t.releaseRsp.errMsg)}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},getTaskRepeat:function(e){var t=this,a=e.releaseId;clearTimeout(this.timerId),this.showModal=!0;!function e(){t.$ajax.getJSON("/server/api/get_module_release_progress",{releaseId:a}).then(function(a){var r=!0;a.progress.forEach(function(e){100!==parseInt(e.percent,10)&&(r=!1)}),r?clearTimeout(t.timerId):t.timerId=setTimeout(e,1e3),t.releaseProgress=a.progress}).catch(function(e){clearTimeout(t.timerId),t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})}()},getReleaseProgress:function(e){var t=this;this.$ajax.getJSON("/server/api/get_module_release_progress",{releaseId:e}).then(function(e){console.log(e),t.showModal=!0,t.releaseProgress=e.progress}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})},mapServerType:function(e){return 0===e?this.$t("module.mainServer"):1===e?this.$t("module.backServer"):this.$t("module.mirror")},mapModuleType:function(e){return 1===e?this.$t("cache.title"):this.$t("cache.cachePersistent")},mapCacheType:function(e){if(!e)return null;if(1===e.cache_version)return"key-value(KVCache)";switch(e.mkcache_struct){case 1:return"k-k-row(MKVCache)";case 2:return"Set(MKVCache)";case 3:return"List(MKVCache)";case 4:return"Zset(MKVCache)";default:return null}},confirmPublish:function(){this.showModal=!1,document.body.classList.remove("has-modal-open"),this.$router.push("/server"),window.dcacheIndex&&window.dcacheIndex.getTreeData&&window.dcacheIndex.getTreeData()}},beforeRouteLeave:function(e,t,a){clearTimeout(this.timerId),a()},created:function(){this.getModuleFullInfo()}},Rt={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"page_operation_install_and_publish"},[a("let-form",{ref:"detailForm",attrs:{"label-position":"top"}},[a("let-form-group",{attrs:{title:e.$t("common.baseInfo"),inline:"","label-position":"top"}},[a("let-form-item",{attrs:{label:e.$t("module.moduleId"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.moduleData.module_id)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("module.name"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.moduleData.module_name)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("module.cacheType"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.mapCacheType(e.moduleData.ModuleBase))+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("module.follower"),itemWidth:"240px"}},[e._v("\n "+e._s(e.moduleData.ModuleBase&&e.moduleData.ModuleBase.follower)+"\n ")])],1),e._v(" "),a("let-form-group",{attrs:{title:e.$t("module.moduleInfo"),inline:"","label-position":"top"}},[a("let-form-item",{attrs:{label:e.$t("module.deployArea"),itemWidth:"240px"}},[e._v("\n "+e._s(e.moduleData.idc_area)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("region.setArea"),itemWidth:"240px"}},[e._v("\n "+e._s(e.moduleData.set_area&&e.moduleData.set_area.join(","))+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("module.scenario"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.mapModuleType(e.moduleData.cache_module_type))+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.perRecordAvg"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.moduleData.per_record_avg)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.maxReadFlow"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.moduleData.max_read_flow)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.totalRecord"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.moduleData.total_record)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.maxWriteFlow"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.moduleData.max_write_flow)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.moduleRemark"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.moduleData.module_remark)+"\n ")])],1),e._v(" "),a("let-form-group",{attrs:{title:e.$t("module.serverInfo"),inline:"","label-position":"top"}},[a("let-table",{ref:"table",attrs:{data:e.moduleData.ServerConf,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("module.name"),prop:"module_name",width:"25%"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.module_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.serverGroup"),prop:"group_name",width:"25%"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.group_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"server_name"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.server_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverIp"),prop:"server_ip"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.server_ip)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.deployArea"),prop:"area"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.area)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("deployService.form.serviceType"),prop:"server_type"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.mapServerType(t.row.server_type))+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.memorySize"),prop:"memory"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memory)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.shmKey"),prop:"shmKey"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.shmKey)+"\n ")]}}])})],1)],1),e._v(" "),a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.installAndPublish}},[e._v(e._s(e.$t("apply.installAndPublish"))+"\n ")])],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("publishLog.title"),width:"800px"},on:{"on-confirm":e.confirmPublish},model:{value:e.showModal,callback:function(t){e.showModal=t},expression:"showModal"}},[a("let-table",{ref:"ProgressTable",attrs:{data:e.releaseProgress,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"serverName",width:"30%"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverIp"),prop:"nodeName",width:"30%"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("publishLog.releaseId"),prop:"releaseId",width:"15%"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("publishLog.releaseProgress"),prop:"percent"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.percent))]),e._v(" "),100!=t.row.percent?a("icon",{staticClass:"spinner-icon",attrs:{name:"spinner"}}):e._e()]}}])})],1)],1)],1)},staticRenderFns:[]};var Ot=a("VU/8")(Pt,Rt,!1,function(e){a("74BX")},null,null).exports,It={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"page_operation_region"},[a("let-button",{attrs:{theme:"primary",size:"mini"},on:{click:e.addRegion}},[e._v(e._s(e.$t("region.add")))]),e._v(" "),a("let-table",{ref:"table",attrs:{data:e.items,"empty-msg":e.$t("common.nodata"),title:e.$t("region.list")}},[a("let-table-column",{attrs:{title:e.$t("common.serial"),width:"25%"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.$index+1))]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("region.title"),prop:"region",width:"25%"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("region.label"),prop:"label"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"180px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.editRegion(t.row)}}},[e._v(e._s(e.$t("operate.update")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.removeItem(t.row)}}},[e._v(e._s(e.$t("operate.delete")))])]}}])})],1),e._v(" "),a("let-modal",{attrs:{title:e.$t(e.title),width:"600px"},on:{"on-confirm":e.saveItem},model:{value:e.showModel,callback:function(t){e.showModel=t},expression:"showModel"}},[a("let-form",{ref:"detailForm"},[a("let-form-item",{attrs:{label:e.$t("region.title"),required:""}},[a("let-input",{attrs:{size:"small",required:"",placeholder:e.$t("region.regionTips")},model:{value:e.model.region,callback:function(t){e.$set(e.model,"region",t)},expression:"model.region"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("region.label"),required:""}},[a("let-input",{attrs:{size:"small",required:"",placeholder:e.$t("region.labelTips")},model:{value:e.model.label,callback:function(t){e.$set(e.model,"label",t)},expression:"model.label"}})],1)],1)],1)],1)},staticRenderFns:[]};var jt=a("VU/8")({data:function(){return{title:"region.add",items:[],showModel:!1,model:{}}},mounted:function(){this.fetchData()},methods:{fetchData:function(){var e=this;this.$ajax.getJSON("/server/api/get_region_list").then(function(t){e.items=t||[]}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},addRegion:function(){this.showModel=!0,this.title="region.add",this.model={region:"",label:""}},editRegion:function(e){this.showModel=!0,this.showModel=!0,this.title="region.modify",this.model=e},saveItem:function(){var e=this;if(this.$refs.detailForm.validate()){var t=this.model,a=t.id?"/server/api/update_region":"/server/api/add_region",r=this.$Loading.show();this.$ajax.postJSON(a,t).then(function(){r.hide(),e.$tip.success(e.$t("common.success")),e.closeDetailModal(),e.fetchData()}).catch(function(t){r.hide(),e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})}},removeItem:function(e){var t=this,a=e.id;this.$ajax.getJSON("/server/api/delete_region",{id:a}).then(function(e){t.$tip.success(t.$t("common.success")),t.fetchData()}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})},closeDetailModal:function(){this.$refs.detailForm.resetValid(),this.showModel=!1,this.model={}}}},It,!1,function(e){a("sZcP")},null,null).exports,Et={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_operation"},[a("let-tabs",{attrs:{activekey:e.$route.matched[1]?e.$route.matched[1].path:"/operation/apply"},on:{click:e.onTabClick}},[a("let-tab-pane",{attrs:{tab:e.$t("releasePackage.proxyList"),tabkey:"/releasePackage/proxyList"}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("releasePackage.routerList"),tabkey:"/releasePackage/routerList"}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("releasePackage.cacheList"),tabkey:"/releasePackage/cacheList"}})],1),e._v(" "),a("router-view",{staticClass:"page_operation_children"})],1)},staticRenderFns:[]};var zt=a("VU/8")({methods:{onTabClick:function(e){this.$router.replace(e)}}},Et,!1,function(e){a("sPk+")},null,null).exports,Vt=new dt.a({id:"default",use:"default-usage",viewBox:"0 0 1024 1024",content:''}),Gt=(mt.a.add(Vt),{data:function(){return{uploadModal:{show:!1,model:{application:"DCache",module_name:"ProxyServer",file:{},comment:""}},packages:{count:0,rows:[]}}},methods:{closeUploadModal:function(){this.uploadModal.show=!1},uploadFile:function(e){this.uploadModal.model.file=e},uploadPatchPackage:function(){var e=this;if(this.$refs.uploadForm.validate()){var t=this.$Loading.show(),a=new FormData;a.append("application",this.uploadModal.model.application),a.append("module_name",this.uploadModal.model.module_name),a.append("task_id",(new Date).getTime()),a.append("suse",this.uploadModal.model.file),a.append("comment",this.uploadModal.model.comment),this.$ajax.postForm("/server/api/upload_patch_package",a).then(function(){t.hide(),e.closeUploadModal(),e.getPatchPackage()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.message||a.err_msg))})}},getPatchPackage:function(){var e=this;this.$ajax.getJSON("/server/api/server_patch_list",{application:"DCache",module_name:"ProxyServer"}).then(function(t){e.packages=t}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},deletePackage:function(e){var t=this;this.$confirm(this.$t("releasePackage.confirmDeleteTip"),this.$t("common.alert")).then(function(){t.$ajax.postJSON("/server/api/delete_patch_package",{id:e}).then(function(e){t.getPatchPackage()})}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})},setDefault:function(e){var t=this,a=e.id,r=e.package_type;this.$ajax.postJSON("/server/api/set_patch_package_default",{id:a,package_type:r,application:this.uploadModal.model.application,module_name:this.uploadModal.model.module_name}).then(function(e){t.getPatchPackage()}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})}},created:function(){this.getPatchPackage()}}),Wt={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"container"},[a("div",[a("let-button",{attrs:{theme:"primary",size:"small"},on:{click:function(t){e.uploadModal.show=!e.uploadModal.show}}},[e._v("\n "+e._s(e.$t("releasePackage.uploadPackage"))+"\n ")])],1),e._v(" "),a("let-table",{attrs:{data:e.packages.rows,title:e.$t("serverList.title.serverList"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:"ID",prop:"id"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{color:"green",display:"inline-block",width:"1em",height:"1em"},attrs:{title:e.$t("releasePackage.default")}},[1==t.row.default_version?a("icon",{attrs:{name:"default"}}):e._e()],1),e._v("\n "+e._s(t.row.id)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.moduleName"),prop:"server"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.servant.comment"),prop:"comment"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.uploadTime"),prop:"posttime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"260px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.setDefault(t.row)}}},[e._v(e._s(e.$t("operate.default")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.deletePackage(t.row.id)}}},[e._v(e._s(e.$t("operate.delete")))])]}}])})],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("pub.dlg.upload"),width:"880px",footShow:!1},on:{"on-cancel":e.closeUploadModal},model:{value:e.uploadModal.show,callback:function(t){e.$set(e.uploadModal,"show",t)},expression:"uploadModal.show"}},[e.uploadModal.model?a("let-form",{ref:"uploadForm",attrs:{itemWidth:"100%"},nativeOn:{submit:function(t){return t.preventDefault(),e.uploadPatchPackage(t)}}},[a("let-form-item",{attrs:{label:e.$t("releasePackage.moduleName")}},[e._v("\n "+e._s(e.uploadModal.model.application)+"."+e._s(e.uploadModal.model.module_name)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("pub.dlg.releasePkg"),itemWidth:"400px"}},[a("let-uploader",{attrs:{placeholder:e.$t("pub.dlg.defaultValue")},on:{upload:e.uploadFile}},[e._v(e._s(e.$t("common.submit"))+"\n ")]),e._v(" "),e.uploadModal.model.file?a("span",[e._v(e._s(e.uploadModal.model.file.name))]):e._e()],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.comment")}},[a("let-input",{attrs:{type:"textarea",rows:3},model:{value:e.uploadModal.model.comment,callback:function(t){e.$set(e.uploadModal.model,"comment",t)},expression:"uploadModal.model.comment"}})],1),e._v(" "),a("let-button",{attrs:{type:"submit",theme:"primary"}},[e._v(e._s(e.$t("serverList.servant.upload")))])],1):e._e()],1)],1)},staticRenderFns:[]};var Jt=a("VU/8")(Gt,Wt,!1,function(e){a("6uR2")},null,null).exports,Bt={data:function(){return{uploadModal:{show:!1,model:{application:"DCache",module_name:"RouterServer",file:{},comment:""}},packages:{count:0,rows:[]}}},methods:{closeUploadModal:function(){this.uploadModal.show=!1},uploadFile:function(e){this.uploadModal.model.file=e},uploadPatchPackage:function(){var e=this;if(this.$refs.uploadForm.validate()){var t=this.$Loading.show(),a=new FormData;a.append("application",this.uploadModal.model.application),a.append("module_name",this.uploadModal.model.module_name),a.append("task_id",(new Date).getTime()),a.append("suse",this.uploadModal.model.file),a.append("comment",this.uploadModal.model.comment),this.$ajax.postForm("/server/api/upload_patch_package",a).then(function(){t.hide(),e.closeUploadModal(),e.getPatchPackage()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.message||a.err_msg))})}},getPatchPackage:function(){var e=this;this.$ajax.getJSON("/server/api/server_patch_list",{application:"DCache",module_name:"RouterServer"}).then(function(t){e.packages=t}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},deletePackage:function(e){var t=this;this.$confirm(this.$t("releasePackage.confirmDeleteTip"),this.$t("common.alert")).then(function(){t.$ajax.postJSON("/server/api/delete_patch_package",{id:e}).then(function(e){t.getPatchPackage()})}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})},setDefault:function(e){var t=this,a=e.id,r=e.package_type;this.$ajax.postJSON("/server/api/set_patch_package_default",{id:a,package_type:r,application:this.uploadModal.model.application,module_name:this.uploadModal.model.module_name}).then(function(e){t.getPatchPackage()}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})}},created:function(){this.getPatchPackage()}},Ut={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"container"},[a("div",[a("let-button",{attrs:{theme:"primary",size:"small"},on:{click:function(t){e.uploadModal.show=!e.uploadModal.show}}},[e._v("\n "+e._s(e.$t("releasePackage.uploadPackage"))+"\n ")])],1),e._v(" "),a("let-table",{attrs:{data:e.packages.rows,title:e.$t("serverList.title.serverList"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:"ID",prop:"id"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{color:"green",display:"inline-block",width:"1em",height:"1em"},attrs:{title:e.$t("releasePackage.default")}},[1==t.row.default_version?a("icon",{attrs:{name:"default"}}):e._e()],1),e._v("\n "+e._s(t.row.id)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.moduleName"),prop:"server"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.servant.comment"),prop:"comment"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.uploadTime"),prop:"posttime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"260px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.setDefault(t.row)}}},[e._v(e._s(e.$t("operate.default")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.deletePackage(t.row.id)}}},[e._v(e._s(e.$t("operate.delete")))])]}}])})],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("pub.dlg.upload"),width:"880px",footShow:!1},on:{"on-cancel":e.closeUploadModal},model:{value:e.uploadModal.show,callback:function(t){e.$set(e.uploadModal,"show",t)},expression:"uploadModal.show"}},[e.uploadModal.model?a("let-form",{ref:"uploadForm",attrs:{itemWidth:"100%"},nativeOn:{submit:function(t){return t.preventDefault(),e.uploadPatchPackage(t)}}},[a("let-form-item",{attrs:{label:e.$t("releasePackage.moduleName")}},[e._v("\n "+e._s(e.uploadModal.model.application)+"."+e._s(e.uploadModal.model.module_name)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("pub.dlg.releasePkg"),itemWidth:"400px"}},[a("let-uploader",{attrs:{placeholder:e.$t("pub.dlg.defaultValue")},on:{upload:e.uploadFile}},[e._v(e._s(e.$t("common.submit"))+"\n ")]),e._v(" "),e.uploadModal.model.file?a("span",[e._v(e._s(e.uploadModal.model.file.name))]):e._e()],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.comment")}},[a("let-input",{attrs:{type:"textarea",rows:3},model:{value:e.uploadModal.model.comment,callback:function(t){e.$set(e.uploadModal.model,"comment",t)},expression:"uploadModal.model.comment"}})],1),e._v(" "),a("let-button",{attrs:{type:"submit",theme:"primary"}},[e._v(e._s(e.$t("serverList.servant.upload")))])],1):e._e()],1)],1)},staticRenderFns:[]};var Ht=a("VU/8")(Bt,Ut,!1,function(e){a("ohPC")},null,null).exports,Kt={data:function(){return{uploadModal:{show:!1,model:{application:"DCache",module_name:"DCacheServerGroup",package_type:"1",file:{},comment:""}},packages:{count:0,rows:[]}}},methods:{closeUploadModal:function(){this.uploadModal.show=!1},uploadFile:function(e){this.uploadModal.model.file=e},uploadPatchPackage:function(){var e=this;if(this.$refs.uploadForm.validate()){var t=this.$Loading.show(),a=new FormData;a.append("application",this.uploadModal.model.application),a.append("module_name",this.uploadModal.model.module_name),a.append("task_id",(new Date).getTime()),a.append("package_type",this.uploadModal.model.package_type),a.append("suse",this.uploadModal.model.file),a.append("comment",this.uploadModal.model.comment),this.$ajax.postForm("/server/api/upload_patch_package",a).then(function(){t.hide(),e.closeUploadModal(),e.getPatchPackage()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.message||a.err_msg))})}},getPatchPackage:function(){var e=this;this.$ajax.getJSON("/server/api/server_patch_list",{application:"DCache",module_name:"DCacheServerGroup"}).then(function(t){e.packages=t}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},deletePackage:function(e){var t=this;this.$confirm(this.$t("releasePackage.confirmDeleteTip"),this.$t("common.alert")).then(function(){t.$ajax.postJSON("/server/api/delete_patch_package",{id:e}).then(function(e){t.getPatchPackage()})}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})},setDefault:function(e){var t=this,a=e.id,r=e.package_type;this.$ajax.postJSON("/server/api/set_patch_package_default",{id:a,package_type:r,application:this.uploadModal.model.application,module_name:this.uploadModal.model.module_name}).then(function(e){t.getPatchPackage()}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})}},created:function(){this.getPatchPackage()}},Zt={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"container"},[a("div",[a("let-button",{attrs:{theme:"primary",size:"small"},on:{click:function(t){e.uploadModal.show=!e.uploadModal.show}}},[e._v("\n "+e._s(e.$t("releasePackage.uploadPackage"))+"\n ")])],1),e._v(" "),a("let-table",{attrs:{data:e.packages.rows,title:e.$t("serverList.title.serverList"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:"ID",prop:"id"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{color:"green",display:"inline-block",width:"1em",height:"1em"},attrs:{title:e.$t("releasePackage.default")}},[1==t.row.default_version?a("icon",{attrs:{name:"default"}}):e._e()],1),e._v("\n "+e._s(t.row.id)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.moduleName"),prop:"server"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.cacheType")},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.package_type?a("span",[e._v("KVCache")]):2==t.row.package_type?a("span",[e._v("MKVCache")]):e._e()]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.servant.comment"),prop:"comment"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.uploadTime"),prop:"posttime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"260px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.setDefault(t.row)}}},[e._v(e._s(e.$t("operate.default")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.deletePackage(t.row.id)}}},[e._v(e._s(e.$t("operate.delete")))])]}}])})],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("pub.dlg.upload"),width:"880px",footShow:!1},on:{"on-cancel":e.closeUploadModal},model:{value:e.uploadModal.show,callback:function(t){e.$set(e.uploadModal,"show",t)},expression:"uploadModal.show"}},[e.uploadModal.model?a("let-form",{ref:"uploadForm",attrs:{itemWidth:"100%"},nativeOn:{submit:function(t){return t.preventDefault(),e.uploadPatchPackage(t)}}},[a("let-form-item",{attrs:{label:e.$t("releasePackage.moduleName")}},[e._v("\n "+e._s(e.uploadModal.model.application)+"."+e._s(e.uploadModal.model.module_name)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("releasePackage.cacheType")}},[a("let-select",{attrs:{size:"small"},model:{value:e.uploadModal.model.package_type,callback:function(t){e.$set(e.uploadModal.model,"package_type",t)},expression:"uploadModal.model.package_type"}},[a("let-option",{attrs:{value:"1"}},[e._v("KVCache")]),e._v(" "),a("let-option",{attrs:{value:"2"}},[e._v("MKVCache")])],1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("pub.dlg.releasePkg"),itemWidth:"400px"}},[a("let-uploader",{attrs:{placeholder:e.$t("pub.dlg.defaultValue")},on:{upload:e.uploadFile}},[e._v(e._s(e.$t("common.submit"))+"\n ")]),e._v(" "),e.uploadModal.model.file?a("span",[e._v(e._s(e.uploadModal.model.file.name))]):e._e()],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.comment")}},[a("let-input",{attrs:{type:"textarea",rows:3},model:{value:e.uploadModal.model.comment,callback:function(t){e.$set(e.uploadModal.model,"comment",t)},expression:"uploadModal.model.comment"}})],1),e._v(" "),a("let-button",{attrs:{type:"submit",theme:"primary"}},[e._v(e._s(e.$t("serverList.servant.upload")))])],1):e._e()],1)],1)},staticRenderFns:[]};var Yt=a("VU/8")(Kt,Zt,!1,function(e){a("a94L")},null,null).exports,Xt={data:function(){return{config:{item:"",path:"",period:"",reload:"",remark:""}}},methods:{submit:function(){var e=this;return D()(L.a.mark(function t(){return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.$refs.addConfigForm.validate()){t.next=13;break}return t.prev=1,t.next=4,e.$ajax.postJSON("/server/api/cache/addConfig",e.config);case 4:e.$tip.success(""+e.$t("cache.config.addSuccess")),_()(e.config,{item:""}),e.$emit("call-back"),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(1),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 13:case"end":return t.stop()}},t,e,[[1,9]])}))()}}},Qt={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("let-form",{ref:"addConfigForm",attrs:{type:"medium",title:e.$t("cache.config.addConfig"),columns:2}},[a("let-form-item",{attrs:{label:e.$t("cache.config.item"),required:""}},[a("let-input",{attrs:{size:"small",required:""},model:{value:e.config.item,callback:function(t){e.$set(e.config,"item",t)},expression:"config.item"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.config.path"),required:""}},[a("let-input",{attrs:{size:"small",required:""},model:{value:e.config.path,callback:function(t){e.$set(e.config,"path",t)},expression:"config.path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.config.reload"),required:""}},[a("let-input",{attrs:{size:"small",required:""},model:{value:e.config.reload,callback:function(t){e.$set(e.config,"reload",t)},expression:"config.reload"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.config.period"),required:""}},[a("let-input",{attrs:{size:"small",required:""},model:{value:e.config.period,callback:function(t){e.$set(e.config,"period",t)},expression:"config.period"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.config.remark"),required:""}},[a("let-input",{attrs:{size:"small",required:""},model:{value:e.config.remark,callback:function(t){e.$set(e.config,"remark",t)},expression:"config.remark"}})],1),e._v(" "),a("br"),e._v(" "),a("let-form-item",{attrs:{label:" "}},[a("let-button",{attrs:{theme:"primary"},on:{click:e.submit}},[e._v(e._s(e.$t("cache.add")))])],1)],1)],1)},staticRenderFns:[]};var ea=a("VU/8")(Xt,Qt,!1,function(e){a("/4MF")},null,null).exports,ta={props:{id:{type:String,required:!0},item:{type:String,required:!0},path:{type:String,required:!0},period:{type:String,required:!0},reload:{type:String,required:!0},remark:{type:String,required:!0}},data:function(){return{config:{id:this.id,item:this.item,path:this.path,period:this.period,reload:this.reload,remark:this.remark}}},methods:{submit:function(){var e=this;return D()(L.a.mark(function t(){return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.$refs.editConfigForm.validate()){t.next=12;break}return t.prev=1,t.next=4,e.$ajax.postJSON("/server/api/cache/editConfig",e.config);case 4:e.$tip.success(""+e.$t("cache.config.addSuccess")),e.$emit("call-back"),t.next=12;break;case 8:t.prev=8,t.t0=t.catch(1),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 12:case"end":return t.stop()}},t,e,[[1,8]])}))()}}},aa={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{},[a("let-form",{ref:"editConfigForm",attrs:{type:"medium",title:e.$t("cache.config.editConfig"),columns:2}},[a("let-form-item",{attrs:{label:e.$t("cache.config.reload"),required:""}},[a("let-input",{attrs:{size:"small",required:""},model:{value:e.config.reload,callback:function(t){e.$set(e.config,"reload",t)},expression:"config.reload"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.config.period"),required:""}},[a("let-input",{attrs:{size:"small",required:""},model:{value:e.config.period,callback:function(t){e.$set(e.config,"period",t)},expression:"config.period"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.config.remark"),required:""}},[a("let-input",{attrs:{size:"small",required:""},model:{value:e.config.remark,callback:function(t){e.$set(e.config,"remark",t)},expression:"config.remark"}})],1),e._v(" "),a("br"),e._v(" "),a("let-form-item",{attrs:{label:" "}},[a("let-button",{attrs:{theme:"primary"},on:{click:e.submit}},[e._v(e._s(e.$t("cache.modification")))])],1)],1)],1)},staticRenderFns:[]};var ra={components:{AddConfig:ea,EditConfig:a("VU/8")(ta,aa,!1,function(e){a("CH5c")},null,null).exports},data:function(){return{list:[],addConfigVisible:!1,editConfigVisible:!1,editConfigObj:null}},methods:{addConfig:function(){this.addConfigVisible=!0},editConfig:function(e){this.editConfigVisible=!0,this.editConfigObj=e},deleteConfig:function(e){var t=this,a=e.id;this.$confirm(this.$t("cache.config.deleteConfig"),this.$t("common.alert")).then(D()(L.a.mark(function e(){return L.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$ajax.getJSON("/server/api/cache/deleteConfig",{id:a});case 3:return e.sent,e.next=6,t.getConfig();case 6:e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0),t.$tip.error(t.$t("common.error")+": "+(e.t0.message||e.t0.err_msg));case 12:case"end":return e.stop()}},e,t,[[0,8]])})))},getConfig:function(){var e=this;return D()(L.a.mark(function t(){var a;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.$ajax.getJSON("/server/api/cache/getConfig");case 3:a=t.sent,e.list=a,t.next=11;break;case 7:t.prev=7,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 11:case"end":return t.stop()}},t,e,[[0,7]])}))()}},created:function(){var e=this;return D()(L.a.mark(function t(){return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:console.log("aaaaaaaaaaa"),e.getConfig();case 2:case"end":return t.stop()}},t,e)}))()}},oa={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"page_operation"},[a("let-button",{attrs:{theme:"primary",size:"small"},on:{click:e.addConfig}},[e._v(e._s(e.$t("cache.config.addConfig")))]),e._v(" "),a("let-table",{attrs:{data:e.list,title:e.$t("cache.config.tableTitle"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:"ID",prop:"id"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.remark"),prop:"remark"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.path"),prop:"path"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.item"),prop:"item"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.reload"),prop:"reload"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.period"),prop:"period"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates")},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[a("let-table-operation",{on:{click:function(t){return e.editConfig(r)}}},[e._v(e._s(e.$t("operate.update")))]),e._v(" "),a("let-table-operation",{staticClass:"danger",on:{click:function(t){return e.deleteConfig(r)}}},[e._v(e._s(e.$t("operate.delete")))])]}}])})],1),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!0},model:{value:e.addConfigVisible,callback:function(t){e.addConfigVisible=t},expression:"addConfigVisible"}},[e.addConfigVisible?a("add-config",{on:{"call-back":e.getConfig}}):e._e()],1),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!0},model:{value:e.editConfigVisible,callback:function(t){e.editConfigVisible=t},expression:"editConfigVisible"}},[e.editConfigVisible?a("edit-config",e._b({on:{"call-back":e.getConfig}},"edit-config",e.editConfigObj,!1)):e._e()],1)],1)},staticRenderFns:[]};var sa=a("VU/8")(ra,oa,!1,function(e){a("9eSX")},null,null).exports,na={props:{moduleName:{type:String,required:!0},serverName:{type:String,required:!0},nodeName:{type:String,required:!0}},data:function(){return{configList:[]}},methods:{getServerConfig:function(){var e=this;return D()(L.a.mark(function t(){var a,r;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,a={moduleName:e.moduleName,serverName:e.serverName,nodeName:e.nodeName},t.next=4,e.$ajax.getJSON("/server/api/cache/getServerConfig",a);case 4:r=t.sent,e.configList=r.filter(function(e){var t=r.filter(function(t){return t.path===e.path&&t.item===e.item}),a=t[t.length-1];return e===a}),t.next=12;break;case 8:t.prev=8,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 12:case"end":return t.stop()}},t,e,[[0,8]])}))()}},created:function(){this.getServerConfig()}},ia={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("let-table",{attrs:{data:e.configList,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("cache.config.remark"),prop:"remark"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.path"),prop:"path"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.item"),prop:"item"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.value"),prop:"config_value"}})],1)],1)},staticRenderFns:[]};var la=a("VU/8")(na,ia,!1,function(e){a("KikY")},null,null).exports,ca={props:{serverName:{type:String,required:!0},nodeName:{type:String,required:!0}},data:function(){return{configList:[]}},methods:{getServerConfig:function(){var e=this;return D()(L.a.mark(function t(){var a,r;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,a={serverName:e.serverName,nodeName:e.nodeName},t.next=4,e.$ajax.getJSON("/server/api/cache/getServerNodeConfig",a);case 4:(r=t.sent).forEach(function(e){return e.modify_value=""}),e.configList=r,t.next=13;break;case 9:t.prev=9,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 13:case"end":return t.stop()}},t,e,[[0,9]])}))()},deleteConfig:function(e){var t=this,a=e.id;this.$confirm(this.$t("cache.config.deleteConfig"),this.$t("common.alert")).then(D()(L.a.mark(function e(){return L.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$ajax.getJSON("/server/api/cache/deleteServerConfigItem",{id:a});case 3:return e.sent,e.next=6,t.getServerConfig();case 6:e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0),t.$tip.error(t.$t("common.error")+": "+(e.t0.message||e.t0.err_msg));case 12:case"end":return e.stop()}},e,t,[[0,8]])})))},saveConfig:function(e){var t=this,a=e.id,r=e.modify_value;return D()(L.a.mark(function e(){return L.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$ajax.getJSON("/server/api/cache/updateServerConfigItem",{id:a,configValue:r});case 3:return e.sent,e.next=6,t.getServerConfig();case 6:e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0),t.$tip.error(t.$t("common.error")+": "+(e.t0.message||e.t0.err_msg));case 12:case"end":return e.stop()}},e,t,[[0,8]])}))()}},created:function(){this.getServerConfig()}},da={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("let-table",{attrs:{data:e.configList,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("cache.config.remark"),prop:"remark"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.path"),prop:"path"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.item"),prop:"item"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.value"),prop:"config_value"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.modify_value"),prop:"config_value"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[a("let-input",{attrs:{size:"small"},model:{value:r.modify_value,callback:function(t){e.$set(r,"modify_value",t)},expression:"row.modify_value"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates")},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[a("let-table-operation",{on:{click:function(t){return e.saveConfig(r)}}},[e._v(e._s(e.$t("operate.save")))]),e._v(" "),a("let-table-operation",{staticClass:"danger",on:{click:function(t){return e.deleteConfig(r)}}},[e._v(e._s(e.$t("operate.delete")))])]}}])})],1)],1)},staticRenderFns:[]};var ua=a("VU/8")(ca,da,!1,function(e){a("KDy6")},null,null).exports,ma={props:{serverName:{type:String,required:!1},nodeName:{type:String,required:!1},appName:{type:String,required:!1},moduleName:{type:String,required:!1}},computed:{isModule:function(){return!(!this.appName||!this.moduleName)}},data:function(){return{itemId:"",list:[],configValue:""}},methods:{submit:function(){var e=this;return D()(L.a.mark(function t(){var a;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.$refs.addConfigForm.validate()){t.next=16;break}return t.prev=1,a={itemId:e.itemId,configValue:e.configValue,serverName:e.serverName,nodeName:e.nodeName,appName:e.appName,moduleName:e.moduleName},t.next=5,e.$ajax.postJSON("/server/api/cache/addServerConfigItem",a);case 5:e.$tip.success(""+e.$t("cache.config.addSuccess")),e.configValue="",e.itemId="",e.getConfig(),e.moduleName&&e.$emit("call-back"),t.next=16;break;case 12:t.prev=12,t.t0=t.catch(1),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 16:case"end":return t.stop()}},t,e,[[1,12]])}))()},getConfig:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,I({method:"get",url:"/cache/getConfig"});case 3:if(a=t.sent,r=e.isModule,o=e.appName,s=e.moduleName,!r){t.next=10;break}return t.next=8,Z({appName:o,moduleName:s});case 8:n=t.sent,a=a.filter(function(e){return!n.filter(function(t){return t.path+"__"+t.item==e.path+"__"+e.item}).length});case 10:e.list=a,t.next=17;break;case 13:t.prev=13,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 17:case"end":return t.stop()}},t,e,[[0,13]])}))()}},created:function(){this.getConfig(),window.config=this}},pa={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("let-form",{ref:"addConfigForm",attrs:{type:"medium",title:e.$t("cache.config.addConfig")}},[a("let-form-item",{attrs:{label:e.$t("cache.config.item"),required:""}},[a("let-select",{attrs:{size:"small"},model:{value:e.itemId,callback:function(t){e.itemId=t},expression:"itemId"}},e._l(e.list,function(t){return a("let-option",{attrs:{value:t.id}},[e._v(e._s(t.path)+"__"+e._s(t.item)+"("+e._s(t.remark)+")")])}),1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.config.itemValue"),required:""}},[a("let-input",{attrs:{size:"small",required:""},model:{value:e.configValue,callback:function(t){e.configValue=t},expression:"configValue"}})],1),e._v(" "),a("br"),e._v(" "),a("let-form-item",{attrs:{label:" "}},[a("let-button",{attrs:{theme:"primary"},on:{click:e.submit}},[e._v(e._s(e.$t("cache.add")))])],1)],1)],1)},staticRenderFns:[]};var ha={components:{ServerConfigList:la,ServerConfig:ua,addServerConfig:a("VU/8")(ma,pa,!1,function(e){a("cYyP")},null,null).exports},data:function(){return{appName:"",moduleName:"",configList:[],serverList:[],serverConfigListVisible:!1,serverConfigVisible:!1,addServerConfigVisible:!1,checkServer:{},isCheckedAll:!1,pagination:{page:1}}},computed:{showConfigList:function(){return this.configList.slice(10*(this.pagination.page-1),10*this.pagination.page)},total:function(){return Math.ceil(this.configList.length/10)},hasCheckedItem:function(){return 0!==this.showConfigList.filter(function(e){return!0===e.isChecked}).length}},watch:{isCheckedAll:function(){var e=this.isCheckedAll;this.showConfigList.forEach(function(t){t.isChecked=e})}},methods:{checkedAllChange:function(){console.log(arguments)},changePage:function(e){this.pagination.page=e},getModuleConfig:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,a=e.appName,r=e.moduleName,t.next=4,Z({appName:a,moduleName:r});case 4:(o=t.sent).forEach(function(e){e.modify_value="",e.isChecked=!1}),e.configList=o,t.next=13;break;case 9:t.prev=9,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 13:case"end":return t.stop()}},t,e,[[0,9]])}))()},getServerList:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,a=e.appName,r=e.moduleName,t.next=4,K({appName:a,moduleName:r});case 4:o=t.sent,e.serverList=o,t.next=12;break;case 8:t.prev=8,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 12:case"end":return t.stop()}},t,e,[[0,8]])}))()},saveConfig:function(e){var t=this;return D()(L.a.mark(function a(){var r,o;return L.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return r=e.id,o=e.modify_value,a.prev=1,a.next=4,t.$ajax.getJSON("/server/api/cache/updateServerConfigItem",{id:r,configValue:o});case 4:return a.sent,a.next=7,t.getModuleConfig();case 7:a.next=13;break;case 9:a.prev=9,a.t0=a.catch(1),console.error(a.t0),t.$tip.error(t.$t("common.error")+": "+(a.t0.message||a.t0.err_msg));case 13:case"end":return a.stop()}},a,t,[[1,9]])}))()},saveConfigBatch:function(){var e=this;return D()(L.a.mark(function t(){var a;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.showConfigList.filter(function(e){return e.isChecked}).map(function(e){return{indexId:e.id,configValue:e.modify_value}}),t.prev=1,t.next=4,e.$ajax.postJSON("/server/api/cache/updateServerConfigItemBatch",{serverConfigList:a});case 4:return t.sent,t.next=7,e.getModuleConfig();case 7:t.next=13;break;case 9:t.prev=9,t.t0=t.catch(1),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 13:case"end":return t.stop()}},t,e,[[1,9]])}))()},deleteConfig:function(e){var t=this,a=e.id;this.$confirm(this.$t("cache.config.deleteConfig"),this.$t("common.alert")).then(D()(L.a.mark(function e(){return L.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$ajax.getJSON("/server/api/cache/deleteServerConfigItem",{id:a});case 3:return e.sent,e.next=6,t.getModuleConfig();case 6:e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0),t.$tip.error(t.$t("common.error")+": "+(e.t0.message||e.t0.err_msg));case 12:case"end":return e.stop()}},e,t,[[0,8]])})))},deleteServerConfigItemBatch:function(e){var t=this,a=(e.id,this.showConfigList.filter(function(e){return e.isChecked}).map(function(e){return{indexId:e.id}}));this.$confirm(this.$t("cache.config.deleteConfig"),this.$t("common.alert")).then(D()(L.a.mark(function e(){return L.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$ajax.postJSON("/server/api/cache/deleteServerConfigItemBatch",{serverConfigList:a});case 3:return e.sent,e.next=6,t.getModuleConfig();case 6:e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0),t.$tip.error(t.$t("common.error")+": "+(e.t0.message||e.t0.err_msg));case 12:case"end":return e.stop()}},e,t,[[0,8]])})))},handleNoPublishedTime:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$t("pub.dlg.unpublished");return"0000:00:00 00:00:00"===e?t:e},checkServerConfigList:function(e){this.serverConfigListVisible=!0,this.checkServer={serverName:e.server_name,nodeName:e.node_name}},editServerConfig:function(e){this.serverConfigVisible=!0,this.checkServer={serverName:e.server_name,nodeName:e.node_name}},addServerConfig:function(e){this.addServerConfigVisible=!0,this.checkServer={serverName:e.server_name,nodeName:e.node_name,moduleName:e.moduleName,appName:e.appName}}},created:function(){var e=this.$parent.getServerData(),t=e.application,a=e.module_name;this.appName=t,this.moduleName=a,this.getModuleConfig(),this.getServerList()}},fa={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{},[e.serverList?a("let-table",{ref:"serverListLoading",attrs:{data:e.serverList,title:e.$t("serverList.title.serverList"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("serverList.table.th.service"),prop:"server_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.ip"),prop:"node_name",width:"140px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.zb"),width:"140px"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row.server_type;return["M"===r?a("span",[e._v(e._s(e.$t("cache.mainEngine")))]):"S"===r?a("span",[e._v(e._s(e.$t("cache.standByEngine")))]):"I"===r?a("span",[e._v(e._s(e.$t("cache.mirror")))]):e._e()]}}],null,!1,888927167)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.configStatus"),width:"90px"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"===e.row.setting_state?"status-active":"status-off"})]}}],null,!1,3224184510)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.currStatus"),width:"65px"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"===e.row.present_state?"status-active":"activating"===e.row.present_state?"status-activating":"status-off"})]}}],null,!1,4116932289)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.time")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{"word-break":"break-word"}},[e._v(e._s(e.handleNoPublishedTime(t.row.patch_time)))])]}}],null,!1,3144837894)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"260px"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[a("let-table-operation",{on:{click:function(t){return e.editServerConfig(r)}}},[e._v(e._s(e.$t("cache.config.edit")))]),e._v(" "),a("let-table-operation",{on:{click:function(t){return e.checkServerConfigList(r)}}},[e._v(e._s(e.$t("cache.config.view")))]),e._v(" "),a("let-table-operation",{on:{click:function(t){return e.addServerConfig(r)}}},[e._v(e._s(e.$t("cache.config.add")))])]}}],null,!1,3985947012)})],1):e._e(),e._v(" "),a("let-table",{attrs:{data:e.showConfigList,title:e.$t("cache.config.tableTitle"),"empty-msg":e.$t("common.nodata"),stripe:!0}},[a("let-table-column",{scopedSlots:e._u([{key:"head",fn:function(t){return[a("let-checkbox",{attrs:{value:e.isCheckedAll,change:e.checkedAllChange},model:{value:e.isCheckedAll,callback:function(t){e.isCheckedAll=t},expression:"isCheckedAll"}})]}},{key:"default",fn:function(t){return[a("let-checkbox",{attrs:{value:t.row.id},model:{value:t.row.isChecked,callback:function(a){e.$set(t.row,"isChecked",a)},expression:"scope.row.isChecked"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.remark"),prop:"remark"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.path"),prop:"path"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.item"),prop:"item"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.config_value"),prop:"config_value"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.modify_value"),prop:"period"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[a("let-input",{attrs:{size:"small"},model:{value:r.modify_value,callback:function(t){e.$set(r,"modify_value",t)},expression:"row.modify_value"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates")},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[a("let-table-operation",{on:{click:function(t){return e.saveConfig(r)}}},[e._v(e._s(e.$t("operate.save")))]),e._v(" "),a("let-table-operation",{staticClass:"danger",on:{click:function(t){return e.deleteConfig(r)}}},[e._v(e._s(e.$t("operate.delete")))])]}}])}),e._v(" "),e.total?a("let-pagination",{attrs:{slot:"pagination",total:e.total,page:e.pagination.page,"show-sums":"",sum:e.configList.length,jump:"",align:"right"},on:{change:e.changePage},slot:"pagination"}):e._e(),e._v(" "),a("template",{slot:"operations"},[a("let-button",{attrs:{theme:"success",disabled:!e.hasCheckedItem},on:{click:e.saveConfigBatch}},[e._v(e._s(e.$t("cache.config.batchUpdate")))]),e._v(" "),a("let-button",{attrs:{theme:"danger",disabled:!e.hasCheckedItem},on:{click:e.deleteServerConfigItemBatch}},[e._v(e._s(e.$t("cache.config.batchDelete")))]),e._v(" "),a("let-button",{attrs:{theme:"primary"},on:{click:function(t){return e.addServerConfig({appName:e.appName,moduleName:e.moduleName})}}},[e._v(e._s(e.$t("cache.config.addModuleConfig")))])],1)],2),e._v(" "),a("let-modal",{staticClass:"server_config_list_modal",attrs:{footShow:!1,closeOnClickBackdrop:!0,width:"80%",height:"80%",title:e.$t("cache.config.tableTitle")},model:{value:e.serverConfigListVisible,callback:function(t){e.serverConfigListVisible=t},expression:"serverConfigListVisible"}},[e.serverConfigListVisible?a("server-config-list",e._b({attrs:{moduleName:e.moduleName}},"server-config-list",e.checkServer,!1)):e._e()],1),e._v(" "),a("let-modal",{staticClass:"server_config_list_modal",attrs:{footShow:!1,closeOnClickBackdrop:!0,width:"80%",height:"80%",title:e.$t("cache.config.tableTitle")},model:{value:e.serverConfigVisible,callback:function(t){e.serverConfigVisible=t},expression:"serverConfigVisible"}},[e.serverConfigVisible?a("server-config",e._b({},"server-config",e.checkServer,!1)):e._e()],1),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!0},model:{value:e.addServerConfigVisible,callback:function(t){e.addServerConfigVisible=t},expression:"addServerConfigVisible"}},[e.addServerConfigVisible?a("add-server-config",e._b({on:{"call-back":e.getModuleConfig}},"add-server-config",e.checkServer,!1)):e._e()],1)],1)},staticRenderFns:[]};var va=a("VU/8")(ha,fa,!1,function(e){a("h/s7")},null,null).exports,_a={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"operation-manage"},[a("let-tabs",{attrs:{activekey:e.$route.path},on:{click:e.onTabClick}},[a("let-tab-pane",{attrs:{tab:e.$t("dcache.operationManage.expand"),tabkey:"/operationManage/expand"}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("dcache.operationManage.shrinkage"),tabkey:"/operationManage/shrinkage"}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("dcache.operationManage.migration"),tabkey:"/operationManage/migration"}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("dcache.operationManage.mainBackup"),tabkey:"/operationManage/mainBackup"}})],1),e._v(" "),a("router-view",{staticClass:"operation-manage-children"})],1)},staticRenderFns:[]};var ga=a("VU/8")({methods:{onTabClick:function(e){this.$router.replace(e)}}},_a,!1,function(e){a("AuvU")},null,null).exports,ba={data:function(){return{list:[],total:0,page:1}},computed:{showList:function(){var e=this.page;return this.list.slice(10*(e-1),10*e)},type:function(){return{expand:"1",shrinkage:"2",migration:"0"}[this.$route.params.type]||"1"}},methods:{getRouterChange:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s={type:e.type},void 0,n=s.type,I({method:"get",url:"/cache/getRouterChange",params:{type:void 0===n?"1":n}});case 3:a=t.sent,r=a.totalNum,o=a.transferRecord,e.list=o.map(function(e){return e.statusText="dcache.operationManage.statusText."+e.status,e.progressText=e.progress+"%",e}),e.total=Math.ceil(r/10),t.next=14;break;case 10:t.prev=10,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(t.t0.message);case 14:case"end":return t.stop()}var s,n},t,e,[[0,10]])}))()},changePage:function(e){this.page=e},ensureStop:function(e){var t=this;return D()(L.a.mark(function a(){var r,o,s,n,i;return L.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,t.$confirm(t.$t("dcache.operationManage.ensureStop"));case 3:return console.log("ensure stop",e),r=e.appName,o=e.moduleName,s=e.type,n=e.srcGroupName,i=e.dstGroupName,a.next=7,G({appName:r,moduleName:o,type:s,srcGroupName:n,dstGroupName:i});case 7:t.getRouterChange(),a.next=14;break;case 10:a.prev=10,a.t0=a.catch(0),console.error(a.t0),t.$tip.error(a.t0.message);case 14:case"end":return a.stop()}},a,t,[[0,10]])}))()},ensureDelete:function(e){var t=this;return D()(L.a.mark(function a(){var r,o,s,n,i;return L.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,t.$confirm(t.$t("dcache.operationManage.ensureDelete"));case 3:return console.log("ensure delete",e),r=e.appName,o=e.moduleName,s=e.type,n=e.srcGroupName,i=e.dstGroupName,a.next=7,J({appName:r,moduleName:o,type:s,srcGroupName:n,dstGroupName:i});case 7:t.getRouterChange(),a.next=14;break;case 10:a.prev=10,a.t0=a.catch(0),console.error(a.t0),t.$tip.error(a.t0.message);case 14:case"end":return a.stop()}},a,t,[[0,10]])}))()},restartDask:function(e){var t=this;return D()(L.a.mark(function a(){var r,o,s,n,i;return L.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,t.$confirm(t.$t("dcache.operationManage.ensureRestart"));case 3:return r=e.appName,o=e.moduleName,s=e.type,n=e.srcGroupName,i=e.dstGroupName,a.next=6,W({appName:r,moduleName:o,type:s,srcGroupName:n,dstGroupName:i});case 6:t.getRouterChange(),a.next=13;break;case 9:a.prev=9,a.t0=a.catch(0),console.error(a.t0),t.$tip.error(a.t0.message);case 13:case"end":return a.stop()}},a,t,[[0,9]])}))()}},beforeRouteUpdate:function(e,t,a){a(),this.getRouterChange()},created:function(){this.getRouterChange()}},$a={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("let-table",{ref:"pageTable",attrs:{data:e.showList,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.appName"),prop:"appName"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.moduleName"),prop:"moduleName"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.srcGroupName"),prop:"srcGroupName"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.dstGroupName"),prop:"dstGroupName"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.status"),prop:"status"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(e.$t(a.statusText))+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.beginTime"),prop:"beginTime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.progress"),prop:"progress"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.progressText)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),prop:"appName",width:"120px"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[3===r.status?a("let-table-operation",{on:{click:function(t){return e.ensureStop(r)}}},[e._v(e._s(e.$t("operate.stop")))]):e._e(),e._v(" "),3!==r.status?a("let-table-operation",{on:{click:function(t){return e.ensureDelete(r)}}},[e._v(e._s(e.$t("operate.delete")))]):e._e(),e._v(" "),5===r.status?a("let-table-operation",{on:{click:function(t){return e.restartDask(r)}}},[e._v(e._s(e.$t("operate.retry")))]):e._e()]}}])}),e._v(" "),a("let-pagination",{attrs:{slot:"pagination",align:"right",total:e.total,page:e.page},on:{change:e.changePage},slot:"pagination"})],1)],1)},staticRenderFns:[]},ya=a("VU/8")(ba,$a,!1,null,null,null).exports,wa={data:function(){return{list:[],total:0,page:1,switchTypeText:["switch","mirrorSwitch","mirrorOffSwitch","readFail"],switchResultText:["switching","switchSuccess","notSwitch","switchFailure"],groupStatusText:["rw","ro","imageUnavailable"],switchPropertyText:{auto:"auto",manual:"manual"},color:["#00AA90","#6accab","#9096a3","#f56c77"]}},computed:{showList:function(){var e=this.page;return this.list.slice(10*(e-1),10*e)}},methods:{getSwitchInfo:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,void 0,void 0,void 0,void 0,void 0,n=(s={}).appName,i=void 0===n?"":n,l=s.moduleName,c=void 0===l?"":l,d=s.groupName,I({method:"get",url:"/cache/getSwitchInfo",params:{appName:i,moduleName:c,groupName:void 0===d?"":d}});case 3:a=t.sent,r=a.totalNum,o=a.switchRecord,e.list=o.map(function(e){return e}),e.total=Math.ceil(r/10),t.next=14;break;case 10:t.prev=10,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(t.t0.message);case 14:case"end":return t.stop()}var s,n,i,l,c,d},t,e,[[0,10]])}))()},changePage:function(e){this.page=e},switchServer:function(e){var t=this;return D()(L.a.mark(function a(){var r,o,s;return L.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,r=e.appName,o=e.moduleName,s=e.groupName,a.next=4,B({appName:r,moduleName:o,groupName:s});case 4:t.getSwitchInfo(),a.next=11;break;case 7:a.prev=7,a.t0=a.catch(0),console.error(a.t0),t.$tip.error(a.t0.message);case 11:case"end":return a.stop()}},a,t,[[0,7]])}))()},recoverMirrorStatus:function(e){var t=this;return D()(L.a.mark(function a(){var r,o,s,n,i,l;return L.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(2!==e.switchType){a.next=14;break}if(a.prev=1,r=e.appName,o=e.moduleName,s=e.groupName,n=e.mirrorIdc,i=e.dbFlag,l=e.enableErase,n){a.next=5;break}throw new Error(t.$t("dcache.mirrorEmpty"));case 5:return a.next=7,U({appName:r,moduleName:o,groupName:s,mirrorIdc:n,dbFlag:i,enableErase:l});case 7:t.getSwitchInfo(),a.next=14;break;case 10:a.prev=10,a.t0=a.catch(1),console.error(a.t0),t.$tip.error(a.t0.message);case 14:case"end":return a.stop()}},a,t,[[1,10]])}))()}},created:function(){this.getSwitchInfo()}},Ma={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("let-table",{ref:"pageTable",attrs:{data:e.showList,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.appName"),prop:"appName"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.moduleName"),prop:"moduleName"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.groupName"),prop:"groupName"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.switchTime"),prop:"switchTime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.modifyTime"),prop:"modifyTime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.switchType"),prop:"switchType"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row.switchType;return[a("span",{style:{color:e.color[r]}},[e._v(e._s(e.$t("dcache."+e.switchTypeText[r])))])]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.switchResult"),prop:"switchResult"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row.switchResult;return[a("span",{style:{color:e.color[r]}},[e._v(e._s(e.$t("dcache."+e.switchResultText[r])))])]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.groupStatus"),prop:"groupStatus"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row.groupStatus;return[a("span",{style:{color:e.color[r]}},[e._v(e._s(e.$t("dcache."+e.groupStatusText[r])))])]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.switchMethod"),prop:"switchProperty"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row.switchProperty;return[a("span",[e._v(e._s(e.$t("dcache."+e.switchPropertyText[r])))])]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),prop:"appName",width:"100px"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[a("let-table-operation",{attrs:{title:e.$t("dcache.areset"),disabled:!(2===r.switchType&&2===r.groupStatus)},on:{click:function(t){return e.recoverMirrorStatus(r)}}},[e._v(e._s(e.$t("dcache.oreset")))])]}}])}),e._v(" "),a("let-pagination",{attrs:{slot:"pagination",align:"right",total:e.total,page:e.page},on:{change:e.changePage},slot:"pagination"})],1)],1)},staticRenderFns:[]},ka=a("VU/8")(wa,Ma,!1,null,null,null).exports;r.default.use(f.a);var xa=new f.a({routes:[{path:"/server",name:"Server",component:$,children:[{path:":treeid/manage",component:ne},{path:":treeid/manage/:serverType",component:ne},{path:":treeid/publish/:serverType",component:Ue},{path:":treeid/config/:serverType",component:He.a},{path:":treeid/server-monitor/:serverType",component:Ke.a},{path:":treeid/property-monitor/:serverType",component:Ze.a},{path:":treeid/interface-debuger/:serverType",component:Xe.a},{path:":treeid/user-manage/:serverType",component:Ye.a},{path:":treeid/cache",component:Re},{path:":treeid/moduleCache",component:va},{path:":treeid/propertyMonitor",component:We,fn:"特性监控"}]},{path:"/operation",name:"Operation",component:et,redirect:"/operation/apply",children:[{path:"apply",name:"apply",component:at,redirect:"/operation/apply/createApply",children:[{path:"createApply",component:st},{path:"createService/:applyId",component:lt},{path:"installAndPublish/:applyId",component:vt}]},{path:"module",component:gt,redirect:"/operation/module/createModule",children:[{path:"createModule",component:wt},{path:"moduleConfig/:moduleId",component:Nt},{path:"serverConfig/:moduleId",component:Ft},{path:"installAndPublish/:moduleId",component:Ot}]},{path:"region",name:"region",component:jt}]},{path:"/releasePackage",name:"releasePackage",component:zt,redirect:"/releasePackage/proxyList",children:[{path:"proxyList",component:Jt},{path:"routerList",component:Ht},{path:"cacheList",component:Yt}]},{path:"/config",component:sa},{path:"/operationManage",name:"operationManage",component:ga,redirect:"/operationManage/expand",children:[{path:"mainBackup",component:ka},{path:":type",component:ya}]},{path:"*",redirect:"/server"}],scrollBehavior:function(e,t,a){return{x:0,y:0}}});r.default.config.productionTip=!1,c.b.call(this).then(function(){new r.default({i18n:c.a,el:"#app",router:xa,components:{App:h},template:""})})},"E+Yk":function(e,t,a){"use strict";var r=a("woOf"),o=a.n(r),s={name:"ServerUserManage",data:function(){return{serverData:o()({},this.$parent.getServerData()),developer:"",operator:"",hasAuth:!1}},mounted:function(){this.checkHasAuth(),this.getAuthList()},methods:{checkHasAuth:function(){var e=this;this.$ajax.getJSON("/server/api/has_auth",{application:this.serverData.application,server_name:this.serverData.server_name,role:"developer"}).then(function(t){e.hasAuth=t.has_auth||!1}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},getAuthList:function(){var e=this;this.$ajax.getJSON("/server/api/get_auth_list",{application:this.serverData.application,server_name:this.serverData.server_name}).then(function(t){e.operator=(t.operator||[]).join(";"),e.developer=(t.developer||[]).join(";")}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},save:function(){var e=this,t=this.$Loading.show();this.$ajax.postJSON("/server/api/update_auth",{application:this.serverData.application,server_name:this.serverData.server_name,operator:this.operator,developer:this.developer}).then(function(a){t.hide(),e.$tip.success(""+e.$t("common.error"))}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.message||a.err_msg))})}}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("let-form",{attrs:{inline:"",itemWidth:"600px"},nativeOn:{submit:function(t){return t.preventDefault(),e.save(t)}}},[a("let-form-item",{attrs:{label:e.$t("user.op")}},[a("let-input",{attrs:{type:"textarea",disabled:!e.hasAuth},model:{value:e.operator,callback:function(t){e.operator=t},expression:"operator"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("user.dev")}},[a("let-input",{attrs:{type:"textarea",disabled:!e.hasAuth},model:{value:e.developer,callback:function(t){e.developer=t},expression:"developer"}})],1),e._v(" "),a("let-form-item",[e.hasAuth?a("let-button",{attrs:{type:"submit",theme:"primary"}},[e._v(e._s(e.$t("common.submit")))]):e._e()],1)],1)],1)},staticRenderFns:[]};var i=a("VU/8")(s,n,!1,function(e){a("FqYd")},null,null);t.a=i.exports},"ED/T":function(e,t,a){"use strict";e.exports=function(e,t){return function(){for(var a=new Array(arguments.length),r=0;r65535||n++,o=null}s=3===n}else s=!1;return s},saveServantDetail:function(){var e=this;if(this.$refs.servantDetailForm.validate()){var t=this.$Loading.show();if(this.servantDetailModal.isNew){var a=this.servantDetailModal.model;a.servant=[a.application,a.server_name,a.obj_name].join("."),this.$ajax.postJSON("/server/api/add_adapter_conf",a).then(function(a){t.hide(),e.servantModal.model.unshift(a),e.$tip.success(e.$t("common.success")),e.closeServantDetailModal()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.err_msg||a.message))})}else this.servantDetailModal.model.servant=this.servantDetailModal.model.application+"."+this.servantDetailModal.model.server_name+"."+this.servantDetailModal.model.obj_name,this.$ajax.postJSON("/server/api/update_adapter_conf",this.servantDetailModal.model).then(function(a){t.hide(),e.servantModal.model=e.servantModal.model.map(function(e){return e.id===a.id?a:e}),e.$tip.success(e.$t("common.success")),e.closeServantDetailModal()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.err_msg||a.message))})}},deleteServant:function(e){var t=this;this.$confirm(this.$t("serverList.servant.a"),this.$t("common.alert")).then(function(){var a=t.$Loading.show();t.$ajax.getJSON("/server/api/delete_adapter_conf",{id:e}).then(function(r){a.hide(),t.servantModal.model=t.servantModal.model.filter(function(t){return t.id!==e}),t.$tip.success(t.$t("common.success"))}).catch(function(e){a.hide(),t.$tip.error(t.$t("common.error")+": "+(e.err_msg||e.message))})})},showMoreCmd:function(e){var t=this;this.moreCmdModal.model={selected:"setloglevel",setloglevel:"NONE",loadconfig:"",command:"",configs:null},this.moreCmdModal.unwatch=this.$watch("moreCmdModal.model.selected",function(){t.$refs.moreCmdForm&&t.$refs.moreCmdForm.resetValid()}),this.moreCmdModal.show=!0,this.moreCmdModal.currentServer=e,this.$ajax.getJSON("/server/api/config_file_list",{level:5,application:e.application,server_name:e.server_name}).then(function(e){t.moreCmdModal.model&&(t.moreCmdModal.model.configs=e)}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.err_msg||e.message))})},sendCommand:function(e,t,a){var r=this,o=this.$Loading.show();this.$ajax.getJSON("/server/api/send_command",{server_ids:e,command:t}).then(function(e){o.hide();var t=e[0].err_msg.replace(/\n/g,"
");if(0!==e[0].ret_code)throw new Error(t);var s={title:r.$t("common.success"),message:t};a&&(s.duration=0),r.$tip.success(s)}).catch(function(e){o.hide(),r.$tip.error({title:r.$t("common.error"),message:e.err_msg||e.message})})},invokeMoreCmd:function(){var e=this.moreCmdModal.model,t=this.moreCmdModal.currentServer;"undeploy_tars"===e.selected?this.undeployServer(t.id):"setloglevel"===e.selected?this.sendCommand(t.id,"tars.setloglevel "+e.setloglevel):"loadconfig"===e.selected&&this.$refs.moreCmdForm.validate()?this.sendCommand(t.id,"tars.loadconfig "+e.loadconfig):"command"===e.selected&&this.$refs.moreCmdForm.validate()?this.sendCommand(t.id,e.command):"connection"===e.selected&&this.sendCommand(t.id,"tars.connection",!0)},closeMoreCmdModal:function(){this.$refs.moreCmdForm&&this.$refs.moreCmdForm.resetValid(),this.moreCmdModal.unwatch&&this.moreCmdModal.unwatch(),this.moreCmdModal.show=!1,this.moreCmdModal.model=null},handleNoPublishedTime:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$t("pub.dlg.unpublished");return"0000:00:00 00:00:00"===e?t:e}},created:function(){this.serverData=this.$parent.getServerData()},mounted:function(){this.getServerList(),this.getServerNotifyList(1)}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_server_manage"},[e.serverList?a("let-table",{ref:"serverListLoading",attrs:{data:e.serverList,title:e.$t("serverList.title.serverList"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("serverList.table.th.service"),prop:"server_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.ip"),prop:"node_name",width:"140px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.enableSet")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.enable_set?a("p",{staticStyle:{"max-width":"200px"}},[e._v("\n "+e._s(e.$t("common.set.setName"))+":"+e._s(t.row.set_name)),a("br"),e._v("\n "+e._s(e.$t("common.set.setArea"))+":"+e._s(t.row.set_area)),a("br"),e._v("\n "+e._s(e.$t("common.set.setGroup"))+":"+e._s(t.row.set_group)+"\n ")]):a("span",[e._v(e._s(e.$t("common.disable")))])]}}],null,!1,1670625483)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.configStatus"),width:"90px"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"===e.row.setting_state?"status-active":"status-off"})]}}],null,!1,3224184510)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.currStatus"),width:"65px"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"===e.row.present_state?"status-active":"activating"===e.row.present_state?"status-activating":"status-off"})]}}],null,!1,4116932289)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.processID"),prop:"process_id",width:"80px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.version"),prop:"patch_version",width:"68px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.time")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{"word-break":"break-word"}},[e._v(e._s(e.handleNoPublishedTime(t.row.patch_time)))])]}}],null,!1,3144837894)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"260px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.configServer(t.row.id)}}},[e._v(e._s(e.$t("operate.update")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.restartServer(t.row.id)}}},[e._v(e._s(e.$t("operate.restart")))]),e._v(" "),a("let-table-operation",{staticClass:"danger",on:{click:function(a){return e.stopServer(t.row.id)}}},[e._v(e._s(e.$t("operate.stop")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.manageServant(t.row)}}},[e._v(e._s(e.$t("operate.servant")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.showMoreCmd(t.row)}}},[e._v(e._s(e.$t("operate.more")))])]}}],null,!1,3478261854)})],1):e._e(),e._v(" "),e.serverNotifyList&&e.showOthers?a("let-table",{ref:"serverNotifyListLoading",attrs:{data:e.serverNotifyList,title:e.$t("serverList.title.serverStatus"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("common.time"),prop:"notifytime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.serviceID"),prop:"server_id"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.threadID"),prop:"thread_id"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.result"),prop:"result"}})],1):e._e(),e._v(" "),a("let-pagination",{staticStyle:{"margin-bottom":"32px"},attrs:{page:e.pageNum,total:e.total},on:{change:e.gotoPage}}),e._v(" "),a("let-modal",{attrs:{title:e.$t("serverList.dlg.title.editService"),width:"800px",footShow:!(!e.configModal.model||!e.configModal.model.server_name)},on:{"on-confirm":e.saveConfig,close:e.closeConfigModal,"on-cancel":e.closeConfigModal},model:{value:e.configModal.show,callback:function(t){e.$set(e.configModal,"show",t)},expression:"configModal.show"}},[e.configModal.model&&e.configModal.model.server_name?a("let-form",{ref:"configForm",staticClass:"two-columns",attrs:{itemWidth:"360px",columns:2}},[a("let-form-item",{attrs:{label:e.$t("common.service")}},[e._v(e._s(e.configModal.model.server_name))]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.ip")}},[e._v(e._s(e.configModal.model.node_name))]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.isBackup"),required:""}},[a("let-radio-group",{attrs:{size:"small",data:[{value:!0,text:e.$t("common.yes")},{value:!1,text:e.$t("common.no")}]},model:{value:e.configModal.model.bak_flag,callback:function(t){e.$set(e.configModal.model,"bak_flag",t)},expression:"configModal.model.bak_flag"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.template"),required:""}},[e.configModal.model.templates&&e.configModal.model.templates.length?a("let-select",{attrs:{size:"small",required:""},model:{value:e.configModal.model.template_name,callback:function(t){e.$set(e.configModal.model,"template_name",t)},expression:"configModal.model.template_name"}},e._l(e.configModal.model.templates,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1):a("span",[e._v(e._s(e.configModal.model.template_name))])],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.serviceType"),required:""}},[a("let-select",{attrs:{size:"small",required:""},model:{value:e.configModal.model.server_type,callback:function(t){e.$set(e.configModal.model,"server_type",t)},expression:"configModal.model.server_type"}},e._l(e.serverTypes,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.table.th.enableSet"),required:""}},[a("let-radio-group",{attrs:{size:"small",data:[{value:!0,text:e.$t("common.enable")},{value:!1,text:e.$t("common.disable")}]},model:{value:e.configModal.model.enable_set,callback:function(t){e.$set(e.configModal.model,"enable_set",t)},expression:"configModal.model.enable_set"}})],1),e._v(" "),e.configModal.model.enable_set?a("let-form-item",{attrs:{label:e.$t("common.set.setName"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.errMsg.setName"),required:"",pattern:"^[a-z]+$","pattern-tip":e.$t("serverList.dlg.errMsg.setName")},model:{value:e.configModal.model.set_name,callback:function(t){e.$set(e.configModal.model,"set_name",t)},expression:"configModal.model.set_name"}})],1):e._e(),e._v(" "),e.configModal.model.enable_set?a("let-form-item",{attrs:{label:e.$t("common.set.setArea"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.errMsg.setArea"),required:"",pattern:"^[a-z]+$","pattern-tip":e.$t("serverList.dlg.errMsg.setArea")},model:{value:e.configModal.model.set_area,callback:function(t){e.$set(e.configModal.model,"set_area",t)},expression:"configModal.model.set_area"}})],1):e._e(),e._v(" "),e.configModal.model.enable_set?a("let-form-item",{attrs:{label:e.$t("common.set.setGroup"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.errMsg.setGroup"),required:"",pattern:"^[0-9\\*]+$","pattern-tip":e.$t("serverList.dlg.errMsg.setGroup")},model:{value:e.configModal.model.set_group,callback:function(t){e.$set(e.configModal.model,"set_group",t)},expression:"configModal.model.set_group"}})],1):e._e(),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.asyncThread"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.placeholder.thread"),required:"",pattern:"tars_nodejs"===e.configModal.model.server_type?"^[1-9][0-9]*$":"^([3-9]|[1-9][0-9]+)$","pattern-tip":"$t('serverList.dlg.placeholder.thread')"},model:{value:e.configModal.model.async_thread_num,callback:function(t){e.$set(e.configModal.model,"async_thread_num",t)},expression:"configModal.model.async_thread_num"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.defaultPath")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.base_path,callback:function(t){e.$set(e.configModal.model,"base_path",t)},expression:"configModal.model.base_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.exePath")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.exe_path,callback:function(t){e.$set(e.configModal.model,"exe_path",t)},expression:"configModal.model.exe_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.startScript")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.start_script_path,callback:function(t){e.$set(e.configModal.model,"start_script_path",t)},expression:"configModal.model.start_script_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.stopScript")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.stop_script_path,callback:function(t){e.$set(e.configModal.model,"stop_script_path",t)},expression:"configModal.model.stop_script_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.monitorScript"),itemWidth:"724px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.monitor_script_path,callback:function(t){e.$set(e.configModal.model,"monitor_script_path",t)},expression:"configModal.model.monitor_script_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.privateTemplate"),labelWidth:"150px",itemWidth:"724px"}},[a("let-input",{attrs:{size:"large",type:"textarea",rows:4},model:{value:e.configModal.model.profile,callback:function(t){e.$set(e.configModal.model,"profile",t)},expression:"configModal.model.profile"}})],1)],1):a("div",{ref:"configFormLoading",staticClass:"loading-placeholder"})],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("serverList.table.servant.title"),width:"1200px",footShow:!1},on:{close:e.closeServantModal},model:{value:e.servantModal.show,callback:function(t){e.$set(e.servantModal,"show",t)},expression:"servantModal.show"}},[a("let-button",{staticClass:"tbm16",attrs:{size:"small",theme:"primary"},on:{click:function(t){return e.configServant()}}},[e._v(e._s(e.$t("operate.add"))+" Servant")]),e._v(" "),e.servantModal.model?a("let-table",{attrs:{data:e.servantModal.model,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("operate.servant"),prop:"servant"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.adress"),prop:"endpoint"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.thread"),prop:"thread_num"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.maxConnecttions"),prop:"max_connections"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.maxQueue"),prop:"queuecap"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.timeout"),prop:"queuetimeout"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"90px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.configServant(t.row.id)}}},[e._v(e._s(e.$t("operate.update")))]),e._v(" "),a("let-table-operation",{staticClass:"danger",on:{click:function(a){return e.deleteServant(t.row.id)}}},[e._v(e._s(e.$t("operate.delete")))])]}}],null,!1,489266128)})],1):a("div",{ref:"servantModalLoading",staticClass:"loading-placeholder"})],1),e._v(" "),a("let-modal",{attrs:{title:e.servantDetailModal.isNew?e.$t("operate.title.add")+" Servant":e.$t("operate.title.update")+" Servant",width:"800px",footShow:!!e.servantDetailModal.model},on:{"on-confirm":e.saveServantDetail,close:e.closeServantDetailModal,"on-cancel":e.closeServantDetailModal},model:{value:e.servantDetailModal.show,callback:function(t){e.$set(e.servantDetailModal,"show",t)},expression:"servantDetailModal.show"}},[e.servantDetailModal.model?a("let-form",{ref:"servantDetailForm",staticClass:"two-columns",attrs:{itemWidth:"360px",columns:2}},[a("let-form-item",{attrs:{label:e.$t("serverList.servant.appService"),itemWidth:"724px"}},[a("span",[e._v(e._s(e.servantDetailModal.model.application)+"·"+e._s(e.servantDetailModal.model.server_name))])]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.objName"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.servant.c"),required:"",pattern:"^[A-Za-z]+$","pattern-tip":e.$t("serverList.servant.obj")},model:{value:e.servantDetailModal.model.obj_name,callback:function(t){e.$set(e.servantDetailModal.model,"obj_name",t)},expression:"servantDetailModal.model.obj_name"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.numOfThread"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.servant.thread"),required:"",pattern:"^[1-9][0-9]*$","pattern-tip":e.$t("serverList.servant.thread")},model:{value:e.servantDetailModal.model.thread_num,callback:function(t){e.$set(e.servantDetailModal.model,"thread_num",t)},expression:"servantDetailModal.model.thread_num"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.table.servant.adress"),required:"",itemWidth:"724px"}},[a("let-input",{ref:"endpoint",attrs:{size:"small",placeholder:"tcp -h 127.0.0.1 -t 60000 -p 12000",required:"",extraTip:e.isEndpointValid?"":e.$t("serverList.servant.error")},model:{value:e.servantDetailModal.model.endpoint,callback:function(t){e.$set(e.servantDetailModal.model,"endpoint",t)},expression:"servantDetailModal.model.endpoint"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.maxConnecttions"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.max_connections,callback:function(t){e.$set(e.servantDetailModal.model,"max_connections",t)},expression:"servantDetailModal.model.max_connections"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.lengthOfQueue"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.queuecap,callback:function(t){e.$set(e.servantDetailModal.model,"queuecap",t)},expression:"servantDetailModal.model.queuecap"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.queueTimeout"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.queuetimeout,callback:function(t){e.$set(e.servantDetailModal.model,"queuetimeout",t)},expression:"servantDetailModal.model.queuetimeout"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.allowIP")}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.allow_ip,callback:function(t){e.$set(e.servantDetailModal.model,"allow_ip",t)},expression:"servantDetailModal.model.allow_ip"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.protocol"),required:""}},[a("let-radio-group",{attrs:{size:"small",data:[{value:"tars",text:"TARS"},{value:"not_tars",text:e.$t("serverList.servant.notTARS")}]},model:{value:e.servantDetailModal.model.protocol,callback:function(t){e.$set(e.servantDetailModal.model,"protocol",t)},expression:"servantDetailModal.model.protocol"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.treatmentGroup"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.handlegroup,callback:function(t){e.$set(e.servantDetailModal.model,"handlegroup",t)},expression:"servantDetailModal.model.handlegroup"}})],1)],1):e._e()],1),e._v(" "),a("let-modal",{staticClass:"more-cmd",attrs:{title:e.$t("operate.title.more"),width:"700px"},on:{"on-confirm":e.invokeMoreCmd,close:e.closeMoreCmdModal,"on-cancel":e.closeMoreCmdModal},model:{value:e.moreCmdModal.show,callback:function(t){e.$set(e.moreCmdModal,"show",t)},expression:"moreCmdModal.show"}},[e.moreCmdModal.model?a("let-form",{ref:"moreCmdForm"},[a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"setloglevel"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.logLevel")))]),e._v(" "),a("let-select",{attrs:{size:"small",disabled:"setloglevel"!==e.moreCmdModal.model.selected},model:{value:e.moreCmdModal.model.setloglevel,callback:function(t){e.$set(e.moreCmdModal.model,"setloglevel",t)},expression:"moreCmdModal.model.setloglevel"}},e._l(e.logLevels,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1)],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"loadconfig"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.pushFile")))]),e._v(" "),a("let-select",{attrs:{size:"small",placeholder:e.moreCmdModal.model.configs&&e.moreCmdModal.model.configs.length?e.$t("pub.dlg.defaultValue"):e.$t("pub.dlg.noConfFile"),disabled:!(e.moreCmdModal.model.configs&&e.moreCmdModal.model.configs.length)||"loadconfig"!==e.moreCmdModal.model.selected,required:"loadconfig"===e.moreCmdModal.model.selected},model:{value:e.moreCmdModal.model.loadconfig,callback:function(t){e.$set(e.moreCmdModal.model,"loadconfig",t)},expression:"moreCmdModal.model.loadconfig"}},e._l(e.moreCmdModal.model.configs,function(t){return a("let-option",{key:t.filename,attrs:{value:t.filename}},[e._v(e._s(t.filename))])}),1)],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"command"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.sendCommand")))]),e._v(" "),a("let-input",{attrs:{size:"small",disabled:"command"!==e.moreCmdModal.model.selected,required:"command"===e.moreCmdModal.model.selected},model:{value:e.moreCmdModal.model.command,callback:function(t){e.$set(e.moreCmdModal.model,"command",t)},expression:"moreCmdModal.model.command"}})],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"connection"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.serviceLink")))])],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{staticClass:"danger",attrs:{label:"undeploy_tars"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("operate.undeploy"))+" "+e._s(e.$t("common.service")))])],1)],1):e._e()],1)],1)},staticRenderFns:[]};var u=a("VU/8")(c,d,!1,function(e){a("spG0")},null,null);t.a=u.exports},KtFB:function(e,t){},M8l6:function(e,t,a){"use strict";var r=a("S1cf");e.exports=function(e,t){r.forEach(e,function(a,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=a,delete e[r])})}},O444:function(e,t){},ORGq:function(e,t){},OvAf:function(e,t,a){"use strict";var r=a("BXyq"),o=a("S1cf"),s=a("rj2i"),n=a("uz6X");function i(e){this.defaults=e,this.interceptors={request:new s,response:new s}}i.prototype.request=function(e){"string"==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),(e=o.merge(r,{method:"get"},this.defaults,e)).method=e.method.toLowerCase();var t=[n,void 0],a=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)a=a.then(t.shift(),t.shift());return a},o.forEach(["delete","get","head","options"],function(e){i.prototype[e]=function(t,a){return this.request(o.merge(a||{},{method:e,url:t}))}}),o.forEach(["post","put","patch"],function(e){i.prototype[e]=function(t,a,r){return this.request(o.merge(r||{},{method:e,url:t,data:a}))}}),e.exports=i},Qr60:function(e,t){},R2dJ:function(e,t){},RN9H:function(e,t){},RlLB:function(e,t){},S1cf:function(e,t,a){"use strict";var r=a("ED/T"),o=a("q/Zl"),s=Object.prototype.toString;function n(e){return"[object Array]"===s.call(e)}function i(e){return null!==e&&"object"==typeof e}function l(e){return"[object Function]"===s.call(e)}function c(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),n(e))for(var a=0,r=e.length;a=0?this.allItems.filter(function(t){return+t.show_time.slice(0,2)===e}):this.allItems},itemsCount:function(){return this.filteredItems.length},pageCount:function(){return Math.ceil(this.filteredItems.length/20)},pagedItems:function(){return this.filteredItems.slice(20*(this.page-1),20*this.page)},charts:function(){return[{title:this.$t("monitor.table.total"),timeColumn:"show_time",dataColumns:[{name:"the_total_count",label:this.$t("monitor.table.curr")},{name:"pre_total_count",label:this.$t("monitor.table.contrast")}],data:this.allItems},{title:this.$t("monitor.table.a"),timeColumn:"show_time",dataColumns:[{name:"the_avg_time",label:this.$t("monitor.table.curr")},{name:"pre_avg_time",label:this.$t("monitor.table.contrast")}],data:this.allItems},{title:this.$t("monitor.table.b"),timeColumn:"show_time",dataColumns:[{name:"the_fail_rate",label:this.$t("monitor.table.curr")},{name:"pre_fail_rate",label:this.$t("monitor.table.contrast")}],data:this.allItems},{title:this.$t("monitor.table.c"),timeColumn:"show_time",dataColumns:[{name:"the_timeout_rate",label:this.$t("monitor.table.curr")},{name:"pre_timeout_rate",label:this.$t("monitor.table.contrast")}],data:this.allItems}]},chartOptions:function(){return{title:{show:!0,text:this.$t("monitor.table.curr")+" "+this.$t("monitor.table.total")},grid:{bottom:40,top:50},legend:{top:5},settings:{labelMap:{the_value:this.$t("monitor.property.property"),pre_value:this.$t("monitor.property.propertyC")},scale:[!0,!1]},data:{columns:["show_time","the_value","pre_value"],rows:this.allItems}}}},mounted:function(){this.fetchData()},methods:{fetchData:function(){var e=this,t=this.$refs.chart&&this.$refs.chart.$loading.show(),a=this.$refs.table.$loading.show();return this.$ajax.getJSON("/server/api/tarsstat_monitor_data",this.query).then(function(r){t&&t.hide(),a.hide(),e.allItems=function(e){return e&&e.length>0?e.map(function(e){var t=n()({},e),a=/^pre_.*/,r=/^the_.*/;return o()(e).forEach(function(o){(a.test(o)||r.test(o))&&"0.00%"===e[o]&&(t[o]="0")}),t}):e}(r)}).catch(function(r){t&&t.hide(),a.hide(),e.$tip.error(e.$t("common.error")+": "+(r.message||r.err_msg))})},groupBy:function(e){this.query.group_by=e,this.showChart=!1,this.fetchData()},search:function(){delete this.query.group_by,this.showChart=!0,this.fetchData()},changePage:function(e){this.page=e}}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_server_server_monitor"},[a("let-form",{attrs:{inline:"",itemWidth:"200px"},nativeOn:{submit:function(t){return t.preventDefault(),e.search(t)}}},[a("let-form-item",{attrs:{label:e.$t("monitor.search.a")}},[a("let-date-picker",{attrs:{size:"small",formatter:e.formatter},model:{value:e.query.thedate,callback:function(t){e.$set(e.query,"thedate",t)},expression:"query.thedate"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("monitor.search.b")}},[a("let-date-picker",{attrs:{size:"small",formatter:e.formatter},model:{value:e.query.predate,callback:function(t){e.$set(e.query,"predate",t)},expression:"query.predate"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("monitor.search.start")}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.startshowtime,callback:function(t){e.$set(e.query,"startshowtime",t)},expression:"query.startshowtime"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("monitor.search.end")}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.endshowtime,callback:function(t){e.$set(e.query,"endshowtime",t)},expression:"query.endshowtime"}})],1),e._v(" "),a("tars-form-item",{attrs:{label:e.$t("monitor.search.interfaceName")},on:{onLabelClick:function(t){return e.groupBy("interface_name")}}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.interface_name,callback:function(t){e.$set(e.query,"interface_name",t)},expression:"query.interface_name"}})],1),e._v(" "),a("tars-form-item",{attrs:{label:e.$t("monitor.search.master")},on:{onLabelClick:function(t){return e.groupBy("master_name")}}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.master_name,callback:function(t){e.$set(e.query,"master_name",t)},expression:"query.master_name"}})],1),e._v(" "),a("tars-form-item",{attrs:{label:e.$t("monitor.search.slave")},on:{onLabelClick:function(t){return e.groupBy("slave_name")}}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.slave_name,callback:function(t){e.$set(e.query,"slave_name",t)},expression:"query.slave_name"}})],1),e._v(" "),a("tars-form-item",{attrs:{label:e.$t("monitor.search.masterIP")},on:{onLabelClick:function(t){return e.groupBy("master_ip")}}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.master_ip,callback:function(t){e.$set(e.query,"master_ip",t)},expression:"query.master_ip"}})],1),e._v(" "),a("tars-form-item",{attrs:{label:e.$t("monitor.search.slaveIP")},on:{onLabelClick:function(t){return e.groupBy("slave_ip")}}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.slave_ip,callback:function(t){e.$set(e.query,"slave_ip",t)},expression:"query.slave_ip"}})],1),e._v(" "),a("let-form-item",[a("let-button",{attrs:{size:"small",type:"submit",theme:"primary"}},[e._v(e._s(e.$t("operate.search")))])],1)],1),e._v(" "),e.showChart?a("let-row",{ref:"charts",staticClass:"charts"},e._l(e.charts,function(t){return a("let-col",{key:t.title,attrs:{span:12}},[e.allItems.length>0?a("compare-chart",e._b({},"compare-chart",t,!1)):e._e()],1)}),1):e._e(),e._v(" "),a("hours-filter",{model:{value:e.hour,callback:function(t){e.hour=t},expression:"hour"}}),e._v(" "),a("let-table",{ref:"table",attrs:{data:e.pagedItems,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("common.time"),prop:"show_time",width:"80px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.search.master"),prop:"master_name",width:""}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.search.slave"),prop:"slave_name",width:""}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.search.interfaceName"),prop:"interface_name",width:""}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.search.masterIP"),prop:"master_ip",width:""}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.search.slaveIP"),prop:"slave_ip",width:""}}),e._v(" "),a("let-table-column",{attrs:{prop:"the_total_count",align:"right"},scopedSlots:e._u([{key:"head",fn:function(t){return a("span",{},[e._v(e._s(e.$t("monitor.table.curr"))),a("br"),e._v(e._s(e.$t("monitor.table.total")))])}}])}),e._v(" "),a("let-table-column",{attrs:{prop:"pre_total_count",align:"right"},scopedSlots:e._u([{key:"head",fn:function(t){return a("span",{},[e._v(e._s(e.$t("monitor.table.contrast"))),a("br"),e._v(e._s(e.$t("monitor.table.total")))])}}])}),e._v(" "),a("let-table-column",{attrs:{prop:"total_count_wave",align:"right"},scopedSlots:e._u([{key:"head",fn:function(t){return a("span",{},[e._v(e._s(e.$t("monitor.table.fluctuating")))])}}])}),e._v(" "),a("let-table-column",{attrs:{align:"right"},scopedSlots:e._u([{key:"head",fn:function(t){return a("span",{},[e._v(e._s(e.$t("monitor.table.curr"))),a("br"),e._v(e._s(e.$t("monitor.table.a")))])}},{key:"default",fn:function(t){return[e._v(e._s(t.row.the_avg_time)+"ms")]}}])}),e._v(" "),a("let-table-column",{attrs:{align:"right"},scopedSlots:e._u([{key:"head",fn:function(t){return a("span",{},[e._v(e._s(e.$t("monitor.table.contrast"))),a("br"),e._v(e._s(e.$t("monitor.table.a")))])}},{key:"default",fn:function(t){return[e._v(e._s(t.row.pre_avg_time)+"ms")]}}])}),e._v(" "),a("let-table-column",{attrs:{prop:"the_fail_rate",align:"right"},scopedSlots:e._u([{key:"head",fn:function(t){return a("span",{},[e._v(e._s(e.$t("monitor.table.curr"))),a("br"),e._v(e._s(e.$t("monitor.table.b")))])}}])}),e._v(" "),a("let-table-column",{attrs:{prop:"pre_fail_rate",align:"right"},scopedSlots:e._u([{key:"head",fn:function(t){return a("span",{},[e._v(e._s(e.$t("monitor.table.contrast"))),a("br"),e._v(e._s(e.$t("monitor.table.b")))])}}])}),e._v(" "),a("let-table-column",{attrs:{prop:"the_timeout_rate",align:"right"},scopedSlots:e._u([{key:"head",fn:function(t){return a("span",{},[e._v(e._s(e.$t("monitor.table.curr"))),a("br"),e._v(e._s(e.$t("monitor.table.c")))])}}])}),e._v(" "),a("let-table-column",{attrs:{prop:"pre_timeout_rate",align:"right"},scopedSlots:e._u([{key:"head",fn:function(t){return a("span",{},[e._v(e._s(e.$t("monitor.table.contrast"))),a("br"),e._v(e._s(e.$t("monitor.table.c")))])}}])}),e._v(" "),e.pageCount?a("let-pagination",{attrs:{slot:"pagination",total:e.pageCount,page:e.page,sum:e.itemsCount,"show-sums":"",jump:""},on:{change:e.changePage},slot:"pagination"}):e._e()],1)],1)},staticRenderFns:[]};var m=a("VU/8")(d,u,!1,function(e){a("btJ3")},null,null);t.a=m.exports},TH6y:function(e,t){},Tx4S:function(e,t,a){"use strict";a.d(t,"a",function(){return i}),t.b=c;var r=a("fZjL"),o=a.n(r),s=6e4,n=60*s,i=24*n;function l(e){return null==e?new Date:e instanceof Date?e:new Date(e)}function c(e,t){if(e=l(e),t=t||"YYYY-MM-DD HH:mm:ss",isNaN(e.getTime()))return t;var a={"M+":e.getMonth()+1,"D+":e.getDate(),"H+":e.getHours(),"h+":e.getHours()%12==0?12:e.getHours()%12,"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};return/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),/(dd+)/.test(t)&&(t=t.replace(RegExp.$1,"日一二三四五六七".split("")[e.getDay()])),o()(a).forEach(function(e){if(new RegExp("("+e+")").test(t)){var r=RegExp.$1,o=""+a[e];t=t.replace(r,1===r.length?o:("00"+o).substr(o.length))}}),t}},"V3+0":function(e,t,a){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},VMrG:function(e,t){},VnDC:function(e,t){},X8jb:function(e,t,a){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},XSxf:function(e,t){},YEpj:function(e,t){},YNvG:function(e,t){},YdsM:function(e,t,a){"use strict";e.exports=function(e,t,a,r,o){return e.config=t,a&&(e.code=a),e.request=r,e.response=o,e}},ZJVQ:function(e,t){},ZeD7:function(e,t,a){"use strict";var r=a("S1cf"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,a,s,n={};return e?(r.forEach(e.split("\n"),function(e){if(s=e.indexOf(":"),t=r.trim(e.substr(0,s)).toLowerCase(),a=r.trim(e.substr(s+1)),t){if(n[t]&&o.indexOf(t)>=0)return;n[t]="set-cookie"===t?(n[t]?n[t]:[]).concat([a]):n[t]?n[t]+", "+a:a}}),n):n}},a2Uu:function(e,t,a){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},a94L:function(e,t){},aS8y:function(e,t,a){"use strict";var r=a("3bIi");e.exports=function(e,t,a){var o=a.config.validateStatus;a.status&&o&&!o(a.status)?t(r("Request failed with status code "+a.status,a.config,null,a.request,a)):e(a)}},btJ3:function(e,t){},cYyP:function(e,t){},"dLd/":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAA4CAMAAAAvp+0eAAAAjVBMVEUAAABWXGZWXGdXW2ZWXGZbZGdWW2Z2dnhXXWdWXWdWXGdXXGdZX2hXW2dWXGZbX2phY2tXW2dXW2dZXWhWW2ZXW2ZXXGZoaG1XW2ZXW2dYXGdXW2dXXGZWW2dWXGdXXGZWXGZXXGdXXGdYXGdYXWhXXWdWW2ZWXGZXXWdbX2tXW2dXXGdYXGhYXmhWW2ZN3ep6AAAALnRSTlMA86bskRT6BUt8jHYvoPcbD7BtKebVxgrAuGJG2827m/CDZlc5Ud9/QCCHelwkFVYtqQAAA/pJREFUWMPFl91iqjA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CdfAyLARk6VZzTkjqhCCqU0kk5W5U7ts3rHF5DTrkAKatjjMr5eBKzO6flr4ffOM6nDlun0LLAMWdPeBPmdU1hqMLD2uwxJ1VLLkVkpN5CLLduApo7LvtcLov7Te5L411WDURAqagFjo/ihk36yydZSjXfpShxXqL2khf15Nqfh3ULTwWodUsrSlz4BUIQ0wm9EOVMQVan1b1gw05pJpC/hpoY+A/HNRWV9pWVuej+lfknNObz8Xn3v/Qf8AOMI3ricO6pwAAAAASUVORK5CYII="},dZBD:function(e,t,a){e.exports=a("nUiQ")},dn2M:function(e,t,a){"use strict";var r=a("S1cf");e.exports=r.isStandardBrowserEnv()?{write:function(e,t,a,o,s,n){var i=[];i.push(e+"="+encodeURIComponent(t)),r.isNumber(a)&&i.push("expires="+new Date(a).toGMTString()),r.isString(o)&&i.push("path="+o),r.isString(s)&&i.push("domain="+s),!0===n&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},fT6T:function(e,t){},gxaK:function(e,t){},"h/s7":function(e,t){},hVKt:function(e,t){},m6R6:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsBAMAAADsqkcyAAAAIVBMVEUAAACZsuGasuCbtuRFf/WZseD////q8P3z9vt6o/e2x+iGuTfsAAAABHRSTlMA6aYc+fzKlQAAAGFJREFUKM9jgIBQBEIA+gszK4YiASEDqLBhKAoQhgqrrkhDAl1BUGHRNmThjECYfWkuSCAtFI8w0A50YSDAIUyC2SPOJdMrsZpdlk6MMMIQOoYJZvLBl9gwkybuhDx4choAeHa83egTBYcAAAAASUVORK5CYII="},m8r6:function(e,t,a){"use strict";var r={data:function(){return{thisYear:(new Date).getFullYear()}}},o={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"app_index__footer"})},staticRenderFns:[]};var s=a("VU/8")(r,o,!1,function(e){a("nipV")},null,null);t.a=s.exports},"mI+K":function(e,t,a){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},mmkS:function(e,t,a){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function o(){this.message="String contains an invalid character"}o.prototype=new Error,o.prototype.code=5,o.prototype.name="InvalidCharacterError",e.exports=function(e){for(var t,a,s=String(e),n="",i=0,l=r;s.charAt(0|i)||(l="=",i%1);n+=l.charAt(63&t>>8-i%1*8)){if((a=s.charCodeAt(i+=.75))>255)throw new o;t=t<<8|a}return n}},mxK3:function(e,t,a){"use strict";var r={render:function(){var e=this.$createElement;return(this._self._c||e)("section",{staticClass:"section"},[this._t("default")],2)},staticRenderFns:[]};var o=a("VU/8")(null,r,!1,function(e){a("4TWv")},"data-v-2643216f",null);t.a=o.exports},nUiQ:function(e,t,a){"use strict";var r=a("S1cf"),o=a("ED/T"),s=a("OvAf"),n=a("BXyq");function i(e){var t=new s(e),a=o(s.prototype.request,t);return r.extend(a,s.prototype,t),r.extend(a,t),a}var l=i(n);l.Axios=s,l.create=function(e){return i(r.merge(n,e))},l.Cancel=a("mI+K"),l.CancelToken=a("tsWd"),l.isCancel=a("V3+0"),l.all=function(e){return Promise.all(e)},l.spread=a("X8jb"),e.exports=l,e.exports.default=l},nipV:function(e,t){},ohPC:function(e,t){},"q/Zl":function(e,t){function a(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)} +webpackJsonp([1],{"+M9A":function(e,t){},"/4MF":function(e,t){},"/w7L":function(e,t,a){"use strict";var r=a("S1cf");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");function o(e){var r=e;return t&&(a.setAttribute("href",r),r=a.href),a.setAttribute("href",r),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname}}return e=o(window.location.href),function(t){var a=r.isString(t)?o(t):t;return a.protocol===e.protocol&&a.host===e.host}}():function(){return!0}},"1Ggf":function(e,t){},"3NoR":function(e,t,a){"use strict";var r=a("Dd8w"),o=a.n(r),s=a("pFYg"),n=a.n(s),i=a("7+uW"),l=a("QpGM"),c=a.n(l),d=(a("XSxf"),a("K/Lq")),u=a.n(d),m=(a("s2Rr"),{name:"Icon",props:{name:{type:String,required:!0}}}),p={render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"icon"},[t("use",{attrs:{"xlink:href":"#"+this.name}})])},staticRenderFns:[]};var h=a("VU/8")(m,p,!1,function(e){a("JIJe")},null,null).exports,f={name:"TarsFormItem",props:{label:String}},v={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("let-form-item",{staticClass:"tars-form-item"},[a("label",{staticClass:"let-form-item__label let-label__position_top clickable",on:{click:function(t){return e.$emit("onLabelClick")}}},[e._v(e._s(e.label))]),e._v(" "),e._t("default")],2)},staticRenderFns:[]};var _=a("VU/8")(f,v,!1,function(e){a("O444")},null,null).exports,g=a("Z/F5"),b=a.n(g),$=a("aqzs"),y=a.n($);i.default.use(c.a,{locale:{en:y.a,cn:b.a}[u.a.get("locale")||"cn"]||b.a}),i.default.component(h.name,h),i.default.component(_.name,_);var w=i.default.prototype.$Loading;function M(e){this.el=e,this.loading=null}M.prototype.show=function(e,t){"object"===(void 0===e?"undefined":n()(e))&&(t=e,e=null),this.loading&&this.hide();var a=this.el,r=w(o()({fullScreen:!a,target:a&&e?a.querySelector(e):a,boxClass:"loading-inner",background:"rgba(0,0,0,0)",color:"#fff",size:24},t));return r.show(),this.loading=r,this},M.prototype.hide=function(){return this.loading&&(this.loading.hide(),this.loading=null),this},M.show=function(){var e;return M._loading||(M._loading=new M),(e=M._loading).show.apply(e,arguments)},M.hide=function(){return M._loading||(M._loading=new M),M._loading.hide()},w.show=M.show,w.hide=M.hide,Object.defineProperty(i.default.prototype,"$loading",{get:function(){return this._loading||(this._loading=new M(this.$el)),this._loading}}),Object.defineProperty(i.default.prototype,"$tip",{get:function(){return this.$Notice}})},"3bIi":function(e,t,a){"use strict";var r=a("YdsM");e.exports=function(e,t,a,o,s){var n=new Error(e);return r(n,t,a,o,s)}},"4TWv":function(e,t){},"6uR2":function(e,t){},"7/2Y":function(e,t,a){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},"74BX":function(e,t){},"7x6k":function(e,t,a){"use strict";var r=a("mvHQ"),o=a.n(r),s=a("pFYg"),n=a.n(s),i={name:"InterfaceDebuger",components:{wrapper:a("mxK3").a},data:function(){return{serverData:{level:5,application:"",server_name:"",set_name:"",set_area:"",set_group:""},tarsFileList:[],uploadModal:{show:!1,model:{}},showDebug:!1,contextData:[],debuger_panel:!1,inParam:"",outParam:"",selectedFileName:"",selectedMethods:[],objName:"",objList:[],selectedId:""}},methods:{getFileList:function(){var e=this,t=this.$Loading.show();this.$ajax.getJSON("/server/api/get_file_list",{application:this.serverData.application,server_name:this.serverData.server_name}).then(function(a){t.hide(),e.tarsFileList=a}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.message||a.err_msg))})},openTarsUploadFileModal:function(){this.uploadModal.show=!0,this.uploadModal.model={application:this.serverData.application,server_name:this.serverData.server_name,set_name:this.serverData.set_name,file:null}},uploadFile:function(e){this.uploadModal.model.file=e},uploadTarsFile:function(){var e=this;if(this.$refs.uploadForm.validate()){var t=this.$Loading.show(),a=new FormData;a.append("application",this.uploadModal.model.application),a.append("server_name",this.uploadModal.model.server_name),a.append("set_name",this.uploadModal.model.set_name),a.append("suse",this.uploadModal.model.file),this.$ajax.postForm("/server/api/upload_tars_file",a).then(function(){t.hide(),e.getFileList(),e.uploadModal.show=!1,e.uploadModal.model=null}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.message||a.err_msg))})}},closeUploadModal:function(){this.uploadModal.show=!1},showDebuger:function(e){this.showDebug=!0,this.selectedFileName=e.file_name,this.inParam=null,this.outParam=null,this.selectedId=e.f_id,this.objName=null,this.getContextData(e.f_id),this.getObjList()},deleteTarsFile:function(e){var t=this;this.$confirm(this.$t("inf.dlg.deleteMsg"),this.$t("common.alert")).then(function(){var a=t.$Loading.show();t.$ajax.getJSON("/server/api/delete_tars_file",{id:e}).then(function(e){a.hide(),t.getFileList()}).catch(function(e){a.hide(),t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})}).catch(function(){})},getObjList:function(){var e=this;this.$ajax.getJSON("/server/api/all_adapter_conf_list",{application:this.serverData.application,server_name:this.serverData.server_name}).then(function(t){t.length&&(e.objList=t,e.objName=t[0].servant)}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},getContextData:function(e){var t=this;this.$ajax.getJSON("/server/api/get_contexts",{id:e,application:this.serverData.application,server_name:this.serverData.server_name,type:"all"}).then(function(e){t.contextData=e}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})},parseFields:function(e){var t={};for(var a in e){var r=e[a].defaultValue;r||("string"===e[a].type?r="":"long"!==e[a].type&&"int"!==e[a].type||(r=0)),t[a]=r}return t},getParams:function(e){var t=this;if(this.selectedMethods=e,3==e.length){var a=this.$Loading.show();this.$ajax.getJSON("/server/api/get_params",{application:this.serverData.application,server_name:this.serverData.server_name,id:this.selectedId,module_name:e[0],interface_name:e[1],function_name:e[2]}).then(function(r){a.hide();var s={};t.$ajax.getJSON("/server/api/get_structs",{id:t.selectedId,module_name:e[0]}).then(function(e){r.forEach(function(a){if(!a.out)if("string"===a.type)s[a.name]="";else if("array"===a.type)s[a.name]=[];else if("object"===n()(a.type))if(a.type.vector)s[a.name]=[];else if(a.type.isEnum){s[a.name]={}}else a.type.isStruct&&(s[a.name]=t.parseFields(e.structs[a.type.name].fields));else s[a.name]=""}),t.inParam=o()(s)})}).catch(function(e){a.hide(),t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})}},doDebug:function(){var e=this,t=this.$Loading.show();this.$ajax.postJSON("/server/api/interface_test",{id:this.selectedId,application:this.serverData.application,server_name:this.serverData.server_name,file_name:this.selectedFileName,module_name:this.selectedMethods[0],interface_name:this.selectedMethods[1],function_name:this.selectedMethods[2],params:this.inParam,objName:this.objName}).then(function(a){t.hide(),e.outParam=a}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.message||a.err_msg))})}},created:function(){this.serverData=this.$parent.getServerData()},mounted:function(){this.getFileList()}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_server_debuger"},[e.showDebug?e._e():a("wrapper",{ref:"tarsFileListLoading"},[a("let-button",{staticClass:"add-btn",attrs:{size:"small",theme:"primary"},on:{click:e.openTarsUploadFileModal}},[e._v(e._s(e.$t("operate.add")))]),e._v(" "),a("let-table",{attrs:{data:e.tarsFileList,title:e.$t("inf.title.listTitle"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("deployService.form.app"),prop:"application"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.service"),prop:"server_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cfg.btn.fileName"),prop:"file_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cfg.btn.lastUpdate"),prop:"posttime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"260px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.showDebuger(t.row)}}},[e._v(e._s(e.$t("inf.list.debug")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.deleteTarsFile(t.row.f_id)}}},[e._v(e._s(e.$t("operate.delete")))])]}}],null,!1,2386188281)})],1)],1),e._v(" "),e.showDebug?a("div",[a("let-form",{staticClass:"left_align",attrs:{itemWidth:"530px"}},[a("let-form-item",{attrs:{label:e.$t("inf.dlg.selectLabel")}},[a("let-cascader",{attrs:{data:e.contextData,required:"",size:"small"},on:{change:e.getParams}})],1),e._v(" "),e.objList.length?a("let-form-item",{attrs:{label:e.$t("inf.dlg.objName")}},[a("let-select",{model:{value:e.objName,callback:function(t){e.objName=t},expression:"objName"}},e._l(e.objList,function(e){return a("let-option",{key:e.servant,attrs:{value:e.servant}})}),1)],1):e._e(),e._v(" "),a("let-form-item",[a("let-button",{attrs:{theme:"primary"},on:{click:e.doDebug}},[e._v(e._s(e.$t("inf.list.debug")))])],1)],1),e._v(" "),a("let-row",[a("div",{staticClass:"params_container"},[a("let-col",{attrs:{span:12,itemWidth:"100%"}},[a("let-form",{attrs:{itemWidth:"100%"}},[a("let-input",{staticClass:"param_area div_line",attrs:{type:"textarea",rows:20,placeholder:e.$t("inf.dlg.inParam")},model:{value:e.inParam,callback:function(t){e.inParam=t},expression:"inParam"}})],1)],1),e._v(" "),a("let-col",{attrs:{span:12}},[a("let-form",{attrs:{itemWidth:"100%"}},[a("let-input",{staticClass:"param_area",attrs:{type:"textarea",rows:20,placeholder:e.$t("inf.dlg.outParam")},model:{value:e.outParam,callback:function(t){e.outParam=t},expression:"outParam"}})],1)],1)],1)]),e._v(" "),a("div",{staticClass:"mt10"},[a("let-button",{attrs:{theme:"primary",size:"small"},on:{click:function(t){e.showDebug=!1}}},[e._v(e._s(e.$t("operate.goback")))])],1)],1):e._e(),e._v(" "),a("let-modal",{attrs:{title:e.$t("inf.title.dlgTitle"),width:"880px",footShow:!1},on:{"on-cancel":e.closeUploadModal},model:{value:e.uploadModal.show,callback:function(t){e.$set(e.uploadModal,"show",t)},expression:"uploadModal.show"}},[e.uploadModal.model?a("let-form",{ref:"uploadForm",attrs:{itemWidth:"100%"},nativeOn:{submit:function(t){return t.preventDefault(),e.uploadTarsFile(t)}}},[a("let-form-item",{attrs:{itemWidth:"400px"}},[a("let-uploader",{attrs:{placeholder:e.$t("pub.dlg.defaultValue"),require:""},on:{upload:e.uploadFile}},[e._v("\n "+e._s(e.$t("common.submit")))]),e._v(" "),e.uploadModal.model.file?a("span",[e._v(e._s(e.uploadModal.model.file.name))]):e._e()],1),e._v(" "),a("let-button",{attrs:{type:"submit",theme:"primary"}},[e._v(e._s(e.$t("serverList.servant.upload")))])],1):e._e()],1)],1)},staticRenderFns:[]};var c=a("VU/8")(i,l,!1,function(e){a("VnDC")},null,null);t.a=c.exports},"86n0":function(e,t,a){"use strict";var r=a("mvHQ"),o=a.n(r),s=a("//Fk"),n=a.n(s),i=a("Zrlr"),l=a.n(i),c=a("wxAW"),d=a.n(c),u=a("fZjL"),m=a.n(u),p=a("woOf"),h=a.n(p),f=a("pFYg"),v=a.n(f),_=function(e){return"string"==typeof e},g=Array.isArray,b=function(e){return"object"===(void 0===e?"undefined":v()(e))&&null!==e},$=function(e){return"function"==typeof e},y=h.a;function w(e){return String(e).replace(/(?:[\0- "-&\+-\}\x7F-\xA8\xAA-\xAD\xAF-\u2121\u2123-\u23E8\u23F0-\u23F2\u23F4-\u23F7\u23FB-\u24C1\u24C3-\u25B5\u25B7-\u25FF\u27C0-\u2933\u2936-\u2B04\u2B08-\u2B1A\u2B1D-\u2B4F\u2B51-\u2B54\u2B56-\u302F\u3031-\u303C\u303E-\u3296\u3298\u329A-\uD7FF\uE000-\uFFFF]|[\uD800-\uD83B\uD83F-\uDBFF][\uDC00-\uDFFF]|\uD83C[\uDC00-\uDC03\uDC05-\uDCCE\uDCD0-\uDD6F\uDD72-\uDD7D\uDD80-\uDD8D\uDD8F\uDD90\uDE52-\uDEFF]|\uD83D[\uDE50-\uDE7F\uDF00-\uDFFF]|\uD83E[\uDC00-\uDCFF\uDE00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,encodeURIComponent).replace(/ /g,"+").replace(/[!'()~*]/g,function(e){return"%"+e.charCodeAt().toString(16).slice(-2).toUpperCase()})}function M(e){if(!e)return"";var t=[];return m()(e).forEach(function(a){var r=e[a];null!==r&&void 0!==r||(r=""),t.push(w(a)+"="+w(r))}),t.join("&").replace(/%20/g,"+")}function k(e){return M(m()(e).reduce(function(t,a){return function e(t,a,r){return g(r)||b(r)?(m()(r).forEach(function(o){e(t,a+"["+o+"]",r[o])}),t):(t[a]=r,t)}(t,a,e[a])},{}))}var x=function(){function e(t){l()(this,e),this.defaults=t}return d()(e,[{key:"get",value:function(e){return y({},this.defaults,e)}},{key:"set",value:function(e,t){var a=this;if(e){if(_(e)){var r=e.split(".");r.reduce(function(e,a,o){return o===r.length-1&&(e[a]=t),e[a]},this.defaults)}b(e)&&m()(e).forEach(function(t){a.set(t,e[t])}),g(e)&&e.forEach(function(e){return a.set(e,t)})}}},{key:"remove",value:function(e){var t=this;if(e){if(_(e)){var a=e.split(".");a.reduce(function(e,t,r){return r===a.length-1&&delete e[t],e[t]},this.defaults)}g(e)&&e.forEach(function(e){return t.remove(e)})}}}]),e}(),S=function(){function e(t){l()(this,e),this.handler=t}return d()(e,[{key:"set",value:function(e){$(e)&&(this.handler=e)}},{key:"exec",value:function(){$(this.handler)&&this.handler.apply(null,arguments)}}]),e}(),C=new(function(){function e(t){l()(this,e),this.base=t||""}return d()(e,[{key:"set",value:function(e){_(e)&&(this.base=e)}},{key:"get",value:function(e){return this.base+(e||"")}}]),e}()),L=new x({credentials:"same-origin",timeout:5e3}),N=new x({"X-Requested-With":"XMLHttpRequest"}),D=new x({}),A=new S,T=new S(function(){return!0});function q(e,t){var a=M(D.get(t));return a&&(a=-1===e.indexOf("?")?"?"+a:"&"+a),e+a}function F(e){var t=e.status;if(t>=200&&t<300||304===t)return e;throw A.exec(t,e),new Error(e.statusText)}function P(e){return e.json().then(null,function(t){return A.exec(500,e),n.a.reject(t)})}function R(e){return T.handler(e)?e:n.a.reject(e)}function O(e){return n.a.reject(e)}t.a={ServerUrl:C,Options:L,Headers:N,Body:D,StatusHandler:A,ResultHandler:T,get:function(e,t){var a=L.get({headers:N.get()});return fetch(C.get(q(e,t)),a).then(F).then(P).catch(O)},getJSON:function(e,t){var a=L.get({headers:N.get()});return fetch(C.get(q(e,t)),a).then(F).then(P).then(R).catch(O)},post:function(e,t){var a=L.get({method:"POST",headers:N.get({"Content-Type":"application/x-www-form-urlencoded"}),body:k(D.get(t))});return fetch(C.get(e),a).then(F).then(P).then(R).catch(O)},postForm:function(e,t){var a=L.get({method:"POST",headers:N.get(),body:t}),r=D.get({});return m()(r).forEach(function(e){t.append(e,r[e])}),fetch(C.get(e),a).then(F).then(P).then(R).catch(O)},postJSON:function(e,t){var a=L.get({method:"POST",headers:N.get({Accept:"application/json","Content-Type":"application/json"}),body:o()(D.get(t))});return fetch(C.get(e),a).then(F).then(P).then(R).catch(O)},put:function(e,t){var a=L.get({method:"PUT",headers:N.get({"Content-Type":"application/x-www-form-urlencoded"}),body:k(D.get(t))});return fetch(C.get(e),a).then(F).then(P).then(R).catch(O)},remove:function(e,t){var a=L.get({method:"DELETE",headers:N.get()});return fetch(C.get(q(e,t)),a).then(F).then(P).then(R).catch(O)},download:function(e,t){window.open(C.get(q(e,t)))}}},"8bu2":function(e,t){},"90RL":function(e,t){},"9eSX":function(e,t){},AuvU:function(e,t){},BXyq:function(e,t,a){"use strict";(function(t){var r=a("S1cf"),o=a("M8l6"),s={"Content-Type":"application/x-www-form-urlencoded"};function n(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var i,l={adapter:("undefined"!=typeof XMLHttpRequest?i=a("KRuG"):void 0!==t&&(i=a("KRuG")),i),transformRequest:[function(e,t){return o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(n(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(n(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(e){l.headers[e]={}}),r.forEach(["post","put","patch"],function(e){l.headers[e]=r.merge(s)}),e.exports=l}).call(t,a("W2nU"))},Bh3W:function(e,t){},Bn3n:function(e,t){},CH5c:function(e,t){},CPgP:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAABxCAYAAAD70PVfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADfhJREFUeNrsnT92G8kRh3v1lG1g7gkEnUDgCTQMtKmoxIkDgolTkScAcQKSoZ0Qes8O7MRUvAGHJyB0AkE3gANtyu0SCyKk5S7RNd0z0z3f9948yl4MMNNdXb+q/vvD7e2tAwAACOUJRQAAAAgIAAAgIAAAgIAAAAACAgAAgIAAAAACAgAACAgAACAgAACAgAAAACAgAACAgAAAAAICAAAICAAAFM/Txz7w88mvfdnvfanXJtf6d+Wvhfz3X2Y/LodcoX/9299H/o9clf5fL/y1s/GR8Xf/OzX1f//9zz2a2qBt8mrDHrGXjHjsuI+nGb3L2jFu8jujfDX9/MUIVVCuvaBcFtwwd7QMXqowVJg8APQmA8mUSq8jLyiSnYiIzErJTrxwTPyf1/7ax4QBAAFJh0Tp4nAnXkxESI5zFBLNNo789da12wUFAPAgQxtEl4j9oxeSU39l44Q14/joryniAQAISLdIJH/jRWTc96xDByAvEA4AQED6w0hFZNJT8Rhr1lFhpgCAgPSTC+nS6qF4XJF1AAAC0n9kttYF4gEAgIBYmHTdnYV4AEBOpJjGO/fXu4TPvF5J/UL/PYr43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On5Hb/syWp13XB0JFdxldCA6dAUPFpaGZuii45cKrqHljk4tLA3N0EnvR4fc0e4t9JqhvqN7o+OMv46CR1yA9gZooIEGuoQRF6C9ARpooE8P+vvLf/HwfD+f2bK9fjI/zsvXdjW1JeTzrTbVY2JKx11VbR4DRQPoROhzDb1d2WJ9Zb6Xa4FugM4EPe02+v3yB/oD6KGgZ2qj96AroDNHBxk90kaT0cNv9MtBRnfQNdEx5HmnoeW8IzoGhdbR0UpGS3RcEx0ZH0MHPWGjcz6G3NEjFZZuo+sa6OzNkAqeLTo47/4kOsjoMaCNMxWcj3+ggf5HIy5AewM00EADXcKIC9DeAA000ECXMOICtDdAAw000CWMuADtDdBAAw10CSMuQHsDNNBAA13CiAvQ3hwt9BeZfObQe9dnUAAAAABJRU5ErkJggg=="},CeRa:function(e,t,a){"use strict";var r=a("7+uW"),o=(a("miEh"),a("wQkr"),a("MqDE")),s=a.n(o);r.default.component(s.a.name,s.a);var n=a("Wc9H"),i=a.n(n),l=a("IaZV"),c=a.n(l),d=new i.a({id:"zoom-in",use:"zoom-in-usage",viewBox:"0 0 1024 1024",content:''}),u=(c.a.add(d),{props:{title:String,timeColumn:String,dataColumns:Array,data:Array},data:function(){return{enlarge:!1}},computed:{chartOptions:function(){var e={},t=[this.timeColumn];return this.dataColumns.forEach(function(a){var r=a.name,o=a.label;e[r]=o,t.push(r)}),{title:{show:!0,text:this.title},grid:{bottom:40,top:50},legend:{top:5},colors:["#f56c77","#6accab"],settings:{labelMap:e,scale:[!0,!1],lineStyle:{width:1}},data:{columns:t,rows:this.data}}},largeChartOptions:function(){var e={},t=[this.timeColumn];return this.dataColumns.forEach(function(a){var r=a.name,o=a.label;e[r]=o,t.push(r)}),{title:{show:!0,text:this.title},grid:{bottom:40,top:50},legend:{top:5},colors:["#f56c77","#6accab"],settings:{labelMap:e,scale:[!0,!1],lineStyle:{width:1}},data:{columns:t,rows:this.data},dataZoom:[{type:"inside",minValueSpan:12,zoomOnMouseWheel:"alt"},{minValueSpan:12}]}}}}),m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"compare-chart"},[a("ve-line",e._b({},"ve-line",e.chartOptions,!1)),e._v(" "),a("a",{staticClass:"compare-chart-zoom-in",attrs:{href:"javascript:"},on:{click:function(t){e.enlarge=!0}}},[a("icon",{attrs:{name:"zoom-in"}})],1),e._v(" "),a("let-modal",{attrs:{width:"80%"},on:{close:function(t){e.enlarge=!1}},model:{value:e.enlarge,callback:function(t){e.enlarge=t},expression:"enlarge"}},[e.enlarge?a("ve-line",e._b({},"ve-line",e.largeChartOptions,!1)):e._e(),e._v(" "),a("div",{attrs:{slot:"foot"},slot:"foot"})],1)],1)},staticRenderFns:[]};var p=a("VU/8")(u,m,!1,function(e){a("KtFB")},null,null);t.a=p.exports},Cp0g:function(e,t,a){"use strict";a.d(t,"a",function(){return d}),a.d(t,"c",function(){return u}),t.b=function(){return new o.a(function(e,t){c.a.getJSON("/server/api/get_locale").then(function(t){var a=l.a.get("locale");if("[object Object]"==Object.prototype.toString.call(t)){for(var r in t)d.setLocaleMessage(r,t[r]),u.push({localeCode:r,localeName:t[r].localeName,localeMessages:t});a=t[a]?a:"cn",u=t}d.locale=a,e()}).catch(function(e){t(e)})})};var r=a("//Fk"),o=a.n(r),s=a("7+uW"),n=a("TXmL"),i=a("K/Lq"),l=a.n(i),c=a("86n0");s.default.use(n.a),s.default.use(l.a);var d=new n.a({}),u=[]},DQfC:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("7+uW"),o=(a("3NoR"),a("sVYP")),s=a("m6R6"),n=a.n(s),i=a("v/hR"),l=a.n(i),c=a("Cp0g"),d={data:function(){return{serverIcon:n.a,opaIcon:l.a,locale:this.$cookie.get("locale")||"cn",uid:"--",userOptOpen:!1,enableLogin:!1,localeMessages:c.c}},methods:{clickTab:function(e){this.$router.replace(e)},getLoginUid:function(){var e=this;this.$ajax.getJSON("/server/api/get_login_uid").then(function(t){t&&t.uid?e.uid=t.uid:e.uid="***"}).catch(function(t){e.$tip.error("获取用户登录信息: "+(t.err_msg||t.message))})},changeLocale:function(){this.$cookie.set("locale",this.locale,{expires:"1Y"}),location.reload()},checkEnableLogin:function(){var e=this;this.$ajax.getJSON("/server/api/is_enable_login").then(function(t){e.enableLogin=t.enableLogin||!1}).catch(function(e){})}},mounted:function(){this.getLoginUid(),this.checkEnableLogin()}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app_index__header"},[a("div",{staticClass:"main-width"},[a("h1",{staticClass:"hidden"},[e._v("TARS")]),e._v(" "),e._m(0),e._v(" "),a("let-tabs",{staticClass:"tabs",attrs:{center:!0,activekey:e.$route.matched[0]?e.$route.matched[0].path:"/server"},on:{click:e.clickTab}},[a("let-tab-pane",{attrs:{tab:e.$t("header.tab.tab1"),tabkey:"/server",icon:e.serverIcon}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("header.dcache.tab2"),tabkey:"/operation",icon:e.opaIcon}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("header.tab.tab3"),tabkey:"/releasePackage",icon:e.opaIcon}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("header.tab.tab4"),tabkey:"/config",icon:e.opaIcon}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("header.tab.tab5"),tabkey:"/operationManage",icon:e.opaIcon}})],1),e._v(" "),a("div",{staticClass:"language-wrap"},[a("let-select",{attrs:{clearable:!1},on:{change:e.changeLocale},model:{value:e.locale,callback:function(t){e.locale=t},expression:"locale"}},[e._l(e.localeMessages,function(t){return[a("let-option",{attrs:{value:t.localeCode}},[e._v(e._s(t.localeName))])]})],2)],1),e._v(" "),a("div",{staticClass:"user-wrap"},[a("p",{staticClass:"user-info",on:{click:function(t){e.userOptOpen=!e.userOptOpen}}},[a("span",{staticClass:"name toe"},[e._v(e._s(e.uid)+" ")]),e._v(" "),a("i",{directives:[{name:"show",rawName:"v-show",value:e.enableLogin,expression:"enableLogin"}],staticClass:"let-icon let-icon-caret-down",class:{up:e.userOptOpen}}),e._v(" "),a("transition",{attrs:{name:"fade"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.enableLogin&&e.userOptOpen,expression:"enableLogin && userOptOpen"}],staticClass:"user-pop-wrap"},[a("a",{attrs:{href:"/logout"}},[e._v(e._s(e.$t("header.logout")))])])])],1)])],1)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"logo-wrap"},[t("a",{attrs:{href:"/"}},[t("img",{staticClass:"logo",attrs:{src:a("dLd/")}})]),this._v(" "),t("a",{staticClass:"active",attrs:{href:"/dcache.html"}},[t("img",{staticClass:"logo",attrs:{alt:"dcache",src:a("CPgP")}})])])}]};var m={name:"App",components:{AppDcacheHeader:a("VU/8")(d,u,!1,function(e){a("R2dJ")},null,null).exports,AppFooter:a("m8r6").a}},p={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("app-dcache-header"),this._v(" "),t("keep-alive",[t("router-view",{staticClass:"main-width"})],1),this._v(" "),t("app-footer",{staticClass:"app_index__footer"})],1)},staticRenderFns:[]};var h=a("VU/8")(m,p,!1,function(e){a("hVKt")},null,null).exports,f=a("/ocq"),v=a("woOf"),_=a.n(v),g={name:"Server",data:function(){return{treeErrMsg:"加载失败",treeData:null,enableAuth:!1,serverData:{level:5,application:"",server_name:"",set_name:"",set_area:"",set_group:"",module_name:""}}},computed:{base:function(){return"/server/"+this.$route.params.treeid},serverType:function(){return this.$route.params.serverType}},watch:{"$route.params.treeid":function(e){console.log("$route.params.treeid$route.params.treeid"),this.serverData=this.getServerData()},$route:function(e,t){"/server"===e.path&&this.getTreeData()}},methods:{selectTree:function(e,t){if(console.log(t),t.children&&t.children.length)this.$set(t,"expand",!t.expand),t.moduleName&&this.$router.push("/server/1"+t.pid.substr(1)+".6"+t.moduleName+"/cache");else{var a=t.serverType;!a&&(a="tars"),this.$router.push("/server/"+e+"/manage/"+a)}},handleData:function(e,t){var a=this;e&&e.length&&e.forEach(function(e){e.label=e.name,e.nodeKey=e.id,t&&(e.iconClass="tree-icon",e.expand=!0),e.children&&e.children.length&&a.handleData(e.children)})},getTreeData:function(){var e=this;this.treeData=null,this.$nextTick(function(){var t=e.$loading.show({target:e.$refs.treeLoading});e.$ajax.getJSON("/server/api/dtree").then(function(a){t.hide(),e.treeData=a,e.handleData(e.treeData,!0)}).catch(function(a){t.hide(),console.error(a),e.treeErrMsg=a.err_msg||a.message||"加载失败",e.treeData=!1})})},getServerData:function(){if(!this.$route.params.treeid)return{};var e={level:5,application:"",server_name:"",set_name:"",set_area:"",set_group:""};return this.$route.params.treeid.split(".").forEach(function(t){console.log("item",t);var a=+t.substr(0,1),r=t.substr(1);switch(a){case 1:e.application=r;break;case 2:e.set_name=r;break;case 3:e.set_area=r;break;case 4:e.set_group=r;break;case 5:e.server_name=r;break;case 6:e.module_name=r}e.level=a}),e},clickTab:function(e){var t=this.isServerManage(e),a=this.isServerManage(this.$route.path),r=t&&a?{path:e,query:{time:Date.now()}}:{path:e,query:{}};this.$router.push(_()({},this.$route,r))},isServerManage:function(e){return e.indexOf("/server")>-1&&(e.indexOf("/manage")>-1||e.indexOf("/cache")>-1)},isTrueTreeLevel:function(){var e=this.$route.path.split("/"),t=e[e.length-1],a=!1;5===this.serverData.level||"publish"!==t&&"server-monitor"!==t&&"property-monitor"!==t&&"user-manage"!==t||(a=!0),5!==this.serverData.level&&4!==this.serverData.level&&1!==this.serverData.level&&"config"===t&&(a=!0),a&&this.$router.replace("manage")}},created:function(){this.serverData=this.getServerData(),this.isTrueTreeLevel()},mounted:function(){this.getTreeData(),window.dcacheIndex=this}},b={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"page_server"},[e.treeData&&e.treeData.length?r("let-tree",{staticClass:"left-tree",attrs:{data:e.treeData,activeKey:e.$route.params.treeid},on:{"on-select":e.selectTree}}):e._e(),e._v(" "),e.treeData&&!e.treeData.length?r("div",{staticClass:"left-tree"},[r("p",{staticClass:"loading"},[e._v(e._s(e.$t("common.noService")))])]):e._e(),e._v(" "),e.treeData?e._e():r("div",{ref:"treeLoading",staticClass:"left-tree"},[!1===e.treeData?r("div",{staticClass:"loading"},[r("p",[e._v(e._s(e.treeErrMsg))]),e._v(" "),r("a",{attrs:{href:"javascript:;"},on:{click:e.getTreeData}},[e._v(e._s(e.$t("common.reTry")))])]):e._e()]),e._v(" "),this.$route.params.treeid?r("div",{staticClass:"right-view"},[r("let-tabs",{attrs:{activekey:e.$route.path},on:{click:e.clickTab}},[6!==e.serverData.level?r("let-tab-pane",{attrs:{tabkey:e.base+"/manage/"+e.serverType,tab:e.$t("header.tab.tab1")}}):e._e(),e._v(" "),6===e.serverData.level?r("let-tab-pane",{attrs:{tabkey:e.base+"/cache",tab:e.$t("header.tab.tab1")}}):e._e(),e._v(" "),5===e.serverData.level&&"dcache"!==e.serverType?r("let-tab-pane",{attrs:{tabkey:e.base+"/publish/"+e.serverType,tab:e.$t("index.rightView.tab.patch")}}):e._e(),e._v(" "),5!==e.serverData.level&&4!==e.serverData.level&&1!==e.serverData.level||"dcache"===e.serverType?e._e():r("let-tab-pane",{attrs:{tabkey:e.base+"/config/"+e.serverType,tab:5===e.serverData.level?e.$t("index.rightView.tab.serviceConfig"):4===e.serverData.level?e.$t("index.rightView.tab.setConfig"):1===e.serverData.level?e.$t("index.rightView.tab.appConfig"):""}}),e._v(" "),5===e.serverData.level?r("let-tab-pane",{attrs:{tabkey:e.base+"/server-monitor/"+e.serverType,tab:e.$t("index.rightView.tab.statMonitor")}}):e._e(),e._v(" "),5===e.serverData.level&&"dcache"!==this.$route.params.serverType?r("let-tab-pane",{attrs:{tabkey:e.base+"/property-monitor/"+e.serverType,tab:e.$t("index.rightView.tab.propertyMonitor")}}):e._e(),e._v(" "),5===e.serverData.level&&e.enableAuth?r("let-tab-pane",{attrs:{tabkey:e.base+"/user-manage/"+e.serverType,tab:e.$t("index.rightView.tab.privileage")}}):e._e(),e._v(" "),6===e.serverData.level?r("let-tab-pane",{attrs:{tabkey:e.base+"/moduleCache",tab:e.$t("cache.config.configuration")}}):e._e(),e._v(" "),6===e.serverData.level?r("let-tab-pane",{attrs:{tabkey:e.base+"/propertyMonitor",tab:e.$t("index.rightView.tab.propertyMonitor")}}):e._e()],1),e._v(" "),r("router-view",{key:e.$route.params.treeid,ref:"childView",staticClass:"page_server_child"})],1):r("div",{staticClass:"right-view"},[r("div",{staticClass:"empty"},[r("img",{staticClass:"package",attrs:{src:a("CZtL")}}),e._v(" "),r("p",{staticClass:"title"},[e._v(e._s(e.$t("index.rightView.title")))]),e._v(" "),r("p",{staticClass:"notice",domProps:{innerHTML:e._s(e.$t("index.rightView.tips"))}})])])],1)},staticRenderFns:[]};var $=a("VU/8")(g,b,!1,function(e){a("wU5I")},null,null).exports,y=(a("KsY+"),a("+6Bu")),w=a.n(y),M=a("//Fk"),k=a.n(M),x=a("Dd8w"),S=a.n(x),C=a("Xxa5"),L=a.n(C),N=a("exGp"),D=a.n(N),A=a("mvHQ"),T=a.n(A),q=a("dZBD"),F=a.n(q),P=a("mw3O"),R=a.n(P),O=F.a.create({baseURL:"/pages/server/api",timeout:25e3,transformRequest:[function(e,t){return"multipart/form-data"===t["Content-Type"]?e:"application/json"===t["Content-Type"]?T()(e):R.a.stringify(e)}]});O.interceptors.request.use(function(e){return e},function(e){throw new Error(e)}),O.interceptors.response.use(function(e){var t=e.data;if(200===t.ret_code)return t.data;throw new Error(t.err_msg)},function(e){throw new Error(e)});var I=O;function j(e){var t=e.servers,a=e.appName,r=e.moduleName,o=e.status,s=void 0===o?"1":o,n=e.cache_version,i=e.srcGroupName,l=void 0===i?[]:i,c=e.dstGroupName;return I({method:"post",url:"/cache/expandModule",data:{appName:a,moduleName:r,servers:t,status:s,cache_version:n,srcGroupName:l,dstGroupName:void 0===c?[]:c}})}function E(e){var t=e.servers,a=e.appName,r=e.moduleName,o=e.cache_version,s=e.srcGroupName,n=e.dstGroupName,i=e.transferData;return I({method:"post",url:"/cache/transferDCache",data:{servers:t,appName:a,moduleName:r,cache_version:o,srcGroupName:s,dstGroupName:n,transferData:i}})}function z(e){var t=e.appName,a=e.moduleName,r=e.srcGroupName,o=e.dstGroupName,s=e.transferData;return I({method:"post",url:"/cache/transferDCacheGroup",data:{appName:t,moduleName:a,srcGroupName:r,dstGroupName:o,transferData:s}})}function V(e){var t=e.appName,a=e.moduleName,r=e.type,o=e.srcGroupName;return I({method:"get",url:"/cache/hasOperation",params:{appName:t,moduleName:a,type:r,srcGroupName:o}})}function G(e){var t=e.appName,a=void 0===t?"":t,r=e.moduleName,o=void 0===r?"":r,s=e.type,n=void 0===s?"1":s,i=e.srcGroupName,l=void 0===i?[]:i,c=e.dstGroupName;return I({method:"post",url:"/cache/stopTransfer",data:{appName:a,moduleName:o,type:n,srcGroupName:l,dstGroupName:void 0===c?[]:c}})}function W(e){var t=e.appName,a=void 0===t?"":t,r=e.moduleName,o=void 0===r?"":r,s=e.type,n=void 0===s?"1":s,i=e.srcGroupName,l=void 0===i?[]:i,c=e.dstGroupName;return I({method:"post",url:"/cache/restartTransfer",data:{appName:a,moduleName:o,type:n,srcGroupName:l,dstGroupName:void 0===c?[]:c}})}function J(e){var t=e.appName,a=void 0===t?"":t,r=e.moduleName,o=void 0===r?"":r,s=e.type,n=void 0===s?"1":s,i=e.srcGroupName,l=void 0===i?[]:i,c=e.dstGroupName;return I({method:"post",url:"/cache/deleteTransfer",data:{appName:a,moduleName:o,type:n,srcGroupName:l,dstGroupName:void 0===c?[]:c}})}function B(e){var t=e.appName,a=void 0===t?"":t,r=e.moduleName,o=void 0===r?"":r,s=e.groupName;return I({method:"post",url:"/cache/switchServer",data:{appName:a,moduleName:o,groupName:void 0===s?"":s}})}function U(e){var t=e.appName,a=e.moduleName,r=e.groupName,o=e.mirrorIdc,s=e.dbFlag,n=e.enableErase;return I({method:"post",url:"/cache/recoverMirrorStatus",data:{appName:t,moduleName:a,groupName:r,mirrorIdc:o,dbFlag:s,enableErase:n}})}function H(e){var t=e.unType,a=e.appName,r=e.moduleName,o=e.serverNames;return I({method:"post",url:"/cache/uninstall4DCache",data:{unType:t,appName:a,moduleName:r,serverNames:o}})}function K(e){var t=e.appName,a=e.moduleName;return I({method:"get",url:"/cache/getCacheServerList",params:{appName:t,moduleName:a}})}function Z(e){var t=e.appName,a=e.moduleName;return I({method:"get",url:"/cache/getModuleConfig",params:{appName:t,moduleName:a}})}function Y(e){var t=e.applyId;return I({method:"get",url:"/cache/install_and_publish",params:{applyId:t}})}function X(e){var t=e.thedate,a=e.predate,r=e.startshowtime,o=e.endshowtime,s=e.moduleName,n=e.serverName;return I({method:"get",url:"/cache/queryProperptyData",params:{thedate:t,predate:a,startshowtime:r,endshowtime:o,moduleName:s,serverName:n}})}function Q(e){var t=e.application,a=void 0===t?"DCache":t,r=e.moduleName,o=void 0===r?"DCacheServerGroup":r,s=e.currPage,n=void 0===s?1:s,i=e.pageSize,l=void 0===i?5:i,c=e.cacheVersion;return I({method:"get",url:"/server_patch_list",params:{application:a,module_name:o,curr_page:n,page_size:l,package_type:c}})}function ee(e){var t=e.serial,a=void 0!==t&&t,r=e.items;return I({method:"post",url:"/add_task",data:{serial:a,items:void 0===r?[{server_id:"",command:"patch_tars",parameters:{patch_id:0,bak_flag:"",group_name:""}}]:r},headers:{"Content-Type":"application/json"}})}function te(e){var t=e.moduleId;return I({method:"get",url:"/get_module_config_info",params:{moduleId:t}})}function ae(e){var t=e.node_name;return I({method:"get",url:"/auto_port",params:{node_name:t}})}function re(e){var t=e.application,a=void 0===t?"":t,r=e.server_name,o=void 0===r?"":r,s=e.set,n=void 0===s?"":s,i=e.node_name,l=void 0===i?"":i,c=e.copy_node_config,d=void 0!==c&&c,u=e.expand_preview_servers;return I({method:"post",url:"/expand_server",data:{application:a,server_name:o,set:n,node_name:l,copy_node_config:d,expand_preview_servers:void 0===u?[{bind_ip:"",node_name:"",obj_name:"",port:"",set:""}]:u},headers:{"Content-Type":"application/json"}})}var oe={name:"ServerManage",data:function(){return{serverType:this.$route.params.serverType||"tars",serverData:{level:5,application:"",server_name:"",set_name:"",set_area:"",set_group:""},serverList:[],serverNotifyList:[],pageNum:1,pageSize:20,total:1,serverTypes:["tars_cpp","tars_java","tars_php","tars_nodejs","not_tars","tars_go"],configModal:{show:!1,model:null},servantModal:{show:!1,model:null,currentServer:null},servantDetailModal:{show:!1,isNew:!0,model:null},logLevels:["NONE","DEBUG","INFO","WARN","ERROR"],moreCmdModal:{show:!1,model:null,currentServer:null},expandModal:{show:!1,model:{application:"DCache",server_name:"",set:"",node_name:"",expand_nodes:[],enable_set:!1,set_name:"",set_area:"",set_group:"",copy_node_config:!1},expandIpStr:""},failCount:0}},computed:{showOthers:function(){return 5===this.serverData.level},isEndpointValid:function(){return!(!this.servantDetailModal.model||!this.servantDetailModal.model.endpoint)&&this.checkServantEndpoint(this.servantDetailModal.model.endpoint)}},watch:{$route:function(e,t){this.getServerList(),this.getServerNotifyList(1)}},methods:{getServerList:function(){var e,t=this,a=this.$refs.serverListLoading.$loading.show();this.$ajax.getJSON("/server/api/server_list",{tree_node_id:this.$route.params.treeid}).then((e=D()(L.a.mark(function e(r){return L.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a.hide(),t.serverList=r,"dcache"!==t.serverType){e.next=17;break}if(!(t.serverList.length>0)){e.next=6;break}return e.abrupt("return",!1);case 6:return e.prev=6,e.next=9,t.$ajax.postJSON("/server/api/cache/removeServer",{server_name:t.$route.params.treeid.split(".")[1].substr(1)});case 9:t.$parent.getTreeData(),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(6),console.error(e.t0);case 15:e.next=45;break;case 17:if("proxy"!==t.serverType){e.next=32;break}if(!(t.serverList.length>0)){e.next=21;break}return e.abrupt("return",!1);case 21:return e.prev=21,e.next=24,t.$ajax.postJSON("/server/api/cache/removeProxy",{server_name:t.$route.params.treeid.split(".")[1].substr(1)});case 24:t.$parent.getTreeData(),e.next=30;break;case 27:e.prev=27,e.t1=e.catch(21),console.error(e.t1);case 30:e.next=45;break;case 32:if("router"!==t.serverType){e.next=45;break}if(!(t.serverList.length>0)){e.next=36;break}return e.abrupt("return",!1);case 36:return e.prev=36,e.next=39,t.$ajax.postJSON("/server/api/cache/removeRouter",{server_name:t.$route.params.treeid.split(".")[1].substr(1)});case 39:t.$parent.getTreeData(),e.next=45;break;case 42:e.prev=42,e.t2=e.catch(36),console.error(e.t2);case 45:case"end":return e.stop()}},e,t,[[6,12],[21,27],[36,42]])})),function(t){return e.apply(this,arguments)})).catch(function(e){a.hide(),t.$confirm(e.err_msg||e.message||t.$t("serverList.msg.fail"),t.$t("common.alert")).then(function(){t.getServerList()})})},getServerNotifyList:function(e){var t=this;if(this.showOthers){var a=this.$refs.serverNotifyListLoading.$loading.show();this.$ajax.getJSON("/server/api/server_notify_list",{tree_node_id:this.$route.params.treeid,page_size:this.pageSize,curr_page:e}).then(function(r){a.hide(),t.pageNum=e,t.total=Math.ceil(r.count/t.pageSize),t.serverNotifyList=r.rows}).catch(function(e){a.hide(),t.$tip.error(t.$t("serverList.restart.failed")+": "+(e.err_msg||e.message))})}},gotoPage:function(e){this.getServerNotifyList(e)},getTemplateList:function(){var e=this;this.$ajax.getJSON("/server/api/template_name_list").then(function(t){e.configModal.model?e.configModal.model.templates=t:e.configModal.model={templates:t}}).catch(function(t){e.$tip.error(e.$t("serverList.restart.failed")+": "+(t.err_msg||t.message))})},getServerConfig:function(e){var t=this,a=this.$loading.show({target:this.$refs.configFormLoading});this.$ajax.getJSON("/server/api/server",{id:e}).then(function(e){a.hide(),t.configModal.model?t.configModal.model=_()({},t.configModal.model,e):(e.templates=[],t.configModal.model=e)}).catch(function(e){a.hide(),t.closeConfigModal(),t.$tip.error(t.$t("serverList.restart.failed")+": "+(e.err_msg||e.message))})},configServer:function(e){this.configModal.show=!0,this.getTemplateList(),this.getServerConfig(e)},saveConfig:function(){var e=this;if(this.$refs.configForm.validate()){var t=this.$Loading.show();this.$ajax.postJSON("/server/api/update_server",S()({isBak:this.configModal.model.bak_flag},this.configModal.model)).then(function(a){t.hide(),e.serverList=e.serverList.map(function(e){return e.id===a.id?a:e}),e.closeConfigModal(),e.$tip.success(e.$t("serverList.restart.success"))}).catch(function(a){t.hide(),e.$tip.error(e.$t("serverList.restart.failed")+": "+(a.message||a.err_msg))})}},closeConfigModal:function(){this.$refs.configForm&&this.$refs.configForm.resetValid(),this.configModal.show=!1,this.configModal.model=null},checkTaskStatus:function(e,t){var a=this;return new k.a(function(r,o){a.$ajax.getJSON("/server/api/task",{task_no:e}).then(function(t){1===t.status||0===t.status?setTimeout(function(){r(a.checkTaskStatus(e))},3e3):2===t.status?r("taskid: "+t.task_no):o(new Error("taskid: "+t.task_no))}).catch(function(s){t?o(new Error(s.err_msg||s.message||a.$t("common.networkErr"))):setTimeout(function(){r(a.checkTaskStatus(e,!0))},3e3)})})},addTask:function(e,t,a){var r=this,o=this.$Loading.show();return this.$ajax.postJSON("/server/api/add_task",{serial:!0,items:[{server_id:e,command:t}]}).then(function(e){return r.checkTaskStatus(e).then(function(e){o.hide(),r.getServerList(),r.$tip.success({title:a.success,message:e})}).catch(function(e){throw e})}).catch(function(e){o.hide(),r.getServerList(),r.$tip.error({title:a.error,message:e.err_msg||e.message||r.$t("common.networkErr")})})},restartServer:function(e){this.addTask(e,"restart",{success:this.$t("serverList.restart.success"),error:this.$t("serverList.restart.failed")})},stopServer:function(e){var t=this;this.$confirm(this.$t("serverList.stopService.msg.stopService"),this.$t("common.alert")).then(function(){t.addTask(e,"stop",{success:t.$t("serverList.restart.success"),error:t.$t("serverList.restart.failed")})})},undeployServer:function(e){var t=this,a=e.id,r=e.server_name;w()(e,["id","server_name"]);return D()(L.a.mark(function e(){return L.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t.$confirm(t.$t("serverList.dlg.msg.undeploy"),t.$t("common.alert")).then(D()(L.a.mark(function e(){var o,s;return L.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.serverList,s=t.serverType,!(["proxy","router"].indexOf(s)>-1&&1===o.length)){e.next=15;break}return e.next=4,t.$ajax.getJSON("/server/api/cache/hasModule",{serverType:s,serverName:r});case 4:if(!e.sent){e.next=7;break}return e.abrupt("return",t.$tip.warning(t.$t("pub.dlg.hasModule")));case 7:return e.prev=7,e.next=10,t.$confirm(t.$t("pub.dlg.cantUseApply"));case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(7),e.abrupt("return",!1);case 15:return e.prev=15,e.next=18,t.addTask(a,"undeploy_tars",{success:t.$t("serverList.restart.success"),error:t.$t("serverList.restart.failed")});case 18:e.next=22;break;case 20:e.prev=20,e.t1=e.catch(15);case 22:return e.prev=22,t.closeMoreCmdModal(),e.finish(22);case 25:case"end":return e.stop()}},e,t,[[7,12],[15,20,22,25]])})));case 1:case"end":return e.stop()}},e,t)}))()},manageServant:function(e){var t=this;this.servantModal.show=!0;var a=this.$loading.show({target:this.$refs.servantModalLoading});this.$ajax.getJSON("/server/api/adapter_conf_list",{id:e.id}).then(function(r){a.hide(),t.servantModal.model=r,t.servantModal.currentServer=e}).catch(function(e){a.hide(),t.$tip.error(t.$t("serverList.restart.failed")+": "+(e.err_msg||e.message))})},closeServantModal:function(){this.servantModal.show=!1,this.servantModal.model=null,this.servantModal.currentServer=null},configServant:function(e){if(this.servantDetailModal.model={application:this.servantModal.currentServer.application,server_name:this.servantModal.currentServer.server_name,obj_name:"",node_name:"",endpoint:"",servant:"",thread_num:"",max_connections:"200000",queuecap:"10000",queuetimeout:"60000",allow_ip:"",protocol:"not_tars",handlegroup:""},this.servantDetailModal.isNew=!0,e){var t=this.servantModal.model.find(function(t){return t.id===e});t.obj_name=t.servant.split(".")[2],this.servantDetailModal.model=_()({},this.servantDetailModal.model,t),this.servantDetailModal.isNew=!1}this.servantDetailModal.show=!0},closeServantDetailModal:function(){this.$refs.servantDetailForm&&this.$refs.servantDetailForm.resetValid(),this.servantDetailModal.show=!1,this.servantDetailModal.model=null},checkServantEndpoint:function(e){var t=e.split(/\s-/),a=/^h\s(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/i,r=/^t\s([1-9]|[1-9]\d+)$/i,o=/^p\s\d{4,5}$/i,s=!0;if(/^tcp|udp$/i.test(t[0])){for(var n=0,i=1;i65535||n++,o=null}s=3===n}else s=!1;return s},saveServantDetail:function(){var e=this;if(this.$refs.servantDetailForm.validate()){var t=this.$Loading.show();if(this.servantDetailModal.isNew){var a=this.servantDetailModal.model;a.servant=[a.application,a.server_name,a.obj_name].join("."),this.$ajax.postJSON("/server/api/add_adapter_conf",a).then(function(a){t.hide(),e.servantModal.model.unshift(a),e.$tip.success(e.$t("common.success")),e.closeServantDetailModal()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.err_msg||a.message))})}else this.servantDetailModal.model.servant=this.servantDetailModal.model.application+"."+this.servantDetailModal.model.server_name+"."+this.servantDetailModal.model.obj_name,this.$ajax.postJSON("/server/api/update_adapter_conf",this.servantDetailModal.model).then(function(a){t.hide(),e.servantModal.model=e.servantModal.model.map(function(e){return e.id===a.id?a:e}),e.$tip.success(e.$t("common.success")),e.closeServantDetailModal()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.err_msg||a.message))})}},deleteServant:function(e){var t=this;this.$confirm(this.$t("serverList.servant.a"),this.$t("common.alert")).then(function(){var a=t.$Loading.show();t.$ajax.getJSON("/server/api/delete_adapter_conf",{id:e}).then(function(r){a.hide(),t.servantModal.model=t.servantModal.model.map(function(t){if(t.id!==e)return t}).filter(function(e){return e}),t.$tip.success(t.$t("common.success"))}).catch(function(e){a.hide(),t.$tip.error(t.$t("common.error")+": "+(e.err_msg||e.message))})})},showMoreCmd:function(e){var t=this;this.moreCmdModal.model={selected:"setloglevel",setloglevel:"NONE",loadconfig:"",command:"",configs:null},this.moreCmdModal.unwatch=this.$watch("moreCmdModal.model.selected",function(){t.$refs.moreCmdForm&&t.$refs.moreCmdForm.resetValid()}),this.moreCmdModal.show=!0,this.moreCmdModal.currentServer=e,this.$ajax.getJSON("/server/api/config_file_list",{level:5,application:e.application,server_name:e.server_name}).then(function(e){t.moreCmdModal.model&&(t.moreCmdModal.model.configs=e)}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.err_msg||e.message))})},sendCommand:function(e,t,a){var r=this,o=this.$Loading.show();this.$ajax.getJSON("/server/api/send_command",{server_ids:e,command:t}).then(function(e){o.hide();var t=e[0].err_msg.replace(/\n/g,"
");if(0!==e[0].ret_code)throw new Error(t);var s={title:r.$t("common.success"),message:t};a&&(s.duration=0),r.$tip.success(s)}).catch(function(e){o.hide(),r.$tip.error({title:r.$t("common.error"),message:e.err_msg||e.message})})},invokeMoreCmd:function(){var e=this.moreCmdModal.model,t=this.moreCmdModal.currentServer;"undeploy_tars"===e.selected?this.undeployServer(t):"setloglevel"===e.selected?this.sendCommand(t.id,"tars.setloglevel "+e.setloglevel):"loadconfig"===e.selected&&this.$refs.moreCmdForm.validate()?this.sendCommand(t.id,"tars.loadconfig "+e.loadconfig):"command"===e.selected&&this.$refs.moreCmdForm.validate()?this.sendCommand(t.id,e.command):"connection"===e.selected&&this.sendCommand(t.id,"tars.connection",!0)},closeMoreCmdModal:function(){this.$refs.moreCmdForm&&this.$refs.moreCmdForm.resetValid(),this.moreCmdModal.unwatch&&this.moreCmdModal.unwatch(),this.moreCmdModal.show=!1,this.moreCmdModal.model=null},handleNoPublishedTime:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$t("pub.dlg.unpublished");return"0000:00:00 00:00:00"===e?t:e},openExpandModal:function(e){var t=e.server_name,a=e.node_name;this.expandModal.show=!0,this.expandModal.model.server_name=t,this.expandModal.model.node_name=a},expandService:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n,i,l,c,d,u,m,p;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.$refs.expandForm.validate()){t.next=45;break}return(a=_()({},e.expandModal.model)).expand_nodes=e.expandModal.expandIpStr.trim().split(/[,;\n]/),r=e.$Loading.show(),t.prev=4,t.next=7,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,f=(h=a).application,v=void 0===f?"":f,g=h.server_name,b=void 0===g?"":g,$=h.set,y=void 0===$?"":$,w=h.node_name,M=void 0===w?"":w,k=h.expand_nodes,x=void 0===k?[""]:k,S=h.enable_set,C=void 0!==S&&S,L=h.set_name,N=void 0===L?"":L,D=h.set_area,A=void 0===D?"":D,T=h.set_group,q=void 0===T?"":T,F=h.copy_node_config,I({method:"post",url:"/expand_server_preview",data:{application:v,server_name:b,set:y,node_name:M,expand_nodes:x,enable_set:C,set_name:N,set_area:A,set_group:q,copy_node_config:void 0!==F&&F},headers:{"Content-Type":"application/json"}});case 7:if(o=t.sent){t.next=10;break}throw new Error(e.$t("serviceExpand.form.errTips.noneNodes"));case 10:return s=o.filter(function(t){return t.status===e.$t("serviceExpand.form.noExpand")}),n=[],i=[],s.forEach(function(e){i.push(e.bind_ip)}),t.next=16,ae({node_name:i.join(";")});case 16:return t.sent.forEach(function(t,a){e.$set(s[a],"port",String(t.port||""))}),s.forEach(function(e){n.push({bind_ip:e.bind_ip,node_name:e.node_name,obj_name:e.obj_name,port:e.port,set:e.set})}),l={application:a.application,server_name:a.server_name,set:a.set,node_name:a.node_name,copy_node_config:a.copy_node_config,expand_preview_servers:n},t.next=22,re(l);case 22:return c=t.sent,d=c.server_conf,u={serial:!1,items:[]},m=e.serverType,p="","router"===m?p="RouterServer":"proxy"===m?p="ProxyServer":"dcache"===m&&(p="DCacheServerGroup"),d.forEach(function(e){u.items.push({server_id:e.id.toString(),command:"patch_tars",parameters:{patch_id:e.patch_version,bak_flag:e.bak_flag,update_text:"",group_name:p}})}),t.next=31,ee(u);case 31:t.sent,e.$tip.success(e.$t("serviceExpand.form.errTips.success")),e.closeExpandModal(),e.getServerList(),e.getServerNotifyList(1),t.next=42;break;case 38:t.prev=38,t.t0=t.catch(4),console.error(t.t0),e.$tip.error(t.t0);case 42:return t.prev=42,r.hide(),t.finish(42);case 45:case"end":return t.stop()}var h,f,v,g,b,$,y,w,M,k,x,S,C,L,N,D,A,T,q,F},t,e,[[4,38,42,45]])}))()},closeExpandModal:function(){this.$refs.expandForm&&this.$refs.expandForm.resetValid(),this.expandModal.show=!1,this.expandModal.model={application:"DCache",server_name:"",set:"",node_name:"",expand_nodes:[],enable_set:!1,set_name:"",set_area:"",set_group:"",copy_node_config:!1},this.expandModal.expandIpStr=""}},created:function(){this.serverData=this.$parent.getServerData(),window.manage=this},mounted:function(){this.getServerList(),this.getServerNotifyList(1)}},se={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_server_manage"},[e.serverList?a("let-table",{ref:"serverListLoading",attrs:{data:e.serverList,title:e.$t("serverList.title.serverList"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("serverList.table.th.service"),prop:"server_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.ip"),prop:"node_name",width:"140px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.enableSet")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.enable_set?a("p",{staticStyle:{"max-width":"200px"}},[e._v("\n "+e._s(e.$t("common.set.setName"))+":"+e._s(t.row.set_name)),a("br"),e._v("\n "+e._s(e.$t("common.set.setArea"))+":"+e._s(t.row.set_area)),a("br"),e._v("\n "+e._s(e.$t("common.set.setGroup"))+":"+e._s(t.row.set_group)+"\n ")]):a("span",[e._v(e._s(e.$t("common.disable")))])]}}],null,!1,1670625483)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.configStatus"),width:"90px"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"===e.row.setting_state?"status-active":"status-off"})]}}],null,!1,3224184510)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.currStatus"),width:"65px"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"===e.row.present_state?"status-active":"activating"===e.row.present_state?"status-activating":"status-off"})]}}],null,!1,4116932289)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.processID"),prop:"process_id",width:"80px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.version"),prop:"patch_version",width:"68px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.time")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{"word-break":"break-word"}},[e._v(e._s(e.handleNoPublishedTime(t.row.patch_time)))])]}}],null,!1,3144837894)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"260px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.configServer(t.row.id)}}},[e._v(e._s(e.$t("operate.update")))]),e._v(" "),"proxy"===e.serverType||"router"===e.serverType?a("let-table-operation",{on:{click:function(a){return e.openExpandModal(t.row)}}},[e._v(e._s(e.$t("dcache.expand")))]):e._e(),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.restartServer(t.row.id)}}},[e._v(e._s(e.$t("operate.restart")))]),e._v(" "),a("let-table-operation",{staticClass:"danger",on:{click:function(a){return e.stopServer(t.row.id)}}},[e._v(e._s(e.$t("operate.stop")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.manageServant(t.row)}}},[e._v(e._s(e.$t("operate.servant")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.showMoreCmd(t.row)}}},[e._v(e._s(e.$t("operate.more")))])]}}],null,!1,2347587305)})],1):e._e(),e._v(" "),e.serverNotifyList&&e.showOthers?a("let-table",{ref:"serverNotifyListLoading",attrs:{data:e.serverNotifyList,title:e.$t("serverList.title.serverStatus"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("common.time"),prop:"notifytime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.serviceID"),prop:"server_id"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.threadID"),prop:"thread_id"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.result"),prop:"result"}})],1):e._e(),e._v(" "),a("let-pagination",{staticStyle:{"margin-bottom":"32px"},attrs:{page:e.pageNum,total:e.total},on:{change:e.gotoPage}}),e._v(" "),a("let-modal",{attrs:{title:e.$t("serviceExpand.title"),width:"800px",footShow:!(!e.expandModal.model||!e.expandModal.model.server_name)},on:{"on-confirm":e.expandService,close:e.closeExpandModal,"on-cancel":e.closeExpandModal},model:{value:e.expandModal.show,callback:function(t){e.$set(e.expandModal,"show",t)},expression:"expandModal.show"}},[e.expandModal.model&&e.expandModal.model.server_name?a("let-form",{ref:"expandForm",staticClass:"two-columns",attrs:{itemWidth:"360px",columns:2}},[a("let-form-item",{attrs:{label:e.$t("common.service")}},[e._v(e._s(e.expandModal.model.server_name))]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.ip")}},[e._v(e._s(e.expandModal.model.node_name))]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serviceExpand.form.tarIP"),itemWidth:"100%",required:""}},[a("let-input",{attrs:{type:"textarea",rows:3,placeholder:e.$t("serviceExpand.form.placeholder"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.expandModal.expandIpStr,callback:function(t){e.$set(e.expandModal,"expandIpStr",t)},expression:"expandModal.expandIpStr"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serviceExpand.form.nodeConfig"),itemWidth:"100%"}},[a("let-checkbox",{model:{value:e.expandModal.model.copy_node_config,callback:function(t){e.$set(e.expandModal.model,"copy_node_config",t)},expression:"expandModal.model.copy_node_config"}},[e._v("\n "+e._s(e.$t("serviceExpand.form.copyNodeConfig"))+"\n ")])],1)],1):e._e()],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("serverList.dlg.title.editService"),width:"800px",footShow:!(!e.configModal.model||!e.configModal.model.server_name)},on:{"on-confirm":e.saveConfig,close:e.closeConfigModal,"on-cancel":e.closeConfigModal},model:{value:e.configModal.show,callback:function(t){e.$set(e.configModal,"show",t)},expression:"configModal.show"}},[e.configModal.model&&e.configModal.model.server_name?a("let-form",{ref:"configForm",staticClass:"two-columns",attrs:{itemWidth:"360px",columns:2}},[a("let-form-item",{attrs:{label:e.$t("common.service")}},[e._v(e._s(e.configModal.model.server_name))]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.ip")}},[e._v(e._s(e.configModal.model.node_name))]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.isBackup"),required:""}},[a("let-radio-group",{attrs:{size:"small",data:[{value:!0,text:e.$t("common.yes")},{value:!1,text:e.$t("common.no")}]},model:{value:e.configModal.model.bak_flag,callback:function(t){e.$set(e.configModal.model,"bak_flag",t)},expression:"configModal.model.bak_flag"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.template"),required:""}},[e.configModal.model.templates&&e.configModal.model.templates.length?a("let-select",{attrs:{size:"small",required:""},model:{value:e.configModal.model.template_name,callback:function(t){e.$set(e.configModal.model,"template_name",t)},expression:"configModal.model.template_name"}},e._l(e.configModal.model.templates,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1):a("span",[e._v(e._s(e.configModal.model.template_name))])],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.serviceType"),required:""}},[a("let-select",{attrs:{size:"small",required:""},model:{value:e.configModal.model.server_type,callback:function(t){e.$set(e.configModal.model,"server_type",t)},expression:"configModal.model.server_type"}},e._l(e.serverTypes,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.table.th.enableSet"),required:""}},[a("let-radio-group",{attrs:{size:"small",data:[{value:!0,text:e.$t("common.enable")},{value:!1,text:e.$t("common.disable")}]},model:{value:e.configModal.model.enable_set,callback:function(t){e.$set(e.configModal.model,"enable_set",t)},expression:"configModal.model.enable_set"}})],1),e._v(" "),e.configModal.model.enable_set?a("let-form-item",{attrs:{label:e.$t("common.set.setName"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.errMsg.setName"),required:"",pattern:"^[a-z]+$","pattern-tip":e.$t("serverList.dlg.errMsg.setName")},model:{value:e.configModal.model.set_name,callback:function(t){e.$set(e.configModal.model,"set_name",t)},expression:"configModal.model.set_name"}})],1):e._e(),e._v(" "),e.configModal.model.enable_set?a("let-form-item",{attrs:{label:e.$t("common.set.setArea"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.errMsg.setArea"),required:"",pattern:"^[a-z]+$","pattern-tip":e.$t("serverList.dlg.errMsg.setArea")},model:{value:e.configModal.model.set_area,callback:function(t){e.$set(e.configModal.model,"set_area",t)},expression:"configModal.model.set_area"}})],1):e._e(),e._v(" "),e.configModal.model.enable_set?a("let-form-item",{attrs:{label:e.$t("common.set.setGroup"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.errMsg.setGroup"),required:"",pattern:"^[0-9\\*]+$","pattern-tip":e.$t("serverList.dlg.errMsg.setGroup")},model:{value:e.configModal.model.set_group,callback:function(t){e.$set(e.configModal.model,"set_group",t)},expression:"configModal.model.set_group"}})],1):e._e(),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.asyncThread"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.placeholder.thread"),required:"",pattern:"tars_nodejs"===e.configModal.model.server_type?"^[1-9][0-9]*$":"^([3-9]|[1-9][0-9]+)$","pattern-tip":"$t('serverList.dlg.placeholder.thread')"},model:{value:e.configModal.model.async_thread_num,callback:function(t){e.$set(e.configModal.model,"async_thread_num",t)},expression:"configModal.model.async_thread_num"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.defaultPath")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.base_path,callback:function(t){e.$set(e.configModal.model,"base_path",t)},expression:"configModal.model.base_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.exePath")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.exe_path,callback:function(t){e.$set(e.configModal.model,"exe_path",t)},expression:"configModal.model.exe_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.startScript")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.start_script_path,callback:function(t){e.$set(e.configModal.model,"start_script_path",t)},expression:"configModal.model.start_script_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.stopScript")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.stop_script_path,callback:function(t){e.$set(e.configModal.model,"stop_script_path",t)},expression:"configModal.model.stop_script_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.monitorScript"),itemWidth:"724px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.monitor_script_path,callback:function(t){e.$set(e.configModal.model,"monitor_script_path",t)},expression:"configModal.model.monitor_script_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.privateTemplate"),labelWidth:"150px",itemWidth:"724px"}},[a("let-input",{attrs:{size:"large",type:"textarea",rows:4},model:{value:e.configModal.model.profile,callback:function(t){e.$set(e.configModal.model,"profile",t)},expression:"configModal.model.profile"}})],1)],1):a("div",{ref:"configFormLoading",staticClass:"loading-placeholder"})],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("serverList.table.servant.title"),width:"1200px",footShow:!1},on:{close:e.closeServantModal},model:{value:e.servantModal.show,callback:function(t){e.$set(e.servantModal,"show",t)},expression:"servantModal.show"}},[a("let-button",{staticClass:"tbm16",attrs:{size:"small",theme:"primary"},on:{click:function(t){return e.configServant()}}},[e._v(e._s(e.$t("operate.add"))+" Servant")]),e._v(" "),e.servantModal.model?a("let-table",{attrs:{data:e.servantModal.model,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("operate.servant"),prop:"servant"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.adress"),prop:"endpoint"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.thread"),prop:"thread_num"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.maxConnecttions"),prop:"max_connections"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.maxQueue"),prop:"queuecap"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.timeout"),prop:"queuetimeout"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"90px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.configServant(t.row.id)}}},[e._v(e._s(e.$t("operate.update")))]),e._v(" "),a("let-table-operation",{staticClass:"danger",on:{click:function(a){return e.deleteServant(t.row.id)}}},[e._v(e._s(e.$t("operate.delete")))])]}}],null,!1,489266128)})],1):a("div",{ref:"servantModalLoading",staticClass:"loading-placeholder"})],1),e._v(" "),a("let-modal",{attrs:{title:e.servantDetailModal.isNew?e.$t("operate.title.add")+" Servant":e.$t("operate.title.update")+" Servant",width:"800px",footShow:!!e.servantDetailModal.model},on:{"on-confirm":e.saveServantDetail,close:e.closeServantDetailModal,"on-cancel":e.closeServantDetailModal},model:{value:e.servantDetailModal.show,callback:function(t){e.$set(e.servantDetailModal,"show",t)},expression:"servantDetailModal.show"}},[e.servantDetailModal.model?a("let-form",{ref:"servantDetailForm",staticClass:"two-columns",attrs:{itemWidth:"360px",columns:2}},[a("let-form-item",{attrs:{label:e.$t("serverList.servant.appService"),itemWidth:"724px"}},[a("span",[e._v(e._s(e.servantDetailModal.model.application)+"·"+e._s(e.servantDetailModal.model.server_name))])]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.objName"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.servant.c"),required:"",pattern:"^[A-Za-z]+$","pattern-tip":e.$t("serverList.servant.obj")},model:{value:e.servantDetailModal.model.obj_name,callback:function(t){e.$set(e.servantDetailModal.model,"obj_name",t)},expression:"servantDetailModal.model.obj_name"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.numOfThread"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.servant.thread"),required:"",pattern:"^[1-9][0-9]*$","pattern-tip":e.$t("serverList.servant.thread")},model:{value:e.servantDetailModal.model.thread_num,callback:function(t){e.$set(e.servantDetailModal.model,"thread_num",t)},expression:"servantDetailModal.model.thread_num"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.table.servant.adress"),required:"",itemWidth:"724px"}},[a("let-input",{ref:"endpoint",attrs:{size:"small",placeholder:"tcp -h 127.0.0.1 -t 60000 -p 12000",required:"",extraTip:e.isEndpointValid?"":e.$t("serverList.servant.error")},model:{value:e.servantDetailModal.model.endpoint,callback:function(t){e.$set(e.servantDetailModal.model,"endpoint",t)},expression:"servantDetailModal.model.endpoint"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.maxConnecttions"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.max_connections,callback:function(t){e.$set(e.servantDetailModal.model,"max_connections",t)},expression:"servantDetailModal.model.max_connections"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.lengthOfQueue"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.queuecap,callback:function(t){e.$set(e.servantDetailModal.model,"queuecap",t)},expression:"servantDetailModal.model.queuecap"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.queueTimeout"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.queuetimeout,callback:function(t){e.$set(e.servantDetailModal.model,"queuetimeout",t)},expression:"servantDetailModal.model.queuetimeout"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.allowIP")}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.allow_ip,callback:function(t){e.$set(e.servantDetailModal.model,"allow_ip",t)},expression:"servantDetailModal.model.allow_ip"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.protocol"),required:""}},[a("let-radio-group",{attrs:{size:"small",data:[{value:"tars",text:"TARS"},{value:"not_tars",text:e.$t("serverList.servant.notTARS")}]},model:{value:e.servantDetailModal.model.protocol,callback:function(t){e.$set(e.servantDetailModal.model,"protocol",t)},expression:"servantDetailModal.model.protocol"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.treatmentGroup"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.handlegroup,callback:function(t){e.$set(e.servantDetailModal.model,"handlegroup",t)},expression:"servantDetailModal.model.handlegroup"}})],1)],1):e._e()],1),e._v(" "),a("let-modal",{staticClass:"more-cmd",attrs:{title:e.$t("operate.title.more"),width:"700px"},on:{"on-confirm":e.invokeMoreCmd,close:e.closeMoreCmdModal,"on-cancel":e.closeMoreCmdModal},model:{value:e.moreCmdModal.show,callback:function(t){e.$set(e.moreCmdModal,"show",t)},expression:"moreCmdModal.show"}},[e.moreCmdModal.model?a("let-form",{ref:"moreCmdForm"},[a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"setloglevel"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.logLevel")))]),e._v(" "),a("let-select",{attrs:{size:"small",disabled:"setloglevel"!==e.moreCmdModal.model.selected},model:{value:e.moreCmdModal.model.setloglevel,callback:function(t){e.$set(e.moreCmdModal.model,"setloglevel",t)},expression:"moreCmdModal.model.setloglevel"}},e._l(e.logLevels,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1)],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"loadconfig"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.pushFile")))]),e._v(" "),a("let-select",{attrs:{size:"small",placeholder:e.moreCmdModal.model.configs&&e.moreCmdModal.model.configs.length?e.$t("pub.dlg.defaultValue"):e.$t("pub.dlg.noConfFile"),disabled:!(e.moreCmdModal.model.configs&&e.moreCmdModal.model.configs.length)||"loadconfig"!==e.moreCmdModal.model.selected,required:"loadconfig"===e.moreCmdModal.model.selected},model:{value:e.moreCmdModal.model.loadconfig,callback:function(t){e.$set(e.moreCmdModal.model,"loadconfig",t)},expression:"moreCmdModal.model.loadconfig"}},e._l(e.moreCmdModal.model.configs,function(t){return a("let-option",{key:t.filename,attrs:{value:t.filename}},[e._v(e._s(t.filename))])}),1)],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"command"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.sendCommand")))]),e._v(" "),a("let-input",{attrs:{size:"small",disabled:"command"!==e.moreCmdModal.model.selected,required:"command"===e.moreCmdModal.model.selected},model:{value:e.moreCmdModal.model.command,callback:function(t){e.$set(e.moreCmdModal.model,"command",t)},expression:"moreCmdModal.model.command"}})],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"connection"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.serviceLink")))])],1),e._v(" "),"dcache"!==e.serverType?a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{staticClass:"danger",attrs:{label:"undeploy_tars"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("operate.undeploy"))+" "+e._s(e.$t("common.service")))])],1):e._e()],1):e._e()],1)],1)},staticRenderFns:[]};var ne=a("VU/8")(oe,se,!1,function(e){a("Bn3n")},null,null).exports,ie=a("lHA8"),le=a.n(ie),ce=a("c/Tr"),de=a.n(ce),ue=a("M4fF"),me=a.n(ue),pe={data:function(){return{servers:[],transferData:!0,migrationMethods:[{value:!0,text:this.$t("dcache.migrationMethod1")},{value:!1,text:this.$t("dcache.migrationMethod2")}]}},props:{expandServers:{required:!0,type:Array}},computed:{appName:function(){return this.expandServers[0].app_name},moduleName:function(){return this.expandServers[0].module_name},cache_version:function(){return this.expandServers[0].cache_version},srcGroupName:function(){return this.expandServers[0].group_name},dstGroupName:function(){return this.servers[0].group_name}},methods:{getServers:function(){this.servers=this.newGroup(this.expandServers)},addNewGroup:function(){var e=this.servers;this.servers=e.concat(this.newGroup(e.slice(e.length-this.expandServers.length)))},deleteGroup:function(){this.servers.splice(this.servers.length-this.expandServers.length,this.expandServers.length)},newGroup:function(e){return e.map(function(e,t){var a=e.group_name,r=e.server_name;a=a.replace(/^(.*?)(\d+)$/,function(){return arguments[1]+(+arguments[2]+1)}),r=r.replace(/^(.*?)(\d+)-\d+$/,function(){return arguments[1]+(+arguments[2]+1)+"-"+(t+1)});var o=e.server_type;return S()({},e,{group_name:a,server_name:r,server_ip:"",shmKey:"",server_type:o})})}}},he={mixins:[pe],data:function(){return{}},methods:{submitServerConfig:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.$refs.detailForm.validate()){t.next=15;break}return a=e.servers,r=e.appName,o=e.moduleName,s=e.cache_version,e.dstGroupName,t.prev=2,t.next=5,j({servers:a,appName:r,moduleName:o,cache_version:s,srcGroupName:[]});case 5:n=t.sent,n.releaseId,e.$tip.success(e.$t("dcache.operationManage.hasExpand")),e.$emit("close"),t.next=15;break;case 11:t.prev=11,t.t0=t.catch(2),console.error(t.t0),e.$tip.error(t.t0.message);case 15:case"end":return t.stop()}},t,e,[[2,11]])}))()}},created:function(){this.getServers()}},fe={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"container"},[a("let-form",{ref:"detailForm",attrs:{inline:""}},[a("let-form-group",{attrs:{inline:"","label-position":"top"}},[a("let-table",{ref:"table",attrs:{data:e.servers,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("module.name"),prop:"module_name"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.module_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.serverGroup"),prop:"group_name"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.group_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"server_name"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.server_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverIp"),prop:"server_ip"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.server_ip,callback:function(a){e.$set(t.row,"server_ip",a)},expression:"scope.row.server_ip"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.deployArea"),prop:"area",width:"80px"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.area)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("deployService.form.serviceType"),width:"80px"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row.server_type;return["M"===r?a("span",[e._v(e._s(e.$t("cache.mainEngine")))]):"S"===r?a("span",[e._v(e._s(e.$t("cache.standByEngine")))]):"I"===r?a("span",[e._v(e._s(e.$t("cache.mirror")))]):e._e()]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.memorySize"),prop:"memory"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.memory)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.shmKey"),prop:"shmKey"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",placeholder:e.$t("module.shmKeyRule"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.shmKey,callback:function(a){e.$set(t.row,"shmKey",a)},expression:"scope.row.shmKey"}})]}}])})],1)],1),e._v(" "),a("div",[a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.submitServerConfig}},[e._v(e._s(e.$t("common.submit")))]),e._v(" "),a("div",{staticClass:"alignRight"},[a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.addNewGroup}},[e._v(e._s(e.$t("serviceExpand.newGroup")))]),e._v(" "),a("let-button",{attrs:{size:"small",theme:"danger",disabled:this.servers.length===this.expandServers.length},on:{click:e.deleteGroup}},[e._v(e._s(e.$t("serviceExpand.removeGroup")))])],1)],1)],1)],1)},staticRenderFns:[]};var ve=a("VU/8")(he,fe,!1,function(e){a("VMrG")},null,null).exports,_e={mixins:[pe],props:{checkSrcGroupName:{required:!0,type:String}},data:function(){return{}},methods:{submitServerConfig:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n,i,l;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.$refs.detailForm.validate()){t.next=13;break}return a=e.servers,r=e.appName,o=e.moduleName,s=e.cache_version,n=e.dstGroupName,i=e.transferData,l=e.checkSrcGroupName,t.prev=2,t.next=5,E({servers:a,appName:r,moduleName:o,cache_version:s,srcGroupName:l,dstGroupName:n,transferData:i});case 5:e.$tip.success(e.$t("dcache.operationManage.hasServerMigration")),e.$emit("close"),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(2),console.error(t.t0),e.$tip.error(t.t0.message);case 13:case"end":return t.stop()}},t,e,[[2,9]])}))()}},created:function(){this.getServers()}},ge={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"container"},[a("let-form",{ref:"detailForm",attrs:{inline:""}},[a("let-form-item",{attrs:{required:"",label:e.$t("dcache.migrationMethod")}},[a("let-radio-group",{attrs:{data:e.migrationMethods},model:{value:e.transferData,callback:function(t){e.transferData=t},expression:"transferData"}})],1),e._v(" "),a("let-form-group",{attrs:{inline:"","label-position":"top"}},[a("let-table",{ref:"table",attrs:{data:e.servers,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("module.name"),prop:"module_name"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.module_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.serverGroup"),prop:"group_name"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.group_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"server_name"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.server_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverIp"),prop:"server_ip"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.server_ip,callback:function(a){e.$set(t.row,"server_ip",a)},expression:"scope.row.server_ip"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.deployArea"),prop:"area"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.area)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("deployService.form.serviceType"),width:"80px"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row.server_type;return["M"===r?a("span",[e._v(e._s(e.$t("cache.mainEngine")))]):"S"===r?a("span",[e._v(e._s(e.$t("cache.standByEngine")))]):"I"===r?a("span",[e._v(e._s(e.$t("cache.mirror")))]):e._e()]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.memorySize"),prop:"memory"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.memory)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.shmKey"),prop:"shmKey"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",placeholder:e.$t("module.shmKeyRule"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.shmKey,callback:function(a){e.$set(t.row,"shmKey",a)},expression:"scope.row.shmKey"}})]}}])})],1)],1),e._v(" "),a("div",[a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.submitServerConfig}},[e._v(e._s(e.$t("common.submit")))])],1)],1)],1)},staticRenderFns:[]};var be=a("VU/8")(_e,ge,!1,function(e){a("gxaK")},null,null).exports,$e={mixins:[pe],props:{disabled:Boolean,expandServers:{required:!1,type:Array}},data:function(){return{show:!1,groupName:"",dstGroupNames:[]}},computed:{srcGroupName:function(){return this.expandServers.find(function(e){return e.isChecked}).group_name}},methods:{init:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n,i;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,e.groupName="",a=e.expandServers.map(function(e){return e.group_name}),1!==(a=de()(new le.a(a))).length){t.next=6;break}return t.abrupt("return",e.$tip.error(e.$t("dcache.onlyOneServiceGroup")));case 6:if(r=e.expandServers.filter(function(e){return e.isChecked}),o=r.map(function(e){return e.group_name}),!((o=de()(new le.a(o))).length>1)){t.next=11;break}return t.abrupt("return",e.$tip.error(e.$t("dcache.oneGroup")));case 11:return e.dstGroupNames=a.filter(function(e){return e!==o[0]}),s=e.appName,n=e.moduleName,i=e.srcGroupName,t.next=15,V({appName:s,moduleName:n,srcGroupName:i});case 15:if(!t.sent){t.next=18;break}throw new Error(e.$t("dcache.hasMigrationOperation"));case 18:e.show=!0,t.next=25;break;case 21:t.prev=21,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(t.t0.message);case 25:case"end":return t.stop()}},t,e,[[0,21]])}))()},submitServerConfig:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.$refs.detailForm.validate()){t.next=13;break}return t.prev=1,a=e.appName,r=e.moduleName,o=e.srcGroupName,s=e.groupName,n=e.transferData,t.next=5,z({appName:a,moduleName:r,srcGroupName:o,dstGroupName:s,transferData:n});case 5:t.sent,e.$tip.success(e.$t("dcache.operationManage.hasnonServerMigration")),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(1),console.error(t.t0),e.$tip.error(t.t0.message);case 13:case"end":return t.stop()}},t,e,[[1,9]])}))()}}},ye={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticStyle:{display:"inline"}},[a("let-button",{attrs:{theme:"primary",disabled:e.disabled},on:{click:e.init}},[e._v(e._s(e.$t("dcache.nonServerMigration")))]),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!0,width:"1000px",title:e.$t("dcache.nonServerMigration")},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[e.show?a("let-form",{ref:"detailForm",staticClass:"non-server-migration",attrs:{labelPosition:"right"}},[a("let-form-item",{attrs:{required:"",label:e.$t("dcache.operationManage.appName")+":"}},[e._v("\n "+e._s(e.appName)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{required:"",label:e.$t("dcache.operationManage.moduleName")+":"}},[e._v("\n "+e._s(e.moduleName)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{required:"",label:e.$t("dcache.operationManage.srcGroupName")+":"}},[e._v("\n "+e._s(e.srcGroupName)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%",required:"",label:e.$t("dcache.operationManage.dstGroupName")+":"}},[a("let-select",{attrs:{required:"",size:"small"},model:{value:e.groupName,callback:function(t){e.groupName=t},expression:"groupName"}},e._l(e.dstGroupNames,function(t){return a("let-option",{attrs:{value:t}},[e._v(e._s(t))])}),1)],1),e._v(" "),a("let-form-item",{attrs:{required:"",label:e.$t("dcache.migrationMethod")+":"}},[a("let-radio-group",{staticStyle:{width:"300px"},attrs:{data:e.migrationMethods},model:{value:e.transferData,callback:function(t){e.transferData=t},expression:"transferData"}})],1),e._v(" "),a("div",[a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.submitServerConfig}},[e._v(e._s(e.$t("common.submit")))])],1)],1):e._e()],1)],1)},staticRenderFns:[]};var we=a("VU/8")($e,ye,!1,function(e){a("RlLB")},null,null).exports,Me={props:{releaseId:{type:[Number,String],required:!0}},data:function(){return{items:[],timer:"",progressTip:"",success:!1,statusConfig:{0:this.$t("serverList.restart.notStart"),1:this.$t("serverList.restart.running"),2:this.$t("serverList.restart.success"),3:this.$t("serverList.restart.failed"),4:this.$t("serverList.restart.cancel"),5:this.$t("serverList.restart.parial")}}},methods:{getProgress:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s={releaseId:e.releaseId},void 0,n=s.releaseId,I({method:"get",url:"/task",params:{task_no:n}});case 3:a=t.sent,r=a.items,a.serial,a.status,a.task_no,e.items=r,o=!0,r.forEach(function(e){return[2,3].includes(e.status)?"":o=!1}),o?(e.timer&&window.clearTimeout(e.timer),e.success=!0,e.$emit("done-fn")):e.timer=window.setTimeout(e.getProgress,1e3),t.next=19;break;case 14:t.prev=14,t.t0=t.catch(0),e.success=!0,console.error(t.t0),e.$tip.error(t.t0.message);case 19:case"end":return t.stop()}var s,n},t,e,[[0,14]])}))()}},created:function(){this.getProgress()},destroyed:function(){this.timer&&window.clearTimeout(this.timer),this.$emit("close-fn")}},ke={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"progressTable"},[a("let-table",{ref:"ProgressTable",attrs:{data:e.items,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"server_name",width:"30%"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverIp"),prop:"node_name",width:"30%"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("common.status")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-tag",{attrs:{theme:2==t.row.status?"success":3==t.row.status?"danger":"",checked:""}},[e._v("\n "+e._s(e.statusConfig[t.row.status]+(2!=t.row.status&&3!=t.row.status?"...":""))+"\n ")])]}}])})],1),e._v(" "),a("p",{ref:"progressTip"},[e._v(e._s(e.$t(e.success?"dcache.executeSuccess":"dcache.execute")))])],1)},staticRenderFns:[]};var xe=a("VU/8")(Me,ke,!1,function(e){a("90RL")},"data-v-2dd804f4",null).exports,Se={components:{tarsReleaseProgress:xe},mixins:[pe],props:{disabled:Boolean,expandServers:{required:!1,type:Array},checkedServers:{required:!1,type:Array}},computed:{cacheVersion:function(){return this.checkedServers.length?this.checkedServers[0].cache_version:1}},data:function(){return{versionList:[],releaseId:null,show:!1,publishId:null,publishModal:{moduleName:"DCacheServerGroup",application:"DCache",totalPatchPage:0,pageSize:5,currPage:1},releaseIng:!1}},methods:{init:function(){this.show=!0,this.releaseId=null,this.releaseIng=!1,this.publishId=null,this.getVersionList()},patchChangePage:function(e){this.publishModal.currPage=e,this.getVersionList()},getVersionList:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n,i,l,c,d;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.cacheVersion,r=e.publishModal,o=r.moduleName,s=r.application,n=r.currPage,i=r.pageSize,t.next=4,Q({moduleName:o,application:s,currPage:n,pageSize:i,cacheVersion:a});case 4:l=t.sent,c=l.count,d=l.rows,e.publishModal.totalPatchPage=Math.ceil(c/i),e.versionList=d;case 9:case"end":return t.stop()}},t,e)}))()},publish:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=[],r=e.publishId,e.checkedServers.forEach(function(e){a.push({server_id:e.id.toString(),command:"patch_tars",parameters:{patch_id:r,bak_flag:e.bak_flag,update_text:"batch publish cache servers",group_name:"DCacheServerGroup"}})}),console.log(a),t.next=6,ee({items:a});case 6:o=t.sent,e.releaseIng=!0,e.releaseId=o;case 9:case"end":return t.stop()}},t,e)}))()},getServerList:function(){this.show=!1,this.$emit("success-fn")}}},Ce={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"batch-publish",staticStyle:{display:"inline"}},[a("let-button",{attrs:{theme:"primary",disabled:e.disabled},on:{click:e.init}},[e._v(e._s(e.$t("dcache.batchPublish")))]),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!0,width:"1000px",title:e.$t("dcache.batchPublish")},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[a("let-form",[a("let-form-item",{attrs:{label:e.$t("service.serverName")}},e._l(e.checkedServers,function(t){return a("p",[e._v(e._s(t.server_name))])}),0)],1),e._v(" "),a("let-table",{attrs:{data:e.versionList,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-radio",{attrs:{label:t.row.id},model:{value:e.publishId,callback:function(t){e.publishId=t},expression:"publishId"}},[e._v(" ")])]}}])}),e._v(" "),a("let-table-column",{attrs:{title:"ID",prop:"id"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.id)+"\n "),a("span",{staticStyle:{color:"green",display:"inline-block",width:"1em",height:"1em"},attrs:{title:e.$t("releasePackage.default")}},[1==t.row.default_version?a("icon",{attrs:{name:"default"}}):e._e()],1)]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.moduleName"),prop:"server"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.cacheType")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(1===t.row.package_type?"KVcache":"MKVcache"))])]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.servant.comment"),prop:"comment"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.uploadTime"),prop:"posttime"}}),e._v(" "),a("let-pagination",{attrs:{slot:"pagination",align:"right",total:e.publishModal.totalPatchPage,page:e.publishModal.currPage},on:{change:e.patchChangePage},slot:"pagination"},[e._v("\n abc\n ")]),e._v(" "),a("template",{slot:"operations"},[a("let-button",{attrs:{disabled:!e.publishId,theme:"primary"},on:{click:e.publish}},[e._v(e._s(e.$t("apply.publish")))])],1)],2)],1),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!0,width:"1000px",title:e.$t("dcache.batchPublish")},model:{value:e.releaseIng,callback:function(t){e.releaseIng=t},expression:"releaseIng"}},[e.releaseId&&e.releaseIng?a("tars-release-progress",{attrs:{"release-id":e.releaseId},on:{"close-fn":this.getServerList}}):e._e()],1)],1)},staticRenderFns:[]};var Le=a("VU/8")(Se,Ce,!1,function(e){a("TH6y")},null,null).exports,Ne={components:{tarsReleaseProgress:xe},mixins:[pe],props:{disabled:Boolean,expandServers:{required:!1,type:Array},checkedServers:{required:!1,type:Array},type:String},data:function(){return{versionList:[],releaseId:null,show:!1,publishModal:{moduleName:"DCacheServerGroup",application:"DCache",totalPatchPage:0,pageSize:5,currPage:1},releaseIng:!1}},methods:{init:function(){this.show=!0,this.releaseId=null,this.releaseIng=!1},confirm:function(){var e=this;return D()(L.a.mark(function t(){var a,r;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=[],e.checkedServers.forEach(function(t){a.push({server_id:t.id.toString(),command:e.type})}),t.next=5,ee({items:a});case 5:r=t.sent,e.releaseIng=!0,e.releaseId=r;case 8:case"end":return t.stop()}},t,e)}))()},getServerList:function(){this.show=!1,this.$emit("success-fn")}}},De={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"batch-publish",staticStyle:{display:"inline"}},[a("let-button",{attrs:{theme:"primary",disabled:e.disabled},on:{click:e.init}},[e._v(e._s(e.$t("dcache.batch."+e.type)))]),e._v(" "),a("let-modal",{attrs:{closeOnClickBackdrop:!0,width:"1000px",title:e.$t("dcache.batch."+e.type)},on:{"on-confirm":e.confirm},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[a("let-form",[a("let-form-item",{attrs:{label:e.$t("service.serverName")}},e._l(e.checkedServers,function(t){return a("p",[e._v(e._s(t.server_name))])}),0)],1)],1),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!0,width:"1000px",title:e.$t("dcache.batch."+e.type)},model:{value:e.releaseIng,callback:function(t){e.releaseIng=t},expression:"releaseIng"}},[e.releaseId&&e.releaseIng?a("tars-release-progress",{attrs:{"release-id":e.releaseId},on:{"close-fn":this.getServerList}}):e._e()],1)],1)},staticRenderFns:[]};var Ae=a("VU/8")(Ne,De,!1,function(e){a("ZJVQ")},null,null).exports,Te={props:{disabled:Boolean,serverList:Array},data:function(){return{show:!1,offlineServers:[],tip:"",unType:0,canOffline:!1}},computed:{checkedServers:function(){return this.serverList.filter(function(e){return!0===e.isChecked})},hasRouterPageNo:function(){return!!this.checkedServers.find(function(e){return 0!==e.routerPageNo})},appName:function(){return this.checkedServers[0]&&this.checkedServers[0].app_name},moduleName:function(){return this.checkedServers[0]&&this.checkedServers[0].module_name},hostServers:function(){return this.checkedServers.filter(function(e){return"M"===e.server_type})},backupServers:function(){return this.checkedServers.filter(function(e){return"S"===e.server_type})},allBackupServers:function(){return this.serverList.filter(function(e){return"S"===e.server_type})},mirrorServers:function(){return this.checkedServers.filter(function(e){return"I"===e.server_type})},allMirrorServers:function(){return this.serverList.filter(function(e){return"I"===e.server_type})},allBackupMirrorServers:function(){return this.serverList.filter(function(e){return"M"!==e.server_type})}},methods:{init:function(){var e=this;return D()(L.a.mark(function t(){var a,r;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.offlineServers=[],e.unType=0,e.canOffline=!1,e.$t,e.hostServers,e.backupServers,e.allBackupServers,e.mirrorServers,e.allMirrorServers,e.allBackupMirrorServers,a=e.appName,r=e.moduleName,t.next=7,V({appName:a,moduleName:r});case 7:if(!t.sent){t.next=10;break}throw new Error(e.$t("dcache.hasMigrationOperation"));case 10:e.offlineServers=e.checkedServers,e.getActiveServers().length||(e.canOffline=!0),e.show=!0,t.next=20;break;case 16:t.prev=16,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(t.t0.message);case 20:case"end":return t.stop()}},t,e,[[0,16]])}))()},getActiveServers:function(){return this.offlineServers.filter(function(e){return"active"===e.present_state||"active"===e.setting_state})},sureOffline:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n,i,l;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.offlineServers,r=e.unType,o=a.map(function(e){return"DCache."+e.server_name}),s=a[0].app_name,n=a[0].module_name,i={unType:r,appName:s,moduleName:n,serverNames:o},(l=e.$Loading({text:"loading..."})).show(),t.prev=7,t.next=10,H(i);case 10:t.sent,e.$tip.success("下线成功!"),e.show=!1,e.$emit("success-fn"),t.next=19;break;case 16:t.prev=16,t.t0=t.catch(7),e.$tip.error(t.t0.message);case 19:return t.prev=19,l.hide(),t.finish(19);case 22:case"end":return t.stop()}},t,e,[[7,16,19,22]])}))()}}},qe={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticStyle:{display:"inline"}},[a("let-button",{attrs:{theme:"primary",disabled:e.disabled},on:{click:e.init}},[e._v(e._s(e.$t("dcache.offline")))]),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!0,width:"1000px",title:e.$t("dcache.offline")},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[a("p",{staticStyle:{color:"red"}},[e._v(e._s(e.hasRouterPageNo?e.$t("dcache.hasRouterPageNo"):"")+e._s(e.canOffline?"":e.$t("dcache.cantOffline")))]),e._v(" "),a("let-table",{ref:"table",attrs:{data:e.offlineServers,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("module.name"),prop:"module_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"server_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverIp"),prop:"node_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.routerPageNo"),prop:"routerPageNo"}})],1),e._v(" "),a("let-button",{attrs:{disabled:!e.canOffline,size:"small",theme:"primary"},on:{click:e.sureOffline}},[e._v("\n "+e._s(e.$t("dcache.sureOffline"))+"\n ")])],1)],1)},staticRenderFns:[]};var Fe={components:{Expand:ve,ServerMigration:be,nonServerMigration:we,offline:a("VU/8")(Te,qe,!1,function(e){a("wOmO")},null,null).exports,batchPublish:Le,batchOperation:Ae},name:"ServerManage",data:function(){return{expandShow:!1,serverMigrationShow:!1,nonServerMigrationShow:!1,lastGroupServers:[],isCheckedAll:!1,serverData:{level:5,application:"",server_name:"",set_name:"",set_area:"",set_group:""},serverList:[],serverNotifyList:[],pageNum:1,pageSize:20,total:1,serverTypes:["tars_cpp","tars_java","tars_php","tars_nodejs","not_tars","tars_go"],configModal:{show:!1,model:null},servantModal:{show:!1,model:null,currentServer:null},servantDetailModal:{show:!1,isNew:!0,model:null},logLevels:["NONE","DEBUG","INFO","WARN","ERROR"],moreCmdModal:{show:!1,model:null,currentServer:null},failCount:0}},computed:{showOthers:function(){return 5===this.serverData.level},isEndpointValid:function(){return!(!this.servantDetailModal.model||!this.servantDetailModal.model.endpoint)&&this.checkServantEndpoint(this.servantDetailModal.model.endpoint)},hasCheckedServer:function(){return 0!==this.serverList.filter(function(e){return!0===e.isChecked}).length},checkedServers:function(){return this.serverList.filter(function(e){return!0===e.isChecked})},checkSrcGroupName:function(){return this.checkedServers[0]&&this.checkedServers[0].group_name}},watch:{isCheckedAll:function(){var e=this.isCheckedAll;this.serverList.forEach(function(t){t.isChecked=e})},$route:function(e,t){this.getServerList(),this.getServerNotifyList(1)}},methods:{expandCloseHandler:function(){this.expandShow=!1,this.getServerList()},serverMigrationCloseHandler:function(){this.serverMigrationShow=!1,this.getServerList()},expandHandler:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,e.checkPatchVersion()){t.next=4;break}throw new Error(e.$t("dcache.noTheSamePatchVersion"));case 4:return a=e.serverList[0],r=a.app_name,o=a.module_name,t.next=8,V({appName:r,moduleName:o});case 8:if(!t.sent){t.next=11;break}throw new Error(e.$t("dcache.hasExpandOperation"));case 11:e.lastGroupServers=e.getLastGroupServers(),e.expandShow=!0,t.next=19;break;case 15:t.prev=15,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(t.t0.message);case 19:case"end":return t.stop()}},t,e,[[0,15]])}))()},shrinkageHandler:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n,i;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,a=e.serverList[0],r=a.app_name,o=a.module_name,t.next=5,V({appName:r,moduleName:o});case 5:if(!t.sent){t.next=8;break}throw new Error(e.$t("dcache.hasShrinkageOperation"));case 8:if(s=e.serverList.map(function(e){return e.group_name}),s=de()(new le.a(s)),n=e.serverList.filter(function(e){return e.isChecked}),i=n.map(function(e){return e.group_name}),i=de()(new le.a(i)),s.toString()!==i.toString()){t.next=15;break}throw new Error(e.$t("dcache.leaveOneServiceGroup"));case 15:return t.next=17,e.$confirm(e.$t("dcache.operationManage.ensureShrinkage"));case 17:return t.next=19,void 0,void 0,void 0,void 0,void 0,c=(l={appName:r,moduleName:o,srcGroupName:i}).appName,d=void 0===c?"":c,u=l.moduleName,m=void 0===u?"":u,p=l.srcGroupName,I({method:"post",url:"/cache/reduceDcache",data:{appName:d,moduleName:m,srcGroupName:void 0===p?[]:p}});case 19:e.$tip.success(e.$t("dcache.operationManage.hasShrinkage")),t.next=26;break;case 22:t.prev=22,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(t.t0.message);case 26:case"end":return t.stop()}var l,c,d,u,m,p},t,e,[[0,22]])}))()},serverMigrationHandler:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,e.checkPatchVersion()){t.next=4;break}throw new Error(e.$t("dcache.noTheSamePatchVersion"));case 4:if(!(me.a.uniqBy(e.checkedServers,"group_name").length>1)){t.next=7;break}throw new Error(e.$t("dcache.oneGroup"));case 7:return a=e.checkedServers[0],r=a.app_name,o=a.module_name,s=a.group_name,t.next=11,V({appName:r,moduleName:o,srcGroupName:s});case 11:if(!t.sent){t.next=14;break}throw new Error(e.$t("dcache.hasMigrationOperation"));case 14:e.lastGroupServers=e.getLastGroupServers(),e.serverMigrationShow=!0,t.next=22;break;case 18:t.prev=18,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(t.t0.message);case 22:case"end":return t.stop()}},t,e,[[0,18]])}))()},switchHandler:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,a=e.serverList[0],r=a.app_name,o=a.module_name,s=e.serverList.filter(function(e){return e.isChecked}),n=s.map(function(e){return e.group_name}),1==(n=de()(new le.a(n))).length){t.next=8;break}throw new Error(e.$t("dcache.operationManage.onceSwitch"));case 8:return t.next=10,e.$confirm(e.$t("dcache.operationManage.ensureSwitch"));case 10:return t.next=12,B({appName:r,moduleName:o,groupName:n[0]});case 12:e.$tip.success(e.$t("dcache.operationManage.switchSuccess")),e.getServerList(),t.next=20;break;case 16:t.prev=16,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(t.t0.message);case 20:case"end":return t.stop()}},t,e,[[0,16]])}))()},getLastGroupServers:function(){var e=this.serverList.sort(function(e,t){return e.group_name>t.group_name})[this.serverList.length-1].group_name;return this.serverList.filter(function(t){return t.group_name===e})},checkPatchVersion:function(){var e=!0,t={};return this.serverList.forEach(function(a,r){var o=a.patch_version;if(0===r)return t[o]=o;t[o]||(e=!1)}),e},checkedAllChange:function(){console.log(arguments)},getServerList:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.$refs.serverListLoading.$loading.show(),t.prev=1,r=e.serverData,o=r.application,s=r.module_name,t.next=5,K({appName:o,moduleName:s});case 5:(n=t.sent).forEach(function(t){var a=e.serverList.find(function(e){return e.id===t.id});t.isChecked=!!a&&a.isChecked}),e.serverList=n,t.next=14;break;case 10:t.prev=10,t.t0=t.catch(1),console.error(t.t0),e.$tip.error(t.t0.message);case 14:return t.prev=14,a.hide(),t.finish(14);case 17:case"end":return t.stop()}},t,e,[[1,10,14,17]])}))()},getServerNotifyList:function(e){var t=this;if(this.showOthers){var a=this.$refs.serverNotifyListLoading.$loading.show();this.$ajax.getJSON("/server/api/server_notify_list",{tree_node_id:this.$route.params.treeid,page_size:this.pageSize,curr_page:e}).then(function(r){a.hide(),t.pageNum=e,t.total=Math.ceil(r.count/t.pageSize),t.serverNotifyList=r.rows}).catch(function(e){a.hide(),t.$tip.error(t.$t("serverList.restart.failed")+": "+(e.err_msg||e.message))})}},getTemplateList:function(){var e=this;this.$ajax.getJSON("/server/api/template_name_list").then(function(t){e.configModal.model?e.configModal.model.templates=t:e.configModal.model={templates:t}}).catch(function(t){e.$tip.error(e.$t("serverList.restart.failed")+": "+(t.err_msg||t.message))})},getServerConfig:function(e){var t=this,a=this.$loading.show({target:this.$refs.configFormLoading});this.$ajax.getJSON("/server/api/server",{id:e}).then(function(e){a.hide(),t.configModal.model?t.configModal.model=_()({},t.configModal.model,e):(e.templates=[],t.configModal.model=e)}).catch(function(e){a.hide(),t.closeConfigModal(),t.$tip.error(t.$t("serverList.restart.failed")+": "+(e.err_msg||e.message))})},configServer:function(e){this.configModal.show=!0,this.getTemplateList(),this.getServerConfig(e)},saveConfig:function(){var e=this;if(this.$refs.configForm.validate()){var t=this.$Loading.show();this.$ajax.postJSON("/server/api/update_server",S()({isBak:this.configModal.model.bak_flag},this.configModal.model)).then(function(a){t.hide(),e.serverList=e.serverList.map(function(e){return e.id===a.id?a:e}),e.closeConfigModal(),e.$tip.success(e.$t("serverList.restart.success"))}).catch(function(a){t.hide(),e.$tip.error(e.$t("serverList.restart.failed")+": "+(a.message||a.err_msg))})}},closeConfigModal:function(){this.$refs.configForm&&this.$refs.configForm.resetValid(),this.configModal.show=!1,this.configModal.model=null},checkTaskStatus:function(e,t){var a=this;return new k.a(function(r,o){a.$ajax.getJSON("/server/api/task",{task_no:e}).then(function(t){1===t.status||0===t.status?setTimeout(function(){r(a.checkTaskStatus(e))},3e3):2===t.status?r("taskid: "+t.task_no):o(new Error("taskid: "+t.task_no))}).catch(function(s){t?o(new Error(s.err_msg||s.message||a.$t("common.networkErr"))):setTimeout(function(){r(a.checkTaskStatus(e,!0))},3e3)})})},addTask:function(e,t,a){var r=this,o=this.$Loading.show();this.$ajax.postJSON("/server/api/add_task",{serial:!0,items:[{server_id:e,command:t}]}).then(function(e){return r.checkTaskStatus(e).then(function(e){o.hide(),r.getServerList(),r.$tip.success({title:a.success,message:e})}).catch(function(e){throw e})}).catch(function(e){o.hide(),r.getServerList(),r.$tip.error({title:a.error,message:e.err_msg||e.message||r.$t("common.networkErr")})})},restartServer:function(e){this.addTask(e,"restart",{success:this.$t("serverList.restart.success"),error:this.$t("serverList.restart.failed")})},stopServer:function(e){var t=this;this.$confirm(this.$t("serverList.stopService.msg.stopService"),this.$t("common.alert")).then(function(){t.addTask(e,"stop",{success:t.$t("serverList.restart.success"),error:t.$t("serverList.restart.failed")})})},undeployServer:function(e){var t=this;this.$confirm(this.$t("serverList.dlg.msg.undeploy"),this.$t("common.alert")).then(function(){t.addTask(e,"undeploy_tars",{success:t.$t("serverList.restart.success"),error:t.$t("serverList.restart.failed")}),t.closeMoreCmdModal()})},manageServant:function(e){var t=this;this.servantModal.show=!0;var a=this.$loading.show({target:this.$refs.servantModalLoading});this.$ajax.getJSON("/server/api/adapter_conf_list",{id:e.id}).then(function(r){a.hide(),t.servantModal.model=r,t.servantModal.currentServer=e}).catch(function(e){a.hide(),t.$tip.error(t.$t("serverList.restart.failed")+": "+(e.err_msg||e.message))})},closeServantModal:function(){this.servantModal.show=!1,this.servantModal.model=null,this.servantModal.currentServer=null},configServant:function(e){if(this.servantDetailModal.model={application:this.servantModal.currentServer.application,server_name:this.servantModal.currentServer.server_name,obj_name:"",node_name:"",endpoint:"",servant:"",thread_num:"",max_connections:"200000",queuecap:"10000",queuetimeout:"60000",allow_ip:"",protocol:"not_tars",handlegroup:""},this.servantDetailModal.isNew=!0,e){var t=this.servantModal.model.find(function(t){return t.id===e});t.obj_name=t.servant.split(".")[2],this.servantDetailModal.model=_()({},this.servantDetailModal.model,t),this.servantDetailModal.isNew=!1}this.servantDetailModal.show=!0},closeServantDetailModal:function(){this.$refs.servantDetailForm&&this.$refs.servantDetailForm.resetValid(),this.servantDetailModal.show=!1,this.servantDetailModal.model=null},checkServantEndpoint:function(e){var t=e.split(/\s-/),a=/^h\s(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/i,r=/^t\s([1-9]|[1-9]\d+)$/i,o=/^p\s\d{4,5}$/i,s=!0;if(/^tcp|udp$/i.test(t[0])){for(var n=0,i=1;i65535||n++,o=null}s=3===n}else s=!1;return s},saveServantDetail:function(){var e=this;if(this.$refs.servantDetailForm.validate()){var t=this.$Loading.show();if(this.servantDetailModal.isNew){var a=this.servantDetailModal.model;a.servant=[a.application,a.server_name,a.obj_name].join("."),this.$ajax.postJSON("/server/api/add_adapter_conf",a).then(function(a){t.hide(),e.servantModal.model.unshift(a),e.$tip.success(e.$t("common.success")),e.closeServantDetailModal()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.err_msg||a.message))})}else this.servantDetailModal.model.servant=this.servantDetailModal.model.application+"."+this.servantDetailModal.model.server_name+"."+this.servantDetailModal.model.obj_name,this.$ajax.postJSON("/server/api/update_adapter_conf",this.servantDetailModal.model).then(function(a){t.hide(),e.servantModal.model=e.servantModal.model.map(function(e){return e.id===a.id?a:e}),e.$tip.success(e.$t("common.success")),e.closeServantDetailModal()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.err_msg||a.message))})}},deleteServant:function(e){var t=this;this.$confirm(this.$t("serverList.servant.a"),this.$t("common.alert")).then(function(){var a=t.$Loading.show();t.$ajax.getJSON("/server/api/delete_adapter_conf",{id:e}).then(function(r){a.hide(),t.servantModal.model=t.servantModal.model.map(function(t){if(t.id!==e)return t}).filter(function(e){return e}),t.$tip.success(t.$t("common.success"))}).catch(function(e){a.hide(),t.$tip.error(t.$t("common.error")+": "+(e.err_msg||e.message))})})},showMoreCmd:function(e){var t=this;this.moreCmdModal.model={selected:"setloglevel",setloglevel:"NONE",loadconfig:"",command:"",configs:null},this.moreCmdModal.unwatch=this.$watch("moreCmdModal.model.selected",function(){t.$refs.moreCmdForm&&t.$refs.moreCmdForm.resetValid()}),this.moreCmdModal.show=!0,this.moreCmdModal.currentServer=e,this.$ajax.getJSON("/server/api/config_file_list",{level:5,application:e.application,server_name:e.server_name}).then(function(e){t.moreCmdModal.model&&(t.moreCmdModal.model.configs=e)}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.err_msg||e.message))})},sendCommand:function(e,t,a){var r=this,o=this.$Loading.show();this.$ajax.getJSON("/server/api/send_command",{server_ids:e,command:t}).then(function(e){o.hide();var t=e[0].err_msg.replace(/\n/g,"
");if(0!==e[0].ret_code)throw new Error(t);var s={title:r.$t("common.success"),message:t};a&&(s.duration=0),r.$tip.success(s)}).catch(function(e){o.hide(),r.$tip.error({title:r.$t("common.error"),message:e.err_msg||e.message})})},invokeMoreCmd:function(){var e=this.moreCmdModal.model,t=this.moreCmdModal.currentServer;"undeploy_tars"===e.selected?this.undeployServer(t.id):"setloglevel"===e.selected?this.sendCommand(t.id,"tars.setloglevel "+e.setloglevel):"loadconfig"===e.selected&&this.$refs.moreCmdForm.validate()?this.sendCommand(t.id,"tars.loadconfig "+e.loadconfig):"command"===e.selected&&this.$refs.moreCmdForm.validate()?this.sendCommand(t.id,e.command):"connection"===e.selected&&this.sendCommand(t.id,"tars.connection",!0)},closeMoreCmdModal:function(){this.$refs.moreCmdForm&&this.$refs.moreCmdForm.resetValid(),this.moreCmdModal.unwatch&&this.moreCmdModal.unwatch(),this.moreCmdModal.show=!1,this.moreCmdModal.model=null},handleNoPublishedTime:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$t("pub.dlg.unpublished");return"0000:00:00 00:00:00"===e?t:e}},created:function(){this.serverData=this.$parent.getServerData()},mounted:function(){this.getServerList(),this.getServerNotifyList(1)}},Pe={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_server_manage"},[e.serverList?a("let-table",{ref:"serverListLoading",attrs:{data:e.serverList,title:e.$t("serverList.title.serverList"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{scopedSlots:e._u([{key:"head",fn:function(t){return[a("let-checkbox",{attrs:{value:e.isCheckedAll,change:e.checkedAllChange},model:{value:e.isCheckedAll,callback:function(t){e.isCheckedAll=t},expression:"isCheckedAll"}})]}},{key:"default",fn:function(t){return[a("let-checkbox",{attrs:{value:t.row.id},model:{value:t.row.isChecked,callback:function(a){e.$set(t.row,"isChecked",a)},expression:"scope.row.isChecked"}})]}}],null,!1,2423312602)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.group"),prop:"group_name"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row.group_name;return[e._v(e._s(/.*?(\d+)$/.exec(a)[1]))]}}],null,!1,1174827465)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.service"),prop:"server_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.ip"),prop:"node_name",width:"125px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.zb"),width:"45px"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row.server_type;return["M"===r?a("span",[e._v(e._s(e.$t("cache.mainEngine")))]):"S"===r?a("span",[e._v(e._s(e.$t("cache.standByEngine")))]):"I"===r?a("span",[e._v(e._s(e.$t("cache.mirror")))]):e._e()]}}],null,!1,888927167)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.routerPageNo"),prop:"routerPageNo",width:"65px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.configStatus"),width:"65px"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"===e.row.setting_state?"status-active":"status-off"})]}}],null,!1,3224184510)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.currStatus"),width:"65px"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"===e.row.present_state?"status-active":"activating"===e.row.present_state?"status-activating":"status-off"})]}}],null,!1,4116932289)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.processID"),prop:"process_id",width:"65px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.version"),prop:"patch_version",width:"45px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.time")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{"white-space":"nowrap"}},[e._v(e._s(e.handleNoPublishedTime(t.row.patch_time)))])]}}],null,!1,453975453)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"260px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.configServer(t.row.id)}}},[e._v(e._s(e.$t("operate.update")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.restartServer(t.row.id)}}},[e._v(e._s(e.$t("operate.restart")))]),e._v(" "),a("let-table-operation",{staticClass:"danger",on:{click:function(a){return e.stopServer(t.row.id)}}},[e._v(e._s(e.$t("operate.stop"))+"\n ")]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.manageServant(t.row)}}},[e._v(e._s(e.$t("operate.servant")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.showMoreCmd(t.row)}}},[e._v(e._s(e.$t("operate.more")))])]}}],null,!1,278977735)}),e._v(" "),a("template",{slot:"operations"},[a("let-button",{attrs:{theme:"primary"},on:{click:e.expandHandler}},[e._v(e._s(e.$t("dcache.expand")))]),e._v(" "),a("let-button",{attrs:{theme:"primary",disabled:!e.hasCheckedServer},on:{click:e.shrinkageHandler}},[e._v(e._s(e.$t("dcache.Shrinkage"))+"\n ")]),e._v(" "),a("let-button",{attrs:{theme:"primary",disabled:!e.hasCheckedServer},on:{click:e.serverMigrationHandler}},[e._v("\n "+e._s(e.$t("dcache.serverMigration"))+"\n ")]),e._v(" "),e.serverList.length?a("non-server-migration",{attrs:{disabled:!e.hasCheckedServer,"expand-servers":e.serverList}}):e._e(),e._v(" "),a("let-button",{attrs:{theme:"primary",disabled:!e.hasCheckedServer},on:{click:e.switchHandler}},[e._v(e._s(e.$t("dcache.switch"))+"\n ")]),e._v(" "),a("offline",{attrs:{disabled:!e.hasCheckedServer,"server-list":e.serverList},on:{"success-fn":e.getServerList}}),e._v(" "),a("batch-publish",{attrs:{disabled:!e.hasCheckedServer,"checked-servers":e.checkedServers},on:{"success-fn":e.getServerList}}),e._v(" "),a("batch-operation",{attrs:{disabled:!e.hasCheckedServer,"checked-servers":e.checkedServers,type:"restart"},on:{"success-fn":e.getServerList}}),e._v(" "),a("batch-operation",{attrs:{disabled:!e.hasCheckedServer,"checked-servers":e.checkedServers,type:"stop"},on:{"success-fn":e.getServerList}})],1)],2):e._e(),e._v(" "),e.serverNotifyList&&e.showOthers?a("let-table",{ref:"serverNotifyListLoading",attrs:{data:e.serverNotifyList,title:e.$t("serverList.title.serverStatus"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("common.time"),prop:"notifytime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.serviceID"),prop:"server_id"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.threadID"),prop:"thread_id"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.result"),prop:"result"}})],1):e._e(),e._v(" "),a("let-modal",{attrs:{title:e.$t("serverList.dlg.title.editService"),width:"800px",footShow:!(!e.configModal.model||!e.configModal.model.server_name)},on:{"on-confirm":e.saveConfig,close:e.closeConfigModal,"on-cancel":e.closeConfigModal},model:{value:e.configModal.show,callback:function(t){e.$set(e.configModal,"show",t)},expression:"configModal.show"}},[e.configModal.model&&e.configModal.model.server_name?a("let-form",{ref:"configForm",staticClass:"two-columns",attrs:{itemWidth:"360px",columns:2}},[a("let-form-item",{attrs:{label:e.$t("common.service")}},[e._v(e._s(e.configModal.model.server_name))]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.ip")}},[e._v(e._s(e.configModal.model.node_name))]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.isBackup"),required:""}},[a("let-radio-group",{attrs:{size:"small",data:[{value:!0,text:e.$t("common.yes")},{value:!1,text:e.$t("common.no")}]},model:{value:e.configModal.model.bak_flag,callback:function(t){e.$set(e.configModal.model,"bak_flag",t)},expression:"configModal.model.bak_flag"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.template"),required:""}},[e.configModal.model.templates&&e.configModal.model.templates.length?a("let-select",{attrs:{size:"small",required:""},model:{value:e.configModal.model.template_name,callback:function(t){e.$set(e.configModal.model,"template_name",t)},expression:"configModal.model.template_name"}},e._l(e.configModal.model.templates,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1):a("span",[e._v(e._s(e.configModal.model.template_name))])],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.serviceType"),required:""}},[a("let-select",{attrs:{size:"small",required:""},model:{value:e.configModal.model.server_type,callback:function(t){e.$set(e.configModal.model,"server_type",t)},expression:"configModal.model.server_type"}},e._l(e.serverTypes,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.table.th.enableSet"),required:""}},[a("let-radio-group",{attrs:{size:"small",data:[{value:!0,text:e.$t("common.enable")},{value:!1,text:e.$t("common.disable")}]},model:{value:e.configModal.model.enable_set,callback:function(t){e.$set(e.configModal.model,"enable_set",t)},expression:"configModal.model.enable_set"}})],1),e._v(" "),e.configModal.model.enable_set?a("let-form-item",{attrs:{label:e.$t("common.set.setName"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.errMsg.setName"),required:"",pattern:"^[a-z]+$","pattern-tip":e.$t("serverList.dlg.errMsg.setName")},model:{value:e.configModal.model.set_name,callback:function(t){e.$set(e.configModal.model,"set_name",t)},expression:"configModal.model.set_name"}})],1):e._e(),e._v(" "),e.configModal.model.enable_set?a("let-form-item",{attrs:{label:e.$t("common.set.setArea"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.errMsg.setArea"),required:"",pattern:"^[a-z]+$","pattern-tip":e.$t("serverList.dlg.errMsg.setArea")},model:{value:e.configModal.model.set_area,callback:function(t){e.$set(e.configModal.model,"set_area",t)},expression:"configModal.model.set_area"}})],1):e._e(),e._v(" "),e.configModal.model.enable_set?a("let-form-item",{attrs:{label:e.$t("common.set.setGroup"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.errMsg.setGroup"),required:"",pattern:"^[0-9\\*]+$","pattern-tip":e.$t("serverList.dlg.errMsg.setGroup")},model:{value:e.configModal.model.set_group,callback:function(t){e.$set(e.configModal.model,"set_group",t)},expression:"configModal.model.set_group"}})],1):e._e(),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.asyncThread"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.placeholder.thread"),required:"",pattern:"tars_nodejs"===e.configModal.model.server_type?"^[1-9][0-9]*$":"^([3-9]|[1-9][0-9]+)$","pattern-tip":"$t('serverList.dlg.placeholder.thread')"},model:{value:e.configModal.model.async_thread_num,callback:function(t){e.$set(e.configModal.model,"async_thread_num",t)},expression:"configModal.model.async_thread_num"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.defaultPath")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.base_path,callback:function(t){e.$set(e.configModal.model,"base_path",t)},expression:"configModal.model.base_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.exePath")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.exe_path,callback:function(t){e.$set(e.configModal.model,"exe_path",t)},expression:"configModal.model.exe_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.startScript")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.start_script_path,callback:function(t){e.$set(e.configModal.model,"start_script_path",t)},expression:"configModal.model.start_script_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.stopScript")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.stop_script_path,callback:function(t){e.$set(e.configModal.model,"stop_script_path",t)},expression:"configModal.model.stop_script_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.monitorScript"),itemWidth:"724px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.monitor_script_path,callback:function(t){e.$set(e.configModal.model,"monitor_script_path",t)},expression:"configModal.model.monitor_script_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.privateTemplate"),labelWidth:"150px",itemWidth:"724px"}},[a("let-input",{attrs:{size:"large",type:"textarea",rows:4},model:{value:e.configModal.model.profile,callback:function(t){e.$set(e.configModal.model,"profile",t)},expression:"configModal.model.profile"}})],1)],1):a("div",{ref:"configFormLoading",staticClass:"loading-placeholder"})],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("serverList.table.servant.title"),width:"1200px",footShow:!1},on:{close:e.closeServantModal},model:{value:e.servantModal.show,callback:function(t){e.$set(e.servantModal,"show",t)},expression:"servantModal.show"}},[a("let-button",{staticClass:"tbm16",attrs:{size:"small",theme:"primary"},on:{click:function(t){return e.configServant()}}},[e._v(e._s(e.$t("operate.add"))+" Servant\n ")]),e._v(" "),e.servantModal.model?a("let-table",{attrs:{data:e.servantModal.model,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("operate.servant"),prop:"servant"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.adress"),prop:"endpoint"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.thread"),prop:"thread_num"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.maxConnecttions"),prop:"max_connections"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.maxQueue"),prop:"queuecap"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.timeout"),prop:"queuetimeout"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"90px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.configServant(t.row.id)}}},[e._v(e._s(e.$t("operate.update")))]),e._v(" "),a("let-table-operation",{staticClass:"danger",on:{click:function(a){return e.deleteServant(t.row.id)}}},[e._v(e._s(e.$t("operate.delete"))+"\n ")])]}}],null,!1,3434649609)})],1):a("div",{ref:"servantModalLoading",staticClass:"loading-placeholder"})],1),e._v(" "),a("let-modal",{attrs:{title:e.servantDetailModal.isNew?e.$t("operate.title.add")+" Servant":e.$t("operate.title.update")+" Servant",width:"800px",footShow:!!e.servantDetailModal.model},on:{"on-confirm":e.saveServantDetail,close:e.closeServantDetailModal,"on-cancel":e.closeServantDetailModal},model:{value:e.servantDetailModal.show,callback:function(t){e.$set(e.servantDetailModal,"show",t)},expression:"servantDetailModal.show"}},[e.servantDetailModal.model?a("let-form",{ref:"servantDetailForm",staticClass:"two-columns",attrs:{itemWidth:"360px",columns:2}},[a("let-form-item",{attrs:{label:e.$t("serverList.servant.appService"),itemWidth:"724px"}},[a("span",[e._v(e._s(e.servantDetailModal.model.application)+"·"+e._s(e.servantDetailModal.model.server_name))])]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.objName"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.servant.c"),required:"",pattern:"^[A-Za-z]+$","pattern-tip":e.$t("serverList.servant.obj")},model:{value:e.servantDetailModal.model.obj_name,callback:function(t){e.$set(e.servantDetailModal.model,"obj_name",t)},expression:"servantDetailModal.model.obj_name"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.numOfThread"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.servant.thread"),required:"",pattern:"^[1-9][0-9]*$","pattern-tip":e.$t("serverList.servant.thread")},model:{value:e.servantDetailModal.model.thread_num,callback:function(t){e.$set(e.servantDetailModal.model,"thread_num",t)},expression:"servantDetailModal.model.thread_num"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.table.servant.adress"),required:"",itemWidth:"724px"}},[a("let-input",{ref:"endpoint",attrs:{size:"small",placeholder:"tcp -h 127.0.0.1 -t 60000 -p 12000",required:"",extraTip:e.isEndpointValid?"":e.$t("serverList.servant.error")},model:{value:e.servantDetailModal.model.endpoint,callback:function(t){e.$set(e.servantDetailModal.model,"endpoint",t)},expression:"servantDetailModal.model.endpoint"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.maxConnecttions"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.max_connections,callback:function(t){e.$set(e.servantDetailModal.model,"max_connections",t)},expression:"servantDetailModal.model.max_connections"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.lengthOfQueue"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.queuecap,callback:function(t){e.$set(e.servantDetailModal.model,"queuecap",t)},expression:"servantDetailModal.model.queuecap"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.queueTimeout"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.queuetimeout,callback:function(t){e.$set(e.servantDetailModal.model,"queuetimeout",t)},expression:"servantDetailModal.model.queuetimeout"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.allowIP")}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.allow_ip,callback:function(t){e.$set(e.servantDetailModal.model,"allow_ip",t)},expression:"servantDetailModal.model.allow_ip"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.protocol"),required:""}},[a("let-radio-group",{attrs:{size:"small",data:[{value:"tars",text:"TARS"},{value:"not_tars",text:e.$t("serverList.servant.notTARS")}]},model:{value:e.servantDetailModal.model.protocol,callback:function(t){e.$set(e.servantDetailModal.model,"protocol",t)},expression:"servantDetailModal.model.protocol"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.treatmentGroup"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.handlegroup,callback:function(t){e.$set(e.servantDetailModal.model,"handlegroup",t)},expression:"servantDetailModal.model.handlegroup"}})],1)],1):e._e()],1),e._v(" "),a("let-modal",{staticClass:"more-cmd",attrs:{title:e.$t("operate.title.more"),width:"700px"},on:{"on-confirm":e.invokeMoreCmd,close:e.closeMoreCmdModal,"on-cancel":e.closeMoreCmdModal},model:{value:e.moreCmdModal.show,callback:function(t){e.$set(e.moreCmdModal,"show",t)},expression:"moreCmdModal.show"}},[e.moreCmdModal.model?a("let-form",{ref:"moreCmdForm"},[a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"setloglevel"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.logLevel"))+"\n ")]),e._v(" "),a("let-select",{attrs:{size:"small",disabled:"setloglevel"!==e.moreCmdModal.model.selected},model:{value:e.moreCmdModal.model.setloglevel,callback:function(t){e.$set(e.moreCmdModal.model,"setloglevel",t)},expression:"moreCmdModal.model.setloglevel"}},e._l(e.logLevels,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1)],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"loadconfig"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.pushFile"))+"\n ")]),e._v(" "),a("let-select",{attrs:{size:"small",placeholder:e.moreCmdModal.model.configs&&e.moreCmdModal.model.configs.length?e.$t("pub.dlg.defaultValue"):e.$t("pub.dlg.noConfFile"),disabled:!(e.moreCmdModal.model.configs&&e.moreCmdModal.model.configs.length)||"loadconfig"!==e.moreCmdModal.model.selected,required:"loadconfig"===e.moreCmdModal.model.selected},model:{value:e.moreCmdModal.model.loadconfig,callback:function(t){e.$set(e.moreCmdModal.model,"loadconfig",t)},expression:"moreCmdModal.model.loadconfig"}},e._l(e.moreCmdModal.model.configs,function(t){return a("let-option",{key:t.filename,attrs:{value:t.filename}},[e._v(e._s(t.filename)+"\n ")])}),1)],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"command"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.sendCommand"))+"\n ")]),e._v(" "),a("let-input",{attrs:{size:"small",disabled:"command"!==e.moreCmdModal.model.selected,required:"command"===e.moreCmdModal.model.selected},model:{value:e.moreCmdModal.model.command,callback:function(t){e.$set(e.moreCmdModal.model,"command",t)},expression:"moreCmdModal.model.command"}})],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"connection"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.serviceLink"))+"\n ")])],1)],1):e._e()],1),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!1,width:"1000px",title:e.$t("dcache.expand")},model:{value:e.expandShow,callback:function(t){e.expandShow=t},expression:"expandShow"}},[e.expandShow?a("Expand",{attrs:{"expand-servers":e.lastGroupServers},on:{close:e.expandCloseHandler}}):e._e()],1),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!1,width:"1000px",title:e.$t("dcache.serverMigration")},model:{value:e.serverMigrationShow,callback:function(t){e.serverMigrationShow=t},expression:"serverMigrationShow"}},[e.serverMigrationShow?a("server-migration",{attrs:{"check-src-group-name":e.checkSrcGroupName,"expand-servers":e.lastGroupServers},on:{close:e.serverMigrationCloseHandler}}):e._e()],1)],1)},staticRenderFns:[]};var Re=a("VU/8")(Fe,Pe,!1,function(e){a("RN9H")},null,null).exports,Oe=a("fZjL"),Ie=a.n(Oe),je=a("Tx4S"),Ee=a("q2c9"),ze=a("CeRa"),Ve={name:"ServerPropertyMonitor",components:{HoursFilter:Ee.a,CompareChart:ze.a},data:function(){var e=this.$route.params.treeid;return{query:{thedate:Object(je.b)(new Date,"YYYYMMDD"),predate:Object(je.b)(Date.now()-je.a,"YYYYMMDD"),startshowtime:"0000",endshowtime:"2360",moduleName:e.split(".")[1].substr(1),serverName:""},formatter:"YYYYMMDD",allItems:[],hour:-1,page:1,showChart:!0,keys:[]}},computed:{filteredItems:function(){var e=this.hour;return e>=0?this.allItems.filter(function(t){return+t.show_time.slice(0,2)===e}):this.allItems},itemsCount:function(){return this.filteredItems.length},pageCount:function(){return Math.ceil(this.filteredItems.length/20)},pagedItems:function(){return this.filteredItems.slice(20*(this.page-1),20*this.page)},chartOptions:function(){return{title:this.$t("monitor.table.total"),timeColumn:"show_time",dataColumns:[{name:"the_value",label:this.$t("monitor.property.property")},{name:"pre_value",label:this.$t("monitor.property.propertyC")}],data:this.allItems}},charts:function(){var e=this;return this.keys.map(function(t){return{title:t,timeColumn:"show_time",dataColumns:[{name:"the_"+t,label:e.$t("monitor.table.curr")},{name:"pre_"+t,label:e.$t("monitor.table.contrast")}],data:e.allItems}})}},mounted:function(){this.fetchData()},methods:{fetchData:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n,i,l,c,d,u;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.$refs.charts&&e.$refs.charts.$loading.show(),r=e.$refs.table.$loading.show(),t.prev=2,o=e.query,s=e.query,n=s.group_by,i=s.serverName,l=S()({},o),"serverName"===n&&""===i&&(l=S()({},l,{serverName:"*"})),t.next=8,X(l);case 8:c=t.sent,d=c.data,u=c.keys,e.allItems=d,e.keys=u,t.next=19;break;case 15:t.prev=15,t.t0=t.catch(2),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 19:return t.prev=19,a&&a.hide(),r.hide(),t.finish(19);case 23:case"end":return t.stop()}},t,e,[[2,15,19,23]])}))()},groupBy:function(e){this.query.group_by=e,this.showChart=!1,this.fetchData()},search:function(){delete this.query.group_by,this.showChart=!0,this.fetchData()},changePage:function(e){this.page=e}}},Ge={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_server_property_monitor"},[a("let-form",{attrs:{inline:"",itemWidth:"200px"},nativeOn:{submit:function(t){return t.preventDefault(),e.search(t)}}},[a("let-form-group",[a("let-form-item",{attrs:{label:e.$t("monitor.search.a")}},[a("let-date-picker",{attrs:{size:"small",formatter:e.formatter},model:{value:e.query.thedate,callback:function(t){e.$set(e.query,"thedate",t)},expression:"query.thedate"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("monitor.search.b")}},[a("let-date-picker",{attrs:{size:"small",formatter:e.formatter},model:{value:e.query.predate,callback:function(t){e.$set(e.query,"predate",t)},expression:"query.predate"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("monitor.search.start")}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.startshowtime,callback:function(t){e.$set(e.query,"startshowtime",t)},expression:"query.startshowtime"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("monitor.search.end")}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.endshowtime,callback:function(t){e.$set(e.query,"endshowtime",t)},expression:"query.endshowtime"}})],1)],1),e._v(" "),a("let-form-group",[a("tars-form-item",{attrs:{label:e.$t("module.name")},on:{onLabelClick:function(t){return e.groupBy("moduleName")}}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.moduleName,callback:function(t){e.$set(e.query,"moduleName",t)},expression:"query.moduleName"}})],1),e._v(" "),a("tars-form-item",{attrs:{label:e.$t("service.serverName")},on:{onLabelClick:function(t){return e.groupBy("serverName")}}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.serverName,callback:function(t){e.$set(e.query,"serverName",t)},expression:"query.serverName"}})],1),e._v(" "),a("let-form-item",[a("let-button",{attrs:{size:"small",type:"submit",theme:"primary"}},[e._v(e._s(e.$t("operate.search")))])],1)],1)],1),e._v(" "),e.showChart?a("let-row",{ref:"charts",staticClass:"charts"},e._l(e.charts,function(t){return a("let-col",{key:t.title,attrs:{span:12}},[e.allItems.length>0?a("compare-chart",e._b({},"compare-chart",t,!1)):e._e()],1)}),1):e._e(),e._v(" "),a("hours-filter",{model:{value:e.hour,callback:function(t){e.hour=t},expression:"hour"}}),e._v(" "),a("div",{staticStyle:{width:"1200px","overflow-x":"auto","padding-bottom":"20px"}},[a("let-table",{ref:"table",attrs:{data:e.pagedItems,"empty-msg":e.$t("common.nodata"),stripe:""}},[a("let-table-column",{attrs:{title:e.$t("common.time"),prop:"show_time",width:"80px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.name"),prop:"moduleName",width:""}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"serverName",width:"150px"}}),e._v(" "),e._l(e.keys,function(t){return[a("let-table-column",{attrs:{title:e.$t("monitor.table.curr")+" "+t,prop:"the_"+t}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.table.contrast")+" "+t,prop:"pre_"+t}})]}),e._v(" "),e.pageCount?a("let-pagination",{attrs:{slot:"pagination",total:e.pageCount,page:e.page,sum:e.itemsCount,"show-sums":"",jump:""},on:{change:e.changePage},slot:"pagination"}):e._e()],2)],1)],1)},staticRenderFns:[]};var We=a("VU/8")(Ve,Ge,!1,function(e){a("JeDk")},null,null).exports,Je={name:"ServerPublish",data:function(){return{serverType:this.$route.params.serverType||"tars",activeKey:"",treeData:[],totalServerList:[],serverList:[],isCheckedAll:!1,totalPage:0,pageSize:20,page:1,publishModal:{publishId:null,show:!1,model:null,module_name:"",application:"",totalPatchPage:0,patchPageSize:10,patchPage:1},finishModal:{show:!1,model:{task_no:"",items:[]}},statusConfig:{0:this.$t("serverList.restart.notStart"),1:this.$t("serverList.restart.running"),2:this.$t("serverList.restart.success"),3:this.$t("serverList.restart.failed"),4:this.$t("serverList.restart.cancel"),5:this.$t("serverList.restart.parial")},statusMap:{0:"EM_T_NOT_START",1:"EM_T_RUNNING",2:"EM_T_SUCCESS",3:"EM_T_FAILED",4:"EM_T_CANCEL",5:"EM_T_PARIAL"},showHistory:!1,startTime:"",endTime:"",totalHistoryList:[],historyList:[],historyTotalPage:0,historyPage:1,historyPageSize:20,taskModal:{show:!1,modal:!0},uploadModal:{show:!1,model:null},patchType:"patch",patchRadioData:[{value:"patch",text:this.$t("pub.dlg.upload")}],tagList:[],tagVersion:"",publishUrlConfModal:{show:!1,model:{tag:"",compiler:"",task:""}},compilerModal:{show:!1,model:null},pkgUpload:{show:!1,model:null}}},methods:{getCompileConf:function(){var e=this;this.$ajax.getJSON("/server/api/get_compile_conf").then(function(t){t.enable&&e.patchRadioData.push({value:"compile",text:e.$t("pub.dlg.compileAndPublish")})}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},getServerList:function(){var e=this,t=this.$Loading.show();this.$ajax.getJSON("/server/api/server_list",{tree_node_id:this.$route.params.treeid}).then(function(a){t.hide();var r=a||[];r.forEach(function(e){e.isChecked=!1}),e.totalServerList=r,e.totalPage=Math.ceil(e.totalServerList.length/e.pageSize),e.page=1,e.updateServerList()}).catch(function(a){t.hide(),e.$confirm(a.err_msg||a.message||e.$t("serverList.table.msg.fail")).then(function(){e.getServerList()})})},changePage:function(e){this.page=e},openPublishModal:function(){var e=this,t=this.serverList.filter(function(e){return e.isChecked});if(t.length<=0)this.$tip.warning(this.$t("pub.dlg.a"));else{var a=t[0];this.publishModal.publishId=null,this.publishModal.model={application:a.application,server_name:a.server_name,serverList:t,patchList:[],patch_id:"",update_text:"",show:!0};var r=this.serverType,o=a.server_name;"router"==r?o="RouterServer":"proxy"==r?o="ProxyServer":"dcache"==r&&(o="DCacheServerGroup"),this.publishModal.module_name=o,this.publishModal.application=a.application,this.publishModal.patchPage=1,this.publishModal.patchPageSize=5,this.getPatchList(a.application,o,1,5).then(function(t){e.publishModal.model.patchList=t.rows,e.publishModal.totalPatchPage=Math.ceil(t.count/5),e.publishModal.show=!0})}},patchChangePage:function(e){var t=this;this.publishModal.patchPage=e;var a=this.publishModal,r=a.module_name,o=a.application,s=a.patchPage,n=a.patchPageSize;this.getPatchList(o,r,s,n).then(function(e){t.publishModal.model.patchList=e.rows,t.publishModal.totalPatchPage=Math.ceil(e.count/n)})},getPatchList:function(e,t,a,r){return this.$ajax.getJSON("/server/api/server_patch_list",{application:e,module_name:t,curr_page:a,page_size:r})},closePublishModal:function(){this.publishModal.show=!1,this.publishModal.modal=null,this.patchType="patch",this.$refs.publishForm.resetValid()},savePublishServer:function(){var e=this;if(this.$refs.publishForm.validate()){var t=[],a="tars"===this.serverType?this.publishModal.model.patch_id.toString():this.publishModal.publishId;if(!a)return this.$tip.warning(this.$t("pub.dlg.ab"));var r=this.serverType,o="";"router"==r?o="RouterServer":"proxy"==r?o="ProxyServer":"dcache"==r&&(o="DCacheServerGroup"),this.publishModal.model.serverList.forEach(function(r){t.push({server_id:r.id.toString(),command:"patch_tars",parameters:{patch_id:a,bak_flag:r.bak_flag,update_text:e.publishModal.model.update_text,group_name:o}})});var s=this.$Loading.show();this.$ajax.postJSON("/server/api/add_task",{serial:!0,items:t}).then(function(t){s.hide(),e.closePublishModal(),e.finishModal.model.task_no=t,e.finishModal.show=!0,e.getTaskRepeat(t)}).catch(function(t){s.hide(),e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})}},closeFinishModal:function(){this.finishModal.show=!1,this.finishModal.modal=null,this.$refs.finishForm.resetValid()},getTaskRepeat:function(e){var t=this,a=void 0;a&&clearTimeout(a);!function r(){t.$ajax.getJSON("/server/api/task",{task_no:e}).then(function(e){var o=!0;e.items.forEach(function(e){[2,3].includes(e.status)||(o=!1)}),o?clearTimeout(a):a=setTimeout(r,2e3),t.finishModal.model.items=e.items}).catch(function(e){clearTimeout(a),t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})}()},updateServerList:function(){var e=(this.page-1)*this.pageSize,t=this.page*this.pageSize;this.serverList=this.totalServerList.slice(e,t)},gotoHistory:function(){this.showHistory=!0,this.getHistoryList(1)},getHistoryList:function(e){var t=this;"number"!=typeof e&&(e=1);var a=this.$Loading.show(),r={application:this.serverList[0].application||"",server_name:this.serverList[0].server_name||"",from:this.startTime,to:this.endTime,page_size:this.historyPageSize,curr_page:e};this.historyPage=e,this.$ajax.getJSON("/server/api/task_list",r).then(function(e){a.hide(),t.totalHistoryList=e.rows||[],t.historyTotalPage=Math.ceil(e.count/t.historyPageSize)}).catch(function(e){a.hide(),t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})},viewTask:function(e){var t=this;this.$ajax.getJSON("/server/api/task",{task_no:e}).then(function(e){t.taskModal.model=e,t.taskModal.show=!0})},changeHistoryPage:function(e){this.getHistoryList(e)},showUploadModal:function(){this.serverList.length<=0&&this.$tip.warning(this.$t("pub.dlg.a")),this.uploadModal.model={application:this.serverList[0].application||"",server_name:this.serverList[0].server_name||"",file:null,comment:""},this.uploadModal.show=!0},closeUploadModal:function(){this.uploadModal.show=!1,this.uploadModal.model=null,this.$refs.uploadForm.resetValid()},uploadFile:function(e){this.uploadModal.model.file=e},uploadPatchPackage:function(){var e=this;if(this.$refs.uploadForm.validate()){var t=this.$Loading.show(),a=new FormData;a.append("application",this.uploadModal.model.application),a.append("module_name",this.uploadModal.model.server_name),a.append("suse",this.uploadModal.model.file),a.append("comment",this.uploadModal.model.comment),a.append("task_id",(new Date).getTime()),this.$ajax.postForm("/server/api/upload_patch_package",a).then(function(){e.getPatchList(e.uploadModal.model.application,e.uploadModal.model.server_name,1,50).then(function(a){t.hide(),e.publishModal.model.patchList=a.rows,e.closeUploadModal()})}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.message||a.err_msg))})}},handleNoPublishedTime:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$t("pub.dlg.unpublished");return"0000:00:00 00:00:00"===e?t:e},patchChange:function(){"patch"==this.patchType?this.publishModal.model.show=!0:(this.publishModal.model.show=!1,this.getCodeVersion())},getCodeVersion:function(){var e=this;this.$ajax.get("/server/api/get_tag_list",{application:this.publishModal.model.application,server_name:this.publishModal.model.server_name}).then(function(t){""==t.data?e.openPubConfModal():e.tagList=t.data}).catch(function(t){e.tagList=[],e.$tip.error(e.$t("common.error")+": "+(err.err_msg||err.message))})},openPubConfModal:function(){var e=this;this.publishUrlConfModal.show=!0,this.$ajax.getJSON("/server/api/get_tag_conf",{application:this.publishModal.model.application,server_name:this.publishModal.model.server_name}).then(function(t){e.publishUrlConfModal.model.tag=t.path}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.err_msg||t.message))})},saveCompilerUrl:function(){var e=this;if(this.$refs.compilerForm.validate()){var t=this.$Loading.show();this.$ajax.getJSON("/server/api/set_tag_conf",{path:this.publishUrlConfModal.model.tag,application:this.publishModal.model.application,server_name:this.publishModal.model.server_name}).then(function(a){t.hide(),e.$tip.success(e.$t("common.success")),e.publishUrlConfModal.show=!1,e.getCodeVersion()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.err_msg||a.message))})}},addCompileTask:function(){var e=this;this.$ajax.getJSON("/server/api/get_compile_conf").then(function(t){var a=t.getVersionList;if(a){var r=e.publishModal.model.serverList.map(function(e){return e.node_name}),o={application:e.publishModal.model.application,server_name:e.publishModal.model.server_name,node:r.join(";"),path:e.tagVersion.split("--")[0],version:e.tagVersion.split("--")[1],comment:e.publishModal.model.update_text||"",compileUrl:a},s=e.$Loading.show();e.$ajax.postJSON("/server/api/do_compile",o).then(function(t){s.hide(),e.compilerModal.show=!0;var a="string"==typeof t?t:t.data;e.getStatus(a)}).catch(function(t){s.hide(),e.$tip.error(e.$t("common.error")+": "+(t.err_msg||t.message))})}else e.openPubConfModal()}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.err_msg||t.message))})},taskStatus:function(e){this.getStatus(e)},getStatus:function(e){var t=this;!function a(){var r=null;r&&clearTimeout(r),t.$ajax.getJSON("/server/api/compiler_task",{taskNo:e}).then(function(o){var s="array"==typeof o?o:o.data;if(s[0].status=t.statusConfig[s[0].state],1==s[0].state&&(r=setTimeout(a,2e3)),t.compilerModal.model?_()(t.compilerModal.model,{progress:s}):t.compilerModal.model={progress:s},2==s[0].state){var n=t.$Loading({text:"回传发布包"});n.show(),t.compilerModal.show=!1,setTimeout(function a(){t.$ajax.getJSON("/server/api/get_server_patch",{task_id:e}).then(function(e){0!==Ie()(e).length?(n.hide(),t.publishModal.model.patch_id=e.id,t.publishModal.show=!1,t.savePublishServer()):setTimeout(a,2e3)}).catch(function(e){n.hide(),t.$tip.error(t.$t("common.error")+": "+(e.err_msg||e.message))})},2e3)}}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.err_msg||e.message))})}()}},mounted:function(){this.getServerList(),this.getCompileConf()},watch:{isCheckedAll:function(){var e=this.isCheckedAll;this.serverList.forEach(function(t){t.isChecked=e})},page:function(){this.updateServerList()}}},Be={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_server_publish"},[e.showHistory?e._e():a("div",[e.serverList&&e.serverList.length>0?a("let-table",{ref:"table",attrs:{data:e.serverList,title:e.$t("serverList.title.serverList"),"empty-msg":e.$t("common.noService")}},[a("let-table-column",{scopedSlots:e._u([{key:"head",fn:function(t){return[a("let-checkbox",{model:{value:e.isCheckedAll,callback:function(t){e.isCheckedAll=t},expression:"isCheckedAll"}})]}},{key:"default",fn:function(t){return[a("let-checkbox",{attrs:{value:t.row.id},model:{value:t.row.isChecked,callback:function(a){e.$set(t.row,"isChecked",a)},expression:"scope.row.isChecked"}})]}}],null,!1,1693185143)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.ip"),prop:"node_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.enableSet")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.enable_set?e.$t("common.enable"):e.$t("common.disable")))])]}}],null,!1,2059146282)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("common.set.setName"),prop:"set_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("common.set.setArea"),prop:"set_area"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("common.set.setGroup"),prop:"set_group"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.configStatus")},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"==e.row.setting_state?"status-active":"status-off"})]}}],null,!1,483453731)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.currStatus")},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"==e.row.present_state?"status-active":"status-off"})]}}],null,!1,3783586142)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.version"),prop:"patch_version"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.time")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{"word-break":"break-word"}},[e._v(e._s(e.handleNoPublishedTime(t.row.patch_time)))])]}}],null,!1,3144837894)}),e._v(" "),a("let-pagination",{attrs:{slot:"pagination",align:"right",total:e.totalPage,page:e.page},on:{change:e.changePage},slot:"pagination"}),e._v(" "),a("div",{staticStyle:{"margin-left":"-15px"},attrs:{slot:"operations"},slot:"operations"},[a("let-button",{attrs:{theme:"primary",size:"small"},on:{click:e.openPublishModal}},[e._v(e._s(e.$t("pub.btn.pub")))]),e._v(" "),e.serverList&&e.serverList.length>0?a("let-button",{attrs:{size:"small"},on:{click:e.gotoHistory}},[e._v("\n "+e._s(e.$t("pub.btn.history"))+"\n ")]):e._e()],1)],1):e._e(),e._v(" "),a("let-modal",{attrs:{title:e.$t("index.rightView.tab.patch"),width:"880px",footShow:!1},on:{close:e.closePublishModal,"on-confirm":e.savePublishServer},model:{value:e.publishModal.show,callback:function(t){e.$set(e.publishModal,"show",t)},expression:"publishModal.show"}},[e.publishModal.model?a("let-form",{ref:"publishForm",attrs:{itemWidth:"100%"}},[a("let-form-item",{attrs:{label:e.$t("serverList.servant.appService")}},[e._v("\n "+e._s(e.publishModal.model.application)+"·"+e._s(e.publishModal.model.server_name)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("pub.dlg.ip")}},e._l(e.publishModal.model.serverList,function(t){return a("div",{key:t.id},[e._v(e._s(t.node_name))])}),0),e._v(" "),"tars"==e.serverType?a("let-form-item",{attrs:{label:e.$t("serverList.servant.comment")}},[a("let-input",{model:{value:e.publishModal.model.update_text,callback:function(t){e.$set(e.publishModal.model,"update_text",t)},expression:"publishModal.model.update_text"}})],1):e._e(),e._v(" "),e.patchRadioData.length>1?a("let-form-item",{attrs:{label:e.$t("pub.dlg.patchType")}},[a("let-radio-group",{attrs:{type:"button",size:"small",data:e.patchRadioData},on:{change:e.patchChange},model:{value:e.patchType,callback:function(t){e.patchType=t},expression:"patchType"}})],1):e._e(),e._v(" "),e.publishModal.model.show?a("let-form-item",{attrs:{label:e.$t("pub.dlg.releaseVersion")}},["tars"==e.serverType?a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("pub.dlg.ab")},model:{value:e.publishModal.model.patch_id,callback:function(t){e.$set(e.publishModal.model,"patch_id",t)},expression:"publishModal.model.patch_id"}},e._l(e.publishModal.model.patchList,function(t){return a("let-option",{key:t.id,attrs:{value:t.id}},[e._v("\n "+e._s(t.id)+" | "+e._s(t.posttime)+" | "+e._s(t.comment)+"\n ")])}),1):e._e(),e._v(" "),"tars"==e.serverType?a("let-button",{staticClass:"mt10",attrs:{theme:"primary",size:"small"},on:{click:e.showUploadModal}},[e._v("\n "+e._s(e.$t("pub.dlg.upload"))+"\n ")]):e._e(),e._v(" "),a("br"),e._v(" "),"tars"!==e.serverType?a("let-table",{attrs:{data:e.publishModal.model.patchList,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-radio",{attrs:{label:t.row.id},model:{value:e.publishModal.publishId,callback:function(t){e.$set(e.publishModal,"publishId",t)},expression:"publishModal.publishId"}},[e._v(" ")])]}}],null,!1,3748975665)}),e._v(" "),a("let-table-column",{attrs:{title:"ID",prop:"id"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.id)+"\n "),a("span",{staticStyle:{color:"green",display:"inline-block",width:"1em",height:"1em"},attrs:{title:e.$t("releasePackage.default")}},[1==t.row.default_version?a("icon",{attrs:{name:"default"}}):e._e()],1)]}}],null,!1,3749738076)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.moduleName"),prop:"server"}}),e._v(" "),"dcache"===e.serverType?a("let-table-column",{attrs:{title:e.$t("releasePackage.cacheType")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(1==t.row.package_type?"KVcache":"MKVcache"))])]}}],null,!1,1195663938)}):e._e(),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.servant.comment"),prop:"comment"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.uploadTime"),prop:"posttime"}}),e._v(" "),a("let-pagination",{attrs:{slot:"pagination",align:"right",total:e.publishModal.totalPatchPage,page:e.publishModal.patchPage},on:{change:e.patchChangePage},slot:"pagination"})],1):e._e(),e._v(" "),a("let-button",{staticClass:"mt10",attrs:{theme:"primary",size:"small"},on:{click:e.savePublishServer}},[e._v(e._s(e.$t("common.patch"))+"\n ")])],1):a("let-form-item",{attrs:{label:e.$t("serverList.table.th.version")}},[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty"),requred:""},model:{value:e.tagVersion,callback:function(t){e.tagVersion=t},expression:"tagVersion"}},e._l(e.tagList,function(t){return a("let-option",{key:""+t.version,attrs:{value:t.path+"--"+t.version}},[e._v("\n "+e._s(t.version)+"\n ")])}),1),e._v(" "),a("let-button",{staticClass:"mt10",attrs:{theme:"primary",size:"small"},on:{click:e.addCompileTask}},[e._v("\n "+e._s(e.$t("pub.dlg.compileAndPublish"))+"\n ")]),e._v(" "),e._e()],1)],1):e._e()],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("pub.dlg.upload"),width:"880px",footShow:!1},on:{"on-cancel":e.closeUploadModal},model:{value:e.uploadModal.show,callback:function(t){e.$set(e.uploadModal,"show",t)},expression:"uploadModal.show"}},[e.uploadModal.model?a("let-form",{ref:"uploadForm",attrs:{itemWidth:"100%"},nativeOn:{submit:function(t){return t.preventDefault(),e.uploadPatchPackage(t)}}},[a("let-form-item",{attrs:{label:e.$t("pub.dlg.releasePkg"),itemWidth:"400px"}},[a("let-uploader",{attrs:{placeholder:e.$t("pub.dlg.defaultValue")},on:{upload:e.uploadFile}},[e._v(e._s(e.$t("common.submit"))+"\n ")]),e._v(" "),e.uploadModal.model.file?a("span",[e._v(e._s(e.uploadModal.model.file.name))]):e._e()],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.comment")}},[a("let-input",{attrs:{type:"textarea",rows:3},model:{value:e.uploadModal.model.comment,callback:function(t){e.$set(e.uploadModal.model,"comment",t)},expression:"uploadModal.model.comment"}})],1),e._v(" "),a("let-button",{attrs:{type:"submit",theme:"primary"}},[e._v(e._s(e.$t("serverList.servant.upload")))])],1):e._e()],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("serverList.table.th.result"),width:"880px",footShow:!1},on:{"on-cancel":e.closeFinishModal},model:{value:e.finishModal.show,callback:function(t){e.$set(e.finishModal,"show",t)},expression:"finishModal.show"}},[e.finishModal.model?a("let-table",{attrs:{title:e.$t("serverList.servant.taskID")+e.finishModal.model.task_no,data:e.finishModal.model.items}},[a("let-table-column",{attrs:{title:e.$t("serverList.table.th.ip"),prop:"node_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("common.status")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-tag",{attrs:{theme:2==t.row.status?"success":3==t.row.status?"danger":"",checked:""}},[e._v("\n "+e._s(e.statusConfig[t.row.status]+(2!=t.row.status&&3!=t.row.status?"...":""))+"\n ")])]}}],null,!1,1065210608)})],1):e._e()],1)],1),e._v(" "),e.showHistory?a("div",[a("let-form",{attrs:{inline:"",itemWidth:"300px"},nativeOn:{submit:function(t){return t.preventDefault(),e.getHistoryList(t)}}},[a("let-form-item",{attrs:{label:e.$t("pub.date")}},[a("let-date-range-picker",{attrs:{start:e.startTime,end:e.endTime},on:{"update:start":function(t){e.startTime=t},"update:end":function(t){e.endTime=t}}})],1),e._v(" "),a("let-form-item",[a("let-button",{attrs:{type:"submit",theme:"primary"}},[e._v(e._s(e.$t("operate.search")))])],1)],1),e._v(" "),a("let-table",{ref:"historyTable",attrs:{data:e.totalHistoryList,title:e.$t("historyList.title"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("serverList.servant.taskID"),prop:"task_no"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.table.th.c2")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.serial?e.$t("common.yes"):e.$t("common.no")))])]}}],null,!1,98019885)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.dlg.title.taskStatus")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e.statusMap[t.row.status]||"-"))])]}}],null,!1,3973050033)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.table.th.c4")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.viewTask(t.row.task_no)}}},[e._v(e._s(e.$t("operate.view")))])]}}],null,!1,1853944e3)}),e._v(" "),a("let-pagination",{attrs:{slot:"pagination",align:"right",total:e.historyTotalPage,page:e.historyPage},on:{change:e.changeHistoryPage},slot:"pagination"}),e._v(" "),a("div",{staticStyle:{"margin-left":"-15px"},attrs:{slot:"operations"},slot:"operations"},[a("let-button",{attrs:{theme:"primary",size:"small"},on:{click:function(t){e.showHistory=!1}}},[e._v(e._s(e.$t("operate.goback")))])],1)],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("historyList.table.th.c4"),width:"880px",footShow:!1},on:{"on-cancel":function(t){e.taskModal.show=!1}},model:{value:e.taskModal.show,callback:function(t){e.$set(e.taskModal,"show",t)},expression:"taskModal.show"}},[e.taskModal.model?a("let-table",{attrs:{data:e.taskModal.model.items}},[a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c1"),prop:"item_no"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c2"),prop:"application"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c3"),prop:"server_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c4"),prop:"node_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c5"),prop:"command"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.search.start"),prop:"start_time"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.search.end"),prop:"end_time"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("common.status"),prop:"status_info"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c7"),prop:"execute_info"}})],1):e._e()],1)],1):e._e(),e._v(" "),a("let-modal",{attrs:{title:e.$t("pub.dlg.conf"),width:"800px",footShow:!0},on:{"on-confirm":e.saveCompilerUrl,"on-cancel":function(t){e.publishUrlConfModal.show=!1}},model:{value:e.publishUrlConfModal.show,callback:function(t){e.$set(e.publishUrlConfModal,"show",t)},expression:"publishUrlConfModal.show"}},[e.publishUrlConfModal.model?a("let-form",{ref:"compilerForm",attrs:{itemWidth:"100%",required:""}},[a("let-form-item",{attrs:{label:e.$t("pub.dlg.tag")}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("pub.tips.tag"),"required-tip":e.$t("deployService.table.tips.empty"),required:""},model:{value:e.publishUrlConfModal.model.tag,callback:function(t){e.$set(e.publishUrlConfModal.model,"tag",t)},expression:"publishUrlConfModal.model.tag"}})],1)],1):e._e()],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("pub.dlg.compileProgress"),width:"880px",footShow:!1},model:{value:e.compilerModal.show,callback:function(t){e.$set(e.compilerModal,"show",t)},expression:"compilerModal.show"}},[e.compilerModal.model?a("let-table",{attrs:{data:e.compilerModal.model.progress}},[a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c2"),prop:"application"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c3"),prop:"server_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c4"),prop:"node"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("historyList.dlg.th.c8"),prop:"status"},scopedSlots:e._u([{key:"default",fn:function(t){return["1"==t.row.state?a("span",{staticClass:"running"},[e._v(e._s(t.row.status))]):"2"==t.row.state?a("span",{staticClass:"success"},[e._v(e._s(t.row.status))]):a("span",{staticClass:"stop"},[e._v(e._s(t.row.status))])]}}],null,!1,3193835083)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.search.start"),prop:"start_time"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.search.end"),prop:"end_time"}})],1):e._e()],1)],1)},staticRenderFns:[]};var Ue=a("VU/8")(Je,Be,!1,function(e){a("+M9A")},null,null).exports,He=a("vOkX"),Ke=a("SJ4V"),Ze=a("tqp+"),Ye=a("E+Yk"),Xe=a("7x6k"),Qe={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_operation"},[a("let-tabs",{attrs:{activekey:e.$route.matched[1]?e.$route.matched[1].path:"/operation/apply"},on:{click:e.onTabClick}},[a("let-tab-pane",{attrs:{tab:e.$t("apply.title"),tabkey:"/operation/apply"}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("module.title"),tabkey:"/operation/module"}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("region.title"),tabkey:"/operation/region"}})],1),e._v(" "),a("router-view",{staticClass:"page_operation_children"})],1)},staticRenderFns:[]};var et=a("VU/8")({name:"Oparetion",methods:{onTabClick:function(e){this.$router.replace(e)}}},Qe,!1,function(e){a("8bu2")},null,null).exports,tt={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_operation_apply"},[a("let-steps",{staticClass:"apply_steps",attrs:{current:e.step}},[a("let-step",{attrs:{title:e.$t(e.title1)}}),e._v(" "),a("let-step",{attrs:{title:e.$t(e.title2)}}),e._v(" "),a("let-step",{attrs:{title:e.$t(e.title3)}})],1),e._v(" "),a("router-view",{staticClass:"page_operation_apply_children"})],1)},staticRenderFns:[]};var at=a("VU/8")({data:function(){var e=this.$route.fullPath,t=1;return e.indexOf("createApply")>-1?t=1:e.indexOf("createService")>-1?t=2:e.indexOf("installAndPublish")>-1&&(t=3),{title1:"apply.createApply",title2:"apply.createRouterProxyService",title3:"apply.installAndPublish",step:t}},watch:{$route:function(e,t){var a=e.fullPath;a.indexOf("createApply")>-1?this.step=1:a.indexOf("createService")>-1?this.step=2:a.indexOf("installAndPublish")>-1&&(this.step=3)}},methods:{}},tt,!1,function(e){a("1Ggf")},null,null).exports,rt={data:function(){return{regions:[],setRegions:[],model:{name:"",admin:"",idcArea:"",setArea:[]}}},methods:{changeSelect:function(){var e=this;this.model.setArea=[];var t=this.regions.concat();t.splice(t.indexOf(t.find(function(t){return t.label==e.model.idcArea})),1),this.setRegions=t},createApply:function(){var e=this;if(this.$refs.detailForm.validate()){var t=this.model,a=this.$Loading.show();this.$ajax.postJSON("/server/api/add_apply",t).then(function(t){a.hide(),e.$tip.success(e.$t("common.success")),e.$router.push("/operation/apply/createService/"+t.id)}).catch(function(t){a.hide(),e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})}},getRegionList:function(){var e=this;return D()(L.a.mark(function t(){var a;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,I({method:"get",url:"/get_region_list"});case 3:a=t.sent,e.regions=a,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.error(t.t0);case 10:case"end":return t.stop()}},t,e,[[0,7]])}))()}},created:function(){this.getRegionList()},beforeRouteEnter:function(e,t,a){o.a.getJSON("/server/api/has_dcahce_patch_package").then(function(e){e?a():(console.log(e),a(function(e){console.log("aaaaa"),e.$tip.warning(e.$t("common.warning")+": "+e.$t("apply.uploadPatchPackage")),e.$router.push("/releasePackage/proxyList")}))}).catch(function(e){console.error(e.message||e.err_msg)})}},ot={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"page_operation_create_apply"},[a("let-form",{ref:"detailForm",attrs:{inline:""}},[a("let-form-item",{attrs:{label:e.$t("apply.title"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.model.name,callback:function(t){e.$set(e.model,"name",t)},expression:"model.name"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.admin"),itemWidth:"240px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.model.admin,callback:function(t){e.$set(e.model,"admin",t)},expression:"model.admin"}})],1),e._v(" "),a("br"),e._v(" "),a("let-form-item",{attrs:{label:e.$t("region.idcArea"),itemWidth:"240px"}},[a("let-select",{attrs:{size:"small"},on:{change:e.changeSelect},model:{value:e.model.idcArea,callback:function(t){e.$set(e.model,"idcArea",t)},expression:"model.idcArea"}},e._l(e.regions,function(t){return a("let-option",{key:t.label,attrs:{value:t.label}},[e._v("\n "+e._s(t.region)+"\n ")])}),1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("region.setArea"),itemWidth:"240px"}},[a("let-select",{attrs:{size:"small",multiple:!0},model:{value:e.model.setArea,callback:function(t){e.$set(e.model,"setArea",t)},expression:"model.setArea"}},e._l(e.setRegions,function(t){return a("let-option",{key:t.label,attrs:{value:t.label}},[e._v("\n "+e._s(t.region)+"\n ")])}),1)],1),e._v(" "),a("div",[a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.createApply}},[e._v(e._s(e.$t("apply.createApply")))])],1)],1)],1)},staticRenderFns:[]};var st=a("VU/8")(rt,ot,!1,function(e){a("FT6P")},null,null).exports,nt=(a("Ya8g"),{data:function(){return{templates:[],applyId:this.$route.params.applyId,apply:{Router:{apply_id:17,create_person:"adminUser",router_db_ip:"",router_db_name:"",router_db_pass:"",router_db_port:"",router_db_user:"",server_ip:"",server_name:"aswRouterServer",template_file:""},Proxy:[{apply_id:17,create_person:"adminUser",idc_area:"sz",server_ip:"",server_name:"aswRouterServer",template_file:""}]}}},methods:{templateNameList:function(){var e=this;return this.$ajax.getJSON("/server/api/template_name_list").then(function(t){e.templates=t,e.apply.Router.template_file=t[0],e.apply.Proxy.forEach(function(e){return e.template_file=t[0]})}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},getApplyInfo:function(){var e=this,t=this.applyId;return this.$ajax.getJSON("/server/api/get_apply_and_router_and_proxy",{applyId:t}).then(function(t){e.apply=t||{}}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},createService:function(){var e=this;if(this.$refs.detailForm.validate()){var t=this.apply;if(this.checkDuplicateIp(t.Proxy))this.$tip.error(this.$t("apply.duplicateIp"));else{var a=this.$Loading.show();this.$ajax.postJSON("/server/api/save_router_proxy",t).then(function(t){a.hide();var r=e.applyId;e.$router.push("/operation/apply/installAndPublish/"+r)}).catch(function(t){a.hide(),e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})}}},checkDuplicateIp:function(e){var t=[],a=!1;return e.forEach(function(e){e.server_ip.split(";").filter(function(e){return e}).forEach(function(e){t.indexOf(e)>-1?a=!0:t.push(e)})}),a}},created:function(){var e=this;return D()(L.a.mark(function t(){return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getApplyInfo();case 2:return t.next=4,e.templateNameList();case 4:case"end":return t.stop()}},t,e)}))()}}),it={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"page_operation_create_service"},[a("let-form",{ref:"detailForm",attrs:{"label-position":"top"}},[a("let-form-group",{attrs:{title:e.$t("apply.RouterConfigInfo"),inline:"","label-position":"top"}},[a("let-form-item",{attrs:{label:e.$t("service.serverName"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.apply.Router.server_name,callback:function(t){e.$set(e.apply.Router,"server_name",t)},expression:"apply.Router.server_name"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.serverIp"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.apply.Router.server_ip,callback:function(t){e.$set(e.apply.Router,"server_ip",t)},expression:"apply.Router.server_ip"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("deployService.form.template"),itemWidth:"240px",required:""}},[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.form.templateTips")},model:{value:e.apply.Router.template_file,callback:function(t){e.$set(e.apply.Router,"template_file",t)},expression:"apply.Router.template_file"}},e._l(e.templates,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1)],1),e._v(" "),a("br"),e._v(" "),a("span",{staticStyle:{"margin-left":"20px"}},[e._v(e._s(e.$t("service.routerDbNameTip")))]),e._v(" "),a("br"),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbName"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.apply.Router.router_db_name,callback:function(t){e.$set(e.apply.Router,"router_db_name",t)},expression:"apply.Router.router_db_name"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbIp"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.apply.Router.router_db_ip,callback:function(t){e.$set(e.apply.Router,"router_db_ip",t)},expression:"apply.Router.router_db_ip"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbPort"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.apply.Router.router_db_port,callback:function(t){e.$set(e.apply.Router,"router_db_port",t)},expression:"apply.Router.router_db_port"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbUser"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.apply.Router.router_db_user,callback:function(t){e.$set(e.apply.Router,"router_db_user",t)},expression:"apply.Router.router_db_user"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbPass"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.apply.Router.router_db_pass,callback:function(t){e.$set(e.apply.Router,"router_db_pass",t)},expression:"apply.Router.router_db_pass"}})],1)],1),e._v(" "),a("let-form-group",{attrs:{title:e.$t("apply.ProxyConfigInfo"),inline:"","label-position":"top"}},[a("let-table",{ref:"table",attrs:{data:e.apply.Proxy,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"server_name",width:"25%"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.server_name,callback:function(a){e.$set(t.row,"server_name",a)},expression:"scope.row.server_name"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.multipleIp"),prop:"server_ip",width:"25%"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.server_ip,callback:function(a){e.$set(t.row,"server_ip",a)},expression:"scope.row.server_ip"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("region.idcArea"),prop:"idc_area"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.idc_area)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("deployService.form.template"),prop:"template_file"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.form.templateTips")},model:{value:t.row.template_file,callback:function(a){e.$set(t.row,"template_file",a)},expression:"scope.row.template_file"}},e._l(e.templates,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1)]}}])})],1)],1),e._v(" "),a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.createService}},[e._v(e._s(e.$t("apply.createRouterProxyService"))+"\n ")])],1)],1)},staticRenderFns:[]};var lt=a("VU/8")(nt,it,!1,function(e){a("Qr60")},null,null).exports,ct=a("Wc9H"),dt=a.n(ct),ut=a("IaZV"),mt=a.n(ut),pt=new dt.a({id:"spinner",use:"spinner-usage",viewBox:"0 0 100 100",content:''}),ht=(mt.a.add(pt),{data:function(){return{applyId:this.$route.params.applyId,showModal:!1,items:[],apply:{set_area:[],Router:{apply_id:17,create_person:"adminUser",router_db_ip:"",router_db_name:"",router_db_pass:"",router_db_port:"",router_db_user:"",server_ip:"",server_name:"aswRouterServer",template_file:""},Proxy:[{apply_id:17,create_person:"adminUser",idc_area:"sz",server_ip:"",server_name:"aswRouterServer",template_file:""}]},timerId:null}},methods:{getApplyInfo:function(){var e=this,t=this.applyId;this.$ajax.getJSON("/server/api/get_apply_and_router_and_proxy",{applyId:t}).then(function(t){e.apply=t||{}}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},installAndPublish:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n,i;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,a=e.applyId,t.next=4,Y({applyId:a});case 4:r=t.sent,o=r.proxy,s=r.router,e.showModal=!0,n=o.releaseId,i=s.releaseId,e.items=[{module:"ProxyServer",releaseId:n,percent:"0",errMsg:"",timer:""},{module:"RouterServer",releaseId:i,percent:"0",errMsg:"",timer:""}],e.items.forEach(function(t){return e.repeatGetReleaseProgress(t)}),t.next=18;break;case 14:t.prev=14,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 18:case"end":return t.stop()}},t,e,[[0,14]])}))()},repeatGetReleaseProgress:function(e){var t=this;return D()(L.a.mark(function a(){var r,o;return L.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return clearTimeout(e.timer),a.prev=1,a.next=4,s={releaseId:e.releaseId},void 0,n=s.releaseId,I({method:"get",url:"/cache/getReleaseProgress",params:{releaseId:n}});case 4:r=a.sent,o=r.percent,e.percent=o,100===o?clearTimeout(e.timer):e.timer=setTimeout(t.repeatGetReleaseProgress.bind(t,e),1e3),a.next=16;break;case 10:a.prev=10,a.t0=a.catch(1),console.error(a.t0),t.$tip.error(t.$t("common.error")+": "+(a.t0.message||a.t0.err_msg)),e.errMsg=a.t0,clearTimeout(e.timer);case 16:case"end":return a.stop()}var s,n},a,t,[[1,10]])}))()},confirmPublish:function(){this.showModal=!1,document.body.classList.remove("has-modal-open"),this.$router.push("/operation/module/createModule")}},beforeRouteLeave:function(e,t,a){clearTimeout(this.timerId),a()},created:function(){this.getApplyInfo()}}),ft={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"page_operation_install_and_publish"},[a("let-form",{ref:"detailForm",attrs:{"label-position":"top"}},[a("let-form-group",{attrs:{title:e.$t("common.baseInfo"),inline:"","label-position":"top"}},[a("let-form-item",{attrs:{label:e.$t("apply.name"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.name)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.admin"),itemWidth:"240px"}},[e._v("\n "+e._s(e.apply.admin)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("region.idcArea"),itemWidth:"240px"}},[e._v("\n "+e._s(e.apply.idc_area)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("region.setArea"),itemWidth:"240px"}},[e._v("\n "+e._s(e.apply.set_area.join(","))+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.createPerson"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.create_person)+"\n ")])],1),e._v(" "),a("let-form-group",{attrs:{title:e.$t("apply.RouterConfigInfo"),inline:"","label-position":"top"}},[a("let-form-item",{attrs:{label:e.$t("service.serverName"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.Router.server_name)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.serverIp"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.Router.server_ip)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.templateFile"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.Router.template_file)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbName"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.Router.router_db_name)+"\n ")]),e._v(" "),a("br"),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbIp"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.Router.router_db_ip)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbPort"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.Router.router_db_port)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbUser"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.Router.router_db_user)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("service.routerDbPass"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.apply.Router.router_db_pass)+"\n ")])],1),e._v(" "),a("let-form-group",{attrs:{title:e.$t("apply.ProxyConfigInfo"),inline:"","label-position":"top"}},[a("let-table",{ref:"table",attrs:{data:e.apply.Proxy,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"server_name",width:"25%"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.server_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.multipleIp"),prop:"server_ip",width:"25%"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.server_ip)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("region.idcArea"),prop:"idc_area"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.idc_area)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.templateFile"),prop:"template_file"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.template_file)+"\n ")]}}])})],1)],1),e._v(" "),a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.installAndPublish}},[e._v(e._s(e.$t("apply.installAndPublish"))+"\n ")])],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("publishLog.title"),width:"800px"},on:{"on-confirm":e.confirmPublish},model:{value:e.showModal,callback:function(t){e.showModal=t},expression:"showModal"}},[a("let-table",{ref:"ProgressTable",staticStyle:{"margin-top":"20px"},attrs:{data:e.items,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("module.title"),prop:"module",width:"20%"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("publishLog.releaseId"),prop:"releaseId",width:"20%"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("publishLog.releaseProgress"),prop:"percent"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row,o=r.percent,s=r.errMsg;return[s?a("p",{staticStyle:{color:"red"}},[e._v(e._s(s))]):a("span",[e._v(e._s(o))]),e._v(" "),100===o||s?e._e():a("icon",{staticClass:"spinner-icon",attrs:{name:"spinner"}})]}}])})],1)],1)],1)},staticRenderFns:[]};var vt=a("VU/8")(ht,ft,!1,function(e){a("YEpj")},null,null).exports,_t={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_operation_module"},[a("let-steps",{staticClass:"apply_steps",attrs:{current:e.step}},[a("let-step",{attrs:{title:e.$t(e.title1)}}),e._v(" "),a("let-step",{attrs:{title:e.$t(e.title2)}}),e._v(" "),a("let-step",{attrs:{title:e.$t(e.title3)}}),e._v(" "),a("let-step",{attrs:{title:e.$t(e.title4)}})],1),e._v(" "),a("router-view",{staticClass:"page_operation_apply_children"})],1)},staticRenderFns:[]};var gt=a("VU/8")({data:function(){var e=this.$route.fullPath,t=1;return e.indexOf("createApply")>-1?t=1:e.indexOf("moduleConfig")>-1?t=2:e.indexOf("serverConfig")>-1?t=3:e.indexOf("installAndPublish")>-1&&(t=4),{title1:"module.createModule",title2:"module.moduleConfig",title3:"module.serverConfig",title4:"apply.installAndPublish",step:t}},watch:{$route:function(e,t){var a=e.fullPath;a.indexOf("createApply")>-1?this.step=1:a.indexOf("moduleConfig")>-1?this.step=2:a.indexOf("serverConfig")>-1?this.step=3:a.indexOf("installAndPublish")>-1&&(this.step=4)}},methods:{}},_t,!1,function(e){a("qneH")},null,null).exports,bt=[{key:"1-0",value:"key-value(KVCache)"},{key:"2-1",value:"k-k-row(MKVCache)"},{key:"2-2",value:"Set(MKVCache)"},{key:"2-3",value:"List(MKVCache)"},{key:"2-4",value:"Zset(MKVCache)"}],$t={data:function(){return{model:{apply_id:"",follower:"",cache_version:"",mkcache_struct:""},applys:[],types:bt}},computed:{type:{get:function(){return this.model.cache_version?this.model.cache_version+"-"+this.model.mkcache_struct:""},set:function(e){var t=e.split("-");this.model.cache_version=t[0],this.model.mkcache_struct=t[1]}}},methods:{createModule:function(){var e=this;if(this.$refs.detailForm.validate()){var t=this.model,a=this.$Loading.show();this.$ajax.postJSON("/server/api/add_module_base_info",t).then(function(t){a.hide(),e.$tip.success(e.$t("common.success")),e.$router.push("/operation/module/moduleConfig/"+t.id)}).catch(function(t){a.hide(),e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})}}},beforeRouteEnter:function(e,t,a){o.a.getJSON("/server/api/get_apply_list").then(function(e){e.length?a(function(t){t.applys=e}):a(function(e){e.$tip.warning(e.$t("common.warning")+": "+e.$t("module.createApplyTips")),e.$router.push("/operation/apply/createApply")})}).catch(function(e){alert(e.message||e.err_msg)})}},yt={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"page_operation_create_module"},[a("let-form",{ref:"detailForm",attrs:{inline:""}},[a("let-form-item",{attrs:{label:e.$t("apply.title"),itemWidth:"240px",required:""}},[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.model.apply_id,callback:function(t){e.$set(e.model,"apply_id",t)},expression:"model.apply_id"}},e._l(e.applys,function(t){return a("let-option",{key:t.id,attrs:{value:t.id}},[e._v("\n "+e._s(t.name)+"\n ")])}),1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("module.cacheType"),itemWidth:"240px",required:""}},[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},e._l(e.types,function(t){return a("let-option",{key:t.key,attrs:{value:t.key}},[e._v("\n "+e._s(t.value)+"\n ")])}),1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("module.follower"),itemWidth:"240px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.model.follower,callback:function(t){e.$set(e.model,"follower",t)},expression:"model.follower"}})],1),e._v(" "),a("div",[a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.createModule}},[e._v(e._s(e.$t("common.nextStep")))])],1)],1)],1)},staticRenderFns:[]};var wt=a("VU/8")($t,yt,!1,function(e){a("fT6T")},null,null).exports,Mt=a("bOdI"),kt=a.n(Mt),xt=[{key:"1",value:"cache.title"},{key:"2",value:"cache.cachePersistent"}],St=[{key:"0",value:"string"},{key:"1",value:"int"},{key:"2",value:"longlong"}],Ct={data:function(){var e;return{cacheTypeOption:[{value:"1",text:this.$t("cache.cacheTypeTip1")},{value:"2",text:this.$t("cache.cacheTypeTip2")},{value:"3",text:this.$t("cache.cacheTypeTip3")}],keyTypeOption:St,cacheModuleType:xt,regions:[],setRegions:[],module:{cache_version:1},app_name:"",model:(e={admin:"",idc_area:"",key_type:null,module_name:"",cache_module_type:""},kt()(e,"key_type",""),kt()(e,"dbAccessServant",""),kt()(e,"per_record_avg",""),kt()(e,"total_record",""),kt()(e,"max_read_flow",""),kt()(e,"max_write_flow",""),kt()(e,"module_remark",""),kt()(e,"set_area",[]),kt()(e,"module_id",""),kt()(e,"apply_id",""),e)}},methods:{addModuleConfig:function(){var e=this;if(new RegExp("^"+this.app_name+"[a-zA-Z0-9]+$").test(this.model.module_name)){if(this.$refs.detailForm.validate()){var t=this.model,a=this.$Loading.show();this.$ajax.postJSON("/server/api/add_module_config",t).then(function(t){a.hide(),e.$tip.success(e.$t("common.success")),e.$router.push("/operation/module/serverConfig/"+t.module_id)}).catch(function(t){a.hide(),e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})}}else this.$tip.error(this.$t("module.namingError"))},changeSelect:function(){var e=this;this.model.set_area=[];var t=this.regions.concat();t.splice(t.indexOf(t.find(function(t){return t.label==e.model.idc_area})),1),this.setRegions=t},getRegionList:function(){var e=this;this.$ajax.getJSON("/server/api/get_region_list").then(function(t){t.length&&(e.regions=t)}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},getModuleInfo:function(){var e=this,t=this.$route.params.moduleId;this.$ajax.getJSON("/server/api/get_module_info",{moduleId:t}).then(function(t){e.model.apply_id=t.apply_id,e.model.module_id=t.id,e.module=t,e.getAppName(t.apply_id)}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},getAppName:function(e){var t=this;this.$ajax.getJSON("/server/api/get_apply_and_router_and_proxy",{applyId:e}).then(function(e){t.app_name=e.name||"",t.model.module_name=t.app_name}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})}},created:function(){this.getRegionList(),this.getModuleInfo()}},Lt={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"page_operation_module_info"},[a("let-form",{ref:"detailForm",attrs:{inline:""}},[a("let-form-item",{attrs:{label:e.$t("module.name"),itemWidth:"240px",required:""}},[a("let-poptip",{attrs:{placement:"top",content:e.$t("module.namingRule"),trigger:"hover"}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("module.namingRule"),required:"","required-tip":e.$t("deployService.table.tips.empty"),pattern:"^[a-zA-Z][a-zA-Z0-9]+$","pattern-tip":e.$t("module.namingRule")},model:{value:e.model.module_name,callback:function(t){e.$set(e.model,"module_name",t)},expression:"model.module_name"}})],1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("module.deployArea"),itemWidth:"240px"}},[a("let-select",{attrs:{size:"small"},on:{change:e.changeSelect},model:{value:e.model.idc_area,callback:function(t){e.$set(e.model,"idc_area",t)},expression:"model.idc_area"}},e._l(e.regions,function(t){return a("let-option",{key:t.label,attrs:{value:t.label}},[e._v("\n "+e._s(t.region)+"\n ")])}),1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("region.setArea"),itemWidth:"240px"}},[a("let-select",{attrs:{size:"small",multiple:!0},model:{value:e.model.set_area,callback:function(t){e.$set(e.model,"set_area",t)},expression:"model.set_area"}},e._l(e.setRegions,function(t){return a("let-option",{key:t.label,attrs:{value:t.label}},[e._v("\n "+e._s(t.region)+"\n ")])}),1)],1),e._v(" "),a("br"),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.perRecordAvg"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("cache.perRecordAvgUnit"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.model.per_record_avg,callback:function(t){e.$set(e.model,"per_record_avg",t)},expression:"model.per_record_avg"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.totalRecord"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("cache.dbDataCountUnit"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.model.total_record,callback:function(t){e.$set(e.model,"total_record",t)},expression:"model.total_record"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.maxReadFlow"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("cache.flowUnit"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.model.max_read_flow,callback:function(t){e.$set(e.model,"max_read_flow",t)},expression:"model.max_read_flow"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.maxWriteFlow"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("cache.flowUnit"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.model.max_write_flow,callback:function(t){e.$set(e.model,"max_write_flow",t)},expression:"model.max_write_flow"}})],1),e._v(" "),a("br"),e._v(" "),a("let-form-item",{attrs:{label:e.$t("module.scenario"),itemWidth:"240px",required:""}},[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.model.cache_module_type,callback:function(t){e.$set(e.model,"cache_module_type",t)},expression:"model.cache_module_type"}},e._l(e.cacheModuleType,function(t){return a("let-option",{key:t.key,attrs:{value:t.key}},[e._v("\n "+e._s(e.$t(t.value))+"\n ")])}),1)],1),e._v(" "),1==e.model.cache_module_type?a("let-form-item",{attrs:{label:e.$t("cache.cacheType"),itemWidth:"500px",required:""}},[a("let-radio-group",{attrs:{size:"small",required:"",data:e.cacheTypeOption},model:{value:e.model.key_type,callback:function(t){e.$set(e.model,"key_type",t)},expression:"model.key_type"}})],1):e._e(),e._v(" "),2==e.model.cache_module_type?a("let-form-item",{attrs:{label:e.$t("cache.dbAccessServantObj"),itemWidth:"240px",required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("cache.dbAccessServantObjEx"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.model.dbAccessServant,callback:function(t){e.$set(e.model,"dbAccessServant",t)},expression:"model.dbAccessServant"}})],1):e._e(),e._v(" "),a("br"),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.moduleRemark"),itemWidth:"516px",required:""}},[a("let-input",{attrs:{size:"small",type:"textarea",rows:4,required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:e.model.module_remark,callback:function(t){e.$set(e.model,"module_remark",t)},expression:"model.module_remark"}})],1),e._v(" "),a("div",[a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.addModuleConfig}},[e._v(e._s(e.$t("common.nextStep")))])],1)],1)],1)},staticRenderFns:[]};var Nt=a("VU/8")(Ct,Lt,!1,function(e){a("qzWr")},null,null).exports,Dt=[{key:"int",value:"int"},{key:"long",value:"long"},{key:"string",value:"string"},{key:"byte",value:"byte"},{key:"float",value:"float"},{key:"double",value:"double"}],At=[{key:"require",value:"require"},{key:"optional",value:"optional"}],Tt={data:function(){return{moduleId:this.$route.params.moduleId,moduleData:[],templates:[],isMkCache:!1,multiKey:!1,dataTypeOption:Dt,propertyOption:At,showMKModal:!1,mkCacheStructure:{mainKey:[{fieldName:"",keyType:"mkey",dataType:"",property:"require",defaultValue:"",maxLen:""}],unionKey:[{fieldName:"",keyType:"ukey",dataType:"",property:"require",defaultValue:"",maxLen:""}],value:[{fieldName:"",keyType:"value",dataType:"",property:"",defaultValue:"",maxLen:""}]}}},methods:{submitServerConfig:function(){this.$refs.detailForm.validate()&&(this.isMkCache?this.showMKModal=!0:this.checkSameShmKey(this.moduleData)?this.addServerConfig():this.$tip.error(this.$t("module.shmKeyError")))},checkSameShmKey:function(e){var t=me.a.uniqWith(e,function(e,t){return e.server_ip===t.server_ip&&e.shmKey===t.shmKey});return console.log(t),e.length===t.length},addServerConfig:function(){var e=this,t=this.moduleData,a=this.$Loading.show();this.$ajax.postJSON("/server/api/add_server_config",t).then(function(t){a.hide(),e.$tip.success(e.$t("common.success")),e.$router.push("/operation/module/installAndPublish/"+e.moduleId)}).catch(function(t){a.hide(),e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},getModuleConfigInfo:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,I({method:"get",url:"/template_name_list",params:{}});case 3:return a=t.sent,e.templates=a,r=e.$route.params.moduleId,t.next=8,te({moduleId:r});case 8:o=t.sent,s=1===o.ModuleBase.cache_version?"KV":"MKV",o.group_name=o.module_name+s+"Group1",o.area=o.idc_area,o.server_name=o.module_name+s+"CacheServer1-1",o.server_type=0,o.memory=Math.ceil(o.per_record_avg*o.total_record*1e4/1024/1024/1024),e.moduleData.push(S()({},o)),n=S()({},o,{server_name:o.module_name+s+"CacheServer1-2",server_type:1}),e.moduleData.push(n),o.set_area.length>0&&o.set_area.forEach(function(t,a){var r=S()({},o,{area:t,server_name:o.module_name+s+"CacheServer1-"+(a+3),server_type:2});e.moduleData.push(r)}),e.moduleData=e.moduleData.map(function(e){return S()({},e,{template_name:a.includes("DCache.Cache")?"DCache.Cache":"tars.default"})}),e.isMkCache=2===o.ModuleBase.cache_version,e.multiKey=2===o.ModuleBase.cache_version&&1===o.ModuleBase.mkcache_struct,t.next=28;break;case 24:t.prev=24,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 28:case"end":return t.stop()}},t,e,[[0,24]])}))()},mapServerType:function(e){return 0===e?this.$t("module.mainServer"):1===e?this.$t("module.backServer"):this.$t("module.mirror")},addUnionKey:function(){this.mkCacheStructure.unionKey.push({fieldName:"",keyType:"ukey",dataType:"",property:"require",defaultValue:"",maxLen:""})},deleteUnionKey:function(e){this.mkCacheStructure.unionKey.length>1?this.mkCacheStructure.unionKey.splice(e,1):this.$tip.error(this.$t("MKCache.error"))},addValue:function(){this.mkCacheStructure.value.push({fieldName:"",keyType:"value",dataType:"",property:"",defaultValue:"",maxLen:""})},deleteValue:function(e){this.mkCacheStructure.value.length>1?this.mkCacheStructure.value.splice(e,1):this.$tip.error(this.$t("MKCache.error"))},submitMKCache:function(){this.$refs.multiKeyForm.validate()&&(sessionStorage.setItem("mkCache",T()(this.mkCacheStructure)),this.showMKModal=!1,document.body.classList.remove("has-modal-open"),this.addServerConfig())}},created:function(){var e=this;return D()(L.a.mark(function t(){return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return sessionStorage.clear(),t.next=3,e.getModuleConfigInfo();case 3:case"end":return t.stop()}},t,e)}))()}},qt={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"page_operation_create_service"},[a("let-form",{ref:"detailForm",attrs:{inline:""}},[a("let-form-group",{attrs:{title:e.$t("module.serverInfo"),inline:"","label-position":"top"}},[a("let-table",{ref:"table",attrs:{data:e.moduleData,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("module.name"),prop:"module_name"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.module_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.serverGroup"),prop:"group_name"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.group_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"server_name"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.server_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("deployService.form.serviceType"),prop:"server_type"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.mapServerType(t.row.server_type))+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverIp"),prop:"server_ip"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.server_ip,callback:function(a){e.$set(t.row,"server_ip",a)},expression:"scope.row.server_ip"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.shmKey"),prop:"shmKey"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",placeholder:e.$t("module.shmKeyRule"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.shmKey,callback:function(a){e.$set(t.row,"shmKey",a)},expression:"scope.row.shmKey"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("deployService.form.template")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.form.templateTips")},model:{value:t.row.template_name,callback:function(a){e.$set(t.row,"template_name",a)},expression:"scope.row.template_name"}},e._l(e.templates,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1)]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.memorySize"),prop:"memory"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{staticStyle:{width:"60px"},attrs:{size:"small",placeholder:e.$t("module.memorySize"),required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.memory,callback:function(a){e.$set(t.row,"memory",a)},expression:"scope.row.memory"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.deployArea"),prop:"area"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.area)+"\n ")]}}])})],1)],1),e._v(" "),a("div",[a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.submitServerConfig}},[e._v(e._s(e.$t("common.nextStep")))])],1)],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("module.MultiKeyConfig"),width:"1000px"},on:{"on-confirm":e.submitMKCache},model:{value:e.showMKModal,callback:function(t){e.showMKModal=t},expression:"showMKModal"}},[a("let-form",{ref:"multiKeyForm",attrs:{"label-position":"top"}},[a("let-form-group",{attrs:{title:e.$t("MKCache.mainKey"),inline:"","label-position":"top"}},[a("let-table",{ref:"mainKey",attrs:{data:e.mkCacheStructure.mainKey,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("MKCache.fieldName"),prop:"fieldName",width:"30%"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.fieldName,callback:function(a){e.$set(t.row,"fieldName",a)},expression:"scope.row.fieldName"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.dataType"),prop:"dataType"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.dataType,callback:function(a){e.$set(t.row,"dataType",a)},expression:"scope.row.dataType"}},e._l(e.dataTypeOption,function(t){return a("let-option",{key:t.key,attrs:{value:t.value}},[e._v("\n "+e._s(t.value)+"\n ")])}),1)]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.fieldProperty"),prop:"property",width:"15%"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.property)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.defaultValue"),prop:"defaultValue"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small"},model:{value:t.row.defaultValue,callback:function(a){e.$set(t.row,"defaultValue",a)},expression:"scope.row.defaultValue"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.maxLen"),prop:"maxLen"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small"},model:{value:t.row.maxLen,callback:function(a){e.$set(t.row,"maxLen",a)},expression:"scope.row.maxLen"}})]}}])})],1)],1),e._v(" "),e.multiKey?a("let-form-group",{attrs:{title:e.$t("MKCache.unionKey"),inline:"","label-position":"top"}},[a("let-table",{ref:"unionKey",attrs:{data:e.mkCacheStructure.unionKey,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("MKCache.fieldName"),prop:"fieldName",width:"25%"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.fieldName,callback:function(a){e.$set(t.row,"fieldName",a)},expression:"scope.row.fieldName"}})]}}],null,!1,4011857556)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.dataType"),prop:"dataType"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.dataType,callback:function(a){e.$set(t.row,"dataType",a)},expression:"scope.row.dataType"}},e._l(e.dataTypeOption,function(t){return a("let-option",{key:t.key,attrs:{value:t.value}},[e._v("\n "+e._s(t.value)+"\n ")])}),1)]}}],null,!1,1906165843)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.fieldProperty"),prop:"property",width:"15%"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.property)+"\n ")]}}],null,!1,1274096314)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.defaultValue"),prop:"defaultValue"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small"},model:{value:t.row.defaultValue,callback:function(a){e.$set(t.row,"defaultValue",a)},expression:"scope.row.defaultValue"}})]}}],null,!1,3960107341)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.maxLen"),prop:"maxLen"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small"},model:{value:t.row.maxLen,callback:function(a){e.$set(t.row,"maxLen",a)},expression:"scope.row.maxLen"}})]}}],null,!1,112591966)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"15%"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:e.addUnionKey}},[e._v(e._s(e.$t("operate.add")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.deleteUnionKey(t.$index)}}},[e._v(e._s(e.$t("operate.delete")))])]}}],null,!1,1394424424)})],1)],1):e._e(),e._v(" "),a("let-form-group",{attrs:{title:e.$t("MKCache.dataValue"),inline:"","label-position":"top"}},[a("let-table",{ref:"dataValue",attrs:{data:e.mkCacheStructure.value,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("MKCache.fieldName"),prop:"fieldName",width:"25%"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.fieldName,callback:function(a){e.$set(t.row,"fieldName",a)},expression:"scope.row.fieldName"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.dataType"),prop:"dataType"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.dataType,callback:function(a){e.$set(t.row,"dataType",a)},expression:"scope.row.dataType"}},e._l(e.dataTypeOption,function(t){return a("let-option",{key:t.key,attrs:{value:t.value}},[e._v("\n "+e._s(t.value)+"\n ")])}),1)]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.fieldProperty"),prop:"property",width:"15%"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-select",{attrs:{size:"small",required:"","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.property,callback:function(a){e.$set(t.row,"property",a)},expression:"scope.row.property"}},e._l(e.propertyOption,function(t){return a("let-option",{key:t.key,attrs:{value:t.value}},[e._v("\n "+e._s(t.value)+"\n ")])}),1)]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.defaultValue"),prop:"defaultValue"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.defaultValue,callback:function(a){e.$set(t.row,"defaultValue",a)},expression:"scope.row.defaultValue"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("MKCache.maxLen"),prop:"maxLen"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-input",{attrs:{size:"small","required-tip":e.$t("deployService.table.tips.empty")},model:{value:t.row.maxLen,callback:function(a){e.$set(t.row,"maxLen",a)},expression:"scope.row.maxLen"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"15%"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:e.addValue}},[e._v(e._s(e.$t("operate.add")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.deleteValue(t.$index)}}},[e._v(e._s(e.$t("operate.delete")))])]}}])})],1)],1)],1)],1)],1)},staticRenderFns:[]},Ft=a("VU/8")(Tt,qt,!1,null,null,null).exports,Pt={data:function(){return{moduleId:this.$route.params.moduleId,moduleData:{},releaseProgress:[],showModal:!1,timerId:null}},methods:{getModuleFullInfo:function(){var e=this,t=this.moduleId;this.$ajax.getJSON("/server/api/get_module_full_info",{moduleId:t}).then(function(t){e.moduleData=t||{}}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},installAndPublish:function(){var e=this,t=this.moduleId,a=sessionStorage.getItem("mkCache");this.$ajax.getJSON("/server/api/module_install_and_publish",{moduleId:t,mkCache:a}).then(function(t){var a=t.releaseRsp.releaseId;e.getTaskRepeat({releaseId:a}),e.$tip.success(t.releaseRsp.errMsg)}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},getTaskRepeat:function(e){var t=this,a=e.releaseId;clearTimeout(this.timerId),this.showModal=!0;!function e(){t.$ajax.getJSON("/server/api/get_module_release_progress",{releaseId:a}).then(function(a){var r=!0;a.progress.forEach(function(e){100!==parseInt(e.percent,10)&&(r=!1)}),r?clearTimeout(t.timerId):t.timerId=setTimeout(e,1e3),t.releaseProgress=a.progress}).catch(function(e){clearTimeout(t.timerId),t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})}()},getReleaseProgress:function(e){var t=this;this.$ajax.getJSON("/server/api/get_module_release_progress",{releaseId:e}).then(function(e){console.log(e),t.showModal=!0,t.releaseProgress=e.progress}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})},mapServerType:function(e){return 0===e?this.$t("module.mainServer"):1===e?this.$t("module.backServer"):this.$t("module.mirror")},mapModuleType:function(e){return 1===e?this.$t("cache.title"):this.$t("cache.cachePersistent")},mapCacheType:function(e){if(!e)return null;if(1===e.cache_version)return"key-value(KVCache)";switch(e.mkcache_struct){case 1:return"k-k-row(MKVCache)";case 2:return"Set(MKVCache)";case 3:return"List(MKVCache)";case 4:return"Zset(MKVCache)";default:return null}},confirmPublish:function(){this.showModal=!1,document.body.classList.remove("has-modal-open"),this.$router.push("/server"),window.dcacheIndex&&window.dcacheIndex.getTreeData&&window.dcacheIndex.getTreeData()}},beforeRouteLeave:function(e,t,a){clearTimeout(this.timerId),a()},created:function(){this.getModuleFullInfo()}},Rt={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"page_operation_install_and_publish"},[a("let-form",{ref:"detailForm",attrs:{"label-position":"top"}},[a("let-form-group",{attrs:{title:e.$t("common.baseInfo"),inline:"","label-position":"top"}},[a("let-form-item",{attrs:{label:e.$t("module.moduleId"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.moduleData.module_id)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("module.name"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.moduleData.module_name)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("module.cacheType"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.mapCacheType(e.moduleData.ModuleBase))+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("module.follower"),itemWidth:"240px"}},[e._v("\n "+e._s(e.moduleData.ModuleBase&&e.moduleData.ModuleBase.follower)+"\n ")])],1),e._v(" "),a("let-form-group",{attrs:{title:e.$t("module.moduleInfo"),inline:"","label-position":"top"}},[a("let-form-item",{attrs:{label:e.$t("module.deployArea"),itemWidth:"240px"}},[e._v("\n "+e._s(e.moduleData.idc_area)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("region.setArea"),itemWidth:"240px"}},[e._v("\n "+e._s(e.moduleData.set_area&&e.moduleData.set_area.join(","))+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("module.scenario"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.mapModuleType(e.moduleData.cache_module_type))+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.perRecordAvg"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.moduleData.per_record_avg)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.maxReadFlow"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.moduleData.max_read_flow)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.totalRecord"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.moduleData.total_record)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.maxWriteFlow"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.moduleData.max_write_flow)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.moduleRemark"),itemWidth:"240px",required:""}},[e._v("\n "+e._s(e.moduleData.module_remark)+"\n ")])],1),e._v(" "),a("let-form-group",{attrs:{title:e.$t("module.serverInfo"),inline:"","label-position":"top"}},[a("let-table",{ref:"table",attrs:{data:e.moduleData.ServerConf,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("module.name"),prop:"module_name",width:"25%"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.module_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.serverGroup"),prop:"group_name",width:"25%"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.group_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"server_name"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.server_name)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverIp"),prop:"server_ip"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.server_ip)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.deployArea"),prop:"area"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.area)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("deployService.form.serviceType"),prop:"server_type"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.mapServerType(t.row.server_type))+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.memorySize"),prop:"memory"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memory)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("module.shmKey"),prop:"shmKey"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.shmKey)+"\n ")]}}])})],1)],1),e._v(" "),a("let-button",{attrs:{size:"small",theme:"primary"},on:{click:e.installAndPublish}},[e._v(e._s(e.$t("apply.installAndPublish"))+"\n ")])],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("publishLog.title"),width:"800px"},on:{"on-confirm":e.confirmPublish},model:{value:e.showModal,callback:function(t){e.showModal=t},expression:"showModal"}},[a("let-table",{ref:"ProgressTable",attrs:{data:e.releaseProgress,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("service.serverName"),prop:"serverName",width:"30%"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("service.serverIp"),prop:"nodeName",width:"30%"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("publishLog.releaseId"),prop:"releaseId",width:"15%"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("publishLog.releaseProgress"),prop:"percent"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.percent))]),e._v(" "),100!=t.row.percent?a("icon",{staticClass:"spinner-icon",attrs:{name:"spinner"}}):e._e()]}}])})],1)],1)],1)},staticRenderFns:[]};var Ot=a("VU/8")(Pt,Rt,!1,function(e){a("74BX")},null,null).exports,It={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"page_operation_region"},[a("let-button",{attrs:{theme:"primary",size:"mini"},on:{click:e.addRegion}},[e._v(e._s(e.$t("region.add")))]),e._v(" "),a("let-table",{ref:"table",attrs:{data:e.items,"empty-msg":e.$t("common.nodata"),title:e.$t("region.list")}},[a("let-table-column",{attrs:{title:e.$t("common.serial"),width:"25%"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.$index+1))]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("region.title"),prop:"region",width:"25%"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("region.label"),prop:"label"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"180px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.editRegion(t.row)}}},[e._v(e._s(e.$t("operate.update")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.removeItem(t.row)}}},[e._v(e._s(e.$t("operate.delete")))])]}}])})],1),e._v(" "),a("let-modal",{attrs:{title:e.$t(e.title),width:"600px"},on:{"on-confirm":e.saveItem},model:{value:e.showModel,callback:function(t){e.showModel=t},expression:"showModel"}},[a("let-form",{ref:"detailForm"},[a("let-form-item",{attrs:{label:e.$t("region.title"),required:""}},[a("let-input",{attrs:{size:"small",required:"",placeholder:e.$t("region.regionTips")},model:{value:e.model.region,callback:function(t){e.$set(e.model,"region",t)},expression:"model.region"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("region.label"),required:""}},[a("let-input",{attrs:{size:"small",required:"",placeholder:e.$t("region.labelTips")},model:{value:e.model.label,callback:function(t){e.$set(e.model,"label",t)},expression:"model.label"}})],1)],1)],1)],1)},staticRenderFns:[]};var jt=a("VU/8")({data:function(){return{title:"region.add",items:[],showModel:!1,model:{}}},mounted:function(){this.fetchData()},methods:{fetchData:function(){var e=this;this.$ajax.getJSON("/server/api/get_region_list").then(function(t){e.items=t||[]}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},addRegion:function(){this.showModel=!0,this.title="region.add",this.model={region:"",label:""}},editRegion:function(e){this.showModel=!0,this.showModel=!0,this.title="region.modify",this.model=e},saveItem:function(){var e=this;if(this.$refs.detailForm.validate()){var t=this.model,a=t.id?"/server/api/update_region":"/server/api/add_region",r=this.$Loading.show();this.$ajax.postJSON(a,t).then(function(){r.hide(),e.$tip.success(e.$t("common.success")),e.closeDetailModal(),e.fetchData()}).catch(function(t){r.hide(),e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})}},removeItem:function(e){var t=this,a=e.id;this.$ajax.getJSON("/server/api/delete_region",{id:a}).then(function(e){t.$tip.success(t.$t("common.success")),t.fetchData()}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})},closeDetailModal:function(){this.$refs.detailForm.resetValid(),this.showModel=!1,this.model={}}}},It,!1,function(e){a("sZcP")},null,null).exports,Et={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_operation"},[a("let-tabs",{attrs:{activekey:e.$route.matched[1]?e.$route.matched[1].path:"/operation/apply"},on:{click:e.onTabClick}},[a("let-tab-pane",{attrs:{tab:e.$t("releasePackage.proxyList"),tabkey:"/releasePackage/proxyList"}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("releasePackage.routerList"),tabkey:"/releasePackage/routerList"}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("releasePackage.cacheList"),tabkey:"/releasePackage/cacheList"}})],1),e._v(" "),a("router-view",{staticClass:"page_operation_children"})],1)},staticRenderFns:[]};var zt=a("VU/8")({methods:{onTabClick:function(e){this.$router.replace(e)}}},Et,!1,function(e){a("sPk+")},null,null).exports,Vt=new dt.a({id:"default",use:"default-usage",viewBox:"0 0 1024 1024",content:''}),Gt=(mt.a.add(Vt),{data:function(){return{uploadModal:{show:!1,model:{application:"DCache",module_name:"ProxyServer",file:{},comment:""}},packages:{count:0,rows:[]}}},methods:{closeUploadModal:function(){this.uploadModal.show=!1},uploadFile:function(e){this.uploadModal.model.file=e},uploadPatchPackage:function(){var e=this;if(this.$refs.uploadForm.validate()){var t=this.$Loading.show(),a=new FormData;a.append("application",this.uploadModal.model.application),a.append("module_name",this.uploadModal.model.module_name),a.append("task_id",(new Date).getTime()),a.append("suse",this.uploadModal.model.file),a.append("comment",this.uploadModal.model.comment),this.$ajax.postForm("/server/api/upload_patch_package",a).then(function(){t.hide(),e.closeUploadModal(),e.getPatchPackage()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.message||a.err_msg))})}},getPatchPackage:function(){var e=this;this.$ajax.getJSON("/server/api/server_patch_list",{application:"DCache",module_name:"ProxyServer"}).then(function(t){e.packages=t}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},deletePackage:function(e){var t=this;this.$confirm(this.$t("releasePackage.confirmDeleteTip"),this.$t("common.alert")).then(function(){t.$ajax.postJSON("/server/api/delete_patch_package",{id:e}).then(function(e){t.getPatchPackage()})}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})},setDefault:function(e){var t=this,a=e.id,r=e.package_type;this.$ajax.postJSON("/server/api/set_patch_package_default",{id:a,package_type:r,application:this.uploadModal.model.application,module_name:this.uploadModal.model.module_name}).then(function(e){t.getPatchPackage()}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})}},created:function(){this.getPatchPackage()}}),Wt={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"container"},[a("div",[a("let-button",{attrs:{theme:"primary",size:"small"},on:{click:function(t){e.uploadModal.show=!e.uploadModal.show}}},[e._v("\n "+e._s(e.$t("releasePackage.uploadPackage"))+"\n ")])],1),e._v(" "),a("let-table",{attrs:{data:e.packages.rows,title:e.$t("serverList.title.serverList"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:"ID",prop:"id"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{color:"green",display:"inline-block",width:"1em",height:"1em"},attrs:{title:e.$t("releasePackage.default")}},[1==t.row.default_version?a("icon",{attrs:{name:"default"}}):e._e()],1),e._v("\n "+e._s(t.row.id)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.moduleName"),prop:"server"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.servant.comment"),prop:"comment"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.uploadTime"),prop:"posttime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"260px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.setDefault(t.row)}}},[e._v(e._s(e.$t("operate.default")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.deletePackage(t.row.id)}}},[e._v(e._s(e.$t("operate.delete")))])]}}])})],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("pub.dlg.upload"),width:"880px",footShow:!1},on:{"on-cancel":e.closeUploadModal},model:{value:e.uploadModal.show,callback:function(t){e.$set(e.uploadModal,"show",t)},expression:"uploadModal.show"}},[e.uploadModal.model?a("let-form",{ref:"uploadForm",attrs:{itemWidth:"100%"},nativeOn:{submit:function(t){return t.preventDefault(),e.uploadPatchPackage(t)}}},[a("let-form-item",{attrs:{label:e.$t("releasePackage.moduleName")}},[e._v("\n "+e._s(e.uploadModal.model.application)+"."+e._s(e.uploadModal.model.module_name)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("pub.dlg.releasePkg"),itemWidth:"400px"}},[a("let-uploader",{attrs:{placeholder:e.$t("pub.dlg.defaultValue")},on:{upload:e.uploadFile}},[e._v(e._s(e.$t("common.submit"))+"\n ")]),e._v(" "),e.uploadModal.model.file?a("span",[e._v(e._s(e.uploadModal.model.file.name))]):e._e()],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.comment")}},[a("let-input",{attrs:{type:"textarea",rows:3},model:{value:e.uploadModal.model.comment,callback:function(t){e.$set(e.uploadModal.model,"comment",t)},expression:"uploadModal.model.comment"}})],1),e._v(" "),a("let-button",{attrs:{type:"submit",theme:"primary"}},[e._v(e._s(e.$t("serverList.servant.upload")))])],1):e._e()],1)],1)},staticRenderFns:[]};var Jt=a("VU/8")(Gt,Wt,!1,function(e){a("6uR2")},null,null).exports,Bt={data:function(){return{uploadModal:{show:!1,model:{application:"DCache",module_name:"RouterServer",file:{},comment:""}},packages:{count:0,rows:[]}}},methods:{closeUploadModal:function(){this.uploadModal.show=!1},uploadFile:function(e){this.uploadModal.model.file=e},uploadPatchPackage:function(){var e=this;if(this.$refs.uploadForm.validate()){var t=this.$Loading.show(),a=new FormData;a.append("application",this.uploadModal.model.application),a.append("module_name",this.uploadModal.model.module_name),a.append("task_id",(new Date).getTime()),a.append("suse",this.uploadModal.model.file),a.append("comment",this.uploadModal.model.comment),this.$ajax.postForm("/server/api/upload_patch_package",a).then(function(){t.hide(),e.closeUploadModal(),e.getPatchPackage()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.message||a.err_msg))})}},getPatchPackage:function(){var e=this;this.$ajax.getJSON("/server/api/server_patch_list",{application:"DCache",module_name:"RouterServer"}).then(function(t){e.packages=t}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},deletePackage:function(e){var t=this;this.$confirm(this.$t("releasePackage.confirmDeleteTip"),this.$t("common.alert")).then(function(){t.$ajax.postJSON("/server/api/delete_patch_package",{id:e}).then(function(e){t.getPatchPackage()})}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})},setDefault:function(e){var t=this,a=e.id,r=e.package_type;this.$ajax.postJSON("/server/api/set_patch_package_default",{id:a,package_type:r,application:this.uploadModal.model.application,module_name:this.uploadModal.model.module_name}).then(function(e){t.getPatchPackage()}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})}},created:function(){this.getPatchPackage()}},Ut={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"container"},[a("div",[a("let-button",{attrs:{theme:"primary",size:"small"},on:{click:function(t){e.uploadModal.show=!e.uploadModal.show}}},[e._v("\n "+e._s(e.$t("releasePackage.uploadPackage"))+"\n ")])],1),e._v(" "),a("let-table",{attrs:{data:e.packages.rows,title:e.$t("serverList.title.serverList"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:"ID",prop:"id"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{color:"green",display:"inline-block",width:"1em",height:"1em"},attrs:{title:e.$t("releasePackage.default")}},[1==t.row.default_version?a("icon",{attrs:{name:"default"}}):e._e()],1),e._v("\n "+e._s(t.row.id)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.moduleName"),prop:"server"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.servant.comment"),prop:"comment"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.uploadTime"),prop:"posttime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"260px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.setDefault(t.row)}}},[e._v(e._s(e.$t("operate.default")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.deletePackage(t.row.id)}}},[e._v(e._s(e.$t("operate.delete")))])]}}])})],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("pub.dlg.upload"),width:"880px",footShow:!1},on:{"on-cancel":e.closeUploadModal},model:{value:e.uploadModal.show,callback:function(t){e.$set(e.uploadModal,"show",t)},expression:"uploadModal.show"}},[e.uploadModal.model?a("let-form",{ref:"uploadForm",attrs:{itemWidth:"100%"},nativeOn:{submit:function(t){return t.preventDefault(),e.uploadPatchPackage(t)}}},[a("let-form-item",{attrs:{label:e.$t("releasePackage.moduleName")}},[e._v("\n "+e._s(e.uploadModal.model.application)+"."+e._s(e.uploadModal.model.module_name)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("pub.dlg.releasePkg"),itemWidth:"400px"}},[a("let-uploader",{attrs:{placeholder:e.$t("pub.dlg.defaultValue")},on:{upload:e.uploadFile}},[e._v(e._s(e.$t("common.submit"))+"\n ")]),e._v(" "),e.uploadModal.model.file?a("span",[e._v(e._s(e.uploadModal.model.file.name))]):e._e()],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.comment")}},[a("let-input",{attrs:{type:"textarea",rows:3},model:{value:e.uploadModal.model.comment,callback:function(t){e.$set(e.uploadModal.model,"comment",t)},expression:"uploadModal.model.comment"}})],1),e._v(" "),a("let-button",{attrs:{type:"submit",theme:"primary"}},[e._v(e._s(e.$t("serverList.servant.upload")))])],1):e._e()],1)],1)},staticRenderFns:[]};var Ht=a("VU/8")(Bt,Ut,!1,function(e){a("ohPC")},null,null).exports,Kt={data:function(){return{uploadModal:{show:!1,model:{application:"DCache",module_name:"DCacheServerGroup",package_type:"1",file:{},comment:""}},packages:{count:0,rows:[]}}},methods:{closeUploadModal:function(){this.uploadModal.show=!1},uploadFile:function(e){this.uploadModal.model.file=e},uploadPatchPackage:function(){var e=this;if(this.$refs.uploadForm.validate()){var t=this.$Loading.show(),a=new FormData;a.append("application",this.uploadModal.model.application),a.append("module_name",this.uploadModal.model.module_name),a.append("task_id",(new Date).getTime()),a.append("package_type",this.uploadModal.model.package_type),a.append("suse",this.uploadModal.model.file),a.append("comment",this.uploadModal.model.comment),this.$ajax.postForm("/server/api/upload_patch_package",a).then(function(){t.hide(),e.closeUploadModal(),e.getPatchPackage()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.message||a.err_msg))})}},getPatchPackage:function(){var e=this;this.$ajax.getJSON("/server/api/server_patch_list",{application:"DCache",module_name:"DCacheServerGroup"}).then(function(t){e.packages=t}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},deletePackage:function(e){var t=this;this.$confirm(this.$t("releasePackage.confirmDeleteTip"),this.$t("common.alert")).then(function(){t.$ajax.postJSON("/server/api/delete_patch_package",{id:e}).then(function(e){t.getPatchPackage()})}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})},setDefault:function(e){var t=this,a=e.id,r=e.package_type;this.$ajax.postJSON("/server/api/set_patch_package_default",{id:a,package_type:r,application:this.uploadModal.model.application,module_name:this.uploadModal.model.module_name}).then(function(e){t.getPatchPackage()}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.message||e.err_msg))})}},created:function(){this.getPatchPackage()}},Zt={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"container"},[a("div",[a("let-button",{attrs:{theme:"primary",size:"small"},on:{click:function(t){e.uploadModal.show=!e.uploadModal.show}}},[e._v("\n "+e._s(e.$t("releasePackage.uploadPackage"))+"\n ")])],1),e._v(" "),a("let-table",{attrs:{data:e.packages.rows,title:e.$t("serverList.title.serverList"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:"ID",prop:"id"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{color:"green",display:"inline-block",width:"1em",height:"1em"},attrs:{title:e.$t("releasePackage.default")}},[1==t.row.default_version?a("icon",{attrs:{name:"default"}}):e._e()],1),e._v("\n "+e._s(t.row.id)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.moduleName"),prop:"server"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.cacheType")},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.package_type?a("span",[e._v("KVCache")]):2==t.row.package_type?a("span",[e._v("MKVCache")]):e._e()]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.servant.comment"),prop:"comment"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("releasePackage.uploadTime"),prop:"posttime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"260px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.setDefault(t.row)}}},[e._v(e._s(e.$t("operate.default")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.deletePackage(t.row.id)}}},[e._v(e._s(e.$t("operate.delete")))])]}}])})],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("pub.dlg.upload"),width:"880px",footShow:!1},on:{"on-cancel":e.closeUploadModal},model:{value:e.uploadModal.show,callback:function(t){e.$set(e.uploadModal,"show",t)},expression:"uploadModal.show"}},[e.uploadModal.model?a("let-form",{ref:"uploadForm",attrs:{itemWidth:"100%"},nativeOn:{submit:function(t){return t.preventDefault(),e.uploadPatchPackage(t)}}},[a("let-form-item",{attrs:{label:e.$t("releasePackage.moduleName")}},[e._v("\n "+e._s(e.uploadModal.model.application)+"."+e._s(e.uploadModal.model.module_name)+"\n ")]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("releasePackage.cacheType")}},[a("let-select",{attrs:{size:"small"},model:{value:e.uploadModal.model.package_type,callback:function(t){e.$set(e.uploadModal.model,"package_type",t)},expression:"uploadModal.model.package_type"}},[a("let-option",{attrs:{value:"1"}},[e._v("KVCache")]),e._v(" "),a("let-option",{attrs:{value:"2"}},[e._v("MKVCache")])],1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("pub.dlg.releasePkg"),itemWidth:"400px"}},[a("let-uploader",{attrs:{placeholder:e.$t("pub.dlg.defaultValue")},on:{upload:e.uploadFile}},[e._v(e._s(e.$t("common.submit"))+"\n ")]),e._v(" "),e.uploadModal.model.file?a("span",[e._v(e._s(e.uploadModal.model.file.name))]):e._e()],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.comment")}},[a("let-input",{attrs:{type:"textarea",rows:3},model:{value:e.uploadModal.model.comment,callback:function(t){e.$set(e.uploadModal.model,"comment",t)},expression:"uploadModal.model.comment"}})],1),e._v(" "),a("let-button",{attrs:{type:"submit",theme:"primary"}},[e._v(e._s(e.$t("serverList.servant.upload")))])],1):e._e()],1)],1)},staticRenderFns:[]};var Yt=a("VU/8")(Kt,Zt,!1,function(e){a("a94L")},null,null).exports,Xt={data:function(){return{config:{item:"",path:"",period:"",reload:"",remark:""}}},methods:{submit:function(){var e=this;return D()(L.a.mark(function t(){return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.$refs.addConfigForm.validate()){t.next=13;break}return t.prev=1,t.next=4,e.$ajax.postJSON("/server/api/cache/addConfig",e.config);case 4:e.$tip.success(""+e.$t("cache.config.addSuccess")),_()(e.config,{item:""}),e.$emit("call-back"),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(1),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 13:case"end":return t.stop()}},t,e,[[1,9]])}))()}}},Qt={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("let-form",{ref:"addConfigForm",attrs:{type:"medium",title:e.$t("cache.config.addConfig"),columns:2}},[a("let-form-item",{attrs:{label:e.$t("cache.config.item"),required:""}},[a("let-input",{attrs:{size:"small",required:""},model:{value:e.config.item,callback:function(t){e.$set(e.config,"item",t)},expression:"config.item"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.config.path"),required:""}},[a("let-input",{attrs:{size:"small",required:""},model:{value:e.config.path,callback:function(t){e.$set(e.config,"path",t)},expression:"config.path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.config.reload"),required:""}},[a("let-input",{attrs:{size:"small",required:""},model:{value:e.config.reload,callback:function(t){e.$set(e.config,"reload",t)},expression:"config.reload"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.config.period"),required:""}},[a("let-input",{attrs:{size:"small",required:""},model:{value:e.config.period,callback:function(t){e.$set(e.config,"period",t)},expression:"config.period"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.config.remark"),required:""}},[a("let-input",{attrs:{size:"small",required:""},model:{value:e.config.remark,callback:function(t){e.$set(e.config,"remark",t)},expression:"config.remark"}})],1),e._v(" "),a("br"),e._v(" "),a("let-form-item",{attrs:{label:" "}},[a("let-button",{attrs:{theme:"primary"},on:{click:e.submit}},[e._v(e._s(e.$t("cache.add")))])],1)],1)],1)},staticRenderFns:[]};var ea=a("VU/8")(Xt,Qt,!1,function(e){a("/4MF")},null,null).exports,ta={props:{id:{type:String,required:!0},item:{type:String,required:!0},path:{type:String,required:!0},period:{type:String,required:!0},reload:{type:String,required:!0},remark:{type:String,required:!0}},data:function(){return{config:{id:this.id,item:this.item,path:this.path,period:this.period,reload:this.reload,remark:this.remark}}},methods:{submit:function(){var e=this;return D()(L.a.mark(function t(){return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.$refs.editConfigForm.validate()){t.next=12;break}return t.prev=1,t.next=4,e.$ajax.postJSON("/server/api/cache/editConfig",e.config);case 4:e.$tip.success(""+e.$t("cache.config.addSuccess")),e.$emit("call-back"),t.next=12;break;case 8:t.prev=8,t.t0=t.catch(1),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 12:case"end":return t.stop()}},t,e,[[1,8]])}))()}}},aa={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{},[a("let-form",{ref:"editConfigForm",attrs:{type:"medium",title:e.$t("cache.config.editConfig"),columns:2}},[a("let-form-item",{attrs:{label:e.$t("cache.config.reload"),required:""}},[a("let-input",{attrs:{size:"small",required:""},model:{value:e.config.reload,callback:function(t){e.$set(e.config,"reload",t)},expression:"config.reload"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.config.period"),required:""}},[a("let-input",{attrs:{size:"small",required:""},model:{value:e.config.period,callback:function(t){e.$set(e.config,"period",t)},expression:"config.period"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.config.remark"),required:""}},[a("let-input",{attrs:{size:"small",required:""},model:{value:e.config.remark,callback:function(t){e.$set(e.config,"remark",t)},expression:"config.remark"}})],1),e._v(" "),a("br"),e._v(" "),a("let-form-item",{attrs:{label:" "}},[a("let-button",{attrs:{theme:"primary"},on:{click:e.submit}},[e._v(e._s(e.$t("cache.modification")))])],1)],1)],1)},staticRenderFns:[]};var ra={components:{AddConfig:ea,EditConfig:a("VU/8")(ta,aa,!1,function(e){a("CH5c")},null,null).exports},data:function(){return{list:[],addConfigVisible:!1,editConfigVisible:!1,editConfigObj:null}},methods:{addConfig:function(){this.addConfigVisible=!0},editConfig:function(e){this.editConfigVisible=!0,this.editConfigObj=e},deleteConfig:function(e){var t=this,a=e.id;this.$confirm(this.$t("cache.config.deleteConfig"),this.$t("common.alert")).then(D()(L.a.mark(function e(){return L.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$ajax.getJSON("/server/api/cache/deleteConfig",{id:a});case 3:return e.sent,e.next=6,t.getConfig();case 6:e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0),t.$tip.error(t.$t("common.error")+": "+(e.t0.message||e.t0.err_msg));case 12:case"end":return e.stop()}},e,t,[[0,8]])})))},getConfig:function(){var e=this;return D()(L.a.mark(function t(){var a;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.$ajax.getJSON("/server/api/cache/getConfig");case 3:a=t.sent,e.list=a,t.next=11;break;case 7:t.prev=7,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 11:case"end":return t.stop()}},t,e,[[0,7]])}))()}},created:function(){var e=this;return D()(L.a.mark(function t(){return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:console.log("aaaaaaaaaaa"),e.getConfig();case 2:case"end":return t.stop()}},t,e)}))()}},oa={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"page_operation"},[a("let-button",{attrs:{theme:"primary",size:"small"},on:{click:e.addConfig}},[e._v(e._s(e.$t("cache.config.addConfig")))]),e._v(" "),a("let-table",{attrs:{data:e.list,title:e.$t("cache.config.tableTitle"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:"ID",prop:"id"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.remark"),prop:"remark"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.path"),prop:"path"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.item"),prop:"item"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.reload"),prop:"reload"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.period"),prop:"period"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates")},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[a("let-table-operation",{on:{click:function(t){return e.editConfig(r)}}},[e._v(e._s(e.$t("operate.update")))]),e._v(" "),a("let-table-operation",{staticClass:"danger",on:{click:function(t){return e.deleteConfig(r)}}},[e._v(e._s(e.$t("operate.delete")))])]}}])})],1),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!0},model:{value:e.addConfigVisible,callback:function(t){e.addConfigVisible=t},expression:"addConfigVisible"}},[e.addConfigVisible?a("add-config",{on:{"call-back":e.getConfig}}):e._e()],1),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!0},model:{value:e.editConfigVisible,callback:function(t){e.editConfigVisible=t},expression:"editConfigVisible"}},[e.editConfigVisible?a("edit-config",e._b({on:{"call-back":e.getConfig}},"edit-config",e.editConfigObj,!1)):e._e()],1)],1)},staticRenderFns:[]};var sa=a("VU/8")(ra,oa,!1,function(e){a("9eSX")},null,null).exports,na={props:{moduleName:{type:String,required:!0},serverName:{type:String,required:!0},nodeName:{type:String,required:!0}},data:function(){return{configList:[]}},methods:{getServerConfig:function(){var e=this;return D()(L.a.mark(function t(){var a,r;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,a={moduleName:e.moduleName,serverName:e.serverName,nodeName:e.nodeName},t.next=4,e.$ajax.getJSON("/server/api/cache/getServerConfig",a);case 4:r=t.sent,e.configList=r.filter(function(e){var t=r.filter(function(t){return t.path===e.path&&t.item===e.item}),a=t[t.length-1];return e===a}),t.next=12;break;case 8:t.prev=8,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 12:case"end":return t.stop()}},t,e,[[0,8]])}))()}},created:function(){this.getServerConfig()}},ia={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("let-table",{attrs:{data:e.configList,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("cache.config.remark"),prop:"remark"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.path"),prop:"path"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.item"),prop:"item"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.value"),prop:"config_value"}})],1)],1)},staticRenderFns:[]};var la=a("VU/8")(na,ia,!1,function(e){a("KikY")},null,null).exports,ca={props:{serverName:{type:String,required:!0},nodeName:{type:String,required:!0}},data:function(){return{configList:[]}},methods:{getServerConfig:function(){var e=this;return D()(L.a.mark(function t(){var a,r;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,a={serverName:e.serverName,nodeName:e.nodeName},t.next=4,e.$ajax.getJSON("/server/api/cache/getServerNodeConfig",a);case 4:(r=t.sent).forEach(function(e){return e.modify_value=""}),e.configList=r,t.next=13;break;case 9:t.prev=9,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 13:case"end":return t.stop()}},t,e,[[0,9]])}))()},deleteConfig:function(e){var t=this,a=e.id;this.$confirm(this.$t("cache.config.deleteConfig"),this.$t("common.alert")).then(D()(L.a.mark(function e(){return L.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$ajax.getJSON("/server/api/cache/deleteServerConfigItem",{id:a});case 3:return e.sent,e.next=6,t.getServerConfig();case 6:e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0),t.$tip.error(t.$t("common.error")+": "+(e.t0.message||e.t0.err_msg));case 12:case"end":return e.stop()}},e,t,[[0,8]])})))},saveConfig:function(e){var t=this,a=e.id,r=e.modify_value;return D()(L.a.mark(function e(){return L.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$ajax.getJSON("/server/api/cache/updateServerConfigItem",{id:a,configValue:r});case 3:return e.sent,e.next=6,t.getServerConfig();case 6:e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0),t.$tip.error(t.$t("common.error")+": "+(e.t0.message||e.t0.err_msg));case 12:case"end":return e.stop()}},e,t,[[0,8]])}))()}},created:function(){this.getServerConfig()}},da={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("let-table",{attrs:{data:e.configList,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("cache.config.remark"),prop:"remark"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.path"),prop:"path"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.item"),prop:"item"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.value"),prop:"config_value"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.modify_value"),prop:"config_value"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[a("let-input",{attrs:{size:"small"},model:{value:r.modify_value,callback:function(t){e.$set(r,"modify_value",t)},expression:"row.modify_value"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates")},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[a("let-table-operation",{on:{click:function(t){return e.saveConfig(r)}}},[e._v(e._s(e.$t("operate.save")))]),e._v(" "),a("let-table-operation",{staticClass:"danger",on:{click:function(t){return e.deleteConfig(r)}}},[e._v(e._s(e.$t("operate.delete")))])]}}])})],1)],1)},staticRenderFns:[]};var ua=a("VU/8")(ca,da,!1,function(e){a("KDy6")},null,null).exports,ma={props:{serverName:{type:String,required:!1},nodeName:{type:String,required:!1},appName:{type:String,required:!1},moduleName:{type:String,required:!1}},computed:{isModule:function(){return!(!this.appName||!this.moduleName)}},data:function(){return{itemId:"",list:[],configValue:""}},methods:{submit:function(){var e=this;return D()(L.a.mark(function t(){var a;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.$refs.addConfigForm.validate()){t.next=16;break}return t.prev=1,a={itemId:e.itemId,configValue:e.configValue,serverName:e.serverName,nodeName:e.nodeName,appName:e.appName,moduleName:e.moduleName},t.next=5,e.$ajax.postJSON("/server/api/cache/addServerConfigItem",a);case 5:e.$tip.success(""+e.$t("cache.config.addSuccess")),e.configValue="",e.itemId="",e.getConfig(),e.moduleName&&e.$emit("call-back"),t.next=16;break;case 12:t.prev=12,t.t0=t.catch(1),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 16:case"end":return t.stop()}},t,e,[[1,12]])}))()},getConfig:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o,s,n;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,I({method:"get",url:"/cache/getConfig"});case 3:if(a=t.sent,r=e.isModule,o=e.appName,s=e.moduleName,!r){t.next=10;break}return t.next=8,Z({appName:o,moduleName:s});case 8:n=t.sent,a=a.filter(function(e){return!n.filter(function(t){return t.path+"__"+t.item==e.path+"__"+e.item}).length});case 10:e.list=a,t.next=17;break;case 13:t.prev=13,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 17:case"end":return t.stop()}},t,e,[[0,13]])}))()}},created:function(){this.getConfig(),window.config=this}},pa={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("let-form",{ref:"addConfigForm",attrs:{type:"medium",title:e.$t("cache.config.addConfig")}},[a("let-form-item",{attrs:{label:e.$t("cache.config.item"),required:""}},[a("let-select",{attrs:{size:"small"},model:{value:e.itemId,callback:function(t){e.itemId=t},expression:"itemId"}},e._l(e.list,function(t){return a("let-option",{attrs:{value:t.id}},[e._v(e._s(t.path)+"__"+e._s(t.item)+"("+e._s(t.remark)+")")])}),1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("cache.config.itemValue"),required:""}},[a("let-input",{attrs:{size:"small",required:""},model:{value:e.configValue,callback:function(t){e.configValue=t},expression:"configValue"}})],1),e._v(" "),a("br"),e._v(" "),a("let-form-item",{attrs:{label:" "}},[a("let-button",{attrs:{theme:"primary"},on:{click:e.submit}},[e._v(e._s(e.$t("cache.add")))])],1)],1)],1)},staticRenderFns:[]};var ha={components:{ServerConfigList:la,ServerConfig:ua,addServerConfig:a("VU/8")(ma,pa,!1,function(e){a("cYyP")},null,null).exports},data:function(){return{appName:"",moduleName:"",configList:[],serverList:[],serverConfigListVisible:!1,serverConfigVisible:!1,addServerConfigVisible:!1,checkServer:{},isCheckedAll:!1,pagination:{page:1}}},computed:{showConfigList:function(){return this.configList.slice(10*(this.pagination.page-1),10*this.pagination.page)},total:function(){return Math.ceil(this.configList.length/10)},hasCheckedItem:function(){return 0!==this.showConfigList.filter(function(e){return!0===e.isChecked}).length}},watch:{isCheckedAll:function(){var e=this.isCheckedAll;this.showConfigList.forEach(function(t){t.isChecked=e})}},methods:{checkedAllChange:function(){console.log(arguments)},changePage:function(e){this.pagination.page=e},inputFocus:function(e){e.target.rows=4},inputBlur:function(e){e.target.rows=1},getModuleConfig:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,a=e.appName,r=e.moduleName,t.next=4,Z({appName:a,moduleName:r});case 4:(o=t.sent).forEach(function(e){e.modify_value="",e.isChecked=!1}),e.configList=o,t.next=13;break;case 9:t.prev=9,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 13:case"end":return t.stop()}},t,e,[[0,9]])}))()},getServerList:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,a=e.appName,r=e.moduleName,t.next=4,K({appName:a,moduleName:r});case 4:o=t.sent,e.serverList=o,t.next=12;break;case 8:t.prev=8,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 12:case"end":return t.stop()}},t,e,[[0,8]])}))()},saveConfig:function(e){var t=this;return D()(L.a.mark(function a(){var r,o;return L.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return r=e.id,o=e.modify_value,a.prev=1,a.next=4,t.$ajax.getJSON("/server/api/cache/updateServerConfigItem",{id:r,configValue:o});case 4:return a.sent,a.next=7,t.getModuleConfig();case 7:a.next=13;break;case 9:a.prev=9,a.t0=a.catch(1),console.error(a.t0),t.$tip.error(t.$t("common.error")+": "+(a.t0.message||a.t0.err_msg));case 13:case"end":return a.stop()}},a,t,[[1,9]])}))()},saveConfigBatch:function(){var e=this;return D()(L.a.mark(function t(){var a;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.showConfigList.filter(function(e){return e.isChecked}).map(function(e){return{indexId:e.id,configValue:e.modify_value}}),t.prev=1,t.next=4,e.$ajax.postJSON("/server/api/cache/updateServerConfigItemBatch",{serverConfigList:a});case 4:return t.sent,t.next=7,e.getModuleConfig();case 7:t.next=13;break;case 9:t.prev=9,t.t0=t.catch(1),console.error(t.t0),e.$tip.error(e.$t("common.error")+": "+(t.t0.message||t.t0.err_msg));case 13:case"end":return t.stop()}},t,e,[[1,9]])}))()},deleteConfig:function(e){var t=this,a=e.id;this.$confirm(this.$t("cache.config.deleteConfig"),this.$t("common.alert")).then(D()(L.a.mark(function e(){return L.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$ajax.getJSON("/server/api/cache/deleteServerConfigItem",{id:a});case 3:return e.sent,e.next=6,t.getModuleConfig();case 6:e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0),t.$tip.error(t.$t("common.error")+": "+(e.t0.message||e.t0.err_msg));case 12:case"end":return e.stop()}},e,t,[[0,8]])})))},deleteServerConfigItemBatch:function(e){var t=this,a=(e.id,this.showConfigList.filter(function(e){return e.isChecked}).map(function(e){return{indexId:e.id}}));this.$confirm(this.$t("cache.config.deleteConfig"),this.$t("common.alert")).then(D()(L.a.mark(function e(){return L.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$ajax.postJSON("/server/api/cache/deleteServerConfigItemBatch",{serverConfigList:a});case 3:return e.sent,e.next=6,t.getModuleConfig();case 6:e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0),t.$tip.error(t.$t("common.error")+": "+(e.t0.message||e.t0.err_msg));case 12:case"end":return e.stop()}},e,t,[[0,8]])})))},handleNoPublishedTime:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$t("pub.dlg.unpublished");return"0000:00:00 00:00:00"===e?t:e},checkServerConfigList:function(e){this.serverConfigListVisible=!0,this.checkServer={serverName:e.server_name,nodeName:e.node_name}},editServerConfig:function(e){this.serverConfigVisible=!0,this.checkServer={serverName:e.server_name,nodeName:e.node_name}},addServerConfig:function(e){this.addServerConfigVisible=!0,this.checkServer={serverName:e.server_name,nodeName:e.node_name,moduleName:e.moduleName,appName:e.appName}}},created:function(){var e=this.$parent.getServerData(),t=e.application,a=e.module_name;this.appName=t,this.moduleName=a,this.getModuleConfig(),this.getServerList()}},fa={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"moduleCache"},[e.serverList?a("let-table",{ref:"serverListLoading",attrs:{data:e.serverList,title:e.$t("serverList.title.serverList"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("serverList.table.th.service"),prop:"server_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.ip"),prop:"node_name",width:"140px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.zb"),width:"140px"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row.server_type;return["M"===r?a("span",[e._v(e._s(e.$t("cache.mainEngine")))]):"S"===r?a("span",[e._v(e._s(e.$t("cache.standByEngine")))]):"I"===r?a("span",[e._v(e._s(e.$t("cache.mirror")))]):e._e()]}}],null,!1,888927167)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.configStatus"),width:"90px"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"===e.row.setting_state?"status-active":"status-off"})]}}],null,!1,3224184510)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.currStatus"),width:"65px"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"===e.row.present_state?"status-active":"activating"===e.row.present_state?"status-activating":"status-off"})]}}],null,!1,4116932289)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.time")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{"word-break":"break-word"}},[e._v(e._s(e.handleNoPublishedTime(t.row.patch_time)))])]}}],null,!1,3144837894)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"260px"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[a("let-table-operation",{on:{click:function(t){return e.editServerConfig(r)}}},[e._v(e._s(e.$t("cache.config.edit")))]),e._v(" "),a("let-table-operation",{on:{click:function(t){return e.checkServerConfigList(r)}}},[e._v(e._s(e.$t("cache.config.view")))]),e._v(" "),a("let-table-operation",{on:{click:function(t){return e.addServerConfig(r)}}},[e._v(e._s(e.$t("cache.config.add")))])]}}],null,!1,3985947012)})],1):e._e(),e._v(" "),a("let-table",{attrs:{data:e.showConfigList,title:e.$t("cache.config.tableTitle"),"empty-msg":e.$t("common.nodata"),stripe:!0}},[a("let-table-column",{scopedSlots:e._u([{key:"head",fn:function(t){return[a("let-checkbox",{attrs:{value:e.isCheckedAll,change:e.checkedAllChange},model:{value:e.isCheckedAll,callback:function(t){e.isCheckedAll=t},expression:"isCheckedAll"}})]}},{key:"default",fn:function(t){return[a("let-checkbox",{attrs:{value:t.row.id},model:{value:t.row.isChecked,callback:function(a){e.$set(t.row,"isChecked",a)},expression:"scope.row.isChecked"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.remark"),prop:"remark"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.path"),prop:"path"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.item"),prop:"item"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.config_value"),prop:"config_value"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row.config_value;return[a("div",{staticStyle:{"white-space":"pre-wrap"}},[e._v(e._s(r))])]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("cache.config.modify_value"),prop:"period"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[a("let-input",{attrs:{size:"small",type:"textarea",rows:1},on:{focus:e.inputFocus,blur:e.inputBlur},model:{value:r.modify_value,callback:function(t){e.$set(r,"modify_value",t)},expression:"row.modify_value"}})]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates")},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[a("let-table-operation",{on:{click:function(t){return e.saveConfig(r)}}},[e._v(e._s(e.$t("operate.save")))]),e._v(" "),a("let-table-operation",{staticClass:"danger",on:{click:function(t){return e.deleteConfig(r)}}},[e._v(e._s(e.$t("operate.delete")))])]}}])}),e._v(" "),e.total?a("let-pagination",{attrs:{slot:"pagination",total:e.total,page:e.pagination.page,"show-sums":"",sum:e.configList.length,jump:"",align:"right"},on:{change:e.changePage},slot:"pagination"}):e._e(),e._v(" "),a("template",{slot:"operations"},[a("let-button",{attrs:{theme:"success",disabled:!e.hasCheckedItem},on:{click:e.saveConfigBatch}},[e._v(e._s(e.$t("cache.config.batchUpdate")))]),e._v(" "),a("let-button",{attrs:{theme:"danger",disabled:!e.hasCheckedItem},on:{click:e.deleteServerConfigItemBatch}},[e._v(e._s(e.$t("cache.config.batchDelete")))]),e._v(" "),a("let-button",{attrs:{theme:"primary"},on:{click:function(t){return e.addServerConfig({appName:e.appName,moduleName:e.moduleName})}}},[e._v(e._s(e.$t("cache.config.addModuleConfig")))])],1)],2),e._v(" "),a("let-modal",{staticClass:"server_config_list_modal",attrs:{footShow:!1,closeOnClickBackdrop:!0,width:"80%",height:"80%",title:e.$t("cache.config.tableTitle")},model:{value:e.serverConfigListVisible,callback:function(t){e.serverConfigListVisible=t},expression:"serverConfigListVisible"}},[e.serverConfigListVisible?a("server-config-list",e._b({attrs:{moduleName:e.moduleName}},"server-config-list",e.checkServer,!1)):e._e()],1),e._v(" "),a("let-modal",{staticClass:"server_config_list_modal",attrs:{footShow:!1,closeOnClickBackdrop:!0,width:"80%",height:"80%",title:e.$t("cache.config.tableTitle")},model:{value:e.serverConfigVisible,callback:function(t){e.serverConfigVisible=t},expression:"serverConfigVisible"}},[e.serverConfigVisible?a("server-config",e._b({},"server-config",e.checkServer,!1)):e._e()],1),e._v(" "),a("let-modal",{attrs:{footShow:!1,closeOnClickBackdrop:!0},model:{value:e.addServerConfigVisible,callback:function(t){e.addServerConfigVisible=t},expression:"addServerConfigVisible"}},[e.addServerConfigVisible?a("add-server-config",e._b({on:{"call-back":e.getModuleConfig}},"add-server-config",e.checkServer,!1)):e._e()],1)],1)},staticRenderFns:[]};var va=a("VU/8")(ha,fa,!1,function(e){a("a9fJ")},null,null).exports,_a={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"operation-manage"},[a("let-tabs",{attrs:{activekey:e.$route.path},on:{click:e.onTabClick}},[a("let-tab-pane",{attrs:{tab:e.$t("dcache.operationManage.expand"),tabkey:"/operationManage/expand"}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("dcache.operationManage.shrinkage"),tabkey:"/operationManage/shrinkage"}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("dcache.operationManage.migration"),tabkey:"/operationManage/migration"}}),e._v(" "),a("let-tab-pane",{attrs:{tab:e.$t("dcache.operationManage.mainBackup"),tabkey:"/operationManage/mainBackup"}})],1),e._v(" "),a("router-view",{staticClass:"operation-manage-children"})],1)},staticRenderFns:[]};var ga=a("VU/8")({methods:{onTabClick:function(e){this.$router.replace(e)}}},_a,!1,function(e){a("AuvU")},null,null).exports,ba={data:function(){return{list:[],total:0,page:1}},computed:{showList:function(){var e=this.page;return this.list.slice(10*(e-1),10*e)},type:function(){return{expand:"1",shrinkage:"2",migration:"0"}[this.$route.params.type]||"1"}},methods:{getRouterChange:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s={type:e.type},void 0,n=s.type,I({method:"get",url:"/cache/getRouterChange",params:{type:void 0===n?"1":n}});case 3:a=t.sent,r=a.totalNum,o=a.transferRecord,e.list=o.map(function(e){return e.statusText="dcache.operationManage.statusText."+e.status,e.progressText=e.progress+"%",e}),e.total=Math.ceil(r/10),t.next=14;break;case 10:t.prev=10,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(t.t0.message);case 14:case"end":return t.stop()}var s,n},t,e,[[0,10]])}))()},changePage:function(e){this.page=e},ensureStop:function(e){var t=this;return D()(L.a.mark(function a(){var r,o,s,n,i;return L.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,t.$confirm(t.$t("dcache.operationManage.ensureStop"));case 3:return console.log("ensure stop",e),r=e.appName,o=e.moduleName,s=e.type,n=e.srcGroupName,i=e.dstGroupName,a.next=7,G({appName:r,moduleName:o,type:s,srcGroupName:n,dstGroupName:i});case 7:t.getRouterChange(),a.next=14;break;case 10:a.prev=10,a.t0=a.catch(0),console.error(a.t0),t.$tip.error(a.t0.message);case 14:case"end":return a.stop()}},a,t,[[0,10]])}))()},ensureDelete:function(e){var t=this;return D()(L.a.mark(function a(){var r,o,s,n,i;return L.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,t.$confirm(t.$t("dcache.operationManage.ensureDelete"));case 3:return console.log("ensure delete",e),r=e.appName,o=e.moduleName,s=e.type,n=e.srcGroupName,i=e.dstGroupName,a.next=7,J({appName:r,moduleName:o,type:s,srcGroupName:n,dstGroupName:i});case 7:t.getRouterChange(),a.next=14;break;case 10:a.prev=10,a.t0=a.catch(0),console.error(a.t0),t.$tip.error(a.t0.message);case 14:case"end":return a.stop()}},a,t,[[0,10]])}))()},restartDask:function(e){var t=this;return D()(L.a.mark(function a(){var r,o,s,n,i;return L.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,t.$confirm(t.$t("dcache.operationManage.ensureRestart"));case 3:return r=e.appName,o=e.moduleName,s=e.type,n=e.srcGroupName,i=e.dstGroupName,a.next=6,W({appName:r,moduleName:o,type:s,srcGroupName:n,dstGroupName:i});case 6:t.getRouterChange(),a.next=13;break;case 9:a.prev=9,a.t0=a.catch(0),console.error(a.t0),t.$tip.error(a.t0.message);case 13:case"end":return a.stop()}},a,t,[[0,9]])}))()}},beforeRouteUpdate:function(e,t,a){a(),this.getRouterChange()},created:function(){this.getRouterChange()}},$a={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("let-table",{ref:"pageTable",attrs:{data:e.showList,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.appName"),prop:"appName"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.moduleName"),prop:"moduleName"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.srcGroupName"),prop:"srcGroupName"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.dstGroupName"),prop:"dstGroupName"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.status"),prop:"status"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(e.$t(a.statusText))+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.beginTime"),prop:"beginTime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.progress"),prop:"progress"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.progressText)+"\n ")]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),prop:"appName",width:"120px"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[3===r.status?a("let-table-operation",{on:{click:function(t){return e.ensureStop(r)}}},[e._v(e._s(e.$t("operate.stop")))]):e._e(),e._v(" "),3!==r.status?a("let-table-operation",{on:{click:function(t){return e.ensureDelete(r)}}},[e._v(e._s(e.$t("operate.delete")))]):e._e(),e._v(" "),5===r.status?a("let-table-operation",{on:{click:function(t){return e.restartDask(r)}}},[e._v(e._s(e.$t("operate.retry")))]):e._e()]}}])}),e._v(" "),a("let-pagination",{attrs:{slot:"pagination",align:"right",total:e.total,page:e.page},on:{change:e.changePage},slot:"pagination"})],1)],1)},staticRenderFns:[]},ya=a("VU/8")(ba,$a,!1,null,null,null).exports,wa={data:function(){return{list:[],total:0,page:1,switchTypeText:["switch","mirrorSwitch","mirrorOffSwitch","readFail"],switchResultText:["switching","switchSuccess","notSwitch","switchFailure"],groupStatusText:["rw","ro","imageUnavailable"],switchPropertyText:{auto:"auto",manual:"manual"},color:["#00AA90","#6accab","#9096a3","#f56c77"]}},computed:{showList:function(){var e=this.page;return this.list.slice(10*(e-1),10*e)}},methods:{getSwitchInfo:function(){var e=this;return D()(L.a.mark(function t(){var a,r,o;return L.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,void 0,void 0,void 0,void 0,void 0,n=(s={}).appName,i=void 0===n?"":n,l=s.moduleName,c=void 0===l?"":l,d=s.groupName,I({method:"get",url:"/cache/getSwitchInfo",params:{appName:i,moduleName:c,groupName:void 0===d?"":d}});case 3:a=t.sent,r=a.totalNum,o=a.switchRecord,e.list=o.map(function(e){return e}),e.total=Math.ceil(r/10),t.next=14;break;case 10:t.prev=10,t.t0=t.catch(0),console.error(t.t0),e.$tip.error(t.t0.message);case 14:case"end":return t.stop()}var s,n,i,l,c,d},t,e,[[0,10]])}))()},changePage:function(e){this.page=e},switchServer:function(e){var t=this;return D()(L.a.mark(function a(){var r,o,s;return L.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,r=e.appName,o=e.moduleName,s=e.groupName,a.next=4,B({appName:r,moduleName:o,groupName:s});case 4:t.getSwitchInfo(),a.next=11;break;case 7:a.prev=7,a.t0=a.catch(0),console.error(a.t0),t.$tip.error(a.t0.message);case 11:case"end":return a.stop()}},a,t,[[0,7]])}))()},recoverMirrorStatus:function(e){var t=this;return D()(L.a.mark(function a(){var r,o,s,n,i,l;return L.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(2!==e.switchType){a.next=14;break}if(a.prev=1,r=e.appName,o=e.moduleName,s=e.groupName,n=e.mirrorIdc,i=e.dbFlag,l=e.enableErase,n){a.next=5;break}throw new Error(t.$t("dcache.mirrorEmpty"));case 5:return a.next=7,U({appName:r,moduleName:o,groupName:s,mirrorIdc:n,dbFlag:i,enableErase:l});case 7:t.getSwitchInfo(),a.next=14;break;case 10:a.prev=10,a.t0=a.catch(1),console.error(a.t0),t.$tip.error(a.t0.message);case 14:case"end":return a.stop()}},a,t,[[1,10]])}))()}},created:function(){this.getSwitchInfo()}},Ma={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("let-table",{ref:"pageTable",attrs:{data:e.showList,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.appName"),prop:"appName"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.moduleName"),prop:"moduleName"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.groupName"),prop:"groupName"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.switchTime"),prop:"switchTime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.modifyTime"),prop:"modifyTime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.switchType"),prop:"switchType"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row.switchType;return[a("span",{style:{color:e.color[r]}},[e._v(e._s(e.$t("dcache."+e.switchTypeText[r])))])]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.switchResult"),prop:"switchResult"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row.switchResult;return[a("span",{style:{color:e.color[r]}},[e._v(e._s(e.$t("dcache."+e.switchResultText[r])))])]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.groupStatus"),prop:"groupStatus"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row.groupStatus;return[a("span",{style:{color:e.color[r]}},[e._v(e._s(e.$t("dcache."+e.groupStatusText[r])))])]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("dcache.operationManage.switchMethod"),prop:"switchProperty"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row.switchProperty;return[a("span",[e._v(e._s(e.$t("dcache."+e.switchPropertyText[r])))])]}}])}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),prop:"appName",width:"100px"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[a("let-table-operation",{attrs:{title:e.$t("dcache.areset"),disabled:!(2===r.switchType&&2===r.groupStatus)},on:{click:function(t){return e.recoverMirrorStatus(r)}}},[e._v(e._s(e.$t("dcache.oreset")))])]}}])}),e._v(" "),a("let-pagination",{attrs:{slot:"pagination",align:"right",total:e.total,page:e.page},on:{change:e.changePage},slot:"pagination"})],1)],1)},staticRenderFns:[]},ka=a("VU/8")(wa,Ma,!1,null,null,null).exports;r.default.use(f.a);var xa=new f.a({routes:[{path:"/server",name:"Server",component:$,children:[{path:":treeid/manage",component:ne},{path:":treeid/manage/:serverType",component:ne},{path:":treeid/publish/:serverType",component:Ue},{path:":treeid/config/:serverType",component:He.a},{path:":treeid/server-monitor/:serverType",component:Ke.a},{path:":treeid/property-monitor/:serverType",component:Ze.a},{path:":treeid/interface-debuger/:serverType",component:Xe.a},{path:":treeid/user-manage/:serverType",component:Ye.a},{path:":treeid/cache",component:Re},{path:":treeid/moduleCache",component:va},{path:":treeid/propertyMonitor",component:We,fn:"特性监控"}]},{path:"/operation",name:"Operation",component:et,redirect:"/operation/apply",children:[{path:"apply",name:"apply",component:at,redirect:"/operation/apply/createApply",children:[{path:"createApply",component:st},{path:"createService/:applyId",component:lt},{path:"installAndPublish/:applyId",component:vt}]},{path:"module",component:gt,redirect:"/operation/module/createModule",children:[{path:"createModule",component:wt},{path:"moduleConfig/:moduleId",component:Nt},{path:"serverConfig/:moduleId",component:Ft},{path:"installAndPublish/:moduleId",component:Ot}]},{path:"region",name:"region",component:jt}]},{path:"/releasePackage",name:"releasePackage",component:zt,redirect:"/releasePackage/proxyList",children:[{path:"proxyList",component:Jt},{path:"routerList",component:Ht},{path:"cacheList",component:Yt}]},{path:"/config",component:sa},{path:"/operationManage",name:"operationManage",component:ga,redirect:"/operationManage/expand",children:[{path:"mainBackup",component:ka},{path:":type",component:ya}]},{path:"*",redirect:"/server"}],scrollBehavior:function(e,t,a){return{x:0,y:0}}});r.default.config.productionTip=!1,c.b.call(this).then(function(){new r.default({i18n:c.a,el:"#app",router:xa,components:{App:h},template:""})})},"E+Yk":function(e,t,a){"use strict";var r=a("woOf"),o=a.n(r),s={name:"ServerUserManage",data:function(){return{serverData:o()({},this.$parent.getServerData()),developer:"",operator:"",hasAuth:!1}},mounted:function(){this.checkHasAuth(),this.getAuthList()},methods:{checkHasAuth:function(){var e=this;this.$ajax.getJSON("/server/api/has_auth",{application:this.serverData.application,server_name:this.serverData.server_name,role:"developer"}).then(function(t){e.hasAuth=t.has_auth||!1}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},getAuthList:function(){var e=this;this.$ajax.getJSON("/server/api/get_auth_list",{application:this.serverData.application,server_name:this.serverData.server_name}).then(function(t){e.operator=(t.operator||[]).join(";"),e.developer=(t.developer||[]).join(";")}).catch(function(t){e.$tip.error(e.$t("common.error")+": "+(t.message||t.err_msg))})},save:function(){var e=this,t=this.$Loading.show();this.$ajax.postJSON("/server/api/update_auth",{application:this.serverData.application,server_name:this.serverData.server_name,operator:this.operator,developer:this.developer}).then(function(a){t.hide(),e.$tip.success(""+e.$t("common.error"))}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.message||a.err_msg))})}}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("let-form",{attrs:{inline:"",itemWidth:"600px"},nativeOn:{submit:function(t){return t.preventDefault(),e.save(t)}}},[a("let-form-item",{attrs:{label:e.$t("user.op")}},[a("let-input",{attrs:{type:"textarea",disabled:!e.hasAuth},model:{value:e.operator,callback:function(t){e.operator=t},expression:"operator"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("user.dev")}},[a("let-input",{attrs:{type:"textarea",disabled:!e.hasAuth},model:{value:e.developer,callback:function(t){e.developer=t},expression:"developer"}})],1),e._v(" "),a("let-form-item",[e.hasAuth?a("let-button",{attrs:{type:"submit",theme:"primary"}},[e._v(e._s(e.$t("common.submit")))]):e._e()],1)],1)],1)},staticRenderFns:[]};var i=a("VU/8")(s,n,!1,function(e){a("FqYd")},null,null);t.a=i.exports},"ED/T":function(e,t,a){"use strict";e.exports=function(e,t){return function(){for(var a=new Array(arguments.length),r=0;r65535||n++,o=null}s=3===n}else s=!1;return s},saveServantDetail:function(){var e=this;if(this.$refs.servantDetailForm.validate()){var t=this.$Loading.show();if(this.servantDetailModal.isNew){var a=this.servantDetailModal.model;a.servant=[a.application,a.server_name,a.obj_name].join("."),this.$ajax.postJSON("/server/api/add_adapter_conf",a).then(function(a){t.hide(),e.servantModal.model.unshift(a),e.$tip.success(e.$t("common.success")),e.closeServantDetailModal()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.err_msg||a.message))})}else this.servantDetailModal.model.servant=this.servantDetailModal.model.application+"."+this.servantDetailModal.model.server_name+"."+this.servantDetailModal.model.obj_name,this.$ajax.postJSON("/server/api/update_adapter_conf",this.servantDetailModal.model).then(function(a){t.hide(),e.servantModal.model=e.servantModal.model.map(function(e){return e.id===a.id?a:e}),e.$tip.success(e.$t("common.success")),e.closeServantDetailModal()}).catch(function(a){t.hide(),e.$tip.error(e.$t("common.error")+": "+(a.err_msg||a.message))})}},deleteServant:function(e){var t=this;this.$confirm(this.$t("serverList.servant.a"),this.$t("common.alert")).then(function(){var a=t.$Loading.show();t.$ajax.getJSON("/server/api/delete_adapter_conf",{id:e}).then(function(r){a.hide(),t.servantModal.model=t.servantModal.model.filter(function(t){return t.id!==e}),t.$tip.success(t.$t("common.success"))}).catch(function(e){a.hide(),t.$tip.error(t.$t("common.error")+": "+(e.err_msg||e.message))})})},showMoreCmd:function(e){var t=this;this.moreCmdModal.model={selected:"setloglevel",setloglevel:"NONE",loadconfig:"",command:"",configs:null},this.moreCmdModal.unwatch=this.$watch("moreCmdModal.model.selected",function(){t.$refs.moreCmdForm&&t.$refs.moreCmdForm.resetValid()}),this.moreCmdModal.show=!0,this.moreCmdModal.currentServer=e,this.$ajax.getJSON("/server/api/config_file_list",{level:5,application:e.application,server_name:e.server_name}).then(function(e){t.moreCmdModal.model&&(t.moreCmdModal.model.configs=e)}).catch(function(e){t.$tip.error(t.$t("common.error")+": "+(e.err_msg||e.message))})},sendCommand:function(e,t,a){var r=this,o=this.$Loading.show();this.$ajax.getJSON("/server/api/send_command",{server_ids:e,command:t}).then(function(e){o.hide();var t=e[0].err_msg.replace(/\n/g,"
");if(0!==e[0].ret_code)throw new Error(t);var s={title:r.$t("common.success"),message:t};a&&(s.duration=0),r.$tip.success(s)}).catch(function(e){o.hide(),r.$tip.error({title:r.$t("common.error"),message:e.err_msg||e.message})})},invokeMoreCmd:function(){var e=this.moreCmdModal.model,t=this.moreCmdModal.currentServer;"undeploy_tars"===e.selected?this.undeployServer(t.id):"setloglevel"===e.selected?this.sendCommand(t.id,"tars.setloglevel "+e.setloglevel):"loadconfig"===e.selected&&this.$refs.moreCmdForm.validate()?this.sendCommand(t.id,"tars.loadconfig "+e.loadconfig):"command"===e.selected&&this.$refs.moreCmdForm.validate()?this.sendCommand(t.id,e.command):"connection"===e.selected&&this.sendCommand(t.id,"tars.connection",!0)},closeMoreCmdModal:function(){this.$refs.moreCmdForm&&this.$refs.moreCmdForm.resetValid(),this.moreCmdModal.unwatch&&this.moreCmdModal.unwatch(),this.moreCmdModal.show=!1,this.moreCmdModal.model=null},handleNoPublishedTime:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$t("pub.dlg.unpublished");return"0000:00:00 00:00:00"===e?t:e}},created:function(){this.serverData=this.$parent.getServerData()},mounted:function(){this.getServerList(),this.getServerNotifyList(1)}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_server_manage"},[e.serverList?a("let-table",{ref:"serverListLoading",attrs:{data:e.serverList,title:e.$t("serverList.title.serverList"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("serverList.table.th.service"),prop:"server_name"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.ip"),prop:"node_name",width:"140px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.enableSet")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.enable_set?a("p",{staticStyle:{"max-width":"200px"}},[e._v("\n "+e._s(e.$t("common.set.setName"))+":"+e._s(t.row.set_name)),a("br"),e._v("\n "+e._s(e.$t("common.set.setArea"))+":"+e._s(t.row.set_area)),a("br"),e._v("\n "+e._s(e.$t("common.set.setGroup"))+":"+e._s(t.row.set_group)+"\n ")]):a("span",[e._v(e._s(e.$t("common.disable")))])]}}],null,!1,1670625483)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.configStatus"),width:"90px"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"===e.row.setting_state?"status-active":"status-off"})]}}],null,!1,3224184510)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.currStatus"),width:"65px"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("span",{class:"active"===e.row.present_state?"status-active":"activating"===e.row.present_state?"status-activating":"status-off"})]}}],null,!1,4116932289)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.processID"),prop:"process_id",width:"80px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.version"),prop:"patch_version",width:"68px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.time")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{"word-break":"break-word"}},[e._v(e._s(e.handleNoPublishedTime(t.row.patch_time)))])]}}],null,!1,3144837894)}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"260px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.configServer(t.row.id)}}},[e._v(e._s(e.$t("operate.update")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.restartServer(t.row.id)}}},[e._v(e._s(e.$t("operate.restart")))]),e._v(" "),a("let-table-operation",{staticClass:"danger",on:{click:function(a){return e.stopServer(t.row.id)}}},[e._v(e._s(e.$t("operate.stop")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.manageServant(t.row)}}},[e._v(e._s(e.$t("operate.servant")))]),e._v(" "),a("let-table-operation",{on:{click:function(a){return e.showMoreCmd(t.row)}}},[e._v(e._s(e.$t("operate.more")))])]}}],null,!1,3478261854)})],1):e._e(),e._v(" "),e.serverNotifyList&&e.showOthers?a("let-table",{ref:"serverNotifyListLoading",attrs:{data:e.serverNotifyList,title:e.$t("serverList.title.serverStatus"),"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("common.time"),prop:"notifytime"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.serviceID"),prop:"server_id"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.threadID"),prop:"thread_id"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.th.result"),prop:"result"}})],1):e._e(),e._v(" "),a("let-pagination",{staticStyle:{"margin-bottom":"32px"},attrs:{page:e.pageNum,total:e.total},on:{change:e.gotoPage}}),e._v(" "),a("let-modal",{attrs:{title:e.$t("serverList.dlg.title.editService"),width:"800px",footShow:!(!e.configModal.model||!e.configModal.model.server_name)},on:{"on-confirm":e.saveConfig,close:e.closeConfigModal,"on-cancel":e.closeConfigModal},model:{value:e.configModal.show,callback:function(t){e.$set(e.configModal,"show",t)},expression:"configModal.show"}},[e.configModal.model&&e.configModal.model.server_name?a("let-form",{ref:"configForm",staticClass:"two-columns",attrs:{itemWidth:"360px",columns:2}},[a("let-form-item",{attrs:{label:e.$t("common.service")}},[e._v(e._s(e.configModal.model.server_name))]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.ip")}},[e._v(e._s(e.configModal.model.node_name))]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.isBackup"),required:""}},[a("let-radio-group",{attrs:{size:"small",data:[{value:!0,text:e.$t("common.yes")},{value:!1,text:e.$t("common.no")}]},model:{value:e.configModal.model.bak_flag,callback:function(t){e.$set(e.configModal.model,"bak_flag",t)},expression:"configModal.model.bak_flag"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("common.template"),required:""}},[e.configModal.model.templates&&e.configModal.model.templates.length?a("let-select",{attrs:{size:"small",required:""},model:{value:e.configModal.model.template_name,callback:function(t){e.$set(e.configModal.model,"template_name",t)},expression:"configModal.model.template_name"}},e._l(e.configModal.model.templates,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1):a("span",[e._v(e._s(e.configModal.model.template_name))])],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.serviceType"),required:""}},[a("let-select",{attrs:{size:"small",required:""},model:{value:e.configModal.model.server_type,callback:function(t){e.$set(e.configModal.model,"server_type",t)},expression:"configModal.model.server_type"}},e._l(e.serverTypes,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1)],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.table.th.enableSet"),required:""}},[a("let-radio-group",{attrs:{size:"small",data:[{value:!0,text:e.$t("common.enable")},{value:!1,text:e.$t("common.disable")}]},model:{value:e.configModal.model.enable_set,callback:function(t){e.$set(e.configModal.model,"enable_set",t)},expression:"configModal.model.enable_set"}})],1),e._v(" "),e.configModal.model.enable_set?a("let-form-item",{attrs:{label:e.$t("common.set.setName"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.errMsg.setName"),required:"",pattern:"^[a-z]+$","pattern-tip":e.$t("serverList.dlg.errMsg.setName")},model:{value:e.configModal.model.set_name,callback:function(t){e.$set(e.configModal.model,"set_name",t)},expression:"configModal.model.set_name"}})],1):e._e(),e._v(" "),e.configModal.model.enable_set?a("let-form-item",{attrs:{label:e.$t("common.set.setArea"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.errMsg.setArea"),required:"",pattern:"^[a-z]+$","pattern-tip":e.$t("serverList.dlg.errMsg.setArea")},model:{value:e.configModal.model.set_area,callback:function(t){e.$set(e.configModal.model,"set_area",t)},expression:"configModal.model.set_area"}})],1):e._e(),e._v(" "),e.configModal.model.enable_set?a("let-form-item",{attrs:{label:e.$t("common.set.setGroup"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.errMsg.setGroup"),required:"",pattern:"^[0-9\\*]+$","pattern-tip":e.$t("serverList.dlg.errMsg.setGroup")},model:{value:e.configModal.model.set_group,callback:function(t){e.$set(e.configModal.model,"set_group",t)},expression:"configModal.model.set_group"}})],1):e._e(),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.asyncThread"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.dlg.placeholder.thread"),required:"",pattern:"tars_nodejs"===e.configModal.model.server_type?"^[1-9][0-9]*$":"^([3-9]|[1-9][0-9]+)$","pattern-tip":"$t('serverList.dlg.placeholder.thread')"},model:{value:e.configModal.model.async_thread_num,callback:function(t){e.$set(e.configModal.model,"async_thread_num",t)},expression:"configModal.model.async_thread_num"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.defaultPath")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.base_path,callback:function(t){e.$set(e.configModal.model,"base_path",t)},expression:"configModal.model.base_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.exePath")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.exe_path,callback:function(t){e.$set(e.configModal.model,"exe_path",t)},expression:"configModal.model.exe_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.startScript")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.start_script_path,callback:function(t){e.$set(e.configModal.model,"start_script_path",t)},expression:"configModal.model.start_script_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.stopScript")}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.stop_script_path,callback:function(t){e.$set(e.configModal.model,"stop_script_path",t)},expression:"configModal.model.stop_script_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.monitorScript"),itemWidth:"724px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.configModal.model.monitor_script_path,callback:function(t){e.$set(e.configModal.model,"monitor_script_path",t)},expression:"configModal.model.monitor_script_path"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.dlg.privateTemplate"),labelWidth:"150px",itemWidth:"724px"}},[a("let-input",{attrs:{size:"large",type:"textarea",rows:4},model:{value:e.configModal.model.profile,callback:function(t){e.$set(e.configModal.model,"profile",t)},expression:"configModal.model.profile"}})],1)],1):a("div",{ref:"configFormLoading",staticClass:"loading-placeholder"})],1),e._v(" "),a("let-modal",{attrs:{title:e.$t("serverList.table.servant.title"),width:"1200px",footShow:!1},on:{close:e.closeServantModal},model:{value:e.servantModal.show,callback:function(t){e.$set(e.servantModal,"show",t)},expression:"servantModal.show"}},[a("let-button",{staticClass:"tbm16",attrs:{size:"small",theme:"primary"},on:{click:function(t){return e.configServant()}}},[e._v(e._s(e.$t("operate.add"))+" Servant")]),e._v(" "),e.servantModal.model?a("let-table",{attrs:{data:e.servantModal.model,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("operate.servant"),prop:"servant"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.adress"),prop:"endpoint"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.thread"),prop:"thread_num"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.maxConnecttions"),prop:"max_connections"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.maxQueue"),prop:"queuecap"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("serverList.table.servant.timeout"),prop:"queuetimeout"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("operate.operates"),width:"90px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("let-table-operation",{on:{click:function(a){return e.configServant(t.row.id)}}},[e._v(e._s(e.$t("operate.update")))]),e._v(" "),a("let-table-operation",{staticClass:"danger",on:{click:function(a){return e.deleteServant(t.row.id)}}},[e._v(e._s(e.$t("operate.delete")))])]}}],null,!1,489266128)})],1):a("div",{ref:"servantModalLoading",staticClass:"loading-placeholder"})],1),e._v(" "),a("let-modal",{attrs:{title:e.servantDetailModal.isNew?e.$t("operate.title.add")+" Servant":e.$t("operate.title.update")+" Servant",width:"800px",footShow:!!e.servantDetailModal.model},on:{"on-confirm":e.saveServantDetail,close:e.closeServantDetailModal,"on-cancel":e.closeServantDetailModal},model:{value:e.servantDetailModal.show,callback:function(t){e.$set(e.servantDetailModal,"show",t)},expression:"servantDetailModal.show"}},[e.servantDetailModal.model?a("let-form",{ref:"servantDetailForm",staticClass:"two-columns",attrs:{itemWidth:"360px",columns:2}},[a("let-form-item",{attrs:{label:e.$t("serverList.servant.appService"),itemWidth:"724px"}},[a("span",[e._v(e._s(e.servantDetailModal.model.application)+"·"+e._s(e.servantDetailModal.model.server_name))])]),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.objName"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.servant.c"),required:"",pattern:"^[A-Za-z]+$","pattern-tip":e.$t("serverList.servant.obj")},model:{value:e.servantDetailModal.model.obj_name,callback:function(t){e.$set(e.servantDetailModal.model,"obj_name",t)},expression:"servantDetailModal.model.obj_name"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.numOfThread"),required:""}},[a("let-input",{attrs:{size:"small",placeholder:e.$t("serverList.servant.thread"),required:"",pattern:"^[1-9][0-9]*$","pattern-tip":e.$t("serverList.servant.thread")},model:{value:e.servantDetailModal.model.thread_num,callback:function(t){e.$set(e.servantDetailModal.model,"thread_num",t)},expression:"servantDetailModal.model.thread_num"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.table.servant.adress"),required:"",itemWidth:"724px"}},[a("let-input",{ref:"endpoint",attrs:{size:"small",placeholder:"tcp -h 127.0.0.1 -t 60000 -p 12000",required:"",extraTip:e.isEndpointValid?"":e.$t("serverList.servant.error")},model:{value:e.servantDetailModal.model.endpoint,callback:function(t){e.$set(e.servantDetailModal.model,"endpoint",t)},expression:"servantDetailModal.model.endpoint"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.maxConnecttions"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.max_connections,callback:function(t){e.$set(e.servantDetailModal.model,"max_connections",t)},expression:"servantDetailModal.model.max_connections"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.lengthOfQueue"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.queuecap,callback:function(t){e.$set(e.servantDetailModal.model,"queuecap",t)},expression:"servantDetailModal.model.queuecap"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.queueTimeout"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.queuetimeout,callback:function(t){e.$set(e.servantDetailModal.model,"queuetimeout",t)},expression:"servantDetailModal.model.queuetimeout"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.allowIP")}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.allow_ip,callback:function(t){e.$set(e.servantDetailModal.model,"allow_ip",t)},expression:"servantDetailModal.model.allow_ip"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.protocol"),required:""}},[a("let-radio-group",{attrs:{size:"small",data:[{value:"tars",text:"TARS"},{value:"not_tars",text:e.$t("serverList.servant.notTARS")}]},model:{value:e.servantDetailModal.model.protocol,callback:function(t){e.$set(e.servantDetailModal.model,"protocol",t)},expression:"servantDetailModal.model.protocol"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("serverList.servant.treatmentGroup"),labelWidth:"150px"}},[a("let-input",{attrs:{size:"small"},model:{value:e.servantDetailModal.model.handlegroup,callback:function(t){e.$set(e.servantDetailModal.model,"handlegroup",t)},expression:"servantDetailModal.model.handlegroup"}})],1)],1):e._e()],1),e._v(" "),a("let-modal",{staticClass:"more-cmd",attrs:{title:e.$t("operate.title.more"),width:"700px"},on:{"on-confirm":e.invokeMoreCmd,close:e.closeMoreCmdModal,"on-cancel":e.closeMoreCmdModal},model:{value:e.moreCmdModal.show,callback:function(t){e.$set(e.moreCmdModal,"show",t)},expression:"moreCmdModal.show"}},[e.moreCmdModal.model?a("let-form",{ref:"moreCmdForm"},[a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"setloglevel"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.logLevel")))]),e._v(" "),a("let-select",{attrs:{size:"small",disabled:"setloglevel"!==e.moreCmdModal.model.selected},model:{value:e.moreCmdModal.model.setloglevel,callback:function(t){e.$set(e.moreCmdModal.model,"setloglevel",t)},expression:"moreCmdModal.model.setloglevel"}},e._l(e.logLevels,function(t){return a("let-option",{key:t,attrs:{value:t}},[e._v(e._s(t))])}),1)],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"loadconfig"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.pushFile")))]),e._v(" "),a("let-select",{attrs:{size:"small",placeholder:e.moreCmdModal.model.configs&&e.moreCmdModal.model.configs.length?e.$t("pub.dlg.defaultValue"):e.$t("pub.dlg.noConfFile"),disabled:!(e.moreCmdModal.model.configs&&e.moreCmdModal.model.configs.length)||"loadconfig"!==e.moreCmdModal.model.selected,required:"loadconfig"===e.moreCmdModal.model.selected},model:{value:e.moreCmdModal.model.loadconfig,callback:function(t){e.$set(e.moreCmdModal.model,"loadconfig",t)},expression:"moreCmdModal.model.loadconfig"}},e._l(e.moreCmdModal.model.configs,function(t){return a("let-option",{key:t.filename,attrs:{value:t.filename}},[e._v(e._s(t.filename))])}),1)],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"command"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.sendCommand")))]),e._v(" "),a("let-input",{attrs:{size:"small",disabled:"command"!==e.moreCmdModal.model.selected,required:"command"===e.moreCmdModal.model.selected},model:{value:e.moreCmdModal.model.command,callback:function(t){e.$set(e.moreCmdModal.model,"command",t)},expression:"moreCmdModal.model.command"}})],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{attrs:{label:"connection"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("serverList.servant.serviceLink")))])],1),e._v(" "),a("let-form-item",{attrs:{itemWidth:"100%"}},[a("let-radio",{staticClass:"danger",attrs:{label:"undeploy_tars"},model:{value:e.moreCmdModal.model.selected,callback:function(t){e.$set(e.moreCmdModal.model,"selected",t)},expression:"moreCmdModal.model.selected"}},[e._v(e._s(e.$t("operate.undeploy"))+" "+e._s(e.$t("common.service")))])],1)],1):e._e()],1)],1)},staticRenderFns:[]};var u=a("VU/8")(c,d,!1,function(e){a("spG0")},null,null);t.a=u.exports},KtFB:function(e,t){},M8l6:function(e,t,a){"use strict";var r=a("S1cf");e.exports=function(e,t){r.forEach(e,function(a,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=a,delete e[r])})}},O444:function(e,t){},ORGq:function(e,t){},OvAf:function(e,t,a){"use strict";var r=a("BXyq"),o=a("S1cf"),s=a("rj2i"),n=a("uz6X");function i(e){this.defaults=e,this.interceptors={request:new s,response:new s}}i.prototype.request=function(e){"string"==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),(e=o.merge(r,{method:"get"},this.defaults,e)).method=e.method.toLowerCase();var t=[n,void 0],a=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)a=a.then(t.shift(),t.shift());return a},o.forEach(["delete","get","head","options"],function(e){i.prototype[e]=function(t,a){return this.request(o.merge(a||{},{method:e,url:t}))}}),o.forEach(["post","put","patch"],function(e){i.prototype[e]=function(t,a,r){return this.request(o.merge(r||{},{method:e,url:t,data:a}))}}),e.exports=i},Qr60:function(e,t){},R2dJ:function(e,t){},RN9H:function(e,t){},RlLB:function(e,t){},S1cf:function(e,t,a){"use strict";var r=a("ED/T"),o=a("q/Zl"),s=Object.prototype.toString;function n(e){return"[object Array]"===s.call(e)}function i(e){return null!==e&&"object"==typeof e}function l(e){return"[object Function]"===s.call(e)}function c(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),n(e))for(var a=0,r=e.length;a=0?this.allItems.filter(function(t){return+t.show_time.slice(0,2)===e}):this.allItems},itemsCount:function(){return this.filteredItems.length},pageCount:function(){return Math.ceil(this.filteredItems.length/20)},pagedItems:function(){return this.filteredItems.slice(20*(this.page-1),20*this.page)},charts:function(){return[{title:this.$t("monitor.table.total"),timeColumn:"show_time",dataColumns:[{name:"the_total_count",label:this.$t("monitor.table.curr")},{name:"pre_total_count",label:this.$t("monitor.table.contrast")}],data:this.allItems},{title:this.$t("monitor.table.a"),timeColumn:"show_time",dataColumns:[{name:"the_avg_time",label:this.$t("monitor.table.curr")},{name:"pre_avg_time",label:this.$t("monitor.table.contrast")}],data:this.allItems},{title:this.$t("monitor.table.b"),timeColumn:"show_time",dataColumns:[{name:"the_fail_rate",label:this.$t("monitor.table.curr")},{name:"pre_fail_rate",label:this.$t("monitor.table.contrast")}],data:this.allItems},{title:this.$t("monitor.table.c"),timeColumn:"show_time",dataColumns:[{name:"the_timeout_rate",label:this.$t("monitor.table.curr")},{name:"pre_timeout_rate",label:this.$t("monitor.table.contrast")}],data:this.allItems}]},chartOptions:function(){return{title:{show:!0,text:this.$t("monitor.table.curr")+" "+this.$t("monitor.table.total")},grid:{bottom:40,top:50},legend:{top:5},settings:{labelMap:{the_value:this.$t("monitor.property.property"),pre_value:this.$t("monitor.property.propertyC")},scale:[!0,!1]},data:{columns:["show_time","the_value","pre_value"],rows:this.allItems}}}},mounted:function(){this.fetchData()},methods:{fetchData:function(){var e=this,t=this.$refs.chart&&this.$refs.chart.$loading.show(),a=this.$refs.table.$loading.show();return this.$ajax.getJSON("/server/api/tarsstat_monitor_data",this.query).then(function(r){t&&t.hide(),a.hide(),e.allItems=function(e){return e&&e.length>0?e.map(function(e){var t=n()({},e),a=/^pre_.*/,r=/^the_.*/;return o()(e).forEach(function(o){(a.test(o)||r.test(o))&&"0.00%"===e[o]&&(t[o]="0")}),t}):e}(r)}).catch(function(r){t&&t.hide(),a.hide(),e.$tip.error(e.$t("common.error")+": "+(r.message||r.err_msg))})},groupBy:function(e){this.query.group_by=e,this.showChart=!1,this.fetchData()},search:function(){delete this.query.group_by,this.showChart=!0,this.fetchData()},changePage:function(e){this.page=e}}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page_server_server_monitor"},[a("let-form",{attrs:{inline:"",itemWidth:"200px"},nativeOn:{submit:function(t){return t.preventDefault(),e.search(t)}}},[a("let-form-item",{attrs:{label:e.$t("monitor.search.a")}},[a("let-date-picker",{attrs:{size:"small",formatter:e.formatter},model:{value:e.query.thedate,callback:function(t){e.$set(e.query,"thedate",t)},expression:"query.thedate"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("monitor.search.b")}},[a("let-date-picker",{attrs:{size:"small",formatter:e.formatter},model:{value:e.query.predate,callback:function(t){e.$set(e.query,"predate",t)},expression:"query.predate"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("monitor.search.start")}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.startshowtime,callback:function(t){e.$set(e.query,"startshowtime",t)},expression:"query.startshowtime"}})],1),e._v(" "),a("let-form-item",{attrs:{label:e.$t("monitor.search.end")}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.endshowtime,callback:function(t){e.$set(e.query,"endshowtime",t)},expression:"query.endshowtime"}})],1),e._v(" "),a("tars-form-item",{attrs:{label:e.$t("monitor.search.interfaceName")},on:{onLabelClick:function(t){return e.groupBy("interface_name")}}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.interface_name,callback:function(t){e.$set(e.query,"interface_name",t)},expression:"query.interface_name"}})],1),e._v(" "),a("tars-form-item",{attrs:{label:e.$t("monitor.search.master")},on:{onLabelClick:function(t){return e.groupBy("master_name")}}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.master_name,callback:function(t){e.$set(e.query,"master_name",t)},expression:"query.master_name"}})],1),e._v(" "),a("tars-form-item",{attrs:{label:e.$t("monitor.search.slave")},on:{onLabelClick:function(t){return e.groupBy("slave_name")}}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.slave_name,callback:function(t){e.$set(e.query,"slave_name",t)},expression:"query.slave_name"}})],1),e._v(" "),a("tars-form-item",{attrs:{label:e.$t("monitor.search.masterIP")},on:{onLabelClick:function(t){return e.groupBy("master_ip")}}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.master_ip,callback:function(t){e.$set(e.query,"master_ip",t)},expression:"query.master_ip"}})],1),e._v(" "),a("tars-form-item",{attrs:{label:e.$t("monitor.search.slaveIP")},on:{onLabelClick:function(t){return e.groupBy("slave_ip")}}},[a("let-input",{attrs:{size:"small"},model:{value:e.query.slave_ip,callback:function(t){e.$set(e.query,"slave_ip",t)},expression:"query.slave_ip"}})],1),e._v(" "),a("let-form-item",[a("let-button",{attrs:{size:"small",type:"submit",theme:"primary"}},[e._v(e._s(e.$t("operate.search")))])],1)],1),e._v(" "),e.showChart?a("let-row",{ref:"charts",staticClass:"charts"},e._l(e.charts,function(t){return a("let-col",{key:t.title,attrs:{span:12}},[e.allItems.length>0?a("compare-chart",e._b({},"compare-chart",t,!1)):e._e()],1)}),1):e._e(),e._v(" "),a("hours-filter",{model:{value:e.hour,callback:function(t){e.hour=t},expression:"hour"}}),e._v(" "),a("let-table",{ref:"table",attrs:{data:e.pagedItems,"empty-msg":e.$t("common.nodata")}},[a("let-table-column",{attrs:{title:e.$t("common.time"),prop:"show_time",width:"80px"}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.search.master"),prop:"master_name",width:""}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.search.slave"),prop:"slave_name",width:""}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.search.interfaceName"),prop:"interface_name",width:""}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.search.masterIP"),prop:"master_ip",width:""}}),e._v(" "),a("let-table-column",{attrs:{title:e.$t("monitor.search.slaveIP"),prop:"slave_ip",width:""}}),e._v(" "),a("let-table-column",{attrs:{prop:"the_total_count",align:"right"},scopedSlots:e._u([{key:"head",fn:function(t){return a("span",{},[e._v(e._s(e.$t("monitor.table.curr"))),a("br"),e._v(e._s(e.$t("monitor.table.total")))])}}])}),e._v(" "),a("let-table-column",{attrs:{prop:"pre_total_count",align:"right"},scopedSlots:e._u([{key:"head",fn:function(t){return a("span",{},[e._v(e._s(e.$t("monitor.table.contrast"))),a("br"),e._v(e._s(e.$t("monitor.table.total")))])}}])}),e._v(" "),a("let-table-column",{attrs:{prop:"total_count_wave",align:"right"},scopedSlots:e._u([{key:"head",fn:function(t){return a("span",{},[e._v(e._s(e.$t("monitor.table.fluctuating")))])}}])}),e._v(" "),a("let-table-column",{attrs:{align:"right"},scopedSlots:e._u([{key:"head",fn:function(t){return a("span",{},[e._v(e._s(e.$t("monitor.table.curr"))),a("br"),e._v(e._s(e.$t("monitor.table.a")))])}},{key:"default",fn:function(t){return[e._v(e._s(t.row.the_avg_time)+"ms")]}}])}),e._v(" "),a("let-table-column",{attrs:{align:"right"},scopedSlots:e._u([{key:"head",fn:function(t){return a("span",{},[e._v(e._s(e.$t("monitor.table.contrast"))),a("br"),e._v(e._s(e.$t("monitor.table.a")))])}},{key:"default",fn:function(t){return[e._v(e._s(t.row.pre_avg_time)+"ms")]}}])}),e._v(" "),a("let-table-column",{attrs:{prop:"the_fail_rate",align:"right"},scopedSlots:e._u([{key:"head",fn:function(t){return a("span",{},[e._v(e._s(e.$t("monitor.table.curr"))),a("br"),e._v(e._s(e.$t("monitor.table.b")))])}}])}),e._v(" "),a("let-table-column",{attrs:{prop:"pre_fail_rate",align:"right"},scopedSlots:e._u([{key:"head",fn:function(t){return a("span",{},[e._v(e._s(e.$t("monitor.table.contrast"))),a("br"),e._v(e._s(e.$t("monitor.table.b")))])}}])}),e._v(" "),a("let-table-column",{attrs:{prop:"the_timeout_rate",align:"right"},scopedSlots:e._u([{key:"head",fn:function(t){return a("span",{},[e._v(e._s(e.$t("monitor.table.curr"))),a("br"),e._v(e._s(e.$t("monitor.table.c")))])}}])}),e._v(" "),a("let-table-column",{attrs:{prop:"pre_timeout_rate",align:"right"},scopedSlots:e._u([{key:"head",fn:function(t){return a("span",{},[e._v(e._s(e.$t("monitor.table.contrast"))),a("br"),e._v(e._s(e.$t("monitor.table.c")))])}}])}),e._v(" "),e.pageCount?a("let-pagination",{attrs:{slot:"pagination",total:e.pageCount,page:e.page,sum:e.itemsCount,"show-sums":"",jump:""},on:{change:e.changePage},slot:"pagination"}):e._e()],1)],1)},staticRenderFns:[]};var m=a("VU/8")(d,u,!1,function(e){a("btJ3")},null,null);t.a=m.exports},TH6y:function(e,t){},Tx4S:function(e,t,a){"use strict";a.d(t,"a",function(){return i}),t.b=c;var r=a("fZjL"),o=a.n(r),s=6e4,n=60*s,i=24*n;function l(e){return null==e?new Date:e instanceof Date?e:new Date(e)}function c(e,t){if(e=l(e),t=t||"YYYY-MM-DD HH:mm:ss",isNaN(e.getTime()))return t;var a={"M+":e.getMonth()+1,"D+":e.getDate(),"H+":e.getHours(),"h+":e.getHours()%12==0?12:e.getHours()%12,"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};return/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),/(dd+)/.test(t)&&(t=t.replace(RegExp.$1,"日一二三四五六七".split("")[e.getDay()])),o()(a).forEach(function(e){if(new RegExp("("+e+")").test(t)){var r=RegExp.$1,o=""+a[e];t=t.replace(r,1===r.length?o:("00"+o).substr(o.length))}}),t}},"V3+0":function(e,t,a){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},VMrG:function(e,t){},VnDC:function(e,t){},X8jb:function(e,t,a){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},XSxf:function(e,t){},YEpj:function(e,t){},YNvG:function(e,t){},YdsM:function(e,t,a){"use strict";e.exports=function(e,t,a,r,o){return e.config=t,a&&(e.code=a),e.request=r,e.response=o,e}},ZJVQ:function(e,t){},ZeD7:function(e,t,a){"use strict";var r=a("S1cf"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,a,s,n={};return e?(r.forEach(e.split("\n"),function(e){if(s=e.indexOf(":"),t=r.trim(e.substr(0,s)).toLowerCase(),a=r.trim(e.substr(s+1)),t){if(n[t]&&o.indexOf(t)>=0)return;n[t]="set-cookie"===t?(n[t]?n[t]:[]).concat([a]):n[t]?n[t]+", "+a:a}}),n):n}},a2Uu:function(e,t,a){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},a94L:function(e,t){},a9fJ:function(e,t){},aS8y:function(e,t,a){"use strict";var r=a("3bIi");e.exports=function(e,t,a){var o=a.config.validateStatus;a.status&&o&&!o(a.status)?t(r("Request failed with status code "+a.status,a.config,null,a.request,a)):e(a)}},btJ3:function(e,t){},cYyP:function(e,t){},"dLd/":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAA4CAMAAAAvp+0eAAAAjVBMVEUAAABWXGZWXGdXW2ZWXGZbZGdWW2Z2dnhXXWdWXWdWXGdXXGdZX2hXW2dWXGZbX2phY2tXW2dXW2dZXWhWW2ZXW2ZXXGZoaG1XW2ZXW2dYXGdXW2dXXGZWW2dWXGdXXGZWXGZXXGdXXGdYXGdYXWhXXWdWW2ZWXGZXXWdbX2tXW2dXXGdYXGhYXmhWW2ZN3ep6AAAALnRSTlMA86bskRT6BUt8jHYvoPcbD7BtKebVxgrAuGJG2827m/CDZlc5Ud9/QCCHelwkFVYtqQAAA/pJREFUWMPFl91iqjAQhEUlKCKIYEVQi+C/dd7/8U4bQzYSKNFenLlhMeAH685m7aFN2x4pY741iI9ery4LivLNZPm87O2SmPmDD1fcaQQ7gWveAiOtI2UxCFGJ7Rxj2Apc004YYpteaw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Lov7Te5L411WDURAqagFjo/ihk36yydZSjXfpShxXqL2khf15Nqfh3ULTwWodUsrSlz4BUIQ0wm9EOVMQVan1b1gw05pJpC/hpoY+A/HNRWV9pWVuej+lfknNObz8Xn3v/Qf8AOMI3ricO6pwAAAAASUVORK5CYII="},dZBD:function(e,t,a){e.exports=a("nUiQ")},dn2M:function(e,t,a){"use strict";var r=a("S1cf");e.exports=r.isStandardBrowserEnv()?{write:function(e,t,a,o,s,n){var i=[];i.push(e+"="+encodeURIComponent(t)),r.isNumber(a)&&i.push("expires="+new Date(a).toGMTString()),r.isString(o)&&i.push("path="+o),r.isString(s)&&i.push("domain="+s),!0===n&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},fT6T:function(e,t){},gxaK:function(e,t){},hVKt:function(e,t){},m6R6:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsBAMAAADsqkcyAAAAIVBMVEUAAACZsuGasuCbtuRFf/WZseD////q8P3z9vt6o/e2x+iGuTfsAAAABHRSTlMA6aYc+fzKlQAAAGFJREFUKM9jgIBQBEIA+gszK4YiASEDqLBhKAoQhgqrrkhDAl1BUGHRNmThjECYfWkuSCAtFI8w0A50YSDAIUyC2SPOJdMrsZpdlk6MMMIQOoYJZvLBl9gwkybuhDx4choAeHa83egTBYcAAAAASUVORK5CYII="},m8r6:function(e,t,a){"use strict";var r={data:function(){return{thisYear:(new Date).getFullYear()}}},o={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"app_index__footer"})},staticRenderFns:[]};var s=a("VU/8")(r,o,!1,function(e){a("nipV")},null,null);t.a=s.exports},"mI+K":function(e,t,a){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},mmkS:function(e,t,a){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function o(){this.message="String contains an invalid character"}o.prototype=new Error,o.prototype.code=5,o.prototype.name="InvalidCharacterError",e.exports=function(e){for(var t,a,s=String(e),n="",i=0,l=r;s.charAt(0|i)||(l="=",i%1);n+=l.charAt(63&t>>8-i%1*8)){if((a=s.charCodeAt(i+=.75))>255)throw new o;t=t<<8|a}return n}},mxK3:function(e,t,a){"use strict";var r={render:function(){var e=this.$createElement;return(this._self._c||e)("section",{staticClass:"section"},[this._t("default")],2)},staticRenderFns:[]};var o=a("VU/8")(null,r,!1,function(e){a("4TWv")},"data-v-2643216f",null);t.a=o.exports},nUiQ:function(e,t,a){"use strict";var r=a("S1cf"),o=a("ED/T"),s=a("OvAf"),n=a("BXyq");function i(e){var t=new s(e),a=o(s.prototype.request,t);return r.extend(a,s.prototype,t),r.extend(a,t),a}var l=i(n);l.Axios=s,l.create=function(e){return i(r.merge(n,e))},l.Cancel=a("mI+K"),l.CancelToken=a("tsWd"),l.isCancel=a("V3+0"),l.all=function(e){return Promise.all(e)},l.spread=a("X8jb"),e.exports=l,e.exports.default=l},nipV:function(e,t){},ohPC:function(e,t){},"q/Zl":function(e,t){function a(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)} /*! * Determine if an object is a Buffer * diff --git a/client/src/pages/cacheConfig/moduleCache.vue b/client/src/pages/cacheConfig/moduleCache.vue index 33e90712..e2e75e1a 100644 --- a/client/src/pages/cacheConfig/moduleCache.vue +++ b/client/src/pages/cacheConfig/moduleCache.vue @@ -1,5 +1,5 @@