From 62bbcad1f1010658af837b03290c2e438a3a16a1 Mon Sep 17 00:00:00 2001 From: raoxiaoyan Date: Thu, 15 Oct 2020 15:01:34 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E6=97=A0=E6=B3=95=E6=AD=A3=E5=B8=B8=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kongx-serve/src/main/resources/application.yaml | 2 +- .../src/main/resources/static/css/chunk-569fe953.1294b612.css | 1 - ...{chunk-e7d39db6.26499de4.css => chunk-a26cd308.ed24a4f2.css} | 2 +- .../src/main/resources/static/css/chunk-a425ea88.97c43d12.css | 1 + kongx-serve/src/main/resources/static/index.html | 2 +- .../resources/static/js/{app.13ea0833.js => app.eca48846.js} | 2 +- .../src/main/resources/static/js/chunk-569fe953.2351d552.js | 1 - .../src/main/resources/static/js/chunk-a26cd308.1c730ecc.js | 1 + .../src/main/resources/static/js/chunk-a425ea88.3cdf3785.js | 1 + .../src/main/resources/static/js/chunk-e7d39db6.9d2f21a7.js | 1 - kongx-serve/src/main/resources/static/js/page.b7e3b812.js | 1 + kongx-serve/src/main/resources/static/js/page.fcf7dfdc.js | 1 - .../static/js/{views.8779f95b.js => views.6a5b74bc.js} | 2 +- 13 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 kongx-serve/src/main/resources/static/css/chunk-569fe953.1294b612.css rename kongx-serve/src/main/resources/static/css/{chunk-e7d39db6.26499de4.css => chunk-a26cd308.ed24a4f2.css} (98%) create mode 100644 kongx-serve/src/main/resources/static/css/chunk-a425ea88.97c43d12.css rename kongx-serve/src/main/resources/static/js/{app.13ea0833.js => app.eca48846.js} (78%) delete mode 100644 kongx-serve/src/main/resources/static/js/chunk-569fe953.2351d552.js create mode 100644 kongx-serve/src/main/resources/static/js/chunk-a26cd308.1c730ecc.js create mode 100644 kongx-serve/src/main/resources/static/js/chunk-a425ea88.3cdf3785.js delete mode 100644 kongx-serve/src/main/resources/static/js/chunk-e7d39db6.9d2f21a7.js create mode 100644 kongx-serve/src/main/resources/static/js/page.b7e3b812.js delete mode 100644 kongx-serve/src/main/resources/static/js/page.fcf7dfdc.js rename kongx-serve/src/main/resources/static/js/{views.8779f95b.js => views.6a5b74bc.js} (97%) diff --git a/kongx-serve/src/main/resources/application.yaml b/kongx-serve/src/main/resources/application.yaml index 671323b..cf1d271 100644 --- a/kongx-serve/src/main/resources/application.yaml +++ b/kongx-serve/src/main/resources/application.yaml @@ -9,7 +9,7 @@ spring: server: port: 8095 servlet: - context-path: /kongx + context-path: / mybatis: configuration: default-fetch-size: 100 diff --git a/kongx-serve/src/main/resources/static/css/chunk-569fe953.1294b612.css b/kongx-serve/src/main/resources/static/css/chunk-569fe953.1294b612.css deleted file mode 100644 index ac3a04b..0000000 --- a/kongx-serve/src/main/resources/static/css/chunk-569fe953.1294b612.css +++ /dev/null @@ -1 +0,0 @@ -.table-container[data-v-2f33f763]{padding:8px 10px} \ No newline at end of file diff --git a/kongx-serve/src/main/resources/static/css/chunk-e7d39db6.26499de4.css b/kongx-serve/src/main/resources/static/css/chunk-a26cd308.ed24a4f2.css similarity index 98% rename from kongx-serve/src/main/resources/static/css/chunk-e7d39db6.26499de4.css rename to kongx-serve/src/main/resources/static/css/chunk-a26cd308.ed24a4f2.css index f9122ac..f3e5bba 100644 --- a/kongx-serve/src/main/resources/static/css/chunk-e7d39db6.26499de4.css +++ b/kongx-serve/src/main/resources/static/css/chunk-a26cd308.ed24a4f2.css @@ -1 +1 @@ -.inner-breadcrumb .breadcrumb a,.inner-breadcrumb .breadcrumb span{font-weight:400;color:#aaa}.inner-breadcrumb .breadcrumb a:hover{color:#409eff}.inner-breadcrumb .breadcrumb .last{font-weight:700!important;cursor:default!important}.inner-breadcrumb .breadcrumb .disable{cursor:default!important}.el-tag+.el-tag{margin-top:5px}.button-new-tag{margin-left:10px;height:32px;line-height:30px;padding-top:0;padding-bottom:0}.input-new-tag{margin-top:2px;margin-left:0;vertical-align:bottom}.config-list[data-v-472e02ba]{text-align:left;margin:0 10px 10px 10px}.item[data-v-472e02ba]{margin-top:5px}.choice[data-v-472e02ba]{border:1px solid transparent;padding:5px 8px}.choice[data-v-472e02ba]:hover{border:1px solid #2d8cf0}.w60[data-v-472e02ba]{width:60px}.ivu-input-number[data-v-472e02ba]{margin-left:5px;margin-right:5px}.list[data-v-472e02ba]{margin:0 20px}.list-check-item[data-v-472e02ba]{padding:1px 3px;width:4em}.config-list[data-v-039eabc4]{text-align:left;margin:0 10px 10px 10px}.item[data-v-039eabc4]{margin-top:5px}.choice[data-v-039eabc4]{border:1px solid transparent;padding:5px 8px}.choice[data-v-039eabc4]:hover{border:1px solid #2d8cf0}.w60[data-v-039eabc4]{width:60px}.ivu-input-number[data-v-039eabc4]{margin-left:5px;margin-right:5px}.list[data-v-039eabc4]{margin:0 20px}.list-check-item[data-v-039eabc4]{padding:1px 3px;width:4em}.config-list[data-v-c0640844]{text-align:left;margin:0 10px 10px 10px}.item[data-v-c0640844]{margin-top:5px}.choice[data-v-c0640844]{border:1px solid transparent;padding:5px 8px}.choice[data-v-c0640844]:hover{border:1px solid #2d8cf0}.w60[data-v-c0640844]{width:60px}.ivu-input-number[data-v-c0640844]{margin-left:5px;margin-right:5px}.list[data-v-c0640844]{margin:0 20px}.list-check-item[data-v-c0640844]{padding:1px 3px;width:4em}.config-list[data-v-38098e06]{text-align:left;margin:0 10px 10px 10px}.item[data-v-38098e06]{margin-top:5px}.tip-info[data-v-38098e06]{color:#999}.choice[data-v-38098e06]{border:1px solid transparent;padding:5px 8px}.choice[data-v-38098e06]:hover{border:1px solid #2d8cf0}.w60[data-v-38098e06]{width:60px}.ivu-input-number[data-v-38098e06]{margin-left:5px;margin-right:5px}.list[data-v-38098e06]{margin:0 20px}.list-check-item[data-v-38098e06]{padding:1px 3px;width:4em}.config-list[data-v-5ad3b3fb]{text-align:left;margin:0 10px 10px 10px}.item[data-v-5ad3b3fb]{margin-top:5px}.tip-info[data-v-5ad3b3fb]{color:#999}.choice[data-v-5ad3b3fb]{border:1px solid transparent;padding:5px 8px}.choice[data-v-5ad3b3fb]:hover{border:1px solid #2d8cf0}.w80[data-v-5ad3b3fb]{width:80px}.ivu-input-number[data-v-5ad3b3fb],.ivu-select[data-v-5ad3b3fb]{margin-left:5px;margin-right:5px}.list[data-v-5ad3b3fb]{margin:0 20px}.list-check-item[data-v-5ad3b3fb]{padding:1px 3px;width:4em}.config-list[data-v-5d6a7505]{text-align:left;margin:0 10px 10px 10px}.item[data-v-5d6a7505]{margin-top:5px}.choice[data-v-5d6a7505]{border:1px solid transparent;padding:5px 8px}.choice[data-v-5d6a7505]:hover{border:1px solid #2d8cf0}.w60[data-v-5d6a7505]{width:60px}.ivu-input-number[data-v-5d6a7505]{margin-left:5px;margin-right:5px}.list[data-v-5d6a7505]{margin:0 20px}.list-check-item[data-v-5d6a7505]{padding:1px 3px;width:4em}.config-list[data-v-411de867]{text-align:left;margin:0 10px 10px 10px}.item[data-v-411de867]{margin-top:5px}.choice[data-v-411de867]{border:1px solid transparent;padding:5px 8px}.choice[data-v-411de867]:hover{border:1px solid #2d8cf0}.w60[data-v-411de867]{width:60px}.ivu-input-number[data-v-411de867]{margin-left:5px;margin-right:5px}.list[data-v-411de867]{margin:0 20px}.list-check-item[data-v-411de867]{padding:1px 3px;width:4em}.easy-cron[data-v-686e23aa]{display:inline-block;border:1px solid #2d8cf0}.content[data-v-686e23aa]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.left[data-v-686e23aa]{-ms-flex-preferred-size:60%;flex-basis:60%;width:60%;border:1px solid transparent;border-right-color:#2d8cf0}.right[data-v-686e23aa]{-ms-flex-preferred-size:40%;flex-basis:40%;width:40%}.ivu-table-small td[data-v-686e23aa]{height:30px!important}.exe-pre>div[data-v-686e23aa],.exe-pre[data-v-686e23aa]{margin-top:5px}.exe-pre-panel[data-v-686e23aa]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.exe-pre-panel .p-left[data-v-686e23aa]{-ms-flex-preferred-size:80px;flex-basis:80px;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.exe-pre-panel .p-right[data-v-686e23aa]{-ms-flex-preferred-size:100px;flex-basis:100px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.input-cron .ivu-input-wrapper[data-v-97623ad2]{width:100%!important}.config-btn[data-v-97623ad2]{cursor:pointer}.config-btn[data-v-97623ad2]:hover{color:#2d8cf0}.table-container[data-v-2f33f763]{padding:8px 10px}.el-tag+.el-tag{margin-left:10px}.el-card__header{padding:0}.data-icons .item{width:100%!important}.text{font-size:14px}.item{margin-bottom:18px}.box-card{width:480px}.error-page[data-v-794ca73a]{position:absolute;top:90px;left:150px;-webkit-transform:scale(.4);transform:scale(.4)}.error-text[data-v-794ca73a]{position:absolute;top:20px;left:340px}.error-box[data-v-794ca73a]{position:relative;height:200px}.menu-container[data-v-d06a673e]{padding:0 20px}.menu-header[data-v-d06a673e]{padding:8px 0}.my-autocomplete{li{line-height:normal;padding:7px;.name{text-overflow:ellipsis;overflow:hidden}.addr{font-size:12px;color:#b4b4b4}.highlighted .addr{color:#ddd}}}.my-autocomplete{li{line-height:normal;padding:7px;.name{text-overflow:ellipsis;overflow:hidden}.addr{font-size:12px;color:#b4b4b4}.highlighted .addr{color:#ddd}}}.my-autocomplete{li{line-height:normal;padding:7px;.name{text-overflow:ellipsis;overflow:hidden}.addr{font-size:12px;color:#b4b4b4}.highlighted .addr{color:#ddd}}}.table-container[data-v-d8caa636]{padding:8px 10px}.echarts{width:1000px;height:600px}.el-drawer__header{margin-bottom:0}.el-select .el-input{width:180px}.input-with-select .el-input-group__append,.input-with-select .el-input-group__prepend{background-color:#fff}.table-container[data-v-4ac4792d]{padding:8px 10px}.el-dialog__body{padding:0 20px 20px}.center-block{display:block;margin-left:auto;margin-right:auto}.panel-footer{padding:10px 15px}.max-2-lines{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:34px;text-align:center}.button{float:right}.bottom{margin-top:13px;line-height:12px}.image{display:block;margin:auto;height:72px}.clearfix:after,.clearfix:before{display:table;content:""}.clearfix:after{clear:both}.avue-crud__empty{padding:10px 0}.el-row{margin-bottom:10px;&:last-child{margin-bottom:0}}.el-col{border-radius:2px}.bg-purple-dark{background:#99a9bf}.bg-purple{background:#d3dce6}.bg-purple-exists{background:rgba(35,108,167,.733)}.bg-purple-light{background:#e5e9f2}.grid-content{border-radius:4px;min-height:36px}.row-bg{padding:10px 0;background-color:#f9fafc}.basic-container{padding-left:4px;padding-right:4px}.avue-crud__menu{min-height:0}.table-container[data-v-74f1c94a]{padding:8px 10px}.el-menu-vertical-demo:not(.el-menu--collapse){width:200px;min-height:400px}.avue-group__title{margin-left:10px}.table-container[data-v-8fc10c56]{padding:8px 10px}.el-card__header{padding:5px 5px}.el-timeline-item__timestamp.is-top{margin-bottom:4px;padding-top:4px}.el-timeline-item{position:relative;padding-bottom:0}.el-card__body{padding:10px}.el-divider--horizontal{display:block;height:1px;width:100%;margin:8px 0}.el-timeline{padding-left:10px}.table-container[data-v-b8f9d05c]{padding:8px 10px} \ No newline at end of file +.inner-breadcrumb .breadcrumb a,.inner-breadcrumb .breadcrumb span{font-weight:400;color:#aaa}.inner-breadcrumb .breadcrumb a:hover{color:#409eff}.inner-breadcrumb .breadcrumb .last{font-weight:700!important;cursor:default!important}.inner-breadcrumb .breadcrumb .disable{cursor:default!important}.el-tag+.el-tag{margin-top:5px}.button-new-tag{margin-left:10px;height:32px;line-height:30px;padding-top:0;padding-bottom:0}.input-new-tag{margin-top:2px;margin-left:0;vertical-align:bottom}.config-list[data-v-472e02ba]{text-align:left;margin:0 10px 10px 10px}.item[data-v-472e02ba]{margin-top:5px}.choice[data-v-472e02ba]{border:1px solid transparent;padding:5px 8px}.choice[data-v-472e02ba]:hover{border:1px solid #2d8cf0}.w60[data-v-472e02ba]{width:60px}.ivu-input-number[data-v-472e02ba]{margin-left:5px;margin-right:5px}.list[data-v-472e02ba]{margin:0 20px}.list-check-item[data-v-472e02ba]{padding:1px 3px;width:4em}.config-list[data-v-039eabc4]{text-align:left;margin:0 10px 10px 10px}.item[data-v-039eabc4]{margin-top:5px}.choice[data-v-039eabc4]{border:1px solid transparent;padding:5px 8px}.choice[data-v-039eabc4]:hover{border:1px solid #2d8cf0}.w60[data-v-039eabc4]{width:60px}.ivu-input-number[data-v-039eabc4]{margin-left:5px;margin-right:5px}.list[data-v-039eabc4]{margin:0 20px}.list-check-item[data-v-039eabc4]{padding:1px 3px;width:4em}.config-list[data-v-c0640844]{text-align:left;margin:0 10px 10px 10px}.item[data-v-c0640844]{margin-top:5px}.choice[data-v-c0640844]{border:1px solid transparent;padding:5px 8px}.choice[data-v-c0640844]:hover{border:1px solid #2d8cf0}.w60[data-v-c0640844]{width:60px}.ivu-input-number[data-v-c0640844]{margin-left:5px;margin-right:5px}.list[data-v-c0640844]{margin:0 20px}.list-check-item[data-v-c0640844]{padding:1px 3px;width:4em}.config-list[data-v-38098e06]{text-align:left;margin:0 10px 10px 10px}.item[data-v-38098e06]{margin-top:5px}.tip-info[data-v-38098e06]{color:#999}.choice[data-v-38098e06]{border:1px solid transparent;padding:5px 8px}.choice[data-v-38098e06]:hover{border:1px solid #2d8cf0}.w60[data-v-38098e06]{width:60px}.ivu-input-number[data-v-38098e06]{margin-left:5px;margin-right:5px}.list[data-v-38098e06]{margin:0 20px}.list-check-item[data-v-38098e06]{padding:1px 3px;width:4em}.config-list[data-v-5ad3b3fb]{text-align:left;margin:0 10px 10px 10px}.item[data-v-5ad3b3fb]{margin-top:5px}.tip-info[data-v-5ad3b3fb]{color:#999}.choice[data-v-5ad3b3fb]{border:1px solid transparent;padding:5px 8px}.choice[data-v-5ad3b3fb]:hover{border:1px solid #2d8cf0}.w80[data-v-5ad3b3fb]{width:80px}.ivu-input-number[data-v-5ad3b3fb],.ivu-select[data-v-5ad3b3fb]{margin-left:5px;margin-right:5px}.list[data-v-5ad3b3fb]{margin:0 20px}.list-check-item[data-v-5ad3b3fb]{padding:1px 3px;width:4em}.config-list[data-v-5d6a7505]{text-align:left;margin:0 10px 10px 10px}.item[data-v-5d6a7505]{margin-top:5px}.choice[data-v-5d6a7505]{border:1px solid transparent;padding:5px 8px}.choice[data-v-5d6a7505]:hover{border:1px solid #2d8cf0}.w60[data-v-5d6a7505]{width:60px}.ivu-input-number[data-v-5d6a7505]{margin-left:5px;margin-right:5px}.list[data-v-5d6a7505]{margin:0 20px}.list-check-item[data-v-5d6a7505]{padding:1px 3px;width:4em}.config-list[data-v-411de867]{text-align:left;margin:0 10px 10px 10px}.item[data-v-411de867]{margin-top:5px}.choice[data-v-411de867]{border:1px solid transparent;padding:5px 8px}.choice[data-v-411de867]:hover{border:1px solid #2d8cf0}.w60[data-v-411de867]{width:60px}.ivu-input-number[data-v-411de867]{margin-left:5px;margin-right:5px}.list[data-v-411de867]{margin:0 20px}.list-check-item[data-v-411de867]{padding:1px 3px;width:4em}.easy-cron[data-v-686e23aa]{display:inline-block;border:1px solid #2d8cf0}.content[data-v-686e23aa]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.left[data-v-686e23aa]{-ms-flex-preferred-size:60%;flex-basis:60%;width:60%;border:1px solid transparent;border-right-color:#2d8cf0}.right[data-v-686e23aa]{-ms-flex-preferred-size:40%;flex-basis:40%;width:40%}.ivu-table-small td[data-v-686e23aa]{height:30px!important}.exe-pre>div[data-v-686e23aa],.exe-pre[data-v-686e23aa]{margin-top:5px}.exe-pre-panel[data-v-686e23aa]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.exe-pre-panel .p-left[data-v-686e23aa]{-ms-flex-preferred-size:80px;flex-basis:80px;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.exe-pre-panel .p-right[data-v-686e23aa]{-ms-flex-preferred-size:100px;flex-basis:100px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.input-cron .ivu-input-wrapper[data-v-97623ad2]{width:100%!important}.config-btn[data-v-97623ad2]{cursor:pointer}.config-btn[data-v-97623ad2]:hover{color:#2d8cf0}.table-container[data-v-2f514c64]{padding:8px 10px}.el-tag+.el-tag{margin-left:10px}.el-card__header{padding:0}.data-icons .item{width:100%!important}.text{font-size:14px}.item{margin-bottom:18px}.box-card{width:480px}.error-page[data-v-794ca73a]{position:absolute;top:90px;left:150px;-webkit-transform:scale(.4);transform:scale(.4)}.error-text[data-v-794ca73a]{position:absolute;top:20px;left:340px}.error-box[data-v-794ca73a]{position:relative;height:200px}.menu-container[data-v-d06a673e]{padding:0 20px}.menu-header[data-v-d06a673e]{padding:8px 0}.my-autocomplete{li{line-height:normal;padding:7px;.name{text-overflow:ellipsis;overflow:hidden}.addr{font-size:12px;color:#b4b4b4}.highlighted .addr{color:#ddd}}}.my-autocomplete{li{line-height:normal;padding:7px;.name{text-overflow:ellipsis;overflow:hidden}.addr{font-size:12px;color:#b4b4b4}.highlighted .addr{color:#ddd}}}.my-autocomplete{li{line-height:normal;padding:7px;.name{text-overflow:ellipsis;overflow:hidden}.addr{font-size:12px;color:#b4b4b4}.highlighted .addr{color:#ddd}}}.table-container[data-v-d8caa636]{padding:8px 10px}.echarts{width:1000px;height:600px}.el-drawer__header{margin-bottom:0}.el-select .el-input{width:180px}.input-with-select .el-input-group__append,.input-with-select .el-input-group__prepend{background-color:#fff}.table-container[data-v-4ac4792d]{padding:8px 10px}.el-dialog__body{padding:0 20px 20px}.center-block{display:block;margin-left:auto;margin-right:auto}.panel-footer{padding:10px 15px}.max-2-lines{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:34px;text-align:center}.button{float:right}.bottom{margin-top:13px;line-height:12px}.image{display:block;margin:auto;height:72px}.clearfix:after,.clearfix:before{display:table;content:""}.clearfix:after{clear:both}.avue-crud__empty{padding:10px 0}.el-row{margin-bottom:10px;&:last-child{margin-bottom:0}}.el-col{border-radius:2px}.bg-purple-dark{background:#99a9bf}.bg-purple{background:#d3dce6}.bg-purple-exists{background:rgba(35,108,167,.733)}.bg-purple-light{background:#e5e9f2}.grid-content{border-radius:4px;min-height:36px}.row-bg{padding:10px 0;background-color:#f9fafc}.basic-container{padding-left:4px;padding-right:4px}.avue-crud__menu{min-height:0}.table-container[data-v-74f1c94a]{padding:8px 10px}.el-menu-vertical-demo:not(.el-menu--collapse){width:200px;min-height:400px}.avue-group__title{margin-left:10px}.table-container[data-v-8fc10c56]{padding:8px 10px}.el-card__header{padding:5px 5px}.el-timeline-item__timestamp.is-top{margin-bottom:4px;padding-top:4px}.el-timeline-item{position:relative;padding-bottom:0}.el-card__body{padding:10px}.el-divider--horizontal{display:block;height:1px;width:100%;margin:8px 0}.el-timeline{padding-left:10px}.table-container[data-v-05b150aa]{padding:8px 10px} \ No newline at end of file diff --git a/kongx-serve/src/main/resources/static/css/chunk-a425ea88.97c43d12.css b/kongx-serve/src/main/resources/static/css/chunk-a425ea88.97c43d12.css new file mode 100644 index 0000000..e3a1599 --- /dev/null +++ b/kongx-serve/src/main/resources/static/css/chunk-a425ea88.97c43d12.css @@ -0,0 +1 @@ +.table-container[data-v-2f514c64]{padding:8px 10px} \ No newline at end of file diff --git a/kongx-serve/src/main/resources/static/index.html b/kongx-serve/src/main/resources/static/index.html index 7348149..d8fb78c 100644 --- a/kongx-serve/src/main/resources/static/index.html +++ b/kongx-serve/src/main/resources/static/index.html @@ -51,4 +51,4 @@ .avue-home__sub-title { color: #ABABAB; font-size: 12px; - }
loading
正在加载资源
初次加载资源可能需要较多时间 请耐心等待
\ No newline at end of file + }
loading
正在加载资源
初次加载资源可能需要较多时间 请耐心等待
\ No newline at end of file diff --git a/kongx-serve/src/main/resources/static/js/app.13ea0833.js b/kongx-serve/src/main/resources/static/js/app.eca48846.js similarity index 78% rename from kongx-serve/src/main/resources/static/js/app.13ea0833.js rename to kongx-serve/src/main/resources/static/js/app.eca48846.js index bc1a478..1ab7ca9 100644 --- a/kongx-serve/src/main/resources/static/js/app.13ea0833.js +++ b/kongx-serve/src/main/resources/static/js/app.eca48846.js @@ -1 +1 @@ -(function(e){function t(t){for(var n,i,o=t[0],r=t[1],d=t[2],s=0,u=[];s".concat(i.a.mock("@cname"),"

"),grade:[0,1],state:0,date:Object(r["dateFormat"])(new Date)}));return{data:{page:t.page,total:11,pageSize:10,tableData:l}}}))},u=l("0e0b"),p=function(e){var t=e.mock;t&&(i.a.mock(c["a"].path+"/system/function/getFuncTree.do","get",{version:"1.0",clientFrom:"",timestamp:"2019-05-08T17:52:29.145Z",get_url:"",status:0,errmsg:"全部成功",elapsed:171,acc_point:"1",track_id:"5841dd2c-3013-4d00-827e-5c26081fbf1a",secur_type:599,data:[{id:1,label:"基础数据管理平台",select:!1,type:"application",children:[{id:5,label:"配置管理-(5)",select:!1,type:"function",children:[{id:7,label:"数据权限-(7)",select:!1,type:"function",children:[{id:11,label:"配置物流中心",select:!1,type:"point",children:[]},{id:10,label:"配置供应商",select:!1,type:"point",children:[]},{id:9,label:"配置部门",select:!1,type:"point",children:[]}]},{id:6,label:"角色权限-(6)",select:!1,type:"function",children:[{id:15,label:"查看角色列表",select:!1,type:"point",children:[]}]},{id:8,label:"用户角色-(8)",select:!1,type:"function",children:[]}]},{id:1,label:"系统管理-(1)",select:!1,type:"function",children:[{id:2,label:"用户管理-(2)",select:!1,type:"function",children:[{id:12,label:"查看用户",select:!1,type:"point",children:[]},{id:8,label:"编辑用户",select:!1,type:"point",children:[]},{id:7,label:"新增用户",select:!1,type:"point",children:[]}]},{id:3,label:"菜单管理-(3)",select:!1,type:"function",children:[{id:13,label:"查看菜单",select:!1,type:"point",children:[]},{id:6,label:"新增功能点",select:!1,type:"point",children:[]},{id:5,label:"新增菜单",select:!1,type:"point",children:[]},{id:4,label:"新增系统",select:!1,type:"point",children:[]}]},{id:4,label:"角色管理-(4)",select:!1,type:"function",children:[{id:14,label:"查看角色",select:!1,type:"point",children:[]},{id:3,label:"删除角色",select:!1,type:"point",children:[]},{id:2,label:"编辑角色",select:!1,type:"point",children:[]},{id:1,label:"新增角色",select:!1,type:"point",children:[]}]}]}]},{id:1011,label:"京东仓储对接管理系统",select:!1,type:"application",children:[{id:1677,label:"入库管理-(1677)",select:!1,type:"function",children:[]},{id:1682,label:"京东生鲜授权-(1682)",select:!1,type:"function",children:[]},{id:1676,label:"京东商品分类管理-(1676)",select:!1,type:"function",children:[]},{id:2086,label:"库存盘点管理-(2086)",select:!1,type:"function",children:[]},{id:1672,label:"配货单管理-(1672)",select:!1,type:"function",children:[]},{id:2162,label:"报损管理-(2162)",select:!1,type:"function",children:[]},{id:2183,label:"报损管理-(2183)",select:!1,type:"function",children:[]},{id:1675,label:"京东商品关系管理-(1675)",select:!1,type:"function",children:[]}]},{id:100,label:"达令链管理系统",select:!1,type:"application",children:[{id:1440,label:"深圳福保系统-(1440)",select:!1,type:"function",children:[{id:1442,label:"订单管理-(1442)",select:!1,type:"function",children:[]},{id:1441,label:"入库管理-(1441)",select:!1,type:"function",children:[]}]},{id:100,label:"系统基础设置-(100)",select:!1,type:"function",children:[{id:101,label:"用户管理-(101)",select:!1,type:"function",children:[]},{id:102,label:"菜单管理-(102)",select:!1,type:"function",children:[]},{id:103,label:"角色权限-(103)",select:!1,type:"function",children:[]},{id:154,label:"表单任务设置-(154)",select:!1,type:"function",children:[]},{id:155,label:"任务审批者管理-(155)",select:!1,type:"function",children:[]},{id:106,label:"角色管理-(106)",select:!1,type:"function",children:[]},{id:107,label:"用户角色关系-(107)",select:!1,type:"function",children:[]},{id:108,label:"用户角色权限设置-(108)",select:!1,type:"function",children:[]},{id:109,label:"表单号管理-(109)",select:!1,type:"function",children:[]},{id:110,label:"币种设置及汇率-(110)",select:!1,type:"function",children:[]},{id:111,label:"自定义报表配置-(111)",select:!1,type:"function",children:[]},{id:1505,label:"岳威添加菜单-(1505)",select:!1,type:"function",children:[]},{id:1002,label:"系统权限分配预览-(1002)",select:!1,type:"function",children:[]},{id:105,label:"通用代码管理-(105)",select:!1,type:"function",children:[]},{id:104,label:"权限管理-(104)",select:!1,type:"function",children:[]},{id:153,label:"表单管理-(153)",select:!1,type:"function",children:[]}]},{id:150,label:"业务基础设置-(150)",select:!1,type:"function",children:[{id:151,label:"公司-(151)",select:!1,type:"function",children:[{id:2066,label:"批量删除公司",select:!1,type:"point",children:[]}]},{id:152,label:"合作伙伴管理-(152)",select:!1,type:"function",children:[]},{id:156,label:"品牌管理-(156)",select:!1,type:"function",children:[]},{id:157,label:"供应商维护-(157)",select:!1,type:"function",children:[]},{id:158,label:"品牌与供货商关系-(158)",select:!1,type:"function",children:[]},{id:159,label:"产品属性维护-(159)",select:!1,type:"function",children:[]},{id:160,label:"产品分类-(160)",select:!1,type:"function",children:[]},{id:161,label:"产品管理-(161)",select:!1,type:"function",children:[{id:5028,label:"无",select:!1,type:"point",children:[]},{id:5027,label:"Excel修改商品负责人",select:!1,type:"point",children:[]}]},{id:162,label:"组合产品管理-(162)",select:!1,type:"function",children:[]},{id:163,label:"销售渠道管理-(163)",select:!1,type:"function",children:[]},{id:164,label:"销售渠道和虚拟仓关系-(164)",select:!1,type:"function",children:[]},{id:165,label:"系统参数设置-(165)",select:!1,type:"function",children:[]},{id:166,label:"产品线-(166)",select:!1,type:"function",children:[]},{id:167,label:"产品管理(废弃)-(167)",select:!1,type:"function",children:[]},{id:168,label:"客户产品编码管理-(168)",select:!1,type:"function",children:[]},{id:169,label:"联系人及地址管理-(169)",select:!1,type:"function",children:[]},{id:170,label:"计量单位-(170)",select:!1,type:"function",children:[]},{id:171,label:"国家地区设置-(171)",select:!1,type:"function",children:[]},{id:172,label:"地址管理-(172)",select:!1,type:"function",children:[]},{id:173,label:"合作伙伴及地址联系人管理-(173)",select:!1,type:"function",children:[]},{id:174,label:"客户合作关系管理(第一版)-(174)",select:!1,type:"function",children:[]},{id:175,label:"客户联系人地址管理-(175)",select:!1,type:"function",children:[]},{id:176,label:"搜索分类管理-(176)",select:!1,type:"function",children:[]},{id:1142,label:"商品生产日期管理参数维护-(1142)",select:!1,type:"function",children:[]},{id:1455,label:"商品分类属性管理-(1455)",select:!1,type:"function",children:[]},{id:1573,label:"公告管理-(1573)",select:!1,type:"function",children:[]},{id:2073,label:"商品售价维护-(2073)",select:!1,type:"function",children:[]},{id:2074,label:"商品售价审核-(2074)",select:!1,type:"function",children:[]},{id:2072,label:"查询当前商品售价-(2072)",select:!1,type:"function",children:[]},{id:1246,label:"快递品牌维护-(1246)",select:!1,type:"function",children:[]},{id:1179,label:"成本域管理-(1179)",select:!1,type:"function",children:[]},{id:1538,label:"test-(1538)",select:!1,type:"function",children:[{id:1972,label:"审核",select:!1,type:"point",children:[]}]},{id:2060,label:"税收分类信息维护-(2060)",select:!1,type:"function",children:[]},{id:2062,label:"商品分类与税收分类对应关系维护-(2062)",select:!1,type:"function",children:[]},{id:2064,label:"新品税收分类确认-(2064)",select:!1,type:"function",children:[]},{id:2243,label:"智选快递-(2243)",select:!1,type:"function",children:[]},{id:1561,label:"公告管理-(1561)",select:!1,type:"function",children:[]},{id:2099,label:"查询当前商品售价-(2099)",select:!1,type:"function",children:[]},{id:1008,label:"物流属性设置-(1008)",select:!1,type:"function",children:[]},{id:1089,label:"供应商管理-(1089)",select:!1,type:"function",children:[]},{id:1244,label:"承运商信息维护-(1244)",select:!1,type:"function",children:[]},{id:1245,label:"承运商信息管理-(1245)",select:!1,type:"function",children:[]},{id:1100,label:"发货地址物流中心配置-(1100)",select:!1,type:"function",children:[]},{id:1468,label:"供应商员工管理-(1468)",select:!1,type:"function",children:[]},{id:1202,label:"郑州保税区商品备案-(1202)",select:!1,type:"function",children:[]},{id:1203,label:"深圳保税区商品备案-(1203)",select:!1,type:"function",children:[]}]},{id:200,label:"零售管理-(200)",select:!1,type:"function",children:[{id:201,label:"销售渠道库存保护-(201)",select:!1,type:"function",children:[]},{id:202,label:"代买账户管理-(202)",select:!1,type:"function",children:[]},{id:203,label:"零售订单维护-(203)",select:!1,type:"function",children:[{id:2027,label:"批量备注",select:!1,type:"point",children:[]},{id:1001,label:"新建",select:!1,type:"point",children:[]},{id:1e3,label:"列表查询",select:!1,type:"point",children:[]}]},{id:2037,label:"用户信息查看日志-(2037)",select:!1,type:"function",children:[]},{id:205,label:"淘宝铺货-(205)",select:!1,type:"function",children:[]},{id:206,label:"配货单管理-(206)",select:!1,type:"function",children:[{id:2031,label:"查看手机号",select:!1,type:"point",children:[]},{id:2021,label:"查询",select:!1,type:"point",children:[]},{id:2019,label:"批量修改签收状态",select:!1,type:"point",children:[]},{id:2018,label:"修改签收状态",select:!1,type:"point",children:[]}]},{id:207,label:"零售申诉单管理-(207)",select:!1,type:"function",children:[]},{id:208,label:"京东授权-(208)",select:!1,type:"function",children:[]},{id:209,label:"渠道铺货-(209)",select:!1,type:"function",children:[]},{id:210,label:"零售订单退换货申请-(210)",select:!1,type:"function",children:[{id:2186,label:"标记特殊退款",select:!1,type:"point",children:[]},{id:2185,label:"bug消除占位",select:!1,type:"point",children:[]}]},{id:211,label:"零售订单退换货管理-(211)",select:!1,type:"function",children:[{id:2033,label:"查看手机号",select:!1,type:"point",children:[]},{id:2242,label:"退换货/补偿单审核",select:!1,type:"point",children:[]}]},{id:1469,label:"零售订单查询-(1469)",select:!1,type:"function",children:[]},{id:2241,label:"补偿原因配置-(2241)",select:!1,type:"function",children:[]},{id:1685,label:"苏宁退换货管理-(1685)",select:!1,type:"function",children:[]},{id:1011,label:"渠道分销-(1011)",select:!1,type:"function",children:[]},{id:1116,label:"物流地址匹配-(1116)",select:!1,type:"function",children:[]},{id:1612,label:"老客订单维护-(1612)",select:!1,type:"function",children:[]},{id:204,label:"零售订单管理-(204)",select:!1,type:"function",children:[{id:2029,label:"查看手机号",select:!1,type:"point",children:[]},{id:2028,label:"查询列表",select:!1,type:"point",children:[]}]},{id:1209,label:"零售订单批量维护-(1209)",select:!1,type:"function",children:[]},{id:1234,label:"退货指令维护-(1234)",select:!1,type:"function",children:[]},{id:1367,label:"零售订单补偿款-(1367)",select:!1,type:"function",children:[{id:1003,label:"列表查询",select:!1,type:"point",children:[]}]},{id:212,label:"配货单保税价查询-(212)",select:!1,type:"function",children:[]},{id:1619,label:"渠道扣点配置-(1619)",select:!1,type:"function",children:[]},{id:1004,label:"退换货财务确认-(1004)",select:!1,type:"function",children:[]},{id:1003,label:"退换货客服确认-(1003)",select:!1,type:"function",children:[]},{id:2163,label:"供应商自主售后配置-(2163)",select:!1,type:"function",children:[]}]},{id:250,label:"采购管理-(250)",select:!1,type:"function",children:[{id:2222,label:"预售采购申请-(2222)",select:!1,type:"function",children:[]},{id:1175,label:"采购调整单管理-(1175)",select:!1,type:"function",children:[]},{id:253,label:"产品采购价格管理-(253)",select:!1,type:"function",children:[]},{id:254,label:"采购退货申请-(254)",select:!1,type:"function",children:[]},{id:255,label:"采购退货管理-(255)",select:!1,type:"function",children:[]},{id:256,label:"采购订单物流信息维护-(256)",select:!1,type:"function",children:[]},{id:1680,label:"预售审批-(1680)",select:!1,type:"function",children:[]},{id:1102,label:"采购价格维护-(1102)",select:!1,type:"function",children:[]},{id:1679,label:"预售申请-(1679)",select:!1,type:"function",children:[]},{id:1176,label:"采购调整单申请-(1176)",select:!1,type:"function",children:[]},{id:251,label:"零售采购申请-(251)",select:!1,type:"function",children:[]},{id:1103,label:"采购价格管理-(1103)",select:!1,type:"function",children:[]},{id:252,label:"零售采购管理-(252)",select:!1,type:"function",children:[]},{id:1104,label:"当前采购价格查询-(1104)",select:!1,type:"function",children:[]}]},{id:300,label:"库存管理-(300)",select:!1,type:"function",children:[{id:301,label:"虚拟仓库设置-(301)",select:!1,type:"function",children:[]},{id:302,label:"出入库单管理-(302)",select:!1,type:"function",children:[]},{id:303,label:"库存数量及成本查询-(303)",select:!1,type:"function",children:[]},{id:304,label:"库存盘点管理-(304)",select:!1,type:"function",children:[]},{id:305,label:"库存损益管理-(305)",select:!1,type:"function",children:[]},{id:306,label:"手动库存调整-(306)",select:!1,type:"function",children:[]},{id:307,label:"移库管理-(307)",select:!1,type:"function",children:[]},{id:308,label:"移库差异记录管理-(308)",select:!1,type:"function",children:[]},{id:309,label:"库存数量查询-(309)",select:!1,type:"function",children:[]},{id:310,label:"库存盘点查询-(310)",select:!1,type:"function",children:[]},{id:311,label:"移库查询-(311)",select:!1,type:"function",children:[]},{id:312,label:"出入库单查询-(312)",select:!1,type:"function",children:[]},{id:313,label:"库存损益查询-(313)",select:!1,type:"function",children:[]},{id:314,label:"在途库存明细-(314)",select:!1,type:"function",children:[]},{id:315,label:"借货管理-(315)",select:!1,type:"function",children:[]},{id:316,label:"借还货查询-(316)",select:!1,type:"function",children:[]},{id:1044,label:"库存调整管理[库房]-(1044)",select:!1,type:"function",children:[]},{id:1045,label:"库存调整管理[商务]-(1045)",select:!1,type:"function",children:[]},{id:1046,label:"库存调整管理[财务]-(1046)",select:!1,type:"function",children:[]},{id:1430,label:"其他出库单-(1430)",select:!1,type:"function",children:[]},{id:1001,label:"库存综合查询-(1001)",select:!1,type:"function",children:[{id:2161,label:"按查询条件导出/导出未质检明细",select:!1,type:"point",children:[]},{id:2162,label:"导出质检报告",select:!1,type:"point",children:[]}]},{id:1376,label:"供应商库存查询-(1376)",select:!1,type:"function",children:[]},{id:1377,label:"供应商库存异动明细-(1377)",select:!1,type:"function",children:[]},{id:1547,label:"商品自动补货建议-(1547)",select:!1,type:"function",children:[]},{id:1097,label:"商品补货参数设置-(1097)",select:!1,type:"function",children:[]},{id:1096,label:"日销量参数管理-(1096)",select:!1,type:"function",children:[]},{id:1092,label:"库存结存查询-(1092)",select:!1,type:"function",children:[]},{id:1431,label:"其他入库单-(1431)",select:!1,type:"function",children:[]},{id:1013,label:"库存异动查询-(1013)",select:!1,type:"function",children:[]}]},{id:350,label:"储运管理-(350)",select:!1,type:"function",children:[{id:351,label:"物流中心管理-(351)",select:!1,type:"function",children:[]}]},{id:400,label:"财务管理-(400)",select:!1,type:"function",children:[{id:401,label:"本组织银行账户设置-(401)",select:!1,type:"function",children:[]},{id:402,label:"应收明细管理-(402)",select:!1,type:"function",children:[]},{id:403,label:"应付明细管理-(403)",select:!1,type:"function",children:[]},{id:404,label:"应收发票勾稽管理-(404)",select:!1,type:"function",children:[]},{id:405,label:"销售发票登记-(405)",select:!1,type:"function",children:[]},{id:406,label:"应付发票勾稽管理-(406)",select:!1,type:"function",children:[]},{id:407,label:"供应商应付查询-(407)",select:!1,type:"function",children:[]},{id:408,label:"客户应收查询-(408)",select:!1,type:"function",children:[]},{id:409,label:"收款计划-(409)",select:!1,type:"function",children:[]},{id:410,label:"应收对账管理-(410)",select:!1,type:"function",children:[]},{id:411,label:"采购发票登记-(411)",select:!1,type:"function",children:[]},{id:412,label:"收款及核销预收管理-(412)",select:!1,type:"function",children:[]},{id:413,label:"预收款余额查询-(413)",select:!1,type:"function",children:[]},{id:414,label:"预收管理-(414)",select:!1,type:"function",children:[]},{id:1110,label:"自采应付单管理-(1110)",select:!1,type:"function",children:[]},{id:1161,label:"代销应付单管理-(1161)",select:!1,type:"function",children:[]},{id:1205,label:"结算单申请-(1205)",select:!1,type:"function",children:[]},{id:1204,label:"结算单管理-(1204)",select:!1,type:"function",children:[]},{id:1207,label:"付款单申请-(1207)",select:!1,type:"function",children:[]},{id:1206,label:"付款单管理-(1206)",select:!1,type:"function",children:[]},{id:1474,label:"CEO审核-(1474)",select:!1,type:"function",children:[]},{id:1475,label:"创始人审核-(1475)",select:!1,type:"function",children:[]},{id:1575,label:"供应商账户管理-(1575)",select:!1,type:"function",children:[]},{id:1620,label:"渠道对账-(1620)",select:!1,type:"function",children:[]},{id:1670,label:"苏宁应收明细-(1670)",select:!1,type:"function",children:[]},{id:1556,label:"供应商账户管理-(1556)",select:!1,type:"function",children:[]}]},{id:450,label:"人力资源-(450)",select:!1,type:"function",children:[{id:451,label:"部门管理-(451)",select:!1,type:"function",children:[]},{id:452,label:"员工管理-(452)",select:!1,type:"function",children:[]},{id:453,label:"个人信息管理-(453)",select:!1,type:"function",children:[]},{id:454,label:"日历设置-(454)",select:!1,type:"function",children:[]},{id:455,label:"系统用户与员工关系-(455)",select:!1,type:"function",children:[]},{id:456,label:"组织图-(456)",select:!1,type:"function",children:[]}]},{id:500,label:"数据授权与控制-(500)",select:!1,type:"function",children:[{id:502,label:"模块数据权限控制-(502)",select:!1,type:"function",children:[]},{id:503,label:"受控数据授权设置-(503)",select:!1,type:"function",children:[]},{id:501,label:"数据权限类型设置-(501)",select:!1,type:"function",children:[]}]},{id:550,label:"统计报表-(550)",select:!1,type:"function",children:[{id:551,label:"销售业绩统计-(551)",select:!1,type:"function",children:[]},{id:552,label:"月应收应付汇总-(552)",select:!1,type:"function",children:[]},{id:553,label:"月应收应付分类汇总-(553)",select:!1,type:"function",children:[]},{id:554,label:"四周平均销量趋势图-(554)",select:!1,type:"function",children:[]},{id:555,label:"报表手动触发统计-(555)",select:!1,type:"function",children:[]},{id:556,label:"销售日报表-(556)",select:!1,type:"function",children:[]},{id:557,label:"库存资产统计-(557)",select:!1,type:"function",children:[]},{id:558,label:"财务应收付报表-(558)",select:!1,type:"function",children:[]},{id:559,label:"财务实收付报表-(559)",select:!1,type:"function",children:[]},{id:560,label:"财务应收付报表-(560)",select:!1,type:"function",children:[]},{id:561,label:"销售业绩统计-(561)",select:!1,type:"function",children:[]},{id:563,label:"金蝶系统数据来源导出-(563)",select:!1,type:"function",children:[]},{id:564,label:"财务应收付统计图-(564)",select:!1,type:"function",children:[]},{id:565,label:"WOS报表-(565)",select:!1,type:"function",children:[]}]},{id:600,label:"RMA管理-(600)",select:!1,type:"function",children:[{id:601,label:"供应商RMA报关价格设置-(601)",select:!1,type:"function",children:[]},{id:602,label:"到货单管理-(602)",select:!1,type:"function",children:[]},{id:603,label:"客户RMA管理-(603)",select:!1,type:"function",children:[]},{id:604,label:"到货差异管理-(604)",select:!1,type:"function",children:[]},{id:605,label:"坏品管理-(605)",select:!1,type:"function",children:[]},{id:606,label:"RMA新品申请-(606)",select:!1,type:"function",children:[]},{id:607,label:"供应商RMA返货申请-(607)",select:!1,type:"function",children:[]},{id:608,label:"新品发货管理-(608)",select:!1,type:"function",children:[]},{id:609,label:"供应商RMA管理-(609)",select:!1,type:"function",children:[]},{id:610,label:"供应商RMA到货差异管理-(610)",select:!1,type:"function",children:[]},{id:611,label:"坏品管理(罗技)-(611)",select:!1,type:"function",children:[]},{id:612,label:"NPF单管理-(612)",select:!1,type:"function",children:[]}]},{id:650,label:"文库管理-(650)",select:!1,type:"function",children:[{id:651,label:"公文文库管理-(651)",select:!1,type:"function",children:[]},{id:652,label:"频道管理-(652)",select:!1,type:"function",children:[]},{id:653,label:"用户频道关系管理-(653)",select:!1,type:"function",children:[]}]},{id:700,label:"渠道销售管理-(700)",select:!1,type:"function",children:[{id:701,label:"客户银行账户设置-(701)",select:!1,type:"function",children:[]},{id:702,label:"客户运输条款设置-(702)",select:!1,type:"function",children:[]},{id:703,label:"询单管理-(703)",select:!1,type:"function",children:[]},{id:704,label:"产品销售价格管理-(704)",select:!1,type:"function",children:[]},{id:705,label:"产品销售价格管理(版本2)-(705)",select:!1,type:"function",children:[]},{id:706,label:"客户合作关系管理-(706)",select:!1,type:"function",children:[]},{id:707,label:"销售单管理-(707)",select:!1,type:"function",children:[]},{id:708,label:"产品出货价格管理-(708)",select:!1,type:"function",children:[]},{id:709,label:"销售单商务管理-(709)",select:!1,type:"function",children:[]},{id:710,label:"签收单管理-(710)",select:!1,type:"function",children:[]},{id:711,label:"销售单审批-(711)",select:!1,type:"function",children:[]},{id:712,label:"销售签收差异记录查询-(712)",select:!1,type:"function",children:[]},{id:713,label:"询单答复-(713)",select:!1,type:"function",children:[]},{id:714,label:"产品出货价格查询-(714)",select:!1,type:"function",children:[]},{id:715,label:"客户促销及市场支持-(715)",select:!1,type:"function",children:[]}]},{id:750,label:"渠道采购管理-(750)",select:!1,type:"function",children:[{id:751,label:"供应商合作关系管理-(751)",select:!1,type:"function",children:[]},{id:752,label:"供应商银行账户设置-(752)",select:!1,type:"function",children:[]},{id:753,label:"采购单管理(无效)-(753)",select:!1,type:"function",children:[]},{id:754,label:"采购单管理-(754)",select:!1,type:"function",children:[]},{id:755,label:"采购单申请-(755)",select:!1,type:"function",children:[]},{id:756,label:"采购行入库-(756)",select:!1,type:"function",children:[]},{id:757,label:"采购入库差异记录管理-(757)",select:!1,type:"function",children:[]},{id:758,label:"供应商价保-(758)",select:!1,type:"function",children:[]},{id:759,label:"供应商促销及市场支持-(759)",select:!1,type:"function",children:[]},{id:760,label:"供应商BackLog历史记录查询-(760)",select:!1,type:"function",children:[]},{id:761,label:"供应商转仓单历史记录查询-(761)",select:!1,type:"function",children:[]},{id:762,label:"供应商提货单历史记录查询-(762)",select:!1,type:"function",children:[]},{id:763,label:"采购行查询-(763)",select:!1,type:"function",children:[]},{id:764,label:"供应商促销审批-(764)",select:!1,type:"function",children:[]}]},{id:1215,label:"运营工具-(1215)",select:!1,type:"function",children:[{id:1216,label:"运营调整功能作业-(1216)",select:!1,type:"function",children:[]}]}]},{id:600,label:"达令VRM系统",select:!1,type:"application",children:[{id:2076,label:"活动管理-(2076)",select:!1,type:"function",children:[{id:2077,label:"活动管理(供应商)-(2077)",select:!1,type:"function",children:[{id:2070,label:"查询",select:!1,type:"point",children:[]}]}]},{id:2329,label:"报备-(2329)",select:!1,type:"function",children:[{id:2334,label:"报备-(2334)",select:!1,type:"function",children:[]}]},{id:1501,label:"对账单管理-(1501)",select:!1,type:"function",children:[{id:1503,label:"对账单查询-(1503)",select:!1,type:"function",children:[{id:1969,label:"查看发票明细",select:!1,type:"point",children:[]},{id:1959,label:"供应商查询",select:!1,type:"point",children:[]},{id:1958,label:"导出对账单",select:!1,type:"point",children:[]},{id:1957,label:"导出代销明细",select:!1,type:"point",children:[]},{id:1956,label:"提交对账",select:!1,type:"point",children:[]},{id:1955,label:"查看操作日志",select:!1,type:"point",children:[]},{id:1954,label:"查看代销明细",select:!1,type:"point",children:[]},{id:1953,label:"新增发票",select:!1,type:"point",children:[]},{id:1952,label:"查看详情",select:!1,type:"point",children:[]},{id:1951,label:"查询列表",select:!1,type:"point",children:[]}]},{id:1557,label:"账户余额-(1557)",select:!1,type:"function",children:[{id:1987,label:"余额提现",select:!1,type:"point",children:[]},{id:1986,label:"确认余额账单",select:!1,type:"point",children:[]},{id:1985,label:"操作日志",select:!1,type:"point",children:[]},{id:1984,label:"发票信息",select:!1,type:"point",children:[]},{id:1983,label:"业务数据",select:!1,type:"point",children:[]},{id:1982,label:"代销单据明细",select:!1,type:"point",children:[]},{id:1981,label:"概览",select:!1,type:"point",children:[]},{id:1980,label:"供应商下拉框",select:!1,type:"point",children:[]}]},{id:1559,label:"未出账单明细-(1559)",select:!1,type:"function",children:[{id:1991,label:"结果导出",select:!1,type:"point",children:[]},{id:1990,label:"查询列表",select:!1,type:"point",children:[]}]}]},{id:1217,label:"库存管理-(1217)",select:!1,type:"function",children:[{id:1218,label:"库存数量查询-(1218)",select:!1,type:"function",children:[]},{id:1454,label:"供应商自有库存管理-(1454)",select:!1,type:"function",children:[{id:1868,label:"上传修改库存",select:!1,type:"point",children:[]},{id:1867,label:"导出库存",select:!1,type:"point",children:[]},{id:1866,label:"查询日志",select:!1,type:"point",children:[]},{id:1865,label:"修改在库数",select:!1,type:"point",children:[]},{id:1864,label:"查询异动",select:!1,type:"point",children:[]},{id:1863,label:"查询",select:!1,type:"point",children:[]}]}]},{id:2297,label:"商品管理-(2297)",select:!1,type:"function",children:[{id:2298,label:"添加商品-(2298)",select:!1,type:"function",children:[]},{id:2299,label:"待审核商品-(2299)",select:!1,type:"function",children:[]},{id:2300,label:"我的商品库-(2300)",select:!1,type:"function",children:[]}]},{id:2080,label:"活动管理-(2080)",select:!1,type:"function",children:[{id:2081,label:"活动管理(供应商)-(2081)",select:!1,type:"function",children:[{id:2071,label:"查询",select:!1,type:"point",children:[]}]},{id:2182,label:"活动管理-(2182)",select:!1,type:"function",children:[]}]},{id:2082,label:"订单提示-(2082)",select:!1,type:"function",children:[{id:2083,label:"走件提示-(2083)",select:!1,type:"function",children:[{id:2076,label:"导出走件提示",select:!1,type:"point",children:[]},{id:2075,label:"查询走件提示",select:!1,type:"point",children:[]},{id:2072,label:"查询物流公司",select:!1,type:"point",children:[]}]},{id:2085,label:"揽收提示-(2085)",select:!1,type:"function",children:[{id:2080,label:"导出揽收提示",select:!1,type:"point",children:[]},{id:2079,label:"查询揽收提示",select:!1,type:"point",children:[]},{id:2074,label:"查询物流公司",select:!1,type:"point",children:[]}]},{id:2084,label:"发货提示-(2084)",select:!1,type:"function",children:[{id:2078,label:"导出发货提示",select:!1,type:"point",children:[]},{id:2077,label:"查询发货提示",select:!1,type:"point",children:[]},{id:2073,label:"查询物流公司",select:!1,type:"point",children:[]}]}]},{id:2342,label:"销售发票管理-(2342)",select:!1,type:"function",children:[{id:2344,label:"销售发票申请-(2344)",select:!1,type:"function",children:[]},{id:2343,label:"销售发票申请-(2343)",select:!1,type:"function",children:[]}]},{id:1418,label:"商品上新-(1418)",select:!1,type:"function",children:[{id:1419,label:"商品列表-(1419)",select:!1,type:"function",children:[]},{id:1420,label:"新品开发排期-(1420)",select:!1,type:"function",children:[]},{id:1426,label:"商品列表(商务)-(1426)",select:!1,type:"function",children:[]},{id:1427,label:"商品列表(运营)-(1427)",select:!1,type:"function",children:[{id:2026,label:"模板导出",select:!1,type:"point",children:[]},{id:2025,label:"批量导入商品上架信息",select:!1,type:"point",children:[]},{id:2024,label:"批量导出商品上架信息",select:!1,type:"point",children:[]}]},{id:1423,label:"新品上新状态(运营)-(1423)",select:!1,type:"function",children:[]},{id:1458,label:"商品提报(服装)-(1458)",select:!1,type:"function",children:[]},{id:1435,label:"商品提报-(1435)",select:!1,type:"function",children:[]},{id:1429,label:"图片批量上传-(1429)",select:!1,type:"function",children:[]},{id:1422,label:"新品上新状态(商务)-(1422)",select:!1,type:"function",children:[]},{id:1444,label:"商务选品-(1444)",select:!1,type:"function",children:[]},{id:1421,label:"新品开发-(1421)",select:!1,type:"function",children:[]},{id:1424,label:"新品上新状态(内容中心)-(1424)",select:!1,type:"function",children:[]},{id:1425,label:"商品列表(供应商)-(1425)",select:!1,type:"function",children:[]}]},{id:2179,label:"售后列表-(2179)",select:!1,type:"function",children:[{id:2180,label:"售后审核-(2180)",select:!1,type:"function",children:[{id:2252,label:"图片上传",select:!1,type:"point",children:[]},{id:2249,label:"查询备注",select:!1,type:"point",children:[]},{id:2217,label:"订单编号",select:!1,type:"point",children:[]},{id:2235,label:"导出",select:!1,type:"point",children:[]},{id:2216,label:"退货单号",select:!1,type:"point",children:[]},{id:2215,label:"增加备注",select:!1,type:"point",children:[]},{id:2214,label:"审核驳回",select:!1,type:"point",children:[]},{id:2213,label:"审核通过",select:!1,type:"point",children:[]}]},{id:2181,label:"收货确认-(2181)",select:!1,type:"function",children:[{id:2251,label:"图片上传",select:!1,type:"point",children:[]},{id:2250,label:"查询备注",select:!1,type:"point",children:[]},{id:2230,label:"订单编号",select:!1,type:"point",children:[]},{id:2229,label:"退货单号",select:!1,type:"point",children:[]},{id:2228,label:"增加备注",select:!1,type:"point",children:[]},{id:2227,label:"申请仲裁",select:!1,type:"point",children:[]},{id:2226,label:"确认收货",select:!1,type:"point",children:[]}]}]},{id:1432,label:"订单管理-(1432)",select:!1,type:"function",children:[{id:1434,label:"零售订单管理(国际)-(1434)",select:!1,type:"function",children:[{id:2082,label:"预警数据",select:!1,type:"point",children:[]},{id:2081,label:"超时数据",select:!1,type:"point",children:[]},{id:2047,label:"批量修改物流信息",select:!1,type:"point",children:[]},{id:2013,label:"查询所有上传物流单号结果(管理员专用)",select:!1,type:"point",children:[]},{id:2012,label:"删除上传物流单号结果ById(管理员专用)",select:!1,type:"point",children:[]},{id:2011,label:"查询上传物流单号结果ById(管理员专用)",select:!1,type:"point",children:[]},{id:2010,label:"查询上传物流单号结果",select:!1,type:"point",children:[]},{id:2001,label:"查看订单产品",select:!1,type:"point",children:[]},{id:1993,label:"下载身份证照片",select:!1,type:"point",children:[]},{id:1992,label:"是否有权限下载",select:!1,type:"point",children:[]},{id:1964,label:"查看物流信息",select:!1,type:"point",children:[]},{id:1946,label:"查看日志",select:!1,type:"point",children:[]},{id:1945,label:"出库",select:!1,type:"point",children:[]},{id:1878,label:"修改快递单号",select:!1,type:"point",children:[]},{id:1877,label:"查询快递信息",select:!1,type:"point",children:[]},{id:1876,label:"导入物流单号",select:!1,type:"point",children:[]},{id:1875,label:"导入发货明细",select:!1,type:"point",children:[]},{id:1874,label:"条件下载订单",select:!1,type:"point",children:[]},{id:1873,label:"条件下载订单",select:!1,type:"point",children:[]},{id:1872,label:"下载订单",select:!1,type:"point",children:[]},{id:1871,label:"取消",select:!1,type:"point",children:[]},{id:1870,label:"查看详情",select:!1,type:"point",children:[]},{id:1869,label:"查询列表",select:!1,type:"point",children:[]},{id:2110,label:"备注弹窗确认",select:!1,type:"point",children:[]}]},{id:1438,label:"零售订单管理(国内)-(1438)",select:!1,type:"function",children:[{id:2083,label:"超时数据",select:!1,type:"point",children:[]},{id:2084,label:"预警数据",select:!1,type:"point",children:[]},{id:2046,label:"批量修改物流信息",select:!1,type:"point",children:[]},{id:2017,label:"查询所有上传物流单号结果(管理员专用)",select:!1,type:"point",children:[]},{id:2016,label:"删除上传物流单号结果ById(管理员专用)",select:!1,type:"point",children:[]},{id:2015,label:"查询上传物流单号结果ById(管理员专用)",select:!1,type:"point",children:[]},{id:2014,label:"查询上传物流单号结果",select:!1,type:"point",children:[]},{id:2002,label:"查看订单产品",select:!1,type:"point",children:[]},{id:1965,label:"查看物流信息",select:!1,type:"point",children:[]},{id:1944,label:"查看日志",select:!1,type:"point",children:[]},{id:1943,label:"出库",select:!1,type:"point",children:[]},{id:1887,label:"修改快递单号",select:!1,type:"point",children:[]},{id:1886,label:"查询快递信息",select:!1,type:"point",children:[]},{id:1885,label:"导入物流单号",select:!1,type:"point",children:[]},{id:1884,label:"条件下载订单",select:!1,type:"point",children:[]},{id:1883,label:"条件下载订单",select:!1,type:"point",children:[]},{id:1882,label:"下载订单",select:!1,type:"point",children:[]},{id:1881,label:"取消",select:!1,type:"point",children:[]},{id:1880,label:"查看详情",select:!1,type:"point",children:[]},{id:1879,label:"查询列表",select:!1,type:"point",children:[]},{id:2109,label:"备注弹窗确认",select:!1,type:"point",children:[]}]},{id:2088,label:"零售订单管理(保税)-(2088)",select:!1,type:"function",children:[{id:2104,label:"点击备注",select:!1,type:"point",children:[]},{id:2103,label:"重推支付单",select:!1,type:"point",children:[]},{id:2102,label:"查看支付报关状态枚举",select:!1,type:"point",children:[]},{id:2101,label:"查询上传物流单号结果",select:!1,type:"point",children:[]},{id:2100,label:"查看物流信息",select:!1,type:"point",children:[]},{id:2099,label:"查看日志",select:!1,type:"point",children:[]},{id:2098,label:"出库",select:!1,type:"point",children:[]},{id:2097,label:"修改快递单号",select:!1,type:"point",children:[]},{id:2096,label:"查询快递信息",select:!1,type:"point",children:[]},{id:2095,label:"导入物流单号",select:!1,type:"point",children:[]},{id:2094,label:"下载全部订单(根据查询条件)",select:!1,type:"point",children:[]},{id:2093,label:"下载未发货订单",select:!1,type:"point",children:[]},{id:2092,label:"取消",select:!1,type:"point",children:[]},{id:2091,label:"查看详情",select:!1,type:"point",children:[]},{id:2090,label:"查询列表",select:!1,type:"point",children:[]},{id:2089,label:"批量修改物流信息",select:!1,type:"point",children:[]},{id:2243,label:"重推指定支付单",select:!1,type:"point",children:[]},{id:2108,label:"备注弹窗确认",select:!1,type:"point",children:[]}]}]},{id:1456,label:"注册审核-(1456)",select:!1,type:"function",children:[{id:1512,label:"注册审核(创始人)-(1512)",select:!1,type:"function",children:[{id:1929,label:"补充协议下载",select:!1,type:"point",children:[]},{id:1928,label:"合同下载",select:!1,type:"point",children:[]},{id:1927,label:"查询负责人",select:!1,type:"point",children:[]},{id:1926,label:"审核确认",select:!1,type:"point",children:[]},{id:1925,label:"查看详情",select:!1,type:"point",children:[]},{id:1924,label:"查询列表",select:!1,type:"point",children:[]}]},{id:1462,label:"注册审核(法务)-(1462)",select:!1,type:"function",children:[{id:1899,label:"补充协议下载",select:!1,type:"point",children:[]},{id:1898,label:"合同下载",select:!1,type:"point",children:[]},{id:1897,label:"查询负责人",select:!1,type:"point",children:[]},{id:1896,label:"审核确认",select:!1,type:"point",children:[]},{id:1895,label:"查看详情",select:!1,type:"point",children:[]},{id:1894,label:"查询列表",select:!1,type:"point",children:[]}]},{id:1463,label:"注册审核(财务)-(1463)",select:!1,type:"function",children:[{id:1905,label:"补充协议下载",select:!1,type:"point",children:[]},{id:1904,label:"合同下载",select:!1,type:"point",children:[]},{id:1903,label:"查询负责人",select:!1,type:"point",children:[]},{id:1902,label:"审核确认",select:!1,type:"point",children:[]},{id:1901,label:"查看详情",select:!1,type:"point",children:[]},{id:1900,label:"查询列表",select:!1,type:"point",children:[]}]},{id:1464,label:"注册审核(印章)-(1464)",select:!1,type:"function",children:[{id:1917,label:"补充协议下载",select:!1,type:"point",children:[]},{id:1916,label:"合同下载",select:!1,type:"point",children:[]},{id:1915,label:"查询负责人",select:!1,type:"point",children:[]},{id:1914,label:"审核确认",select:!1,type:"point",children:[]},{id:1913,label:"查看详情",select:!1,type:"point",children:[]},{id:1912,label:"查询列表",select:!1,type:"point",children:[]}]},{id:1461,label:"注册审核(商务)-(1461)",select:!1,type:"function",children:[{id:1893,label:"补充协议下载",select:!1,type:"point",children:[]},{id:1892,label:"合同下载",select:!1,type:"point",children:[]},{id:1891,label:"查询负责人",select:!1,type:"point",children:[]},{id:1890,label:"审核确认",select:!1,type:"point",children:[]},{id:1889,label:"查看详情",select:!1,type:"point",children:[]},{id:1888,label:"查询列表",select:!1,type:"point",children:[]}]},{id:1511,label:"注册审核(CEO)-(1511)",select:!1,type:"function",children:[{id:1923,label:"补充协议下载",select:!1,type:"point",children:[]},{id:1922,label:"合同下载",select:!1,type:"point",children:[]},{id:1921,label:"查询负责人",select:!1,type:"point",children:[]},{id:1920,label:"审核确认",select:!1,type:"point",children:[]},{id:1919,label:"查看详情",select:!1,type:"point",children:[]},{id:1918,label:"查询列表",select:!1,type:"point",children:[]}]},{id:1457,label:"注册审核-(1457)",select:!1,type:"function",children:[]},{id:1465,label:"注册审核(结算)-(1465)",select:!1,type:"function",children:[{id:1911,label:"补充协议下载",select:!1,type:"point",children:[]},{id:1910,label:"合同下载",select:!1,type:"point",children:[]},{id:1909,label:"查询负责人",select:!1,type:"point",children:[]},{id:1908,label:"审核确认",select:!1,type:"point",children:[]},{id:1907,label:"查看详情",select:!1,type:"point",children:[]},{id:1906,label:"查询列表",select:!1,type:"point",children:[]}]},{id:1467,label:"我的合同-(1467)",select:!1,type:"function",children:[{id:1935,label:"补充协议下载",select:!1,type:"point",children:[]},{id:1934,label:"合同下载",select:!1,type:"point",children:[]},{id:1933,label:"查询负责人",select:!1,type:"point",children:[]},{id:1932,label:"审核确认",select:!1,type:"point",children:[]},{id:1931,label:"查看详情",select:!1,type:"point",children:[]},{id:1930,label:"查询列表",select:!1,type:"point",children:[]}]},{id:2345,label:"注册审核(品控)-(2345)",select:!1,type:"function",children:[]}]},{id:1554,label:"退货管理-(1554)",select:!1,type:"function",children:[{id:1555,label:"退货查询-(1555)",select:!1,type:"function",children:[{id:1978,label:"导出详情",select:!1,type:"point",children:[]},{id:1976,label:"查看详情",select:!1,type:"point",children:[]},{id:1975,label:"查询列表",select:!1,type:"point",children:[]}]}]},{id:2034,label:"活动管理-(2034)",select:!1,type:"function",children:[{id:2035,label:"活动管理(供应商)-(2035)",select:!1,type:"function",children:[{id:2032,label:"查询",select:!1,type:"point",children:[]}]}]},{id:2247,label:"我的账号-(2247)",select:!1,type:"function",children:[{id:2248,label:"对接账号申请-(2248)",select:!1,type:"function",children:[]}]},{id:2269,label:"售后列表-(2269)",select:!1,type:"function",children:[]},{id:2272,label:"基础数据管理-(2272)",select:!1,type:"function",children:[{id:2273,label:"品牌管理-(2273)",select:!1,type:"function",children:[]},{id:2274,label:"供应商经营品牌管理-(2274)",select:!1,type:"function",children:[]}]},{id:1479,label:"供应商销售报表-(1479)",select:!1,type:"function",children:[{id:1480,label:"商务销售数据分析-(1480)",select:!1,type:"function",children:[]},{id:1481,label:"供应商销售数据分析-(1481)",select:!1,type:"function",children:[]}]},{id:2301,label:"价格管理-(2301)",select:!1,type:"function",children:[{id:2302,label:"采购价格管理-(2302)",select:!1,type:"function",children:[]},{id:2303,label:"当前采购价格查询-(2303)",select:!1,type:"function",children:[]}]},{id:2304,label:"商品管理-(2304)",select:!1,type:"function",children:[{id:2305,label:"添加商品-(2305)",select:!1,type:"function",children:[]},{id:2306,label:"待审核商品-(2306)",select:!1,type:"function",children:[]},{id:2307,label:"商品库-(2307)",select:!1,type:"function",children:[]},{id:2308,label:"商品审核-(2308)",select:!1,type:"function",children:[]},{id:2309,label:"组合商品管理-(2309)",select:!1,type:"function",children:[]}]},{id:2310,label:"商品上下架-(2310)",select:!1,type:"function",children:[{id:2311,label:"销售商品列表-(2311)",select:!1,type:"function",children:[]}]},{id:2068,label:"工单管理-(2068)",select:!1,type:"function",children:[{id:2069,label:"工单列表-(2069)",select:!1,type:"function",children:[]}]}]},{id:200,label:"达令报表管理系统",select:!1,type:"application",children:[{id:1014,label:"财务-(1014)",select:!1,type:"function",children:[{id:1015,label:"APP销售出库对账报表-(1015)",select:!1,type:"function",children:[]},{id:1042,label:"实时库存成本-(1042)",select:!1,type:"function",children:[]},{id:1051,label:"零售退货数据财务报表-(1051)",select:!1,type:"function",children:[]},{id:1052,label:"销售出库数据财务报表-(1052)",select:!1,type:"function",children:[]},{id:1372,label:"供应商状态-(1372)",select:!1,type:"function",children:[]},{id:1370,label:"供应商应付汇总-(1370)",select:!1,type:"function",children:[]},{id:1020,label:"APP支付平台对账报表-(1020)",select:!1,type:"function",children:[]},{id:1121,label:"支付宝(国际)退款数据-(1121)",select:!1,type:"function",children:[]},{id:1083,label:"财付通退款数据-(1083)",select:!1,type:"function",children:[]},{id:1365,label:"14年下半年收入成本(核算)-(1365)",select:!1,type:"function",children:[]},{id:1111,label:"自采账期可付款数据-(1111)",select:!1,type:"function",children:[]},{id:1040,label:"支付宝退款数据-(1040)",select:!1,type:"function",children:[]},{id:1364,label:"优惠券统计(核算)-(1364)",select:!1,type:"function",children:[]},{id:1084,label:"微信支付退款数据-(1084)",select:!1,type:"function",children:[]},{id:1055,label:"低支付金额订单-(1055)",select:!1,type:"function",children:[]},{id:1079,label:"采购入库数据财务报表-(1079)",select:!1,type:"function",children:[]},{id:1053,label:"采购退货数据财务报表-(1053)",select:!1,type:"function",children:[]},{id:1213,label:"收入成本报表(核算)-(1213)",select:!1,type:"function",children:[]},{id:1214,label:"进销存报表(核算)-(1214)",select:!1,type:"function",children:[]},{id:1187,label:"历史进销存数据统计-(1187)",select:!1,type:"function",children:[]},{id:1385,label:"财务已退数据-(1385)",select:!1,type:"function",children:[]},{id:1384,label:"15年收入成本数据-(1384)",select:!1,type:"function",children:[]},{id:1219,label:"供应商库存分析表-(1219)",select:!1,type:"function",children:[]},{id:1125,label:"产品分类每日数据报表-(1125)",select:!1,type:"function",children:[]},{id:1118,label:"GMV经营分析报表-(1118)",select:!1,type:"function",children:[]}]},{id:1016,label:"商务-(1016)",select:!1,type:"function",children:[{id:1482,label:"测试报表-(1482)",select:!1,type:"function",children:[]},{id:1041,label:"产品销量-(1041)",select:!1,type:"function",children:[]},{id:1036,label:"TOP20销售城市-(1036)",select:!1,type:"function",children:[]},{id:1098,label:"保税订单交税比对基础数据-(1098)",select:!1,type:"function",children:[]},{id:1108,label:"销售货品TOP100(销售量)-(1108)",select:!1,type:"function",children:[]},{id:1109,label:"销售货品TOP100(销售额)-(1109)",select:!1,type:"function",children:[]},{id:1123,label:"大客户信息查询-(1123)",select:!1,type:"function",children:[]},{id:1114,label:"组合商品库存查询-(1114)",select:!1,type:"function",children:[]},{id:1231,label:"全球零食效期预警有效期天数大于180天-(1231)",select:!1,type:"function",children:[]},{id:1132,label:"组合商品补货参照表-(1132)",select:!1,type:"function",children:[]},{id:1232,label:"全球零食效期预警有效期天数小于180天-(1232)",select:!1,type:"function",children:[]},{id:1149,label:"达令仓产品未发货订单列表-(1149)",select:!1,type:"function",children:[]},{id:1135,label:"ADMIN与ERP库存差异明细-(1135)",select:!1,type:"function",children:[]},{id:1120,label:"SKU在库、订货、调拨、出库明细-(1120)",select:!1,type:"function",children:[]},{id:1233,label:"极致美护距离允售期6个月商品信息-(1233)",select:!1,type:"function",children:[]},{id:1263,label:"虚拟仓发货退货入库明细-(1263)",select:!1,type:"function",children:[]},{id:1261,label:"零售退货原因明细查询-(1261)",select:!1,type:"function",children:[]},{id:1034,label:"郑州保税区进销存-(1034)",select:!1,type:"function",children:[]},{id:1150,label:"需商务同事确认库存调整单明细-(1150)",select:!1,type:"function",children:[]},{id:1017,label:"盘点待商务确认数据-(1017)",select:!1,type:"function",children:[]},{id:1177,label:"渠道数据统计任务-(1177)",select:!1,type:"function",children:[]},{id:1626,label:"test-(1626)",select:!1,type:"function",children:[]},{id:1200,label:"深圳服装未发货订单列表-(1200)",select:!1,type:"function",children:[]}]},{id:1018,label:"物流-(1018)",select:!1,type:"function",children:[{id:1255,label:"郑州保税出库明细(中通)-(1255)",select:!1,type:"function",children:[]},{id:1146,label:"配货单超时-(1146)",select:!1,type:"function",children:[]},{id:1077,label:"郑州保税出库明细(EMS)-(1077)",select:!1,type:"function",children:[]},{id:1050,label:"发货单明细统计表-(1050)",select:!1,type:"function",children:[]},{id:1048,label:"采购退货出库明细统计-(1048)",select:!1,type:"function",children:[]},{id:1059,label:"iphone订单出库-(1059)",select:!1,type:"function",children:[]},{id:1047,label:"移仓商品明细统计-(1047)",select:!1,type:"function",children:[]},{id:1122,label:"郑州保税出库明细(申通)-(1122)",select:!1,type:"function",children:[]},{id:1129,label:"推送非保税-(1129)",select:!1,type:"function",children:[]},{id:1113,label:"库存调整单明细查询-(1113)",select:!1,type:"function",children:[]},{id:1127,label:"在库SKU及数量对比-(1127)",select:!1,type:"function",children:[]},{id:1124,label:"8月1日起新入库sku及数量对比-(1124)",select:!1,type:"function",children:[]},{id:1126,label:"9月1日起新入库sku及数量对比-(1126)",select:!1,type:"function",children:[]},{id:1128,label:"创建未推送-(1128)",select:!1,type:"function",children:[]},{id:1119,label:"保税无法创建拣货单明细-(1119)",select:!1,type:"function",children:[]},{id:1019,label:"宅急送信息统计-(1019)",select:!1,type:"function",children:[]},{id:1130,label:"放行未发货-(1130)",select:!1,type:"function",children:[]},{id:1683,label:"京东库存及销量报表-(1683)",select:!1,type:"function",children:[]},{id:1112,label:"盘点调整数据统计查询-(1112)",select:!1,type:"function",children:[]},{id:1049,label:"采购入库明细统计-(1049)",select:!1,type:"function",children:[]},{id:1153,label:"长期未放行-(1153)",select:!1,type:"function",children:[]},{id:1082,label:"实时库存数量(小于20)-(1082)",select:!1,type:"function",children:[]},{id:1155,label:"拣货统计-(1155)",select:!1,type:"function",children:[]},{id:1264,label:"保税区订单明细-(1264)",select:!1,type:"function",children:[]},{id:1154,label:"入库时效报表-(1154)",select:!1,type:"function",children:[]},{id:1156,label:"分拣扫描统计-(1156)",select:!1,type:"function",children:[]},{id:1210,label:"郑州退件订单明细报表-(1210)",select:!1,type:"function",children:[]},{id:1191,label:"回架查询-(1191)",select:!1,type:"function",children:[]},{id:1091,label:"快递提货明细的统计报表-(1091)",select:!1,type:"function",children:[]},{id:1197,label:"当天疑似刷单数据-(1197)",select:!1,type:"function",children:[]},{id:1373,label:"拣货单批次监控-(1373)",select:!1,type:"function",children:[]},{id:1033,label:"物流数据统计-(1033)",select:!1,type:"function",children:[]},{id:1160,label:"活动平行仓数据-(1160)",select:!1,type:"function",children:[]}]},{id:1021,label:"COD-(1021)",select:!1,type:"function",children:[{id:1023,label:"COD价格区间数据统计-(1023)",select:!1,type:"function",children:[]},{id:1028,label:"无效COD地区数据统计-(1028)",select:!1,type:"function",children:[]},{id:1024,label:"COD一级分类统计-(1024)",select:!1,type:"function",children:[]},{id:1107,label:"北京仓COD订单数据-(1107)",select:!1,type:"function",children:[]},{id:1106,label:"杭州仓COD订单数据-(1106)",select:!1,type:"function",children:[]},{id:1029,label:"异常COD订单统计-(1029)",select:!1,type:"function",children:[]},{id:1025,label:"COD用户数据统计-(1025)",select:!1,type:"function",children:[]},{id:1027,label:"COD地区数据统计-(1027)",select:!1,type:"function",children:[]},{id:1031,label:"COD订单数据-(1031)",select:!1,type:"function",children:[]},{id:1022,label:"COD订单统计-(1022)",select:!1,type:"function",children:[]},{id:1026,label:"COD异常订单统计-(1026)",select:!1,type:"function",children:[]},{id:1030,label:"正常COD订单统计-(1030)",select:!1,type:"function",children:[]}]},{id:1037,label:"客服-(1037)",select:!1,type:"function",children:[{id:1060,label:"保税区订单(收货人手机号)-(1060)",select:!1,type:"function",children:[]},{id:1039,label:"订单缺货信息-(1039)",select:!1,type:"function",children:[]},{id:1381,label:"未发货销退的操作时间-(1381)",select:!1,type:"function",children:[]},{id:1090,label:"草稿超卖数据-(1090)",select:!1,type:"function",children:[]},{id:1038,label:"退货客服确认数据-(1038)",select:!1,type:"function",children:[]},{id:1088,label:"退款数据-(1088)",select:!1,type:"function",children:[]},{id:1383,label:"已发货销退的操作时间-(1383)",select:!1,type:"function",children:[]}]},{id:1093,label:"渠道-(1093)",select:!1,type:"function",children:[{id:1115,label:"淘宝渠道所需app收货地址信息-(1115)",select:!1,type:"function",children:[]},{id:1094,label:"达令心潮旗舰店活动数据-(1094)",select:!1,type:"function",children:[]}]},{id:1080,label:"仓库-(1080)",select:!1,type:"function",children:[{id:1240,label:"入库差异报表(少到货)-(1240)",select:!1,type:"function",children:[]},{id:1086,label:"顺义总仓库存库位数据-(1086)",select:!1,type:"function",children:[]},{id:1178,label:"仓库物流地址查询-(1178)",select:!1,type:"function",children:[]},{id:1252,label:"随单礼二周内复购数据-(1252)",select:!1,type:"function",children:[]},{id:1186,label:"超卖报表(杭州、郑州)-(1186)",select:!1,type:"function",children:[]},{id:1230,label:"库位商品生产日期-(1230)",select:!1,type:"function",children:[]},{id:1235,label:"随单礼数据报表-(1235)",select:!1,type:"function",children:[]},{id:1251,label:"随单礼一周内复购数据-(1251)",select:!1,type:"function",children:[]},{id:1117,label:"零件区无货大货区有货的SKU-(1117)",select:!1,type:"function",children:[]},{id:1105,label:"超卖报表(顺义仓)-(1105)",select:!1,type:"function",children:[]},{id:1101,label:"顺义仓零拣货架补货指引-(1101)",select:!1,type:"function",children:[]},{id:1095,label:"顺义仓库盘点工作量统计-(1095)",select:!1,type:"function",children:[]},{id:1087,label:"当天出库SKU库位及库存数据-(1087)",select:!1,type:"function",children:[]},{id:1208,label:"查询库位库存为0的库位-(1208)",select:!1,type:"function",children:[]},{id:1081,label:"非正常扫描出库记录-(1081)",select:!1,type:"function",children:[]},{id:1375,label:"盘点差异记录-(1375)",select:!1,type:"function",children:[]},{id:1159,label:"仓库出库top1500商品-(1159)",select:!1,type:"function",children:[]}]},{id:1265,label:"保税区监控-(1265)",select:!1,type:"function",children:[{id:1268,label:"(郑州)海关入库失败-(1268)",select:!1,type:"function",children:[]},{id:1352,label:"(深圳)保税区未发送-(1352)",select:!1,type:"function",children:[]},{id:1271,label:"(郑州)税已放行、ERP状态不是新建-(1271)",select:!1,type:"function",children:[]},{id:1348,label:"(深圳)支付调用预警-(1348)",select:!1,type:"function",children:[]},{id:1354,label:"(深圳)超过24小时订单状态还是报文已发送-(1354)",select:!1,type:"function",children:[]},{id:1266,label:"(郑州)配货单草稿状态推送保税区超时-(1266)",select:!1,type:"function",children:[]},{id:1269,label:"(郑州)报文生成失败-(1269)",select:!1,type:"function",children:[]},{id:1353,label:"(深圳)海关报关推送失败-(1353)",select:!1,type:"function",children:[]},{id:1345,label:"(深圳)税已放行、ERP状态不是新建-(1345)",select:!1,type:"function",children:[]},{id:1351,label:"(深圳)海关入库失败-(1351)",select:!1,type:"function",children:[]},{id:1346,label:"(深圳)配货单草稿状态推送保税区超时-(1346)",select:!1,type:"function",children:[]},{id:1272,label:"(郑州)支付调用预警-(1272)",select:!1,type:"function",children:[]},{id:1347,label:"(深圳)24小时未确认-(1347)",select:!1,type:"function",children:[]},{id:1349,label:"(深圳)入库成功超时未获取快递单-(1349)",select:!1,type:"function",children:[]},{id:1267,label:"(郑州)保税区未发送-(1267)",select:!1,type:"function",children:[]},{id:1270,label:"(郑州)入库成功超时未获取快递单-(1270)",select:!1,type:"function",children:[]},{id:1273,label:"(郑州)24小时未确认-(1273)",select:!1,type:"function",children:[]},{id:1350,label:"(深圳)报文生成失败-(1350)",select:!1,type:"function",children:[]}]},{id:1380,label:"销退的操作时间-(1380)",select:!1,type:"function",children:[]},{id:1378,label:"会员钱包-(1378)",select:!1,type:"function",children:[{id:1639,label:"订单明细-(1639)",select:!1,type:"function",children:[]},{id:1379,label:"会员钱包每日损益-(1379)",select:!1,type:"function",children:[]},{id:1587,label:"订单明细-(1587)",select:!1,type:"function",children:[]}]},{id:1382,label:"销退-(1382)",select:!1,type:"function",children:[]},{id:1167,label:"计件报表-(1167)",select:!1,type:"function",children:[{id:1169,label:"ID号拣货件数查询-(1169)",select:!1,type:"function",children:[]},{id:1173,label:"ID拣货件数18-24查询-(1173)",select:!1,type:"function",children:[]},{id:1174,label:"ID扫描单数18-24查询-(1174)",select:!1,type:"function",children:[]},{id:1170,label:"ID分拣扫描件数查询-(1170)",select:!1,type:"function",children:[]},{id:1168,label:"出库件数-(1168)",select:!1,type:"function",children:[]},{id:1172,label:"ID出库扫描单数查询-(1172)",select:!1,type:"function",children:[]},{id:1243,label:"ID号清点件数查询-(1243)",select:!1,type:"function",children:[]},{id:1242,label:"ID号上架件数查询-(1242)",select:!1,type:"function",children:[]},{id:1248,label:"ID号清点件数查询(10月26日之前)-(1248)",select:!1,type:"function",children:[]},{id:1241,label:"ID号出库件数查询-(1241)",select:!1,type:"function",children:[]},{id:1247,label:"ID号上架件数查询(10月26日之前)-(1247)",select:!1,type:"function",children:[]}]}]},{id:2300,label:"客服体验中心",select:!1,type:"application",children:[{id:2057,label:"销售发票管理-(2057)",select:!1,type:"function",children:[{id:2059,label:"余票预警-(2059)",select:!1,type:"function",children:[]},{id:2058,label:"销售发票查询-(2058)",select:!1,type:"function",children:[{id:2053,label:"导出发票列表",select:!1,type:"point",children:[]},{id:2052,label:"查询发票列表",select:!1,type:"point",children:[]},{id:2040,label:"申请开票",select:!1,type:"point",children:[]},{id:2182,label:"导出匹配税收分类失败商品明细到EXCEL",select:!1,type:"point",children:[]}]}]},{id:2137,label:"品控管理-(2137)",select:!1,type:"function",children:[{id:2140,label:"活动质检任务管理-(2140)",select:!1,type:"function",children:[{id:2164,label:"导入质检报告",select:!1,type:"point",children:[]},{id:2163,label:"导入质检结果",select:!1,type:"point",children:[]}]},{id:2139,label:"活动供应商白名单-(2139)",select:!1,type:"function",children:[{id:2160,label:"新增",select:!1,type:"point",children:[]},{id:2159,label:"失效",select:!1,type:"point",children:[]},{id:2158,label:"修改",select:!1,type:"point",children:[]}]},{id:2138,label:"活动质检分类-(2138)",select:!1,type:"function",children:[{id:2157,label:"新增",select:!1,type:"point",children:[]},{id:2156,label:"失效",select:!1,type:"point",children:[]},{id:2155,label:"编辑",select:!1,type:"point",children:[]}]},{id:2232,label:"新增类目资质-(2232)",select:!1,type:"function",children:[{id:2240,label:"删除",select:!1,type:"point",children:[]},{id:2241,label:"新增",select:!1,type:"point",children:[]},{id:2239,label:"修改",select:!1,type:"point",children:[]}]},{id:2249,label:"维护类目资质关系-(2249)",select:!1,type:"function",children:[]},{id:2231,label:"维护类目资质关系-(2231)",select:!1,type:"function",children:[{id:2238,label:"新增",select:!1,type:"point",children:[]},{id:2237,label:"删除",select:!1,type:"point",children:[]},{id:2236,label:"编辑",select:!1,type:"point",children:[]}]},{id:2250,label:"新增类目资质-(2250)",select:!1,type:"function",children:[]}]},{id:2172,label:"零售管理-(2172)",select:!1,type:"function",children:[{id:2318,label:"补偿单申诉-(2318)",select:!1,type:"function",children:[]},{id:2315,label:"赔付原因配置-(2315)",select:!1,type:"function",children:[]},{id:2176,label:"售后单审核(平台售后)-(2176)",select:!1,type:"function",children:[{id:2225,label:"审核",select:!1,type:"point",children:[]}]},{id:2174,label:"售后单管理-(2174)",select:!1,type:"function",children:[{id:2224,label:"编辑",select:!1,type:"point",children:[]},{id:2223,label:"撤回",select:!1,type:"point",children:[]},{id:2222,label:"取消",select:!1,type:"point",children:[]},{id:2221,label:"提交",select:!1,type:"point",children:[]}]},{id:2316,label:"补偿单管理-(2316)",select:!1,type:"function",children:[]},{id:2317,label:"补偿单审核-(2317)",select:!1,type:"function",children:[]},{id:2173,label:"零售订单维护-(2173)",select:!1,type:"function",children:[{id:2198,label:"撤回",select:!1,type:"point",children:[]},{id:2196,label:"提交",select:!1,type:"point",children:[]},{id:2203,label:"退货申请审批或保存草稿",select:!1,type:"point",children:[]},{id:2195,label:"批量新建零售订单",select:!1,type:"point",children:[]},{id:2200,label:"修改物流信息",select:!1,type:"point",children:[]},{id:2202,label:"确定退货",select:!1,type:"point",children:[]},{id:2199,label:"登记备注",select:!1,type:"point",children:[]},{id:2197,label:"取消",select:!1,type:"point",children:[]},{id:2192,label:"查看订单详情",select:!1,type:"point",children:[]},{id:2189,label:"批量备注",select:!1,type:"point",children:[]},{id:2187,label:"查询",select:!1,type:"point",children:[]},{id:2191,label:"查看支付记录",select:!1,type:"point",children:[]},{id:2190,label:"查看操作日志",select:!1,type:"point",children:[]},{id:2193,label:"订单申请审批或保存草稿",select:!1,type:"point",children:[]},{id:2188,label:"下载批量备注模版",select:!1,type:"point",children:[]},{id:2194,label:"下载零售订单模版",select:!1,type:"point",children:[]}]},{id:2175,label:"售后单管理(商家售后)-(2175)",select:!1,type:"function",children:[{id:2220,label:"仲裁",select:!1,type:"point",children:[]},{id:2219,label:"销售单号",select:!1,type:"point",children:[]},{id:2218,label:"单据编码",select:!1,type:"point",children:[]}]}]},{id:2040,label:"IM帮助中心-(2040)",select:!1,type:"function",children:[{id:2041,label:"公告设置-(2041)",select:!1,type:"function",children:[]},{id:2165,label:"投诉单管理-(2165)",select:!1,type:"function",children:[{id:2173,label:"处理投诉单",select:!1,type:"point",children:[]},{id:2172,label:"联系电话查看",select:!1,type:"point",children:[]},{id:2171,label:"校验领取投诉单",select:!1,type:"point",children:[]},{id:2170,label:"投诉单查看",select:!1,type:"point",children:[]},{id:2169,label:"释放",select:!1,type:"point",children:[]},{id:2168,label:"领取",select:!1,type:"point",children:[]},{id:2167,label:"导出",select:!1,type:"point",children:[]},{id:2166,label:"列表",select:!1,type:"point",children:[]}]},{id:2166,label:"用户反馈管理-(2166)",select:!1,type:"function",children:[{id:2181,label:"联系电话查看",select:!1,type:"point",children:[]},{id:2180,label:"校验领取投诉单",select:!1,type:"point",children:[]},{id:2179,label:"处理用户反馈",select:!1,type:"point",children:[]},{id:2178,label:"用户反馈查看",select:!1,type:"point",children:[]},{id:2177,label:"释放",select:!1,type:"point",children:[]},{id:2176,label:"领取",select:!1,type:"point",children:[]},{id:2175,label:"导出",select:!1,type:"point",children:[]},{id:2174,label:"列表",select:!1,type:"point",children:[]}]},{id:2042,label:"帮助中心设置-(2042)",select:!1,type:"function",children:[]},{id:2043,label:"问题分类设置-(2043)",select:!1,type:"function",children:[]}]},{id:2030,label:"工单-(2030)",select:!1,type:"function",children:[{id:2032,label:"待完结工单-(2032)",select:!1,type:"function",children:[]},{id:2031,label:"全部工单-(2031)",select:!1,type:"function",children:[]},{id:2033,label:"工单问题配置-(2033)",select:!1,type:"function",children:[]},{id:2070,label:"工单大盘(管理员)-(2070)",select:!1,type:"function",children:[]},{id:2050,label:"用户诉求配置-(2050)",select:!1,type:"function",children:[]},{id:2071,label:"工单大盘(个人)-(2071)",select:!1,type:"function",children:[]}]},{id:2024,label:"综合查询-(2024)",select:!1,type:"function",children:[{id:2029,label:"短信查询-(2029)",select:!1,type:"function",children:[]},{id:2027,label:"商品信息查询-(2027)",select:!1,type:"function",children:[]},{id:2025,label:"账户信息查询-(2025)",select:!1,type:"function",children:[{id:2069,label:"查看手机号",select:!1,type:"point",children:[]}]},{id:2026,label:"单据信息查询-(2026)",select:!1,type:"function",children:[{id:2088,label:"无",select:!1,type:"point",children:[]},{id:2087,label:"查看手机号",select:!1,type:"point",children:[]}]},{id:2028,label:"好字在口令查询-(2028)",select:!1,type:"function",children:[]}]},{id:2215,label:"CDS评价系统-(2215)",select:!1,type:"function",children:[{id:2216,label:"评价管理-(2216)",select:!1,type:"function",children:[{id:2254,label:"是否展示",select:!1,type:"point",children:[]},{id:2234,label:"详情",select:!1,type:"point",children:[]}]}]}]},{id:2100,label:"达令家系统",select:!1,type:"application",children:[{id:2141,label:"品控管理-(2141)",select:!1,type:"function",children:[{id:2144,label:"活动质检任务管理-(2144)",select:!1,type:"function",children:[]},{id:2143,label:"活动供应商白名单-(2143)",select:!1,type:"function",children:[]},{id:2142,label:"活动质检分类-(2142)",select:!1,type:"function",children:[]},{id:2251,label:"新增类目资质-(2251)",select:!1,type:"function",children:[]},{id:2252,label:"维护类目资质关系-(2252)",select:!1,type:"function",children:[]},{id:2234,label:"维护类目资质关系-(2234)",select:!1,type:"function",children:[]},{id:2233,label:"新增类目资质-(2233)",select:!1,type:"function",children:[]}]},{id:1664,label:"搜索管理-(1664)",select:!1,type:"function",children:[{id:2019,label:"关键词类目管理-(2019)",select:!1,type:"function",children:[]},{id:2039,label:"专题搜索关键词管理-(2039)",select:!1,type:"function",children:[]},{id:2339,label:"排序权重-(2339)",select:!1,type:"function",children:[]},{id:2340,label:"排序得分-(2340)",select:!1,type:"function",children:[]},{id:2056,label:"关键词类目管理-(2056)",select:!1,type:"function",children:[]},{id:2055,label:"关键词类目管理-(2055)",select:!1,type:"function",children:[]},{id:1665,label:"相近词库-(1665)",select:!1,type:"function",children:[]},{id:2038,label:"搜索标签管理-(2038)",select:!1,type:"function",children:[]}]},{id:2011001,label:"活动管理-(2011001)",select:!1,type:"function",children:[{id:2011002,label:"活动管理(平台运营)-(2011002)",select:!1,type:"function",children:[]},{id:2087,label:"活动商品审核-(2087)",select:!1,type:"function",children:[]},{id:2011003,label:"活动管理(品类运营)-(2011003)",select:!1,type:"function",children:[]}]},{id:2224,label:"用户达令币-(2224)",select:!1,type:"function",children:[{id:2225,label:"用户达令币流水-(2225)",select:!1,type:"function",children:[]},{id:2226,label:"用户达令币管理-(2226)",select:!1,type:"function",children:[]}]},{id:2006,label:"用户渠道管理-(2006)",select:!1,type:"function",children:[{id:2018,label:"店主管理-(2018)",select:!1,type:"function",children:[]},{id:2012,label:"VIP管理-(2012)",select:!1,type:"function",children:[]},{id:1684,label:"用户黑名单管理-(1684)",select:!1,type:"function",children:[]},{id:2009,label:"渠道管理-(2009)",select:!1,type:"function",children:[]},{id:2008,label:"用户管理-(2008)",select:!1,type:"function",children:[]},{id:2010,label:"banner管理-(2010)",select:!1,type:"function",children:[]},{id:2011,label:"aaa店主管理-(2011)",select:!1,type:"function",children:[]},{id:1691,label:"用户黑名单管理-(1691)",select:!1,type:"function",children:[]}]},{id:2217,label:"商学院-(2217)",select:!1,type:"function",children:[{id:2219,label:"课程标签-(2219)",select:!1,type:"function",children:[]},{id:2220,label:"课程列表-(2220)",select:!1,type:"function",children:[]},{id:2218,label:"课程分类-(2218)",select:!1,type:"function",children:[]}]},{id:2227,label:"分享活动管理-(2227)",select:!1,type:"function",children:[{id:2228,label:"分享活动列表-(2228)",select:!1,type:"function",children:[]},{id:2230,label:"红包发放统计-(2230)",select:!1,type:"function",children:[]},{id:2229,label:"订单红包规则设置-(2229)",select:!1,type:"function",children:[]}]},{id:1697,label:"消息管理-(1697)",select:!1,type:"function",children:[]},{id:2005,label:"商品管理-(2005)",select:!1,type:"function",children:[{id:2105,label:"助力商品管理-(2105)",select:!1,type:"function",children:[]},{id:2221,label:"智能商品库-(2221)",select:!1,type:"function",children:[]},{id:1658,label:"上架商品监控-(1658)",select:!1,type:"function",children:[]},{id:2007,label:"商品上下架管理-(2007)",select:!1,type:"function",children:[]},{id:2066,label:"精选商品列表页配置-(2066)",select:!1,type:"function",children:[]},{id:2075,label:"当前售价查询-(2075)",select:!1,type:"function",children:[]}]},{id:1627,label:"营销管理-(1627)",select:!1,type:"function",children:[{id:1651,label:"客服补偿代金券-(1651)",select:!1,type:"function",children:[]},{id:1693,label:"专题搜索关键词管理-(1693)",select:!1,type:"function",children:[]},{id:1645,label:"物流信息提示管理-(1645)",select:!1,type:"function",children:[]},{id:1690,label:"PK活动管理-(1690)",select:!1,type:"function",children:[]},{id:1689,label:"运费管理-(1689)",select:!1,type:"function",children:[]},{id:1688,label:"搜索标签管理-(1688)",select:!1,type:"function",children:[]},{id:1681,label:"预售审批-(1681)",select:!1,type:"function",children:[]},{id:1678,label:"运费管理-(1678)",select:!1,type:"function",children:[]},{id:1666,label:"运营分类管理-(1666)",select:!1,type:"function",children:[]},{id:1628,label:"标签管理-(1628)",select:!1,type:"function",children:[]},{id:1644,label:"频道管理-(1644)",select:!1,type:"function",children:[]},{id:1663,label:"时间轴管理-(1663)",select:!1,type:"function",children:[]},{id:1674,label:"运费管理-(1674)",select:!1,type:"function",children:[]},{id:1662,label:"物流配置管理-(1662)",select:!1,type:"function",children:[]},{id:1659,label:"物流配置管理-(1659)",select:!1,type:"function",children:[]},{id:1629,label:"商品标签关系管理-(1629)",select:!1,type:"function",children:[]},{id:1656,label:"支付类型管理-(1656)",select:!1,type:"function",children:[]},{id:1653,label:"首页弹层管理-(1653)",select:!1,type:"function",children:[]},{id:1650,label:"支付类型管理-(1650)",select:!1,type:"function",children:[]},{id:1647,label:"尤物劵管理-(1647)",select:!1,type:"function",children:[]},{id:1648,label:"快捷入口管理-(1648)",select:!1,type:"function",children:[]},{id:1643,label:"尤物劵管理-(1643)",select:!1,type:"function",children:[]},{id:1638,label:"团购规则管理-(1638)",select:!1,type:"function",children:[]},{id:1637,label:"团购订单列表-(1637)",select:!1,type:"function",children:[]},{id:1634,label:"楼层管理-(1634)",select:!1,type:"function",children:[]},{id:1631,label:"发放规则管理-(1631)",select:!1,type:"function",children:[{id:2035,label:"查看代金券",select:!1,type:"point",children:[]},{id:2038,label:"删除发放规则",select:!1,type:"point",children:[]},{id:2037,label:"新建或编辑发放规则",select:!1,type:"point",children:[]},{id:2036,label:"查看发放规则",select:!1,type:"point",children:[]},{id:2034,label:"发放规则列表",select:!1,type:"point",children:[]}]},{id:1630,label:"优惠券管理-(1630)",select:!1,type:"function",children:[]},{id:2089,label:"促活消息管理-(2089)",select:!1,type:"function",children:[]},{id:2090,label:"微信模板管理-(2090)",select:!1,type:"function",children:[]}]},{id:1632,label:"分润调整-(1632)",select:!1,type:"function",children:[{id:1633,label:"调整单据维护-(1633)",select:!1,type:"function",children:[]}]},{id:1635,label:"版本管理-(1635)",select:!1,type:"function",children:[{id:1636,label:"APP版本管理-(1636)",select:!1,type:"function",children:[]},{id:1640,label:"Bundle版本管理-(1640)",select:!1,type:"function",children:[]}]},{id:1654,label:"客服管理-(1654)",select:!1,type:"function",children:[{id:1655,label:"客服管理-(1655)",select:!1,type:"function",children:[]}]},{id:1686,label:"消息管理-(1686)",select:!1,type:"function",children:[{id:1687,label:"定时消息-(1687)",select:!1,type:"function",children:[]}]}]},{id:2400,label:"鹰眼系统",select:!1,type:"application",children:[{id:2333,label:"首页-(2333)",select:!1,type:"function",children:[]},{id:2091,label:"系统配置-(2091)",select:!1,type:"function",children:[{id:2092,label:"时效规则配置-(2092)",select:!1,type:"function",children:[]}]},{id:2093,label:"数据-(2093)",select:!1,type:"function",children:[{id:2096,label:"走件-(2096)",select:!1,type:"function",children:[]},{id:2330,label:"报备审核-(2330)",select:!1,type:"function",children:[]},{id:2331,label:"物流停滞-(2331)",select:!1,type:"function",children:[]},{id:2332,label:"全链路-(2332)",select:!1,type:"function",children:[]},{id:2095,label:"揽收-(2095)",select:!1,type:"function",children:[]},{id:2094,label:"发货-(2094)",select:!1,type:"function",children:[]}]}]},{id:2200,label:"达令家素材系统",select:!1,type:"application",children:[{id:1660,label:"商品素材-(1660)",select:!1,type:"function",children:[{id:1661,label:"商品素材内容-(1661)",select:!1,type:"function",children:[]},{id:1699,label:"素材推荐-(1699)",select:!1,type:"function",children:[]},{id:1696,label:"用户素材(待删除)-(1696)",select:!1,type:"function",children:[]}]},{id:166001,label:"营销素材-(166001)",select:!1,type:"function",children:[{id:1660011,label:"素材内容-(1660011)",select:!1,type:"function",children:[]},{id:1660012,label:"营销用途-(1660012)",select:!1,type:"function",children:[]}]},{id:2167,label:"素材活动-(2167)",select:!1,type:"function",children:[{id:2168,label:"活动管理-(2168)",select:!1,type:"function",children:[]}]},{id:1694,label:"权限管理-(1694)",select:!1,type:"function",children:[{id:1695,label:"白名单-(1695)",select:!1,type:"function",children:[]}]}]},{id:1400,label:"达令tms系统",select:!1,type:"application",children:[{id:2053,label:"快递对接管理-(2053)",select:!1,type:"function",children:[{id:2054,label:"快递对接管理-(2054)",select:!1,type:"function",children:[]}]},{id:1355,label:"内部打印-(1355)",select:!1,type:"function",children:[{id:1356,label:"添加打印-(1356)",select:!1,type:"function",children:[]},{id:1357,label:"个人记录-(1357)",select:!1,type:"function",children:[]}]},{id:1256,label:"数据中心-(1256)",select:!1,type:"function",children:[{id:1258,label:"包裹热点分布图-(1258)",select:!1,type:"function",children:[]},{id:1257,label:"包裹追踪-(1257)",select:!1,type:"function",children:[]}]}]},{id:300,label:"达令帮管理系统",select:!1,type:"application",children:[{id:1131,label:"内容管理-(1131)",select:!1,type:"function",children:[{id:1133,label:"晒图管理-(1133)",select:!1,type:"function",children:[]},{id:1374,label:"分类管理-(1374)",select:!1,type:"function",children:[]},{id:1152,label:"社区图片管理-(1152)",select:!1,type:"function",children:[]},{id:1134,label:"标签管理-(1134)",select:!1,type:"function",children:[]}]},{id:1136,label:"会员管理-(1136)",select:!1,type:"function",children:[{id:1137,label:"用户管理-(1137)",select:!1,type:"function",children:[]},{id:1138,label:"达人管理-(1138)",select:!1,type:"function",children:[]},{id:1139,label:"用户分组管理-(1139)",select:!1,type:"function",children:[]},{id:1140,label:"达人分组管理-(1140)",select:!1,type:"function",children:[]},{id:1141,label:"会员等级管理-(1141)",select:!1,type:"function",children:[]}]},{id:1143,label:"敏感词管理-(1143)",select:!1,type:"function",children:[{id:1145,label:"拦截记录-(1145)",select:!1,type:"function",children:[]},{id:1144,label:"统计用户-(1144)",select:!1,type:"function",children:[]},{id:1151,label:"统计敏感词-(1151)",select:!1,type:"function",children:[]},{id:1188,label:"设备黑名单-(1188)",select:!1,type:"function",children:[]},{id:1189,label:"会员黑名单-(1189)",select:!1,type:"function",children:[]},{id:1190,label:"垃圾晒图/评论-(1190)",select:!1,type:"function",children:[]}]},{id:1147,label:"数据统计-(1147)",select:!1,type:"function",children:[{id:1148,label:"标签统计-(1148)",select:!1,type:"function",children:[]}]}]},{id:400,label:"达令定时任务调度管理系统",select:!1,type:"application",children:[{id:1157,label:"定时任务调度系统-(1157)",select:!1,type:"function",children:[{id:1158,label:"定时任务列表-(1158)",select:!1,type:"function",children:[]}]}]},{id:500,label:"达令存货核算系统",select:!1,type:"application",children:[{id:1180,label:"期初余额-(1180)",select:!1,type:"function",children:[{id:1544,label:"财务账期调整-(1544)",select:!1,type:"function",children:[]},{id:1181,label:"每日-(1181)",select:!1,type:"function",children:[]},{id:99998,label:"月底存货结转-(99998)",select:!1,type:"function",children:[]},{id:99999,label:"月底成本计算-(99999)",select:!1,type:"function",children:[]},{id:1212,label:"结账-(1212)",select:!1,type:"function",children:[]},{id:1182,label:"每月-(1182)",select:!1,type:"function",children:[]},{id:2049,label:"手工同步ERP出入库数据-(2049)",select:!1,type:"function",children:[]},{id:2048,label:"月底存货结转-(2048)",select:!1,type:"function",children:[]},{id:88888,label:"手工同步ERP出入库数据-(88888)",select:!1,type:"function",children:[]},{id:2047,label:"月底成本计算-(2047)",select:!1,type:"function",children:[]},{id:2046,label:"手工同步ERP出入库数据-(2046)",select:!1,type:"function",children:[]},{id:2045,label:"月底存货结转-(2045)",select:!1,type:"function",children:[]},{id:2044,label:"月底成本计算-(2044)",select:!1,type:"function",children:[]},{id:1543,label:"存货手动结算-(1543)",select:!1,type:"function",children:[]}]},{id:1515,label:"报表查询-(1515)",select:!1,type:"function",children:[{id:1539,label:"每日-供应商汇总-(1539)",select:!1,type:"function",children:[]},{id:1540,label:"每日-仓库汇总-(1540)",select:!1,type:"function",children:[]},{id:1542,label:"存货异动明细-(1542)",select:!1,type:"function",children:[]},{id:1545,label:"销售收入成本(财务分类)-(1545)",select:!1,type:"function",children:[]},{id:1518,label:"每月-仓库汇总-(1518)",select:!1,type:"function",children:[]},{id:1546,label:"销售收入成本(一级分类)-(1546)",select:!1,type:"function",children:[]},{id:1517,label:"每月-供应商汇总-(1517)",select:!1,type:"function",children:[]},{id:1522,label:"采购单据查询-(1522)",select:!1,type:"function",children:[]},{id:1523,label:"采购调整单查询-(1523)",select:!1,type:"function",children:[]},{id:1524,label:"销售出库单据查询-(1524)",select:!1,type:"function",children:[]},{id:1525,label:"盘点单据查询-(1525)",select:!1,type:"function",children:[]},{id:1516,label:"每月-汇总数据-(1516)",select:!1,type:"function",children:[]},{id:1526,label:"其他出入库单单据查询-(1526)",select:!1,type:"function",children:[]},{id:1527,label:"移库单据查询-(1527)",select:!1,type:"function",children:[]},{id:1541,label:"每日-汇总数据-(1541)",select:!1,type:"function",children:[]}]},{id:1183,label:"成本计算&出入库明细-(1183)",select:!1,type:"function",children:[{id:1184,label:"成本计算-(1184)",select:!1,type:"function",children:[]},{id:1249,label:"收发存汇总-(1249)",select:!1,type:"function",children:[]},{id:1250,label:"存货明细数据-(1250)",select:!1,type:"function",children:[]},{id:1211,label:"存货调整单-(1211)",select:!1,type:"function",children:[]}]}]},{id:2401,label:"保税管理系统",select:!1,type:"application",children:[{id:2177,label:"系统配置-(2177)",select:!1,type:"function",children:[{id:2178,label:"海关基础数据管理-(2178)",select:!1,type:"function",children:[]}]}]},{id:700,label:"达令仓库PDA系统",select:!1,type:"application",children:[{id:1274,label:"PDA权限管理-(1274)",select:!1,type:"function",children:[{id:1276,label:"销售出库-(1276)",select:!1,type:"function",children:[]},{id:1277,label:"拣货-(1277)",select:!1,type:"function",children:[{id:1286,label:"领取拣货任务-(1286)",select:!1,type:"function",children:[]},{id:1287,label:"查看本地任务-(1287)",select:!1,type:"function",children:[]},{id:1288,label:"异常标记处理-(1288)",select:!1,type:"function",children:[]}]},{id:1278,label:"回架-(1278)",select:!1,type:"function",children:[]},{id:1279,label:"打印SKU-(1279)",select:!1,type:"function",children:[]},{id:1283,label:"拣货墙-(1283)",select:!1,type:"function",children:[{id:1289,label:"拣货墙子任务-(1289)",select:!1,type:"function",children:[{id:1296,label:"领取拣货任务-(1296)",select:!1,type:"function",children:[]},{id:1297,label:"查看本地任务-(1297)",select:!1,type:"function",children:[]}]},{id:1290,label:"待投掷单据-(1290)",select:!1,type:"function",children:[]},{id:1291,label:"待投掷商品-(1291)",select:!1,type:"function",children:[]},{id:1292,label:"待回架抽单作业-(1292)",select:!1,type:"function",children:[]},{id:1293,label:"异常单抽单作业-(1293)",select:!1,type:"function",children:[]},{id:1294,label:"待分拣任务-(1294)",select:!1,type:"function",children:[]},{id:1295,label:"格明细-(1295)",select:!1,type:"function",children:[]}]},{id:1284,label:"入库管理-(1284)",select:!1,type:"function",children:[{id:1298,label:"采购收货-(1298)",select:!1,type:"function",children:[{id:1305,label:"快递单签收-(1305)",select:!1,type:"function",children:[]},{id:1306,label:"采购单签收-(1306)",select:!1,type:"function",children:[]},{id:1307,label:"创建采购入库单-(1307)",select:!1,type:"function",children:[]},{id:1308,label:"选择入库单-(1308)",select:!1,type:"function",children:[]},{id:1309,label:"本地清点任务-(1309)",select:!1,type:"function",children:[]}]},{id:1299,label:"移库收货-(1299)",select:!1,type:"function",children:[{id:1302,label:"创建移库入库单-(1302)",select:!1,type:"function",children:[]},{id:1303,label:"选择入库单-(1303)",select:!1,type:"function",children:[]},{id:1304,label:"本地清点任务-(1304)",select:!1,type:"function",children:[]}]},{id:1300,label:"上架-(1300)",select:!1,type:"function",children:[{id:1310,label:"选择上架任务-(1310)",select:!1,type:"function",children:[]},{id:1311,label:"本地上架任务-(1311)",select:!1,type:"function",children:[]},{id:1312,label:"中转箱查询-(1312)",select:!1,type:"function",children:[]}]},{id:1301,label:"销退入库-(1301)",select:!1,type:"function",children:[{id:1313,label:"创建销退入库单-(1313)",select:!1,type:"function",children:[]},{id:1314,label:"选择入库单(清点中)-(1314)",select:!1,type:"function",children:[]},{id:1315,label:"本地缓存-(1315)",select:!1,type:"function",children:[]},{id:1316,label:"已清点明细-(1316)",select:!1,type:"function",children:[]},{id:1317,label:"待上架明细-(1317)",select:!1,type:"function",children:[]},{id:1318,label:"中转箱查询-(1318)",select:!1,type:"function",children:[]},{id:1319,label:"良品上架-(1319)",select:!1,type:"function",children:[]},{id:1320,label:"次品上架-(1320)",select:!1,type:"function",children:[]},{id:1321,label:"保税良品上架-(1321)",select:!1,type:"function",children:[]},{id:1521,label:"保税次品上架-(1521)",select:!1,type:"function",children:[]},{id:1528,label:"直邮良品上架-(1528)",select:!1,type:"function",children:[]},{id:1529,label:"直邮次品上架-(1529)",select:!1,type:"function",children:[]}]},{id:1614,label:"其它入库-(1614)",select:!1,type:"function",children:[{id:1616,label:"本地清点任务-(1616)",select:!1,type:"function",children:[]},{id:1615,label:"选择入库单-(1615)",select:!1,type:"function",children:[]},{id:1617,label:"创建其它入库单-(1617)",select:!1,type:"function",children:[]}]}]},{id:1285,label:"库管作业-(1285)",select:!1,type:"function",children:[{id:1322,label:"盘点-(1322)",select:!1,type:"function",children:[{id:1334,label:"盘点任务查询-(1334)",select:!1,type:"function",children:[]},{id:1335,label:"已领任务-(1335)",select:!1,type:"function",children:[]}]},{id:1323,label:"库位商品关系维护-(1323)",select:!1,type:"function",children:[{id:1329,label:"按SKU解除库位商品关系-(1329)",select:!1,type:"function",children:[]},{id:1330,label:"按库位解除库位商品关系-(1330)",select:!1,type:"function",children:[]},{id:1331,label:"新增库位商品关系-(1331)",select:!1,type:"function",children:[]},{id:1332,label:"按SKU查询库位商品关系-(1332)",select:!1,type:"function",children:[]},{id:1333,label:"按库位查询库位商品关系-(1333)",select:!1,type:"function",children:[]}]},{id:1324,label:"效段调整-(1324)",select:!1,type:"function",children:[]},{id:1325,label:"上报库位调整-(1325)",select:!1,type:"function",children:[{id:1338,label:"下架-(1338)",select:!1,type:"function",children:[]},{id:1339,label:"中转箱查询-(1339)",select:!1,type:"function",children:[]},{id:1340,label:"上架-(1340)",select:!1,type:"function",children:[]}]},{id:1326,label:"补货-(1326)",select:!1,type:"function",children:[{id:1341,label:"下架任务-(1341)",select:!1,type:"function",children:[]},{id:1342,label:"上架任务-(1342)",select:!1,type:"function",children:[]}]},{id:1327,label:"理货-(1327)",select:!1,type:"function",children:[{id:1344,label:"上架任务-(1344)",select:!1,type:"function",children:[]},{id:1343,label:"下架任务-(1343)",select:!1,type:"function",children:[]}]},{id:1328,label:"报损-(1328)",select:!1,type:"function",children:[{id:1337,label:"上架任务-(1337)",select:!1,type:"function",children:[]},{id:1336,label:"下架任务-(1336)",select:!1,type:"function",children:[]}]}]}]}]},{id:800,label:"会员成长管理系统",select:!1,type:"application",children:[{id:1259,label:"达令币管理-(1259)",select:!1,type:"function",children:[{id:1260,label:"达令币活动-(1260)",select:!1,type:"function",children:[]},{id:1358,label:"达令币兑换优惠券-(1358)",select:!1,type:"function",children:[]},{id:1371,label:"签到-(1371)",select:!1,type:"function",children:[]},{id:1452,label:"待处理-(1452)",select:!1,type:"function",children:[]},{id:1510,label:"会员管理-(1510)",select:!1,type:"function",children:[]}]}]},{id:900,label:"会员钱包管理系统",select:!1,type:"application",children:[{id:1361,label:"礼品卡管理-(1361)",select:!1,type:"function",children:[{id:1362,label:"礼品卡模板管理-(1362)",select:!1,type:"function",children:[]},{id:1363,label:"礼品卡明细管理-(1363)",select:!1,type:"function",children:[]}]},{id:1359,label:"钱包管理-(1359)",select:!1,type:"function",children:[{id:1360,label:"会员管理-(1360)",select:!1,type:"function",children:[]}]}]},{id:1e3,label:"达令仓储管理系统",select:!1,type:"application",children:[{id:370,label:"入库作业-(370)",select:!1,type:"function",children:[{id:376,label:"退货入库上架NEW-(376)",select:!1,type:"function",children:[]},{id:1006,label:"零售退货作业-(1006)",select:!1,type:"function",children:[]},{id:1239,label:"异常到货数据登记-(1239)",select:!1,type:"function",children:[]},{id:374,label:"入库管理NEW-(374)",select:!1,type:"function",children:[]},{id:375,label:"零售退货作业NEW-(375)",select:!1,type:"function",children:[]},{id:372,label:"入库管理-(372)",select:!1,type:"function",children:[]},{id:371,label:"物流签收-(371)",select:!1,type:"function",children:[]},{id:1007,label:"退货入库上架-(1007)",select:!1,type:"function",children:[]}]},{id:380,label:"出库作业-(380)",select:!1,type:"function",children:[{id:381,label:"手动创建拣货单-(381)",select:!1,type:"function",children:[]},{id:388,label:"拣货墙信息-(388)",select:!1,type:"function",children:[]},{id:383,label:"打包操作台-(383)",select:!1,type:"function",children:[]},{id:384,label:"扫描出库-(384)",select:!1,type:"function",children:[]},{id:385,label:"回架作业-(385)",select:!1,type:"function",children:[]},{id:386,label:"发货单查询-(386)",select:!1,type:"function",children:[]},{id:387,label:"出库作业面板-(387)",select:!1,type:"function",children:[]},{id:373,label:"一单一件分拣台-(373)",select:!1,type:"function",children:[]},{id:2341,label:"耗材打包操作台-(2341)",select:!1,type:"function",children:[]},{id:382,label:"拣货单管理-(382)",select:!1,type:"function",children:[]},{id:1e3,label:"分拣操作台-(1000)",select:!1,type:"function",children:[]},{id:2271,label:"耗材打包操作台-(2271)",select:!1,type:"function",children:[]},{id:389,label:"拣货墙-(389)",select:!1,type:"function",children:[]}]},{id:390,label:"库管作业-(390)",select:!1,type:"function",children:[{id:377,label:"PDA数据权限控制-(377)",select:!1,type:"function",children:[]},{id:392,label:"库位商品对照-(392)",select:!1,type:"function",children:[]},{id:393,label:"效段调整-(393)",select:!1,type:"function",children:[]},{id:394,label:"待处理消息-(394)",select:!1,type:"function",children:[]},{id:2235,label:"商品基础数据维护-(2235)",select:!1,type:"function",children:[]},{id:321,label:"仓库补货看板-(321)",select:!1,type:"function",children:[]},{id:1043,label:"库存盘点-(1043)",select:!1,type:"function",children:[]},{id:1428,label:"仓库库存查询NEW4-(1428)",select:!1,type:"function",children:[]},{id:352,label:"物理库位设置-(352)",select:!1,type:"function",children:[]},{id:391,label:"库位调整-(391)",select:!1,type:"function",children:[]},{id:1262,label:"库位调整指令单-(1262)",select:!1,type:"function",children:[]},{id:1506,label:"APP版本更新-(1506)",select:!1,type:"function",children:[]}]}]},{id:1300,label:"达令深圳保税系统",select:!1,type:"application",children:[{id:1192,label:"深圳保税区配货处理系统-(1192)",select:!1,type:"function",children:[{id:1459,label:"载货清单-(1459)",select:!1,type:"function",children:[]},{id:1194,label:"报文手动重推-(1194)",select:!1,type:"function",children:[]},{id:1195,label:"订单推送参数配置-(1195)",select:!1,type:"function",children:[]},{id:1196,label:"商品备案-(1196)",select:!1,type:"function",children:[]},{id:1193,label:"配货单处理-(1193)",select:!1,type:"function",children:[]}]}]},{id:1100,label:"达令郑州保税系统",select:!1,type:"application",children:[{id:1163,label:"郑州保税区配货处理系统-(1163)",select:!1,type:"function",children:[{id:1164,label:"配货单处理-(1164)",select:!1,type:"function",children:[]},{id:1165,label:"报文手动重推-(1165)",select:!1,type:"function",children:[]},{id:1166,label:"订单推送参数配置-(1166)",select:!1,type:"function",children:[]},{id:1201,label:"商品备案-(1201)",select:!1,type:"function",children:[]},{id:1237,label:"入区申报-商务-(1237)",select:!1,type:"function",children:[]},{id:1238,label:"入区申报-物流-(1238)",select:!1,type:"function",children:[]}]}]},{id:1001,label:"达令夺宝系统",select:!1,type:"application",children:[{id:2001,label:"夺宝活动管理-(2001)",select:!1,type:"function",children:[{id:2002,label:"夺宝活动商品管理-(2002)",select:!1,type:"function",children:[]},{id:1530,label:"tui夺宝活动标签管理-(1530)",select:!1,type:"function",children:[]},{id:1532,label:"夺宝首页专题管理-(1532)",select:!1,type:"function",children:[]}]}]},{id:1002,label:"达令客服系统",select:!1,type:"application",children:[{id:1566,label:"微信后台配置管理-(1566)",select:!1,type:"function",children:[{id:1585,label:"素材管理-(1585)",select:!1,type:"function",children:[]},{id:1611,label:"图文消息管理-(1611)",select:!1,type:"function",children:[]},{id:1618,label:"微信推送消息管理-(1618)",select:!1,type:"function",children:[]},{id:1571,label:"菜单配置-(1571)",select:!1,type:"function",children:[]},{id:1574,label:"活动配置-(1574)",select:!1,type:"function",children:[]},{id:1586,label:"微信关注回复配置-(1586)",select:!1,type:"function",children:[]}]},{id:2003,label:"客服消息管理-(2003)",select:!1,type:"function",children:[]}]},{id:1600,label:"达令团购系统",select:!1,type:"application",children:[{id:1548,label:"首页设置-(1548)",select:!1,type:"function",children:[]},{id:1549,label:"团购规则设置-(1549)",select:!1,type:"function",children:[]},{id:1550,label:"优惠券规则设置-(1550)",select:!1,type:"function",children:[]},{id:1552,label:"商品分类图片设置-(1552)",select:!1,type:"function",children:[]},{id:1560,label:"团购订单查询-(1560)",select:!1,type:"function",children:[]}]},{id:1800,label:"达令分享购系统",select:!1,type:"application",children:[{id:1588,label:"分享购设置-(1588)",select:!1,type:"function",children:[]}]},{id:1900,label:"达令渠道系统",select:!1,type:"application",children:[{id:1589,label:"渠道管理-(1589)",select:!1,type:"function",children:[{id:1593,label:"已到账期明细-(1593)",select:!1,type:"function",children:[]},{id:1613,label:"粉丝数管理-(1613)",select:!1,type:"function",children:[]},{id:1601,label:"渠道查询-(1601)",select:!1,type:"function",children:[]},{id:1594,label:"渠道流水明细-(1594)",select:!1,type:"function",children:[]},{id:1597,label:"支付交易流水-(1597)",select:!1,type:"function",children:[]},{id:1610,label:"鼓励金管理-(1610)",select:!1,type:"function",children:[]},{id:1609,label:"支付鼓励金政策-(1609)",select:!1,type:"function",children:[]},{id:1598,label:"支付鼓励金政策-(1598)",select:!1,type:"function",children:[]},{id:1608,label:"支付交易流水-(1608)",select:!1,type:"function",children:[]},{id:1607,label:"付款管理(财务)-(1607)",select:!1,type:"function",children:[]},{id:1606,label:"渠道用户统计-(1606)",select:!1,type:"function",children:[]},{id:1596,label:"付款管理(财务)-(1596)",select:!1,type:"function",children:[]},{id:1605,label:"渠道流水明细-(1605)",select:!1,type:"function",children:[]},{id:1595,label:"渠道用户统计-(1595)",select:!1,type:"function",children:[]},{id:1599,label:"鼓励金管理-(1599)",select:!1,type:"function",children:[]},{id:1604,label:"已到账期明细-(1604)",select:!1,type:"function",children:[]},{id:1590,label:"渠道查询-(1590)",select:!1,type:"function",children:[]},{id:1591,label:"分润设置-(1591)",select:!1,type:"function",children:[]},{id:1603,label:"未到账期明细-(1603)",select:!1,type:"function",children:[]},{id:1592,label:"未到账期明细-(1592)",select:!1,type:"function",children:[]},{id:1602,label:"分润设置-(1602)",select:!1,type:"function",children:[]}]},{id:1600,label:"渠道管理-(1600)",select:!1,type:"function",children:[]}]},{id:2e3,label:"达令大数据系统",select:!1,type:"application",children:[{id:1700,label:"APP活动统计-(1700)",select:!1,type:"function",children:[{id:1701,label:"APP活动效果统计-(1701)",select:!1,type:"function",children:[]},{id:1702,label:"APP活动分时统计(每小时更新)-(1702)",select:!1,type:"function",children:[]},{id:1703,label:"首页时间轴商品统计-(1703)",select:!1,type:"function",children:[]}]},{id:1704,label:"APP转化率-(1704)",select:!1,type:"function",children:[{id:1705,label:"APP整体转化率-(1705)",select:!1,type:"function",children:[]},{id:1706,label:"热力图统计-(1706)",select:!1,type:"function",children:[]},{id:1707,label:"购买时段统计-(1707)",select:!1,type:"function",children:[]},{id:1708,label:"来访时段统计-(1708)",select:!1,type:"function",children:[]},{id:1709,label:"页面统计-(1709)",select:!1,type:"function",children:[]},{id:1710,label:"分类统计-(1710)",select:!1,type:"function",children:[]},{id:1711,label:"商品详情页流量统计-(1711)",select:!1,type:"function",children:[]},{id:1712,label:"频道页面流量统计-(1712)",select:!1,type:"function",children:[]}]},{id:1713,label:"购物车统计-(1713)",select:!1,type:"function",children:[{id:1714,label:"购物车TOP商品分析-(1714)",select:!1,type:"function",children:[]},{id:1715,label:"加入购物车商品查询-(1715)",select:!1,type:"function",children:[]}]},{id:1716,label:"APP商品交易统计-(1716)",select:!1,type:"function",children:[{id:1717,label:"闪购交易统计-(1717)",select:!1,type:"function",children:[]},{id:1718,label:"新品交易统计-(1718)",select:!1,type:"function",children:[]},{id:1719,label:"商品单日数据统计-(1719)",select:!1,type:"function",children:[]},{id:1720,label:"无敌价商品统计-(1720)",select:!1,type:"function",children:[]},{id:1721,label:"商品SPU统计-(1721)",select:!1,type:"function",children:[]},{id:1722,label:"产品销售分析-(1722)",select:!1,type:"function",children:[]}]},{id:1729,label:"销售额预警-(1729)",select:!1,type:"function",children:[{id:1730,label:"特殊日配置-(1730)",select:!1,type:"function",children:[]},{id:1731,label:"分时段分品类销售统计-(1731)",select:!1,type:"function",children:[]},{id:1732,label:"分时段新老客销售统计-(1732)",select:!1,type:"function",children:[]},{id:1733,label:"分时段专题销售汇总统计-(1733)",select:!1,type:"function",children:[]},{id:1734,label:"分时段TOP100缺货汇总统计-(1734)",select:!1,type:"function",children:[]},{id:1735,label:"预警指标对比查询-(1735)",select:!1,type:"function",children:[]},{id:1736,label:"预警指标异常查询-(1736)",select:!1,type:"function",children:[]}]},{id:1737,label:"签到统计-(1737)",select:!1,type:"function",children:[{id:1738,label:"商品统计-(1738)",select:!1,type:"function",children:[]},{id:1739,label:"事件统计-(1739)",select:!1,type:"function",children:[]}]},{id:1740,label:"优惠促销统计-(1740)",select:!1,type:"function",children:[{id:1741,label:"优惠券统计-(1741)",select:!1,type:"function",children:[]},{id:1742,label:"优惠促销统计-(1742)",select:!1,type:"function",children:[]}]},{id:1743,label:"会员统计-(1743)",select:!1,type:"function",children:[{id:1744,label:"会员升级统计-(1744)",select:!1,type:"function",children:[]},{id:1745,label:"用户年龄和地域分布统计-(1745)",select:!1,type:"function",children:[]}]},{id:1746,label:"商品上新活动分析-(1746)",select:!1,type:"function",children:[{id:1747,label:"产品排期参考-(1747)",select:!1,type:"function",children:[]}]},{id:1748,label:"社区统计-(1748)",select:!1,type:"function",children:[{id:1749,label:"标签统计-(1749)",select:!1,type:"function",children:[]},{id:1750,label:"达人统计-(1750)",select:!1,type:"function",children:[]},{id:1751,label:"用户统计-(1751)",select:!1,type:"function",children:[]},{id:1752,label:"访问基数统计-(1752)",select:!1,type:"function",children:[]},{id:1753,label:"晒图统计-(1753)",select:!1,type:"function",children:[]},{id:1754,label:"banner&嘚吧嘚统计-(1754)",select:!1,type:"function",children:[]}]},{id:1863,label:"目标营销-(1863)",select:!1,type:"function",children:[{id:1864,label:"目标营销-(1864)",select:!1,type:"function",children:[]},{id:1865,label:"报表邮件推送-(1865)",select:!1,type:"function",children:[]}]},{id:1723,label:"订单统计-(1723)",select:!1,type:"function",children:[{id:1724,label:"1-5单整体复购率统计-(1724)",select:!1,type:"function",children:[]},{id:1725,label:"随单礼复购率统计-(1725)",select:!1,type:"function",children:[]},{id:1726,label:"团购新客复购统计-(1726)",select:!1,type:"function",children:[]},{id:1727,label:"N团新客留存统计-(1727)",select:!1,type:"function",children:[]},{id:1728,label:"团购无交易商品统计(new)-(1728)",select:!1,type:"function",children:[]}]},{id:1850,label:"标签筛选-(1850)",select:!1,type:"function",children:[{id:1851,label:"标签筛选-(1851)",select:!1,type:"function",children:[]},{id:1852,label:"常用人群管理-(1852)",select:!1,type:"function",children:[]},{id:1853,label:"数据推送-(1853)",select:!1,type:"function",children:[]},{id:1854,label:"效果评估-(1854)",select:!1,type:"function",children:[]},{id:1855,label:"全量push统计-(1855)",select:!1,type:"function",children:[]},{id:1856,label:"营销短信回购统计-(1856)",select:!1,type:"function",children:[]}]},{id:1857,label:"不活跃用户召回-(1857)",select:!1,type:"function",children:[{id:1858,label:"不活跃用户召回列表-(1858)",select:!1,type:"function",children:[]},{id:1859,label:"待审批列表-(1859)",select:!1,type:"function",children:[]},{id:1860,label:"权限配置-(1860)",select:!1,type:"function",children:[]}]},{id:1861,label:"N团营销-(1861)",select:!1,type:"function",children:[{id:1862,label:"N团效果评估-(1862)",select:!1,type:"function",children:[]}]},{id:1880,label:"事件推送-(1880)",select:!1,type:"function",children:[{id:1881,label:"订单支付召回-(1881)",select:!1,type:"function",children:[]},{id:1882,label:"购物车放弃挽回-(1882)",select:!1,type:"function",children:[]},{id:1883,label:"收藏夹商品提醒-(1883)",select:!1,type:"function",children:[]},{id:1884,label:"优惠券到期提醒-(1884)",select:!1,type:"function",children:[]},{id:1885,label:"领新人优惠券未下单提醒-(1885)",select:!1,type:"function",children:[]},{id:1886,label:"事件推送全局配置-(1886)",select:!1,type:"function",children:[]},{id:1887,label:"注册未领新人优惠券提醒-(1887)",select:!1,type:"function",children:[]},{id:1888,label:"事件营销效果评估-(1888)",select:!1,type:"function",children:[]},{id:1889,label:"1单用户30天未下单push提醒-(1889)",select:!1,type:"function",children:[]},{id:1890,label:"1单用户7天未下单push提醒-(1890)",select:!1,type:"function",children:[]},{id:1891,label:"1单用户7天未下单短信提醒-(1891)",select:!1,type:"function",children:[]},{id:1892,label:"1单用户30天访问未下单短信-(1892)",select:!1,type:"function",children:[]},{id:1893,label:"优惠券换批提醒-(1893)",select:!1,type:"function",children:[]}]},{id:1910,label:"ERP报表-(1910)",select:!1,type:"function",children:[{id:1911,label:"毛利率报表-(1911)",select:!1,type:"function",children:[]},{id:1912,label:"物流仓库报表-(1912)",select:!1,type:"function",children:[]},{id:1913,label:"直邮业务物流统计-(1913)",select:!1,type:"function",children:[]},{id:1914,label:"商品售价走势-(1914)",select:!1,type:"function",children:[]},{id:1915,label:"库存周转报表-(1915)",select:!1,type:"function",children:[]},{id:1916,label:"退货数据统计报表-(1916)",select:!1,type:"function",children:[]},{id:1917,label:"发货监控报表-(1917)",select:!1,type:"function",children:[]}]},{id:1918,label:"运营分析-(1918)",select:!1,type:"function",children:[{id:1919,label:"商品变价影响-(1919)",select:!1,type:"function",children:[]}]},{id:1940,label:"数据分析-(1940)",select:!1,type:"function",children:[{id:1941,label:"TD开发转化表-(1941)",select:!1,type:"function",children:[]},{id:1942,label:"当日下单当日购买-(1942)",select:!1,type:"function",children:[]},{id:1943,label:"渠道订单统计-(1943)",select:!1,type:"function",children:[]},{id:1944,label:"新老客户GMW-(1944)",select:!1,type:"function",children:[]},{id:1945,label:"核心数据-(1945)",select:!1,type:"function",children:[]},{id:1946,label:"渠道数据统计-(1946)",select:!1,type:"function",children:[]},{id:1947,label:"新增购买活跃汇总-(1947)",select:!1,type:"function",children:[]},{id:1948,label:"用户城市分布-(1948)",select:!1,type:"function",children:[]},{id:1949,label:"商品销量操作统计报表-(1949)",select:!1,type:"function",children:[]},{id:1950,label:"IOS渠道销售数据统计-(1950)",select:!1,type:"function",children:[]},{id:1951,label:"新老客户GMW-(1951)",select:!1,type:"function",children:[]}]}]},{id:1e4,label:"商家开放平台",select:!1,type:"application",children:[{id:1e4,label:"运营管理-(10000)",select:!1,type:"function",children:[{id:10002,label:"路由管理-(10002)",select:!1,type:"function",children:[{id:10001,label:"查看路由",select:!1,type:"point",children:[]}]}]},{id:10001,label:"开发者管理-(10001)",select:!1,type:"function",children:[]}]},{id:1200,label:"达令深圳南山系统",select:!1,type:"application",children:[]},{id:1012,label:"京东仓储对接管理系统",select:!1,type:"application",children:[]}]}),i.a.mock(RegExp(c["a"].path+"/system/function/details.do.*"),"get",function(e){console.log(Object(u["e"])(e.url))}))},h=function(e){var t=e.mock;t&&i.a.mock(RegExp("/appManage/pageList.*"),"get",function(){for(var e=[],t=0;t<5;t++)e.push(i.a.mock({id:"@natural(10000)",name:i.a.mock("@cparagraph(1, 1)"),username:i.a.mock("@last"),type:"@natural(0,3)",url:"@url",checkbox:[0,1],"number|0-100":0,datetime:"@date","sex|0-1":0,moreselect:[0,1],remerk:i.a.mock("@cparagraph(1, 1)"),grade:0,address:i.a.mock("@cparagraph(1, 3)"),check:[1,3,4]}));return{data:{totalCount:11,pageSize:10,items:e}}})},b=!1;a({mock:b}),o({mock:b}),s({mock:b}),p({mock:b}),h({mock:b})},"286c":function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"top-menu"},[l("el-menu",{attrs:{"default-active":e.activeIndex,mode:"horizontal","text-color":"#333"}},[e._l(e.items,function(t,n){return[l("el-menu-item",{key:n,attrs:{index:t.parentId+""},nativeOn:{click:function(l){return e.openMenu(t)}}},[l("template",{slot:"title"},[l("i",{class:t.icon})])],2)]})],2)],1)},i=[],c=l("cebc"),a=l("5880"),o={name:"top-menu",data:function(){return{activeIndex:"0",items:[{label:"首页",href:"/wel/index",icon:"el-icon-menu",parentId:0}]}},created:function(){},computed:Object(c["a"])({},Object(a["mapGetters"])(["tagCurrent","menu","userInfo"])),methods:{openMenu:function(e){var t=this;this.$store.dispatch("GetMenu",e.parentId).then(function(l){if(0!==l.length){console.log("top-menu.vue data:",l),t.$router.$avueRouter.formatRoutes(l,!0);var n,i=0;n=e.href?e:0==t.menu[i].length?t.menu[i]:t.menu[i].children[i],t.$router.push({path:t.$router.$avueRouter.getPath({name:n.label,src:n.href})})}})}}},r=o,d=l("2877"),s=Object(d["a"])(r,n,i,!1,null,null,null);t["default"]=s.exports},"370e":function(e,t,l){"use strict";var n=l("2077"),i=l.n(n);i.a},"37cf":function(e,t,l){"use strict";l("c5f6"),l("6b54");var n=l("e814"),i=l.n(n),c=(l("ac6a"),l("3b2b"),l("a481"),l("cebc")),a=l("5880"),o=l("f6f8").version,r="#409EFF";t["a"]=function(){return{data:function(){return{themeVal:r}},created:function(){this.themeVal=this.theme},watch:{themeVal:function(e,t){this.$store.commit("SET_THEME",e),this.updateTheme(e,t)}},computed:Object(c["a"])({},Object(a["mapGetters"])(["theme"])),methods:{updateTheme:function(e,t){var l=this;if("string"===typeof e){var n=document.getElementsByTagName("head")[0],i=this.getThemeCluster(e.replace("#","")),c=this.getThemeCluster(t.replace("#","")),a=function(e,t){return function(){var c=l.getThemeCluster(r.replace("#","")),a=l.updateStyle(l[e],c,i),o=document.getElementById(t);o||(o=document.createElement("style"),o.setAttribute("id",t),n.appendChild(o)),o.innerText=a}},d=a("chalk","chalk-style");if(this.chalk)d();else{var s="https://unpkg.com/element-ui@".concat(o,"/lib/theme-chalk/index.css");this.getCSSString(s,d,"chalk")}for(var u=[].slice.call(document.getElementsByTagName("head")[0].getElementsByTagName("link")),p=function(e){var t=u[e];-1!=t.href.indexOf("app")&&l.getCSSString(t.href,function(t){var c=l.getThemeCluster(r.replace("#","")),a=l.updateStyle(t,c,i),o=document.getElementById(e);o||(o=document.createElement("style"),o.id=e,o.innerText=a,n.appendChild(o))})},h=u.length-3;h1&&t.isCollapse},screen:function(e){return e.common.screen},isLock:function(e){return e.common.isLock},isFullScren:function(e){return e.common.isFullScren},lockPasswd:function(e){return e.common.lockPasswd},tagList:function(e){return e.tags.tagList},tagWel:function(e){return e.tags.tagWel},token:function(e){return e.user.token},roles:function(e){return e.user.roles},developerId:function(e){return e.user.developerId},permission:function(e){return e.user.permission},menu:function(e){return e.user.menu},menuAll:function(e){return e.user.menuAll},logsList:function(e){return e.logs.logsList},logsLen:function(e){return e.logs.logsList.length||0},logsFlag:function(e,t){return 0===t.logsLen},serviceTreeData:function(e){return e.gateway.serviceTreeData}},I=R;i.a.use(a.a);var $=new a.a.Store({modules:{user:_,common:g,logs:A,tags:S,gateway:M},getters:I});t["a"]=$},"44b2":function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-color-picker",{staticClass:"theme-picker",attrs:{size:"small","popper-class":"theme-picker-dropdown"},model:{value:e.themeVal,callback:function(t){e.themeVal=t},expression:"themeVal"}})},i=[],c=l("37cf"),a={name:"topColor",mixins:[Object(c["a"])()],data:function(){return{chalk:""}}},o=a,r=(l("370e"),l("2877")),d=Object(r["a"])(o,n,i,!1,null,null,null);t["default"]=d.exports},4678:function(e,t,l){var n={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-SG":"cdab","./en-SG.js":"cdab","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"73332","./en-il.js":"73332","./en-nz":"6f50","./en-nz.js":"6f50","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-tw":"90ea","./zh-tw.js":"90ea"};function i(e){var t=c(e);return l(t)}function c(e){var t=n[e];if(!(t+1)){var l=new Error("Cannot find module '"+e+"'");throw l.code="MODULE_NOT_FOUND",l}return t}i.keys=function(){return Object.keys(n)},i.resolve=c,e.exports=i,i.id="4678"},"4cd2":function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-breadcrumb",{staticClass:"avue-breadcrumb-list",attrs:{separator:"/"}},[e._l(e.tagCurrent,function(t,n){return[l("el-breadcrumb-item",{key:n,attrs:{to:{path:t.value}}},[e._v(e._s(t.label))])]})],2)},i=[],c=l("cebc"),a=l("5880"),o={name:"breadcrumb",data:function(){return{}},created:function(){},mounted:function(){},watch:{},computed:Object(c["a"])({},Object(a["mapGetters"])(["tagCurrent"])),methods:{}},r=o,d=l("2877"),s=Object(d["a"])(r,n,i,!1,null,"ca42fc54",null);t["default"]=s.exports},"4e09":function(e,t,l){"use strict";var n=l("b3ad"),i=l.n(n);i.a},"56d7":function(e,t,l){"use strict";l.r(t);var n={};l.r(n),l.d(n,"baseUrl",function(){return j}),l.d(n,"iconfontUrl",function(){return O}),l.d(n,"iconfontVersion",function(){return k}),l.d(n,"codeUrl",function(){return S}),l.d(n,"env",function(){return T});l("a481");var i=l("a4bb"),c=l.n(i),a=(l("ac6a"),l("cadf"),l("551c"),l("f751"),l("097d"),l("8bbf")),o=l.n(a),r=l("c1df"),d=l.n(r),s=l("b5c6"),u=l("a7fe"),p=l.n(u),h=l("3dfd"),b=l("9883"),f=(l("7f7f"),l("cebc")),y=l("4360"),m=l("c54a"),_=l("0a5a"),v=l("323e"),g=l.n(v);l("a5d8");g.a.configure({showSpinner:!1});var E=y["a"].getters.website.lockPage;b["a"].beforeEach(function(e,t,l){!0===e.meta.keepAlive&&y["a"].state.tags.tagList.some(function(t){return t.value===e.fullPath})?e.meta.$keepAlive=!0:(g.a.start(),!0===e.meta.keepAlive&&Object(m["c"])(e.meta.$keepAlive)?e.meta.$keepAlive=!0:e.meta.$keepAlive=!1);var n=e.meta||{};if(Object(_["a"])())if(y["a"].getters.isLock&&e.path!=E)l({path:E});else if("/login"===e.path)l({path:"/"});else if(0===y["a"].getters.roles.length)y["a"].dispatch("GetUserInfo").then(function(){l(Object(f["a"])({},e,{replace:!0}))}).catch(function(){y["a"].dispatch("FedLogOut").then(function(){l({path:"/login"})})});else{var i=e.query.src||e.fullPath,c=e.query.name||e.name;!1===n.isTab||Object(m["c"])(i)||Object(m["c"])(c)||y["a"].commit("ADD_TAG",{label:c,value:i,params:e.params,query:e.query,group:b["a"].$avueRouter.group||[]}),l()}else!1===n.isAuth?l():l({path:"/login"})}),b["a"].afterEach(function(){g.a.done();var e=y["a"].getters.tag.label;b["a"].$avueRouter.setTitle(e)}),o.a.config.errorHandler=function(e,t,l){o.a.nextTick(function(){y["a"].commit("ADD_LOGS",{type:"error",message:e.message,stack:e.stack,info:l})})};l("8f5a");var w=l("0e0b"),j="http://r.kongx.com:8088/",k=["567566_qo5lxgtishg","2106500_4a754wd4rty"],O="//at.alicdn.com/t/font_$key.css",S="".concat(j,"/code"),T=Object({NODE_ENV:"production",BASE_URL:""});"development"==T.NODE_ENV?j="http://r.kongx.com:8088/":"production"==T.NODE_ENV?j="http://r.kongx.com:8088/":"test"==T.NODE_ENV&&(j="http://r.kongx.com:8088/");var C=l("8975"),L=(l("1be0"),l("80d3"),l("3f5c"),l("dc8a")),D=l("4eb5"),P=l.n(D),A=l("558c"),x=l.n(A),M=l("d847"),R=l.n(M),I=l("5c96");function $(e){$.installed||(!e.prototype.$errorInfo&&R()(e.prototype,{$errorInfo:{get:function(){return function(e){Object(I["Notification"])({title:"错误",message:e,type:"error",offset:40})}}}}),!e.prototype.$successInfo&&R()(e.prototype,{$successInfo:{get:function(){return function(e){Object(I["Notification"])({title:"成功",message:e,type:"success",offset:40})}}}}))}var K=$,N=l("349e"),U=l.n(N),F=l("f8d8"),B=l.n(F),W=l("9ca8");l("94b1"),l("ef97"),l("c037"),l("675c"),l("8deb"),l("15af"),l("23ee"),l("1111"),l("007d"),l("2f73"),l("d070"),l("d28f"),l("627c"),l("5450"),l("0352"),l("c54d"),l("8ee0"),l("d015");o.a.component("v-chart",W["a"]),o.a.use(K),o.a.use(b["a"]),o.a.use(P.a),o.a.use(x.a),o.a.use(U.a),o.a.use(B.a),o.a.use(p.a,s["a"]),o.a.filter("dateFmt",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD";return d()(e).format(t)}),o.a.component("basicContainer",L["default"]),c()(n).forEach(function(e){o.a.prototype[e]=n[e]}),c()(C).forEach(function(e){o.a.filter(e,C[e])}),k.forEach(function(e){Object(w["g"])(O.replace("$key",e))}),o.a.config.productionTip=!1,new o.a({router:b["a"],store:y["a"],render:function(e){return e(h["default"])}}).$mount("#app")},5880:function(e,t){e.exports=Vuex},"5c0b":function(e,t,l){"use strict";var n=l("5e27"),i=l.n(n);i.a},"5dd6":function(e,t,l){},"5ddc":function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"avue-tags"},[l("div",{staticClass:"avue-tags__box",class:{"avue-tags__box--close":!e.website.isFirstPage}},[l("el-tabs",{attrs:{type:"card",closable:1!==e.tagLen},on:{"tab-click":e.openTag,edit:e.menuTag},model:{value:e.active,callback:function(t){e.active=t},expression:"active"}},e._l(e.tagList,function(e){return l("el-tab-pane",{key:e.value,attrs:{label:e.label,name:e.value}})}),1),l("el-dropdown",{staticClass:"avue-tags__menu"},[l("el-button",{attrs:{type:"primary",size:"mini"}},[e._v("\n 更多\n "),l("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),l("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[l("el-dropdown-item",{nativeOn:{click:function(t){return e.closeOthersTags(t)}}},[e._v("关闭其他")]),l("el-dropdown-item",{nativeOn:{click:function(t){return e.closeAllTags(t)}}},[e._v("关闭全部")])],1)],1)],1)])},i=[],c=(l("7f7f"),l("cebc")),a=l("5880"),o={name:"tags",data:function(){return{active:""}},created:function(){},mounted:function(){this.setActive()},watch:{tag:function(){this.setActive()}},computed:Object(c["a"])({},Object(a["mapGetters"])(["tagWel","tagList","tag","website"]),{tagLen:function(){return this.tagList.length||0}}),methods:{setActive:function(){this.active=this.tag.value},menuTag:function(e,t){if("remove"===t){var l=this.findTag(e),n=l.tag,i=l.key;this.$store.commit("DEL_TAG",n),n.value===this.tag.value&&(n=this.tagList[0===i?i:i-1],this.openTag(n))}},openTag:function(e){var t;t=e.name?this.findTag(e.name).tag:e,this.$router.push({path:this.$router.$avueRouter.getPath({name:t.label,src:t.value}),query:t.query})},closeOthersTags:function(){this.$store.commit("DEL_TAG_OTHER")},findTag:function(e){var t,l;return this.tagList.map(function(n,i){n.value===e&&(t=n,l=i)}),{tag:t,key:l}},closeAllTags:function(){this.$store.commit("DEL_ALL_TAG"),this.$router.push({path:this.$router.$avueRouter.getPath({src:this.tagWel.value}),query:this.tagWel.query})}}},r=o,d=l("2877"),s=Object(d["a"])(r,n,i,!1,null,null,null);t["default"]=s.exports},"5e27":function(e,t,l){},6389:function(e,t){e.exports=VueRouter},"6a91":function(e,t,l){},"709a":function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-popover",{attrs:{placement:"bottom",width:"400",trigger:"hover"}},[l("avue-crud",{attrs:{data:e.data,option:e.option}}),l("router-link",{staticClass:"top-mag__menu",attrs:{to:{path:"/info/message"}}},[l("el-button",{attrs:{type:"text",size:"mini"}},[e._v("查看全部")])],1),l("div",{staticClass:"top-bar__item top-bar__item--show",attrs:{slot:"reference"},slot:"reference"},[l("el-badge",{attrs:{"is-dot":""}},[l("i",{staticClass:" el-icon-bell"})])],1)],1)},i=[],c={name:"top-mag",data:function(){return{data:[{title:"你好新朋友,感谢使用 kongx",date:"2018-11-23"},{title:"smallwei发来一条私信",date:"2018-11-23"}],option:{size:"mini",addBtn:!1,page:!1,menu:!1,header:!1,column:[{width:200,label:"标题内容",prop:"title",overHidden:!0},{label:"时间",prop:"date"}]}}}},a=c,o=(l("d300"),l("2877")),r=Object(o["a"])(a,n,i,!1,null,null,null);t["default"]=r.exports},7505:function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"menu-wrapper"},[e._l(e.menu,function(t){return[e.validatenull(t[e.childrenKey])&&e.vaildRoles(t)?l("el-menu-item",{key:t[e.labelKey],class:{"is-active":e.vaildAvtive(t)},attrs:{index:t[e.pathKey]},on:{click:function(l){return e.open(t)}}},[l("i",{class:t[e.iconKey]}),l("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(t[e.labelKey]))])]):!e.validatenull(t[e.childrenKey])&&e.vaildRoles(t)?l("el-submenu",{key:t[e.labelKey],attrs:{index:t[e.pathKey]}},[l("template",{slot:"title"},[l("i",{class:t[e.iconKey]}),l("span",{class:{"el-menu--display":e.collapse&&e.first},attrs:{slot:"title"},slot:"title"},[e._v(e._s(t[e.labelKey]))])]),e._l(t[e.childrenKey],function(t,n){return[e.validatenull(t[e.childrenKey])?l("el-menu-item",{key:t[e.labelKey],class:{"is-active":e.vaildAvtive(t)},attrs:{index:t[e.pathKey],cindex:n},on:{click:function(l){return e.open(t)}}},[l("i",{class:t[e.iconKey]}),l("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(t[e.labelKey]))])]):l("sidebar-item",{key:n,attrs:{menu:[t],props:e.props,screen:e.screen,collapse:e.collapse}})]})],2):e._e()]})],2)},i=[],c=(l("6762"),l("2fdb"),l("cebc")),a=(l("c5f6"),l("5880")),o=l("c54a"),r=l("b297"),d={name:"sidebarItem",data:function(){return{config:r["a"]}},props:{menu:{type:Array},screen:{type:Number},first:{type:Boolean,default:!1},props:{type:Object,default:function(){return{}}},collapse:{type:Boolean}},created:function(){},mounted:function(){},computed:Object(c["a"])({},Object(a["mapGetters"])(["roles"]),{labelKey:function(){return this.props.label||this.config.propsDefault.label},pathKey:function(){return this.props.path||this.config.propsDefault.path},iconKey:function(){return this.props.icon||this.config.propsDefault.icon},childrenKey:function(){return this.props.children||this.config.propsDefault.children},nowTagValue:function(){return this.$router.$avueRouter.getValue(this.$route)}}),methods:{vaildAvtive:function(e){var t=this,l=(e["group"]||[]).some(function(e){return t.$route.path.includes(e)});return this.nowTagValue===e[this.pathKey]||l},vaildRoles:function(e){return e.meta=e.meta||{},!e.meta.roles||e.meta.roles.includes(this.roles)},validatenull:function(e){return Object(o["c"])(e)},open:function(e){this.screen<=1&&this.$store.commit("SET_COLLAPSE"),this.$router.$avueRouter.group=e.group,this.$router.push({path:this.$router.$avueRouter.getPath({name:e[this.labelKey],src:e[this.pathKey]}),query:e.query})}}},s=d,u=l("2877"),p=Object(u["a"])(s,n,i,!1,null,null,null);t["default"]=p.exports},7644:function(e,t,l){"use strict";var n=l("0570"),i=l.n(n);i.a},"7d3a":function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"avue-logo"},[l("transition",{attrs:{name:"fade"}},[e.keyCollapse?l("span",{key:"0",staticClass:"avue-logo_subtitle"},[e._v("\n "+e._s(e.website.logo)+"\n ")]):e._e()]),l("transition-group",{attrs:{name:"fade"}},[e.keyCollapse?e._e():[l("span",{key:"1",staticClass:"avue-logo_subtitle"},[e._v("\n "+e._s(e.website.indexTitle)+"\n ")])]],2)],1)},i=[],c=l("cebc"),a=l("5880"),o={name:"logo",data:function(){return{}},created:function(){},computed:Object(c["a"])({},Object(a["mapGetters"])(["website","keyCollapse"])),methods:{}},r=o,d=(l("aed4"),l("2877")),s=Object(d["a"])(r,n,i,!1,null,null,null);t["default"]=s.exports},8975:function(e,t,l){"use strict";l.r(t),l.d(t,"dateFormat",function(){return d}),l.d(t,"timeAgo",function(){return s}),l.d(t,"parseTime",function(){return u}),l.d(t,"formatTime",function(){return p}),l.d(t,"nFormatter",function(){return h}),l.d(t,"html2Text",function(){return b}),l.d(t,"toThousandslsFilter",function(){return f});l("6b54");var n=l("e814"),i=l.n(n),c=l("7618"),a=(l("c5f6"),l("0a0d")),o=l.n(a);l("3b2b"),l("a481");function r(e,t){return 1===e?e+t:e+t+"s"}function d(e){var t="yyyy-MM-dd hh:mm:ss";if("Invalid Date"!=e){var l={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(var n in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),l)new RegExp("("+n+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?l[n]:("00"+l[n]).substr((""+l[n]).length)));return t}return""}function s(e){var t=o()()/1e3-Number(e);return t<3600?r(~~(t/60)," minute"):t<86400?r(~~(t/3600)," hour"):r(~~(t/86400)," day")}function u(e,t){if(0===arguments.length)return null;10===(e+"").length&&(e=1e3*+e);var l,n=t||"{y}-{m}-{d} {h}:{i}:{s}";l="object"===Object(c["a"])(e)?e:new Date(i()(e));var a={y:l.getFullYear(),m:l.getMonth()+1,d:l.getDate(),h:l.getHours(),i:l.getMinutes(),s:l.getSeconds(),a:l.getDay()},o=n.replace(/{(y|m|d|h|i|s|a)+}/g,function(e,t){var l=a[t];return"a"===t?["一","二","三","四","五","六","日"][l-1]:(e.length>0&&l<10&&(l="0"+l),l||0)});return o}function p(e,t){e=1e3*+e;var l=new Date(e),n=o()(),i=(n-l)/1e3;return i<30?"刚刚":i<3600?Math.ceil(i/60)+"分钟前":i<86400?Math.ceil(i/3600)+"小时前":i<172800?"1天前":t?u(e,t):l.getMonth()+1+"月"+l.getDate()+"日"+l.getHours()+"时"+l.getMinutes()+"分"}function h(e,t){for(var l=[{value:1e18,symbol:"E"},{value:1e15,symbol:"P"},{value:1e12,symbol:"T"},{value:1e9,symbol:"G"},{value:1e6,symbol:"M"},{value:1e3,symbol:"k"}],n=0;n=l[n].value)return(e/l[n].value+.1).toFixed(t).replace(/\.0+$|(\.[0-9]*[1-9])0+$/,"$1")+l[n].symbol;return e.toString()}function b(e){var t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText}function f(e){return(+e||0).toString().replace(/^-?\d+/g,function(e){return e.replace(/(?=(?!\b)(\d{3})+$)/g,",")})}},"8bbf":function(e,t){e.exports=Vue},"8d84":function(e,t,l){"use strict";var n=l("92ef"),i=l.n(n);i.a},"92ef":function(e,t,l){},9657:function(e,t,l){},9812:function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-autocomplete",{staticClass:"top-search",attrs:{"popper-class":"my-autocomplete","fetch-suggestions":e.querySearch,placeholder:"请输入搜索内容"},on:{select:e.handleSelect},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.item;return[l("i",{class:[n[e.iconKey],"icon"]}),l("div",{staticClass:"name"},[e._v(e._s(n[e.labelKey]))]),l("p",{staticClass:"addr"},[e._v(e._s(n[e.pathKey]))])]}}]),model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})},i=[],c=(l("6762"),l("2fdb"),l("5176")),a=l.n(c),o=l("cebc"),r=l("b297"),d=l("5880"),s={data:function(){return{config:r["a"],value:"",menuList:[]}},created:function(){this.getMenuList()},watch:{menu:function(){this.getMenuList()}},computed:Object(o["a"])({labelKey:function(){return this.website.menu.props.label||this.config.propsDefault.label},pathKey:function(){return this.website.menu.props.path||this.config.propsDefault.path},iconKey:function(){return this.website.menu.props.icon||this.config.propsDefault.icon},childrenKey:function(){return this.website.menu.props.children||this.config.propsDefault.children}},Object(d["mapGetters"])(["menu","website"])),methods:{getMenuList:function(){var e=this,t=function t(l){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,i=[],c=this.$website.menu.props,a={label:c.label||"label",path:c.path||"path",icon:c.icon||"icon",children:c.children||"children",meta:c.meta||"meta"};if(0!==t.length){for(var o=function(c){var o=t[c];if(e.routerList.includes(o[a.path]))return{v:void 0};var r=function(){return n?o[a.path].replace("/index",""):o[a.path]}(),d=o.component,s=o[a.label],u=o[a.icon],p=o[a.children],h=o[a.meta];(r.includes("http")||r.includes("https"))&&(h={keepAlive:!0,isTab:!1,isAuth:!1});var b=0!==p.length,f={path:r,component:function(e){n?Promise.resolve().then(function(){var t=[l("9cc4")];e.apply(null,t)}.bind(this)).catch(l.oe):!b||n?Promise.all([l.e("page"),l.e("chunk-e7d39db6")]).then(function(){var t=[l("692e")("./".concat(d,".vue"))];e.apply(null,t)}.bind(this)).catch(l.oe):l.e("chunk-2d0e4caf").then(function(){var t=[l("9277")];e.apply(null,t)}.bind(this)).catch(l.oe)},name:s,icon:u,meta:h,redirect:function(){return!b&&n?"".concat(r,"/index"):""}(),children:b?function(){return e.formatRoutes(p,!1)}():function(){return n?(o[a.path]="".concat(r,"/index"),[{component:function(e){Promise.all([l.e("page"),l.e("chunk-e7d39db6")]).then(function(){var t=[l("692e")("./".concat(d,".vue"))];e.apply(null,t)}.bind(this)).catch(l.oe)},icon:u,name:s,meta:h,path:"index"}]):[]}()};i.push(f)},r=0;r=1200?3:e>=992?2:e>=768?1:0}},s=l("c54a"),u=function(e,t){var l=t-e,n=Math.floor(l/864e5),i=l%864e5,c=Math.floor(i/36e5),a=i%36e5,o=Math.floor(a/6e4),r=a%6e4,d=Math.round(l/1e3);return{leave1:i,leave2:a,leave3:r,days:n,hours:c,minutes:o,seconds:d}},p=l("e3c4"),h={components:{top:o["default"],tags:a["default"],sidebar:r["default"]},name:"index",data:function(){return{refreshLock:!1,refreshTime:""}},created:function(){},mounted:function(){this.init()},computed:Object(c["mapGetters"])(["isLock","isCollapse","website"]),props:[],methods:{showCollapse:function(){this.$store.commit("SET_COLLAPSE")},init:function(){var e=this;this.$store.commit("SET_SCREEN",d.getScreen()),window.onresize=function(){setTimeout(function(){e.$store.commit("SET_SCREEN",d.getScreen())},0)}},refreshToken:function(){var e=this;this.refreshTime=setInterval(function(){var t=Object(p["a"])({name:"token",debug:!0}),l=u(t.datetime,(new Date).getTime());Object(s["c"])(l)||l.seconds>=e.website.tokenTime||e.refreshLock||(e.refreshLock=!0,e.$store.dispatch("RefeshToken").then(function(){clearInterval(e.refreshTime)}).catch(function(){e.refreshLock=!1}))},3e3)}}},b=h,f=l("2877"),y=Object(f["a"])(b,n,i,!1,null,null,null);t["default"]=y.exports},"9d8c":function(e,t,l){},a161:function(e,t,l){"use strict";l.d(t,"d",function(){return c}),l.d(t,"c",function(){return a}),l.d(t,"b",function(){return o}),l.d(t,"a",function(){return r}),l.d(t,"e",function(){return d});var n=l("b5c6"),i=l("074d"),c=function(e,t,l){return Object(n["a"])({url:i["a"].path+"/authorize/login.do",method:"post",data:"username="+encodeURIComponent(e)+"&password="+encodeURIComponent(t)})},a=function(e){return Object(n["a"])({url:i["a"].path+"/authorize/validateCode.do",method:"get",params:{username:e.username}})},o=function(){return Object(n["a"])({url:i["a"].path+"/authorize/getUserInfo.do",method:"get"})},r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Object(n["a"])({url:i["a"].path+"/authorize/getMenu.do",method:"get",data:{type:e}})},d=function(){return Object(n["a"])({url:i["a"].path+"/authorize/logout.do",method:"get"})}},aed4:function(e,t,l){"use strict";var n=l("9d8c"),i=l.n(n);i.a},af62:function(e,t,l){"use strict";l.d(t,"c",function(){return c}),l.d(t,"d",function(){return a}),l.d(t,"b",function(){return o}),l.d(t,"h",function(){return r}),l.d(t,"a",function(){return d}),l.d(t,"i",function(){return s}),l.d(t,"g",function(){return u}),l.d(t,"f",function(){return p}),l.d(t,"e",function(){return h});var n=l("b5c6"),i=l("074d"),c=function(){return Object(n["a"])({url:i["a"].path+"/system/profile/profiles",method:"get"})},a=function(){return Object(n["a"])({url:i["a"].path+"/system/profile/profiles",method:"get"})},o=function(e){return Object(n["a"])({url:i["a"].path+"/system/profile/active/",method:"get"})},r=function(e,t){return Object(n["a"])({url:i["a"].path+"/system/profile/active/",method:"post",data:t})},d=function(e){return Object(n["a"])({url:i["a"].path+"/system/profile/profiles/",method:"post",data:e})},s=function(e){return Object(n["a"])({url:i["a"].path+"/system/profile/profiles/"+e.id,method:"post",data:e})},u=function(e){return Object(n["a"])({url:i["a"].path+"/system/profile/profiles/"+e.id,method:"delete"})},p=function(){return Object(n["a"])({url:i["a"].path+"/system/envs/",method:"get"})},h=function(e){return Object(n["a"])({url:i["a"].path+"/system/profile/profiles/"+e,method:"get"})}},afb5:function(e,t,l){},b297:function(e,t,l){"use strict";t["a"]={propsDefault:{label:"label",path:"path",icon:"icon",children:"children"}}},b3ad:function(e,t,l){},b5c6:function(e,t,l){"use strict";l("6762"),l("2fdb"),l("c5f6");var n=l("795b"),i=l.n(n),c=l("cebe"),a=l.n(c),o=l("4360"),r=l("9883"),d=l("0e0b"),s=l("0a5a"),u=l("5c96"),p=l("074d"),h=l("323e"),b=l.n(h);l("a5d8");a.a.defaults.timeout=3e4,a.a.defaults.validateStatus=function(e){return e>=200&&e<=500},a.a.defaults.withCredentials=!0,b.a.configure({showSpinner:!1}),a.a.interceptors.request.use(function(e){b.a.start();var t=!1===(e.data||{}).isToken;return Object(s["a"])()&&!t&&(e.headers["Authorization"]="Bearer "+Object(s["a"])()),"post"===e.methods&&e.headers.serialize&&(e.data=Object(d["h"])(e.data),delete e.data.serialize),e},function(e){return i.a.reject(e)}),a.a.interceptors.response.use(function(e){b.a.done();var t=Number(e.status)||200,l=p["a"].statusWhiteList||[],n=e.data.errmsg||"系统错误,请联系管理员";if(200!==t&&!l.includes(t))return Object(u["Message"])({message:n,type:"error"}),i.a.reject(new Error(n));var c=e.data,a=Number(c.status);return 401!==t&&401!==a||o["a"].dispatch("FedLogOut").then(function(){return r["a"].push({path:"/login"})}),200!==t?i.a.reject(e):e},function(e){return console.log(e),b.a.done(),i.a.reject(new Error(e))}),t["a"]=a.a},bd25:function(module,__webpack_exports__,__webpack_require__){"use strict";var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("ac6a"),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_es6_array_find__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("7514"),core_js_modules_es6_array_find__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es6_array_find__WEBPACK_IMPORTED_MODULE_1__),D_99_python_kongx_fe_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("cebc"),vuex__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("5880"),vuex__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(vuex__WEBPACK_IMPORTED_MODULE_3__),_util_validate__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("c54a"),_const_setting___WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("e185");__webpack_exports__["a"]={data:function(){return{box:!1,form:{},list:_const_setting___WEBPACK_IMPORTED_MODULE_5__["a"],option:Object(_const_setting___WEBPACK_IMPORTED_MODULE_5__["b"])(this)}},computed:Object(D_99_python_kongx_fe_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__["a"])({},Object(vuex__WEBPACK_IMPORTED_MODULE_3__["mapGetters"])(["isShade"]),Object(vuex__WEBPACK_IMPORTED_MODULE_3__["mapState"])({showTag:function(e){return e.common.showTag},showDebug:function(e){return e.common.showDebug},showLock:function(e){return e.common.showLock},showColor:function(e){return e.common.showColor},showFullScren:function(e){return e.common.showFullScren},showCollapse:function(e){return e.common.showCollapse},showSearch:function(e){return e.common.showSearch},showMenu:function(e){return e.common.showMenu},showTheme:function(e){return e.common.showTheme}})),created:function(){this.init()},methods:{close:function(){this.box=!1,this.$store.commit("SET_SHADE",!1)},set:function set(key){var ele=this.find(key);this.$store.commit(ele.commit,eval(this.form[ele.key]))},find:function(e){return this.list.filter(function(t){return t.key===e})[0]},init:function(){var e=this;this.list.forEach(function(t){e.form[t.key]=Object(_util_validate__WEBPACK_IMPORTED_MODULE_4__["c"])(e[t.key])?"true":e[t.key]+"",e.set(t.key)})},open:function(){this.box=!0,this.$store.commit("SET_SHADE",!0)}}}},bd51:function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("span",{staticClass:"setting"},[l("div",{staticClass:"setting__shade",class:{"setting__shade--show":e.isShade},on:{click:e.close}}),l("i",{staticClass:"el-icon-more setting__icon",on:{click:e.open}}),l("div",{staticClass:"setting__content",class:{"setting__content--show":e.box}},[e._m(0),l("el-scrollbar",{staticStyle:{height:"500px"}},[l("div",{staticClass:"setting__body setting__form"},[l("avue-form",{attrs:{option:e.option},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1)])],1)])},i=[function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"setting__header"},[e._v("设置\n "),l("small",[e._v("(滑动鼠标下面还有更多设置)")])])}],c=l("bd25"),a=c["a"],o=(l("4e09"),l("2877")),r=Object(o["a"])(a,n,i,!1,null,"6d242758",null);t["default"]=r.exports},c54a:function(e,t,l){"use strict";l.d(t,"b",function(){return o}),l.d(t,"c",function(){return r}),l.d(t,"a",function(){return d});l("c5f6");var n=l("3be2"),i=l.n(n),c=l("f499"),a=l.n(c);l("28a5");function o(e){return/^http[s]?:\/\/.*/.test(e)}function r(e){if("boolean"==typeof e)return!1;if("number"==typeof e)return!1;if(e instanceof Array){if(0==e.length)return!0}else{if(!(e instanceof Object))return"null"==e||null==e||"undefined"==e||void 0==e||""==e;if("{}"===a()(e))return!0}return!1}function d(e,t,l){i()(Number(t))||l(new Error("请输入数字值")),l()}},c60b:function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-popover",{attrs:{placement:"top-end",width:"500",trigger:"hover"}},[l("avue-crud",{attrs:{data:e.tableData,option:e.option},scopedSlots:e._u([{key:"id",fn:function(t){var n=t.row;return[e.activeClient&&e.activeClient.id!=n.id?l("el-button",{attrs:{type:"info",size:"mini",plain:""},on:{click:function(t){return e.handActiveClient(n)}}},[e._v("激活")]):e._e(),e.activeClient&&e.activeClient.id==n.id?l("el-button",{attrs:{type:"success",size:"mini"}},[e._v("已激活")]):e._e()]}}])}),l("div",{staticStyle:{fixed:"right"}},[l("el-button",{attrs:{type:"danger",size:"mini"},on:{click:e.handList}},[e._v("刷新")])],1),l("div",{staticClass:"top-bar__item top-bar__item--show",attrs:{slot:"reference"},slot:"reference"},[l("el-badge",{attrs:{"is-dot":""}},[l("i",{staticClass:"icon-system"})])],1)],1)},i=[],c=l("cebc"),a=l("af62"),o=l("5880"),r={name:"kong-client",data:function(){return{tableData:[],cardoption:{props:{img:"img",title:"title",info:"text"}},data:[],option:{size:"mini",index:!1,addBtn:!1,page:!1,menu:!1,header:!1,simplePage:!0,column:[{width:100,label:"Env",prop:"profileCode",overHidden:!0},{label:"Admin URL",prop:"url"},{label:"Active",width:80,prop:"id",slot:!0}]}}},created:function(){this.findActiveKongclient(),this.handList()},mounted:function(){var e=this,t=setInterval(function(){e.handList()},6e4);this.$once("hook:beforeDestroy",function(){clearInterval(t)})},components:Object(c["a"])({},Object(o["mapGetters"])(["userInfo","kongClient"])),props:{activeClient:{type:Object,required:!1}},methods:{findActiveKongclient:function(){var e=this;this.$store.dispatch("FindActiveClient",this.userInfo).then(function(t){e.activeClient=t,e.$nextTick(function(t){e.$router.push("/wel/index")})})},handList:function(){var e=this;Object(a["c"])().then(function(t){e.tableData=t.data.data})},handActiveClient:function(e){var t=this;Object(a["h"])("client",e).then(function(e){t.findActiveKongclient(),window.location.reload()})},callback:function(){this.$emit("callback",{})}}},d=r,s=(l("9a43"),l("2877")),u=Object(s["a"])(d,n,i,!1,null,null,null);t["default"]=u.exports},cebe:function(e,t){e.exports=axios},d300:function(e,t,l){"use strict";var n=l("6a91"),i=l.n(n);i.a},d67e:function(e,t,l){"use strict";var n=l("5dd6"),i=l.n(n);i.a},dc8a:function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"basic-container"},[l("el-card",[e._t("default")],2)],1)},i=[],c={name:"basicContainer"},a=c,o=(l("3ce2"),l("2877")),r=Object(o["a"])(a,n,i,!1,null,null,null);t["default"]=r.exports},e185:function(e,t,l){"use strict";l.d(t,"a",function(){return i}),l.d(t,"b",function(){return c});var n=[{label:"开启",value:"true"},{label:"关闭",value:"false"}],i=[{key:"showTag",commit:"SET_SHOWTAG"},{key:"showTheme",commit:"SET_SHOWTHEME"},{key:"showColor",commit:"SET_SHOWCOLOR"},{key:"showLock",commit:"SET_SHOWLOCK"},{key:"showDebug",commit:"SET_SHOWDEBUG"},{key:"showFullScren",commit:"SET_SHOWFULLSCREN"},{key:"showCollapse",commit:"SET_SHOWCOLLAPSE"},{key:"showSearch",commit:"SET_SHOWSEARCH"},{key:"showMenu",commit:"SET_SHOWMENU"}],c=function(e){var t=e;return{submitBtn:!1,column:[{label:"标签",prop:"showTag",type:"switch",span:24,dicData:n,click:function(e){var l=e.column;t.set(l.prop)}},{label:"日志",prop:"showDebug",type:"switch",span:24,dicData:n,click:function(e){var l=e.column;t.set(l.prop)}},{label:"主题",prop:"showTheme",type:"switch",span:24,dicData:n,click:function(e){var l=e.column;t.set(l.prop)}},{label:"主题色",prop:"showColor",type:"switch",span:24,dicData:n,click:function(e){var l=e.column;t.set(l.prop)}},{label:"全屏",prop:"showFullScren",type:"switch",span:24,dicData:n,click:function(e){var l=e.column;t.set(l.prop)}},{label:"锁屏",prop:"showLock",type:"switch",span:24,dicData:n,click:function(e){var l=e.column;t.set(l.prop)}},{label:"搜索",prop:"showSearch",type:"switch",span:24,dicData:n,click:function(e){var l=e.column;t.set(l.prop)}},{label:"缩放",prop:"showCollapse",type:"switch",span:24,dicData:n,click:function(e){var l=e.column;t.set(l.prop)}},{label:"顶部菜单",prop:"showMenu",type:"switch",span:24,dicData:n,click:function(e){var l=e.column;t.set(l.prop)}}]}}},e349:function(e,t,l){"use strict";l.d(t,"a",function(){return n});var n={USERTYPE:[{label:"请选择",value:""},{label:"超级用户",value:"UserType_1"},{label:"管理员",value:"UserType_2"},{label:"供应商用户",value:"UserType_3"},{label:"公司用户",value:"UserType_4"}],DEVELOPER_STATE:[{label:"请选择",value:""},{label:"未激活",value:"1"},{label:"正常",value:"2"},{label:"禁用",value:"3"}],USE_YN:[{label:"否",value:"n",color:"red"},{label:"是",value:"y",color:"green"}],ROLE_TYPE:[{label:"菜单角色",value:"menu"},{label:"数据角色",value:"data"}],VAILD:[{label:"真",value:"true",color:"green"},{label:"假",value:"false",color:"red"}],SEX:[{label:"男",value:0,color:"green"},{label:"女",value:1,color:"red"}],POSTIONDATA:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"}],TYPE:[{label:"一级1",value:0,children:[{label:"一级1二级1",value:2}]},{label:"一级2",value:1,children:[{label:"一级2二级1",value:2}]}],GRADE:[{label:"管理员",value:0},{label:"二级管理员",value:1}],VAILDATA:[{label:"激活",value:!0},{label:"禁用",value:!1}],CRUDTYPE:[{label:"输入框",value:""},{label:"选择框",value:"select"},{label:"文本框",value:"text"},{label:"密码框",value:"password"},{label:"树型框",value:"tree"},{label:"富文本编辑框",value:"ueditor"},{label:"多行文本框",value:"textarea"},{label:"单选框",value:"radio"},{label:"多选框",value:"checkbox"},{label:"数字框",value:"number"},{label:"日期框",value:"date"},{label:"日期范围框",value:"daterange"},{label:"时间范围框",value:"datetimerange"},{label:"时间框",value:"datetime"},{label:"周",value:"week"},{label:"月",value:"month"},{label:"年",value:"year"},{label:"滑动框",value:"silder"},{label:"评价框",value:"rate"},{label:"上传框",value:"upload"}],UITYPE:[{value:"zhinan",label:"指南",children:[{value:"shejiyuanze",label:"设计原则",children:[{value:"yizhi",label:"一致"},{value:"fankui",label:"反馈"},{value:"xiaolv",label:"效率"},{value:"kekong",label:"可控"}]},{value:"daohang",label:"导航",children:[{value:"cexiangdaohang",label:"侧向导航"},{value:"dingbudaohang",label:"顶部导航"}]}]},{value:"zujian",label:"组件",children:[{value:"basic",label:"Basic",children:[{value:"layout",label:"Layout 布局"},{value:"color",label:"Color 色彩"},{value:"typography",label:"Typography 字体"},{value:"icon",label:"Icon 图标"},{value:"button",label:"Button 按钮"}]},{value:"form",label:"Form",children:[{value:"radio",label:"Radio 单选框"},{value:"checkbox",label:"Checkbox 多选框"},{value:"input",label:"Input 输入框"},{value:"input-number",label:"InputNumber 计数器"},{value:"select",label:"Select 选择器"},{value:"cascader",label:"Cascader 级联选择器"},{value:"switch",label:"Switch 开关"},{value:"slider",label:"Slider 滑块"},{value:"time-picker",label:"TimePicker 时间选择器"},{value:"date-picker",label:"DatePicker 日期选择器"},{value:"datetime-picker",label:"DateTimePicker 日期时间选择器"},{value:"upload",label:"Upload 上传"},{value:"rate",label:"Rate 评分"},{value:"form",label:"Form 表单"}]},{value:"data",label:"Data",children:[{value:"table",label:"Table 表格"},{value:"tag",label:"Tag 标签"},{value:"progress",label:"Progress 进度条"},{value:"tree",label:"Tree 树形控件"},{value:"pagination",label:"Pagination 分页"},{value:"badge",label:"Badge 标记"}]},{value:"notice",label:"Notice",children:[{value:"alert",label:"Alert 警告"},{value:"loading",label:"Loading 加载"},{value:"message",label:"Message 消息提示"},{value:"message-box",label:"MessageBox 弹框"},{value:"notification",label:"Notification 通知"}]},{value:"navigation",label:"Navigation",children:[{value:"menu",label:"NavMenu 导航菜单"},{value:"tabs",label:"Tabs 标签页"},{value:"breadcrumb",label:"Breadcrumb 面包屑"},{value:"dropdown",label:"Dropdown 下拉菜单"},{value:"steps",label:"Steps 步骤条"}]},{value:"others",label:"Others",children:[{value:"dialog",label:"Dialog 对话框"},{value:"tooltip",label:"Tooltip 文字提示"},{value:"popover",label:"Popover 弹出框"},{value:"card",label:"Card 卡片"},{value:"carousel",label:"Carousel 走马灯"},{value:"collapse",label:"Collapse 折叠面板"}]}]},{value:"ziyuan",label:"资源",children:[{value:"axure",label:"Axure Components"},{value:"sketch",label:"Sketch Templates"},{value:"jiaohu",label:"组件交互文档"}]}],PAYTYPE:[{label:"微信",value:"0"},{label:"支付宝",value:"1"},{label:"银行卡",value:"2"}],DATALIST:[{label:"SEX",value:"SEX"},{label:"STATE",value:"STATE"},{label:"GRADE",value:"GRADE"}],ISGLOBAl:[{label:"否",value:0},{label:"是",value:1}],AVA:[{label:"可用",value:"1"},{label:"不可用",value:"0"}],HASH_ON_TYPE:[{label:"none",value:"none"},{label:"consumer",value:"consumer"},{label:"ip",value:"ip"},{label:"header",value:"header"},{label:"cookie",value:"cookie"}],PROTOCOLS:[{label:"http",value:"http"},{label:"https",value:"https"}],PROTOCOLS_HEALTHCHECK:[{label:"http",value:"http"},{label:"https",value:"https"},{label:"tcp",value:"tcp"}],HASH_ON_FALLBACK_TYPE:[{label:"none",value:"none"},{label:"consumer",value:"consumer"},{label:"ip",value:"ip"},{label:"header",value:"header"}],BEHAVIOR_TYPE:[{label:"直接拒绝",value:0},{label:"Warm up",value:1},{label:"匀速排队",value:2},{label:"Warm up+匀速排队",value:3}],APP_STATUS:[{label:"已审核",value:"0"},{label:"待审核",value:"1"},{label:"已驳回",value:"2"},{label:"已禁用",value:"3"}],SERVICE_STATUS:[{label:"启用",value:1},{label:"禁用",value:0}],TIME:[{label:"时",value:"HOURS"},{label:"分",value:"MINUTES"},{label:"秒",value:"SECONDS"}]}},e3c4:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"c",function(){return setStore}),__webpack_require__.d(__webpack_exports__,"a",function(){return getStore}),__webpack_require__.d(__webpack_exports__,"b",function(){return removeStore});var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("c5f6"),core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__),D_99_python_kongx_fe_node_modules_babel_runtime_corejs2_core_js_json_stringify__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("f499"),D_99_python_kongx_fe_node_modules_babel_runtime_corejs2_core_js_json_stringify__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(D_99_python_kongx_fe_node_modules_babel_runtime_corejs2_core_js_json_stringify__WEBPACK_IMPORTED_MODULE_1__),D_99_python_kongx_fe_node_modules_babel_runtime_corejs2_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("7618"),core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("7f7f"),core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_3__),_util_validate__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("c54a"),setStore=function(e){var t=e.name,l=e.content,n=e.type,i={dataType:Object(D_99_python_kongx_fe_node_modules_babel_runtime_corejs2_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_2__["a"])(l),content:l,type:n,datetime:(new Date).getTime()};n?window.sessionStorage.setItem(t,D_99_python_kongx_fe_node_modules_babel_runtime_corejs2_core_js_json_stringify__WEBPACK_IMPORTED_MODULE_1___default()(i)):window.localStorage.setItem(t,D_99_python_kongx_fe_node_modules_babel_runtime_corejs2_core_js_json_stringify__WEBPACK_IMPORTED_MODULE_1___default()(i))},getStore=function getStore(params){var name=params.name,debug=params.debug,obj={},content;if(obj=window.sessionStorage.getItem(name),Object(_util_validate__WEBPACK_IMPORTED_MODULE_4__["c"])(obj)&&(obj=window.localStorage.getItem(name)),!Object(_util_validate__WEBPACK_IMPORTED_MODULE_4__["c"])(obj))return obj=JSON.parse(obj),debug?obj:("string"==obj.dataType?content=obj.content:"number"==obj.dataType?content=Number(obj.content):"boolean"==obj.dataType?content=eval(obj.content):"object"==obj.dataType&&(content=obj.content),content)},removeStore=function(e){var t=e.name;window.localStorage.removeItem(t),window.sessionStorage.removeItem(t)},getAllStore=function(e){for(var t=[],l=e.type,n=1;n<=window.sessionStorage.length;n++)l?t.push({name:window.sessionStorage.key(n),content:getStore({name:window.sessionStorage.key(n),type:"session"})}):t.push(getStore({name:window.localStorage.key(n),content:getStore({name:window.localStorage.key(n)})}));return t},clearStore=function(e){var t=e.type;t?window.sessionStorage.clear():window.localStorage.clear()}}}); \ No newline at end of file +(function(e){function t(t){for(var n,i,o=t[0],r=t[1],d=t[2],s=0,u=[];s".concat(i.a.mock("@cname"),"

"),grade:[0,1],state:0,date:Object(r["dateFormat"])(new Date)}));return{data:{page:t.page,total:11,pageSize:10,tableData:l}}}))},u=l("0e0b"),p=function(e){var t=e.mock;t&&(i.a.mock(c["a"].path+"/system/function/getFuncTree.do","get",{version:"1.0",clientFrom:"",timestamp:"2019-05-08T17:52:29.145Z",get_url:"",status:0,errmsg:"全部成功",elapsed:171,acc_point:"1",track_id:"5841dd2c-3013-4d00-827e-5c26081fbf1a",secur_type:599,data:[{id:1,label:"基础数据管理平台",select:!1,type:"application",children:[{id:5,label:"配置管理-(5)",select:!1,type:"function",children:[{id:7,label:"数据权限-(7)",select:!1,type:"function",children:[{id:11,label:"配置物流中心",select:!1,type:"point",children:[]},{id:10,label:"配置供应商",select:!1,type:"point",children:[]},{id:9,label:"配置部门",select:!1,type:"point",children:[]}]},{id:6,label:"角色权限-(6)",select:!1,type:"function",children:[{id:15,label:"查看角色列表",select:!1,type:"point",children:[]}]},{id:8,label:"用户角色-(8)",select:!1,type:"function",children:[]}]},{id:1,label:"系统管理-(1)",select:!1,type:"function",children:[{id:2,label:"用户管理-(2)",select:!1,type:"function",children:[{id:12,label:"查看用户",select:!1,type:"point",children:[]},{id:8,label:"编辑用户",select:!1,type:"point",children:[]},{id:7,label:"新增用户",select:!1,type:"point",children:[]}]},{id:3,label:"菜单管理-(3)",select:!1,type:"function",children:[{id:13,label:"查看菜单",select:!1,type:"point",children:[]},{id:6,label:"新增功能点",select:!1,type:"point",children:[]},{id:5,label:"新增菜单",select:!1,type:"point",children:[]},{id:4,label:"新增系统",select:!1,type:"point",children:[]}]},{id:4,label:"角色管理-(4)",select:!1,type:"function",children:[{id:14,label:"查看角色",select:!1,type:"point",children:[]},{id:3,label:"删除角色",select:!1,type:"point",children:[]},{id:2,label:"编辑角色",select:!1,type:"point",children:[]},{id:1,label:"新增角色",select:!1,type:"point",children:[]}]}]}]},{id:1011,label:"京东仓储对接管理系统",select:!1,type:"application",children:[{id:1677,label:"入库管理-(1677)",select:!1,type:"function",children:[]},{id:1682,label:"京东生鲜授权-(1682)",select:!1,type:"function",children:[]},{id:1676,label:"京东商品分类管理-(1676)",select:!1,type:"function",children:[]},{id:2086,label:"库存盘点管理-(2086)",select:!1,type:"function",children:[]},{id:1672,label:"配货单管理-(1672)",select:!1,type:"function",children:[]},{id:2162,label:"报损管理-(2162)",select:!1,type:"function",children:[]},{id:2183,label:"报损管理-(2183)",select:!1,type:"function",children:[]},{id:1675,label:"京东商品关系管理-(1675)",select:!1,type:"function",children:[]}]},{id:100,label:"达令链管理系统",select:!1,type:"application",children:[{id:1440,label:"深圳福保系统-(1440)",select:!1,type:"function",children:[{id:1442,label:"订单管理-(1442)",select:!1,type:"function",children:[]},{id:1441,label:"入库管理-(1441)",select:!1,type:"function",children:[]}]},{id:100,label:"系统基础设置-(100)",select:!1,type:"function",children:[{id:101,label:"用户管理-(101)",select:!1,type:"function",children:[]},{id:102,label:"菜单管理-(102)",select:!1,type:"function",children:[]},{id:103,label:"角色权限-(103)",select:!1,type:"function",children:[]},{id:154,label:"表单任务设置-(154)",select:!1,type:"function",children:[]},{id:155,label:"任务审批者管理-(155)",select:!1,type:"function",children:[]},{id:106,label:"角色管理-(106)",select:!1,type:"function",children:[]},{id:107,label:"用户角色关系-(107)",select:!1,type:"function",children:[]},{id:108,label:"用户角色权限设置-(108)",select:!1,type:"function",children:[]},{id:109,label:"表单号管理-(109)",select:!1,type:"function",children:[]},{id:110,label:"币种设置及汇率-(110)",select:!1,type:"function",children:[]},{id:111,label:"自定义报表配置-(111)",select:!1,type:"function",children:[]},{id:1505,label:"岳威添加菜单-(1505)",select:!1,type:"function",children:[]},{id:1002,label:"系统权限分配预览-(1002)",select:!1,type:"function",children:[]},{id:105,label:"通用代码管理-(105)",select:!1,type:"function",children:[]},{id:104,label:"权限管理-(104)",select:!1,type:"function",children:[]},{id:153,label:"表单管理-(153)",select:!1,type:"function",children:[]}]},{id:150,label:"业务基础设置-(150)",select:!1,type:"function",children:[{id:151,label:"公司-(151)",select:!1,type:"function",children:[{id:2066,label:"批量删除公司",select:!1,type:"point",children:[]}]},{id:152,label:"合作伙伴管理-(152)",select:!1,type:"function",children:[]},{id:156,label:"品牌管理-(156)",select:!1,type:"function",children:[]},{id:157,label:"供应商维护-(157)",select:!1,type:"function",children:[]},{id:158,label:"品牌与供货商关系-(158)",select:!1,type:"function",children:[]},{id:159,label:"产品属性维护-(159)",select:!1,type:"function",children:[]},{id:160,label:"产品分类-(160)",select:!1,type:"function",children:[]},{id:161,label:"产品管理-(161)",select:!1,type:"function",children:[{id:5028,label:"无",select:!1,type:"point",children:[]},{id:5027,label:"Excel修改商品负责人",select:!1,type:"point",children:[]}]},{id:162,label:"组合产品管理-(162)",select:!1,type:"function",children:[]},{id:163,label:"销售渠道管理-(163)",select:!1,type:"function",children:[]},{id:164,label:"销售渠道和虚拟仓关系-(164)",select:!1,type:"function",children:[]},{id:165,label:"系统参数设置-(165)",select:!1,type:"function",children:[]},{id:166,label:"产品线-(166)",select:!1,type:"function",children:[]},{id:167,label:"产品管理(废弃)-(167)",select:!1,type:"function",children:[]},{id:168,label:"客户产品编码管理-(168)",select:!1,type:"function",children:[]},{id:169,label:"联系人及地址管理-(169)",select:!1,type:"function",children:[]},{id:170,label:"计量单位-(170)",select:!1,type:"function",children:[]},{id:171,label:"国家地区设置-(171)",select:!1,type:"function",children:[]},{id:172,label:"地址管理-(172)",select:!1,type:"function",children:[]},{id:173,label:"合作伙伴及地址联系人管理-(173)",select:!1,type:"function",children:[]},{id:174,label:"客户合作关系管理(第一版)-(174)",select:!1,type:"function",children:[]},{id:175,label:"客户联系人地址管理-(175)",select:!1,type:"function",children:[]},{id:176,label:"搜索分类管理-(176)",select:!1,type:"function",children:[]},{id:1142,label:"商品生产日期管理参数维护-(1142)",select:!1,type:"function",children:[]},{id:1455,label:"商品分类属性管理-(1455)",select:!1,type:"function",children:[]},{id:1573,label:"公告管理-(1573)",select:!1,type:"function",children:[]},{id:2073,label:"商品售价维护-(2073)",select:!1,type:"function",children:[]},{id:2074,label:"商品售价审核-(2074)",select:!1,type:"function",children:[]},{id:2072,label:"查询当前商品售价-(2072)",select:!1,type:"function",children:[]},{id:1246,label:"快递品牌维护-(1246)",select:!1,type:"function",children:[]},{id:1179,label:"成本域管理-(1179)",select:!1,type:"function",children:[]},{id:1538,label:"test-(1538)",select:!1,type:"function",children:[{id:1972,label:"审核",select:!1,type:"point",children:[]}]},{id:2060,label:"税收分类信息维护-(2060)",select:!1,type:"function",children:[]},{id:2062,label:"商品分类与税收分类对应关系维护-(2062)",select:!1,type:"function",children:[]},{id:2064,label:"新品税收分类确认-(2064)",select:!1,type:"function",children:[]},{id:2243,label:"智选快递-(2243)",select:!1,type:"function",children:[]},{id:1561,label:"公告管理-(1561)",select:!1,type:"function",children:[]},{id:2099,label:"查询当前商品售价-(2099)",select:!1,type:"function",children:[]},{id:1008,label:"物流属性设置-(1008)",select:!1,type:"function",children:[]},{id:1089,label:"供应商管理-(1089)",select:!1,type:"function",children:[]},{id:1244,label:"承运商信息维护-(1244)",select:!1,type:"function",children:[]},{id:1245,label:"承运商信息管理-(1245)",select:!1,type:"function",children:[]},{id:1100,label:"发货地址物流中心配置-(1100)",select:!1,type:"function",children:[]},{id:1468,label:"供应商员工管理-(1468)",select:!1,type:"function",children:[]},{id:1202,label:"郑州保税区商品备案-(1202)",select:!1,type:"function",children:[]},{id:1203,label:"深圳保税区商品备案-(1203)",select:!1,type:"function",children:[]}]},{id:200,label:"零售管理-(200)",select:!1,type:"function",children:[{id:201,label:"销售渠道库存保护-(201)",select:!1,type:"function",children:[]},{id:202,label:"代买账户管理-(202)",select:!1,type:"function",children:[]},{id:203,label:"零售订单维护-(203)",select:!1,type:"function",children:[{id:2027,label:"批量备注",select:!1,type:"point",children:[]},{id:1001,label:"新建",select:!1,type:"point",children:[]},{id:1e3,label:"列表查询",select:!1,type:"point",children:[]}]},{id:2037,label:"用户信息查看日志-(2037)",select:!1,type:"function",children:[]},{id:205,label:"淘宝铺货-(205)",select:!1,type:"function",children:[]},{id:206,label:"配货单管理-(206)",select:!1,type:"function",children:[{id:2031,label:"查看手机号",select:!1,type:"point",children:[]},{id:2021,label:"查询",select:!1,type:"point",children:[]},{id:2019,label:"批量修改签收状态",select:!1,type:"point",children:[]},{id:2018,label:"修改签收状态",select:!1,type:"point",children:[]}]},{id:207,label:"零售申诉单管理-(207)",select:!1,type:"function",children:[]},{id:208,label:"京东授权-(208)",select:!1,type:"function",children:[]},{id:209,label:"渠道铺货-(209)",select:!1,type:"function",children:[]},{id:210,label:"零售订单退换货申请-(210)",select:!1,type:"function",children:[{id:2186,label:"标记特殊退款",select:!1,type:"point",children:[]},{id:2185,label:"bug消除占位",select:!1,type:"point",children:[]}]},{id:211,label:"零售订单退换货管理-(211)",select:!1,type:"function",children:[{id:2033,label:"查看手机号",select:!1,type:"point",children:[]},{id:2242,label:"退换货/补偿单审核",select:!1,type:"point",children:[]}]},{id:1469,label:"零售订单查询-(1469)",select:!1,type:"function",children:[]},{id:2241,label:"补偿原因配置-(2241)",select:!1,type:"function",children:[]},{id:1685,label:"苏宁退换货管理-(1685)",select:!1,type:"function",children:[]},{id:1011,label:"渠道分销-(1011)",select:!1,type:"function",children:[]},{id:1116,label:"物流地址匹配-(1116)",select:!1,type:"function",children:[]},{id:1612,label:"老客订单维护-(1612)",select:!1,type:"function",children:[]},{id:204,label:"零售订单管理-(204)",select:!1,type:"function",children:[{id:2029,label:"查看手机号",select:!1,type:"point",children:[]},{id:2028,label:"查询列表",select:!1,type:"point",children:[]}]},{id:1209,label:"零售订单批量维护-(1209)",select:!1,type:"function",children:[]},{id:1234,label:"退货指令维护-(1234)",select:!1,type:"function",children:[]},{id:1367,label:"零售订单补偿款-(1367)",select:!1,type:"function",children:[{id:1003,label:"列表查询",select:!1,type:"point",children:[]}]},{id:212,label:"配货单保税价查询-(212)",select:!1,type:"function",children:[]},{id:1619,label:"渠道扣点配置-(1619)",select:!1,type:"function",children:[]},{id:1004,label:"退换货财务确认-(1004)",select:!1,type:"function",children:[]},{id:1003,label:"退换货客服确认-(1003)",select:!1,type:"function",children:[]},{id:2163,label:"供应商自主售后配置-(2163)",select:!1,type:"function",children:[]}]},{id:250,label:"采购管理-(250)",select:!1,type:"function",children:[{id:2222,label:"预售采购申请-(2222)",select:!1,type:"function",children:[]},{id:1175,label:"采购调整单管理-(1175)",select:!1,type:"function",children:[]},{id:253,label:"产品采购价格管理-(253)",select:!1,type:"function",children:[]},{id:254,label:"采购退货申请-(254)",select:!1,type:"function",children:[]},{id:255,label:"采购退货管理-(255)",select:!1,type:"function",children:[]},{id:256,label:"采购订单物流信息维护-(256)",select:!1,type:"function",children:[]},{id:1680,label:"预售审批-(1680)",select:!1,type:"function",children:[]},{id:1102,label:"采购价格维护-(1102)",select:!1,type:"function",children:[]},{id:1679,label:"预售申请-(1679)",select:!1,type:"function",children:[]},{id:1176,label:"采购调整单申请-(1176)",select:!1,type:"function",children:[]},{id:251,label:"零售采购申请-(251)",select:!1,type:"function",children:[]},{id:1103,label:"采购价格管理-(1103)",select:!1,type:"function",children:[]},{id:252,label:"零售采购管理-(252)",select:!1,type:"function",children:[]},{id:1104,label:"当前采购价格查询-(1104)",select:!1,type:"function",children:[]}]},{id:300,label:"库存管理-(300)",select:!1,type:"function",children:[{id:301,label:"虚拟仓库设置-(301)",select:!1,type:"function",children:[]},{id:302,label:"出入库单管理-(302)",select:!1,type:"function",children:[]},{id:303,label:"库存数量及成本查询-(303)",select:!1,type:"function",children:[]},{id:304,label:"库存盘点管理-(304)",select:!1,type:"function",children:[]},{id:305,label:"库存损益管理-(305)",select:!1,type:"function",children:[]},{id:306,label:"手动库存调整-(306)",select:!1,type:"function",children:[]},{id:307,label:"移库管理-(307)",select:!1,type:"function",children:[]},{id:308,label:"移库差异记录管理-(308)",select:!1,type:"function",children:[]},{id:309,label:"库存数量查询-(309)",select:!1,type:"function",children:[]},{id:310,label:"库存盘点查询-(310)",select:!1,type:"function",children:[]},{id:311,label:"移库查询-(311)",select:!1,type:"function",children:[]},{id:312,label:"出入库单查询-(312)",select:!1,type:"function",children:[]},{id:313,label:"库存损益查询-(313)",select:!1,type:"function",children:[]},{id:314,label:"在途库存明细-(314)",select:!1,type:"function",children:[]},{id:315,label:"借货管理-(315)",select:!1,type:"function",children:[]},{id:316,label:"借还货查询-(316)",select:!1,type:"function",children:[]},{id:1044,label:"库存调整管理[库房]-(1044)",select:!1,type:"function",children:[]},{id:1045,label:"库存调整管理[商务]-(1045)",select:!1,type:"function",children:[]},{id:1046,label:"库存调整管理[财务]-(1046)",select:!1,type:"function",children:[]},{id:1430,label:"其他出库单-(1430)",select:!1,type:"function",children:[]},{id:1001,label:"库存综合查询-(1001)",select:!1,type:"function",children:[{id:2161,label:"按查询条件导出/导出未质检明细",select:!1,type:"point",children:[]},{id:2162,label:"导出质检报告",select:!1,type:"point",children:[]}]},{id:1376,label:"供应商库存查询-(1376)",select:!1,type:"function",children:[]},{id:1377,label:"供应商库存异动明细-(1377)",select:!1,type:"function",children:[]},{id:1547,label:"商品自动补货建议-(1547)",select:!1,type:"function",children:[]},{id:1097,label:"商品补货参数设置-(1097)",select:!1,type:"function",children:[]},{id:1096,label:"日销量参数管理-(1096)",select:!1,type:"function",children:[]},{id:1092,label:"库存结存查询-(1092)",select:!1,type:"function",children:[]},{id:1431,label:"其他入库单-(1431)",select:!1,type:"function",children:[]},{id:1013,label:"库存异动查询-(1013)",select:!1,type:"function",children:[]}]},{id:350,label:"储运管理-(350)",select:!1,type:"function",children:[{id:351,label:"物流中心管理-(351)",select:!1,type:"function",children:[]}]},{id:400,label:"财务管理-(400)",select:!1,type:"function",children:[{id:401,label:"本组织银行账户设置-(401)",select:!1,type:"function",children:[]},{id:402,label:"应收明细管理-(402)",select:!1,type:"function",children:[]},{id:403,label:"应付明细管理-(403)",select:!1,type:"function",children:[]},{id:404,label:"应收发票勾稽管理-(404)",select:!1,type:"function",children:[]},{id:405,label:"销售发票登记-(405)",select:!1,type:"function",children:[]},{id:406,label:"应付发票勾稽管理-(406)",select:!1,type:"function",children:[]},{id:407,label:"供应商应付查询-(407)",select:!1,type:"function",children:[]},{id:408,label:"客户应收查询-(408)",select:!1,type:"function",children:[]},{id:409,label:"收款计划-(409)",select:!1,type:"function",children:[]},{id:410,label:"应收对账管理-(410)",select:!1,type:"function",children:[]},{id:411,label:"采购发票登记-(411)",select:!1,type:"function",children:[]},{id:412,label:"收款及核销预收管理-(412)",select:!1,type:"function",children:[]},{id:413,label:"预收款余额查询-(413)",select:!1,type:"function",children:[]},{id:414,label:"预收管理-(414)",select:!1,type:"function",children:[]},{id:1110,label:"自采应付单管理-(1110)",select:!1,type:"function",children:[]},{id:1161,label:"代销应付单管理-(1161)",select:!1,type:"function",children:[]},{id:1205,label:"结算单申请-(1205)",select:!1,type:"function",children:[]},{id:1204,label:"结算单管理-(1204)",select:!1,type:"function",children:[]},{id:1207,label:"付款单申请-(1207)",select:!1,type:"function",children:[]},{id:1206,label:"付款单管理-(1206)",select:!1,type:"function",children:[]},{id:1474,label:"CEO审核-(1474)",select:!1,type:"function",children:[]},{id:1475,label:"创始人审核-(1475)",select:!1,type:"function",children:[]},{id:1575,label:"供应商账户管理-(1575)",select:!1,type:"function",children:[]},{id:1620,label:"渠道对账-(1620)",select:!1,type:"function",children:[]},{id:1670,label:"苏宁应收明细-(1670)",select:!1,type:"function",children:[]},{id:1556,label:"供应商账户管理-(1556)",select:!1,type:"function",children:[]}]},{id:450,label:"人力资源-(450)",select:!1,type:"function",children:[{id:451,label:"部门管理-(451)",select:!1,type:"function",children:[]},{id:452,label:"员工管理-(452)",select:!1,type:"function",children:[]},{id:453,label:"个人信息管理-(453)",select:!1,type:"function",children:[]},{id:454,label:"日历设置-(454)",select:!1,type:"function",children:[]},{id:455,label:"系统用户与员工关系-(455)",select:!1,type:"function",children:[]},{id:456,label:"组织图-(456)",select:!1,type:"function",children:[]}]},{id:500,label:"数据授权与控制-(500)",select:!1,type:"function",children:[{id:502,label:"模块数据权限控制-(502)",select:!1,type:"function",children:[]},{id:503,label:"受控数据授权设置-(503)",select:!1,type:"function",children:[]},{id:501,label:"数据权限类型设置-(501)",select:!1,type:"function",children:[]}]},{id:550,label:"统计报表-(550)",select:!1,type:"function",children:[{id:551,label:"销售业绩统计-(551)",select:!1,type:"function",children:[]},{id:552,label:"月应收应付汇总-(552)",select:!1,type:"function",children:[]},{id:553,label:"月应收应付分类汇总-(553)",select:!1,type:"function",children:[]},{id:554,label:"四周平均销量趋势图-(554)",select:!1,type:"function",children:[]},{id:555,label:"报表手动触发统计-(555)",select:!1,type:"function",children:[]},{id:556,label:"销售日报表-(556)",select:!1,type:"function",children:[]},{id:557,label:"库存资产统计-(557)",select:!1,type:"function",children:[]},{id:558,label:"财务应收付报表-(558)",select:!1,type:"function",children:[]},{id:559,label:"财务实收付报表-(559)",select:!1,type:"function",children:[]},{id:560,label:"财务应收付报表-(560)",select:!1,type:"function",children:[]},{id:561,label:"销售业绩统计-(561)",select:!1,type:"function",children:[]},{id:563,label:"金蝶系统数据来源导出-(563)",select:!1,type:"function",children:[]},{id:564,label:"财务应收付统计图-(564)",select:!1,type:"function",children:[]},{id:565,label:"WOS报表-(565)",select:!1,type:"function",children:[]}]},{id:600,label:"RMA管理-(600)",select:!1,type:"function",children:[{id:601,label:"供应商RMA报关价格设置-(601)",select:!1,type:"function",children:[]},{id:602,label:"到货单管理-(602)",select:!1,type:"function",children:[]},{id:603,label:"客户RMA管理-(603)",select:!1,type:"function",children:[]},{id:604,label:"到货差异管理-(604)",select:!1,type:"function",children:[]},{id:605,label:"坏品管理-(605)",select:!1,type:"function",children:[]},{id:606,label:"RMA新品申请-(606)",select:!1,type:"function",children:[]},{id:607,label:"供应商RMA返货申请-(607)",select:!1,type:"function",children:[]},{id:608,label:"新品发货管理-(608)",select:!1,type:"function",children:[]},{id:609,label:"供应商RMA管理-(609)",select:!1,type:"function",children:[]},{id:610,label:"供应商RMA到货差异管理-(610)",select:!1,type:"function",children:[]},{id:611,label:"坏品管理(罗技)-(611)",select:!1,type:"function",children:[]},{id:612,label:"NPF单管理-(612)",select:!1,type:"function",children:[]}]},{id:650,label:"文库管理-(650)",select:!1,type:"function",children:[{id:651,label:"公文文库管理-(651)",select:!1,type:"function",children:[]},{id:652,label:"频道管理-(652)",select:!1,type:"function",children:[]},{id:653,label:"用户频道关系管理-(653)",select:!1,type:"function",children:[]}]},{id:700,label:"渠道销售管理-(700)",select:!1,type:"function",children:[{id:701,label:"客户银行账户设置-(701)",select:!1,type:"function",children:[]},{id:702,label:"客户运输条款设置-(702)",select:!1,type:"function",children:[]},{id:703,label:"询单管理-(703)",select:!1,type:"function",children:[]},{id:704,label:"产品销售价格管理-(704)",select:!1,type:"function",children:[]},{id:705,label:"产品销售价格管理(版本2)-(705)",select:!1,type:"function",children:[]},{id:706,label:"客户合作关系管理-(706)",select:!1,type:"function",children:[]},{id:707,label:"销售单管理-(707)",select:!1,type:"function",children:[]},{id:708,label:"产品出货价格管理-(708)",select:!1,type:"function",children:[]},{id:709,label:"销售单商务管理-(709)",select:!1,type:"function",children:[]},{id:710,label:"签收单管理-(710)",select:!1,type:"function",children:[]},{id:711,label:"销售单审批-(711)",select:!1,type:"function",children:[]},{id:712,label:"销售签收差异记录查询-(712)",select:!1,type:"function",children:[]},{id:713,label:"询单答复-(713)",select:!1,type:"function",children:[]},{id:714,label:"产品出货价格查询-(714)",select:!1,type:"function",children:[]},{id:715,label:"客户促销及市场支持-(715)",select:!1,type:"function",children:[]}]},{id:750,label:"渠道采购管理-(750)",select:!1,type:"function",children:[{id:751,label:"供应商合作关系管理-(751)",select:!1,type:"function",children:[]},{id:752,label:"供应商银行账户设置-(752)",select:!1,type:"function",children:[]},{id:753,label:"采购单管理(无效)-(753)",select:!1,type:"function",children:[]},{id:754,label:"采购单管理-(754)",select:!1,type:"function",children:[]},{id:755,label:"采购单申请-(755)",select:!1,type:"function",children:[]},{id:756,label:"采购行入库-(756)",select:!1,type:"function",children:[]},{id:757,label:"采购入库差异记录管理-(757)",select:!1,type:"function",children:[]},{id:758,label:"供应商价保-(758)",select:!1,type:"function",children:[]},{id:759,label:"供应商促销及市场支持-(759)",select:!1,type:"function",children:[]},{id:760,label:"供应商BackLog历史记录查询-(760)",select:!1,type:"function",children:[]},{id:761,label:"供应商转仓单历史记录查询-(761)",select:!1,type:"function",children:[]},{id:762,label:"供应商提货单历史记录查询-(762)",select:!1,type:"function",children:[]},{id:763,label:"采购行查询-(763)",select:!1,type:"function",children:[]},{id:764,label:"供应商促销审批-(764)",select:!1,type:"function",children:[]}]},{id:1215,label:"运营工具-(1215)",select:!1,type:"function",children:[{id:1216,label:"运营调整功能作业-(1216)",select:!1,type:"function",children:[]}]}]},{id:600,label:"达令VRM系统",select:!1,type:"application",children:[{id:2076,label:"活动管理-(2076)",select:!1,type:"function",children:[{id:2077,label:"活动管理(供应商)-(2077)",select:!1,type:"function",children:[{id:2070,label:"查询",select:!1,type:"point",children:[]}]}]},{id:2329,label:"报备-(2329)",select:!1,type:"function",children:[{id:2334,label:"报备-(2334)",select:!1,type:"function",children:[]}]},{id:1501,label:"对账单管理-(1501)",select:!1,type:"function",children:[{id:1503,label:"对账单查询-(1503)",select:!1,type:"function",children:[{id:1969,label:"查看发票明细",select:!1,type:"point",children:[]},{id:1959,label:"供应商查询",select:!1,type:"point",children:[]},{id:1958,label:"导出对账单",select:!1,type:"point",children:[]},{id:1957,label:"导出代销明细",select:!1,type:"point",children:[]},{id:1956,label:"提交对账",select:!1,type:"point",children:[]},{id:1955,label:"查看操作日志",select:!1,type:"point",children:[]},{id:1954,label:"查看代销明细",select:!1,type:"point",children:[]},{id:1953,label:"新增发票",select:!1,type:"point",children:[]},{id:1952,label:"查看详情",select:!1,type:"point",children:[]},{id:1951,label:"查询列表",select:!1,type:"point",children:[]}]},{id:1557,label:"账户余额-(1557)",select:!1,type:"function",children:[{id:1987,label:"余额提现",select:!1,type:"point",children:[]},{id:1986,label:"确认余额账单",select:!1,type:"point",children:[]},{id:1985,label:"操作日志",select:!1,type:"point",children:[]},{id:1984,label:"发票信息",select:!1,type:"point",children:[]},{id:1983,label:"业务数据",select:!1,type:"point",children:[]},{id:1982,label:"代销单据明细",select:!1,type:"point",children:[]},{id:1981,label:"概览",select:!1,type:"point",children:[]},{id:1980,label:"供应商下拉框",select:!1,type:"point",children:[]}]},{id:1559,label:"未出账单明细-(1559)",select:!1,type:"function",children:[{id:1991,label:"结果导出",select:!1,type:"point",children:[]},{id:1990,label:"查询列表",select:!1,type:"point",children:[]}]}]},{id:1217,label:"库存管理-(1217)",select:!1,type:"function",children:[{id:1218,label:"库存数量查询-(1218)",select:!1,type:"function",children:[]},{id:1454,label:"供应商自有库存管理-(1454)",select:!1,type:"function",children:[{id:1868,label:"上传修改库存",select:!1,type:"point",children:[]},{id:1867,label:"导出库存",select:!1,type:"point",children:[]},{id:1866,label:"查询日志",select:!1,type:"point",children:[]},{id:1865,label:"修改在库数",select:!1,type:"point",children:[]},{id:1864,label:"查询异动",select:!1,type:"point",children:[]},{id:1863,label:"查询",select:!1,type:"point",children:[]}]}]},{id:2297,label:"商品管理-(2297)",select:!1,type:"function",children:[{id:2298,label:"添加商品-(2298)",select:!1,type:"function",children:[]},{id:2299,label:"待审核商品-(2299)",select:!1,type:"function",children:[]},{id:2300,label:"我的商品库-(2300)",select:!1,type:"function",children:[]}]},{id:2080,label:"活动管理-(2080)",select:!1,type:"function",children:[{id:2081,label:"活动管理(供应商)-(2081)",select:!1,type:"function",children:[{id:2071,label:"查询",select:!1,type:"point",children:[]}]},{id:2182,label:"活动管理-(2182)",select:!1,type:"function",children:[]}]},{id:2082,label:"订单提示-(2082)",select:!1,type:"function",children:[{id:2083,label:"走件提示-(2083)",select:!1,type:"function",children:[{id:2076,label:"导出走件提示",select:!1,type:"point",children:[]},{id:2075,label:"查询走件提示",select:!1,type:"point",children:[]},{id:2072,label:"查询物流公司",select:!1,type:"point",children:[]}]},{id:2085,label:"揽收提示-(2085)",select:!1,type:"function",children:[{id:2080,label:"导出揽收提示",select:!1,type:"point",children:[]},{id:2079,label:"查询揽收提示",select:!1,type:"point",children:[]},{id:2074,label:"查询物流公司",select:!1,type:"point",children:[]}]},{id:2084,label:"发货提示-(2084)",select:!1,type:"function",children:[{id:2078,label:"导出发货提示",select:!1,type:"point",children:[]},{id:2077,label:"查询发货提示",select:!1,type:"point",children:[]},{id:2073,label:"查询物流公司",select:!1,type:"point",children:[]}]}]},{id:2342,label:"销售发票管理-(2342)",select:!1,type:"function",children:[{id:2344,label:"销售发票申请-(2344)",select:!1,type:"function",children:[]},{id:2343,label:"销售发票申请-(2343)",select:!1,type:"function",children:[]}]},{id:1418,label:"商品上新-(1418)",select:!1,type:"function",children:[{id:1419,label:"商品列表-(1419)",select:!1,type:"function",children:[]},{id:1420,label:"新品开发排期-(1420)",select:!1,type:"function",children:[]},{id:1426,label:"商品列表(商务)-(1426)",select:!1,type:"function",children:[]},{id:1427,label:"商品列表(运营)-(1427)",select:!1,type:"function",children:[{id:2026,label:"模板导出",select:!1,type:"point",children:[]},{id:2025,label:"批量导入商品上架信息",select:!1,type:"point",children:[]},{id:2024,label:"批量导出商品上架信息",select:!1,type:"point",children:[]}]},{id:1423,label:"新品上新状态(运营)-(1423)",select:!1,type:"function",children:[]},{id:1458,label:"商品提报(服装)-(1458)",select:!1,type:"function",children:[]},{id:1435,label:"商品提报-(1435)",select:!1,type:"function",children:[]},{id:1429,label:"图片批量上传-(1429)",select:!1,type:"function",children:[]},{id:1422,label:"新品上新状态(商务)-(1422)",select:!1,type:"function",children:[]},{id:1444,label:"商务选品-(1444)",select:!1,type:"function",children:[]},{id:1421,label:"新品开发-(1421)",select:!1,type:"function",children:[]},{id:1424,label:"新品上新状态(内容中心)-(1424)",select:!1,type:"function",children:[]},{id:1425,label:"商品列表(供应商)-(1425)",select:!1,type:"function",children:[]}]},{id:2179,label:"售后列表-(2179)",select:!1,type:"function",children:[{id:2180,label:"售后审核-(2180)",select:!1,type:"function",children:[{id:2252,label:"图片上传",select:!1,type:"point",children:[]},{id:2249,label:"查询备注",select:!1,type:"point",children:[]},{id:2217,label:"订单编号",select:!1,type:"point",children:[]},{id:2235,label:"导出",select:!1,type:"point",children:[]},{id:2216,label:"退货单号",select:!1,type:"point",children:[]},{id:2215,label:"增加备注",select:!1,type:"point",children:[]},{id:2214,label:"审核驳回",select:!1,type:"point",children:[]},{id:2213,label:"审核通过",select:!1,type:"point",children:[]}]},{id:2181,label:"收货确认-(2181)",select:!1,type:"function",children:[{id:2251,label:"图片上传",select:!1,type:"point",children:[]},{id:2250,label:"查询备注",select:!1,type:"point",children:[]},{id:2230,label:"订单编号",select:!1,type:"point",children:[]},{id:2229,label:"退货单号",select:!1,type:"point",children:[]},{id:2228,label:"增加备注",select:!1,type:"point",children:[]},{id:2227,label:"申请仲裁",select:!1,type:"point",children:[]},{id:2226,label:"确认收货",select:!1,type:"point",children:[]}]}]},{id:1432,label:"订单管理-(1432)",select:!1,type:"function",children:[{id:1434,label:"零售订单管理(国际)-(1434)",select:!1,type:"function",children:[{id:2082,label:"预警数据",select:!1,type:"point",children:[]},{id:2081,label:"超时数据",select:!1,type:"point",children:[]},{id:2047,label:"批量修改物流信息",select:!1,type:"point",children:[]},{id:2013,label:"查询所有上传物流单号结果(管理员专用)",select:!1,type:"point",children:[]},{id:2012,label:"删除上传物流单号结果ById(管理员专用)",select:!1,type:"point",children:[]},{id:2011,label:"查询上传物流单号结果ById(管理员专用)",select:!1,type:"point",children:[]},{id:2010,label:"查询上传物流单号结果",select:!1,type:"point",children:[]},{id:2001,label:"查看订单产品",select:!1,type:"point",children:[]},{id:1993,label:"下载身份证照片",select:!1,type:"point",children:[]},{id:1992,label:"是否有权限下载",select:!1,type:"point",children:[]},{id:1964,label:"查看物流信息",select:!1,type:"point",children:[]},{id:1946,label:"查看日志",select:!1,type:"point",children:[]},{id:1945,label:"出库",select:!1,type:"point",children:[]},{id:1878,label:"修改快递单号",select:!1,type:"point",children:[]},{id:1877,label:"查询快递信息",select:!1,type:"point",children:[]},{id:1876,label:"导入物流单号",select:!1,type:"point",children:[]},{id:1875,label:"导入发货明细",select:!1,type:"point",children:[]},{id:1874,label:"条件下载订单",select:!1,type:"point",children:[]},{id:1873,label:"条件下载订单",select:!1,type:"point",children:[]},{id:1872,label:"下载订单",select:!1,type:"point",children:[]},{id:1871,label:"取消",select:!1,type:"point",children:[]},{id:1870,label:"查看详情",select:!1,type:"point",children:[]},{id:1869,label:"查询列表",select:!1,type:"point",children:[]},{id:2110,label:"备注弹窗确认",select:!1,type:"point",children:[]}]},{id:1438,label:"零售订单管理(国内)-(1438)",select:!1,type:"function",children:[{id:2083,label:"超时数据",select:!1,type:"point",children:[]},{id:2084,label:"预警数据",select:!1,type:"point",children:[]},{id:2046,label:"批量修改物流信息",select:!1,type:"point",children:[]},{id:2017,label:"查询所有上传物流单号结果(管理员专用)",select:!1,type:"point",children:[]},{id:2016,label:"删除上传物流单号结果ById(管理员专用)",select:!1,type:"point",children:[]},{id:2015,label:"查询上传物流单号结果ById(管理员专用)",select:!1,type:"point",children:[]},{id:2014,label:"查询上传物流单号结果",select:!1,type:"point",children:[]},{id:2002,label:"查看订单产品",select:!1,type:"point",children:[]},{id:1965,label:"查看物流信息",select:!1,type:"point",children:[]},{id:1944,label:"查看日志",select:!1,type:"point",children:[]},{id:1943,label:"出库",select:!1,type:"point",children:[]},{id:1887,label:"修改快递单号",select:!1,type:"point",children:[]},{id:1886,label:"查询快递信息",select:!1,type:"point",children:[]},{id:1885,label:"导入物流单号",select:!1,type:"point",children:[]},{id:1884,label:"条件下载订单",select:!1,type:"point",children:[]},{id:1883,label:"条件下载订单",select:!1,type:"point",children:[]},{id:1882,label:"下载订单",select:!1,type:"point",children:[]},{id:1881,label:"取消",select:!1,type:"point",children:[]},{id:1880,label:"查看详情",select:!1,type:"point",children:[]},{id:1879,label:"查询列表",select:!1,type:"point",children:[]},{id:2109,label:"备注弹窗确认",select:!1,type:"point",children:[]}]},{id:2088,label:"零售订单管理(保税)-(2088)",select:!1,type:"function",children:[{id:2104,label:"点击备注",select:!1,type:"point",children:[]},{id:2103,label:"重推支付单",select:!1,type:"point",children:[]},{id:2102,label:"查看支付报关状态枚举",select:!1,type:"point",children:[]},{id:2101,label:"查询上传物流单号结果",select:!1,type:"point",children:[]},{id:2100,label:"查看物流信息",select:!1,type:"point",children:[]},{id:2099,label:"查看日志",select:!1,type:"point",children:[]},{id:2098,label:"出库",select:!1,type:"point",children:[]},{id:2097,label:"修改快递单号",select:!1,type:"point",children:[]},{id:2096,label:"查询快递信息",select:!1,type:"point",children:[]},{id:2095,label:"导入物流单号",select:!1,type:"point",children:[]},{id:2094,label:"下载全部订单(根据查询条件)",select:!1,type:"point",children:[]},{id:2093,label:"下载未发货订单",select:!1,type:"point",children:[]},{id:2092,label:"取消",select:!1,type:"point",children:[]},{id:2091,label:"查看详情",select:!1,type:"point",children:[]},{id:2090,label:"查询列表",select:!1,type:"point",children:[]},{id:2089,label:"批量修改物流信息",select:!1,type:"point",children:[]},{id:2243,label:"重推指定支付单",select:!1,type:"point",children:[]},{id:2108,label:"备注弹窗确认",select:!1,type:"point",children:[]}]}]},{id:1456,label:"注册审核-(1456)",select:!1,type:"function",children:[{id:1512,label:"注册审核(创始人)-(1512)",select:!1,type:"function",children:[{id:1929,label:"补充协议下载",select:!1,type:"point",children:[]},{id:1928,label:"合同下载",select:!1,type:"point",children:[]},{id:1927,label:"查询负责人",select:!1,type:"point",children:[]},{id:1926,label:"审核确认",select:!1,type:"point",children:[]},{id:1925,label:"查看详情",select:!1,type:"point",children:[]},{id:1924,label:"查询列表",select:!1,type:"point",children:[]}]},{id:1462,label:"注册审核(法务)-(1462)",select:!1,type:"function",children:[{id:1899,label:"补充协议下载",select:!1,type:"point",children:[]},{id:1898,label:"合同下载",select:!1,type:"point",children:[]},{id:1897,label:"查询负责人",select:!1,type:"point",children:[]},{id:1896,label:"审核确认",select:!1,type:"point",children:[]},{id:1895,label:"查看详情",select:!1,type:"point",children:[]},{id:1894,label:"查询列表",select:!1,type:"point",children:[]}]},{id:1463,label:"注册审核(财务)-(1463)",select:!1,type:"function",children:[{id:1905,label:"补充协议下载",select:!1,type:"point",children:[]},{id:1904,label:"合同下载",select:!1,type:"point",children:[]},{id:1903,label:"查询负责人",select:!1,type:"point",children:[]},{id:1902,label:"审核确认",select:!1,type:"point",children:[]},{id:1901,label:"查看详情",select:!1,type:"point",children:[]},{id:1900,label:"查询列表",select:!1,type:"point",children:[]}]},{id:1464,label:"注册审核(印章)-(1464)",select:!1,type:"function",children:[{id:1917,label:"补充协议下载",select:!1,type:"point",children:[]},{id:1916,label:"合同下载",select:!1,type:"point",children:[]},{id:1915,label:"查询负责人",select:!1,type:"point",children:[]},{id:1914,label:"审核确认",select:!1,type:"point",children:[]},{id:1913,label:"查看详情",select:!1,type:"point",children:[]},{id:1912,label:"查询列表",select:!1,type:"point",children:[]}]},{id:1461,label:"注册审核(商务)-(1461)",select:!1,type:"function",children:[{id:1893,label:"补充协议下载",select:!1,type:"point",children:[]},{id:1892,label:"合同下载",select:!1,type:"point",children:[]},{id:1891,label:"查询负责人",select:!1,type:"point",children:[]},{id:1890,label:"审核确认",select:!1,type:"point",children:[]},{id:1889,label:"查看详情",select:!1,type:"point",children:[]},{id:1888,label:"查询列表",select:!1,type:"point",children:[]}]},{id:1511,label:"注册审核(CEO)-(1511)",select:!1,type:"function",children:[{id:1923,label:"补充协议下载",select:!1,type:"point",children:[]},{id:1922,label:"合同下载",select:!1,type:"point",children:[]},{id:1921,label:"查询负责人",select:!1,type:"point",children:[]},{id:1920,label:"审核确认",select:!1,type:"point",children:[]},{id:1919,label:"查看详情",select:!1,type:"point",children:[]},{id:1918,label:"查询列表",select:!1,type:"point",children:[]}]},{id:1457,label:"注册审核-(1457)",select:!1,type:"function",children:[]},{id:1465,label:"注册审核(结算)-(1465)",select:!1,type:"function",children:[{id:1911,label:"补充协议下载",select:!1,type:"point",children:[]},{id:1910,label:"合同下载",select:!1,type:"point",children:[]},{id:1909,label:"查询负责人",select:!1,type:"point",children:[]},{id:1908,label:"审核确认",select:!1,type:"point",children:[]},{id:1907,label:"查看详情",select:!1,type:"point",children:[]},{id:1906,label:"查询列表",select:!1,type:"point",children:[]}]},{id:1467,label:"我的合同-(1467)",select:!1,type:"function",children:[{id:1935,label:"补充协议下载",select:!1,type:"point",children:[]},{id:1934,label:"合同下载",select:!1,type:"point",children:[]},{id:1933,label:"查询负责人",select:!1,type:"point",children:[]},{id:1932,label:"审核确认",select:!1,type:"point",children:[]},{id:1931,label:"查看详情",select:!1,type:"point",children:[]},{id:1930,label:"查询列表",select:!1,type:"point",children:[]}]},{id:2345,label:"注册审核(品控)-(2345)",select:!1,type:"function",children:[]}]},{id:1554,label:"退货管理-(1554)",select:!1,type:"function",children:[{id:1555,label:"退货查询-(1555)",select:!1,type:"function",children:[{id:1978,label:"导出详情",select:!1,type:"point",children:[]},{id:1976,label:"查看详情",select:!1,type:"point",children:[]},{id:1975,label:"查询列表",select:!1,type:"point",children:[]}]}]},{id:2034,label:"活动管理-(2034)",select:!1,type:"function",children:[{id:2035,label:"活动管理(供应商)-(2035)",select:!1,type:"function",children:[{id:2032,label:"查询",select:!1,type:"point",children:[]}]}]},{id:2247,label:"我的账号-(2247)",select:!1,type:"function",children:[{id:2248,label:"对接账号申请-(2248)",select:!1,type:"function",children:[]}]},{id:2269,label:"售后列表-(2269)",select:!1,type:"function",children:[]},{id:2272,label:"基础数据管理-(2272)",select:!1,type:"function",children:[{id:2273,label:"品牌管理-(2273)",select:!1,type:"function",children:[]},{id:2274,label:"供应商经营品牌管理-(2274)",select:!1,type:"function",children:[]}]},{id:1479,label:"供应商销售报表-(1479)",select:!1,type:"function",children:[{id:1480,label:"商务销售数据分析-(1480)",select:!1,type:"function",children:[]},{id:1481,label:"供应商销售数据分析-(1481)",select:!1,type:"function",children:[]}]},{id:2301,label:"价格管理-(2301)",select:!1,type:"function",children:[{id:2302,label:"采购价格管理-(2302)",select:!1,type:"function",children:[]},{id:2303,label:"当前采购价格查询-(2303)",select:!1,type:"function",children:[]}]},{id:2304,label:"商品管理-(2304)",select:!1,type:"function",children:[{id:2305,label:"添加商品-(2305)",select:!1,type:"function",children:[]},{id:2306,label:"待审核商品-(2306)",select:!1,type:"function",children:[]},{id:2307,label:"商品库-(2307)",select:!1,type:"function",children:[]},{id:2308,label:"商品审核-(2308)",select:!1,type:"function",children:[]},{id:2309,label:"组合商品管理-(2309)",select:!1,type:"function",children:[]}]},{id:2310,label:"商品上下架-(2310)",select:!1,type:"function",children:[{id:2311,label:"销售商品列表-(2311)",select:!1,type:"function",children:[]}]},{id:2068,label:"工单管理-(2068)",select:!1,type:"function",children:[{id:2069,label:"工单列表-(2069)",select:!1,type:"function",children:[]}]}]},{id:200,label:"达令报表管理系统",select:!1,type:"application",children:[{id:1014,label:"财务-(1014)",select:!1,type:"function",children:[{id:1015,label:"APP销售出库对账报表-(1015)",select:!1,type:"function",children:[]},{id:1042,label:"实时库存成本-(1042)",select:!1,type:"function",children:[]},{id:1051,label:"零售退货数据财务报表-(1051)",select:!1,type:"function",children:[]},{id:1052,label:"销售出库数据财务报表-(1052)",select:!1,type:"function",children:[]},{id:1372,label:"供应商状态-(1372)",select:!1,type:"function",children:[]},{id:1370,label:"供应商应付汇总-(1370)",select:!1,type:"function",children:[]},{id:1020,label:"APP支付平台对账报表-(1020)",select:!1,type:"function",children:[]},{id:1121,label:"支付宝(国际)退款数据-(1121)",select:!1,type:"function",children:[]},{id:1083,label:"财付通退款数据-(1083)",select:!1,type:"function",children:[]},{id:1365,label:"14年下半年收入成本(核算)-(1365)",select:!1,type:"function",children:[]},{id:1111,label:"自采账期可付款数据-(1111)",select:!1,type:"function",children:[]},{id:1040,label:"支付宝退款数据-(1040)",select:!1,type:"function",children:[]},{id:1364,label:"优惠券统计(核算)-(1364)",select:!1,type:"function",children:[]},{id:1084,label:"微信支付退款数据-(1084)",select:!1,type:"function",children:[]},{id:1055,label:"低支付金额订单-(1055)",select:!1,type:"function",children:[]},{id:1079,label:"采购入库数据财务报表-(1079)",select:!1,type:"function",children:[]},{id:1053,label:"采购退货数据财务报表-(1053)",select:!1,type:"function",children:[]},{id:1213,label:"收入成本报表(核算)-(1213)",select:!1,type:"function",children:[]},{id:1214,label:"进销存报表(核算)-(1214)",select:!1,type:"function",children:[]},{id:1187,label:"历史进销存数据统计-(1187)",select:!1,type:"function",children:[]},{id:1385,label:"财务已退数据-(1385)",select:!1,type:"function",children:[]},{id:1384,label:"15年收入成本数据-(1384)",select:!1,type:"function",children:[]},{id:1219,label:"供应商库存分析表-(1219)",select:!1,type:"function",children:[]},{id:1125,label:"产品分类每日数据报表-(1125)",select:!1,type:"function",children:[]},{id:1118,label:"GMV经营分析报表-(1118)",select:!1,type:"function",children:[]}]},{id:1016,label:"商务-(1016)",select:!1,type:"function",children:[{id:1482,label:"测试报表-(1482)",select:!1,type:"function",children:[]},{id:1041,label:"产品销量-(1041)",select:!1,type:"function",children:[]},{id:1036,label:"TOP20销售城市-(1036)",select:!1,type:"function",children:[]},{id:1098,label:"保税订单交税比对基础数据-(1098)",select:!1,type:"function",children:[]},{id:1108,label:"销售货品TOP100(销售量)-(1108)",select:!1,type:"function",children:[]},{id:1109,label:"销售货品TOP100(销售额)-(1109)",select:!1,type:"function",children:[]},{id:1123,label:"大客户信息查询-(1123)",select:!1,type:"function",children:[]},{id:1114,label:"组合商品库存查询-(1114)",select:!1,type:"function",children:[]},{id:1231,label:"全球零食效期预警有效期天数大于180天-(1231)",select:!1,type:"function",children:[]},{id:1132,label:"组合商品补货参照表-(1132)",select:!1,type:"function",children:[]},{id:1232,label:"全球零食效期预警有效期天数小于180天-(1232)",select:!1,type:"function",children:[]},{id:1149,label:"达令仓产品未发货订单列表-(1149)",select:!1,type:"function",children:[]},{id:1135,label:"ADMIN与ERP库存差异明细-(1135)",select:!1,type:"function",children:[]},{id:1120,label:"SKU在库、订货、调拨、出库明细-(1120)",select:!1,type:"function",children:[]},{id:1233,label:"极致美护距离允售期6个月商品信息-(1233)",select:!1,type:"function",children:[]},{id:1263,label:"虚拟仓发货退货入库明细-(1263)",select:!1,type:"function",children:[]},{id:1261,label:"零售退货原因明细查询-(1261)",select:!1,type:"function",children:[]},{id:1034,label:"郑州保税区进销存-(1034)",select:!1,type:"function",children:[]},{id:1150,label:"需商务同事确认库存调整单明细-(1150)",select:!1,type:"function",children:[]},{id:1017,label:"盘点待商务确认数据-(1017)",select:!1,type:"function",children:[]},{id:1177,label:"渠道数据统计任务-(1177)",select:!1,type:"function",children:[]},{id:1626,label:"test-(1626)",select:!1,type:"function",children:[]},{id:1200,label:"深圳服装未发货订单列表-(1200)",select:!1,type:"function",children:[]}]},{id:1018,label:"物流-(1018)",select:!1,type:"function",children:[{id:1255,label:"郑州保税出库明细(中通)-(1255)",select:!1,type:"function",children:[]},{id:1146,label:"配货单超时-(1146)",select:!1,type:"function",children:[]},{id:1077,label:"郑州保税出库明细(EMS)-(1077)",select:!1,type:"function",children:[]},{id:1050,label:"发货单明细统计表-(1050)",select:!1,type:"function",children:[]},{id:1048,label:"采购退货出库明细统计-(1048)",select:!1,type:"function",children:[]},{id:1059,label:"iphone订单出库-(1059)",select:!1,type:"function",children:[]},{id:1047,label:"移仓商品明细统计-(1047)",select:!1,type:"function",children:[]},{id:1122,label:"郑州保税出库明细(申通)-(1122)",select:!1,type:"function",children:[]},{id:1129,label:"推送非保税-(1129)",select:!1,type:"function",children:[]},{id:1113,label:"库存调整单明细查询-(1113)",select:!1,type:"function",children:[]},{id:1127,label:"在库SKU及数量对比-(1127)",select:!1,type:"function",children:[]},{id:1124,label:"8月1日起新入库sku及数量对比-(1124)",select:!1,type:"function",children:[]},{id:1126,label:"9月1日起新入库sku及数量对比-(1126)",select:!1,type:"function",children:[]},{id:1128,label:"创建未推送-(1128)",select:!1,type:"function",children:[]},{id:1119,label:"保税无法创建拣货单明细-(1119)",select:!1,type:"function",children:[]},{id:1019,label:"宅急送信息统计-(1019)",select:!1,type:"function",children:[]},{id:1130,label:"放行未发货-(1130)",select:!1,type:"function",children:[]},{id:1683,label:"京东库存及销量报表-(1683)",select:!1,type:"function",children:[]},{id:1112,label:"盘点调整数据统计查询-(1112)",select:!1,type:"function",children:[]},{id:1049,label:"采购入库明细统计-(1049)",select:!1,type:"function",children:[]},{id:1153,label:"长期未放行-(1153)",select:!1,type:"function",children:[]},{id:1082,label:"实时库存数量(小于20)-(1082)",select:!1,type:"function",children:[]},{id:1155,label:"拣货统计-(1155)",select:!1,type:"function",children:[]},{id:1264,label:"保税区订单明细-(1264)",select:!1,type:"function",children:[]},{id:1154,label:"入库时效报表-(1154)",select:!1,type:"function",children:[]},{id:1156,label:"分拣扫描统计-(1156)",select:!1,type:"function",children:[]},{id:1210,label:"郑州退件订单明细报表-(1210)",select:!1,type:"function",children:[]},{id:1191,label:"回架查询-(1191)",select:!1,type:"function",children:[]},{id:1091,label:"快递提货明细的统计报表-(1091)",select:!1,type:"function",children:[]},{id:1197,label:"当天疑似刷单数据-(1197)",select:!1,type:"function",children:[]},{id:1373,label:"拣货单批次监控-(1373)",select:!1,type:"function",children:[]},{id:1033,label:"物流数据统计-(1033)",select:!1,type:"function",children:[]},{id:1160,label:"活动平行仓数据-(1160)",select:!1,type:"function",children:[]}]},{id:1021,label:"COD-(1021)",select:!1,type:"function",children:[{id:1023,label:"COD价格区间数据统计-(1023)",select:!1,type:"function",children:[]},{id:1028,label:"无效COD地区数据统计-(1028)",select:!1,type:"function",children:[]},{id:1024,label:"COD一级分类统计-(1024)",select:!1,type:"function",children:[]},{id:1107,label:"北京仓COD订单数据-(1107)",select:!1,type:"function",children:[]},{id:1106,label:"杭州仓COD订单数据-(1106)",select:!1,type:"function",children:[]},{id:1029,label:"异常COD订单统计-(1029)",select:!1,type:"function",children:[]},{id:1025,label:"COD用户数据统计-(1025)",select:!1,type:"function",children:[]},{id:1027,label:"COD地区数据统计-(1027)",select:!1,type:"function",children:[]},{id:1031,label:"COD订单数据-(1031)",select:!1,type:"function",children:[]},{id:1022,label:"COD订单统计-(1022)",select:!1,type:"function",children:[]},{id:1026,label:"COD异常订单统计-(1026)",select:!1,type:"function",children:[]},{id:1030,label:"正常COD订单统计-(1030)",select:!1,type:"function",children:[]}]},{id:1037,label:"客服-(1037)",select:!1,type:"function",children:[{id:1060,label:"保税区订单(收货人手机号)-(1060)",select:!1,type:"function",children:[]},{id:1039,label:"订单缺货信息-(1039)",select:!1,type:"function",children:[]},{id:1381,label:"未发货销退的操作时间-(1381)",select:!1,type:"function",children:[]},{id:1090,label:"草稿超卖数据-(1090)",select:!1,type:"function",children:[]},{id:1038,label:"退货客服确认数据-(1038)",select:!1,type:"function",children:[]},{id:1088,label:"退款数据-(1088)",select:!1,type:"function",children:[]},{id:1383,label:"已发货销退的操作时间-(1383)",select:!1,type:"function",children:[]}]},{id:1093,label:"渠道-(1093)",select:!1,type:"function",children:[{id:1115,label:"淘宝渠道所需app收货地址信息-(1115)",select:!1,type:"function",children:[]},{id:1094,label:"达令心潮旗舰店活动数据-(1094)",select:!1,type:"function",children:[]}]},{id:1080,label:"仓库-(1080)",select:!1,type:"function",children:[{id:1240,label:"入库差异报表(少到货)-(1240)",select:!1,type:"function",children:[]},{id:1086,label:"顺义总仓库存库位数据-(1086)",select:!1,type:"function",children:[]},{id:1178,label:"仓库物流地址查询-(1178)",select:!1,type:"function",children:[]},{id:1252,label:"随单礼二周内复购数据-(1252)",select:!1,type:"function",children:[]},{id:1186,label:"超卖报表(杭州、郑州)-(1186)",select:!1,type:"function",children:[]},{id:1230,label:"库位商品生产日期-(1230)",select:!1,type:"function",children:[]},{id:1235,label:"随单礼数据报表-(1235)",select:!1,type:"function",children:[]},{id:1251,label:"随单礼一周内复购数据-(1251)",select:!1,type:"function",children:[]},{id:1117,label:"零件区无货大货区有货的SKU-(1117)",select:!1,type:"function",children:[]},{id:1105,label:"超卖报表(顺义仓)-(1105)",select:!1,type:"function",children:[]},{id:1101,label:"顺义仓零拣货架补货指引-(1101)",select:!1,type:"function",children:[]},{id:1095,label:"顺义仓库盘点工作量统计-(1095)",select:!1,type:"function",children:[]},{id:1087,label:"当天出库SKU库位及库存数据-(1087)",select:!1,type:"function",children:[]},{id:1208,label:"查询库位库存为0的库位-(1208)",select:!1,type:"function",children:[]},{id:1081,label:"非正常扫描出库记录-(1081)",select:!1,type:"function",children:[]},{id:1375,label:"盘点差异记录-(1375)",select:!1,type:"function",children:[]},{id:1159,label:"仓库出库top1500商品-(1159)",select:!1,type:"function",children:[]}]},{id:1265,label:"保税区监控-(1265)",select:!1,type:"function",children:[{id:1268,label:"(郑州)海关入库失败-(1268)",select:!1,type:"function",children:[]},{id:1352,label:"(深圳)保税区未发送-(1352)",select:!1,type:"function",children:[]},{id:1271,label:"(郑州)税已放行、ERP状态不是新建-(1271)",select:!1,type:"function",children:[]},{id:1348,label:"(深圳)支付调用预警-(1348)",select:!1,type:"function",children:[]},{id:1354,label:"(深圳)超过24小时订单状态还是报文已发送-(1354)",select:!1,type:"function",children:[]},{id:1266,label:"(郑州)配货单草稿状态推送保税区超时-(1266)",select:!1,type:"function",children:[]},{id:1269,label:"(郑州)报文生成失败-(1269)",select:!1,type:"function",children:[]},{id:1353,label:"(深圳)海关报关推送失败-(1353)",select:!1,type:"function",children:[]},{id:1345,label:"(深圳)税已放行、ERP状态不是新建-(1345)",select:!1,type:"function",children:[]},{id:1351,label:"(深圳)海关入库失败-(1351)",select:!1,type:"function",children:[]},{id:1346,label:"(深圳)配货单草稿状态推送保税区超时-(1346)",select:!1,type:"function",children:[]},{id:1272,label:"(郑州)支付调用预警-(1272)",select:!1,type:"function",children:[]},{id:1347,label:"(深圳)24小时未确认-(1347)",select:!1,type:"function",children:[]},{id:1349,label:"(深圳)入库成功超时未获取快递单-(1349)",select:!1,type:"function",children:[]},{id:1267,label:"(郑州)保税区未发送-(1267)",select:!1,type:"function",children:[]},{id:1270,label:"(郑州)入库成功超时未获取快递单-(1270)",select:!1,type:"function",children:[]},{id:1273,label:"(郑州)24小时未确认-(1273)",select:!1,type:"function",children:[]},{id:1350,label:"(深圳)报文生成失败-(1350)",select:!1,type:"function",children:[]}]},{id:1380,label:"销退的操作时间-(1380)",select:!1,type:"function",children:[]},{id:1378,label:"会员钱包-(1378)",select:!1,type:"function",children:[{id:1639,label:"订单明细-(1639)",select:!1,type:"function",children:[]},{id:1379,label:"会员钱包每日损益-(1379)",select:!1,type:"function",children:[]},{id:1587,label:"订单明细-(1587)",select:!1,type:"function",children:[]}]},{id:1382,label:"销退-(1382)",select:!1,type:"function",children:[]},{id:1167,label:"计件报表-(1167)",select:!1,type:"function",children:[{id:1169,label:"ID号拣货件数查询-(1169)",select:!1,type:"function",children:[]},{id:1173,label:"ID拣货件数18-24查询-(1173)",select:!1,type:"function",children:[]},{id:1174,label:"ID扫描单数18-24查询-(1174)",select:!1,type:"function",children:[]},{id:1170,label:"ID分拣扫描件数查询-(1170)",select:!1,type:"function",children:[]},{id:1168,label:"出库件数-(1168)",select:!1,type:"function",children:[]},{id:1172,label:"ID出库扫描单数查询-(1172)",select:!1,type:"function",children:[]},{id:1243,label:"ID号清点件数查询-(1243)",select:!1,type:"function",children:[]},{id:1242,label:"ID号上架件数查询-(1242)",select:!1,type:"function",children:[]},{id:1248,label:"ID号清点件数查询(10月26日之前)-(1248)",select:!1,type:"function",children:[]},{id:1241,label:"ID号出库件数查询-(1241)",select:!1,type:"function",children:[]},{id:1247,label:"ID号上架件数查询(10月26日之前)-(1247)",select:!1,type:"function",children:[]}]}]},{id:2300,label:"客服体验中心",select:!1,type:"application",children:[{id:2057,label:"销售发票管理-(2057)",select:!1,type:"function",children:[{id:2059,label:"余票预警-(2059)",select:!1,type:"function",children:[]},{id:2058,label:"销售发票查询-(2058)",select:!1,type:"function",children:[{id:2053,label:"导出发票列表",select:!1,type:"point",children:[]},{id:2052,label:"查询发票列表",select:!1,type:"point",children:[]},{id:2040,label:"申请开票",select:!1,type:"point",children:[]},{id:2182,label:"导出匹配税收分类失败商品明细到EXCEL",select:!1,type:"point",children:[]}]}]},{id:2137,label:"品控管理-(2137)",select:!1,type:"function",children:[{id:2140,label:"活动质检任务管理-(2140)",select:!1,type:"function",children:[{id:2164,label:"导入质检报告",select:!1,type:"point",children:[]},{id:2163,label:"导入质检结果",select:!1,type:"point",children:[]}]},{id:2139,label:"活动供应商白名单-(2139)",select:!1,type:"function",children:[{id:2160,label:"新增",select:!1,type:"point",children:[]},{id:2159,label:"失效",select:!1,type:"point",children:[]},{id:2158,label:"修改",select:!1,type:"point",children:[]}]},{id:2138,label:"活动质检分类-(2138)",select:!1,type:"function",children:[{id:2157,label:"新增",select:!1,type:"point",children:[]},{id:2156,label:"失效",select:!1,type:"point",children:[]},{id:2155,label:"编辑",select:!1,type:"point",children:[]}]},{id:2232,label:"新增类目资质-(2232)",select:!1,type:"function",children:[{id:2240,label:"删除",select:!1,type:"point",children:[]},{id:2241,label:"新增",select:!1,type:"point",children:[]},{id:2239,label:"修改",select:!1,type:"point",children:[]}]},{id:2249,label:"维护类目资质关系-(2249)",select:!1,type:"function",children:[]},{id:2231,label:"维护类目资质关系-(2231)",select:!1,type:"function",children:[{id:2238,label:"新增",select:!1,type:"point",children:[]},{id:2237,label:"删除",select:!1,type:"point",children:[]},{id:2236,label:"编辑",select:!1,type:"point",children:[]}]},{id:2250,label:"新增类目资质-(2250)",select:!1,type:"function",children:[]}]},{id:2172,label:"零售管理-(2172)",select:!1,type:"function",children:[{id:2318,label:"补偿单申诉-(2318)",select:!1,type:"function",children:[]},{id:2315,label:"赔付原因配置-(2315)",select:!1,type:"function",children:[]},{id:2176,label:"售后单审核(平台售后)-(2176)",select:!1,type:"function",children:[{id:2225,label:"审核",select:!1,type:"point",children:[]}]},{id:2174,label:"售后单管理-(2174)",select:!1,type:"function",children:[{id:2224,label:"编辑",select:!1,type:"point",children:[]},{id:2223,label:"撤回",select:!1,type:"point",children:[]},{id:2222,label:"取消",select:!1,type:"point",children:[]},{id:2221,label:"提交",select:!1,type:"point",children:[]}]},{id:2316,label:"补偿单管理-(2316)",select:!1,type:"function",children:[]},{id:2317,label:"补偿单审核-(2317)",select:!1,type:"function",children:[]},{id:2173,label:"零售订单维护-(2173)",select:!1,type:"function",children:[{id:2198,label:"撤回",select:!1,type:"point",children:[]},{id:2196,label:"提交",select:!1,type:"point",children:[]},{id:2203,label:"退货申请审批或保存草稿",select:!1,type:"point",children:[]},{id:2195,label:"批量新建零售订单",select:!1,type:"point",children:[]},{id:2200,label:"修改物流信息",select:!1,type:"point",children:[]},{id:2202,label:"确定退货",select:!1,type:"point",children:[]},{id:2199,label:"登记备注",select:!1,type:"point",children:[]},{id:2197,label:"取消",select:!1,type:"point",children:[]},{id:2192,label:"查看订单详情",select:!1,type:"point",children:[]},{id:2189,label:"批量备注",select:!1,type:"point",children:[]},{id:2187,label:"查询",select:!1,type:"point",children:[]},{id:2191,label:"查看支付记录",select:!1,type:"point",children:[]},{id:2190,label:"查看操作日志",select:!1,type:"point",children:[]},{id:2193,label:"订单申请审批或保存草稿",select:!1,type:"point",children:[]},{id:2188,label:"下载批量备注模版",select:!1,type:"point",children:[]},{id:2194,label:"下载零售订单模版",select:!1,type:"point",children:[]}]},{id:2175,label:"售后单管理(商家售后)-(2175)",select:!1,type:"function",children:[{id:2220,label:"仲裁",select:!1,type:"point",children:[]},{id:2219,label:"销售单号",select:!1,type:"point",children:[]},{id:2218,label:"单据编码",select:!1,type:"point",children:[]}]}]},{id:2040,label:"IM帮助中心-(2040)",select:!1,type:"function",children:[{id:2041,label:"公告设置-(2041)",select:!1,type:"function",children:[]},{id:2165,label:"投诉单管理-(2165)",select:!1,type:"function",children:[{id:2173,label:"处理投诉单",select:!1,type:"point",children:[]},{id:2172,label:"联系电话查看",select:!1,type:"point",children:[]},{id:2171,label:"校验领取投诉单",select:!1,type:"point",children:[]},{id:2170,label:"投诉单查看",select:!1,type:"point",children:[]},{id:2169,label:"释放",select:!1,type:"point",children:[]},{id:2168,label:"领取",select:!1,type:"point",children:[]},{id:2167,label:"导出",select:!1,type:"point",children:[]},{id:2166,label:"列表",select:!1,type:"point",children:[]}]},{id:2166,label:"用户反馈管理-(2166)",select:!1,type:"function",children:[{id:2181,label:"联系电话查看",select:!1,type:"point",children:[]},{id:2180,label:"校验领取投诉单",select:!1,type:"point",children:[]},{id:2179,label:"处理用户反馈",select:!1,type:"point",children:[]},{id:2178,label:"用户反馈查看",select:!1,type:"point",children:[]},{id:2177,label:"释放",select:!1,type:"point",children:[]},{id:2176,label:"领取",select:!1,type:"point",children:[]},{id:2175,label:"导出",select:!1,type:"point",children:[]},{id:2174,label:"列表",select:!1,type:"point",children:[]}]},{id:2042,label:"帮助中心设置-(2042)",select:!1,type:"function",children:[]},{id:2043,label:"问题分类设置-(2043)",select:!1,type:"function",children:[]}]},{id:2030,label:"工单-(2030)",select:!1,type:"function",children:[{id:2032,label:"待完结工单-(2032)",select:!1,type:"function",children:[]},{id:2031,label:"全部工单-(2031)",select:!1,type:"function",children:[]},{id:2033,label:"工单问题配置-(2033)",select:!1,type:"function",children:[]},{id:2070,label:"工单大盘(管理员)-(2070)",select:!1,type:"function",children:[]},{id:2050,label:"用户诉求配置-(2050)",select:!1,type:"function",children:[]},{id:2071,label:"工单大盘(个人)-(2071)",select:!1,type:"function",children:[]}]},{id:2024,label:"综合查询-(2024)",select:!1,type:"function",children:[{id:2029,label:"短信查询-(2029)",select:!1,type:"function",children:[]},{id:2027,label:"商品信息查询-(2027)",select:!1,type:"function",children:[]},{id:2025,label:"账户信息查询-(2025)",select:!1,type:"function",children:[{id:2069,label:"查看手机号",select:!1,type:"point",children:[]}]},{id:2026,label:"单据信息查询-(2026)",select:!1,type:"function",children:[{id:2088,label:"无",select:!1,type:"point",children:[]},{id:2087,label:"查看手机号",select:!1,type:"point",children:[]}]},{id:2028,label:"好字在口令查询-(2028)",select:!1,type:"function",children:[]}]},{id:2215,label:"CDS评价系统-(2215)",select:!1,type:"function",children:[{id:2216,label:"评价管理-(2216)",select:!1,type:"function",children:[{id:2254,label:"是否展示",select:!1,type:"point",children:[]},{id:2234,label:"详情",select:!1,type:"point",children:[]}]}]}]},{id:2100,label:"达令家系统",select:!1,type:"application",children:[{id:2141,label:"品控管理-(2141)",select:!1,type:"function",children:[{id:2144,label:"活动质检任务管理-(2144)",select:!1,type:"function",children:[]},{id:2143,label:"活动供应商白名单-(2143)",select:!1,type:"function",children:[]},{id:2142,label:"活动质检分类-(2142)",select:!1,type:"function",children:[]},{id:2251,label:"新增类目资质-(2251)",select:!1,type:"function",children:[]},{id:2252,label:"维护类目资质关系-(2252)",select:!1,type:"function",children:[]},{id:2234,label:"维护类目资质关系-(2234)",select:!1,type:"function",children:[]},{id:2233,label:"新增类目资质-(2233)",select:!1,type:"function",children:[]}]},{id:1664,label:"搜索管理-(1664)",select:!1,type:"function",children:[{id:2019,label:"关键词类目管理-(2019)",select:!1,type:"function",children:[]},{id:2039,label:"专题搜索关键词管理-(2039)",select:!1,type:"function",children:[]},{id:2339,label:"排序权重-(2339)",select:!1,type:"function",children:[]},{id:2340,label:"排序得分-(2340)",select:!1,type:"function",children:[]},{id:2056,label:"关键词类目管理-(2056)",select:!1,type:"function",children:[]},{id:2055,label:"关键词类目管理-(2055)",select:!1,type:"function",children:[]},{id:1665,label:"相近词库-(1665)",select:!1,type:"function",children:[]},{id:2038,label:"搜索标签管理-(2038)",select:!1,type:"function",children:[]}]},{id:2011001,label:"活动管理-(2011001)",select:!1,type:"function",children:[{id:2011002,label:"活动管理(平台运营)-(2011002)",select:!1,type:"function",children:[]},{id:2087,label:"活动商品审核-(2087)",select:!1,type:"function",children:[]},{id:2011003,label:"活动管理(品类运营)-(2011003)",select:!1,type:"function",children:[]}]},{id:2224,label:"用户达令币-(2224)",select:!1,type:"function",children:[{id:2225,label:"用户达令币流水-(2225)",select:!1,type:"function",children:[]},{id:2226,label:"用户达令币管理-(2226)",select:!1,type:"function",children:[]}]},{id:2006,label:"用户渠道管理-(2006)",select:!1,type:"function",children:[{id:2018,label:"店主管理-(2018)",select:!1,type:"function",children:[]},{id:2012,label:"VIP管理-(2012)",select:!1,type:"function",children:[]},{id:1684,label:"用户黑名单管理-(1684)",select:!1,type:"function",children:[]},{id:2009,label:"渠道管理-(2009)",select:!1,type:"function",children:[]},{id:2008,label:"用户管理-(2008)",select:!1,type:"function",children:[]},{id:2010,label:"banner管理-(2010)",select:!1,type:"function",children:[]},{id:2011,label:"aaa店主管理-(2011)",select:!1,type:"function",children:[]},{id:1691,label:"用户黑名单管理-(1691)",select:!1,type:"function",children:[]}]},{id:2217,label:"商学院-(2217)",select:!1,type:"function",children:[{id:2219,label:"课程标签-(2219)",select:!1,type:"function",children:[]},{id:2220,label:"课程列表-(2220)",select:!1,type:"function",children:[]},{id:2218,label:"课程分类-(2218)",select:!1,type:"function",children:[]}]},{id:2227,label:"分享活动管理-(2227)",select:!1,type:"function",children:[{id:2228,label:"分享活动列表-(2228)",select:!1,type:"function",children:[]},{id:2230,label:"红包发放统计-(2230)",select:!1,type:"function",children:[]},{id:2229,label:"订单红包规则设置-(2229)",select:!1,type:"function",children:[]}]},{id:1697,label:"消息管理-(1697)",select:!1,type:"function",children:[]},{id:2005,label:"商品管理-(2005)",select:!1,type:"function",children:[{id:2105,label:"助力商品管理-(2105)",select:!1,type:"function",children:[]},{id:2221,label:"智能商品库-(2221)",select:!1,type:"function",children:[]},{id:1658,label:"上架商品监控-(1658)",select:!1,type:"function",children:[]},{id:2007,label:"商品上下架管理-(2007)",select:!1,type:"function",children:[]},{id:2066,label:"精选商品列表页配置-(2066)",select:!1,type:"function",children:[]},{id:2075,label:"当前售价查询-(2075)",select:!1,type:"function",children:[]}]},{id:1627,label:"营销管理-(1627)",select:!1,type:"function",children:[{id:1651,label:"客服补偿代金券-(1651)",select:!1,type:"function",children:[]},{id:1693,label:"专题搜索关键词管理-(1693)",select:!1,type:"function",children:[]},{id:1645,label:"物流信息提示管理-(1645)",select:!1,type:"function",children:[]},{id:1690,label:"PK活动管理-(1690)",select:!1,type:"function",children:[]},{id:1689,label:"运费管理-(1689)",select:!1,type:"function",children:[]},{id:1688,label:"搜索标签管理-(1688)",select:!1,type:"function",children:[]},{id:1681,label:"预售审批-(1681)",select:!1,type:"function",children:[]},{id:1678,label:"运费管理-(1678)",select:!1,type:"function",children:[]},{id:1666,label:"运营分类管理-(1666)",select:!1,type:"function",children:[]},{id:1628,label:"标签管理-(1628)",select:!1,type:"function",children:[]},{id:1644,label:"频道管理-(1644)",select:!1,type:"function",children:[]},{id:1663,label:"时间轴管理-(1663)",select:!1,type:"function",children:[]},{id:1674,label:"运费管理-(1674)",select:!1,type:"function",children:[]},{id:1662,label:"物流配置管理-(1662)",select:!1,type:"function",children:[]},{id:1659,label:"物流配置管理-(1659)",select:!1,type:"function",children:[]},{id:1629,label:"商品标签关系管理-(1629)",select:!1,type:"function",children:[]},{id:1656,label:"支付类型管理-(1656)",select:!1,type:"function",children:[]},{id:1653,label:"首页弹层管理-(1653)",select:!1,type:"function",children:[]},{id:1650,label:"支付类型管理-(1650)",select:!1,type:"function",children:[]},{id:1647,label:"尤物劵管理-(1647)",select:!1,type:"function",children:[]},{id:1648,label:"快捷入口管理-(1648)",select:!1,type:"function",children:[]},{id:1643,label:"尤物劵管理-(1643)",select:!1,type:"function",children:[]},{id:1638,label:"团购规则管理-(1638)",select:!1,type:"function",children:[]},{id:1637,label:"团购订单列表-(1637)",select:!1,type:"function",children:[]},{id:1634,label:"楼层管理-(1634)",select:!1,type:"function",children:[]},{id:1631,label:"发放规则管理-(1631)",select:!1,type:"function",children:[{id:2035,label:"查看代金券",select:!1,type:"point",children:[]},{id:2038,label:"删除发放规则",select:!1,type:"point",children:[]},{id:2037,label:"新建或编辑发放规则",select:!1,type:"point",children:[]},{id:2036,label:"查看发放规则",select:!1,type:"point",children:[]},{id:2034,label:"发放规则列表",select:!1,type:"point",children:[]}]},{id:1630,label:"优惠券管理-(1630)",select:!1,type:"function",children:[]},{id:2089,label:"促活消息管理-(2089)",select:!1,type:"function",children:[]},{id:2090,label:"微信模板管理-(2090)",select:!1,type:"function",children:[]}]},{id:1632,label:"分润调整-(1632)",select:!1,type:"function",children:[{id:1633,label:"调整单据维护-(1633)",select:!1,type:"function",children:[]}]},{id:1635,label:"版本管理-(1635)",select:!1,type:"function",children:[{id:1636,label:"APP版本管理-(1636)",select:!1,type:"function",children:[]},{id:1640,label:"Bundle版本管理-(1640)",select:!1,type:"function",children:[]}]},{id:1654,label:"客服管理-(1654)",select:!1,type:"function",children:[{id:1655,label:"客服管理-(1655)",select:!1,type:"function",children:[]}]},{id:1686,label:"消息管理-(1686)",select:!1,type:"function",children:[{id:1687,label:"定时消息-(1687)",select:!1,type:"function",children:[]}]}]},{id:2400,label:"鹰眼系统",select:!1,type:"application",children:[{id:2333,label:"首页-(2333)",select:!1,type:"function",children:[]},{id:2091,label:"系统配置-(2091)",select:!1,type:"function",children:[{id:2092,label:"时效规则配置-(2092)",select:!1,type:"function",children:[]}]},{id:2093,label:"数据-(2093)",select:!1,type:"function",children:[{id:2096,label:"走件-(2096)",select:!1,type:"function",children:[]},{id:2330,label:"报备审核-(2330)",select:!1,type:"function",children:[]},{id:2331,label:"物流停滞-(2331)",select:!1,type:"function",children:[]},{id:2332,label:"全链路-(2332)",select:!1,type:"function",children:[]},{id:2095,label:"揽收-(2095)",select:!1,type:"function",children:[]},{id:2094,label:"发货-(2094)",select:!1,type:"function",children:[]}]}]},{id:2200,label:"达令家素材系统",select:!1,type:"application",children:[{id:1660,label:"商品素材-(1660)",select:!1,type:"function",children:[{id:1661,label:"商品素材内容-(1661)",select:!1,type:"function",children:[]},{id:1699,label:"素材推荐-(1699)",select:!1,type:"function",children:[]},{id:1696,label:"用户素材(待删除)-(1696)",select:!1,type:"function",children:[]}]},{id:166001,label:"营销素材-(166001)",select:!1,type:"function",children:[{id:1660011,label:"素材内容-(1660011)",select:!1,type:"function",children:[]},{id:1660012,label:"营销用途-(1660012)",select:!1,type:"function",children:[]}]},{id:2167,label:"素材活动-(2167)",select:!1,type:"function",children:[{id:2168,label:"活动管理-(2168)",select:!1,type:"function",children:[]}]},{id:1694,label:"权限管理-(1694)",select:!1,type:"function",children:[{id:1695,label:"白名单-(1695)",select:!1,type:"function",children:[]}]}]},{id:1400,label:"达令tms系统",select:!1,type:"application",children:[{id:2053,label:"快递对接管理-(2053)",select:!1,type:"function",children:[{id:2054,label:"快递对接管理-(2054)",select:!1,type:"function",children:[]}]},{id:1355,label:"内部打印-(1355)",select:!1,type:"function",children:[{id:1356,label:"添加打印-(1356)",select:!1,type:"function",children:[]},{id:1357,label:"个人记录-(1357)",select:!1,type:"function",children:[]}]},{id:1256,label:"数据中心-(1256)",select:!1,type:"function",children:[{id:1258,label:"包裹热点分布图-(1258)",select:!1,type:"function",children:[]},{id:1257,label:"包裹追踪-(1257)",select:!1,type:"function",children:[]}]}]},{id:300,label:"达令帮管理系统",select:!1,type:"application",children:[{id:1131,label:"内容管理-(1131)",select:!1,type:"function",children:[{id:1133,label:"晒图管理-(1133)",select:!1,type:"function",children:[]},{id:1374,label:"分类管理-(1374)",select:!1,type:"function",children:[]},{id:1152,label:"社区图片管理-(1152)",select:!1,type:"function",children:[]},{id:1134,label:"标签管理-(1134)",select:!1,type:"function",children:[]}]},{id:1136,label:"会员管理-(1136)",select:!1,type:"function",children:[{id:1137,label:"用户管理-(1137)",select:!1,type:"function",children:[]},{id:1138,label:"达人管理-(1138)",select:!1,type:"function",children:[]},{id:1139,label:"用户分组管理-(1139)",select:!1,type:"function",children:[]},{id:1140,label:"达人分组管理-(1140)",select:!1,type:"function",children:[]},{id:1141,label:"会员等级管理-(1141)",select:!1,type:"function",children:[]}]},{id:1143,label:"敏感词管理-(1143)",select:!1,type:"function",children:[{id:1145,label:"拦截记录-(1145)",select:!1,type:"function",children:[]},{id:1144,label:"统计用户-(1144)",select:!1,type:"function",children:[]},{id:1151,label:"统计敏感词-(1151)",select:!1,type:"function",children:[]},{id:1188,label:"设备黑名单-(1188)",select:!1,type:"function",children:[]},{id:1189,label:"会员黑名单-(1189)",select:!1,type:"function",children:[]},{id:1190,label:"垃圾晒图/评论-(1190)",select:!1,type:"function",children:[]}]},{id:1147,label:"数据统计-(1147)",select:!1,type:"function",children:[{id:1148,label:"标签统计-(1148)",select:!1,type:"function",children:[]}]}]},{id:400,label:"达令定时任务调度管理系统",select:!1,type:"application",children:[{id:1157,label:"定时任务调度系统-(1157)",select:!1,type:"function",children:[{id:1158,label:"定时任务列表-(1158)",select:!1,type:"function",children:[]}]}]},{id:500,label:"达令存货核算系统",select:!1,type:"application",children:[{id:1180,label:"期初余额-(1180)",select:!1,type:"function",children:[{id:1544,label:"财务账期调整-(1544)",select:!1,type:"function",children:[]},{id:1181,label:"每日-(1181)",select:!1,type:"function",children:[]},{id:99998,label:"月底存货结转-(99998)",select:!1,type:"function",children:[]},{id:99999,label:"月底成本计算-(99999)",select:!1,type:"function",children:[]},{id:1212,label:"结账-(1212)",select:!1,type:"function",children:[]},{id:1182,label:"每月-(1182)",select:!1,type:"function",children:[]},{id:2049,label:"手工同步ERP出入库数据-(2049)",select:!1,type:"function",children:[]},{id:2048,label:"月底存货结转-(2048)",select:!1,type:"function",children:[]},{id:88888,label:"手工同步ERP出入库数据-(88888)",select:!1,type:"function",children:[]},{id:2047,label:"月底成本计算-(2047)",select:!1,type:"function",children:[]},{id:2046,label:"手工同步ERP出入库数据-(2046)",select:!1,type:"function",children:[]},{id:2045,label:"月底存货结转-(2045)",select:!1,type:"function",children:[]},{id:2044,label:"月底成本计算-(2044)",select:!1,type:"function",children:[]},{id:1543,label:"存货手动结算-(1543)",select:!1,type:"function",children:[]}]},{id:1515,label:"报表查询-(1515)",select:!1,type:"function",children:[{id:1539,label:"每日-供应商汇总-(1539)",select:!1,type:"function",children:[]},{id:1540,label:"每日-仓库汇总-(1540)",select:!1,type:"function",children:[]},{id:1542,label:"存货异动明细-(1542)",select:!1,type:"function",children:[]},{id:1545,label:"销售收入成本(财务分类)-(1545)",select:!1,type:"function",children:[]},{id:1518,label:"每月-仓库汇总-(1518)",select:!1,type:"function",children:[]},{id:1546,label:"销售收入成本(一级分类)-(1546)",select:!1,type:"function",children:[]},{id:1517,label:"每月-供应商汇总-(1517)",select:!1,type:"function",children:[]},{id:1522,label:"采购单据查询-(1522)",select:!1,type:"function",children:[]},{id:1523,label:"采购调整单查询-(1523)",select:!1,type:"function",children:[]},{id:1524,label:"销售出库单据查询-(1524)",select:!1,type:"function",children:[]},{id:1525,label:"盘点单据查询-(1525)",select:!1,type:"function",children:[]},{id:1516,label:"每月-汇总数据-(1516)",select:!1,type:"function",children:[]},{id:1526,label:"其他出入库单单据查询-(1526)",select:!1,type:"function",children:[]},{id:1527,label:"移库单据查询-(1527)",select:!1,type:"function",children:[]},{id:1541,label:"每日-汇总数据-(1541)",select:!1,type:"function",children:[]}]},{id:1183,label:"成本计算&出入库明细-(1183)",select:!1,type:"function",children:[{id:1184,label:"成本计算-(1184)",select:!1,type:"function",children:[]},{id:1249,label:"收发存汇总-(1249)",select:!1,type:"function",children:[]},{id:1250,label:"存货明细数据-(1250)",select:!1,type:"function",children:[]},{id:1211,label:"存货调整单-(1211)",select:!1,type:"function",children:[]}]}]},{id:2401,label:"保税管理系统",select:!1,type:"application",children:[{id:2177,label:"系统配置-(2177)",select:!1,type:"function",children:[{id:2178,label:"海关基础数据管理-(2178)",select:!1,type:"function",children:[]}]}]},{id:700,label:"达令仓库PDA系统",select:!1,type:"application",children:[{id:1274,label:"PDA权限管理-(1274)",select:!1,type:"function",children:[{id:1276,label:"销售出库-(1276)",select:!1,type:"function",children:[]},{id:1277,label:"拣货-(1277)",select:!1,type:"function",children:[{id:1286,label:"领取拣货任务-(1286)",select:!1,type:"function",children:[]},{id:1287,label:"查看本地任务-(1287)",select:!1,type:"function",children:[]},{id:1288,label:"异常标记处理-(1288)",select:!1,type:"function",children:[]}]},{id:1278,label:"回架-(1278)",select:!1,type:"function",children:[]},{id:1279,label:"打印SKU-(1279)",select:!1,type:"function",children:[]},{id:1283,label:"拣货墙-(1283)",select:!1,type:"function",children:[{id:1289,label:"拣货墙子任务-(1289)",select:!1,type:"function",children:[{id:1296,label:"领取拣货任务-(1296)",select:!1,type:"function",children:[]},{id:1297,label:"查看本地任务-(1297)",select:!1,type:"function",children:[]}]},{id:1290,label:"待投掷单据-(1290)",select:!1,type:"function",children:[]},{id:1291,label:"待投掷商品-(1291)",select:!1,type:"function",children:[]},{id:1292,label:"待回架抽单作业-(1292)",select:!1,type:"function",children:[]},{id:1293,label:"异常单抽单作业-(1293)",select:!1,type:"function",children:[]},{id:1294,label:"待分拣任务-(1294)",select:!1,type:"function",children:[]},{id:1295,label:"格明细-(1295)",select:!1,type:"function",children:[]}]},{id:1284,label:"入库管理-(1284)",select:!1,type:"function",children:[{id:1298,label:"采购收货-(1298)",select:!1,type:"function",children:[{id:1305,label:"快递单签收-(1305)",select:!1,type:"function",children:[]},{id:1306,label:"采购单签收-(1306)",select:!1,type:"function",children:[]},{id:1307,label:"创建采购入库单-(1307)",select:!1,type:"function",children:[]},{id:1308,label:"选择入库单-(1308)",select:!1,type:"function",children:[]},{id:1309,label:"本地清点任务-(1309)",select:!1,type:"function",children:[]}]},{id:1299,label:"移库收货-(1299)",select:!1,type:"function",children:[{id:1302,label:"创建移库入库单-(1302)",select:!1,type:"function",children:[]},{id:1303,label:"选择入库单-(1303)",select:!1,type:"function",children:[]},{id:1304,label:"本地清点任务-(1304)",select:!1,type:"function",children:[]}]},{id:1300,label:"上架-(1300)",select:!1,type:"function",children:[{id:1310,label:"选择上架任务-(1310)",select:!1,type:"function",children:[]},{id:1311,label:"本地上架任务-(1311)",select:!1,type:"function",children:[]},{id:1312,label:"中转箱查询-(1312)",select:!1,type:"function",children:[]}]},{id:1301,label:"销退入库-(1301)",select:!1,type:"function",children:[{id:1313,label:"创建销退入库单-(1313)",select:!1,type:"function",children:[]},{id:1314,label:"选择入库单(清点中)-(1314)",select:!1,type:"function",children:[]},{id:1315,label:"本地缓存-(1315)",select:!1,type:"function",children:[]},{id:1316,label:"已清点明细-(1316)",select:!1,type:"function",children:[]},{id:1317,label:"待上架明细-(1317)",select:!1,type:"function",children:[]},{id:1318,label:"中转箱查询-(1318)",select:!1,type:"function",children:[]},{id:1319,label:"良品上架-(1319)",select:!1,type:"function",children:[]},{id:1320,label:"次品上架-(1320)",select:!1,type:"function",children:[]},{id:1321,label:"保税良品上架-(1321)",select:!1,type:"function",children:[]},{id:1521,label:"保税次品上架-(1521)",select:!1,type:"function",children:[]},{id:1528,label:"直邮良品上架-(1528)",select:!1,type:"function",children:[]},{id:1529,label:"直邮次品上架-(1529)",select:!1,type:"function",children:[]}]},{id:1614,label:"其它入库-(1614)",select:!1,type:"function",children:[{id:1616,label:"本地清点任务-(1616)",select:!1,type:"function",children:[]},{id:1615,label:"选择入库单-(1615)",select:!1,type:"function",children:[]},{id:1617,label:"创建其它入库单-(1617)",select:!1,type:"function",children:[]}]}]},{id:1285,label:"库管作业-(1285)",select:!1,type:"function",children:[{id:1322,label:"盘点-(1322)",select:!1,type:"function",children:[{id:1334,label:"盘点任务查询-(1334)",select:!1,type:"function",children:[]},{id:1335,label:"已领任务-(1335)",select:!1,type:"function",children:[]}]},{id:1323,label:"库位商品关系维护-(1323)",select:!1,type:"function",children:[{id:1329,label:"按SKU解除库位商品关系-(1329)",select:!1,type:"function",children:[]},{id:1330,label:"按库位解除库位商品关系-(1330)",select:!1,type:"function",children:[]},{id:1331,label:"新增库位商品关系-(1331)",select:!1,type:"function",children:[]},{id:1332,label:"按SKU查询库位商品关系-(1332)",select:!1,type:"function",children:[]},{id:1333,label:"按库位查询库位商品关系-(1333)",select:!1,type:"function",children:[]}]},{id:1324,label:"效段调整-(1324)",select:!1,type:"function",children:[]},{id:1325,label:"上报库位调整-(1325)",select:!1,type:"function",children:[{id:1338,label:"下架-(1338)",select:!1,type:"function",children:[]},{id:1339,label:"中转箱查询-(1339)",select:!1,type:"function",children:[]},{id:1340,label:"上架-(1340)",select:!1,type:"function",children:[]}]},{id:1326,label:"补货-(1326)",select:!1,type:"function",children:[{id:1341,label:"下架任务-(1341)",select:!1,type:"function",children:[]},{id:1342,label:"上架任务-(1342)",select:!1,type:"function",children:[]}]},{id:1327,label:"理货-(1327)",select:!1,type:"function",children:[{id:1344,label:"上架任务-(1344)",select:!1,type:"function",children:[]},{id:1343,label:"下架任务-(1343)",select:!1,type:"function",children:[]}]},{id:1328,label:"报损-(1328)",select:!1,type:"function",children:[{id:1337,label:"上架任务-(1337)",select:!1,type:"function",children:[]},{id:1336,label:"下架任务-(1336)",select:!1,type:"function",children:[]}]}]}]}]},{id:800,label:"会员成长管理系统",select:!1,type:"application",children:[{id:1259,label:"达令币管理-(1259)",select:!1,type:"function",children:[{id:1260,label:"达令币活动-(1260)",select:!1,type:"function",children:[]},{id:1358,label:"达令币兑换优惠券-(1358)",select:!1,type:"function",children:[]},{id:1371,label:"签到-(1371)",select:!1,type:"function",children:[]},{id:1452,label:"待处理-(1452)",select:!1,type:"function",children:[]},{id:1510,label:"会员管理-(1510)",select:!1,type:"function",children:[]}]}]},{id:900,label:"会员钱包管理系统",select:!1,type:"application",children:[{id:1361,label:"礼品卡管理-(1361)",select:!1,type:"function",children:[{id:1362,label:"礼品卡模板管理-(1362)",select:!1,type:"function",children:[]},{id:1363,label:"礼品卡明细管理-(1363)",select:!1,type:"function",children:[]}]},{id:1359,label:"钱包管理-(1359)",select:!1,type:"function",children:[{id:1360,label:"会员管理-(1360)",select:!1,type:"function",children:[]}]}]},{id:1e3,label:"达令仓储管理系统",select:!1,type:"application",children:[{id:370,label:"入库作业-(370)",select:!1,type:"function",children:[{id:376,label:"退货入库上架NEW-(376)",select:!1,type:"function",children:[]},{id:1006,label:"零售退货作业-(1006)",select:!1,type:"function",children:[]},{id:1239,label:"异常到货数据登记-(1239)",select:!1,type:"function",children:[]},{id:374,label:"入库管理NEW-(374)",select:!1,type:"function",children:[]},{id:375,label:"零售退货作业NEW-(375)",select:!1,type:"function",children:[]},{id:372,label:"入库管理-(372)",select:!1,type:"function",children:[]},{id:371,label:"物流签收-(371)",select:!1,type:"function",children:[]},{id:1007,label:"退货入库上架-(1007)",select:!1,type:"function",children:[]}]},{id:380,label:"出库作业-(380)",select:!1,type:"function",children:[{id:381,label:"手动创建拣货单-(381)",select:!1,type:"function",children:[]},{id:388,label:"拣货墙信息-(388)",select:!1,type:"function",children:[]},{id:383,label:"打包操作台-(383)",select:!1,type:"function",children:[]},{id:384,label:"扫描出库-(384)",select:!1,type:"function",children:[]},{id:385,label:"回架作业-(385)",select:!1,type:"function",children:[]},{id:386,label:"发货单查询-(386)",select:!1,type:"function",children:[]},{id:387,label:"出库作业面板-(387)",select:!1,type:"function",children:[]},{id:373,label:"一单一件分拣台-(373)",select:!1,type:"function",children:[]},{id:2341,label:"耗材打包操作台-(2341)",select:!1,type:"function",children:[]},{id:382,label:"拣货单管理-(382)",select:!1,type:"function",children:[]},{id:1e3,label:"分拣操作台-(1000)",select:!1,type:"function",children:[]},{id:2271,label:"耗材打包操作台-(2271)",select:!1,type:"function",children:[]},{id:389,label:"拣货墙-(389)",select:!1,type:"function",children:[]}]},{id:390,label:"库管作业-(390)",select:!1,type:"function",children:[{id:377,label:"PDA数据权限控制-(377)",select:!1,type:"function",children:[]},{id:392,label:"库位商品对照-(392)",select:!1,type:"function",children:[]},{id:393,label:"效段调整-(393)",select:!1,type:"function",children:[]},{id:394,label:"待处理消息-(394)",select:!1,type:"function",children:[]},{id:2235,label:"商品基础数据维护-(2235)",select:!1,type:"function",children:[]},{id:321,label:"仓库补货看板-(321)",select:!1,type:"function",children:[]},{id:1043,label:"库存盘点-(1043)",select:!1,type:"function",children:[]},{id:1428,label:"仓库库存查询NEW4-(1428)",select:!1,type:"function",children:[]},{id:352,label:"物理库位设置-(352)",select:!1,type:"function",children:[]},{id:391,label:"库位调整-(391)",select:!1,type:"function",children:[]},{id:1262,label:"库位调整指令单-(1262)",select:!1,type:"function",children:[]},{id:1506,label:"APP版本更新-(1506)",select:!1,type:"function",children:[]}]}]},{id:1300,label:"达令深圳保税系统",select:!1,type:"application",children:[{id:1192,label:"深圳保税区配货处理系统-(1192)",select:!1,type:"function",children:[{id:1459,label:"载货清单-(1459)",select:!1,type:"function",children:[]},{id:1194,label:"报文手动重推-(1194)",select:!1,type:"function",children:[]},{id:1195,label:"订单推送参数配置-(1195)",select:!1,type:"function",children:[]},{id:1196,label:"商品备案-(1196)",select:!1,type:"function",children:[]},{id:1193,label:"配货单处理-(1193)",select:!1,type:"function",children:[]}]}]},{id:1100,label:"达令郑州保税系统",select:!1,type:"application",children:[{id:1163,label:"郑州保税区配货处理系统-(1163)",select:!1,type:"function",children:[{id:1164,label:"配货单处理-(1164)",select:!1,type:"function",children:[]},{id:1165,label:"报文手动重推-(1165)",select:!1,type:"function",children:[]},{id:1166,label:"订单推送参数配置-(1166)",select:!1,type:"function",children:[]},{id:1201,label:"商品备案-(1201)",select:!1,type:"function",children:[]},{id:1237,label:"入区申报-商务-(1237)",select:!1,type:"function",children:[]},{id:1238,label:"入区申报-物流-(1238)",select:!1,type:"function",children:[]}]}]},{id:1001,label:"达令夺宝系统",select:!1,type:"application",children:[{id:2001,label:"夺宝活动管理-(2001)",select:!1,type:"function",children:[{id:2002,label:"夺宝活动商品管理-(2002)",select:!1,type:"function",children:[]},{id:1530,label:"tui夺宝活动标签管理-(1530)",select:!1,type:"function",children:[]},{id:1532,label:"夺宝首页专题管理-(1532)",select:!1,type:"function",children:[]}]}]},{id:1002,label:"达令客服系统",select:!1,type:"application",children:[{id:1566,label:"微信后台配置管理-(1566)",select:!1,type:"function",children:[{id:1585,label:"素材管理-(1585)",select:!1,type:"function",children:[]},{id:1611,label:"图文消息管理-(1611)",select:!1,type:"function",children:[]},{id:1618,label:"微信推送消息管理-(1618)",select:!1,type:"function",children:[]},{id:1571,label:"菜单配置-(1571)",select:!1,type:"function",children:[]},{id:1574,label:"活动配置-(1574)",select:!1,type:"function",children:[]},{id:1586,label:"微信关注回复配置-(1586)",select:!1,type:"function",children:[]}]},{id:2003,label:"客服消息管理-(2003)",select:!1,type:"function",children:[]}]},{id:1600,label:"达令团购系统",select:!1,type:"application",children:[{id:1548,label:"首页设置-(1548)",select:!1,type:"function",children:[]},{id:1549,label:"团购规则设置-(1549)",select:!1,type:"function",children:[]},{id:1550,label:"优惠券规则设置-(1550)",select:!1,type:"function",children:[]},{id:1552,label:"商品分类图片设置-(1552)",select:!1,type:"function",children:[]},{id:1560,label:"团购订单查询-(1560)",select:!1,type:"function",children:[]}]},{id:1800,label:"达令分享购系统",select:!1,type:"application",children:[{id:1588,label:"分享购设置-(1588)",select:!1,type:"function",children:[]}]},{id:1900,label:"达令渠道系统",select:!1,type:"application",children:[{id:1589,label:"渠道管理-(1589)",select:!1,type:"function",children:[{id:1593,label:"已到账期明细-(1593)",select:!1,type:"function",children:[]},{id:1613,label:"粉丝数管理-(1613)",select:!1,type:"function",children:[]},{id:1601,label:"渠道查询-(1601)",select:!1,type:"function",children:[]},{id:1594,label:"渠道流水明细-(1594)",select:!1,type:"function",children:[]},{id:1597,label:"支付交易流水-(1597)",select:!1,type:"function",children:[]},{id:1610,label:"鼓励金管理-(1610)",select:!1,type:"function",children:[]},{id:1609,label:"支付鼓励金政策-(1609)",select:!1,type:"function",children:[]},{id:1598,label:"支付鼓励金政策-(1598)",select:!1,type:"function",children:[]},{id:1608,label:"支付交易流水-(1608)",select:!1,type:"function",children:[]},{id:1607,label:"付款管理(财务)-(1607)",select:!1,type:"function",children:[]},{id:1606,label:"渠道用户统计-(1606)",select:!1,type:"function",children:[]},{id:1596,label:"付款管理(财务)-(1596)",select:!1,type:"function",children:[]},{id:1605,label:"渠道流水明细-(1605)",select:!1,type:"function",children:[]},{id:1595,label:"渠道用户统计-(1595)",select:!1,type:"function",children:[]},{id:1599,label:"鼓励金管理-(1599)",select:!1,type:"function",children:[]},{id:1604,label:"已到账期明细-(1604)",select:!1,type:"function",children:[]},{id:1590,label:"渠道查询-(1590)",select:!1,type:"function",children:[]},{id:1591,label:"分润设置-(1591)",select:!1,type:"function",children:[]},{id:1603,label:"未到账期明细-(1603)",select:!1,type:"function",children:[]},{id:1592,label:"未到账期明细-(1592)",select:!1,type:"function",children:[]},{id:1602,label:"分润设置-(1602)",select:!1,type:"function",children:[]}]},{id:1600,label:"渠道管理-(1600)",select:!1,type:"function",children:[]}]},{id:2e3,label:"达令大数据系统",select:!1,type:"application",children:[{id:1700,label:"APP活动统计-(1700)",select:!1,type:"function",children:[{id:1701,label:"APP活动效果统计-(1701)",select:!1,type:"function",children:[]},{id:1702,label:"APP活动分时统计(每小时更新)-(1702)",select:!1,type:"function",children:[]},{id:1703,label:"首页时间轴商品统计-(1703)",select:!1,type:"function",children:[]}]},{id:1704,label:"APP转化率-(1704)",select:!1,type:"function",children:[{id:1705,label:"APP整体转化率-(1705)",select:!1,type:"function",children:[]},{id:1706,label:"热力图统计-(1706)",select:!1,type:"function",children:[]},{id:1707,label:"购买时段统计-(1707)",select:!1,type:"function",children:[]},{id:1708,label:"来访时段统计-(1708)",select:!1,type:"function",children:[]},{id:1709,label:"页面统计-(1709)",select:!1,type:"function",children:[]},{id:1710,label:"分类统计-(1710)",select:!1,type:"function",children:[]},{id:1711,label:"商品详情页流量统计-(1711)",select:!1,type:"function",children:[]},{id:1712,label:"频道页面流量统计-(1712)",select:!1,type:"function",children:[]}]},{id:1713,label:"购物车统计-(1713)",select:!1,type:"function",children:[{id:1714,label:"购物车TOP商品分析-(1714)",select:!1,type:"function",children:[]},{id:1715,label:"加入购物车商品查询-(1715)",select:!1,type:"function",children:[]}]},{id:1716,label:"APP商品交易统计-(1716)",select:!1,type:"function",children:[{id:1717,label:"闪购交易统计-(1717)",select:!1,type:"function",children:[]},{id:1718,label:"新品交易统计-(1718)",select:!1,type:"function",children:[]},{id:1719,label:"商品单日数据统计-(1719)",select:!1,type:"function",children:[]},{id:1720,label:"无敌价商品统计-(1720)",select:!1,type:"function",children:[]},{id:1721,label:"商品SPU统计-(1721)",select:!1,type:"function",children:[]},{id:1722,label:"产品销售分析-(1722)",select:!1,type:"function",children:[]}]},{id:1729,label:"销售额预警-(1729)",select:!1,type:"function",children:[{id:1730,label:"特殊日配置-(1730)",select:!1,type:"function",children:[]},{id:1731,label:"分时段分品类销售统计-(1731)",select:!1,type:"function",children:[]},{id:1732,label:"分时段新老客销售统计-(1732)",select:!1,type:"function",children:[]},{id:1733,label:"分时段专题销售汇总统计-(1733)",select:!1,type:"function",children:[]},{id:1734,label:"分时段TOP100缺货汇总统计-(1734)",select:!1,type:"function",children:[]},{id:1735,label:"预警指标对比查询-(1735)",select:!1,type:"function",children:[]},{id:1736,label:"预警指标异常查询-(1736)",select:!1,type:"function",children:[]}]},{id:1737,label:"签到统计-(1737)",select:!1,type:"function",children:[{id:1738,label:"商品统计-(1738)",select:!1,type:"function",children:[]},{id:1739,label:"事件统计-(1739)",select:!1,type:"function",children:[]}]},{id:1740,label:"优惠促销统计-(1740)",select:!1,type:"function",children:[{id:1741,label:"优惠券统计-(1741)",select:!1,type:"function",children:[]},{id:1742,label:"优惠促销统计-(1742)",select:!1,type:"function",children:[]}]},{id:1743,label:"会员统计-(1743)",select:!1,type:"function",children:[{id:1744,label:"会员升级统计-(1744)",select:!1,type:"function",children:[]},{id:1745,label:"用户年龄和地域分布统计-(1745)",select:!1,type:"function",children:[]}]},{id:1746,label:"商品上新活动分析-(1746)",select:!1,type:"function",children:[{id:1747,label:"产品排期参考-(1747)",select:!1,type:"function",children:[]}]},{id:1748,label:"社区统计-(1748)",select:!1,type:"function",children:[{id:1749,label:"标签统计-(1749)",select:!1,type:"function",children:[]},{id:1750,label:"达人统计-(1750)",select:!1,type:"function",children:[]},{id:1751,label:"用户统计-(1751)",select:!1,type:"function",children:[]},{id:1752,label:"访问基数统计-(1752)",select:!1,type:"function",children:[]},{id:1753,label:"晒图统计-(1753)",select:!1,type:"function",children:[]},{id:1754,label:"banner&嘚吧嘚统计-(1754)",select:!1,type:"function",children:[]}]},{id:1863,label:"目标营销-(1863)",select:!1,type:"function",children:[{id:1864,label:"目标营销-(1864)",select:!1,type:"function",children:[]},{id:1865,label:"报表邮件推送-(1865)",select:!1,type:"function",children:[]}]},{id:1723,label:"订单统计-(1723)",select:!1,type:"function",children:[{id:1724,label:"1-5单整体复购率统计-(1724)",select:!1,type:"function",children:[]},{id:1725,label:"随单礼复购率统计-(1725)",select:!1,type:"function",children:[]},{id:1726,label:"团购新客复购统计-(1726)",select:!1,type:"function",children:[]},{id:1727,label:"N团新客留存统计-(1727)",select:!1,type:"function",children:[]},{id:1728,label:"团购无交易商品统计(new)-(1728)",select:!1,type:"function",children:[]}]},{id:1850,label:"标签筛选-(1850)",select:!1,type:"function",children:[{id:1851,label:"标签筛选-(1851)",select:!1,type:"function",children:[]},{id:1852,label:"常用人群管理-(1852)",select:!1,type:"function",children:[]},{id:1853,label:"数据推送-(1853)",select:!1,type:"function",children:[]},{id:1854,label:"效果评估-(1854)",select:!1,type:"function",children:[]},{id:1855,label:"全量push统计-(1855)",select:!1,type:"function",children:[]},{id:1856,label:"营销短信回购统计-(1856)",select:!1,type:"function",children:[]}]},{id:1857,label:"不活跃用户召回-(1857)",select:!1,type:"function",children:[{id:1858,label:"不活跃用户召回列表-(1858)",select:!1,type:"function",children:[]},{id:1859,label:"待审批列表-(1859)",select:!1,type:"function",children:[]},{id:1860,label:"权限配置-(1860)",select:!1,type:"function",children:[]}]},{id:1861,label:"N团营销-(1861)",select:!1,type:"function",children:[{id:1862,label:"N团效果评估-(1862)",select:!1,type:"function",children:[]}]},{id:1880,label:"事件推送-(1880)",select:!1,type:"function",children:[{id:1881,label:"订单支付召回-(1881)",select:!1,type:"function",children:[]},{id:1882,label:"购物车放弃挽回-(1882)",select:!1,type:"function",children:[]},{id:1883,label:"收藏夹商品提醒-(1883)",select:!1,type:"function",children:[]},{id:1884,label:"优惠券到期提醒-(1884)",select:!1,type:"function",children:[]},{id:1885,label:"领新人优惠券未下单提醒-(1885)",select:!1,type:"function",children:[]},{id:1886,label:"事件推送全局配置-(1886)",select:!1,type:"function",children:[]},{id:1887,label:"注册未领新人优惠券提醒-(1887)",select:!1,type:"function",children:[]},{id:1888,label:"事件营销效果评估-(1888)",select:!1,type:"function",children:[]},{id:1889,label:"1单用户30天未下单push提醒-(1889)",select:!1,type:"function",children:[]},{id:1890,label:"1单用户7天未下单push提醒-(1890)",select:!1,type:"function",children:[]},{id:1891,label:"1单用户7天未下单短信提醒-(1891)",select:!1,type:"function",children:[]},{id:1892,label:"1单用户30天访问未下单短信-(1892)",select:!1,type:"function",children:[]},{id:1893,label:"优惠券换批提醒-(1893)",select:!1,type:"function",children:[]}]},{id:1910,label:"ERP报表-(1910)",select:!1,type:"function",children:[{id:1911,label:"毛利率报表-(1911)",select:!1,type:"function",children:[]},{id:1912,label:"物流仓库报表-(1912)",select:!1,type:"function",children:[]},{id:1913,label:"直邮业务物流统计-(1913)",select:!1,type:"function",children:[]},{id:1914,label:"商品售价走势-(1914)",select:!1,type:"function",children:[]},{id:1915,label:"库存周转报表-(1915)",select:!1,type:"function",children:[]},{id:1916,label:"退货数据统计报表-(1916)",select:!1,type:"function",children:[]},{id:1917,label:"发货监控报表-(1917)",select:!1,type:"function",children:[]}]},{id:1918,label:"运营分析-(1918)",select:!1,type:"function",children:[{id:1919,label:"商品变价影响-(1919)",select:!1,type:"function",children:[]}]},{id:1940,label:"数据分析-(1940)",select:!1,type:"function",children:[{id:1941,label:"TD开发转化表-(1941)",select:!1,type:"function",children:[]},{id:1942,label:"当日下单当日购买-(1942)",select:!1,type:"function",children:[]},{id:1943,label:"渠道订单统计-(1943)",select:!1,type:"function",children:[]},{id:1944,label:"新老客户GMW-(1944)",select:!1,type:"function",children:[]},{id:1945,label:"核心数据-(1945)",select:!1,type:"function",children:[]},{id:1946,label:"渠道数据统计-(1946)",select:!1,type:"function",children:[]},{id:1947,label:"新增购买活跃汇总-(1947)",select:!1,type:"function",children:[]},{id:1948,label:"用户城市分布-(1948)",select:!1,type:"function",children:[]},{id:1949,label:"商品销量操作统计报表-(1949)",select:!1,type:"function",children:[]},{id:1950,label:"IOS渠道销售数据统计-(1950)",select:!1,type:"function",children:[]},{id:1951,label:"新老客户GMW-(1951)",select:!1,type:"function",children:[]}]}]},{id:1e4,label:"商家开放平台",select:!1,type:"application",children:[{id:1e4,label:"运营管理-(10000)",select:!1,type:"function",children:[{id:10002,label:"路由管理-(10002)",select:!1,type:"function",children:[{id:10001,label:"查看路由",select:!1,type:"point",children:[]}]}]},{id:10001,label:"开发者管理-(10001)",select:!1,type:"function",children:[]}]},{id:1200,label:"达令深圳南山系统",select:!1,type:"application",children:[]},{id:1012,label:"京东仓储对接管理系统",select:!1,type:"application",children:[]}]}),i.a.mock(RegExp(c["a"].path+"/system/function/details.do.*"),"get",function(e){console.log(Object(u["e"])(e.url))}))},h=function(e){var t=e.mock;t&&i.a.mock(RegExp("/appManage/pageList.*"),"get",function(){for(var e=[],t=0;t<5;t++)e.push(i.a.mock({id:"@natural(10000)",name:i.a.mock("@cparagraph(1, 1)"),username:i.a.mock("@last"),type:"@natural(0,3)",url:"@url",checkbox:[0,1],"number|0-100":0,datetime:"@date","sex|0-1":0,moreselect:[0,1],remerk:i.a.mock("@cparagraph(1, 1)"),grade:0,address:i.a.mock("@cparagraph(1, 3)"),check:[1,3,4]}));return{data:{totalCount:11,pageSize:10,items:e}}})},b=!1;a({mock:b}),o({mock:b}),s({mock:b}),p({mock:b}),h({mock:b})},"286c":function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"top-menu"},[l("el-menu",{attrs:{"default-active":e.activeIndex,mode:"horizontal","text-color":"#333"}},[e._l(e.items,function(t,n){return[l("el-menu-item",{key:n,attrs:{index:t.parentId+""},nativeOn:{click:function(l){return e.openMenu(t)}}},[l("template",{slot:"title"},[l("i",{class:t.icon})])],2)]})],2)],1)},i=[],c=l("cebc"),a=l("5880"),o={name:"top-menu",data:function(){return{activeIndex:"0",items:[{label:"首页",href:"/wel/index",icon:"el-icon-menu",parentId:0}]}},created:function(){},computed:Object(c["a"])({},Object(a["mapGetters"])(["tagCurrent","menu","userInfo"])),methods:{openMenu:function(e){var t=this;this.$store.dispatch("GetMenu",e.parentId).then(function(l){if(0!==l.length){console.log("top-menu.vue data:",l),t.$router.$avueRouter.formatRoutes(l,!0);var n,i=0;n=e.href?e:0==t.menu[i].length?t.menu[i]:t.menu[i].children[i],t.$router.push({path:t.$router.$avueRouter.getPath({name:n.label,src:n.href})})}})}}},r=o,d=l("2877"),s=Object(d["a"])(r,n,i,!1,null,null,null);t["default"]=s.exports},"370e":function(e,t,l){"use strict";var n=l("2077"),i=l.n(n);i.a},"37cf":function(e,t,l){"use strict";l("c5f6"),l("6b54");var n=l("e814"),i=l.n(n),c=(l("ac6a"),l("3b2b"),l("a481"),l("cebc")),a=l("5880"),o=l("f6f8").version,r="#409EFF";t["a"]=function(){return{data:function(){return{themeVal:r}},created:function(){this.themeVal=this.theme},watch:{themeVal:function(e,t){this.$store.commit("SET_THEME",e),this.updateTheme(e,t)}},computed:Object(c["a"])({},Object(a["mapGetters"])(["theme"])),methods:{updateTheme:function(e,t){var l=this;if("string"===typeof e){var n=document.getElementsByTagName("head")[0],i=this.getThemeCluster(e.replace("#","")),c=this.getThemeCluster(t.replace("#","")),a=function(e,t){return function(){var c=l.getThemeCluster(r.replace("#","")),a=l.updateStyle(l[e],c,i),o=document.getElementById(t);o||(o=document.createElement("style"),o.setAttribute("id",t),n.appendChild(o)),o.innerText=a}},d=a("chalk","chalk-style");if(this.chalk)d();else{var s="https://unpkg.com/element-ui@".concat(o,"/lib/theme-chalk/index.css");this.getCSSString(s,d,"chalk")}for(var u=[].slice.call(document.getElementsByTagName("head")[0].getElementsByTagName("link")),p=function(e){var t=u[e];-1!=t.href.indexOf("app")&&l.getCSSString(t.href,function(t){var c=l.getThemeCluster(r.replace("#","")),a=l.updateStyle(t,c,i),o=document.getElementById(e);o||(o=document.createElement("style"),o.id=e,o.innerText=a,n.appendChild(o))})},h=u.length-3;h1&&t.isCollapse},screen:function(e){return e.common.screen},isLock:function(e){return e.common.isLock},isFullScren:function(e){return e.common.isFullScren},lockPasswd:function(e){return e.common.lockPasswd},tagList:function(e){return e.tags.tagList},tagWel:function(e){return e.tags.tagWel},token:function(e){return e.user.token},roles:function(e){return e.user.roles},developerId:function(e){return e.user.developerId},permission:function(e){return e.user.permission},menu:function(e){return e.user.menu},menuAll:function(e){return e.user.menuAll},logsList:function(e){return e.logs.logsList},logsLen:function(e){return e.logs.logsList.length||0},logsFlag:function(e,t){return 0===t.logsLen},serviceTreeData:function(e){return e.gateway.serviceTreeData}},I=R;i.a.use(a.a);var $=new a.a.Store({modules:{user:_,common:g,logs:A,tags:S,gateway:M},getters:I});t["a"]=$},"44b2":function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-color-picker",{staticClass:"theme-picker",attrs:{size:"small","popper-class":"theme-picker-dropdown"},model:{value:e.themeVal,callback:function(t){e.themeVal=t},expression:"themeVal"}})},i=[],c=l("37cf"),a={name:"topColor",mixins:[Object(c["a"])()],data:function(){return{chalk:""}}},o=a,r=(l("370e"),l("2877")),d=Object(r["a"])(o,n,i,!1,null,null,null);t["default"]=d.exports},4678:function(e,t,l){var n={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-SG":"cdab","./en-SG.js":"cdab","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"73332","./en-il.js":"73332","./en-nz":"6f50","./en-nz.js":"6f50","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-tw":"90ea","./zh-tw.js":"90ea"};function i(e){var t=c(e);return l(t)}function c(e){var t=n[e];if(!(t+1)){var l=new Error("Cannot find module '"+e+"'");throw l.code="MODULE_NOT_FOUND",l}return t}i.keys=function(){return Object.keys(n)},i.resolve=c,e.exports=i,i.id="4678"},"4cd2":function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-breadcrumb",{staticClass:"avue-breadcrumb-list",attrs:{separator:"/"}},[e._l(e.tagCurrent,function(t,n){return[l("el-breadcrumb-item",{key:n,attrs:{to:{path:t.value}}},[e._v(e._s(t.label))])]})],2)},i=[],c=l("cebc"),a=l("5880"),o={name:"breadcrumb",data:function(){return{}},created:function(){},mounted:function(){},watch:{},computed:Object(c["a"])({},Object(a["mapGetters"])(["tagCurrent"])),methods:{}},r=o,d=l("2877"),s=Object(d["a"])(r,n,i,!1,null,"ca42fc54",null);t["default"]=s.exports},"4e09":function(e,t,l){"use strict";var n=l("b3ad"),i=l.n(n);i.a},"56d7":function(e,t,l){"use strict";l.r(t);var n={};l.r(n),l.d(n,"baseUrl",function(){return j}),l.d(n,"iconfontUrl",function(){return O}),l.d(n,"iconfontVersion",function(){return k}),l.d(n,"codeUrl",function(){return S}),l.d(n,"env",function(){return T});l("a481");var i=l("a4bb"),c=l.n(i),a=(l("ac6a"),l("cadf"),l("551c"),l("f751"),l("097d"),l("8bbf")),o=l.n(a),r=l("c1df"),d=l.n(r),s=l("b5c6"),u=l("a7fe"),p=l.n(u),h=l("3dfd"),b=l("9883"),f=(l("7f7f"),l("cebc")),y=l("4360"),m=l("c54a"),_=l("0a5a"),v=l("323e"),g=l.n(v);l("a5d8");g.a.configure({showSpinner:!1});var E=y["a"].getters.website.lockPage;b["a"].beforeEach(function(e,t,l){!0===e.meta.keepAlive&&y["a"].state.tags.tagList.some(function(t){return t.value===e.fullPath})?e.meta.$keepAlive=!0:(g.a.start(),!0===e.meta.keepAlive&&Object(m["c"])(e.meta.$keepAlive)?e.meta.$keepAlive=!0:e.meta.$keepAlive=!1);var n=e.meta||{};if(Object(_["a"])())if(y["a"].getters.isLock&&e.path!=E)l({path:E});else if("/login"===e.path)l({path:"/"});else if(0===y["a"].getters.roles.length)y["a"].dispatch("GetUserInfo").then(function(){l(Object(f["a"])({},e,{replace:!0}))}).catch(function(){y["a"].dispatch("FedLogOut").then(function(){l({path:"/login"})})});else{var i=e.query.src||e.fullPath,c=e.query.name||e.name;!1===n.isTab||Object(m["c"])(i)||Object(m["c"])(c)||y["a"].commit("ADD_TAG",{label:c,value:i,params:e.params,query:e.query,group:b["a"].$avueRouter.group||[]}),l()}else!1===n.isAuth?l():l({path:"/login"})}),b["a"].afterEach(function(){g.a.done();var e=y["a"].getters.tag.label;b["a"].$avueRouter.setTitle(e)}),o.a.config.errorHandler=function(e,t,l){o.a.nextTick(function(){y["a"].commit("ADD_LOGS",{type:"error",message:e.message,stack:e.stack,info:l})})};l("8f5a");var w=l("0e0b"),j="http://r.kongx.com:8088/",k=["567566_qo5lxgtishg","2106500_kd4gecdu0h"],O="//at.alicdn.com/t/font_$key.css",S="".concat(j,"/code"),T=Object({NODE_ENV:"production",BASE_URL:""});"development"==T.NODE_ENV?j="http://r.kongx.com:8088/":"production"==T.NODE_ENV?j="http://r.kongx.com:8088/":"test"==T.NODE_ENV&&(j="http://r.kongx.com:8088/");var C=l("8975"),L=(l("1be0"),l("80d3"),l("3f5c"),l("dc8a")),D=l("4eb5"),P=l.n(D),A=l("558c"),x=l.n(A),M=l("d847"),R=l.n(M),I=l("5c96");function $(e){$.installed||(!e.prototype.$errorInfo&&R()(e.prototype,{$errorInfo:{get:function(){return function(e){Object(I["Notification"])({title:"错误",message:e,type:"error",offset:40})}}}}),!e.prototype.$successInfo&&R()(e.prototype,{$successInfo:{get:function(){return function(e){Object(I["Notification"])({title:"成功",message:e,type:"success",offset:40})}}}}))}var K=$,N=l("349e"),U=l.n(N),F=l("f8d8"),B=l.n(F),W=l("9ca8");l("94b1"),l("ef97"),l("c037"),l("675c"),l("8deb"),l("15af"),l("23ee"),l("1111"),l("007d"),l("2f73"),l("d070"),l("d28f"),l("627c"),l("5450"),l("0352"),l("c54d"),l("8ee0"),l("d015");o.a.component("v-chart",W["a"]),o.a.use(K),o.a.use(b["a"]),o.a.use(P.a),o.a.use(x.a),o.a.use(U.a),o.a.use(B.a),o.a.use(p.a,s["a"]),o.a.filter("dateFmt",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD";return d()(e).format(t)}),o.a.component("basicContainer",L["default"]),c()(n).forEach(function(e){o.a.prototype[e]=n[e]}),c()(C).forEach(function(e){o.a.filter(e,C[e])}),k.forEach(function(e){Object(w["g"])(O.replace("$key",e))}),o.a.config.productionTip=!1,new o.a({router:b["a"],store:y["a"],render:function(e){return e(h["default"])}}).$mount("#app")},5880:function(e,t){e.exports=Vuex},"5c0b":function(e,t,l){"use strict";var n=l("5e27"),i=l.n(n);i.a},"5dd6":function(e,t,l){},"5ddc":function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"avue-tags"},[l("div",{staticClass:"avue-tags__box",class:{"avue-tags__box--close":!e.website.isFirstPage}},[l("el-tabs",{attrs:{type:"card",closable:1!==e.tagLen},on:{"tab-click":e.openTag,edit:e.menuTag},model:{value:e.active,callback:function(t){e.active=t},expression:"active"}},e._l(e.tagList,function(e){return l("el-tab-pane",{key:e.value,attrs:{label:e.label,name:e.value}})}),1),l("el-dropdown",{staticClass:"avue-tags__menu"},[l("el-button",{attrs:{type:"primary",size:"mini"}},[e._v("\n 更多\n "),l("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),l("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[l("el-dropdown-item",{nativeOn:{click:function(t){return e.closeOthersTags(t)}}},[e._v("关闭其他")]),l("el-dropdown-item",{nativeOn:{click:function(t){return e.closeAllTags(t)}}},[e._v("关闭全部")])],1)],1)],1)])},i=[],c=(l("7f7f"),l("cebc")),a=l("5880"),o={name:"tags",data:function(){return{active:""}},created:function(){},mounted:function(){this.setActive()},watch:{tag:function(){this.setActive()}},computed:Object(c["a"])({},Object(a["mapGetters"])(["tagWel","tagList","tag","website"]),{tagLen:function(){return this.tagList.length||0}}),methods:{setActive:function(){this.active=this.tag.value},menuTag:function(e,t){if("remove"===t){var l=this.findTag(e),n=l.tag,i=l.key;this.$store.commit("DEL_TAG",n),n.value===this.tag.value&&(n=this.tagList[0===i?i:i-1],this.openTag(n))}},openTag:function(e){var t;t=e.name?this.findTag(e.name).tag:e,this.$router.push({path:this.$router.$avueRouter.getPath({name:t.label,src:t.value}),query:t.query})},closeOthersTags:function(){this.$store.commit("DEL_TAG_OTHER")},findTag:function(e){var t,l;return this.tagList.map(function(n,i){n.value===e&&(t=n,l=i)}),{tag:t,key:l}},closeAllTags:function(){this.$store.commit("DEL_ALL_TAG"),this.$router.push({path:this.$router.$avueRouter.getPath({src:this.tagWel.value}),query:this.tagWel.query})}}},r=o,d=l("2877"),s=Object(d["a"])(r,n,i,!1,null,null,null);t["default"]=s.exports},"5e27":function(e,t,l){},6389:function(e,t){e.exports=VueRouter},"6a91":function(e,t,l){},"709a":function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-popover",{attrs:{placement:"bottom",width:"400",trigger:"hover"}},[l("avue-crud",{attrs:{data:e.data,option:e.option}}),l("router-link",{staticClass:"top-mag__menu",attrs:{to:{path:"/info/message"}}},[l("el-button",{attrs:{type:"text",size:"mini"}},[e._v("查看全部")])],1),l("div",{staticClass:"top-bar__item top-bar__item--show",attrs:{slot:"reference"},slot:"reference"},[l("el-badge",{attrs:{"is-dot":""}},[l("i",{staticClass:" el-icon-bell"})])],1)],1)},i=[],c={name:"top-mag",data:function(){return{data:[{title:"你好新朋友,感谢使用 kongx",date:"2018-11-23"},{title:"smallwei发来一条私信",date:"2018-11-23"}],option:{size:"mini",addBtn:!1,page:!1,menu:!1,header:!1,column:[{width:200,label:"标题内容",prop:"title",overHidden:!0},{label:"时间",prop:"date"}]}}}},a=c,o=(l("d300"),l("2877")),r=Object(o["a"])(a,n,i,!1,null,null,null);t["default"]=r.exports},7505:function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"menu-wrapper"},[e._l(e.menu,function(t){return[e.validatenull(t[e.childrenKey])&&e.vaildRoles(t)?l("el-menu-item",{key:t[e.labelKey],class:{"is-active":e.vaildAvtive(t)},attrs:{index:t[e.pathKey]},on:{click:function(l){return e.open(t)}}},[l("i",{class:t[e.iconKey]}),l("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(t[e.labelKey]))])]):!e.validatenull(t[e.childrenKey])&&e.vaildRoles(t)?l("el-submenu",{key:t[e.labelKey],attrs:{index:t[e.pathKey]}},[l("template",{slot:"title"},[l("i",{class:t[e.iconKey]}),l("span",{class:{"el-menu--display":e.collapse&&e.first},attrs:{slot:"title"},slot:"title"},[e._v(e._s(t[e.labelKey]))])]),e._l(t[e.childrenKey],function(t,n){return[e.validatenull(t[e.childrenKey])?l("el-menu-item",{key:t[e.labelKey],class:{"is-active":e.vaildAvtive(t)},attrs:{index:t[e.pathKey],cindex:n},on:{click:function(l){return e.open(t)}}},[l("i",{class:t[e.iconKey]}),l("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(t[e.labelKey]))])]):l("sidebar-item",{key:n,attrs:{menu:[t],props:e.props,screen:e.screen,collapse:e.collapse}})]})],2):e._e()]})],2)},i=[],c=(l("6762"),l("2fdb"),l("cebc")),a=(l("c5f6"),l("5880")),o=l("c54a"),r=l("b297"),d={name:"sidebarItem",data:function(){return{config:r["a"]}},props:{menu:{type:Array},screen:{type:Number},first:{type:Boolean,default:!1},props:{type:Object,default:function(){return{}}},collapse:{type:Boolean}},created:function(){},mounted:function(){},computed:Object(c["a"])({},Object(a["mapGetters"])(["roles"]),{labelKey:function(){return this.props.label||this.config.propsDefault.label},pathKey:function(){return this.props.path||this.config.propsDefault.path},iconKey:function(){return this.props.icon||this.config.propsDefault.icon},childrenKey:function(){return this.props.children||this.config.propsDefault.children},nowTagValue:function(){return this.$router.$avueRouter.getValue(this.$route)}}),methods:{vaildAvtive:function(e){var t=this,l=(e["group"]||[]).some(function(e){return t.$route.path.includes(e)});return this.nowTagValue===e[this.pathKey]||l},vaildRoles:function(e){return e.meta=e.meta||{},!e.meta.roles||e.meta.roles.includes(this.roles)},validatenull:function(e){return Object(o["c"])(e)},open:function(e){this.screen<=1&&this.$store.commit("SET_COLLAPSE"),this.$router.$avueRouter.group=e.group,this.$router.push({path:this.$router.$avueRouter.getPath({name:e[this.labelKey],src:e[this.pathKey]}),query:e.query})}}},s=d,u=l("2877"),p=Object(u["a"])(s,n,i,!1,null,null,null);t["default"]=p.exports},7644:function(e,t,l){"use strict";var n=l("0570"),i=l.n(n);i.a},"7d3a":function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"avue-logo"},[l("transition",{attrs:{name:"fade"}},[e.keyCollapse?l("span",{key:"0",staticClass:"avue-logo_subtitle"},[e._v("\n "+e._s(e.website.logo)+"\n ")]):e._e()]),l("transition-group",{attrs:{name:"fade"}},[e.keyCollapse?e._e():[l("span",{key:"1",staticClass:"avue-logo_subtitle"},[e._v("\n "+e._s(e.website.indexTitle)+"\n ")])]],2)],1)},i=[],c=l("cebc"),a=l("5880"),o={name:"logo",data:function(){return{}},created:function(){},computed:Object(c["a"])({},Object(a["mapGetters"])(["website","keyCollapse"])),methods:{}},r=o,d=(l("aed4"),l("2877")),s=Object(d["a"])(r,n,i,!1,null,null,null);t["default"]=s.exports},8975:function(e,t,l){"use strict";l.r(t),l.d(t,"dateFormat",function(){return d}),l.d(t,"timeAgo",function(){return s}),l.d(t,"parseTime",function(){return u}),l.d(t,"formatTime",function(){return p}),l.d(t,"nFormatter",function(){return h}),l.d(t,"html2Text",function(){return b}),l.d(t,"toThousandslsFilter",function(){return f});l("6b54");var n=l("e814"),i=l.n(n),c=l("7618"),a=(l("c5f6"),l("0a0d")),o=l.n(a);l("3b2b"),l("a481");function r(e,t){return 1===e?e+t:e+t+"s"}function d(e){var t="yyyy-MM-dd hh:mm:ss";if("Invalid Date"!=e){var l={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(var n in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),l)new RegExp("("+n+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?l[n]:("00"+l[n]).substr((""+l[n]).length)));return t}return""}function s(e){var t=o()()/1e3-Number(e);return t<3600?r(~~(t/60)," minute"):t<86400?r(~~(t/3600)," hour"):r(~~(t/86400)," day")}function u(e,t){if(0===arguments.length)return null;10===(e+"").length&&(e=1e3*+e);var l,n=t||"{y}-{m}-{d} {h}:{i}:{s}";l="object"===Object(c["a"])(e)?e:new Date(i()(e));var a={y:l.getFullYear(),m:l.getMonth()+1,d:l.getDate(),h:l.getHours(),i:l.getMinutes(),s:l.getSeconds(),a:l.getDay()},o=n.replace(/{(y|m|d|h|i|s|a)+}/g,function(e,t){var l=a[t];return"a"===t?["一","二","三","四","五","六","日"][l-1]:(e.length>0&&l<10&&(l="0"+l),l||0)});return o}function p(e,t){e=1e3*+e;var l=new Date(e),n=o()(),i=(n-l)/1e3;return i<30?"刚刚":i<3600?Math.ceil(i/60)+"分钟前":i<86400?Math.ceil(i/3600)+"小时前":i<172800?"1天前":t?u(e,t):l.getMonth()+1+"月"+l.getDate()+"日"+l.getHours()+"时"+l.getMinutes()+"分"}function h(e,t){for(var l=[{value:1e18,symbol:"E"},{value:1e15,symbol:"P"},{value:1e12,symbol:"T"},{value:1e9,symbol:"G"},{value:1e6,symbol:"M"},{value:1e3,symbol:"k"}],n=0;n=l[n].value)return(e/l[n].value+.1).toFixed(t).replace(/\.0+$|(\.[0-9]*[1-9])0+$/,"$1")+l[n].symbol;return e.toString()}function b(e){var t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText}function f(e){return(+e||0).toString().replace(/^-?\d+/g,function(e){return e.replace(/(?=(?!\b)(\d{3})+$)/g,",")})}},"8bbf":function(e,t){e.exports=Vue},"8d84":function(e,t,l){"use strict";var n=l("92ef"),i=l.n(n);i.a},"92ef":function(e,t,l){},9657:function(e,t,l){},9812:function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-autocomplete",{staticClass:"top-search",attrs:{"popper-class":"my-autocomplete","fetch-suggestions":e.querySearch,placeholder:"请输入搜索内容"},on:{select:e.handleSelect},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.item;return[l("i",{class:[n[e.iconKey],"icon"]}),l("div",{staticClass:"name"},[e._v(e._s(n[e.labelKey]))]),l("p",{staticClass:"addr"},[e._v(e._s(n[e.pathKey]))])]}}]),model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})},i=[],c=(l("6762"),l("2fdb"),l("5176")),a=l.n(c),o=l("cebc"),r=l("b297"),d=l("5880"),s={data:function(){return{config:r["a"],value:"",menuList:[]}},created:function(){this.getMenuList()},watch:{menu:function(){this.getMenuList()}},computed:Object(o["a"])({labelKey:function(){return this.website.menu.props.label||this.config.propsDefault.label},pathKey:function(){return this.website.menu.props.path||this.config.propsDefault.path},iconKey:function(){return this.website.menu.props.icon||this.config.propsDefault.icon},childrenKey:function(){return this.website.menu.props.children||this.config.propsDefault.children}},Object(d["mapGetters"])(["menu","website"])),methods:{getMenuList:function(){var e=this,t=function t(l){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,i=[],c=this.$website.menu.props,a={label:c.label||"label",path:c.path||"path",icon:c.icon||"icon",children:c.children||"children",meta:c.meta||"meta"};if(0!==t.length){for(var o=function(c){var o=t[c];if(e.routerList.includes(o[a.path]))return{v:void 0};var r=function(){return n?o[a.path].replace("/index",""):o[a.path]}(),d=o.component,s=o[a.label],u=o[a.icon],p=o[a.children],h=o[a.meta];(r.includes("http")||r.includes("https"))&&(h={keepAlive:!0,isTab:!1,isAuth:!1});var b=0!==p.length,f={path:r,component:function(e){n?Promise.resolve().then(function(){var t=[l("9cc4")];e.apply(null,t)}.bind(this)).catch(l.oe):!b||n?Promise.all([l.e("page"),l.e("chunk-a26cd308")]).then(function(){var t=[l("692e")("./".concat(d,".vue"))];e.apply(null,t)}.bind(this)).catch(l.oe):l.e("chunk-2d0e4caf").then(function(){var t=[l("9277")];e.apply(null,t)}.bind(this)).catch(l.oe)},name:s,icon:u,meta:h,redirect:function(){return!b&&n?"".concat(r,"/index"):""}(),children:b?function(){return e.formatRoutes(p,!1)}():function(){return n?(o[a.path]="".concat(r,"/index"),[{component:function(e){Promise.all([l.e("page"),l.e("chunk-a26cd308")]).then(function(){var t=[l("692e")("./".concat(d,".vue"))];e.apply(null,t)}.bind(this)).catch(l.oe)},icon:u,name:s,meta:h,path:"index"}]):[]}()};i.push(f)},r=0;r=1200?3:e>=992?2:e>=768?1:0}},s=l("c54a"),u=function(e,t){var l=t-e,n=Math.floor(l/864e5),i=l%864e5,c=Math.floor(i/36e5),a=i%36e5,o=Math.floor(a/6e4),r=a%6e4,d=Math.round(l/1e3);return{leave1:i,leave2:a,leave3:r,days:n,hours:c,minutes:o,seconds:d}},p=l("e3c4"),h={components:{top:o["default"],tags:a["default"],sidebar:r["default"]},name:"index",data:function(){return{refreshLock:!1,refreshTime:""}},created:function(){},mounted:function(){this.init()},computed:Object(c["mapGetters"])(["isLock","isCollapse","website"]),props:[],methods:{showCollapse:function(){this.$store.commit("SET_COLLAPSE")},init:function(){var e=this;this.$store.commit("SET_SCREEN",d.getScreen()),window.onresize=function(){setTimeout(function(){e.$store.commit("SET_SCREEN",d.getScreen())},0)}},refreshToken:function(){var e=this;this.refreshTime=setInterval(function(){var t=Object(p["a"])({name:"token",debug:!0}),l=u(t.datetime,(new Date).getTime());Object(s["c"])(l)||l.seconds>=e.website.tokenTime||e.refreshLock||(e.refreshLock=!0,e.$store.dispatch("RefeshToken").then(function(){clearInterval(e.refreshTime)}).catch(function(){e.refreshLock=!1}))},3e3)}}},b=h,f=l("2877"),y=Object(f["a"])(b,n,i,!1,null,null,null);t["default"]=y.exports},"9d8c":function(e,t,l){},a161:function(e,t,l){"use strict";l.d(t,"d",function(){return c}),l.d(t,"c",function(){return a}),l.d(t,"b",function(){return o}),l.d(t,"a",function(){return r}),l.d(t,"e",function(){return d});var n=l("b5c6"),i=l("074d"),c=function(e,t,l){return Object(n["a"])({url:i["a"].path+"/authorize/login.do",method:"post",data:"username="+encodeURIComponent(e)+"&password="+encodeURIComponent(t)})},a=function(e){return Object(n["a"])({url:i["a"].path+"/authorize/validateCode.do",method:"get",params:{username:e.username}})},o=function(){return Object(n["a"])({url:i["a"].path+"/authorize/getUserInfo.do",method:"get"})},r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Object(n["a"])({url:i["a"].path+"/authorize/getMenu.do",method:"get",data:{type:e}})},d=function(){return Object(n["a"])({url:i["a"].path+"/authorize/logout.do",method:"get"})}},aed4:function(e,t,l){"use strict";var n=l("9d8c"),i=l.n(n);i.a},af62:function(e,t,l){"use strict";l.d(t,"c",function(){return c}),l.d(t,"d",function(){return a}),l.d(t,"b",function(){return o}),l.d(t,"i",function(){return r}),l.d(t,"a",function(){return d}),l.d(t,"g",function(){return s}),l.d(t,"j",function(){return u}),l.d(t,"h",function(){return p}),l.d(t,"f",function(){return h}),l.d(t,"e",function(){return b});var n=l("b5c6"),i=l("074d"),c=function(){return Object(n["a"])({url:i["a"].path+"/system/profile/profiles",method:"get"})},a=function(){return Object(n["a"])({url:i["a"].path+"/system/profile/profiles",method:"get"})},o=function(e){return Object(n["a"])({url:i["a"].path+"/system/profile/active/",method:"get"})},r=function(e,t){return Object(n["a"])({url:i["a"].path+"/system/profile/active/",method:"post",data:t})},d=function(e){return Object(n["a"])({url:i["a"].path+"/system/profile/profiles/",method:"post",data:e})},s=function(e){return Object(n["a"])({url:i["a"].path+"/system/profile/profiles/probing",method:"post",data:e})},u=function(e){return Object(n["a"])({url:i["a"].path+"/system/profile/profiles/"+e.id,method:"post",data:e})},p=function(e){return Object(n["a"])({url:i["a"].path+"/system/profile/profiles/"+e.id,method:"delete"})},h=function(){return Object(n["a"])({url:i["a"].path+"/system/envs/",method:"get"})},b=function(e){return Object(n["a"])({url:i["a"].path+"/system/profile/profiles/"+e,method:"get"})}},afb5:function(e,t,l){},b297:function(e,t,l){"use strict";t["a"]={propsDefault:{label:"label",path:"path",icon:"icon",children:"children"}}},b3ad:function(e,t,l){},b5c6:function(e,t,l){"use strict";l("6762"),l("2fdb"),l("c5f6");var n=l("795b"),i=l.n(n),c=l("cebe"),a=l.n(c),o=l("4360"),r=l("9883"),d=l("0e0b"),s=l("0a5a"),u=l("5c96"),p=l("074d"),h=l("323e"),b=l.n(h);l("a5d8");a.a.defaults.timeout=3e4,a.a.defaults.validateStatus=function(e){return e>=200&&e<=500},a.a.defaults.withCredentials=!0,b.a.configure({showSpinner:!1}),a.a.interceptors.request.use(function(e){b.a.start();var t=!1===(e.data||{}).isToken;return Object(s["a"])()&&!t&&(e.headers["Authorization"]="Bearer "+Object(s["a"])()),"post"===e.methods&&e.headers.serialize&&(e.data=Object(d["h"])(e.data),delete e.data.serialize),e},function(e){return i.a.reject(e)}),a.a.interceptors.response.use(function(e){b.a.done();var t=Number(e.status)||200,l=p["a"].statusWhiteList||[],n=e.data.errmsg||"系统错误,请联系管理员";if(200!==t&&!l.includes(t))return Object(u["Message"])({message:n,type:"error"}),i.a.reject(new Error(n));var c=e.data,a=Number(c.status);return 401!==t&&401!==a||o["a"].dispatch("FedLogOut").then(function(){return r["a"].push({path:"/login"})}),200!==t?i.a.reject(e):e},function(e){return console.log(e),b.a.done(),i.a.reject(new Error(e))}),t["a"]=a.a},bd25:function(module,__webpack_exports__,__webpack_require__){"use strict";var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("ac6a"),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_es6_array_find__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("7514"),core_js_modules_es6_array_find__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es6_array_find__WEBPACK_IMPORTED_MODULE_1__),D_99_python_kongx_fe_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("cebc"),vuex__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("5880"),vuex__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(vuex__WEBPACK_IMPORTED_MODULE_3__),_util_validate__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("c54a"),_const_setting___WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("e185");__webpack_exports__["a"]={data:function(){return{box:!1,form:{},list:_const_setting___WEBPACK_IMPORTED_MODULE_5__["a"],option:Object(_const_setting___WEBPACK_IMPORTED_MODULE_5__["b"])(this)}},computed:Object(D_99_python_kongx_fe_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__["a"])({},Object(vuex__WEBPACK_IMPORTED_MODULE_3__["mapGetters"])(["isShade"]),Object(vuex__WEBPACK_IMPORTED_MODULE_3__["mapState"])({showTag:function(e){return e.common.showTag},showDebug:function(e){return e.common.showDebug},showLock:function(e){return e.common.showLock},showColor:function(e){return e.common.showColor},showFullScren:function(e){return e.common.showFullScren},showCollapse:function(e){return e.common.showCollapse},showSearch:function(e){return e.common.showSearch},showMenu:function(e){return e.common.showMenu},showTheme:function(e){return e.common.showTheme}})),created:function(){this.init()},methods:{close:function(){this.box=!1,this.$store.commit("SET_SHADE",!1)},set:function set(key){var ele=this.find(key);this.$store.commit(ele.commit,eval(this.form[ele.key]))},find:function(e){return this.list.filter(function(t){return t.key===e})[0]},init:function(){var e=this;this.list.forEach(function(t){e.form[t.key]=Object(_util_validate__WEBPACK_IMPORTED_MODULE_4__["c"])(e[t.key])?"true":e[t.key]+"",e.set(t.key)})},open:function(){this.box=!0,this.$store.commit("SET_SHADE",!0)}}}},bd51:function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("span",{staticClass:"setting"},[l("div",{staticClass:"setting__shade",class:{"setting__shade--show":e.isShade},on:{click:e.close}}),l("i",{staticClass:"el-icon-more setting__icon",on:{click:e.open}}),l("div",{staticClass:"setting__content",class:{"setting__content--show":e.box}},[e._m(0),l("el-scrollbar",{staticStyle:{height:"500px"}},[l("div",{staticClass:"setting__body setting__form"},[l("avue-form",{attrs:{option:e.option},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1)])],1)])},i=[function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"setting__header"},[e._v("设置\n "),l("small",[e._v("(滑动鼠标下面还有更多设置)")])])}],c=l("bd25"),a=c["a"],o=(l("4e09"),l("2877")),r=Object(o["a"])(a,n,i,!1,null,"6d242758",null);t["default"]=r.exports},c54a:function(e,t,l){"use strict";l.d(t,"b",function(){return o}),l.d(t,"c",function(){return r}),l.d(t,"a",function(){return d});l("c5f6");var n=l("3be2"),i=l.n(n),c=l("f499"),a=l.n(c);l("28a5");function o(e){return/^http[s]?:\/\/.*/.test(e)}function r(e){if("boolean"==typeof e)return!1;if("number"==typeof e)return!1;if(e instanceof Array){if(0==e.length)return!0}else{if(!(e instanceof Object))return"null"==e||null==e||"undefined"==e||void 0==e||""==e;if("{}"===a()(e))return!0}return!1}function d(e,t,l){i()(Number(t))||l(new Error("请输入数字值")),l()}},c60b:function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-popover",{attrs:{placement:"top-end",width:"500",trigger:"hover"}},[l("avue-crud",{attrs:{data:e.tableData,option:e.option},scopedSlots:e._u([{key:"id",fn:function(t){var n=t.row;return[e.activeClient&&e.activeClient.id!=n.id?l("el-button",{attrs:{type:"info",size:"mini",plain:""},on:{click:function(t){return e.handActiveClient(n)}}},[e._v("激活")]):e._e(),e.activeClient&&e.activeClient.id==n.id?l("el-button",{attrs:{type:"success",size:"mini",tips:"点击可重新激活"},on:{click:function(t){return e.handActiveClient(n)}}},[e._v("已激活")]):e._e()]}}])}),l("div",{staticStyle:{fixed:"right"}},[l("el-button",{attrs:{type:"danger",size:"mini"},on:{click:e.handList}},[e._v("刷新")])],1),l("div",{staticClass:"top-bar__item top-bar__item--show",attrs:{slot:"reference"},slot:"reference"},[l("el-badge",{attrs:{"is-dot":""}},[l("i",{staticClass:"icon-system"})])],1)],1)},i=[],c=l("cebc"),a=l("af62"),o=l("5880"),r={name:"kong-client",data:function(){return{tableData:[],cardoption:{props:{img:"img",title:"title",info:"text"}},data:[],option:{size:"mini",index:!1,addBtn:!1,page:!1,menu:!1,header:!1,simplePage:!0,column:[{width:100,label:"Name",prop:"name",overHidden:!0},{label:"Admin URL",prop:"url"},{label:"Version",prop:"version"},{label:"Active",width:80,prop:"id",slot:!0}]}}},created:function(){this.findActiveKongclient(),this.handList()},mounted:function(){var e=this,t=setInterval(function(){e.handList()},6e4);this.$once("hook:beforeDestroy",function(){clearInterval(t)})},components:Object(c["a"])({},Object(o["mapGetters"])(["userInfo","kongClient"])),props:{activeClient:{type:Object,required:!1}},methods:{findActiveKongclient:function(){var e=this;this.$store.dispatch("FindActiveClient",this.userInfo).then(function(t){e.activeClient=t,e.$nextTick(function(t){e.$router.push("/wel/index")})})},handList:function(){var e=this;Object(a["c"])().then(function(t){e.tableData=t.data.data})},handActiveClient:function(e){var t=this;Object(a["i"])("client",e).then(function(e){t.findActiveKongclient(),window.location.reload()})},callback:function(){this.$emit("callback",{})}}},d=r,s=(l("9a43"),l("2877")),u=Object(s["a"])(d,n,i,!1,null,null,null);t["default"]=u.exports},cebe:function(e,t){e.exports=axios},d300:function(e,t,l){"use strict";var n=l("6a91"),i=l.n(n);i.a},d67e:function(e,t,l){"use strict";var n=l("5dd6"),i=l.n(n);i.a},dc8a:function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"basic-container"},[l("el-card",[e._t("default")],2)],1)},i=[],c={name:"basicContainer"},a=c,o=(l("3ce2"),l("2877")),r=Object(o["a"])(a,n,i,!1,null,null,null);t["default"]=r.exports},e185:function(e,t,l){"use strict";l.d(t,"a",function(){return i}),l.d(t,"b",function(){return c});var n=[{label:"开启",value:"true"},{label:"关闭",value:"false"}],i=[{key:"showTag",commit:"SET_SHOWTAG"},{key:"showTheme",commit:"SET_SHOWTHEME"},{key:"showColor",commit:"SET_SHOWCOLOR"},{key:"showLock",commit:"SET_SHOWLOCK"},{key:"showDebug",commit:"SET_SHOWDEBUG"},{key:"showFullScren",commit:"SET_SHOWFULLSCREN"},{key:"showCollapse",commit:"SET_SHOWCOLLAPSE"},{key:"showSearch",commit:"SET_SHOWSEARCH"},{key:"showMenu",commit:"SET_SHOWMENU"}],c=function(e){var t=e;return{submitBtn:!1,column:[{label:"标签",prop:"showTag",type:"switch",span:24,dicData:n,click:function(e){var l=e.column;t.set(l.prop)}},{label:"日志",prop:"showDebug",type:"switch",span:24,dicData:n,click:function(e){var l=e.column;t.set(l.prop)}},{label:"主题",prop:"showTheme",type:"switch",span:24,dicData:n,click:function(e){var l=e.column;t.set(l.prop)}},{label:"主题色",prop:"showColor",type:"switch",span:24,dicData:n,click:function(e){var l=e.column;t.set(l.prop)}},{label:"全屏",prop:"showFullScren",type:"switch",span:24,dicData:n,click:function(e){var l=e.column;t.set(l.prop)}},{label:"锁屏",prop:"showLock",type:"switch",span:24,dicData:n,click:function(e){var l=e.column;t.set(l.prop)}},{label:"搜索",prop:"showSearch",type:"switch",span:24,dicData:n,click:function(e){var l=e.column;t.set(l.prop)}},{label:"缩放",prop:"showCollapse",type:"switch",span:24,dicData:n,click:function(e){var l=e.column;t.set(l.prop)}},{label:"顶部菜单",prop:"showMenu",type:"switch",span:24,dicData:n,click:function(e){var l=e.column;t.set(l.prop)}}]}}},e349:function(e,t,l){"use strict";l.d(t,"a",function(){return n});var n={USERTYPE:[{label:"请选择",value:""},{label:"超级用户",value:"UserType_1"},{label:"管理员",value:"UserType_2"},{label:"供应商用户",value:"UserType_3"},{label:"公司用户",value:"UserType_4"}],DEVELOPER_STATE:[{label:"请选择",value:""},{label:"未激活",value:"1"},{label:"正常",value:"2"},{label:"禁用",value:"3"}],USE_YN:[{label:"否",value:"n",color:"red"},{label:"是",value:"y",color:"green"}],ROLE_TYPE:[{label:"菜单角色",value:"menu"},{label:"数据角色",value:"data"}],VAILD:[{label:"真",value:"true",color:"green"},{label:"假",value:"false",color:"red"}],SEX:[{label:"男",value:0,color:"green"},{label:"女",value:1,color:"red"}],POSTIONDATA:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"}],TYPE:[{label:"一级1",value:0,children:[{label:"一级1二级1",value:2}]},{label:"一级2",value:1,children:[{label:"一级2二级1",value:2}]}],GRADE:[{label:"管理员",value:0},{label:"二级管理员",value:1}],VAILDATA:[{label:"激活",value:!0},{label:"禁用",value:!1}],CRUDTYPE:[{label:"输入框",value:""},{label:"选择框",value:"select"},{label:"文本框",value:"text"},{label:"密码框",value:"password"},{label:"树型框",value:"tree"},{label:"富文本编辑框",value:"ueditor"},{label:"多行文本框",value:"textarea"},{label:"单选框",value:"radio"},{label:"多选框",value:"checkbox"},{label:"数字框",value:"number"},{label:"日期框",value:"date"},{label:"日期范围框",value:"daterange"},{label:"时间范围框",value:"datetimerange"},{label:"时间框",value:"datetime"},{label:"周",value:"week"},{label:"月",value:"month"},{label:"年",value:"year"},{label:"滑动框",value:"silder"},{label:"评价框",value:"rate"},{label:"上传框",value:"upload"}],UITYPE:[{value:"zhinan",label:"指南",children:[{value:"shejiyuanze",label:"设计原则",children:[{value:"yizhi",label:"一致"},{value:"fankui",label:"反馈"},{value:"xiaolv",label:"效率"},{value:"kekong",label:"可控"}]},{value:"daohang",label:"导航",children:[{value:"cexiangdaohang",label:"侧向导航"},{value:"dingbudaohang",label:"顶部导航"}]}]},{value:"zujian",label:"组件",children:[{value:"basic",label:"Basic",children:[{value:"layout",label:"Layout 布局"},{value:"color",label:"Color 色彩"},{value:"typography",label:"Typography 字体"},{value:"icon",label:"Icon 图标"},{value:"button",label:"Button 按钮"}]},{value:"form",label:"Form",children:[{value:"radio",label:"Radio 单选框"},{value:"checkbox",label:"Checkbox 多选框"},{value:"input",label:"Input 输入框"},{value:"input-number",label:"InputNumber 计数器"},{value:"select",label:"Select 选择器"},{value:"cascader",label:"Cascader 级联选择器"},{value:"switch",label:"Switch 开关"},{value:"slider",label:"Slider 滑块"},{value:"time-picker",label:"TimePicker 时间选择器"},{value:"date-picker",label:"DatePicker 日期选择器"},{value:"datetime-picker",label:"DateTimePicker 日期时间选择器"},{value:"upload",label:"Upload 上传"},{value:"rate",label:"Rate 评分"},{value:"form",label:"Form 表单"}]},{value:"data",label:"Data",children:[{value:"table",label:"Table 表格"},{value:"tag",label:"Tag 标签"},{value:"progress",label:"Progress 进度条"},{value:"tree",label:"Tree 树形控件"},{value:"pagination",label:"Pagination 分页"},{value:"badge",label:"Badge 标记"}]},{value:"notice",label:"Notice",children:[{value:"alert",label:"Alert 警告"},{value:"loading",label:"Loading 加载"},{value:"message",label:"Message 消息提示"},{value:"message-box",label:"MessageBox 弹框"},{value:"notification",label:"Notification 通知"}]},{value:"navigation",label:"Navigation",children:[{value:"menu",label:"NavMenu 导航菜单"},{value:"tabs",label:"Tabs 标签页"},{value:"breadcrumb",label:"Breadcrumb 面包屑"},{value:"dropdown",label:"Dropdown 下拉菜单"},{value:"steps",label:"Steps 步骤条"}]},{value:"others",label:"Others",children:[{value:"dialog",label:"Dialog 对话框"},{value:"tooltip",label:"Tooltip 文字提示"},{value:"popover",label:"Popover 弹出框"},{value:"card",label:"Card 卡片"},{value:"carousel",label:"Carousel 走马灯"},{value:"collapse",label:"Collapse 折叠面板"}]}]},{value:"ziyuan",label:"资源",children:[{value:"axure",label:"Axure Components"},{value:"sketch",label:"Sketch Templates"},{value:"jiaohu",label:"组件交互文档"}]}],PAYTYPE:[{label:"微信",value:"0"},{label:"支付宝",value:"1"},{label:"银行卡",value:"2"}],DATALIST:[{label:"SEX",value:"SEX"},{label:"STATE",value:"STATE"},{label:"GRADE",value:"GRADE"}],ISGLOBAl:[{label:"否",value:0},{label:"是",value:1}],AVA:[{label:"可用",value:"1"},{label:"不可用",value:"0"}],HASH_ON_TYPE:[{label:"none",value:"none"},{label:"consumer",value:"consumer"},{label:"ip",value:"ip"},{label:"header",value:"header"},{label:"cookie",value:"cookie"}],PROTOCOLS:[{label:"http",value:"http"},{label:"https",value:"https"}],PROTOCOLS_HEALTHCHECK:[{label:"http",value:"http"},{label:"https",value:"https"},{label:"tcp",value:"tcp"}],HASH_ON_FALLBACK_TYPE:[{label:"none",value:"none"},{label:"consumer",value:"consumer"},{label:"ip",value:"ip"},{label:"header",value:"header"}],BEHAVIOR_TYPE:[{label:"直接拒绝",value:0},{label:"Warm up",value:1},{label:"匀速排队",value:2},{label:"Warm up+匀速排队",value:3}],APP_STATUS:[{label:"已审核",value:"0"},{label:"待审核",value:"1"},{label:"已驳回",value:"2"},{label:"已禁用",value:"3"}],SERVICE_STATUS:[{label:"启用",value:1},{label:"禁用",value:0}],TIME:[{label:"时",value:"HOURS"},{label:"分",value:"MINUTES"},{label:"秒",value:"SECONDS"}]}},e3c4:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"c",function(){return setStore}),__webpack_require__.d(__webpack_exports__,"a",function(){return getStore}),__webpack_require__.d(__webpack_exports__,"b",function(){return removeStore});var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("c5f6"),core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__),D_99_python_kongx_fe_node_modules_babel_runtime_corejs2_core_js_json_stringify__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("f499"),D_99_python_kongx_fe_node_modules_babel_runtime_corejs2_core_js_json_stringify__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(D_99_python_kongx_fe_node_modules_babel_runtime_corejs2_core_js_json_stringify__WEBPACK_IMPORTED_MODULE_1__),D_99_python_kongx_fe_node_modules_babel_runtime_corejs2_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("7618"),core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("7f7f"),core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_3__),_util_validate__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("c54a"),setStore=function(e){var t=e.name,l=e.content,n=e.type,i={dataType:Object(D_99_python_kongx_fe_node_modules_babel_runtime_corejs2_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_2__["a"])(l),content:l,type:n,datetime:(new Date).getTime()};n?window.sessionStorage.setItem(t,D_99_python_kongx_fe_node_modules_babel_runtime_corejs2_core_js_json_stringify__WEBPACK_IMPORTED_MODULE_1___default()(i)):window.localStorage.setItem(t,D_99_python_kongx_fe_node_modules_babel_runtime_corejs2_core_js_json_stringify__WEBPACK_IMPORTED_MODULE_1___default()(i))},getStore=function getStore(params){var name=params.name,debug=params.debug,obj={},content;if(obj=window.sessionStorage.getItem(name),Object(_util_validate__WEBPACK_IMPORTED_MODULE_4__["c"])(obj)&&(obj=window.localStorage.getItem(name)),!Object(_util_validate__WEBPACK_IMPORTED_MODULE_4__["c"])(obj))return obj=JSON.parse(obj),debug?obj:("string"==obj.dataType?content=obj.content:"number"==obj.dataType?content=Number(obj.content):"boolean"==obj.dataType?content=eval(obj.content):"object"==obj.dataType&&(content=obj.content),content)},removeStore=function(e){var t=e.name;window.localStorage.removeItem(t),window.sessionStorage.removeItem(t)},getAllStore=function(e){for(var t=[],l=e.type,n=1;n<=window.sessionStorage.length;n++)l?t.push({name:window.sessionStorage.key(n),content:getStore({name:window.sessionStorage.key(n),type:"session"})}):t.push(getStore({name:window.localStorage.key(n),content:getStore({name:window.localStorage.key(n)})}));return t},clearStore=function(e){var t=e.type;t?window.sessionStorage.clear():window.localStorage.clear()}}}); \ No newline at end of file diff --git a/kongx-serve/src/main/resources/static/js/chunk-569fe953.2351d552.js b/kongx-serve/src/main/resources/static/js/chunk-569fe953.2351d552.js deleted file mode 100644 index 1845bc1..0000000 --- a/kongx-serve/src/main/resources/static/js/chunk-569fe953.2351d552.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-569fe953"],{2810:function(e,t,l){"use strict";var n=l("85e3"),a=l.n(n);a.a},"442f":function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",[l("basic-container",[l("el-alert",{attrs:{title:"设置系统环境相关配置请前往环境管理,或联系管理员",type:"info","show-icon":""}}),l("avue-crud",{ref:"crud",attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading},on:{"refresh-change":e.handlerefreshChange},scopedSlots:e._u([{key:"id",fn:function(t){var n=t.row;return[e.activeClient.id!=n.id?l("el-button",{attrs:{type:"info",size:"mini",plain:""},on:{click:function(t){return e.handActiveClient(n)}}},[e._v("激活")]):e._e(),e.activeClient.id==n.id?l("el-button",{attrs:{type:"success",size:"mini"}},[e._v("已激活")]):e._e()]}},{key:"menuLeft",fn:function(t){return[(e.permission.client_add,e._e())]}},{key:"menu",fn:function(t){return[e.permission.client_update?l("el-button",{attrs:{icon:"el-icon-edit",size:"small",type:"primary",plain:""},on:{click:function(l){return e.toEditClient(t.row,t.$index)}}},[e._v("编辑")]):e._e(),e.permission.client_delete?l("el-button",{attrs:{icon:"el-icon-delete",size:"small",type:"danger",plain:""},on:{click:function(l){return e.handlerDelete(t.row,t.$index)}}},[e._v("删除")]):e._e()]}}])})],1),e.grade.box?l("el-dialog",{attrs:{title:"新增Kong连接",width:"70%",visible:e.grade.box},on:{"update:visible":function(t){return e.$set(e.grade,"box",t)}}},[l("avue-form",{attrs:{option:e.clientColumn},on:{submit:e.handleClient},model:{value:e.clientForm,callback:function(t){e.clientForm=t},expression:"clientForm"}})],1):e._e()],1)},a=[],i=l("5176"),r=l.n(i),o=(l("7f7f"),l("cebc")),s=l("5880"),c=l("af62"),d=l("5640"),u={name:"client",components:{},data:function(){return{tableOption:d["b"],clientColumn:d["a"],tableData:[],tableLoading:!1,clientForm:{},activeClient:{id:-1},grade:{box:!1}}},created:function(){this.findActiveKongclient(),this.handleList(),this.initOptions(),this.$notify({title:"提示",type:"warning",message:"请激活当前使用环境!!!",offset:100})},watch:{},mounted:function(){},computed:Object(o["a"])({},Object(s["mapGetters"])(["permission","userInfo"])),props:[],methods:{initOptions:function(){this.tableOption["menu"]=!1},findActiveKongclient:function(){var e=this;this.$store.dispatch("FindActiveClient",this.userInfo).then(function(t){e.activeClient=t})},handActiveClient:function(e){var t=this;Object(c["h"])(this.userInfo.name,e).then(function(e){window.location.href.indexOf("#/wel/index")>0?window.location.reload():t.$nextTick(function(e){t.$router.push("/wel/index")})})},toEditClient:function(e,t){this.grade.box=!0,this.clientForm=e},handlerefreshChange:function(e){this.handleList(this.tableSearch)},handleList:function(e){var t=this;this.tableLoading=!0,Object(c["c"])(r()({})).then(function(e){var l=e.data.data;t.tableData=l,t.tableLoading=!1})},handleClient:function(e,t){var l=this;this.clientForm&&this.clientForm.id?Object(c["i"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(l.$successInfo("修改成功"),l.handleList(),l.grade.box=!1):l.$errorInfo("修改失败"),t()}):Object(c["a"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(l.$successInfo("新增成功"),l.handleList(),l.grade.box=!1):l.$errorInfo("新增失败"),t()})},handlerDelete:function(e){var t=this;this.$confirm("是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(c["g"])(e).then(function(e){var l=e.data;0==l.status?(t.$successInfo("删除成功"),t.handleList()):t.$errorInfo("删除失败")})})}}},p=u,b=(l("2810"),l("2877")),m=Object(b["a"])(p,n,a,!1,null,"2f33f763",null);t["default"]=m.exports},5640:function(e,t,l){"use strict";l.d(t,"e",function(){return r}),l.d(t,"a",function(){return o}),l.d(t,"b",function(){return s}),l.d(t,"h",function(){return c}),l.d(t,"f",function(){return d}),l.d(t,"c",function(){return u}),l.d(t,"d",function(){return p}),l.d(t,"i",function(){return b}),l.d(t,"g",function(){return m});var n,a=l("bd86"),i=(l("e349"),l("c54a"),l("074d")),r={card:!0,size:"small",emptyBtn:!1,group:[{label:"网关配置",column:[{label:"Kong Admin URL",row:!0,span:24,labelWidth:140,value:"http://localhost:8001/",prop:"url",tip:"请填写kong的管理URL,如:http://localhost:8001/",rules:[{required:!0,message:"请填写URL,如:http://localhost:8001/",trigger:"blur"}]}]},{label:"环境信息",column:[{label:"名称",prop:"name",span:24,labelWidth:140,width:150,rules:[{required:!0,message:"请填写名称",trigger:"blur"}]},{label:"环境编码",prop:"profileCode",span:24,labelWidth:140,width:150,rules:[{required:!0,message:"请填写环境编码",trigger:"blur"}]},{label:"所属环境",prop:"env",span:24,labelWidth:140,width:150,disabled:!0},{label:"部署类型",prop:"deployType",span:24,labelWidth:140,width:150,disabled:!0},{label:"简称",prop:"ab",span:24,labelWidth:140,width:150,disabled:!0}]}]},o={column:[{label:"名称",prop:"name",span:24,labelWidth:140,width:150,rules:[{required:!0,message:"请填写名称",trigger:"blur"}]},{label:"Kong Admin URL",row:!0,span:24,labelWidth:140,prop:"url",tip:"请填写kong的管理URL,如:http://localhost:8001/",rules:[{required:!0,message:"请填写URL,如:http://localhost:8001/",trigger:"blur"}]},{label:"所属环境",labelWidth:140,prop:"profile",type:"select",group:!0,dicUrl:i["a"].path+"/system/envs/"}]},s=(n={maxHeight:600,labelWidth:120,simplePage:!0,index:!0,border:!0,menuBtn:!0,addBtn:!1},Object(a["a"])(n,"simplePage",!0),Object(a["a"])(n,"delBtn",!1),Object(a["a"])(n,"editBtn",!1),Object(a["a"])(n,"refreshBtn",!1),Object(a["a"])(n,"columnBtn",!1),Object(a["a"])(n,"menuAlign","center"),Object(a["a"])(n,"align","center"),Object(a["a"])(n,"searchSize","mini"),Object(a["a"])(n,"column",[{label:"是否激活",prop:"id",slot:!0,width:80},{label:"名称",prop:"name",sortable:!0,width:150},{label:"URL",prop:"url"},{label:"PROFILE",prop:"profile",type:"select",group:!0,dicUrl:i["a"].path+"/system/envs/"},{label:"创建日期",prop:"create_at",width:"180",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,l,n){return t}}]),n),c={maxHeight:900,expand:!0,labelWidth:120,index:!0,border:!0,menuBtn:!0,addBtn:!1,delBtn:!1,editBtn:!1,refreshBtn:!1,columnBtn:!1,menuAlign:"center",align:"center",searchSize:"mini",menu:!1,column:[{label:"源环境",prop:"src_client",slot:!0,width:"280"},{label:"目标环境",prop:"clients",overHidden:!0,slot:!0},{label:"数据类型",prop:"dataType"},{label:"同步策略",prop:"policy"},{label:"同步时间",prop:"create_at",width:"180",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,l,n){return t}},{label:"同步状态",prop:"status"},{label:"备注",span:24,labelWidth:140,overHidden:!0,type:"textarea",prop:"comment"},{label:"操作人",prop:"creator",width:100}]},d={maxHeight:600,labelWidth:120,menuBtn:!0,addBtn:!1,delBtn:!1,viewBtn:!0,editBtn:!1,menuAlign:"center",align:"center",menu:!1,columnBtn:!1,refreshBtn:!1,column:[{label:"同步时间",prop:"create_at",width:"160",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,l,n){return t}},{label:"同步消息",prop:"comment",align:"left",width:400}]},u={column:[{label:"KEY",prop:"configKey",span:24,labelWidth:140,width:150,rules:[{required:!0,message:"请填写key",trigger:"blur"}]},{label:"VALUE",row:!0,span:24,labelWidth:140,type:"textarea",prop:"configValue",rules:[{required:!0,message:"请填写key值",trigger:"blur"}]},{label:"参数类型",row:!0,span:24,labelWidth:140,type:"select",prop:"configType",dicUrl:i["a"].path+"/system/envs/configTypes",rules:[{required:!0,message:"请选择参数类型",trigger:"blur"}]},{label:"备注",span:24,labelWidth:140,type:"textarea",prop:"comment"}]},p={maxHeight:600,expand:!0,labelWidth:120,simplePage:!0,index:!0,border:!0,menuBtn:!0,addBtn:!1,delBtn:!1,editBtn:!1,menuAlign:"center",align:"center",searchSize:"mini",column:[{label:"KEY",prop:"configKey",align:"left",width:240},{label:"VALUE",prop:"configValue",overHidden:!0},{label:"备注",width:240,prop:"comment"},{label:"创建日期",prop:"create_at",width:"180",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,l,n){return t}}]},b={card:!0,group:[{icon:"el-icon-info",label:"同步配置信息",column:[{label:"源环境",type:"select",labelWidth:150,span:24,formslot:!0,prop:"src_client"},{label:"目标环境",prop:"clients",labelWidth:150,formslot:!0},{label:"待同步的服务列表",prop:"services",span:24,labelWidth:150,formslot:!0}]},{label:"同步信息",column:[]}]},m={maxHeight:600,labelWidth:120,index:!0,border:!0,menuBtn:!1,addBtn:!1,delBtn:!1,editBtn:!1,menu:!1,simplePage:!0,refreshBtn:!1,columnBtn:!1,menuAlign:"center",align:"center",searchSize:"mini",column:[{label:"操作时间",prop:"create_at",width:"180",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,l,n){return t}},{label:"操作者",prop:"creator",width:100},{label:"操作记录",prop:"remark",align:"left"},{label:"操作环境",prop:"profile",width:100},{label:"执行操作",prop:"operation",width:150,type:"select",dicData:[{label:"登录",value:"login"},{label:"登出",value:"logout"},{label:"同步",value:"sync"},{label:"新增",value:"add"},{label:"修改",value:"update"},{label:"删除",value:"delete"},{label:"执行降级",value:"demote_config"},{label:"降级回滚",value:"rollback_config"},{label:"Arthas调试",value:"arthas_attach"},{label:"启动",value:"job_startup"},{label:"暂停",value:"job_pause"}]},{label:"操作对象",prop:"target",width:150,dicData:[{label:"全局插件",value:"global_plugin"},{label:"路由插件",value:"route_plugin"},{label:"服务插件",value:"service_plugin"},{label:"路由",value:"route"},{label:"服务",value:"service"},{label:"上游服务",value:"upstream"},{label:"上游代理",value:"targets"},{label:"系统",value:"system"},{label:"作业",value:"monitor_job"},{label:"作业任务",value:"monitor_job_task"},{label:"网关服务",value:"sync_service"},{label:"系统参数",value:"server_config"},{label:"系统环境",value:"system_profile"},{label:"降级参数",value:"demote_app_params"},{label:"热配参数",value:"sync_app_params"},{label:"服务进程",value:"service_progress"}]}]}},"85e3":function(e,t,l){}}]); \ No newline at end of file diff --git a/kongx-serve/src/main/resources/static/js/chunk-a26cd308.1c730ecc.js b/kongx-serve/src/main/resources/static/js/chunk-a26cd308.1c730ecc.js new file mode 100644 index 0000000..41f201e --- /dev/null +++ b/kongx-serve/src/main/resources/static/js/chunk-a26cd308.1c730ecc.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a26cd308","views","chunk-a425ea88","chunk-36d68c6a","chunk-2d0e4caf"],{"0095":function(e,t,a){},"00b3":function(e,t,a){"use strict";var n=a("9d5c"),i=a.n(n);i.a},"04c3":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",["view"!=e.mode?a("avue-form",{attrs:{option:e.targetColumn},on:{submit:e.handleTargetSave},model:{value:e.targetForm,callback:function(t){e.targetForm=t},expression:"targetForm"}}):e._e(),a("avue-crud",{attrs:{option:e.targetOption,data:e.targetData},on:{"row-del":e.handleTargetDel},scopedSlots:e._u([{key:"health",fn:function(e){var t=e.row;return[a("img",{staticClass:"image",staticStyle:{width:"20px",height:"20px"},attrs:{src:"/svg/"+t.health.toLowerCase()+".svg",title:t.health}})]}},{key:"menu",fn:function(t){return[a("el-button",{attrs:{icon:"el-icon-delete",size:"small",plain:"",type:"danger"},on:{click:function(a){return e.handleTargetDel(t.row,t.$index)}}},[e._v("删除")])]}}])},[a("template",{slot:"empty"},[e._v("暂无服务代理,请添加服务代理")])],2)],1)},i=[],s=a("cebc"),r=a("5880"),o=a("fef3"),l=a("2ed6"),c={name:"targets",data:function(){return{targetOption:o["n"],targetColumn:o["m"],targetForm:{},targetData:[],grade:{box:!0}}},props:{upstream:{type:Object,required:!1},mode:{required:!0},client:{type:Object,required:!0,id:-1}},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission","isDevProfile","isProdProfile","systemProfile"])),mounted:function(){var e=this,t=setInterval(function(){e.handleList(e.upstream)},1e5);this.$once("hook:beforeDestroy",function(){clearInterval(t)})},created:function(){this.handleList(this.upstream),this.initOptions()},methods:{initOptions:function(){this.targetOption["menu"]="view"!=this.mode},toEditTarget:function(e,t){this.targetForm=e},handleList:function(e){var t=this;this.tableLoading=!0,e.id&&(this.client=this.client||{},Object(l["c"])(e,this.client).then(function(e){t.targetData=e.data.data}))},handleTargetSave:function(e,t){var a=this;this.targetForm=e,this.targetForm.upstream={id:this.upstream.id},delete this.targetForm.id,Object(l["a"])(e).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.$successInfo("新增成功"),a.handleList(a.upstream),a.targetForm={},a.targetForm.upstream={id:a.upstream.id}),t()})},handleTargetDel:function(e,t){var a=this,n="";this.isProdProfile&&(n="当前为生产环境,请谨慎操作! "),this.$confirm(n+"是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(l["d"])({upstream:a.upstream,id:e.id}).then(function(e){var t=e.data;0!=t.status?a.$errorInfo(t.errmsg):(a.handleList(a.upstream),a.targetForm={},a.targetForm.upstream={id:a.upstream.id},a.$successInfo("删除成功"))})}).catch(function(){})}}},u=c,d=a("2877"),p=Object(d["a"])(u,n,i,!1,null,null,null);t["default"]=p.exports},"068d":function(e,t,a){"use strict";var n=a("0095"),i=a.n(n);i.a},"08bb":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-tabs",{ref:"upstreamTabs",on:{"tab-click":e.checkUpstream}},[a("el-tab-pane",[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-info"}),e._v(" 基本信息 ")]),a("avue-form",{ref:"form",attrs:{option:e.upstreamColumn},on:{submit:e.handleSave},model:{value:e.upstream,callback:function(t){e.upstream=t},expression:"upstream"}},["view"!=e.mode?a("template",{slot:"menuForm"},[a("el-button",{staticClass:"el-icon-check",attrs:{type:"primary"},on:{click:e.handlerSubmit}},[e._v("提 交")]),a("el-button",{staticClass:"el-icon-delete",on:{click:e.handleEmpty}},[e._v("清 空")])],1):e._e()],2)],1),"add"!=e.mode?a("el-tab-pane",{attrs:{label:"代理列表"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-success"}),e._v(" Targets ")]),a("targets",{ref:"targets",attrs:{upstream:e.upstream,mode:e.mode}})],1):e._e(),"add"!=e.mode?a("el-tab-pane",{attrs:{label:"设置健康检查",lazy:""}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-warning"}),e._v(" 健康检查(ACTIVE)\n ")]),a("health-check",{attrs:{upstream:e.upstream,mode:e.mode}})],1):e._e()],1)],1)},i=[],s=(a("ac6a"),a("cebc")),r=a("5880"),o=a("fef3"),l=a("04c3"),c=a("ba9e"),u=a("2ed6"),d={components:{targets:l["default"],healthCheck:c["default"]},name:"upholdUpstream",data:function(){return{upstreamColumn:o["o"]}},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission","systemProfile"])),props:{upstream:{type:Object,required:!1},mode:{required:!1}},created:function(){this.initOptions()},methods:{initOptions:function(){var e=this;this.upstreamColumn.column.forEach(function(t){t["disabled"]="view"==e.mode})},handlerSubmit:function(){this.$refs.form.submit()},handleSave:function(e,t){var a=this;"edit"!=this.mode&&Object(u["f"])(e).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.upstream=n.data,a.$successInfo("新增成功"),a.callback()),t()}),"edit"==this.mode&&Object(u["g"])(e).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.upstream=n.data,a.$successInfo("修改成功"),a.callback()),t()})},callback:function(){this.$emit("callback",this.upstream)}}},p=d,h=a("2877"),m=Object(h["a"])(p,n,i,!1,null,null,null);t["default"]=m.exports},"0b18":function(e,t,a){},"0c22":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("basic-container",[a("div",[a("el-row",{staticStyle:{"margin-bottom":"5px","margin-left":"5px","margin-right":"5px"}},[a("el-col",{attrs:{span:"2"}},[e.permission.usergroup_add?a("el-button",{attrs:{size:"small",icon:"el-icon-plus",type:"primary"},on:{click:e.toAdd}},[e._v("新建用户组")]):e._e()],1),a("el-col",{attrs:{span:"22"}},[a("el-input",{staticClass:"input-with-select",attrs:{size:"small",placeholder:"请输入用户组名称",maxlength:"20",clearable:""},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}},[a("el-button",{attrs:{slot:"append",icon:"el-icon-search"},slot:"append"})],1)],1)],1)],1),a("avue-crud",{ref:"crud",staticStyle:{cursor:"pointer"},attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading,page:e.page},on:{"row-save":e.handleSave,"row-update":e.handleUpdate,"refresh-change":e.handlerefreshChange,"current-change":e.handleCurrentChange,"size-change":e.handleCurrentSize,"search-change":e.handleSearchChange},scopedSlots:e._u([{key:"messageContent",fn:function(e){var t=e.row;return[a("item-tags",{attrs:{tags:t.messageContent,column:"messageContent",mode:"view"}})]}},{key:"menu",fn:function(t){return[e.permission.usergroup_config?a("el-button",{attrs:{size:"small",icon:"el-icon-view",type:"text"},on:{click:function(a){return e.toConfigViewMenu(t.row,t.index)}}},[e._v("查看")]):e._e(),e.permission.usergroup_update?a("el-button",{attrs:{size:"small",icon:"el-icon-edit",type:"text"},on:{click:function(a){return e.toEdit(t)}}},[e._v("编辑")]):e._e(),e.permission.usergroup_config?a("el-button",{attrs:{size:"small",icon:"icon-biaoshilei_jiaosepeizhi",type:"text"},on:{click:function(a){return e.toConfigMenu(t.row,t.index)}}},[e._v("配置")]):e._e()]}}]),model:{value:e.objData,callback:function(t){e.objData=t},expression:"objData"}}),e.configMenuBox?a("el-drawer",{attrs:{title:"为用户组设置用户及角色",size:"40%",visible:e.configMenuBox},on:{"update:visible":function(t){e.configMenuBox=t}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"99%"}},[a("setting-group",{attrs:{userGroup:e.userGroup,mode:e.mode},on:{callback:e.handleList}})],1)]):e._e()],1)},i=[],s=a("5176"),r=a.n(s),o=a("cebc"),l=a("5880"),c=a("ca05"),u=a("3523"),d=a("ca60"),p=a("1686"),h={name:"syncLog",components:{ItemTags:d["default"],settingGroup:p["default"]},data:function(){return{objData:{},tableSearch:{},tableOption:c["f"],tableData:[],tablePage:1,tableSize:10,tableLoading:!1,currentRule:{},systemRole:{},mode:"add",form:{},configMenuBox:!1,searchForm:null,users:null,userGroup:{},userLists:[],options:[],page:{total:0,currentPage:1,pageSize:10}}},created:function(){this.handleList(),this.init()},computed:Object(o["a"])({},Object(l["mapGetters"])(["permission","userInfo"])),props:{logType:{required:!0}},watch:{searchForm:function(e){this.page.currentPage=1,this.handleList()},users:function(e){this.page.currentPage=1,this.handleList()}},methods:{toConfigViewMenu:function(e,t){this.configMenuBox=!0,this.mode="view",this.userGroup=e},toConfigMenu:function(e,t){this.configMenuBox=!0,this.mode="add",this.userGroup=e},toAdd:function(){this.$refs.crud.rowAdd()},toEdit:function(e){this.$refs.crud.rowEdit(e.row,e.index)},init:function(){},handleRowClick:function(e){this.currentRule=e},handlerTrace:function(){var e=this;this.$refs["form"].validate(function(t){t&&(e.handlerTraceDetail=!0)})},handlerefreshChange:function(e){this.handleList(this.tableSearch)},handleCurrentChange:function(e){this.tablePage=e,this.handlerefreshChange()},handleCurrentSize:function(e){this.tableSize=e,this.handlerefreshChange()},handleSearchChange:function(e){this.tableSearch=e,this.handleList(this.tableSearch)},handleSave:function(e,t){var a=this;Object(u["f"])(e).then(function(e){var n=e.data;0!==n.status?a.$message({showClose:!0,message:n.errmsg,type:"warning"}):(a.tablePage=1,a.handleList(),a.$message({showClose:!0,message:"新增成功",type:"success"})),t()})},handleUpdate:function(e,t,a){var n=this;Object(u["j"])(e).then(function(e){var t=e.data;0!==t.status?n.$message({showClose:!0,message:t.errmsg,type:"warning"}):(n.tablePage=1,n.handleList(),n.$message({showClose:!0,message:"修改成功",type:"success"}))}),a()},handleList:function(e){var t=this;this.tableLoading=!0,this.alertRuleBox=!1,this.form={name:this.searchForm},Object(u["d"])(r()({},this.form,{start:this.tablePage,limit:this.tableSize})).then(function(e){var a=e.data.data;t.tableData=a.items,t.page={total:a.totalCount,currentPage:t.tablePage,pageSize:t.tableSize},t.tableLoading=!1})}}},m=h,f=(a("2a7b"),a("2877")),g=Object(f["a"])(m,n,i,!1,null,null,null);t["default"]=g.exports},"0e36":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("basic-container",[a("list-configs",{attrs:{logType:0}})],1)},i=[],s=a("2d86"),r={name:"syncLog",components:{listConfigs:s["default"]},data:function(){return{objData:{},logs:[{label:"网关同步日志",value:0},{label:"热配同步日志",value:1}]}},created:function(){},methods:{}},o=r,l=(a("4ffa"),a("2877")),c=Object(l["a"])(o,n,i,!1,null,null,null);t["default"]=c.exports},"0ebf":function(e,t,a){"use strict";var n=a("3515"),i=a.n(n);i.a},"0fee":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("el-alert",{attrs:{title:"以下为环境列表,请激活您要工作的环境",type:"info","show-icon":""}}),a("avue-crud",{ref:"crud",attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading},on:{"refresh-change":e.handlerefreshChange},scopedSlots:e._u([{key:"id",fn:function(t){var n=t.row;return[e.kongClient.id!=n.id?a("el-button",{attrs:{type:"info",size:"mini",plain:""},on:{click:function(t){return e.handActiveClient(n)}}},[e._v("激活")]):e._e(),e.kongClient.id==n.id?a("el-button",{attrs:{type:"success",size:"mini"}},[e._v("已激活")]):e._e()]}},{key:"menuLeft",fn:function(t){return[a("el-button",{attrs:{icon:"el-icon-plus",size:"small",type:"primary"},on:{click:function(a){return e.toEditClient(t.row,t.$index)}}},[e._v("新 增")])]}},{key:"menu",fn:function(t){return[e.permission.client_update?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",type:"primary",plain:""},on:{click:function(a){return e.toEditClient(t.row,t.$index)}}},[e._v("编辑")]):e._e(),e.permission.client_delete?a("el-button",{attrs:{icon:"el-icon-delete",size:"small",type:"danger",plain:""},on:{click:function(a){return e.handlerDelete(t.row,t.$index)}}},[e._v("删除")]):e._e()]}}])})],1),e.grade.box?a("el-dialog",{attrs:{title:"新增网关管理连接",width:"70%",visible:e.grade.box},on:{"update:visible":function(t){return e.$set(e.grade,"box",t)}}},[a("avue-form",{attrs:{option:e.clientColumn},on:{submit:e.handleClient},model:{value:e.clientForm,callback:function(t){e.clientForm=t},expression:"clientForm"}})],1):e._e()],1)},i=[],s=a("5176"),r=a.n(s),o=(a("7f7f"),a("cebc")),l=a("5880"),c=a("af62"),u=a("5640"),d={name:"client",components:{},data:function(){return{tableOption:u["b"],clientColumn:u["a"],cardoption:{addBtn:!1,span:6,props:{img:"/img/plugins/kong.svg",title:"name",info:"url"}},tableData:[],tableLoading:!1,clientForm:{},activeClient:{id:-1},grade:{box:!1}}},created:function(){this.handleList(),this.initOptions()},watch:{},mounted:function(){},computed:Object(o["a"])({},Object(l["mapGetters"])(["permission","userInfo","kongClient"])),props:[],methods:{initOptions:function(){this.tableOption["menu"]=!1},findActiveKongclient:function(){var e=this;this.$store.dispatch("FindActiveClient",this.userInfo).then(function(t){e.activeClient=t})},handActiveClient:function(e){var t=this;Object(c["i"])(this.userInfo.name,e).then(function(e){t.findActiveKongclient()})},toEditClient:function(e,t){this.grade.box=!0,this.clientForm=e},handlerefreshChange:function(e){this.handleList(this.tableSearch)},handleList:function(e){var t=this;this.tableLoading=!0,Object(c["c"])(r()({})).then(function(e){var a=e.data;t.tableData=a.data,console.log(t.tableData),t.tableLoading=!1})},handleClient:function(e,t){var a=this;this.clientForm&&this.clientForm.id?Object(c["j"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(a.$successInfo("修改成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("修改失败"),t()}):Object(c["a"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(a.$successInfo("新增成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("新增失败"),t()})},handlerDelete:function(e){var t=this;this.$confirm("是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(c["h"])(e).then(function(e){var a=e.data;0==a.status?(t.$successInfo("删除成功"),t.handleList()):t.$errorInfo("删除失败")})})}}},p=d,h=(a("e642"),a("2877")),m=Object(h["a"])(p,n,i,!1,null,"05b150aa",null);t["default"]=m.exports},"109b":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"config-list"},[a("el-radio-group",{model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},[a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_EVERY",disabled:e.disabled}},[e._v("每秒")])],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_RANGE",disabled:e.disabled}},[e._v("区间")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueRange.start,callback:function(t){e.$set(e.valueRange,"start",t)},expression:"valueRange.start"}}),e._v("秒\n 至\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueRange.end,callback:function(t){e.$set(e.valueRange,"end",t)},expression:"valueRange.end"}}),e._v("秒\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_LOOP",disabled:e.disabled}},[e._v("循环")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueLoop.start,callback:function(t){e.$set(e.valueLoop,"start",t)},expression:"valueLoop.start"}}),e._v("秒开始,间隔\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueLoop.interval,callback:function(t){e.$set(e.valueLoop,"interval",t)},expression:"valueLoop.interval"}}),e._v("秒\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_SPECIFY",disabled:e.disabled}},[e._v("指定")]),a("div",{staticClass:"list"},[a("el-checkbox-group",{model:{value:e.valueList,callback:function(t){e.valueList=t},expression:"valueList"}},e._l(e.maxValue+1,function(t){return a("el-checkbox",{key:"key-"+(t-1),staticClass:"list-check-item",attrs:{label:t-1,disabled:e.type!=e.TYPE_SPECIFY||e.disabled}})}),1)],1)],1)])],1)},i=[],s=a("4b3a"),r={name:"second",mixins:[s["a"]],data:function(){return{}},watch:{value_c:function(e,t){this.$emit("change",e)}},created:function(){this.DEFAULT_VALUE="*",this.minValue=0,this.maxValue=59,this.valueRange.start=0,this.valueRange.end=59,this.valueLoop.start=0,this.valueLoop.interval=1,this.parseProp(this.prop)}},o=r,l=(a("0ebf"),a("2877")),c=Object(l["a"])(o,n,i,!1,null,"472e02ba",null);t["default"]=c.exports},"143c":function(e,t,a){},"154c":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("avue-form",{ref:"form",attrs:{option:e.formColumns},on:{submit:e.handleEntity},model:{value:e.upholdEntity,callback:function(t){e.upholdEntity=t},expression:"upholdEntity"}},[a("template",{slot:"tags"},[a("item-tags",{attrs:{tags:e.upholdEntity.tags,name:"tags",column:"tags",mode:e.mode},on:{sendTag:e.bindTags}})],1),"view"!=e.mode?a("template",{slot:"menuForm"},[a("el-button",{staticClass:"el-icon-check",attrs:{type:"primary"},on:{click:e.handlerSubmit}},[e._v("提 交")])],1):e._e()],2)],1)},i=[],s=(a("ac6a"),a("5176")),r=a.n(s),o=a("fef3"),l=a("3ac9"),c=a("ca60"),u={name:"Route",components:{ItemTags:c["default"]},data:function(){return{formColumns:o["b"],upholdEntity:this.entity,db_type:"",charsets:[]}},props:{entity:{type:Object,required:!1},mode:{required:!1}},created:function(){this.initOptions(),this.init()},methods:{init:function(){},bindTags:function(e){this.upholdEntity=r()(this.upholdEntity,e)},initOptions:function(){var e=this;this.formColumns.column.forEach(function(t){t["disabled"]="view"==e.mode})},handlerSubmit:function(){this.$refs.form.submit()},handleEntity:function(e,t){"edit"==this.mode&&this.handleEntityUpdate(e,t),"add"==this.mode&&this.handleEntitySave(e,t)},handleEntityUpdate:function(e,t){var a=this;Object(l["c"])(this.upholdEntity).then(function(e){var n=e.data;0!=n.status?a.$message.error(n.errmsg):(a.$message.success("修改成功"),a.callback()),t()}).catch(function(e){a.$message.error("更新失败"),t()})},handleEntitySave:function(e,t){var a=this;Object(l["b"])(this.upholdEntity).then(function(e){var n=e.data;0!=n.status?a.$message.error(n.errmsg):(a.$message.success("新增成功"),a.callback()),t()}).catch(function(e){a.$message.error("新增失败,错误信息:"+e),t()})},callback:function(){this.$emit("callback",{})}}},d=u,p=a("2877"),h=Object(p["a"])(d,n,i,!1,null,null,null);t["default"]=h.exports},"15c5":function(e,t,a){},1686:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"avue-data-cardText"},[a("div",[a("el-tabs",[a("el-tab-pane",[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"icon-quanxian"}),e._v("\n 设置角色\n ")]),a("el-alert",{attrs:{title:"未设置角色的环境,则默认角色为普通用户(可查看网关、服务降级、作业管理、告警记录及审计日志等功能)",type:"success","show-icon":""}}),a("div",{staticStyle:{"margin-top":"20px"}},[a("query-env",{attrs:{userGroup:e.userGroup,option:{envs:e.envs,roleList:e.roleList,data:[]},mode:e.mode}})],1)],1),a("el-tab-pane",[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-user"}),e._v("\n 设置用户\n ")]),a("el-form",[a("el-form-item",[a("div",{staticClass:"item",staticStyle:{"margin-top":"20px"}},[a("setting-user",{attrs:{userGroup:e.userGroup,data:e.userInfos,mode:e.mode}})],1)])],1)],1)],1)],1)])},i=[],s=(a("ac6a"),a("af62")),r=a("8d55"),o=a("e59a"),l=a("f1e7"),c=a("f777"),u={name:"message-template",components:{settingUser:o["default"],settingRole:l["default"],queryEnv:c["default"]},data:function(){return{activeNames:[],userList:[],envs:[],roleList:[],userInfos:[],profiles:[]}},computed:{data:function(){return this.option.data||[]}},created:function(){this.init()},props:{mode:{},userGroup:{}},methods:{init:function(){var e=this;Object(s["f"])().then(function(t){e.envs=t.data,_.forEach(e.envs,function(t){_.forEach(t.groups,function(t){e.profiles.push(t)})})}),Object(r["b"])().then(function(t){e.roleList=t.data.data.items})},handlerClose:function(){this.callback()},callback:function(){this.$emit("callback",{})},getUsers:function(){return _.map(this.userList||[],function(e){return e.userId})}}},d=u,p=a("2877"),h=Object(p["a"])(d,n,i,!1,null,null,null);t["default"]=h.exports},"17d3":function(e,t,a){},"1d56":function(e,t,a){"use strict";var n=a("a17a"),i=a.n(n);i.a},2006:function(e,t,a){},2256:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("avue-form",{attrs:{option:e.envColumn},on:{submit:e.handleClient},model:{value:e.client,callback:function(t){e.client=t},expression:"client"}})],1)},i=[],s=a("5640"),r=a("af62"),o={name:"upholdEnv",components:{},data:function(){return{envColumn:s["e"]}},props:{client:{type:Object,required:!0}},created:function(){this.findByProfile()},methods:{findByProfile:function(){var e=this;Object(r["e"])(this.client.profileCode).then(function(t){e.client=t.data.data})},handleClient:function(e,t){var a=this;Object(r["g"])(this.client).then(function(e){var n=e.data;if(0==n.status){var i=n.data;a.client["version"]=i,a.client&&a.client.id?Object(r["j"])(a.client).then(function(e){var t=e.data;0==t.status?(a.$successInfo("更新成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("更新失败")}):Object(r["a"])(a.client).then(function(e){var t=e.data;0==t.status?(a.$successInfo("更新成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("更新失败")})}else a.$errorInfo(e.data.errmsg);t()})}}},l=o,c=a("2877"),u=Object(c["a"])(l,n,i,!1,null,null,null);t["default"]=u.exports},"240c":function(e,t,a){},2775:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-tabs",{attrs:{"tab-position":"top"}},e._l(e.syncConfig.clients,function(t){return a("el-tab-pane",{key:t,attrs:{label:t.profile}},[a("el-row",{staticStyle:{"margin-top":"12px"},attrs:{gutter:5}},[a("el-tabs",{attrs:{"tab-position":"left"}},e._l(e.syncConfig.services,function(n){return a("el-tab-pane",{key:n.id,attrs:{label:n.name}},[a("el-col",{attrs:{span:"12"}},[a("div",{staticClass:"grid-content bg-purple"},[a("span",{staticStyle:{"margin-left":"10px"}},[a("strong",[e._v("待同步的服务信息")])]),a("targets",{attrs:{mode:"view",upstream:{id:n.host}}}),a("div",{staticStyle:{"margin-top":"5px"}},[a("query-routes",{attrs:{service:n,mode:"view"}})],1),a("div",{staticStyle:{"margin-top":"5px"}},[a("service-plugins",{attrs:{service:n}})],1)],1)]),a("el-col",{attrs:{span:"12"}},[a("div",{staticClass:"grid-content bg-purple-exists"},[a("span",{staticStyle:{"margin-left":"10px"}},[a("strong",[e._v("已存在的服务信息")])]),a("targets",{attrs:{mode:"view",upstream:{id:n.host},client:t}}),a("div",{staticStyle:{"margin-top":"5px","overflow-y":"auto","overflow-x":"auto",height:"100%"}},[a("query-routes",{attrs:{service:n,mode:"view",client:t}})],1),a("div",{staticStyle:{"margin-top":"5px"}},[a("service-plugins",{key:t.url,attrs:{service:n,client:t}})],1)],1)])],1)}),1)],1)],1)}),1)],1)},i=[],s=a("537a"),r=a("04c3"),o=a("8b12"),l={components:{servicePlugins:s["default"],queryRoutes:o["default"],targets:r["default"]},data:function(){return{diffColumn:{emptyBtn:!1,submitBtn:!1,column:[{label:"SERVICES",prop:"services",formslot:!0},{label:"CLIENTS",prop:"clients",formslot:!0}]}}},created:function(){console.log(this.syncConfig)},props:{syncConfig:{type:Object,required:!0}}},c=l,u=(a("5311"),a("2877")),d=Object(u["a"])(c,n,i,!1,null,null,null);t["default"]=d.exports},"27a8":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("search-banner",{ref:"routeSearch",attrs:{span:e.permission.upstream_add||e.isDevProfile?22:24,placeholder:"请输入upstream名称",handleList:e.handleList,searchProps:e.searchProps,page:e.page},on:{"search-change":e.searchChange}},[a("template",{slot:"menu"},[e.permission.upstream_add||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-plus",size:"small",type:"primary"},on:{click:function(t){return e.handleGrade({})}}},[e._v("新增")]):e._e()],1)],2),a("avue-crud",{attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading,page:e.page},on:{"row-click":e.handleRowClick,"row-save":e.handleSave,"row-del":e.handleDel,"refresh-change":e.handlerefreshChange,"current-change":e.handleCurrentChange,"size-change":e.handleCurrentSize,"search-change":e.handleSearchChange},scopedSlots:e._u([{key:"expand",fn:function(e){var t=e.row;return[a("el-form",{staticStyle:{"margin-left":"10px"},attrs:{"label-width":"80px"}},[a("el-form-item",{attrs:{label:"代理列表"}},[a("targets",{ref:"targets",attrs:{upstream:t,mode:"view"}})],1)],1)]}},{key:"name",fn:function(t){var n=t.row;return[a("el-link",{attrs:{underline:!1,type:"success"},on:{click:function(t){return e.toDetail(n)}}},[e._v(e._s(n.name))])]}},{key:"menu",fn:function(t){return[e.permission.upstream_update||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",type:"text"},on:{click:function(a){return e.handleGrade(t.row,t.$index)}}},[e._v("编辑")]):e._e(),e.permission.upstream_update||e.isDevProfile||e.isProdProfile?e._e():a("el-button",{attrs:{icon:"el-icon-edit",size:"small",type:"text"},on:{click:function(a){return e.handleTargetsGrade(t.row,t.$index)}}},[e._v("配置Targets")]),e.permission.upstream_delete||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-delete",size:"small",type:"text"},on:{click:function(a){return e.handleDel(t.row,t.$index)}}},[e._v("删除")]):e._e()]}}])}),e.grade.box?a("el-drawer",{attrs:{title:"上游代理(UPSTREAM)",size:"50%",visible:e.grade.box,direction:e.direction},on:{"update:visible":function(t){return e.$set(e.grade,"box",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("uphold-upstream",{attrs:{upstream:e.form,mode:e.mode},on:{callback:e.callback}})],1)]):e._e(),e.grade.targetBox?a("el-drawer",{attrs:{title:"编辑代理列表",size:"50%",visible:e.grade.targetBox},on:{"update:visible":function(t){return e.$set(e.grade,"targetBox",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("uphold-targets",{attrs:{upstream:e.form,mode:e.mode},on:{callback:e.callback}})],1)]):e._e(),e.grade.drawerDetail?a("el-drawer",{attrs:{size:"45%",title:"'"+e.form.name+"' 详情",visible:e.grade.drawerDetail,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){return e.$set(e.grade,"drawerDetail",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("uphold-upstream",{attrs:{upstream:e.form,mode:"view"}})],1)]):e._e()],1)],1)},i=[],s=a("5176"),r=a.n(s),o=a("cebc"),l=a("fef3"),c=a("5880"),u=a("04c3"),d=a("ba9e"),p=a("08bb"),h=a("f337"),m=a("848d"),f=a("2ed6"),g={components:{targets:u["default"],searchBanner:m["default"],healthCheck:d["default"],upholdUpstream:p["default"],upholdTargets:h["default"]},name:"strategy",data:function(){return{tableSearch:{},tableOption:l["p"],upstreamColumn:l["o"],searchProps:[{name:"name"}],form:{},tableData:[],tablePage:1,tableSize:10,tableLoading:!1,page:{total:0,currentPage:1,pageSize:10},mode:"add",grade:{box:!1,targetBox:!1,updateUpstream:!1,drawerDetail:!1}}},computed:Object(o["a"])({},Object(c["mapGetters"])(["permission","isDevProfile","isProdProfile","systemProfile"])),props:{},created:function(){var e=this;-1==this.systemProfile.id?this.$nextTick(function(t){e.$router.push("/wel/index")}):this.initOptions()},methods:{initOptions:function(){this.isDevProfile||!this.isProdProfile?this.tableOption["menu"]=!0:this.permission.upstream_update||(this.tableOption["menu"]=!1)},toDetail:function(e){this.form=e,this.grade.drawerDetail=!0,this.grade.updateUpstream=!0},handleGrade:function(e,t){e&&e.id?(this.form=e,this.mode="edit"):(this.form={},this.mode="add"),this.grade.box=!0},handleTargetsGrade:function(e,t){e&&e.id?(this.form=e,this.mode="edit"):(this.form={},this.mode="add"),this.grade.targetBox=!0},callback:function(e){this.form=e,this.mode="edit",this.reloadDataList()},handleCurrentChange:function(e){this.tablePage=e,this.refreshTableList(!0)},handleCurrentSize:function(e){this.tableSize=e,this.refreshTableList(!1)},handleList:function(e){var t=this;return this.tableLoading=!0,Object(f["b"])(r()({},e)).then(function(e){var a=e.data;return t.tableLoading=!1,a.data||[]})},refreshTableList:function(e){this.initPage(e),this.$refs.routeSearch.refresh(this.page,e)},initPage:function(e){e||(this.tablePage=1),this.page.currentPage=this.tablePage,this.page.pageSize=this.tableSize},searchChange:function(e){this.tableData=e.data},reloadDataList:function(){this.initPage(!1),this.$refs.routeSearch.loadData()},handleSave:function(e,t){var a=this;upstreamSave(e).then(function(e){t(),a.form=e.data,a.grade.updateUpstream=!0,a.reloadDataList()})},handleRowClick:function(e,t,a){this.type&&this.$emit("selectionData",e)},handleDel:function(e,t){var a=this,n="";this.isProdProfile&&(n="当前为生产环境,请谨慎操作! "),this.$confirm(n+"是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(f["e"])({id:e.id}).then(function(e){var t=e.data;0!=t.status?a.$errorInfo(t.errmsg):(a.reloadDataList(),a.$successInfo("删除成功"))})}).catch(function(){})}}},b=g,v=a("2877"),y=Object(v["a"])(b,n,i,!1,null,null,null);t["default"]=y.exports},"2a7b":function(e,t,a){"use strict";var n=a("6aa8"),i=a.n(n);i.a},"2ab7":function(e,t,a){},"2bdd":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-tabs",{ref:"upstreamTabs"},[a("el-tab-pane",[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-info"}),e._v(" 基本信息\n ")]),a("avue-form",{ref:"form",attrs:{option:e.serviceColumn},on:{submit:e.handleSave},model:{value:e.service,callback:function(t){e.service=t},expression:"service"}},["view"!=e.mode?a("template",{slot:"menuForm"},[a("el-button",{staticClass:"el-icon-check",attrs:{type:"primary"},on:{click:e.handlerSubmit}},[e._v("提 交")]),a("el-button",{staticClass:"el-icon-delete",on:{click:e.handleEmpty}},[e._v("清 空")])],1):e._e()],2),a("el-form",{staticStyle:{"margin-left":"10px"},attrs:{"label-width":"80px","label-position":"left"}},[a("el-form-item",{attrs:{label:"代理列表"}},[a("targets",{attrs:{mode:"view",upstream:{id:e.service.host}}})],1),"view"==e.mode?a("el-form-item",{attrs:{label:"路由列表"}},[a("query-routes",{attrs:{service:e.service,mode:"view"}})],1):e._e(),"view"==e.mode?a("el-form-item",{attrs:{label:"插件列表"}},[a("service-plugins",{attrs:{service:e.service}})],1):e._e()],1)],1),"add"!=e.mode?a("el-tab-pane",{ref:"targetTab",attrs:{label:"服务路由"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-success"}),e._v(" 服务路由\n ")]),a("query-routes",{attrs:{service:e.service,mode:e.mode}})],1):e._e(),"add"!=e.mode?a("el-tab-pane",{ref:"pluginTab",attrs:{label:"服务插件"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-warning"}),e._v(" 服务插件(应用于服务)\n ")]),a("query-plugins",{attrs:{service:e.service,mode:e.mode}})],1):e._e()],1)},i=[],s=(a("ac6a"),a("3dba")),r=a("fef3"),o=a("3aa7"),l=a("8b12"),c=a("04c3"),u=a("537a"),d={components:{queryPlugins:o["default"],queryRoutes:l["default"],servicePlugins:u["default"],targets:c["default"]},name:"upholdService",data:function(){return{serviceColumn:r["i"]}},props:{service:{type:Object,required:!1},mode:{required:!1}},created:function(){this.initOptions()},methods:{initOptions:function(){var e=this;this.serviceColumn.column.forEach(function(t){t["disabled"]="view"==e.mode})},handlerSubmit:function(){this.$refs.form.submit()},handleSave:function(e,t){var a=this;"add"==this.mode&&Object(s["d"])(e).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.service=n.data,a.$successInfo("新增成功"),a.callback()),t()}),"edit"==this.mode&&Object(s["e"])(e).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.service=n.data,a.$successInfo("修改成功"),a.callback()),t()})},callback:function(){this.$emit("callback",this.service)}}},p=d,h=a("2877"),m=Object(h["a"])(p,n,i,!1,null,null,null);t["default"]=m.exports},"2d86":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("avue-crud",{attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading,page:e.page},on:{"row-save":e.handleSave,"row-update":e.handleUpdate,"refresh-change":e.handlerefreshChange,"current-change":e.handleCurrentChange,"size-change":e.handleCurrentSize,"search-change":e.handleSearchChange},scopedSlots:e._u([{key:"expand",fn:function(t){var n=t.row;return[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.expandTableData}},[a("el-table-column",{attrs:{label:"目标环境列表"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{"margin-left":"10px"}},e._l(n.clients,function(t){return a("el-tag",{key:t,attrs:{"disable-transitions":!1},on:{close:function(a){return e.handleClose(t)}}},[e._v(e._s(t.profile)+"("+e._s(t.url)+")")])}),1)]}}],null,!0)}),a("el-table-column",{attrs:{label:"同步对象列表"}},[0==e.logType?a("item-tags",{attrs:{tags:n.services,column:"name",mode:"view"}}):e._e(),1==e.logType?a("item-tags",{attrs:{tags:n.services,column:"paramKey",mode:"view"}}):e._e()],1)],1),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.expandTableData}},[0==e.logType?a("el-table-column",{attrs:{label:"同步日志"}},[a("sync-logs",{attrs:{syncConfig:n}})],1):e._e()],1)]}},{key:"src_client",fn:function(t){var n=t.row;return["success"==n.status?a("el-link",{attrs:{underline:!1,type:"success"},on:{click:function(t){return e.handlesyncLog(n)}}},[e._v(e._s(n.src_client&&n.src_client.url))]):e._e(),"running"==n.status?a("el-link",{attrs:{underline:!1,type:"warning"},on:{click:function(t){return e.handlesyncLog(n)}}},[e._v(e._s(n.src_client&&n.src_client.url))]):e._e(),"failure"==n.status?a("el-link",{attrs:{underline:!1,type:"danger"},on:{click:function(t){return e.handlesyncLog(n)}}},[e._v(e._s(n.src_client&&n.src_client.url))]):e._e()]}},{key:"clients",fn:function(e){var t=e.row;return[a("item-tags",{attrs:{tags:t.clients,column:"profile",mode:"view"}})]}},{key:"services",fn:function(t){var n=t.row;return[0==e.logType?a("item-tags",{attrs:{tags:n.services,column:"name",mode:"view"}}):e._e(),1==e.logType?a("item-tags",{attrs:{tags:n.services,column:"paramKey",mode:"view"}}):e._e()]}}]),model:{value:e.objData,callback:function(t){e.objData=t},expression:"objData"}}),a("el-drawer",{attrs:{title:"同步日志",size:"45%",visible:e.drawer,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){e.drawer=t}}},[a("div",{staticStyle:{"overflow-y":"auto",height:"90%"}},[a("el-timeline",e._l(e.logData,function(t,n){return a("el-timeline-item",{key:n,attrs:{size:0==n?"large":"normal",color:"success"==t.status?"#0bbd87":"red",timestamp:e._f("parseTime")(t.create_at)}},[e._v(e._s(n+1)+". "+e._s(t.comment))])}),1),a("json-viewer",{attrs:{value:e.currnetSyncConfig,"expand-depth":5,copyable:"",sort:""}})],1)])],1)},i=[],s=a("5176"),r=a.n(s),o=a("5640"),l=a("78ba"),c=a("ca60"),u=a("88e6"),d={name:"syncLog",components:{ItemTags:c["default"],syncLogs:u["default"]},data:function(){return{objData:{},tableSearch:{},tableOption:o["h"],logOption:o["f"],tableData:[],expandTableData:[{}],currnetSyncConfig:{},logData:[],tablePage:1,tableSize:10,tableLoading:!1,options:[],page:{total:0,currentPage:1,pageSize:10},drawer:!1}},created:function(){this.handleList()},props:{logType:{required:!0}},methods:{handlesyncLog:function(e){var t=this;this.drawer=!0,this.currnetSyncConfig=e,Object(l["b"])(e.syncNo).then(function(e){t.logData=e.data.data})},handlerefreshChange:function(e){this.handleList(this.tableSearch)},handleCurrentChange:function(e){this.tablePage=e,this.handlerefreshChange()},handleCurrentSize:function(e){this.tableSize=e,this.handlerefreshChange()},handleSearchChange:function(e){this.tableSearch=e,this.handleList(this.tableSearch)},handleList:function(e){var t=this;this.tableLoading=!0,Object(l["a"])(r()({},e,{start:this.tablePage,limit:this.tableSize,logType:this.logType})).then(function(e){var a=e.data.data;t.tableData=a.items,console.log(a),t.page={total:a.totalCount,currentPage:t.tablePage,pageSize:t.tableSize},t.tableLoading=!1})}}},p=d,h=(a("c9b6"),a("2877")),m=Object(h["a"])(p,n,i,!1,null,null,null);t["default"]=m.exports},"2e8b":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-popover",{attrs:{placement:e.placement,title:"路由Hosts更新为"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[a("div",{staticStyle:{"margin-top":"20px"}},[a("item-tags",{attrs:{tags:this.routeParms.hosts,name:"路由Hosts",column:"hosts",mode:"edit"},on:{sendTag:e.bindTags}})],1),a("el-button",{attrs:{slot:"reference",icon:"el-icon-refresh",size:"small",type:"success"},on:{click:e.findConfigByKey},slot:"reference"},[e._v("批量更新HOSTS")]),a("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[a("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){e.visible=!1}}},[e._v("取消")]),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.batchUpdateRouteHosts}},[e._v("确定")])],1)],1)},i=[],s=a("ce4a"),r=a("ca60"),o=a("ceee"),l={name:"routing",components:{ItemTags:r["default"]},data:function(){return{visible:!1,routeParms:{hosts:[],service:this.service}}},props:{service:{required:!1},placement:{default:"bottom-start",required:!1}},created:function(){this.findConfigByKey()},methods:{findConfigByKey:function(){var e=this;Object(s["c"])("default_domains").then(function(t){var a=t.data.data,n=JSON.parse(a.configValue);e.routeParms["hosts"]=n})},batchUpdateRouteHosts:function(){var e=this;Object(o["g"])(this.routeParms).then(function(t){var a=t.data;0!=a.status?e.$errorInfo(a.errmsg):(e.targetData=t.data.data,0===a.errmsg.trim().length?e.$successInfo("更新成功"):e.$successInfo("部分路由paths为空,不能再更新Hosts为空,路由列表为:"+a.errmsg),e.callback())})},callback:function(){this.$emit("callback",{})}}},c=l,u=a("2877"),d=Object(u["a"])(c,n,i,!1,null,null,null);t["default"]=d.exports},"2ed6":function(e,t,a){"use strict";a.d(t,"b",function(){return s}),a.d(t,"f",function(){return r}),a.d(t,"g",function(){return o}),a.d(t,"e",function(){return l}),a.d(t,"c",function(){return c}),a.d(t,"a",function(){return u}),a.d(t,"d",function(){return d});var n=a("b5c6"),i=a("074d"),s=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/upstreams",method:"get"})},r=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/upstreams",method:"post",data:e})},o=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/upstreams/"+e.id,method:"post",data:e})},l=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/upstreams/"+e.id,method:"delete"})},c=function(e,t){return Object(n["a"])({url:i["a"].path+"/kong/api/upstreams/"+e.id+"/targets/health",method:"post",data:t})},u=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/upstreams/"+e.upstream.id+"/targets",method:"post",data:e})},d=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/upstreams/"+e.upstream.id+"/targets/"+e.id,method:"delete"})}},"2f92":function(e,t,a){},"2fa5":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e._l(e.dynamicTags,function(t){return a("el-tag",{key:t,attrs:{closable:!!e.permission.user_authority,"disable-transitions":!1},on:{close:function(a){return e.handleClose(t)}}},[e._v(e._s(t.name)+"\n ")])}),e.inputVisible?a("el-autocomplete",{ref:"saveTagInput",staticStyle:{"margin-left":"10px"},attrs:{"popper-class":"my-autocomplete","fetch-suggestions":e.remoteMethod,placeholder:"请输入用户组进行检索"},on:{select:e.handleSelect},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.item;return[a("div",{staticClass:"name"},[e._v(e._s(n.name))]),a("span",{staticClass:"addr"},[e._v(e._s(n.mobile))])]}}],null,!1,3326133321),model:{value:e.state,callback:function(t){e.state=t},expression:"state"}},[a("i",{staticClass:"el-icon-edit el-input__icon",attrs:{slot:"suffix"},slot:"suffix"})]):a("el-button",{directives:[{name:"show",rawName:"v-show",value:e.permission.user_authority,expression:"permission.user_authority"}],staticClass:"button-new-tag el-icon-plus",attrs:{size:"small"},on:{click:e.showInput}})],2)},i=[],s=(a("ac6a"),a("7f7f"),a("20d6"),a("cebc")),r=a("5880"),o=a("3523"),l={data:function(){return{dynamicTags:this.userInfo.userGroupList,loading:!1,options:[],state:null,selected:!1,userLists:[],inputVisible:!1,inputValue:""}},created:function(){this.init()},props:{mode:{},userIds:{},userInfo:{},userGroupList:{}},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission"])),methods:{init:function(){this.userLists=this.userGroupList,this.options=this.userLists,this.permission.user_authority||(this.mode="view")},handlerBlur:function(){console.log("this.selected:",this.selected),this.selected||(this.selected=!1,this.inputVisible=!1)},handleSelect:function(e){var t=this,a=_.findIndex(this.dynamicTags,function(t){return e.id==t.id});-1==a?Object(o["g"])(e.id,this.getUserId()).then(function(a){0==a.data.status?(t.dynamicTags.push(e),t.inputVisible=!1,t.selected=!0,t.callback(),t.$successInfo("设置用户组成功")):t.$errorInfo(a.data.errmsg)}):this.$errorInfo(e.name+" 已经设置过了")},handleClose:function(e){var t=this;Object(o["a"])(e.id,this.getUserId()).then(function(a){0==a.data.status?(t.dynamicTags.splice(t.dynamicTags.indexOf(e),1),t.callback(),t.$successInfo("删除用户成功")):t.$errorInfo(a.data.errmsg)})},getUserId:function(){var e=[];return _.forEach(this.userIds,function(t){e.push(t.userId)}),e},remoteMethod:function(e,t){this.options=""!==e?this.userLists.filter(function(t){return t.name.indexOf(e)>-1}):this.userLists,t(this.options)},showInput:function(){var e=this;this.inputVisible=!0,this.selected=!1,this.$nextTick(function(t){e.$refs.saveTagInput.$refs.input.focus()})},callback:function(){this.$emit("callback",{})}}},c=l,u=(a("a8c1"),a("2877")),d=Object(u["a"])(c,n,i,!1,null,null,null);t["default"]=d.exports},"2fc5":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("basic-container",{},[a("el-row",{attrs:{gutter:20}},[a("el-col",[a("div",{staticStyle:{"margin-left":"12px"}},[a("el-row",{attrs:{gutter:20}},[a("el-row",[a("el-col",[a("el-alert",{attrs:{span:"20",type:"info","show-icon":"",effect:"dark",description:"控制台方便查看网关运行的访问日志,可查询日志:access.log,error.log,kong.jlog等"}})],1)],1),a("iframe",{staticStyle:{width:"100%",height:"700px"},attrs:{src:e.kongClient.url.replace("8001","8900/log"),scrolling:"yes",frameborder:"0"}})],1)],1)])],1)],1)},i=[],s=a("cebc"),r=a("5880"),o={name:"kongshell",data:function(){return{envs:[]}},created:function(){},watch:{},mounted:function(){},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission","userInfo","kongClient"])),props:[],methods:{}},l=o,c=(a("48c2"),a("c83a"),a("2877")),u=Object(c["a"])(l,n,i,!1,null,"74f1c94a",null);t["default"]=u.exports},3086:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("avue-tabs",{attrs:{option:e.option,data:e.data,page:e.page},on:{change:e.handleChange,submit:e.handleSubmit,"selection-change":e.selectionChange},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}},[a("template",{slot:"before"},[a("el-button",{attrs:{size:"small"},on:{click:e.handleDel}},[e._v("全部已读")]),a("el-button",{attrs:{size:"small"},on:{click:e.handleDel}},[e._v("标记已读")]),a("el-button",{attrs:{size:"small"},on:{click:e.handleDel}},[e._v("删除")])],1)],2)],1)],1)},i=[],s={column:[{label:"全部信息",prop:"all",type:"crud",option:{selection:!0,addBtn:!1,menu:!1,header:!1,column:[{width:500,label:"标题内容",prop:"title"},{label:"时间",prop:"date"}]}},{label:"通知",prop:"msg",type:"crud",option:{selection:!0,addBtn:!1,menu:!1,header:!1,column:[{width:500,label:"标题内容",prop:"title"},{label:"时间",prop:"date"}]}},{label:"私信",prop:"one",type:"crud",option:{selection:!0,addBtn:!1,menu:!1,header:!1,column:[{width:500,label:"标题内容",prop:"title"},{label:"时间",prop:"date"}]}}]},r=a("c54a"),o={data:function(){return{form:{},type:"message",option:s,checkList:[],page:{currentPage:1,total:100,pageSize:10},data:[]}},created:function(){this.handleWitch()},methods:{handleSubmit:function(){this.$message({message:this.form,type:"success"})},handleWitch:function(){"all"===this.type?this.data=[{title:"你好新朋友,感谢使用 avue-cli",date:"2018-11-23"},{title:"smallwei发来一条私信",date:"2018-11-23"}]:"msg"===this.type&&(this.data=[{title:"smallwei发来一条私信",date:"2018-11-23"},{title:"smallwei发来一条私信",date:"2018-11-23"}])},selectionChange:function(e){this.checkList=e},handleDel:function(){Object(r["c"])(this.checkList)?this.$message.warning("请选择至少一条数据"):this.$message.success("操作成功")},handleChange:function(e){this.type=e.prop,this.handleWitch()}}},l=o,c=a("2877"),u=Object(c["a"])(l,n,i,!1,null,null,null);t["default"]=u.exports},3515:function(e,t,a){},3523:function(e,t,a){"use strict";a.d(t,"f",function(){return s}),a.d(t,"j",function(){return r}),a.d(t,"d",function(){return o}),a.d(t,"i",function(){return l}),a.d(t,"g",function(){return c}),a.d(t,"c",function(){return u}),a.d(t,"a",function(){return d}),a.d(t,"h",function(){return p}),a.d(t,"b",function(){return h}),a.d(t,"e",function(){return m});var n=a("b5c6"),i=a("074d"),s=function(e){return Object(n["a"])({url:i["a"].path+"/system/user/group",method:"post",data:e})},r=function(e){return Object(n["a"])({url:i["a"].path+"/system/user/group/"+e.id,method:"post",data:e})},o=function(e){return Object(n["a"])({url:i["a"].path+"/system/user/group/page",method:"get",params:e})},l=function(e,t){return Object(n["a"])({url:i["a"].path+"/system/user/group/"+e+"/user/"+t,method:"post"})},c=function(e,t){return Object(n["a"])({url:i["a"].path+"/system/user/group/"+e+"/user/",method:"post",data:t})},u=function(e,t){return Object(n["a"])({url:i["a"].path+"/system/user/group/"+e+"/user/"+t,method:"delete"})},d=function(e,t){return Object(n["a"])({url:i["a"].path+"/system/user/group/"+e+"/user/",method:"delete",data:t})},p=function(e,t,a){return Object(n["a"])({url:i["a"].path+"/system/user/group/"+e+"/role/"+t,method:"post",data:a})},h=function(e,t,a){return Object(n["a"])({url:i["a"].path+"/system/user/group/"+e+"/drole/"+t,method:"post",data:a})},m=function(){return Object(n["a"])({url:i["a"].path+"/system/user/group/list",method:"get"})}},"354b":function(e,t,a){"use strict";var n=a("6b6b"),i=a.n(n);i.a},"3aa7":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("avue-crud",{attrs:{option:e.queryPluginsOption,data:e.routeData},on:{"row-del":e.handleTargetDel},scopedSlots:e._u([{key:"menuRight",fn:function(t){return["edit"==e.mode?a("el-button",{attrs:{icon:"el-icon-plus",size:"small",type:"primary"},on:{click:function(a){return e.toAddPlugin(t.row,t.$index)}}},[e._v("新增插件")]):e._e()]}},{key:"menu",fn:function(t){return[a("el-button",{attrs:{icon:"el-icon-edit",size:"small",plain:"",type:"primary"},on:{click:function(a){return e.toEditPlugin(t.row,t.$index)}}},[e._v("编辑")]),a("el-button",{attrs:{icon:"el-icon-edit",size:"small",plain:"",type:"danger"},on:{click:function(a){return e.handleTargetDel(t.row,t.$index)}}},[e._v("删除")])]}}])},[a("template",{slot:"empty"},[e._v("暂无数据,请添加")])],2),e.grade.addPluginBox?a("el-dialog",{attrs:{title:"新增插件",width:"70%",visible:e.grade.addPluginBox,"append-to-body":""},on:{"update:visible":function(t){return e.$set(e.grade,"addPluginBox",t)}}},[e.grade.addPluginBox?a("list-plugin",{attrs:{route:e.route,service:e.service},on:{callback:e.pluginCallback}}):e._e()],1):e._e(),e.grade.editPluginBox?a("el-dialog",{attrs:{title:"编辑插件",width:"70%",visible:e.grade.editPluginBox,"append-to-body":""},on:{"update:visible":function(t){return e.$set(e.grade,"editPluginBox",t)}}},[e.grade.editPluginBox?a("uphold-plugin",{attrs:{plugin:e.pluginForm,edit:"edit",fields:e.fields},on:{callback:e.pluginCallback}}):e._e()],1):e._e()],1)},i=[],s=(a("7f7f"),a("cebc")),r=a("5880"),o=a("fef3"),l=a("468b"),c=a("ca60"),u=a("ecc3"),d=a("7e8d"),p={name:"QueryPlugins",components:{ItemTags:c["default"],upholdPlugin:u["default"],listPlugin:d["default"]},data:function(){return{queryPluginsOption:o["f"],routeData:[],pluginForm:{service:this.service,route:this.route},activeNames:"listRoute",hiddenAddRoute:!0,pluginUpdate:!1,grade:{editPluginBox:!1,addPluginBox:!1}}},props:{service:{type:Object,required:!1},route:{type:Object,required:!1},mode:{required:!1}},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission","isDevProfile","isProdProfile","systemProfile"])),mounted:function(){this.handleList(),this.initOption()},methods:{initOption:function(){this.queryPluginsOption["menu"]="edit"==this.mode},toEditPlugin:function(e,t){var a=this;this.pluginForm=e,Object(l["d"])(this.pluginForm.name).then(function(e){var t=e.data;a.fields=t.fields||[],a.grade.editPluginBox=!0,a.grade.addPluginBox=!1})},toAddPlugin:function(e,t){this.grade.editPluginBox=!1,this.grade.addPluginBox=!0},bindTags:function(){},pluginCallback:function(){this.handleList(),this.grade.editPluginBox=!1,this.grade.addPluginBox=!1},handleList:function(){this.tableLoading=!0,this.route&&(this.pluginForm.route={id:this.route.id},this.queryListByRoute(this.route)),this.service&&(this.pluginForm.service={id:this.service.id},this.queryListByService(this.service))},queryListByRoute:function(e){var t=this;Object(l["b"])(this.pluginForm).then(function(e){t.routeData=e.data.data})},queryListByService:function(e){var t=this;Object(l["c"])(this.pluginForm).then(function(e){t.routeData=e.data.data})},handleTargetDel:function(e,t){var a=this,n="";this.isProdProfile&&(n="当前为生产环境,请谨慎操作! "),this.$confirm(n+"是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(l["g"])({id:e.id}).then(function(e){var t=e.data;0!=t.status?a.$errorInfo(t.errmsg):(a.handleList(),a.$successInfo("删除成功"))})}).catch(function(){})}}},h=p,m=(a("1d56"),a("2877")),f=Object(m["a"])(h,n,i,!1,null,null,null);t["default"]=f.exports},"3ac9":function(e,t,a){"use strict";a.d(t,"d",function(){return s}),a.d(t,"b",function(){return r}),a.d(t,"c",function(){return o}),a.d(t,"a",function(){return l});var n=a("b5c6"),i=a("074d"),s=function(){return Object(n["a"])({url:i["a"].path+"/kong/api/consumers",method:"get"})},r=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/consumers",method:"post",data:e})},o=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/consumers/"+e.id,method:"post",data:e})},l=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/consumers/"+e.id,method:"delete"})}},"3dba":function(e,t,a){"use strict";a.d(t,"a",function(){return s}),a.d(t,"b",function(){return r}),a.d(t,"d",function(){return o}),a.d(t,"e",function(){return l}),a.d(t,"c",function(){return c}),a.d(t,"f",function(){return u});var n=a("b5c6"),i=a("074d"),s=function(){return Object(n["a"])({url:i["a"].path+"/kong/api/services",method:"get"})},r=function(e,t){return Object(n["a"])({url:i["a"].path+"/kong/api/services/"+e.id+"/list/plugins",method:"post",data:t})},o=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/services",method:"post",data:e})},l=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/services/"+e.id,method:"post",data:e})},c=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/services/"+e.id,method:"delete"})},u=function(e){return Object(n["a"])({url:i["a"].path+"/kong/sync/configs/",method:"post",data:e})}},"3eb2":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[e._v("404错误页面")])]),a("div",{staticClass:"error-box"},[a("errorPage404",{staticClass:"error-page"}),a("span",{staticClass:"error-text"},[e._v("/404当访问的页面不存在时会跳转到404页面,您可以在浏览器地址栏中修改url为一个不存在的路径,体验一下效果")])],1)]),a("basic-container",[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[e._v("403错误页面")])]),a("div",{staticClass:"error-box"},[a("errorPage403",{staticClass:"error-page"}),a("span",{staticClass:"error-text"},[e._v("/403在当前登录用户不具有执行当前操作的权限时跳转到该页面,您可以在ajax请求方法中判断返回的状态码为403时跳转到该页面")])],1)]),a("basic-container",[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[e._v("500错误页面")])]),a("div",{staticClass:"error-box"},[a("errorPage500",{staticClass:"error-page"}),a("span",{staticClass:"error-text"},[e._v("/500当请求之后出现服务端错误时跳转到该页面,您可以在ajax请求方法中判断返回的状态码为500时跳转到该页面")])],1)])],1)},i=[],s=a("a5fa"),r=a("a8d0"),o=a("611b"),l={name:"errPage",data:function(){return{}},created:function(){},mounted:function(){},computed:{},props:[],methods:{},components:{errorPage404:s["default"],errorPage403:r["default"],errorPage500:o["default"]}},c=l,u=(a("c379"),a("2877")),d=Object(u["a"])(c,n,i,!1,null,"794ca73a",null);t["default"]=d.exports},"405d":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("el-card",{staticClass:"box-card",attrs:{shadow:"always"}},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[a("h3",[a("strong",[e._v("CONNECTIONS【"+e._s(e.kongClient.url)+"】")])])])]),a("avue-data-display",{attrs:{option:e.easyDataOption}})],1)],1),a("el-row",[a("el-col",{attrs:{span:8}},[a("basic-container",{attrs:{height:"160"}},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[a("h3",[a("strong",[e._v("NODE INFO")])])])]),a("avue-crud",{attrs:{option:e.nodeOption,data:e.nodeData}})],1)],1)],1),a("el-col",{attrs:{span:8}},[a("basic-container",[a("el-card",{attrs:{shadow:"always"}},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[a("h3",[a("strong",[e._v("CONFIG INFO")])])])]),a("avue-crud",{attrs:{option:e.nodeOption,data:e.configData}})],1)],1)],1),a("el-col",{attrs:{span:8}},[a("basic-container",[a("el-card",{attrs:{shadow:"always"}},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("h3",[a("span",[a("strong",[e._v("DATASTORE INFO")])]),e.reachable?a("div",{staticStyle:{float:"right",padding:"0px 0",color:"green","font-size":"14px"}},[a("strong",[e._v("Reachable")])]):a("div",{staticStyle:{float:"right",padding:"0px 0",color:"red","font-size":"14px"}},[a("strong",[e._v("Unreachable")])])])]),a("avue-crud",{attrs:{option:e.nodeOption,data:e.dbData},model:{value:e.obj,callback:function(t){e.obj=t},expression:"obj"}})],1)],1)],1)],1),a("basic-container",[a("el-card",[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[a("h3",[a("strong",[e._v("PLUGINS")])])])]),a("div",{staticClass:"tag-group"},e._l(e.plugins,function(t){return a("el-tag",{key:t.name,staticStyle:{"margin-top":"5px"},attrs:{"disable-transitions":!1,type:t.type,effect:"dark"}},[a("strong",[e._v(e._s(t.name))])])}),1)])],1)],1)},i=[],s=(a("ac6a"),a("cebc")),r=a("a573"),o=a("5880"),l={data:function(){return{total_requests:0,reachable:!1,plugins:[],nodeData:[],configData:[],obj:{},dbData:[],nodeOption:{border:!1,header:!1,simplePage:!0,showHeader:!1,addBtn:!1,delBtn:!1,editBtn:!1,refreshBtn:!1,filterBtn:!1,searchBtn:!1,selectClearBtn:!1,columnBtn:!1,menuAlign:"right",menu:!1,menuWidth:180,align:"center",column:[{label:"名称",prop:"name"},{label:"值",prop:"value",width:230,align:"left"}]},easyDataOption:{span:4,data:[{click:function(e){},title:"ACTIVE",count:0,icon:"icon-yonghuguanli",color:"rgb(49, 180, 141)"},{title:"READING",count:0,icon:"icon-shujuzhanshi2",color:"rgb(56, 161, 242)"},{title:"WRITING",count:0,icon:"icon-jiaoseguanli",color:"rgb(117, 56, 199)"},{title:"WAITING",count:0,icon:"icon-jiaoseguanli",color:"rgb(117, 56, 199)"},{title:"ACCEPTED",count:0,icon:"icon-jiaoseguanli",color:"rgb(117, 56, 199)"},{title:"HANDLED",count:0,icon:"icon-jiaoseguanli",color:"rgb(117, 56, 199)"}]}}},computed:Object(s["a"])({},Object(o["mapGetters"])(["userInfo","kongClient"])),created:function(){this.findActiveKongclient()},mounted:function(){var e=this,t=setInterval(function(){e.queryInfo()},5e3);this.$once("hook:beforeDestroy",function(){clearInterval(t)})},watch:{kongClient:function(e){this.queryInfo(),this.queryStatus()}},methods:{findActiveKongclient:function(){this.$store.dispatch("FindActiveClient",this.userInfo).then(function(e){})},queryStatus:function(){var e=this;Object(r["b"])().then(function(t){var a=t.data,n=a["server"];e.reachable=a.database.reachable,e.easyDataOption.data.forEach(function(e){var t="connections_"+e.title.toLowerCase();e["count"]=n[t]}),e.total_requests=n["total_requests"]})},queryInfo:function(){var e=this;Object(r["a"])().then(function(t){var a=t.data,n=a.plugins;if(a&&n){e.nodeData=[],e.plugins=[],e.dbData=[],e.configData=[],e.nodeData.push({name:"HostName",value:a.hostname}),e.nodeData.push({name:"Tag Line",value:a.tagline}),e.nodeData.push({name:" Version",value:a.version}),e.nodeData.push({name:"Lua version",value:a.lua_version}),e.nodeData.push({name:"Admin Listen",value:a.configuration.admin_listen});var i=a.configuration;for(var s in e.configData.push({name:"Config path",value:i.nginx_kong_conf}),e.configData.push({name:"Log level",value:i.log_level}),e.configData.push({name:"Keepalive",value:i.upstream_keepalive}),e.configData.push({name:"Access log",value:i.proxy_access_log}),e.configData.push({name:"Error log",value:i.proxy_error_log}),e.dbData.push({name:"DBMS",value:i.database}),e.dbData.push({name:"Host",value:i.pg_host}),e.dbData.push({name:"Database",value:i.pg_database}),e.dbData.push({name:"User",value:i.pg_user}),e.dbData.push({name:"Port",value:i.pg_port}),n.available_on_server){var r="info";n.enabled_in_cluster.forEach(function(e){if(e!==s)return"info";r="success"}),e.plugins.push({name:s,type:r})}}})}}},c=l,u=(a("73dc"),a("2877")),d=Object(u["a"])(c,n,i,!1,null,null,null);t["default"]=d.exports},"442f":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("el-alert",{attrs:{title:"设置环境及激活",type:"info","show-icon":""}},[e._v("设置系统环境相关配置,请点击:\n "),e.permission.manage_env?a("router-link",{attrs:{to:"/operating/envs"}},[a("strong",[a("el-link",{attrs:{type:"success",underline:!1}},[e._v("环境管理")])],1)]):e._e(),e._v(",或联系管理员")],1),a("avue-crud",{ref:"crud",attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading},on:{"refresh-change":e.handlerefreshChange},scopedSlots:e._u([{key:"id",fn:function(t){var n=t.row;return[e.activeClient.id!=n.id?a("el-button",{attrs:{type:"info",size:"mini",plain:""},on:{click:function(t){return e.handActiveClient(n)}}},[e._v("激活")]):e._e(),e.activeClient.id==n.id?a("el-button",{attrs:{type:"success",size:"mini"}},[e._v("已激活")]):e._e()]}},{key:"menuLeft",fn:function(t){return[(e.permission.client_add,e._e())]}},{key:"menu",fn:function(t){return[e.permission.client_update?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",type:"primary",plain:""},on:{click:function(a){return e.toEditClient(t.row,t.$index)}}},[e._v("编辑")]):e._e(),e.permission.client_delete?a("el-button",{attrs:{icon:"el-icon-delete",size:"small",type:"danger",plain:""},on:{click:function(a){return e.handlerDelete(t.row,t.$index)}}},[e._v("删除")]):e._e()]}}])})],1),e.grade.box?a("el-dialog",{attrs:{title:"新增Kong连接",width:"70%",visible:e.grade.box},on:{"update:visible":function(t){return e.$set(e.grade,"box",t)}}},[a("avue-form",{attrs:{option:e.clientColumn},on:{submit:e.handleClient},model:{value:e.clientForm,callback:function(t){e.clientForm=t},expression:"clientForm"}})],1):e._e()],1)},i=[],s=a("5176"),r=a.n(s),o=(a("7f7f"),a("cebc")),l=a("5880"),c=a("af62"),u=a("5640"),d={name:"client",components:{},data:function(){return{tableOption:u["b"],clientColumn:u["a"],tableData:[],tableLoading:!1,clientForm:{},activeClient:{id:-1},grade:{box:!1}}},created:function(){this.findActiveKongclient(),this.handleList(),this.initOptions(),this.$notify({title:"提示",type:"warning",message:"请激活当前使用环境!!!",offset:100})},watch:{},mounted:function(){},computed:Object(o["a"])({},Object(l["mapGetters"])(["permission","userInfo"])),props:[],methods:{initOptions:function(){this.tableOption["menu"]=!1},findActiveKongclient:function(){var e=this;this.$store.dispatch("FindActiveClient",this.userInfo).then(function(t){e.activeClient=t})},handActiveClient:function(e){var t=this;Object(c["i"])(this.userInfo.name,e).then(function(e){window.location.href.indexOf("#/wel/index")>0?window.location.reload():t.$nextTick(function(e){t.$router.push("/wel/index")})})},toEditClient:function(e,t){this.grade.box=!0,this.clientForm=e},handlerefreshChange:function(e){this.handleList(this.tableSearch)},handleList:function(e){var t=this;this.tableLoading=!0,Object(c["c"])(r()({})).then(function(e){var a=e.data.data;t.tableData=a,t.tableLoading=!1})},handleClient:function(e,t){var a=this;this.clientForm&&this.clientForm.id?Object(c["j"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(a.$successInfo("修改成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("修改失败"),t()}):Object(c["a"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(a.$successInfo("新增成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("新增失败"),t()})},handlerDelete:function(e){var t=this;this.$confirm("是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(c["h"])(e).then(function(e){var a=e.data;0==a.status?(t.$successInfo("删除成功"),t.handleList()):t.$errorInfo("删除失败")})})}}},p=d,h=(a("4c65"),a("2877")),m=Object(h["a"])(p,n,i,!1,null,"2f514c64",null);t["default"]=m.exports},4451:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-card",{staticClass:"easy-cron"},[a("div",{staticClass:"content"},[a("div",{staticClass:"left"},[a("el-tabs",{attrs:{size:"small"},model:{value:e.curtab,callback:function(t){e.curtab=t},expression:"curtab"}},[e.hideSecond?e._e():a("el-tab-pane",{attrs:{label:"秒",name:"second"}},[a("second-ui",{attrs:{disabled:e.disabled},model:{value:e.second,callback:function(t){e.second=t},expression:"second"}})],1),a("el-tab-pane",{attrs:{label:"分",name:"minute"}},[a("minute-ui",{attrs:{disabled:e.disabled},model:{value:e.minute,callback:function(t){e.minute=t},expression:"minute"}})],1),a("el-tab-pane",{attrs:{label:"时",name:"hour"}},[a("hour-ui",{attrs:{disabled:e.disabled},model:{value:e.hour,callback:function(t){e.hour=t},expression:"hour"}})],1),a("el-tab-pane",{attrs:{label:"日",name:"day"}},[a("day-ui",{attrs:{week:e.week,disabled:e.disabled},model:{value:e.day,callback:function(t){e.day=t},expression:"day"}})],1),a("el-tab-pane",{attrs:{label:"月",name:"month"}},[a("month-ui",{attrs:{disabled:e.disabled},model:{value:e.month,callback:function(t){e.month=t},expression:"month"}})],1),a("el-tab-pane",{attrs:{label:"周",name:"week"}},[a("week-ui",{attrs:{day:e.day,disabled:e.disabled},model:{value:e.week,callback:function(t){e.week=t},expression:"week"}})],1),e.hideYear||e.hideSecond?e._e():a("el-tab-pane",{attrs:{label:"年",name:"year"}},[a("year-ui",{attrs:{disabled:e.disabled},model:{value:e.year,callback:function(t){e.year=t},expression:"year"}})],1)],1)],1),a("div",{staticClass:"right"},[a("div",{staticClass:"field-list"},[a("el-table",{attrs:{stripe:"",columns:e.columns,data:e.tableData,"show-header":!1,size:"small"}})],1),a("div",{staticClass:"exe-pre"},[a("div",{staticClass:"exe-pre-panel"},[a("label",{staticClass:"p-left"},[e._v("执行时间")]),a("el-date-picker",{staticClass:"p-right",attrs:{type:"datetime",placeholder:"选择执行开始时间"},model:{value:e.startTime,callback:function(t){e.startTime=t},expression:"startTime"}})],1),a("div",{staticClass:"exe-pre-panel"},[a("el-tooltip",{staticClass:"p-left",attrs:{content:"执行预览解析不含年参数"}},[a("label",[e._v("执行预览")])]),a("el-input",{staticClass:"p-right",attrs:{type:"textarea",value:e.preTimeList,rows:4,readonly:""}})],1)])])])])},i=[],s=(a("28a5"),a("c5f6"),a("109b")),r=a("f6e9"),o=a("9fee"),l=a("84bc"),c=a("b355"),u=a("68c6"),d=a("7141"),p=a("f8d8"),h=a.n(p),m=(a("6b54"),a("a481"),function(e,t){if(!e)return"";var a=t||"yyyy-MM-dd";e=new Date(e);var n={M:e.getMonth()+1,d:e.getDate(),h:e.getHours(),m:e.getMinutes(),s:e.getSeconds(),q:Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};return a=a.replace(/([yMdhmsqS])+/g,function(t,a){var i=n[a];return void 0!==i?(t.length>1&&(i="0".concat(i),i=i.substr(i.length-2)),i):"y"===a?e.getFullYear().toString().substr(4-t.length):t}),a}),f=m,g=a("b012"),b={name:"easy-cron",comments:{SecondUi:s["default"],MinuteUi:r["default"],HourUi:o["default"],DayUi:l["default"],WeekUi:c["default"],MonthUi:u["default"],YearUi:d["default"]},model:{prop:"cronValue",event:"change"},props:{cronValue:{type:String,default:""},disabled:{type:Boolean,default:!1},exeStartTime:{type:[Number,String,Object],default:0},hideSecond:{type:Boolean,default:!1},hideYear:{type:Boolean,default:!1},remote:{type:Function,default:null}},data:function(){return{curtab:this.hideSecond?"minute":"second",second:"*",minute:"*",hour:"*",day:"*",month:"*",week:"?",year:"*",startTime:new Date,preTimeList:"执行预览,会忽略年份参数",columns:[{title:" ",width:"80",key:"name"},{title:" ",key:"value"}]}},computed:{tableData:function(){var e=this.hideSecond?[]:[{name:"秒",value:this.second}];return e=e.concat([{name:"分",value:this.minute},{name:"时",value:this.hour},{name:"日",value:this.day},{name:"月",value:this.month},{name:"周",value:this.week}]),this.hideSecond||this.hideYear?e.concat({name:"表达式",value:this.cronValue_c}):e.concat({name:"年",value:this.year},{name:"表达式",value:this.cronValue_c},{name:"表达式(不含年)",value:this.cronValue_c2})},cronValue_c:function(){var e=[];return this.hideSecond||e.push(this.second?this.second:"*"),e.push(this.minute?this.minute:"*"),e.push(this.hour?this.hour:"*"),e.push(this.day?this.day:"*"),e.push(this.month?this.month:"*"),e.push(this.week?this.week:"?"),this.hideYear||this.hideSecond||e.push(this.year?this.year:"*"),e.join(" ")},cronValue_c2:function(){var e=this.cronValue_c;if(this.hideYear||this.hideSecond)return e;var t=e.split(" ");return t.slice(0,t.length-1).join(" ")}},watch:{cronValue:function(e,t){e!==this.cronValue_c&&this.formatValue()},cronValue_c:function(e,t){this.calTriggerList(),this.$emit("change",e)},exeStartTime:function(e,t){this.calStartTime()},startTime:function(e,t){this.calTriggerList()}},methods:{formatValue:function(){if(this.cronValue){var e=this.cronValue.split(" ").filter(function(e){return!!e});if(e&&!(e.length<=0)){var t=0;this.hideSecond||(this.second=e[t++]),e.length>t&&(this.minute=e[t++]),e.length>t&&(this.hour=e[t++]),e.length>t&&(this.day=e[t++]),e.length>t&&(this.month=e[t++]),e.length>t&&(this.week=e[t++]),e.length>t&&(this.year=e[t])}}},calTriggerList:Object(g["debounce"])(function(){this.calTriggerListInner()},500),calTriggerListInner:function(){var e=this;if(this.remote)this.remote(this.cronValue_c2,+this.startTime,function(t){e.preTimeList=t});else{for(var t=this.cronValue_c2,a="yyyy-MM-dd hh:mm:ss",n={currentDate:f(this.startTime,a)},i=h.a.parseExpression(t,n),s=[],r=0;r<5;r++)s.push(f(new Date(i.next()),a));this.preTimeList=s.length>0?s.join("\n"):"无执行时间"}},calStartTime:function(){if(this.exeStartTime)try{this.startTime=new Date(this.exeStartTime)}catch(e){this.startTime=new Date}else this.startTime=new Date}},components:{SecondUi:s["default"],MinuteUi:r["default"],HourUi:o["default"],DayUi:l["default"],WeekUi:c["default"],MonthUi:u["default"],YearUi:d["default"]},created:function(){var e=this;this.formatValue(),this.calStartTime(),this.$nextTick(function(){e.calTriggerListInner()})}},v=b,y=(a("722ff"),a("2877")),_=Object(y["a"])(v,n,i,!1,null,"686e23aa",null);t["default"]=_.exports},"451d":function(e,t,a){"use strict";var n=a("8599"),i=a.n(n);i.a},4658:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("search-banner",{ref:"routeSearch",attrs:{placeholder:"请输入USERNAME、TAGS",handleList:e.handleList,span:e.isDevProfile?21:24,searchProps:e.searchProps,page:e.page},on:{"search-change":e.searchChange}},[a("template",{slot:"menu"},[e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-plus",size:"small",type:"primary"},on:{click:function(t){return e.handleGrade({})}}},[e._v("新增")]):e._e()],1)],2),a("avue-crud",{attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading,page:e.page},on:{"row-click":e.handleRowClick,"row-save":e.handleSave,"row-del":e.handleDel,"refresh-change":e.handlerefreshChange,"current-change":e.handleCurrentChange,"size-change":e.handleCurrentSize,"search-change":e.handleSearchChange},scopedSlots:e._u([{key:"username",fn:function(t){var n=t.row;return[a("el-link",{attrs:{underline:!1,type:"success"},on:{click:function(t){return e.toDetail(n)}}},[e._v(e._s(n.username))])]}},{key:"tags",fn:function(t){var n=t.row;return[a("item-tags",{attrs:{tags:n.tags,name:"tags",column:"tags",mode:"view"},on:{sendTag:e.bindTags}})]}},{key:"menu",fn:function(t){return[e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",type:"text"},on:{click:function(a){return e.handleGrade(t.row,t.$index)}}},[e._v("编辑")]):e._e(),e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-delete",size:"small",type:"text"},on:{click:function(a){return e.handleDel(t.row,t.$index)}}},[e._v("删除")]):e._e()]}}])}),e.grade.box?a("el-drawer",{attrs:{title:"CONSUMERS",size:"50%",visible:e.grade.box},on:{"update:visible":function(t){return e.$set(e.grade,"box",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("upload-consumer",{attrs:{entity:e.form,mode:e.mode},on:{callback:e.callback}})],1)]):e._e(),e.grade.drawerDetail?a("el-drawer",{attrs:{size:"50%",title:"'"+e.form.username+"' 详情",visible:e.grade.drawerDetail,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){return e.$set(e.grade,"drawerDetail",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",width:"100%",height:"90%"}},[a("upload-consumer",{attrs:{entity:e.form,mode:e.mode},on:{callback:e.callback}})],1)]):e._e()],1)],1)},i=[],s=a("5176"),r=a.n(s),o=a("cebc"),l=a("fef3"),c=a("5880"),u=a("154c"),d=a("848d"),p=a("3ac9"),h=a("ca60"),m={name:"strategy",components:{ItemTags:h["default"],searchBanner:d["default"],uploadConsumer:u["default"]},data:function(){return{tableSearch:{},tableOption:l["c"],searchProps:[{name:"username"},{name:"tags",type:"array"}],tableData:[],tablePage:1,tableSize:10,tableLoading:!1,form:{},page:{total:0,currentPage:1,pageSize:10},grade:{box:!1,drawerDetail:!1},mode:"add"}},computed:Object(o["a"])({},Object(c["mapGetters"])(["permission","isDevProfile","isProdProfile","systemProfile"])),props:{type:{type:String,required:!1}},created:function(){var e=this;-1==this.systemProfile.id?this.$nextTick(function(t){e.$router.push("/wel/index")}):this.initOptions()},methods:{initOptions:function(){this.isDevProfile?this.tableOption["menu"]=!0:this.permission.service_update||(this.tableOption["menu"]=!1)},toDetail:function(e){this.form=e,this.grade.drawerDetail=!0,this.mode="view"},callback:function(e){this.form=e,this.mode="edit",this.reloadDataList()},handlerSyncBox:function(){this.grade.syncBox=!0},handleGrade:function(e,t){this.grade.box=!0,e&&e.id?(this.form=e,this.mode="edit"):(this.form={},this.mode="add")},handleCurrentChange:function(e){this.tablePage=e,this.refreshTableList(!0)},handleCurrentSize:function(e){this.tableSize=e,this.refreshTableList(!1)},handleList:function(e){var t=this;return this.tableLoading=!0,this.grade.box=!1,Object(p["d"])(r()({},e)).then(function(e){var a=e.data;return t.tableLoading=!1,a.data||[]})},refreshTableList:function(e){this.initPage(e),this.$refs.routeSearch.refresh(this.page,e)},initPage:function(e){e||(this.tablePage=1),this.page.currentPage=this.tablePage,this.page.pageSize=this.tableSize},searchChange:function(e){this.tableData=e.data},reloadDataList:function(){this.initPage(!1),this.$refs.routeSearch.loadData()},handleRowClick:function(e,t,a){this.type&&this.$emit("selectionData",e)},handleDel:function(e,t){var a=this,n="";this.isProdProfile&&(n="当前为生产环境,请谨慎操作! "),this.$confirm(n+"是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(p["a"])({id:e.id}).then(function(e){var t=e.data;0!=t.status?a.$errorInfo(t.errmsg):(a.reloadDataList(),a.$successInfo("删除成功"))})}).catch(function(){})}}},f=m,g=a("2877"),b=Object(g["a"])(f,n,i,!1,null,null,null);t["default"]=b.exports},"468b":function(e,t,a){"use strict";a.d(t,"a",function(){return r}),a.d(t,"b",function(){return o}),a.d(t,"c",function(){return l}),a.d(t,"d",function(){return c}),a.d(t,"e",function(){return u}),a.d(t,"f",function(){return d}),a.d(t,"g",function(){return p});var n=a("b5c6"),i=a("074d"),s=i["a"].path+"/kong/api/",r=function(e){return Object(n["a"])({url:s+"plugins",method:"get"})},o=function(e){return Object(n["a"])({url:s+"routes/"+e.route.id+"/plugins",method:"get"})},l=function(e){return Object(n["a"])({url:s+"/services/"+e.service.id+"/plugins",method:"get"})},c=function(e){return Object(n["a"])({url:s+"/plugins/schema/"+e,method:"get"})},u=function(e){return Object(n["a"])({url:s+"/plugins",method:"post",data:e})},d=function(e){return Object(n["a"])({url:s+"/plugins/"+e.id,method:"post",data:e})},p=function(e){return Object(n["a"])({url:s+"/plugins/"+e.id,method:"delete"})}},"46dc":function(e,t,a){},4703:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-divider"),a("span",["add"==e.mode&&e.permission.role_config?a("el-button",{staticClass:"el-icon-refresh",attrs:{type:"primary",size:"small"},on:{click:e.handleGradeUpdate}},[e._v("修改角色权限")]):e._e()],1),a("el-tree",{ref:"menuTree",attrs:{data:e.menuAll,"show-checkbox":"","highlight-current":"",props:e.menuOption,"default-expand-all":"",accordion:"","node-key":"id","default-expanded-keys":[-1]},on:{"check-change":e.handleGradeCheckChange}})],1)},i=[],s=a("cebc"),r=a("5880"),o=a("ca05"),l=a("ef70"),c=a("8d55"),u={name:"menu",data:function(){return{filterText:"",menuAll:[],menuOption:o["c"]}},props:{systemRole:{},mode:{}},created:function(){this.loadAllMenu()},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission"])),methods:{loadAllMenu:function(){var e=this;Object(l["c"])().then(function(t){var a=t.data;return e.menuAll=a.data,{}}).then(function(){Object(c["c"])(e.systemRole).then(function(t){var a=t.data;e.$refs.menuTree.setCheckedKeys(a.data,!1)})})},handleGradeUpdate:function(){var e=this,t=this.$refs.menuTree.getCheckedNodes(),a=this.$refs.menuTree.getHalfCheckedNodes();Object(c["f"])({systemRole:this.systemRole,items:t,halfItems:a}).then(function(t){0!=t.data.status?e.$successInfo(t.data.errmsg):e.$successInfo("更新成功")})}}},d=u,p=a("2877"),h=Object(p["a"])(d,n,i,!1,null,null,null);t["default"]=h.exports},4819:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-divider"),a("avue-form",{ref:"form",attrs:{option:e.formColumns},on:{submit:e.handleEntity},model:{value:e.upholdEntity,callback:function(t){e.upholdEntity=t},expression:"upholdEntity"}},["view"!=e.mode?a("template",{slot:"menuForm"},[a("el-button",{staticClass:"el-icon-check",attrs:{type:"primary"},on:{click:e.handlerSubmit}},[e._v("提 交")])],1):e._e()],2)],1)},i=[],s=(a("ac6a"),a("5176")),r=a.n(s),o=a("ca05"),l=a("e17e"),c=a("ca60"),u={name:"UpholdUser",components:{ItemTags:c["default"]},data:function(){return{formColumns:o["e"],upholdEntity:this.entity}},props:{entity:{type:Object,required:!1},mode:{required:!1}},created:function(){this.initOptions()},methods:{bindTags:function(e){this.upholdEntity=r()(this.upholdEntity,e)},initOptions:function(){var e=this;this.formColumns.column.forEach(function(t){t["disabled"]="view"==e.mode})},handlerSubmit:function(){this.$refs.form.submit()},handleEntity:function(e,t){"edit"==this.mode&&this.handleEntityUpdate(e,t),"add"==this.mode&&this.handleEntitySave(e,t)},handleEntityUpdate:function(e,t){var a=this;Object(l["f"])(this.upholdEntity).then(function(e){var n=e.data;0!=n.status?a.$message.error(n.errmsg):(a.$message.success("修改成功"),a.callback()),t()}).catch(function(e){a.$message.error("更新失败"),t()})},handleEntitySave:function(e,t){var a=this;Object(l["e"])(this.upholdEntity).then(function(e){var n=e.data;0!=n.status?a.$message.error(n.errmsg):(a.$message.success("新增成功"),a.callback()),t()}).catch(function(e){a.$message.error("新增失败,错误信息:"+e),t()})},callback:function(){this.$emit("callback",{})}}},d=u,p=a("2877"),h=Object(p["a"])(d,n,i,!1,null,null,null);t["default"]=h.exports},"48c2":function(e,t,a){"use strict";var n=a("71f9"),i=a.n(n);i.a},"4b3a":function(e,t,a){"use strict";var n=a("e814"),i=a.n(n),s=(a("28a5"),"TYPE_NOT_SET"),r="TYPE_EVERY",o="TYPE_RANGE",l="TYPE_LOOP",c="TYPE_WORK",u="TYPE_LAST",d="TYPE_SPECIFY",p="?";t["a"]={model:{prop:"prop",event:"change"},props:{prop:{type:String,default:p},disabled:{type:Boolean,default:!1}},data:function(){var e=r;return{DEFAULT_VALUE:p,type:e,TYPE_NOT_SET:s,TYPE_EVERY:r,TYPE_RANGE:o,TYPE_LOOP:l,TYPE_WORK:c,TYPE_LAST:u,TYPE_SPECIFY:d,valueRange:{start:0,end:0},valueLoop:{start:0,interval:1},valueWeek:{start:0,end:0},valueList:[],valueWork:1,maxValue:0,minValue:0}},watch:{prop:function(e,t){e!==this.value_c&&this.parseProp(e)}},computed:{value_c:function(){var e=[];switch(this.type){case s:e.push("?");break;case r:e.push("*");break;case o:e.push("".concat(this.valueRange.start,"-").concat(this.valueRange.end));break;case l:e.push("".concat(this.valueLoop.start,"/").concat(this.valueLoop.interval));break;case c:e.push("".concat(this.valueWork,"W"));break;case u:e.push("L");break;case d:e.push(this.valueList.join(","));break;default:e.push(this.DEFAULT_VALUE);break}return e.length>0?e.join(""):this.DEFAULT_VALUE}},methods:{parseProp:function(e){if(e!==this.value_c){"function"===typeof this.preProcessProp&&(e=this.preProcessProp(e));try{if(e&&e!==this.DEFAULT_VALUE)if(e.indexOf("?")>=0)this.type=s;else if(e.indexOf("-")>=0){this.type=o;var t=e.split("-");t.length>=2&&(this.valueRange.start=i()(t[0]),this.valueRange.end=i()(t[1]))}else if(e.indexOf("/")>=0){this.type=l;var a=e.split("/");a.length>=2&&(this.valueLoop.start="*"===e[0]?0:i()(a[0]),this.valueLoop.interval=i()(a[1]))}else if(e.indexOf("W")>=0){this.type=c;var n=e.split("W");n[0]||isNaN(n[0])||(this.valueWork=i()(n[0]))}else if(e.indexOf("L")>=0){this.type=u;var p=e.split("L");this.valueLast=i()(p[0])}else e.indexOf(",")>=0||!isNaN(e)?(this.type=d,this.valueList=e.split(",").map(function(e){return i()(e)})):this.type=r;else this.type=r}catch(h){this.type=r}}}}}},"4c65":function(e,t,a){"use strict";var n=a("fa68"),i=a.n(n);i.a},"4ffa":function(e,t,a){"use strict";var n=a("d9f2"),i=a.n(n);i.a},5311:function(e,t,a){"use strict";var n=a("15c5"),i=a.n(n);i.a},5343:function(e,t,a){"use strict";a.d(t,"a",function(){return s});var n=a("b5c6"),i=a("074d"),s=function(e){return Object(n["a"])({url:i["a"].path+"/operating/logs/",method:"get",params:e})}},"537a":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("avue-crud",{attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading},scopedSlots:e._u([{key:"enabled",fn:function(t){var n=t.row;return[a("el-button",{directives:[{name:"show",rawName:"v-show",value:n.enabled,expression:"row.enabled"}],attrs:{plain:"",size:"mini",type:"success",disabled:""}},[e._v("启用")]),a("el-button",{directives:[{name:"show",rawName:"v-show",value:!n.enabled,expression:"!row.enabled"}],attrs:{plain:"",size:"mini",type:"danger",disabled:""}},[e._v("未启用")])]}},{key:"name",fn:function(t){var a=t.row;return[e._v(e._s(a.name))]}},{key:"menu",fn:function(t){return[e.permission.plugin_update?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",plain:"",type:"primary"},on:{click:function(a){return e.toEditPlugin(t.row,t.$index)}}},[e._v("编辑")]):e._e(),e.permission.plugin_delete?a("el-button",{attrs:{icon:"el-icon-delete",size:"small",plain:"",type:"danger"},on:{click:function(a){return e.handleDel(t.row,t.$index)}}},[e._v("删除")]):e._e()]}}])}),e.grade.drawerDetail?a("el-drawer",{attrs:{size:"45%",title:"'"+e.plugin.name+"' 详情",visible:e.grade.drawerDetail,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){return e.$set(e.grade,"drawerDetail",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"100%"}},[a("pre",[e._v(e._s(e.plugin)+"}")])])]):e._e()],1)},i=[],s=a("cebc"),r=a("fef3"),o=a("5880"),l=a("3dba"),c={name:"plugin",data:function(){return{tableSearch:{},tableOption:r["k"],items:[],tmp_items:[],plugins:[],plugin:{},tableData:[],tablePage:1,tableSize:10,tableLoading:!1,page:{total:0,currentPage:1,pageSize:10},grade:{drawerDetail:!1}}},computed:Object(s["a"])({},Object(o["mapGetters"])(["permission"])),props:{service:{type:String,required:!1},client:{required:!1}},created:function(){this.handleList(),this.initOptions()},methods:{initOptions:function(){},handleList:function(e){var t=this;this.tableLoading=!0,this.client=this.client||{},Object(l["b"])(this.service,this.client).then(function(e){var a=e.data;0!=a.status?t.$errorInfo(a.errmsg):t.tableData=a.data,t.tableLoading=!1})}}},u=c,d=a("2877"),p=Object(d["a"])(u,n,i,!1,null,null,null);t["default"]=p.exports},5640:function(e,t,a){"use strict";a.d(t,"e",function(){return r}),a.d(t,"a",function(){return o}),a.d(t,"b",function(){return l}),a.d(t,"h",function(){return c}),a.d(t,"f",function(){return u}),a.d(t,"c",function(){return d}),a.d(t,"d",function(){return p}),a.d(t,"i",function(){return h}),a.d(t,"g",function(){return m});var n,i=a("bd86"),s=(a("e349"),a("c54a"),a("074d")),r={card:!0,size:"small",emptyBtn:!1,group:[{label:"网关配置",column:[{label:"Kong Admin URL",row:!0,span:24,labelWidth:140,value:"http://localhost:8001/",prop:"url",tip:"请填写kong的管理URL,如:http://localhost:8001/",rules:[{required:!0,message:"请填写URL,如:http://localhost:8001/",trigger:"blur"}]}]},{label:"环境信息",column:[{label:"名称",prop:"name",span:24,labelWidth:140,width:150,rules:[{required:!0,message:"请填写名称",trigger:"blur"}]},{label:"环境编码",prop:"profileCode",span:24,labelWidth:140,width:150,rules:[{required:!0,message:"请填写环境编码",trigger:"blur"}]},{label:"所属环境",prop:"env",span:24,labelWidth:140,width:150,disabled:!0},{label:"部署类型",prop:"deployType",span:24,labelWidth:140,width:150,disabled:!0},{label:"简称",prop:"ab",span:24,labelWidth:140,width:150,disabled:!0}]}]},o={column:[{label:"名称",prop:"name",span:24,labelWidth:140,width:150,rules:[{required:!0,message:"请填写名称",trigger:"blur"}]},{label:"Kong Admin URL",row:!0,span:24,labelWidth:140,prop:"url",tip:"请填写kong的管理URL,如:http://localhost:8001/",rules:[{required:!0,message:"请填写URL,如:http://localhost:8001/",trigger:"blur"}]},{label:"所属环境",labelWidth:140,prop:"profile",type:"select",group:!0,dicUrl:s["a"].path+"/system/envs/"}]},l=(n={maxHeight:600,labelWidth:120,simplePage:!0,index:!0,border:!0,menuBtn:!0,addBtn:!1},Object(i["a"])(n,"simplePage",!0),Object(i["a"])(n,"delBtn",!1),Object(i["a"])(n,"editBtn",!1),Object(i["a"])(n,"refreshBtn",!1),Object(i["a"])(n,"columnBtn",!1),Object(i["a"])(n,"menuAlign","center"),Object(i["a"])(n,"align","center"),Object(i["a"])(n,"searchSize","mini"),Object(i["a"])(n,"column",[{label:"Active",prop:"id",slot:!0,width:80},{label:"Name",prop:"name",sortable:!0,width:150},{label:"Kong Admin URL",prop:"url"},{label:"Version",prop:"version"},{label:"Created_at",prop:"create_at",width:"180",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,a,n){return t}}]),n),c={maxHeight:900,expand:!0,labelWidth:120,index:!0,border:!0,menuBtn:!0,addBtn:!1,delBtn:!1,editBtn:!1,refreshBtn:!1,columnBtn:!1,menuAlign:"center",align:"center",searchSize:"mini",menu:!1,column:[{label:"源环境",prop:"src_client",slot:!0,width:"280"},{label:"目标环境",prop:"clients",overHidden:!0,slot:!0},{label:"数据类型",prop:"dataType"},{label:"同步策略",prop:"policy"},{label:"同步时间",prop:"create_at",width:"180",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,a,n){return t}},{label:"同步状态",prop:"status"},{label:"备注",span:24,labelWidth:140,overHidden:!0,type:"textarea",prop:"comment"},{label:"操作人",prop:"creator",width:100}]},u={maxHeight:600,labelWidth:120,menuBtn:!0,addBtn:!1,delBtn:!1,viewBtn:!0,editBtn:!1,menuAlign:"center",align:"center",menu:!1,columnBtn:!1,refreshBtn:!1,column:[{label:"同步时间",prop:"create_at",width:"160",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,a,n){return t}},{label:"同步消息",prop:"comment",align:"left",width:400}]},d={column:[{label:"KEY",prop:"configKey",span:24,labelWidth:140,width:150,rules:[{required:!0,message:"请填写key",trigger:"blur"}]},{label:"VALUE",row:!0,span:24,labelWidth:140,type:"textarea",prop:"configValue",rules:[{required:!0,message:"请填写key值",trigger:"blur"}]},{label:"参数类型",row:!0,span:24,labelWidth:140,type:"select",prop:"configType",dicUrl:s["a"].path+"/system/envs/configTypes",rules:[{required:!0,message:"请选择参数类型",trigger:"blur"}]},{label:"备注",span:24,labelWidth:140,type:"textarea",prop:"comment"}]},p={maxHeight:600,expand:!0,labelWidth:120,simplePage:!0,index:!0,border:!0,menuBtn:!0,addBtn:!1,delBtn:!1,editBtn:!1,menuAlign:"center",align:"center",searchSize:"mini",column:[{label:"KEY",prop:"configKey",align:"left",width:240},{label:"VALUE",prop:"configValue",overHidden:!0},{label:"备注",width:240,prop:"comment"},{label:"创建日期",prop:"create_at",width:"180",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,a,n){return t}}]},h={card:!0,group:[{icon:"el-icon-info",label:"同步配置信息",column:[{label:"源环境",type:"select",labelWidth:150,span:24,formslot:!0,prop:"src_client"},{label:"目标环境",prop:"clients",labelWidth:150,formslot:!0},{label:"待同步的服务列表",prop:"services",span:24,labelWidth:150,formslot:!0}]},{label:"同步信息",column:[]}]},m={maxHeight:600,labelWidth:120,index:!0,border:!0,menuBtn:!1,addBtn:!1,delBtn:!1,editBtn:!1,menu:!1,simplePage:!0,refreshBtn:!1,columnBtn:!1,menuAlign:"center",align:"center",searchSize:"mini",column:[{label:"操作时间",prop:"create_at",width:"180",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,a,n){return t}},{label:"操作者",prop:"creator",width:100},{label:"操作记录",prop:"remark",align:"left"},{label:"操作环境",prop:"profile",width:100},{label:"执行操作",prop:"operation",width:150,type:"select",dicData:[{label:"登录",value:"login"},{label:"登出",value:"logout"},{label:"同步",value:"sync"},{label:"新增",value:"add"},{label:"修改",value:"update"},{label:"删除",value:"delete"},{label:"执行降级",value:"demote_config"},{label:"降级回滚",value:"rollback_config"},{label:"Arthas调试",value:"arthas_attach"},{label:"启动",value:"job_startup"},{label:"暂停",value:"job_pause"}]},{label:"操作对象",prop:"target",width:150,dicData:[{label:"全局插件",value:"global_plugin"},{label:"路由插件",value:"route_plugin"},{label:"服务插件",value:"service_plugin"},{label:"路由",value:"route"},{label:"服务",value:"service"},{label:"上游服务",value:"upstream"},{label:"上游代理",value:"targets"},{label:"系统",value:"system"},{label:"作业",value:"monitor_job"},{label:"作业任务",value:"monitor_job_task"},{label:"网关服务",value:"sync_service"},{label:"系统参数",value:"server_config"},{label:"系统环境",value:"system_profile"},{label:"降级参数",value:"demote_app_params"},{label:"热配参数",value:"sync_app_params"},{label:"服务进程",value:"service_progress"}]}]}},"575d":function(e,t,a){"use strict";var n=a("9fc0"),i=a.n(n);i.a},"577f":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{"margin-left":"15px"}},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[a("strong",[e._v(e._s(e.dateStr))])]),e.nextLogTag?a("el-button",{staticStyle:{float:"right",padding:"6px 10px"},attrs:{type:"text"},on:{click:function(t){return e.nextOrpre(e.nextLogTag)}}},[e._v("下一天")]):e._e(),e.preLogTag?a("el-button",{staticStyle:{float:"right",padding:"6px 10px"},attrs:{type:"primary"},on:{click:function(t){return e.nextOrpre(e.preLogTag)}}},[e._v("上一天")]):e._e(),e.nextLogTag||e.preLogTag?a("el-button",{staticStyle:{float:"right",padding:"6px 10px"},attrs:{type:"text"},on:{click:function(t){return e.reset(e.nextLogTag||e.preLogTag)}}},[e._v("返回")]):e._e()],1),a("el-divider"),e.listView?e._e():a("el-timeline",e._l(e.logData,function(t,n){return a("el-timeline-item",{key:n,attrs:{placement:"top",size:0==n?"large":"normal",color:(t.status,"#0bbd87")}},[a("el-card",{staticStyle:{cursor:"pointer"},attrs:{shadow:"hover"}},[a("el-popover",{attrs:{placement:"top-start",title:"日志内容",width:"600",trigger:"click",effect:"dark"}},[a("div",{staticStyle:{"overflow-y":"auto",height:"90%"}},[a("json-viewer",{attrs:{value:JSON.parse(t.content),"expand-depth":5,copyable:"",sort:""}})],1),a("div",{attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(e._f("parseTime")(t.create_at,"{h}:{i}:{s}"))+"- "+e._s(t.remark))])])],1)],1)}),1),e.listView?a("avue-crud",{staticStyle:{cursor:"pointer"},attrs:{option:e.operationLogOption,data:e.logData,"table-loading":e.tableLoading,page:e.page},on:{"current-change":e.handleCurrentChange,"row-click":e.handleRowClick,"size-change":e.handleCurrentSize,"search-change":e.handleSearchChange},model:{value:e.objData,callback:function(t){e.objData=t},expression:"objData"}}):e._e(),e.drawerDetail?a("el-drawer",{attrs:{size:"35%",title:"操作对象内容",visible:e.drawerDetail,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){e.drawerDetail=t}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("json-viewer",{attrs:{value:JSON.parse(e.currentLog.content),"expand-depth":1,copyable:"",sort:""}})],1)]):e._e()],1)},i=[],s=a("5640"),r=a("5343"),o={data:function(){return{operationLogOption:s["g"],dateStr:"",preLogTag:null,nextLogTag:null,logData:[],currentLog:{content:"{}"},drawerDetail:!1,currentLogTag:null}},props:{logTag:{type:Object,required:!0},keyword:{required:!0},listView:{required:!0}},created:function(){this.findSyncLog()},watch:{logTag:function(e){this.findSyncLog()},keyword:function(e){this.findSyncLog()}},methods:{handleRowClick:function(e){this.currentLog=e,this.drawerDetail=!0},findSyncLog:function(){this.nextOrpre(this.logTag)},reset:function(e){e.value=e.begin,this.nextOrpre(e)},nextOrpre:function(e){var t=this;e["keyword"]=this.keyword,Object(r["a"])(e).then(function(e){var a=e.data.data;t.dateStr=a.dateStr,t.preLogTag=a.logTags.pre,t.nextLogTag=a.logTags.next,t.logData=a.logs,t.currentLogTag=a.logParams})}}},l=o,c=(a("b377"),a("2877")),u=Object(c["a"])(l,n,i,!1,null,null,null);t["default"]=u.exports},5791:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("avue-form",{ref:"form",attrs:{option:e.options},on:{submit:e.handleUpholdEntity},model:{value:e.systemFunction,callback:function(t){e.systemFunction=t},expression:"systemFunction"}},[a("template",{slot:"visitView"},[a("el-form-item",[a("el-input",{attrs:{placeholder:"例如:views/admin/user/index"},model:{value:e.systemFunction.visitView,callback:function(t){e.$set(e.systemFunction,"visitView",t)},expression:"systemFunction.visitView"}})],1)],1),a("template",{slot:"useYn"},[a("el-form-item",[a("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#ff4949",value:"systemFunction.useYn","active-value":"y","inactive-value":"n"},model:{value:e.systemFunction.useYn,callback:function(t){e.$set(e.systemFunction,"useYn",t)},expression:"systemFunction.useYn"}})],1)],1),a("template",{slot:"sortOrder"},[a("el-form-item",[a("el-input-number",{attrs:{min:1},model:{value:e.systemFunction.sortOrder,callback:function(t){e.$set(e.systemFunction,"sortOrder",t)},expression:"systemFunction.sortOrder"}})],1)],1),"view"!=e.mode?a("template",{slot:"menuForm"},[e.permission.menu_update?a("el-button",{staticClass:"el-icon-check",attrs:{type:"primary"},on:{click:e.handlerSubmit}},[e._v("提 交")]):e._e()],1):e._e()],2)],1)},i=[],s=(a("ac6a"),a("cebc")),r=a("5880"),o=a("ca05"),l=a("ef70"),c={name:"Route",data:function(){return{formColumns:o["a"],parentId:"-1",childMenuBox:!1}},props:{systemFunction:{type:Object,required:!1},mode:{required:!1},options:{}},created:function(){this.initOptions()},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission"])),methods:{initOptions:function(){var e=this;this.options.column.forEach(function(t){t["disabled"]="view"==e.mode})},toAddChildMenu:function(e){this.parentId=e,this.mode="add",this.childMenuBox=!0},handlerSubmit:function(){this.$refs.form.submit()},handleUpholdEntity:function(e,t){"edit"==this.mode&&this.handleUpholdEntityUpdate(e,t),"add"==this.mode&&this.handleUpholdEntitySave(e,t)},handleUpholdEntityUpdate:function(e,t){var a=this;Object(l["d"])(this.systemFunction).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.$successInfo("修改成功"),a.callback()),t()}).catch(function(e){a.$errorInfo("更新失败"),t()})},handleUpholdEntitySave:function(e,t){var a=this;Object(l["a"])(this.systemFunction).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.$successInfo("新增成功"),a.callback()),t()}).catch(function(e){a.$errorInfo("新增失败,错误信息:"+e),t()})},callback:function(){this.$emit("callback",{})}}},u=c,d=a("2877"),p=Object(d["a"])(u,n,i,!1,null,null,null);t["default"]=p.exports},"5c8e":function(e,t,a){},"620d":function(e,t,a){},6229:function(e,t,a){"use strict";var n=a("7dd5"),i=a.n(n);i.a},6383:function(e,t,a){},"63d8":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("basic-container",[a("el-row",{staticStyle:{"margin-top":"0px"}},[a("el-col",{attrs:{span:"10"}},[e._l(e.logTags,function(t){return a("el-tag",{key:t,staticStyle:{"margin-left":"7px","margin-bottom":"5px",cursor:"pointer"},attrs:{type:t.type,effect:"dark"},on:{click:function(a){return e.changeTag(t)}}},[e._v(e._s(t.name))])}),a("el-popover",{attrs:{placement:"bottom-start"}},[a("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":e.pickerOptions},model:{value:e.daterange,callback:function(t){e.daterange=t},expression:"daterange"}}),a("el-tag",{staticStyle:{"margin-left":"7px","margin-bottom":"5px",cursor:"pointer"},attrs:{slot:"reference",effect:"dark",type:e.autoLogTag.type},slot:"reference"},[e._v(e._s(e.autoLogTag.name))])],1)],2),a("el-col",{attrs:{span:"13"}},[a("el-input",{attrs:{"prefix-icon":"el-icon-search",placeholder:"请输入姓名或其它关键词"},on:{input:e.filterServiceData},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}})],1),a("el-col",{attrs:{span:"1"}},[e.listView?e._e():a("i",{staticClass:"el-icon-s-grid",staticStyle:{"margin-left":"12px","margin-top":"10px","font-size":"25px",cursor:"pointer"},attrs:{title:"视图切换"},on:{click:function(t){return e.changeView()}}}),e.listView?a("i",{staticClass:"el-icon-s-grid",staticStyle:{"margin-left":"12px","margin-top":"10px","font-size":"25px",cursor:"pointer",color:"green"},attrs:{title:"视图切换"},on:{click:function(t){return e.changeView()}}}):e._e()])],1),a("log",{ref:"logViewer",attrs:{logTag:e.logTag,listView:e.listView,keyword:e.searchForm}})],1)},i=[],s=(a("ac6a"),a("e814")),r=a.n(s),o=(a("5343"),a("577f")),l={components:{log:o["default"]},data:function(){var e=this;return{logData:[],searchForm:null,daterange:null,logTag:{name:"今 天",value:0,label:"today",type:"success"},autoLogTag:{name:"自定义",value:0,label:"auto",type:"info"},logTags:[{name:"所 有",value:0,label:"all",type:"info"},{name:"今 天",value:0,label:"today",type:"success"},{name:"昨 天",value:1,label:"yesterday",type:"info"},{name:"近7天",value:0,label:"recent7",type:"info"},{name:"上 周",value:0,label:"preweek",type:"info"},{name:"本 周",value:0,label:"thisweek",type:"info"},{name:"上 月",value:0,label:"premonth",type:"info"},{name:"本 月",value:0,label:"thismonth",type:"info"}],listView:!0,pickerOptions:{onPick:function(t){if(t.minDate&&t.maxDate){e.logTag=null,e.autoLogTag.type="success";var a=new Date;e.autoLogTag.value=e.getDaysBetween(t.maxDate,a),e.autoLogTag.value<0&&(e.autoLogTag.value=e.autoLogTag.value-1),e.autoLogTag.begin=e.autoLogTag.value,e.autoLogTag.end=e.getDaysBetween(t.minDate,a),e.autoLogTag.end>=0&&(e.autoLogTag.end=e.getDaysBetween(t.minDate,a)+1),e.changeTag(e.autoLogTag),e.$refs.logViewer.nextOrpre(e.autoLogTag)}}}}},created:function(){},methods:{getDaysBetween:function(e,t){var a=Date.parse(e),n=Date.parse(t),i=r()((n-a)/864e5);return i},changeView:function(){this.listView=!this.listView},changeTag:function(e){this.logTag=e,"auto"!==e.label&&(this.autoLogTag.type="info"),this.logTags.forEach(function(t){t.label==e.label?t.type="success":t.type="info"})}}},c=l,u=a("2877"),d=Object(u["a"])(c,n,i,!1,null,null,null);t["default"]=d.exports},6867:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("el-tabs",[a("el-tab-pane",[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"icon-canshu"}),e._v("\n 全部参数\n ")]),a("avue-crud",{ref:"crud",attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading},on:{"refresh-change":e.handlerefreshChange},scopedSlots:e._u([{key:"menuLeft",fn:function(t){return[e.permission.params_add?a("el-button",{attrs:{icon:"el-icon-plus",size:"small",type:"primary"},on:{click:function(a){return e.toEditClient(t.row,t.$index)}}},[e._v("新 增")]):e._e()]}},{key:"menu",fn:function(t){return[e.permission.params_update?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",type:"primary",plain:""},on:{click:function(a){return e.toEditClient(t.row,t.$index)}}},[e._v("编辑")]):e._e()]}},{key:"expand",fn:function(e){var t=e.row;return[a("json-viewer",{attrs:{value:t.configValue}})]}}])})],1),e._l(e.configTypes,function(t){return a("el-tab-pane",{key:t,attrs:{index:t.label}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"icon-canshu"}),e._v("\n "+e._s(t.label)+"\n ")]),a("avue-crud",{ref:"crud",refInFor:!0,attrs:{option:e.tableOption,data:t.data,"table-loading":e.tableLoading},on:{"refresh-change":e.handlerefreshChange},scopedSlots:e._u([{key:"menuLeft",fn:function(t){return[e.permission.params_add?a("el-button",{attrs:{icon:"el-icon-plus",size:"small",type:"primary"},on:{click:function(a){return e.toEditClient(t.row,t.$index)}}},[e._v("新 增")]):e._e()]}},{key:"menu",fn:function(t){return[e.permission.params_update?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",type:"primary",plain:""},on:{click:function(a){return e.toEditClient(t.row,t.$index)}}},[e._v("编辑")]):e._e()]}},{key:"expand",fn:function(e){var t=e.row;return[a("json-viewer",{attrs:{value:t.configValue}})]}}],null,!0)})],1)})],2)],1),e.grade.box?a("el-dialog",{attrs:{title:"系统参数",width:"70%",visible:e.grade.box},on:{"update:visible":function(t){return e.$set(e.grade,"box",t)}}},[a("avue-form",{attrs:{option:e.configColumn},on:{submit:e.handleClient},model:{value:e.clientForm,callback:function(t){e.clientForm=t},expression:"clientForm"}})],1):e._e()],1)},i=[],s=a("5176"),r=a.n(s),o=(a("ac6a"),a("cebc")),l=a("5880"),c=a("ce4a"),u=a("5640"),d={name:"serverConfig",comments:{},data:function(){return{tableOption:u["d"],configColumn:u["c"],tableData:[],tableLoading:!1,clientForm:{},configTypes:[],grade:{box:!1}}},created:function(){this.handleList(),this.initOptions()},mounted:function(){},computed:Object(o["a"])({},Object(l["mapGetters"])(["permission"])),methods:{initOptions:function(){this.permission.params_update||(this.tableOption["menu"]=!1)},findConfigType:function(){var e=this;Object(c["d"])().then(function(t){var a=t.data;e.configTypes=a,e.initConfigData()})},initConfigData:function(){var e=this;_.forEach(this.configTypes,function(t){var a=[];_.forEach(e.tableData,function(e){e.configType==t.value&&a.push(e)}),t["data"]=a})},toEditClient:function(e,t){this.grade.box=!0,this.clientForm=e},handlerefreshChange:function(e){this.handleList(this.tableSearch)},handleList:function(e){var t=this;this.tableLoading=!0,Object(c["b"])(r()({})).then(function(e){var a=e.data;t.tableData=a.data,t.tableLoading=!1,t.findConfigType()})},handleClient:function(e,t){var a=this;this.clientForm&&this.clientForm.id?Object(c["e"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(a.$successInfo("修改成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("修改失败"),t()}):Object(c["a"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(a.$successInfo("新增成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("新增失败"),t()})}}},p=d,h=a("2877"),m=Object(h["a"])(p,n,i,!1,null,null,null);t["default"]=m.exports},"68c6":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"config-list"},[a("el-radio-group",{model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},[a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_EVERY",disabled:e.disabled}},[e._v("每月")])],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_RANGE",disabled:e.disabled}},[e._v("区间")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueRange.start,callback:function(t){e.$set(e.valueRange,"start",t)},expression:"valueRange.start"}}),e._v("月\n 至\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueRange.end,callback:function(t){e.$set(e.valueRange,"end",t)},expression:"valueRange.end"}}),e._v("月\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_LOOP",disabled:e.disabled}},[e._v("循环")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueLoop.start,callback:function(t){e.$set(e.valueLoop,"start",t)},expression:"valueLoop.start"}}),e._v("月开始,间隔\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueLoop.interval,callback:function(t){e.$set(e.valueLoop,"interval",t)},expression:"valueLoop.interval"}}),e._v("月\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_SPECIFY",disabled:e.disabled}},[e._v("指定")]),a("div",{staticClass:"list"},[a("el-checkbox-group",{model:{value:e.valueList,callback:function(t){e.valueList=t},expression:"valueList"}},e._l(e.maxValue,function(t){return a("el-checkbox",{key:"key-"+t,staticClass:"list-check-item",attrs:{label:t,disabled:e.type!=e.TYPE_SPECIFY||e.disabled}})}),1)],1)],1)])],1)},i=[],s=a("4b3a"),r={name:"month",mixins:[s["a"]],data:function(){return{}},watch:{value_c:function(e,t){this.$emit("change",e)}},created:function(){this.DEFAULT_VALUE="*",this.minValue=1,this.maxValue=12,this.valueRange.start=1,this.valueRange.end=12,this.valueLoop.start=1,this.valueLoop.interval=1,this.parseProp(this.prop)}},o=r,l=(a("cce4"),a("2877")),c=Object(l["a"])(o,n,i,!1,null,"5d6a7505",null);t["default"]=c.exports},"68c7":function(e,t,a){"use strict";var n=a("e527"),i=a.n(n);i.a},"692e":function(e,t,a){var n={"./App.vue":"3dfd","./components/InnerBreadcrumb.vue":"82c1","./components/ItemTags.vue":"ca60","./components/basic-container/main.vue":"dc8a","./components/easy-cron/index.vue":"4451","./components/easy-cron/input-cron.vue":"b5d7","./components/easy-cron/tabs/day.vue":"84bc","./components/easy-cron/tabs/hour.vue":"9fee","./components/easy-cron/tabs/minute.vue":"f6e9","./components/easy-cron/tabs/month.vue":"68c6","./components/easy-cron/tabs/second.vue":"109b","./components/easy-cron/tabs/week.vue":"b355","./components/easy-cron/tabs/year.vue":"7141","./components/error-page/403.vue":"a8d0","./components/error-page/404.vue":"a5fa","./components/error-page/500.vue":"611b","./components/iframe/main.vue":"c1a1","./components/searchBanner.vue":"848d","./page/client-info.vue":"442f","./page/inHome.vue":"405d","./page/index/index.vue":"9cc4","./page/index/layout.vue":"9277","./page/index/logo.vue":"7d3a","./page/index/sidebar/index.vue":"20bf","./page/index/sidebar/sidebarItem.vue":"7505","./page/index/tags.vue":"5ddc","./page/index/top/index.vue":"195f","./page/index/top/top-breadcrumb.vue":"4cd2","./page/index/top/top-color.vue":"44b2","./page/index/top/top-lock.vue":"14cd","./page/index/top/top-logs.vue":"0f22","./page/index/top/top-menu.vue":"286c","./page/index/top/top-msg.vue":"709a","./page/index/top/top-search.vue":"9812","./page/index/top/top-setting.vue":"bd51","./page/index/top/top-theme.vue":"107f","./page/index/top/transfer-client.vue":"c60b","./page/lock/index.vue":"15c5e","./page/login/index.vue":"5596","./page/login/userlogin.vue":"7c05","./page/logs/error.vue":"7cc5","./page/logs/index.vue":"08ae","./page/logs/page.vue":"3eb2","./page/wel.vue":"696f","./views/admin/menu/index.vue":"97a1","./views/admin/menu/upholdChildMenu.vue":"5791","./views/admin/menu/upholdMenu.vue":"78ad","./views/admin/role/index.vue":"a5f6","./views/admin/role/upholdRole.vue":"4703","./views/admin/user/index.vue":"e378","./views/admin/user/settingUserGroup.vue":"2fa5","./views/admin/user/upholdUser.vue":"4819","./views/admin/usergroup/index.vue":"0c22","./views/admin/usergroup/queryEnv.vue":"f777","./views/admin/usergroup/settingGroup.vue":"1686","./views/admin/usergroup/settingRole.vue":"f1e7","./views/admin/usergroup/settingUser.vue":"e59a","./views/gateway/consumer/index.vue":"4658","./views/gateway/consumer/upload-consumer.vue":"154c","./views/gateway/log/index.vue":"8899","./views/gateway/plugin/index.vue":"aab4","./views/gateway/plugin/listPlugin.vue":"7e8d","./views/gateway/plugin/queryPlugins.vue":"3aa7","./views/gateway/plugin/upholdPlugins.vue":"ecc3","./views/gateway/routing/index.vue":"c541","./views/gateway/routing/queryRoutes.vue":"8b12","./views/gateway/routing/updateHosts.vue":"2e8b","./views/gateway/routing/upholdRoute.vue":"e8cd","./views/gateway/routing/viewRoute.vue":"f9fd","./views/gateway/service/index.vue":"a633","./views/gateway/service/servicePlugins.vue":"537a","./views/gateway/service/syncDiff.vue":"2775","./views/gateway/service/syncService.vue":"fe19","./views/gateway/service/uploadService.vue":"2bdd","./views/gateway/shell/index.vue":"2fc5","./views/gateway/upstream/healthCheck.vue":"ba9e","./views/gateway/upstream/index.vue":"27a8","./views/gateway/upstream/targets.vue":"04c3","./views/gateway/upstream/upholdTargets.vue":"f337","./views/gateway/upstream/upholdUpstream.vue":"08bb","./views/info/index.vue":"e37e","./views/info/message.vue":"3086","./views/operating/env/index.vue":"8b5b","./views/operating/env/upholdEnv.vue":"2256","./views/operating/log/index.vue":"63d8","./views/operating/log/log.vue":"577f","./views/operating/params/index.vue":"6867","./views/operating/synclog/index.vue":"0e36","./views/operating/synclog/listConfigs.vue":"2d86","./views/operating/synclog/logDetail.vue":"ca50","./views/operating/synclog/syncLogs.vue":"88e6","./views/operating/system/index.vue":"0fee"};function i(e){var t=s(e);return a(t)}function s(e){var t=n[e];if(!(t+1)){var a=new Error("Cannot find module '"+e+"'");throw a.code="MODULE_NOT_FOUND",a}return t}i.keys=function(){return Object.keys(n)},i.resolve=s,e.exports=i,i.id="692e"},"696f":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.kongClient&&-1!=e.kongClient.id?a("in-home"):a("client-info")],1)},i=[],s=a("cebc"),r=(a("af62"),a("5880")),o={name:"wel",components:{InHome:function(){return a.e("chunk-36d68c6a").then(a.bind(null,"405d"))},clientInfo:function(){return a.e("chunk-a425ea88").then(a.bind(null,"442f"))}},data:function(){return{}},computed:Object(s["a"])({},Object(r["mapGetters"])(["userInfo","kongClient"])),created:function(){this.findActiveKongclient()},methods:{findActiveKongclient:function(){this.$store.dispatch("FindActiveClient",this.userInfo).then(function(e){})}}},l=o,c=a("2877"),u=Object(c["a"])(l,n,i,!1,null,null,null);t["default"]=u.exports},"6aa8":function(e,t,a){},"6b6b":function(e,t,a){},"6bae":function(e,t,a){"use strict";var n=a("240c"),i=a.n(n);i.a},"6d94":function(e,t,a){},7141:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"config-list"},[a("el-radio-group",{model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},[a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_EVERY",disabled:e.disabled}},[e._v("每年")])],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_RANGE",disabled:e.disabled}},[e._v("区间")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,min:0,precision:0},model:{value:e.valueRange.start,callback:function(t){e.$set(e.valueRange,"start",t)},expression:"valueRange.start"}}),e._v("年\n 至\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,min:1,precision:0},model:{value:e.valueRange.end,callback:function(t){e.$set(e.valueRange,"end",t)},expression:"valueRange.end"}}),e._v("年\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_LOOP",disabled:e.disabled}},[e._v("循环")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,min:0,precision:0},model:{value:e.valueLoop.start,callback:function(t){e.$set(e.valueLoop,"start",t)},expression:"valueLoop.start"}}),e._v("年开始,间隔\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,min:1,precision:0},model:{value:e.valueLoop.interval,callback:function(t){e.$set(e.valueLoop,"interval",t)},expression:"valueLoop.interval"}}),e._v("年\n ")],1)])],1)},i=[],s=a("4b3a"),r={name:"year",mixins:[s["a"]],data:function(){return{}},watch:{value_c:function(e,t){this.$emit("change",e)}},created:function(){var e=(new Date).getFullYear();this.DEFAULT_VALUE="*",this.minValue=0,this.maxValue=0,this.valueRange.start=e,this.valueRange.end=e+100,this.valueLoop.start=e,this.valueLoop.interval=1,this.parseProp(this.prop)}},o=r,l=(a("8a0f"),a("2877")),c=Object(l["a"])(o,n,i,!1,null,"411de867",null);t["default"]=c.exports},"71f9":function(e,t,a){},"722ff":function(e,t,a){"use strict";var n=a("8ab6"),i=a.n(n);i.a},"73dc":function(e,t,a){"use strict";var n=a("dfc5"),i=a.n(n);i.a},"78ad":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-row",{staticStyle:{"margin-bottom":"5px","margin-left":"25px","margin-right":"5px"}},[a("el-col",{attrs:{span:"12"}},[a("el-button-group",[e.permission.menu_add?a("el-button",{attrs:{size:"small",icon:"el-icon-plus",type:"primary"},on:{click:function(t){return e.toAddChildMenu(-1,"新建一级菜单","menu")}}},[e._v("新建一级菜单")]):e._e(),e.systemFunction.id&&"menu"==e.systemFunction.menuType&&e.permission.menu_add?a("el-button",{attrs:{size:"small",icon:"el-icon-plus",type:"primary"},on:{click:function(t){return e.toAddChildMenu(e.systemFunction.id,"新建'"+e.systemFunction.name+"'子菜单","menu")}}},[e._v("新建子菜单")]):e._e(),e.systemFunction.id&&"menu"==e.systemFunction.menuType&&e.permission.menu_add?a("el-button",{attrs:{size:"small",icon:"el-icon-plus",type:"success"},on:{click:function(t){return e.toAddChildMenu(e.systemFunction.id,"新建'"+e.systemFunction.name+"'功能点","point")}}},[e._v("新建功能点")]):e._e()],1)],1)],1),a("avue-form",{ref:"form",attrs:{option:e.formColumns},on:{submit:e.handleUpholdEntity},model:{value:e.systemFunction,callback:function(t){e.systemFunction=t},expression:"systemFunction"}},[a("template",{slot:"visitView"},[a("el-form-item",[a("el-input",{attrs:{placeholder:"例如:views/admin/user/index"},model:{value:e.systemFunction.visitView,callback:function(t){e.$set(e.systemFunction,"visitView",t)},expression:"systemFunction.visitView"}})],1)],1),a("template",{slot:"useYn"},[a("el-form-item",[a("el-switch",{attrs:{disabled:e.formGrade,"active-color":"#13ce66","inactive-color":"#ff4949",value:"systemFunction.useYn","active-value":"y","inactive-value":"n"},model:{value:e.systemFunction.useYn,callback:function(t){e.$set(e.systemFunction,"useYn",t)},expression:"systemFunction.useYn"}})],1)],1),a("template",{slot:"sortOrder"},[a("el-form-item",[a("el-input-number",{attrs:{min:1,disabled:e.formGrade},model:{value:e.systemFunction.sortOrder,callback:function(t){e.$set(e.systemFunction,"sortOrder",t)},expression:"systemFunction.sortOrder"}})],1)],1),"view"!=e.mode?a("template",{slot:"menuForm"},[e.permission.menu_update?a("el-button",{staticClass:"el-icon-check",attrs:{type:"primary"},on:{click:e.handlerSubmit}},[e._v("保 存")]):e._e()],1):e._e()],2),e.childMenuBox?a("el-drawer",{attrs:{title:e.tipTitle,size:"50%",visible:e.childMenuBox},on:{"update:visible":function(t){e.childMenuBox=t}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("uphold-child-menu",{attrs:{systemFunction:{parentId:e.parentId,useYn:"y",sortOrder:999,menuType:e.menuType},mode:"add",options:e.childOptions},on:{callback:e.callback}})],1)]):e._e()],1)},i=[],s=(a("ac6a"),a("cebc")),r=a("5880"),o=a("ca05"),l=a("ef70"),c=a("5791"),u={name:"Route",components:{upholdChildMenu:c["default"]},data:function(){return{formColumns:o["a"],childOptions:o["a"],tipTitle:"新建子菜单",parentId:"-1",menuType:"menu",childMenuBox:!1}},props:{systemFunction:{type:Object,required:!1},mode:{required:!1}},created:function(){this.initOptions()},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission"])),methods:{initOptions:function(){var e=this;this.formColumns.column.forEach(function(t){t["disabled"]="view"==e.mode})},toAddChildMenu:function(e,t,a){this.parentId=e,this.mode="add",this.menuType=a,this.childOptions="menu"==this.menuType?o["a"]:o["b"],this.tipTitle=t,this.childMenuBox=!0},handlerSubmit:function(){this.$refs.form.submit()},handleUpholdEntity:function(e,t){"edit"==this.mode&&this.handleUpholdEntityUpdate(e,t),"add"==this.mode&&this.handleUpholdEntitySave(e,t)},handleUpholdEntityUpdate:function(e,t){var a=this;Object(l["d"])(this.systemFunction).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.$successInfo("修改成功"),a.callback()),t()}).catch(function(e){a.$errorInfo("更新失败"),t()})},handleUpholdEntitySave:function(e,t){var a=this;Object(l["a"])(this.systemFunction).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.$successInfo("新增成功"),a.callback()),t()}).catch(function(e){a.$errorInfo("新增失败,错误信息:"+e),t()})},callback:function(){this.childMenuBox=!1,this.$emit("callback",{})}}},d=u,p=a("2877"),h=Object(p["a"])(d,n,i,!1,null,null,null);t["default"]=h.exports},"78ba":function(e,t,a){"use strict";a.d(t,"a",function(){return s}),a.d(t,"b",function(){return r}),a.d(t,"d",function(){return o}),a.d(t,"c",function(){return l});var n=a("b5c6"),i=a("074d"),s=function(e){return Object(n["a"])({url:i["a"].path+"/kong/sync/configs/",method:"get",params:e})},r=function(e){return Object(n["a"])({url:i["a"].path+"/kong/sync/configs/"+e+"/logs",method:"get"})},o=function(e){return Object(n["a"])({url:i["a"].path+"/kong/sync/configs/"+e+"/config",method:"get"})},l=function(e){return Object(n["a"])({url:i["a"].path+"/kong/sync/configs/logs",method:"get",params:e})}},"7b08":function(e,t,a){},"7cc5":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("basic-container",[a("p",[e._v("请打开浏览器控制台,然后点击下面的按钮")]),a("el-button",{attrs:{type:"danger"},on:{click:e.handleNewError}},[e._v("触发一个错误")])],1)},s=[],r={methods:{handleNewError:function(){console.log(a)}}},o=r,l=n("2877"),c=Object(l["a"])(o,i,s,!1,null,null,null);t["default"]=c.exports},"7dd5":function(e,t,a){},"7e8d":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-tabs",{attrs:{type:"border-card","tab-position":e.tabPosition}},e._l(e.pluginGroupOption.column,function(t){return a("el-tab-pane",{key:t.label,attrs:{lazy:"",label:t.label}},[a("avue-card",{attrs:{option:e.cardoption,data:t.option.column},on:{"row-click":e.tip,"row-add":e.tip},scopedSlots:e._u([{key:"menu",fn:function(t){return[a("span",{attrs:{type:"primary"},on:{click:function(a){return e.toAddPlugin(t.row.name)}}},[e._v("新增插件")])]}}],null,!0)})],1)}),1),a("el-dialog",{attrs:{title:"新增插件",width:"70%",visible:e.grade.pluginBox,"append-to-body":""},on:{"update:visible":function(t){return e.$set(e.grade,"pluginBox",t)}}},[e.grade.pluginBox?a("uphold-plugins",{key:e.plugin.name,attrs:{plugin:e.plugin,fields:e.fields,edit:"add"},on:{callback:e.callback}}):e._e()],1)],1)},i=[],s=(a("7f7f"),a("ac6a"),a("cebc")),r=a("5880"),o=a("468b"),l={column:[{label:"鉴权认证",description:"Protect your services with an authentication layer",icon:"mdi-account-outline",hasConsumerPlugins:!1,option:{column:[{name:"basic-auth",description:"Add Basic Authentication to your APIs",img:"/img/plugins/basic-auth.png"},{name:"key-auth",description:"Add a key authentication to your APIs",img:"/img/plugins/key-auth.png"},{name:"oauth2",description:"Add an OAuth 2.0 authentication to your APIs",img:"/img/plugins/oauth2.png"},{name:"hmac-auth",description:"Add HMAC Authentication to your APIs",img:"/img/plugins/hmac-auth.png"},{name:"jwt",description:"Verify and authenticate JSON Web Tokens",img:"/img/plugins/jwt.png"},{name:"ldap-auth",description:"Integrate Kong with a LDAP server",img:"/img/plugins/ldap-auth.png"}]}},{label:"访问安全",icon:"mdi-security",hasConsumerPlugins:!0,description:"Protect your services with additional security layers",option:{column:[{name:"acl",hideIfNotInConsumerContext:!0,description:"Control which consumers can access APIs",img:"/img/plugins/acl.png"},{name:"cors",hideIfNotInConsumerContext:!0,description:"Allow developers to make requests from the browser",img:"/img/plugins/cors.png"},{name:"ip-restriction",description:"Whitelist or blacklist IPs that can make requests",img:"/img/plugins/ip-restriction.png"},{name:"bot-detection",hideIfNotInConsumerContext:!0,description:"Detects and blocks bots or custom clients",img:"/img/plugins/bot-detection.png"}]}},{label:"请求控制",icon:"mdi-traffic-light",hasConsumerPlugins:!0,description:"Manage, throttle and restrict inbound and outbound API traffic",option:{column:[{name:"rate-limiting",description:"Rate-limit how many HTTP requests a developer can make",img:"/img/plugins/rate-limiting.png"},{name:"response-ratelimiting",description:"Rate-Limiting based on a custom response header value",img:"/img/plugins/response-ratelimiting.png"},{name:"request-size-limiting",description:"Block requests with bodies greater than a specific size",img:"/img/plugins/request-size-limiting.png"},{name:"request-termination",description:"This plugin terminates incoming requests with a specified status code and message. This allows to (temporarily) block an API or Consumer.",img:"/img/plugins/request-termination.png"}]}},{label:"Serverless",description:"Invoke serverless functions in combination with other plugins:",icon:"mdi-cloud-sync",hasConsumerPlugins:!0,option:{column:[{name:"aws-lambda",description:"Invoke an AWS Lambda function from Kong. It can be used in combination with other request plugins to secure, manage or extend the function.",img:"/img/plugins/aws-lambda.png"},{name:"pre-function",hideIfNotInConsumerContext:!0,description:"Dynamically run Lua code from Kong during access phase.",img:"/img/plugins/kong.svg"},{name:"post-function",hideIfNotInConsumerContext:!0,description:"Dynamically run Lua code from Kong during access phase.",img:"/img/plugins/kong.svg"},{name:"azure-functions",description:"This plugin invokes Azure Functions. It can be used in combination with other request plugins to secure, manage or extend the function",img:"/img/plugins/azure-functions.png"}]}},{label:"分析监控",hasConsumerPlugins:!0,icon:"mdi-chart-bar",description:"Visualize, inspect and monitor APIs and microservices traffic",option:{column:[{name:"galileo",description:"Business Intelligence Platform for APIs",img:"/img/plugins/galileo.png"},{name:"datadog",description:"Visualize API metrics on Datadog",img:"/img/plugins/datadog.png"},{name:"runscope",description:"API Performance Testing and Monitoring",img:"/img/plugins/runscope.png"},{name:"prometheus",description:"Expose metrics related to Kong and proxied upstream services in Prometheus exposition format",img:"/img/plugins/prometheus.png"},{name:"zipkin",description:"Propagate Zipkin distributed tracing spans, and report spans to a Zipkin server.",img:"/img/plugins/zipkin.png"}]}},{label:"处理转换",hasConsumerPlugins:!0,icon:"mdi-nfc-tap",description:"Transform request and responses on the fly on Kong",option:{column:[{name:"request-transformer",description:"Modify the request before hitting the upstream server",img:"/img/plugins/request-transformer.png"},{name:"response-transformer",description:"Modify the upstream response before returning it to the client",img:"/img/plugins/response-transformer.png"},{name:"correlation-id",description:"Correlate requests and responses using a unique ID",img:"/img/plugins/correlation-id.png"}]}},{label:"访问日志",hasConsumerPlugins:!0,icon:"mdi-content-paste",description:"Log requests and response data using the best transport for your infrastructure",option:{column:[{name:"tcp-log",description:"Send request and response logs to a TCP server",img:"/img/plugins/tcp-log.png"},{name:"udp-log",description:"Send request and response logs to an UDP server",img:"/img/plugins/udp-log.png"},{name:"http-log",description:"Send request and response logs to an HTTP server",img:"/img/plugins/http-log.png"},{name:"file-log",description:"Append request and response data to a log file on disk",img:"/img/plugins/file-log.png"},{name:"syslog",description:"Send request and response logs to Syslog",img:"/img/plugins/syslog.png"},{name:"statsd",description:"Send request and response logs to StatsD",img:"/img/plugins/statsd.png"},{name:"loggly",description:"Send request and response logs to Loggly",img:"/img/plugins/loggly.png"}]}}]},c=a("a573"),u=a("ecc3"),d={components:{upholdPlugins:u["default"]},data:function(){return{svgimage:'this.src="/img/plugins/kong.svg"',pluginGroupOption:l,fields:[],grade:{pluginBox:!1},cardoption:{addBtn:!1,span:8,props:{img:"img",title:"name",info:"description"}},plugin:{name:"",config:{}}}},created:function(){this.route&&(this.plugin["route"]={id:this.route.id}),this.service&&(this.plugin["service"]={id:this.service.id})},mounted:function(){this.initOptions()},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission","isDevProfile","isProdProfile","systemProfile"])),props:{tabPosition:{required:!1},service:{required:!1},route:{required:!1}},methods:{initOptions:function(){var e=this;Object(c["a"])().then(function(t){var a=[],n=t.data,i=n.plugins;for(var s in i.available_on_server){var r=!1;e.pluginGroupOption.column.forEach(function(e){e.option.column.forEach(function(e){s==e["name"]&&(r=!0)})}),r||a.push({name:s,description:s,img:"/img/plugins/kong.svg"})}return a}).then(function(t){var a={label:"自定义",description:"Custom Plugins",icon:"mdi-account-box-outline",hasConsumerPlugins:!0,option:{column:[]}};t.length>0&&(a.option.column=t,e.pluginGroupOption.column.push(a))})},toAddPlugin:function(e){var t=this;this.plugin={name:"",config:{},service:this.service,route:this.route},this.plugin.name=e,Object(o["d"])(this.plugin.name).then(function(e){var a=e.data;t.fields=a.fields||[],t.grade.pluginBox=!0})},callback:function(){this.$emit("callback",{})}}},p=d,h=(a("068d"),a("2877")),m=Object(h["a"])(p,n,i,!1,null,null,null);t["default"]=m.exports},"81c1":function(e,t,a){},"81fd":function(e,t,a){},"82b1":function(e,t,a){},"82c1":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.showInRoot||e.value!=e.root,expression:"showInRoot || value!=root"}],staticClass:"inner-breadcrumb",staticStyle:{height:"1px",padding:"0 12px 10px"}},[a("el-breadcrumb",{staticClass:"breadcrumb",staticStyle:{float:"left"},attrs:{separator:"/"}},e._l(e.pathArr,function(t,n){return a("el-breadcrumb-item",{key:n},[t.disable&&n1?a("el-button",{staticStyle:{float:"right",padding:"0"},attrs:{type:"text"},on:{click:e.back}},[e._v("返回上一级")]):e._e()],1)},i=[],s=(a("a481"),{name:"InnerBreadcrumb",props:{value:{type:String},path:{type:Object,required:!0,default:{label:"一级页面",key:"1",children:[{key:"2A",label:"二级页面A"},{key:"2B",label:"二级页面B",disable:!0,children:[{key:"3",label:"三级页面"}]}]}},showBack:{type:Boolean,default:!1},showInRoot:{type:Boolean,default:!1},labelArgs:{type:Object,default:{}}},data:function(){return{pathMap:null,root:null,pathArr:[]}},watch:{value:function(e){this.buildPath(e)}},methods:{init:function(){var e=this.path;this.root=e.key;var t={},a=function e(a,n){if(a.parentKey=n,t[a.key]=a,a.children&&a.children.length)for(var i=0;i1)for(var e=this.pathArr.length-2;e>=0;e--){var t=this.pathArr[e];if(!t.disable)return void this.change(t.key)}console.warn("InnerBreadcrumb 没有非disalbe的上级路径")}},created:function(){},mounted:function(){this.init(),this.buildPath(this.value)}}),r=s,o=(a("354b"),a("2877")),l=Object(o["a"])(r,n,i,!1,null,null,null);t["default"]=l.exports},"848d":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-row",{staticStyle:{"margin-bottom":"5px","margin-left":"5px","margin-right":"5px"}},[a("el-col",{attrs:{span:24-e.span}},[e._t("menu")],2),a("el-col",{attrs:{span:e.span}},[a("el-input",{staticClass:"input-with-select",attrs:{clearable:"",placeholder:e.placeholder},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}},[a("span",{staticStyle:{cursor:"pointer"},attrs:{slot:"append",type:"primary",plain:"",size:"small"},on:{click:e.loadData},slot:"append"},[a("i",{staticClass:"el-icon-search"}),e._v("\n 搜 索\n ")])])],1)],1)],1)},i=[],s=(a("7f7f"),a("6762"),a("2fdb"),a("cebc")),r=a("5880"),o={name:"searchBanner",data:function(){return{showItems:[],cacheItems:[],searchForm:null}},props:{handleList:{type:Function,default:null},placeholder:{required:!0},data:{required:!1},searchProps:{required:!1},page:{required:!0},span:{default:12},refreshBtn:{default:!0}},created:function(){var e=this;-1==this.systemProfile.id?this.$nextTick(function(t){e.$router.push("/wel/index")}):this.loadData()},computed:Object(s["a"])({},Object(r["mapGetters"])(["systemProfile"])),watch:{searchForm:function(e){this.page.currentPage=1,this.refresh(this.page,!1)}},methods:{loadData:function(){var e=this;this.searchForm=null,this.handleList().then(function(t){e.cacheItems=t||[],e.showItems=e.cacheItems,e.init()})},init:function(){this.page.currentPage=1,this.refresh(this.page,!1)},refresh:function(e,t){var a=this;this.searchForm&&""!==this.searchForm.trim()?this.showItems=this.cacheItems.filter(function(e){return a._filter(e)}):this.showItems=this.cacheItems,this.callback(this._slice(),t)},_slice:function(){this.page.total=this.showItems.length;var e=this.showItems.slice((this.page.currentPage-1)*this.page.pageSize,this.page.currentPage*this.page.pageSize);return e},callback:function(e,t){var a={data:e,total:this.showItems.length,refresh:t};this.$emit("search-change",a)},_filterArray:function(e,t){if(!t)return!1;for(var a=!1,n=0;n0?a("el-form-item",{attrs:{label:"Host"}},[a("item-tags",{attrs:{tags:n.hosts,name:"匹配路径",column:"paths",mode:"view"}})],1):e._e(),a("el-form-item",{attrs:{label:"路由PATH"}},[a("item-tags",{attrs:{tags:n.paths,name:"匹配路径",column:"paths",mode:"view"}})],1),a("el-form-item",{attrs:{label:"插件列表"}},[a("query-plugins",{attrs:{route:n,mode:"view"}})],1)],1)]}},{key:"hosts",fn:function(t){var n=t.row;return e._l(n.hosts,function(t){return a("el-tag",{key:t,attrs:{"disable-transitions":!1},on:{close:function(a){return e.handleClose(t)}}},[e._v(e._s(t))])})}},{key:"paths",fn:function(t){var n=t.row;return e._l(n.paths,function(t){return a("el-tag",{key:t,attrs:{"disable-transitions":!1},on:{close:function(a){return e.handleClose(t)}}},[e._v(e._s(t))])})}},{key:"menuRight",fn:function(t){return"view"!=e.mode?[a("el-button",{attrs:{icon:"el-icon-plus",size:"small",type:"primary"},on:{click:function(a){return e.toAddRoute(t.row,t.$index)}}},[e._v("新增路由")]),a("update-hosts",{attrs:{placement:"bottom-end",service:{id:e.service.id}},on:{callback:e.pluginCallback}})]:void 0}},{key:"menu",fn:function(t){return[a("el-button",{attrs:{icon:"el-icon-edit",size:"small",plain:"",type:"primary"},on:{click:function(a){return e.toEditRoute(t.row,t.$index)}}},[e._v("编辑")]),a("el-button",{attrs:{icon:"el-icon-edit",size:"small",plain:"",type:"danger"},on:{click:function(a){return e.handleTargetDel(t.row,t.$index)}}},[e._v("删除")])]}}],null,!0)},[a("template",{slot:"empty"},[e._v("暂无服务路由,请添加")])],2),e.grade.addPluginBox?a("el-dialog",{attrs:{title:"新增路由",width:"70%",visible:e.grade.addPluginBox,"append-to-body":""},on:{"update:visible":function(t){return e.$set(e.grade,"addPluginBox",t)}}},[a("uphold-route",{attrs:{route:e.routeForm,mode:"add"},on:{callback:e.pluginCallback}})],1):e._e(),e.grade.editPluginBox?a("el-dialog",{attrs:{title:"编辑路由",width:"70%",visible:e.grade.editPluginBox,"append-to-body":""},on:{"update:visible":function(t){return e.$set(e.grade,"editPluginBox",t)}}},[a("uphold-route",{attrs:{route:e.routeForm,mode:e.mode},on:{callback:e.pluginCallback}})],1):e._e()],1)},i=[],s=a("cebc"),r=a("5880"),o=a("fef3"),l=a("ceee"),c=a("3aa7"),u=a("ca60"),d=a("e8cd"),p=a("2e8b"),h={name:"QueryRoutes",components:{ItemTags:u["default"],upholdRoute:d["default"],queryPlugins:c["default"],updateHosts:p["default"]},data:function(){return{routingOption:o["l"],routeData:[],routeForm:{service:{id:this.service.id}},grade:{editPluginBox:!1,addPluginBox:!1}}},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission","isProdProfile","systemProfile"])),props:{service:{type:Object,required:!1},client:{required:!1},mode:{required:!1}},created:function(){this.handleList(),this.initOption()},methods:{initOption:function(){this.routingOption["menu"]="edit"==this.mode},toEditRoute:function(e,t){this.grade.editPluginBox=!0,this.grade.addPluginBox=!1,this.routeForm=e},toAddRoute:function(e,t){this.grade.editPluginBox=!1,this.grade.addPluginBox=!0,this.routeForm={service:{id:this.service.id}}},bindTags:function(){},expandChanges:function(e,t){t.length?(this.routingOption.expandRowKeys=[],e&&this.routingOption.expandRowKeys.push(e.id)):this.routingOption.expandRowKeys=[]},pluginCallback:function(){this.handleList(),this.grade.editPluginBox=!1,this.grade.addPluginBox=!1},handleList:function(e){var t=this;this.tableLoading=!0,this.client=this.client||{},Object(l["b"])(this.service,this.client).then(function(e){t.routeData=e.data.data})},handleTargetDel:function(e,t){var a=this,n="";this.isProdProfile&&(n="当前为生产环境,请谨慎操作! "),this.$confirm(n+"是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(l["d"])({id:e.id}).then(function(e){var t=e.data;0!=t.status?a.$errorInfo(t.errmsg):(a.$successInfo("删除成功"),a.handleList())})}).catch(function(){})}}},m=h,f=a("2877"),g=Object(f["a"])(m,n,i,!1,null,null,null);t["default"]=g.exports},"8b5b":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("el-tabs",e._l(e.envs,function(t){return a("el-tab-pane",{key:t,attrs:{index:t.label}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"icon-env"}),e._v("\n "+e._s(t.label)+"\n ")]),a("el-tabs",{attrs:{type:"border-card","tab-position":"left"}},e._l(t.groups,function(n){return a("el-tab-pane",{key:n},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(e._s(n.profileCode))]),a("uphold-env",{attrs:{client:{name:n.label,deployType:t.deployType,profileCode:n.profileCode,profile:n.profile,env:t.env,ab:n.value}}})],1)}),1)],1)}),1)],1)],1)},i=[],s=a("5176"),r=a.n(s),o=(a("7f7f"),a("cebc")),l=a("5880"),c=a("af62"),u=a("5640"),d=a("2256"),p={name:"client",components:{upholdEnv:d["default"]},data:function(){return{tableOption:u["b"],clientColumn:u["a"],isCollapse:!1,tableData:[],tableLoading:!1,clientForm:{},envs:[]}},created:function(){this.handleList(),this.findAllEnvs(),this.findActiveKongclient(),this.initOptions()},watch:{},mounted:function(){},computed:Object(o["a"])({},Object(l["mapGetters"])(["permission","userInfo"])),props:[],methods:{findAllEnvs:function(){var e=this;Object(c["f"])().then(function(t){e.envs=t.data})},initOptions:function(){this.permission.client_update||(this.tableOption["menu"]=!1)},findActiveKongclient:function(){var e=this;this.$store.dispatch("FindActiveClient",this.userInfo).then(function(t){e.activeClient=t})},handActiveClient:function(e){Object(c["i"])(this.userInfo.name,e).then(function(e){window.location.href.indexOf("#/wel/index")>0?window.location.reload():window.location="#/wel/index"})},toEditClient:function(e,t){this.grade.box=!0,this.clientForm=e},handlerefreshChange:function(e){this.handleList(this.tableSearch)},handleList:function(e){var t=this;this.tableLoading=!0,Object(c["c"])(r()({})).then(function(e){var a=e.data;t.tableData=a,t.tableLoading=!1})},handleClient:function(e,t){var a=this;this.clientForm&&this.clientForm.id?Object(c["j"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(a.$successInfo("修改成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("修改失败"),t()}):Object(c["a"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(a.$successInfo("新增成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("新增失败"),t()})},handlerDelete:function(e){var t=this;this.$confirm("是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(c["h"])(e).then(function(e){var a=e.data;0==a.status?(t.$successInfo("删除成功"),t.handleList()):t.$errorInfo("删除失败")})})}}},h=p,m=(a("a154"),a("df9f"),a("2877")),f=Object(m["a"])(h,n,i,!1,null,"8fc10c56",null);t["default"]=f.exports},"8d55":function(e,t,a){"use strict";a.d(t,"d",function(){return s}),a.d(t,"e",function(){return r}),a.d(t,"a",function(){return o}),a.d(t,"b",function(){return l}),a.d(t,"f",function(){return c}),a.d(t,"c",function(){return u});var n=a("b5c6"),i=a("074d"),s=function(e){return Object(n["a"])({url:i["a"].path+"/system/role",method:"post",data:e})},r=function(e){return Object(n["a"])({url:i["a"].path+"/system/role/"+e.id,method:"post",data:e})},o=function(e){return Object(n["a"])({url:i["a"].path+"/system/role/page",method:"get",params:e})},l=function(){return Object(n["a"])({url:i["a"].path+"/system/role/page",method:"get",params:{start:0,limit:1e3}})},c=function(e){return Object(n["a"])({url:i["a"].path+"/system/role/updateRoleMenu",method:"post",data:e})},u=function(e){return Object(n["a"])({url:i["a"].path+"/system/role/"+e.id+"/menu",method:"post"})}},"8f81":function(e,t,a){"use strict";var n=a("6383"),i=a.n(n);i.a},9277:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("router-view")},i=[],s=a("2877"),r={},o=Object(s["a"])(r,n,i,!1,null,null,null);t["default"]=o.exports},"97a1":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("basic-container",[a("el-container",[a("el-aside",{attrs:{width:"300px"}},[a("el-input",{attrs:{placeholder:"输入关键字进行过滤"},model:{value:e.filterText,callback:function(t){e.filterText=t},expression:"filterText"}}),a("el-tree",{ref:"menuTree",attrs:{data:e.menuAll,props:e.menuOption,"node-key":"id",accordion:"","highlight-current":"","expand-on-click-node":!1,"default-expanded-keys":e.keys,"filter-node-method":e.filterNode},on:{"node-click":e.handleNodeClick}})],1),a("el-main",["menu"==e.systemFunction.menuType?a("uphold-menu",{attrs:{systemFunction:e.systemFunction,mode:e.mode},on:{callback:e.loadAllMenu}}):e._e(),"point"==e.systemFunction.menuType?a("uphold-child-menu",{attrs:{systemFunction:e.systemFunction,mode:"edit",options:e.functionPointColumn},on:{callback:e.loadAllMenu}}):e._e()],1)],1)],1)},i=[],s=(a("7f7f"),a("cebc")),r=a("5880"),o=a("ef70"),l=(a("c54a"),a("ca05")),c=a("e349"),u=a("78ad"),d=a("5791"),p={name:"menu",components:{upholdMenu:u["default"],upholdChildMenu:d["default"]},data:function(){return{filterText:"",functionPointColumn:l["b"],menuAll:[],obj:{},keys:[-1],systemFunction:{parentId:-1,useYn:"y",sortOrder:999,menuType:"menu"},menuOption:l["c"],USERTYPE:c["a"].USERTYPE,mode:"add"}},watch:{filterText:function(e){this.$refs.menuTree.filter(e)}},created:function(){this.loadAllMenu()},mounted:function(){},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission"])),methods:{loadAllMenu:function(){var e=this;Object(o["b"])().then(function(t){var a=t.data;e.form={},e.formStatus="",e.menuAll=a.data})},filterNode:function(e,t){return!e||-1!==t.name.indexOf(e)},handleNodeClick:function(e){this.currentType=e.type,this.mode="edit",this.systemFunction={parentId:-1,useYn:"y"},this.systemFunction=_.assign({},e),this.keys=[this.systemFunction.id]}}},h=p,m=(a("f5f5"),a("2877")),f=Object(m["a"])(h,n,i,!1,null,"d06a673e",null);t["default"]=f.exports},"9d0c":function(e,t,a){"use strict";var n=a("5c8e"),i=a.n(n);i.a},"9d5c":function(e,t,a){},"9f79":function(e,t,a){},"9fc0":function(e,t,a){},"9fee":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"config-list"},[a("el-radio-group",{model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},[a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_EVERY",disabled:e.disabled}},[e._v("每时")])],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_RANGE",disabled:e.disabled}},[e._v("区间")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueRange.start,callback:function(t){e.$set(e.valueRange,"start",t)},expression:"valueRange.start"}}),e._v("时\n 至\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueRange.end,callback:function(t){e.$set(e.valueRange,"end",t)},expression:"valueRange.end"}}),e._v("时\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_LOOP",disabled:e.disabled}},[e._v("循环")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueLoop.start,callback:function(t){e.$set(e.valueLoop,"start",t)},expression:"valueLoop.start"}}),e._v("时开始,间隔\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueLoop.interval,callback:function(t){e.$set(e.valueLoop,"interval",t)},expression:"valueLoop.interval"}}),e._v("时\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_SPECIFY",disabled:e.disabled}},[e._v("指定")]),a("div",{staticClass:"list"},[a("el-checkbox-group",{model:{value:e.valueList,callback:function(t){e.valueList=t},expression:"valueList"}},e._l(e.maxValue+1,function(t){return a("el-checkbox",{key:"key-"+(t-1),staticClass:"list-check-item",attrs:{label:t-1,disabled:e.type!=e.TYPE_SPECIFY||e.disabled}})}),1)],1)],1)])],1)},i=[],s=a("4b3a"),r={name:"minute",mixins:[s["a"]],data:function(){return{}},watch:{value_c:function(e,t){this.$emit("change",e)}},created:function(){this.DEFAULT_VALUE="*",this.minValue=0,this.maxValue=23,this.valueRange.start=0,this.valueRange.end=23,this.valueLoop.start=0,this.valueLoop.interval=1,this.parseProp(this.prop)}},o=r,l=(a("adc9"),a("2877")),c=Object(l["a"])(o,n,i,!1,null,"c0640844",null);t["default"]=c.exports},a03a:function(e,t,a){},a154:function(e,t,a){"use strict";var n=a("a03a"),i=a.n(n);i.a},a17a:function(e,t,a){},a495:function(e,t,a){"use strict";var n=a("17d3"),i=a.n(n);i.a},a573:function(e,t,a){"use strict";a.d(t,"a",function(){return s}),a.d(t,"b",function(){return r});var n=a("b5c6"),i=a("074d"),s=function(){return Object(n["a"])({url:i["a"].path+"/kong/api/info",method:"get"})},r=function(){return Object(n["a"])({url:i["a"].path+"/kong/api/status",method:"get"})}},a5f6:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("basic-container",[a("div",[a("el-row",{staticStyle:{"margin-bottom":"5px","margin-left":"5px","margin-right":"5px"}},[a("el-col",{attrs:{span:"2"}},[e.permission.role_add?a("el-button",{attrs:{size:"small",icon:"el-icon-plus",type:"primary"},on:{click:e.toAdd}},[e._v("新建角色")]):e._e()],1),a("el-col",{attrs:{span:"22"}},[a("el-input",{staticClass:"input-with-select",attrs:{size:"small",placeholder:"请输入角色名称",maxlength:"20",clearable:""},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}},[a("el-button",{attrs:{slot:"append",icon:"el-icon-search"},slot:"append"})],1)],1)],1)],1),a("avue-crud",{ref:"crud",staticStyle:{cursor:"pointer"},attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading,page:e.page},on:{"row-save":e.handleSave,"row-update":e.handleUpdate,"refresh-change":e.handlerefreshChange,"current-change":e.handleCurrentChange,"size-change":e.handleCurrentSize,"search-change":e.handleSearchChange},scopedSlots:e._u([{key:"messageContent",fn:function(e){var t=e.row;return[a("item-tags",{attrs:{tags:t.messageContent,column:"messageContent",mode:"view"}})]}},{key:"menu",fn:function(t){return[e.permission.role_config?a("el-button",{attrs:{size:"small",type:"text",icon:"el-icon-view"},on:{click:function(a){return e.toConfigViewMenu(t.row,t.index)}}},[e._v("查看")]):e._e(),e.permission.role_update?a("el-button",{attrs:{size:"small",icon:"el-icon-edit",plain:"",type:"text"},on:{click:function(a){return e.toEdit(t)}}},[e._v("编辑")]):e._e(),e.permission.role_config?a("el-button",{attrs:{size:"small",icon:"icon-biaoshilei_jiaosepeizhi",type:"text"},on:{click:function(a){return e.toConfigMenu(t.row,t.index)}}},[e._v("配置权限")]):e._e()]}}]),model:{value:e.objData,callback:function(t){e.objData=t},expression:"objData"}}),e.configMenuBox?a("el-drawer",{attrs:{title:"配置角色权限",size:"40%",visible:e.configMenuBox},on:{"update:visible":function(t){e.configMenuBox=t}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"99%"}},[a("uphold-role",{attrs:{systemRole:e.systemRole,mode:e.mode},on:{callback:e.handleList}})],1)]):e._e()],1)},i=[],s=a("5176"),r=a.n(s),o=a("cebc"),l=a("5880"),c=a("ca05"),u=a("8d55"),d=a("ca60"),p=a("4703"),h={name:"syncLog",components:{ItemTags:d["default"],upholdRole:p["default"]},data:function(){return{objData:{},tableSearch:{},tableOption:c["d"],tableData:[],tablePage:1,tableSize:10,tableLoading:!1,currentRule:{},systemRole:{},mode:"add",form:{},configMenuBox:!1,searchForm:null,users:null,userLists:[],options:[],templates:{span:8,data:[]},page:{total:0,currentPage:1,pageSize:10}}},created:function(){this.handleList(),this.init()},computed:Object(o["a"])({},Object(l["mapGetters"])(["permission"])),props:{logType:{required:!0}},watch:{searchForm:function(e){this.page.currentPage=1,this.handleList()},users:function(e){this.page.currentPage=1,this.handleList()}},methods:{toConfigViewMenu:function(e,t){this.configMenuBox=!0,this.mode="view",this.systemRole=e},toConfigMenu:function(e,t){this.configMenuBox=!0,this.mode="add",this.systemRole=e},toAdd:function(){this.$refs.crud.rowAdd()},toEdit:function(e){this.$refs.crud.rowEdit(e.row,e.index)},init:function(){},handleRowClick:function(e){this.currentRule=e},handlerTrace:function(){var e=this;this.$refs["form"].validate(function(t){t&&(e.handlerTraceDetail=!0)})},handlerefreshChange:function(e){this.handleList(this.tableSearch)},handleCurrentChange:function(e){this.tablePage=e,this.handlerefreshChange()},handleCurrentSize:function(e){this.tableSize=e,this.handlerefreshChange()},handleSearchChange:function(e){this.tableSearch=e,this.handleList(this.tableSearch)},handleSave:function(e,t){var a=this;Object(u["d"])(e).then(function(e){var n=e.data;0!==n.status?a.$message({showClose:!0,message:n.errmsg,type:"warning"}):(a.tablePage=1,a.handleList(),a.$message({showClose:!0,message:"新增成功",type:"success"})),t()})},handleUpdate:function(e,t,a){var n=this;Object(u["e"])(e).then(function(e){var t=e.data;0!==t.status?n.$message({showClose:!0,message:t.errmsg,type:"warning"}):(n.tablePage=1,n.handleList(),n.$message({showClose:!0,message:"修改成功",type:"success"}))}),a()},handleList:function(e){var t=this;this.tableLoading=!0,this.alertRuleBox=!1,this.form={name:this.searchForm},Object(u["a"])(r()({},this.form,{start:this.tablePage,limit:this.tableSize})).then(function(e){var a=e.data.data;t.templates.data=a.items,t.tableData=a.items,t.page={total:a.totalCount,currentPage:t.tablePage,pageSize:t.tableSize},t.tableLoading=!1})}}},m=h,f=(a("68c7"),a("2877")),g=Object(f["a"])(m,n,i,!1,null,null,null);t["default"]=g.exports},a633:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("search-banner",{ref:"routeSearch",attrs:{placeholder:"请输入Name、Upstream Name或Host",handleList:e.handleList,span:e.permission.service_add||e.isDevProfile?20:24,searchProps:e.searchProps,page:e.page},on:{"search-change":e.searchChange}},[a("template",{slot:"menu"},[e.permission.service_add||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-plus",size:"small",type:"primary"},on:{click:function(t){return e.handleGrade({})}}},[e._v("新增")]):e._e(),e.permission.service_sync?a("el-button",{attrs:{icon:"el-icon-refresh",size:"small",type:"success"},on:{click:e.handlerSyncBox}},[e._v("同步Services")]):e._e()],1)],2),a("avue-crud",{attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading,page:e.page},on:{"row-click":e.handleRowClick,"row-save":e.handleSave,"row-del":e.handleDel,"refresh-change":e.handlerefreshChange,"current-change":e.handleCurrentChange,"size-change":e.handleCurrentSize,"search-change":e.handleSearchChange},scopedSlots:e._u([{key:"expand",fn:function(e){var t=e.row;return[a("el-form",{staticStyle:{"margin-left":"10px"},attrs:{"label-width":"80px","label-position":"top"}},[a("el-form-item",{attrs:{label:"代理列表"}},[a("targets",{attrs:{mode:"view",upstream:{id:t.host}}})],1),a("el-form-item",{attrs:{label:"路由列表"}},[a("query-routes",{attrs:{service:t,mode:"view"}})],1),a("el-form-item",{attrs:{label:"插件列表"}},[a("service-plugins",{attrs:{service:t}})],1)],1)]}},{key:"name",fn:function(t){var n=t.row;return[a("el-link",{attrs:{underline:!1,type:"success"},on:{click:function(t){return e.toDetail(n)}}},[e._v(e._s(n.name))])]}},{key:"menu",fn:function(t){return[e.permission.service_update||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",type:"text"},on:{click:function(a){return e.handleGrade(t.row,t.$index)}}},[e._v("编辑")]):e._e(),e.permission.service_delete||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-delete",size:"small",type:"text"},on:{click:function(a){return e.handleDel(t.row,t.$index)}}},[e._v("删除")]):e._e()]}}])}),e.grade.box?a("el-drawer",{attrs:{title:"服务管理",size:"50%",visible:e.grade.box},on:{"update:visible":function(t){return e.$set(e.grade,"box",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("upload-service",{attrs:{service:e.form,mode:e.mode},on:{callback:e.callback}})],1)]):e._e(),e.grade.syncBox?a("el-drawer",{attrs:{size:"100%",title:e.同步服务配置,visible:e.grade.syncBox,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){return e.$set(e.grade,"syncBox",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("sync-service")],1)]):e._e(),e.grade.drawerDetail?a("el-drawer",{attrs:{size:"100%",title:"'"+e.form.name+"' 详情",visible:e.grade.drawerDetail,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){return e.$set(e.grade,"drawerDetail",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",width:"100%",height:"90%"}},[a("upload-service",{attrs:{service:e.form,mode:e.mode},on:{callback:e.callback}})],1)]):e._e()],1)],1)},i=[],s=a("5176"),r=a.n(s),o=a("cebc"),l=a("fef3"),c=a("5880"),u=a("fe19"),d=a("2bdd"),p=a("537a"),h=a("848d"),m=a("8b12"),f=a("04c3"),g=a("3dba"),b={name:"strategy",components:{syncService:u["default"],searchBanner:h["default"],uploadService:d["default"],servicePlugins:p["default"],queryRoutes:m["default"],targets:f["default"]},data:function(){return{tableSearch:{},tableOption:l["j"],serviceColumn:l["i"],searchProps:[{name:"name"},{name:"host"}],tableData:[],tablePage:1,tableSize:10,tableLoading:!1,form:{},page:{total:0,currentPage:1,pageSize:10},grade:{box:!1,syncBox:!1,drawerDetail:!1},mode:"add"}},computed:Object(o["a"])({},Object(c["mapGetters"])(["permission","isDevProfile","isProdProfile","systemProfile"])),props:{type:{type:String,required:!1}},created:function(){var e=this;-1==this.systemProfile.id?this.$nextTick(function(t){e.$router.push("/wel/index")}):this.initOptions()},methods:{initOptions:function(){this.isDevProfile?this.tableOption["menu"]=!0:this.permission.service_update||(this.tableOption["menu"]=!1)},toDetail:function(e){this.form=e,this.grade.drawerDetail=!0,this.mode="view"},callback:function(e){this.form=e,this.mode="edit",this.reloadDataList()},handlerSyncBox:function(){this.grade.syncBox=!0},handleGrade:function(e,t){this.grade.box=!0,e&&e.id?(this.form=e,this.mode="edit"):(this.form={},this.mode="add")},handleCurrentChange:function(e){this.tablePage=e,this.refreshTableList(!0)},handleCurrentSize:function(e){this.tableSize=e,this.refreshTableList(!1)},handleList:function(e){var t=this;return this.tableLoading=!0,Object(g["a"])(r()({},e)).then(function(e){var a=e.data;return t.tableLoading=!1,a.data||[]})},refreshTableList:function(e){this.initPage(e),this.$refs.routeSearch.refresh(this.page,e)},initPage:function(e){e||(this.tablePage=1),this.page.currentPage=this.tablePage,this.page.pageSize=this.tableSize},searchChange:function(e){this.tableData=e.data},reloadDataList:function(){this.initPage(!1),this.$refs.routeSearch.loadData()},handleRowClick:function(e,t,a){this.type&&this.$emit("selectionData",e)},handleDel:function(e,t){var a=this,n="";this.isProdProfile&&(n="当前为生产环境,请谨慎操作! "),this.$confirm(n+"是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(g["c"])({id:e.id}).then(function(e){var t=e.data;0!=t.status?a.$errorInfo(t.errmsg):(a.reloadDataList(),a.$successInfo("删除成功"))})}).catch(function(){})}}},v=b,y=a("2877"),_=Object(y["a"])(v,n,i,!1,null,null,null);t["default"]=_.exports},a8c1:function(e,t,a){"use strict";var n=a("d6b3"),i=a.n(n);i.a},aab4:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("search-banner",{ref:"routeSearch",attrs:{span:e.permission.plugin_add||e.isDevProfile?21:24,placeholder:"请输入插件名称、服务名称或路由名称",handleList:e.handleList,searchProps:e.searchProps,page:e.page},on:{"search-change":e.searchChange}},[a("template",{slot:"menu"},[e.permission.plugin_add||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-plus",size:"small",type:"primary"},on:{click:function(t){return e.handleGrade({})}}},[e._v("新增全局插件")]):e._e()],1)],2),a("avue-crud",{attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading,page:e.page},on:{"row-click":e.handleRowClick,"row-save":e.handleSave,"row-del":e.handleDel,"current-change":e.handleCurrentChange,"size-change":e.handleCurrentSize},scopedSlots:e._u([{key:"menuLeft",fn:function(e){}},{key:"enabled",fn:function(t){var n=t.row;return[e.permission.plugin_update?a("el-button",{directives:[{name:"show",rawName:"v-show",value:n.enabled,expression:"row.enabled"}],attrs:{plain:"",size:"mini",type:"success"},on:{click:function(t){return e.handlerPluginUpdate(n,!1)}}},[e._v("启用")]):e._e(),e.permission.plugin_update?a("el-button",{directives:[{name:"show",rawName:"v-show",value:!n.enabled,expression:"!row.enabled"}],attrs:{plain:"",size:"mini",type:"danger"},on:{click:function(t){return e.handlerPluginUpdate(n,!0)}}},[e._v("未启用")]):e._e(),e.permission.plugin_update?e._e():a("el-button",{directives:[{name:"show",rawName:"v-show",value:n.enabled,expression:"row.enabled"}],attrs:{plain:"",size:"mini",type:"success",disabled:""}},[e._v("启用")]),e.permission.plugin_update?e._e():a("el-button",{directives:[{name:"show",rawName:"v-show",value:!n.enabled,expression:"!row.enabled"}],attrs:{plain:"",size:"mini",type:"danger",disabled:""}},[e._v("未启用")])]}},{key:"name",fn:function(t){var n=t.row;return[a("el-link",{attrs:{underline:!1,type:"success"},on:{click:function(t){return e.toDetailPlugin(n)}}},[e._v(e._s(n.name))])]}},{key:"menu",fn:function(t){return[e.permission.plugin_update||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",type:"text"},on:{click:function(a){return e.toEditPlugin(t.row,t.$index)}}},[e._v("编辑")]):e._e(),e.permission.plugin_delete||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-delete",size:"small",type:"text"},on:{click:function(a){return e.handleDel(t.row,t.$index)}}},[e._v("删除")]):e._e()]}}])}),e.grade.pluginBox?a("el-dialog",{attrs:{title:"编辑插件",width:"70%",visible:e.grade.pluginBox},on:{"update:visible":function(t){return e.$set(e.grade,"pluginBox",t)}}},[a("uphold-plugin",{attrs:{plugin:e.plugin,edit:"edit",fields:e.fields},on:{callback:e.refreshList}})],1):e._e(),e.grade.box?a("el-dialog",{attrs:{title:"新增全局插件",width:"70%",visible:e.grade.box},on:{"update:visible":function(t){return e.$set(e.grade,"box",t)}}},[a("list-plugin",{on:{callback:e.reloadDataList}})],1):e._e(),e.grade.drawerDetail?a("el-drawer",{attrs:{size:"45%",title:"'"+e.plugin.name+"' 详情",visible:e.grade.drawerDetail,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){return e.$set(e.grade,"drawerDetail",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("json-viewer",{attrs:{value:e.plugin,"expand-depth":5,copyable:"",sort:""}})],1)]):e._e()],1)],1)},i=[],s=a("5176"),r=a.n(s),o=(a("7f7f"),a("cebc")),l=a("fef3"),c=a("5880"),u=a("468b"),d=a("a573"),p=a("7e8d"),h=a("848d"),m=a("ecc3"),f={name:"plugin",components:{listPlugin:p["default"],searchBanner:h["default"],upholdPlugin:m["default"]},data:function(){return{tableSearch:{},tableOption:l["e"],searchProps:[{name:"name"},{name:"applyObject",type:"object",childName:"name"}],plugins:[],fields:[],plugin:{},tableData:[],tablePage:1,tableSize:10,tableLoading:!1,page:{total:0,currentPage:1,pageSize:10},grade:{box:!1,pluginBox:!1,drawerDetail:!1}}},computed:Object(o["a"])({},Object(c["mapGetters"])(["permission","isDevProfile","isProdProfile","systemProfile"])),props:{type:{type:String,required:!1}},created:function(){var e=this;-1==this.systemProfile.id?this.$nextTick(function(t){e.$router.push("/wel/index")}):(this.queryInfo(),this.initOptions())},methods:{initOptions:function(){this.isDevProfile?this.tableOption["menu"]=!0:this.permission.plugin_update||(this.tableOption["menu"]=!1)},handlerPluginUpdate:function(e,t){var a=this;e.enabled=t,Object(u["f"])(e).then(function(e){a.handleList(a.tableSearch)})},toDetailPlugin:function(e,t){this.grade.drawerDetail=!0,this.plugin=e},toEditPlugin:function(e,t){var a=this;this.plugin=e,Object(u["d"])(this.plugin.name).then(function(e){var t=e.data;a.fields=t.fields||[],a.grade.pluginBox=!0})},handleGrade:function(e,t){this.grade.box=!0},refreshList:function(){this.grade.box=!1,this.grade.pluginBox=!1,this.initPage(!0),this.$refs.routeSearch.refresh(this.page,!0)},queryInfo:function(){var e=this;Object(d["a"])().then(function(t){var a=t.data,n=a.plugins;e.plugins=n.available_on_server})},handleCurrentChange:function(e){this.tablePage=e,this.refreshTableList(!0)},handleCurrentSize:function(e){this.tableSize=e,this.refreshTableList(!1)},handleList:function(e){var t=this;return this.tableLoading=!0,Object(u["a"])(r()({},e)).then(function(e){var a=e.data;return t.tableLoading=!1,a.data||[]})},refreshTableList:function(e){this.initPage(e),this.$refs.routeSearch.refresh(this.page,e)},initPage:function(e){e||(this.tablePage=1),this.page.currentPage=this.tablePage,this.page.pageSize=this.tableSize},searchChange:function(e){this.tableData=e.data},reloadDataList:function(){this.initPage(!1),this.$refs.routeSearch.loadData()},handleSave:function(e,t,a){var n=this;strategySave(e).then(function(e){t();var a=e.data.data;a.retBool?n.$successInfo("添加成功"):n.$errorInfo(a.message),console.log("d"),n.reloadDataList()})},handleRowClick:function(e,t,a){this.type&&this.$emit("selectionData",e)},handleDel:function(e,t){var a=this,n="";this.isProdProfile&&(n="当前为生产环境,请谨慎操作! "),this.$confirm(n+"是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(u["g"])({id:e.id}).then(function(e){var t=e.data;0!=t.status?a.$errorInfo(t.errmsg):(a.$successInfo("删除成功"),a.reloadDataList())})}).catch(function(){})}}},g=f,b=(a("8f81"),a("2877")),v=Object(b["a"])(g,n,i,!1,null,null,null);t["default"]=v.exports},ac57:function(e,t,a){},adc9:function(e,t,a){"use strict";var n=a("e255"),i=a.n(n);i.a},b012:function(e,t){function a(e,t,a){var n,i,s,r,o;function l(){var c=Date.now()-r;c=0?n=setTimeout(l,t-c):(n=null,a||(o=e.apply(s,i),s=i=null))}null==t&&(t=100);var c=function(){s=this,i=arguments,r=Date.now();var c=a&&!n;return n||(n=setTimeout(l,t)),c&&(o=e.apply(s,i),s=i=null),o};return c.clear=function(){n&&(clearTimeout(n),n=null)},c.flush=function(){n&&(o=e.apply(s,i),s=i=null,clearTimeout(n),n=null)},c}a.debounce=a,e.exports=a},b355:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"config-list"},[a("el-radio-group",{model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},[a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_NOT_SET",disabled:e.disableChoice}},[e._v("不设置")]),a("span",{staticClass:"tip-info"},[e._v("日和周只能设置其中之一")])],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_RANGE",disabled:e.disableChoice}},[e._v("区间")]),e._v("从\n "),a("el-select",{staticClass:"w80",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disableChoice},model:{value:e.valueRange.start,callback:function(t){e.$set(e.valueRange,"start",t)},expression:"valueRange.start"}},e._l(e.WEEK_MAP,function(t,n){return a("el-option",{key:"week-pre-Lf13-"+t,attrs:{value:t}},[e._v(e._s(n))])}),1),e._v("至\n "),a("el-select",{staticClass:"w80",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disableChoice},model:{value:e.valueRange.end,callback:function(t){e.$set(e.valueRange,"end",t)},expression:"valueRange.end"}},e._l(e.WEEK_MAP,function(t,n){return a("el-option",{key:"week-next-1fas-"+t,attrs:{value:t}},[e._v(e._s(n))])}),1)],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_LOOP",disabled:e.disableChoice}},[e._v("循环")]),e._v("从\n "),a("el-select",{staticClass:"w80",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disableChoice},model:{value:e.valueLoop.start,callback:function(t){e.$set(e.valueLoop,"start",t)},expression:"valueLoop.start"}},e._l(e.WEEK_MAP,function(t,n){return a("el-option",{key:"week-pre-Lf13-"+t,attrs:{value:t}},[e._v(e._s(n))])}),1),e._v("开始,间隔\n "),a("InputNumber",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disableChoice,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueLoop.interval,callback:function(t){e.$set(e.valueLoop,"interval",t)},expression:"valueLoop.interval"}}),e._v("天\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_SPECIFY",disabled:e.disableChoice}},[e._v("指定")]),a("div",{staticClass:"list"},[a("el-checkbox-group",{model:{value:e.valueList,callback:function(t){e.valueList=t},expression:"valueList"}},e._l(e.WEEK_MAP,function(t,n){return a("el-checkbox",{key:"key-01jfs-"+t,staticClass:"list-check-item",attrs:{label:t,disabled:e.type!=e.TYPE_SPECIFY||e.disableChoice}},[a("span",[e._v(e._s(n))])])}),1)],1)],1)])],1)},i=[],s=a("4b3a"),r=(a("3b2b"),a("a481"),a("a4bb")),o=a.n(r),l=(a("ac6a"),{SUN:"0",MON:"1",TUE:"2",WED:"3",THU:"4",FRI:"5",SAT:"6"}),c=function(e){return e&&(o()(l).forEach(function(t){e=e.replace(new RegExp(t,"g"),l[t])}),e=e.replace(new RegExp("7","g"),"0")),e},u={"周日":0,"周一":1,"周二":2,"周三":3,"周四":4,"周五":5,"周六":6},d={name:"week",mixins:[s["a"]],props:{day:{type:String,default:"*"}},data:function(){return{WEEK_MAP:u,WEEK_MAP_EN:l}},computed:{disableChoice:function(){return this.day&&"?"!==this.day||this.disabled}},watch:{value_c:function(e,t){this.updateValue()},day:function(e){this.updateValue()}},methods:{updateValue:function(){this.$emit("change",this.disableChoice?"?":this.value_c)},preProcessProp:function(e){return c(e)}},created:function(){this.DEFAULT_VALUE="*",this.minValue=0,this.maxValue=6,this.valueRange.start=0,this.valueRange.end=6,this.valueLoop.start=2,this.valueLoop.interval=1,this.parseProp(this.prop)}},p=d,h=(a("6229"),a("2877")),m=Object(h["a"])(p,n,i,!1,null,"5ad3b3fb",null);t["default"]=m.exports},b377:function(e,t,a){"use strict";var n=a("9f79"),i=a.n(n);i.a},b5d7:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"input-cron"},[a("el-input",{staticStyle:{width:"auto"},attrs:{placeholder:e.placeholder,disabled:e.disabled},model:{value:e.editCronValue,callback:function(t){e.editCronValue=t},expression:"editCronValue"}},[a("a",{staticClass:"config-btn",attrs:{slot:"append",disabled:e.disabled},on:{click:e.showConfigDlg},slot:"append"},[a("Icon",{staticStyle:{"margin-right":"5px"},attrs:{type:"ios-calendar-outline"}}),e._v("配置\n ")],1)]),a("el-modal",{attrs:{title:"配置Cron表达式",closable:!0,width:""+(e.width+50),"footer-hide":!0},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[a("div",[a("easy-cron",{style:"width: "+e.width+"px",attrs:{exeStartTime:e.exeStartTime,hideYear:e.hideYear,remote:e.remote,hideSecond:e.hideSecond},model:{value:e.editCronValue,callback:function(t){e.editCronValue=t},expression:"editCronValue"}})],1)])],1)},i=[],s=(a("c5f6"),a("4451")),r={name:"input-cron",model:{prop:"cronValue",event:"change"},props:{cronValue:{type:String,default:""},width:{type:Number,default:700},placeholder:{type:String,default:"请输入cron表达式"},disabled:{type:Boolean,default:!1},exeStartTime:{type:[Number,String,Object],default:0},hideSecond:{type:Boolean,default:!1},hideYear:{type:Boolean,default:!1},remote:{type:Function,default:null}},data:function(){return{editCronValue:this.cronValue,show:!1}},watch:{cronValue:function(e,t){e!==this.editCronValue&&(this.editCronValue=e)},editCronValue:function(e,t){this.$emit("change",e)}},methods:{showConfigDlg:function(){this.disabled||(this.show=!0)}},components:{EasyCron:s["default"]}},o=r,l=(a("e928"),a("2877")),c=Object(l["a"])(o,n,i,!1,null,"97623ad2",null);t["default"]=c.exports},b874:function(e,t,a){"use strict";var n=a("82b1"),i=a.n(n);i.a},b9cf:function(e,t,a){},ba9e:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-collapse",{model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},[a("avue-form",{ref:"form",attrs:{option:e.activeHealthCheckOption},on:{submit:e.handleUpstreamUpdate},scopedSlots:e._u([{key:"fail_http_statuses",fn:function(t){return[e._v("\n "+e._s(t)+"\n "),a("item-tags",{attrs:{tags:e.activeHealthForm.fail_http_statuses,name:"",column:"fail_http_statuses",mode:e.mode},on:{sendTag:e.bindTags}})]}},{key:"http_statuses",fn:function(t){return[e._v("\n "+e._s(t)+"\n "),a("item-tags",{attrs:{tags:e.activeHealthForm.http_statuses,name:"",column:"http_statuses",mode:e.mode},on:{sendTag:e.bindTags}})]}}]),model:{value:e.activeHealthForm,callback:function(t){e.activeHealthForm=t},expression:"activeHealthForm"}},["view"!=e.mode?a("template",{slot:"menuForm"},[a("el-button",{staticClass:"el-icon-check",attrs:{type:"primary"},on:{click:e.handlerSubmit}},[e._v("提 交")]),a("el-button",{staticClass:"el-icon-delete",on:{click:e.handleEmpty}},[e._v("清 空")])],1):e._e()],2)],1)],1)},i=[],s=a("5176"),r=a.n(s),o=(a("ac6a"),a("fef3")),l=a("2ed6"),c=a("ca60"),u={name:"healthCheck",components:{ItemTags:c["default"]},data:function(){return{activeHealthCheckOption:o["a"],passiveHealthCheckOption:o["d"],targetColumn:o["m"],activeHealthForm:{http_statuses:["200","304"],fail_http_statuses:["429","404","500","501","502","503","504","505"]},passiveHealthForm:{},activeNames:"active",grade:{box:!0}}},props:{upstream:{type:Object,required:!1},mode:{required:!0}},created:function(){console.log(this.upstream),this.initform(this.upstream),this.initOptions()},methods:{initOptions:function(){var e=this;this.activeHealthCheckOption.group.forEach(function(t){t.column.forEach(function(t){t["disabled"]="view"==e.mode})})},bindTags:function(e){this.activeHealthForm=r()(this.activeHealthForm,e)},handlerSubmit:function(){this.$refs.form.submit()},initform:function(e){if(e.healthchecks){var t=_.cloneDeep(e.healthchecks.active);_.cloneDeep(e.healthchecks.passive);this.activeHealthForm=t,this.activeHealthForm.http_statuses=t.healthy.http_statuses,this.activeHealthForm.successes=t.healthy.successes,this.activeHealthForm.fail_http_statuses=t.unhealthy.http_statuses,this.activeHealthForm.http_failures=t.unhealthy.http_failures,this.activeHealthForm.tcp_failures=t.unhealthy.tcp_failures,this.activeHealthForm.timeouts=t.unhealthy.timeouts,this.activeHealthForm.interval=t.unhealthy.interval,this.activeHealthForm.healthy_interval=t.healthy.interval}},handleUpstreamUpdate:function(e,t){var a=this;this.upstream.healthchecks.active.healthy.http_statuses=this.activeHealthForm.http_statuses,this.upstream.healthchecks.active.healthy.successes=this.activeHealthForm.successes,this.upstream.healthchecks.active.healthy.interval=this.activeHealthForm.healthy_interval,this.upstream.healthchecks.active.unhealthy.http_statuses=this.activeHealthForm.fail_http_statuses,this.upstream.healthchecks.active.unhealthy.http_failures=this.activeHealthForm.http_failures,this.upstream.healthchecks.active.unhealthy.tcp_failures=this.activeHealthForm.tcp_failures,this.upstream.healthchecks.active.unhealthy.timeouts=this.activeHealthForm.timeouts,this.upstream.healthchecks.active.unhealthy.interval=this.activeHealthForm.interval,this.upstream.healthchecks.active.type=this.activeHealthForm.type,this.upstream.healthchecks.active.http_path=this.activeHealthForm.http_path,this.upstream.healthchecks.active.timeout=this.activeHealthForm.timeout,this.upstream.healthchecks.active.https_sni=this.activeHealthForm.https_sni,this.upstream.healthchecks.active.concurrency=this.activeHealthForm.concurrency,this.upstream.healthchecks.active.https_verify_certificate=this.activeHealthForm.https_verify_certificate,Object(l["g"])(this.upstream).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):a.$successInfo("修改成功"),t()})}}},d=u,p=a("2877"),h=Object(p["a"])(d,n,i,!1,null,null,null);t["default"]=h.exports},c379:function(e,t,a){"use strict";var n=a("46dc"),i=a.n(n);i.a},c541:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("search-banner",{ref:"routeSearch",attrs:{span:e.permission.route_update||e.isDevProfile?21:24,placeholder:"请输入NAME、PATHS或HOSTS",handleList:e.handleList,searchProps:e.searchProps,page:e.page},on:{"search-change":e.searchChange}},[a("template",{slot:"menu"},[e.permission.route_update||e.isDevProfile?a("update-hosts",{on:{callback:e.reloadDataList}}):e._e()],1)],2),a("avue-crud",{attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading,page:e.page},on:{"row-click":e.handleRowClick,"row-save":e.handleSave,"row-del":e.handleDel,"refresh-change":e.handlerefreshChange,"current-change":e.handleCurrentChange,"size-change":e.handleCurrentSize,"search-change":e.handleSearchChange,"expand-change":e.expandChanges},scopedSlots:e._u([{key:"expand",fn:function(e){var t=e.row;return[a("el-form",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"},attrs:{"label-width":"80px"}},[a("el-form-item",{attrs:{label:"PATHS"}},[a("item-tags",{attrs:{tags:t.paths,name:"匹配路径",column:"paths",mode:"view"}})],1),a("el-form-item",{attrs:{label:"插件"}},[a("query-plugins",{attrs:{route:t,mode:"view"}})],1)],1)]}},{key:"name",fn:function(t){var n=t.row;return[a("el-link",{attrs:{underline:!1,type:"success"},on:{click:function(t){return e.toDetail(n)}}},[e._v(e._s(n.name))])]}},{key:"service",fn:function(t){var n=t.row;return[a("el-link",{attrs:{underline:!1,type:"success"},on:{click:function(t){return e.toServiceDetail(n)}}},[e._v(e._s(n.serviceName))])]}},{key:"hosts",fn:function(e){var t=e.row;return[a("item-tags",{attrs:{tags:t.hosts,column:"hosts",mode:"view"}})]}},{key:"paths",fn:function(e){var t=e.row;return[a("item-tags",{attrs:{tags:t.paths,column:"paths",mode:"view"}})]}},{key:"menuLeft",fn:function(e){e.row}},{key:"menu",fn:function(t){return[e.permission.route_update||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",type:"text"},on:{click:function(a){return e.handleGrade(t.row,t.$index)}}},[e._v("编辑")]):e._e(),e.permission.route_delete||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-delete",size:"small",type:"text"},on:{click:function(a){return e.handleDel(t.row,t.$index)}}},[e._v("删除")]):e._e()]}}])}),e.grade.box?a("el-dialog",{attrs:{title:"路由管理",width:"70%",visible:e.grade.box},on:{"update:visible":function(t){return e.$set(e.grade,"box",t)}}},[a("uphold-route",{attrs:{route:e.form,mode:"edit"},on:{callback:e.reloadDataList}})],1):e._e(),e.grade.drawerDetail?a("el-drawer",{attrs:{size:"45%",title:"'"+e.form.name+"' 详情",visible:e.grade.drawerDetail,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){return e.$set(e.grade,"drawerDetail",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("uphold-route",{attrs:{route:e.form,mode:"view"}})],1)]):e._e(),e.grade.drawerServiceDetail?a("el-drawer",{attrs:{size:"100%",title:"'"+e.form.serviceName+"'服务的详情",visible:e.grade.drawerServiceDetail,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){return e.$set(e.grade,"drawerServiceDetail",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("upload-service",{attrs:{service:{id:e.form.service.id,name:e.form.serviceName},mode:"view"}})],1)]):e._e()],1)],1)},i=[],s=a("5176"),r=a.n(s),o=(a("7f7f"),a("ac6a"),a("cebc")),l=a("fef3"),c=a("5880"),u=a("ceee"),d=a("e8cd"),p=a("2e8b"),h=a("848d"),m=a("3aa7"),f=a("ca60"),g=a("2bdd"),b={name:"routing",components:{upholdRoute:d["default"],searchBanner:h["default"],ItemTags:f["default"],queryPlugins:m["default"],uploadService:g["default"],updateHosts:p["default"]},data:function(){return{tableSearch:{},tableOption:l["h"],service_items:[],searchProps:[{name:"name"},{name:"paths",type:"array"},{name:"hosts",type:"array"},{name:"serviceName"}],tableData:[],tablePage:1,tableSize:10,tableLoading:!1,form:{},page:{total:0,currentPage:1,pageSize:10},grade:{box:!1,drawerDetail:!1,drawerServiceDetail:!1}}},computed:Object(o["a"])({},Object(c["mapGetters"])(["permission","isDevProfile","isProdProfile","systemProfile"])),props:{type:{type:String,required:!1}},filters:{sname:function(e,t){var a=e;return t.forEach(function(t){if(t.id==e)return a=t.name,a}),a}},created:function(){var e=this;-1==this.systemProfile.id?this.$nextTick(function(t){e.$router.push("/wel/index")}):(this.handleServiceList(),this.initOptions())},methods:{initOptions:function(){this.isDevProfile?this.tableOption["menu"]=!0:this.permission.route_update||(this.tableOption["menu"]=!1)},toDetail:function(e){this.form=e,this.grade.drawerDetail=!0},toServiceDetail:function(e){this.form=e,this.grade.drawerServiceDetail=!0},handleServiceList:function(){var e=this;Object(u["c"])(r()({},this.form)).then(function(t){var a=t.data;e.service_items=a.data})},handleGrade:function(e,t){e&&e.id?this.form=e:this.form={},this.grade.box=!0},expandChanges:function(e,t){},handleCurrentChange:function(e){this.tablePage=e,this.refreshTableList(!0)},handleCurrentSize:function(e){this.tableSize=e,this.refreshTableList(!1)},handleList:function(e){var t=this;return this.tableLoading=!0,Object(u["a"])(r()({},e)).then(function(e){var a=e.data,n=a.data;return n.forEach(function(e){t.service_items.forEach(function(t){e.service.id==t.id&&(e["serviceName"]=t.name)})}),t.tableLoading=!1,n})},refreshTableList:function(e){this.initPage(e),this.$refs.routeSearch.refresh(this.page,e)},initPage:function(e){e||(this.tablePage=1),this.page.currentPage=this.tablePage,this.page.pageSize=this.tableSize},searchChange:function(e){this.tableData=e.data},reloadDataList:function(){this.initPage(!1),this.$refs.routeSearch.loadData()},handleRowClick:function(e,t,a){this.type&&this.$emit("selectionData",e)},handleDel:function(e,t){var a=this,n="";this.isProdProfile&&(n="当前为生产环境,请谨慎操作! "),this.$confirm(n+"是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(u["d"])({id:e.id}).then(function(e){var t=e.data;0!=t.status?a.$errorInfo(t.errmsg):(a.$successInfo("删除成功"),a.reloadDataList())})}).catch(function(){})}}},v=b,y=(a("ebdc"),a("2877")),_=Object(y["a"])(v,n,i,!1,null,null,null);t["default"]=_.exports},c83a:function(e,t,a){"use strict";var n=a("81fd"),i=a.n(n);i.a},c980:function(e,t,a){"use strict";var n=a("0b18"),i=a.n(n);i.a},c9b6:function(e,t,a){"use strict";var n=a("2ab7"),i=a.n(n);i.a},ca05:function(e,t,a){"use strict";a.d(t,"g",function(){return i}),a.d(t,"f",function(){return s}),a.d(t,"d",function(){return r}),a.d(t,"b",function(){return o}),a.d(t,"e",function(){return l}),a.d(t,"a",function(){return c}),a.d(t,"c",function(){return u});var n=a("e349"),i=(a("074d"),{maxHeight:900,labelWidth:120,index:!0,border:!0,menuBtn:!0,selection:!0,addBtn:!1,delBtn:!1,editBtn:!1,refreshBtn:!1,columnBtn:!1,menuAlign:"left",align:"center",searchSize:"mini",menuWidth:180,column:[{label:"用户账号",prop:"userId",width:"150",fixed:!0,editDisabled:!0,rules:[{required:!0,message:"请输入用户账号",trigger:"blur"}]},{label:"用户名",prop:"name",width:"120",fixed:!0,rules:[{required:!0,message:"请输入用户名",trigger:"blur"}]},{label:"邮箱",prop:"email",width:"200",rules:[{required:!0,message:"请输入邮箱",trigger:"blur"}]},{label:"手机号",prop:"mobile",width:"120",formatter:function(e,t,a,n){if(t&&11==t.length){var i=t.substr(0,3)+"****"+t.substr(7);return i}return t}},{label:"所属用户组",prop:"userGroupList",align:"left",slot:!0},{label:"注册时间",prop:"create_at",sortable:!0,type:"datetime",width:160,format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,a,n){return t}}]}),s={maxHeight:900,labelWidth:120,index:!0,border:!0,menuBtn:!0,addBtn:!1,delBtn:!1,editBtn:!1,refreshBtn:!1,columnBtn:!1,menuAlign:"left",align:"center",searchSize:"mini",menu:!0,menuWidth:260,column:[{label:"用户组名称",prop:"name",width:"150",span:24,fixed:!0,rules:[{required:!0,message:"请输入用户组名称",trigger:"blur"}]},{label:"是否有效",prop:"useYn",type:"switch",value:"y",span:24,dicData:n["a"].USE_YN,rules:[{required:!0,message:"请选择",trigger:"blur"}]},{span:24,label:"备注",prop:"remark",type:"textarea"},{label:"创建时间",prop:"create_at",addDisplay:!1,editDisplay:!1,format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",type:"date"}]},r={maxHeight:900,labelWidth:120,index:!0,border:!0,menuBtn:!0,addBtn:!1,delBtn:!1,editBtn:!1,refreshBtn:!1,columnBtn:!1,menuAlign:"left",align:"center",searchSize:"mini",menu:!0,menuWidth:300,column:[{label:"角色名称",prop:"name",width:"150",span:24,fixed:!0,rules:[{required:!0,message:"请输入角色名称",trigger:"blur"}]},{label:"角色编码",prop:"code",span:24,width:"120",editDisabled:!0,rules:[{required:!0,message:"请输入角色编码",trigger:"blur"}]},{label:"角色类型",prop:"roleType",type:"radio",value:"menu",span:24,width:"120",dicData:n["a"].ROLE_TYPE,rules:[{required:!0,message:"请选择角色类型",trigger:"blur"}]},{label:"是否有效",prop:"useYn",type:"switch",value:"y",span:24,width:"80",dicData:n["a"].USE_YN,rules:[{required:!0,message:"请选择",trigger:"blur"}]},{span:24,label:"备注",prop:"remark",type:"textarea"},{label:"创建时间",prop:"create_at",width:"140",addDisplay:!1,editDisplay:!1,format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",type:"date"}]},o={emptyBtn:!1,submitBtn:!1,column:[{label:"父节点ID",prop:"parentId",readonly:!0,disabled:!0,span:24,labelWidth:100},{label:"功能点名称",prop:"name",span:24,labelWidth:100,rules:[{required:!0,message:"请输入菜单名称",trigger:"blur"}]},{label:"功能点编码",prop:"code",span:24,width:80,labelWidth:100},{label:"是否可用",prop:"useYn",type:"switch",formslot:!0,value:"y",span:24,dicData:n["a"].USE_YN,width:80,labelWidth:100},{label:"显示顺序",prop:"sortOrder",type:"number",formslot:!0,span:24,width:80,labelWidth:100}]},l={emptyBtn:!1,submitBtn:!1,column:[{label:"用户名",prop:"userId",span:24,labelWidth:100,rules:[{required:!0,message:"请输入用户名",trigger:"blur"}]},{label:"姓名",prop:"name",span:24,width:80,labelWidth:100},{label:"手机号",prop:"mobile",span:24,width:80,labelWidth:100},{label:"邮箱",prop:"email",span:24,width:80,labelWidth:100}]},c={emptyBtn:!1,submitBtn:!1,column:[{label:"父节点ID",prop:"parentId",readonly:!0,disabled:!0,span:24,width:120},{label:"菜单名称",prop:"name",span:24,width:80,rules:[{required:!0,message:"请输入菜单名称",trigger:"blur"}]},{label:"菜单视图",prop:"visitView",formslot:!0,span:24,width:80},{label:"访问路径",prop:"visitPath",span:24,width:80,placeholder:"例如:/role"},{label:"菜单图标",prop:"menuIcon",span:24,width:80},{label:"是否可用",prop:"useYn",type:"switch",formslot:!0,value:"y",span:24,dicData:n["a"].USE_YN,width:80},{label:"显示顺序",prop:"sortOrder",type:"number",formslot:!0,span:24,width:80}]},u={children:"children",label:"name",id:"id"}},ca07:function(e,t,a){},ca50:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-timeline",e._l(e.logData,function(t,n){return a("el-timeline-item",{key:n,attrs:{size:0==n?"large":"normal",color:"success"==t.status?"#0bbd87":"red",timestamp:e._f("parseTime")(t.create_at)}},[e._v(e._s(n+1)+". "+e._s(t.comment))])}),1)],1)},i=[],s=(a("7f7f"),a("78ba")),r={data:function(){return{logData:[]}},props:{syncConfig:{type:Object,required:!0},service:{type:Object,required:!0},client:{type:Object,required:!0}},created:function(){this.findSyncLog()},methods:{findSyncLog:function(){var e=this;Object(s["c"])({syncNo:this.syncConfig.syncNo,service:this.service.name,dest_client:this.client.url}).then(function(t){e.logData=t.data.data})}}},o=r,l=a("2877"),c=Object(l["a"])(o,n,i,!1,null,null,null);t["default"]=c.exports},ca60:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",["edit"==e.mode||"add"==e.mode?[e._l(e.tags,function(t){return a("el-tag",{key:t,attrs:{closable:"","disable-transitions":!1},on:{close:function(a){return e.handleClose(t)}}},[e._v(e._s(t))])}),a("el-input",{ref:"saveTagInput",staticClass:"input-new-tag",attrs:{placeholder:"新增"+e.name+",支持批量添加,请以逗号、分号或空格分隔即可"},on:{blur:e.handleInputConfirm},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleInputConfirm(t)}},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}})]:e._e(),"view"==e.mode?e._l(e.tags,function(t){return a("el-tag",{key:t,attrs:{"disable-transitions":!1},on:{close:function(a){return e.handleClose(t)}}},[e._v(e._s(t.constructor==Object?t[e.column]:t))])}):e._e()],2)},i=[],s=(a("ac6a"),a("28a5"),a("a481"),{name:"ItemTags",data:function(){return{inputValue:"",inputVisible:!1}},props:{name:{required:!0},column:{required:!1},mode:{required:!1},tags:{type:Array,required:!0}},created:function(){this.tags||(this.tags=[])},methods:{handleClose:function(e){this.tags.splice(this.tags.indexOf(e),1),this.sendTag()},showInput:function(){var e=this;this.inputVisible=!0,this.$nextTick(function(t){e.$refs.saveTagInput.$refs.input.focus()})},handleInputConfirm:function(){var e=this,t=this.inputValue;if(this.tags||(this.tags=[]),t){t=t.replace(/;/g,","),t=t.replace(/ /g,",");var a=t.split(",");a.forEach(function(t){t.trim()&&e.tags.push(t.trim())})}this.inputVisible=!1,this.inputValue="",this.sendTag()},sendTag:function(){var e={};e[this.column]=this.tags,this.$emit("sendTag",e)}}}),r=s,o=(a("6bae"),a("2877")),l=Object(o["a"])(r,n,i,!1,null,null,null);t["default"]=l.exports},cce4:function(e,t,a){"use strict";var n=a("ca07"),i=a.n(n);i.a},cd05:function(e,t,a){"use strict";var n=a("b9cf"),i=a.n(n);i.a},ce4a:function(e,t,a){"use strict";a.d(t,"b",function(){return s}),a.d(t,"a",function(){return r}),a.d(t,"e",function(){return o}),a.d(t,"c",function(){return l}),a.d(t,"d",function(){return c});var n=a("b5c6"),i=a("074d"),s=function(){return Object(n["a"])({url:i["a"].path+"/system/server/configs",method:"get"})},r=function(e){return Object(n["a"])({url:i["a"].path+"/system/server/configs",method:"post",data:e})},o=function(e){return Object(n["a"])({url:i["a"].path+"/system/server/configs/"+e.id,method:"post",data:e})},l=function(e){return Object(n["a"])({url:i["a"].path+"/system/server/configs/"+e,method:"get"})},c=function(){return Object(n["a"])({url:i["a"].path+"/system/envs/configTypes",method:"get"})}},ceee:function(e,t,a){"use strict";a.d(t,"a",function(){return s}),a.d(t,"c",function(){return r}),a.d(t,"e",function(){return o}),a.d(t,"f",function(){return l}),a.d(t,"d",function(){return c}),a.d(t,"b",function(){return u}),a.d(t,"g",function(){return d});a("7f7f");var n=a("b5c6"),i=a("074d"),s=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/routes",method:"get"})},r=function(){return Object(n["a"])({url:i["a"].path+"/kong/api/services",method:"get"})},o=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/services/"+e.service.id+"/routes",method:"post",data:e})},l=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/routes/"+e.id,method:"post",data:e})},c=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/routes/"+e.id,method:"delete"})},u=function(e,t){return Object(n["a"])({url:i["a"].path+"/kong/api/services/"+e.name+"/routes/list",method:"post",data:t})},d=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/routes/hosts",method:"post",data:e})}},d6b3:function(e,t,a){},d793:function(e,t,a){"use strict";var n=a("7b08"),i=a.n(n);i.a},d9f2:function(e,t,a){},df9f:function(e,t,a){"use strict";var n=a("6d94"),i=a.n(n);i.a},dfc5:function(e,t,a){},e17e:function(e,t,a){"use strict";a.d(t,"e",function(){return s}),a.d(t,"f",function(){return r}),a.d(t,"d",function(){return o}),a.d(t,"c",function(){return l}),a.d(t,"g",function(){return c}),a.d(t,"a",function(){return u}),a.d(t,"b",function(){return d});var n=a("b5c6"),i=a("074d"),s=function(e){return Object(n["a"])({url:i["a"].path+"/system/user",method:"post",data:e})},r=function(e){return Object(n["a"])({url:i["a"].path+"/system/user/"+e.userId,method:"post",data:e})},o=function(e){return Object(n["a"])({url:i["a"].path+"/system/user/reset/"+e+"/",method:"post"})},l=function(e){return Object(n["a"])({url:i["a"].path+"/system/user/modifypwd/",method:"post",data:e})},c=function(e){return Object(n["a"])({url:i["a"].path+"/system/user/updateUserRole",method:"post",data:e})},u=function(e){return Object(n["a"])({url:i["a"].path+"/system/user/page",method:"get",params:e})},d=function(e){return Object(n["a"])({url:i["a"].path+"/system/user/list",method:"get",params:e})}},e255:function(e,t,a){},e378:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("basic-container",[a("div",[a("el-row",{staticStyle:{"margin-bottom":"5px","margin-left":"5px","margin-right":"5px"}},[a("el-col",{attrs:{span:"2"}},[a("el-button",{attrs:{size:"small",icon:"el-icon-plus",type:"primary"},on:{click:e.toAdd}},[e._v("新增用户")])],1),a("el-col",{attrs:{span:"2"}},[a("el-popover",{attrs:{placement:"right-start",title:"用户组"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[a("setting-user-group",{attrs:{userInfo:{userGroupList:[]},userIds:e.checkedUsers,mode:e.mode,userGroupList:e.userGroupList},on:{callback:e.handleList}}),e.permission.user_authority?a("el-button",{attrs:{slot:"reference",size:"small",icon:"el-icon-plus",type:"primary"},slot:"reference"},[e._v("批量授权")]):e._e()],1)],1),a("el-col",{attrs:{span:e.permission.user_authority?20:24}},[a("el-input",{staticClass:"input-with-select",attrs:{size:"small",placeholder:"请输入用户名或姓名",maxlength:"20",clearable:""},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}},[a("el-button",{attrs:{slot:"append",icon:"el-icon-search"},slot:"append"})],1)],1)],1)],1),a("avue-crud",{staticStyle:{cursor:"pointer"},attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading,page:e.page},on:{"row-save":e.handleSave,"row-update":e.handleUpdate,"refresh-change":e.handlerefreshChange,"current-change":e.handleCurrentChange,"size-change":e.handleCurrentSize,"search-change":e.handleSearchChange,"selection-change":e.selectionChange},scopedSlots:e._u([{key:"userGroupList",fn:function(t){var n=t.row;return[a("setting-user-group",{key:n.userId,attrs:{userInfo:n,userIds:[n],mode:e.mode,userGroupList:e.userGroupList},on:{callback:e.handleList}})]}},{key:"menu",fn:function(t){return[a("el-button",{attrs:{size:"small",icon:"el-icon-edit",type:"text"},on:{click:function(a){return e.toEdit(t.row,t.index)}}},[e._v("编辑")]),a("el-button",{attrs:{size:"small",icon:"el-icon-refresh",type:"text"},on:{click:function(a){return e.toResetpwd(t.row,t.index)}}},[e._v("重置")])]}}]),model:{value:e.objData,callback:function(t){e.objData=t},expression:"objData"}}),e.upholdBox?a("el-drawer",{attrs:{title:"add"==e.mode?"新增用户":"编辑用户",size:"50%",visible:e.upholdBox,direction:e.direction},on:{"update:visible":function(t){e.upholdBox=t}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("uphold-user",{attrs:{entity:e.upholdEntity,mode:e.mode},on:{callback:e.handleList}})],1)]):e._e()],1)},i=[],s=a("5176"),r=a.n(s),o=a("cebc"),l=a("5880"),c=a("ca05"),u=a("e17e"),d=a("3523"),p=a("ca60"),h=a("2fa5"),m=a("4819"),f={name:"syncLog",components:{ItemTags:p["default"],SettingUserGroup:h["default"],upholdUser:m["default"]},data:function(){return{tableOption:c["g"],tableData:[],tablePage:1,tableSize:10,tableLoading:!1,searchForm:null,checkedRoles:[],userGroupList:[],visible:!1,checkedUsers:[],userInfo:{},upholdEntity:{},mode:"add",upholdBox:!1,page:{total:0,currentPage:1,pageSize:10}}},created:function(){this.handleList(),this.init()},mounted:function(){},watch:{searchForm:function(e){this.page.currentPage=1,this.handleList()}},computed:Object(o["a"])({},Object(l["mapGetters"])(["permission"])),methods:{init:function(){var e=this;Object(d["e"])().then(function(t){e.userGroupList=t.data})},toAdd:function(){this.upholdEntity={},this.mode="add",this.upholdBox=!0},toEdit:function(e){this.upholdEntity=e,this.mode="edit",this.upholdBox=!0},toSingleRole:function(e,t){this.checkedUsers=[e],this.userInfo=e,this.configMenuBox=!0},selectionChange:function(e){this.checkedUsers=e},updateUserRole:function(){var e=this;this.checkedUsers&&0==this.checkedUsers.length||0==this.checkedRoles.length?this.$errorInfo("请选择需要授权的用户或角色列表"):Object(u["g"])({userInfos:this.checkedUsers,systemRoles:this.checkedRoles}).then(function(t){0!=t.data.status?e.$errorInfo(t.data.errmsg):(e.$successInfo("更新成功"),e.visible=!1,e.checkedRoles=[])})},handlerefreshChange:function(e){this.handleList(this.tableSearch)},handleCurrentChange:function(e){this.tablePage=e,this.handlerefreshChange()},handleCurrentSize:function(e){this.tableSize=e,this.handlerefreshChange()},handleSearchChange:function(e){this.tableSearch=e,this.handleList(this.tableSearch)},toResetpwd:function(e){var t=this;this.$confirm("确定重置用户密码为123456,是否确认?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(u["d"])(e.userId).then(function(e){var a=e.data;0!=a.status?t.$message.error(a.msg):(t.handleList(),t.$message.success("重置成功"))})})},handleList:function(e){var t=this;this.tableLoading=!0,this.upholdBox=!1,this.form={name:this.searchForm&&this.searchForm.trim()},Object(u["a"])(r()({},this.form,{start:this.tablePage,limit:this.tableSize})).then(function(e){var a=e.data.data;t.tableData=a.items,t.page={total:a.totalCount,currentPage:t.tablePage,pageSize:t.tableSize},t.tableLoading=!1})}}},g=f,b=a("2877"),v=Object(b["a"])(g,n,i,!1,null,null,null);t["default"]=v.exports},e37e:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("avue-tabs",{attrs:{option:e.option},on:{change:e.handleChange,submit:e.handleSubmit},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1)],1)},i=[],s=a("cebc"),r={column:[{label:"个人信息",prop:"info",option:{submitText:"修改",column:[{label:"用户名",span:12,disabled:!0,row:!0,prop:"userId"},{label:"姓名",row:!0,prop:"name"},{label:"手机号",span:12,row:!0,prop:"mobile"},{label:"邮箱",prop:"email",row:!0}]}},{label:"修改密码",prop:"password",option:{submitText:"修改",column:[{label:"原密码",span:12,row:!0,type:"password",prop:"oldpassword"},{label:"新密码",span:12,row:!0,type:"password",prop:"newpassword"},{label:"确认密码",span:12,row:!0,type:"password",prop:"newpasswords"}]}}]},o=a("5880"),l=a("e17e"),c=a("0e0b"),u={data:function(){return{type:"info",option:r,form:{}}},created:function(){this.handleWitch()},computed:Object(s["a"])({},Object(o["mapGetters"])(["permission","userInfo"])),methods:{handleSubmit:function(){"info"==this.type&&this.handleEntityUpdate(),"password"==this.type&&this.handlerModifyPwd()},handlerModifyPwd:function(){var e=this,t=Object(c["c"])({data:this.form,type:"Base64",key:"avue",param:["oldpassword","newpassword"]});Object(l["c"])({userId:this.userInfo.userId,oldpassword:t.oldpassword,newpassword:t.newpassword}).then(function(t){var a=t.data;0!=a.status?e.$message.error(a.errmsg):(e.$message.success("修改成功,退出后重新登录"),e.$store.dispatch("LogOut").then(function(){e.$router.push({path:"/login"})}))})},handleEntityUpdate:function(){var e=this;Object(l["f"])(this.form).then(function(t){var a=t.data;0!=a.status?e.$message.error(a.errmsg):(e.$store.dispatch("GetUserInfo").then(function(){}),e.$message.success("修改成功"))}).catch(function(t){e.$message.error("更新失败")})},handleWitch:function(){"info"===this.type?this.form=_.cloneDeep(this.userInfo):"password"===this.type&&(this.form=_.cloneDeep({}))},handleChange:function(e){this.type=e.prop,this.handleWitch()}}},d=u,p=a("2877"),h=Object(p["a"])(d,n,i,!1,null,null,null);t["default"]=h.exports},e527:function(e,t,a){},e59a:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e._l(e.dynamicTags,function(t){return a("el-tag",{key:t,attrs:{closable:"view"!=e.mode,"disable-transitions":!1},on:{close:function(a){return e.handleClose(t)}}},[e._v(e._s(t.name))])}),e.inputVisible?a("el-autocomplete",{ref:"saveTagInput",staticStyle:{"margin-left":"10px"},attrs:{"popper-class":"my-autocomplete","fetch-suggestions":e.remoteMethod,placeholder:"请输入姓名进行检索"},on:{select:e.handleSelect},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.item;return[a("div",{staticClass:"name"},[e._v(e._s(n.name))]),a("span",{staticClass:"addr"},[e._v(e._s(n.mobile))])]}}],null,!1,3326133321),model:{value:e.state,callback:function(t){e.state=t},expression:"state"}},[a("i",{staticClass:"el-icon-edit el-input__icon",attrs:{slot:"suffix"},slot:"suffix"})]):a("el-button",{directives:[{name:"show",rawName:"v-show",value:"add"==e.mode,expression:"mode=='add'"}],staticClass:"button-new-tag el-icon-plus",attrs:{size:"small"},on:{click:e.showInput}},[e._v("新增用户")])],2)},i=[],s=(a("7f7f"),a("20d6"),a("cebc")),r=a("5880"),o=a("e17e"),l=a("3523"),c={data:function(){return{dynamicTags:this.userGroup.userList,loading:!1,options:[],state:null,userLists:[],inputVisible:!1,inputValue:""}},created:function(){this.init()},props:{mode:{},userGroup:{}},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission"])),methods:{init:function(){var e=this;Object(o["b"])().then(function(t){e.userLists=t.data.data,e.options=e.userLists}),this.permission.usergroup_config||(this.mode="view")},handleSelect:function(e){var t=this,a=_.findIndex(this.dynamicTags,function(t){return e.userId==t.userId});-1==a?Object(l["i"])(this.userGroup.id,e.userId).then(function(a){0==a.data.status?(t.dynamicTags.push(e),t.$successInfo("新增用户成功")):t.$errorInfo(a.data.errmsg)}):this.$errorInfo(e.name+" 已经设置过了")},handleClose:function(e){var t=this;Object(l["c"])(this.userGroup.id,e.userId).then(function(a){0==a.data.status?(t.dynamicTags.splice(t.dynamicTags.indexOf(e),1),t.$successInfo("删除用户成功")):t.$errorInfo(a.data.errmsg)})},remoteMethod:function(e,t){this.options=""!==e?this.userLists.filter(function(t){return t.name.indexOf(e)>-1}):this.userLists,t(this.options)},showInput:function(){var e=this;this.inputVisible=!0,this.$nextTick(function(t){e.$refs.saveTagInput.$refs.input.focus()})}}},u=c,d=(a("9d0c"),a("2877")),p=Object(d["a"])(u,n,i,!1,null,null,null);t["default"]=p.exports},e642:function(e,t,a){"use strict";var n=a("620d"),i=a.n(n);i.a},e8cd:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-tabs",{ref:"upstreamTabs",attrs:{"tab-position":e.tabPosition}},[a("el-tab-pane",{ref:"targetTab",attrs:{label:"基本信息"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-info"}),e._v(" 基本信息\n ")]),a("avue-form",{ref:"routeForm",attrs:{option:e.routeColumn},on:{submit:e.handleRoute},model:{value:e.targetForm,callback:function(t){e.targetForm=t},expression:"targetForm"}},[a("template",{slot:"hosts"},[a("item-tags",{attrs:{tags:e.targetForm.hosts,name:"主机",column:"hosts",mode:e.mode},on:{sendTag:e.bindTags}})],1),a("template",{slot:"paths"},[a("item-tags",{attrs:{tags:e.targetForm.paths,name:"匹配路由",column:"paths",mode:e.mode},on:{sendTag:e.bindTags}})],1),a("template",{slot:"methods"},[a("item-tags",{attrs:{tags:e.targetForm.methods,name:"请求方法",column:"methods",mode:e.mode},on:{sendTag:e.bindTags}})],1),"view"!=e.mode?a("template",{slot:"menuForm"},[a("el-button",{staticClass:"el-icon-check",attrs:{type:"primary"},on:{click:e.handlerSubmit}},[e._v("提 交")]),a("el-button",{staticClass:"el-icon-delete",on:{click:e.handleEmpty}},[e._v("清 空")])],1):e._e()],2)],1),"add"!=e.mode?a("el-tab-pane",{ref:"targetTab",attrs:{label:" 路由插件"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-success"}),e._v("\n 路由插件\n ")]),a("query-plugins",{attrs:{route:e.route,mode:e.mode}})],1):e._e()],1)],1)},i=[],s=a("5176"),r=a.n(s),o=(a("ac6a"),a("fef3")),l=a("ceee"),c=a("ca60"),u=a("7e8d"),d=a("3aa7"),p={name:"Route",components:{ItemTags:c["default"],listPlugin:u["default"],queryPlugins:d["default"]},data:function(){return{routeColumn:o["g"],tabPosition:"top",targetForm:{paths:[],hosts:[],methods:[]},routeData:[]}},props:{route:{type:Object,required:!1},mode:{required:!1}},created:function(){this.initOptions(),this.targetForm=_.cloneDeep(this.route),delete this.targetForm["serviceName"]},methods:{initOptions:function(){var e=this;this.routeColumn.column.forEach(function(t){t["disabled"]="view"==e.mode})},bindTags:function(e){this.targetForm=r()(this.targetForm,e)},handlerSubmit:function(){this.$refs.routeForm.submit()},handleRoute:function(e,t){"edit"==this.mode&&this.handleRouteUpdate(e,t),"add"==this.mode&&this.handleRouteSave(e,t)},handleRouteUpdate:function(e,t){var a=this;this.targetForm=r()(this.targetForm,e),Object(l["f"])(e).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.targetData=e.data.data,a.$successInfo("修改成功"),a.callback()),t()}).catch(function(e){a.$errorInfo("更新失败"),t()})},handleRouteSave:function(e,t){var a=this;this.targetForm=r()(this.targetForm,e),Object(l["e"])(e).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.targetData=e.data.data,a.$successInfo("新增成功"),a.callback()),t()}).catch(function(e){a.$errorInfo("新增失败,错误信息:",e),t()})},callback:function(){this.$emit("callback",{})}}},h=p,m=a("2877"),f=Object(m["a"])(h,n,i,!1,null,null,null);t["default"]=f.exports},e928:function(e,t,a){"use strict";var n=a("143c"),i=a.n(n);i.a},ebdc:function(e,t,a){"use strict";var n=a("8752"),i=a.n(n);i.a},ecc3:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticStyle:{"margin-bottom":"10px"}},[a("el-col",{attrs:{span:"5"}}),e._v("启用:\n "),a("el-switch",{model:{value:e.plugin.enabled,callback:function(t){e.$set(e.plugin,"enabled",t)},expression:"plugin.enabled"}})],1),a("avue-form",{attrs:{option:e.pluginColumn},on:{submit:e.handlePlugin},model:{value:e.pluginForm,callback:function(t){e.pluginForm=t},expression:"pluginForm"}},[e._l(e.slotColumns,function(t){return a("template",{slot:t.slot},[a("el-col",{key:t.slot},e._l(t.option.column,function(e){return a("el-form-item",{key:e.label,attrs:{label:e.label,size:"small"}},[a("el-input",{attrs:{value:e.label}})],1)}),1)],1)}),e._l(e.tagsColumn,function(t){return a("template",{slot:t.slot},[a("item-tags",{key:t.name,attrs:{mode:"edit",tags:e.pluginForm[t.column],name:t.name,column:t.column},on:{sendTag:e.bindTags}})],1)})],2)],1)},i=[],s=(a("a481"),a("ac6a"),a("5176")),r=a.n(s),o=(a("fef3"),a("468b")),l=a("ca60"),c={name:"plugin",components:{ItemTags:l["default"]},data:function(){return{pluginColumn:{column:[]},pluginForm:{enabled:!0},slotColumns:[],tagsColumn:[],config:{}}},props:{plugin:{type:Object,required:!0,config:{}},edit:{required:!1},fields:{type:Object}},created:function(){this.pluginForm=this.plugin["config"]||{},this.querySchema()},methods:{bindTags:function(e){this.config=r()(this.config,e)},querySchema:function(){var e=this;if(this.fields.forEach(function(t){for(var a in t){var n=e.createColumn(a,t[a]);e.pluginColumn.column.push(n)}}),this.slotColumns.length>0){var t,a={group:[],card:!0},n={label:"基本信息",column:[]},i=[];this.pluginColumn.column.forEach(function(t){var a=!1;e.slotColumns.forEach(function(n){if(n.slot==t.prop){a=!0;var s=[];n.option.column.forEach(function(t){t.prop=n.slot+"_"+t.prop,"array"==t["type"]&&e.createTagColumn(t.prop),s.push(t);var a=t.prop.replace(n.slot+"_","");console.log("itemColumn",t,t.prop,",slotColumn.slot",n.slot),e.plugin.config[n.slot]?e.pluginForm[t.prop]=e.plugin.config[n.slot][a]:"array"==t["type"]?e.pluginForm[t.prop]=[]:e.pluginForm[t.prop]=t.value}),i.push({label:n.slot,column:s})}}),a||n.column.push(t)}),a.group.push(n),(t=a.group).push.apply(t,i),this.pluginColumn=a}},createTagColumn:function(e){var t={};t.slot=e,t.tags=this.plugin.config[e]||[],t.column=e,t.name=e,this.tagsColumn.push(t)},createColumn:function(e,t,a){var n=this,i={label:e,span:24,prop:e,labelWidth:220,rules:[],value:null};i.value=t["default"];var s=t["fields"];if(s){i.formslot=!0;var r={option:{column:[]},slot:""};r.slot=e,r.form={},s.forEach(function(e){for(var t in e)r.option.column.push(n.createColumn(t,e[t],!0))}),this.slotColumns.push(r)}else if("array"==t["type"])i.type="array",i.formslot=!0,this.createTagColumn(e);else{var o=t["type"];if(o&&""!=o.trim()&&(o=this.getType(o)),t["required"]&&i["rules"].push({required:t["required"],message:"请填写"+e,trigger:"blur"}),t["default"]&&!a&&(this.pluginForm[e]=t["default"]),i.type=o,t["one_of"]){i.type="select";var l=[];t["one_of"].forEach(function(e){l.push({label:e,value:e})}),i.dicData=l}}return i},getType:function(e){switch(e){case"boolean":return"switch";case"integer":return"number";case"number":return"number";case"array":return"Array"}return"string"},handlePlugin:function(e,t){var a=this,n={};for(var i in this.pluginForm){var s=this.pluginForm[i];-1==i.indexOf("$")&&"enabled"!=i&&""!=s&&(n[i]=s)}console.log(n),this.pluginForm=n,this.plugin.config=r()(this.pluginForm,this.config),this.slotColumns.forEach(function(e){e.slot;e.option.column.forEach(function(t){var n=a.plugin.config[t.prop];if(""===n||n){delete a.plugin.config[t.prop];var i=a.plugin.config[e.slot]||{},s=t.prop.replace(e.slot+"_","");i[s]=""===n?null:n,a.plugin.config[e.slot]=i}})}),"edit"==this.edit?Object(o["f"])(this.plugin).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.plugin=n.data,a.$successInfo("修改成功"),a.callback()),t()}):"add"==this.edit&&(this.plugin["enabled"]=!0,Object(o["e"])(this.plugin).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.plugin=n.data,a.edit=!0,a.$successInfo("新增成功"),a.callback()),t()}))},callback:function(){this.$emit("callback",{})}}},u=c,d=(a("d793"),a("2877")),p=Object(d["a"])(u,n,i,!1,null,null,null);t["default"]=p.exports},ee4f:function(e,t,a){"use strict";var n=a("ac57"),i=a.n(n);i.a},ef70:function(e,t,a){"use strict";a.d(t,"b",function(){return s}),a.d(t,"c",function(){return r}),a.d(t,"a",function(){return o}),a.d(t,"d",function(){return l});var n=a("b5c6"),i=a("074d"),s=function(){return Object(n["a"])({url:i["a"].path+"/system/function/tree",method:"get"})},r=function(){return Object(n["a"])({url:i["a"].path+"/system/function/menu/role",method:"get"})},o=function(e){return Object(n["a"])({url:i["a"].path+"/system/function",method:"post",data:e})},l=function(e){return Object(n["a"])({url:i["a"].path+"/system/function/"+e.id,method:"post",data:e})}},f1e7:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e._l(e.dynamicTags,function(t){return a("el-tag",{key:t,attrs:{closable:"view"!=e.mode,"disable-transitions":!1},on:{close:function(a){return e.handleClose(t)}}},[e._v(e._s(t.name))])}),e.inputVisible?a("el-autocomplete",{ref:"saveTagInput",staticStyle:{"margin-left":"10px"},attrs:{"popper-class":"my-autocomplete","fetch-suggestions":e.remoteMethod,placeholder:"请输入角色名称检索"},on:{select:e.handleSelect},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.item;return[a("div",{staticClass:"name"},[e._v(e._s(n.name))]),a("span",{staticClass:"addr"},[e._v(e._s(n.mobile))])]}}],null,!1,3326133321),model:{value:e.state,callback:function(t){e.state=t},expression:"state"}},[a("i",{staticClass:"el-icon-edit el-input__icon",attrs:{slot:"suffix"},slot:"suffix"})]):a("el-button",{directives:[{name:"show",rawName:"v-show",value:"add"==e.mode,expression:"mode=='add'"}],staticClass:"button-new-tag el-icon-plus",attrs:{size:"small"},on:{click:e.showInput}},[e._v("新增角色")])],2)},i=[],s=(a("7f7f"),a("20d6"),a("ac6a"),a("cebc")),r=a("5880"),o=(a("8d55"),a("3523")),l={data:function(){return{dynamicTags:[],loading:!1,options:[],state:null,inputVisible:!1,inputValue:""}},created:function(){this.init()},props:{option:{},mode:{},userGroup:{}},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission"])),methods:{init:function(){var e=this,t=this.option.profiles[0];this.permission.usergroup_config||(this.mode="view"),_.forEach(this.userGroup.profileRoles,function(a){a.profile==t.label&&(e.dynamicTags=a.roleList)})},handleSelect:function(e){var t=this,a=_.findIndex(this.dynamicTags,function(t){return e.id==t.id});-1==a?Object(o["h"])(this.userGroup.id,e.id,this.option.profiles).then(function(a){0==a.data.status?(t.dynamicTags.push(e),t.$successInfo("新增角色成功")):t.$errorInfo(a.data.errmsg)}):this.$errorInfo(e.name+" 已经设置过了")},handleClose:function(e){var t=this;Object(o["b"])(this.userGroup.id,e.id,this.option.profiles).then(function(a){0==a.data.status?(t.dynamicTags.splice(t.dynamicTags.indexOf(e),1),t.$successInfo("删除角色成功")):t.$errorInfo(a.data.errmsg)})},remoteMethod:function(e,t){this.options=""!==e?this.option.roleList.filter(function(t){return t.name.indexOf(e)>-1}):this.option.roleList,t(this.options)},showInput:function(){var e=this;this.inputVisible=!0,this.$nextTick(function(t){e.$refs.saveTagInput.$refs.input.focus()})}}},c=l,u=(a("cd05"),a("2877")),d=Object(u["a"])(c,n,i,!1,null,null,null);t["default"]=d.exports},f337:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-tabs",{ref:"upstreamTabs",attrs:{value:"targets"},on:{"tab-click":e.checkUpstream}},[a("el-tab-pane",[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-info"}),e._v(" 基本信息\n ")]),a("avue-form",{ref:"form",attrs:{option:e.upstreamColumn},on:{submit:e.handleSave},model:{value:e.upstream,callback:function(t){e.upstream=t},expression:"upstream"}})],1),"add"!=e.mode?a("el-tab-pane",{attrs:{label:"代理列表",name:"targets"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-success"}),e._v(" Targets\n ")]),a("targets",{ref:"targets",attrs:{upstream:e.upstreamEntity,mode:"edit"}})],1):e._e(),"add"!=e.mode?a("el-tab-pane",{attrs:{label:"设置健康检查"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-warning"}),e._v(" 健康检查(ACTIVE)\n ")]),a("health-check",{attrs:{upstream:e.upstreamEntity,mode:"view"}})],1):e._e()],1)],1)},i=[],s=(a("ac6a"),a("cebc")),r=a("5880"),o=a("fef3"),l=a("04c3"),c=a("ba9e"),u=a("2ed6"),d={components:{targets:l["default"],healthCheck:c["default"]},name:"upholdUpstream",data:function(){return{upstreamColumn:o["o"],upstreamEntity:_.cloneDeep(this.upstream)}},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission","systemProfile"])),props:{upstream:{type:Object,required:!1},mode:{required:!1}},created:function(){this.initOptions()},methods:{initOptions:function(){this.upstreamColumn.column.forEach(function(e){e["disabled"]=!0})},handlerSubmit:function(){this.$refs.form.submit()},handleSave:function(e,t){var a=this;"edit"!=this.mode&&Object(u["f"])(e).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.upstream=n.data,a.$successInfo("新增成功"),a.callback()),t()}),"edit"==this.mode&&Object(u["g"])(e).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.upstream=n.data,a.$successInfo("修改成功"),a.callback()),t()})},callback:function(){this.$emit("callback",this.upstream)}}},p=d,h=a("2877"),m=Object(h["a"])(p,n,i,!1,null,null,null);t["default"]=m.exports},f5f5:function(e,t,a){"use strict";var n=a("2006"),i=a.n(n);i.a},f6e9:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"config-list"},[a("el-radio-group",{model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},[a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_EVERY",disabled:e.disabled}},[e._v("每分")])],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_RANGE",disabled:e.disabled}},[e._v("区间")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueRange.start,callback:function(t){e.$set(e.valueRange,"start",t)},expression:"valueRange.start"}}),e._v("分\n 至\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueRange.end,callback:function(t){e.$set(e.valueRange,"end",t)},expression:"valueRange.end"}}),e._v("分\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_LOOP",disabled:e.disabled}},[e._v("循环")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueLoop.start,callback:function(t){e.$set(e.valueLoop,"start",t)},expression:"valueLoop.start"}}),e._v("分开始,间隔\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueLoop.interval,callback:function(t){e.$set(e.valueLoop,"interval",t)},expression:"valueLoop.interval"}}),e._v("分\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_SPECIFY",disabled:e.disabled}},[e._v("指定")]),a("div",{staticClass:"list"},[a("el-checkbox-group",{model:{value:e.valueList,callback:function(t){e.valueList=t},expression:"valueList"}},e._l(e.maxValue+1,function(t){return a("el-checkbox",{key:"key-"+(t-1),staticClass:"list-check-item",attrs:{label:t-1,disabled:e.type!=e.TYPE_SPECIFY||e.disabled}})}),1)],1)],1)])],1)},i=[],s=a("4b3a"),r={name:"minute",mixins:[s["a"]],data:function(){return{}},watch:{value_c:function(e,t){this.$emit("change",e)}},created:function(){this.DEFAULT_VALUE="*",this.minValue=0,this.maxValue=59,this.valueRange.start=0,this.valueRange.end=59,this.valueLoop.start=0,this.valueLoop.interval=1,this.parseProp(this.prop)}},o=r,l=(a("a495"),a("2877")),c=Object(l["a"])(o,n,i,!1,null,"039eabc4",null);t["default"]=c.exports},f777:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("el-tabs",e._l(e.option.envs,function(t){return a("el-tab-pane",{key:t,attrs:{index:t.label}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i"),e._v("\n "+e._s(t.label)+"\n ")]),a("el-tabs",{attrs:{type:"border-card","tab-position":"left"}},e._l(t.groups,function(t){return a("el-tab-pane",{key:t,attrs:{lazy:""}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(e._s(t.label))]),a("uphold-env",{attrs:{userGroup:e.userGroup,option:{profiles:[t],roleList:e.option.roleList,data:[]},mode:e.mode}})],1)}),1)],1)}),1)],1)],1)},i=[],s=a("cebc"),r=a("5880"),o=(a("af62"),a("5640"),a("f1e7")),l={name:"client",components:{upholdEnv:o["default"]},data:function(){return{}},created:function(){},watch:{},mounted:function(){},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission","userInfo"])),props:{userGroup:{},mode:{},option:{}},methods:{findAllEnvs:function(){}}},c=l,u=(a("c980"),a("ee4f"),a("2877")),d=Object(u["a"])(c,n,i,!1,null,"d8caa636",null);t["default"]=d.exports},f9fd:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-form",{staticStyle:{"margin-left":"10px"},attrs:{"label-width":"80px"}},[e.route.hosts&&e.route.hosts.length>0?a("el-form-item",{attrs:{label:"Host"}},[a("item-tags",{attrs:{tags:e.route.hosts,name:"匹配路径",column:"paths",mode:"view"}})],1):e._e(),a("el-form-item",{attrs:{label:"路由PATH"}},[a("item-tags",{attrs:{tags:e.route.paths,name:"匹配路径",column:"paths",mode:"view"}})],1),a("el-form-item",{attrs:{label:"插件列表"}},[a("query-plugins",{attrs:{route:e.route,mode:"view"}})],1)],1)},i=[],s=a("3aa7"),r=a("ca60"),o={name:"viewRoute",data:function(){},components:{ItemTags:r["default"],queryPlugins:s["default"]},props:{route:{type:Object,required:!1}},created:function(){}},l=o,c=a("2877"),u=Object(c["a"])(l,n,i,!1,null,null,null);t["default"]=u.exports},fa68:function(e,t,a){},fe19:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-steps",{staticStyle:{"margin-top":"20px"},attrs:{active:e.step,"finish-status":"success",simple:""}},[a("el-step",{attrs:{title:"选择同步的服务"}}),a("el-step",{attrs:{title:"选择同步的环境"}}),a("el-step",{attrs:{title:"确认后,开始同步"}})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:0==e.step,expression:"step==0"}]},[a("el-row",{staticStyle:{"margin-top":"12px"}},[a("el-col",{attrs:{span:"22"}},[a("el-input",{attrs:{"prefix-icon":"el-icon-search",placeholder:"请输入服务名称或Host"},on:{input:e.filterServiceData},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}})],1),a("el-col",{attrs:{span:"2"}},[a("el-button",{staticStyle:{"margin-left":"12px"},attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.next(1)}}},[e._v("下一步")])],1)],1),a("avue-crud",{key:"service",ref:"serviceCrud",attrs:{option:e.serviceOption,data:e.serviceData,"table-loading":e.tableLoading},on:{"row-click":e.handleServiceRowClick,"selection-change":e.selectionChange,"search-change":e.handleServiceSearchChange}})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:1==e.step,expression:"step==1"}]},[a("el-row",{staticStyle:{"margin-top":"12px"}},[a("el-col",{attrs:{span:"22"}},[a("el-button",{staticStyle:{"margin-left":"12px"},attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.previous(0)}}},[e._v("上一步")])],1),a("el-col",{attrs:{span:"2"}},[a("el-button",{staticStyle:{"margin-left":"12px"},attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.next(2)}}},[e._v("下一步")])],1)],1),a("avue-crud",{key:"client",ref:"clientCrud",attrs:{option:e.clientsOption,data:e.clientData,"table-loading":e.tableLoading},on:{"selection-change":e.selectionClientChange,"row-click":e.handleClientRowClick}})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:2==e.step,expression:"step==2"}]},[a("el-row",{staticStyle:{"margin-top":"12px"}},[a("el-col",{attrs:{span:"22"}},[a("el-button",{staticStyle:{"margin-left":"12px"},attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.previous(1)}}},[e._v("上一步")])],1),a("el-col",{attrs:{span:"2"}})],1),a("el-row",{staticStyle:{"margin-top":"12px"}},[a("el-card",[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[a("i",{staticClass:"el-icon-info"}),a("strong",[e._v("同步信息(请确认后,点击'开始同步')")]),a("el-button",{directives:[{name:"show",rawName:"v-show",value:"ready"==e.syncForm.status,expression:"syncForm.status=='ready'"}],staticStyle:{"margin-left":"12px","margin-bottom":"12px"},attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.next(3)}}},[e._v("开始同步")]),a("el-button",{staticStyle:{"margin-left":"12px","margin-bottom":"12px"},attrs:{type:"success",size:"mini"},on:{click:e.emitSyncDiff}},[e._v("同步差异比对")]),a("el-button",{directives:[{name:"show",rawName:"v-show",value:"running"==e.syncForm.status,expression:"syncForm.status=='running'"}],staticStyle:{"margin-left":"12px","margin-bottom":"12px"},attrs:{disabled:"",type:"info",size:"mini"}},[e._v("同步进行中...")]),a("el-button",{directives:[{name:"show",rawName:"v-show",value:"success"==e.syncForm.status,expression:"syncForm.status=='success'"}],staticStyle:{"margin-left":"12px","margin-bottom":"12px"},attrs:{disabled:"",type:"success",size:"mini"}},[e._v("同步成功")]),a("el-button",{directives:[{name:"show",rawName:"v-show",value:"failure"==e.syncForm.status,expression:"syncForm.status=='failure'"}],staticStyle:{"margin-left":"12px","margin-bottom":"12px"},attrs:{disabled:"",type:"danger",size:"mini"}},[e._v("同步失败")])],1)]),a("div",[e._v("\n 同步的目标环境:\n "),e._l(e.syncForm.clients,function(t){return a("el-tag",{key:t,attrs:{"disable-transitions":!1,closable:""},on:{close:function(a){return e.handleClientRowClick(t)}}},[e._v(e._s(t.url))])})],2),a("div",{staticStyle:{"margin-top":"12px"}},[e._v("\n 同步的服务列表:\n "),e._l(e.syncForm.services,function(t){return a("el-tag",{key:t,attrs:{"disable-transitions":!1,closable:""},on:{close:function(a){return e.handleServiceRowClick(t)}}},[e._v(e._s(t.name))])})],2),a("div",[e._v("\n 数据类型:\n "),a("el-radio-group",{model:{value:e.syncForm.dataType,callback:function(t){e.$set(e.syncForm,"dataType",t)},expression:"syncForm.dataType"}},[a("el-radio",{attrs:{label:"services"}},[e._v("同步服务")]),a("el-radio",{attrs:{label:"routes"}},[e._v("同步路由")]),a("el-radio",{attrs:{label:"plugins"}},[e._v("同步插件")]),a("el-radio",{attrs:{label:"upstreams"}},[e._v("同步上游代理")])],1)],1),a("div",[e._v("\n 同步策略:\n "),a("el-radio-group",{model:{value:e.syncForm.policy,callback:function(t){e.$set(e.syncForm,"policy",t)},expression:"syncForm.policy"}},[a("el-radio",{attrs:{label:"create_update"}},[e._v("更新同步(存在就更新,不存在就新增)")]),a("el-radio",{attrs:{label:"over_ridden",disabled:""}},[e._v("覆盖同步")])],1)],1)])],1),e.showDiff?a("el-row",{staticStyle:{"margin-top":"12px"}},[a("el-card",[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[a("strong",[e._v("同步差异比对")])])]),a("div",[a("sync-diff",{attrs:{syncConfig:e.syncForm}})],1)])],1):e._e(),a("el-row",{staticStyle:{"margin-top":"12px"}},[a("el-card",[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[a("strong",[e._v("同步日志")])])]),a("div",{staticStyle:{"margin-top":"12px"}},[a("el-timeline",e._l(e.logData,function(t,n){return a("el-timeline-item",{key:n,attrs:{size:0==n?"large":"normal",color:"success"==t.status?"#0bbd87":"red",timestamp:e._f("parseTime")(t.create_at)}},[e._v(e._s(n+1)+". "+e._s(t.comment))])}),1)],1)])],1)],1)],1)},i=[],s=a("5176"),r=a.n(s),o=(a("7f7f"),a("6762"),a("2fdb"),a("cebc")),l=a("3dba"),c=a("af62"),u=a("5640"),d=a("78ba"),p=a("2775"),h=a("5880"),m={name:"syncService",components:{syncDiff:p["default"]},data:function(){return{serviceOption:{maxHeight:600,index:!0,selection:!0,simplePage:!0,border:!0,menu:!1,labelWidth:120,searchBtn:!1,addBtn:!1,editBtn:!1,delBtn:!1,columnBtn:!1,rowKey:"id",refreshBtn:!1,reserveSelection:!0,selectable:function(e,t){return!0},stripe:!0,menuAlign:"center",align:"center",searchSize:"mini",column:[{label:"服务名称",prop:"name",searchSpan:18,search:!1,searchFilterable:!0,searchMmultiple:!0,searchFilterMethod:function(e,t,a){console.log(e,",",t,",",a)}},{label:"HOST OR UPSTREAM",prop:"host"},{label:"创建日期",prop:"created_at",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,a,n){return 1e3*t}}]},clientsOption:{maxHeight:600,index:!0,simplePage:!0,selection:!0,border:!0,menu:!1,labelWidth:120,searchBtn:!1,addBtn:!1,editBtn:!1,delBtn:!1,columnBtn:!1,rowKey:"id",refreshBtn:!1,reserveSelection:!0,selectable:function(e,t){return!0},stripe:!0,menuAlign:"center",align:"center",searchSize:"mini",column:[{label:"服务名称",prop:"name",width:120},{label:"URL",prop:"url"},{label:"环境",prop:"profile",width:120},{label:"创建日期",prop:"create_at",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss"}]},syncLogGroupOption:u["i"],serviceData:[],serviceItems:[],clientData:[],searchForm:"",syncForm:{services:[],clients:[],status:"ready",dataType:"services",policy:"create_update"},logData:[],step:0,syncConfigTimer:null,showDiff:!1,try_times:-1}},computed:Object(o["a"])({},Object(h["mapGetters"])(["permission","isProdProfile","systemProfile"])),created:function(){this.handleServiceSearchChange()},methods:{emitSyncDiff:function(){this.showDiff=!this.showDiff},filterServiceData:function(e){var t=e.trim();this.serviceData=""!=t?this.serviceItems.filter(function(e){return e.name.includes(t)||e.host.includes(t)}):this.serviceItems},handleServiceSearchChange:function(){var e=this;this.tableLoading=!0,Object(l["a"])(r()({})).then(function(t){var a=t.data;e.serviceItems=a.data,e.serviceData=e.serviceItems,e.tableLoading=!1})},selectionChange:function(e){this.syncForm.services=e},selectionClientChange:function(e){this.syncForm.clients=e},handleServiceRowClick:function(e){this.$refs.serviceCrud.toggleSelection([e])},handleClientRowClick:function(e){this.$refs.clientCrud.toggleSelection([e])},next:function(e){var t=this;switch(e){case 0:break;case 1:if(this.syncForm.services&&0==this.syncForm.services.length)return void this.$errorInfo("请先选择需要同步的服务");Object(c["d"])().then(function(e){for(var a=e.data.data,n=0;n0?window.location.reload():t.$nextTick(function(e){t.$router.push("/wel/index")})})},toEditClient:function(e,t){this.grade.box=!0,this.clientForm=e},handlerefreshChange:function(e){this.handleList(this.tableSearch)},handleList:function(e){var t=this;this.tableLoading=!0,Object(c["c"])(r()({})).then(function(e){var l=e.data.data;t.tableData=l,t.tableLoading=!1})},handleClient:function(e,t){var l=this;this.clientForm&&this.clientForm.id?Object(c["j"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(l.$successInfo("修改成功"),l.handleList(),l.grade.box=!1):l.$errorInfo("修改失败"),t()}):Object(c["a"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(l.$successInfo("新增成功"),l.handleList(),l.grade.box=!1):l.$errorInfo("新增失败"),t()})},handlerDelete:function(e){var t=this;this.$confirm("是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(c["h"])(e).then(function(e){var l=e.data;0==l.status?(t.$successInfo("删除成功"),t.handleList()):t.$errorInfo("删除失败")})})}}},p=u,b=(l("4c65"),l("2877")),m=Object(b["a"])(p,n,a,!1,null,"2f514c64",null);t["default"]=m.exports},"4c65":function(e,t,l){"use strict";var n=l("fa68"),a=l.n(n);a.a},5640:function(e,t,l){"use strict";l.d(t,"e",function(){return r}),l.d(t,"a",function(){return o}),l.d(t,"b",function(){return s}),l.d(t,"h",function(){return c}),l.d(t,"f",function(){return d}),l.d(t,"c",function(){return u}),l.d(t,"d",function(){return p}),l.d(t,"i",function(){return b}),l.d(t,"g",function(){return m});var n,a=l("bd86"),i=(l("e349"),l("c54a"),l("074d")),r={card:!0,size:"small",emptyBtn:!1,group:[{label:"网关配置",column:[{label:"Kong Admin URL",row:!0,span:24,labelWidth:140,value:"http://localhost:8001/",prop:"url",tip:"请填写kong的管理URL,如:http://localhost:8001/",rules:[{required:!0,message:"请填写URL,如:http://localhost:8001/",trigger:"blur"}]}]},{label:"环境信息",column:[{label:"名称",prop:"name",span:24,labelWidth:140,width:150,rules:[{required:!0,message:"请填写名称",trigger:"blur"}]},{label:"环境编码",prop:"profileCode",span:24,labelWidth:140,width:150,rules:[{required:!0,message:"请填写环境编码",trigger:"blur"}]},{label:"所属环境",prop:"env",span:24,labelWidth:140,width:150,disabled:!0},{label:"部署类型",prop:"deployType",span:24,labelWidth:140,width:150,disabled:!0},{label:"简称",prop:"ab",span:24,labelWidth:140,width:150,disabled:!0}]}]},o={column:[{label:"名称",prop:"name",span:24,labelWidth:140,width:150,rules:[{required:!0,message:"请填写名称",trigger:"blur"}]},{label:"Kong Admin URL",row:!0,span:24,labelWidth:140,prop:"url",tip:"请填写kong的管理URL,如:http://localhost:8001/",rules:[{required:!0,message:"请填写URL,如:http://localhost:8001/",trigger:"blur"}]},{label:"所属环境",labelWidth:140,prop:"profile",type:"select",group:!0,dicUrl:i["a"].path+"/system/envs/"}]},s=(n={maxHeight:600,labelWidth:120,simplePage:!0,index:!0,border:!0,menuBtn:!0,addBtn:!1},Object(a["a"])(n,"simplePage",!0),Object(a["a"])(n,"delBtn",!1),Object(a["a"])(n,"editBtn",!1),Object(a["a"])(n,"refreshBtn",!1),Object(a["a"])(n,"columnBtn",!1),Object(a["a"])(n,"menuAlign","center"),Object(a["a"])(n,"align","center"),Object(a["a"])(n,"searchSize","mini"),Object(a["a"])(n,"column",[{label:"Active",prop:"id",slot:!0,width:80},{label:"Name",prop:"name",sortable:!0,width:150},{label:"Kong Admin URL",prop:"url"},{label:"Version",prop:"version"},{label:"Created_at",prop:"create_at",width:"180",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,l,n){return t}}]),n),c={maxHeight:900,expand:!0,labelWidth:120,index:!0,border:!0,menuBtn:!0,addBtn:!1,delBtn:!1,editBtn:!1,refreshBtn:!1,columnBtn:!1,menuAlign:"center",align:"center",searchSize:"mini",menu:!1,column:[{label:"源环境",prop:"src_client",slot:!0,width:"280"},{label:"目标环境",prop:"clients",overHidden:!0,slot:!0},{label:"数据类型",prop:"dataType"},{label:"同步策略",prop:"policy"},{label:"同步时间",prop:"create_at",width:"180",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,l,n){return t}},{label:"同步状态",prop:"status"},{label:"备注",span:24,labelWidth:140,overHidden:!0,type:"textarea",prop:"comment"},{label:"操作人",prop:"creator",width:100}]},d={maxHeight:600,labelWidth:120,menuBtn:!0,addBtn:!1,delBtn:!1,viewBtn:!0,editBtn:!1,menuAlign:"center",align:"center",menu:!1,columnBtn:!1,refreshBtn:!1,column:[{label:"同步时间",prop:"create_at",width:"160",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,l,n){return t}},{label:"同步消息",prop:"comment",align:"left",width:400}]},u={column:[{label:"KEY",prop:"configKey",span:24,labelWidth:140,width:150,rules:[{required:!0,message:"请填写key",trigger:"blur"}]},{label:"VALUE",row:!0,span:24,labelWidth:140,type:"textarea",prop:"configValue",rules:[{required:!0,message:"请填写key值",trigger:"blur"}]},{label:"参数类型",row:!0,span:24,labelWidth:140,type:"select",prop:"configType",dicUrl:i["a"].path+"/system/envs/configTypes",rules:[{required:!0,message:"请选择参数类型",trigger:"blur"}]},{label:"备注",span:24,labelWidth:140,type:"textarea",prop:"comment"}]},p={maxHeight:600,expand:!0,labelWidth:120,simplePage:!0,index:!0,border:!0,menuBtn:!0,addBtn:!1,delBtn:!1,editBtn:!1,menuAlign:"center",align:"center",searchSize:"mini",column:[{label:"KEY",prop:"configKey",align:"left",width:240},{label:"VALUE",prop:"configValue",overHidden:!0},{label:"备注",width:240,prop:"comment"},{label:"创建日期",prop:"create_at",width:"180",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,l,n){return t}}]},b={card:!0,group:[{icon:"el-icon-info",label:"同步配置信息",column:[{label:"源环境",type:"select",labelWidth:150,span:24,formslot:!0,prop:"src_client"},{label:"目标环境",prop:"clients",labelWidth:150,formslot:!0},{label:"待同步的服务列表",prop:"services",span:24,labelWidth:150,formslot:!0}]},{label:"同步信息",column:[]}]},m={maxHeight:600,labelWidth:120,index:!0,border:!0,menuBtn:!1,addBtn:!1,delBtn:!1,editBtn:!1,menu:!1,simplePage:!0,refreshBtn:!1,columnBtn:!1,menuAlign:"center",align:"center",searchSize:"mini",column:[{label:"操作时间",prop:"create_at",width:"180",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,l,n){return t}},{label:"操作者",prop:"creator",width:100},{label:"操作记录",prop:"remark",align:"left"},{label:"操作环境",prop:"profile",width:100},{label:"执行操作",prop:"operation",width:150,type:"select",dicData:[{label:"登录",value:"login"},{label:"登出",value:"logout"},{label:"同步",value:"sync"},{label:"新增",value:"add"},{label:"修改",value:"update"},{label:"删除",value:"delete"},{label:"执行降级",value:"demote_config"},{label:"降级回滚",value:"rollback_config"},{label:"Arthas调试",value:"arthas_attach"},{label:"启动",value:"job_startup"},{label:"暂停",value:"job_pause"}]},{label:"操作对象",prop:"target",width:150,dicData:[{label:"全局插件",value:"global_plugin"},{label:"路由插件",value:"route_plugin"},{label:"服务插件",value:"service_plugin"},{label:"路由",value:"route"},{label:"服务",value:"service"},{label:"上游服务",value:"upstream"},{label:"上游代理",value:"targets"},{label:"系统",value:"system"},{label:"作业",value:"monitor_job"},{label:"作业任务",value:"monitor_job_task"},{label:"网关服务",value:"sync_service"},{label:"系统参数",value:"server_config"},{label:"系统环境",value:"system_profile"},{label:"降级参数",value:"demote_app_params"},{label:"热配参数",value:"sync_app_params"},{label:"服务进程",value:"service_progress"}]}]}},fa68:function(e,t,l){}}]); \ No newline at end of file diff --git a/kongx-serve/src/main/resources/static/js/chunk-e7d39db6.9d2f21a7.js b/kongx-serve/src/main/resources/static/js/chunk-e7d39db6.9d2f21a7.js deleted file mode 100644 index ee99429..0000000 --- a/kongx-serve/src/main/resources/static/js/chunk-e7d39db6.9d2f21a7.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e7d39db6","views","chunk-569fe953","chunk-36d68c6a","chunk-2d0e4caf"],{"0095":function(e,t,a){},"00b3":function(e,t,a){"use strict";var n=a("9d5c"),i=a.n(n);i.a},"04c3":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",["view"!=e.mode?a("avue-form",{attrs:{option:e.targetColumn},on:{submit:e.handleTargetSave},model:{value:e.targetForm,callback:function(t){e.targetForm=t},expression:"targetForm"}}):e._e(),a("avue-crud",{attrs:{option:e.targetOption,data:e.targetData},on:{"row-del":e.handleTargetDel},scopedSlots:e._u([{key:"health",fn:function(e){var t=e.row;return[a("img",{staticClass:"image",staticStyle:{width:"20px",height:"20px"},attrs:{src:"/svg/"+t.health.toLowerCase()+".svg",title:t.health}})]}},{key:"menu",fn:function(t){return[a("el-button",{attrs:{icon:"el-icon-delete",size:"small",plain:"",type:"danger"},on:{click:function(a){return e.handleTargetDel(t.row,t.$index)}}},[e._v("删除")])]}}])},[a("template",{slot:"empty"},[e._v("暂无服务代理,请添加服务代理")])],2)],1)},i=[],s=a("cebc"),r=a("5880"),o=a("fef3"),l=a("2ed6"),c={name:"targets",data:function(){return{targetOption:o["n"],targetColumn:o["m"],targetForm:{},targetData:[],grade:{box:!0}}},props:{upstream:{type:Object,required:!1},mode:{required:!0},client:{type:Object,required:!0,id:-1}},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission","isDevProfile","isProdProfile","systemProfile"])),mounted:function(){var e=this,t=setInterval(function(){e.handleList(e.upstream)},1e5);this.$once("hook:beforeDestroy",function(){clearInterval(t)})},created:function(){this.handleList(this.upstream),this.initOptions()},methods:{initOptions:function(){this.targetOption["menu"]="view"!=this.mode},toEditTarget:function(e,t){this.targetForm=e},handleList:function(e){var t=this;this.tableLoading=!0,e.id&&(this.client=this.client||{},Object(l["c"])(e,this.client).then(function(e){t.targetData=e.data.data}))},handleTargetSave:function(e,t){var a=this;this.targetForm=e,this.targetForm.upstream={id:this.upstream.id},delete this.targetForm.id,Object(l["a"])(e).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.$successInfo("新增成功"),a.handleList(a.upstream),a.targetForm={},a.targetForm.upstream={id:a.upstream.id}),t()})},handleTargetDel:function(e,t){var a=this,n="";this.isProdProfile&&(n="当前为生产环境,请谨慎操作! "),this.$confirm(n+"是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(l["d"])({upstream:a.upstream,id:e.id}).then(function(e){var t=e.data;0!=t.status?a.$errorInfo(t.errmsg):(a.handleList(a.upstream),a.targetForm={},a.targetForm.upstream={id:a.upstream.id},a.$successInfo("删除成功"))})}).catch(function(){})}}},u=c,d=a("2877"),p=Object(d["a"])(u,n,i,!1,null,null,null);t["default"]=p.exports},"068d":function(e,t,a){"use strict";var n=a("0095"),i=a.n(n);i.a},"08bb":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-tabs",{ref:"upstreamTabs",on:{"tab-click":e.checkUpstream}},[a("el-tab-pane",[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-info"}),e._v(" 基本信息 ")]),a("avue-form",{ref:"form",attrs:{option:e.upstreamColumn},on:{submit:e.handleSave},model:{value:e.upstream,callback:function(t){e.upstream=t},expression:"upstream"}},["view"!=e.mode?a("template",{slot:"menuForm"},[a("el-button",{staticClass:"el-icon-check",attrs:{type:"primary"},on:{click:e.handlerSubmit}},[e._v("提 交")]),a("el-button",{staticClass:"el-icon-delete",on:{click:e.handleEmpty}},[e._v("清 空")])],1):e._e()],2)],1),"add"!=e.mode?a("el-tab-pane",{attrs:{label:"代理列表"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-success"}),e._v(" Targets ")]),a("targets",{ref:"targets",attrs:{upstream:e.upstream,mode:e.mode}})],1):e._e(),"add"!=e.mode?a("el-tab-pane",{attrs:{label:"设置健康检查",lazy:""}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-warning"}),e._v(" 健康检查(ACTIVE)\n ")]),a("health-check",{attrs:{upstream:e.upstream,mode:e.mode}})],1):e._e()],1)],1)},i=[],s=(a("ac6a"),a("cebc")),r=a("5880"),o=a("fef3"),l=a("04c3"),c=a("ba9e"),u=a("2ed6"),d={components:{targets:l["default"],healthCheck:c["default"]},name:"upholdUpstream",data:function(){return{upstreamColumn:o["o"]}},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission","systemProfile"])),props:{upstream:{type:Object,required:!1},mode:{required:!1}},created:function(){this.initOptions()},methods:{initOptions:function(){var e=this;this.upstreamColumn.column.forEach(function(t){t["disabled"]="view"==e.mode})},handlerSubmit:function(){this.$refs.form.submit()},handleSave:function(e,t){var a=this;"edit"!=this.mode&&Object(u["f"])(e).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.upstream=n.data,a.$successInfo("新增成功"),a.callback()),t()}),"edit"==this.mode&&Object(u["g"])(e).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.upstream=n.data,a.$successInfo("修改成功"),a.callback()),t()})},callback:function(){this.$emit("callback",this.upstream)}}},p=d,h=a("2877"),m=Object(h["a"])(p,n,i,!1,null,null,null);t["default"]=m.exports},"0b18":function(e,t,a){},"0c22":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("basic-container",[a("div",[a("el-row",{staticStyle:{"margin-bottom":"5px","margin-left":"5px","margin-right":"5px"}},[a("el-col",{attrs:{span:"2"}},[e.permission.usergroup_add?a("el-button",{attrs:{size:"small",icon:"el-icon-plus",type:"primary"},on:{click:e.toAdd}},[e._v("新建用户组")]):e._e()],1),a("el-col",{attrs:{span:"22"}},[a("el-input",{staticClass:"input-with-select",attrs:{size:"small",placeholder:"请输入用户组名称",maxlength:"20",clearable:""},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}},[a("el-button",{attrs:{slot:"append",icon:"el-icon-search"},slot:"append"})],1)],1)],1)],1),a("avue-crud",{ref:"crud",staticStyle:{cursor:"pointer"},attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading,page:e.page},on:{"row-save":e.handleSave,"row-update":e.handleUpdate,"refresh-change":e.handlerefreshChange,"current-change":e.handleCurrentChange,"size-change":e.handleCurrentSize,"search-change":e.handleSearchChange},scopedSlots:e._u([{key:"messageContent",fn:function(e){var t=e.row;return[a("item-tags",{attrs:{tags:t.messageContent,column:"messageContent",mode:"view"}})]}},{key:"menu",fn:function(t){return[e.permission.usergroup_update?a("el-button",{attrs:{size:"mini",icon:"el-icon-edit",plain:"",type:"primary"},on:{click:function(a){return e.toEdit(t)}}},[e._v("编辑")]):e._e(),e.permission.usergroup_config?a("el-button",{attrs:{size:"mini",plain:"",type:"success"},on:{click:function(a){return e.toConfigMenu(t.row,t.index)}}},[e._v("配置")]):e._e(),e.permission.usergroup_config?a("el-button",{attrs:{size:"mini",icon:"el-icon-view",plain:""},on:{click:function(a){return e.toConfigViewMenu(t.row,t.index)}}},[e._v("查看")]):e._e()]}}]),model:{value:e.objData,callback:function(t){e.objData=t},expression:"objData"}}),e.configMenuBox?a("el-drawer",{attrs:{title:"为用户组设置用户及角色",size:"40%",visible:e.configMenuBox},on:{"update:visible":function(t){e.configMenuBox=t}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"99%"}},[a("setting-group",{attrs:{userGroup:e.userGroup,mode:e.mode},on:{callback:e.handleList}})],1)]):e._e()],1)},i=[],s=a("5176"),r=a.n(s),o=a("cebc"),l=a("5880"),c=a("ca05"),u=a("3523"),d=a("ca60"),p=a("1686"),h={name:"syncLog",components:{ItemTags:d["default"],settingGroup:p["default"]},data:function(){return{objData:{},tableSearch:{},tableOption:c["f"],tableData:[],tablePage:1,tableSize:10,tableLoading:!1,currentRule:{},systemRole:{},mode:"add",form:{},configMenuBox:!1,searchForm:null,users:null,userGroup:{},userLists:[],options:[],page:{total:0,currentPage:1,pageSize:10}}},created:function(){this.handleList(),this.init()},computed:Object(o["a"])({},Object(l["mapGetters"])(["permission","userInfo"])),props:{logType:{required:!0}},watch:{searchForm:function(e){this.page.currentPage=1,this.handleList()},users:function(e){this.page.currentPage=1,this.handleList()}},methods:{toConfigViewMenu:function(e,t){this.configMenuBox=!0,this.mode="view",this.userGroup=e},toConfigMenu:function(e,t){this.configMenuBox=!0,this.mode="add",this.userGroup=e},toAdd:function(){this.$refs.crud.rowAdd()},toEdit:function(e){this.$refs.crud.rowEdit(e.row,e.index)},init:function(){},handleRowClick:function(e){this.currentRule=e},handlerTrace:function(){var e=this;this.$refs["form"].validate(function(t){t&&(e.handlerTraceDetail=!0)})},handlerefreshChange:function(e){this.handleList(this.tableSearch)},handleCurrentChange:function(e){this.tablePage=e,this.handlerefreshChange()},handleCurrentSize:function(e){this.tableSize=e,this.handlerefreshChange()},handleSearchChange:function(e){this.tableSearch=e,this.handleList(this.tableSearch)},handleSave:function(e,t){var a=this;Object(u["f"])(e).then(function(e){var n=e.data;0!==n.status?a.$message({showClose:!0,message:n.errmsg,type:"warning"}):(a.tablePage=1,a.handleList(),a.$message({showClose:!0,message:"新增成功",type:"success"})),t()})},handleUpdate:function(e,t,a){var n=this;Object(u["j"])(e).then(function(e){var t=e.data;0!==t.status?n.$message({showClose:!0,message:t.errmsg,type:"warning"}):(n.tablePage=1,n.handleList(),n.$message({showClose:!0,message:"修改成功",type:"success"}))}),a()},handleList:function(e){var t=this;this.tableLoading=!0,this.alertRuleBox=!1,this.form={name:this.searchForm},Object(u["d"])(r()({},this.form,{start:this.tablePage,limit:this.tableSize})).then(function(e){var a=e.data.data;t.tableData=a.items,t.page={total:a.totalCount,currentPage:t.tablePage,pageSize:t.tableSize},t.tableLoading=!1})}}},m=h,f=(a("2a7b"),a("2877")),g=Object(f["a"])(m,n,i,!1,null,null,null);t["default"]=g.exports},"0e36":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("basic-container",[a("list-configs",{attrs:{logType:0}})],1)},i=[],s=a("2d86"),r={name:"syncLog",components:{listConfigs:s["default"]},data:function(){return{objData:{},logs:[{label:"网关同步日志",value:0},{label:"热配同步日志",value:1}]}},created:function(){},methods:{}},o=r,l=(a("4ffa"),a("2877")),c=Object(l["a"])(o,n,i,!1,null,null,null);t["default"]=c.exports},"0ebf":function(e,t,a){"use strict";var n=a("3515"),i=a.n(n);i.a},"0fee":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("el-alert",{attrs:{title:"以下为环境列表,请激活您要工作的环境",type:"info","show-icon":""}}),a("avue-crud",{ref:"crud",attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading},on:{"refresh-change":e.handlerefreshChange},scopedSlots:e._u([{key:"id",fn:function(t){var n=t.row;return[e.kongClient.id!=n.id?a("el-button",{attrs:{type:"info",size:"mini",plain:""},on:{click:function(t){return e.handActiveClient(n)}}},[e._v("激活")]):e._e(),e.kongClient.id==n.id?a("el-button",{attrs:{type:"success",size:"mini"}},[e._v("已激活")]):e._e()]}},{key:"menuLeft",fn:function(t){return[(e.permission.client_add,e._e())]}},{key:"menu",fn:function(t){return[e.permission.client_update?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",type:"primary",plain:""},on:{click:function(a){return e.toEditClient(t.row,t.$index)}}},[e._v("编辑")]):e._e(),e.permission.client_delete?a("el-button",{attrs:{icon:"el-icon-delete",size:"small",type:"danger",plain:""},on:{click:function(a){return e.handlerDelete(t.row,t.$index)}}},[e._v("删除")]):e._e()]}}])})],1),e.grade.box?a("el-dialog",{attrs:{title:"新增Kong连接",width:"70%",visible:e.grade.box},on:{"update:visible":function(t){return e.$set(e.grade,"box",t)}}},[a("avue-form",{attrs:{option:e.clientColumn},on:{submit:e.handleClient},model:{value:e.clientForm,callback:function(t){e.clientForm=t},expression:"clientForm"}})],1):e._e()],1)},i=[],s=a("5176"),r=a.n(s),o=(a("7f7f"),a("cebc")),l=a("5880"),c=a("af62"),u=a("5640"),d={name:"client",components:{},data:function(){return{tableOption:u["b"],clientColumn:u["a"],cardoption:{addBtn:!1,span:6,props:{img:"/img/plugins/kong.svg",title:"name",info:"url"}},tableData:[],tableLoading:!1,clientForm:{},activeClient:{id:-1},grade:{box:!1}}},created:function(){this.handleList(),this.initOptions()},watch:{},mounted:function(){},computed:Object(o["a"])({},Object(l["mapGetters"])(["permission","userInfo","kongClient"])),props:[],methods:{initOptions:function(){this.tableOption["menu"]=!1},findActiveKongclient:function(){var e=this;this.$store.dispatch("FindActiveClient",this.userInfo).then(function(t){e.activeClient=t})},handActiveClient:function(e){var t=this;Object(c["h"])(this.userInfo.name,e).then(function(e){t.findActiveKongclient()})},toEditClient:function(e,t){this.grade.box=!0,this.clientForm=e},handlerefreshChange:function(e){this.handleList(this.tableSearch)},handleList:function(e){var t=this;this.tableLoading=!0,Object(c["c"])(r()({})).then(function(e){var a=e.data;t.tableData=a.data,console.log(t.tableData),t.tableLoading=!1})},handleClient:function(e,t){var a=this;this.clientForm&&this.clientForm.id?Object(c["i"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(a.$successInfo("修改成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("修改失败"),t()}):Object(c["a"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(a.$successInfo("新增成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("新增失败"),t()})},handlerDelete:function(e){var t=this;this.$confirm("是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(c["g"])(e).then(function(e){var a=e.data;0==a.status?(t.$successInfo("删除成功"),t.handleList()):t.$errorInfo("删除失败")})})}}},p=d,h=(a("4d0b"),a("2877")),m=Object(h["a"])(p,n,i,!1,null,"b8f9d05c",null);t["default"]=m.exports},"109b":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"config-list"},[a("el-radio-group",{model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},[a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_EVERY",disabled:e.disabled}},[e._v("每秒")])],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_RANGE",disabled:e.disabled}},[e._v("区间")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueRange.start,callback:function(t){e.$set(e.valueRange,"start",t)},expression:"valueRange.start"}}),e._v("秒\n 至\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueRange.end,callback:function(t){e.$set(e.valueRange,"end",t)},expression:"valueRange.end"}}),e._v("秒\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_LOOP",disabled:e.disabled}},[e._v("循环")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueLoop.start,callback:function(t){e.$set(e.valueLoop,"start",t)},expression:"valueLoop.start"}}),e._v("秒开始,间隔\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueLoop.interval,callback:function(t){e.$set(e.valueLoop,"interval",t)},expression:"valueLoop.interval"}}),e._v("秒\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_SPECIFY",disabled:e.disabled}},[e._v("指定")]),a("div",{staticClass:"list"},[a("el-checkbox-group",{model:{value:e.valueList,callback:function(t){e.valueList=t},expression:"valueList"}},e._l(e.maxValue+1,function(t){return a("el-checkbox",{key:"key-"+(t-1),staticClass:"list-check-item",attrs:{label:t-1,disabled:e.type!=e.TYPE_SPECIFY||e.disabled}})}),1)],1)],1)])],1)},i=[],s=a("4b3a"),r={name:"second",mixins:[s["a"]],data:function(){return{}},watch:{value_c:function(e,t){this.$emit("change",e)}},created:function(){this.DEFAULT_VALUE="*",this.minValue=0,this.maxValue=59,this.valueRange.start=0,this.valueRange.end=59,this.valueLoop.start=0,this.valueLoop.interval=1,this.parseProp(this.prop)}},o=r,l=(a("0ebf"),a("2877")),c=Object(l["a"])(o,n,i,!1,null,"472e02ba",null);t["default"]=c.exports},"143c":function(e,t,a){},"154c":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("avue-form",{ref:"form",attrs:{option:e.formColumns},on:{submit:e.handleEntity},model:{value:e.upholdEntity,callback:function(t){e.upholdEntity=t},expression:"upholdEntity"}},[a("template",{slot:"tags"},[a("item-tags",{attrs:{tags:e.upholdEntity.tags,name:"tags",column:"tags",mode:e.mode},on:{sendTag:e.bindTags}})],1),"view"!=e.mode?a("template",{slot:"menuForm"},[a("el-button",{staticClass:"el-icon-check",attrs:{type:"primary"},on:{click:e.handlerSubmit}},[e._v("提 交")])],1):e._e()],2)],1)},i=[],s=(a("ac6a"),a("5176")),r=a.n(s),o=a("fef3"),l=a("3ac9"),c=a("ca60"),u={name:"Route",components:{ItemTags:c["default"]},data:function(){return{formColumns:o["b"],upholdEntity:this.entity,db_type:"",charsets:[]}},props:{entity:{type:Object,required:!1},mode:{required:!1}},created:function(){this.initOptions(),this.init()},methods:{init:function(){},bindTags:function(e){this.upholdEntity=r()(this.upholdEntity,e)},initOptions:function(){var e=this;this.formColumns.column.forEach(function(t){t["disabled"]="view"==e.mode})},handlerSubmit:function(){this.$refs.form.submit()},handleEntity:function(e,t){"edit"==this.mode&&this.handleEntityUpdate(e,t),"add"==this.mode&&this.handleEntitySave(e,t)},handleEntityUpdate:function(e,t){var a=this;Object(l["c"])(this.upholdEntity).then(function(e){var n=e.data;0!=n.status?a.$message.error(n.errmsg):(a.$message.success("修改成功"),a.callback()),t()}).catch(function(e){a.$message.error("更新失败"),t()})},handleEntitySave:function(e,t){var a=this;Object(l["b"])(this.upholdEntity).then(function(e){var n=e.data;0!=n.status?a.$message.error(n.errmsg):(a.$message.success("新增成功"),a.callback()),t()}).catch(function(e){a.$message.error("新增失败,错误信息:"+e),t()})},callback:function(){this.$emit("callback",{})}}},d=u,p=a("2877"),h=Object(p["a"])(d,n,i,!1,null,null,null);t["default"]=h.exports},"15c5":function(e,t,a){},1686:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"avue-data-cardText"},[a("div",[a("el-tabs",[a("el-tab-pane",[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"icon-quanxian"}),e._v("\n 设置角色\n ")]),a("el-alert",{attrs:{title:"未设置角色的环境,则默认角色为普通用户(可查看网关、服务降级、作业管理、告警记录及审计日志等功能)",type:"success","show-icon":""}}),a("div",{staticStyle:{"margin-top":"20px"}},[a("query-env",{attrs:{userGroup:e.userGroup,option:{envs:e.envs,roleList:e.roleList,data:[]},mode:e.mode}})],1)],1),a("el-tab-pane",[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-user"}),e._v("\n 设置用户\n ")]),a("el-form",[a("el-form-item",[a("div",{staticClass:"item",staticStyle:{"margin-top":"20px"}},[a("setting-user",{attrs:{userGroup:e.userGroup,data:e.userInfos,mode:e.mode}})],1)])],1)],1)],1)],1)])},i=[],s=(a("ac6a"),a("af62")),r=a("8d55"),o=a("e59a"),l=a("f1e7"),c=a("f777"),u={name:"message-template",components:{settingUser:o["default"],settingRole:l["default"],queryEnv:c["default"]},data:function(){return{activeNames:[],userList:[],envs:[],roleList:[],userInfos:[],profiles:[]}},computed:{data:function(){return this.option.data||[]}},created:function(){this.init()},props:{mode:{},userGroup:{}},methods:{init:function(){var e=this;Object(s["f"])().then(function(t){e.envs=t.data,_.forEach(e.envs,function(t){_.forEach(t.groups,function(t){e.profiles.push(t)})})}),Object(r["b"])().then(function(t){e.roleList=t.data.data.items})},handlerClose:function(){this.callback()},callback:function(){this.$emit("callback",{})},getUsers:function(){return _.map(this.userList||[],function(e){return e.userId})}}},d=u,p=a("2877"),h=Object(p["a"])(d,n,i,!1,null,null,null);t["default"]=h.exports},"17d3":function(e,t,a){},"1d56":function(e,t,a){"use strict";var n=a("a17a"),i=a.n(n);i.a},2006:function(e,t,a){},2256:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("avue-form",{attrs:{option:e.envColumn},on:{submit:e.handleClient},model:{value:e.client,callback:function(t){e.client=t},expression:"client"}})],1)},i=[],s=a("5640"),r=a("af62"),o={name:"upholdEnv",components:{},data:function(){return{envColumn:s["e"]}},props:{client:{type:Object,required:!0}},created:function(){this.findByProfile()},methods:{findByProfile:function(){var e=this;Object(r["e"])(this.client.profileCode).then(function(t){e.client=t.data.data})},handleClient:function(e,t){var a=this;this.client&&this.client.id?Object(r["i"])(this.client).then(function(e){var t=e.data;0==t.status?(a.$successInfo("更新成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("更新失败")}):Object(r["a"])(this.client).then(function(e){var t=e.data;0==t.status?(a.$successInfo("更新成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("更新失败")}),setTimeout(function(){t()},1e3)}}},l=o,c=a("2877"),u=Object(c["a"])(l,n,i,!1,null,null,null);t["default"]=u.exports},"240c":function(e,t,a){},2775:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-tabs",{attrs:{"tab-position":"top"}},e._l(e.syncConfig.clients,function(t){return a("el-tab-pane",{key:t,attrs:{label:t.profile}},[a("el-row",{staticStyle:{"margin-top":"12px"},attrs:{gutter:5}},[a("el-tabs",{attrs:{"tab-position":"left"}},e._l(e.syncConfig.services,function(n){return a("el-tab-pane",{key:n.id,attrs:{label:n.name}},[a("el-col",{attrs:{span:"12"}},[a("div",{staticClass:"grid-content bg-purple"},[a("span",{staticStyle:{"margin-left":"10px"}},[a("strong",[e._v("待同步的服务信息")])]),a("targets",{attrs:{mode:"view",upstream:{id:n.host}}}),a("div",{staticStyle:{"margin-top":"5px"}},[a("query-routes",{attrs:{service:n,mode:"view"}})],1),a("div",{staticStyle:{"margin-top":"5px"}},[a("service-plugins",{attrs:{service:n}})],1)],1)]),a("el-col",{attrs:{span:"12"}},[a("div",{staticClass:"grid-content bg-purple-exists"},[a("span",{staticStyle:{"margin-left":"10px"}},[a("strong",[e._v("已存在的服务信息")])]),a("targets",{attrs:{mode:"view",upstream:{id:n.host},client:t}}),a("div",{staticStyle:{"margin-top":"5px","overflow-y":"auto","overflow-x":"auto",height:"100%"}},[a("query-routes",{attrs:{service:n,mode:"view",client:t}})],1),a("div",{staticStyle:{"margin-top":"5px"}},[a("service-plugins",{key:t.url,attrs:{service:n,client:t}})],1)],1)])],1)}),1)],1)],1)}),1)],1)},i=[],s=a("537a"),r=a("04c3"),o=a("8b12"),l={components:{servicePlugins:s["default"],queryRoutes:o["default"],targets:r["default"]},data:function(){return{diffColumn:{emptyBtn:!1,submitBtn:!1,column:[{label:"SERVICES",prop:"services",formslot:!0},{label:"CLIENTS",prop:"clients",formslot:!0}]}}},created:function(){console.log(this.syncConfig)},props:{syncConfig:{type:Object,required:!0}}},c=l,u=(a("5311"),a("2877")),d=Object(u["a"])(c,n,i,!1,null,null,null);t["default"]=d.exports},"27a8":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("search-banner",{ref:"routeSearch",attrs:{span:"22",placeholder:"请输入upstream名称",handleList:e.handleList,searchProps:e.searchProps,page:e.page},on:{"search-change":e.searchChange}},[a("template",{slot:"menu"},[e.permission.upstream_add||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-plus",size:"small",type:"primary"},on:{click:function(t){return e.handleGrade({})}}},[e._v("新增")]):e._e()],1)],2),a("avue-crud",{attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading,page:e.page},on:{"row-click":e.handleRowClick,"row-save":e.handleSave,"row-del":e.handleDel,"refresh-change":e.handlerefreshChange,"current-change":e.handleCurrentChange,"size-change":e.handleCurrentSize,"search-change":e.handleSearchChange},scopedSlots:e._u([{key:"expand",fn:function(e){var t=e.row;return[a("el-form",{staticStyle:{"margin-left":"10px"},attrs:{"label-width":"80px"}},[a("el-form-item",{attrs:{label:"代理列表"}},[a("targets",{ref:"targets",attrs:{upstream:t,mode:"view"}})],1)],1)]}},{key:"name",fn:function(t){var n=t.row;return[a("el-link",{attrs:{underline:!1,type:"success"},on:{click:function(t){return e.toDetail(n)}}},[e._v(e._s(n.name))])]}},{key:"menu",fn:function(t){return[e.permission.upstream_update||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",plain:"",type:"primary"},on:{click:function(a){return e.handleGrade(t.row,t.$index)}}},[e._v("编辑")]):e._e(),e.permission.upstream_update||e.isDevProfile||e.isProdProfile?e._e():a("el-button",{attrs:{icon:"el-icon-edit",size:"small",plain:"",type:"primary"},on:{click:function(a){return e.handleTargetsGrade(t.row,t.$index)}}},[e._v("编辑代理列表")]),e.permission.upstream_delete||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-delete",size:"small",plain:"",type:"danger"},on:{click:function(a){return e.handleDel(t.row,t.$index)}}},[e._v("删除")]):e._e()]}}])}),e.grade.box?a("el-drawer",{attrs:{title:"上游代理(UPSTREAM)",size:"50%",visible:e.grade.box,direction:e.direction},on:{"update:visible":function(t){return e.$set(e.grade,"box",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("uphold-upstream",{attrs:{upstream:e.form,mode:e.mode},on:{callback:e.callback}})],1)]):e._e(),e.grade.targetBox?a("el-drawer",{attrs:{title:"编辑代理列表",size:"50%",visible:e.grade.targetBox},on:{"update:visible":function(t){return e.$set(e.grade,"targetBox",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("uphold-targets",{attrs:{upstream:e.form,mode:e.mode},on:{callback:e.callback}})],1)]):e._e(),e.grade.drawerDetail?a("el-drawer",{attrs:{size:"45%",title:"'"+e.form.name+"' 详情",visible:e.grade.drawerDetail,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){return e.$set(e.grade,"drawerDetail",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("uphold-upstream",{attrs:{upstream:e.form,mode:"view"}})],1)]):e._e()],1)],1)},i=[],s=a("5176"),r=a.n(s),o=a("cebc"),l=a("fef3"),c=a("5880"),u=a("04c3"),d=a("ba9e"),p=a("08bb"),h=a("f337"),m=a("848d"),f=a("2ed6"),g={components:{targets:u["default"],searchBanner:m["default"],healthCheck:d["default"],upholdUpstream:p["default"],upholdTargets:h["default"]},name:"strategy",data:function(){return{tableSearch:{},tableOption:l["p"],upstreamColumn:l["o"],searchProps:[{name:"name"}],form:{},tableData:[],tablePage:1,tableSize:10,tableLoading:!1,page:{total:0,currentPage:1,pageSize:10},mode:"add",grade:{box:!1,targetBox:!1,updateUpstream:!1,drawerDetail:!1}}},computed:Object(o["a"])({},Object(c["mapGetters"])(["permission","isDevProfile","isProdProfile","systemProfile"])),props:{},created:function(){var e=this;-1==this.systemProfile.id?this.$nextTick(function(t){e.$router.push("/wel/index")}):this.initOptions()},methods:{initOptions:function(){this.isDevProfile||!this.isProdProfile?this.tableOption["menu"]=!0:this.permission.upstream_update||(this.tableOption["menu"]=!1)},toDetail:function(e){this.form=e,this.grade.drawerDetail=!0,this.grade.updateUpstream=!0},handleGrade:function(e,t){e&&e.id?(this.form=e,this.mode="edit"):(this.form={},this.mode="add"),this.grade.box=!0},handleTargetsGrade:function(e,t){e&&e.id?(this.form=e,this.mode="edit"):(this.form={},this.mode="add"),this.grade.targetBox=!0},callback:function(e){this.form=e,this.mode="edit",this.reloadDataList()},handleCurrentChange:function(e){this.tablePage=e,this.refreshTableList(!0)},handleCurrentSize:function(e){this.tableSize=e,this.refreshTableList(!1)},handleList:function(e){var t=this;return this.tableLoading=!0,Object(f["b"])(r()({},e)).then(function(e){var a=e.data;return t.tableLoading=!1,a.data||[]})},refreshTableList:function(e){this.initPage(e),this.$refs.routeSearch.refresh(this.page,e)},initPage:function(e){e||(this.tablePage=1),this.page.currentPage=this.tablePage,this.page.pageSize=this.tableSize},searchChange:function(e){this.tableData=e.data},reloadDataList:function(){this.initPage(!1),this.$refs.routeSearch.loadData()},handleSave:function(e,t){var a=this;upstreamSave(e).then(function(e){t(),a.form=e.data,a.grade.updateUpstream=!0,a.reloadDataList()})},handleRowClick:function(e,t,a){this.type&&this.$emit("selectionData",e)},handleDel:function(e,t){var a=this,n="";this.isProdProfile&&(n="当前为生产环境,请谨慎操作! "),this.$confirm(n+"是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(f["e"])({id:e.id}).then(function(e){var t=e.data;0!=t.status?a.$errorInfo(t.errmsg):(a.reloadDataList(),a.$successInfo("删除成功"))})}).catch(function(){})}}},b=g,v=a("2877"),y=Object(v["a"])(b,n,i,!1,null,null,null);t["default"]=y.exports},2810:function(e,t,a){"use strict";var n=a("85e3"),i=a.n(n);i.a},"2a7b":function(e,t,a){"use strict";var n=a("6aa8"),i=a.n(n);i.a},"2ab7":function(e,t,a){},"2bdd":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-tabs",{ref:"upstreamTabs"},[a("el-tab-pane",[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-info"}),e._v(" 基本信息\n ")]),a("avue-form",{ref:"form",attrs:{option:e.serviceColumn},on:{submit:e.handleSave},model:{value:e.service,callback:function(t){e.service=t},expression:"service"}},["view"!=e.mode?a("template",{slot:"menuForm"},[a("el-button",{staticClass:"el-icon-check",attrs:{type:"primary"},on:{click:e.handlerSubmit}},[e._v("提 交")]),a("el-button",{staticClass:"el-icon-delete",on:{click:e.handleEmpty}},[e._v("清 空")])],1):e._e()],2),a("el-form",{staticStyle:{"margin-left":"10px"},attrs:{"label-width":"80px","label-position":"left"}},[a("el-form-item",{attrs:{label:"代理列表"}},[a("targets",{attrs:{mode:"view",upstream:{id:e.service.host}}})],1),"view"==e.mode?a("el-form-item",{attrs:{label:"路由列表"}},[a("query-routes",{attrs:{service:e.service,mode:"view"}})],1):e._e(),"view"==e.mode?a("el-form-item",{attrs:{label:"插件列表"}},[a("service-plugins",{attrs:{service:e.service}})],1):e._e()],1)],1),"add"!=e.mode?a("el-tab-pane",{ref:"targetTab",attrs:{label:"服务路由"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-success"}),e._v(" 服务路由\n ")]),a("query-routes",{attrs:{service:e.service,mode:e.mode}})],1):e._e(),"add"!=e.mode?a("el-tab-pane",{ref:"pluginTab",attrs:{label:"服务插件"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-warning"}),e._v(" 服务插件(应用于服务)\n ")]),a("query-plugins",{attrs:{service:e.service,mode:e.mode}})],1):e._e()],1)},i=[],s=(a("ac6a"),a("3dba")),r=a("fef3"),o=a("3aa7"),l=a("8b12"),c=a("04c3"),u=a("537a"),d={components:{queryPlugins:o["default"],queryRoutes:l["default"],servicePlugins:u["default"],targets:c["default"]},name:"upholdService",data:function(){return{serviceColumn:r["i"]}},props:{service:{type:Object,required:!1},mode:{required:!1}},created:function(){this.initOptions()},methods:{initOptions:function(){var e=this;this.serviceColumn.column.forEach(function(t){t["disabled"]="view"==e.mode})},handlerSubmit:function(){this.$refs.form.submit()},handleSave:function(e,t){var a=this;"add"==this.mode&&Object(s["d"])(e).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.service=n.data,a.$successInfo("新增成功"),a.callback()),t()}),"edit"==this.mode&&Object(s["e"])(e).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.service=n.data,a.$successInfo("修改成功"),a.callback()),t()})},callback:function(){this.$emit("callback",this.service)}}},p=d,h=a("2877"),m=Object(h["a"])(p,n,i,!1,null,null,null);t["default"]=m.exports},"2d86":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("avue-crud",{attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading,page:e.page},on:{"row-save":e.handleSave,"row-update":e.handleUpdate,"refresh-change":e.handlerefreshChange,"current-change":e.handleCurrentChange,"size-change":e.handleCurrentSize,"search-change":e.handleSearchChange},scopedSlots:e._u([{key:"expand",fn:function(t){var n=t.row;return[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.expandTableData}},[a("el-table-column",{attrs:{label:"目标环境列表"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{"margin-left":"10px"}},e._l(n.clients,function(t){return a("el-tag",{key:t,attrs:{"disable-transitions":!1},on:{close:function(a){return e.handleClose(t)}}},[e._v(e._s(t.profile)+"("+e._s(t.url)+")")])}),1)]}}],null,!0)}),a("el-table-column",{attrs:{label:"同步对象列表"}},[0==e.logType?a("item-tags",{attrs:{tags:n.services,column:"name",mode:"view"}}):e._e(),1==e.logType?a("item-tags",{attrs:{tags:n.services,column:"paramKey",mode:"view"}}):e._e()],1)],1),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.expandTableData}},[0==e.logType?a("el-table-column",{attrs:{label:"同步日志"}},[a("sync-logs",{attrs:{syncConfig:n}})],1):e._e()],1)]}},{key:"src_client",fn:function(t){var n=t.row;return["success"==n.status?a("el-link",{attrs:{underline:!1,type:"success"},on:{click:function(t){return e.handlesyncLog(n)}}},[e._v(e._s(n.src_client&&n.src_client.url))]):e._e(),"running"==n.status?a("el-link",{attrs:{underline:!1,type:"warning"},on:{click:function(t){return e.handlesyncLog(n)}}},[e._v(e._s(n.src_client&&n.src_client.url))]):e._e(),"failure"==n.status?a("el-link",{attrs:{underline:!1,type:"danger"},on:{click:function(t){return e.handlesyncLog(n)}}},[e._v(e._s(n.src_client&&n.src_client.url))]):e._e()]}},{key:"clients",fn:function(e){var t=e.row;return[a("item-tags",{attrs:{tags:t.clients,column:"profile",mode:"view"}})]}},{key:"services",fn:function(t){var n=t.row;return[0==e.logType?a("item-tags",{attrs:{tags:n.services,column:"name",mode:"view"}}):e._e(),1==e.logType?a("item-tags",{attrs:{tags:n.services,column:"paramKey",mode:"view"}}):e._e()]}}]),model:{value:e.objData,callback:function(t){e.objData=t},expression:"objData"}}),a("el-drawer",{attrs:{title:"同步日志",size:"45%",visible:e.drawer,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){e.drawer=t}}},[a("div",{staticStyle:{"overflow-y":"auto",height:"90%"}},[a("el-timeline",e._l(e.logData,function(t,n){return a("el-timeline-item",{key:n,attrs:{size:0==n?"large":"normal",color:"success"==t.status?"#0bbd87":"red",timestamp:e._f("parseTime")(t.create_at)}},[e._v(e._s(n+1)+". "+e._s(t.comment))])}),1),a("json-viewer",{attrs:{value:e.currnetSyncConfig,"expand-depth":5,copyable:"",sort:""}})],1)])],1)},i=[],s=a("5176"),r=a.n(s),o=a("5640"),l=a("78ba"),c=a("ca60"),u=a("88e6"),d={name:"syncLog",components:{ItemTags:c["default"],syncLogs:u["default"]},data:function(){return{objData:{},tableSearch:{},tableOption:o["h"],logOption:o["f"],tableData:[],expandTableData:[{}],currnetSyncConfig:{},logData:[],tablePage:1,tableSize:10,tableLoading:!1,options:[],page:{total:0,currentPage:1,pageSize:10},drawer:!1}},created:function(){this.handleList()},props:{logType:{required:!0}},methods:{handlesyncLog:function(e){var t=this;this.drawer=!0,this.currnetSyncConfig=e,Object(l["b"])(e.syncNo).then(function(e){t.logData=e.data.data})},handlerefreshChange:function(e){this.handleList(this.tableSearch)},handleCurrentChange:function(e){this.tablePage=e,this.handlerefreshChange()},handleCurrentSize:function(e){this.tableSize=e,this.handlerefreshChange()},handleSearchChange:function(e){this.tableSearch=e,this.handleList(this.tableSearch)},handleList:function(e){var t=this;this.tableLoading=!0,Object(l["a"])(r()({},e,{start:this.tablePage,limit:this.tableSize,logType:this.logType})).then(function(e){var a=e.data.data;t.tableData=a.items,console.log(a),t.page={total:a.totalCount,currentPage:t.tablePage,pageSize:t.tableSize},t.tableLoading=!1})}}},p=d,h=(a("c9b6"),a("2877")),m=Object(h["a"])(p,n,i,!1,null,null,null);t["default"]=m.exports},"2e8b":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-popover",{attrs:{placement:e.placement,title:"路由Hosts更新为"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[a("div",{staticStyle:{"margin-top":"20px"}},[a("item-tags",{attrs:{tags:this.routeParms.hosts,name:"路由Hosts",column:"hosts",mode:"edit"},on:{sendTag:e.bindTags}})],1),a("el-button",{attrs:{slot:"reference",icon:"el-icon-refresh",size:"small",type:"success"},on:{click:e.findConfigByKey},slot:"reference"},[e._v("批量更新HOSTS")]),a("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[a("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){e.visible=!1}}},[e._v("取消")]),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.batchUpdateRouteHosts}},[e._v("确定")])],1)],1)},i=[],s=a("ce4a"),r=a("ca60"),o=a("ceee"),l={name:"routing",components:{ItemTags:r["default"]},data:function(){return{visible:!1,routeParms:{hosts:[],service:this.service}}},props:{service:{required:!1},placement:{default:"bottom-start",required:!1}},created:function(){this.findConfigByKey()},methods:{findConfigByKey:function(){var e=this;Object(s["c"])("default_domains").then(function(t){var a=t.data.data,n=JSON.parse(a.configValue);e.routeParms["hosts"]=n})},batchUpdateRouteHosts:function(){var e=this;Object(o["g"])(this.routeParms).then(function(t){var a=t.data;0!=a.status?e.$errorInfo(a.errmsg):(e.targetData=t.data.data,0===a.errmsg.trim().length?e.$successInfo("更新成功"):e.$successInfo("部分路由paths为空,不能再更新Hosts为空,路由列表为:"+a.errmsg),e.callback())})},callback:function(){this.$emit("callback",{})}}},c=l,u=a("2877"),d=Object(u["a"])(c,n,i,!1,null,null,null);t["default"]=d.exports},"2ed6":function(e,t,a){"use strict";a.d(t,"b",function(){return s}),a.d(t,"f",function(){return r}),a.d(t,"g",function(){return o}),a.d(t,"e",function(){return l}),a.d(t,"c",function(){return c}),a.d(t,"a",function(){return u}),a.d(t,"d",function(){return d});var n=a("b5c6"),i=a("074d"),s=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/upstreams",method:"get"})},r=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/upstreams",method:"post",data:e})},o=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/upstreams/"+e.id,method:"post",data:e})},l=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/upstreams/"+e.id,method:"delete"})},c=function(e,t){return Object(n["a"])({url:i["a"].path+"/kong/api/upstreams/"+e.id+"/targets/health",method:"post",data:t})},u=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/upstreams/"+e.upstream.id+"/targets",method:"post",data:e})},d=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/upstreams/"+e.upstream.id+"/targets/"+e.id,method:"delete"})}},"2f92":function(e,t,a){},"2fa5":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e._l(e.dynamicTags,function(t){return a("el-tag",{key:t,attrs:{closable:!!e.permission.user_authority,"disable-transitions":!1},on:{close:function(a){return e.handleClose(t)}}},[e._v(e._s(t.name)+"\n ")])}),e.inputVisible?a("el-autocomplete",{ref:"saveTagInput",staticStyle:{"margin-left":"10px"},attrs:{"popper-class":"my-autocomplete","fetch-suggestions":e.remoteMethod,placeholder:"请输入用户组进行检索"},on:{select:e.handleSelect},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.item;return[a("div",{staticClass:"name"},[e._v(e._s(n.name))]),a("span",{staticClass:"addr"},[e._v(e._s(n.mobile))])]}}],null,!1,3326133321),model:{value:e.state,callback:function(t){e.state=t},expression:"state"}},[a("i",{staticClass:"el-icon-edit el-input__icon",attrs:{slot:"suffix"},slot:"suffix"})]):a("el-button",{directives:[{name:"show",rawName:"v-show",value:e.permission.user_authority,expression:"permission.user_authority"}],staticClass:"button-new-tag el-icon-plus",attrs:{size:"small"},on:{click:e.showInput}})],2)},i=[],s=(a("ac6a"),a("7f7f"),a("20d6"),a("cebc")),r=a("5880"),o=a("3523"),l={data:function(){return{dynamicTags:this.userInfo.userGroupList,loading:!1,options:[],state:null,selected:!1,userLists:[],inputVisible:!1,inputValue:""}},created:function(){this.init()},props:{mode:{},userIds:{},userInfo:{},userGroupList:{}},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission"])),methods:{init:function(){this.userLists=this.userGroupList,this.options=this.userLists,this.permission.user_authority||(this.mode="view")},handlerBlur:function(){console.log("this.selected:",this.selected),this.selected||(this.selected=!1,this.inputVisible=!1)},handleSelect:function(e){var t=this,a=_.findIndex(this.dynamicTags,function(t){return e.id==t.id});-1==a?Object(o["g"])(e.id,this.getUserId()).then(function(a){0==a.data.status?(t.dynamicTags.push(e),t.inputVisible=!1,t.selected=!0,t.callback(),t.$successInfo("设置用户组成功")):t.$errorInfo(a.data.errmsg)}):this.$errorInfo(e.name+" 已经设置过了")},handleClose:function(e){var t=this;Object(o["a"])(e.id,this.getUserId()).then(function(a){0==a.data.status?(t.dynamicTags.splice(t.dynamicTags.indexOf(e),1),t.callback(),t.$successInfo("删除用户成功")):t.$errorInfo(a.data.errmsg)})},getUserId:function(){var e=[];return _.forEach(this.userIds,function(t){e.push(t.userId)}),e},remoteMethod:function(e,t){this.options=""!==e?this.userLists.filter(function(t){return t.name.indexOf(e)>-1}):this.userLists,t(this.options)},showInput:function(){var e=this;this.inputVisible=!0,this.selected=!1,this.$nextTick(function(t){e.$refs.saveTagInput.$refs.input.focus()})},callback:function(){this.$emit("callback",{})}}},c=l,u=(a("a8c1"),a("2877")),d=Object(u["a"])(c,n,i,!1,null,null,null);t["default"]=d.exports},"2fc5":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("basic-container",{},[a("el-row",{attrs:{gutter:20}},[a("el-col",[a("div",{staticStyle:{"margin-left":"12px"}},[a("el-row",{attrs:{gutter:20}},[a("el-row",[a("el-col",[a("el-alert",{attrs:{span:"20",type:"info","show-icon":"",effect:"dark",description:"控制台方便查看网关运行的访问日志,可查询日志:access.log,error.log,kong.jlog等"}})],1)],1),a("iframe",{staticStyle:{width:"100%",height:"700px"},attrs:{src:e.kongClient.url.replace("8001","8900/log"),scrolling:"yes",frameborder:"0"}})],1)],1)])],1)],1)},i=[],s=a("cebc"),r=a("5880"),o={name:"kongshell",data:function(){return{envs:[]}},created:function(){},watch:{},mounted:function(){},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission","userInfo","kongClient"])),props:[],methods:{}},l=o,c=(a("48c2"),a("c83a"),a("2877")),u=Object(c["a"])(l,n,i,!1,null,"74f1c94a",null);t["default"]=u.exports},3086:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("avue-tabs",{attrs:{option:e.option,data:e.data,page:e.page},on:{change:e.handleChange,submit:e.handleSubmit,"selection-change":e.selectionChange},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}},[a("template",{slot:"before"},[a("el-button",{attrs:{size:"small"},on:{click:e.handleDel}},[e._v("全部已读")]),a("el-button",{attrs:{size:"small"},on:{click:e.handleDel}},[e._v("标记已读")]),a("el-button",{attrs:{size:"small"},on:{click:e.handleDel}},[e._v("删除")])],1)],2)],1)],1)},i=[],s={column:[{label:"全部信息",prop:"all",type:"crud",option:{selection:!0,addBtn:!1,menu:!1,header:!1,column:[{width:500,label:"标题内容",prop:"title"},{label:"时间",prop:"date"}]}},{label:"通知",prop:"msg",type:"crud",option:{selection:!0,addBtn:!1,menu:!1,header:!1,column:[{width:500,label:"标题内容",prop:"title"},{label:"时间",prop:"date"}]}},{label:"私信",prop:"one",type:"crud",option:{selection:!0,addBtn:!1,menu:!1,header:!1,column:[{width:500,label:"标题内容",prop:"title"},{label:"时间",prop:"date"}]}}]},r=a("c54a"),o={data:function(){return{form:{},type:"message",option:s,checkList:[],page:{currentPage:1,total:100,pageSize:10},data:[]}},created:function(){this.handleWitch()},methods:{handleSubmit:function(){this.$message({message:this.form,type:"success"})},handleWitch:function(){"all"===this.type?this.data=[{title:"你好新朋友,感谢使用 avue-cli",date:"2018-11-23"},{title:"smallwei发来一条私信",date:"2018-11-23"}]:"msg"===this.type&&(this.data=[{title:"smallwei发来一条私信",date:"2018-11-23"},{title:"smallwei发来一条私信",date:"2018-11-23"}])},selectionChange:function(e){this.checkList=e},handleDel:function(){Object(r["c"])(this.checkList)?this.$message.warning("请选择至少一条数据"):this.$message.success("操作成功")},handleChange:function(e){this.type=e.prop,this.handleWitch()}}},l=o,c=a("2877"),u=Object(c["a"])(l,n,i,!1,null,null,null);t["default"]=u.exports},3515:function(e,t,a){},3523:function(e,t,a){"use strict";a.d(t,"f",function(){return s}),a.d(t,"j",function(){return r}),a.d(t,"d",function(){return o}),a.d(t,"i",function(){return l}),a.d(t,"g",function(){return c}),a.d(t,"c",function(){return u}),a.d(t,"a",function(){return d}),a.d(t,"h",function(){return p}),a.d(t,"b",function(){return h}),a.d(t,"e",function(){return m});var n=a("b5c6"),i=a("074d"),s=function(e){return Object(n["a"])({url:i["a"].path+"/system/user/group",method:"post",data:e})},r=function(e){return Object(n["a"])({url:i["a"].path+"/system/user/group/"+e.id,method:"post",data:e})},o=function(e){return Object(n["a"])({url:i["a"].path+"/system/user/group/page",method:"get",params:e})},l=function(e,t){return Object(n["a"])({url:i["a"].path+"/system/user/group/"+e+"/user/"+t,method:"post"})},c=function(e,t){return Object(n["a"])({url:i["a"].path+"/system/user/group/"+e+"/user/",method:"post",data:t})},u=function(e,t){return Object(n["a"])({url:i["a"].path+"/system/user/group/"+e+"/user/"+t,method:"delete"})},d=function(e,t){return Object(n["a"])({url:i["a"].path+"/system/user/group/"+e+"/user/",method:"delete",data:t})},p=function(e,t,a){return Object(n["a"])({url:i["a"].path+"/system/user/group/"+e+"/role/"+t,method:"post",data:a})},h=function(e,t,a){return Object(n["a"])({url:i["a"].path+"/system/user/group/"+e+"/drole/"+t,method:"post",data:a})},m=function(){return Object(n["a"])({url:i["a"].path+"/system/user/group/list",method:"get"})}},"354b":function(e,t,a){"use strict";var n=a("6b6b"),i=a.n(n);i.a},3716:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("el-tabs",[a("el-tab-pane",[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-date"}),e._v("\n 全部参数\n ")]),a("avue-crud",{ref:"crud",attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading},on:{"refresh-change":e.handlerefreshChange},scopedSlots:e._u([{key:"menuLeft",fn:function(t){return[e.permission.params_add?a("el-button",{attrs:{icon:"el-icon-plus",size:"small",type:"primary"},on:{click:function(a){return e.toEditClient(t.row,t.$index)}}},[e._v("新 增")]):e._e()]}},{key:"menu",fn:function(t){return[e.permission.params_update?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",type:"primary",plain:""},on:{click:function(a){return e.toEditClient(t.row,t.$index)}}},[e._v("编辑")]):e._e()]}},{key:"expand",fn:function(e){var t=e.row;return[a("json-viewer",{attrs:{value:t.configValue}})]}}])})],1),e._l(e.configTypes,function(t){return a("el-tab-pane",{key:t,attrs:{index:t.label}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-date"}),e._v("\n "+e._s(t.label)+"\n ")]),a("avue-crud",{ref:"crud",refInFor:!0,attrs:{option:e.tableOption,data:t.data,"table-loading":e.tableLoading},on:{"refresh-change":e.handlerefreshChange},scopedSlots:e._u([{key:"menuLeft",fn:function(t){return[e.permission.params_add?a("el-button",{attrs:{icon:"el-icon-plus",size:"small",type:"primary"},on:{click:function(a){return e.toEditClient(t.row,t.$index)}}},[e._v("新 增")]):e._e()]}},{key:"menu",fn:function(t){return[e.permission.params_update?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",type:"primary",plain:""},on:{click:function(a){return e.toEditClient(t.row,t.$index)}}},[e._v("编辑")]):e._e()]}},{key:"expand",fn:function(e){var t=e.row;return[a("json-viewer",{attrs:{value:t.configValue}})]}}],null,!0)})],1)})],2)],1),e.grade.box?a("el-dialog",{attrs:{title:"系统参数",width:"70%",visible:e.grade.box},on:{"update:visible":function(t){return e.$set(e.grade,"box",t)}}},[a("avue-form",{attrs:{option:e.configColumn},on:{submit:e.handleClient},model:{value:e.clientForm,callback:function(t){e.clientForm=t},expression:"clientForm"}})],1):e._e()],1)},i=[],s=a("5176"),r=a.n(s),o=(a("ac6a"),a("cebc")),l=a("5880"),c=a("ce4a"),u=a("5640"),d={name:"serverConfig",comments:{},data:function(){return{tableOption:u["d"],configColumn:u["c"],tableData:[],tableLoading:!1,clientForm:{},configTypes:[],grade:{box:!1}}},created:function(){this.handleList(),this.initOptions()},mounted:function(){},computed:Object(o["a"])({},Object(l["mapGetters"])(["permission"])),methods:{initOptions:function(){this.permission.params_update||(this.tableOption["menu"]=!1)},findConfigType:function(){var e=this;Object(c["d"])().then(function(t){var a=t.data;e.configTypes=a,e.initConfigData()})},initConfigData:function(){var e=this;_.forEach(this.configTypes,function(t){var a=[];_.forEach(e.tableData,function(e){e.configType==t.value&&a.push(e)}),t["data"]=a})},toEditClient:function(e,t){this.grade.box=!0,this.clientForm=e},handlerefreshChange:function(e){this.handleList(this.tableSearch)},handleList:function(e){var t=this;this.tableLoading=!0,Object(c["b"])(r()({})).then(function(e){var a=e.data;t.tableData=a.data,t.tableLoading=!1,t.findConfigType()})},handleClient:function(e,t){var a=this;this.clientForm&&this.clientForm.id?Object(c["e"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(a.$successInfo("修改成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("修改失败"),t()}):Object(c["a"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(a.$successInfo("新增成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("新增失败"),t()})}}},p=d,h=a("2877"),m=Object(h["a"])(p,n,i,!1,null,null,null);t["default"]=m.exports},"3aa7":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("avue-crud",{attrs:{option:e.queryPluginsOption,data:e.routeData},on:{"row-del":e.handleTargetDel},scopedSlots:e._u([{key:"menuRight",fn:function(t){return["edit"==e.mode?a("el-button",{attrs:{icon:"el-icon-plus",size:"small",type:"primary"},on:{click:function(a){return e.toAddPlugin(t.row,t.$index)}}},[e._v("新增插件")]):e._e()]}},{key:"menu",fn:function(t){return[a("el-button",{attrs:{icon:"el-icon-edit",size:"small",plain:"",type:"primary"},on:{click:function(a){return e.toEditPlugin(t.row,t.$index)}}},[e._v("编辑")]),a("el-button",{attrs:{icon:"el-icon-edit",size:"small",plain:"",type:"danger"},on:{click:function(a){return e.handleTargetDel(t.row,t.$index)}}},[e._v("删除")])]}}])},[a("template",{slot:"empty"},[e._v("暂无数据,请添加")])],2),e.grade.addPluginBox?a("el-dialog",{attrs:{title:"新增插件",width:"70%",visible:e.grade.addPluginBox,"append-to-body":""},on:{"update:visible":function(t){return e.$set(e.grade,"addPluginBox",t)}}},[e.grade.addPluginBox?a("list-plugin",{attrs:{route:e.route,service:e.service},on:{callback:e.pluginCallback}}):e._e()],1):e._e(),e.grade.editPluginBox?a("el-dialog",{attrs:{title:"编辑插件",width:"70%",visible:e.grade.editPluginBox,"append-to-body":""},on:{"update:visible":function(t){return e.$set(e.grade,"editPluginBox",t)}}},[e.grade.editPluginBox?a("uphold-plugin",{attrs:{plugin:e.pluginForm,edit:"edit",fields:e.fields},on:{callback:e.pluginCallback}}):e._e()],1):e._e()],1)},i=[],s=(a("7f7f"),a("cebc")),r=a("5880"),o=a("fef3"),l=a("468b"),c=a("ca60"),u=a("ecc3"),d=a("7e8d"),p={name:"QueryPlugins",components:{ItemTags:c["default"],upholdPlugin:u["default"],listPlugin:d["default"]},data:function(){return{queryPluginsOption:o["f"],routeData:[],pluginForm:{service:this.service,route:this.route},activeNames:"listRoute",hiddenAddRoute:!0,pluginUpdate:!1,grade:{editPluginBox:!1,addPluginBox:!1}}},props:{service:{type:Object,required:!1},route:{type:Object,required:!1},mode:{required:!1}},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission","isDevProfile","isProdProfile","systemProfile"])),mounted:function(){this.handleList(),this.initOption()},methods:{initOption:function(){this.queryPluginsOption["menu"]="edit"==this.mode},toEditPlugin:function(e,t){var a=this;this.pluginForm=e,Object(l["d"])(this.pluginForm.name).then(function(e){var t=e.data;a.fields=t.fields||[],a.grade.editPluginBox=!0,a.grade.addPluginBox=!1})},toAddPlugin:function(e,t){this.grade.editPluginBox=!1,this.grade.addPluginBox=!0},bindTags:function(){},pluginCallback:function(){this.handleList(),this.grade.editPluginBox=!1,this.grade.addPluginBox=!1},handleList:function(){this.tableLoading=!0,this.route&&(this.pluginForm.route={id:this.route.id},this.queryListByRoute(this.route)),this.service&&(this.pluginForm.service={id:this.service.id},this.queryListByService(this.service))},queryListByRoute:function(e){var t=this;Object(l["b"])(this.pluginForm).then(function(e){t.routeData=e.data.data})},queryListByService:function(e){var t=this;Object(l["c"])(this.pluginForm).then(function(e){t.routeData=e.data.data})},handleTargetDel:function(e,t){var a=this,n="";this.isProdProfile&&(n="当前为生产环境,请谨慎操作! "),this.$confirm(n+"是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(l["g"])({id:e.id}).then(function(e){var t=e.data;0!=t.status?a.$errorInfo(t.errmsg):(a.handleList(),a.$successInfo("删除成功"))})}).catch(function(){})}}},h=p,m=(a("1d56"),a("2877")),f=Object(m["a"])(h,n,i,!1,null,null,null);t["default"]=f.exports},"3ac9":function(e,t,a){"use strict";a.d(t,"d",function(){return s}),a.d(t,"b",function(){return r}),a.d(t,"c",function(){return o}),a.d(t,"a",function(){return l});var n=a("b5c6"),i=a("074d"),s=function(){return Object(n["a"])({url:i["a"].path+"/kong/api/consumers",method:"get"})},r=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/consumers",method:"post",data:e})},o=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/consumers/"+e.id,method:"post",data:e})},l=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/consumers/"+e.id,method:"delete"})}},"3dba":function(e,t,a){"use strict";a.d(t,"a",function(){return s}),a.d(t,"b",function(){return r}),a.d(t,"d",function(){return o}),a.d(t,"e",function(){return l}),a.d(t,"c",function(){return c}),a.d(t,"f",function(){return u});var n=a("b5c6"),i=a("074d"),s=function(){return Object(n["a"])({url:i["a"].path+"/kong/api/services",method:"get"})},r=function(e,t){return Object(n["a"])({url:i["a"].path+"/kong/api/services/"+e.id+"/list/plugins",method:"post",data:t})},o=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/services",method:"post",data:e})},l=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/services/"+e.id,method:"post",data:e})},c=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/services/"+e.id,method:"delete"})},u=function(e){return Object(n["a"])({url:i["a"].path+"/kong/sync/configs/",method:"post",data:e})}},"3eb2":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[e._v("404错误页面")])]),a("div",{staticClass:"error-box"},[a("errorPage404",{staticClass:"error-page"}),a("span",{staticClass:"error-text"},[e._v("/404当访问的页面不存在时会跳转到404页面,您可以在浏览器地址栏中修改url为一个不存在的路径,体验一下效果")])],1)]),a("basic-container",[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[e._v("403错误页面")])]),a("div",{staticClass:"error-box"},[a("errorPage403",{staticClass:"error-page"}),a("span",{staticClass:"error-text"},[e._v("/403在当前登录用户不具有执行当前操作的权限时跳转到该页面,您可以在ajax请求方法中判断返回的状态码为403时跳转到该页面")])],1)]),a("basic-container",[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[e._v("500错误页面")])]),a("div",{staticClass:"error-box"},[a("errorPage500",{staticClass:"error-page"}),a("span",{staticClass:"error-text"},[e._v("/500当请求之后出现服务端错误时跳转到该页面,您可以在ajax请求方法中判断返回的状态码为500时跳转到该页面")])],1)])],1)},i=[],s=a("a5fa"),r=a("a8d0"),o=a("611b"),l={name:"errPage",data:function(){return{}},created:function(){},mounted:function(){},computed:{},props:[],methods:{},components:{errorPage404:s["default"],errorPage403:r["default"],errorPage500:o["default"]}},c=l,u=(a("c379"),a("2877")),d=Object(u["a"])(c,n,i,!1,null,"794ca73a",null);t["default"]=d.exports},"405d":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("el-card",{staticClass:"box-card",attrs:{shadow:"always"}},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[a("h3",[a("strong",[e._v("CONNECTIONS【"+e._s(e.kongClient.url)+"】")])])])]),a("avue-data-display",{attrs:{option:e.easyDataOption}})],1)],1),a("el-row",[a("el-col",{attrs:{span:8}},[a("basic-container",{attrs:{height:"160"}},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[a("h3",[a("strong",[e._v("NODE INFO")])])])]),a("avue-crud",{attrs:{option:e.nodeOption,data:e.nodeData}})],1)],1)],1),a("el-col",{attrs:{span:8}},[a("basic-container",[a("el-card",{attrs:{shadow:"always"}},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[a("h3",[a("strong",[e._v("CONFIG INFO")])])])]),a("avue-crud",{attrs:{option:e.nodeOption,data:e.configData}})],1)],1)],1),a("el-col",{attrs:{span:8}},[a("basic-container",[a("el-card",{attrs:{shadow:"always"}},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("h3",[a("span",[a("strong",[e._v("DATASTORE INFO")])]),e.reachable?a("div",{staticStyle:{float:"right",padding:"0px 0",color:"green","font-size":"14px"}},[a("strong",[e._v("Reachable")])]):a("div",{staticStyle:{float:"right",padding:"0px 0",color:"red","font-size":"14px"}},[a("strong",[e._v("Unreachable")])])])]),a("avue-crud",{attrs:{option:e.nodeOption,data:e.dbData},model:{value:e.obj,callback:function(t){e.obj=t},expression:"obj"}})],1)],1)],1)],1),a("basic-container",[a("el-card",[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[a("h3",[a("strong",[e._v("PLUGINS")])])])]),a("div",{staticClass:"tag-group"},e._l(e.plugins,function(t){return a("el-tag",{key:t.name,staticStyle:{"margin-top":"5px"},attrs:{"disable-transitions":!1,type:t.type,effect:"dark"}},[a("strong",[e._v(e._s(t.name))])])}),1)])],1)],1)},i=[],s=(a("ac6a"),a("cebc")),r=a("a573"),o=a("5880"),l={data:function(){return{total_requests:0,reachable:!1,plugins:[],nodeData:[],configData:[],obj:{},dbData:[],nodeOption:{border:!1,header:!1,simplePage:!0,showHeader:!1,addBtn:!1,delBtn:!1,editBtn:!1,refreshBtn:!1,filterBtn:!1,searchBtn:!1,selectClearBtn:!1,columnBtn:!1,menuAlign:"right",menu:!1,menuWidth:180,align:"center",column:[{label:"名称",prop:"name"},{label:"值",prop:"value",width:230,align:"left"}]},easyDataOption:{span:4,data:[{click:function(e){},title:"ACTIVE",count:0,icon:"icon-yonghuguanli",color:"rgb(49, 180, 141)"},{title:"READING",count:0,icon:"icon-shujuzhanshi2",color:"rgb(56, 161, 242)"},{title:"WRITING",count:0,icon:"icon-jiaoseguanli",color:"rgb(117, 56, 199)"},{title:"WAITING",count:0,icon:"icon-jiaoseguanli",color:"rgb(117, 56, 199)"},{title:"ACCEPTED",count:0,icon:"icon-jiaoseguanli",color:"rgb(117, 56, 199)"},{title:"HANDLED",count:0,icon:"icon-jiaoseguanli",color:"rgb(117, 56, 199)"}]}}},computed:Object(s["a"])({},Object(o["mapGetters"])(["userInfo","kongClient"])),created:function(){this.findActiveKongclient()},mounted:function(){var e=this,t=setInterval(function(){e.queryInfo()},5e3);this.$once("hook:beforeDestroy",function(){clearInterval(t)})},watch:{kongClient:function(e){this.queryInfo(),this.queryStatus()}},methods:{findActiveKongclient:function(){this.$store.dispatch("FindActiveClient",this.userInfo).then(function(e){})},queryStatus:function(){var e=this;Object(r["b"])().then(function(t){var a=t.data,n=a["server"];e.reachable=a.database.reachable,e.easyDataOption.data.forEach(function(e){var t="connections_"+e.title.toLowerCase();e["count"]=n[t]}),e.total_requests=n["total_requests"]})},queryInfo:function(){var e=this;Object(r["a"])().then(function(t){var a=t.data,n=a.plugins;if(a&&n){e.nodeData=[],e.plugins=[],e.dbData=[],e.configData=[],e.nodeData.push({name:"HostName",value:a.hostname}),e.nodeData.push({name:"Tag Line",value:a.tagline}),e.nodeData.push({name:" Version",value:a.version}),e.nodeData.push({name:"Lua version",value:a.lua_version}),e.nodeData.push({name:"Admin Listen",value:a.configuration.admin_listen});var i=a.configuration;for(var s in e.configData.push({name:"Config path",value:i.nginx_kong_conf}),e.configData.push({name:"Log level",value:i.log_level}),e.configData.push({name:"Keepalive",value:i.upstream_keepalive}),e.configData.push({name:"Access log",value:i.proxy_access_log}),e.configData.push({name:"Error log",value:i.proxy_error_log}),e.dbData.push({name:"DBMS",value:i.database}),e.dbData.push({name:"Host",value:i.pg_host}),e.dbData.push({name:"Database",value:i.pg_database}),e.dbData.push({name:"User",value:i.pg_user}),e.dbData.push({name:"Port",value:i.pg_port}),n.available_on_server){var r="info";n.enabled_in_cluster.forEach(function(e){if(e!==s)return"info";r="success"}),e.plugins.push({name:s,type:r})}}})}}},c=l,u=(a("73dc"),a("2877")),d=Object(u["a"])(c,n,i,!1,null,null,null);t["default"]=d.exports},"442f":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("el-alert",{attrs:{title:"设置系统环境相关配置请前往环境管理,或联系管理员",type:"info","show-icon":""}}),a("avue-crud",{ref:"crud",attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading},on:{"refresh-change":e.handlerefreshChange},scopedSlots:e._u([{key:"id",fn:function(t){var n=t.row;return[e.activeClient.id!=n.id?a("el-button",{attrs:{type:"info",size:"mini",plain:""},on:{click:function(t){return e.handActiveClient(n)}}},[e._v("激活")]):e._e(),e.activeClient.id==n.id?a("el-button",{attrs:{type:"success",size:"mini"}},[e._v("已激活")]):e._e()]}},{key:"menuLeft",fn:function(t){return[(e.permission.client_add,e._e())]}},{key:"menu",fn:function(t){return[e.permission.client_update?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",type:"primary",plain:""},on:{click:function(a){return e.toEditClient(t.row,t.$index)}}},[e._v("编辑")]):e._e(),e.permission.client_delete?a("el-button",{attrs:{icon:"el-icon-delete",size:"small",type:"danger",plain:""},on:{click:function(a){return e.handlerDelete(t.row,t.$index)}}},[e._v("删除")]):e._e()]}}])})],1),e.grade.box?a("el-dialog",{attrs:{title:"新增Kong连接",width:"70%",visible:e.grade.box},on:{"update:visible":function(t){return e.$set(e.grade,"box",t)}}},[a("avue-form",{attrs:{option:e.clientColumn},on:{submit:e.handleClient},model:{value:e.clientForm,callback:function(t){e.clientForm=t},expression:"clientForm"}})],1):e._e()],1)},i=[],s=a("5176"),r=a.n(s),o=(a("7f7f"),a("cebc")),l=a("5880"),c=a("af62"),u=a("5640"),d={name:"client",components:{},data:function(){return{tableOption:u["b"],clientColumn:u["a"],tableData:[],tableLoading:!1,clientForm:{},activeClient:{id:-1},grade:{box:!1}}},created:function(){this.findActiveKongclient(),this.handleList(),this.initOptions(),this.$notify({title:"提示",type:"warning",message:"请激活当前使用环境!!!",offset:100})},watch:{},mounted:function(){},computed:Object(o["a"])({},Object(l["mapGetters"])(["permission","userInfo"])),props:[],methods:{initOptions:function(){this.tableOption["menu"]=!1},findActiveKongclient:function(){var e=this;this.$store.dispatch("FindActiveClient",this.userInfo).then(function(t){e.activeClient=t})},handActiveClient:function(e){var t=this;Object(c["h"])(this.userInfo.name,e).then(function(e){window.location.href.indexOf("#/wel/index")>0?window.location.reload():t.$nextTick(function(e){t.$router.push("/wel/index")})})},toEditClient:function(e,t){this.grade.box=!0,this.clientForm=e},handlerefreshChange:function(e){this.handleList(this.tableSearch)},handleList:function(e){var t=this;this.tableLoading=!0,Object(c["c"])(r()({})).then(function(e){var a=e.data.data;t.tableData=a,t.tableLoading=!1})},handleClient:function(e,t){var a=this;this.clientForm&&this.clientForm.id?Object(c["i"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(a.$successInfo("修改成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("修改失败"),t()}):Object(c["a"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(a.$successInfo("新增成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("新增失败"),t()})},handlerDelete:function(e){var t=this;this.$confirm("是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(c["g"])(e).then(function(e){var a=e.data;0==a.status?(t.$successInfo("删除成功"),t.handleList()):t.$errorInfo("删除失败")})})}}},p=d,h=(a("2810"),a("2877")),m=Object(h["a"])(p,n,i,!1,null,"2f33f763",null);t["default"]=m.exports},4451:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-card",{staticClass:"easy-cron"},[a("div",{staticClass:"content"},[a("div",{staticClass:"left"},[a("el-tabs",{attrs:{size:"small"},model:{value:e.curtab,callback:function(t){e.curtab=t},expression:"curtab"}},[e.hideSecond?e._e():a("el-tab-pane",{attrs:{label:"秒",name:"second"}},[a("second-ui",{attrs:{disabled:e.disabled},model:{value:e.second,callback:function(t){e.second=t},expression:"second"}})],1),a("el-tab-pane",{attrs:{label:"分",name:"minute"}},[a("minute-ui",{attrs:{disabled:e.disabled},model:{value:e.minute,callback:function(t){e.minute=t},expression:"minute"}})],1),a("el-tab-pane",{attrs:{label:"时",name:"hour"}},[a("hour-ui",{attrs:{disabled:e.disabled},model:{value:e.hour,callback:function(t){e.hour=t},expression:"hour"}})],1),a("el-tab-pane",{attrs:{label:"日",name:"day"}},[a("day-ui",{attrs:{week:e.week,disabled:e.disabled},model:{value:e.day,callback:function(t){e.day=t},expression:"day"}})],1),a("el-tab-pane",{attrs:{label:"月",name:"month"}},[a("month-ui",{attrs:{disabled:e.disabled},model:{value:e.month,callback:function(t){e.month=t},expression:"month"}})],1),a("el-tab-pane",{attrs:{label:"周",name:"week"}},[a("week-ui",{attrs:{day:e.day,disabled:e.disabled},model:{value:e.week,callback:function(t){e.week=t},expression:"week"}})],1),e.hideYear||e.hideSecond?e._e():a("el-tab-pane",{attrs:{label:"年",name:"year"}},[a("year-ui",{attrs:{disabled:e.disabled},model:{value:e.year,callback:function(t){e.year=t},expression:"year"}})],1)],1)],1),a("div",{staticClass:"right"},[a("div",{staticClass:"field-list"},[a("el-table",{attrs:{stripe:"",columns:e.columns,data:e.tableData,"show-header":!1,size:"small"}})],1),a("div",{staticClass:"exe-pre"},[a("div",{staticClass:"exe-pre-panel"},[a("label",{staticClass:"p-left"},[e._v("执行时间")]),a("el-date-picker",{staticClass:"p-right",attrs:{type:"datetime",placeholder:"选择执行开始时间"},model:{value:e.startTime,callback:function(t){e.startTime=t},expression:"startTime"}})],1),a("div",{staticClass:"exe-pre-panel"},[a("el-tooltip",{staticClass:"p-left",attrs:{content:"执行预览解析不含年参数"}},[a("label",[e._v("执行预览")])]),a("el-input",{staticClass:"p-right",attrs:{type:"textarea",value:e.preTimeList,rows:4,readonly:""}})],1)])])])])},i=[],s=(a("28a5"),a("c5f6"),a("109b")),r=a("f6e9"),o=a("9fee"),l=a("84bc"),c=a("b355"),u=a("68c6"),d=a("7141"),p=a("f8d8"),h=a.n(p),m=(a("6b54"),a("a481"),function(e,t){if(!e)return"";var a=t||"yyyy-MM-dd";e=new Date(e);var n={M:e.getMonth()+1,d:e.getDate(),h:e.getHours(),m:e.getMinutes(),s:e.getSeconds(),q:Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};return a=a.replace(/([yMdhmsqS])+/g,function(t,a){var i=n[a];return void 0!==i?(t.length>1&&(i="0".concat(i),i=i.substr(i.length-2)),i):"y"===a?e.getFullYear().toString().substr(4-t.length):t}),a}),f=m,g=a("b012"),b={name:"easy-cron",comments:{SecondUi:s["default"],MinuteUi:r["default"],HourUi:o["default"],DayUi:l["default"],WeekUi:c["default"],MonthUi:u["default"],YearUi:d["default"]},model:{prop:"cronValue",event:"change"},props:{cronValue:{type:String,default:""},disabled:{type:Boolean,default:!1},exeStartTime:{type:[Number,String,Object],default:0},hideSecond:{type:Boolean,default:!1},hideYear:{type:Boolean,default:!1},remote:{type:Function,default:null}},data:function(){return{curtab:this.hideSecond?"minute":"second",second:"*",minute:"*",hour:"*",day:"*",month:"*",week:"?",year:"*",startTime:new Date,preTimeList:"执行预览,会忽略年份参数",columns:[{title:" ",width:"80",key:"name"},{title:" ",key:"value"}]}},computed:{tableData:function(){var e=this.hideSecond?[]:[{name:"秒",value:this.second}];return e=e.concat([{name:"分",value:this.minute},{name:"时",value:this.hour},{name:"日",value:this.day},{name:"月",value:this.month},{name:"周",value:this.week}]),this.hideSecond||this.hideYear?e.concat({name:"表达式",value:this.cronValue_c}):e.concat({name:"年",value:this.year},{name:"表达式",value:this.cronValue_c},{name:"表达式(不含年)",value:this.cronValue_c2})},cronValue_c:function(){var e=[];return this.hideSecond||e.push(this.second?this.second:"*"),e.push(this.minute?this.minute:"*"),e.push(this.hour?this.hour:"*"),e.push(this.day?this.day:"*"),e.push(this.month?this.month:"*"),e.push(this.week?this.week:"?"),this.hideYear||this.hideSecond||e.push(this.year?this.year:"*"),e.join(" ")},cronValue_c2:function(){var e=this.cronValue_c;if(this.hideYear||this.hideSecond)return e;var t=e.split(" ");return t.slice(0,t.length-1).join(" ")}},watch:{cronValue:function(e,t){e!==this.cronValue_c&&this.formatValue()},cronValue_c:function(e,t){this.calTriggerList(),this.$emit("change",e)},exeStartTime:function(e,t){this.calStartTime()},startTime:function(e,t){this.calTriggerList()}},methods:{formatValue:function(){if(this.cronValue){var e=this.cronValue.split(" ").filter(function(e){return!!e});if(e&&!(e.length<=0)){var t=0;this.hideSecond||(this.second=e[t++]),e.length>t&&(this.minute=e[t++]),e.length>t&&(this.hour=e[t++]),e.length>t&&(this.day=e[t++]),e.length>t&&(this.month=e[t++]),e.length>t&&(this.week=e[t++]),e.length>t&&(this.year=e[t])}}},calTriggerList:Object(g["debounce"])(function(){this.calTriggerListInner()},500),calTriggerListInner:function(){var e=this;if(this.remote)this.remote(this.cronValue_c2,+this.startTime,function(t){e.preTimeList=t});else{for(var t=this.cronValue_c2,a="yyyy-MM-dd hh:mm:ss",n={currentDate:f(this.startTime,a)},i=h.a.parseExpression(t,n),s=[],r=0;r<5;r++)s.push(f(new Date(i.next()),a));this.preTimeList=s.length>0?s.join("\n"):"无执行时间"}},calStartTime:function(){if(this.exeStartTime)try{this.startTime=new Date(this.exeStartTime)}catch(e){this.startTime=new Date}else this.startTime=new Date}},components:{SecondUi:s["default"],MinuteUi:r["default"],HourUi:o["default"],DayUi:l["default"],WeekUi:c["default"],MonthUi:u["default"],YearUi:d["default"]},created:function(){var e=this;this.formatValue(),this.calStartTime(),this.$nextTick(function(){e.calTriggerListInner()})}},v=b,y=(a("722ff"),a("2877")),_=Object(y["a"])(v,n,i,!1,null,"686e23aa",null);t["default"]=_.exports},"451d":function(e,t,a){"use strict";var n=a("8599"),i=a.n(n);i.a},4658:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("search-banner",{ref:"routeSearch",attrs:{placeholder:"请输入USERNAME、TAGS",handleList:e.handleList,span:21,searchProps:e.searchProps,page:e.page},on:{"search-change":e.searchChange}},[a("template",{slot:"menu"},[e.permission.service_add||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-plus",size:"small",type:"primary"},on:{click:function(t){return e.handleGrade({})}}},[e._v("新增")]):e._e()],1)],2),a("avue-crud",{attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading,page:e.page},on:{"row-click":e.handleRowClick,"row-save":e.handleSave,"row-del":e.handleDel,"refresh-change":e.handlerefreshChange,"current-change":e.handleCurrentChange,"size-change":e.handleCurrentSize,"search-change":e.handleSearchChange},scopedSlots:e._u([{key:"username",fn:function(t){var n=t.row;return[a("el-link",{attrs:{underline:!1,type:"success"},on:{click:function(t){return e.toDetail(n)}}},[e._v(e._s(n.username))])]}},{key:"tags",fn:function(t){var n=t.row;return[a("item-tags",{attrs:{tags:n.tags,name:"tags",column:"tags",mode:"view"},on:{sendTag:e.bindTags}})]}},{key:"menu",fn:function(t){return[e.permission.service_update||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",plain:"",type:"primary"},on:{click:function(a){return e.handleGrade(t.row,t.$index)}}},[e._v("编辑")]):e._e(),e.permission.service_delete||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-delete",size:"small",plain:"",type:"danger"},on:{click:function(a){return e.handleDel(t.row,t.$index)}}},[e._v("删除")]):e._e()]}}])}),e.grade.box?a("el-drawer",{attrs:{title:"CONSUMERS",size:"50%",visible:e.grade.box},on:{"update:visible":function(t){return e.$set(e.grade,"box",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("upload-consumer",{attrs:{entity:e.form,mode:e.mode},on:{callback:e.callback}})],1)]):e._e(),e.grade.drawerDetail?a("el-drawer",{attrs:{size:"50%",title:"'"+e.form.username+"' 详情",visible:e.grade.drawerDetail,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){return e.$set(e.grade,"drawerDetail",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",width:"100%",height:"90%"}},[a("upload-consumer",{attrs:{entity:e.form,mode:e.mode},on:{callback:e.callback}})],1)]):e._e()],1)],1)},i=[],s=a("5176"),r=a.n(s),o=a("cebc"),l=a("fef3"),c=a("5880"),u=a("154c"),d=a("848d"),p=a("3ac9"),h=a("ca60"),m={name:"strategy",components:{ItemTags:h["default"],searchBanner:d["default"],uploadConsumer:u["default"]},data:function(){return{tableSearch:{},tableOption:l["c"],searchProps:[{name:"username"},{name:"tags",type:"array"}],tableData:[],tablePage:1,tableSize:10,tableLoading:!1,form:{},page:{total:0,currentPage:1,pageSize:10},grade:{box:!1,drawerDetail:!1},mode:"add"}},computed:Object(o["a"])({},Object(c["mapGetters"])(["permission","isDevProfile","isProdProfile","systemProfile"])),props:{type:{type:String,required:!1}},created:function(){var e=this;-1==this.systemProfile.id?this.$nextTick(function(t){e.$router.push("/wel/index")}):this.initOptions()},methods:{initOptions:function(){this.isDevProfile?this.tableOption["menu"]=!0:this.permission.service_update||(this.tableOption["menu"]=!1)},toDetail:function(e){this.form=e,this.grade.drawerDetail=!0,this.mode="view"},callback:function(e){this.form=e,this.mode="edit",this.reloadDataList()},handlerSyncBox:function(){this.grade.syncBox=!0},handleGrade:function(e,t){this.grade.box=!0,e&&e.id?(this.form=e,this.mode="edit"):(this.form={},this.mode="add")},handleCurrentChange:function(e){this.tablePage=e,this.refreshTableList(!0)},handleCurrentSize:function(e){this.tableSize=e,this.refreshTableList(!1)},handleList:function(e){var t=this;return this.tableLoading=!0,this.grade.box=!1,Object(p["d"])(r()({},e)).then(function(e){var a=e.data;return t.tableLoading=!1,a.data||[]})},refreshTableList:function(e){this.initPage(e),this.$refs.routeSearch.refresh(this.page,e)},initPage:function(e){e||(this.tablePage=1),this.page.currentPage=this.tablePage,this.page.pageSize=this.tableSize},searchChange:function(e){this.tableData=e.data},reloadDataList:function(){this.initPage(!1),this.$refs.routeSearch.loadData()},handleRowClick:function(e,t,a){this.type&&this.$emit("selectionData",e)},handleDel:function(e,t){var a=this,n="";this.isProdProfile&&(n="当前为生产环境,请谨慎操作! "),this.$confirm(n+"是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(p["a"])({id:e.id}).then(function(e){var t=e.data;0!=t.status?a.$errorInfo(t.errmsg):(a.reloadDataList(),a.$successInfo("删除成功"))})}).catch(function(){})}}},f=m,g=a("2877"),b=Object(g["a"])(f,n,i,!1,null,null,null);t["default"]=b.exports},"468b":function(e,t,a){"use strict";a.d(t,"a",function(){return r}),a.d(t,"b",function(){return o}),a.d(t,"c",function(){return l}),a.d(t,"d",function(){return c}),a.d(t,"e",function(){return u}),a.d(t,"f",function(){return d}),a.d(t,"g",function(){return p});var n=a("b5c6"),i=a("074d"),s=i["a"].path+"/kong/api/",r=function(e){return Object(n["a"])({url:s+"plugins",method:"get"})},o=function(e){return Object(n["a"])({url:s+"routes/"+e.route.id+"/plugins",method:"get"})},l=function(e){return Object(n["a"])({url:s+"/services/"+e.service.id+"/plugins",method:"get"})},c=function(e){return Object(n["a"])({url:s+"/plugins/schema/"+e,method:"get"})},u=function(e){return Object(n["a"])({url:s+"/plugins",method:"post",data:e})},d=function(e){return Object(n["a"])({url:s+"/plugins/"+e.id,method:"post",data:e})},p=function(e){return Object(n["a"])({url:s+"/plugins/"+e.id,method:"delete"})}},"46dc":function(e,t,a){},4703:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-divider"),a("span",["add"==e.mode&&e.permission.role_config?a("el-button",{staticClass:"el-icon-refresh",attrs:{type:"primary",size:"small"},on:{click:e.handleGradeUpdate}},[e._v("修改角色权限")]):e._e()],1),a("el-tree",{ref:"menuTree",attrs:{data:e.menuAll,"show-checkbox":"","highlight-current":"",props:e.menuOption,"default-expand-all":"",accordion:"","node-key":"id","default-expanded-keys":[-1]},on:{"check-change":e.handleGradeCheckChange}})],1)},i=[],s=a("cebc"),r=a("5880"),o=a("ca05"),l=a("ef70"),c=a("8d55"),u={name:"menu",data:function(){return{filterText:"",menuAll:[],menuOption:o["c"]}},props:{systemRole:{},mode:{}},created:function(){this.loadAllMenu()},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission"])),methods:{loadAllMenu:function(){var e=this;Object(l["c"])().then(function(t){var a=t.data;return e.menuAll=a.data,{}}).then(function(){Object(c["c"])(e.systemRole).then(function(t){var a=t.data;e.$refs.menuTree.setCheckedKeys(a.data,!1)})})},handleGradeUpdate:function(){var e=this,t=this.$refs.menuTree.getCheckedNodes(),a=this.$refs.menuTree.getHalfCheckedNodes();Object(c["f"])({systemRole:this.systemRole,items:t,halfItems:a}).then(function(t){0!=t.data.status?e.$successInfo(t.data.errmsg):e.$successInfo("更新成功")})}}},d=u,p=a("2877"),h=Object(p["a"])(d,n,i,!1,null,null,null);t["default"]=h.exports},4819:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-divider"),a("avue-form",{ref:"form",attrs:{option:e.formColumns},on:{submit:e.handleEntity},model:{value:e.upholdEntity,callback:function(t){e.upholdEntity=t},expression:"upholdEntity"}},["view"!=e.mode?a("template",{slot:"menuForm"},[a("el-button",{staticClass:"el-icon-check",attrs:{type:"primary"},on:{click:e.handlerSubmit}},[e._v("提 交")])],1):e._e()],2)],1)},i=[],s=(a("ac6a"),a("5176")),r=a.n(s),o=a("ca05"),l=a("e17e"),c=a("ca60"),u={name:"UpholdUser",components:{ItemTags:c["default"]},data:function(){return{formColumns:o["e"],upholdEntity:this.entity}},props:{entity:{type:Object,required:!1},mode:{required:!1}},created:function(){this.initOptions()},methods:{bindTags:function(e){this.upholdEntity=r()(this.upholdEntity,e)},initOptions:function(){var e=this;this.formColumns.column.forEach(function(t){t["disabled"]="view"==e.mode})},handlerSubmit:function(){this.$refs.form.submit()},handleEntity:function(e,t){"edit"==this.mode&&this.handleEntityUpdate(e,t),"add"==this.mode&&this.handleEntitySave(e,t)},handleEntityUpdate:function(e,t){var a=this;Object(l["f"])(this.upholdEntity).then(function(e){var n=e.data;0!=n.status?a.$message.error(n.errmsg):(a.$message.success("修改成功"),a.callback()),t()}).catch(function(e){a.$message.error("更新失败"),t()})},handleEntitySave:function(e,t){var a=this;Object(l["e"])(this.upholdEntity).then(function(e){var n=e.data;0!=n.status?a.$message.error(n.errmsg):(a.$message.success("新增成功"),a.callback()),t()}).catch(function(e){a.$message.error("新增失败,错误信息:"+e),t()})},callback:function(){this.$emit("callback",{})}}},d=u,p=a("2877"),h=Object(p["a"])(d,n,i,!1,null,null,null);t["default"]=h.exports},"48c2":function(e,t,a){"use strict";var n=a("71f9"),i=a.n(n);i.a},"4b3a":function(e,t,a){"use strict";var n=a("e814"),i=a.n(n),s=(a("28a5"),"TYPE_NOT_SET"),r="TYPE_EVERY",o="TYPE_RANGE",l="TYPE_LOOP",c="TYPE_WORK",u="TYPE_LAST",d="TYPE_SPECIFY",p="?";t["a"]={model:{prop:"prop",event:"change"},props:{prop:{type:String,default:p},disabled:{type:Boolean,default:!1}},data:function(){var e=r;return{DEFAULT_VALUE:p,type:e,TYPE_NOT_SET:s,TYPE_EVERY:r,TYPE_RANGE:o,TYPE_LOOP:l,TYPE_WORK:c,TYPE_LAST:u,TYPE_SPECIFY:d,valueRange:{start:0,end:0},valueLoop:{start:0,interval:1},valueWeek:{start:0,end:0},valueList:[],valueWork:1,maxValue:0,minValue:0}},watch:{prop:function(e,t){e!==this.value_c&&this.parseProp(e)}},computed:{value_c:function(){var e=[];switch(this.type){case s:e.push("?");break;case r:e.push("*");break;case o:e.push("".concat(this.valueRange.start,"-").concat(this.valueRange.end));break;case l:e.push("".concat(this.valueLoop.start,"/").concat(this.valueLoop.interval));break;case c:e.push("".concat(this.valueWork,"W"));break;case u:e.push("L");break;case d:e.push(this.valueList.join(","));break;default:e.push(this.DEFAULT_VALUE);break}return e.length>0?e.join(""):this.DEFAULT_VALUE}},methods:{parseProp:function(e){if(e!==this.value_c){"function"===typeof this.preProcessProp&&(e=this.preProcessProp(e));try{if(e&&e!==this.DEFAULT_VALUE)if(e.indexOf("?")>=0)this.type=s;else if(e.indexOf("-")>=0){this.type=o;var t=e.split("-");t.length>=2&&(this.valueRange.start=i()(t[0]),this.valueRange.end=i()(t[1]))}else if(e.indexOf("/")>=0){this.type=l;var a=e.split("/");a.length>=2&&(this.valueLoop.start="*"===e[0]?0:i()(a[0]),this.valueLoop.interval=i()(a[1]))}else if(e.indexOf("W")>=0){this.type=c;var n=e.split("W");n[0]||isNaN(n[0])||(this.valueWork=i()(n[0]))}else if(e.indexOf("L")>=0){this.type=u;var p=e.split("L");this.valueLast=i()(p[0])}else e.indexOf(",")>=0||!isNaN(e)?(this.type=d,this.valueList=e.split(",").map(function(e){return i()(e)})):this.type=r;else this.type=r}catch(h){this.type=r}}}}}},"4d0b":function(e,t,a){"use strict";var n=a("7367"),i=a.n(n);i.a},"4ffa":function(e,t,a){"use strict";var n=a("d9f2"),i=a.n(n);i.a},5311:function(e,t,a){"use strict";var n=a("15c5"),i=a.n(n);i.a},5343:function(e,t,a){"use strict";a.d(t,"a",function(){return s});var n=a("b5c6"),i=a("074d"),s=function(e){return Object(n["a"])({url:i["a"].path+"/operating/logs/",method:"get",params:e})}},"537a":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("avue-crud",{attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading},scopedSlots:e._u([{key:"enabled",fn:function(t){var n=t.row;return[a("el-button",{directives:[{name:"show",rawName:"v-show",value:n.enabled,expression:"row.enabled"}],attrs:{plain:"",size:"mini",type:"success",disabled:""}},[e._v("启用")]),a("el-button",{directives:[{name:"show",rawName:"v-show",value:!n.enabled,expression:"!row.enabled"}],attrs:{plain:"",size:"mini",type:"danger",disabled:""}},[e._v("未启用")])]}},{key:"name",fn:function(t){var a=t.row;return[e._v(e._s(a.name))]}},{key:"menu",fn:function(t){return[e.permission.plugin_update?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",plain:"",type:"primary"},on:{click:function(a){return e.toEditPlugin(t.row,t.$index)}}},[e._v("编辑")]):e._e(),e.permission.plugin_delete?a("el-button",{attrs:{icon:"el-icon-delete",size:"small",plain:"",type:"danger"},on:{click:function(a){return e.handleDel(t.row,t.$index)}}},[e._v("删除")]):e._e()]}}])}),e.grade.drawerDetail?a("el-drawer",{attrs:{size:"45%",title:"'"+e.plugin.name+"' 详情",visible:e.grade.drawerDetail,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){return e.$set(e.grade,"drawerDetail",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"100%"}},[a("pre",[e._v(e._s(e.plugin)+"}")])])]):e._e()],1)},i=[],s=a("cebc"),r=a("fef3"),o=a("5880"),l=a("3dba"),c={name:"plugin",data:function(){return{tableSearch:{},tableOption:r["k"],items:[],tmp_items:[],plugins:[],plugin:{},tableData:[],tablePage:1,tableSize:10,tableLoading:!1,page:{total:0,currentPage:1,pageSize:10},grade:{drawerDetail:!1}}},computed:Object(s["a"])({},Object(o["mapGetters"])(["permission"])),props:{service:{type:String,required:!1},client:{required:!1}},created:function(){this.handleList(),this.initOptions()},methods:{initOptions:function(){},handleList:function(e){var t=this;this.tableLoading=!0,this.client=this.client||{},Object(l["b"])(this.service,this.client).then(function(e){var a=e.data;0!=a.status?t.$errorInfo(a.errmsg):t.tableData=a.data,t.tableLoading=!1})}}},u=c,d=a("2877"),p=Object(d["a"])(u,n,i,!1,null,null,null);t["default"]=p.exports},5640:function(e,t,a){"use strict";a.d(t,"e",function(){return r}),a.d(t,"a",function(){return o}),a.d(t,"b",function(){return l}),a.d(t,"h",function(){return c}),a.d(t,"f",function(){return u}),a.d(t,"c",function(){return d}),a.d(t,"d",function(){return p}),a.d(t,"i",function(){return h}),a.d(t,"g",function(){return m});var n,i=a("bd86"),s=(a("e349"),a("c54a"),a("074d")),r={card:!0,size:"small",emptyBtn:!1,group:[{label:"网关配置",column:[{label:"Kong Admin URL",row:!0,span:24,labelWidth:140,value:"http://localhost:8001/",prop:"url",tip:"请填写kong的管理URL,如:http://localhost:8001/",rules:[{required:!0,message:"请填写URL,如:http://localhost:8001/",trigger:"blur"}]}]},{label:"环境信息",column:[{label:"名称",prop:"name",span:24,labelWidth:140,width:150,rules:[{required:!0,message:"请填写名称",trigger:"blur"}]},{label:"环境编码",prop:"profileCode",span:24,labelWidth:140,width:150,rules:[{required:!0,message:"请填写环境编码",trigger:"blur"}]},{label:"所属环境",prop:"env",span:24,labelWidth:140,width:150,disabled:!0},{label:"部署类型",prop:"deployType",span:24,labelWidth:140,width:150,disabled:!0},{label:"简称",prop:"ab",span:24,labelWidth:140,width:150,disabled:!0}]}]},o={column:[{label:"名称",prop:"name",span:24,labelWidth:140,width:150,rules:[{required:!0,message:"请填写名称",trigger:"blur"}]},{label:"Kong Admin URL",row:!0,span:24,labelWidth:140,prop:"url",tip:"请填写kong的管理URL,如:http://localhost:8001/",rules:[{required:!0,message:"请填写URL,如:http://localhost:8001/",trigger:"blur"}]},{label:"所属环境",labelWidth:140,prop:"profile",type:"select",group:!0,dicUrl:s["a"].path+"/system/envs/"}]},l=(n={maxHeight:600,labelWidth:120,simplePage:!0,index:!0,border:!0,menuBtn:!0,addBtn:!1},Object(i["a"])(n,"simplePage",!0),Object(i["a"])(n,"delBtn",!1),Object(i["a"])(n,"editBtn",!1),Object(i["a"])(n,"refreshBtn",!1),Object(i["a"])(n,"columnBtn",!1),Object(i["a"])(n,"menuAlign","center"),Object(i["a"])(n,"align","center"),Object(i["a"])(n,"searchSize","mini"),Object(i["a"])(n,"column",[{label:"是否激活",prop:"id",slot:!0,width:80},{label:"名称",prop:"name",sortable:!0,width:150},{label:"URL",prop:"url"},{label:"PROFILE",prop:"profile",type:"select",group:!0,dicUrl:s["a"].path+"/system/envs/"},{label:"创建日期",prop:"create_at",width:"180",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,a,n){return t}}]),n),c={maxHeight:900,expand:!0,labelWidth:120,index:!0,border:!0,menuBtn:!0,addBtn:!1,delBtn:!1,editBtn:!1,refreshBtn:!1,columnBtn:!1,menuAlign:"center",align:"center",searchSize:"mini",menu:!1,column:[{label:"源环境",prop:"src_client",slot:!0,width:"280"},{label:"目标环境",prop:"clients",overHidden:!0,slot:!0},{label:"数据类型",prop:"dataType"},{label:"同步策略",prop:"policy"},{label:"同步时间",prop:"create_at",width:"180",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,a,n){return t}},{label:"同步状态",prop:"status"},{label:"备注",span:24,labelWidth:140,overHidden:!0,type:"textarea",prop:"comment"},{label:"操作人",prop:"creator",width:100}]},u={maxHeight:600,labelWidth:120,menuBtn:!0,addBtn:!1,delBtn:!1,viewBtn:!0,editBtn:!1,menuAlign:"center",align:"center",menu:!1,columnBtn:!1,refreshBtn:!1,column:[{label:"同步时间",prop:"create_at",width:"160",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,a,n){return t}},{label:"同步消息",prop:"comment",align:"left",width:400}]},d={column:[{label:"KEY",prop:"configKey",span:24,labelWidth:140,width:150,rules:[{required:!0,message:"请填写key",trigger:"blur"}]},{label:"VALUE",row:!0,span:24,labelWidth:140,type:"textarea",prop:"configValue",rules:[{required:!0,message:"请填写key值",trigger:"blur"}]},{label:"参数类型",row:!0,span:24,labelWidth:140,type:"select",prop:"configType",dicUrl:s["a"].path+"/system/envs/configTypes",rules:[{required:!0,message:"请选择参数类型",trigger:"blur"}]},{label:"备注",span:24,labelWidth:140,type:"textarea",prop:"comment"}]},p={maxHeight:600,expand:!0,labelWidth:120,simplePage:!0,index:!0,border:!0,menuBtn:!0,addBtn:!1,delBtn:!1,editBtn:!1,menuAlign:"center",align:"center",searchSize:"mini",column:[{label:"KEY",prop:"configKey",align:"left",width:240},{label:"VALUE",prop:"configValue",overHidden:!0},{label:"备注",width:240,prop:"comment"},{label:"创建日期",prop:"create_at",width:"180",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,a,n){return t}}]},h={card:!0,group:[{icon:"el-icon-info",label:"同步配置信息",column:[{label:"源环境",type:"select",labelWidth:150,span:24,formslot:!0,prop:"src_client"},{label:"目标环境",prop:"clients",labelWidth:150,formslot:!0},{label:"待同步的服务列表",prop:"services",span:24,labelWidth:150,formslot:!0}]},{label:"同步信息",column:[]}]},m={maxHeight:600,labelWidth:120,index:!0,border:!0,menuBtn:!1,addBtn:!1,delBtn:!1,editBtn:!1,menu:!1,simplePage:!0,refreshBtn:!1,columnBtn:!1,menuAlign:"center",align:"center",searchSize:"mini",column:[{label:"操作时间",prop:"create_at",width:"180",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,a,n){return t}},{label:"操作者",prop:"creator",width:100},{label:"操作记录",prop:"remark",align:"left"},{label:"操作环境",prop:"profile",width:100},{label:"执行操作",prop:"operation",width:150,type:"select",dicData:[{label:"登录",value:"login"},{label:"登出",value:"logout"},{label:"同步",value:"sync"},{label:"新增",value:"add"},{label:"修改",value:"update"},{label:"删除",value:"delete"},{label:"执行降级",value:"demote_config"},{label:"降级回滚",value:"rollback_config"},{label:"Arthas调试",value:"arthas_attach"},{label:"启动",value:"job_startup"},{label:"暂停",value:"job_pause"}]},{label:"操作对象",prop:"target",width:150,dicData:[{label:"全局插件",value:"global_plugin"},{label:"路由插件",value:"route_plugin"},{label:"服务插件",value:"service_plugin"},{label:"路由",value:"route"},{label:"服务",value:"service"},{label:"上游服务",value:"upstream"},{label:"上游代理",value:"targets"},{label:"系统",value:"system"},{label:"作业",value:"monitor_job"},{label:"作业任务",value:"monitor_job_task"},{label:"网关服务",value:"sync_service"},{label:"系统参数",value:"server_config"},{label:"系统环境",value:"system_profile"},{label:"降级参数",value:"demote_app_params"},{label:"热配参数",value:"sync_app_params"},{label:"服务进程",value:"service_progress"}]}]}},"575d":function(e,t,a){"use strict";var n=a("9fc0"),i=a.n(n);i.a},"577f":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{"margin-left":"15px"}},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[a("strong",[e._v(e._s(e.dateStr))])]),e.nextLogTag?a("el-button",{staticStyle:{float:"right",padding:"6px 10px"},attrs:{type:"text"},on:{click:function(t){return e.nextOrpre(e.nextLogTag)}}},[e._v("下一天")]):e._e(),e.preLogTag?a("el-button",{staticStyle:{float:"right",padding:"6px 10px"},attrs:{type:"primary"},on:{click:function(t){return e.nextOrpre(e.preLogTag)}}},[e._v("上一天")]):e._e(),e.nextLogTag||e.preLogTag?a("el-button",{staticStyle:{float:"right",padding:"6px 10px"},attrs:{type:"text"},on:{click:function(t){return e.reset(e.nextLogTag||e.preLogTag)}}},[e._v("返回")]):e._e()],1),a("el-divider"),e.listView?e._e():a("el-timeline",e._l(e.logData,function(t,n){return a("el-timeline-item",{key:n,attrs:{placement:"top",size:0==n?"large":"normal",color:(t.status,"#0bbd87")}},[a("el-card",{staticStyle:{cursor:"pointer"},attrs:{shadow:"hover"}},[a("el-popover",{attrs:{placement:"top-start",title:"日志内容",width:"600",trigger:"click",effect:"dark"}},[a("div",{staticStyle:{"overflow-y":"auto",height:"90%"}},[a("json-viewer",{attrs:{value:JSON.parse(t.content),"expand-depth":5,copyable:"",sort:""}})],1),a("div",{attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(e._f("parseTime")(t.create_at,"{h}:{i}:{s}"))+"- "+e._s(t.remark))])])],1)],1)}),1),e.listView?a("avue-crud",{staticStyle:{cursor:"pointer"},attrs:{option:e.operationLogOption,data:e.logData,"table-loading":e.tableLoading,page:e.page},on:{"current-change":e.handleCurrentChange,"row-click":e.handleRowClick,"size-change":e.handleCurrentSize,"search-change":e.handleSearchChange},model:{value:e.objData,callback:function(t){e.objData=t},expression:"objData"}}):e._e(),e.drawerDetail?a("el-drawer",{attrs:{size:"35%",title:"操作对象内容",visible:e.drawerDetail,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){e.drawerDetail=t}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("json-viewer",{attrs:{value:JSON.parse(e.currentLog.content),"expand-depth":1,copyable:"",sort:""}})],1)]):e._e()],1)},i=[],s=a("5640"),r=a("5343"),o={data:function(){return{operationLogOption:s["g"],dateStr:"",preLogTag:null,nextLogTag:null,logData:[],currentLog:{content:"{}"},drawerDetail:!1,currentLogTag:null}},props:{logTag:{type:Object,required:!0},keyword:{required:!0},listView:{required:!0}},created:function(){this.findSyncLog()},watch:{logTag:function(e){this.findSyncLog()},keyword:function(e){this.findSyncLog()}},methods:{handleRowClick:function(e){this.currentLog=e,this.drawerDetail=!0},findSyncLog:function(){this.nextOrpre(this.logTag)},reset:function(e){e.value=e.begin,this.nextOrpre(e)},nextOrpre:function(e){var t=this;e["keyword"]=this.keyword,Object(r["a"])(e).then(function(e){var a=e.data.data;t.dateStr=a.dateStr,t.preLogTag=a.logTags.pre,t.nextLogTag=a.logTags.next,t.logData=a.logs,t.currentLogTag=a.logParams})}}},l=o,c=(a("b377"),a("2877")),u=Object(c["a"])(l,n,i,!1,null,null,null);t["default"]=u.exports},5791:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("avue-form",{ref:"form",attrs:{option:e.options},on:{submit:e.handleUpholdEntity},model:{value:e.systemFunction,callback:function(t){e.systemFunction=t},expression:"systemFunction"}},[a("template",{slot:"visitView"},[a("el-form-item",[a("el-input",{attrs:{placeholder:"例如:views/admin/user/index"},model:{value:e.systemFunction.visitView,callback:function(t){e.$set(e.systemFunction,"visitView",t)},expression:"systemFunction.visitView"}})],1)],1),a("template",{slot:"useYn"},[a("el-form-item",[a("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#ff4949",value:"systemFunction.useYn","active-value":"y","inactive-value":"n"},model:{value:e.systemFunction.useYn,callback:function(t){e.$set(e.systemFunction,"useYn",t)},expression:"systemFunction.useYn"}})],1)],1),a("template",{slot:"sortOrder"},[a("el-form-item",[a("el-input-number",{attrs:{min:1},model:{value:e.systemFunction.sortOrder,callback:function(t){e.$set(e.systemFunction,"sortOrder",t)},expression:"systemFunction.sortOrder"}})],1)],1),"view"!=e.mode?a("template",{slot:"menuForm"},[e.permission.menu_update?a("el-button",{staticClass:"el-icon-check",attrs:{type:"primary"},on:{click:e.handlerSubmit}},[e._v("提 交")]):e._e()],1):e._e()],2)],1)},i=[],s=(a("ac6a"),a("cebc")),r=a("5880"),o=a("ca05"),l=a("ef70"),c={name:"Route",data:function(){return{formColumns:o["a"],parentId:"-1",childMenuBox:!1}},props:{systemFunction:{type:Object,required:!1},mode:{required:!1},options:{}},created:function(){this.initOptions()},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission"])),methods:{initOptions:function(){var e=this;this.options.column.forEach(function(t){t["disabled"]="view"==e.mode})},toAddChildMenu:function(e){this.parentId=e,this.mode="add",this.childMenuBox=!0},handlerSubmit:function(){this.$refs.form.submit()},handleUpholdEntity:function(e,t){"edit"==this.mode&&this.handleUpholdEntityUpdate(e,t),"add"==this.mode&&this.handleUpholdEntitySave(e,t)},handleUpholdEntityUpdate:function(e,t){var a=this;Object(l["d"])(this.systemFunction).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.$successInfo("修改成功"),a.callback()),t()}).catch(function(e){a.$errorInfo("更新失败"),t()})},handleUpholdEntitySave:function(e,t){var a=this;Object(l["a"])(this.systemFunction).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.$successInfo("新增成功"),a.callback()),t()}).catch(function(e){a.$errorInfo("新增失败,错误信息:"+e),t()})},callback:function(){this.$emit("callback",{})}}},u=c,d=a("2877"),p=Object(d["a"])(u,n,i,!1,null,null,null);t["default"]=p.exports},"5c8e":function(e,t,a){},6229:function(e,t,a){"use strict";var n=a("7dd5"),i=a.n(n);i.a},6383:function(e,t,a){},"63d8":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("basic-container",[a("el-row",{staticStyle:{"margin-top":"0px"}},[a("el-col",{attrs:{span:"10"}},[e._l(e.logTags,function(t){return a("el-tag",{key:t,staticStyle:{"margin-left":"7px","margin-bottom":"5px",cursor:"pointer"},attrs:{type:t.type,effect:"dark"},on:{click:function(a){return e.changeTag(t)}}},[e._v(e._s(t.name))])}),a("el-popover",{attrs:{placement:"bottom-start"}},[a("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":e.pickerOptions},model:{value:e.daterange,callback:function(t){e.daterange=t},expression:"daterange"}}),a("el-tag",{staticStyle:{"margin-left":"7px","margin-bottom":"5px",cursor:"pointer"},attrs:{slot:"reference",effect:"dark",type:e.autoLogTag.type},slot:"reference"},[e._v(e._s(e.autoLogTag.name))])],1)],2),a("el-col",{attrs:{span:"13"}},[a("el-input",{attrs:{"prefix-icon":"el-icon-search",placeholder:"请输入姓名或其它关键词"},on:{input:e.filterServiceData},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}})],1),a("el-col",{attrs:{span:"1"}},[e.listView?e._e():a("i",{staticClass:"el-icon-s-grid",staticStyle:{"margin-left":"12px","margin-top":"10px","font-size":"25px",cursor:"pointer"},attrs:{title:"视图切换"},on:{click:function(t){return e.changeView()}}}),e.listView?a("i",{staticClass:"el-icon-s-grid",staticStyle:{"margin-left":"12px","margin-top":"10px","font-size":"25px",cursor:"pointer",color:"green"},attrs:{title:"视图切换"},on:{click:function(t){return e.changeView()}}}):e._e()])],1),a("log",{ref:"logViewer",attrs:{logTag:e.logTag,listView:e.listView,keyword:e.searchForm}})],1)},i=[],s=(a("ac6a"),a("e814")),r=a.n(s),o=(a("5343"),a("577f")),l={components:{log:o["default"]},data:function(){var e=this;return{logData:[],searchForm:null,daterange:null,logTag:{name:"今 天",value:0,label:"today",type:"success"},autoLogTag:{name:"自定义",value:0,label:"auto",type:"info"},logTags:[{name:"所 有",value:0,label:"all",type:"info"},{name:"今 天",value:0,label:"today",type:"success"},{name:"昨 天",value:1,label:"yesterday",type:"info"},{name:"近7天",value:0,label:"recent7",type:"info"},{name:"上 周",value:0,label:"preweek",type:"info"},{name:"本 周",value:0,label:"thisweek",type:"info"},{name:"上 月",value:0,label:"premonth",type:"info"},{name:"本 月",value:0,label:"thismonth",type:"info"}],listView:!0,pickerOptions:{onPick:function(t){if(t.minDate&&t.maxDate){e.logTag=null,e.autoLogTag.type="success";var a=new Date;e.autoLogTag.value=e.getDaysBetween(t.maxDate,a),e.autoLogTag.value<0&&(e.autoLogTag.value=e.autoLogTag.value-1),e.autoLogTag.begin=e.autoLogTag.value,e.autoLogTag.end=e.getDaysBetween(t.minDate,a),e.autoLogTag.end>=0&&(e.autoLogTag.end=e.getDaysBetween(t.minDate,a)+1),e.changeTag(e.autoLogTag),e.$refs.logViewer.nextOrpre(e.autoLogTag)}}}}},created:function(){},methods:{getDaysBetween:function(e,t){var a=Date.parse(e),n=Date.parse(t),i=r()((n-a)/864e5);return i},changeView:function(){this.listView=!this.listView},changeTag:function(e){this.logTag=e,"auto"!==e.label&&(this.autoLogTag.type="info"),this.logTags.forEach(function(t){t.label==e.label?t.type="success":t.type="info"})}}},c=l,u=a("2877"),d=Object(u["a"])(c,n,i,!1,null,null,null);t["default"]=d.exports},"68c6":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"config-list"},[a("el-radio-group",{model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},[a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_EVERY",disabled:e.disabled}},[e._v("每月")])],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_RANGE",disabled:e.disabled}},[e._v("区间")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueRange.start,callback:function(t){e.$set(e.valueRange,"start",t)},expression:"valueRange.start"}}),e._v("月\n 至\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueRange.end,callback:function(t){e.$set(e.valueRange,"end",t)},expression:"valueRange.end"}}),e._v("月\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_LOOP",disabled:e.disabled}},[e._v("循环")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueLoop.start,callback:function(t){e.$set(e.valueLoop,"start",t)},expression:"valueLoop.start"}}),e._v("月开始,间隔\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueLoop.interval,callback:function(t){e.$set(e.valueLoop,"interval",t)},expression:"valueLoop.interval"}}),e._v("月\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_SPECIFY",disabled:e.disabled}},[e._v("指定")]),a("div",{staticClass:"list"},[a("el-checkbox-group",{model:{value:e.valueList,callback:function(t){e.valueList=t},expression:"valueList"}},e._l(e.maxValue,function(t){return a("el-checkbox",{key:"key-"+t,staticClass:"list-check-item",attrs:{label:t,disabled:e.type!=e.TYPE_SPECIFY||e.disabled}})}),1)],1)],1)])],1)},i=[],s=a("4b3a"),r={name:"month",mixins:[s["a"]],data:function(){return{}},watch:{value_c:function(e,t){this.$emit("change",e)}},created:function(){this.DEFAULT_VALUE="*",this.minValue=1,this.maxValue=12,this.valueRange.start=1,this.valueRange.end=12,this.valueLoop.start=1,this.valueLoop.interval=1,this.parseProp(this.prop)}},o=r,l=(a("cce4"),a("2877")),c=Object(l["a"])(o,n,i,!1,null,"5d6a7505",null);t["default"]=c.exports},"68c7":function(e,t,a){"use strict";var n=a("e527"),i=a.n(n);i.a},"692e":function(e,t,a){var n={"./App.vue":"3dfd","./components/InnerBreadcrumb.vue":"82c1","./components/ItemTags.vue":"ca60","./components/basic-container/main.vue":"dc8a","./components/easy-cron/index.vue":"4451","./components/easy-cron/input-cron.vue":"b5d7","./components/easy-cron/tabs/day.vue":"84bc","./components/easy-cron/tabs/hour.vue":"9fee","./components/easy-cron/tabs/minute.vue":"f6e9","./components/easy-cron/tabs/month.vue":"68c6","./components/easy-cron/tabs/second.vue":"109b","./components/easy-cron/tabs/week.vue":"b355","./components/easy-cron/tabs/year.vue":"7141","./components/error-page/403.vue":"a8d0","./components/error-page/404.vue":"a5fa","./components/error-page/500.vue":"611b","./components/iframe/main.vue":"c1a1","./components/searchBanner.vue":"848d","./page/client-info.vue":"442f","./page/inHome.vue":"405d","./page/index/index.vue":"9cc4","./page/index/layout.vue":"9277","./page/index/logo.vue":"7d3a","./page/index/sidebar/index.vue":"20bf","./page/index/sidebar/sidebarItem.vue":"7505","./page/index/tags.vue":"5ddc","./page/index/top/index.vue":"195f","./page/index/top/top-breadcrumb.vue":"4cd2","./page/index/top/top-color.vue":"44b2","./page/index/top/top-lock.vue":"14cd","./page/index/top/top-logs.vue":"0f22","./page/index/top/top-menu.vue":"286c","./page/index/top/top-msg.vue":"709a","./page/index/top/top-search.vue":"9812","./page/index/top/top-setting.vue":"bd51","./page/index/top/top-theme.vue":"107f","./page/index/top/transfer-client.vue":"c60b","./page/lock/index.vue":"15c5e","./page/login/index.vue":"5596","./page/login/userlogin.vue":"7c05","./page/logs/error.vue":"7cc5","./page/logs/index.vue":"08ae","./page/logs/page.vue":"3eb2","./page/wel.vue":"696f","./views/admin/menu/index.vue":"97a1","./views/admin/menu/upholdChildMenu.vue":"5791","./views/admin/menu/upholdMenu.vue":"78ad","./views/admin/role/index.vue":"a5f6","./views/admin/role/upholdRole.vue":"4703","./views/admin/user/index.vue":"e378","./views/admin/user/settingUserGroup.vue":"2fa5","./views/admin/user/upholdUser.vue":"4819","./views/admin/usergroup/index.vue":"0c22","./views/admin/usergroup/queryEnv.vue":"f777","./views/admin/usergroup/settingGroup.vue":"1686","./views/admin/usergroup/settingRole.vue":"f1e7","./views/admin/usergroup/settingUser.vue":"e59a","./views/gateway/consumer/index.vue":"4658","./views/gateway/consumer/upload-consumer.vue":"154c","./views/gateway/log/index.vue":"8899","./views/gateway/plugin/index.vue":"aab4","./views/gateway/plugin/listPlugin.vue":"7e8d","./views/gateway/plugin/queryPlugins.vue":"3aa7","./views/gateway/plugin/upholdPlugins.vue":"ecc3","./views/gateway/routing/index.vue":"c541","./views/gateway/routing/queryRoutes.vue":"8b12","./views/gateway/routing/updateHosts.vue":"2e8b","./views/gateway/routing/upholdRoute.vue":"e8cd","./views/gateway/routing/viewRoute.vue":"f9fd","./views/gateway/service/index.vue":"a633","./views/gateway/service/servicePlugins.vue":"537a","./views/gateway/service/syncDiff.vue":"2775","./views/gateway/service/syncService.vue":"fe19","./views/gateway/service/uploadService.vue":"2bdd","./views/gateway/shell/index.vue":"2fc5","./views/gateway/upstream/healthCheck.vue":"ba9e","./views/gateway/upstream/index.vue":"27a8","./views/gateway/upstream/targets.vue":"04c3","./views/gateway/upstream/upholdTargets.vue":"f337","./views/gateway/upstream/upholdUpstream.vue":"08bb","./views/info/index.vue":"e37e","./views/info/message.vue":"3086","./views/operating/developers/index.vue":"3716","./views/operating/env/index.vue":"8b5b","./views/operating/env/upholdEnv.vue":"2256","./views/operating/log/index.vue":"63d8","./views/operating/log/log.vue":"577f","./views/operating/synclog/index.vue":"0e36","./views/operating/synclog/listConfigs.vue":"2d86","./views/operating/synclog/logDetail.vue":"ca50","./views/operating/synclog/syncLogs.vue":"88e6","./views/operating/system/index.vue":"0fee"};function i(e){var t=s(e);return a(t)}function s(e){var t=n[e];if(!(t+1)){var a=new Error("Cannot find module '"+e+"'");throw a.code="MODULE_NOT_FOUND",a}return t}i.keys=function(){return Object.keys(n)},i.resolve=s,e.exports=i,i.id="692e"},"696f":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.kongClient&&-1!=e.kongClient.id?a("in-home"):a("client-info")],1)},i=[],s=a("cebc"),r=(a("af62"),a("5880")),o={name:"wel",components:{InHome:function(){return a.e("chunk-36d68c6a").then(a.bind(null,"405d"))},clientInfo:function(){return a.e("chunk-569fe953").then(a.bind(null,"442f"))}},data:function(){return{}},computed:Object(s["a"])({},Object(r["mapGetters"])(["userInfo","kongClient"])),created:function(){this.findActiveKongclient()},methods:{findActiveKongclient:function(){this.$store.dispatch("FindActiveClient",this.userInfo).then(function(e){})}}},l=o,c=a("2877"),u=Object(c["a"])(l,n,i,!1,null,null,null);t["default"]=u.exports},"6aa8":function(e,t,a){},"6b6b":function(e,t,a){},"6bae":function(e,t,a){"use strict";var n=a("240c"),i=a.n(n);i.a},"6d94":function(e,t,a){},7141:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"config-list"},[a("el-radio-group",{model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},[a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_EVERY",disabled:e.disabled}},[e._v("每年")])],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_RANGE",disabled:e.disabled}},[e._v("区间")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,min:0,precision:0},model:{value:e.valueRange.start,callback:function(t){e.$set(e.valueRange,"start",t)},expression:"valueRange.start"}}),e._v("年\n 至\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,min:1,precision:0},model:{value:e.valueRange.end,callback:function(t){e.$set(e.valueRange,"end",t)},expression:"valueRange.end"}}),e._v("年\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_LOOP",disabled:e.disabled}},[e._v("循环")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,min:0,precision:0},model:{value:e.valueLoop.start,callback:function(t){e.$set(e.valueLoop,"start",t)},expression:"valueLoop.start"}}),e._v("年开始,间隔\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,min:1,precision:0},model:{value:e.valueLoop.interval,callback:function(t){e.$set(e.valueLoop,"interval",t)},expression:"valueLoop.interval"}}),e._v("年\n ")],1)])],1)},i=[],s=a("4b3a"),r={name:"year",mixins:[s["a"]],data:function(){return{}},watch:{value_c:function(e,t){this.$emit("change",e)}},created:function(){var e=(new Date).getFullYear();this.DEFAULT_VALUE="*",this.minValue=0,this.maxValue=0,this.valueRange.start=e,this.valueRange.end=e+100,this.valueLoop.start=e,this.valueLoop.interval=1,this.parseProp(this.prop)}},o=r,l=(a("8a0f"),a("2877")),c=Object(l["a"])(o,n,i,!1,null,"411de867",null);t["default"]=c.exports},"71f9":function(e,t,a){},"722ff":function(e,t,a){"use strict";var n=a("8ab6"),i=a.n(n);i.a},7367:function(e,t,a){},"73dc":function(e,t,a){"use strict";var n=a("dfc5"),i=a.n(n);i.a},"78ad":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-row",{staticStyle:{"margin-bottom":"5px","margin-left":"25px","margin-right":"5px"}},[a("el-col",{attrs:{span:"12"}},[a("el-button-group",[e.permission.menu_add?a("el-button",{attrs:{size:"small",icon:"el-icon-plus",type:"primary"},on:{click:function(t){return e.toAddChildMenu(-1,"新建一级菜单","menu")}}},[e._v("新建一级菜单")]):e._e(),e.systemFunction.id&&"menu"==e.systemFunction.menuType&&e.permission.menu_add?a("el-button",{attrs:{size:"small",icon:"el-icon-plus",type:"primary"},on:{click:function(t){return e.toAddChildMenu(e.systemFunction.id,"新建'"+e.systemFunction.name+"'子菜单","menu")}}},[e._v("新建子菜单")]):e._e(),e.systemFunction.id&&"menu"==e.systemFunction.menuType&&e.permission.menu_add?a("el-button",{attrs:{size:"small",icon:"el-icon-plus",type:"success"},on:{click:function(t){return e.toAddChildMenu(e.systemFunction.id,"新建'"+e.systemFunction.name+"'功能点","point")}}},[e._v("新建功能点")]):e._e()],1)],1)],1),a("avue-form",{ref:"form",attrs:{option:e.formColumns},on:{submit:e.handleUpholdEntity},model:{value:e.systemFunction,callback:function(t){e.systemFunction=t},expression:"systemFunction"}},[a("template",{slot:"visitView"},[a("el-form-item",[a("el-input",{attrs:{placeholder:"例如:views/admin/user/index"},model:{value:e.systemFunction.visitView,callback:function(t){e.$set(e.systemFunction,"visitView",t)},expression:"systemFunction.visitView"}})],1)],1),a("template",{slot:"useYn"},[a("el-form-item",[a("el-switch",{attrs:{disabled:e.formGrade,"active-color":"#13ce66","inactive-color":"#ff4949",value:"systemFunction.useYn","active-value":"y","inactive-value":"n"},model:{value:e.systemFunction.useYn,callback:function(t){e.$set(e.systemFunction,"useYn",t)},expression:"systemFunction.useYn"}})],1)],1),a("template",{slot:"sortOrder"},[a("el-form-item",[a("el-input-number",{attrs:{min:1,disabled:e.formGrade},model:{value:e.systemFunction.sortOrder,callback:function(t){e.$set(e.systemFunction,"sortOrder",t)},expression:"systemFunction.sortOrder"}})],1)],1),"view"!=e.mode?a("template",{slot:"menuForm"},[e.permission.menu_update?a("el-button",{staticClass:"el-icon-check",attrs:{type:"primary"},on:{click:e.handlerSubmit}},[e._v("保 存")]):e._e()],1):e._e()],2),e.childMenuBox?a("el-drawer",{attrs:{title:e.tipTitle,size:"50%",visible:e.childMenuBox},on:{"update:visible":function(t){e.childMenuBox=t}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("uphold-child-menu",{attrs:{systemFunction:{parentId:e.parentId,useYn:"y",sortOrder:999,menuType:e.menuType},mode:"add",options:e.childOptions},on:{callback:e.callback}})],1)]):e._e()],1)},i=[],s=(a("ac6a"),a("cebc")),r=a("5880"),o=a("ca05"),l=a("ef70"),c=a("5791"),u={name:"Route",components:{upholdChildMenu:c["default"]},data:function(){return{formColumns:o["a"],childOptions:o["a"],tipTitle:"新建子菜单",parentId:"-1",menuType:"menu",childMenuBox:!1}},props:{systemFunction:{type:Object,required:!1},mode:{required:!1}},created:function(){this.initOptions()},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission"])),methods:{initOptions:function(){var e=this;this.formColumns.column.forEach(function(t){t["disabled"]="view"==e.mode})},toAddChildMenu:function(e,t,a){this.parentId=e,this.mode="add",this.menuType=a,this.childOptions="menu"==this.menuType?o["a"]:o["b"],this.tipTitle=t,this.childMenuBox=!0},handlerSubmit:function(){this.$refs.form.submit()},handleUpholdEntity:function(e,t){"edit"==this.mode&&this.handleUpholdEntityUpdate(e,t),"add"==this.mode&&this.handleUpholdEntitySave(e,t)},handleUpholdEntityUpdate:function(e,t){var a=this;Object(l["d"])(this.systemFunction).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.$successInfo("修改成功"),a.callback()),t()}).catch(function(e){a.$errorInfo("更新失败"),t()})},handleUpholdEntitySave:function(e,t){var a=this;Object(l["a"])(this.systemFunction).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.$successInfo("新增成功"),a.callback()),t()}).catch(function(e){a.$errorInfo("新增失败,错误信息:"+e),t()})},callback:function(){this.childMenuBox=!1,this.$emit("callback",{})}}},d=u,p=a("2877"),h=Object(p["a"])(d,n,i,!1,null,null,null);t["default"]=h.exports},"78ba":function(e,t,a){"use strict";a.d(t,"a",function(){return s}),a.d(t,"b",function(){return r}),a.d(t,"d",function(){return o}),a.d(t,"c",function(){return l});var n=a("b5c6"),i=a("074d"),s=function(e){return Object(n["a"])({url:i["a"].path+"/kong/sync/configs/",method:"get",params:e})},r=function(e){return Object(n["a"])({url:i["a"].path+"/kong/sync/configs/"+e+"/logs",method:"get"})},o=function(e){return Object(n["a"])({url:i["a"].path+"/kong/sync/configs/"+e+"/config",method:"get"})},l=function(e){return Object(n["a"])({url:i["a"].path+"/kong/sync/configs/logs",method:"get",params:e})}},"7b08":function(e,t,a){},"7cc5":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("basic-container",[a("p",[e._v("请打开浏览器控制台,然后点击下面的按钮")]),a("el-button",{attrs:{type:"danger"},on:{click:e.handleNewError}},[e._v("触发一个错误")])],1)},s=[],r={methods:{handleNewError:function(){console.log(a)}}},o=r,l=n("2877"),c=Object(l["a"])(o,i,s,!1,null,null,null);t["default"]=c.exports},"7dd5":function(e,t,a){},"7e8d":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-tabs",{attrs:{type:"border-card","tab-position":e.tabPosition}},e._l(e.pluginGroupOption.column,function(t){return a("el-tab-pane",{key:t.label,attrs:{lazy:"",label:t.label}},[a("avue-card",{attrs:{option:e.cardoption,data:t.option.column},on:{"row-click":e.tip,"row-add":e.tip},scopedSlots:e._u([{key:"menu",fn:function(t){return[a("span",{attrs:{type:"primary"},on:{click:function(a){return e.toAddPlugin(t.row.name)}}},[e._v("新增插件")])]}}],null,!0)})],1)}),1),a("el-dialog",{attrs:{title:"新增插件",width:"70%",visible:e.grade.pluginBox,"append-to-body":""},on:{"update:visible":function(t){return e.$set(e.grade,"pluginBox",t)}}},[e.grade.pluginBox?a("uphold-plugins",{key:e.plugin.name,attrs:{plugin:e.plugin,fields:e.fields,edit:"add"},on:{callback:e.callback}}):e._e()],1)],1)},i=[],s=(a("7f7f"),a("ac6a"),a("cebc")),r=a("5880"),o=a("468b"),l={column:[{label:"鉴权认证",description:"Protect your services with an authentication layer",icon:"mdi-account-outline",hasConsumerPlugins:!1,option:{column:[{name:"basic-auth",description:"Add Basic Authentication to your APIs",img:"/img/plugins/basic-auth.png"},{name:"key-auth",description:"Add a key authentication to your APIs",img:"/img/plugins/key-auth.png"},{name:"oauth2",description:"Add an OAuth 2.0 authentication to your APIs",img:"/img/plugins/oauth2.png"},{name:"hmac-auth",description:"Add HMAC Authentication to your APIs",img:"/img/plugins/hmac-auth.png"},{name:"jwt",description:"Verify and authenticate JSON Web Tokens",img:"/img/plugins/jwt.png"},{name:"ldap-auth",description:"Integrate Kong with a LDAP server",img:"/img/plugins/ldap-auth.png"}]}},{label:"访问安全",icon:"mdi-security",hasConsumerPlugins:!0,description:"Protect your services with additional security layers",option:{column:[{name:"acl",hideIfNotInConsumerContext:!0,description:"Control which consumers can access APIs",img:"/img/plugins/acl.png"},{name:"cors",hideIfNotInConsumerContext:!0,description:"Allow developers to make requests from the browser",img:"/img/plugins/cors.png"},{name:"ip-restriction",description:"Whitelist or blacklist IPs that can make requests",img:"/img/plugins/ip-restriction.png"},{name:"bot-detection",hideIfNotInConsumerContext:!0,description:"Detects and blocks bots or custom clients",img:"/img/plugins/bot-detection.png"}]}},{label:"请求控制",icon:"mdi-traffic-light",hasConsumerPlugins:!0,description:"Manage, throttle and restrict inbound and outbound API traffic",option:{column:[{name:"rate-limiting",description:"Rate-limit how many HTTP requests a developer can make",img:"/img/plugins/rate-limiting.png"},{name:"response-ratelimiting",description:"Rate-Limiting based on a custom response header value",img:"/img/plugins/response-ratelimiting.png"},{name:"request-size-limiting",description:"Block requests with bodies greater than a specific size",img:"/img/plugins/request-size-limiting.png"},{name:"request-termination",description:"This plugin terminates incoming requests with a specified status code and message. This allows to (temporarily) block an API or Consumer.",img:"/img/plugins/request-termination.png"}]}},{label:"Serverless",description:"Invoke serverless functions in combination with other plugins:",icon:"mdi-cloud-sync",hasConsumerPlugins:!0,option:{column:[{name:"aws-lambda",description:"Invoke an AWS Lambda function from Kong. It can be used in combination with other request plugins to secure, manage or extend the function.",img:"/img/plugins/aws-lambda.png"},{name:"pre-function",hideIfNotInConsumerContext:!0,description:"Dynamically run Lua code from Kong during access phase.",img:"/img/plugins/kong.svg"},{name:"post-function",hideIfNotInConsumerContext:!0,description:"Dynamically run Lua code from Kong during access phase.",img:"/img/plugins/kong.svg"},{name:"azure-functions",description:"This plugin invokes Azure Functions. It can be used in combination with other request plugins to secure, manage or extend the function",img:"/img/plugins/azure-functions.png"}]}},{label:"分析监控",hasConsumerPlugins:!0,icon:"mdi-chart-bar",description:"Visualize, inspect and monitor APIs and microservices traffic",option:{column:[{name:"galileo",description:"Business Intelligence Platform for APIs",img:"/img/plugins/galileo.png"},{name:"datadog",description:"Visualize API metrics on Datadog",img:"/img/plugins/datadog.png"},{name:"runscope",description:"API Performance Testing and Monitoring",img:"/img/plugins/runscope.png"},{name:"prometheus",description:"Expose metrics related to Kong and proxied upstream services in Prometheus exposition format",img:"/img/plugins/prometheus.png"},{name:"zipkin",description:"Propagate Zipkin distributed tracing spans, and report spans to a Zipkin server.",img:"/img/plugins/zipkin.png"}]}},{label:"处理转换",hasConsumerPlugins:!0,icon:"mdi-nfc-tap",description:"Transform request and responses on the fly on Kong",option:{column:[{name:"request-transformer",description:"Modify the request before hitting the upstream server",img:"/img/plugins/request-transformer.png"},{name:"response-transformer",description:"Modify the upstream response before returning it to the client",img:"/img/plugins/response-transformer.png"},{name:"correlation-id",description:"Correlate requests and responses using a unique ID",img:"/img/plugins/correlation-id.png"}]}},{label:"访问日志",hasConsumerPlugins:!0,icon:"mdi-content-paste",description:"Log requests and response data using the best transport for your infrastructure",option:{column:[{name:"tcp-log",description:"Send request and response logs to a TCP server",img:"/img/plugins/tcp-log.png"},{name:"udp-log",description:"Send request and response logs to an UDP server",img:"/img/plugins/udp-log.png"},{name:"http-log",description:"Send request and response logs to an HTTP server",img:"/img/plugins/http-log.png"},{name:"file-log",description:"Append request and response data to a log file on disk",img:"/img/plugins/file-log.png"},{name:"syslog",description:"Send request and response logs to Syslog",img:"/img/plugins/syslog.png"},{name:"statsd",description:"Send request and response logs to StatsD",img:"/img/plugins/statsd.png"},{name:"loggly",description:"Send request and response logs to Loggly",img:"/img/plugins/loggly.png"}]}}]},c=a("a573"),u=a("ecc3"),d={components:{upholdPlugins:u["default"]},data:function(){return{svgimage:'this.src="/img/plugins/kong.svg"',pluginGroupOption:l,fields:[],grade:{pluginBox:!1},cardoption:{addBtn:!1,span:8,props:{img:"img",title:"name",info:"description"}},plugin:{name:"",config:{}}}},created:function(){this.route&&(this.plugin["route"]={id:this.route.id}),this.service&&(this.plugin["service"]={id:this.service.id})},mounted:function(){this.initOptions()},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission","isDevProfile","isProdProfile","systemProfile"])),props:{tabPosition:{required:!1},service:{required:!1},route:{required:!1}},methods:{initOptions:function(){var e=this;Object(c["a"])().then(function(t){var a=[],n=t.data,i=n.plugins;for(var s in i.available_on_server){var r=!1;e.pluginGroupOption.column.forEach(function(e){e.option.column.forEach(function(e){s==e["name"]&&(r=!0)})}),r||a.push({name:s,description:s,img:"/img/plugins/kong.svg"})}return a}).then(function(t){var a={label:"自定义",description:"Custom Plugins",icon:"mdi-account-box-outline",hasConsumerPlugins:!0,option:{column:[]}};t.length>0&&(a.option.column=t,e.pluginGroupOption.column.push(a))})},toAddPlugin:function(e){var t=this;this.plugin={name:"",config:{},service:this.service,route:this.route},this.plugin.name=e,Object(o["d"])(this.plugin.name).then(function(e){var a=e.data;t.fields=a.fields||[],t.grade.pluginBox=!0})},callback:function(){this.$emit("callback",{})}}},p=d,h=(a("068d"),a("2877")),m=Object(h["a"])(p,n,i,!1,null,null,null);t["default"]=m.exports},"81c1":function(e,t,a){},"81fd":function(e,t,a){},"82b1":function(e,t,a){},"82c1":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.showInRoot||e.value!=e.root,expression:"showInRoot || value!=root"}],staticClass:"inner-breadcrumb",staticStyle:{height:"1px",padding:"0 12px 10px"}},[a("el-breadcrumb",{staticClass:"breadcrumb",staticStyle:{float:"left"},attrs:{separator:"/"}},e._l(e.pathArr,function(t,n){return a("el-breadcrumb-item",{key:n},[t.disable&&n1?a("el-button",{staticStyle:{float:"right",padding:"0"},attrs:{type:"text"},on:{click:e.back}},[e._v("返回上一级")]):e._e()],1)},i=[],s=(a("a481"),{name:"InnerBreadcrumb",props:{value:{type:String},path:{type:Object,required:!0,default:{label:"一级页面",key:"1",children:[{key:"2A",label:"二级页面A"},{key:"2B",label:"二级页面B",disable:!0,children:[{key:"3",label:"三级页面"}]}]}},showBack:{type:Boolean,default:!1},showInRoot:{type:Boolean,default:!1},labelArgs:{type:Object,default:{}}},data:function(){return{pathMap:null,root:null,pathArr:[]}},watch:{value:function(e){this.buildPath(e)}},methods:{init:function(){var e=this.path;this.root=e.key;var t={},a=function e(a,n){if(a.parentKey=n,t[a.key]=a,a.children&&a.children.length)for(var i=0;i1)for(var e=this.pathArr.length-2;e>=0;e--){var t=this.pathArr[e];if(!t.disable)return void this.change(t.key)}console.warn("InnerBreadcrumb 没有非disalbe的上级路径")}},created:function(){},mounted:function(){this.init(),this.buildPath(this.value)}}),r=s,o=(a("354b"),a("2877")),l=Object(o["a"])(r,n,i,!1,null,null,null);t["default"]=l.exports},"848d":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-row",{staticStyle:{"margin-bottom":"5px","margin-left":"5px","margin-right":"5px"}},[a("el-col",{attrs:{span:24-e.span}},[e._t("menu")],2),a("el-col",{attrs:{span:e.span}},[a("el-input",{staticClass:"input-with-select",attrs:{clearable:"",size:"small",placeholder:e.placeholder},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}},[a("span",{staticStyle:{cursor:"pointer"},attrs:{slot:"append",type:"primary",plain:"",size:"small"},on:{click:e.loadData},slot:"append"},[a("i",{staticClass:"el-icon-search"}),e._v("\n 搜 索\n ")])])],1)],1)],1)},i=[],s=(a("7f7f"),a("6762"),a("2fdb"),a("cebc")),r=a("5880"),o={name:"searchBanner",data:function(){return{showItems:[],cacheItems:[],searchForm:null}},props:{handleList:{type:Function,default:null},placeholder:{required:!0},data:{required:!1},searchProps:{required:!1},page:{required:!0},span:{default:12},refreshBtn:{default:!0}},created:function(){var e=this;-1==this.systemProfile.id?this.$nextTick(function(t){e.$router.push("/wel/index")}):this.loadData()},computed:Object(s["a"])({},Object(r["mapGetters"])(["systemProfile"])),watch:{searchForm:function(e){this.page.currentPage=1,this.refresh(this.page,!1)}},methods:{loadData:function(){var e=this;this.searchForm=null,this.handleList().then(function(t){e.cacheItems=t||[],e.showItems=e.cacheItems,e.init()})},init:function(){this.page.currentPage=1,this.refresh(this.page,!1)},refresh:function(e,t){var a=this;this.searchForm&&""!==this.searchForm.trim()?this.showItems=this.cacheItems.filter(function(e){return a._filter(e)}):this.showItems=this.cacheItems,this.callback(this._slice(),t)},_slice:function(){this.page.total=this.showItems.length;var e=this.showItems.slice((this.page.currentPage-1)*this.page.pageSize,this.page.currentPage*this.page.pageSize);return e},callback:function(e,t){var a={data:e,total:this.showItems.length,refresh:t};this.$emit("search-change",a)},_filterArray:function(e,t){if(!t)return!1;for(var a=!1,n=0;n0?a("el-form-item",{attrs:{label:"Host"}},[a("item-tags",{attrs:{tags:n.hosts,name:"匹配路径",column:"paths",mode:"view"}})],1):e._e(),a("el-form-item",{attrs:{label:"路由PATH"}},[a("item-tags",{attrs:{tags:n.paths,name:"匹配路径",column:"paths",mode:"view"}})],1),a("el-form-item",{attrs:{label:"插件列表"}},[a("query-plugins",{attrs:{route:n,mode:"view"}})],1)],1)]}},{key:"hosts",fn:function(t){var n=t.row;return e._l(n.hosts,function(t){return a("el-tag",{key:t,attrs:{"disable-transitions":!1},on:{close:function(a){return e.handleClose(t)}}},[e._v(e._s(t))])})}},{key:"paths",fn:function(t){var n=t.row;return e._l(n.paths,function(t){return a("el-tag",{key:t,attrs:{"disable-transitions":!1},on:{close:function(a){return e.handleClose(t)}}},[e._v(e._s(t))])})}},{key:"menuRight",fn:function(t){return"view"!=e.mode?[a("el-button",{attrs:{icon:"el-icon-plus",size:"small",type:"primary"},on:{click:function(a){return e.toAddRoute(t.row,t.$index)}}},[e._v("新增路由")]),a("update-hosts",{attrs:{placement:"bottom-end",service:{id:e.service.id}},on:{callback:e.pluginCallback}})]:void 0}},{key:"menu",fn:function(t){return[a("el-button",{attrs:{icon:"el-icon-edit",size:"small",plain:"",type:"primary"},on:{click:function(a){return e.toEditRoute(t.row,t.$index)}}},[e._v("编辑")]),a("el-button",{attrs:{icon:"el-icon-edit",size:"small",plain:"",type:"danger"},on:{click:function(a){return e.handleTargetDel(t.row,t.$index)}}},[e._v("删除")])]}}],null,!0)},[a("template",{slot:"empty"},[e._v("暂无服务路由,请添加")])],2),e.grade.addPluginBox?a("el-dialog",{attrs:{title:"新增路由",width:"70%",visible:e.grade.addPluginBox,"append-to-body":""},on:{"update:visible":function(t){return e.$set(e.grade,"addPluginBox",t)}}},[a("uphold-route",{attrs:{route:e.routeForm,mode:"add"},on:{callback:e.pluginCallback}})],1):e._e(),e.grade.editPluginBox?a("el-dialog",{attrs:{title:"编辑路由",width:"70%",visible:e.grade.editPluginBox,"append-to-body":""},on:{"update:visible":function(t){return e.$set(e.grade,"editPluginBox",t)}}},[a("uphold-route",{attrs:{route:e.routeForm,mode:e.mode},on:{callback:e.pluginCallback}})],1):e._e()],1)},i=[],s=a("cebc"),r=a("5880"),o=a("fef3"),l=a("ceee"),c=a("3aa7"),u=a("ca60"),d=a("e8cd"),p=a("2e8b"),h={name:"QueryRoutes",components:{ItemTags:u["default"],upholdRoute:d["default"],queryPlugins:c["default"],updateHosts:p["default"]},data:function(){return{routingOption:o["l"],routeData:[],routeForm:{service:{id:this.service.id}},grade:{editPluginBox:!1,addPluginBox:!1}}},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission","isProdProfile","systemProfile"])),props:{service:{type:Object,required:!1},client:{required:!1},mode:{required:!1}},created:function(){this.handleList(),this.initOption()},methods:{initOption:function(){this.routingOption["menu"]="edit"==this.mode},toEditRoute:function(e,t){this.grade.editPluginBox=!0,this.grade.addPluginBox=!1,this.routeForm=e},toAddRoute:function(e,t){this.grade.editPluginBox=!1,this.grade.addPluginBox=!0,this.routeForm={service:{id:this.service.id}}},bindTags:function(){},expandChanges:function(e,t){t.length?(this.routingOption.expandRowKeys=[],e&&this.routingOption.expandRowKeys.push(e.id)):this.routingOption.expandRowKeys=[]},pluginCallback:function(){this.handleList(),this.grade.editPluginBox=!1,this.grade.addPluginBox=!1},handleList:function(e){var t=this;this.tableLoading=!0,this.client=this.client||{},Object(l["b"])(this.service,this.client).then(function(e){t.routeData=e.data.data})},handleTargetDel:function(e,t){var a=this,n="";this.isProdProfile&&(n="当前为生产环境,请谨慎操作! "),this.$confirm(n+"是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(l["d"])({id:e.id}).then(function(e){var t=e.data;0!=t.status?a.$errorInfo(t.errmsg):(a.$successInfo("删除成功"),a.handleList())})}).catch(function(){})}}},m=h,f=a("2877"),g=Object(f["a"])(m,n,i,!1,null,null,null);t["default"]=g.exports},"8b5b":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("el-tabs",e._l(e.envs,function(t){return a("el-tab-pane",{key:t,attrs:{index:t.label}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"icon-env"}),e._v("\n "+e._s(t.label)+"\n ")]),a("el-tabs",{attrs:{type:"border-card","tab-position":"left"}},e._l(t.groups,function(n){return a("el-tab-pane",{key:n},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(e._s(n.profileCode))]),a("uphold-env",{attrs:{client:{name:n.label,deployType:t.deployType,profileCode:n.profileCode,profile:n.profile,env:t.env,ab:n.value}}})],1)}),1)],1)}),1)],1)],1)},i=[],s=a("5176"),r=a.n(s),o=(a("7f7f"),a("cebc")),l=a("5880"),c=a("af62"),u=a("5640"),d=a("2256"),p={name:"client",components:{upholdEnv:d["default"]},data:function(){return{tableOption:u["b"],clientColumn:u["a"],isCollapse:!1,tableData:[],tableLoading:!1,clientForm:{},envs:[]}},created:function(){this.handleList(),this.findAllEnvs(),this.findActiveKongclient(),this.initOptions()},watch:{},mounted:function(){},computed:Object(o["a"])({},Object(l["mapGetters"])(["permission","userInfo"])),props:[],methods:{findAllEnvs:function(){var e=this;Object(c["f"])().then(function(t){e.envs=t.data})},initOptions:function(){this.permission.client_update||(this.tableOption["menu"]=!1)},findActiveKongclient:function(){var e=this;this.$store.dispatch("FindActiveClient",this.userInfo).then(function(t){e.activeClient=t})},handActiveClient:function(e){Object(c["h"])(this.userInfo.name,e).then(function(e){window.location.href.indexOf("#/wel/index")>0?window.location.reload():window.location="#/wel/index"})},toEditClient:function(e,t){this.grade.box=!0,this.clientForm=e},handlerefreshChange:function(e){this.handleList(this.tableSearch)},handleList:function(e){var t=this;this.tableLoading=!0,Object(c["c"])(r()({})).then(function(e){var a=e.data;t.tableData=a,t.tableLoading=!1})},handleClient:function(e,t){var a=this;this.clientForm&&this.clientForm.id?Object(c["i"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(a.$successInfo("修改成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("修改失败"),t()}):Object(c["a"])(this.clientForm).then(function(e){var n=e.data;0==n.status?(a.$successInfo("新增成功"),a.handleList(),a.grade.box=!1):a.$errorInfo("新增失败"),t()})},handlerDelete:function(e){var t=this;this.$confirm("是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(c["g"])(e).then(function(e){var a=e.data;0==a.status?(t.$successInfo("删除成功"),t.handleList()):t.$errorInfo("删除失败")})})}}},h=p,m=(a("a154"),a("df9f"),a("2877")),f=Object(m["a"])(h,n,i,!1,null,"8fc10c56",null);t["default"]=f.exports},"8d55":function(e,t,a){"use strict";a.d(t,"d",function(){return s}),a.d(t,"e",function(){return r}),a.d(t,"a",function(){return o}),a.d(t,"b",function(){return l}),a.d(t,"f",function(){return c}),a.d(t,"c",function(){return u});var n=a("b5c6"),i=a("074d"),s=function(e){return Object(n["a"])({url:i["a"].path+"/system/role",method:"post",data:e})},r=function(e){return Object(n["a"])({url:i["a"].path+"/system/role/"+e.id,method:"post",data:e})},o=function(e){return Object(n["a"])({url:i["a"].path+"/system/role/page",method:"get",params:e})},l=function(){return Object(n["a"])({url:i["a"].path+"/system/role/page",method:"get",params:{start:0,limit:1e3}})},c=function(e){return Object(n["a"])({url:i["a"].path+"/system/role/updateRoleMenu",method:"post",data:e})},u=function(e){return Object(n["a"])({url:i["a"].path+"/system/role/"+e.id+"/menu",method:"post"})}},"8f81":function(e,t,a){"use strict";var n=a("6383"),i=a.n(n);i.a},9277:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("router-view")},i=[],s=a("2877"),r={},o=Object(s["a"])(r,n,i,!1,null,null,null);t["default"]=o.exports},"97a1":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("basic-container",[a("el-container",[a("el-aside",{attrs:{width:"300px"}},[a("el-input",{attrs:{placeholder:"输入关键字进行过滤"},model:{value:e.filterText,callback:function(t){e.filterText=t},expression:"filterText"}}),a("el-tree",{ref:"menuTree",attrs:{data:e.menuAll,props:e.menuOption,"node-key":"id",accordion:"","highlight-current":"","expand-on-click-node":!1,"default-expanded-keys":e.keys,"filter-node-method":e.filterNode},on:{"node-click":e.handleNodeClick}})],1),a("el-main",["menu"==e.systemFunction.menuType?a("uphold-menu",{attrs:{systemFunction:e.systemFunction,mode:e.mode},on:{callback:e.loadAllMenu}}):e._e(),"point"==e.systemFunction.menuType?a("uphold-child-menu",{attrs:{systemFunction:e.systemFunction,mode:"edit",options:e.functionPointColumn},on:{callback:e.loadAllMenu}}):e._e()],1)],1)],1)},i=[],s=(a("7f7f"),a("cebc")),r=a("5880"),o=a("ef70"),l=(a("c54a"),a("ca05")),c=a("e349"),u=a("78ad"),d=a("5791"),p={name:"menu",components:{upholdMenu:u["default"],upholdChildMenu:d["default"]},data:function(){return{filterText:"",functionPointColumn:l["b"],menuAll:[],obj:{},keys:[-1],systemFunction:{parentId:-1,useYn:"y",sortOrder:999,menuType:"menu"},menuOption:l["c"],USERTYPE:c["a"].USERTYPE,mode:"add"}},watch:{filterText:function(e){this.$refs.menuTree.filter(e)}},created:function(){this.loadAllMenu()},mounted:function(){},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission"])),methods:{loadAllMenu:function(){var e=this;Object(o["b"])().then(function(t){var a=t.data;e.form={},e.formStatus="",e.menuAll=a.data})},filterNode:function(e,t){return!e||-1!==t.name.indexOf(e)},handleNodeClick:function(e){this.currentType=e.type,this.mode="edit",this.systemFunction={parentId:-1,useYn:"y"},this.systemFunction=_.assign({},e),this.keys=[this.systemFunction.id]}}},h=p,m=(a("f5f5"),a("2877")),f=Object(m["a"])(h,n,i,!1,null,"d06a673e",null);t["default"]=f.exports},"9d0c":function(e,t,a){"use strict";var n=a("5c8e"),i=a.n(n);i.a},"9d5c":function(e,t,a){},"9f79":function(e,t,a){},"9fc0":function(e,t,a){},"9fee":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"config-list"},[a("el-radio-group",{model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},[a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_EVERY",disabled:e.disabled}},[e._v("每时")])],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_RANGE",disabled:e.disabled}},[e._v("区间")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueRange.start,callback:function(t){e.$set(e.valueRange,"start",t)},expression:"valueRange.start"}}),e._v("时\n 至\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueRange.end,callback:function(t){e.$set(e.valueRange,"end",t)},expression:"valueRange.end"}}),e._v("时\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_LOOP",disabled:e.disabled}},[e._v("循环")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueLoop.start,callback:function(t){e.$set(e.valueLoop,"start",t)},expression:"valueLoop.start"}}),e._v("时开始,间隔\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueLoop.interval,callback:function(t){e.$set(e.valueLoop,"interval",t)},expression:"valueLoop.interval"}}),e._v("时\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_SPECIFY",disabled:e.disabled}},[e._v("指定")]),a("div",{staticClass:"list"},[a("el-checkbox-group",{model:{value:e.valueList,callback:function(t){e.valueList=t},expression:"valueList"}},e._l(e.maxValue+1,function(t){return a("el-checkbox",{key:"key-"+(t-1),staticClass:"list-check-item",attrs:{label:t-1,disabled:e.type!=e.TYPE_SPECIFY||e.disabled}})}),1)],1)],1)])],1)},i=[],s=a("4b3a"),r={name:"minute",mixins:[s["a"]],data:function(){return{}},watch:{value_c:function(e,t){this.$emit("change",e)}},created:function(){this.DEFAULT_VALUE="*",this.minValue=0,this.maxValue=23,this.valueRange.start=0,this.valueRange.end=23,this.valueLoop.start=0,this.valueLoop.interval=1,this.parseProp(this.prop)}},o=r,l=(a("adc9"),a("2877")),c=Object(l["a"])(o,n,i,!1,null,"c0640844",null);t["default"]=c.exports},a03a:function(e,t,a){},a154:function(e,t,a){"use strict";var n=a("a03a"),i=a.n(n);i.a},a17a:function(e,t,a){},a495:function(e,t,a){"use strict";var n=a("17d3"),i=a.n(n);i.a},a573:function(e,t,a){"use strict";a.d(t,"a",function(){return s}),a.d(t,"b",function(){return r});var n=a("b5c6"),i=a("074d"),s=function(){return Object(n["a"])({url:i["a"].path+"/kong/api/info",method:"get"})},r=function(){return Object(n["a"])({url:i["a"].path+"/kong/api/status",method:"get"})}},a5f6:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("basic-container",[a("div",[a("el-row",{staticStyle:{"margin-bottom":"5px","margin-left":"5px","margin-right":"5px"}},[a("el-col",{attrs:{span:"2"}},[e.permission.role_add?a("el-button",{attrs:{size:"small",icon:"el-icon-plus",type:"primary"},on:{click:e.toAdd}},[e._v("新建角色")]):e._e()],1),a("el-col",{attrs:{span:"22"}},[a("el-input",{staticClass:"input-with-select",attrs:{size:"small",placeholder:"请输入角色名称",maxlength:"20",clearable:""},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}},[a("el-button",{attrs:{slot:"append",icon:"el-icon-search"},slot:"append"})],1)],1)],1)],1),a("avue-crud",{ref:"crud",staticStyle:{cursor:"pointer"},attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading,page:e.page},on:{"row-save":e.handleSave,"row-update":e.handleUpdate,"refresh-change":e.handlerefreshChange,"current-change":e.handleCurrentChange,"size-change":e.handleCurrentSize,"search-change":e.handleSearchChange},scopedSlots:e._u([{key:"messageContent",fn:function(e){var t=e.row;return[a("item-tags",{attrs:{tags:t.messageContent,column:"messageContent",mode:"view"}})]}},{key:"menu",fn:function(t){return[e.permission.role_update?a("el-button",{attrs:{size:"mini",icon:"el-icon-edit",plain:"",type:"primary"},on:{click:function(a){return e.toEdit(t)}}},[e._v("编辑")]):e._e(),e.permission.role_config?a("el-button",{attrs:{size:"mini",plain:"",type:"success"},on:{click:function(a){return e.toConfigMenu(t.row,t.index)}}},[e._v("配置权限")]):e._e(),e.permission.role_config?a("el-button",{attrs:{size:"mini",icon:"el-icon-view",plain:""},on:{click:function(a){return e.toConfigViewMenu(t.row,t.index)}}},[e._v("查看")]):e._e()]}}]),model:{value:e.objData,callback:function(t){e.objData=t},expression:"objData"}}),e.configMenuBox?a("el-drawer",{attrs:{title:"配置角色权限",size:"40%",visible:e.configMenuBox},on:{"update:visible":function(t){e.configMenuBox=t}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"99%"}},[a("uphold-role",{attrs:{systemRole:e.systemRole,mode:e.mode},on:{callback:e.handleList}})],1)]):e._e()],1)},i=[],s=a("5176"),r=a.n(s),o=a("cebc"),l=a("5880"),c=a("ca05"),u=a("8d55"),d=a("ca60"),p=a("4703"),h={name:"syncLog",components:{ItemTags:d["default"],upholdRole:p["default"]},data:function(){return{objData:{},tableSearch:{},tableOption:c["d"],tableData:[],tablePage:1,tableSize:10,tableLoading:!1,currentRule:{},systemRole:{},mode:"add",form:{},configMenuBox:!1,searchForm:null,users:null,userLists:[],options:[],templates:{span:8,data:[]},page:{total:0,currentPage:1,pageSize:10}}},created:function(){this.handleList(),this.init()},computed:Object(o["a"])({},Object(l["mapGetters"])(["permission"])),props:{logType:{required:!0}},watch:{searchForm:function(e){this.page.currentPage=1,this.handleList()},users:function(e){this.page.currentPage=1,this.handleList()}},methods:{toConfigViewMenu:function(e,t){this.configMenuBox=!0,this.mode="view",this.systemRole=e},toConfigMenu:function(e,t){this.configMenuBox=!0,this.mode="add",this.systemRole=e},toAdd:function(){this.$refs.crud.rowAdd()},toEdit:function(e){this.$refs.crud.rowEdit(e.row,e.index)},init:function(){},handleRowClick:function(e){this.currentRule=e},handlerTrace:function(){var e=this;this.$refs["form"].validate(function(t){t&&(e.handlerTraceDetail=!0)})},handlerefreshChange:function(e){this.handleList(this.tableSearch)},handleCurrentChange:function(e){this.tablePage=e,this.handlerefreshChange()},handleCurrentSize:function(e){this.tableSize=e,this.handlerefreshChange()},handleSearchChange:function(e){this.tableSearch=e,this.handleList(this.tableSearch)},handleSave:function(e,t){var a=this;Object(u["d"])(e).then(function(e){var n=e.data;0!==n.status?a.$message({showClose:!0,message:n.errmsg,type:"warning"}):(a.tablePage=1,a.handleList(),a.$message({showClose:!0,message:"新增成功",type:"success"})),t()})},handleUpdate:function(e,t,a){var n=this;Object(u["e"])(e).then(function(e){var t=e.data;0!==t.status?n.$message({showClose:!0,message:t.errmsg,type:"warning"}):(n.tablePage=1,n.handleList(),n.$message({showClose:!0,message:"修改成功",type:"success"}))}),a()},handleList:function(e){var t=this;this.tableLoading=!0,this.alertRuleBox=!1,this.form={name:this.searchForm},Object(u["a"])(r()({},this.form,{start:this.tablePage,limit:this.tableSize})).then(function(e){var a=e.data.data;t.templates.data=a.items,t.tableData=a.items,t.page={total:a.totalCount,currentPage:t.tablePage,pageSize:t.tableSize},t.tableLoading=!1})}}},m=h,f=(a("68c7"),a("2877")),g=Object(f["a"])(m,n,i,!1,null,null,null);t["default"]=g.exports},a633:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("search-banner",{ref:"routeSearch",attrs:{placeholder:"请输入Name、Upstream Name或Host",handleList:e.handleList,span:20,searchProps:e.searchProps,page:e.page},on:{"search-change":e.searchChange}},[a("template",{slot:"menu"},[e.permission.service_add||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-plus",size:"small",type:"primary"},on:{click:function(t){return e.handleGrade({})}}},[e._v("新增")]):e._e(),e.permission.service_sync?a("el-button",{attrs:{icon:"el-icon-refresh",size:"small",type:"success"},on:{click:e.handlerSyncBox}},[e._v("同步Services")]):e._e()],1)],2),a("avue-crud",{attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading,page:e.page},on:{"row-click":e.handleRowClick,"row-save":e.handleSave,"row-del":e.handleDel,"refresh-change":e.handlerefreshChange,"current-change":e.handleCurrentChange,"size-change":e.handleCurrentSize,"search-change":e.handleSearchChange},scopedSlots:e._u([{key:"expand",fn:function(e){var t=e.row;return[a("el-form",{staticStyle:{"margin-left":"10px"},attrs:{"label-width":"80px","label-position":"top"}},[a("el-form-item",{attrs:{label:"代理列表"}},[a("targets",{attrs:{mode:"view",upstream:{id:t.host}}})],1),a("el-form-item",{attrs:{label:"路由列表"}},[a("query-routes",{attrs:{service:t,mode:"view"}})],1),a("el-form-item",{attrs:{label:"插件列表"}},[a("service-plugins",{attrs:{service:t}})],1)],1)]}},{key:"name",fn:function(t){var n=t.row;return[a("el-link",{attrs:{underline:!1,type:"success"},on:{click:function(t){return e.toDetail(n)}}},[e._v(e._s(n.name))])]}},{key:"menu",fn:function(t){return[e.permission.service_update||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",plain:"",type:"primary"},on:{click:function(a){return e.handleGrade(t.row,t.$index)}}},[e._v("编辑")]):e._e(),e.permission.service_delete||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-delete",size:"small",plain:"",type:"danger"},on:{click:function(a){return e.handleDel(t.row,t.$index)}}},[e._v("删除")]):e._e()]}}])}),e.grade.box?a("el-drawer",{attrs:{title:"服务管理",size:"50%",visible:e.grade.box},on:{"update:visible":function(t){return e.$set(e.grade,"box",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("upload-service",{attrs:{service:e.form,mode:e.mode},on:{callback:e.callback}})],1)]):e._e(),e.grade.syncBox?a("el-drawer",{attrs:{size:"100%",title:e.同步服务配置,visible:e.grade.syncBox,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){return e.$set(e.grade,"syncBox",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("sync-service")],1)]):e._e(),e.grade.drawerDetail?a("el-drawer",{attrs:{size:"100%",title:"'"+e.form.name+"' 详情",visible:e.grade.drawerDetail,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){return e.$set(e.grade,"drawerDetail",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",width:"100%",height:"90%"}},[a("upload-service",{attrs:{service:e.form,mode:e.mode},on:{callback:e.callback}})],1)]):e._e()],1)],1)},i=[],s=a("5176"),r=a.n(s),o=a("cebc"),l=a("fef3"),c=a("5880"),u=a("fe19"),d=a("2bdd"),p=a("537a"),h=a("848d"),m=a("8b12"),f=a("04c3"),g=a("3dba"),b={name:"strategy",components:{syncService:u["default"],searchBanner:h["default"],uploadService:d["default"],servicePlugins:p["default"],queryRoutes:m["default"],targets:f["default"]},data:function(){return{tableSearch:{},tableOption:l["j"],serviceColumn:l["i"],searchProps:[{name:"name"},{name:"host"}],tableData:[],tablePage:1,tableSize:10,tableLoading:!1,form:{},page:{total:0,currentPage:1,pageSize:10},grade:{box:!1,syncBox:!1,drawerDetail:!1},mode:"add"}},computed:Object(o["a"])({},Object(c["mapGetters"])(["permission","isDevProfile","isProdProfile","systemProfile"])),props:{type:{type:String,required:!1}},created:function(){var e=this;-1==this.systemProfile.id?this.$nextTick(function(t){e.$router.push("/wel/index")}):this.initOptions()},methods:{initOptions:function(){this.isDevProfile?this.tableOption["menu"]=!0:this.permission.service_update||(this.tableOption["menu"]=!1)},toDetail:function(e){this.form=e,this.grade.drawerDetail=!0,this.mode="view"},callback:function(e){this.form=e,this.mode="edit",this.reloadDataList()},handlerSyncBox:function(){this.grade.syncBox=!0},handleGrade:function(e,t){this.grade.box=!0,e&&e.id?(this.form=e,this.mode="edit"):(this.form={},this.mode="add")},handleCurrentChange:function(e){this.tablePage=e,this.refreshTableList(!0)},handleCurrentSize:function(e){this.tableSize=e,this.refreshTableList(!1)},handleList:function(e){var t=this;return this.tableLoading=!0,Object(g["a"])(r()({},e)).then(function(e){var a=e.data;return t.tableLoading=!1,a.data||[]})},refreshTableList:function(e){this.initPage(e),this.$refs.routeSearch.refresh(this.page,e)},initPage:function(e){e||(this.tablePage=1),this.page.currentPage=this.tablePage,this.page.pageSize=this.tableSize},searchChange:function(e){this.tableData=e.data},reloadDataList:function(){this.initPage(!1),this.$refs.routeSearch.loadData()},handleRowClick:function(e,t,a){this.type&&this.$emit("selectionData",e)},handleDel:function(e,t){var a=this,n="";this.isProdProfile&&(n="当前为生产环境,请谨慎操作! "),this.$confirm(n+"是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(g["c"])({id:e.id}).then(function(e){var t=e.data;0!=t.status?a.$errorInfo(t.errmsg):(a.reloadDataList(),a.$successInfo("删除成功"))})}).catch(function(){})}}},v=b,y=a("2877"),_=Object(y["a"])(v,n,i,!1,null,null,null);t["default"]=_.exports},a8c1:function(e,t,a){"use strict";var n=a("d6b3"),i=a.n(n);i.a},aab4:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("search-banner",{ref:"routeSearch",attrs:{span:21,placeholder:"请输入插件名称、服务名称或路由名称",handleList:e.handleList,searchProps:e.searchProps,page:e.page},on:{"search-change":e.searchChange}},[a("template",{slot:"menu"},[e.permission.plugin_add||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-plus",size:"small",type:"primary"},on:{click:function(t){return e.handleGrade({})}}},[e._v("新增全局插件")]):e._e()],1)],2),a("avue-crud",{attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading,page:e.page},on:{"row-click":e.handleRowClick,"row-save":e.handleSave,"row-del":e.handleDel,"current-change":e.handleCurrentChange,"size-change":e.handleCurrentSize},scopedSlots:e._u([{key:"menuLeft",fn:function(e){}},{key:"enabled",fn:function(t){var n=t.row;return[e.permission.plugin_update?a("el-button",{directives:[{name:"show",rawName:"v-show",value:n.enabled,expression:"row.enabled"}],attrs:{plain:"",size:"mini",type:"success"},on:{click:function(t){return e.handlerPluginUpdate(n,!1)}}},[e._v("启用")]):e._e(),e.permission.plugin_update?a("el-button",{directives:[{name:"show",rawName:"v-show",value:!n.enabled,expression:"!row.enabled"}],attrs:{plain:"",size:"mini",type:"danger"},on:{click:function(t){return e.handlerPluginUpdate(n,!0)}}},[e._v("未启用")]):e._e(),e.permission.plugin_update?e._e():a("el-button",{directives:[{name:"show",rawName:"v-show",value:n.enabled,expression:"row.enabled"}],attrs:{plain:"",size:"mini",type:"success",disabled:""}},[e._v("启用")]),e.permission.plugin_update?e._e():a("el-button",{directives:[{name:"show",rawName:"v-show",value:!n.enabled,expression:"!row.enabled"}],attrs:{plain:"",size:"mini",type:"danger",disabled:""}},[e._v("未启用")])]}},{key:"name",fn:function(t){var n=t.row;return[a("el-link",{attrs:{underline:!1,type:"success"},on:{click:function(t){return e.toDetailPlugin(n)}}},[e._v(e._s(n.name))])]}},{key:"menu",fn:function(t){return[e.permission.plugin_update||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",plain:"",type:"primary"},on:{click:function(a){return e.toEditPlugin(t.row,t.$index)}}},[e._v("编辑")]):e._e(),e.permission.plugin_delete||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-delete",size:"small",plain:"",type:"danger"},on:{click:function(a){return e.handleDel(t.row,t.$index)}}},[e._v("删除")]):e._e()]}}])}),e.grade.pluginBox?a("el-dialog",{attrs:{title:"编辑插件",width:"70%",visible:e.grade.pluginBox},on:{"update:visible":function(t){return e.$set(e.grade,"pluginBox",t)}}},[a("uphold-plugin",{attrs:{plugin:e.plugin,edit:"edit",fields:e.fields},on:{callback:e.refreshList}})],1):e._e(),e.grade.box?a("el-dialog",{attrs:{title:"新增全局插件",width:"70%",visible:e.grade.box},on:{"update:visible":function(t){return e.$set(e.grade,"box",t)}}},[a("list-plugin",{on:{callback:e.reloadDataList}})],1):e._e(),e.grade.drawerDetail?a("el-drawer",{attrs:{size:"45%",title:"'"+e.plugin.name+"' 详情",visible:e.grade.drawerDetail,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){return e.$set(e.grade,"drawerDetail",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("json-viewer",{attrs:{value:e.plugin,"expand-depth":5,copyable:"",sort:""}})],1)]):e._e()],1)],1)},i=[],s=a("5176"),r=a.n(s),o=(a("7f7f"),a("cebc")),l=a("fef3"),c=a("5880"),u=a("468b"),d=a("a573"),p=a("7e8d"),h=a("848d"),m=a("ecc3"),f={name:"plugin",components:{listPlugin:p["default"],searchBanner:h["default"],upholdPlugin:m["default"]},data:function(){return{tableSearch:{},tableOption:l["e"],searchProps:[{name:"name"},{name:"applyObject",type:"object",childName:"name"}],plugins:[],fields:[],plugin:{},tableData:[],tablePage:1,tableSize:10,tableLoading:!1,page:{total:0,currentPage:1,pageSize:10},grade:{box:!1,pluginBox:!1,drawerDetail:!1}}},computed:Object(o["a"])({},Object(c["mapGetters"])(["permission","isDevProfile","isProdProfile","systemProfile"])),props:{type:{type:String,required:!1}},created:function(){var e=this;-1==this.systemProfile.id?this.$nextTick(function(t){e.$router.push("/wel/index")}):(this.queryInfo(),this.initOptions())},methods:{initOptions:function(){this.isDevProfile?this.tableOption["menu"]=!0:this.permission.plugin_update||(this.tableOption["menu"]=!1)},handlerPluginUpdate:function(e,t){var a=this;e.enabled=t,Object(u["f"])(e).then(function(e){a.handleList(a.tableSearch)})},toDetailPlugin:function(e,t){this.grade.drawerDetail=!0,this.plugin=e},toEditPlugin:function(e,t){var a=this;this.plugin=e,Object(u["d"])(this.plugin.name).then(function(e){var t=e.data;a.fields=t.fields||[],a.grade.pluginBox=!0})},handleGrade:function(e,t){this.grade.box=!0},refreshList:function(){this.grade.box=!1,this.grade.pluginBox=!1,this.initPage(!0),this.$refs.routeSearch.refresh(this.page,!0)},queryInfo:function(){var e=this;Object(d["a"])().then(function(t){var a=t.data,n=a.plugins;e.plugins=n.available_on_server})},handleCurrentChange:function(e){this.tablePage=e,this.refreshTableList(!0)},handleCurrentSize:function(e){this.tableSize=e,this.refreshTableList(!1)},handleList:function(e){var t=this;return this.tableLoading=!0,Object(u["a"])(r()({},e)).then(function(e){var a=e.data;return t.tableLoading=!1,a.data||[]})},refreshTableList:function(e){this.initPage(e),this.$refs.routeSearch.refresh(this.page,e)},initPage:function(e){e||(this.tablePage=1),this.page.currentPage=this.tablePage,this.page.pageSize=this.tableSize},searchChange:function(e){this.tableData=e.data},reloadDataList:function(){this.initPage(!1),this.$refs.routeSearch.loadData()},handleSave:function(e,t,a){var n=this;strategySave(e).then(function(e){t();var a=e.data.data;a.retBool?n.$successInfo("添加成功"):n.$errorInfo(a.message),console.log("d"),n.reloadDataList()})},handleRowClick:function(e,t,a){this.type&&this.$emit("selectionData",e)},handleDel:function(e,t){var a=this,n="";this.isProdProfile&&(n="当前为生产环境,请谨慎操作! "),this.$confirm(n+"是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(u["g"])({id:e.id}).then(function(e){var t=e.data;0!=t.status?a.$errorInfo(t.errmsg):(a.$successInfo("删除成功"),a.reloadDataList())})}).catch(function(){})}}},g=f,b=(a("8f81"),a("2877")),v=Object(b["a"])(g,n,i,!1,null,null,null);t["default"]=v.exports},ac57:function(e,t,a){},adc9:function(e,t,a){"use strict";var n=a("e255"),i=a.n(n);i.a},b012:function(e,t){function a(e,t,a){var n,i,s,r,o;function l(){var c=Date.now()-r;c=0?n=setTimeout(l,t-c):(n=null,a||(o=e.apply(s,i),s=i=null))}null==t&&(t=100);var c=function(){s=this,i=arguments,r=Date.now();var c=a&&!n;return n||(n=setTimeout(l,t)),c&&(o=e.apply(s,i),s=i=null),o};return c.clear=function(){n&&(clearTimeout(n),n=null)},c.flush=function(){n&&(o=e.apply(s,i),s=i=null,clearTimeout(n),n=null)},c}a.debounce=a,e.exports=a},b355:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"config-list"},[a("el-radio-group",{model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},[a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_NOT_SET",disabled:e.disableChoice}},[e._v("不设置")]),a("span",{staticClass:"tip-info"},[e._v("日和周只能设置其中之一")])],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_RANGE",disabled:e.disableChoice}},[e._v("区间")]),e._v("从\n "),a("el-select",{staticClass:"w80",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disableChoice},model:{value:e.valueRange.start,callback:function(t){e.$set(e.valueRange,"start",t)},expression:"valueRange.start"}},e._l(e.WEEK_MAP,function(t,n){return a("el-option",{key:"week-pre-Lf13-"+t,attrs:{value:t}},[e._v(e._s(n))])}),1),e._v("至\n "),a("el-select",{staticClass:"w80",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disableChoice},model:{value:e.valueRange.end,callback:function(t){e.$set(e.valueRange,"end",t)},expression:"valueRange.end"}},e._l(e.WEEK_MAP,function(t,n){return a("el-option",{key:"week-next-1fas-"+t,attrs:{value:t}},[e._v(e._s(n))])}),1)],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_LOOP",disabled:e.disableChoice}},[e._v("循环")]),e._v("从\n "),a("el-select",{staticClass:"w80",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disableChoice},model:{value:e.valueLoop.start,callback:function(t){e.$set(e.valueLoop,"start",t)},expression:"valueLoop.start"}},e._l(e.WEEK_MAP,function(t,n){return a("el-option",{key:"week-pre-Lf13-"+t,attrs:{value:t}},[e._v(e._s(n))])}),1),e._v("开始,间隔\n "),a("InputNumber",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disableChoice,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueLoop.interval,callback:function(t){e.$set(e.valueLoop,"interval",t)},expression:"valueLoop.interval"}}),e._v("天\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_SPECIFY",disabled:e.disableChoice}},[e._v("指定")]),a("div",{staticClass:"list"},[a("el-checkbox-group",{model:{value:e.valueList,callback:function(t){e.valueList=t},expression:"valueList"}},e._l(e.WEEK_MAP,function(t,n){return a("el-checkbox",{key:"key-01jfs-"+t,staticClass:"list-check-item",attrs:{label:t,disabled:e.type!=e.TYPE_SPECIFY||e.disableChoice}},[a("span",[e._v(e._s(n))])])}),1)],1)],1)])],1)},i=[],s=a("4b3a"),r=(a("3b2b"),a("a481"),a("a4bb")),o=a.n(r),l=(a("ac6a"),{SUN:"0",MON:"1",TUE:"2",WED:"3",THU:"4",FRI:"5",SAT:"6"}),c=function(e){return e&&(o()(l).forEach(function(t){e=e.replace(new RegExp(t,"g"),l[t])}),e=e.replace(new RegExp("7","g"),"0")),e},u={"周日":0,"周一":1,"周二":2,"周三":3,"周四":4,"周五":5,"周六":6},d={name:"week",mixins:[s["a"]],props:{day:{type:String,default:"*"}},data:function(){return{WEEK_MAP:u,WEEK_MAP_EN:l}},computed:{disableChoice:function(){return this.day&&"?"!==this.day||this.disabled}},watch:{value_c:function(e,t){this.updateValue()},day:function(e){this.updateValue()}},methods:{updateValue:function(){this.$emit("change",this.disableChoice?"?":this.value_c)},preProcessProp:function(e){return c(e)}},created:function(){this.DEFAULT_VALUE="*",this.minValue=0,this.maxValue=6,this.valueRange.start=0,this.valueRange.end=6,this.valueLoop.start=2,this.valueLoop.interval=1,this.parseProp(this.prop)}},p=d,h=(a("6229"),a("2877")),m=Object(h["a"])(p,n,i,!1,null,"5ad3b3fb",null);t["default"]=m.exports},b377:function(e,t,a){"use strict";var n=a("9f79"),i=a.n(n);i.a},b5d7:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"input-cron"},[a("el-input",{staticStyle:{width:"auto"},attrs:{placeholder:e.placeholder,disabled:e.disabled},model:{value:e.editCronValue,callback:function(t){e.editCronValue=t},expression:"editCronValue"}},[a("a",{staticClass:"config-btn",attrs:{slot:"append",disabled:e.disabled},on:{click:e.showConfigDlg},slot:"append"},[a("Icon",{staticStyle:{"margin-right":"5px"},attrs:{type:"ios-calendar-outline"}}),e._v("配置\n ")],1)]),a("el-modal",{attrs:{title:"配置Cron表达式",closable:!0,width:""+(e.width+50),"footer-hide":!0},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[a("div",[a("easy-cron",{style:"width: "+e.width+"px",attrs:{exeStartTime:e.exeStartTime,hideYear:e.hideYear,remote:e.remote,hideSecond:e.hideSecond},model:{value:e.editCronValue,callback:function(t){e.editCronValue=t},expression:"editCronValue"}})],1)])],1)},i=[],s=(a("c5f6"),a("4451")),r={name:"input-cron",model:{prop:"cronValue",event:"change"},props:{cronValue:{type:String,default:""},width:{type:Number,default:700},placeholder:{type:String,default:"请输入cron表达式"},disabled:{type:Boolean,default:!1},exeStartTime:{type:[Number,String,Object],default:0},hideSecond:{type:Boolean,default:!1},hideYear:{type:Boolean,default:!1},remote:{type:Function,default:null}},data:function(){return{editCronValue:this.cronValue,show:!1}},watch:{cronValue:function(e,t){e!==this.editCronValue&&(this.editCronValue=e)},editCronValue:function(e,t){this.$emit("change",e)}},methods:{showConfigDlg:function(){this.disabled||(this.show=!0)}},components:{EasyCron:s["default"]}},o=r,l=(a("e928"),a("2877")),c=Object(l["a"])(o,n,i,!1,null,"97623ad2",null);t["default"]=c.exports},b874:function(e,t,a){"use strict";var n=a("82b1"),i=a.n(n);i.a},b9cf:function(e,t,a){},ba9e:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-collapse",{model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},[a("avue-form",{ref:"form",attrs:{option:e.activeHealthCheckOption},on:{submit:e.handleUpstreamUpdate},scopedSlots:e._u([{key:"fail_http_statuses",fn:function(t){return[e._v("\n "+e._s(t)+"\n "),a("item-tags",{attrs:{tags:e.activeHealthForm.fail_http_statuses,name:"",column:"fail_http_statuses",mode:e.mode},on:{sendTag:e.bindTags}})]}},{key:"http_statuses",fn:function(t){return[e._v("\n "+e._s(t)+"\n "),a("item-tags",{attrs:{tags:e.activeHealthForm.http_statuses,name:"",column:"http_statuses",mode:e.mode},on:{sendTag:e.bindTags}})]}}]),model:{value:e.activeHealthForm,callback:function(t){e.activeHealthForm=t},expression:"activeHealthForm"}},["view"!=e.mode?a("template",{slot:"menuForm"},[a("el-button",{staticClass:"el-icon-check",attrs:{type:"primary"},on:{click:e.handlerSubmit}},[e._v("提 交")]),a("el-button",{staticClass:"el-icon-delete",on:{click:e.handleEmpty}},[e._v("清 空")])],1):e._e()],2)],1)],1)},i=[],s=a("5176"),r=a.n(s),o=(a("ac6a"),a("fef3")),l=a("2ed6"),c=a("ca60"),u={name:"healthCheck",components:{ItemTags:c["default"]},data:function(){return{activeHealthCheckOption:o["a"],passiveHealthCheckOption:o["d"],targetColumn:o["m"],activeHealthForm:{http_statuses:["200","304"],fail_http_statuses:["429","404","500","501","502","503","504","505"]},passiveHealthForm:{},activeNames:"active",grade:{box:!0}}},props:{upstream:{type:Object,required:!1},mode:{required:!0}},created:function(){console.log(this.upstream),this.initform(this.upstream),this.initOptions()},methods:{initOptions:function(){var e=this;this.activeHealthCheckOption.group.forEach(function(t){t.column.forEach(function(t){t["disabled"]="view"==e.mode})})},bindTags:function(e){this.activeHealthForm=r()(this.activeHealthForm,e)},handlerSubmit:function(){this.$refs.form.submit()},initform:function(e){if(e.healthchecks){var t=_.cloneDeep(e.healthchecks.active);_.cloneDeep(e.healthchecks.passive);this.activeHealthForm=t,this.activeHealthForm.http_statuses=t.healthy.http_statuses,this.activeHealthForm.successes=t.healthy.successes,this.activeHealthForm.fail_http_statuses=t.unhealthy.http_statuses,this.activeHealthForm.http_failures=t.unhealthy.http_failures,this.activeHealthForm.tcp_failures=t.unhealthy.tcp_failures,this.activeHealthForm.timeouts=t.unhealthy.timeouts,this.activeHealthForm.interval=t.unhealthy.interval,this.activeHealthForm.healthy_interval=t.healthy.interval}},handleUpstreamUpdate:function(e,t){var a=this;this.upstream.healthchecks.active.healthy.http_statuses=this.activeHealthForm.http_statuses,this.upstream.healthchecks.active.healthy.successes=this.activeHealthForm.successes,this.upstream.healthchecks.active.healthy.interval=this.activeHealthForm.healthy_interval,this.upstream.healthchecks.active.unhealthy.http_statuses=this.activeHealthForm.fail_http_statuses,this.upstream.healthchecks.active.unhealthy.http_failures=this.activeHealthForm.http_failures,this.upstream.healthchecks.active.unhealthy.tcp_failures=this.activeHealthForm.tcp_failures,this.upstream.healthchecks.active.unhealthy.timeouts=this.activeHealthForm.timeouts,this.upstream.healthchecks.active.unhealthy.interval=this.activeHealthForm.interval,this.upstream.healthchecks.active.type=this.activeHealthForm.type,this.upstream.healthchecks.active.http_path=this.activeHealthForm.http_path,this.upstream.healthchecks.active.timeout=this.activeHealthForm.timeout,this.upstream.healthchecks.active.https_sni=this.activeHealthForm.https_sni,this.upstream.healthchecks.active.concurrency=this.activeHealthForm.concurrency,this.upstream.healthchecks.active.https_verify_certificate=this.activeHealthForm.https_verify_certificate,Object(l["g"])(this.upstream).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):a.$successInfo("修改成功"),t()})}}},d=u,p=a("2877"),h=Object(p["a"])(d,n,i,!1,null,null,null);t["default"]=h.exports},c379:function(e,t,a){"use strict";var n=a("46dc"),i=a.n(n);i.a},c541:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("search-banner",{ref:"routeSearch",attrs:{span:21,placeholder:"请输入NAME、PATHS或HOSTS",handleList:e.handleList,searchProps:e.searchProps,page:e.page},on:{"search-change":e.searchChange}},[a("template",{slot:"menu"},[e.permission.route_update||e.isDevProfile?a("update-hosts",{on:{callback:e.reloadDataList}}):e._e()],1)],2),a("avue-crud",{attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading,page:e.page},on:{"row-click":e.handleRowClick,"row-save":e.handleSave,"row-del":e.handleDel,"refresh-change":e.handlerefreshChange,"current-change":e.handleCurrentChange,"size-change":e.handleCurrentSize,"search-change":e.handleSearchChange,"expand-change":e.expandChanges},scopedSlots:e._u([{key:"expand",fn:function(e){var t=e.row;return[a("el-form",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"},attrs:{"label-width":"80px"}},[a("el-form-item",{attrs:{label:"PATHS"}},[a("item-tags",{attrs:{tags:t.paths,name:"匹配路径",column:"paths",mode:"view"}})],1),a("el-form-item",{attrs:{label:"插件"}},[a("query-plugins",{attrs:{route:t,mode:"view"}})],1)],1)]}},{key:"name",fn:function(t){var n=t.row;return[a("el-link",{attrs:{underline:!1,type:"success"},on:{click:function(t){return e.toDetail(n)}}},[e._v(e._s(n.name))])]}},{key:"service",fn:function(t){var n=t.row;return[a("el-link",{attrs:{underline:!1,type:"success"},on:{click:function(t){return e.toServiceDetail(n)}}},[e._v(e._s(n.serviceName))])]}},{key:"hosts",fn:function(e){var t=e.row;return[a("item-tags",{attrs:{tags:t.hosts,column:"hosts",mode:"view"}})]}},{key:"paths",fn:function(e){var t=e.row;return[a("item-tags",{attrs:{tags:t.paths,column:"paths",mode:"view"}})]}},{key:"menuLeft",fn:function(e){e.row}},{key:"menu",fn:function(t){return[e.permission.route_update||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-edit",size:"small",plain:"",type:"primary"},on:{click:function(a){return e.handleGrade(t.row,t.$index)}}},[e._v("编辑")]):e._e(),e.permission.route_delete||e.isDevProfile?a("el-button",{attrs:{icon:"el-icon-delete",size:"small",plain:"",type:"danger"},on:{click:function(a){return e.handleDel(t.row,t.$index)}}},[e._v("删除")]):e._e()]}}])}),e.grade.box?a("el-dialog",{attrs:{title:"路由管理",width:"70%",visible:e.grade.box},on:{"update:visible":function(t){return e.$set(e.grade,"box",t)}}},[a("uphold-route",{attrs:{route:e.form,mode:"edit"},on:{callback:e.reloadDataList}})],1):e._e(),e.grade.drawerDetail?a("el-drawer",{attrs:{size:"45%",title:"'"+e.form.name+"' 详情",visible:e.grade.drawerDetail,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){return e.$set(e.grade,"drawerDetail",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("uphold-route",{attrs:{route:e.form,mode:"view"}})],1)]):e._e(),e.grade.drawerServiceDetail?a("el-drawer",{attrs:{size:"100%",title:"'"+e.form.serviceName+"'服务的详情",visible:e.grade.drawerServiceDetail,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){return e.$set(e.grade,"drawerServiceDetail",t)}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("upload-service",{attrs:{service:{id:e.form.service.id,name:e.form.serviceName},mode:"view"}})],1)]):e._e()],1)],1)},i=[],s=a("5176"),r=a.n(s),o=(a("7f7f"),a("ac6a"),a("cebc")),l=a("fef3"),c=a("5880"),u=a("ceee"),d=a("e8cd"),p=a("2e8b"),h=a("848d"),m=a("3aa7"),f=a("ca60"),g=a("2bdd"),b={name:"routing",components:{upholdRoute:d["default"],searchBanner:h["default"],ItemTags:f["default"],queryPlugins:m["default"],uploadService:g["default"],updateHosts:p["default"]},data:function(){return{tableSearch:{},tableOption:l["h"],service_items:[],searchProps:[{name:"name"},{name:"paths",type:"array"},{name:"hosts",type:"array"},{name:"serviceName"}],tableData:[],tablePage:1,tableSize:10,tableLoading:!1,form:{},page:{total:0,currentPage:1,pageSize:10},grade:{box:!1,drawerDetail:!1,drawerServiceDetail:!1}}},computed:Object(o["a"])({},Object(c["mapGetters"])(["permission","isDevProfile","isProdProfile","systemProfile"])),props:{type:{type:String,required:!1}},filters:{sname:function(e,t){var a=e;return t.forEach(function(t){if(t.id==e)return a=t.name,a}),a}},created:function(){var e=this;-1==this.systemProfile.id?this.$nextTick(function(t){e.$router.push("/wel/index")}):(this.handleServiceList(),this.initOptions())},methods:{initOptions:function(){this.isDevProfile?this.tableOption["menu"]=!0:this.permission.route_update||(this.tableOption["menu"]=!1)},toDetail:function(e){this.form=e,this.grade.drawerDetail=!0},toServiceDetail:function(e){this.form=e,this.grade.drawerServiceDetail=!0},handleServiceList:function(){var e=this;Object(u["c"])(r()({},this.form)).then(function(t){var a=t.data;e.service_items=a.data})},handleGrade:function(e,t){e&&e.id?this.form=e:this.form={},this.grade.box=!0},expandChanges:function(e,t){},handleCurrentChange:function(e){this.tablePage=e,this.refreshTableList(!0)},handleCurrentSize:function(e){this.tableSize=e,this.refreshTableList(!1)},handleList:function(e){var t=this;return this.tableLoading=!0,Object(u["a"])(r()({},e)).then(function(e){var a=e.data,n=a.data;return n.forEach(function(e){t.service_items.forEach(function(t){e.service.id==t.id&&(e["serviceName"]=t.name)})}),t.tableLoading=!1,n})},refreshTableList:function(e){this.initPage(e),this.$refs.routeSearch.refresh(this.page,e)},initPage:function(e){e||(this.tablePage=1),this.page.currentPage=this.tablePage,this.page.pageSize=this.tableSize},searchChange:function(e){this.tableData=e.data},reloadDataList:function(){this.initPage(!1),this.$refs.routeSearch.loadData()},handleRowClick:function(e,t,a){this.type&&this.$emit("selectionData",e)},handleDel:function(e,t){var a=this,n="";this.isProdProfile&&(n="当前为生产环境,请谨慎操作! "),this.$confirm(n+"是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(u["d"])({id:e.id}).then(function(e){var t=e.data;0!=t.status?a.$errorInfo(t.errmsg):(a.$successInfo("删除成功"),a.reloadDataList())})}).catch(function(){})}}},v=b,y=(a("ebdc"),a("2877")),_=Object(y["a"])(v,n,i,!1,null,null,null);t["default"]=_.exports},c83a:function(e,t,a){"use strict";var n=a("81fd"),i=a.n(n);i.a},c980:function(e,t,a){"use strict";var n=a("0b18"),i=a.n(n);i.a},c9b6:function(e,t,a){"use strict";var n=a("2ab7"),i=a.n(n);i.a},ca05:function(e,t,a){"use strict";a.d(t,"g",function(){return i}),a.d(t,"f",function(){return s}),a.d(t,"d",function(){return r}),a.d(t,"b",function(){return o}),a.d(t,"e",function(){return l}),a.d(t,"a",function(){return c}),a.d(t,"c",function(){return u});var n=a("e349"),i=(a("074d"),{maxHeight:900,labelWidth:120,index:!0,border:!0,menuBtn:!0,selection:!0,addBtn:!1,delBtn:!1,editBtn:!1,refreshBtn:!1,columnBtn:!1,menuAlign:"left",align:"center",searchSize:"mini",menuWidth:180,column:[{label:"用户账号",prop:"userId",width:"150",fixed:!0,editDisabled:!0,rules:[{required:!0,message:"请输入用户账号",trigger:"blur"}]},{label:"用户名",prop:"name",width:"120",fixed:!0,rules:[{required:!0,message:"请输入用户名",trigger:"blur"}]},{label:"邮箱",prop:"email",width:"200",rules:[{required:!0,message:"请输入邮箱",trigger:"blur"}]},{label:"手机号",prop:"mobile",width:"120",formatter:function(e,t,a,n){if(t&&11==t.length){var i=t.substr(0,3)+"****"+t.substr(7);return i}return t}},{label:"所属用户组",prop:"userGroupList",align:"left",slot:!0},{label:"注册时间",prop:"create_at",sortable:!0,type:"datetime",width:160,format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,a,n){return t}}]}),s={maxHeight:900,labelWidth:120,index:!0,border:!0,menuBtn:!0,addBtn:!1,delBtn:!1,editBtn:!1,refreshBtn:!1,columnBtn:!1,menuAlign:"left",align:"center",searchSize:"mini",menu:!0,menuWidth:260,column:[{label:"用户组名称",prop:"name",width:"150",span:24,fixed:!0,rules:[{required:!0,message:"请输入用户组名称",trigger:"blur"}]},{label:"是否有效",prop:"useYn",type:"switch",value:"y",span:24,dicData:n["a"].USE_YN,rules:[{required:!0,message:"请选择",trigger:"blur"}]},{span:24,label:"备注",prop:"remark",type:"textarea"},{label:"创建时间",prop:"create_at",addDisplay:!1,editDisplay:!1,format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",type:"date"}]},r={maxHeight:900,labelWidth:120,index:!0,border:!0,menuBtn:!0,addBtn:!1,delBtn:!1,editBtn:!1,refreshBtn:!1,columnBtn:!1,menuAlign:"left",align:"center",searchSize:"mini",menu:!0,menuWidth:300,column:[{label:"角色名称",prop:"name",width:"150",span:24,fixed:!0,rules:[{required:!0,message:"请输入角色名称",trigger:"blur"}]},{label:"角色编码",prop:"code",span:24,width:"120",editDisabled:!0,rules:[{required:!0,message:"请输入角色编码",trigger:"blur"}]},{label:"角色类型",prop:"roleType",type:"radio",value:"menu",span:24,width:"120",dicData:n["a"].ROLE_TYPE,rules:[{required:!0,message:"请选择角色类型",trigger:"blur"}]},{label:"是否有效",prop:"useYn",type:"switch",value:"y",span:24,width:"80",dicData:n["a"].USE_YN,rules:[{required:!0,message:"请选择",trigger:"blur"}]},{span:24,label:"备注",prop:"remark",type:"textarea"},{label:"创建时间",prop:"create_at",width:"140",addDisplay:!1,editDisplay:!1,format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",type:"date"}]},o={emptyBtn:!1,submitBtn:!1,column:[{label:"父节点ID",prop:"parentId",readonly:!0,disabled:!0,span:24,labelWidth:100},{label:"功能点名称",prop:"name",span:24,labelWidth:100,rules:[{required:!0,message:"请输入菜单名称",trigger:"blur"}]},{label:"功能点编码",prop:"code",span:24,width:80,labelWidth:100},{label:"是否可用",prop:"useYn",type:"switch",formslot:!0,value:"y",span:24,dicData:n["a"].USE_YN,width:80,labelWidth:100},{label:"显示顺序",prop:"sortOrder",type:"number",formslot:!0,span:24,width:80,labelWidth:100}]},l={emptyBtn:!1,submitBtn:!1,column:[{label:"用户名",prop:"userId",span:24,labelWidth:100,rules:[{required:!0,message:"请输入用户名",trigger:"blur"}]},{label:"姓名",prop:"name",span:24,width:80,labelWidth:100},{label:"手机号",prop:"mobile",span:24,width:80,labelWidth:100},{label:"邮箱",prop:"email",span:24,width:80,labelWidth:100}]},c={emptyBtn:!1,submitBtn:!1,column:[{label:"父节点ID",prop:"parentId",readonly:!0,disabled:!0,span:24,width:120},{label:"菜单名称",prop:"name",span:24,width:80,rules:[{required:!0,message:"请输入菜单名称",trigger:"blur"}]},{label:"菜单视图",prop:"visitView",formslot:!0,span:24,width:80},{label:"访问路径",prop:"visitPath",span:24,width:80,placeholder:"例如:/role"},{label:"菜单图标",prop:"menuIcon",span:24,width:80},{label:"是否可用",prop:"useYn",type:"switch",formslot:!0,value:"y",span:24,dicData:n["a"].USE_YN,width:80},{label:"显示顺序",prop:"sortOrder",type:"number",formslot:!0,span:24,width:80}]},u={children:"children",label:"name",id:"id"}},ca07:function(e,t,a){},ca50:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-timeline",e._l(e.logData,function(t,n){return a("el-timeline-item",{key:n,attrs:{size:0==n?"large":"normal",color:"success"==t.status?"#0bbd87":"red",timestamp:e._f("parseTime")(t.create_at)}},[e._v(e._s(n+1)+". "+e._s(t.comment))])}),1)],1)},i=[],s=(a("7f7f"),a("78ba")),r={data:function(){return{logData:[]}},props:{syncConfig:{type:Object,required:!0},service:{type:Object,required:!0},client:{type:Object,required:!0}},created:function(){this.findSyncLog()},methods:{findSyncLog:function(){var e=this;Object(s["c"])({syncNo:this.syncConfig.syncNo,service:this.service.name,dest_client:this.client.url}).then(function(t){e.logData=t.data.data})}}},o=r,l=a("2877"),c=Object(l["a"])(o,n,i,!1,null,null,null);t["default"]=c.exports},ca60:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",["edit"==e.mode||"add"==e.mode?[e._l(e.tags,function(t){return a("el-tag",{key:t,attrs:{closable:"","disable-transitions":!1},on:{close:function(a){return e.handleClose(t)}}},[e._v(e._s(t))])}),a("el-input",{ref:"saveTagInput",staticClass:"input-new-tag",attrs:{placeholder:"新增"+e.name+",支持批量添加,请以逗号、分号或空格分隔即可"},on:{blur:e.handleInputConfirm},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleInputConfirm(t)}},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}})]:e._e(),"view"==e.mode?e._l(e.tags,function(t){return a("el-tag",{key:t,attrs:{"disable-transitions":!1},on:{close:function(a){return e.handleClose(t)}}},[e._v(e._s(t.constructor==Object?t[e.column]:t))])}):e._e()],2)},i=[],s=(a("ac6a"),a("28a5"),a("a481"),{name:"ItemTags",data:function(){return{inputValue:"",inputVisible:!1}},props:{name:{required:!0},column:{required:!1},mode:{required:!1},tags:{type:Array,required:!0}},created:function(){this.tags||(this.tags=[])},methods:{handleClose:function(e){this.tags.splice(this.tags.indexOf(e),1),this.sendTag()},showInput:function(){var e=this;this.inputVisible=!0,this.$nextTick(function(t){e.$refs.saveTagInput.$refs.input.focus()})},handleInputConfirm:function(){var e=this,t=this.inputValue;if(this.tags||(this.tags=[]),t){t=t.replace(/;/g,","),t=t.replace(/ /g,",");var a=t.split(",");a.forEach(function(t){t.trim()&&e.tags.push(t.trim())})}this.inputVisible=!1,this.inputValue="",this.sendTag()},sendTag:function(){var e={};e[this.column]=this.tags,this.$emit("sendTag",e)}}}),r=s,o=(a("6bae"),a("2877")),l=Object(o["a"])(r,n,i,!1,null,null,null);t["default"]=l.exports},cce4:function(e,t,a){"use strict";var n=a("ca07"),i=a.n(n);i.a},cd05:function(e,t,a){"use strict";var n=a("b9cf"),i=a.n(n);i.a},ce4a:function(e,t,a){"use strict";a.d(t,"b",function(){return s}),a.d(t,"a",function(){return r}),a.d(t,"e",function(){return o}),a.d(t,"c",function(){return l}),a.d(t,"d",function(){return c});var n=a("b5c6"),i=a("074d"),s=function(){return Object(n["a"])({url:i["a"].path+"/system/server/configs",method:"get"})},r=function(e){return Object(n["a"])({url:i["a"].path+"/system/server/configs",method:"post",data:e})},o=function(e){return Object(n["a"])({url:i["a"].path+"/system/server/configs/"+e.id,method:"post",data:e})},l=function(e){return Object(n["a"])({url:i["a"].path+"/system/server/configs/"+e,method:"get"})},c=function(){return Object(n["a"])({url:i["a"].path+"/system/envs/configTypes",method:"get"})}},ceee:function(e,t,a){"use strict";a.d(t,"a",function(){return s}),a.d(t,"c",function(){return r}),a.d(t,"e",function(){return o}),a.d(t,"f",function(){return l}),a.d(t,"d",function(){return c}),a.d(t,"b",function(){return u}),a.d(t,"g",function(){return d});a("7f7f");var n=a("b5c6"),i=a("074d"),s=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/routes",method:"get"})},r=function(){return Object(n["a"])({url:i["a"].path+"/kong/api/services",method:"get"})},o=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/services/"+e.service.id+"/routes",method:"post",data:e})},l=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/routes/"+e.id,method:"post",data:e})},c=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/routes/"+e.id,method:"delete"})},u=function(e,t){return Object(n["a"])({url:i["a"].path+"/kong/api/services/"+e.name+"/routes/list",method:"post",data:t})},d=function(e){return Object(n["a"])({url:i["a"].path+"/kong/api/routes/hosts",method:"post",data:e})}},d6b3:function(e,t,a){},d793:function(e,t,a){"use strict";var n=a("7b08"),i=a.n(n);i.a},d9f2:function(e,t,a){},df9f:function(e,t,a){"use strict";var n=a("6d94"),i=a.n(n);i.a},dfc5:function(e,t,a){},e17e:function(e,t,a){"use strict";a.d(t,"e",function(){return s}),a.d(t,"f",function(){return r}),a.d(t,"d",function(){return o}),a.d(t,"c",function(){return l}),a.d(t,"g",function(){return c}),a.d(t,"a",function(){return u}),a.d(t,"b",function(){return d});var n=a("b5c6"),i=a("074d"),s=function(e){return Object(n["a"])({url:i["a"].path+"/system/user",method:"post",data:e})},r=function(e){return Object(n["a"])({url:i["a"].path+"/system/user/"+e.userId,method:"post",data:e})},o=function(e){return Object(n["a"])({url:i["a"].path+"/system/user/reset/"+e+"/",method:"post"})},l=function(e){return Object(n["a"])({url:i["a"].path+"/system/user/modifypwd/",method:"post",data:e})},c=function(e){return Object(n["a"])({url:i["a"].path+"/system/user/updateUserRole",method:"post",data:e})},u=function(e){return Object(n["a"])({url:i["a"].path+"/system/user/page",method:"get",params:e})},d=function(e){return Object(n["a"])({url:i["a"].path+"/system/user/list",method:"get",params:e})}},e255:function(e,t,a){},e378:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("basic-container",[a("div",[a("el-row",{staticStyle:{"margin-bottom":"5px","margin-left":"5px","margin-right":"5px"}},[a("el-col",{attrs:{span:"2"}},[a("el-button",{attrs:{size:"small",icon:"el-icon-plus",type:"primary"},on:{click:e.toAdd}},[e._v("新增用户")])],1),a("el-col",{attrs:{span:"2"}},[a("el-popover",{attrs:{placement:"right-start",title:"用户组"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[a("setting-user-group",{attrs:{userInfo:{userGroupList:[]},userIds:e.checkedUsers,mode:e.mode,userGroupList:e.userGroupList},on:{callback:e.handleList}}),e.permission.user_authority?a("el-button",{attrs:{slot:"reference",size:"small",icon:"el-icon-plus",type:"primary"},slot:"reference"},[e._v("批量授权")]):e._e()],1)],1),a("el-col",{attrs:{span:e.permission.user_authority?20:24}},[a("el-input",{staticClass:"input-with-select",attrs:{size:"small",placeholder:"请输入用户名或姓名",maxlength:"20",clearable:""},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}},[a("el-button",{attrs:{slot:"append",icon:"el-icon-search"},slot:"append"})],1)],1)],1)],1),a("avue-crud",{staticStyle:{cursor:"pointer"},attrs:{option:e.tableOption,data:e.tableData,"table-loading":e.tableLoading,page:e.page},on:{"row-save":e.handleSave,"row-update":e.handleUpdate,"refresh-change":e.handlerefreshChange,"current-change":e.handleCurrentChange,"size-change":e.handleCurrentSize,"search-change":e.handleSearchChange,"selection-change":e.selectionChange},scopedSlots:e._u([{key:"userGroupList",fn:function(t){var n=t.row;return[a("setting-user-group",{key:n.userId,attrs:{userInfo:n,userIds:[n],mode:e.mode,userGroupList:e.userGroupList},on:{callback:e.handleList}})]}},{key:"menu",fn:function(t){return[a("el-button",{attrs:{size:"mini",icon:"el-icon-edit",plain:"",type:"primary"},on:{click:function(a){return e.toEdit(t.row,t.index)}}},[e._v("编辑")]),a("el-button",{attrs:{size:"mini",icon:"el-icon-refresh",plain:"",type:"primary"},on:{click:function(a){return e.toResetpwd(t.row,t.index)}}},[e._v("重置")])]}}]),model:{value:e.objData,callback:function(t){e.objData=t},expression:"objData"}}),e.upholdBox?a("el-drawer",{attrs:{title:"add"==e.mode?"新增用户":"编辑用户",size:"50%",visible:e.upholdBox,direction:e.direction},on:{"update:visible":function(t){e.upholdBox=t}}},[a("div",{staticStyle:{"margin-left":"10px","overflow-y":"auto","overflow-x":"auto",height:"90%"}},[a("uphold-user",{attrs:{entity:e.upholdEntity,mode:e.mode},on:{callback:e.handleList}})],1)]):e._e()],1)},i=[],s=a("5176"),r=a.n(s),o=a("cebc"),l=a("5880"),c=a("ca05"),u=a("e17e"),d=a("3523"),p=a("ca60"),h=a("2fa5"),m=a("4819"),f={name:"syncLog",components:{ItemTags:p["default"],SettingUserGroup:h["default"],upholdUser:m["default"]},data:function(){return{tableOption:c["g"],tableData:[],tablePage:1,tableSize:10,tableLoading:!1,searchForm:null,checkedRoles:[],userGroupList:[],visible:!1,checkedUsers:[],userInfo:{},upholdEntity:{},mode:"add",upholdBox:!1,page:{total:0,currentPage:1,pageSize:10}}},created:function(){this.handleList(),this.init()},mounted:function(){},watch:{searchForm:function(e){this.page.currentPage=1,this.handleList()}},computed:Object(o["a"])({},Object(l["mapGetters"])(["permission"])),methods:{init:function(){var e=this;Object(d["e"])().then(function(t){e.userGroupList=t.data})},toAdd:function(){this.upholdEntity={},this.mode="add",this.upholdBox=!0},toEdit:function(e){this.upholdEntity=e,this.mode="edit",this.upholdBox=!0},toSingleRole:function(e,t){this.checkedUsers=[e],this.userInfo=e,this.configMenuBox=!0},selectionChange:function(e){this.checkedUsers=e},updateUserRole:function(){var e=this;this.checkedUsers&&0==this.checkedUsers.length||0==this.checkedRoles.length?this.$errorInfo("请选择需要授权的用户或角色列表"):Object(u["g"])({userInfos:this.checkedUsers,systemRoles:this.checkedRoles}).then(function(t){0!=t.data.status?e.$errorInfo(t.data.errmsg):(e.$successInfo("更新成功"),e.visible=!1,e.checkedRoles=[])})},handlerefreshChange:function(e){this.handleList(this.tableSearch)},handleCurrentChange:function(e){this.tablePage=e,this.handlerefreshChange()},handleCurrentSize:function(e){this.tableSize=e,this.handlerefreshChange()},handleSearchChange:function(e){this.tableSearch=e,this.handleList(this.tableSearch)},toResetpwd:function(e){var t=this;this.$confirm("确定重置用户密码为123456,是否确认?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(u["d"])(e.userId).then(function(e){var a=e.data;0!=a.status?t.$message.error(a.msg):(t.handleList(),t.$message.success("重置成功"))})})},handleList:function(e){var t=this;this.tableLoading=!0,this.upholdBox=!1,this.form={name:this.searchForm&&this.searchForm.trim()},Object(u["a"])(r()({},this.form,{start:this.tablePage,limit:this.tableSize})).then(function(e){var a=e.data.data;t.tableData=a.items,t.page={total:a.totalCount,currentPage:t.tablePage,pageSize:t.tableSize},t.tableLoading=!1})}}},g=f,b=a("2877"),v=Object(b["a"])(g,n,i,!1,null,null,null);t["default"]=v.exports},e37e:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("avue-tabs",{attrs:{option:e.option},on:{change:e.handleChange,submit:e.handleSubmit},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1)],1)},i=[],s=a("cebc"),r={column:[{label:"个人信息",prop:"info",option:{submitText:"修改",column:[{label:"用户名",span:12,disabled:!0,row:!0,prop:"userId"},{label:"姓名",row:!0,prop:"name"},{label:"手机号",span:12,row:!0,prop:"mobile"},{label:"邮箱",prop:"email",row:!0}]}},{label:"修改密码",prop:"password",option:{submitText:"修改",column:[{label:"原密码",span:12,row:!0,type:"password",prop:"oldpassword"},{label:"新密码",span:12,row:!0,type:"password",prop:"newpassword"},{label:"确认密码",span:12,row:!0,type:"password",prop:"newpasswords"}]}}]},o=a("5880"),l=a("e17e"),c=a("0e0b"),u={data:function(){return{type:"info",option:r,form:{}}},created:function(){this.handleWitch()},computed:Object(s["a"])({},Object(o["mapGetters"])(["permission","userInfo"])),methods:{handleSubmit:function(){"info"==this.type&&this.handleEntityUpdate(),"password"==this.type&&this.handlerModifyPwd()},handlerModifyPwd:function(){var e=this,t=Object(c["c"])({data:this.form,type:"Base64",key:"avue",param:["oldpassword","newpassword"]});Object(l["c"])({userId:this.userInfo.userId,oldpassword:t.oldpassword,newpassword:t.newpassword}).then(function(t){var a=t.data;0!=a.status?e.$message.error(a.errmsg):(e.$message.success("修改成功,退出后重新登录"),e.$store.dispatch("LogOut").then(function(){e.$router.push({path:"/login"})}))})},handleEntityUpdate:function(){var e=this;Object(l["f"])(this.form).then(function(t){var a=t.data;0!=a.status?e.$message.error(a.errmsg):(e.$store.dispatch("GetUserInfo").then(function(){}),e.$message.success("修改成功"))}).catch(function(t){e.$message.error("更新失败")})},handleWitch:function(){"info"===this.type?this.form=_.cloneDeep(this.userInfo):"password"===this.type&&(this.form=_.cloneDeep({}))},handleChange:function(e){this.type=e.prop,this.handleWitch()}}},d=u,p=a("2877"),h=Object(p["a"])(d,n,i,!1,null,null,null);t["default"]=h.exports},e527:function(e,t,a){},e59a:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e._l(e.dynamicTags,function(t){return a("el-tag",{key:t,attrs:{closable:"view"!=e.mode,"disable-transitions":!1},on:{close:function(a){return e.handleClose(t)}}},[e._v(e._s(t.name))])}),e.inputVisible?a("el-autocomplete",{ref:"saveTagInput",staticStyle:{"margin-left":"10px"},attrs:{"popper-class":"my-autocomplete","fetch-suggestions":e.remoteMethod,placeholder:"请输入姓名进行检索"},on:{select:e.handleSelect},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.item;return[a("div",{staticClass:"name"},[e._v(e._s(n.name))]),a("span",{staticClass:"addr"},[e._v(e._s(n.mobile))])]}}],null,!1,3326133321),model:{value:e.state,callback:function(t){e.state=t},expression:"state"}},[a("i",{staticClass:"el-icon-edit el-input__icon",attrs:{slot:"suffix"},slot:"suffix"})]):a("el-button",{directives:[{name:"show",rawName:"v-show",value:"add"==e.mode,expression:"mode=='add'"}],staticClass:"button-new-tag el-icon-plus",attrs:{size:"small"},on:{click:e.showInput}},[e._v("新增用户")])],2)},i=[],s=(a("7f7f"),a("20d6"),a("cebc")),r=a("5880"),o=a("e17e"),l=a("3523"),c={data:function(){return{dynamicTags:this.userGroup.userList,loading:!1,options:[],state:null,userLists:[],inputVisible:!1,inputValue:""}},created:function(){this.init()},props:{mode:{},userGroup:{}},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission"])),methods:{init:function(){var e=this;Object(o["b"])().then(function(t){e.userLists=t.data.data,e.options=e.userLists}),this.permission.usergroup_config||(this.mode="view")},handleSelect:function(e){var t=this,a=_.findIndex(this.dynamicTags,function(t){return e.userId==t.userId});-1==a?Object(l["i"])(this.userGroup.id,e.userId).then(function(a){0==a.data.status?(t.dynamicTags.push(e),t.$successInfo("新增用户成功")):t.$errorInfo(a.data.errmsg)}):this.$errorInfo(e.name+" 已经设置过了")},handleClose:function(e){var t=this;Object(l["c"])(this.userGroup.id,e.userId).then(function(a){0==a.data.status?(t.dynamicTags.splice(t.dynamicTags.indexOf(e),1),t.$successInfo("删除用户成功")):t.$errorInfo(a.data.errmsg)})},remoteMethod:function(e,t){this.options=""!==e?this.userLists.filter(function(t){return t.name.indexOf(e)>-1}):this.userLists,t(this.options)},showInput:function(){var e=this;this.inputVisible=!0,this.$nextTick(function(t){e.$refs.saveTagInput.$refs.input.focus()})}}},u=c,d=(a("9d0c"),a("2877")),p=Object(d["a"])(u,n,i,!1,null,null,null);t["default"]=p.exports},e8cd:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-tabs",{ref:"upstreamTabs",attrs:{"tab-position":e.tabPosition}},[a("el-tab-pane",{ref:"targetTab",attrs:{label:"基本信息"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-info"}),e._v(" 基本信息\n ")]),a("avue-form",{ref:"routeForm",attrs:{option:e.routeColumn},on:{submit:e.handleRoute},model:{value:e.targetForm,callback:function(t){e.targetForm=t},expression:"targetForm"}},[a("template",{slot:"hosts"},[a("item-tags",{attrs:{tags:e.targetForm.hosts,name:"主机",column:"hosts",mode:e.mode},on:{sendTag:e.bindTags}})],1),a("template",{slot:"paths"},[a("item-tags",{attrs:{tags:e.targetForm.paths,name:"匹配路由",column:"paths",mode:e.mode},on:{sendTag:e.bindTags}})],1),a("template",{slot:"methods"},[a("item-tags",{attrs:{tags:e.targetForm.methods,name:"请求方法",column:"methods",mode:e.mode},on:{sendTag:e.bindTags}})],1),"view"!=e.mode?a("template",{slot:"menuForm"},[a("el-button",{staticClass:"el-icon-check",attrs:{type:"primary"},on:{click:e.handlerSubmit}},[e._v("提 交")]),a("el-button",{staticClass:"el-icon-delete",on:{click:e.handleEmpty}},[e._v("清 空")])],1):e._e()],2)],1),"add"!=e.mode?a("el-tab-pane",{ref:"targetTab",attrs:{label:" 路由插件"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-success"}),e._v("\n 路由插件\n ")]),a("query-plugins",{attrs:{route:e.route,mode:e.mode}})],1):e._e()],1)],1)},i=[],s=a("5176"),r=a.n(s),o=(a("ac6a"),a("fef3")),l=a("ceee"),c=a("ca60"),u=a("7e8d"),d=a("3aa7"),p={name:"Route",components:{ItemTags:c["default"],listPlugin:u["default"],queryPlugins:d["default"]},data:function(){return{routeColumn:o["g"],tabPosition:"top",targetForm:{paths:[],hosts:[],methods:[]},routeData:[]}},props:{route:{type:Object,required:!1},mode:{required:!1}},created:function(){this.initOptions(),this.targetForm=_.cloneDeep(this.route),delete this.targetForm["serviceName"]},methods:{initOptions:function(){var e=this;this.routeColumn.column.forEach(function(t){t["disabled"]="view"==e.mode})},bindTags:function(e){this.targetForm=r()(this.targetForm,e)},handlerSubmit:function(){this.$refs.routeForm.submit()},handleRoute:function(e,t){"edit"==this.mode&&this.handleRouteUpdate(e,t),"add"==this.mode&&this.handleRouteSave(e,t)},handleRouteUpdate:function(e,t){var a=this;this.targetForm=r()(this.targetForm,e),Object(l["f"])(e).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.targetData=e.data.data,a.$successInfo("修改成功"),a.callback()),t()}).catch(function(e){a.$errorInfo("更新失败"),t()})},handleRouteSave:function(e,t){var a=this;this.targetForm=r()(this.targetForm,e),Object(l["e"])(e).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.targetData=e.data.data,a.$successInfo("新增成功"),a.callback()),t()}).catch(function(e){a.$errorInfo("新增失败,错误信息:",e),t()})},callback:function(){this.$emit("callback",{})}}},h=p,m=a("2877"),f=Object(m["a"])(h,n,i,!1,null,null,null);t["default"]=f.exports},e928:function(e,t,a){"use strict";var n=a("143c"),i=a.n(n);i.a},ebdc:function(e,t,a){"use strict";var n=a("8752"),i=a.n(n);i.a},ecc3:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticStyle:{"margin-bottom":"10px"}},[a("el-col",{attrs:{span:"5"}}),e._v("启用:\n "),a("el-switch",{model:{value:e.plugin.enabled,callback:function(t){e.$set(e.plugin,"enabled",t)},expression:"plugin.enabled"}})],1),a("avue-form",{attrs:{option:e.pluginColumn},on:{submit:e.handlePlugin},model:{value:e.pluginForm,callback:function(t){e.pluginForm=t},expression:"pluginForm"}},[e._l(e.slotColumns,function(t){return a("template",{slot:t.slot},[a("el-col",{key:t.slot},e._l(t.option.column,function(e){return a("el-form-item",{key:e.label,attrs:{label:e.label,size:"small"}},[a("el-input",{attrs:{value:e.label}})],1)}),1)],1)}),e._l(e.tagsColumn,function(t){return a("template",{slot:t.slot},[a("item-tags",{key:t.name,attrs:{mode:"edit",tags:e.pluginForm[t.column],name:t.name,column:t.column},on:{sendTag:e.bindTags}})],1)})],2)],1)},i=[],s=(a("a481"),a("ac6a"),a("5176")),r=a.n(s),o=(a("fef3"),a("468b")),l=a("ca60"),c={name:"plugin",components:{ItemTags:l["default"]},data:function(){return{pluginColumn:{column:[]},pluginForm:{enabled:!0},slotColumns:[],tagsColumn:[],config:{}}},props:{plugin:{type:Object,required:!0,config:{}},edit:{required:!1},fields:{type:Object}},created:function(){this.pluginForm=this.plugin["config"]||{},this.querySchema()},methods:{bindTags:function(e){this.config=r()(this.config,e)},querySchema:function(){var e=this;if(this.fields.forEach(function(t){for(var a in t){var n=e.createColumn(a,t[a]);e.pluginColumn.column.push(n)}}),this.slotColumns.length>0){var t,a={group:[],card:!0},n={label:"基本信息",column:[]},i=[];this.pluginColumn.column.forEach(function(t){var a=!1;e.slotColumns.forEach(function(n){if(n.slot==t.prop){a=!0;var s=[];n.option.column.forEach(function(t){t.prop=n.slot+"_"+t.prop,"array"==t["type"]&&e.createTagColumn(t.prop),s.push(t);var a=t.prop.replace(n.slot+"_","");console.log("itemColumn",t,t.prop,",slotColumn.slot",n.slot),e.plugin.config[n.slot]?e.pluginForm[t.prop]=e.plugin.config[n.slot][a]:"array"==t["type"]?e.pluginForm[t.prop]=[]:e.pluginForm[t.prop]=t.value}),i.push({label:n.slot,column:s})}}),a||n.column.push(t)}),a.group.push(n),(t=a.group).push.apply(t,i),this.pluginColumn=a}},createTagColumn:function(e){var t={};t.slot=e,t.tags=this.plugin.config[e]||[],t.column=e,t.name=e,this.tagsColumn.push(t)},createColumn:function(e,t,a){var n=this,i={label:e,span:24,prop:e,labelWidth:220,rules:[],value:null};i.value=t["default"];var s=t["fields"];if(s){i.formslot=!0;var r={option:{column:[]},slot:""};r.slot=e,r.form={},s.forEach(function(e){for(var t in e)r.option.column.push(n.createColumn(t,e[t],!0))}),this.slotColumns.push(r)}else if("array"==t["type"])i.type="array",i.formslot=!0,this.createTagColumn(e);else{var o=t["type"];if(o&&""!=o.trim()&&(o=this.getType(o)),t["required"]&&i["rules"].push({required:t["required"],message:"请填写"+e,trigger:"blur"}),t["default"]&&!a&&(this.pluginForm[e]=t["default"]),i.type=o,t["one_of"]){i.type="select";var l=[];t["one_of"].forEach(function(e){l.push({label:e,value:e})}),i.dicData=l}}return i},getType:function(e){switch(e){case"boolean":return"switch";case"integer":return"number";case"number":return"number";case"array":return"Array"}return"string"},handlePlugin:function(e,t){var a=this,n={};for(var i in this.pluginForm){var s=this.pluginForm[i];-1==i.indexOf("$")&&"enabled"!=i&&""!=s&&(n[i]=s)}console.log(n),this.pluginForm=n,this.plugin.config=r()(this.pluginForm,this.config),this.slotColumns.forEach(function(e){e.slot;e.option.column.forEach(function(t){var n=a.plugin.config[t.prop];if(""===n||n){delete a.plugin.config[t.prop];var i=a.plugin.config[e.slot]||{},s=t.prop.replace(e.slot+"_","");i[s]=""===n?null:n,a.plugin.config[e.slot]=i}})}),"edit"==this.edit?Object(o["f"])(this.plugin).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.plugin=n.data,a.$successInfo("修改成功"),a.callback()),t()}):"add"==this.edit&&(this.plugin["enabled"]=!0,Object(o["e"])(this.plugin).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.plugin=n.data,a.edit=!0,a.$successInfo("新增成功"),a.callback()),t()}))},callback:function(){this.$emit("callback",{})}}},u=c,d=(a("d793"),a("2877")),p=Object(d["a"])(u,n,i,!1,null,null,null);t["default"]=p.exports},ee4f:function(e,t,a){"use strict";var n=a("ac57"),i=a.n(n);i.a},ef70:function(e,t,a){"use strict";a.d(t,"b",function(){return s}),a.d(t,"c",function(){return r}),a.d(t,"a",function(){return o}),a.d(t,"d",function(){return l});var n=a("b5c6"),i=a("074d"),s=function(){return Object(n["a"])({url:i["a"].path+"/system/function/tree",method:"get"})},r=function(){return Object(n["a"])({url:i["a"].path+"/system/function/menu/role",method:"get"})},o=function(e){return Object(n["a"])({url:i["a"].path+"/system/function",method:"post",data:e})},l=function(e){return Object(n["a"])({url:i["a"].path+"/system/function/"+e.id,method:"post",data:e})}},f1e7:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e._l(e.dynamicTags,function(t){return a("el-tag",{key:t,attrs:{closable:"view"!=e.mode,"disable-transitions":!1},on:{close:function(a){return e.handleClose(t)}}},[e._v(e._s(t.name))])}),e.inputVisible?a("el-autocomplete",{ref:"saveTagInput",staticStyle:{"margin-left":"10px"},attrs:{"popper-class":"my-autocomplete","fetch-suggestions":e.remoteMethod,placeholder:"请输入角色名称检索"},on:{select:e.handleSelect},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.item;return[a("div",{staticClass:"name"},[e._v(e._s(n.name))]),a("span",{staticClass:"addr"},[e._v(e._s(n.mobile))])]}}],null,!1,3326133321),model:{value:e.state,callback:function(t){e.state=t},expression:"state"}},[a("i",{staticClass:"el-icon-edit el-input__icon",attrs:{slot:"suffix"},slot:"suffix"})]):a("el-button",{directives:[{name:"show",rawName:"v-show",value:"add"==e.mode,expression:"mode=='add'"}],staticClass:"button-new-tag el-icon-plus",attrs:{size:"small"},on:{click:e.showInput}},[e._v("新增角色")])],2)},i=[],s=(a("7f7f"),a("20d6"),a("ac6a"),a("cebc")),r=a("5880"),o=(a("8d55"),a("3523")),l={data:function(){return{dynamicTags:[],loading:!1,options:[],state:null,inputVisible:!1,inputValue:""}},created:function(){this.init()},props:{option:{},mode:{},userGroup:{}},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission"])),methods:{init:function(){var e=this,t=this.option.profiles[0];this.permission.usergroup_config||(this.mode="view"),_.forEach(this.userGroup.profileRoles,function(a){a.profile==t.label&&(e.dynamicTags=a.roleList)})},handleSelect:function(e){var t=this,a=_.findIndex(this.dynamicTags,function(t){return e.id==t.id});-1==a?Object(o["h"])(this.userGroup.id,e.id,this.option.profiles).then(function(a){0==a.data.status?(t.dynamicTags.push(e),t.$successInfo("新增角色成功")):t.$errorInfo(a.data.errmsg)}):this.$errorInfo(e.name+" 已经设置过了")},handleClose:function(e){var t=this;Object(o["b"])(this.userGroup.id,e.id,this.option.profiles).then(function(a){0==a.data.status?(t.dynamicTags.splice(t.dynamicTags.indexOf(e),1),t.$successInfo("删除角色成功")):t.$errorInfo(a.data.errmsg)})},remoteMethod:function(e,t){this.options=""!==e?this.option.roleList.filter(function(t){return t.name.indexOf(e)>-1}):this.option.roleList,t(this.options)},showInput:function(){var e=this;this.inputVisible=!0,this.$nextTick(function(t){e.$refs.saveTagInput.$refs.input.focus()})}}},c=l,u=(a("cd05"),a("2877")),d=Object(u["a"])(c,n,i,!1,null,null,null);t["default"]=d.exports},f337:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("span",[a("strong",[e._v("注册中心地址:"+e._s(e.systemProfile.consul_url))])]),a("el-tabs",{ref:"upstreamTabs",attrs:{value:"targets"},on:{"tab-click":e.checkUpstream}},[a("el-tab-pane",[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-info"}),e._v(" 基本信息\n ")]),a("avue-form",{ref:"form",attrs:{option:e.upstreamColumn},on:{submit:e.handleSave},model:{value:e.upstream,callback:function(t){e.upstream=t},expression:"upstream"}})],1),"add"!=e.mode?a("el-tab-pane",{attrs:{label:"代理列表",name:"targets"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-success"}),e._v(" 代理列表\n ")]),a("targets",{ref:"targets",attrs:{upstream:e.upstreamEntity,mode:"edit"}})],1):e._e(),"add"!=e.mode?a("el-tab-pane",{attrs:{label:"设置健康检查"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-warning"}),e._v(" 健康检查(主动)\n ")]),a("health-check",{attrs:{upstream:e.upstreamEntity,mode:"view"}})],1):e._e()],1)],1)},i=[],s=(a("ac6a"),a("cebc")),r=a("5880"),o=a("fef3"),l=a("04c3"),c=a("ba9e"),u=a("2ed6"),d={components:{targets:l["default"],healthCheck:c["default"]},name:"upholdUpstream",data:function(){return{upstreamColumn:o["o"],upstreamEntity:_.cloneDeep(this.upstream)}},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission","systemProfile"])),props:{upstream:{type:Object,required:!1},mode:{required:!1}},created:function(){this.initOptions()},methods:{initOptions:function(){this.upstreamColumn.column.forEach(function(e){e["disabled"]=!0})},handlerSubmit:function(){this.$refs.form.submit()},handleSave:function(e,t){var a=this;"edit"!=this.mode&&Object(u["f"])(e).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.upstream=n.data,a.$successInfo("新增成功"),a.callback()),t()}),"edit"==this.mode&&Object(u["g"])(e).then(function(e){var n=e.data;0!=n.status?a.$errorInfo(n.errmsg):(a.upstream=n.data,a.$successInfo("修改成功"),a.callback()),t()})},callback:function(){this.$emit("callback",this.upstream)}}},p=d,h=a("2877"),m=Object(h["a"])(p,n,i,!1,null,null,null);t["default"]=m.exports},f5f5:function(e,t,a){"use strict";var n=a("2006"),i=a.n(n);i.a},f6e9:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"config-list"},[a("el-radio-group",{model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},[a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_EVERY",disabled:e.disabled}},[e._v("每分")])],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_RANGE",disabled:e.disabled}},[e._v("区间")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueRange.start,callback:function(t){e.$set(e.valueRange,"start",t)},expression:"valueRange.start"}}),e._v("分\n 至\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_RANGE||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueRange.end,callback:function(t){e.$set(e.valueRange,"end",t)},expression:"valueRange.end"}}),e._v("分\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_LOOP",disabled:e.disabled}},[e._v("循环")]),e._v("从\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueLoop.start,callback:function(t){e.$set(e.valueLoop,"start",t)},expression:"valueLoop.start"}}),e._v("分开始,间隔\n "),a("el-input-number",{staticClass:"w60",attrs:{disabled:e.type!=e.TYPE_LOOP||e.disabled,max:e.maxValue,min:e.minValue,precision:0},model:{value:e.valueLoop.interval,callback:function(t){e.$set(e.valueLoop,"interval",t)},expression:"valueLoop.interval"}}),e._v("分\n ")],1),a("div",{staticClass:"item"},[a("el-radio",{staticClass:"choice",attrs:{label:"TYPE_SPECIFY",disabled:e.disabled}},[e._v("指定")]),a("div",{staticClass:"list"},[a("el-checkbox-group",{model:{value:e.valueList,callback:function(t){e.valueList=t},expression:"valueList"}},e._l(e.maxValue+1,function(t){return a("el-checkbox",{key:"key-"+(t-1),staticClass:"list-check-item",attrs:{label:t-1,disabled:e.type!=e.TYPE_SPECIFY||e.disabled}})}),1)],1)],1)])],1)},i=[],s=a("4b3a"),r={name:"minute",mixins:[s["a"]],data:function(){return{}},watch:{value_c:function(e,t){this.$emit("change",e)}},created:function(){this.DEFAULT_VALUE="*",this.minValue=0,this.maxValue=59,this.valueRange.start=0,this.valueRange.end=59,this.valueLoop.start=0,this.valueLoop.interval=1,this.parseProp(this.prop)}},o=r,l=(a("a495"),a("2877")),c=Object(l["a"])(o,n,i,!1,null,"039eabc4",null);t["default"]=c.exports},f777:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("basic-container",[a("el-tabs",e._l(e.option.envs,function(t){return a("el-tab-pane",{key:t,attrs:{index:t.label}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i"),e._v("\n "+e._s(t.label)+"\n ")]),a("el-tabs",{attrs:{type:"border-card","tab-position":"left"}},e._l(t.groups,function(t){return a("el-tab-pane",{key:t,attrs:{lazy:""}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v(e._s(t.label))]),a("uphold-env",{attrs:{userGroup:e.userGroup,option:{profiles:[t],roleList:e.option.roleList,data:[]},mode:e.mode}})],1)}),1)],1)}),1)],1)],1)},i=[],s=a("cebc"),r=a("5880"),o=(a("af62"),a("5640"),a("f1e7")),l={name:"client",components:{upholdEnv:o["default"]},data:function(){return{}},created:function(){},watch:{},mounted:function(){},computed:Object(s["a"])({},Object(r["mapGetters"])(["permission","userInfo"])),props:{userGroup:{},mode:{},option:{}},methods:{findAllEnvs:function(){}}},c=l,u=(a("c980"),a("ee4f"),a("2877")),d=Object(u["a"])(c,n,i,!1,null,"d8caa636",null);t["default"]=d.exports},f9fd:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-form",{staticStyle:{"margin-left":"10px"},attrs:{"label-width":"80px"}},[e.route.hosts&&e.route.hosts.length>0?a("el-form-item",{attrs:{label:"Host"}},[a("item-tags",{attrs:{tags:e.route.hosts,name:"匹配路径",column:"paths",mode:"view"}})],1):e._e(),a("el-form-item",{attrs:{label:"路由PATH"}},[a("item-tags",{attrs:{tags:e.route.paths,name:"匹配路径",column:"paths",mode:"view"}})],1),a("el-form-item",{attrs:{label:"插件列表"}},[a("query-plugins",{attrs:{route:e.route,mode:"view"}})],1)],1)},i=[],s=a("3aa7"),r=a("ca60"),o={name:"viewRoute",data:function(){},components:{ItemTags:r["default"],queryPlugins:s["default"]},props:{route:{type:Object,required:!1}},created:function(){}},l=o,c=a("2877"),u=Object(c["a"])(l,n,i,!1,null,null,null);t["default"]=u.exports},fe19:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-steps",{staticStyle:{"margin-top":"20px"},attrs:{active:e.step,"finish-status":"success",simple:""}},[a("el-step",{attrs:{title:"选择同步的服务"}}),a("el-step",{attrs:{title:"选择同步的环境"}}),a("el-step",{attrs:{title:"确认后,开始同步"}})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:0==e.step,expression:"step==0"}]},[a("el-row",{staticStyle:{"margin-top":"12px"}},[a("el-col",{attrs:{span:"22"}},[a("el-input",{attrs:{"prefix-icon":"el-icon-search",placeholder:"请输入服务名称或Host"},on:{input:e.filterServiceData},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}})],1),a("el-col",{attrs:{span:"2"}},[a("el-button",{staticStyle:{"margin-left":"12px"},attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.next(1)}}},[e._v("下一步")])],1)],1),a("avue-crud",{key:"service",ref:"serviceCrud",attrs:{option:e.serviceOption,data:e.serviceData,"table-loading":e.tableLoading},on:{"row-click":e.handleServiceRowClick,"selection-change":e.selectionChange,"search-change":e.handleServiceSearchChange}})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:1==e.step,expression:"step==1"}]},[a("el-row",{staticStyle:{"margin-top":"12px"}},[a("el-col",{attrs:{span:"22"}},[a("el-button",{staticStyle:{"margin-left":"12px"},attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.previous(0)}}},[e._v("上一步")])],1),a("el-col",{attrs:{span:"2"}},[a("el-button",{staticStyle:{"margin-left":"12px"},attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.next(2)}}},[e._v("下一步")])],1)],1),a("avue-crud",{key:"client",ref:"clientCrud",attrs:{option:e.clientsOption,data:e.clientData,"table-loading":e.tableLoading},on:{"selection-change":e.selectionClientChange,"row-click":e.handleClientRowClick}})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:2==e.step,expression:"step==2"}]},[a("el-row",{staticStyle:{"margin-top":"12px"}},[a("el-col",{attrs:{span:"22"}},[a("el-button",{staticStyle:{"margin-left":"12px"},attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.previous(1)}}},[e._v("上一步")])],1),a("el-col",{attrs:{span:"2"}})],1),a("el-row",{staticStyle:{"margin-top":"12px"}},[a("el-card",[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[a("i",{staticClass:"el-icon-info"}),a("strong",[e._v("同步信息(请确认后,点击'开始同步')")]),a("el-button",{directives:[{name:"show",rawName:"v-show",value:"ready"==e.syncForm.status,expression:"syncForm.status=='ready'"}],staticStyle:{"margin-left":"12px","margin-bottom":"12px"},attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.next(3)}}},[e._v("开始同步")]),a("el-button",{staticStyle:{"margin-left":"12px","margin-bottom":"12px"},attrs:{type:"success",size:"mini"},on:{click:e.emitSyncDiff}},[e._v("同步差异比对")]),a("el-button",{directives:[{name:"show",rawName:"v-show",value:"running"==e.syncForm.status,expression:"syncForm.status=='running'"}],staticStyle:{"margin-left":"12px","margin-bottom":"12px"},attrs:{disabled:"",type:"info",size:"mini"}},[e._v("同步进行中...")]),a("el-button",{directives:[{name:"show",rawName:"v-show",value:"success"==e.syncForm.status,expression:"syncForm.status=='success'"}],staticStyle:{"margin-left":"12px","margin-bottom":"12px"},attrs:{disabled:"",type:"success",size:"mini"}},[e._v("同步成功")]),a("el-button",{directives:[{name:"show",rawName:"v-show",value:"failure"==e.syncForm.status,expression:"syncForm.status=='failure'"}],staticStyle:{"margin-left":"12px","margin-bottom":"12px"},attrs:{disabled:"",type:"danger",size:"mini"}},[e._v("同步失败")])],1)]),a("div",[e._v("\n 同步的目标环境:\n "),e._l(e.syncForm.clients,function(t){return a("el-tag",{key:t,attrs:{"disable-transitions":!1,closable:""},on:{close:function(a){return e.handleClientRowClick(t)}}},[e._v(e._s(t.url))])})],2),a("div",{staticStyle:{"margin-top":"12px"}},[e._v("\n 同步的服务列表:\n "),e._l(e.syncForm.services,function(t){return a("el-tag",{key:t,attrs:{"disable-transitions":!1,closable:""},on:{close:function(a){return e.handleServiceRowClick(t)}}},[e._v(e._s(t.name))])})],2),a("div",[e._v("\n 数据类型:\n "),a("el-radio-group",{model:{value:e.syncForm.dataType,callback:function(t){e.$set(e.syncForm,"dataType",t)},expression:"syncForm.dataType"}},[a("el-radio",{attrs:{label:"services"}},[e._v("同步服务")]),a("el-radio",{attrs:{label:"routes"}},[e._v("同步路由")]),a("el-radio",{attrs:{label:"plugins"}},[e._v("同步插件")]),a("el-radio",{attrs:{label:"upstreams"}},[e._v("同步上游代理")])],1)],1),a("div",[e._v("\n 同步策略:\n "),a("el-radio-group",{model:{value:e.syncForm.policy,callback:function(t){e.$set(e.syncForm,"policy",t)},expression:"syncForm.policy"}},[a("el-radio",{attrs:{label:"create_update"}},[e._v("更新同步(存在就更新,不存在就新增)")]),a("el-radio",{attrs:{label:"over_ridden",disabled:""}},[e._v("覆盖同步")])],1)],1)])],1),e.showDiff?a("el-row",{staticStyle:{"margin-top":"12px"}},[a("el-card",[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[a("strong",[e._v("同步差异比对")])])]),a("div",[a("sync-diff",{attrs:{syncConfig:e.syncForm}})],1)])],1):e._e(),a("el-row",{staticStyle:{"margin-top":"12px"}},[a("el-card",[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[a("strong",[e._v("同步日志")])])]),a("div",{staticStyle:{"margin-top":"12px"}},[a("el-timeline",e._l(e.logData,function(t,n){return a("el-timeline-item",{key:n,attrs:{size:0==n?"large":"normal",color:"success"==t.status?"#0bbd87":"red",timestamp:e._f("parseTime")(t.create_at)}},[e._v(e._s(n+1)+". "+e._s(t.comment))])}),1)],1)])],1)],1)],1)},i=[],s=a("5176"),r=a.n(s),o=(a("7f7f"),a("6762"),a("2fdb"),a("cebc")),l=a("3dba"),c=a("af62"),u=a("5640"),d=a("78ba"),p=a("2775"),h=a("5880"),m={name:"syncService",components:{syncDiff:p["default"]},data:function(){return{serviceOption:{maxHeight:600,index:!0,selection:!0,simplePage:!0,border:!0,menu:!1,labelWidth:120,searchBtn:!1,addBtn:!1,editBtn:!1,delBtn:!1,columnBtn:!1,rowKey:"id",refreshBtn:!1,reserveSelection:!0,selectable:function(e,t){return!0},stripe:!0,menuAlign:"center",align:"center",searchSize:"mini",column:[{label:"服务名称",prop:"name",searchSpan:18,search:!1,searchFilterable:!0,searchMmultiple:!0,searchFilterMethod:function(e,t,a){console.log(e,",",t,",",a)}},{label:"HOST OR UPSTREAM",prop:"host"},{label:"创建日期",prop:"created_at",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",formatter:function(e,t,a,n){return 1e3*t}}]},clientsOption:{maxHeight:600,index:!0,simplePage:!0,selection:!0,border:!0,menu:!1,labelWidth:120,searchBtn:!1,addBtn:!1,editBtn:!1,delBtn:!1,columnBtn:!1,rowKey:"id",refreshBtn:!1,reserveSelection:!0,selectable:function(e,t){return!0},stripe:!0,menuAlign:"center",align:"center",searchSize:"mini",column:[{label:"服务名称",prop:"name",width:120},{label:"URL",prop:"url"},{label:"环境",prop:"profile",width:120},{label:"创建日期",prop:"create_at",sortable:!0,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss"}]},syncLogGroupOption:u["i"],serviceData:[],serviceItems:[],clientData:[],searchForm:"",syncForm:{services:[],clients:[],status:"ready",dataType:"services",policy:"create_update"},logData:[],step:0,syncConfigTimer:null,showDiff:!1,try_times:-1}},computed:Object(o["a"])({},Object(h["mapGetters"])(["permission","isProdProfile","systemProfile"])),created:function(){this.handleServiceSearchChange()},methods:{emitSyncDiff:function(){this.showDiff=!this.showDiff},filterServiceData:function(e){var t=e.trim();this.serviceData=""!=t?this.serviceItems.filter(function(e){return e.name.includes(t)||e.host.includes(t)}):this.serviceItems},handleServiceSearchChange:function(){var e=this;this.tableLoading=!0,Object(l["a"])(r()({})).then(function(t){var a=t.data;e.serviceItems=a.data,e.serviceData=e.serviceItems,e.tableLoading=!1})},selectionChange:function(e){this.syncForm.services=e},selectionClientChange:function(e){this.syncForm.clients=e},handleServiceRowClick:function(e){this.$refs.serviceCrud.toggleSelection([e])},handleClientRowClick:function(e){this.$refs.clientCrud.toggleSelection([e])},next:function(e){var t=this;switch(e){case 0:break;case 1:if(this.syncForm.services&&0==this.syncForm.services.length)return void this.$errorInfo("请先选择需要同步的服务");Object(c["d"])().then(function(e){for(var a=e.data.data,n=0;n0?"&list":""):"".concat(this.$route.query.src).concat(s.length>0?"?list":"");var a=3,r=setInterval(function(){a--,0==a&&(t.hide(),clearInterval(r))},1e3);this.iframeInit()},iframeInit:function(){var t=this,e=this.$refs.iframe,s=document.documentElement.clientHeight-(screen>1?200:130);e.style.height="".concat(s,"px"),e.attachEvent?e.attachEvent("onload",function(){t.hide()}):e.onload=function(){t.hide()}},getUrlPath:function(){var t=window.location.href;return t=t.replace("/myiframe",""),t}}}),u=l,d=(s("30eb"),s("2877")),p=Object(d["a"])(u,n,a,!1,null,null,null);e["default"]=p.exports},c6f3:function(t,e,s){},c894:function(t,e,s){"use strict";var n=s("9d31"),a=s.n(n);a.a},d4d0:function(t,e,s){},f2a4:function(t,e,s){"use strict";var n=s("0ce0"),a=s.n(n);a.a}}]); \ No newline at end of file diff --git a/kongx-serve/src/main/resources/static/js/page.fcf7dfdc.js b/kongx-serve/src/main/resources/static/js/page.fcf7dfdc.js deleted file mode 100644 index b08b128..0000000 --- a/kongx-serve/src/main/resources/static/js/page.fcf7dfdc.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["page"],{"0ce0":function(t,e,s){},"15c5e":function(t,e,s){"use strict";s.r(e);var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"lock-container pull-height"},[s("div",{staticClass:"lock-form animated bounceInDown"},[s("div",{staticClass:"animated",class:{shake:t.passwdError,bounceOut:t.pass}},[s("h3",{staticClass:"title"},[t._v(t._s(t.userInfo.username))]),s("el-input",{staticClass:"input-with-select animated",attrs:{placeholder:"请输入登录密码",type:"password"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleLogin(e)}},model:{value:t.passwd,callback:function(e){t.passwd=e},expression:"passwd"}},[s("el-button",{attrs:{slot:"append",icon:"icon-bofangqi-suoping"},on:{click:t.handleLogin},slot:"append"}),s("el-button",{attrs:{slot:"append",icon:"icon-tuichu"},on:{click:t.handleLogout},slot:"append"})],1)],1)])])},a=[],r=s("cebc"),o=s("5880"),i={name:"lock",data:function(){return{passwd:"",passwdError:!1,pass:!1}},created:function(){},mounted:function(){},computed:Object(r["a"])({},Object(o["mapState"])({userInfo:function(t){return t.user.userInfo}}),Object(o["mapGetters"])(["tag","lockPasswd"])),props:[],methods:{handleLogout:function(){var t=this;this.$confirm("是否退出系统, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.$store.dispatch("LogOut").then(function(){t.$router.push({path:"/login"})})})},handleLogin:function(){var t=this;if(this.passwd!=this.lockPasswd)return this.passwd="",this.$message({message:"解锁密码错误,请重新输入",type:"error"}),this.passwdError=!0,void setTimeout(function(){t.passwdError=!1},1e3);this.pass=!0,setTimeout(function(){t.$store.commit("CLEAR_LOCK"),t.$router.push({path:t.$router.$avueRouter.getPath({src:t.tag.value})})},1e3)}},components:{}},c=i,l=(s("70dc"),s("2877")),u=Object(l["a"])(c,n,a,!1,null,null,null);e["default"]=u.exports},"30eb":function(t,e,s){"use strict";var n=s("c6f3"),a=s.n(n);a.a},5596:function(t,e,s){"use strict";s.r(e);var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"login-container"},[s("div",{staticClass:"login-weaper animated bounceInDown"},[t._m(0),s("p",{staticClass:"login-tip"},[t._v("Kong-网关服务管理平台 v1.2.1")]),s("div",{staticClass:"login-border"},[s("div",{staticClass:"login-main"},["user"===t.activeName?s("userLogin"):t._e()],1)]),s("div",{staticClass:"login-copyright"},[t._v("Copyright © 2020 raoxiaoyan. All rights reserved.")])])])},a=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("img",{staticClass:"img",attrs:{src:"/svg/logo.png",alt:""}})])}],r=s("cebc"),o=(s("d4d0"),s("7c05")),i=s("44b2"),c=s("37cf"),l=s("5880"),u=s("c54a"),d={name:"login",mixins:[Object(c["a"])()],components:{topColor:i["default"],userLogin:o["default"]},data:function(){return{activeName:"user"}},watch:{$route:function(){var t=this.$route.query;if(this.socialForm.state=t.state,this.socialForm.code=t.code,!Object(u["c"])(this.socialForm.state)){var e=this.$loading({lock:!0,text:"".concat("WX"===this.socialForm.state?"微信":"QQ","登录中,请稍后。。。"),spinner:"el-icon-loading"});setTimeout(function(){e.close()},2e3)}}},created:function(){},mounted:function(){},computed:Object(r["a"])({},Object(l["mapGetters"])(["website"])),props:[],methods:{}},p=d,m=s("2877"),f=Object(m["a"])(p,n,a,!1,null,null,null);e["default"]=f.exports},"611b":function(t,e,s){"use strict";s.r(e);var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"error500"},[s("div",{staticClass:"error500-body-con"},[s("el-card",{staticClass:"box-card"},[s("div",{staticClass:"error500-body-con-title"},[t._v("\n 5\n "),s("span",{staticClass:"error500-0-span"},[s("i",{staticClass:"icon-debug"})]),s("span",{staticClass:"error500-0-span"},[s("i",{staticClass:"icon-debug"})])]),s("p",{staticClass:"error500-body-con-message"},[t._v("Oops! the server is wrong")]),s("div",{staticClass:"error500-btn-con"},[s("el-button",{staticStyle:{width:"200px"},attrs:{size:"large",type:"text"},on:{click:t.goHome}},[t._v("返回首页")]),s("el-button",{staticStyle:{width:"200px","margin-left":"40px"},attrs:{size:"large",type:"primary"},on:{click:t.backPage}},[t._v("返回上一页")])],1)])],1)])},a=[],r={name:"Error500",methods:{backPage:function(){this.$router.go(-1)},goHome:function(){this.$router.push({path:"/"})}}},o=r,i=(s("f2a4"),s("2877")),c=Object(i["a"])(o,n,a,!1,null,"606040a7",null);e["default"]=c.exports},"70dc":function(t,e,s){"use strict";var n=s("758e"),a=s.n(n);a.a},"758e":function(t,e,s){},"7c05":function(t,e,s){"use strict";s.r(e);var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{"status-icon":"",rules:t.loginRules,model:t.loginForm,"label-width":"0"}},[s("el-form-item",{attrs:{prop:"username"}},[s("el-input",{ref:"userName",attrs:{size:"small","auto-complete":"off",placeholder:"请输入用户名"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleLogin(e)}},model:{value:t.loginForm.username,callback:function(e){t.$set(t.loginForm,"username",e)},expression:"loginForm.username"}},[s("i",{staticClass:"icon-yonghu",attrs:{slot:"prefix"},slot:"prefix"})])],1),s("el-form-item",{attrs:{prop:"password"}},[s("el-input",{attrs:{size:"small",type:t.passwordType,"auto-complete":"off",placeholder:"请输入密码"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleLogin(e)}},model:{value:t.loginForm.password,callback:function(e){t.$set(t.loginForm,"password",e)},expression:"loginForm.password"}},[s("i",{staticClass:"el-icon-view el-input__icon",attrs:{slot:"suffix"},on:{click:t.showPassword},slot:"suffix"}),s("i",{staticClass:"icon-mima",attrs:{slot:"prefix"},slot:"prefix"})])],1),t.codeDisplay?s("el-form-item",{attrs:{prop:"code"}},[s("el-row",{attrs:{span:24}},[s("el-col",{attrs:{span:16}},[s("el-input",{attrs:{size:"small",maxlength:t.code.len,"auto-complete":"off",placeholder:"请输入验证码"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleLogin(e)}},model:{value:t.loginForm.code,callback:function(e){t.$set(t.loginForm,"code",e)},expression:"loginForm.code"}},[s("i",{staticClass:"icon-yanzhengma",attrs:{slot:"prefix"},slot:"prefix"})])],1),s("el-col",{attrs:{span:8}},[s("div",{staticClass:"login-code"},[s("el-button",{attrs:{disabled:t.btnDisabled},on:{click:t.refreshCode}},[t._v(t._s(t.btnName))]),s("i",{staticClass:"icon-shuaxin login-code-icon",on:{click:t.refreshCode}})],1)])],1)],1):t._e(),s("el-form-item",[s("el-button",{staticClass:"login-submit",attrs:{type:"primary",size:"small"},nativeOn:{click:function(e){return e.preventDefault(),t.handleLogin(e)}}},[t._v("登录")])],1)],1)},a=[],r=s("cebc"),o=(s("0e0b"),s("a161")),i=s("5880"),c={name:"userlogin",data:function(){return{loginForm:{username:"admin",password:"123456",code:"",redomStr:""},codeDisplay:!1,isFirst:!0,times:60,btnDisabled:!1,btnName:"获取验证码",checked:!1,code:{src:"",value:"",len:6,type:"text"},loginRules:{username:[{required:!0,message:"请输入用户名",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"},{min:6,message:"密码长度最少为6位",trigger:"blur"}],code:[{required:!0,message:"请输入验证码",trigger:"blur"},{min:6,max:6,message:"验证码长度为6位",trigger:"blur"},{required:!0,trigger:"blur"}]},passwordType:"password"}},created:function(){},mounted:function(){this.$nextTick(function(){this.$refs.userName.focus()})},computed:Object(r["a"])({},Object(i["mapGetters"])(["tagWel"])),props:[],methods:{refreshCode:function(){var t=this;Object(o["c"])(this.loginForm).then(function(e){var s=e.data,n=s.status;if(t.times=60,t.btnDisabled=!1,"1"==n)t.$message({showClose:!0,message:s.errmsg,type:"error"});else{var a=window.setInterval(function(){t.times--,t.times<0?(t.btnName="获取验证码",t.btnDisabled=!1,window.clearInterval(a)):(t.btnName=t.times+"秒后重新获取",t.btnDisabled=!0)},1e3);t.$message({showClose:!0,message:s.errmsg,type:"success"})}})},showPassword:function(){""==this.passwordType?this.passwordType="password":this.passwordType=""},handleLogin:function(){var t=this;this.$refs.loginForm.validate(function(e){e&&t.$store.dispatch("LoginByUsernameDis",t.loginForm).then(function(){t.$router.push({path:t.tagWel.value})},function(e){t.$message({showClose:!0,message:e.errmsg,type:"error"})})})}}},l=c,u=s("2877"),d=Object(u["a"])(l,n,a,!1,null,null,null);e["default"]=d.exports},8033:function(t,e,s){"use strict";var n=s("882e"),a=s.n(n);a.a},"882e":function(t,e,s){},"9d31":function(t,e,s){},a5fa:function(t,e,s){"use strict";s.r(e);var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"error404"},[s("div",{staticClass:"error404-body-con"},[s("el-card",{staticClass:"box-card"},[s("div",{staticClass:"error404-body-con-title"},[t._v("4\n "),s("span",[t._v("0")]),t._v("4")]),s("p",{staticClass:"error404-body-con-message"},[t._v("YOU  LOOK  LOST")]),s("div",{staticClass:"error404-btn-con"},[s("el-button",{staticStyle:{width:"200px"},attrs:{size:"large",type:"text"},on:{click:t.goHome}},[t._v("返回首页")]),s("el-button",{staticStyle:{width:"200px","margin-left":"40px"},attrs:{size:"large",type:"primary"},on:{click:t.backPage}},[t._v("返回上一页")])],1)])],1)])},a=[],r={name:"Error404",methods:{backPage:function(){this.$router.go(-1)},goHome:function(){this.$router.push({path:"/"})}}},o=r,i=(s("c894"),s("2877")),c=Object(i["a"])(o,n,a,!1,null,"5864062f",null);e["default"]=c.exports},a8d0:function(t,e,s){"use strict";s.r(e);var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"error403"},[s("div",{staticClass:"error403-body-con"},[s("el-card",{staticClass:"box-card"},[s("div",{staticClass:"error403-body-con-title"},[t._v("4\n "),s("span",{staticClass:"error403-0-span"},[s("i",{staticClass:"icon-quanxian"})]),s("span",{staticClass:"error403-key-span"},[s("i",{staticClass:"icon-iconset0216"})])]),s("p",{staticClass:"error403-body-con-message"},[t._v("You don't have permission")]),s("div",{staticClass:"error403-btn-con"},[s("el-button",{staticStyle:{width:"200px"},attrs:{size:"large",type:"text"},on:{click:t.goHome}},[t._v("返回首页")]),s("el-button",{staticStyle:{width:"200px","margin-left":"40px"},attrs:{size:"large",type:"primary"},on:{click:t.backPage}},[t._v("返回上一页")])],1)])],1)])},a=[],r={name:"Error403",methods:{backPage:function(){this.$router.go(-1)},goHome:function(){this.$router.push({path:"/"})}}},o=r,i=(s("8033"),s("2877")),c=Object(i["a"])(o,n,a,!1,null,"4d643359",null);e["default"]=c.exports},c1a1:function(t,e,s){"use strict";s.r(e);var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("basic-container",[t.$route.query.src?s("iframe",{ref:"iframe",staticClass:"iframe",attrs:{src:t.$route.query.src}}):s("iframe",{ref:"iframe",staticClass:"iframe",attrs:{src:t.urlPath}})])],1)},a=[],r=(s("a481"),s("6b54"),s("cebc")),o=s("5880"),i=s("323e"),c=s.n(i),l=(s("a5d8"),{name:"AvueIframe",data:function(){return{urlPath:this.getUrlPath()}},created:function(){c.a.configure({showSpinner:!1})},mounted:function(){this.load(),this.resize()},props:["routerPath"],watch:{$route:function(){this.load()},routerPath:function(){this.urlPath=this.getUrlPath()}},components:Object(r["a"])({},Object(o["mapGetters"])(["screen"])),methods:{show:function(){c.a.start()},hide:function(){c.a.done()},resize:function(){var t=this;window.onresize=function(){t.iframeInit()}},load:function(){var t=this;this.show();var e=!0;-1==this.$route.query.src.indexOf("?")&&(e=!1);var s=[];for(var n in this.$route.query)"src"!=n&&"name"!=n&&s.push("".concat(n,"= this.$route.query[key]"));s=s.join("&").toString(),this.$route.query.src=e?"".concat(this.$route.query.src).concat(s.length>0?"&list":""):"".concat(this.$route.query.src).concat(s.length>0?"?list":"");var a=3,r=setInterval(function(){a--,0==a&&(t.hide(),clearInterval(r))},1e3);this.iframeInit()},iframeInit:function(){var t=this,e=this.$refs.iframe,s=document.documentElement.clientHeight-(screen>1?200:130);e.style.height="".concat(s,"px"),e.attachEvent?e.attachEvent("onload",function(){t.hide()}):e.onload=function(){t.hide()}},getUrlPath:function(){var t=window.location.href;return t=t.replace("/myiframe",""),t}}}),u=l,d=(s("30eb"),s("2877")),p=Object(d["a"])(u,n,a,!1,null,null,null);e["default"]=p.exports},c6f3:function(t,e,s){},c894:function(t,e,s){"use strict";var n=s("9d31"),a=s.n(n);a.a},d4d0:function(t,e,s){},f2a4:function(t,e,s){"use strict";var n=s("0ce0"),a=s.n(n);a.a}}]); \ No newline at end of file diff --git a/kongx-serve/src/main/resources/static/js/views.8779f95b.js b/kongx-serve/src/main/resources/static/js/views.6a5b74bc.js similarity index 97% rename from kongx-serve/src/main/resources/static/js/views.8779f95b.js rename to kongx-serve/src/main/resources/static/js/views.6a5b74bc.js index ed92853..8a4102a 100644 --- a/kongx-serve/src/main/resources/static/js/views.8779f95b.js +++ b/kongx-serve/src/main/resources/static/js/views.6a5b74bc.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["views"],{3086:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("basic-container",[n("avue-tabs",{attrs:{option:e.option,data:e.data,page:e.page},on:{change:e.handleChange,submit:e.handleSubmit,"selection-change":e.selectionChange},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}},[n("template",{slot:"before"},[n("el-button",{attrs:{size:"small"},on:{click:e.handleDel}},[e._v("全部已读")]),n("el-button",{attrs:{size:"small"},on:{click:e.handleDel}},[e._v("标记已读")]),n("el-button",{attrs:{size:"small"},on:{click:e.handleDel}},[e._v("删除")])],1)],2)],1)],1)},s=[],o={column:[{label:"全部信息",prop:"all",type:"crud",option:{selection:!0,addBtn:!1,menu:!1,header:!1,column:[{width:500,label:"标题内容",prop:"title"},{label:"时间",prop:"date"}]}},{label:"通知",prop:"msg",type:"crud",option:{selection:!0,addBtn:!1,menu:!1,header:!1,column:[{width:500,label:"标题内容",prop:"title"},{label:"时间",prop:"date"}]}},{label:"私信",prop:"one",type:"crud",option:{selection:!0,addBtn:!1,menu:!1,header:!1,column:[{width:500,label:"标题内容",prop:"title"},{label:"时间",prop:"date"}]}}]},r=n("c54a"),i={data:function(){return{form:{},type:"message",option:o,checkList:[],page:{currentPage:1,total:100,pageSize:10},data:[]}},created:function(){this.handleWitch()},methods:{handleSubmit:function(){this.$message({message:this.form,type:"success"})},handleWitch:function(){"all"===this.type?this.data=[{title:"你好新朋友,感谢使用 avue-cli",date:"2018-11-23"},{title:"smallwei发来一条私信",date:"2018-11-23"}]:"msg"===this.type&&(this.data=[{title:"smallwei发来一条私信",date:"2018-11-23"},{title:"smallwei发来一条私信",date:"2018-11-23"}])},selectionChange:function(e){this.checkList=e},handleDel:function(){Object(r["c"])(this.checkList)?this.$message.warning("请选择至少一条数据"):this.$message.success("操作成功")},handleChange:function(e){this.type=e.prop,this.handleWitch()}}},l=i,c=n("2877"),u=Object(c["a"])(l,a,s,!1,null,null,null);t["default"]=u.exports},"696f":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.kongClient&&-1!=e.kongClient.id?n("in-home"):n("client-info")],1)},s=[],o=n("cebc"),r=(n("af62"),n("5880")),i={name:"wel",components:{InHome:function(){return n.e("chunk-36d68c6a").then(n.bind(null,"405d"))},clientInfo:function(){return n.e("chunk-569fe953").then(n.bind(null,"442f"))}},data:function(){return{}},computed:Object(o["a"])({},Object(r["mapGetters"])(["userInfo","kongClient"])),created:function(){this.findActiveKongclient()},methods:{findActiveKongclient:function(){this.$store.dispatch("FindActiveClient",this.userInfo).then(function(e){})}}},l=i,c=n("2877"),u=Object(c["a"])(l,a,s,!1,null,null,null);t["default"]=u.exports},e17e:function(e,t,n){"use strict";n.d(t,"e",function(){return o}),n.d(t,"f",function(){return r}),n.d(t,"d",function(){return i}),n.d(t,"c",function(){return l}),n.d(t,"g",function(){return c}),n.d(t,"a",function(){return u}),n.d(t,"b",function(){return d});var a=n("b5c6"),s=n("074d"),o=function(e){return Object(a["a"])({url:s["a"].path+"/system/user",method:"post",data:e})},r=function(e){return Object(a["a"])({url:s["a"].path+"/system/user/"+e.userId,method:"post",data:e})},i=function(e){return Object(a["a"])({url:s["a"].path+"/system/user/reset/"+e+"/",method:"post"})},l=function(e){return Object(a["a"])({url:s["a"].path+"/system/user/modifypwd/",method:"post",data:e})},c=function(e){return Object(a["a"])({url:s["a"].path+"/system/user/updateUserRole",method:"post",data:e})},u=function(e){return Object(a["a"])({url:s["a"].path+"/system/user/page",method:"get",params:e})},d=function(e){return Object(a["a"])({url:s["a"].path+"/system/user/list",method:"get",params:e})}},e37e:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("basic-container",[n("avue-tabs",{attrs:{option:e.option},on:{change:e.handleChange,submit:e.handleSubmit},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1)],1)},s=[],o=n("cebc"),r={column:[{label:"个人信息",prop:"info",option:{submitText:"修改",column:[{label:"用户名",span:12,disabled:!0,row:!0,prop:"userId"},{label:"姓名",row:!0,prop:"name"},{label:"手机号",span:12,row:!0,prop:"mobile"},{label:"邮箱",prop:"email",row:!0}]}},{label:"修改密码",prop:"password",option:{submitText:"修改",column:[{label:"原密码",span:12,row:!0,type:"password",prop:"oldpassword"},{label:"新密码",span:12,row:!0,type:"password",prop:"newpassword"},{label:"确认密码",span:12,row:!0,type:"password",prop:"newpasswords"}]}}]},i=n("5880"),l=n("e17e"),c=n("0e0b"),u={data:function(){return{type:"info",option:r,form:{}}},created:function(){this.handleWitch()},computed:Object(o["a"])({},Object(i["mapGetters"])(["permission","userInfo"])),methods:{handleSubmit:function(){"info"==this.type&&this.handleEntityUpdate(),"password"==this.type&&this.handlerModifyPwd()},handlerModifyPwd:function(){var e=this,t=Object(c["c"])({data:this.form,type:"Base64",key:"avue",param:["oldpassword","newpassword"]});Object(l["c"])({userId:this.userInfo.userId,oldpassword:t.oldpassword,newpassword:t.newpassword}).then(function(t){var n=t.data;0!=n.status?e.$message.error(n.errmsg):(e.$message.success("修改成功,退出后重新登录"),e.$store.dispatch("LogOut").then(function(){e.$router.push({path:"/login"})}))})},handleEntityUpdate:function(){var e=this;Object(l["f"])(this.form).then(function(t){var n=t.data;0!=n.status?e.$message.error(n.errmsg):(e.$store.dispatch("GetUserInfo").then(function(){}),e.$message.success("修改成功"))}).catch(function(t){e.$message.error("更新失败")})},handleWitch:function(){"info"===this.type?this.form=_.cloneDeep(this.userInfo):"password"===this.type&&(this.form=_.cloneDeep({}))},handleChange:function(e){this.type=e.prop,this.handleWitch()}}},d=u,p=n("2877"),h=Object(p["a"])(d,a,s,!1,null,null,null);t["default"]=h.exports}}]); \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["views"],{3086:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("basic-container",[n("avue-tabs",{attrs:{option:e.option,data:e.data,page:e.page},on:{change:e.handleChange,submit:e.handleSubmit,"selection-change":e.selectionChange},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}},[n("template",{slot:"before"},[n("el-button",{attrs:{size:"small"},on:{click:e.handleDel}},[e._v("全部已读")]),n("el-button",{attrs:{size:"small"},on:{click:e.handleDel}},[e._v("标记已读")]),n("el-button",{attrs:{size:"small"},on:{click:e.handleDel}},[e._v("删除")])],1)],2)],1)],1)},s=[],o={column:[{label:"全部信息",prop:"all",type:"crud",option:{selection:!0,addBtn:!1,menu:!1,header:!1,column:[{width:500,label:"标题内容",prop:"title"},{label:"时间",prop:"date"}]}},{label:"通知",prop:"msg",type:"crud",option:{selection:!0,addBtn:!1,menu:!1,header:!1,column:[{width:500,label:"标题内容",prop:"title"},{label:"时间",prop:"date"}]}},{label:"私信",prop:"one",type:"crud",option:{selection:!0,addBtn:!1,menu:!1,header:!1,column:[{width:500,label:"标题内容",prop:"title"},{label:"时间",prop:"date"}]}}]},r=n("c54a"),i={data:function(){return{form:{},type:"message",option:o,checkList:[],page:{currentPage:1,total:100,pageSize:10},data:[]}},created:function(){this.handleWitch()},methods:{handleSubmit:function(){this.$message({message:this.form,type:"success"})},handleWitch:function(){"all"===this.type?this.data=[{title:"你好新朋友,感谢使用 avue-cli",date:"2018-11-23"},{title:"smallwei发来一条私信",date:"2018-11-23"}]:"msg"===this.type&&(this.data=[{title:"smallwei发来一条私信",date:"2018-11-23"},{title:"smallwei发来一条私信",date:"2018-11-23"}])},selectionChange:function(e){this.checkList=e},handleDel:function(){Object(r["c"])(this.checkList)?this.$message.warning("请选择至少一条数据"):this.$message.success("操作成功")},handleChange:function(e){this.type=e.prop,this.handleWitch()}}},l=i,c=n("2877"),u=Object(c["a"])(l,a,s,!1,null,null,null);t["default"]=u.exports},"696f":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.kongClient&&-1!=e.kongClient.id?n("in-home"):n("client-info")],1)},s=[],o=n("cebc"),r=(n("af62"),n("5880")),i={name:"wel",components:{InHome:function(){return n.e("chunk-36d68c6a").then(n.bind(null,"405d"))},clientInfo:function(){return n.e("chunk-a425ea88").then(n.bind(null,"442f"))}},data:function(){return{}},computed:Object(o["a"])({},Object(r["mapGetters"])(["userInfo","kongClient"])),created:function(){this.findActiveKongclient()},methods:{findActiveKongclient:function(){this.$store.dispatch("FindActiveClient",this.userInfo).then(function(e){})}}},l=i,c=n("2877"),u=Object(c["a"])(l,a,s,!1,null,null,null);t["default"]=u.exports},e17e:function(e,t,n){"use strict";n.d(t,"e",function(){return o}),n.d(t,"f",function(){return r}),n.d(t,"d",function(){return i}),n.d(t,"c",function(){return l}),n.d(t,"g",function(){return c}),n.d(t,"a",function(){return u}),n.d(t,"b",function(){return d});var a=n("b5c6"),s=n("074d"),o=function(e){return Object(a["a"])({url:s["a"].path+"/system/user",method:"post",data:e})},r=function(e){return Object(a["a"])({url:s["a"].path+"/system/user/"+e.userId,method:"post",data:e})},i=function(e){return Object(a["a"])({url:s["a"].path+"/system/user/reset/"+e+"/",method:"post"})},l=function(e){return Object(a["a"])({url:s["a"].path+"/system/user/modifypwd/",method:"post",data:e})},c=function(e){return Object(a["a"])({url:s["a"].path+"/system/user/updateUserRole",method:"post",data:e})},u=function(e){return Object(a["a"])({url:s["a"].path+"/system/user/page",method:"get",params:e})},d=function(e){return Object(a["a"])({url:s["a"].path+"/system/user/list",method:"get",params:e})}},e37e:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("basic-container",[n("avue-tabs",{attrs:{option:e.option},on:{change:e.handleChange,submit:e.handleSubmit},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1)],1)},s=[],o=n("cebc"),r={column:[{label:"个人信息",prop:"info",option:{submitText:"修改",column:[{label:"用户名",span:12,disabled:!0,row:!0,prop:"userId"},{label:"姓名",row:!0,prop:"name"},{label:"手机号",span:12,row:!0,prop:"mobile"},{label:"邮箱",prop:"email",row:!0}]}},{label:"修改密码",prop:"password",option:{submitText:"修改",column:[{label:"原密码",span:12,row:!0,type:"password",prop:"oldpassword"},{label:"新密码",span:12,row:!0,type:"password",prop:"newpassword"},{label:"确认密码",span:12,row:!0,type:"password",prop:"newpasswords"}]}}]},i=n("5880"),l=n("e17e"),c=n("0e0b"),u={data:function(){return{type:"info",option:r,form:{}}},created:function(){this.handleWitch()},computed:Object(o["a"])({},Object(i["mapGetters"])(["permission","userInfo"])),methods:{handleSubmit:function(){"info"==this.type&&this.handleEntityUpdate(),"password"==this.type&&this.handlerModifyPwd()},handlerModifyPwd:function(){var e=this,t=Object(c["c"])({data:this.form,type:"Base64",key:"avue",param:["oldpassword","newpassword"]});Object(l["c"])({userId:this.userInfo.userId,oldpassword:t.oldpassword,newpassword:t.newpassword}).then(function(t){var n=t.data;0!=n.status?e.$message.error(n.errmsg):(e.$message.success("修改成功,退出后重新登录"),e.$store.dispatch("LogOut").then(function(){e.$router.push({path:"/login"})}))})},handleEntityUpdate:function(){var e=this;Object(l["f"])(this.form).then(function(t){var n=t.data;0!=n.status?e.$message.error(n.errmsg):(e.$store.dispatch("GetUserInfo").then(function(){}),e.$message.success("修改成功"))}).catch(function(t){e.$message.error("更新失败")})},handleWitch:function(){"info"===this.type?this.form=_.cloneDeep(this.userInfo):"password"===this.type&&(this.form=_.cloneDeep({}))},handleChange:function(e){this.type=e.prop,this.handleWitch()}}},d=u,p=n("2877"),h=Object(p["a"])(d,a,s,!1,null,null,null);t["default"]=h.exports}}]); \ No newline at end of file