Commit 401a5b1b by 无尘

feat: 增加登录接口

parent 16c84699
......@@ -10,7 +10,7 @@ module.exports = {
// Paths
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {},//proxyConfig.proxyList,
proxyTable: proxyConfig.proxyList, //{}, //proxyConfig.proxyList,
// Various Dev Server settings
// host: '0.0.0.0', // can be overwritten by process.env.HOST
......
module.exports = {
proxyList: {
'/api-auth/': {
target: 'http://gicdev.demogic.com/api-auth/',
'/gateway-manage/': {
target: 'https://four.gicdev.com/gateway-manage/',
changeOrigin: true,
pathRewrite: {
'^/api-auth': ''
}
},
'/api-admin/': {
target: 'http://gicdev.demogic.com/api-admin/',
changeOrigin: true,
pathRewrite: {
'^/api-admin': ''
}
},
'/api-plug/': {
target: 'http://gicdev.demogic.com/api-plug/',
changeOrigin: true,
pathRewrite: {
'^/api-plug': ''
}
},
'/api-mall/': {
target: 'http://gicdev.demogic.com/api-mall/',
changeOrigin: true,
pathRewrite: {
'^/api-mall': ''
'^/gateway-manage': ''
}
}
}
......
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.84e36005a4e602ad7472902f7156c9ee.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.1b4f8252b875fbc2d9b2.js></script><script type=text/javascript src=./static/js/vendor.928b68e48614c700460c.js></script><script type=text/javascript src=./static/js/app.5f56b3d2cef579f70e75.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.0c09bce2cee8d2e22c8f4ded7dbfee3d.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.d4cd3c23686c0c22c895.js></script><script type=text/javascript src=./static/js/vendor.de2ec0cfb18e10972eca.js></script><script type=text/javascript src=./static/js/app.dddcb854f77927a815af.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
@import './public.css';
.arrowico {
position: absolute;
transition: all .5s;
.icoposition(0px, 25px);
}
.icoposition(@right: right, @top: top) {
right: @right;
top: @top;
}
.user-form-dialog {
/deep/ .el-dialog {
min-width: 425px;
}
/*/deep/ .el-dialog__body {
padding: 0 20px;
}*/
/deep/ .el-input {
width: 260px;
}
}
.pass-form-dialog {
/deep/ .el-dialog {
min-width: 425px;
}
/*/deep/ .el-dialog__body {
padding: 0 20px;
}*/
}
.commom-container {
background: #fff;
}
.common-frame-container {
display: flex;
.common-right-container {
/*height: 690px;*/
background: #fff;
flex: 1;
padding: 0 24px;
.common-right-header {
height: 70px;
line-height: 70px;
font-weight: 400;
font-size: 14px;
color: #606266;
.title-span {
color: #303133;
font-size: 20px;
}
.handle-area {
float: right;
.hurdle {
width: 1px;
height: 16px;
display: inline-block;
background: #DCDFE6;
margin: 0;
vertical-align: sub;
}
.no-bdr-btn {
background: none;
color: #409EFF;
border: none;
}
.el-button.is-disabled,
.el-button.is-disabled:hover,
.el-button.is-disabled:focus {
background: none;
color: #c0c4cc;
}
}
}
.tab-div {
margin-bottom: 20px;
}
.common-right-button-box {
padding: 8px 15px;
background: #EBEEF5;
font-size: 0;
.el-select--small {
width: 120px;
margin-right: 10px;
}
.el-button {
margin-right: 8px;
}
}
.pagination {
margin: 24px 0;
text-align: right;
}
.diy-table {
.diy-header {
display: flex;
.name {
width: 130px;
min-width: 130px;
max-width: 130px;
}
.phone,
.position {
width: 125px;
min-width: 125px;
max-width: 125px;
}
.status {
width: 100px;
min-width: 100px;
max-width: 100px;
}
}
.clerk-obj-li {
display: flex;
padding: 10px 0;
margin-bottom: 25px;
line-height: 32px;
&:last-child {
margin-bottom: 0;
}
.clerk-name {
width: 130px;
.manager {
display: inline-block;
width: 30px;
height: 15px;
line-height: 16px;
vertical-align: middle;
text-align: center;
background: rgba(247, 203, 39, 1);
border-radius: 2px;
color: #fff;
font-size: 10px;
}
}
.clerk-phone,
.clerk-position {
width: 125px;
}
.clerk-status {
width: 100px;
.status-icon {
width: 34px;
height: 32px;
line-height: 32px;
text-align: center;
background: #ECF5FF;
border: 1px solid #D9ECFF;
border-radius: 4px;
&.is-active {
color: #409EFF;
}
}
}
}
}
}
}
.store-info {
flex: 1;
height: 690px;
overflow: auto;
.info-cell {
margin-bottom: 24px;
background: #fff;
padding-bottom: 24px;
>.title {
line-height: 55px;
text-indent: 32px;
border-bottom: 1px solid #E4E7ED;
}
.info-form {
padding: 24px 60px 0;
.el-form-item:last-child {
margin-bottom: 0;
}
.el-textarea,
.counter {
width: 500px;
&.el-date-editor {
width: 150px;
}
}
.w-92 {
.el-input {
width: 92px;
}
}
.area-container {
.el-select {
width: 163px;
}
.el-input {
width: 160px;
}
}
.img-list {
display: flex;
flex-wrap: wrap;
width: 500px;
.img-li {
width: 148px;
height: 148px;
border-radius: 6px;
margin-right: 12px;
margin-bottom: 10px;
position: relative;
&.J_add-img {
text-align: center;
line-height: 150px;
border: 1px solid rgba(192, 204, 218, 1);
font-size: 23px;
color: #909399;
.tip {
position: absolute;
font-size: 13px;
bottom: -23px;
height: 13px;
line-height: 13px;
text-align: center;
width: 100%;
}
}
.J_del-img {
position: absolute;
font-size: 20px;
color: #808995;
top: -10px;
right: -10px;
cursor: pointer;
}
img {
width: 100%;
height: 100%;
border-radius: 6px;
}
}
}
}
}
.handle-area {
background: rgba(255, 255, 255, 1);
height: 57px;
line-height: 57px;
text-align: center;
}
}
......@@ -264,9 +264,6 @@ scrollbar[orient="vertical"] {
html,
body {
width: 100%;
/* min-height: 100%;
height: 100%; */
background-color: #f0f2f5;
}
body {
......@@ -328,6 +325,10 @@ input:focus {
display: block;
}
.pointer {
cursor: pointer;
}
.bdr-box {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
......@@ -364,13 +365,10 @@ input:focus {
color: #fff;
}
.color-1890ff {
color: #1890ff;
.color-5584FF {
color: #5584FF;
}
.color-1890ff {
color: #1890ff;
}
.c-909399 {
color: #909399;
......@@ -420,6 +418,10 @@ input:focus {
padding: 45px;
}
.p-l-4 {
padding-left: 4px;
}
.p-l-6 {
padding-left: 6px;
}
......@@ -456,6 +458,10 @@ input:focus {
padding-left: 110px;
}
.p-lr-10 {
padding: 0 10px;
}
.p-lr-11 {
padding: 0 11px;
}
......@@ -468,6 +474,10 @@ input:focus {
padding-right: 10px;
}
.p-r-14 {
padding-right: 14px;
}
.p-t-12 {
padding-top: 12px;
}
......@@ -496,10 +506,18 @@ input:focus {
margin-top: 10px;
}
.m-t-14 {
margin-top: 14px;
}
.m-t-15 {
margin-top: 15px;
}
.m-t-18 {
margin-top: 18px;
}
.m-t-20 {
margin-top: 20px;
}
......@@ -540,6 +558,10 @@ input:focus {
margin-bottom: 16px;
}
.m-b-18 {
margin-bottom: 18px;
}
.m-b-20 {
margin-bottom: 20px;
}
......@@ -594,6 +616,10 @@ input:focus {
font-weight: 500;
}
.font-w-700 {
font-weight: 700;
}
.line-h-1 {
line-height: 1;
}
......@@ -626,6 +652,10 @@ input:focus {
width: 250px;
}
.w-320 {
width: 320px;
}
.w-500 {
width: 500px;
}
......@@ -715,50 +745,6 @@ input:focus {
justify-content: space-between;
}
/* 公共 body 内的 left 和 right */
.common-wrap__left {
width: 260px;
height: 690px;
vertical-align: top;
font-size: 14px;
background: rgba(238,241,248,1);
border-radius: 2px;
}
.common-wrap__right {
width: calc(100% - 260px);
min-height: 690px;
padding: 24px;
vertical-align: top;
font-size: 14px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.pagewrap {
margin: 20px 0;
text-align: right;
}
.dialogwrap {
position: relative;
}
.dialogwrap:before {
position: absolute;
left: -20px;
top: -20px;
right: -20px;
content: '';
border-bottom: 1px solid #dedede;
}
.dialogcontent {
padding: 0 10px;
}
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
background-color: rgb(250, 255, 189);
/* #FAFFBD; */
......@@ -766,82 +752,6 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
color: rgb(0, 0, 0);
}
.el-table th {
background: #f1f3f7 !important;
}
.slide-fade-enter-active {
transition: all .3s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}
.slide-fade-leave-active {
transition: all .3s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}
.slide-fade-enter, .slide-fade-leave-to {
opacity: 0;
}
#app, #index, #content {
height: 100%;
}
/* table 的表头 -- 背景色 */
.el-table thead tr, .el-table thead th {
background: #f1f3f7;
}
/* 面包屑 */
.breadcrumb {
padding: 24px;
background-color: #fff;
border-radius: 2px;
box-shadow: 0 -1px 10px #dfdfdf;
}
.breadcrumb .breadcrumb-title {
margin: 30px 0 10px 0;
font-size: 20px;
}
/*有侧边栏的 右侧 */
.content-wrap {
height: 100%;
display: flex;
}
.content-wrap .right-wrap {
width: 100%;
box-sizing: border-box;
height: 100%;
overflow-y: auto;
}
.content-wrap .right-wrap .right-content {
padding: 24px;
}
.content-wrap .right-wrap .right-content .right-box {
background: #fff;
padding: 24px;
}
.right-content .right-box {
border-radius: 2px;
}
/* 无侧边栏的底部 */
.bottom-wrap {
padding: 24px;
color: #606266;
font-size: 14px;
}
.bottom-content-wrap {
/*background: #fff;
padding: 24px;*/
}
/*提示文字*/
.tip-text {
font-size: 12px;
......@@ -854,117 +764,18 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
border-color: #dcdfe6;
}
/* 开卡模板 */
.template-cell-r .el-input.is-disabled .el-input__inner {
font-size: 12px;
color: #fff;
background-color: rgba(255, 255, 255, .1);
}
.el-button--text.m-l-10 {
margin-left: 10px;
}
.task-public .el-tabs .el-tabs__header {
margin: 0;
padding-left: 24px;
border-bottom: 1px solid #e4e7ed;
background: #fff;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
/* 头部 */
.user-form-dialog .el-dialog__body {
padding: 30px 20px 0;
}
.user-form-dialog .el-dialog__header {
padding: 0 20px;
height: 54px;
}
.pass-form-dialog .el-dialog__body {
padding: 30px 20px 0;
}
.pass-form-dialog .el-dialog__header {
padding: 0 20px;
height: 54px;
}
.el-popover.user-header-pop {
min-width: 177px;
}
/* 左侧菜单 */
.leftBar-wrap .el-menu {
background-color: transparent;
}
.content-body .left-menu {
-webkit-box-shadow:0px 3px 10px 0px rgba(147,165,184,0.13);
-moz-box-shadow:0px 3px 10px 0px rgba(147,165,184,0.13);
box-shadow:0px 3px 10px 0px rgba(147,165,184,0.13);
}
.leftBar-wrap .cardmenu-item .el-submenu__title, .leftBar-wrap .cardmenu-item .el-menu-item, .leftBar-wrap .cardmenu-item .el-submenu .el-menu-item {
height: 40px;
line-height: 40px;
}
.leftBar-wrap .el-submenu__title:hover {
background-color: transparent;
}
.leftBar-wrap .cardmenu-item li.el-menu-item:hover i {
/*background-color: #1890ff;*/
color: #1890ff;
}
.leftBar-wrap .cardmenu-item li.el-menu-item:hover span {
/*background-color: #1890ff;*/
color: #1890ff;
}
.leftBar-wrap .cardmenu-item li.el-submenu:hover i {
/*background-color: #1890ff;*/
color: #1890ff;
}
.leftBar-wrap .cardmenu-item li.el-submenu:hover span {
/*background-color: #1890ff;*/
color: #1890ff;
/* 头部菜单 */
.user-item {
padding: 10px 0;
color: #606266;
}
.leftBar-wrap .cardmenu-item li.el-submenu .el-menu-item:hover label {
/*background-color: #1890ff;*/
color: #1890ff;
.user-item:hover {
background-color: #ecf5ff;
cursor: pointer;
}
.leftBar-wrap .cardmenu-item .el-submenu.is-active div.el-submenu__title i {
color: #1890ff;
}
.leftBar-wrap .cardmenu-item .el-submenu.is-active div.el-submenu__title span {
color: #1890ff;
}
.el-menu.el-menu--popup .el-menu-item.is-active label {
color: #1890ff;
}
/* 百分号 */
.percent-item .el-input-group__append {
padding: 0 12px;
}
/* table lable*/
.table-label .el-form-item__label {
line-height: 48px;
.user-item:hover a {
color: #5584FF;
}
/* 1px */
......@@ -987,31 +798,16 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
transform: scaleY(0.5);
}
/* 主体 */
.nav-wrap .el-breadcrumb__separator {
color: #A0A2AD;
}
/* 上传 */
.single-upload-wrap .avatar-uploader .el-upload:hover {
border-color: #1890ff;
}
/* 通讯录 */
.J_show-children .el-checkbox__input {
vertical-align: -2px;
}
.el-dropdown-menu__item.p-0 {
width: 98px;
padding: 0;
text-align: center;
}
.el-dropdown-menu__item.p-0 span {
display: block;
}
.app-dialog .el-dialog__footer {
border: none;
}
/* 表格 选择当页/全部 */
.el-table__header-wrapper thead .el-dropdown-link {
cursor: pointer;
......@@ -1036,81 +832,23 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
transform: rotate(180deg);
}
/* 云日报系统模板 */
.system-template-tab .el-tabs__nav-wrap::after {
background: #1890ff;
}
/* 编辑档案 */
.record-edit-rorm .el-form-item__error {
width: 200px;
}
/* 公告 */
.notice-upload-file .el-icon-upload-success.el-icon-circle-check {
/* 弹窗 */
.edit-dialog .el-form-item__label {
color: #606266;
}
.notice-upload-file .el-icon-circle-check:before {
content: "\e60f";
}
/* 登录 */
.loginForm .el-input__inner {
height: 40px;
line-height: 40px;
}
/* 公告 */
.notice-list-wrap .image-view-body .el-icon-close {
display: none;
}
/* app tab */
.common-detail-tab {
padding: 0 24px;
border-bottom: 1px solid #ebeef5;
}
.common-detail-tab .el-tabs__header {
margin: 0;
}
.common-detail-tab .el-tabs__item.is-active {
.edit-dialog .el-form-item__content {
color: #303133;
}
.common-detail-tab .el-tabs__item.is-active,
.common-detail-tab .el-tabs__item:hover {
.el-table th>.cell {
font-weight: 500;
color: #303133;
}
.common-detail-tab .el-tabs__item {
height: 48px;
line-height: 48px;
}
.common-detail-tab .el-tabs__nav-wrap:after {
content: none
}
.common-detail-tab .el-tabs__active-bar {
background-color: #303133;
}
/* 日报导出 */
.daily-store-select .el-select__tags {
display: none;
}
.daily-set-content .el-table th>.cell {
text-overflow: clip;
}
.daily-set-content .el-table td>.cell {
text-overflow: clip;
.el-table tr td {
padding: 6px 0;
}
/* 公告 */
.el-popover.notice-img-popover {
padding: 5px;
.el-tabs__header .el-tabs__nav-wrap::after {
height:1px;
}
@base-color: #353944;
@hover-color: #3c92eb;
@hoverbg-color: #20242d;
@main-color: #1890ff;
@main-color: #5584ff;
@navbgcolor: #04143a;
@sidebgcolor: #343c4c;
@userinfobgcolor: #ecf5ff;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([22],{"2X9c":function(t,s,i){t.exports=i.p+"static/img/error_500.ed0cba4.svg"},FskK:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=i("2X9c"),e=i.n(a),n={name:"page500",data:function(){return{img_500:e.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},c={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(n,c,!1,function(t){i("wJ+N")},"data-v-d1f21788",null);s.default=r.exports},"wJ+N":function(t,s){}});
\ No newline at end of file
webpackJsonp([10],{"2X9c":function(t,s,i){t.exports=i.p+"static/img/error_500.ed0cba4.svg"},FskK:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=i("2X9c"),e=i.n(a),n={name:"page500",data:function(){return{img_500:e.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},c={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(n,c,!1,function(t){i("wJ+N")},"data-v-d1f21788",null);s.default=r.exports},"wJ+N":function(t,s){}});
\ No newline at end of file
webpackJsonp([11],{BX9P:function(t,e){},hpbl:function(t,e){},kAqA:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("319J"),r=a("mvHQ"),i=a.n(r),n=a("l46T"),s=a("Kkt8"),c=a("P9l9"),l=a("TUB1"),u=a("LlAa"),p={name:"new-env",props:{showDialog:{type:Boolean,default:!1},editRow:{type:Object,default:function(){return{projectId:"",projectName:"",projectDescription:""}}}},components:{limitInput:n.a,limitTextarea:s.a},data:function(){return{customDialog:!1,formData:{projectId:"",projectName:"",projectDescription:""},rules:{projectName:[{required:!0,message:"请输入项目名称",trigger:"blur"}],projectDescription:[{required:!0,message:"请输入描述",trigger:"blur"}]}}},methods:{handleClose:function(t){this.$refs.programForm.resetFields(),t(),this.hideDialog()},customCancel:function(){this.$refs.programForm.resetFields(),this.hideDialog()},hideDialog:function(){this.customDialog=!1,this.formData.projectName="",this.formData.projectDescription="",this.$emit("hideDialog","")},customConfirm:function(t){var e=this;e.formData.projectName=String(e.formData.projectName).replace(/\s+/g,""),e.formData.projectDescription=String(e.formData.projectDescription).replace(/\s+/g,""),e.$refs[t].validate(function(t){if(!t)return!1;e.postEditData()})},postEditData:function(){var t=this,e={projectId:t.formData.projectId,projectName:t.formData.projectName,projectDescription:t.formData.projectDescription};Object(c.a)(t.editRow.projectId?"/gateway-manage/update-project":"/gateway-manage/create-project",e).then(function(e){var a=e.data;if(1==a.errorCode)return l.a.showmsg("保存成功","success"),void t.setData();u.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},setData:function(t){this.$emit("hideDialog",this.formData)}},watch:{showDialog:function(t,e){this.customDialog=t},editRow:function(t,e){this.formData=JSON.parse(i()(t))}},mounted:function(){this.customDialog=this.showDialog,this.formData=JSON.parse(i()(this.editRow))}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.customDialog,expression:"customDialog"}]},[a("el-dialog",{staticClass:"edit-dialog",attrs:{title:t.formData.programId?"编辑项目":"新建项目",visible:t.customDialog,width:"600px","before-close":t.handleClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"edit-dialog-body"},[a("el-form",{ref:"programForm",attrs:{model:t.formData,"label-width":"94px",rules:t.rules}},[a("el-form-item",{attrs:{label:"项目名称:",prop:"projectName"}},[a("limitInput",{attrs:{inputWidth:440,inputValue:t.formData.projectName,holder:"请输入项目名称",getByType:"word",maxLength:20},on:{"update:inputValue":function(e){t.$set(t.formData,"projectName",e)}}})],1),t._v(" "),a("el-form-item",{attrs:{label:"描述:"}},[a("limit-textarea",{attrs:{inputWidth:440,inputValue:t.formData.projectDescription,holder:"请输入备注内容",getByType:"word",maxLength:100},on:{"update:inputValue":function(e){t.$set(t.formData,"projectDescription",e)}}})],1)],1)],1),t._v(" "),a("div",{staticClass:"dialog-footer",staticStyle:{"padding-bottom":"10px"},attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.customCancel}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.customConfirm("programForm")}}},[t._v(t._s(t.formData.programId?"保 存":"新 建"))])],1)])],1)},staticRenderFns:[]};var m=a("VU/8")(p,d,!1,function(t){a("BX9P")},"data-v-8bfdc7e6",null).exports,h=a("jvWE"),f={name:"apiProgram",components:{navBread:o.a,newProgram:m},data:function(){return{navPath:[{name:"API管理",path:"/apiProgram"},{name:"项目列表",path:""}],searchValue:"",tableData:[{projectId:"1",projectName:"测试",projectDescription:"234",createTime:1564455643252}],pageSize:20,currentPage:1,totalCount:0,showDialog:!1,editIndex:"",editRow:{}}},methods:{editProgram:function(){this.showDialog=!0},hideDialog:function(t){if(!t)return this.editIndex="",this.editRow={},this.showDialog=!1,!1;this.editRow.projectId?(this.tableData[this.editIndex].projectName=t.projectName,this.tableData[this.editIndex].projectDescribe=t.projectDescribe):(this.currentPage=1,this.getData()),this.editIndex="",this.editRow={},this.showDialog=!1,this.$forceUpdate()},searchData:Object(h.a)(function(t){this.currentPage,this.getData()},500),clearInput:function(){this.currentPage=1,this.getData()},handleSizeChange:function(t){this.pageSize=t,this.getData()},handleCurrentChange:function(t){this.currentPage=t,this.getData()},toGroupList:function(t,e){this.$router.push("/apiProgramGroup?projectId="+e.projectId)},handleEdit:function(t,e){this.editIndex=t,this.editRow=e,this.showDialog=!0},handleDel:function(t,e){var a=this;a.$confirm("【"+e.projectName+"】下的接口将全部被删除,确认删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDelData(t,e)}).catch(function(){})},postDelData:function(t,e){var a=this,o={projectId:e.projectId};Object(c.a)("/gateway-manage/delete-project",o).then(function(e){var o=e.data;if(1==o.errorCode)return l.a.showmsg("删除成功","warning"),void a.tableData.splice(t,1);u.a.errorMsg(o)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},getData:function(){var t=this,e={search:t.searchValue,pageSize:t.pageSize,pageNum:t.currentPage};Object(c.a)("/gateway-manage/page-project",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result,void(t.totalCount=a.result.totalCount);u.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{$route:{handler:function(t,e){},deep:!0}},mounted:function(){this.$emit("showTab",21)}},g={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"api-body-content border-box"},[a("div",{staticClass:"common-nav"},[a("nav-bread",{attrs:{navPath:t.navPath}})],1),t._v(" "),a("div",{staticClass:"api-body-main common-body-main border-box"},[a("div",{staticClass:"api-main-content border-box"},[a("div",{staticClass:"search-wrap m-b-20 flex flex-space-between"},[a("el-input",{staticClass:"w-320",attrs:{clearable:"",placeholder:"请输入项目名称"},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.searchData(a);var a}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.editProgram}},[t._v("新建项目")])],1),t._v(" "),a("div",{staticClass:"table-wrap"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData}},[a("el-table-column",{attrs:{prop:"projectName",label:"项目名称","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"描述","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.projectDescription)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"创建时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toGroupList(e.$index,e.row)}}},[t._v("分组列表")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.handleEdit(e.$index,e.row)}}},[t._v("编辑")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.handleDel(e.$index,e.row)}}},[t._v("删除")])]}}])})],1),t._v(" "),t.totalCount?a("div",{staticClass:"pagination text-right m-t-14"},[a("el-pagination",{attrs:{small:"","page-size":t.pageSize,"current-page":t.currentPage,layout:"prev, pager, next",total:t.totalCount},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),t._v(" "),a("new-program",{attrs:{editRow:t.editRow,showDialog:t.showDialog},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[]};var D=a("VU/8")(f,g,!1,function(t){a("hpbl")},"data-v-8a2c8fb6",null);e.default=D.exports}});
\ No newline at end of file
webpackJsonp([27],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=i("VU/8")(n,r,!1,function(t){i("AsY3")},"data-v-18a2f51c",null);s.default=c.exports},AsY3:function(t,s){},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"}});
\ No newline at end of file
webpackJsonp([13],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=i("VU/8")(n,r,!1,function(t){i("AsY3")},"data-v-18a2f51c",null);s.default=c.exports},AsY3:function(t,s){},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"}});
\ No newline at end of file
webpackJsonp([14],{"2wAe":function(e,t){},SGyq:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o("319J"),a=o("mvHQ"),n=o.n(a),i=o("P9l9"),s=o("TUB1"),l=o("LlAa"),c={name:"error-code-edit",props:{showDialog:{type:Boolean,default:!1},editRow:{type:Object,default:function(){return{errorSettingId:"",interfaceName:"",projectAndGroup:"",errorCode:"",errorInfo:""}}}},data:function(){return{customDialog:!1,formData:{errorSettingId:"",interfaceName:"",projectAndGroup:"",errorCode:"",errorInfo:""},rules:{errorCode:[{required:!0,message:"请输入错误码",trigger:"blur"}],errorInfo:[{required:!0,message:"请输入错误消息",trigger:"blur"}]}}},methods:{handleClose:function(e){e(),this.hideDialog()},customCancel:function(){this.hideDialog()},hideDialog:function(){this.customDialog=!1,this.formData.errorCode="",this.formData.errorInfo="",this.$emit("hideDialog","")},customConfirm:function(e){var t=this;t.formData.errorCode=String(t.formData.errorCode).replace(/\s+/g,""),t.formData.errorInfo=String(t.formData.errorInfo).replace(/\s+/g,""),t.$refs[e].validate(function(e){if(!e)return!1;t.postEditData()})},postEditData:function(){var e=this,t={errorSettingId:e.formData.errorSettingId,errorCode:e.formData.errorCode,errorInfo:e.formData.errorInfo};Object(i.a)(e.editRow.errorSettingId?"/gateway-manage/update-error-setting":"/gateway-manage/create-error-setting",t).then(function(t){var o=t.data;if(1==o.code)return s.a.showmsg("保存成功","success"),void e.setData();l.a.errorInfo(o)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},setData:function(e){this.$emit("hideDialog",this.formData)}},watch:{showDialog:function(e,t){this.customDialog=e},editRow:function(e,t){this.formData=JSON.parse(n()(e))}},mounted:function(){this.customDialog=this.showDialog,this.formData=JSON.parse(n()(this.editRow))}},d={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{directives:[{name:"show",rawName:"v-show",value:e.customDialog,expression:"customDialog"}]},[o("el-dialog",{staticClass:"edit-dialog",attrs:{title:"编辑",visible:e.customDialog,width:"600px","before-close":e.handleClose},on:{"update:visible":function(t){e.customDialog=t}}},[o("div",{staticClass:"edit-dialog-body"},[o("el-form",{ref:"errorCodeForm",attrs:{model:e.formData,"label-width":"94px",rules:e.rules}},[o("el-form-item",{attrs:{label:"接口名称:"}},[e._v("\n "+e._s(e.formData.interfaceName)+"\n ")]),e._v(" "),o("el-form-item",{attrs:{label:"项目分组:"}},[e._v("\n "+e._s(e.formData.projectAndGroup)+"\n ")]),e._v(" "),o("el-form-item",{attrs:{label:"错误码:",prop:"errorCode"}},[o("el-input",{model:{value:e.formData.errorCode,callback:function(t){e.$set(e.formData,"errorCode",t)},expression:"formData.errorCode"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"错误消息:",prop:"errorCode"}},[o("el-input",{model:{value:e.formData.errorInfo,callback:function(t){e.$set(e.formData,"errorInfo",t)},expression:"formData.errorInfo"}})],1)],1)],1),e._v(" "),o("div",{staticClass:"dialog-footer",staticStyle:{"padding-bottom":"10px"},attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:e.customCancel}},[e._v("取 消")]),e._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:function(t){e.customConfirm("errorCodeForm")}}},[e._v("保 存")])],1)])],1)},staticRenderFns:[]};var u=o("VU/8")(c,d,!1,function(e){o("zBjL")},"data-v-00281df6",null).exports,f=o("jvWE"),h={name:"errorCode",components:{navBread:r.a,errorCodeEdit:u},data:function(){return{navPath:[{name:"错误码",path:""}],searchValue:"",tableData:[{errorSettingId:"1",interfaceName:"测试",projectAndGroup:"会员",errorCode:"404",errorInfo:"页面不存在"}],pageSize:20,currentPage:1,totalCount:0,showDialog:!1,editIndex:"",editRow:{}}},methods:{searchData:Object(f.a)(function(e){this.currentPage,this.getData()},500),clearInput:function(){this.currentPage=1,this.getData()},handleSizeChange:function(e){this.pageSize=e,this.getData()},handleCurrentChange:function(e){this.currentPage=e,this.getData()},handleEdit:function(e,t){this.editIndex=e,this.editRow=t,this.showDialog=!0},hideDialog:function(e){if(!e)return this.editIndex="",this.editRow={},this.showDialog=!1,!1;this.tableData[this.editIndex].errorCode=e.errorCode,this.tableData[this.editIndex].errorInfo=e.errorInfo,this.editIndex="",this.editRow={},this.showDialog=!1,this.$forceUpdate()},getData:function(){var e=this,t={search:e.searchValue,pageNum:e.currentPage,pageSize:e.pageSize};Object(i.a)("/gateway-manage/page-error-setting",t).then(function(t){var o=t.data;if(1==o.code)return e.tableData=o.result.result||[],void(e.totalCount=o.result.totalCount);l.a.errorInfo(o)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{$route:{handler:function(e,t){},deep:!0}},mounted:function(){this.$emit("showTab",6)}},m={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"api-body-content border-box"},[o("div",{staticClass:"common-nav"},[o("nav-bread",{attrs:{navPath:e.navPath}})],1),e._v(" "),o("div",{staticClass:"api-body-main common-body-main border-box"},[o("div",{staticClass:"api-main-content border-box"},[o("div",{staticClass:"search-wrap m-b-20"},[o("el-input",{staticClass:"w-320",attrs:{clearable:"",placeholder:"请输入接口名称/错误码"},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return o=t,e.searchData(o);var o}},model:{value:e.searchValue,callback:function(t){e.searchValue=t},expression:"searchValue"}},[o("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),o("div",{staticClass:"table-wrap"},[o("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},[o("el-table-column",{attrs:{prop:"interfaceName",label:"接口名称","show-overflow-tooltip":""}}),e._v(" "),o("el-table-column",{attrs:{label:"项目/分组","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.projectAndGroup)+"\n ")]}}])}),e._v(" "),o("el-table-column",{attrs:{label:"错误码","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.errorCode)+"\n ")]}}])}),e._v(" "),o("el-table-column",{attrs:{label:"错误消息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.errorInfo)+"\n ")]}}])}),e._v(" "),o("el-table-column",{attrs:{label:"操作","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[o("el-button",{attrs:{type:"text"},on:{click:function(o){e.handleEdit(t.$index,t.row)}}},[e._v("编辑")])]}}])})],1),e._v(" "),e.totalCount?o("div",{staticClass:"pagination text-right m-t-14"},[o("el-pagination",{attrs:{small:"","page-size":e.pageSize,"current-page":e.currentPage,layout:"prev, pager, next",total:e.totalCount},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])]),e._v(" "),o("error-code-edit",{attrs:{editRow:e.editRow,showDialog:e.showDialog},on:{hideDialog:e.hideDialog}})],1)},staticRenderFns:[]};var g=o("VU/8")(h,m,!1,function(e){o("2wAe")},"data-v-6e5b9a33",null);t.default=g.exports},zBjL:function(e,t){}});
\ No newline at end of file
webpackJsonp([15],{hlbb:function(e,t){},vm6Q:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("mvHQ"),n=a.n(o),r=a("319J"),s=a("l46T"),i=a("Kkt8"),l=a("P9l9"),c=a("TUB1"),d=a("LlAa"),p={name:"createEnvSet",components:{navBread:r.a,limitInput:s.a,limitTextarea:i.a},data:function(){return{navPath:[{name:"环境管理",path:"/envManage"},{name:"环境列表",path:"/envManage"},{name:"新增配置",path:""}],formData:{backendProxyId:this.$route.query.backendProxyId||"",proxyType:this.$route.query.proxyType||"0",proxyCode:"",proxyName:"",description:"",envParams:""},rules:{proxyName:[{required:!0,message:"请输入配置名称",trigger:"blur"}],proxyCode:[{required:!0,message:"请输入配置code",trigger:"blur"}]},shoEnvFlag:!1,tableData:[{sceneCode:"",ips:[{ip:""}]}],envOptions:[{sceneCode:"1",sceneName:"测试"},{sceneCode:"2",sceneName:"正式"}]}},methods:{showEnvSet:function(){this.shoEnvFlag=!0},toDel:function(e,t,a){e.ips.splice(a,1)},toAdd:function(e,t,a){e.ips.push({ip:""})},handleDel:function(e,t){var a=this;a.$confirm("确定删除该环境?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.tableData.splice(e,1)}).catch(function(){})},toAddRow:function(){this.tableData.push({envName:"",ips:[{ip:""}]})},handleSave:function(e){var t=this;t.formData.proxyName=String(t.formData.proxyName).replace(/\s+/g,""),t.formData.proxyCode=String(t.formData.proxyCode).replace(/\s+/g,""),t.$refs[e].validate(function(e){if(!e)return!1;t.saveData()})},saveData:function(){var e=this,t={backendProxyId:e.formData.backendProxyId,proxyType:e.formData.proxyType,proxyName:e.formData.proxyName,proxyCode:e.formData.proxyCode,description:e.formData.description,envParams:e.shoEnvFlag?JSON.parse(n()(e.tableData)):""};Object(l.a)(e.$route.query.backendProxyId?"/gateway-manage/update-proxy":"/gateway-manage/create-proxy",t).then(function(t){var a=t.data;if(1==a.code)return c.a.showmsg("保存成功","success"),void e.$router.push("/envManage");d.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getEnvData:function(){var e=this;Object(l.a)("/gateway-manage/list-all-scene",{}).then(function(t){var a=t.data;1!=a.code?d.a.errorMsg(a):e.envOptions=a.result||[]}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getData:function(){var e=this,t={backendProxyId:e.backendProxyId};Object(l.a)("/gateway-manage/get-proxy",t).then(function(t){var a=t.data;if(1==a.code)return e.formData=a.result,void(e.tableData=JSON.parse(a.result.envParams));d.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{$route:{handler:function(e,t){},deep:!0}},mounted:function(){this.$emit("showTab",3)}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"api-body-content border-box"},[a("div",{staticClass:"common-nav"},[a("nav-bread",{attrs:{navPath:e.navPath}})],1),e._v(" "),a("div",{staticClass:"api-body-main common-body-main border-box"},[a("div",{staticClass:"api-main-content border-box"},[a("div",{staticClass:"base-set-wrap"},[a("div",{staticClass:"set-title font-14 color-303133"},[e._v("基础配置")]),e._v(" "),a("el-form",{ref:"envForm",attrs:{model:e.formData,"label-width":"94px",rules:e.rules}},[a("el-form-item",{attrs:{label:"配置名称:",prop:"proxyName"}},[a("limitInput",{attrs:{inputWidth:440,inputValue:e.formData.proxyName,holder:"请输入配置名称",getByType:"word",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.formData,"proxyName",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"配置code:",prop:"proxyCode"}},[a("limitInput",{attrs:{inputWidth:440,disflag:!!e.formData.setId,inputValue:e.formData.proxyCode,holder:"请输入配置code",getByType:"word",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.formData,"proxyCode",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"备注:",prop:"description"}},[a("limit-textarea",{attrs:{inputWidth:440,inputValue:e.formData.description,holder:"请输入备注内容",getByType:"word",maxLength:100},on:{"update:inputValue":function(t){e.$set(e.formData,"description",t)}}})],1),e._v(" "),e.shoEnvFlag?e._e():a("el-form-item",{attrs:{label:""}},[a("div",{staticClass:"show-set-env",on:{click:e.showEnvSet}},[a("span",{staticClass:"font-14 color-5584FF"},[e._v("添加环境配置")]),a("i",{staticClass:"iconfont iconxiala1 font-14 color-5584FF p-l-10"})])])],1)],1),e._v(" "),e.shoEnvFlag?a("div",{staticClass:"env-set-wrap"},[a("div",{staticClass:"set-title font-14 color-303133"},[e._v("环境配置")]),e._v(" "),a("div",{staticClass:"env-set-body"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{prop:"envName",label:"配置名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-select",{attrs:{placeholder:"请选择"},model:{value:t.row.sceneCode,callback:function(a){e.$set(t.row,"sceneCode",a)},expression:"scope.row.sceneCode"}},e._l(e.envOptions,function(e){return a("el-option",{key:e.sceneCode,attrs:{label:e.sceneName,value:e.sceneCode}})}))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"IP地址","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(t.row.ips,function(o,n){return a("div",{key:n,class:["ip-cell w-206",0==n?"":"m-t-18"]},[a("el-input",{attrs:{placeholder:""},model:{value:o.ip,callback:function(t){e.$set(o,"ip",t)},expression:"item.ip"}}),e._v(" "),t.row.ips.length>1&&n<t.row.ips.length-1?a("i",{staticClass:"inline-block pointer el-icon-minus p-l-10",on:{click:function(a){e.toDel(t.row,t.$index,n)}}}):e._e(),e._v(" "),t.row.ips.length-1==n?a("i",{staticClass:"inline-block pointer el-icon-plus p-l-10",on:{click:function(a){e.toAdd(t.row,t.$index,n)}}}):e._e()],1)})}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e.tableData.length>1?a("el-button",{attrs:{type:"text"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]):e._e()]}}])})],1)],1),e._v(" "),a("div",{staticClass:"add-row text-center pointer",on:{click:e.toAddRow}},[a("i",{staticClass:"el-icon-circle-plus-outline font-14 color-5584FF"}),a("span",{staticClass:"font-14 color-5584FF p-l-4"},[e._v("添加行")])])]):e._e(),e._v(" "),a("div",{staticClass:"save-wrap",style:{"padding-left":e.shoEnvFlag?"0":"97px"}},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.handleSave("envForm")}}},[e._v("保存")])],1)])])])},staticRenderFns:[]};var m=a("VU/8")(p,u,!1,function(e){a("hlbb")},"data-v-e71f7816",null);t.default=m.exports}});
\ No newline at end of file
webpackJsonp([15],{HKlq:function(e,t){},e8iM:function(e,t){},n7j5:function(e,t,i){"use strict";var a=i("mvHQ"),s=i.n(a),n={name:"select-area",components:{vueSelectEmployee:i("c4uw").a},props:{treeData:{type:Object,default:function(){return{}}},butList:{type:Array,default:function(){return[]}},specialList:{type:Array,default:function(){return[]}}},data:function(){return{copyTreeData:JSON.parse(s()(this.treeData))}},methods:{delCurrent:function(e,t){var i=this[t];i.splice(i.indexOf(e),1)},handleSelectedList:function(e){this.butList=e},callSelector:function(e,t){this.$emit("callPerSelector",e,t)}}},r={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"select-area"},[i("div",{staticClass:"setting-name"},[e._v("\n 个别员工不设置该权限\n ")]),e._v(" "),i("ul",{staticClass:"particular-list"},[e._l(e.butList,function(t,a){return[t.employeeClerkId?i("li",{key:a+"_"+t.employeeClerkId,staticClass:"item person-item"},[t.headPic?i("img",{attrs:{src:t.headPic}}):i("div",{staticClass:"replace-head-img"},[i("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),i("p",{staticClass:"name"},[e._v(e._s(t.label))]),e._v(" "),i("i",{staticClass:"el-icon-circle-close",on:{click:function(i){e.delCurrent(t,"butList")}}})]):i("li",{key:a+"_"+t.groupId,staticClass:"item group-item"},[e._v("\n "+e._s(t.label)+"\n "),i("i",{staticClass:"el-icon-circle-close",on:{click:function(i){e.delCurrent(t,"butList")}}})])]}),e._v(" "),i("li",{staticClass:"item J_add-btn",on:{click:function(t){e.callSelector("but",e.butList)}}},[i("i",{staticClass:"el-icon-plus"})])],2),e._v(" "),i("div",{staticClass:"setting-name"},[e._v("\n 允许指定部门/人员可见\n ")]),e._v(" "),i("ul",{staticClass:"particular-list"},[e._l(e.specialList,function(t,a){return[t.employeeClerkId?i("li",{key:a+"_"+t.employeeClerkId,staticClass:"item person-item"},[t.headPic?i("img",{attrs:{src:t.headPic}}):i("div",{staticClass:"replace-head-img"},[i("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),i("p",{staticClass:"name"},[e._v(e._s(t.label))]),e._v(" "),i("i",{staticClass:"el-icon-circle-close",on:{click:function(i){e.delCurrent(t,"specialList")}}})]):i("li",{key:a+"_"+t.groupId,staticClass:"item group-item"},[e._v("\n "+e._s(t.label)+"\n "),i("i",{staticClass:"el-icon-circle-close",on:{click:function(i){e.delCurrent(t,"specialList")}}})])]}),e._v(" "),i("li",{staticClass:"item J_add-btn",on:{click:function(t){e.callSelector("special",e.specialList)}}},[i("i",{staticClass:"el-icon-plus"})])],2)])},staticRenderFns:[]};var l={name:"permissionSetting",components:{selectArea:i("VU/8")(n,r,!1,function(e){i("HKlq")},null,null).exports},props:{butList:{type:Array,default:function(){return[]}},specialList:{type:Array,default:function(){return[]}},selfButList:{type:Array,default:function(){return[]}},selfSpecialList:{type:Array,default:function(){return[]}},visibleSpecialLsit:{type:Array,default:function(){return[]}},onlySelfApartList:{type:Array,default:function(){return[]}},treeData:{type:Object,default:function(){return{}}},departInfo:{type:Object,default:function(){return{}}}},data:function(){return{visibleThere:!1,visibleSelf:!1}},methods:{switchPermission:function(e,t,i){e&&(this[i]=!e),this.visibleSelf?this.departInfo.type=2:this.visibleThere?this.departInfo.type=1:this.departInfo.type=""},callPerSelector:function(e,t){this.$emit("callPerSelector",e,t)}},mounted:function(){var e=this.departInfo.type;this.visibleThere=!(1!=e),this.visibleSelf=!(2!=e)},watch:{departInfo:{handler:function(e,t){var i=e.type;this.visibleThere=!(1!=i),this.visibleSelf=!(2!=i)},deep:!0}}},o={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"jurisdiction-setting"},[i("div",{staticClass:"only-visivble-there permission-div"},[i("div",{staticClass:"permission-div-title"},[i("span",[e._v("本部门员工仅可见本部门员工")]),e._v(" "),i("el-switch",{attrs:{"active-color":"#409EFF","inactive-color":"#DCDFE6"},on:{change:function(t){e.switchPermission(e.visibleThere,"visibleThere","visibleSelf")}},model:{value:e.visibleThere,callback:function(t){e.visibleThere=t},expression:"visibleThere"}})],1),e._v(" "),e.visibleThere?i("div",{staticClass:"particular-setting"},[i("select-area",{attrs:{treeData:e.treeData,butList:e.butList,specialList:e.specialList},on:{callPerSelector:e.callPerSelector}})],1):e._e()]),e._v(" "),i("div",{staticClass:"only-visivble-self permission-div"},[i("div",{staticClass:"permission-div-title"},[i("span",[e._v("本部门员工仅可见自己")]),e._v(" "),i("el-switch",{attrs:{"active-color":"#409EFF","inactive-color":"#DCDFE6"},on:{change:function(t){e.switchPermission(e.visibleSelf,"visibleSelf","visibleThere")}},model:{value:e.visibleSelf,callback:function(t){e.visibleSelf=t},expression:"visibleSelf"}})],1),e._v(" "),e.visibleSelf?i("div",{staticClass:"particular-setting"},[i("select-area",{attrs:{treeData:e.treeData,butList:e.selfButList,specialList:e.selfSpecialList},on:{callPerSelector:e.callPerSelector}})],1):e._e()])])},staticRenderFns:[]};var c=i("VU/8")(l,o,!1,function(e){i("wVEX")},null,null);t.a=c.exports},q5Ri:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("n7j5"),s=i("c4uw"),n=i("P9l9"),r={name:"addDepartment",components:{permissionSetting:a.a,vueSelectEmployee:s.a},data:function(){return{departInfo:{name:"",parentName:"",parentId:""},testList:[],treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0},rules:{name:[{required:!0,message:"请输入部门名称",trigger:"blur"},{min:1,max:20,message:"长度在 1 到 20 个字符",trigger:"blur"}],parentId:[{required:!0,message:"请选择父级部门",trigger:"change"}]},treeData:{},disabled:!0,defaultSelection:[],defaultParent:[],selectorType:"parent",changed:"parent",onlyPerson:!1,onlyGroup:[]}},methods:{getDepartInfo:function(){var e=this,t={groupId:e.$route.query.departmentId};Object(n.a)("/haoban-manage-web/dept/findDeptById",t).then(function(t){if(1==t.data.errorCode){e.departInfo.name=t.data.result.name,e.departInfo.parentId=t.data.result.parentId;var i=t.data.result.chainName.split("/"),a=i.length;e.departInfo.parentName=1==a?"":i[a-2],e.defaultParent=[{label:e.departInfo.parentName,id:t.data.result.parentId,groupId:t.data.result.parentId}]}else e.$message.error({duration:1e3,message:t.data.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},callGroupSelector:function(){this.selectorType="parent",this.defaultSelection=this.defaultParent,this.onlyPerson=!1,this.onlyGroup=[],this.changed="parent",this.treeSet={dialogVisible:!0,isSingle:!0,isSelectPerson:!1}},callPerSelector:function(e,t){this.selectorType=e,this.defaultSelection=t,this.onlyPerson=!0,this.onlyGroup=[this.$route.query.departmentId],this.changed=e,this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0}},handleSelectedList:function(e){this.departInfo.parentId=e?e.id:"",this.departInfo.parentName=e?e.label:""},saveEdit:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.$refs.departForm.validate(function(i){if(!i)return!1;var a=e,s={parentId:a.departInfo.parentId,name:a.departInfo.name};Object(n.a)("/haoban-manage-web/dept/insert",s).then(function(e){1==e.data.errorCode?(a.$message.success({duration:1e3,message:"操作成功!"}),"continue"==t?(a.departInfo={name:"",parentName:"",parentId:""},a.disabled=!0,a.getGroupData()):window.history.go(-1)):a.$message.error({duration:1e3,message:e.data.message})}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})})},getGroupData:function(){var e=this;Object(n.a)("/haoban-manage-web/dept/deptListForCompany",{isStoreGroup:0}).then(function(t){var i=[],a=[];1==t.data.errorCode&&(i=t.data.result.departmentList||[],a=t.data.result.searchList||[]),e.treeData={treeData:i,personData:a},e.disabled=!1}).catch(function(e){})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){})}},beforeMount:function(){this.getGroupData(),this.isAddNew||this.getDepartInfo()},computed:{isAddNew:function(){return!(1!=this.$route.query.addnew)}}},l={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"add-department-container"},[i("div",{staticClass:"setting-cell depart-info"},[i("p",{staticClass:"title"},[e._v("部门信息")]),e._v(" "),i("el-form",{ref:"departForm",staticClass:"department-info-form",attrs:{"label-position":"right",rules:e.rules,model:e.departInfo,"label-width":"120px"}},[i("el-form-item",{attrs:{label:"部门名称",prop:"name"}},[i("el-input",{model:{value:e.departInfo.name,callback:function(t){e.$set(e.departInfo,"name",t)},expression:"departInfo.name"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"部门排序调整",prop:"parentId"}},[i("el-input",{attrs:{disabled:e.disabled,"suffix-icon":"el-icon-arrow-down"},on:{focus:e.callGroupSelector},model:{value:e.departInfo.parentName,callback:function(t){e.$set(e.departInfo,"parentName",t)},expression:"departInfo.parentName"}})],1)],1)],1),e._v(" "),i("vue-select-employee",{attrs:{defaultSelection:e.defaultSelection,treeSet:e.treeSet,treeData:e.treeData},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var o=i("VU/8")(r,l,!1,function(e){i("e8iM")},null,null);t.default=o.exports},wVEX:function(e,t){}});
\ No newline at end of file
webpackJsonp([16],{ELuK:function(e,t){},K0rJ:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("319J"),r=a("P9l9"),o={name:"pluginManage",components:{navBread:n.a},data:function(){return{navPath:[{name:"插件管理",path:""}]}},methods:{getData:function(){var e=this,t={project:e.repProjectName,router:e.pathName,requestProject:e.repProjectName};Object(r.a)("/haoban-manage-web/menu-detail",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result?void 0:void e.$message.error({duration:1e3,message:"暂无数据"});e.$message.error({duration:1e3,message:a.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{$route:{handler:function(e,t){},deep:!0}},mounted:function(){this.$emit("showTab",5)}},s={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"api-body-content border-box"},[t("div",{staticClass:"common-nav"},[t("nav-bread",{attrs:{navPath:this.navPath}})],1),this._v(" "),this._m(0)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"api-body-main common-body-main border-box"},[t("div",{staticClass:"api-main-content border-box"})])}]};var i=a("VU/8")(o,s,!1,function(e){a("ELuK")},"data-v-857cc5e2",null);t.default=i.exports}});
\ No newline at end of file
webpackJsonp([17],{"/EpE":function(t,e){},OEJD:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("319J"),o=a("P9l9"),r=a("jvWE"),l=a("LlAa"),s={name:"releaseRecords",components:{navBread:n.a},data:function(){return{navPath:[{name:"发布记录",path:""}],searchValue:"",tableData:[{publishId:"1",publishName:"测试",apiName:"测试",publishVersion:"V1.0.1",env:"测试",describe:"描述内容",createDate:1564455643252}],pageSize:20,currentPage:1,totalCount:0}},methods:{searchData:Object(r.a)(function(t){this.currentPage,this.getData()},500),clearInput:function(){this.currentPage=1,this.getData()},handleSizeChange:function(t){this.pageSize=t,this.getData()},handleCurrentChange:function(t){this.currentPage=t,this.getData()},handleShow:function(t,e){this.$router.push("/")},getData:function(){var t=this,e={project:t.repProjectName,router:t.pathName,requestProject:t.repProjectName};Object(o.a)("/haoban-manage-web/menu-detail",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],void(t.totalCount=a.result.totalCount);l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{$route:{handler:function(t,e){},deep:!0}},mounted:function(){this.$emit("showTab",4)}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"api-body-content border-box"},[a("div",{staticClass:"common-nav"},[a("nav-bread",{attrs:{navPath:t.navPath}})],1),t._v(" "),a("div",{staticClass:"api-body-main common-body-main border-box"},[a("div",{staticClass:"api-main-content border-box"},[a("div",{staticClass:"search-wrap m-b-20"},[a("el-input",{staticClass:"w-320",attrs:{clearable:"",placeholder:"请输入发布版本"},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.searchData(a);var a}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),t._v(" "),a("div",{staticClass:"table-wrap"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData}},[a("el-table-column",{attrs:{prop:"publishName",label:"发布版本","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"API名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.apiName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"版本号","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.publishVersion)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"环境","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.env)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"发布备注","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.describe)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"创建时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createDate)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createDate)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.handleShow(e.$index,e.row)}}},[t._v("查看")])]}}])})],1),t._v(" "),t.totalCount?a("div",{staticClass:"pagination text-right m-t-14"},[a("el-pagination",{attrs:{small:"","page-size":t.pageSize,"current-page":t.currentPage,layout:"prev, pager, next",total:t.totalCount},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])])},staticRenderFns:[]};var c=a("VU/8")(s,i,!1,function(t){a("/EpE")},"data-v-47651a36",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([18],{EBdF:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("319J"),r=a("P9l9"),o={name:"overview",components:{navBread:n.a},data:function(){return{navPath:[{name:"概览",path:""}]}},methods:{getData:function(){var e=this,t={project:e.repProjectName,router:e.pathName,requestProject:e.repProjectName};Object(r.a)("/haoban-manage-web/menu-detail",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result?void 0:void e.$message.error({duration:1e3,message:"暂无数据"});e.$message.error({duration:1e3,message:a.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{$route:{handler:function(e,t){},deep:!0}},mounted:function(){this.$emit("showTab",1)}},s={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"api-body-content border-box"},[t("div",{staticClass:"common-nav"},[t("nav-bread",{attrs:{navPath:this.navPath}})],1),this._v(" "),this._m(0)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"api-body-main common-body-main border-box"},[t("div",{staticClass:"api-main-content border-box"})])}]};var i=a("VU/8")(o,s,!1,function(e){a("rypi")},"data-v-1c210dc8",null);t.default=i.exports},rypi:function(e,t){}});
\ No newline at end of file
webpackJsonp([18],{"71JE":function(t,e){},CLYF:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),i=a("Zx22"),s=a("Ch4/"),o=a("PI0u"),l=a("P9l9"),r={name:"reviewed",data:function(){return{tableH:window.screen.availHeight-464-126+"px",navpath:[{name:"首页",path:"/index"},{name:"审核中心",path:"/unreview"},{name:"已审核",path:""}],filterValue:"99",filterOptions:[{label:"已同意",value:"1"},{label:"已拒绝",value:"2"},{label:"已审核",value:"99"}],searchValue:"",tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,applyInfo:{},showStoreDialog:!1,storeChangeData:{}}},filters:{formatTimeYMD:function(t){return"--"!=t?t.split(" ")[0]:"--"},formatTimeHMS:function(t){return"--"!=t?t.split(" ")[1]:"--"},formatNum:function(t){return(t+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},computed:{},methods:{clearSearch:function(){this.currentPage=1,this.getTableList()},searchEnterFun:function(t){if(!String(t.target.value).trim())return!1;this.currentPage=1,this.getTableList()},toggleReason:function(t){t.visible=!0,this.tableData.forEach(function(e,a){e.enterpriseAuditingId!=t.enterpriseAuditingId&&(e.visible=!1)})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showSingleInfo:function(t){},showStoreChange:function(t){this.storeChangeData={beforeContent:[],afterContent:[]},this.showStoreDialog=!0,this.storeChangeData={beforeContent:""!=t.beforeContent?JSON.parse(t.beforeContent):[],afterContent:""!=t.afterContent?JSON.parse(t.afterContent):[]}},getTableList:function(t){var e=this;t&&(e.currentPage=1);var a={auditingType:"",auditingStatus:e.filterValue,search:e.searchValue||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(l.a)("/haoban-manage-web/audit/auditing-list.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.list&&a.result.list.forEach(function(t,e){t.createTime&&(t.createTime=Object(o.c)(t.createTime))}),e.tableData=a.result.list,void(e.total=a.result.total);s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getTableList()},components:{navCrumb:n.a,storeChange:i.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"reviewed-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":t.$store.state.bgHeight}},[a("div",{staticClass:"reviewed-body-head"},[a("el-select",{staticClass:"w-130",attrs:{placeholder:"全部状态"},on:{change:t.getTableList},model:{value:t.filterValue,callback:function(e){t.filterValue=e},expression:"filterValue"}},t._l(t.filterOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),a("el-input",{staticClass:"w-250 m-l-10",attrs:{placeholder:"请输入提交人姓名或门店名称","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.searchEnterFun(e):null}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}})],1),t._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(0==e.row.auditingType?"门店信息变更":1==e.row.auditingType?"新增成员":"成员离职")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"400",trigger:"hover"},on:{show:function(a){t.showSingleInfo(e.row.applyId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[t._v("\n "+t._s(e.row.applyName)+"\n "),a("i",{class:[2==e.row.sex?"icon-xingbienv color-FF585C":"icon-xingbienan color-508CEE","iconfont"]})]),t._v(" "),a("div",{staticClass:"apply-info-code"},[a("span",{staticClass:"w-80"},[t._v("员工代码:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.code))])]),t._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[t._v("手机号:")]),a("span",{staticClass:"w-130"},[t._v(t._s("86"==e.row.nationcode?e.row.phoneNumber:"+"+e.row.nationcode+"-"+e.row.phoneNumber))])]),t._v(" "),a("div",{staticClass:"apply-info-job"},[a("span",{staticClass:"w-80"},[t._v("职位:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.positionName))])]),t._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[t._v("所属门店:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.storeName))])])])])]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info"},[a("span",[t._v(t._s(e.row.applyName))]),t._v(" "),a("span",{staticClass:"font-13"},[t._v(t._s(e.row.storeName))])])],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[0!=e.row.auditingType||0==e.row.auditingType&&1!=e.row.auditingUpdateType?a("span",[t._v(t._s(e.row.detail))]):t._e(),t._v(" "),1==e.row.auditingUpdateType?a("div",{staticClass:"line-hidden-2"},[a("span",[t._v(t._s(e.row.detail))]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.showStoreChange(e.row)}}},[t._v("查看详情")])],1):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("formatTimeYMD")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("formatTimeHMS")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:[2==e.row.auditingStatus?"color-FF585C":""]},[t._v(t._s(1==e.row.auditingStatus?"超级管理员已同意":"超级管理员已拒绝"))]),t._v(" "),a("el-popover",{staticClass:"inline-block",attrs:{placement:"top",width:"150",trigger:"hover"}},[a("div",{staticClass:"tooltip-text"},[t._v(t._s(e.row.refuseReason))]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[2==e.row.auditingStatus?a("i",{staticClass:"el-icon-question",on:{click:function(a){t.toggleReason(e.row)}}}):t._e()])])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("storeChange",{attrs:{storeChangeData:t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}})],1)},staticRenderFns:[]};var u=a("VU/8")(r,c,!1,function(t){a("aayb")},"data-v-44a1979f",null);e.default=u.exports},Zx22:function(t,e,a){"use strict";var n={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:[Object,Array]}},data:function(){return{repProjectName:"gic-web",customDialog:this.value,leftData:[],rightData:[]}},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(t,e){function a(t){return t>9?""+t:"0"+t}var n=new Date(t),i=n.getFullYear(),s=n.getMonth()+1,o=n.getDate();return i+e+a(s)+e+a(o)+e},handleData:function(){}},watch:{value:function(t,e){this.customDialog=t},storeChangeData:function(t,e){this.leftData=t.beforeContent,this.rightData=t.afterContent}},mounted:function(){this.leftData=this.storeChangeData.beforeContent,this.rightData=this.storeChangeData.afterContent}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店图片变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.leftData,function(t,e){return[a("img",{key:"img"+e,attrs:{src:t,alt:""}})]})],2)])]),t._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.rightData,function(t,e){return[a("img",{key:"img0"+e,attrs:{src:t,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var s=a("VU/8")(n,i,!1,function(t){a("71JE")},"data-v-709a6f08",null);e.a=s.exports},aayb:function(t,e){}});
\ No newline at end of file
webpackJsonp([20],{"27o1":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("3Xzz"),o={name:"add-clerk-page",components:{clerkInfo:r("oncj").a,navCrumb:n.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"门店架构",path:"/storeFrame"},{name:"新增店员",path:""}],isAddnew:!1,firstLevelId:"",storeType:"",gicFlag:!(!this.$route.query.gicFlag||"false"==this.$route.query.gicFlag)}},beforeMount:function(){this.firstLevelId=this.$route.query.firstLevelId,this.storeType=this.$route.query.type,this.$route.query.clerkId?(this.isAddnew=!1,this.navpath[3].name="编辑店员"):this.isAddnew=!0}},a={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"common-set-wrap add-clerk-wrap"},[t("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),t("div",{staticClass:"right-content"},[t("div",{staticClass:"right-box"},[t("div",{staticClass:"add-clerk-page"},[t("clerk-info",{attrs:{storeType:this.storeType,firstLevelId:this.firstLevelId,isAddnew:this.isAddnew,gicFlag:this.gicFlag}})],1)])]),this._v(" "),t("vue-gic-footer")],1)},staticRenderFns:[]};var s=r("VU/8")(o,a,!1,function(e){r("Tb0k")},null,null);t.default=s.exports},Tb0k:function(e,t){},oncj:function(e,t,r){"use strict";var n=r("Ie7z"),o=r("P9l9"),a=r("XDyb"),s=r("T+u5"),i=r.n(s),l={name:"clerk-info-form",props:{isAddnew:{type:Boolean,default:!1},perId:{type:[String,Number],default:""},firstLevelId:{type:[String,Number],default:""},storeType:{type:[String,Number],default:""},gicFlag:{type:Boolean,default:!1}},components:{vueSelectStore:n.a,countryMobile:a.a},data:function(){var e=this;return{rules:{name:[{required:!0,message:"请输入店员姓名",trigger:"blur"},{min:2,max:10,message:"长度在 2 到 10 个字符",trigger:"blur"}],phoneNumber:[{required:!0,validator:function(t,r,n){if(!r)return n(new Error("请输入手机号"));var o=new i.a("+"+e.clerkInfo.nationcode+r);o.isValid()&&o.isMobile()?n():n(new Error("手机号格式不正确"))},trigger:"blur"}],storeName:[{required:!0,message:"请选择门店",trigger:"change"}],code:[{required:!0,message:"请输入code",trigger:"blur"},{min:2,max:20,message:"长度在 2 到 20 个字符",trigger:"blur"}],positionName:[{required:!0,message:"请输入店员职位",trigger:"blur"}]},clerkInfo:{storeName:"",storeId:"",managerMode:!1,positionName:"职员",nationcode:"86"},treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0,groupId:"",storeType:"",openNextBool:!0},defaultList:[]}},methods:{toInputCode:function(e){var t=this.clerkInfo.code;""!==t&&(this.clerkInfo.code=t.replace(/[^A-Za-z0-9]+/g,""))},saveFn:function(e){var t=!0;this.$refs.clerk_info.validate(function(e){e||(t=!1)}),t&&this.addEmployee(this.clerkInfo,e)},callSelector:function(){this.treeSet.dialogVisible=!0},handleSelectedList:function(e){this.clerkInfo.storeName=e&&e.length?e[0].label:"",this.clerkInfo.storeId=e&&e.length?e[0].id:"",this.$forceUpdate()},addEmployee:function(e,t){var r=this,n={name:e.name,isClerk:1,phoneNumber:e.phoneNumber,positionName:e.positionName,storeId:e.storeId,managerMode:1*e.managerMode,code:e.code,employeeClerkId:e.employeeClerkId||"",nationcode:e.nationcode},a=r.isAddnew?"/haoban-manage-web/emp/add":"/haoban-manage-web/emp/update";Object(o.a)(a,n).then(function(e){1==e.data.errorCode?(r.$message.success({message:"操作成功"}),1==t?(r.clerkInfo={name:"",isClerk:1,phoneNumber:"",positionName:"职员",storeId:"",managerMode:!1,code:"",nationcode:"86"},r.defaultList=[],r.$refs.clerk_info.resetFields()):r.$router.push("/storeFrame")):r.$message.error({message:e.data.message})}).catch(function(e){r.$message.error({message:e.message})})},cancel:function(){var e=this;this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){e.$router.go(-1)}).catch(function(e){})},getClerkInfo:function(){var e=this,t={id:e.$route.query.clerkId?e.$route.query.clerkId:e.perId};Object(o.a)("/haoban-manage-web/emp/findOne",t).then(function(t){1==t.data.errorCode?(e.clerkInfo=t.data.result,e.defaultList=[{id:t.data.result.storeId,label:t.data.result.storeName}]):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t})})}},beforeMount:function(){this.treeSet.storeType=this.storeType,this.treeSet.groupId=this.firstLevelId,this.isAddnew||this.getClerkInfo()},watch:{perId:function(e,t){this.getClerkInfo(e)}}},c={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"form-container bdr-box"},[r("el-form",{ref:"clerk_info",staticClass:"add-clerk-form",attrs:{model:e.clerkInfo,rules:e.rules,"label-width":"80px"}},[r("el-form-item",{attrs:{label:"姓名",prop:"name"}},[r("el-input",{staticClass:"clerk-info-input",model:{value:e.clerkInfo.name,callback:function(t){e.$set(e.clerkInfo,"name",t)},expression:"clerkInfo.name"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"手机号",prop:"phoneNumber"}},[r("countryMobile",{attrs:{inputWidth:380,nationCode:e.clerkInfo.nationcode,holder:"请输入手机号",disflag:!e.isAddnew},on:{"update:nationCode":function(t){e.$set(e.clerkInfo,"nationcode",t)}},model:{value:e.clerkInfo.phoneNumber,callback:function(t){e.$set(e.clerkInfo,"phoneNumber",t)},expression:"clerkInfo.phoneNumber"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"门店",prop:"storeName"}},[r("el-input",{staticClass:"clerk-info-input",attrs:{disabled:!e.isAddnew},on:{focus:e.callSelector},model:{value:e.clerkInfo.storeName,callback:function(t){e.$set(e.clerkInfo,"storeName",t)},expression:"clerkInfo.storeName"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"code",prop:"code"}},[r("el-input",{staticClass:"clerk-info-input",attrs:{disabled:e.gicFlag&&!e.isAddnew},on:{blur:function(t){return e.toInputCode(t)}},model:{value:e.clerkInfo.code,callback:function(t){e.$set(e.clerkInfo,"code",t)},expression:"clerkInfo.code"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"职位",prop:"positionName"}},[r("el-input",{staticClass:"clerk-info-input",model:{value:e.clerkInfo.positionName,callback:function(t){e.$set(e.clerkInfo,"positionName",t)},expression:"clerkInfo.positionName"}})],1)],1),e._v(" "),r("div",{staticClass:"btn-box"},[r("el-button",{attrs:{type:"primary"},on:{click:e.saveFn}},[e._v("保 存")]),e._v(" "),!e.gicFlag&&e.isAddnew?r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.saveFn(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),e.gicFlag?e._e():r("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1),e._v(" "),r("vue-select-store",{ref:"storeSelector",attrs:{selectType:"store",defaultList:e.defaultList,treeSet:e.treeSet},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var d=r("VU/8")(l,c,!1,function(e){r("sqQd")},null,null);t.a=d.exports},sqQd:function(e,t){}});
\ No newline at end of file
webpackJsonp([24],{"3dLr":function(t,e){},Z46G:function(t,e){},Zyzf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("//Fk"),s=a.n(i),o=a("gBtx"),n=a.n(o),l=a("3Xzz"),c=a("PI0u"),r=a("P9l9"),d=a("3E4D"),f=a("Ch4/"),u={name:"staff-detail-field",props:{showCustomDialog:{type:Boolean,default:!1},detailData:{type:Array,default:function(){return[]}},dataType:{type:Number,default:1}},data:function(){return{repProjectName:"gic-web",customDialog:!1,fixData:["clerkName","clerkPhone","groupName","positionName"],fixDataStore:["clerkName","clerkPhone","groupName","positionName","clerkCode"],customData:[],checkList:[],setList:[],baseUrl:""}},beforeMount:function(){var t=window.location.origin;"-1"!=t.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=t},computed:{},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("customHandleConfirm","hide")},customConfirm:Object(c.a)(function(){this.checkList=this.customData.map(function(t){return t.checkList}).flat(),this.saveFields(this.dataType)},500),customChange:function(t){},saveFields:function(t){var e=this,a={fields:e.checkList,type:t};Object(r.e)("/haoban-manage-web/record/employee-show-field-save.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return d.a.showmsg("添加成功","success"),void e.$emit("customHandleConfirm");f.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},treeData:function(t){var e=t.filter(function(e){var a=t.filter(function(t){return e.fieldCode==t.parentCode});return a.length>0&&(e.children=a),0==e.parentCode});return e.sort(function(t,e){return t.sort-e.sort}),e.forEach(function(t,e){t.children.sort(function(t,e){return t.sort-e.sort})}),e},getInfo:function(){var t=this;t.setList=[],Object(r.e)("/haoban-manage-web/record/employee-find-template.json",{}).then(function(e){var a=e.data;1!=a.errorCode?f.a.errorMsg(a):a.result&&a.result.length&&a.result.forEach(function(e){0!=e.parentCode&&t.setList.push(e.fieldCode)})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getAllFields:function(){var t=this;Object(r.e)("/haoban-manage-web/record/employee-find-system-template.json",{}).then(function(e){var a=e.data;1!=a.errorCode?f.a.errorMsg(a):t.handleAllFields(a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleAllFields:function(t){var e=this.treeData(t);e.forEach(function(t,e){t.checkList=[]}),this.customData=e},handleDetailData:function(){var t=this;t.customData.forEach(function(e,a){e.checkList=[],e.children.forEach(function(a,i){t.checkList.includes(a.fieldCode)&&e.checkList.push(a.fieldCode),a.disable=1==t.dataType?t.fixData.includes(a.fieldCode):t.fixDataStore.includes(a.fieldCode),t.setList.includes(a.fieldCode)||(a.disable=!0)})})}},watch:{showCustomDialog:function(t,e){this.customDialog=t},detailData:function(t,e){this.checkList=t&&t.length?t:[],this.handleDetailData()}},mounted:function(){var t=this;t.customDialog=t.showCustomDialog,s.a.all([t.getInfo()]).then(function(){t.getAllFields()})}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"员工个人详情页展示字段设置",visible:t.customDialog,width:"761px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"custom-dialog__title"},[a("p",{staticClass:"custom-dialog__p"},[t._v("tips:添加后的字段将在员工个人详情页展示出来,个人敏感信息不建议添加")])]),t._v(" "),a("div",{staticClass:"custom-dialog-body"},[t._l(t.customData,function(e,i){return[a("div",{key:i,staticClass:"detail-field-cell flex"},[a("div",{staticClass:"detail-field-left"},[t._v(t._s(e.fieldName))]),t._v(" "),a("div",{staticClass:"detail-field-right flex"},[a("el-checkbox-group",{staticClass:"flex flex-wrap",on:{change:t.customChange},model:{value:e.checkList,callback:function(a){t.$set(e,"checkList",a)},expression:"item.checkList"}},t._l(e.children,function(e,i){return a("el-checkbox",{key:e.fieldCode+i,attrs:{label:e.fieldCode,disabled:e.disable,name:"type"}},[t._v("\n "+t._s(e.fieldName)+"\n ")])}))],1)])]})],2),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.customCancel}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.customConfirm}},[t._v("确 定")])],1)])],1)},staticRenderFns:[]};var h=a("VU/8")(u,m,!1,function(t){a("3dLr")},"data-v-a87ee7f0",null).exports,g={name:"staffDetails",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"通讯录信息",path:"/staffDetails"},{name:"员工详细字段",path:""}],fixData:["clerkName","clerkPhone","groupName","positionName"],fixDataStore:["clerkName","clerkPhone","groupName","positionName","clerkCode"],adminStruct:{name:"行政架构通讯录员工详情字段",fixedList:[],defineList:[]},storeStruct:{name:"门店架构通讯录员工详情字段",fixedList:[],defineList:[]},showCustomDialog:!1,detailData:[],dataType:null}},computed:{},methods:{showDialogLayer:function(t){this.showCustomDialog=!0,this.dataType=t,this.detailData=1===t?this.adminStruct.fixedList.map(function(t){return t.fields}).concat(this.adminStruct.defineList.map(function(t){return t.fields})):this.storeStruct.fixedList.map(function(t){return t.fields}).concat(this.storeStruct.defineList.map(function(t){return t.fields}))},customHandleConfirm:function(t){if(this.showCustomDialog=!1,t)return!1;this.getSaveFields(this.dataType)},delField:function(t,e,a,i){var s=this;s.$alert("确定要删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(o){o.value;s.postDlField(e.fields,i,a,t)}).catch(function(){})},postDlField:function(t,e,a,i){var s=this,o={fields:t,type:e};Object(r.e)("/haoban-manage-web/record/employee-show-field-delete.json",o).then(function(t){var e=t.data;if(1==e.errorCode)return d.a.showmsg("删除成功","success"),void a.splice(i,1);f.a.errorMsg(e)}).catch(function(t){s.$message.error({duration:1e3,message:t.message})})},getSaveFields:function(t){var e=this;1===t?(e.adminStruct.fixedList=[],e.adminStruct.defineList=[]):(e.storeStruct.fixedList=[],e.storeStruct.defineList=[]);var a={type:t};Object(r.e)("/haoban-manage-web/record/employee-show-field-detail.json",a).then(function(a){var i=a.data;1!=i.errorCode?f.a.errorMsg(i):i.result.forEach(function(a,i){1===n()(t)?e.fixData.includes(a.fields)?e.adminStruct.fixedList.push(a):e.adminStruct.defineList.push(a):e.fixDataStore.includes(a.fields)?e.storeStruct.fixedList.push(a):e.storeStruct.defineList.push(a)})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){s.a.all([this.getSaveFields(1),this.getSaveFields(2)])},components:{navCrumb:l.a,staffDetailField:h}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"staffDetails-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{height:t.$store.state.bgHeight,"overflow-y":"auto"}},[a("div",{staticClass:"staffDetails-cell"},[a("h2",{staticClass:"m-b-25 font-w-500"},[t._v(t._s(t.adminStruct.name))]),t._v(" "),a("div",{staticClass:"staffDetails-cell-fixed"},[t._l(t.adminStruct.fixedList,function(e,i){return[a("el-button",{key:"btn1"+i,staticClass:"staffDetails-cell-btn",attrs:{disabled:""}},[t._v(t._s(e.fieldName))])]})],2),t._v(" "),a("div",{staticClass:"staffDetails-cell-add font-0"},[t._l(t.adminStruct.defineList,function(e,i){return[a("el-tag",{key:"tag1"+i,staticClass:"staffDetails-cell-btn"},[t._v(t._s(e.fieldName)+" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),t.delField(i,e,t.adminStruct.defineList,1)}}})])]}),t._v(" "),a("el-button",{staticClass:"el-tag m-l-8 staffDetails-cell-btn",on:{click:function(e){e.stopPropagation(),t.showDialogLayer(1)}}},[a("i",{staticClass:"el-icon-plus"}),t._v("添加字段")])],2)]),t._v(" "),a("div",{staticClass:"staffDetails-cell"},[a("h2",{staticClass:"m-b-25 font-w-500"},[t._v(t._s(t.storeStruct.name))]),t._v(" "),a("div",{staticClass:"staffDetails-cell-fixed"},[t._l(t.storeStruct.fixedList,function(e,i){return[a("el-button",{key:"btn"+i,staticClass:"staffDetails-cell-btn",attrs:{disabled:""}},[t._v(t._s(e.fieldName))])]})],2),t._v(" "),a("div",{staticClass:"staffDetails-cell-add font-0"},[t._l(t.storeStruct.defineList,function(e,i){return[a("el-tag",{key:"tag"+i,staticClass:"staffDetails-cell-btn"},[t._v(t._s(e.fieldName)+" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),t.delField(i,e,t.storeStruct.defineList,2)}}})])]}),t._v(" "),a("el-button",{staticClass:"el-tag m-l-8 staffDetails-cell-btn",on:{click:function(e){e.stopPropagation(),t.showDialogLayer(2)}}},[a("i",{staticClass:"el-icon-plus"}),t._v("添加字段")])],2)])])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("staff-detail-field",{attrs:{detailData:t.detailData,showCustomDialog:t.showCustomDialog,dataType:t.dataType},on:{customHandleConfirm:t.customHandleConfirm}})],1)},staticRenderFns:[]};var v=a("VU/8")(g,p,!1,function(t){a("Z46G")},"data-v-575a9b1d",null);e.default=v.exports}});
\ No newline at end of file
webpackJsonp([26],{"2U5L":function(e,t){},HkK0:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Xxa5"),s=a.n(r),n=a("exGp"),o=a.n(n),l=a("P9l9"),c={name:"clerkTbale",components:{vueSelectStore:a("Ie7z").a},props:{store:{type:Object,required:!0},gicFlag:{type:Boolean,default:!0}},data:function(){return{currentBrand:this.store.storeGroupId,treeSet:{isSelectPerson:!0,dialogVisible:!1,isSingle:!0,openNextBool:!0},selectType:"store",transArr:[],selectedList:[],storeListData:{}}},methods:{goBack:function(){window.location.reload()},transClerk:function(e,t){this.transArr="single"==e?[t]:"all"==e?this.storeListData.clerks:this.selectedList,this.treeSet.dialogVisible=!0},delClerk:function(e){this.$emit("delClerk",e)},selectMember:function(e){this.selectedList=e},handleSelectedList:function(e){var t=this;if(!e.length)return!1;var a=[];t.transArr.forEach(function(e){a.push(e.employeeClerkId)});var r={ids:a.join(","),storeId:e[0].id};Object(l.e)("/haoban-manage-web/emp/batchTransfer",r).then(function(e){1==e.data.errorCode?(t.$message.success({message:"操作成功"}),t.getClerkList()):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})},getClerkList:function(){var e=this,t={departmentId:e.store.storeGroupId,storeId:e.store.storeId,showChild:1,showType:2,pageSize:200,pageNum:1,status:1,isCherk:1};Object(l.e)("/haoban-manage-web/emp/findsimplepage",t).then(function(t){1==t.data.errorCode?e.storeListData.clerks=t.data.result.list||[]:e.$message.error({duration:1e3,message:t.data.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{store:function(e,t){this.storeListData=e||{}}},mounted:function(){this.storeListData=this.store||{}}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"recycle-bin"},[a("p",{staticClass:"r-b-top-header"},[a("a",{staticClass:"a-href title",on:{click:e.goBack}},[e._v("返回")]),e._v(" "),e.gicFlag?e._e():a("el-button",{attrs:{disabled:0==e.selectedList.length},on:{click:function(t){e.transClerk("group")}}},[e._v("批量转移")]),e._v(" "),e.gicFlag?e._e():a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.transClerk("all")}}},[e._v("全部转移")])],1),e._v(" "),a("el-table",{ref:"clerkTable",staticStyle:{width:"100%"},attrs:{data:e.storeListData.clerks},on:{"selection-change":e.selectMember}},[a("el-table-column",{attrs:{type:"selection",width:"42"}}),e._v(" "),a("el-table-column",{attrs:{label:"姓名",prop:"name"}}),e._v(" "),a("el-table-column",{attrs:{label:"手机号码",prop:"phoneNumber"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s("86"==t.row.nationcode?t.row.phoneNumber:"+"+t.row.nationcode+"-"+t.row.phoneNumber)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"80",prop:"clerkCount"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.gicFlag?e._e():a("a",{staticClass:"a-href",on:{click:function(a){e.transClerk("single",t.row)}}},[a("i",{staticClass:"el-icon-sort"})]),e._v(" "),e.gicFlag?e._e():a("a",{staticClass:"a-href",on:{click:function(a){e.delClerk(t.row)}}},[a("i",{staticClass:"el-icon-delete"})])]}}])})],1),e._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:e.currentBrand,treeSet:e.treeSet,selectType:e.selectType},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var u=a("VU/8")(c,i,!1,function(e){a("2U5L")},null,null).exports,d=a("3Xzz"),h=a("PI0u"),p=a("unF8"),g=a("Ch4/"),m={name:"recycle-bin",components:{navCrumb:d.a,clerkTable:u},data:function(){return{searchKey:"",typeArr:["全部类型","自营","联营","代理(加盟)","代销","托管"],pageSize:20,pageNumber:1,recycleList:[],total:0,navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/administrativeFrame"},{name:"门店架构",path:"/storeFrame?showRecycle=0"},{name:"门店回收站",path:""}],clerks:[],showClerks:!1,currentStore:{},brandId:"",gicFlag:!0}},methods:{toInput:Object(h.a)(function(e){this.pageNumber=1,this.getRecycleList()},500),getRecycleList:function(){var e=this,t=e.$route.query,a={storeName:e.searchKey||"",storeGroupId:t.dept,showChild:1*t.showChild,showType:2,pageSize:e.pageSize,pageNum:e.pageNumber,status:4,storeType:t.type};Object(l.a)("/haoban-manage-web/store/findSimplePage",a).then(function(t){1==t.data.errorCode?(e.total=t.data.result.total,e.recycleList=t.data.result.list||[]):(e.recycleList=[],e.$message.error({duration:1e3,message:t.data.message}))}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},restore:function(e){var t=this;t.$confirm("确定要恢复到门店列表吗?","提示",{type:"warning"}).then(function(){var a={status:1,storeId:e.storeId};Object(l.a)("/haoban-manage-web/store/changeStatus",a).then(function(e){1==e.data.errorCode?(t.searchKey="",t.pageNumber=1,t.getRecycleList()):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})}).catch(function(e){})},handleSizeChange:function(e){this.pageSize=e,this.getRecycleList()},handleCurrentChange:function(e){this.pageNumber=e,this.getRecycleList()},showClerksFn:function(e){this.currentStore=e,this.clerks=null==e.clerks?[]:e.clerks,this.showClerks=!0},delClerk:function(e){var t=this.currentStore,a=this;a.$confirm("是否要删除该员工?","提示",{type:"warning"}).then(function(){var r={ids:e.employeeClerkId};Object(l.a)("/haoban-manage-web/emp/del",r).then(function(r){1==r.data.errorCode?t.clerks.forEach(function(a){a.employeeClerkId==e.employeeClerkId&&t.clerks.splice(t.clerks.indexOf(a),1)}):a.$message.error({duration:1e3,message:r.data.message})}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})})},getGicData:function(){var e=this;return o()(s.a.mark(function t(){var a,r,n,o;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r={type:1,businessId:(a=e).brandId},t.next=4,Object(p.a)(r);case 4:n=t.sent,1==(o=n.data).errorCode?a.gicFlag=o.result:g.a.errorMsg(o);case 7:case"end":return t.stop()}},t,e)}))()}},beforeMount:function(){this.getRecycleList(),this.brandId=this.$route.query.brandId,this.getGicData()}},f={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"common-set-wrap recycle-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[e.showClerks?a("clerk-table",{attrs:{gicFlag:e.gicFlag,store:e.currentStore},on:{delClerk:e.delClerk}}):a("div",{staticClass:"recycle-bin"},[a("div",{staticClass:"r-b-top-header"},[a("div",{staticClass:"title"},[e._v(e._s(e.recycleList.length)+" 家门店")]),e._v(" "),a("el-input",{attrs:{placeholder:"请输入门店名","prefix-icon":"el-icon-search"},nativeOn:{keyup:function(t){return a=t,e.toInput(a);var a}},model:{value:e.searchKey,callback:function(t){e.searchKey=t},expression:"searchKey"}},[e._v(">")])],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.recycleList}},[a("el-table-column",{attrs:{label:"门店名称",prop:"storeName"}}),e._v(" "),a("el-table-column",{attrs:{label:"代码",prop:"storeCode"}}),e._v(" "),a("el-table-column",{attrs:{label:"类型",prop:"storeType"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.typeArr[1*t.row.storeType+1])+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"地址",prop:"postAddress"}}),e._v(" "),a("el-table-column",{attrs:{label:"待处理店员",prop:"clerkCount"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("a",{staticClass:"a-href",on:{click:function(a){e.showClerksFn(t.row)}}},[e._v("\n "+e._s(t.row.clerks.length)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",prop:"clerkCount"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.gicFlag?e._e():a("a",{staticClass:"a-href",on:{click:function(a){e.restore(t.row)}}},[e._v("恢复到门店列表")])]}}])})],1),e._v(" "),e.total?a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{background:"","page-sizes":[20,40,60,80],"page-size":e.pageSize,"current-page":e.pageNumber,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)],1)]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var b=a("VU/8")(m,f,!1,function(e){a("awO3")},null,null);t.default=b.exports},awO3:function(e,t){}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([31],{"5nNU":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),l=a("2eFk"),i=a("Ke24"),s=a("LRn8"),r=a("fPyK"),c=a("P9l9"),d=a("Ch4/"),u=a("3E4D"),f={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"2",activeBrand:this.brandId,topMenuData:[{id:"1",name:"云日报记录",path:"/dailyRecord?appIcon="+this.$route.query.appIcon},{id:"2",name:"日报详情",path:""}],selectRadio:0,showDialog:!1,conditionObj:{completed:"",overdue:""},completedOptions:[{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0}},computed:{},methods:{handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskId})||"",overdue:t.conditionObj.overdue||"",completed:t.conditionObj.completed||"",reason:e.reason,brandId:t.activeBrand,chooseAll:t.selectRadio};Object(c.e)("/haoban-app-daily-web/daily/batch-delete-store-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void t.getTableList();d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,o={taskId:t.taskId};Object(c.a)("/haoban-app-daily-web/daily/delete-task-items",o).then(function(t){var o=t.data;if(1==o.errorCode)return u.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);d.a.errorMsg(o)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handlePreview:function(e,t){this.postPreview(e,t)},postPreview:function(e,t){var a=""+t.taskId;this.$refs.qrcodePreview.qrcode(a,"daily-detail"),this.dialogVisible=!0},getTableList:function(e){var t=this,a={storeId:t.conditionObj.storeId||"",overdue:t.conditionObj.overdue||"",completed:t.conditionObj.completed||"",currentPage:t.currentPage,pageSize:t.pageSize,brandId:t.activeBrand};Object(c.a)("/haoban-app-daily-web/daily/page-store-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","1"),this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:l.a,commonDetailTop:i.a,multipleDel:s.a,qrcodeDialog:r.a}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-105",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.completed,callback:function(t){e.$set(e.conditionObj,"completed",t)},expression:"conditionObj.completed"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.overdue,callback:function(t){e.$set(e.conditionObj,"overdue",t)},expression:"conditionObj.overdue"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("div",{class:["image-wrap flex flex-align-center flex-pack-center",t.row.headImgUrl?"bg-eceaeb":"bg-82c5ff"]},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:""}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16"},[a("p",{staticClass:"font-14 color-303133"},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399"},[e._v(e._s(t.row.clerkPhone))])])])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handlePreview(t.$index,t.row)}}},[e._v("预览")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0},on:{hideDialog:e.hideDialog}}),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}})],1)},staticRenderFns:[]};var p=a("VU/8")(f,m,!1,function(e){a("8TZm")},"data-v-fea23f38",null);t.default=p.exports},"8TZm":function(e,t){}});
\ No newline at end of file
webpackJsonp([33],{Uk4F:function(e,t){},"rs/A":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("mvHQ"),s=r.n(a),l=r("3Xzz"),o=r("c4uw"),i=r("Ie7z"),n=r("3E4D"),u=r("Ch4/"),c=r("PI0u"),d=r("P9l9"),m={name:"addAdminRole",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:"/setChildAdmin"},{name:"添加成员",path:""}],ruleForm:{brandId:"",roleId:"",roleCode:"admin",roleName:"企业管理员",peopleList:[],departList:[],brandValue:[],brandOptions:[]},rules:{},treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1},treeData:{},defaultSelection:[],changed:"",onlyPerson:!1,selectType:"",currentBrand:this.$route.query.brandId,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1}}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},submitForm:Object(c.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;var r=[],a=t.ruleForm.peopleList.length;if(a){a=null,t.ruleForm.departList.forEach(function(e){r.push({groupId:e.groupId})}),t.ruleForm.brandValue.forEach(function(e){"admin"===t.ruleForm.roleCode?r.push({groupId:e}):e.storeId?r.push({storeId:e.storeId}):r.push({groupId:e.groupId})});var s=t.ruleForm.peopleList.map(function(e){return e.employeeClerkId}).join(",");t.postSave(r,s)}else t.$message.error({message:"请完善信息"})})},500),postSave:function(e,t){var r=this,a={data:s()(e),roleId:r.ruleForm.roleId,brandId:r.ruleForm.brandId,clerkIds:t};Object(d.e)("/haoban-manage-web/save-clerk-role",a).then(function(e){var t=e.data;if(1==t.errorCode)return n.a.showmsg("添加成功","success"),void r.changeRoute("/setChildAdmin");u.a.errorMsg(t)}).catch(function(e){r.$message.error({duration:1e3,message:e.message})})},delField:function(e,t,r){this.$alert("确定要删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(t){t.value;r.splice(e,1)}).catch(function(){})},delDepart:function(e,t){t.splice(e,1)},showDialogLayer:function(e,t){if(this.selectType=e,this.changed=e,"store"===e)return this.defaultStoreList=t,void(this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0});this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1},"people"===e?(this.onlyPerson=!0,this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0}):this.onlyPerson=!1,this.defaultSelection=t,this.treeData.hasOwnProperty("treeData")},handleSelectedList:function(e){"people"===this.selectType?this.ruleForm.peopleList=e:"store"===this.selectType?this.ruleForm.brandValue=e:this.ruleForm.departList=e},getBrandData:function(){var e=this;Object(d.e)("/haoban-manage-web/brand/list",{}).then(function(t){var r=t.data;1!=r.errorCode?u.a.errorMsg(r):r.result&&r.result.length&&(e.ruleForm.brandOptions=r.result)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getUserData:function(){var e=this,t={roleId:e.ruleForm.roleId,userId:e.ruleForm.userId,brandId:e.ruleForm.brandId};Object(d.e)("/haoban-manage-web/find-clerk-role",t).then(function(t){var r=t.data;1!=r.errorCode?u.a.errorMsg(r):r.result&&(e.ruleForm.peopleList=[r.result.user],r.result.admList.forEach(function(e,t){e.id=e.groupId,e.label=e.name}),e.ruleForm.departList=r.result.admList||[],r.result.storeList.forEach(function(e,t){e.id=e.groupId?e.groupId:e.storeId,e.label=e.name}),e.ruleForm.brandValue="admin"===e.ruleForm.roleCode?r.result.storeList.map(function(e){return e.groupId}):r.result.storeList||[])}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getBrandData(),this.ruleForm.brandId=this.$route.query.brandId,this.$route.query.hasOwnProperty("roleId")&&(this.ruleForm.roleId=this.$route.query.roleId),this.$route.query.hasOwnProperty("roleCode")&&(this.ruleForm.roleCode=this.$route.query.roleCode,this.ruleForm.roleName="admin"===this.$route.query.roleCode?"企业管理员":"子管理员"),this.$route.query.hasOwnProperty("userId")&&(this.ruleForm.userId=this.$route.query.userId,this.navpath=[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:"/setChildAdmin"},{name:"编辑成员",path:""}],this.getUserData())},components:{navCrumb:l.a,vueSelectEmployee:o.a,vueSelectStore:i.a}},p={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"companyAddress-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box",style:{height:e.$store.state.bgHeight}},[r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"管理员角色",prop:"roleName"}},[r("el-input",{staticClass:"w-380",attrs:{disabled:"",placeholder:""},model:{value:e.ruleForm.roleName,callback:function(t){e.$set(e.ruleForm,"roleName",t)},expression:"ruleForm.roleName"}})],1),e._v(" "),r("el-form-item",{attrs:{label:e.ruleForm.userId?"":"选择人员",prop:"name"}},[r("div",{staticClass:"flex w-380 flex-wrap"},[e._l(e.ruleForm.peopleList,function(t,a){return[r("div",{key:a+t.name,staticClass:"people-cell flex flex-align-center flex-pack-center flex-column"},[r("div",{class:["inline-block","img-wrap","flex","flex-align-center","flex-pack-center",t.headPic?"":"img-wrap-bg"]},[t.headPic?r("img",{attrs:{src:t.headPic,alt:"headPic"}}):r("i",{staticClass:"iconfont icon-yewuduanmorentouxian"}),e._v(" "),e.ruleForm.userId?e._e():r("i",{staticClass:"el-icon-circle-close",on:{click:function(r){r.stopPropagation(),e.delField(a,t,e.ruleForm.peopleList)}}})]),e._v(" "),r("p",[e._v(e._s(t.name))])])]}),e._v(" "),e.ruleForm.userId?e._e():r("div",{staticClass:"people-cell"},[r("span",{staticClass:"add-icon",on:{click:function(t){t.stopPropagation(),e.showDialogLayer("people",e.ruleForm.peopleList)}}},[r("i",{staticClass:"el-icon-plus"})])])],2)]),e._v(" "),r("el-form-item",{staticClass:"m-b-0",attrs:{label:"选择管理范围",prop:"name"}}),e._v(" "),r("el-form-item",{staticClass:"m-b-0 m-t-10",attrs:{label:"行政架构",prop:"name"}},[r("div",{staticClass:"flex w-380 flex-column item-cell-select"},[r("div",{staticClass:"depart-item-wrap"},[r("div",{staticClass:"el-select el-select--large depart-item-content",on:{click:function(t){e.showDialogLayer("depart",e.ruleForm.departList)}}},[r("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[r("span",[e._l(e.ruleForm.departList,function(t,a){return[r("span",{key:a,staticClass:"el-tag el-tag--info el-tag--small"},[r("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.name))]),r("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(t){t.stopPropagation(),e.delDepart(a,e.ruleForm.departList)}}})])]})],2)])])])])]),e._v(" "),r("el-form-item",{staticClass:"m-t-22",attrs:{label:"门店架构",prop:"name"}},[r("div",{staticClass:"flex w-380 flex-column item-cell-select"},["admin"==e.ruleForm.roleCode?r("div",{staticClass:"store-item-wrap"},[r("el-select",{staticStyle:{width:"213px"},attrs:{multiple:"",placeholder:"请选择"},model:{value:e.ruleForm.brandValue,callback:function(t){e.$set(e.ruleForm,"brandValue",t)},expression:"ruleForm.brandValue"}},e._l(e.ruleForm.brandOptions,function(e){return r("el-option",{key:e.groupId,attrs:{label:e.name,value:e.groupId}})}))],1):e._e(),e._v(" "),"child_admin"==e.ruleForm.roleCode?r("div",{staticClass:"depart-item-wrap"},[r("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(t){e.showDialogLayer("store",e.ruleForm.brandValue)}}},[r("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[r("span",[e._l(e.ruleForm.brandValue,function(t,a){return[r("span",{key:a,staticClass:"el-tag el-tag--info el-tag--small"},[r("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.name||t.storeName))]),r("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(t){t.stopPropagation(),e.delDepart(a,e.ruleForm.brandValue)}}})])]})],2)])])]):e._e()])]),e._v(" "),r("el-form-item",{staticClass:"m-t-24"},[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")])],1)],1)],1)]),e._v(" "),r("vue-gic-footer"),e._v(" "),r("vue-select-employee",{attrs:{defaultSelection:e.defaultSelection,onlyPerson:e.onlyPerson,treeSet:e.treeSet,changed:e.changed},on:{handleSelectedList:e.handleSelectedList}}),e._v(" "),r("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:e.currentBrand,treeSet:e.storeTreeSet,selectType:"group-store",defaultList:e.defaultStoreList},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var h=r("VU/8")(m,p,!1,function(e){r("Uk4F")},"data-v-e279d1f6",null);t.default=h.exports}});
\ No newline at end of file
webpackJsonp([34],{ys9I:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("fZjL"),r=n.n(a),o=n("3Xzz"),s=n("c4uw"),i=n("XDyb"),l=n("PI0u"),c=n("Ch4/"),u=n("3E4D"),m=n("P9l9"),d={name:"replaceAdmin",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"更换超级管理员",path:""}],subNavText:"更换超级管理员,需要先验证当前超级管理员身份",active:0,ruleForm:{name:"",phone:1334444444,code:"",nationcode:""},rules:{name:[{required:!0,message:"请输入当前绑定账号",trigger:"blur"}],phone:[{required:!0,message:"请输入手机号",trigger:"blur"}],code:[{required:!0,message:"请输入验证码",trigger:"blur"}]},disableBtn:!1,countNum:60,newFormLoad:!1,newRuleForm:{name:"",id:"",label:"",type:""},newRules:{name:[{required:!0,message:"请输入手机号/姓名",trigger:["blur","change"]}]},treeSet:{isSelectPerson:!0,dialogVisible:!1,isSingle:!0},treeData:{},defaultSelection:[],onlyPerson:!0,changed:""}},computed:{},methods:{showSelect:function(){this.treeSet={dialogVisible:!0,isSingle:!0,isSelectPerson:!0}},handleSelectedList:function(e){e&&r()(e).length&&(this.defaultSelection=[e],this.newRuleForm.name=e.name,this.newRuleForm.id=e.id)},countDown:function(){var e=this,t=setInterval(function(){if(0===e.countNum)return clearInterval(t),e.countNum=60,e.disableBtn=!1,!1;e.countNum--},1e3)},sendCode:Object(l.a)(function(e){this.disableBtn=!0,this.postSendCode(e)},500),postSendCode:function(e){var t=this;Object(m.e)("/haoban-manage-web/enterprise-setting/send-admin-valid-code",{}).then(function(n){var a=n.data;if(1!=a.errorCode)c.a.errorMsg(a);else{t.countDown();var r=String(e).substr(0,3)+"****"+e.substr(7,e.length-1);t.$message({message:"验证码已发送到您的手机:+"+t.ruleForm.nationcode+r,type:"success"})}}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},submitForm:Object(l.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;t.checkSendCode()})},500),checkSendCode:function(){var e=this,t={code:e.ruleForm.code};Object(m.e)("/haoban-manage-web/enterprise-setting/check-admin-valid-code",t).then(function(t){var n=t.data;1!=n.errorCode?c.a.errorMsg(n):e.active++>2&&e.active}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},newSubmitForm:Object(l.a)(function(e){var t=this;t.newRuleForm.name=t.newRuleForm.name.replace(/(^\s+)|(\s+$)/g,""),t.$refs[e].validate(function(e){if(!e)return!1;t.postReplace()})},500),postReplace:function(){var e=this,t={adminClerkId:e.newRuleForm.id};Object(m.e)("/haoban-manage-web/enterprise-setting/change-admin",t).then(function(t){var n=t.data;if(1==n.errorCode)return e.active++,u.a.showmsg("保存成功,请重新登录!","success"),void e.loginOut();c.a.errorMsg(n)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},submitFormBack:function(){this.$refs.newRuleForm.resetFields(),this.active&&this.active--},loginOut:function(){var e=this;Object(m.e)("/haoban-manage-web/logout",{}).then(function(t){var n=t.data;1!=n.errorCode?e.$message.error({duration:1e3,message:n.message}):window.location.href=window.location.origin+"/haoban-web/#/login"}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getCurrentUser:function(){var e=JSON.parse(localStorage.getItem("userInfo"));this.ruleForm.name=e.name,this.ruleForm.phone=e.phoneNumber,this.ruleForm.nationcode=e.nationcode}},mounted:function(){this.getCurrentUser()},components:{navCrumb:o.a,vueSelectEmployee:s.a,countryMobile:i.a}},h={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"replaceAdmin-wrap common-set-wrap"},[n("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),n("div",{staticClass:"right-content"},[n("div",{staticClass:"right-box",style:{height:e.$store.state.bgHeight}},[n("el-steps",{attrs:{active:e.active,"finish-status":"success","align-center":""}},[n("el-step",{attrs:{title:"获取验证码"}}),e._v(" "),n("el-step",{attrs:{title:"绑定新的超级管理员"}}),e._v(" "),n("el-step",{attrs:{title:"完成"}})],1),e._v(" "),n("div",{staticClass:"w-514 replaceAdmin-wrap-form m-t-45"},[0==e.active?n("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"110px"}},[n("el-form-item",{attrs:{label:"当前绑定账号",prop:"name"}},[n("el-input",{staticClass:"w-280",attrs:{disabled:"",placeholder:""},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"手机号",prop:"phone"}},[n("countryMobile",{attrs:{inputWidth:280,nationCode:e.ruleForm.nationcode,holder:"",disflag:"true"},on:{"update:nationCode":function(t){e.$set(e.ruleForm,"nationcode",t)}},model:{value:e.ruleForm.phone,callback:function(t){e.$set(e.ruleForm,"phone",t)},expression:"ruleForm.phone"}}),n("el-button",{staticClass:"m-l-20 v-align-b",attrs:{type:"primary",plain:"",disabled:e.disableBtn},on:{click:function(t){e.sendCode(e.ruleForm.phone)}}},[e._v(e._s(!e.disableBtn&&e.countNum?"获取验证码":e.countNum+"s")+" ")])],1),e._v(" "),n("el-form-item",{attrs:{label:"验证码",prop:"code"}},[n("el-input",{staticClass:"w-280",attrs:{placeholder:"请输入验证码"},model:{value:e.ruleForm.code,callback:function(t){e.$set(e.ruleForm,"code",t)},expression:"ruleForm.code"}})],1),e._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("下一步")])],1)],1):e._e(),e._v(" "),n("el-form",{directives:[{name:"show",rawName:"v-show",value:1==e.active,expression:"active == 1"}],ref:"newRuleForm",staticClass:"demo-ruleForm",attrs:{model:e.newRuleForm,rules:e.newRules,"label-width":"140px"}},[n("el-form-item",{attrs:{label:"新绑定超级管理员",prop:"name"}},[n("div",{staticClass:"master-select w-280",on:{click:e.showSelect}},[e._v("\n "+e._s(e.newRuleForm.name?e.newRuleForm.name:"请选择")+"\n ")])]),e._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary",loading:e.newFormLoad},on:{click:function(t){e.newSubmitForm("newRuleForm")}}},[e._v("提 交")]),e._v(" "),n("el-button",{attrs:{plain:""},on:{click:e.submitFormBack}},[e._v("上一步")])],1)],1),e._v(" "),2==e.active?n("div",{staticClass:"replaceAdmin-wrap-success"},[e._m(0),e._v(" "),n("p",{staticClass:"font-w-500"},[e._v("操作成功")])]):e._e()],1)],1)]),e._v(" "),n("vue-select-employee",{attrs:{defaultSelection:e.defaultSelection,treeSet:e.treeSet,onlyPerson:e.onlyPerson,changed:e.changed},on:{handleSelectedList:e.handleSelectedList}}),e._v(" "),n("vue-gic-footer")],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"icon-outer"},[t("i",{staticClass:"el-icon-success"})])}]};var v=n("VU/8")(d,h,!1,function(e){n("zgM7")},"data-v-e0d382ac",null);t.default=v.exports},zgM7:function(e,t){}});
\ No newline at end of file
webpackJsonp([35],{VlR1:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"setting",data:function(){return{projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},watch:{$route:{handler:function(t,e){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.pathName=window.location.hash.split("/")[1],this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"setting-wrap"},[n("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),n("div",{staticClass:"setting-wrap__body"},[n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body",style:{height:t.contentHeight}},[n("div",{staticClass:"left-menu",style:{height:t.contentHeight}},[n("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}})],1),t._v(" "),n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(t){n("tUyM")},null,null);e.default=i.exports},tUyM:function(t,e){}});
\ No newline at end of file
webpackJsonp([36],{H8Kg:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-com flex"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var n=i("VU/8")(s,a,!1,function(t){i("o82P")},"data-v-d0955ee0",null);e.default=n.exports},o82P:function(t,e){}});
\ No newline at end of file
webpackJsonp([38],{CqVe:function(t,e){},W0k8:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),i=a("fvdr"),c=a("Qie6"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"不良评价",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"不良评价回访记录",icon:"icon-badreviewstatistics",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("badEvaluateRecord");break;case"2":this.changeRoute("badEvaluateSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:i.a,commonDetailLeft:c.a}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{height:t.bgHeight}},[a("div",{staticClass:"apps-content-left w-157"},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var r=a("VU/8")(o,s,!1,function(t){a("CqVe")},"data-v-b841b8f6",null);e.default=r.exports}});
\ No newline at end of file
webpackJsonp([39],{DxdI:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("2eFk"),n=a("Ke24"),i=a("fPyK"),l=a("P9l9"),r=a("Ch4/"),s=a("3E4D"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{dialogVisible:!1,tableH:window.screen.availHeight-464-126+"px",topMenuData:[{id:"1",name:"自定义报表"}],activeId:"1",activeTab:"1",activeBrand:"1",tableData:[],multipleSelection:[]}},computed:{},methods:{changeRouter:function(e){this.$router.push(e)},setSelectTab:function(e){this.activeTab=e.tabId},handlePreview:function(e,t){var a=window.location.origin+"/office-mobile/#/defineTemplate?templateId="+t.dailyReportTemplateId;this.$refs.qrcodePreview.qrcode(a,"daily-preview"),this.dialogVisible=!0},toCustomSet:function(){this.changeRouter("/template?brandId="+this.brandId+"&appIcon="+this.$route.query.appIcon)},handleCopy:function(e,t){this.changeRouter("/template?brandId="+this.brandId+"&templateId="+t.dailyReportTemplateId+"&type=copy&appIcon="+this.$route.query.appIcon)},handleEdit:function(e,t){this.changeRouter("/template?brandId="+this.brandId+"&templateId="+t.dailyReportTemplateId+"&type=edit&appIcon="+this.$route.query.appIcon)},handleDelete:function(e,t){var a=this;a.$confirm("一旦删除之后,该范围的门店将无法接收该日报,是否确定删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.deleteTemplate(e,t)}).catch(function(){})},deleteTemplate:function(e,t){var a=this;Object(l.e)("/haoban-app-daily-web/daily/del-define-template",{templateId:t.dailyReportTemplateId}).then(function(t){var o=t.data;if(1==o.errorCode)return s.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);r.a.errorMsg(o)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},getData:function(){var e=this;Object(l.e)("/haoban-app-daily-web/daily/list-define-template",{brandId:e.brandId}).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=[],void(a.result&&a.result.length&&(e.tableData=a.result));r.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","212"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:o.a,commonDetailTop:n.a,qrcodeDialog:i.a}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"custom-set-wrap"},[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"custom-set-content boder-box"},[a("div",{staticClass:"flex flex-space-between flex-pack-center m-b-23 m-t-30"},[a("div",{staticClass:"custom-set-title flex flex-pack-center"},[e._v("模板列表("+e._s(e.tableData.length)+")")]),e._v(" "),a("div",[a("el-button",{attrs:{type:"button"},on:{click:function(t){e.toCustomSet("")}}},[e._v("新建模板")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"模板名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.title))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"模板描述","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.description))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"address",label:"门店类型","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.storeType?a("span",[e._v("自营门店")]):e._e(),e._v(" "),1==t.row.storeType?a("span",[e._v("联营门店")]):e._e(),e._v(" "),2==t.row.storeType?a("span",[e._v("代理门店")]):e._e(),e._v(" "),3==t.row.storeType?a("span",[e._v("代销门店")]):e._e(),e._v(" "),4==t.row.storeType?a("span",[e._v("托管门店")]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handlePreview(t.$index,t.row)}}},[e._v("预览")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleCopy(t.$index,t.row)}}},[e._v("复制")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleEdit(t.$index,t.row)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleDelete(t.$index,t.row)}}},[e._v("删除")])]}}])})],1)],1),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}})],1)},staticRenderFns:[]};var u=a("VU/8")(c,d,!1,function(e){a("egY4")},"data-v-a622ac3c",null);t.default=u.exports},egY4:function(e,t){}});
\ No newline at end of file
webpackJsonp([40],{ZxDn:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Xxa5"),n=a.n(r),o=a("exGp"),s=a.n(o),i=a("Ke24"),c=a("Ch4/"),l=a("PI0u"),u=a("P9l9"),p={components:{commonDetailTop:i.a},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",topMenuData:[{id:"1",name:"指标管理",path:"/quota?appIcon="+this.$route.query.appIcon},{id:"2",name:"月指标",path:""}],yearList:[],year:"",tableList:[],tabelHeader:[{prop:"yearMonth",label:"月份"},{prop:"totalPerformance",label:"月指标累计"},{prop:"totalStore",label:"门店总数"},{prop:"totalComplete",label:"门店指标完善数"}],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(e){e&&this.getYearList()}},methods:{handleSizeChange:function(e){this.pageSize=e,this.apiMonthPerformanceList()},handleCurrentChange:function(e){this.currentPage=e,this.apiMonthPerformanceList()},changeYear:function(){this.currentPage=1,this.apiMonthPerformanceList()},getYearList:function(){var e=this;return s()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,n={brandId:a.brandId},Object(u.a)("/haoban-app-performance-web/performance/get-years",n);case 3:r=t.sent,1==(o=r.data).errorCode?(a.yearList=[],o.result&&o.result.length&&(o.result.forEach(function(e){a.yearList.push({id:e,label:e+"年"})}),a.year=o.result[0],a.apiMonthPerformanceList())):c.a.errorMsg(o);case 6:case"end":return t.stop()}var n},t,e)}))()},apiMonthPerformanceList:function(){var e=this;return s()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,n={brandId:e.brandId,year:e.year},Object(u.a)("/haoban-app-performance-web/performance/query-month-performance",n);case 3:r=t.sent,1==(o=r.data).errorCode&&(o.result.length&&o.result.forEach(function(e){e.totalPerformance=Object(l.d)(Number(e.totalPerformance).toFixed(2))}),a.tableList=o.result||[]);case 6:case"end":return t.stop()}var n},t,e)}))()}},mounted:function(){this.$emit("showTab","11"),this.brandId&&this.getYearList()}},h={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"m-20"},[a("el-select",{staticClass:"m-b-23 w-123",on:{change:e.changeYear},model:{value:e.year,callback:function(t){e.year=t},expression:"year"}},[a("i",{staticClass:"el-input__icon el-icon-date",attrs:{slot:"prefix"},slot:"prefix"}),e._v(" "),e._l(e.yearList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.label}})})],2),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableList}},[e._l(e.tabelHeader,function(e,t){return a("el-table-column",{key:t,attrs:{label:e.label,prop:e.prop}})}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.settingStatus?a("el-button",{attrs:{type:"text"},on:{click:function(a){e.$router.push("/storeMonthTask?yearMonth="+t.row.yearMonth+"&appIcon="+e.$route.query.appIcon+" ")}}},[e._v("门店月指标")]):e._e(),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.$router.push("/companyDaySet?yearMonth="+t.row.yearMonth+"&appIcon="+e.$route.query.appIcon)}}},[e._v("商户日权重")])]}}])})],2),e._v(" "),0!=e.tableList.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)],1)},staticRenderFns:[]};var d=a("VU/8")(p,h,!1,function(e){a("kT9X")},"data-v-9dd05db2",null);t.default=d.exports},kT9X:function(e,t){}});
\ No newline at end of file
webpackJsonp([41],{IKv2:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("mvHQ"),o=r.n(a),n=r("2eFk"),s=r("Ke24"),c=r("PI0u"),l=r("Ch4/"),i=r("3E4D"),u=r("P9l9"),f={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,topMenuData:[{id:"1",name:"指标管理",path:"/monthList?appIcon="+this.$route.query.appIcon},{id:"2",name:"月指标",path:"/monthList?appIcon="+this.$route.query.appIcon},{id:"3",name:"门店月指标",path:"storeMonthTask?yearMonth="+this.$route.query.yearMonth+"&appIcon="+this.$route.query.appIcon},{id:"4",name:"导购月指标详情",path:""}],activeId:"4",tableData:[],performanceSum:"",clerkObj:{storeId:"",storeName:"",yearMonth:"",settingAble:1,storePerformance:""},equalFlag:!0}},computed:{},methods:{inputPerformance:function(e,t,r){r.clerkPerformance=Number(r.clerkPerformance.replace(/[^\d.]/g,""))?r.clerkPerformance.replace(/[^\d+(.\d+)]/g,""):"",r.clerkPerformance=Number(r.clerkPerformance).toFixed(2);var a=0;this.tableData.forEach(function(e){a+=Number(e.clerkPerformance)}),this.performanceSum=Number(a).toFixed(2),this.diffData()},inputMonthPerformance:function(e){this.clerkObj.storePerformance=Number(this.clerkObj.storePerformance.replace(/[^\d.]/g,""))?this.clerkObj.storePerformance.replace(/[^\d+(.\d+)]/g,""):"",this.clerkObj.storePerformance=Number(this.clerkObj.storePerformance).toFixed(2),this.diffData()},diffData:function(){var e=Number(this.performanceSum)==Number(this.clerkObj.storePerformance);return this.equalFlag=!!e,e},saveSet:Object(c.a)(function(){if(!this.diffData())return!1;if(""==this.clerkObj.storePerformance)return this.$message.error({duration:1e3,message:"请输入门店月指标"}),!1;var e={clerkPerformanceList:this.tableData,storePerformance:this.clerkObj.storePerformance};this.postSave(e)},500),postSave:function(e){var t=this,r={brandId:t.activeBrand,storeId:t.clerkObj.storeId,yearMonth:t.clerkObj.yearMonth,performance:o()(e)};Object(u.e)("/haoban-app-performance-web/performance/save-clerk-month-performance",r).then(function(e){var t=e.data;1!=t.errorCode?l.a.errorMsg(t):i.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(){var e=this,t={brandId:e.activeBrand,storeId:e.clerkObj.storeId,yearMonth:e.clerkObj.yearMonth};Object(u.e)("/haoban-app-performance-web/performance/query-clerk-month-performance",t).then(function(t){var r=t.data;if(1==r.errorCode){r.result.clerkPerformanceList&&r.result.clerkPerformanceList.length&&(r.result.clerkPerformanceList.forEach(function(e){e.clerkPerformance=Number(e.clerkPerformance).toFixed(2)}),e.tableData=r.result.clerkPerformanceList||[]),r.result.storePerformance=Number(r.result.storePerformance).toFixed(2),e.clerkObj=r.result;var a=0;return e.tableData.forEach(function(e){a+=Number(e.clerkPerformance)}),void(e.performanceSum=Number(a).toFixed(2))}l.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.clerkObj.yearMonth=this.$route.query.yearMonth,this.clerkObj.storeId=this.$route.query.storeId,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","11"),this.brandId&&(this.clerkObj.yearMonth=this.$route.query.yearMonth,this.clerkObj.storeId=this.$route.query.storeId,this.getData())},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonDetailTop:s.a}},m={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-detail-wrap common-right-wrap"},[r("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),r("div",{staticClass:"task-set-content boder-box"},[r("div",{staticClass:"saler-set-title flex flex-space-between m-b-15"},[r("div",{staticClass:"saler-set-title_left"},[r("span",[e._v(e._s(e.clerkObj.yearMonth))]),r("span",{staticClass:"p-l-18"},[e._v(e._s(e.clerkObj.storeName)+"门店导购月指标详情")])]),e._v(" "),r("div",{staticClass:"saler-set-title_right"},[r("span",[e._v("门店月指标:")]),r("el-input",{staticClass:"w-105 p-l-8",attrs:{placeholder:"请输入指标值",disabled:0==e.clerkObj.settingAble},on:{blur:function(t){return e.inputMonthPerformance(t)}},model:{value:e.clerkObj.storePerformance,callback:function(t){e.$set(e.clerkObj,"storePerformance",t)},expression:"clerkObj.storePerformance"}})],1)]),e._v(" "),r("div",{staticClass:"saler-set-table"},[r("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[r("el-table-column",{attrs:{label:"导购"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(t.row.clerkName))])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"月指标"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[r("el-input",{staticClass:"w-105 p-l-8",attrs:{placeholder:"请输入指标值",disabled:0==e.clerkObj.settingAble},on:{blur:function(r){return e.inputPerformance(r,t.$index,t.row)}},model:{value:t.row.clerkPerformance,callback:function(r){e.$set(t.row,"clerkPerformance",r)},expression:"scope.row.clerkPerformance"}})],1)]}}])})],1)],1),e._v(" "),r("div",{staticClass:"task-set-save text-center m-t-30"},[r("span",{staticClass:"saler-set-sum"},[e._v("导购总计:"),r("span",{class:["font-20",e.equalFlag?"color-1890ff":"color-f5222d"]},[e._v(e._s(e.performanceSum))])]),e._v(" "),1==e.clerkObj.settingAble?r("el-button",{attrs:{disabled:!e.equalFlag,type:"primary"},on:{click:e.saveSet}},[e._v("确 认")]):e._e(),e._v(" "),e.equalFlag?e._e():r("span",{staticClass:"font-14 color-f5222d p-l-24"},[e._v("请确保导购月指标总计 = 门店月指标")])],1)])],1)},staticRenderFns:[]};var d=r("VU/8")(f,m,!1,function(e){r("kVwA")},"data-v-8bdd44ec",null);t.default=d.exports},kVwA:function(e,t){}});
\ No newline at end of file
webpackJsonp([42],{Gk4o:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),o=a("fvdr"),i=a("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"签到",appIcon:"",activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:o.a,commonDetailLeft:i.a}},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=a("VU/8")(c,r,!1,function(t){a("ONCu")},"data-v-8aca666c",null);e.default=s.exports},ONCu:function(t,e){}});
\ No newline at end of file
webpackJsonp([44],{Mh6D:function(t,e){},e88N:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),i=a("fvdr"),c=a("Qie6"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"话务任务",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"话务任务记录",icon:"icon-tonghuahuawuliang",onlyIconActive:!1},{tabId:"2",tabName:"话务任务设置",icon:"icon-huawujinengzupeizhi",onlyIconActive:!1},{tabId:"3",tabName:"不良评价回访设置",icon:"icon-ribaoshezhi",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("taskRecord?appIcon="+this.$route.query.appIcon);break;case"2":this.changeRoute("trafficTaskSet?appIcon="+this.$route.query.appIcon);break;case"3":this.changeRoute("badEvaluateSet?appIcon="+this.$route.query.appIcon)}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:i.a,commonDetailLeft:c.a}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-left w-157",style:{"min-height":t.bgHeight}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var r=a("VU/8")(o,s,!1,function(t){a("Mh6D")},"data-v-7f9fb16b",null);e.default=r.exports}});
\ No newline at end of file
webpackJsonp([45],{"5x7s":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("2eFk"),n=a("Ke24"),i=a("PI0u"),o=a("Ch4/"),c=a("3E4D"),r=a("P9l9"),d={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,topMenuData:[{id:"1",name:"任务下发设置"}],activeId:"1",setData:{status:!1,time:"12:00"}}},computed:{},methods:{saveSet:Object(i.a)(function(){this.postSave()},500),postSave:function(){var t=this,e={brandId:t.activeBrand,status:t.setData.status?"1":"0",time:t.setData.time};Object(r.e)("/haoban-app-daily-web/daily/create-setting",e).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):c.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={brandId:t.activeBrand};Object(r.e)("/haoban-app-daily-web/daily/get-setting",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.setData.status=1==a.result.status,void(t.setData.time=a.result.time);o.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","22"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:s.a,commonDetailTop:n.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"task-set-content boder-box"},[a("div",{staticClass:"task-set-cell"},[a("div",{staticClass:"font-16 color-606266 m-b-10 font-w-500"},[t._v("日报开关设置")]),t._v(" "),a("div",{staticClass:"font-14 color-606266 m-b-16"},[t._v("开启后,日报将定时发送")]),t._v(" "),a("div",{},[a("el-switch",{attrs:{"active-text":" ","inactive-text":" "},model:{value:t.setData.status,callback:function(e){t.$set(t.setData,"status",e)},expression:"setData.status"}})],1)]),t._v(" "),a("div",{staticClass:"task-set-cell"},[a("div",{staticClass:"font-16 color-606266 m-b-10 font-w-500"},[t._v("日报每日下发时间设置")]),t._v(" "),a("div",{staticClass:"font-14 color-606266 m-b-16"},[t._v("该事件设置将在次日生效,为避免影响当日日报的发送,请在日报发送后设置")]),t._v(" "),a("div",[a("el-time-select",{staticClass:"w-118",attrs:{editable:!1,clearable:!1,"picker-options":{start:"00:00",step:"00:15",end:"23:45"},placeholder:"选择时间"},model:{value:t.setData.time,callback:function(e){t.$set(t.setData,"time",e)},expression:"setData.time"}})],1)]),t._v(" "),a("div",{staticClass:"task-set-save m-t-30"},[a("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("保 存")])],1)])],1)},staticRenderFns:[]};var u=a("VU/8")(d,l,!1,function(t){a("W7qN")},"data-v-7f9ef9d2",null);e.default=u.exports},W7qN:function(t,e){}});
\ No newline at end of file
webpackJsonp([46],{Vfld:function(t,a){},cuIN:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("2eFk"),c=e("fvdr"),o=e("Qie6"),i={name:"reviewed",data:function(){return{appName:"我的顾客",appIcon:"",activeTab:"1",tabListData:[{tabId:"1",tabName:"会员基础设置",icon:"icon-sousuoshezhi"},{tabId:"2",tabName:"在线沟通设置",icon:"icon-zaixiangoutong"}],activeBrand:"1"}},computed:{},methods:{selectBrandId:function(t){this.activeBrand=t},setSelectTab:function(t){this.activeTab=t.tabId}},watch:{activeBrand:function(t,a){this.activeBrand=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:c.a,commonDetailLeft:o.a}},s={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("div",{staticClass:"right-content"},[e("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-box"},[e("div",{staticClass:"apps-content flex"},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("app-detail",{attrs:{brandId:t.activeBrand,tabType:t.activeTab}})],1)])])],1),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var d=e("VU/8")(i,s,!1,function(t){e("Vfld")},"data-v-7e42b674",null);a.default=d.exports}});
\ No newline at end of file
webpackJsonp([48],{"8lts":function(e,a){},AdJp:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=t("Xxa5"),o=t.n(n),r=t("exGp"),s=t.n(r),m=t("3Xzz"),i=t("WSbm"),d=t("P9l9"),c={name:"employeeDetail",components:{navCrumb:m.a,employeeInfo:i.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"/administrativeFrame"},{name:"添加员工",path:""}],navpathEdit:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"/administrativeFrame"},{name:"编辑员工",path:""}],managerMode:!1}},methods:{save:function(e){var a=this;return s()(o.a.mark(function t(){var n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.$refs.emmployInfo.submitForm("employeeForm");case 2:t.sent&&(n=a.$refs.emmployInfo.info,a.isNew?a.addEmployee(n,e):a.saveEmployeeInfo(n));case 4:case"end":return t.stop()}},t,a)}))()},addEmployee:function(e,a){var t=this,n={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode,nationcode:e.nationcode};Object(d.a)("/haoban-manage-web/emp/add",n).then(function(e){1==e.data.errorCode?(t.$message.success({message:"操作成功"}),1==a?(t.$refs.emmployInfo.info={name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1,nationcode:"86"},t.$refs.emmployInfo.defaultSelection=[],t.$refs.emmployInfo.resetForm("employeeForm")):window.history.go(-1)):t.$message.error({message:e.data.message})}).catch(function(e){})},saveEmployeeInfo:function(e){var a=this,t={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,employeeClerkId:a.$route.query.employeeClerkId,managerMode:1*e.managerMode,nationcode:e.nationcode};Object(d.a)("/haoban-manage-web/emp/update",t).then(function(e){1==e.data.errorCode?(a.$message.success({message:"操作成功"}),window.history.go(-1)):a.$message.error({message:e.data.message})}).catch(function(e){a.$message.error({message:e.message})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){})}},computed:{isNew:function(){return 1==!!this.$route.query.addnew}},mounted:function(){this.$route.query.addnew||(this.navpath=this.navpathEdit)}},p={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"common-set-wrap"},[t("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),t("div",{staticClass:"right-content"},[t("div",{staticClass:"right-box"},[t("div",{staticClass:"employee-detail",style:{height:e.$store.state.bgHeight}},[t("employee-info",{ref:"emmployInfo",attrs:{isNew:e.isNew}}),e._v(" "),e.$route.query.readOnly?e._e():t("div",{staticClass:"btn-boxs"},[t("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")]),e._v(" "),e.isNew?t("el-button",{attrs:{type:"primary"},on:{click:function(a){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),t("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1)])])],1)},staticRenderFns:[]};var u=t("VU/8")(c,p,!1,function(e){t("8lts")},null,null);a.default=u.exports}});
\ No newline at end of file
webpackJsonp([50],{"av/3":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),o=a("fvdr"),i=a("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"企业公告",appIcon:"icon-gonggao",activeSelTab:"1",activeTab:"1",tabListData:[{id:"1",name:"企业公告列表",icon:"",onlyIconActive:!1},{id:"2",name:"新建公告",icon:"",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:o.a,commonDetailLeft:i.a}},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=a("VU/8")(c,r,!1,function(t){a("ebGx")},"data-v-7769b0e5",null);e.default=s.exports},ebGx:function(t,e){}});
\ No newline at end of file
webpackJsonp([51],{"00Sv":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var u=t("VU/8")({name:"add-employee"},r,!1,function(e){t("yw/n")},null,null);n.default=u.exports},"yw/n":function(e,n){}});
\ No newline at end of file
webpackJsonp([52],{bPWL:function(e,t){},mPjx:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("3Xzz"),n=a("Ie7z"),s=a("P9l9"),o={name:"store-view-group-info",components:{navCrumb:r.a,vueSelectStore:n.a},data:function(){return{departInfo:{name:"",parentName:"",parentId:""},rules:{name:[{required:!0,message:"请输入部门名称",trigger:"blur"},{min:1,max:20,message:"长度在 1 到 20 个字符",trigger:"blur"}],parentId:[{required:!0,message:"请选择父级部门",trigger:"change"}]},disabled:!0,treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0,groupId:""},currentBrand:this.$route.query.groupId,defaultList:[]}},methods:{delGroup:function(){var e=this;e.$confirm(" 是否确认删除分组 ?","提示",{type:"warning"}).then(function(){Object(s.a)("/haoban-manage-web/dept/del",{groupId:e.$route.query.groupId}).then(function(t){1==t.data.errorCode?(e.$message.success({message:t.data.message}),window.history.go(-1)):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})}).catch(function(e){})},handleSelectedList:function(e){var t=e[0];this.departInfo.parentId=t?t.id:"",this.departInfo.parentName=t?t.chainName:""},callGroupSelector:function(){this.treeSet.dialogVisible=!0},saveEdit:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.$refs.departForm.validate(function(a){if(!a)return!1;var r=e,n={parentId:r.departInfo.parentId,name:r.departInfo.name},o="";r.isAddNew?o="/haoban-manage-web/dept/insert":(o="/haoban-manage-web/dept/update",n.groupId=r.$route.query.groupId,n.isStoreGroup=1),Object(s.a)(o,n).then(function(e){1==e.data.errorCode?(r.$message.success({duration:1e3,message:"操作成功!"}),"continue"==t?r.departInfo={name:"",parentName:"",parentId:" "}:window.history.go(-1)):r.$message.error({duration:1e3,message:e.data.message})}).catch(function(e){r.$message.error({duration:1e3,message:e.message})})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){})},getGroupInfo:function(){var e=this,t={groupId:e.$route.query.groupId};Object(s.a)("/haoban-manage-web/dept/findDeptById",t).then(function(t){1==t.data.errorCode?(e.departInfo={name:t.data.result.name,parentName:t.data.result.chainName,parentId:t.data.result.parentId},e.defaultList=[{id:t.data.result.parentId,label:t.data.result.parentGroupName}]):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})}},computed:{isAddNew:function(){return!(1!=this.$route.query.addnew)},forbidenList:function(){return this.isAddNew?[]:[this.$route.query.groupId]},navpath:function(){return[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"门店架构",path:"/storeFrame"},{name:"group"==this.$route.query.type?"编辑分组":this.isAddNew?"添加子分组":"品牌编辑",path:""}]}},beforeMount:function(){this.treeSet.groupId=this.$route.query.firstLevelId,this.isAddNew||this.getGroupInfo()},mounted:function(){this.disabled=!1},watch:{treeData:function(){this.disabled=!1}}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"add-department-container"},[a("div",{staticClass:"setting-cell"},[a("el-form",{ref:"departForm",staticClass:"department-info-form",attrs:{"label-position":"right",rules:e.rules,model:e.departInfo,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"brand"==e.$route.query.type?"品牌名称":"部门名称",prop:"name"}},[a("el-input",{model:{value:e.departInfo.name,callback:function(t){e.$set(e.departInfo,"name",t)},expression:"departInfo.name"}})],1),e._v(" "),"group"==e.$route.query.type||e.isAddNew?a("el-form-item",{attrs:{label:"部门排序调整",prop:"parentId"}},[a("el-input",{attrs:{disabled:e.disabled,"suffix-icon":"el-icon-arrow-down"},on:{focus:e.callGroupSelector},model:{value:e.departInfo.parentName,callback:function(t){e.$set(e.departInfo,"parentName",t)},expression:"departInfo.parentName"}})],1):e._e()],1)],1),e._v(" "),a("div",{staticClass:"setting-cell"},[a("div",{staticClass:"btn-area"},[a("el-button",{attrs:{type:"primary"},on:{click:e.saveEdit}},[e._v("保存")]),e._v(" "),e.isAddNew?a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.saveEdit("continue")}}},[e._v("保存并继续添加")]):a("el-button",{attrs:{type:"danger"},on:{click:e.delGroup}},[e._v("删除")]),e._v(" "),a("el-button",{on:{click:e.cancel}},[e._v("取消")])],1)]),e._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{defaultList:e.defaultList,treeSet:e.treeSet,currentBrand:e.currentBrand,selectType:"group",forbidenList:e.forbidenList},on:{handleSelectedList:e.handleSelectedList}})],1)])])],1)},staticRenderFns:[]};var d=a("VU/8")(o,i,!1,function(e){a("bPWL")},null,null);t.default=d.exports}});
\ No newline at end of file
webpackJsonp([53],{da9f:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("lxEU")},"data-v-5a283aba",null);e.default=o.exports},lxEU:function(t,e){}});
\ No newline at end of file
webpackJsonp([54],{VqB7:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("3Xzz"),n=a("3E4D"),i=a("Ch4/"),r=a("P9l9"),l={name:"setChildAdmin",data:function(){return{windowH:window.screen.availHeight-180-15+"px",tableH:window.screen.availHeight-440-180,navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:""}],boxHeight:window.screen.availHeight-20+"px",isAddAdmin:"",activeId:"",activeBrandId:"",roleListData:[],roleRightObj:{roleName:"超级管理员",tip:"企业的创建者,拥有企业的所有权限,只会有一个",roleCode:"",isEdit:0},tableData:[],currentPage:1,pageSize:20,total:0}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},toRoleDetail:function(e){this.changeRoute("/addAdminRole?roleId="+this.activeId+"&type="+e+"&brandId="+this.activeBrandId)},toDelRole:function(){var e=this;e.$confirm("此操作将永久删除该文件, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.postToDelRole()}).catch(function(){})},postToDelRole:function(){var e=this,t={roleId:e.activeId,brandId:e.activeBrandId};Object(r.e)("/haoban-manage-web/del-role",t).then(function(t){var a=t.data;if(1==a.errorCode)return n.a.showmsg("删除成功","success"),void e.getRoles();i.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},selectRole:function(e,t){this.activeId=e.roleId,this.activeBrandId=t,this.roleRightObj=e,this.getRoleUsers()},toAddRole:function(e){this.changeRoute("/addAdmin?roleId="+this.activeId+"&roleCode="+e+"&brandId="+this.activeBrandId)},handleDel:function(e,t){var a=this;a.$alert("确定要删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(o){o.value;a.postDelUser(t.userId,e)}).catch(function(){})},postDelUser:function(e,t){var a=this,o={roleId:a.activeId,userId:e,brandId:a.activeBrandId};Object(r.e)("/haoban-manage-web/del-role-user",o).then(function(e){var o=e.data;if(1==o.errorCode)return n.a.showmsg("删除成功","success"),void a.tableData.splice(t,1);i.a.errorMsg(o)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleShow:function(e,t,a){this.changeRoute("/addAdmin?roleId="+this.activeId+"&roleCode="+a+"&userId="+t.userId+"&brandId="+this.activeBrandId)},handleSizeChange:function(e){this.pageSize=e,this.getRoleUsers()},handleCurrentChange:function(e){this.currentPage=e,this.getRoleUsers()},getRoleUsers:function(){var e=this,t={roleId:e.activeId,brandId:e.activeBrandId,pageSize:e.pageSize,pageNum:e.currentPage};Object(r.e)("/haoban-manage-web/role-user-list",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.result?(e.tableData=a.result.result,void(e.total=a.result.totalCount)):(e.tableData=[],!1);i.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getRoles:function(){var e=this;Object(r.e)("/haoban-manage-web/role-list",{}).then(function(t){var a=t.data;if(1==a.errorCode)return e.isAddAdmin=a.result.isAddAdmin,e.roleListData=a.result.roleList||[],void(a.result&&a.result.roleList.length&&(e.activeId=e.roleListData[0].roleList[0].roleId,e.activeBrandId=e.roleListData[0].brandId,e.roleRightObj=e.roleListData[0].roleList[0],e.getRoleUsers()));i.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.boxHeight=window.screen.availHeight-430+"px",this.getRoles()},components:{navCrumb:o.a}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"setChildAdmin-wrap common-set-wrap",style:{height:e.windowH}},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"setChildAdmin-wrap-body flex"},[a("div",{staticClass:"setChildAdmin-wrap-left w-260",style:{height:e.boxHeight}},e._l(e.roleListData,function(t,o){return a("div",{key:o,staticClass:"m-t-20"},[a("div",{staticClass:"role-cell-head flex"},[a("div",{staticClass:"flex-1 max-half role-cell-head_name"},[e._v(e._s(t.brandName))]),e._v(" "),t.canAddRole?a("div",{staticClass:"text-right flex-1 "},[a("el-button",{attrs:{size:"mini"},on:{click:function(a){e.changeRoute("/addAdminRole?brandId="+t.brandId)}}},[e._v("新增角色")])],1):e._e()]),e._v(" "),a("ul",e._l(t.roleList,function(o,n){return a("li",{key:n,class:["role-cell border-bottom-1",t.brandId==e.activeBrandId&&o.roleId==e.activeId?"role-active":""],on:{click:function(a){a.stopPropagation(),e.selectRole(o,t.brandId)}}},[a("i",{staticClass:"iconfont icon-lizhi p-r-6"}),e._v("\n "+e._s(o.roleName)+"\n ")])}))])})),e._v(" "),a("div",{staticClass:"setChildAdmin-wrap-right box-sizing"},[a("div",{staticClass:"role-title flex flex-between m-b-25"},[a("span",{staticClass:"font-20 color-303133"},[e._v(" "+e._s(e.roleRightObj.roleName)+" ")]),"child_admin"!=e.roleRightObj.roleCode?a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:function(t){e.toRoleDetail("show")}}},[e._v(" 查看权限 ")]):e._e(),"child_admin"==e.roleRightObj.roleCode?a("span",[e.tableData.length?e._e():a("span",{staticClass:"font-14 color-1890ff pinter p-r-6",on:{click:e.toDelRole}},[e._v(" 删除角色 ")]),a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:function(t){e.toRoleDetail("edit")}}},[e._v("\n 编辑权限\n ")])]):e._e()]),e._v(" "),"master_admin"===e.roleRightObj.roleCode||"admin"===e.roleRightObj.roleCode?a("div",{staticClass:"role-tip "},[a("el-alert",{attrs:{title:"master_admin"===e.roleRightObj.roleCode?"企业的创建者,拥有企业的所有权限,只会有一个":"admin"===e.roleRightObj.roleCode?"企业管理员,拥有企业的所有权限,不能创建企业管理员,可以有多个":"",type:"info",closable:!1,"show-icon":""}})],1):e._e(),e._v(" "),e.roleRightObj.isEdit?a("div",{staticClass:"role-add m-t-27"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.toAddRole(e.roleRightObj.roleCode)}}},[e._v("添加成员")])],1):e._e(),e._v(" "),a("div",{class:["role-table",e.roleRightObj.isEdit?"":"m-t-27"]},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{prop:"clerkName",label:"姓名"}}),e._v(" "),a("el-table-column",{attrs:{label:"手机号"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s("86"==t.row.nationcode?t.row.clerkPhone:"+"+t.row.nationcode+"-"+t.row.clerkPhone)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"groupName",label:"部门"}}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return 1==t.row.canEdit?[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleShow(t.$index,t.row,e.roleRightObj.roleCode)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")])]:void 0}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])])])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var d=a("VU/8")(l,s,!1,function(e){a("nVXX")},"data-v-58f8a925",null);t.default=d.exports},nVXX:function(e,t){}});
\ No newline at end of file
webpackJsonp([55],{RHxA:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Xxa5"),r=a.n(s),o=a("exGp"),n=a.n(o),i=a("3Xzz"),l=a("elmV"),c=a("P9l9"),u=a("unF8"),p=a("Ch4/"),d={name:"employee-io",components:{navCrumb:i.a,uploadExcelComponent:l.a},data:function(){var t=window.location.origin;return-1!=t.indexOf("localhost")&&(t="http://www.gicdev.com"),{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"门店架构",path:"storeFrame"},{name:"批量导入导出",path:""}],host:window.location.origin,windowH:window.screen.availHeight-180+"px",type:"import",fileList:[],url:t+"/haoban-manage-web/store/upload",uploadSuccessMsg:"",logList:[],loading:!0,pageSize:20,currentPage:1,total:0,gicFlag:!0}},methods:{handleSizeChange:function(t){this.pageSize=t,this.getErrorNote()},handleCurrentChange:function(t){this.currentPage=t,this.getErrorNote()},resetList:function(t){this.fileList=[],"note"==t&&this.getErrorNote()},getErrorNote:function(){var t=this,e={departmentId:t.$route.query.departmentId,importCode:t.$route.query.importCode};Object(c.a)("/haoban-manage-web/error-log-page",e).then(function(e){1==e.data.errorCode?(t.total=e.data.result.totalCount,t.logList=e.data.result,t.loading=!1):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})},handleRemove:function(t,e){this.fileList=[]},handlePreview:function(t){},beforeAvatarUpload:function(t){var e=t.name.lastIndexOf(".");if(e<0)return this.$message.error("文件格式不正确!"),!1;var a=t.name.substring(e+1,t.name.length),s=a.includes("xls")||a.includes("xlsx");return s||this.$message.error("文件格式必须为 xls 或 xlsx 格式!"),s},getChange:function(t,e){var a=e.length-1<0?0:e.length-1,s=t.name.lastIndexOf("."),r=t.name.substring(s+1,t.name.length);if(!(r.includes("xls")||r.includes("xlsx")))return this.$message.error("文件格式必须为 xls 或 xlsx 格式!"),this.fileList.splice(a,1),!1;this.fileList=[e[a]]},uploadSuccess:function(t,e){var a=this;1==t.errorCode?(a.$forceUpdate(),a.uploadSuccessMsg=t.message.split(","),a.$message({message:t.message,type:"success"}),a.$nextTick(function(){a.fileList=[]})):a.$message.error(t.message)},submitUpload:function(t){this.$refs[t].submit()},getGicData:function(t){var e=this;return n()(r.a.mark(function a(){var s,o,n,i;return r.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(s=e,t){a.next=3;break}return a.abrupt("return",!1);case 3:return o={type:1,businessId:t},a.next=6,Object(u.a)(o);case 6:n=a.sent,1==(i=n.data).errorCode?(s.gicFlag=i.result,s.type=i.result?"export":"import"):p.a.errorMsg(i);case 9:case"end":return a.stop()}},a,e)}))()}},beforeMount:function(){var t=this.$route.query.brandId;this.getGicData(t),"note"==this.type&&this.getErrorNote(),this.$nextTick(function(){document.querySelector(".contact-wrap__body").style.overflow="hidden"})},beforeDestroy:function(){document.querySelector(".contact-wrap__body").style.overflow="auto"}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"common-set-wrap",style:{height:t.windowH}},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"io-container border-box "},[t._m(0),t._v(" "),a("el-radio-group",{staticClass:"m-t-20",on:{change:t.resetList},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[t.gicFlag?t._e():a("el-radio-button",{attrs:{label:"import"}},[t._v("导入门店")]),t._v(" "),a("el-radio-button",{attrs:{label:"export"}},[t._v("导出")]),t._v(" "),a("el-radio-button",{attrs:{label:"note"}},[t._v("错误记录")])],1),t._v(" "),"import"==t.type?a("div",{staticClass:"handle-area import"},[a("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px","line-height":"32px"}},[a("span",{staticClass:"ft-large"},[t._v("①")]),t._v("下载门店导入模板,批量填写门店信息\n "),a("a",{staticClass:"d-u-btn",attrs:{href:t.host+"/haoban-manage-web/excel/通讯录-门店架构导入模板.xlsx"}},[a("el-button",{attrs:{type:"primary"}},[t._v(" 下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1)]),t._v(" "),a("div",{staticClass:"step-div"},[a("span",{staticClass:"ft-large"},[t._v("②")]),t._v("上传填写好的门店信息\n "),a("div",{staticClass:"d-u-btn"},[a("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{action:t.url+"?brandId="+t.$route.query.brandId,"auto-upload":!1,"before-upload":t.beforeAvatarUpload,"on-success":t.uploadSuccess,"on-change":t.getChange,multiple:!1,"file-list":t.fileList,"on-remove":t.handleRemove}},[a("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),t._v(" "),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("文件格式必须为xls或xlsx格式")])],1)],1)]),t._v(" "),a("div",{staticClass:"up-btn-div"},[a("el-button",{attrs:{type:"primary",disabled:0==t.fileList.length},on:{click:function(e){t.submitUpload("upload")}}},[t._v("\n 上传\n ")])],1)]):"export"==t.type?a("div",{staticClass:"handle-area import"},[a("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px","line-height":"32px"}},[a("span",{staticClass:"ft-large"},[t._v("①")]),t._v("导出门店\n "),a("a",{staticClass:"d-u-btn",attrs:{href:"/haoban-manage-web/store/export?storeGroupId="+t.$route.query.departmentId+"&showChild="+t.$route.query.showChildMember}},[a("el-button",{attrs:{type:"primary"}},[t._v(" 下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1),t._v("\n 批量修改门店信息\n ")])]):a("div",{staticClass:"error-log import"},[a("div",{staticClass:"title-area"},[a("div",{staticClass:"tip"},[t._v(t._s(t.uploadSuccessMsg))]),t._v(" "),a("a",{attrs:{href:"/haoban-manage-web/error-improt-log-export?importCode="+t.$route.query.importCode+"&departmentId="+t.$route.query.departmentId}},[a("el-button",{attrs:{type:"primary"}},[t._v("导出错误记录")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"m-t-20",staticStyle:{width:"100%"},attrs:{data:t.logList}},[a("el-table-column",{attrs:{type:"index",width:"50",label:"序号"}}),t._v(" "),a("el-table-column",{attrs:{label:"错误提示",prop:"failReason"}}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",prop:"storeName"}}),t._v(" "),a("el-table-column",{attrs:{label:"门店code",prop:"storeCode"}}),t._v(" "),a("el-table-column",{attrs:{label:"门店分组ID",prop:"storeGroupId"}}),t._v(" "),a("el-table-column",{attrs:{label:"门店类型",prop:"storeTypeStr"}}),t._v(" "),a("el-table-column",{attrs:{label:"门店状态",prop:"statusStr"}}),t._v(" "),a("el-table-column",{attrs:{label:"店长",prop:"managerName"}}),t._v(" "),a("el-table-column",{attrs:{label:"手机号码",prop:"managerPhone"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s("86"==e.row.managerNationcode||null==e.row.managerNationcode?e.row.managerPhone:"+"+e.row.nationcode+"-"+e.row.managerPhone)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"店长编码",prop:"managerCode"}}),t._v(" "),a("el-table-column",{attrs:{label:"职位",prop:"managerPostionName"}})],1),t._v(" "),t.logList.length?a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{background:"","page-sizes":[20,40,60,80],"page-size":t.pageSize,"current-page":t.currentPage,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)],1)])]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{staticClass:"tip-area border-box "},[a("li",{staticClass:"tip"},[t._v("由于你的企业未进行企业认证,最多导入30家门店,如有超出,可先进行"),a("a",{staticClass:"a-href",attrs:{href:"#/companyCertify"}},[t._v("企业认证")])]),t._v(" "),a("li",{staticClass:"tip"},[t._v("\n 由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入\n ")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("不能在本excel表中对门店信息类别进行增加、删除、修改")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("标*字段为必填字段,未标*字段为选填字段")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("\n 门店所在分组:请先到后台创建门店分组,将分组id填入导入表格中,导入中,若找不到对应分组,将直接将门店挂在根目录下面\n ")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("未认证企业通讯录最多只能导入30家门店,超出后无法导入,请先进行企业认证")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("每次最多导入2000家门店,如果超出则只取前2000条数据,可以分多次导入")])])}]};var g=a("VU/8")(d,m,!1,function(t){a("XMDn")},null,null);e.default=g.exports},XMDn:function(t,e){}});
\ No newline at end of file
webpackJsonp([56],{"+lem":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"reviewed",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},watch:{$route:{handler:function(e,t){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"review-wrap"},[n("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),n("div",{staticClass:"setting-wrap__body"},[n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body",style:{height:e.contentHeight}},[n("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[n("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(e){n("wrIu")},null,null);t.default=i.exports},wrIu:function(e,t){}});
\ No newline at end of file
webpackJsonp([57],{"0kG1":function(e,t){},A33E:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),l=a("2eFk"),i=a("Ke24"),s=a("LRn8"),r=a("fPyK"),c=a("P9l9"),d=a("Ch4/"),u=a("3E4D"),f={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"2",activeBrand:this.brandId,topMenuData:[{id:"1",name:"话务任务记录",path:"/taskRecord?appIcon="+this.$route.query.appIcon},{id:"2",name:"记录详情",path:""}],selectRadio:0,showDialog:!1,conditionObj:{completed:"",overdue:""},completedOptions:[{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0}},computed:{},methods:{handleCommand:function(e){this.selectRadio=e},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskId})||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",reason:e.reason,brandId:t.activeBrand,isAll:t.selectRadio};Object(c.e)("/haoban-app-tel-task-web/task/batch-del-clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void t.getTableList();d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,o={taskId:t.taskId,brandId:a.activeBrand};Object(c.a)("/haoban-app-tel-task-web/task/del-one",o).then(function(t){var o=t.data;if(1==o.errorCode)return u.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);d.a.errorMsg(o)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handlePreview:function(e,t){this.postPreview(e,t)},postPreview:function(e,t){var a=""+t.taskId;this.$refs.qrcodePreview.qrcode(a,"task"),this.dialogVisible=!0},getTableList:function(e){var t=this,a={storeId:t.conditionObj.storeId||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",pageNum:t.currentPage,pageSize:t.pageSize,brandId:t.activeBrand};Object(c.a)("/haoban-app-tel-task-web/task/clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],void(t.total=a.result.pageInfo.total);d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){this.$emit("showTab","1"),document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:l.a,commonDetailTop:i.a,multipleDel:s.a,qrcodeDialog:r.a}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-105",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.completed,callback:function(t){e.$set(e.conditionObj,"completed",t)},expression:"conditionObj.completed"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.overdue,callback:function(t){e.$set(e.conditionObj,"overdue",t)},expression:"conditionObj.overdue"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("div",{class:["image-wrap flex flex-align-center flex-pack-center",t.row.headImgUrl?"bg-eceaeb":"bg-82c5ff"]},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:""}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16"},[a("p",{staticClass:"font-14 color-303133"},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399"},[e._v(e._s(t.row.clerkPhone))])])])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"任务类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s("0"==t.row.taskType?"不良评价":"话务任务"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成备注"},scopedSlots:e._u([{key:"default",fn:function(t){return["3"!=t.row.taskStatus&&"1"!=t.row.taskStatus?a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:"3"!=t.row.taskStatus?t.row.reason:""}},[a("i",{staticClass:"iconfont icon-beizhu",staticStyle:{"font-size":"40px"},attrs:{slot:"reference"},slot:"reference"})]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"放弃备注"},scopedSlots:e._u([{key:"default",fn:function(t){return["3"==t.row.taskStatus?a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:"3"==t.row.taskStatus?t.row.reason:""}},[a("i",{staticClass:"iconfont icon-beizhu",staticStyle:{"font-size":"40px"},attrs:{slot:"reference"},slot:"reference"})]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handlePreview(t.$index,t.row)}}},[e._v("预览")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0},on:{hideDialog:e.hideDialog}}),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}})],1)},staticRenderFns:[]};var m=a("VU/8")(f,p,!1,function(e){a("0kG1")},"data-v-48fef2e3",null);t.default=m.exports}});
\ No newline at end of file
webpackJsonp([58],{UcYd:function(t,e){},Y8F9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("2eFk"),s=n("Ke24"),i={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeBrandId:this.brandId,topMenuData:[{id:"1",name:"系统报表"}],activeId:"1"}},computed:{},methods:{toEdit:function(){this.$router.push("/systemReportSet?brandId="+this.activeBrandId+"&appIcon="+this.$route.query.appIcon)}},watch:{brandId:function(t,e){this.activeBrandId=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","211"),this.activeBrandId=this.brandId},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:a.a,commonDetailTop:s.a}},o={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"system-set-wrap"},[e("common-detail-top",{attrs:{topMenuData:this.topMenuData,activeId:this.activeId}}),this._v(" "),e("div",{staticClass:"system-set-content boder-box"},[e("div",{staticClass:"system-set-cell"},[e("div",{staticClass:"font-14 color-606266"},[this._v("云日报系统报表:提供系统能够智能识别的指标(例如:销售额、达成率等),配置成报表融入云日报上报模板中")]),this._v(" "),e("div",{staticClass:"m-t-30"},[e("el-button",{attrs:{type:"primary"},on:{click:this.toEdit}},[this._v("编辑模板")])],1)])])],1)},staticRenderFns:[]};var d=n("VU/8")(i,o,!1,function(t){n("UcYd")},"data-v-47668b06",null);e.default=d.exports}});
\ No newline at end of file
webpackJsonp([59],{cK0D:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),o=a("Ke24"),i=a("nsZK"),r=a("P9l9"),s=a("PI0u"),l=a("Ch4/"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"2",topMenuData:[{id:"1",name:"指标管理",path:"/monthList?appIcon="+this.$route.query.appIcon},{id:"2",name:"月指标任务",path:""}],showDialog:!1,conditionObj:{searchInput:"",storeGroupIds:[],storeStatus:"",dateRange:[]},storeStatusOptions:[{value:"",label:"所有门店状态"},{value:"0",label:"待审核"},{value:"1",label:"正常"},{value:"2",label:"审核失败"},{value:"3",label:"停业整顿"},{value:"4",label:"回收站"},{value:"5",label:"删除"}],selectRadio:0,tableData:[],currentPage:1,pageSize:20,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1},loading:!1}},computed:{},methods:{handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(s.a)(function(t,e){this.currentPage=1,this.getTableList()},500),checkStoreGroupIds:function(t){this.currentPage=1,this.conditionObj.storeGroupIds=t,this.getTableList()},changeStoreStatus:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},exportExcel:function(){var t=this,e={keyword:t.conditionObj.searchInput,storeGroupIds:t.conditionObj.storeGroupIds.map(function(t){return t.groupId}).join(",")||"",storeStatus:t.conditionObj.storeStatus,startDate:t.conditionObj.dateRange?t.conditionObj.dateRange[0]:"",endDate:t.conditionObj.dateRange?t.conditionObj.dateRange[1]:"",brandId:t.activeBrand};Object(r.b)("/haoban-app-performance-web/performance/export-store-month-performance-task",e).then(function(t){if(!t.data)return l.a.errorMsg("暂无数据"),!1;var e=new Blob([t.data],{type:"application/vnd.ms-excel"}),a=document.createElement("a");a.download="store-month-performance-task.xls",a.style.display="none",a.href=URL.createObjectURL(e),document.body.appendChild(a),a.click(),URL.revokeObjectURL(a.href),document.body.removeChild(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},toDetail:function(t,e){var a="",n="";this.conditionObj.dateRange.length>0&&(a=this.conditionObj.dateRange[0],n=this.conditionObj.dateRange[1]),this.$router.push("monthTaskDetail?storeId="+e.storeId+"&startDate="+a+"&endDate="+n+"&appIcon="+this.$route.query.appIcon)},getTableList:function(t){var e=this;e.loading=!0,e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={keyword:e.conditionObj.searchInput||"",storeGroupIds:e.conditionObj.storeGroupIds.map(function(t){return t.groupId}).join(",")||"",storeStatus:e.conditionObj.storeStatus||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,brandId:e.activeBrand};Object(r.a)("/haoban-app-performance-web/performance/query-store-month-performance-task",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;l.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","13"),this.activeBrand=this.brandId,this.activeGroup=this.activeGroupId,this.brandId&&this.getTableList()},destroyed:function(){this.activeGroup="",document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonDetailTop:o.a,storeTreeSelect:i.a}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap common-right-wrap"},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称/code"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("el-select",{staticClass:"w-130 m-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeStoreStatus},model:{value:t.conditionObj.storeStatus,callback:function(e){t.$set(t.conditionObj,"storeStatus",e)},expression:"conditionObj.storeStatus"}},t._l(t.storeStatusOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),t._v(" "),a("store-tree-select",{attrs:{brandId:t.brandId,activeGroupId:t.activeGroupId},on:{checkStoreGroupIds:t.checkStoreGroupIds}}),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",staticStyle:{width:"310px"},attrs:{editable:!1,"value-format":"yyyy-MM",type:"monthrange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始月份","end-placeholder":"结束月份"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"primary"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"storeName",label:"门店名称","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"taskCount",label:"任务总数"}}),t._v(" "),a("el-table-column",{attrs:{prop:"completedCount",label:"已完成(含放弃)","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"completedRate",label:"完成率(含放弃)","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"noCompletedCount",label:"待完成","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"overdueCount",label:"逾期中","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)],1)},staticRenderFns:[]};var u=a("VU/8")(c,d,!1,function(t){a("qVaG")},"data-v-424feacc",null);e.default=u.exports},qVaG:function(t,e){}});
\ No newline at end of file
webpackJsonp([6],{"3OG2":function(e,t){},"5TZM":function(e,t){},"7Otq":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAohJREFUSA3llr9vjlEUx/u0fkVaWiQGtPEGVYnBJMwmE5PJwtbBYqhB/AESQUSnpiFCaMTAJKIq1GBQNWgTQyPKIKlfg2q1fX2+b+6t+97nXs9zG1tP8nnvueeec773+f1mDYlWrVb3UHIQqjCcZdl4SossJRmxbeSfAFsn0T5EP5bt01g20eR1MVoxheR3yilrqYI/A42nA7FoKFVwhE5fnW5f8F8780LXPT2FyUrgOq5hOAILcJ/r94uxtK0onWkSJYDoFNO5VDG1SBZETDVrYV4+onNqVNYKTylNV9JMj0OHYSuj3ajEPsB7wyQb+I0ftaAgIluo0CMgEfllb655cvVMagNjiH9irLNYo29kzcAmiOXUNTKTJlOjG+l7KCHW7AHJ++AqDIHEi0wig9AL++Ee5CwmuJHMy/AK2uASPINZ8E2xp6CczTAKF0B1OYsJ2sSdONrpQ/gB2sQL0M2im2MYJGSPbgC/AmnGTTMKvi0QuAUd0ALNUIEBCNnL0qpUvwl1MDE9+EfhGMyYWGgICtrnyd+MPjsxW83CLtC4KpYUixddw1jdkuPLV/Daks/Z38Jgj9wp5XbbTc0ZOA93IdVuU3ARztJrh19cu0tZaGfhAOgd2g/XefH2MOqDe5zhCqzX/B+mfwLd1ElQdXqvDjKeZNwA+oc3qYXDoGfLmt6HdcZCOzyxCYw9cM6ZP8LXV2XRmGfw3MmZxj8kwbdOUK7EmxcrjUOsEU6bdSuoJqcg95kj1gaz4NqIdqF3ZIsnUOHwJ7xYbUr+XpztoMuhb95YbcH7IU9/H8e98JSO8A64piPO7dgrLJzSowneuY3xb0iwFST6GR6DvhD/xejVBUOg3jdh3R/Z4PK7K+X7nwAAAABJRU5ErkJggg=="},JXTs:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("P9l9"),i=a("LlAa"),r=a("TUB1"),o={name:"vue-api-header",data:function(){return{baseInfo:{userId:"",avatar:"http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIByXn17AiaibMrdKnDR52QkALMQeRrIUBvSc1Qj9wKyEHRehGErvm45cMZrics3GnC6sxXPwWlafZBQ/132",userName:"管理员"}}},methods:{toLoginOut:function(){var e=this;e.$confirm("确认退出吗?","提示",{type:"warning"}).then(function(){e.postLoginOut()}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},postLoginOut:function(){var e=this;Object(n.a)("/gateway-manage/invalidate",{}).then(function(e){var t=e.data;if(1==t.code)return Object(r.a)("退出成功","success"),void(window.location.href=window.location.origin+"/api-gateway-web/#/login");i.a.errorMsg(t)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getUserInfo:function(){var e=this;Object(n.a)("/gateway-manage/get-login-userInfo",{}).then(function(t){var a=t.data;1!=a.code?i.a.errorMsg(a):e.baseInfo=a.result}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{$route:{handler:function(e,t){},deep:!0}},mounted:function(){this.pathName=this.$route.path}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"api-header"},[a("div",{staticClass:"api-header-wrap border-box flex flex-space-between"},[e._m(0),e._v(" "),a("div",{staticClass:"api-header-right"},[a("div",{staticClass:"api-header-right_info"},[a("span",{staticClass:"api-header-message"},[e._v("消息")]),e._v(" "),a("el-popover",{staticStyle:{"min-width":"95px","margin-left":"10px"},attrs:{placement:"bottom",title:"",width:"95",trigger:"hover","popper-class":"user-header-pop"}},[a("ul",{staticClass:"navsuerwrap"},[a("li",{staticClass:"user-item loginout",staticStyle:{"text-align":"center"},on:{click:function(t){return t.stopPropagation(),e.toLoginOut(t)}}},[a("a",{staticClass:"usertext "},[e._v("退出登录")])])]),e._v(" "),a("div",{staticClass:"nav-user-name",staticStyle:{display:"inline-block"},attrs:{slot:"reference"},slot:"reference"},[a("a",{staticClass:"user-left-img flex flex-align-center"},[a("img",{staticStyle:{width:"30px",height:"30px","border-radius":"15px","padding-right":"2px"},attrs:{src:e.baseInfo.avatar,alt:""}}),a("span",{staticClass:"color-fff font-14 p-r-14"},[e._v(e._s(e.baseInfo.userName))]),a("i",{staticClass:"el-icon-arrow-down font-14 color-fff"})])])])],1)])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"api-header-left"},[t("img",{attrs:{src:a("7Otq"),alt:""}}),t("span",{staticClass:"color-fff "},[this._v("API网关管理后台")])])}]};var c=a("VU/8")(o,s,!1,function(e){a("s2mx")},"data-v-f3356ee2",null).exports,l={name:"vue-api-aside",props:{activeSelTab:{type:String,default:function(){return"1"}}},data:function(){return{activeTab:this.activeSelTab,leftMenuData:[{tabId:1,tabCode:1,tabName:"概览",tabIcon:"icongailan-",collapsFlag:!1,tabUrl:"/overview",children:[]},{tabId:2,tabCode:2,tabName:"API管理",tabIcon:"iconapi",collapsFlag:!0,tabUrl:"/apiProgram",children:[{tabId:21,tabCode:21,tabName:"项目列表",tabIcon:"",tabUrl:"/apiProgram"},{tabId:22,tabCode:22,tabName:"API列表",tabIcon:"",tabUrl:"/apiList"}]},{tabId:3,tabCode:3,tabName:"环境管理",tabIcon:"iconhuanjingguanli",collapsFlag:!1,tabUrl:"/envManage",children:[]},{tabId:4,tabCode:4,tabName:"发布记录",tabIcon:"iconfabu",collapsFlag:!1,tabUrl:"/releaseRecords",children:[]},{tabId:5,tabCode:5,tabName:"插件管理",tabIcon:"iconchajianguanli",collapsFlag:!1,tabUrl:"/pluginManage",children:[]},{tabId:6,tabCode:6,tabName:"错误码",tabIcon:"iconcuowu",collapsFlag:!1,tabUrl:"/errorCode",children:[]},{tabId:7,tabCode:7,tabName:"预警系统",tabIcon:"iconRectangleCopy",collapsFlag:!1,tabUrl:"/",children:[]},{tabId:8,tabCode:8,tabName:"日志管理",tabIcon:"iconrizhiguanli",collapsFlag:!1,tabUrl:"/",children:[]},{tabId:9,tabCode:9,tabName:"权限管理",tabIcon:"iconquanxian",collapsFlag:!1,tabUrl:"/",children:[]}]}},methods:{selectTab:function(e,t,a){if(t?this.leftMenuData[a].onlyIconActive=!0:(this.leftMenuData.forEach(function(e){e.onlyIconActive=!1}),e.collapsFlag=!(e.collapsFlag&&e.hasOwnProperty("children")&&e.children.length>0),this.$forceUpdate()),e.hasOwnProperty("children")&&e.children.length>0)return this.leftMenuData[a].onlyIconActive=!0,e.children[0].hasOwnProperty("children")&&e.children[0].hasOwnProperty("children").length>0?(this.activeTab=e.children[0].children[0].tabCode,this.$emit("setSelectTab",e),!1):(this.activeTab=e.children[0].tabCode,this.$emit("setSelectTab",e),!1);this.activeTab=e.tabCode,this.$emit("setSelectTab",e)},getLeftMenu:function(){var e=this,t={project:e.repProjectName,router:e.pathName,requestProject:e.repProjectName};Object(n.a)("/haoban-manage-web/menu-detail",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result?void 0:void e.$message.error({duration:1e3,message:"暂无数据"});e.$message.error({duration:1e3,message:a.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{$route:{handler:function(e,t){},deep:!0},activeSelTab:function(e,t){this.activeTab=e}},mounted:function(){this.activeTab=this.activeSelTab}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"api-body-left border-box"},[a("ul",{staticClass:"tab-left-list border-box"},[e._l(e.leftMenuData,function(t,n){return[a("li",{key:n,class:["tab-left-list-cell color-606266 font-14 border-box my-first-level",t.tabCode==e.activeTab?"active-tab":""],on:{click:function(a){e.selectTab(t,!1,n)}}},[a("i",{class:["iconfont tab-icon",t.tabIcon,t.onlyIconActive?"iconActive":""]}),e._v(e._s(t.tabName)+"\n ")]),e._v(" "),t.collapsFlag?a("ul",{key:"childitem"+n,staticClass:"child-tab-left-list"},[e._l(t.children,function(t,i){return[a("li",{key:i,class:["tab-left-list-cell color-606266 font-14 border-box",t.tabCode==e.activeTab?"active-tab":""],on:{click:function(a){e.selectTab(t,"child",n)}}},[e._v(e._s(t.tabName))])]})],2):e._e()]})],2)])},staticRenderFns:[]};var b={name:"index",data:function(){return{projectName:"haoban-manage-web",windowH:window.screen.height-104-56-40+"px",collapseFlag:!1,activeSelTab:""}},methods:{changeRoute:function(e){this.$router.push(e)},toRouterView:function(e){this.$router.push({path:e.path})},showTab:function(e){this.activeSelTab=e},setSelectTab:function(e){var t=e.tabCode;e.hasOwnProperty("children")&&e.children.length&&(t=e.children[0].tabCode,e.children[0].hasOwnProperty("children")&&e.children[0].hasOwnProperty("children").length&&(t=e.children[0].children[0].tabCode)),this.$router.push({path:e.tabUrl,query:{tabCode:t}})},getDataOverview:function(){}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-204+"px"},components:{vueApiHeader:c,vueApiAside:a("VU/8")(l,d,!1,function(e){a("3OG2")},"data-v-ab24bd8c",null).exports}},h={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"index"}},[t("vue-api-header"),this._v(" "),t("div",{staticClass:"api-body border-box",style:{height:this.windowH}},[t("div",{staticClass:"api-body-wrap flex border-box"},[t("vue-api-aside",{attrs:{activeSelTab:this.activeSelTab},on:{setSelectTab:this.setSelectTab}}),this._v(" "),t("div",{staticClass:"api-body-right border-box"},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view",{on:{showTab:this.showTab}})],1)],1)],1)])],1)},staticRenderFns:[]};var u=a("VU/8")(b,h,!1,function(e){a("5TZM")},null,null);t.default=u.exports},s2mx:function(e,t){}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment