Commit d7176578 by Kyle_Li

Merge branch 'feature/202011' of http://git.gicdev.com/office/haoban-4 into feature/202011

parents ec0fa03a b3bf9cdf
.p-l-35[data-v-305a6238]{padding-left:35px}.w-100[data-v-305a6238]{width:100px}
\ No newline at end of file
#month-target{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-bottom:30px;width:962px;color:#303133}#month-target .target-box{width:160px}#month-target .target-box header{height:44px;line-height:44px;text-indent:22px;background-color:#ebecf0}#month-target .target-box .content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:62px;border-bottom:1px solid #dcdfe6}#month-target .target-box .red .el-input__inner{border-color:#f5222d}#month-target .el-input-number{width:120px}#month-target .el-input-number:before{content:"\FFE5";position:absolute;top:0;left:11px;z-index:3;font-size:14px;color:#303133}#month-target .el-input-number .el-input__inner{text-align:left;padding-left:30px}
\ No newline at end of file
.task-set-content[data-v-6ebce546]{-webkit-box-sizing:border-box;box-sizing:border-box}.task-set-content .w-105[data-v-6ebce546]{width:105px}.task-set-content .w-120[data-v-6ebce546]{width:120px}.task-set-content .w-161[data-v-6ebce546]{width:161px}.task-set-content .m-b-15[data-v-6ebce546]{margin-bottom:15px}.task-set-content .p-l-8[data-v-6ebce546]{padding-left:8px}.task-set-content .p-l-18[data-v-6ebce546]{padding-left:18px}.task-set-content .p-l-24[data-v-6ebce546]{padding-left:24px}.task-set-content .p-l-175[data-v-6ebce546]{padding-left:175px}.task-set-content .color-1890ff[data-v-6ebce546]{color:#2f54eb}.task-set-content .color-f5222d[data-v-6ebce546]{color:#f5222d}.task-set-content .colorFirst[data-v-6ebce546]{color:#303133;font-weight:600}
\ No newline at end of file
.depart-item-content[data-v-034d8aee]{width:213px;height:32px;overflow:hidden;white-space:nowrap;border-radius:2px;border:1px solid #c4c6cf;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box}.select-tree-wrap[data-v-034d8aee]{max-height:300px;overflow-y:auto}.item-cell-select[data-v-034d8aee] .el-select__tags{white-space:nowrap;overflow:hidden}.item-cell-select .el-select .el-tag[data-v-034d8aee]{border-radius:2px;border:1px solid #dcdfe6;background-color:#fff}.item-cell-select .el-select .el-tag .el-tag__close[data-v-034d8aee]{top:1px;color:#909399}.item-cell-select .el-select .el-tag .el-tag__close[data-v-034d8aee]:hover{background-color:transparent}.depart-item-content[data-v-429cb84c]{width:213px;height:32px;overflow:hidden;white-space:nowrap;border-radius:2px;border:1px solid #c4c6cf;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box}.select-tree-wrap[data-v-429cb84c]{max-height:300px;overflow-y:auto}.item-cell-select[data-v-429cb84c] .el-select__tags{white-space:nowrap;overflow:hidden}.item-cell-select .el-select .el-tag[data-v-429cb84c]{border-radius:2px;border:1px solid #dcdfe6;background-color:#fff}.item-cell-select .el-select .el-tag .el-tag__close[data-v-429cb84c]{top:1px;color:#909399}.item-cell-select .el-select .el-tag .el-tag__close[data-v-429cb84c]:hover{background-color:transparent}.w-350[data-v-429cb84c]{width:350px}.show-select-num[data-v-429cb84c]{position:relative;display:inline-block;font-size:inherit;height:32px;line-height:32px;padding-left:10px;-webkit-appearance:none;background-color:#fff;background-image:none;border-radius:4px;border:1px solid #dcdfe6;-webkit-box-sizing:border-box;box-sizing:border-box;color:#606266}.show-select-num .el-select__caret[data-v-429cb84c]{color:#c0c4cc;font-size:14px;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;-webkit-transform:rotate(180deg);transform:rotate(180deg);cursor:pointer}.show-select-num .el-select__caret.is-reverse[data-v-429cb84c]{-webkit-transform:rotate(0deg);transform:rotate(0deg)}.daily-store-select[data-v-429cb84c]{position:relative}
\ No newline at end of file
#month-target{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-bottom:30px;width:962px;color:#303133}#month-target .target-box{width:160px}#month-target .target-box header{height:44px;line-height:44px;text-indent:22px;background-color:#ebecf0}#month-target .target-box .content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:62px;border-bottom:1px solid #dcdfe6}#month-target .target-box .red .el-input__inner{border-color:#f5222d}#month-target .el-input-number{width:120px}#month-target .el-input-number:before{content:"\FFE5";position:absolute;top:0;left:11px;z-index:3;font-size:14px;color:#303133}#month-target .el-input-number .el-input__inner{text-align:left;padding-left:30px}.el-alert[data-v-28dcf434]{width:590px;margin-bottom:20px;font-size:13px}.color2[data-v-28dcf434]{color:#606266;font-size:12px}
\ No newline at end of file
.bind-store-body[data-v-648aa066]{width:331px;padding:10px;margin:20px 0 0 0;border:1px solid #e4e7ed}.bind-store-body .w-215[data-v-648aa066]{width:215px}.bind-store-body .w-115[data-v-648aa066]{width:115px}.bind-store-body .select-tree-wrap[data-v-648aa066]{height:323px;overflow-y:auto}.bind-store-body .select-tree-wrap .el-tree[data-v-648aa066]{width:309px;height:323px;overflow-x:auto}.bind-store-body .select-tree-wrap .el-tree .custom-tree-node[data-v-648aa066]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:14px;padding-right:8px}.daily-store-select[data-v-03559aa5]{position:relative;width:331px;min-height:398px;margin:20px 0 0 0;padding:10px;border:1px solid #e4e7ed}.daily-store-select .define-search-select .el-select-dropdown__wrap[data-v-03559aa5]{max-height:343px}.daily-store-select .define-search-select .el-checkbox-group[data-v-03559aa5]{overflow-x:auto;height:338px}.daily-store-select .define-search-select .el-checkbox-group ul[data-v-03559aa5]{height:100%}.daily-store-select .define-search-select .el-checkbox-group ul li[data-v-03559aa5]{overflow:unset;text-overflow:unset}.select-tree-wrap[data-v-97f5b3c2]{height:445px;overflow-y:auto;border:1px solid #e4e7ed}
\ No newline at end of file
.bind-store-body[data-v-648aa066]{width:331px;padding:10px;margin:20px 0 0 0;border:1px solid #e4e7ed}.bind-store-body .w-215[data-v-648aa066]{width:215px}.bind-store-body .w-115[data-v-648aa066]{width:115px}.bind-store-body .select-tree-wrap[data-v-648aa066]{height:323px;overflow-y:auto}.bind-store-body .select-tree-wrap .el-tree[data-v-648aa066]{width:309px;height:323px;overflow-x:auto}.bind-store-body .select-tree-wrap .el-tree .custom-tree-node[data-v-648aa066]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:14px;padding-right:8px}.daily-store-select[data-v-03559aa5]{position:relative;width:331px;min-height:398px;margin:20px 0 0 0;padding:10px;border:1px solid #e4e7ed}.daily-store-select .define-search-select .el-select-dropdown__wrap[data-v-03559aa5]{max-height:343px}.daily-store-select .define-search-select .el-checkbox-group[data-v-03559aa5]{overflow-x:auto;height:338px}.daily-store-select .define-search-select .el-checkbox-group ul[data-v-03559aa5]{height:100%}.daily-store-select .define-search-select .el-checkbox-group ul li[data-v-03559aa5]{overflow:unset;text-overflow:unset}
\ No newline at end of file
.font-22[data-v-11d82b6d]{font-size:22px}.common-bottom-border[data-v-11d82b6d]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.common-bottom-border.table-title[data-v-11d82b6d]{font-size:14px;line-height:20px;font-weight:600;color:#303133}.list-content[data-v-11d82b6d]{padding:5px 20px 20px}
\ No newline at end of file
.color1[data-v-1035c2ba]{font-size:16px;padding-right:15px;font-weight:600}.content-data[data-v-1035c2ba]{position:relative}.content-data .color2[data-v-1035c2ba]{position:relative;font-size:14px;font-weight:400}.content-data .color2[data-v-1035c2ba]:not(:first-of-type){padding-left:16px}.content-data .color2[data-v-1035c2ba]:not(:first-of-type):before{content:"|";position:absolute;left:0;color:#dcdfe6}.target-title[data-v-1035c2ba]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:1145px;margin:20px}.target-title span[data-v-1035c2ba]{font-weight:600}.target-table[data-v-1035c2ba]{width:1145px;margin:0 20px 50px}.table-title[data-v-1035c2ba]{display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#ebecf0}.table-title li[data-v-1035c2ba]{width:163px;height:48px;line-height:48px;text-indent:35px;font-weight:500}.table-title li[data-v-1035c2ba]:not(:last-of-type){border-right:1px solid #dcdfe6}.table-content[data-v-1035c2ba]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.table-content li[data-v-1035c2ba]{width:163px;height:70px;padding:5px 0 8px 10px;border-bottom:1px solid #dcdfe6}.table-content li[data-v-1035c2ba]:not(:nth-of-type(7n)){border-right:1px solid #dcdfe6}.el-input-number[data-v-1035c2ba] .el-input__inner{text-align:left;border:none;background-color:#f5f7fa}.el-form-item[data-v-1035c2ba]{margin-bottom:10px}[data-v-1035c2ba] .el-alert--danger{width:456px;margin-bottom:20px;background:#fffbe6;border-radius:2px;border:1px solid #ffe58f}[data-v-1035c2ba] .el-alert--danger .el-alert__icon{color:#faad14}
\ No newline at end of file
.input-line-cell[data-v-6a34064a]{position:relative;display:inline-block}.input-line-cell.limit-color .input-cell-tip[data-v-6a34064a]{color:hsla(0,0%,100%,.7)}.input-line-cell .input-cell-tip[data-v-6a34064a]{position:absolute;top:2px;right:10px;display:inline-block;line-height:32px;text-align:right;font-size:12px;color:#c0c4cc}.w-340[data-v-6a34064a]{width:340px}.w-340[data-v-6a34064a] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.el-input[data-v-6a34064a] .el-input__inner{font-size:14px;color:#606266;background-color:hsla(0,0%,100%,.1)}.el-input.is-disabled[data-v-6a34064a]{opacity:.5}.el-input .is-disabled[data-v-6a34064a] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.tag-classify-drop .el-dropdown-menu__item[data-v-b2f0a83e]{padding:0 30px}.tag-classify-body .tag-classify-item[data-v-b2f0a83e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 10px 0 20px;font-size:14px;font-weight:400;line-height:32px;margin-bottom:10px;color:#606266;cursor:pointer}.tag-classify-body .tag-classify-item.active[data-v-b2f0a83e],.tag-classify-body .tag-classify-item[data-v-b2f0a83e]:hover{color:#2f54ed;background-color:rgba(47,84,235,.05)}.tag-classify-body .tag-classify-item:hover .edit-icon[data-v-b2f0a83e]{opacity:1;color:#909399;background-color:none}.tag-classify-body .tag-classify-item .edit-icon[data-v-b2f0a83e]{padding:4px;opacity:0;font-size:16px}.tag-classify-body .tag-classify-item .edit-icon[data-v-b2f0a83e]:hover{opacity:1;color:#2f54ed;background-color:rgba(47,84,235,.09)}.tag-classify-body .tag-classify-item .tag-classify-name[data-v-b2f0a83e]{display:block;width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag-classify-body .no-data[data-v-b2f0a83e]{padding:10px 0 40px 0;text-align:center;color:#909399}.m-t-5[data-v-325e5a4e]{margin-top:5px}.el-form .el-input[data-v-325e5a4e],.el-form .el-select[data-v-325e5a4e]{width:440px}.el-form .input-tag-div[data-v-325e5a4e]{position:relative}.el-form .input-tag-div .input-cell-tip[data-v-325e5a4e]{position:absolute;top:2px;right:20px;display:inline-block;line-height:30px;text-align:right;font-size:12px;color:#c0c4cc;font-weight:400}.w-117[data-v-32ba9489]{width:117px}.font-22[data-v-32ba9489]{font-size:22px}.move-row-cell .icontuozhuaiopen[data-v-32ba9489]{display:none;line-height:20px}.move-row-cell:hover .show-icon[data-v-32ba9489]{display:inline-block;vertical-align:middle}.clerk-tag-body .clerk-tag-left[data-v-32ba9489]{position:relative;width:200px;min-width:200px;max-width:200px;padding:30px 0 0 0}.clerk-tag-body .clerk-tag-left .clerk-tag-add .el-button[data-v-32ba9489]{border-style:dashed}.clerk-tag-body .clerk-tag-right[data-v-32ba9489]{position:relative;min-width:calc(100% - 200px);min-height:calc(100vh - 94px);border-left:1px solid #e4e7ed}
\ No newline at end of file
.input-line-cell[data-v-6a34064a]{position:relative;display:inline-block}.input-line-cell.limit-color .input-cell-tip[data-v-6a34064a]{color:hsla(0,0%,100%,.7)}.input-line-cell .input-cell-tip[data-v-6a34064a]{position:absolute;top:2px;right:10px;display:inline-block;line-height:32px;text-align:right;font-size:12px;color:#c0c4cc}.w-340[data-v-6a34064a]{width:340px}.w-340[data-v-6a34064a] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.el-input[data-v-6a34064a] .el-input__inner{font-size:14px;color:#606266;background-color:hsla(0,0%,100%,.1)}.el-input.is-disabled[data-v-6a34064a]{opacity:.5}.el-input .is-disabled[data-v-6a34064a] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.tag-classify-drop .el-dropdown-menu__item[data-v-b2f0a83e]{padding:0 30px}.tag-classify-body .tag-classify-item[data-v-b2f0a83e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 10px 0 20px;font-size:14px;font-weight:400;line-height:32px;margin-bottom:10px;color:#606266;cursor:pointer}.tag-classify-body .tag-classify-item.active[data-v-b2f0a83e],.tag-classify-body .tag-classify-item[data-v-b2f0a83e]:hover{color:#2f54ed;background-color:rgba(47,84,235,.05)}.tag-classify-body .tag-classify-item:hover .edit-icon[data-v-b2f0a83e]{opacity:1;color:#909399;background-color:none}.tag-classify-body .tag-classify-item .edit-icon[data-v-b2f0a83e]{padding:4px;opacity:0;font-size:16px}.tag-classify-body .tag-classify-item .edit-icon[data-v-b2f0a83e]:hover{opacity:1;color:#2f54ed;background-color:rgba(47,84,235,.09)}.tag-classify-body .tag-classify-item .tag-classify-name[data-v-b2f0a83e]{display:block;width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag-classify-body .no-data[data-v-b2f0a83e]{padding:10px 0 40px 0;text-align:center;color:#909399}.m-t-5[data-v-325e5a4e]{margin-top:5px}.el-form .el-input[data-v-325e5a4e],.el-form .el-select[data-v-325e5a4e]{width:440px}.el-form .input-tag-div[data-v-325e5a4e]{position:relative}.el-form .input-tag-div .input-cell-tip[data-v-325e5a4e]{position:absolute;top:2px;right:20px;display:inline-block;line-height:30px;text-align:right;font-size:12px;color:#c0c4cc;font-weight:400}.select-tree-wrap[data-v-97f5b3c2]{height:445px;overflow-y:auto;border:1px solid #e4e7ed}.w-117[data-v-32ba9489]{width:117px}.font-22[data-v-32ba9489]{font-size:22px}.move-row-cell .icontuozhuaiopen[data-v-32ba9489]{display:none;line-height:20px}.move-row-cell:hover .show-icon[data-v-32ba9489]{display:inline-block;vertical-align:middle}.clerk-tag-body .clerk-tag-left[data-v-32ba9489]{position:relative;width:200px;min-width:200px;max-width:200px;padding:30px 0 0 0}.clerk-tag-body .clerk-tag-left .clerk-tag-add .el-button[data-v-32ba9489]{border-style:dashed}.clerk-tag-body .clerk-tag-right[data-v-32ba9489]{position:relative;min-width:calc(100% - 200px);min-height:calc(100vh - 94px);border-left:1px solid #e4e7ed}
\ No newline at end of file
.nav-wrap[data-v-1205f312]{height:48px;line-height:48px;padding:0 20px;-webkit-box-sizing:border-box;box-sizing:border-box}.nav-wrap .el-breadcrumb[data-v-1205f312]{line-height:48px}.el-breadcrumb__inner.is-link[data-v-1205f312]:hover,.el-breadcrumb__inner a[data-v-1205f312]:hover{color:#2f54eb}.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-1205f312],.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-1205f312]:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-1205f312],.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-1205f312]:hover{font-weight:700;text-decoration:none;cursor:pointer;color:#303133}.tab-left-list .tab-left-list-cell[data-v-61fa9846]{position:relative;text-align:left;height:40px;line-height:40px;white-space:nowrap;overflow:hidden;cursor:pointer}.tab-left-list .tab-left-list-cell .iconActive[data-v-61fa9846]{color:#2f54eb}.tab-left-list .tab-left-list-cell[data-v-61fa9846]:hover{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .tab-left-list-cell:hover i[data-v-61fa9846]{color:#2f54eb}.tab-left-list .tab-left-list-cell.active-tab[data-v-61fa9846]{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .tab-left-list-cell.active-tab i[data-v-61fa9846]{color:#2f54eb}.tab-left-list .child-tab-left-list[data-v-61fa9846]{-webkit-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.tab-left-list .child-tab-left-list li[data-v-61fa9846]{position:relative;text-align:left;height:40px;line-height:40px;white-space:nowrap;overflow:hidden;cursor:pointer}.tab-left-list .child-tab-left-list li[data-v-61fa9846]:hover{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .child-tab-left-list li:hover i[data-v-61fa9846]{color:#2f54eb}.tab-left-list .child-tab-left-list li.active-tab[data-v-61fa9846]{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .child-tab-left-list li.active-tab i[data-v-61fa9846]{color:#2f54eb}.line-h-18[data-v-46f3eec2]{line-height:18px}.my-customer-wrap[data-v-46f3eec2]{height:100%}.my-customer-wrap .move-row-cell .icontuozhuaiopen[data-v-46f3eec2]{display:none}.my-customer-wrap .move-row-cell.show-icon .icontuozhuaiopen[data-v-46f3eec2],.my-customer-wrap .move-row-cell:hover .icontuozhuaiopen[data-v-46f3eec2]{display:inline-block;vertical-align:middle}.right-content[data-v-46f3eec2]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-46f3eec2]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-left[data-v-46f3eec2]{min-width:205px;height:100%;background:#fff;overflow-x:hidden;overflow-y:auto}.right-content .right-box .apps-content .apps-content-right[data-v-46f3eec2]{width:calc(100% - 205px);padding-left:10px;background:#f0f2f5}.right-content .right-box .apps-content .apps-content-right .common-app-right[data-v-46f3eec2]{height:100%;padding:20px;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-app-right.no-padding[data-v-46f3eec2]{padding:0}.right-content .right-box .apps-content .apps-content-right .common-app-right .font-22[data-v-46f3eec2]{font-size:22px}
\ No newline at end of file
.nav-wrap[data-v-1205f312]{height:48px;line-height:48px;padding:0 20px;-webkit-box-sizing:border-box;box-sizing:border-box}.nav-wrap .el-breadcrumb[data-v-1205f312]{line-height:48px}.el-breadcrumb__inner.is-link[data-v-1205f312]:hover,.el-breadcrumb__inner a[data-v-1205f312]:hover{color:#2f54eb}.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-1205f312],.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-1205f312]:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-1205f312],.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-1205f312]:hover{font-weight:700;text-decoration:none;cursor:pointer;color:#303133}.tab-left-list .tab-left-list-cell[data-v-61fa9846]{position:relative;text-align:left;height:40px;line-height:40px;white-space:nowrap;overflow:hidden;cursor:pointer}.tab-left-list .tab-left-list-cell .iconActive[data-v-61fa9846]{color:#2f54eb}.tab-left-list .tab-left-list-cell[data-v-61fa9846]:hover{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .tab-left-list-cell:hover i[data-v-61fa9846]{color:#2f54eb}.tab-left-list .tab-left-list-cell.active-tab[data-v-61fa9846]{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .tab-left-list-cell.active-tab i[data-v-61fa9846]{color:#2f54eb}.tab-left-list .child-tab-left-list[data-v-61fa9846]{-webkit-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.tab-left-list .child-tab-left-list li[data-v-61fa9846]{position:relative;text-align:left;height:40px;line-height:40px;white-space:nowrap;overflow:hidden;cursor:pointer}.tab-left-list .child-tab-left-list li[data-v-61fa9846]:hover{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .child-tab-left-list li:hover i[data-v-61fa9846]{color:#2f54eb}.tab-left-list .child-tab-left-list li.active-tab[data-v-61fa9846]{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .child-tab-left-list li.active-tab i[data-v-61fa9846]{color:#2f54eb}.line-h-18[data-v-6671bc28]{line-height:18px}.my-customer-wrap[data-v-6671bc28]{height:100%}.my-customer-wrap .move-row-cell .icontuozhuaiopen[data-v-6671bc28]{display:none}.my-customer-wrap .move-row-cell.show-icon .icontuozhuaiopen[data-v-6671bc28],.my-customer-wrap .move-row-cell:hover .icontuozhuaiopen[data-v-6671bc28]{display:inline-block;vertical-align:middle}.right-content[data-v-6671bc28]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-6671bc28]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-left[data-v-6671bc28]{min-width:205px;height:100%;background:#fff;overflow-x:hidden;overflow-y:auto}.right-content .right-box .apps-content .apps-content-right[data-v-6671bc28]{width:calc(100% - 205px);padding-left:10px;background:#f0f2f5}.right-content .right-box .apps-content .apps-content-right .common-app-right[data-v-6671bc28]{height:100%;padding:20px;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-app-right.no-padding[data-v-6671bc28]{padding:0}.right-content .right-box .apps-content .apps-content-right .common-app-right .font-22[data-v-6671bc28]{font-size:22px}
\ No newline at end of file
.font-22[data-v-2d2524c3]{font-size:22px}.common-bottom-border[data-v-2d2524c3]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.common-bottom-border.table-title[data-v-2d2524c3]{font-size:14px;line-height:20px;font-weight:600;color:#303133}
\ No newline at end of file
.line-18[data-v-4f7b3fd8]{line-height:18px}.w-165[data-v-4f7b3fd8]{width:165px}.dialog-footer[data-v-4f7b3fd8]{margin-top:-20px}.el-table .cell.el-tooltip div[data-v-4f7b3fd8]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.select-tree-wrap[data-v-97f5b3c2]{height:445px;overflow-y:auto;border:1px solid #e4e7ed}.font-22[data-v-7585931c]{font-size:22px}.common-bottom-border[data-v-7585931c]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.w-162[data-v-7585931c]{width:162px}.move-row-cell .icontuozhuaiopen[data-v-7585931c]{display:none}.move-row-cell:hover .show-icon[data-v-7585931c]{display:inline-block;vertical-align:middle}.crowd-scene-table .line-18[data-v-7585931c]{line-height:18px}
\ No newline at end of file
.w-440[data-v-ec183a12]{width:440px}.m-b-20[data-v-ec183a12]{margin-bottom:20px}.p-l-18[data-v-ec183a12]{padding-left:18px}.material-content[data-v-ec183a12]{position:relative}.material-content .material-body .el-textarea[data-v-ec183a12] .el-textarea__inner{height:68px}.el-textarea[data-v-ec183a12] .el-textarea__inner{height:68px;resize:none}.input-cell-tip[data-v-ec183a12]{position:absolute;top:2px;right:30px;display:inline-block;line-height:32px;text-align:right;font-size:12px;color:#c0c4cc;font-weight:400}.input-cell-tip.top-40[data-v-ec183a12]{top:40px}.color-c0c4cc[data-v-0982062f]{display:inline-block;line-height:34px;padding-left:10px;color:#c0c4cc}.color-49c958[data-v-0982062f]{color:#49c958}.color-f83431[data-v-0982062f]{color:#f83431}.line-h-32[data-v-0982062f]{line-height:32px}.condition-tips[data-v-0982062f]{display:inline-block;vertical-align:middle;line-height:32px}.w-127[data-v-0982062f]{width:127px}.w-399[data-v-0982062f]{width:399px}.p-l-5[data-v-0982062f]{padding-left:5px}.p-l-15[data-v-0982062f]{padding-left:15px}.p-l-130[data-v-0982062f]{padding-left:130px}.p-l-137[data-v-0982062f]{padding-left:137px}.m-l-20[data-v-0982062f]{margin-left:20px}.m-l-37[data-v-0982062f]{margin-left:37px}.m-l-137[data-v-0982062f]{margin-left:137px}.m-b-20[data-v-0982062f]{margin-bottom:20px}.m-t-30[data-v-0982062f]{margin-top:30px}.secret-cell[data-v-0982062f]{position:relative}.secret-cell .secret-cell-title[data-v-0982062f]{height:32px;line-height:32px}.secret-cell .common-bottom-border[data-v-0982062f]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.secret-cell .self-app-info[data-v-0982062f]{width:595px;margin-left:12px}.secret-cell .self-app-info .self-app-item[data-v-0982062f]{height:32px;line-height:32px}.secret-cell .self-app-info .self-app-item[data-v-0982062f]:nth-child(2){margin-top:14px}.secret-cell .self-app-info .self-app-item.secret-name[data-v-0982062f]{border-bottom:1px solid #e4e7ed}.secret-cell .self-app-info .self-app-item .app-item-title[data-v-0982062f]{display:inline-block;width:100px;text-align:right;margin-right:10px}.secret-cell .self-app-info .self-app-item .secret-name-span[data-v-0982062f]{display:inline-block;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.secret-cell .add-self-app[data-v-0982062f]{width:98px;height:32px;line-height:32px;margin-left:20px;text-align:center;border:1px solid #c0c4cc}.secret-cell .add-self-app[data-v-0982062f]:hover{border-color:#2f54eb}.secret-cell .add-self-app:hover span[data-v-0982062f]{color:#2f54eb}.add-cell[data-v-0982062f]{height:43px;line-height:43px;border-bottom:1px solid #dcdfe6}.add-cell:hover .add-cell-txt[data-v-0982062f]{color:#597ef7}.daily-set-wrap[data-v-0982062f]{height:100%}.daily-set-wrap .company-set-content[data-v-0982062f]{padding:20px}.daily-set-wrap .company-set-content .table-condition-left[data-v-0982062f]{font-size:0}.daily-set-wrap .el-form .el-form-item[data-v-0982062f]{margin-bottom:4px}.daily-set-wrap .el-form[data-v-0982062f] .el-form-item__label{color:#606266}.daily-set-wrap .depart-item-content[data-v-0982062f]{width:213px;height:32px;overflow:hidden;white-space:nowrap;border-radius:4px;border:1px solid #dcdfe6;cursor:pointer}.daily-set-wrap .item-cell-select[data-v-0982062f] .el-select__tags{white-space:nowrap;overflow:hidden}.daily-set-wrap .depart-cell[data-v-0982062f]{position:relative;margin:0 24px 24px 0}.daily-set-wrap .depart-cell .el-icon-circle-close[data-v-0982062f]{position:absolute;top:-10px;right:-10px;font-size:16px;color:#808995;cursor:pointer}
\ No newline at end of file
.w-440[data-v-65e46fd4]{width:440px}.m-b-20[data-v-65e46fd4]{margin-bottom:20px}.p-l-18[data-v-65e46fd4]{padding-left:18px}.material-content[data-v-65e46fd4]{position:relative}.material-content .material-body .el-textarea[data-v-65e46fd4] .el-textarea__inner{height:68px}.el-textarea[data-v-65e46fd4] .el-textarea__inner{height:68px;resize:none}.input-cell-tip[data-v-65e46fd4]{position:absolute;top:2px;right:30px;display:inline-block;line-height:32px;text-align:right;font-size:12px;color:#c0c4cc;font-weight:400}.input-cell-tip.top-40[data-v-65e46fd4]{top:40px}.color-c0c4cc[data-v-0982062f]{display:inline-block;line-height:34px;padding-left:10px;color:#c0c4cc}.color-49c958[data-v-0982062f]{color:#49c958}.color-f83431[data-v-0982062f]{color:#f83431}.line-h-32[data-v-0982062f]{line-height:32px}.condition-tips[data-v-0982062f]{display:inline-block;vertical-align:middle;line-height:32px}.w-127[data-v-0982062f]{width:127px}.w-399[data-v-0982062f]{width:399px}.p-l-5[data-v-0982062f]{padding-left:5px}.p-l-15[data-v-0982062f]{padding-left:15px}.p-l-130[data-v-0982062f]{padding-left:130px}.p-l-137[data-v-0982062f]{padding-left:137px}.m-l-20[data-v-0982062f]{margin-left:20px}.m-l-37[data-v-0982062f]{margin-left:37px}.m-l-137[data-v-0982062f]{margin-left:137px}.m-b-20[data-v-0982062f]{margin-bottom:20px}.m-t-30[data-v-0982062f]{margin-top:30px}.secret-cell[data-v-0982062f]{position:relative}.secret-cell .secret-cell-title[data-v-0982062f]{height:32px;line-height:32px}.secret-cell .common-bottom-border[data-v-0982062f]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.secret-cell .self-app-info[data-v-0982062f]{width:595px;margin-left:12px}.secret-cell .self-app-info .self-app-item[data-v-0982062f]{height:32px;line-height:32px}.secret-cell .self-app-info .self-app-item[data-v-0982062f]:nth-child(2){margin-top:14px}.secret-cell .self-app-info .self-app-item.secret-name[data-v-0982062f]{border-bottom:1px solid #e4e7ed}.secret-cell .self-app-info .self-app-item .app-item-title[data-v-0982062f]{display:inline-block;width:100px;text-align:right;margin-right:10px}.secret-cell .self-app-info .self-app-item .secret-name-span[data-v-0982062f]{display:inline-block;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.secret-cell .add-self-app[data-v-0982062f]{width:98px;height:32px;line-height:32px;margin-left:20px;text-align:center;border:1px solid #c0c4cc}.secret-cell .add-self-app[data-v-0982062f]:hover{border-color:#2f54eb}.secret-cell .add-self-app:hover span[data-v-0982062f]{color:#2f54eb}.add-cell[data-v-0982062f]{height:43px;line-height:43px;border-bottom:1px solid #dcdfe6}.add-cell:hover .add-cell-txt[data-v-0982062f]{color:#597ef7}.daily-set-wrap[data-v-0982062f]{height:100%}.daily-set-wrap .company-set-content[data-v-0982062f]{padding:20px}.daily-set-wrap .company-set-content .table-condition-left[data-v-0982062f]{font-size:0}.daily-set-wrap .el-form .el-form-item[data-v-0982062f]{margin-bottom:4px}.daily-set-wrap .el-form[data-v-0982062f] .el-form-item__label{color:#606266}.daily-set-wrap .depart-item-content[data-v-0982062f]{width:213px;height:32px;overflow:hidden;white-space:nowrap;border-radius:4px;border:1px solid #dcdfe6;cursor:pointer}.daily-set-wrap .item-cell-select[data-v-0982062f] .el-select__tags{white-space:nowrap;overflow:hidden}.daily-set-wrap .depart-cell[data-v-0982062f]{position:relative;margin:0 24px 24px 0}.daily-set-wrap .depart-cell .el-icon-circle-close[data-v-0982062f]{position:absolute;top:-10px;right:-10px;font-size:16px;color:#808995;cursor:pointer}
\ No newline at end of file
.line-18[data-v-4f7b3fd8]{line-height:18px}.w-165[data-v-4f7b3fd8]{width:165px}.dialog-footer[data-v-4f7b3fd8]{margin-top:-20px}.el-table .cell.el-tooltip div[data-v-4f7b3fd8]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.font-22[data-v-7585931c]{font-size:22px}.common-bottom-border[data-v-7585931c]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.w-162[data-v-7585931c]{width:162px}.move-row-cell .icontuozhuaiopen[data-v-7585931c]{display:none}.move-row-cell:hover .show-icon[data-v-7585931c]{display:inline-block;vertical-align:middle}.crowd-scene-table .line-18[data-v-7585931c]{line-height:18px}
\ No newline at end of file
.list-content[data-v-a73957a8]{padding:5px 20px 20px}.list-content .el-input[data-v-a73957a8]{width:180px;margin-right:10px}.list-content .el-select[data-v-a73957a8]{width:148px;margin-right:10px}.list-content .el-date-picker[data-v-a73957a8]{margin-right:10px}.content-search[data-v-a73957a8]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:20px}.content-data[data-v-a73957a8],.content-first[data-v-a73957a8],.content-search[data-v-a73957a8]{display:-webkit-box;display:-ms-flexbox;display:flex}.content-data[data-v-a73957a8]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:20px}.color1[data-v-a73957a8]{color:#303133;font-size:16px;padding-right:15px;font-weight:500}.color2[data-v-a73957a8]{position:relative;color:#606266;font-size:14px;font-weight:400}.color2[data-v-a73957a8]:not(:first-of-type){padding-left:16px}.color2[data-v-a73957a8]:not(:first-of-type):before{content:"|";position:absolute;top:0;left:0;color:#dcdfe6}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-080560e6"],{"21f4":function(t,e,a){"use strict";var n=a("71f6"),r={getAuthEnterprise:"/auth-enterprise-list",getGroupList:"/department-list",getTagList:"/",getStoreList:"/store-list",getAuthDetail:"/enterprise-auth-detail",getAuditLog:"/enterprise-auth-audit-list",cancelAudit:{url:"/enterprise-auth-audit",method:"post",useFormData:!0,useIntercept:!1},getCheckName:"/gic-admin-frist",checkName:{url:"/gic-name-validate",method:"post",useFormData:!0,useIntercept:!1},getAuditLogDetail:"/enterprise-auth-audit-range-detail",getEnterprise:"/enterprise-search",getGicAdmin:"/gic-manage-list",postEnterpriseAuth:{url:"/enterprise-auth",method:"post",useFormData:!0,useIntercept:!1},getEnterpriseDetail:"/gic-enterprise-detail"};r=Object(n["a"])(r,"/hb-manage-web"),e["a"]=r},"29b6":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"nav-wrap border-box"},[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t._l(t.navpath,(function(e,n){return[e.path?[a("el-breadcrumb-item",{key:"nav"+n,attrs:{to:{path:e.path}},on:{click:function(a){return t.changeRoute(e.path,e.relocation)}}},[a("span",{staticClass:"el-breadcrumb__inner is-link",on:{click:function(a){return t.changeRoute(e.path,e.relocation)}}},[t._v("\n "+t._s(e.name)+"\n ")])])]:[a("el-breadcrumb-item",{key:"nav"+n},[t._v(t._s(e.name))])]]}))],2)],1)},r=[],o={name:"NavPath",props:{navpath:{type:Array,default:function(){return[]}}},data:function(){return{projectName:"member"}},methods:{changeRoute:function(t,e){var a=this;e?window.location.href=t:a.$router.push(t)}}},s=o,i=(a("6b4b"),a("2877")),l=Object(i["a"])(s,n,r,!1,null,"2c2a2724",null);e["a"]=l.exports},"56b3":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"my-customer-wrap common-set-wrap"},[n("nav-crumb",{attrs:{navpath:t.navpath}}),n("div",{staticClass:"right-content"},[n("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[n("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[n("div",{staticClass:"apps-content-right"},[n("div",{staticClass:"flex flex-space-between"},[n("div",{staticStyle:{width:"643px"}},[n("div",{staticClass:"el-alert el-alert--info flex flex-align-start",staticStyle:{width:"643px"},attrs:{role:"alert"}},[n("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),n("div",{staticClass:"el-alert__content"},[n("span",{staticClass:"el-alert__title color-606266 font-14"},[t._v("提示:授权的商户,需在同一个微信开放平台主体下;最多授权10个商户。 ")]),n("el-button",{attrs:{type:"text"},on:{click:t.openUrl}},[t._v("主体查询方法")])],1)])]),n("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.changeRoute("/newAuthMerchant")}}},[t._v("新建GIC商户授权")])],1),n("div",{staticClass:"m-t-20"},[n("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[n("el-table-column",{attrs:{prop:"",label:"商户列表",width:"238","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"ul-li-cell flex"},[n("div",{staticClass:"cell-img"},[e.row.enterpriseLogo?n("img",{attrs:{src:e.row.enterpriseLogo,alt:"img"}}):n("img",{attrs:{src:a("6ce2a"),alt:"img"}})]),n("div",{staticClass:"cell-info"},[n("div",{staticClass:"cell-info-name flex font-14 color-303133"},[n("span",{staticClass:"gic-name"},[t._v(t._s(e.row.enterpriseName||"--"))]),n("span",{staticClass:"gic-version"},[t._v(t._s(e.row.version||"--"))])]),n("div",{staticClass:"cell-info-name flex font-14 color-303133"},[n("span",{staticClass:"gic-name"},[t._v(t._s(e.row.companyName||"--"))])])])])]}}])}),n("el-table-column",{attrs:{prop:"",label:"绑定门店","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.bindRange||"--")+"\n ")]}}])},[n("template",{slot:"header"},[n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"right"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 绑定门店拥有门店资源管理权限。能查看数据,绑定导购账号,管理门店等\n ")]),n("span",{staticClass:"common-bottom-border"},[t._v("绑定门店")])])],1)],2),n("el-table-column",{attrs:{prop:"",label:"共享门店","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.shareRange||"--")+"\n ")]}}])},[n("template",{slot:"header"},[n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"right"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 共享门店拥有门店资源查看权限。仅能授权查看数据,"),n("br"),t._v("如会员数据,任务数据等,但无法操作及进行导购账号绑定\n ")]),n("span",{staticClass:"common-bottom-border"},[t._v("共享门店")])])],1)],2),n("el-table-column",{attrs:{prop:"",label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.referStaffName||"--"))]}}])}),n("el-table-column",{attrs:{prop:"",label:"授权时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),n("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),n("el-table-column",{attrs:{prop:"",label:"更新时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.updateTime)))]),n("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.updateTime)))])]}}])}),n("el-table-column",{attrs:{prop:"",label:"操作",width:"203"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toEdit(e.$index,e.row)}}},[t._v("编辑授权设置")]),n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toAuditLog(e.$index,e.row)}}},[t._v("审核日志")])]}}])})],1)],1)])])])])],1)},r=[],o=a("29b6"),s=a("21f4"),i=s["a"].getAuthEnterprise,l={name:"AuthMerchant",components:{navCrumb:o["a"]},data:function(){return{navpath:[{name:"通讯录",path:"/contactsList"},{name:"授权商户",path:""}],wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",currentPage:1,pageSize:20,total:0,tableData:[]}},mounted:function(){var t=this;t.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},methods:{toEdit:function(t,e){var a=this;a.changeRoute("/newAuthMerchant?enterpriseId=".concat(e.enterpriseId))},toAuditLog:function(t,e){var a=this;a.changeRoute("/auditLog?enterpriseId=".concat(e.enterpriseId))},openUrl:function(){window.open("https://developers.weixin.qq.com/community/develop/doc/00046610a9cbb0fd80f9a7dd354c09")},changeRoute:function(t){this.$router.push(t)},handleSizeChange:function(t){var e=this;e.currentPage=1,e.pageSize=t,e.getTableList()},handleCurrentChange:function(t){var e=this;e.currentPage=t,e.getTableList()},getTableList:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};i(e).then((function(e){t.tableData=e.result||[]})).catch((function(t){}))}}},c=l,u=(a("62f6"),a("2877")),p=Object(u["a"])(c,n,r,!1,null,"1c17dfdc",null);e["default"]=p.exports},"62f6":function(t,e,a){"use strict";var n=a("e10f"),r=a.n(n);r.a},"6b4b":function(t,e,a){"use strict";var n=a("76d4"),r=a.n(n);r.a},"6ce2a":function(t,e,a){t.exports=a.p+"img/member.1eda5d6c.png"},"71f6":function(t,e,a){"use strict";a.d(e,"a",(function(){return r}));a("ac6a"),a("456d");var n=a("b775");function r(t,e){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var r=t[a];"string"===typeof r&&(r={url:r}),r.url="".concat(e).concat(r.url),t[a]=function(t,e){return Object(n["a"])(r,t,e)}})),t}},"76d4":function(t,e,a){},e10f:function(t,e,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-080560e6"],{"21f4":function(t,e,a){"use strict";var n=a("71f6"),r={getAuthEnterprise:"/auth-enterprise-list",getGroupList:"/department-list",getStoreList:"/store-list",getAuthDetail:"/enterprise-auth-detail",getAuditLog:"/enterprise-auth-audit-list",cancelAudit:{url:"/enterprise-auth-audit",method:"post",useFormData:!0,useIntercept:!1},getCheckName:"/gic-admin-frist",checkName:{url:"/gic-name-validate",method:"post",useFormData:!0,useIntercept:!1},getAuditLogDetail:"/enterprise-auth-audit-range-detail",getEnterprise:"/enterprise-search",getGicAdmin:"/gic-manage-list",postEnterpriseAuth:{url:"/enterprise-auth",method:"post",useFormData:!0,useIntercept:!1},getEnterpriseDetail:"/gic-enterprise-detail"};r=Object(n["a"])(r,"/hb-manage-web"),e["a"]=r},"29b6":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"nav-wrap border-box"},[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t._l(t.navpath,(function(e,n){return[e.path?[a("el-breadcrumb-item",{key:"nav"+n,attrs:{to:{path:e.path}},on:{click:function(a){return t.changeRoute(e.path,e.relocation)}}},[a("span",{staticClass:"el-breadcrumb__inner is-link",on:{click:function(a){return t.changeRoute(e.path,e.relocation)}}},[t._v("\n "+t._s(e.name)+"\n ")])])]:[a("el-breadcrumb-item",{key:"nav"+n},[t._v(t._s(e.name))])]]}))],2)],1)},r=[],o={name:"NavPath",props:{navpath:{type:Array,default:function(){return[]}}},data:function(){return{projectName:"member"}},methods:{changeRoute:function(t,e){var a=this;e?window.location.href=t:a.$router.push(t)}}},s=o,i=(a("6b4b"),a("2877")),l=Object(i["a"])(s,n,r,!1,null,"2c2a2724",null);e["a"]=l.exports},"56b3":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"my-customer-wrap common-set-wrap"},[n("nav-crumb",{attrs:{navpath:t.navpath}}),n("div",{staticClass:"right-content"},[n("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[n("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[n("div",{staticClass:"apps-content-right"},[n("div",{staticClass:"flex flex-space-between"},[n("div",{staticStyle:{width:"643px"}},[n("div",{staticClass:"el-alert el-alert--info flex flex-align-start",staticStyle:{width:"643px"},attrs:{role:"alert"}},[n("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),n("div",{staticClass:"el-alert__content"},[n("span",{staticClass:"el-alert__title color-606266 font-14"},[t._v("提示:授权的商户,需在同一个微信开放平台主体下;最多授权10个商户。 ")]),n("el-button",{attrs:{type:"text"},on:{click:t.openUrl}},[t._v("主体查询方法")])],1)])]),n("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.changeRoute("/newAuthMerchant")}}},[t._v("新建GIC商户授权")])],1),n("div",{staticClass:"m-t-20"},[n("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[n("el-table-column",{attrs:{prop:"",label:"商户列表",width:"238","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"ul-li-cell flex"},[n("div",{staticClass:"cell-img"},[e.row.enterpriseLogo?n("img",{attrs:{src:e.row.enterpriseLogo,alt:"img"}}):n("img",{attrs:{src:a("6ce2a"),alt:"img"}})]),n("div",{staticClass:"cell-info"},[n("div",{staticClass:"cell-info-name flex font-14 color-303133"},[n("span",{staticClass:"gic-name"},[t._v(t._s(e.row.enterpriseName||"--"))]),n("span",{staticClass:"gic-version"},[t._v(t._s(e.row.version||"--"))])]),n("div",{staticClass:"cell-info-name flex font-14 color-303133"},[n("span",{staticClass:"gic-name"},[t._v(t._s(e.row.companyName||"--"))])])])])]}}])}),n("el-table-column",{attrs:{prop:"",label:"绑定门店","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.bindRange||"--")+"\n ")]}}])},[n("template",{slot:"header"},[n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"right"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 绑定门店拥有门店资源管理权限。能查看数据,绑定导购账号,管理门店等\n ")]),n("span",{staticClass:"common-bottom-border"},[t._v("绑定门店")])])],1)],2),n("el-table-column",{attrs:{prop:"",label:"共享门店","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.shareRange||"--")+"\n ")]}}])},[n("template",{slot:"header"},[n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"right"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 共享门店拥有门店资源查看权限。仅能授权查看数据,"),n("br"),t._v("如会员数据,任务数据等,但无法操作及进行导购账号绑定\n ")]),n("span",{staticClass:"common-bottom-border"},[t._v("共享门店")])])],1)],2),n("el-table-column",{attrs:{prop:"",label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.referStaffName||"--"))]}}])}),n("el-table-column",{attrs:{prop:"",label:"授权时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),n("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),n("el-table-column",{attrs:{prop:"",label:"更新时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.updateTime)))]),n("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.updateTime)))])]}}])}),n("el-table-column",{attrs:{prop:"",label:"操作",width:"203"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toEdit(e.$index,e.row)}}},[t._v("编辑授权设置")]),n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toAuditLog(e.$index,e.row)}}},[t._v("审核日志")])]}}])})],1)],1)])])])])],1)},r=[],o=a("29b6"),s=a("21f4"),i=s["a"].getAuthEnterprise,l={name:"AuthMerchant",components:{navCrumb:o["a"]},data:function(){return{navpath:[{name:"通讯录",path:"/contactsList"},{name:"授权商户",path:""}],wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",currentPage:1,pageSize:20,total:0,tableData:[]}},mounted:function(){var t=this;t.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},methods:{toEdit:function(t,e){var a=this;a.changeRoute("/newAuthMerchant?enterpriseId=".concat(e.enterpriseId))},toAuditLog:function(t,e){var a=this;a.changeRoute("/auditLog?enterpriseId=".concat(e.enterpriseId))},openUrl:function(){window.open("https://developers.weixin.qq.com/community/develop/doc/00046610a9cbb0fd80f9a7dd354c09")},changeRoute:function(t){this.$router.push(t)},handleSizeChange:function(t){var e=this;e.currentPage=1,e.pageSize=t,e.getTableList()},handleCurrentChange:function(t){var e=this;e.currentPage=t,e.getTableList()},getTableList:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};i(e).then((function(e){t.tableData=e.result||[]})).catch((function(t){}))}}},c=l,u=(a("62f6"),a("2877")),p=Object(u["a"])(c,n,r,!1,null,"1c17dfdc",null);e["default"]=p.exports},"62f6":function(t,e,a){"use strict";var n=a("e10f"),r=a.n(n);r.a},"6b4b":function(t,e,a){"use strict";var n=a("76d4"),r=a.n(n);r.a},"6ce2a":function(t,e,a){t.exports=a.p+"img/member.1eda5d6c.png"},"71f6":function(t,e,a){"use strict";a.d(e,"a",(function(){return r}));a("ac6a"),a("456d");var n=a("b775");function r(t,e){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var r=t[a];"string"===typeof r&&(r={url:r}),r.url="".concat(e).concat(r.url),t[a]=function(t,e){return Object(n["a"])(r,t,e)}})),t}},"76d4":function(t,e,a){},e10f:function(t,e,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0b753c9e"],{"0db3":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"common-app-right"},[r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"30px"},nativeOn:{submit:function(e){e.preventDefault()}}},[r("el-form-item",{attrs:{label:"",prop:"days"}},[r("span",{staticClass:"font-14 color-606266"},[e._v("下发时间当月,第 ")]),r("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入",step:1,"step-strictly":!0,min:1,max:28},model:{value:e.ruleForm.days,callback:function(t){e.$set(e.ruleForm,"days",t)},expression:"ruleForm.days"}}),r("span",{staticClass:"font-14 color-606266 p-l-10"},[e._v("号")]),r("span",{staticClass:"font-14 color-909399 p-l-35"},[e._v("注:如当月第28天下发,如果现在是1月份,即1月28号下发2月份指标。设置后次日生效")])],1),r("el-form-item",[r("el-button",{attrs:{type:"primary",loading:e.loadingBtn},on:{click:function(t){return e.submitForm("ruleForm")}}},[e._v("保存")])],1)],1)],1)},a=[],o=r("9f7c"),s=r("d157"),i=o["a"].saveTargetSet,u=o["a"].getTargetSet,c={name:"TargetSet",components:{},props:{brandId:{type:String,default:function(){return""}}},data:function(){return{wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",userInfo:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")):{staffId:"",staffName:""},ruleForm:{days:""},rules:{days:[{required:!0,message:"请输入",trigger:"blur"}]},loadingBtn:!1}},mounted:function(){var e=this;e.brandId&&e.getData()},methods:{submitForm:Object(s["a"])((function(e){var t=this;t.loadingBtn=!0,t.$refs[e].validate((function(e){e?t.postSave():t.loadingBtn=!1}))}),300),postSave:function(){var e=this,t={days:e.ruleForm.days,enterpriseId:e.brandId,wxEnterpriseId:e.wxEnterpriseId,submitStaffId:e.userInfo.staffId,submitStaffName:e.userInfo.staffName};i(t).then((function(t){e.loadingBtn=!1,e.$message.success("保存成功")})).catch((function(t){e.loadingBtn=!1}))},getData:function(){var e=this,t={enterpriseId:e.brandId,wxEnterpriseId:e.wxEnterpriseId};u(t).then((function(t){e.ruleForm.days=t.result.days||""})).catch((function(e){}))}},watch:{brandId:function(e,t){var r=this;e&&r.getData()}}},l=c,f=(r("48d4"),r("2877")),m=Object(f["a"])(l,n,a,!1,null,"305a6238",null);t["default"]=m.exports},2140:function(e,t,r){},"28a5":function(e,t,r){"use strict";var n=r("aae3"),a=r("cb7c"),o=r("ebd6"),s=r("0390"),i=r("9def"),u=r("5f1b"),c=r("520a"),l=r("79e5"),f=Math.min,m=[].push,p="split",d="length",g="lastIndex",h=4294967295,v=!l((function(){RegExp(h,"y")}));r("214f")("split",2,(function(e,t,r,l){var b;return b="c"=="abbc"[p](/(b)*/)[1]||4!="test"[p](/(?:)/,-1)[d]||2!="ab"[p](/(?:ab)*/)[d]||4!="."[p](/(.?)(.?)/)[d]||"."[p](/()()/)[d]>1||""[p](/.?/)[d]?function(e,t){var a=String(this);if(void 0===e&&0===t)return[];if(!n(e))return r.call(a,e,t);var o,s,i,u=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,p=void 0===t?h:t>>>0,v=new RegExp(e.source,l+"g");while(o=c.call(v,a)){if(s=v[g],s>f&&(u.push(a.slice(f,o.index)),o[d]>1&&o.index<a[d]&&m.apply(u,o.slice(1)),i=o[0][d],f=s,u[d]>=p))break;v[g]===o.index&&v[g]++}return f===a[d]?!i&&v.test("")||u.push(""):u.push(a.slice(f)),u[d]>p?u.slice(0,p):u}:"0"[p](void 0,0)[d]?function(e,t){return void 0===e&&0===t?[]:r.call(this,e,t)}:r,[function(r,n){var a=e(this),o=void 0==r?void 0:r[t];return void 0!==o?o.call(r,a,n):b.call(String(a),r,n)},function(e,t){var n=l(b,e,this,t,b!==r);if(n.done)return n.value;var c=a(e),m=String(this),p=o(c,RegExp),d=c.unicode,g=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(v?"y":"g"),F=new p(v?c:"^(?:"+c.source+")",g),S=void 0===t?h:t>>>0;if(0===S)return[];if(0===m.length)return null===u(F,m)?[m]:[];var y=0,I=0,D=[];while(I<m.length){F.lastIndex=v?I:0;var w,x=u(F,v?m:m.slice(I));if(null===x||(w=f(i(F.lastIndex+(v?0:I)),m.length))===y)I=s(m,I,d);else{if(D.push(m.slice(y,I)),D.length===S)return D;for(var E=1;E<=x.length-1;E++)if(D.push(x[E]),D.length===S)return D;I=y=w}}return D.push(m.slice(y)),D}]}))},"48d4":function(e,t,r){"use strict";var n=r("2140"),a=r.n(n);a.a},"71f6":function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));r("ac6a"),r("456d");var n=r("b775");function a(e,t){e=e||{};var r=Object.keys(e);return r.forEach((function(r){var a=e[r];"string"===typeof a&&(a={url:a}),a.url="".concat(t).concat(a.url),e[r]=function(e,t){return Object(n["a"])(a,e,t)}})),e}},"9f7c":function(e,t,r){"use strict";var n=r("71f6"),a={getTargetList:"/performance/total-performance-list",getStorePerformanceDetail:"/performance/list-store-performance",changeStorePerformanceMonth:"/performance/change-store-month-performance",getStorePerformanceDay:"/performance/list-day-performance",changeStorePerformanceDay:{url:"/performance/save-day-performance",method:"post",useFormData:!0},getStorePerformanceClerk:"/performance/list-clerk-performance",changeStorePerformanceClerk:{url:"/performance/save-clerk-performance",method:"post",useFormData:!0},getYearList:"/setting/get-year-list",getStorePerformanceList:"/setting/list-store-performance",getNoStorePerformanceList:"/setting/list-no-store-performance",saveStorePerformance:{url:"/setting/add-store-performance",method:"post",useFormData:!0,useIntercept:!0},editStorePerformance:{url:"/setting/edit-single-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchEditStorePerformance:{url:"/setting/batch-setting-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchSettingRight:"/setting/batch-setting-right",getTargetSet:"/setting/get-performance-setting",saveTargetSet:{url:"/setting/save-performance-setting",method:"post",useFormData:!0}};a=Object(n["a"])(a,"/hb-app-performance-web"),t["a"]=a},d157:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return o}));r("c5f6"),r("a481"),r("28a5"),r("6b54");function n(e,t){var r,n=t||200;return function(){var t=this,a=arguments;r&&clearTimeout(r),r=setTimeout((function(){r=null,e.apply(t,a)}),n)}}function a(e,t){var r,n,a=t||200;return function(){var t=this,o=arguments,s=+new Date;r&&s-r<a?(clearTimeout(n),n=setTimeout((function(){r=s,e.apply(t,o)}),a)):(r=s,e.apply(t,o))}}function o(e){return String(e)&&"null"!=String(e)?(e=String(e).replace(/\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]|[\uD800-\uDBFF]|[\uDC00-\uDFFF]|[^\u0020-\u007E\u00A0-\u00BE\u2E80-\uA4CF\uF900-\uFAFF\uFE30-\uFE4F\uFF00-\uFFEF\u0080-\u009F\u2000-\u201f\u2026\u2022\u20ac\r\n]/g,""),unescape(escape(e).replace(/\%uD.{3}/g,""))):""}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e55aaa40"],{"6f3b":function(e,n,t){"use strict";var a=t("a6e7"),c=t.n(a);c.a},a088:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"menu-tree"},[t("ul",{staticClass:"first-menu"},[0==e.menuList.length?t("li",{staticClass:"no-data"},[e._v("暂无数据")]):e._e(),e._l(e.menuList,(function(n){return t("li",{key:n.menuId,class:["first-menu-item",{active:n.menuId==e.activeMenuId}],on:{click:function(t){return e.onMenuChange(n)}}},[e.isApp?t("el-checkbox",{attrs:{value:e.appIds.some((function(e){return e.appId==n.project&&1==e.openFlag}))},on:{change:function(t){return e.onAppOpenChange(n.project,t)}}}):e._e(),e._v("\n "+e._s(n.menuName)+"\n ")],1)}))],2),t("div",{staticClass:"all-menu"},[t("el-tree",{ref:"menuList",attrs:{data:e.treeData,"show-checkbox":"","default-expand-all":"","node-key":"menuId","expand-on-click-node":!1,"check-on-click-node":!0,props:{label:"menuName"},"default-checked-keys":e.checkedId[e.activeMenuId]},on:{"node-click":e.onNodeClick,check:e.onNodeClick}})],1)])},c=[],i=(t("c5f6"),t("ac6a"),{name:"MenuTree",props:{menuList:Array,checkedId:Object,appIds:Array,isApp:Boolean},data:function(){return{activeMenuId:"",treeData:[]}},methods:{onMenuChange:function(e){this.activeMenuId=e?e.menuId:"",this.treeData=e?[e]:[]},onNodeClick:function(){this.onChange(this.$refs.menuList.getCheckedKeys())},getAllMenuId:function(e){var n=this,t=[];return e.forEach((function(e){t.push(e.menuId),Array.isArray(e.children)&&(t=t.concat(n.getAllMenuId(e.children)))})),t},onChange:function(e){var n={};n[this.activeMenuId]=e,this.$emit("change",Object.assign({},this.checkedId,n))},onAppOpenChange:function(e,n){var t=this.appIds.map((function(t){var a=Object.assign({},t);return a.appId==e&&(a.openFlag=Number(n)),a}));this.$emit("app-open-change",t)}},watch:{checkedId:{deep:!0,handler:function(e){this.$refs.menuList.setCheckedKeys(e[this.activeMenuId]||[])}},menuList:{immediate:!0,handler:function(e){this.onMenuChange(e[0])}}}}),s=i,u=(t("6f3b"),t("2877")),o=Object(u["a"])(s,a,c,!1,null,"e93f0ef4",null);n["default"]=o.exports},a6e7:function(e,n,t){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-102f8002"],{"6f3b":function(e,n,t){"use strict";var a=t("a6e7"),c=t.n(a);c.a},a088:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"menu-tree"},[t("ul",{staticClass:"first-menu"},[0==e.menuList.length?t("li",{staticClass:"no-data"},[e._v("暂无数据")]):e._e(),e._l(e.menuList,(function(n){return t("li",{key:n.menuId,class:["first-menu-item",{active:n.menuId==e.activeMenuId}],on:{click:function(t){return e.onMenuChange(n)}}},[e.isApp?t("el-checkbox",{attrs:{value:e.appIds.some((function(e){return e.appId==n.project&&1==e.openFlag}))},on:{change:function(t){return e.onAppOpenChange(n.project,t)}}}):e._e(),e._v("\n "+e._s(n.menuName)+"\n ")],1)}))],2),t("div",{staticClass:"all-menu"},[t("el-tree",{ref:"menuList",attrs:{data:e.treeData,"show-checkbox":"","default-expand-all":"","node-key":"menuId","expand-on-click-node":!1,"check-on-click-node":!0,props:{label:"menuName"},"default-checked-keys":e.checkedId[e.activeMenuId]},on:{"node-click":e.onNodeClick,check:e.onNodeClick}})],1)])},c=[],i=(t("c5f6"),t("ac6a"),{name:"MenuTree",props:{menuList:Array,checkedId:Object,appIds:Array,isApp:Boolean},data:function(){return{activeMenuId:"",treeData:[]}},methods:{onMenuChange:function(e){this.activeMenuId=e?e.menuId:"",this.treeData=e?[e]:[]},onNodeClick:function(){this.onChange(this.$refs.menuList.getCheckedKeys())},getAllMenuId:function(e){var n=this,t=[];return e.forEach((function(e){t.push(e.menuId),Array.isArray(e.children)&&(t=t.concat(n.getAllMenuId(e.children)))})),t},onChange:function(e){var n={};n[this.activeMenuId]=e,this.$emit("change",Object.assign({},this.checkedId,n))},onAppOpenChange:function(e,n){var t=this.appIds.map((function(t){var a=Object.assign({},t);return a.appId==e&&(a.openFlag=Number(n)),a}));this.$emit("app-open-change",t)}},watch:{checkedId:{deep:!0,handler:function(e){this.$refs.menuList.setCheckedKeys(e[this.activeMenuId]||[])}},menuList:{immediate:!0,handler:function(e){this.onMenuChange(e[0])}}}}),s=i,u=(t("6f3b"),t("2877")),o=Object(u["a"])(s,a,c,!1,null,"e93f0ef4",null);n["default"]=o.exports},a6e7:function(e,n,t){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-21114610"],{"3b01":function(t,e,a){"use strict";var n=a("5c59"),l=a.n(n);l.a},"5c59":function(t,e,a){},"5d04":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"month-target"}},t._l(t.tableData,(function(e){return a("div",{key:e.num,staticClass:"target-box"},[a("header",[t._v(t._s(e.head))]),a("div",{class:{content:!0,red:!t.isAllNot&&((t.isAllRed||t.month<e.num)&&!e.val)}},[a("el-input-number",{attrs:{controls:!1,placeholder:"请输入"},on:{change:function(e){return t.$emit("change",t.tableData)}},model:{value:e.val,callback:function(a){t.$set(e,"val",a)},expression:"item.val"}})],1)])})),0)},l=[],u=(a("c5f6"),{name:"MonthTarget",props:{data:{type:Object,default:function(){return[]}},year:{type:[String,Number],default:"2020"}},data:function(){return{tableData:[{head:"一月",num:"01",val:0},{head:"二月",num:"02",val:0},{head:"三月",num:"03",val:0},{head:"四月",num:"04",val:0},{head:"五月",num:"05",val:0},{head:"六月",num:"06",val:0},{head:"七月",num:"07",val:0},{head:"八月",num:"08",val:0},{head:"九月",num:"09",val:0},{head:"十月",num:"10",val:0},{head:"十一月",num:"11",val:0},{head:"十二月",num:"12",val:0}],thisYear:(new Date).getFullYear(),month:(new Date).getMonth()}},mounted:function(){this.$emit("change",this.tableData)},methods:{validate:function(){var t=this;return this.tableData.some((function(e){return!t.isAllNot&&((t.isAllRed||t.month<e.num)&&!e.val)}))}},computed:{isAllRed:function(){return this.year>this.thisYear},isAllNot:function(){return this.year<this.thisYear}}}),i=u,r=(a("3b01"),a("2877")),s=Object(r["a"])(i,n,l,!1,null,null,null);e["default"]=s.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0af63b"],{"0db3":function(n,t,e){"use strict";e.r(t);var a=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div")},c=[],o={name:"TargetSet",components:{},data:function(){return{}},methods:{},watch:{}},r=o,u=e("2877"),s=Object(u["a"])(r,a,c,!1,null,"22d50f06",null);t["default"]=s.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b3097"],{2751:function(n,t,e){"use strict";e.r(t);var a=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div")},c=[],o={name:"QuotaSet",components:{},data:function(){return{}},methods:{},watch:{}},u=o,r=e("2877"),s=Object(r["a"])(u,a,c,!1,null,"a2c1079a",null);t["default"]=s.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0dad10"],{"6ce2":function(n,u,c){"use strict";c.r(u);var e,l,a=c("2877"),d={},o=Object(a["a"])(d,e,l,!1,null,null,null);u["default"]=o.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21d15a"],{d091:function(n,u,l){"use strict";l.r(u);var a,c,d=l("2877"),e={},o=Object(d["a"])(e,a,c,!1,null,null,null);u["default"]=o.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-44fd9942"],{"08a8":function(e,t,r){},"1bdb":function(e,t,r){"use strict";var a=r("08a8"),n=r.n(a);n.a},"386d":function(e,t,r){"use strict";var a=r("cb7c"),n=r("83a1"),o=r("5f1b");r("214f")("search",1,(function(e,t,r,c){return[function(r){var a=e(this),n=void 0==r?void 0:r[t];return void 0!==n?n.call(r,a):new RegExp(r)[t](String(a))},function(e){var t=c(r,e,this);if(t.done)return t.value;var i=a(e),s=String(this),l=i.lastIndex;n(l,0)||(i.lastIndex=0);var u=o(i,s);return n(i.lastIndex,l)||(i.lastIndex=l),null===u?-1:u.index}]}))},"71f6":function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r("ac6a"),r("456d");var a=r("b775");function n(e,t){e=e||{};var r=Object.keys(e);return r.forEach((function(r){var n=e[r];"string"===typeof n&&(n={url:n}),n.url="".concat(t).concat(n.url),e[r]=function(e,t){return Object(a["a"])(n,e,t)}})),e}},"83a1":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"8e6e":function(e,t,r){var a=r("5ca1"),n=r("990b"),o=r("6821"),c=r("11e9"),i=r("f1ae");a(a.S,"Object",{getOwnPropertyDescriptors:function(e){var t,r,a=o(e),s=c.f,l=n(a),u={},f=0;while(l.length>f)r=s(a,t=l[f++]),void 0!==r&&i(u,t,r);return u}})},"990b":function(e,t,r){var a=r("9093"),n=r("2621"),o=r("cb7c"),c=r("7726").Reflect;e.exports=c&&c.ownKeys||function(e){var t=a.f(o(e)),r=n.f;return r?t.concat(r(e)):t}},"9f7c":function(e,t,r){"use strict";var a=r("71f6"),n={getTargetList:"/performance/total-performance-list",getStorePerformanceDetail:"/performance/list-store-performance",changeStorePerformanceMonth:"/performance/change-store-month-performance",getStorePerformanceDay:"/performance/list-day-performance",changeStorePerformanceDay:{url:"/performance/save-day-performance",method:"post",useFormData:!0},getStorePerformanceClerk:"/performance/list-clerk-performance",changeStorePerformanceClerk:{url:"/performance/save-clerk-performance",method:"post",useFormData:!0},getYearList:"/setting/get-year-list",getStorePerformanceList:"/setting/list-store-performance",getNoStorePerformanceList:"/setting/list-no-store-performance",saveStorePerformance:{url:"/setting/add-store-performance",method:"post",useFormData:!0,useIntercept:!0},editStorePerformance:{url:"/setting/edit-single-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchEditStorePerformance:{url:"/setting/batch-setting-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchSettingRight:"/setting/batch-setting-right",getTargetSet:"/setting/get-performance-setting",saveTargetSet:{url:"/setting/save-performance-setting",method:"post",useFormData:!0}};n=Object(a["a"])(n,"/hb-app-performance-web"),t["a"]=n},ade3:function(e,t,r){"use strict";function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return a}))},f1ae:function(e,t,r){"use strict";var a=r("86cc"),n=r("4630");e.exports=function(e,t,r){t in e?a.f(e,t,n(0,r)):e[t]=r}},fc87:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"common-app-right",staticStyle:{padding:"0"}},[r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]},[r("el-tabs",{on:{"tab-click":e.getData},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[r("el-tab-pane",{attrs:{label:"业绩指标",name:"1"}}),r("el-tab-pane",{attrs:{label:"新增会员指标",name:"2"}})],1),r("div",{staticClass:"list-content"},[r("el-select",{on:{change:e.getData},model:{value:e.search.date,callback:function(t){e.$set(e.search,"date",t)},expression:"search.date"}},e._l(e.yearList,(function(e){return r("el-option",{key:e,attrs:{label:e,value:e}})})),1),r("el-table",{staticStyle:{width:"100%","margin-top":"20px"},attrs:{data:e.tableData}},[r("el-table-column",{attrs:{prop:"performanceYm",label:"月份"}}),r("el-table-column",{attrs:{prop:"storeCount",label:"门店总数"}}),r("el-table-column",{attrs:{prop:"totalPerformanceValue",label:"总业绩指标"}}),r("el-table-column",{attrs:{label:"业绩指标"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[e._v("\n "+e._s(r.noPerfectCount)+" 未完善;"+e._s(r.prefectCount)+" 已完善\n ")]}}])}),r("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[r("el-button",{attrs:{type:"text"},on:{click:function(t){return e.$router.push({path:"/target-store",query:{tab:e.activeName,year:a.performanceYm,applicationId:e.applicationId}})}}},[e._v("查看门店")])]}}])})],1)],1)],1)])},n=[],o=(r("8e6e"),r("ac6a"),r("456d"),r("386d"),r("ade3")),c=r("9f7c");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(o["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var l=c["a"].getTargetList,u=c["a"].getYearList,f={name:"TargetList",components:{},props:{brandId:{type:String,default:""}},data:function(){return{haoban:{},tableData:[],activeName:"1",search:{date:(new Date).getFullYear()},yearList:[],loading:!1}},created:function(){var e=this.$route.query,t=e.tab,r=e.applicationId;this.applicationId=r,this.activeName=t||"1";var a=JSON.parse(localStorage.getItem("haoBanUser")),n=a.staffId,o=a.wxEnterpriseId;this.haoban={staffId:n,wxEnterpriseId:o}},mounted:function(){var e=this;e.$emit("showTab","/target-list"),e.$emit("change-nav",[{name:"指标管理"}]),e.getYearList(),e.brandId&&e.getData()},methods:{getData:function(){var e=this;this.loading=!0;var t=this,r=s(s({},t.haoban),{},{enterpriseId:t.brandId,perfromanceType:t.activeName,performanceYear:t.search.date});l(r,{headers:{sign:t.brandId}}).then((function(e){t.tableData=e.result||[]})).finally((function(){e.loading=!1}))},getYearList:function(){var e=this;u("",{headers:{sign:this.brandId}}).then((function(t){e.yearList=t.result||[]}))}},watch:{brandId:function(e){var t=this;e&&t.getData()}}},p=f,d=(r("1bdb"),r("2877")),m=Object(d["a"])(p,a,n,!1,null,"11d82b6d",null);t["default"]=m.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-61425e0c"],{"46e5":function(t,e,a){},"503e":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"p-t-12"},[a("ul",{staticClass:"tab-left-list"},[t._l(t.tabData,(function(e,n){return[a("li",{key:n,class:["tab-left-list-cell color-303133 font-14 border-box p-l-14",e.menuUrl!=t.activeTab||e.children&&e.children.length?"":"active-tab"],on:{click:function(a){return t.selectTab(e,!1,n)}}},[a("i",{class:["p-r-10 color-303133 iconfont",e.iconUrl,(e.onlyIconActive,"")]}),t._v(t._s(e.tabName||e.menuName)+"\n ")]),a("ul",{key:"childitem"+n,staticClass:"child-tab-left-list"},[t._l(e.children,(function(e,i){return[a("li",{key:i,class:["tab-left-list-cell color-303133 font-14 border-box p-l-40",e.menuUrl!=t.activeTab||e.children&&e.children.length?"":"active-tab"],on:{click:function(a){return t.selectTab(e,"child",n)}}},[t._v(t._s(e.tabName||e.menuName))]),a("ul",{key:"thirditem"+i,staticClass:"third-tab-left-list"},[t._l(e.children,(function(e,i){return[a("li",{key:i,class:["tab-left-list-cell color-303133 font-14 border-box p-l-60",e.menuUrl!=t.activeTab||e.children&&e.children.length?"":"active-tab"],on:{click:function(a){return t.selectTab(e,"child",n)}}},[t._v(t._s(e.tabName||e.menuName))])]}))],2)]}))],2)]}))],2)])},i=[],r=(a("ac6a"),a("c5f6"),{name:"CommonDetailLeft",props:{appName:{type:String,default:function(){return""}},activeSelTab:{type:[String,Number],default:function(){return""}},tabListData:{type:[Array,Object],default:function(){return[]}}},data:function(){return{projectName:"",activeTab:"1",tabData:this.tabListData,collapsFlag:!0}},mounted:function(){this.activeTab=this.activeSelTab},methods:{selectTab:function(t,e,a){var n=this;if(e?n.tabData[a].onlyIconActive=!0:(n.tabData.forEach((function(t){t.onlyIconActive=!1})),t.hasOwnProperty("children")&&t.children.length&&(n.collapsFlag=!(n.collapsFlag&&t.hasOwnProperty("children")&&t.children.length))),t.hasOwnProperty("children")&&t.children.length)return n.tabData[a].onlyIconActive=!0,t.children[0]&&t.children[0].hasOwnProperty("children")&&t.children[0].children.length?(n.activeTab=t.children[0].children[0].menuUrl,n.$emit("setSelectTab",t.children[0].children[0]),!1):(n.activeTab=t.children[0].menuUrl,n.$emit("setSelectTab",t.children[0]),!1);n.activeTab=t.menuUrl,n.$emit("setSelectTab",t)}},watch:{tabListData:function(t,e){var a=this;a.tabData=t},activeSelTab:function(t,e){var a=this;a.activeTab=t}}}),c=r,o=(a("6255"),a("2877")),s=Object(o["a"])(c,n,i,!1,null,"61fa9846",null);e["a"]=s.exports},"57fc":function(t,e,a){},5834:function(t,e,a){"use strict";var n=a("a56b"),i=a.n(n);i.a},6255:function(t,e,a){"use strict";var n=a("57fc"),i=a.n(n);i.a},"71f6":function(t,e,a){"use strict";a.d(e,"a",(function(){return i}));a("ac6a"),a("456d");var n=a("b775");function i(t,e){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var i=t[a];"string"===typeof i&&(i={url:i}),i.url="".concat(e).concat(i.url),t[a]=function(t,e){return Object(n["a"])(i,t,e)}})),t}},"96b6":function(t,e,a){"use strict";var n=a("71f6"),i={getReview:"/audit/audit-list",getWxEnterprise:"/auth-enterprise-list",getStaffInfo:"/get-staff-info",postAudit:{url:"/audit/agree",method:"post",useFormData:!0,useIntercept:!1},postBatchApprove:{url:"/audit/batch-agree",method:"post",useFormData:!0,useIntercept:!1},postRefuse:{url:"/audit/refuse",method:"post",useFormData:!0,useIntercept:!1},getAuditDetail:"/audit/batch-log-list",getAuditGroupList:"/auditGroup/audit-group-list",delAuditGroup:"/auditGroup/del-audit-group",auditGroupDetail:"/auditGroup/audit-group-detail",editAuditGroup:{url:"/auditGroup/edit-audit-group",method:"post",useFormData:!0},addAuditGroup:{url:"/auditGroup/add-audit-group",method:"post",useFormData:!0},getAdminList:"/auditGroup/select-manager-list",auditItemList:"/auditGroup/audit-item-list",delAuditItem:"/auditGroup/del-audit-item",addAuditItem:"/auditGroup/add-audit-item",editAuditItem:"/auditGroup/edit-audit-item",auditItemDetail:"/auditGroup/audit-item-detail",findAuditSetting:"/audit/find-audit-setting",saveAuditSetting:"/audit/save-audit-setting"};i=Object(n["a"])(i,"/hb-manage-web"),e["a"]=i},9924:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("common-detail-left",{attrs:{"tab-list-data":t.tabListData,"active-sel-tab":t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{"brand-id":t.activeBrand,"active-group-id":t.activeGroup,"tab-type":t.activeTab},on:{showTab:t.showTab}})],1)],1)])])])],1)},i=[],r=a("e1b3"),c=a("503e"),o={name:"Reviewed",components:{navCrumb:r["a"],commonDetailLeft:c["a"]},props:{appMenuData:{type:[Array,Object],default:function(){return[]}}},data:function(){return{wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/app-list"},{name:"指标管理",path:""}],tabListData:[],activeBrand:"",activeGroup:""}},mounted:function(){var t=this;t.tabListData=JSON.parse(JSON.stringify(t.appMenuData)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},methods:{selectBrandId:function(t,e){var a=this;a.activeBrand=t,a.activeGroup=e},changeRoute:function(t){this.$router.push(t)},setSelectTab:function(t){var e=this;e.activeTab=t.menuUrl,1==t.target?-1!=t.menuUrl.indexOf("http")?window.open(t.menuUrl):window.open("/haoban-4".concat(t.menuUrl)):e.$router.push("".concat(t.menuUrl,"?applicationId=").concat(e.$route.query.applicationId))},showTab:function(t){var e=this;e.activeTab=t,e.activeSelTab=t}},watch:{activeBrand:function(t,e){var a=this;a.activeBrand=t},appMenuData:function(t,e){var a=this;a.tabListData=JSON.parse(JSON.stringify(t))}}},s=o,l=(a("5834"),a("2877")),u=Object(l["a"])(s,n,i,!1,null,"46f3eec2",null);e["default"]=u.exports},a56b:function(t,e,a){},e1b3:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"nav-wrap border-box flex flex-space-between"},[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t._l(t.navpath,(function(e,n){return[e.path?[a("el-breadcrumb-item",{key:"nav"+n,attrs:{to:{path:e.path}},on:{click:function(a){return t.changeRoute(e.path,e.relocation)}}},[a("span",{staticClass:"el-breadcrumb__inner is-link",on:{click:function(a){return t.changeRoute(e.path,e.relocation)}}},[t._v("\n "+t._s(e.name)+"\n ")])])]:[a("el-breadcrumb-item",{key:"nav"+n},[t._v(t._s(e.name))])]]}))],2),a("div",{staticClass:"my-customer-brand"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"不同商户的工作台可分别进行管理。点击后切换,可以管理不同商户下的应用",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("授权商户名称 ")])]),a("el-select",{staticClass:"p-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeSelect},model:{value:t.activeBrand,callback:function(e){t.activeBrand=e},expression:"activeBrand"}},t._l(t.brandListData,(function(t){return a("el-option",{key:t.enterpriseId,attrs:{label:t.enterpriseName,value:t.enterpriseId}})})),1)],1)],1)},i=[],r=(a("ac6a"),a("96b6")),c=r["a"].getWxEnterprise,o={name:"NavAppPath",props:{navpath:{type:Array,default:function(){return[]}}},data:function(){return{projectName:"haoban",wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",activeBrand:"",brandListData:[]}},mounted:function(){var t=this;t.getBrandData()},methods:{changeRoute:function(t,e){var a=this;e?window.location.href=t:a.$router.push(t)},changeSelect:function(t){var e=this,a="";e.brandListData.forEach((function(e){e.enterpriseId==t&&(a=e.enterpriseId)})),e.$emit("selectBrandId",t,a)},getBrandData:function(){var t=this;c({wxEnterpriseId:t.wxEnterpriseId}).then((function(e){if(e.result&&e.result.length){if(t.brandListData=e.result,t.$route.query.enterpriseId)return t.activeBrand=t.$route.query.enterpriseId,t.$emit("selectBrandId",t.$route.query.enterpriseId),!1;t.activeBrand=t.brandListData[0].enterpriseId,t.$emit("selectBrandId",t.brandListData[0].enterpriseId,t.brandListData[0].enterpriseId)}})).catch((function(t){}))}},watch:{brandId:function(t,e){var a=this;a.getBrandData()}}},s=o,l=(a("f962"),a("2877")),u=Object(l["a"])(s,n,i,!1,null,"1205f312",null);e["a"]=u.exports},f962:function(t,e,a){"use strict";var n=a("46e5"),i=a.n(n);i.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-73e6b8a4"],{"28a5":function(t,e,a){"use strict";var i=a("aae3"),l=a("cb7c"),r=a("ebd6"),n=a("0390"),o=a("9def"),s=a("5f1b"),c=a("520a"),u=a("79e5"),f=Math.min,d=[].push,p="split",g="length",v="lastIndex",m=4294967295,h=!u((function(){RegExp(m,"y")}));a("214f")("split",2,(function(t,e,a,u){var b;return b="c"=="abbc"[p](/(b)*/)[1]||4!="test"[p](/(?:)/,-1)[g]||2!="ab"[p](/(?:ab)*/)[g]||4!="."[p](/(.?)(.?)/)[g]||"."[p](/()()/)[g]>1||""[p](/.?/)[g]?function(t,e){var l=String(this);if(void 0===t&&0===e)return[];if(!i(t))return a.call(l,t,e);var r,n,o,s=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,p=void 0===e?m:e>>>0,h=new RegExp(t.source,u+"g");while(r=c.call(h,l)){if(n=h[v],n>f&&(s.push(l.slice(f,r.index)),r[g]>1&&r.index<l[g]&&d.apply(s,r.slice(1)),o=r[0][g],f=n,s[g]>=p))break;h[v]===r.index&&h[v]++}return f===l[g]?!o&&h.test("")||s.push(""):s.push(l.slice(f)),s[g]>p?s.slice(0,p):s}:"0"[p](void 0,0)[g]?function(t,e){return void 0===t&&0===e?[]:a.call(this,t,e)}:a,[function(a,i){var l=t(this),r=void 0==a?void 0:a[e];return void 0!==r?r.call(a,l,i):b.call(String(l),a,i)},function(t,e){var i=u(b,t,this,e,b!==a);if(i.done)return i.value;var c=l(t),d=String(this),p=r(c,RegExp),g=c.unicode,v=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(h?"y":"g"),y=new p(h?c:"^(?:"+c.source+")",v),_=void 0===e?m:e>>>0;if(0===_)return[];if(0===d.length)return null===s(y,d)?[d]:[];var x=0,w=0,C=[];while(w<d.length){y.lastIndex=h?w:0;var D,k=s(y,h?d:d.slice(w));if(null===k||(D=f(o(y.lastIndex+(h?0:w)),d.length))===x)w=n(d,w,g);else{if(C.push(d.slice(x,w)),C.length===_)return C;for(var F=1;F<=k.length-1;F++)if(C.push(k[F]),C.length===_)return C;w=x=D}}return C.push(d.slice(x)),C}]}))},"36bd":function(t,e,a){"use strict";var i=a("4bf8"),l=a("77f1"),r=a("9def");t.exports=function(t){var e=i(this),a=r(e.length),n=arguments.length,o=l(n>1?arguments[1]:void 0,a),s=n>2?arguments[2]:void 0,c=void 0===s?a:l(s,a);while(c>o)e[o++]=t;return e}},"6c7b":function(t,e,a){var i=a("5ca1");i(i.P,"Array",{fill:a("36bd")}),a("9c6c")("fill")},"81cf":function(t,e,a){"use strict";var i=a("9cdd"),l=a.n(i);l.a},"8e1b":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"common-app-right",staticStyle:{padding:"20px 0",color:"#303133"}},[a("el-form",{attrs:{model:t.form,"label-width":"110px"}},[a("el-form-item",{attrs:{label:"门店名称"}}),a("el-form-item",{attrs:{label:"指标额"}},[a("el-button",{attrs:{type:"text"},on:{click:function(e){t.dialogVisible=!0}}},[t._v("修改")])],1),a("el-form-item",{attrs:{label:"指标类型"}},[t._v("业绩指标日权重")]),a("el-form-item",{attrs:{label:""}},[a("div",{staticClass:"content-data"},[a("span",{staticClass:"color2"},[t._v("月指标:¥ ")]),a("span",{staticClass:"color1"},[t._v("100,000")]),a("span",{staticClass:"color2"},[t._v("日指标总和:¥ ")]),a("span",{staticClass:"color1",style:{color:t.totalDayTarget>t.monthTarget?"#F5222D":"#606266"}},[t._v(t._s(parseFloat(t.totalDayTarget).toFixed(2)))])])])],1),a("div",{staticClass:"target-title"},[a("span",[t._v("2020年9月")]),a("el-button",{attrs:{type:"text"}},[t._v("设置默认日权重")])],1),a("div",{staticClass:"target-table"},[t._m(0),a("ul",{staticClass:"table-content"},[t._l(t.zerofill,(function(t,e){return a("li",{key:e})})),t._l(t.tableData,(function(e,i){return a("li",{key:i},[a("div",[t._v(t._s(e.perfromanceDay))]),a("el-input-number",{staticStyle:{width:"80px","margin-left":"40px","margin-top":"5px"},attrs:{precision:2,controls:!1},model:{value:e.performanceValue,callback:function(a){t.$set(e,"performanceValue",a)},expression:"item.performanceValue"}})],1)})),t._l(t.zerofillLast,(function(t,e){return a("li",{key:e})}))],2)]),a("el-button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary",loading:t.loading}},[t._v("保存")]),a("el-dialog",{attrs:{title:"修改指标",visible:t.dialogVisible,width:"600px"},on:{"update:visible":function(e){t.dialogVisible=e},close:t.dialogClose}},[a("el-alert",{attrs:{title:"修改当月指标会导致已完善的日指标重新下发,并完善。请谨慎设置",type:"danger","show-icon":"",closable:!1}}),a("el-form",{ref:"targetForm",attrs:{model:t.targetForm,"hide-required-asterisk":"","label-width":"175px"}},[a("el-form-item",{attrs:{prop:"value",rules:[{required:!0,message:"请输入月指标额",trigger:"blur"}]}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("span",{staticClass:"color1",staticStyle:{"padding-right":"35px"}},[t._v("2020-10")]),t._v("\n 指标额\n ")]),a("el-input",{staticStyle:{width:"289px"},model:{value:t.targetForm.value,callback:function(e){t.$set(t.targetForm,"value",e)},expression:"targetForm.value"}},[a("span",{staticStyle:{color:"#303133","padding-left":"5px"},attrs:{slot:"prefix"},slot:"prefix"},[t._v("¥")])])],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:t.confirmMonthTarget}},[t._v("确 定")])],1)],1)],1)},l=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{staticClass:"table-title"},[a("li",[t._v("周日")]),a("li",[t._v("周一")]),a("li",[t._v("周二")]),a("li",[t._v("周三")]),a("li",[t._v("周四")]),a("li",[t._v("周五")]),a("li",[t._v("周六")])])}],r=(a("6c7b"),a("28a5"),a("9de6")),n={name:"PerfectDayTarget",components:{},props:{brandId:{type:String,default:function(){return""}}},data:function(){return{form:{},loading:!1,monthTarget:1e4,tableData:[],zerofill:[],zerofillLast:[],targetForm:{value:""},dialogVisible:!1}},created:function(){this.init()},mounted:function(){this.$emit("showTab","/target-list");var t=[{name:"指标管理",path:"/target-list"},{name:"查看门店",path:"/target-store"},{name:"完善日指标"}];this.$emit("change-nav",t)},methods:{init:function(){var t=this.$route.query.date,e=t?t.split("-"):"";if(!e)return Object(r["a"])("缺少参数,请返回重试");var a=new Date(e[0],e[1]-1).getDay(),i=new Date(e[0],e[1],0).getDate();this.zerofill=new Array(a).fill(null),this.tableData=new Array(i).fill(null).map((function(t,e){return{perfromanceDay:e+1,performanceValue:0,performanceSubType:2}}));var l=(this.zerofill.length+this.tableData.length)%7;l&&(this.zerofillLast=new Array(7-l).fill(null))},confirmMonthTarget:function(){this.$refs.targetForm.validate((function(t){}))},dialogClose:function(){this.$refs.targetForm.resetFields()}},computed:{totalDayTarget:function(){return this.tableData.reduce((function(t,e){var a=e.performanceValue;return t+a}),0)}}},o=n,s=(a("81cf"),a("2877")),c=Object(s["a"])(o,i,l,!1,null,"1035c2ba",null);e["default"]=c.exports},"9cdd":function(t,e,a){},"9de6":function(t,e,a){"use strict";var i=a("5c96");e["a"]={errorMsg:function(t){var e=window.location.origin;if("0000"!=t.code){if("0003"==t.code)return window.location.href=e+"/haoban-4/login",!1;i["Message"].error({duration:1e3,message:t.message||"接口异常"})}}}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-afbfe244"],{"352e":function(t,e,n){"use strict";var a=n("4829"),r=n.n(a);r.a},4829:function(t,e,n){},"71f6":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));n("ac6a"),n("456d");var a=n("b775");function r(t,e){t=t||{};var n=Object.keys(t);return n.forEach((function(n){var r=t[n];"string"===typeof r&&(r={url:r}),r.url="".concat(e).concat(r.url),t[n]=function(t,e){return Object(a["a"])(r,t,e)}})),t}},fc87:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"common-app-right"},[n("div")])}],c=n("71f6"),i={getTargetList:"/"};i=Object(c["a"])(i,"/hb-app-customer-web");var s=i,o=s.getTargetList,u={name:"TargetList",components:{},props:{brandId:{type:String,default:""}},data:function(){return{wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",tableData:[]}},mounted:function(){var t=this;t.$emit("showTab","/target-list"),t.brandId&&t.getData()},methods:{getData:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId,enterpriseId:t.brandId};o(e,{headers:{sign:t.brandId}}).then((function(e){t.tableData=e.result||[]})).catch((function(t){}))}},watch:{brandId:function(t){var e=this;t&&e.getData()}}},d=u,f=(n("352e"),n("2877")),l=Object(f["a"])(d,a,r,!1,null,"2d2524c3",null);e["default"]=l.exports}}]);
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-09 10:15:36
* @LastEditors: 无尘
* @LastEditTime: 2020-11-12 11:26:09
* @LastEditTime: 2020-11-20 15:02:45
*/
import getFetch from './get-fetch.js';
......@@ -49,6 +49,12 @@ let api = {
useIntercept: true
},
batchSettingRight: '/setting/batch-setting-right', // 指标设置-批量修改权限
getTargetSet: '/setting/get-performance-setting', // 获取下发设置
saveTargetSet: {
url: '/setting/save-performance-setting', // 下发设置-保存
method: 'post',
useFormData: true
},
};
api = getFetch(api, '/hb-app-performance-web');
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-12 10:48:40
* @LastEditors: 无尘
* @LastEditTime: 2020-11-12 11:32:52
* @LastEditTime: 2020-11-20 14:51:29
-->
<template>
<div class="common-app-right">
......@@ -17,7 +17,7 @@
</el-alert>
<div class="saler-set-title flex flex-space-between m-b-15">
<div class="colorFirst">
<span>{{ clerkObj.yearMonth }}</span><span class="p-l-18">{{ clerkObj.storeName }}</span>
<span>{{ clerkObj.performanceYm }}</span><span class="p-l-18">{{ clerkObj.storeName }}</span>
</div>
</div>
<div class="saler-set-table">
......@@ -30,7 +30,7 @@
<el-table-column label="月指标">
<template slot-scope="scope">
<div>
<el-input class="w-120 p-l-8" maxlength="50" v-model="scope.row.clerkPerformance" placeholder="请输入" :disabled="clerkObj.settingAble == 0 || scope.row.bindFlag == 0" @blur="value => inputPerformance(value, scope.$index, scope.row)">
<el-input class="w-120 p-l-8" maxlength="50" v-model="scope.row.performanceValue" placeholder="请输入" :disabled="clerkObj.settingAble == 0 || scope.row.bindFlag == 0" @blur="value => inputPerformance(value, scope.$index, scope.row)">
<i slot="prefix" style="font-style: normal;position: absolute;top: 4px;left: 12px;"></i>
</el-input>
</div>
......@@ -38,13 +38,13 @@
</el-table-column>
<el-table-column label="总计 >= 门店月指标" width="418px">
<template >
<div><span class="font-14 color-606266 text-left">总计</span><span class=" p-l-175 font-14 color-606266 text-left">门店月指标</span></div>
<div><span class="font-14 color-606266 text-left">导购总计</span><span class=" p-l-175 font-14 color-606266 text-left">门店月指标</span></div>
<div style="margin-top: 4px;">
<el-input class="w-161" v-model="performanceSum" disabled>
<i slot="prefix" style="font-style: normal;position: absolute;top: 4px;left: 10px;"></i>
</el-input>
<span class="p-l-10 p-r-10"> &gt;= </span>
<el-input class="w-161 p-l-8" maxlength="50" v-model="clerkObj.storePerformance" placeholder="请输入指标值" disabled>
<el-input class="w-161 p-l-8" maxlength="50" v-model="clerkObj.storePerformance" placeholder="指标值" disabled>
<i slot="prefix" style="font-style: normal;position: absolute;top: 4px;left: 16px;"></i>
</el-input>
</div>
......@@ -63,7 +63,7 @@ import { _debounce } from '@/common/js/public';
import errMsg from '@/common/js/error';
import showMsg from '@/common/js/showmsg';
import fetch from '@/api/target-manage-app.js';
const { saveSaleSet, getSaleSet } = fetch;
const { changeStorePerformanceClerk, getStorePerformanceClerk } = fetch;
export default {
name: 'PerfectSaleTarget',
components: {},
......@@ -78,16 +78,13 @@ export default {
data() {
return {
tableH: window.screen.availHeight - 464 - 126,
activeTab: '1',
activeBrand: this.brandId, // 商户(品牌) id
operationStaffName: localStorage.getItem('userInfos') ? JSON.parse(localStorage.getItem('userInfos')).staffDTO['staffName'] : '',
activeId: '4',
tableData: [ {}, {} ],
tableData: [],
performanceSum: '0.00', // 总指标
clerkObj: {
storeId: '',
storeInfoId: '',
storeName: '',
yearMonth: '',
performanceYm: '',
performanceSubType: '',
settingAble: 1,
storePerformance: 0
},
......@@ -95,13 +92,16 @@ export default {
};
},
mounted() {
let that = this;
this.$emit('showTab', '/target-list');
let bread = [ { name: '指标管理', path: '/target-list' }, { name: '查看门店', path: '/target-store' }, { name: '完善导购指标' } ];
const that = this;
that.$emit('showTab', '/target-list');
const { tab, applicationId, performanceYm, storeInfoId, storeName } = that.$route.query;
let bread = [ { name: '指标管理', path: `/target-list?tab=${tab}&applicationId=${applicationId}` }, { name: '查看门店', path: `/target-store?tab=${tab}&applicationId=${applicationId}` }, { name: '完善导购指标' } ];
// 修改面包屑
this.$emit('change-nav', bread);
that.$emit('change-nav', bread);
if (!!that.brandId) {
that.clerkObj.performanceYm = performanceYm;
that.clerkObj.storeInfoId = storeInfoId;
that.clerkObj.storeName = storeName;
that.getData();
}
},
......@@ -131,18 +131,18 @@ export default {
*/
inputPerformance: function(val, index, row) {
const that = this;
row.clerkPerformance = !!Number(row.clerkPerformance.replace(/[^\d.]/g, '')) ? row.clerkPerformance.replace(/[^\d+(.\d+)]/g, '') : '';
row.clerkPerformance = Number(row.clerkPerformance).toFixed(2);
row.performanceValue = !!Number(row.performanceValue.replace(/[^\d.]/g, '')) ? row.performanceValue.replace(/[^\d+(.\d+)]/g, '') : '';
row.performanceValue = Number(row.performanceValue).toFixed(2);
let sumData = 0;
that.tableData.forEach(ele => {
sumData += Number(ele.clerkPerformance);
sumData += Number(ele.performanceValue);
});
that.performanceSum = Number(sumData).toFixed(2);
that.diffData();
},
diffData() {
let that = this;
const that = this;
let dataFlag = Number(that.performanceSum) > Number(that.clerkObj.storePerformance) || Number(that.performanceSum) == Number(that.clerkObj.storePerformance);
if (!dataFlag) {
that.equalFlag = false;
......@@ -168,22 +168,19 @@ export default {
});
return false;
}
const data = {
clerkPerformanceList: that.tableData,
storePerformance: that.clerkObj.storePerformance,
operationStaffName: that.operationStaffName
};
that.postSave(data);
that.postSave();
}, 500),
postSave(data) {
postSave() {
const that = this;
const para = {
enterpriseId: that.activeBrand,
storeId: that.clerkObj.storeId,
yearMonth: that.clerkObj.yearMonth,
performance: JSON.stringify(data)
enterpriseId: that.brandId,
storeInfoId: that.clerkObj.storeInfoId,
performanceYear: that.clerkObj.performanceYm.split('-')[0],
performanceYm: that.clerkObj.performanceYm,
performanceType: that.$route.query.performanceType,
dataJson: JSON.stringify(that.tableData)
};
saveSaleSet(para)
changeStorePerformanceClerk(para)
.then(res => {
if (res.code == '0000') {
showMsg.showmsg('保存成功', 'success');
......@@ -205,24 +202,25 @@ export default {
getData() {
const that = this;
const para = {
enterpriseId: that.activeBrand,
storeId: that.clerkObj.storeId,
yearMonth: that.clerkObj.yearMonth
enterpriseId: that.brandId,
storeInfoId: that.clerkObj.storeInfoId,
performanceYm: that.clerkObj.performanceYm,
performanceType: that.$route.query.performanceType,
performanceSubType: that.$route.query.performanceSubType
};
getSaleSet(para)
getStorePerformanceClerk(para)
.then(res => {
if (res.code == '0000') {
if (!!res.result.clerkPerformanceList && !!res.result.clerkPerformanceList.length) {
res.result.clerkPerformanceList.forEach(ele => {
ele.clerkPerformance = Number(ele.clerkPerformance).toFixed(2);
if (!!res.result && !!res.result.length) {
res.result.forEach(ele => {
ele.performanceValue = Number(ele.performanceValue).toFixed(2);
});
that.tableData = res.result.clerkPerformanceList || [];
that.tableData = res.result || [];
}
res.result.storePerformance = Number(res.result.storePerformance).toFixed(2);
that.clerkObj = res.result;
that.clerkObj.storePerformance = Number(that.$route.query.perfromanceValue).toFixed(2);
let allSum = 0;
that.tableData.forEach(ele => {
allSum += Number(ele.clerkPerformance);
allSum += Number(ele.performanceValue);
});
that.performanceSum = Number(allSum).toFixed(2);
return;
......@@ -241,9 +239,9 @@ export default {
brandId: function(newData, oldData) {
const that = this;
if (!!newData) {
that.activeBrand = newData;
that.clerkObj.yearMonth = that.$route.query.yearMonth;
that.clerkObj.storeId = that.$route.query.storeId;
that.clerkObj.performanceYm = that.$route.query.performanceYm;
that.clerkObj.storeInfoId = that.$route.query.storeInfoId;
that.clerkObj.storeName = that.$route.query.storeName;
that.getData();
}
}
......@@ -251,7 +249,7 @@ export default {
};
</script>
<style type="text/scss" lang="scss" scoped>
<style type="text/less" lang="less" scoped>
.task-set-content {
box-sizing: border-box;
.w-105 {
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-09 10:05:27
* @LastEditors: 无尘
* @LastEditTime: 2020-11-20 09:13:24
* @LastEditTime: 2020-11-20 15:21:29
-->
<!-- -->
<template>
......@@ -53,16 +53,28 @@ export default {
};
},
// 生命周期 - 挂载完成(访问DOM元素)
mounted() {
const that = this;
if (!!that.brandId) {
that.getData();
}
},
// methods
methods: {
/**
* 保存
*/
saveSet: _debounce(function() {
submitForm: _debounce(function(formName) {
const that = this;
that.loadingBtn = true;
that.postSave();
that.$refs[formName].validate((valid) => {
if (valid) {
that.postSave();
}else {
that.loadingBtn = false;
}
});
}, 300),
postSave() {
const that = this;
......@@ -114,4 +126,7 @@ export default {
.p-l-35 {
padding-left: 35px;
}
.w-100 {
width: 100px;
}
</style>
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