Commit 885e4e5a by 陈羽

Merge branch 'featrue/销售线索' of http://git.gicdev.com/office/haoban-3 into dev

parents 1fe0051e ca6d1928
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.58.3.css><link href=./static/css/app.00eeedf410067bafa0ed6a03d7b6bcf8.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.62b547d9025100aabca0.js></script><script type=text/javascript src=./static/js/vendor.ee6b165f5156b48c4dca.js></script><script type=text/javascript src=./static/js/app.cb6f31bbb01869e88fcb.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.58.3.css><link href=./static/css/app.430c7ae0e19f1923d7bedc0431f0c11c.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.099e1a66052ebd7d53ba.js></script><script type=text/javascript src=./static/js/vendor.ee6b165f5156b48c4dca.js></script><script type=text/javascript src=./static/js/app.c5119e3a4001e7aaa492.js></script></body></html>
\ No newline at end of file
......@@ -32,6 +32,18 @@
<ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont">&#xe641;</span>
<div class="name">pre</div>
<div class="code-name">&amp;#xe641;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe640;</span>
<div class="name">next</div>
<div class="code-name">&amp;#xe640;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe60d;</span>
<div class="name">欢迎辞</div>
<div class="code-name">&amp;#xe60d;</div>
......@@ -478,6 +490,24 @@
<ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont iconpre"></span>
<div class="name">
pre
</div>
<div class="code-name">.iconpre
</div>
</li>
<li class="dib">
<span class="icon iconfont iconnext"></span>
<div class="name">
next
</div>
<div class="code-name">.iconnext
</div>
</li>
<li class="dib">
<span class="icon iconfont iconhuanyingci"></span>
<div class="name">
欢迎辞
......@@ -1102,6 +1132,22 @@
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconpre"></use>
</svg>
<div class="name">pre</div>
<div class="code-name">#iconpre</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconnext"></use>
</svg>
<div class="name">next</div>
<div class="code-name">#iconnext</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconhuanyingci"></use>
</svg>
<div class="name">欢迎辞</div>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -6,6 +6,20 @@
"description": "",
"glyphs": [
{
"icon_id": "21128396",
"name": "pre",
"font_class": "pre",
"unicode": "e641",
"unicode_decimal": 58945
},
{
"icon_id": "21128379",
"name": "next",
"font_class": "next",
"unicode": "e640",
"unicode_decimal": 58944
},
{
"icon_id": "9702150",
"name": "欢迎辞",
"font_class": "huanyingci",
......
......@@ -20,6 +20,12 @@ Created by iconfont
/>
<missing-glyph />
<glyph glyph-name="pre" unicode="&#58945;" d="M512 876.544c-272.384 0-492.544-220.16-492.544-492.544s220.672-492.544 492.544-492.544 492.544 220.672 492.544 492.544-220.16 492.544-492.544 492.544zM431.104 587.776c11.776-12.288 12.288-31.232 0.512-43.008L309.248 422.4h480.256c16.896 0 30.208-13.824 30.208-30.72s-13.312-30.72-30.208-30.72H307.2l123.904-123.904c11.776-11.776 11.776-31.232-0.512-43.008-12.288-11.776-31.232-12.288-43.008-0.512l-175.104 174.592c-6.144 6.144-9.216 14.336-8.704 22.528v1.024 0.512c0 2.048 0 3.584 0.512 5.632 0 0.512 0 0.512 0.512 1.024l1.536 4.608c0.512 1.024 1.024 1.536 1.024 2.048l1.536 3.072c1.536 2.048 3.072 3.584 4.608 5.632l174.08 174.08c11.776 11.264 31.232 11.264 43.52-0.512z" horiz-adv-x="1024" />
<glyph glyph-name="next" unicode="&#58944;" d="M19.456 384c0-272.384 220.672-492.544 492.544-492.544s492.544 220.672 492.544 492.544-220.16 492.544-492.544 492.544S19.456 656.384 19.456 384z m616.96 203.776l174.08-174.08c1.536-1.536 3.072-3.584 4.608-5.632l1.536-3.072c0.512-0.512 1.024-1.536 1.024-2.048l1.536-4.608c0-0.512 0-0.512 0.512-1.024 0.512-2.048 0.512-3.584 0.512-5.632V390.144c0.512-8.192-2.56-16.384-8.704-22.528l-175.104-174.592c-11.776-11.776-31.232-11.776-43.008 0.512-12.288 11.776-12.288 31.232-0.512 43.008l123.904 123.904H234.496c-16.896 0-30.208 13.824-30.208 30.72s13.312 30.72 30.208 30.72h480.256l-121.856 121.856c-11.776 11.776-11.776 31.232 0.512 43.008 11.776 12.8 31.232 12.8 43.008 1.024z" horiz-adv-x="1024" />
<glyph glyph-name="huanyingci" unicode="&#58893;" d="M378.119626 229.885971c-1.985498-16.313832-16.682275-27.914666-32.837472-25.918933-16.144962 2.005967-27.628099 16.866496-25.647718 33.190563l31.911247 262.730479c1.985498 16.324067 16.687392 27.9249 32.837472 25.924051 16.144962-2.011084 27.628099-16.866496 25.642601-33.190564l-31.90613-262.735596zM557.899284 229.885971c-1.98038-16.313832-16.687392-27.914666-32.832355-25.918933-16.144962 2.005967-27.622982 16.866496-25.642601 33.190563l31.90613 262.730479c1.98038 16.324067 16.687392 27.9249 32.832355 25.924051 16.155197-2.011084 27.633216-16.866496 25.652836-33.190564l-31.916365-262.735596zM552.239592 367.535209c0-14.998696-12.010215-27.141959-26.834923-27.141959H391.675254c-14.824709 0-26.840041 12.143263-26.840041 27.141959 0 14.983344 12.015332 27.126607 26.840041 27.126607h133.729415c14.814474 0.005117 26.834923-12.143263 26.834923-27.126607zM676.225739 231.866352c-1.903622-17.055835-17.127477-29.347499-34.019559-27.423409-16.871614 1.924091-29.040463 17.311698-27.131725 34.39312L632.974639 399.62556c1.903622 17.060952 17.137711 29.347499 34.019559 27.423409 16.886965-1.918973 29.035346-17.311698 27.141959-34.388003l-17.910418-160.794614zM699.872608 472.208808c-1.596586-15.935155-15.66394-27.546223-31.425107-25.939402-15.761168 1.611938-27.254539 15.827692-25.652836 31.767964l2.123664 21.313397c1.591469 15.930037 15.658823 27.546223 31.41999 25.934285 15.771402-1.60682 27.254539-15.832809 25.66307-31.767964l-2.128781-21.30828zM511.659702 896C229.529682 896 0 667.237908 0 386.054581c0-281.17821 229.529682-509.935185 511.639233-509.935185 1.60682-0.010235 8.648173-0.189339 19.604232-0.48614 42.800782-1.074625 143.022363-3.633256 217.007741-3.633256h0.025586c78.770018 0 92.642916 2.650742 100.226699 7.517258 15.699761 7.522376 18.99016 20.591863 19.670756 26.174797 2.824729 23.293778-17.204236 36.854523-40.405903 52.5594-5.639223 3.822595-14.328334 9.702329-20.837492 14.850296 146.553274 133.171633 220.200913 236.530096 216.383435 413.254748C1023.1403 667.406777 793.687377 896 511.659702 896z m244.835413-894.569086l-2.921957-2.609803-2.087843-3.336455c-17.188884-27.612747 3.254579-50.988401 25.350918-68.269396-8.13133-0.102345-17.593148-0.148401-28.569676-0.148401h-0.025586c-73.304782 0-173.035106 2.538162-215.641432 3.612787a1773.92455 1773.92455 0 0 1-20.944954 0.496375c-252.096808 0-457.19668 204.071302-457.19668 454.883677 0 250.827727 205.099872 454.883677 457.19668 454.883677s457.191563-204.05595 457.191562-454.883677v-0.608954c3.582084-161.961351-65.613537-252.85928-212.351032-384.01983z" horiz-adv-x="1024" />
......
......@@ -20,6 +20,12 @@ Created by iconfont
/>
<missing-glyph />
<glyph glyph-name="pre" unicode="&#58945;" d="M512 876.544c-272.384 0-492.544-220.16-492.544-492.544s220.672-492.544 492.544-492.544 492.544 220.672 492.544 492.544-220.16 492.544-492.544 492.544zM431.104 587.776c11.776-12.288 12.288-31.232 0.512-43.008L309.248 422.4h480.256c16.896 0 30.208-13.824 30.208-30.72s-13.312-30.72-30.208-30.72H307.2l123.904-123.904c11.776-11.776 11.776-31.232-0.512-43.008-12.288-11.776-31.232-12.288-43.008-0.512l-175.104 174.592c-6.144 6.144-9.216 14.336-8.704 22.528v1.024 0.512c0 2.048 0 3.584 0.512 5.632 0 0.512 0 0.512 0.512 1.024l1.536 4.608c0.512 1.024 1.024 1.536 1.024 2.048l1.536 3.072c1.536 2.048 3.072 3.584 4.608 5.632l174.08 174.08c11.776 11.264 31.232 11.264 43.52-0.512z" horiz-adv-x="1024" />
<glyph glyph-name="next" unicode="&#58944;" d="M19.456 384c0-272.384 220.672-492.544 492.544-492.544s492.544 220.672 492.544 492.544-220.16 492.544-492.544 492.544S19.456 656.384 19.456 384z m616.96 203.776l174.08-174.08c1.536-1.536 3.072-3.584 4.608-5.632l1.536-3.072c0.512-0.512 1.024-1.536 1.024-2.048l1.536-4.608c0-0.512 0-0.512 0.512-1.024 0.512-2.048 0.512-3.584 0.512-5.632V390.144c0.512-8.192-2.56-16.384-8.704-22.528l-175.104-174.592c-11.776-11.776-31.232-11.776-43.008 0.512-12.288 11.776-12.288 31.232-0.512 43.008l123.904 123.904H234.496c-16.896 0-30.208 13.824-30.208 30.72s13.312 30.72 30.208 30.72h480.256l-121.856 121.856c-11.776 11.776-11.776 31.232 0.512 43.008 11.776 12.8 31.232 12.8 43.008 1.024z" horiz-adv-x="1024" />
<glyph glyph-name="huanyingci" unicode="&#58893;" d="M378.119626 229.885971c-1.985498-16.313832-16.682275-27.914666-32.837472-25.918933-16.144962 2.005967-27.628099 16.866496-25.647718 33.190563l31.911247 262.730479c1.985498 16.324067 16.687392 27.9249 32.837472 25.924051 16.144962-2.011084 27.628099-16.866496 25.642601-33.190564l-31.90613-262.735596zM557.899284 229.885971c-1.98038-16.313832-16.687392-27.914666-32.832355-25.918933-16.144962 2.005967-27.622982 16.866496-25.642601 33.190563l31.90613 262.730479c1.98038 16.324067 16.687392 27.9249 32.832355 25.924051 16.155197-2.011084 27.633216-16.866496 25.652836-33.190564l-31.916365-262.735596zM552.239592 367.535209c0-14.998696-12.010215-27.141959-26.834923-27.141959H391.675254c-14.824709 0-26.840041 12.143263-26.840041 27.141959 0 14.983344 12.015332 27.126607 26.840041 27.126607h133.729415c14.814474 0.005117 26.834923-12.143263 26.834923-27.126607zM676.225739 231.866352c-1.903622-17.055835-17.127477-29.347499-34.019559-27.423409-16.871614 1.924091-29.040463 17.311698-27.131725 34.39312L632.974639 399.62556c1.903622 17.060952 17.137711 29.347499 34.019559 27.423409 16.886965-1.918973 29.035346-17.311698 27.141959-34.388003l-17.910418-160.794614zM699.872608 472.208808c-1.596586-15.935155-15.66394-27.546223-31.425107-25.939402-15.761168 1.611938-27.254539 15.827692-25.652836 31.767964l2.123664 21.313397c1.591469 15.930037 15.658823 27.546223 31.41999 25.934285 15.771402-1.60682 27.254539-15.832809 25.66307-31.767964l-2.128781-21.30828zM511.659702 896C229.529682 896 0 667.237908 0 386.054581c0-281.17821 229.529682-509.935185 511.639233-509.935185 1.60682-0.010235 8.648173-0.189339 19.604232-0.48614 42.800782-1.074625 143.022363-3.633256 217.007741-3.633256h0.025586c78.770018 0 92.642916 2.650742 100.226699 7.517258 15.699761 7.522376 18.99016 20.591863 19.670756 26.174797 2.824729 23.293778-17.204236 36.854523-40.405903 52.5594-5.639223 3.822595-14.328334 9.702329-20.837492 14.850296 146.553274 133.171633 220.200913 236.530096 216.383435 413.254748C1023.1403 667.406777 793.687377 896 511.659702 896z m244.835413-894.569086l-2.921957-2.609803-2.087843-3.336455c-17.188884-27.612747 3.254579-50.988401 25.350918-68.269396-8.13133-0.102345-17.593148-0.148401-28.569676-0.148401h-0.025586c-73.304782 0-173.035106 2.538162-215.641432 3.612787a1773.92455 1773.92455 0 0 1-20.944954 0.496375c-252.096808 0-457.19668 204.071302-457.19668 454.883677 0 250.827727 205.099872 454.883677 457.19668 454.883677s457.191563-204.05595 457.191562-454.883677v-0.608954c3.582084-161.961351-65.613537-252.85928-212.351032-384.01983z" horiz-adv-x="1024" />
......
webpackJsonp([9],{"7t+N":function(e,t,n){var r;
webpackJsonp([11],{"7t+N":function(e,t,n){var r;
/*!
* jQuery JavaScript Library v3.6.0
* https://jquery.com/
......
webpackJsonp([31],{"56+N":function(t,e){},AVFt:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("PI0u"),r=n("Ch4/"),o=n("P9l9"),s={name:"login",data:function(){return{active:0,enterpriseId:"",enterpriseList:[],numberCode:""}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},toIndex:Object(i.a)(function(){this.toLogin()},500),toLogin:function(){var t=window.location.origin+"/haoban-manage3-web/gic-login?wxEnterpriseId="+this.enterpriseList[this.active].wxEnterpriseId+"&random="+this.$route.query.random;window.location.href=t},changeEnterprise:function(t){this.active=t},getList:function(){var t=this;Object(o.a)("/haoban-manage3-web/login-wx-enterprise-list?random="+this.$route.query.random,{}).then(function(e){var n=e.data;if(1==n.errorCode)return t.enterpriseList=n.result,1===n.result.length?void t.toLogin():void 0;r.a.errorMsg(n)}).catch(function(t){this.$message.error({duration:1e3,message:t.message})})},arrowClick:function(t){"right"===t?this.$refs.cardShow.next():this.$refs.cardShow.prev()}},mounted:function(){this.$route.query.random&&this.getList(),localStorage.getItem("userInfos")&&localStorage.removeItem("userInfos")},components:{}},a={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"login-wrap"},[n("section",[t._m(0),t._v(" "),n("div",{staticClass:"login-body"},[n("i",{staticClass:"iconfont iconpre",on:{click:function(e){return t.arrowClick("left")}}}),t._v(" "),n("i",{staticClass:"iconfont iconnext",on:{click:function(e){return t.arrowClick("right")}}}),t._v(" "),n("el-carousel",{ref:"cardShow",attrs:{arrow:"never",height:"262px","indicator-position":"none",autoplay:!1},on:{change:t.changeEnterprise}},t._l(t.enterpriseList,function(e){return n("el-carousel-item",{key:e.wxEnterpriseId},[n("div",{staticClass:"info flex"},[n("p",{staticClass:"info_img"},[n("img",{attrs:{src:e.corpSquareLogoUrl,alt:""}})]),t._v(" "),n("p",{staticClass:"info_name"},[t._v(t._s(e.corpName))])])])}),1),t._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:t.toIndex}},[t._v("登录")])],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"login-body-head border-box flex"},[e("img",{staticClass:"login-body-logo",attrs:{src:n("wdS9"),alt:"logo"}})])}]};var c=n("VU/8")(s,a,!1,function(t){n("56+N")},"data-v-3c6b2e1d",null);e.default=c.exports},wdS9:function(t,e,n){t.exports=n.p+"static/img/logo-text.3ba0f9e.png"}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([70],{mjMK:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),s=a("P9l9"),i=a("Ch4/"),r={name:"authMerchant",data:function(){return{bgHeight:window.screen.availHeight-104+"px",navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/contactsList"},{name:"授权商户",path:""}],loading:!0,currentPage:1,pageSize:20,total:0,tableData:[],addShow:!1}},computed:{},methods:{AddAuthMerchant:function(t){t.enterpriseId?this.changeRoute("authMerchantForm?enterprise="+t.enterpriseId):this.changeRoute("authMerchantForm")},refreshData:function(t){if(this.addShow=!1,"close"==t)return!1;this.getTableList()},changeRoute:function(t){this.$router.push(t)},toStoreList:function(t){this.changeRoute("merchantStoreList?enterprise="+t.enterpriseId)},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(t){var e=this;e.loading=!0;Object(s.a)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(t){var a=t.data;if(1==a.errorCode)return e.loading=!1,e.tableData=a.result||[],!1;i.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},refreshStoreBind:function(t){var e=this;e.$confirm("确认要刷新吗?","",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.loading=!0;var a={enterpriseId:t.enterpriseId};Object(s.a)("/haoban-manage3-web/flush-bind-store-list",a).then(function(t){e.loading=!1;var a=t.data;if(1==a.errorCode)return e.$message.success({duration:1e3,message:"刷新成功"}),!1;i.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}).catch(function(){})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a}},o={render: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}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"flex flex-space-between flex-align-center"},[t._m(0),t._v(" "),a("div",[a("span",{staticClass:"color-909399 font-13 m-r-19"},[t._v("最多授权 10 个商户")]),a("el-button",{attrs:{type:"primary"},on:{click:t.AddAuthMerchant}},[t._v("新建授权")])],1)]),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"审核事项","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"ul-li-cell flex"},[a("div",{staticClass:"cell-img"},[a("img",{attrs:{src:e.row.enterpriseLogo,alt:"img"}})]),t._v(" "),a("div",{staticClass:"cell-info"},[a("div",{staticClass:"cell-info-name flex font-14 color-303133"},[a("span",{staticClass:"gic-name color-606266"},[t._v(t._s(e.row.enterpriseName||"--"))]),a("span",{staticClass:"gic-version color-606266"},[t._v(t._s(e.row.version||"3.0"))])]),t._v(" "),a("div",{staticClass:"cell-info-name flex font-14 color-606266"},[a("span",{staticClass:"gic-name"},[t._v(t._s(e.row.brandName||"--"))])])])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"color-606266"},[t._v(t._s(e.row.staffName||"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-18 color-606266"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-18 color-606266"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.AddAuthMerchant(e.row)}}},[t._v("编辑授权设置")]),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.toStoreList(e.row)}}},[t._v("绑定门店列表")]),t._v(" "),a("el-button",{attrs:{slot:"reference",type:"text",size:"small"},on:{click:function(a){return t.refreshStoreBind(e.row)}},slot:"reference"},[t._v("刷新门店")])]}}])})],1)],1)])])])])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"overstore-tip"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-center",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-warning font-13 color-2f54eb"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title color-303133 font-13"},[this._v("绑定门店:绑定门店拥有门店资源管理权限。能查看数据,绑定导购账号,管理门店等。")]),this._v(" "),e("p",{staticClass:"el-alert__title color-303133 font-13"},[this._v("刷新门店:编辑或修改绑定门店范围,手动刷新获取最近门店列表。")])])])])}]};var l=a("VU/8")(r,o,!1,function(t){a("xQ4r")},"data-v-516cce38",null);e.default=l.exports},xQ4r:function(t,e){}});
\ No newline at end of file
webpackJsonp([72],{bN0N:function(t,e){},zYBJ:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("P9l9"),n=s("Ch4/"),o={props:{},data:function(){return{wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",roleList:[]}},methods:{changeRoute:function(){this.$router.push("/contactsList")},changeToggle:function(t){t.expand=!t.expand},getData:function(t){var e=this,s={wxEnterpriseId:e.wxEnterpriseId};Object(a.a)("/haoban-manage3-web/admin-list",s).then(function(t){var s=t.data;if(1==s.errorCode)return s.result&&s.result.length&&s.result.forEach(function(t){t.expand=!1}),void(e.roleList=s.result||[]);n.a.errorMsg(s)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.$emit("showTab",2),document.documentElement.style.backgroundColor="#f0f2f5",this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},r={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"daily-set-wrap "},[s("div",{staticClass:"daily-set-content border-box"},[s("div",{staticClass:"admin-tip-body"},[s("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[s("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),s("div",{staticClass:"el-alert__content"},[s("span",{staticClass:"el-alert__title"},[t._v("1.超级管理员不可新增,默认为企业微信所添加的好办应用管理员,拥有好办所有管理权限;\n "),s("br"),t._v("\n 2.企业微信后台新增管理员后,请在工作台-"),s("el-button",{attrs:{type:"text"},on:{click:t.changeRoute}},[t._v("通讯录")]),t._v("中刷新企业成员,否则不会同步到好办管理员列表\n ")],1)])])]),t._v(" "),s("div",{staticClass:"admin-table-body m-t-20"},[t._m(0),t._v(" "),s("div",{staticClass:"admin-role-body"},[t._l(t.roleList,function(e,a){return[s("div",{key:a+"role"},[s("div",{staticClass:"admin-role-name line-50"},[s("el-row",[s("el-col",{attrs:{span:24}},[s("div",{staticClass:"grid-content cursor-pointer",on:{click:function(s){return t.changeToggle(e)}}},[s("span",{class:["iconfont cursor-pointer font-14 color-606266 p-l-30",e.expand?"iconjian":"iconjia"],staticStyle:{"font-size":"14px"}}),s("span",{staticClass:"font-14 color-606266 p-l-40"},[t._v(t._s(e.roleName))])])])],1)],1),t._v(" "),e.expand?s("div",[s("el-row",{staticClass:"bg-ebecf0"},[s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th p-l-85"},[t._v("姓名")])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th"},[t._v("手机号")])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th"},[t._v("部门")])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th"},[t._v("操作")])])],1),t._v(" "),s("div",{staticClass:"admin-role-user"},t._l(e.roleUser,function(e,a){return s("el-row",{key:a,staticClass:"line-50 border-set"},[s("el-col",{staticClass:"line-one",attrs:{span:6}},[s("div",{staticClass:"grid-content p-l-85 hide-border"},[t._v(t._s(e.userName||"--"))])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content"},[t._v(t._s(e.userPhone||"--"))])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content"},[t._v(t._s(e.departmentName||"--"))])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content"},[t._v(t._s("--"))])])],1)}),1)],1):t._e()])]})],2)])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"admin-thead bg-ebecf0"},[e("div",{staticClass:"admin-th p-l-85 font-14 color-303133"},[this._v("角色")])])}]};var i=s("VU/8")(o,r,!1,function(t){s("bN0N")},"data-v-4f021456",null);e.default=i.exports}});
\ No newline at end of file
webpackJsonp([71],{bN0N:function(t,e){},zYBJ:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("P9l9"),n=s("Ch4/"),o={props:{},data:function(){return{wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",roleList:[]}},methods:{changeRoute:function(){this.$router.push("/contactsList")},changeToggle:function(t){t.expand=!t.expand},getData:function(t){var e=this,s={wxEnterpriseId:e.wxEnterpriseId};Object(a.a)("/haoban-manage3-web/admin-list",s).then(function(t){var s=t.data;if(1==s.errorCode)return s.result&&s.result.length&&s.result.forEach(function(t){t.expand=!1}),void(e.roleList=s.result||[]);n.a.errorMsg(s)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.$emit("showTab",2),document.documentElement.style.backgroundColor="#f0f2f5",this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},r={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"daily-set-wrap "},[s("div",{staticClass:"daily-set-content border-box"},[s("div",{staticClass:"admin-tip-body"},[s("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[s("i",{staticClass:"el-alert__icon el-icon-info"}),t._v(" "),s("div",{staticClass:"el-alert__content"},[s("span",{staticClass:"el-alert__title"},[t._v("1.超级管理员不可新增,默认为企业微信所添加的好办应用管理员,拥有好办所有管理权限;\n "),s("br"),t._v("\n 2.企业微信后台新增管理员后,请在工作台-"),s("el-button",{attrs:{type:"text"},on:{click:t.changeRoute}},[t._v("通讯录")]),t._v("中刷新企业成员,否则不会同步到好办管理员列表\n ")],1)])])]),t._v(" "),s("div",{staticClass:"admin-table-body m-t-20"},[t._m(0),t._v(" "),s("div",{staticClass:"admin-role-body"},[t._l(t.roleList,function(e,a){return[s("div",{key:a+"role"},[s("div",{staticClass:"admin-role-name line-50"},[s("el-row",[s("el-col",{attrs:{span:24}},[s("div",{staticClass:"grid-content cursor-pointer",on:{click:function(s){return t.changeToggle(e)}}},[s("span",{class:["iconfont cursor-pointer font-14 color-606266 p-l-30",e.expand?"iconjian":"iconjia"],staticStyle:{"font-size":"14px"}}),s("span",{staticClass:"font-14 color-606266 p-l-40"},[t._v(t._s(e.roleName))])])])],1)],1),t._v(" "),e.expand?s("div",[s("el-row",{staticClass:"bg-ebecf0"},[s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th p-l-85"},[t._v("姓名")])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th"},[t._v("手机号")])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th"},[t._v("部门")])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th"},[t._v("操作")])])],1),t._v(" "),s("div",{staticClass:"admin-role-user"},t._l(e.roleUser,function(e,a){return s("el-row",{key:a,staticClass:"line-50 border-set"},[s("el-col",{staticClass:"line-one",attrs:{span:6}},[s("div",{staticClass:"grid-content p-l-85 hide-border"},[t._v(t._s(e.userName||"--"))])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content"},[t._v(t._s(e.userPhone||"--"))])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content"},[t._v(t._s(e.departmentName||"--"))])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content"},[t._v(t._s("--"))])])],1)}),1)],1):t._e()])]})],2)])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"admin-thead bg-ebecf0"},[e("div",{staticClass:"admin-th p-l-85 font-14 color-303133"},[this._v("角色")])])}]};var i=s("VU/8")(o,r,!1,function(t){s("bN0N")},"data-v-4f021456",null);e.default=i.exports}});
\ No newline at end of file
webpackJsonp([74],{FQZX:function(t,e){},zHtI:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"input-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:[2==t.childItem.type?"h-66":""]},[9!=t.childItem.type?i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]):t._e(),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag",style:{"padding-left":9==t.childItem.type?"15px":"0"}},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":""))])]),t._v(" "),10==t.childItem.type&&t.childItem.openCapitalize?i("div",{staticClass:"show-capitalize font-12 color-909399 p-l-10 border-box"},[t._v("大写:壹万元整(示例)")]):t._e()])},staticRenderFns:[]};var c=i("VU/8")(l,a,!1,function(t){i("FQZX")},"data-v-4cfabcb1",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([73],{FQZX:function(t,e){},zHtI:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"input-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:[2==t.childItem.type?"h-66":""]},[9!=t.childItem.type?i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]):t._e(),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag",style:{"padding-left":9==t.childItem.type?"15px":"0"}},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":""))])]),t._v(" "),10==t.childItem.type&&t.childItem.openCapitalize?i("div",{staticClass:"show-capitalize font-12 color-909399 p-l-10 border-box"},[t._v("大写:壹万元整(示例)")]):t._e()])},staticRenderFns:[]};var c=i("VU/8")(l,a,!1,function(t){i("FQZX")},"data-v-4cfabcb1",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([76],{F1Rz:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("3E4D"),s=a("Ch4/"),o=a("PI0u"),n=a("P9l9"),i={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",activeName:"first",activeGroup:this.activeGroupId,wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,myCustomData:{wmOrderShow:!1,damoOrderShow:!1},loading:!1}},methods:{submit:Object(o.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId,wmOrderShow:e.myCustomData.wmOrderShow?1:0,damoOrderShow:e.myCustomData.damoOrderShow?1:0};Object(n.d)("/haoban-app-customer-web/customer/save-consume-setting",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return r.a.showmsg("保存成功","success"),void e.getShowSet();s.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},getShowSet:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(n.d)("/haoban-app-customer-web/customer/find-consume-setting",a).then(function(t){var a=t.data;1!=a.errorCode?s.a.errorMsg(a):a.result&&(a.result.wmOrderShow=1==a.result.wmOrderShow,a.result.damoOrderShow=1==a.result.damoOrderShow,e.myCustomData=a.result)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){this.getShowSet(this.brandId)}},mounted:function(){this.$emit("showTab","14"),this.getShowSet(this.brandId)},components:{}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:t.myCustomData.wmOrderShow,callback:function(e){t.$set(t.myCustomData,"wmOrderShow",e)},expression:"myCustomData.wmOrderShow"}},[t._v("展示微盟商城订单")]),t._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[t._v("注:保存勾选项后,顾客详情 - 消费记录中将展示微盟商城交易成功的订单")])],1),t._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:t.myCustomData.damoOrderShow,callback:function(e){t.$set(t.myCustomData,"damoOrderShow",e)},expression:"myCustomData.damoOrderShow"}},[t._v("展示达摩商城订单")]),t._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[t._v("注:保存勾选项后,顾客详情 - 消费记录中将展示达摩商城交易成功的订单")])],1),t._v(" "),a("div",{staticClass:"m-t-46 m-l-25"},[a("el-button",{attrs:{type:"primary",loading:t.loading},on:{click:function(e){return t.submit("showFlag")}}},[t._v("保 存")])],1)])])},staticRenderFns:[]};var u=a("VU/8")(i,d,!1,function(t){a("tWyU")},"data-v-4781456e",null);e.default=u.exports},tWyU:function(t,e){}});
\ No newline at end of file
webpackJsonp([75],{F1Rz:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("3E4D"),s=a("Ch4/"),o=a("PI0u"),n=a("P9l9"),i={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",activeName:"first",activeGroup:this.activeGroupId,wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,myCustomData:{wmOrderShow:!1,damoOrderShow:!1},loading:!1}},methods:{submit:Object(o.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId,wmOrderShow:e.myCustomData.wmOrderShow?1:0,damoOrderShow:e.myCustomData.damoOrderShow?1:0};Object(n.d)("/haoban-app-customer-web/customer/save-consume-setting",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return r.a.showmsg("保存成功","success"),void e.getShowSet();s.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},getShowSet:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(n.d)("/haoban-app-customer-web/customer/find-consume-setting",a).then(function(t){var a=t.data;1!=a.errorCode?s.a.errorMsg(a):a.result&&(a.result.wmOrderShow=1==a.result.wmOrderShow,a.result.damoOrderShow=1==a.result.damoOrderShow,e.myCustomData=a.result)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){this.getShowSet(this.brandId)}},mounted:function(){this.$emit("showTab","14"),this.getShowSet(this.brandId)},components:{}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:t.myCustomData.wmOrderShow,callback:function(e){t.$set(t.myCustomData,"wmOrderShow",e)},expression:"myCustomData.wmOrderShow"}},[t._v("展示微盟商城订单")]),t._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[t._v("注:保存勾选项后,顾客详情 - 消费记录中将展示微盟商城交易成功的订单")])],1),t._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:t.myCustomData.damoOrderShow,callback:function(e){t.$set(t.myCustomData,"damoOrderShow",e)},expression:"myCustomData.damoOrderShow"}},[t._v("展示达摩商城订单")]),t._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[t._v("注:保存勾选项后,顾客详情 - 消费记录中将展示达摩商城交易成功的订单")])],1),t._v(" "),a("div",{staticClass:"m-t-46 m-l-25"},[a("el-button",{attrs:{type:"primary",loading:t.loading},on:{click:function(e){return t.submit("showFlag")}}},[t._v("保 存")])],1)])])},staticRenderFns:[]};var u=a("VU/8")(i,d,!1,function(t){a("tWyU")},"data-v-4781456e",null);e.default=u.exports},tWyU:function(t,e){}});
\ No newline at end of file
webpackJsonp([78],{QHTa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("bzW+"),i=a("Qie6"),c=a("Z8ln"),o=a("Ch4/"),r=a("P9l9"),s={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"我的顾客",path:""}],tabListData:[{tabId:"1",tabName:"会员基础设置",icon:"iconjichushezhi",onlyIconActive:!1,children:[{tabId:"11",tabName:"会员展示设置",icon:""},{tabId:"12",tabName:"会员分组设置",icon:""},{tabId:"13",tabName:"会员搜索设置",icon:""},{tabId:"14",tabName:"会员详情设置",icon:""}]},{tabId:"2",tabName:"我的顾客列表",icon:"icongukeguanliicon"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,e={enterpriseId:t.activeBrand};Object(r.a)("/haoban-manage3-web/enterprise-is-over",e).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):t.expiredFlag=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"11":this.changeRoute("memberShowSet");break;case"12":this.changeRoute("memberGroupSet");break;case"13":this.changeRoute("memberSearchSet");break;case"14":this.changeRoute("memberDetailSet");break;case"2":this.changeRoute("myCustomerList")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})},changeNavShow:function(t){"/addGroupTemplate"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"我的顾客",path:"/memberShowSet"},{name:this.$route.query.templateId?"编辑模板":"新建模板",path:""}]:"/storeRangeSet"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"我的顾客",path:"/memberShowSet"},{name:"门店范围设置",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"我的顾客",path:""}]}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t},$route:{handler:function(t,e){this.changeNavShow(t)},deep:!0}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:c.a}},h={render: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}}),t._v(" "),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:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?a("expired-dialog"):t._e()],1)},staticRenderFns:[]};var d=a("VU/8")(s,h,!1,function(t){a("fr8y")},"data-v-4493fcff",null);e.default=d.exports},fr8y:function(t,e){}});
\ No newline at end of file
webpackJsonp([77],{QHTa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("bzW+"),i=a("Qie6"),c=a("Z8ln"),o=a("Ch4/"),r=a("P9l9"),s={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"我的顾客",path:""}],tabListData:[{tabId:"1",tabName:"会员基础设置",icon:"iconjichushezhi",onlyIconActive:!1,children:[{tabId:"11",tabName:"会员展示设置",icon:""},{tabId:"12",tabName:"会员分组设置",icon:""},{tabId:"13",tabName:"会员搜索设置",icon:""},{tabId:"14",tabName:"会员详情设置",icon:""}]},{tabId:"2",tabName:"我的顾客列表",icon:"icongukeguanliicon"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,e={enterpriseId:t.activeBrand};Object(r.a)("/haoban-manage3-web/enterprise-is-over",e).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):t.expiredFlag=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"11":this.changeRoute("memberShowSet");break;case"12":this.changeRoute("memberGroupSet");break;case"13":this.changeRoute("memberSearchSet");break;case"14":this.changeRoute("memberDetailSet");break;case"2":this.changeRoute("myCustomerList")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})},changeNavShow:function(t){"/addGroupTemplate"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"我的顾客",path:"/memberShowSet"},{name:this.$route.query.templateId?"编辑模板":"新建模板",path:""}]:"/storeRangeSet"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"我的顾客",path:"/memberShowSet"},{name:"门店范围设置",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"我的顾客",path:""}]}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t},$route:{handler:function(t,e){this.changeNavShow(t)},deep:!0}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:c.a}},h={render: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}}),t._v(" "),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:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?a("expired-dialog"):t._e()],1)},staticRenderFns:[]};var d=a("VU/8")(s,h,!1,function(t){a("fr8y")},"data-v-4493fcff",null);e.default=d.exports},fr8y:function(t,e){}});
\ No newline at end of file
webpackJsonp([79],{ImbE:function(t,e){},X5LE:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Xxa5"),r=a.n(n),o=a("exGp"),s=a.n(o),i=a("Ch4/"),c=a("3E4D"),l=a("PI0u"),u=a("P9l9"),d={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",loading:!1,searchInput:"",tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},methods:{toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的卡券?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.coupCardId)}).catch(function(){})},delCardList:function(t){var e=this,a={gicEnterpriseId:e.brandId,coupCardId:t};Object(u.d)("/haoban-app-customer-web/cardCoupon/del-card-coup",a).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),e.currentPage=1,void e.getTableList(e.brandId);100013==a.errorCode&&(e.currentPage=1,e.getTableList(e.brandId)),i.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/newCard?coupCardId="+e.coupCardId)},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},toNewCard:function(){this.$router.push("/newCard")},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var t=this;return s()(r.a.mark(function e(){var a,n;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(a=t).loading=!0,n={gicEnterpriseId:a.brandId,search:a.searchInput||"",pageNum:a.currentPage,pageSize:a.pageSize},Object(u.d)("/haoban-app-customer-web/cardCoupon/find-card-page",n).then(function(t){var e=t.data;if(a.loading=!1,1==e.errorCode)return a.tableData=e.result.list||[],void(a.total=e.result.pageInfo.total);i.a.errorMsg(e)}).catch(function(t){a.loading=!1,a.$message.error({duration:1e3,message:t.message})});case 4:case"end":return e.stop()}},e,t)}))()}},mounted:function(){this.$emit("showTab","1"),this.brandId&&this.getTableList()}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入卡券名称",maxlength:"50",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.toNewCard}},[t._v("新增卡券")])],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("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.cardName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.cardType?a("span",[t._v("抵金券")]):t._e(),t._v(" "),1==e.row.cardType?a("span",[t._v("折扣券")]):t._e(),t._v(" "),2==e.row.cardType?a("span",[t._v("兑换券")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"有效期","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.effectDateString||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"库存"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(e.row.couponStock))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toEdit(e.$index,e.row)}}},[t._v("编辑")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toDel(e.$index,e.row)}}},[t._v("删除")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[]};var f=a("VU/8")(d,p,!1,function(t){a("ImbE")},"data-v-3d7f177a",null);e.default=f.exports}});
\ No newline at end of file
webpackJsonp([78],{ImbE:function(t,e){},X5LE:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Xxa5"),r=a.n(n),o=a("exGp"),s=a.n(o),i=a("Ch4/"),c=a("3E4D"),l=a("PI0u"),u=a("P9l9"),d={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",loading:!1,searchInput:"",tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},methods:{toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的卡券?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.coupCardId)}).catch(function(){})},delCardList:function(t){var e=this,a={gicEnterpriseId:e.brandId,coupCardId:t};Object(u.d)("/haoban-app-customer-web/cardCoupon/del-card-coup",a).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),e.currentPage=1,void e.getTableList(e.brandId);100013==a.errorCode&&(e.currentPage=1,e.getTableList(e.brandId)),i.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/newCard?coupCardId="+e.coupCardId)},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},toNewCard:function(){this.$router.push("/newCard")},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var t=this;return s()(r.a.mark(function e(){var a,n;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(a=t).loading=!0,n={gicEnterpriseId:a.brandId,search:a.searchInput||"",pageNum:a.currentPage,pageSize:a.pageSize},Object(u.d)("/haoban-app-customer-web/cardCoupon/find-card-page",n).then(function(t){var e=t.data;if(a.loading=!1,1==e.errorCode)return a.tableData=e.result.list||[],void(a.total=e.result.pageInfo.total);i.a.errorMsg(e)}).catch(function(t){a.loading=!1,a.$message.error({duration:1e3,message:t.message})});case 4:case"end":return e.stop()}},e,t)}))()}},mounted:function(){this.$emit("showTab","1"),this.brandId&&this.getTableList()}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入卡券名称",maxlength:"50",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.toNewCard}},[t._v("新增卡券")])],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("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.cardName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.cardType?a("span",[t._v("抵金券")]):t._e(),t._v(" "),1==e.row.cardType?a("span",[t._v("折扣券")]):t._e(),t._v(" "),2==e.row.cardType?a("span",[t._v("兑换券")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"有效期","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.effectDateString||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"库存"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(e.row.couponStock))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toEdit(e.$index,e.row)}}},[t._v("编辑")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toDel(e.$index,e.row)}}},[t._v("删除")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[]};var f=a("VU/8")(d,p,!1,function(t){a("ImbE")},"data-v-3d7f177a",null);e.default=f.exports}});
\ No newline at end of file
webpackJsonp([80],{e8rA:function(e,t){},jPcV:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"enterprise-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"enterprise-wrap__body"},[t("div",{staticClass:"content",attrs:{id:"content"}},[t("div",{staticClass:"content-body",style:{height:this.contentHeight}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(e){n("e8rA")},"data-v-3cef0f12",null);t.default=o.exports}});
\ No newline at end of file
webpackJsonp([79],{e8rA:function(e,t){},jPcV:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"enterprise-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"enterprise-wrap__body"},[t("div",{staticClass:"content",attrs:{id:"content"}},[t("div",{staticClass:"content-body",style:{height:this.contentHeight}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(e){n("e8rA")},"data-v-3cef0f12",null);t.default=o.exports}});
\ No newline at end of file
webpackJsonp([82],{XrL3:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=e("3E4D"),o=e("Ch4/"),n=e("PI0u"),r=e("P9l9"),l={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",myCustomData:{salesGoodsFlag:!1,notSalesGoodsFlag:!1,showPriceFlag:!1},activeId:"1",loading:!1}},methods:{submit:Object(n.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var a=this,e={enterpriseId:a.brandId,salesGoodsFlag:a.myCustomData.salesGoodsFlag?1:"0",notSalesGoodsFlag:a.myCustomData.notSalesGoodsFlag?1:"0",showPriceFlag:a.myCustomData.showPriceFlag?1:"0"};Object(r.d)("/haoban-app-aggregation-web/save-goods-setting",e).then(function(t){var e=t.data;a.loading=!1,a.getCustomerSet(),1!=e.errorCode?o.a.errorMsg(e):s.a.showmsg("保存成功","success")}).catch(function(t){a.loading=!1,a.$message.error({duration:1e3,message:t.message})})},getCustomerSet:function(t){var a=this,e={enterpriseId:a.brandId,wxEnterpriseRelatedId:a.wxEnterpriseRelatedId};Object(r.d)("/haoban-app-aggregation-web/find-goods-setting",e).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):e.result&&(a.myCustomData.salesGoodsFlag=1==e.result.salesGoodsFlag,a.myCustomData.notSalesGoodsFlag=1==e.result.notSalesGoodsFlag,a.myCustomData.showPriceFlag=1==e.result.showPriceFlag)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,a){t&&this.getCustomerSet(this.brandId)}},mounted:function(){this.$emit("showTab","1"),this.brandId&&this.getCustomerSet(this.brandId)},components:{}},i={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"app-detail-wrap"},[e("div",{staticClass:"app-detail-pane border-box p-20"},[e("div",{staticClass:"m-b-20"},[e("span",{staticClass:"font-14 p-r-10"},[t._v("商品展示:")]),t._v(" "),e("el-checkbox",{model:{value:t.myCustomData.salesGoodsFlag,callback:function(a){t.$set(t.myCustomData,"salesGoodsFlag",a)},expression:"myCustomData.salesGoodsFlag"}},[t._v("已上架商品")]),e("el-checkbox",{model:{value:t.myCustomData.notSalesGoodsFlag,callback:function(a){t.$set(t.myCustomData,"notSalesGoodsFlag",a)},expression:"myCustomData.notSalesGoodsFlag"}},[t._v("未上架商品")])],1),t._v(" "),e("div",[e("el-switch",{model:{value:t.myCustomData.showPriceFlag,callback:function(a){t.$set(t.myCustomData,"showPriceFlag",a)},expression:"myCustomData.showPriceFlag"}}),e("span",{staticClass:"font-14 color-303133 p-l-10"},[t._v("商品详情屏蔽价格")]),e("span",{staticClass:"font-12 color-909399 p-l-10"},[t._v("注:开启后,商品列表及商品详情中会屏蔽价格字段。关闭后显示价格。")])],1),t._v(" "),e("div",{staticClass:"m-t-46"},[e("el-button",{attrs:{type:"primary",loading:t.loading},on:{click:function(a){return t.submit("searchFlag")}}},[t._v("保 存")])],1)])])},staticRenderFns:[]};var d=e("VU/8")(l,i,!1,function(t){e("bie1")},"data-v-342017ba",null);a.default=d.exports},bie1:function(t,a){}});
\ No newline at end of file
webpackJsonp([81],{XrL3:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=e("3E4D"),o=e("Ch4/"),n=e("PI0u"),r=e("P9l9"),l={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",myCustomData:{salesGoodsFlag:!1,notSalesGoodsFlag:!1,showPriceFlag:!1},activeId:"1",loading:!1}},methods:{submit:Object(n.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var a=this,e={enterpriseId:a.brandId,salesGoodsFlag:a.myCustomData.salesGoodsFlag?1:"0",notSalesGoodsFlag:a.myCustomData.notSalesGoodsFlag?1:"0",showPriceFlag:a.myCustomData.showPriceFlag?1:"0"};Object(r.d)("/haoban-app-aggregation-web/save-goods-setting",e).then(function(t){var e=t.data;a.loading=!1,a.getCustomerSet(),1!=e.errorCode?o.a.errorMsg(e):s.a.showmsg("保存成功","success")}).catch(function(t){a.loading=!1,a.$message.error({duration:1e3,message:t.message})})},getCustomerSet:function(t){var a=this,e={enterpriseId:a.brandId,wxEnterpriseRelatedId:a.wxEnterpriseRelatedId};Object(r.d)("/haoban-app-aggregation-web/find-goods-setting",e).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):e.result&&(a.myCustomData.salesGoodsFlag=1==e.result.salesGoodsFlag,a.myCustomData.notSalesGoodsFlag=1==e.result.notSalesGoodsFlag,a.myCustomData.showPriceFlag=1==e.result.showPriceFlag)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,a){t&&this.getCustomerSet(this.brandId)}},mounted:function(){this.$emit("showTab","1"),this.brandId&&this.getCustomerSet(this.brandId)},components:{}},i={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"app-detail-wrap"},[e("div",{staticClass:"app-detail-pane border-box p-20"},[e("div",{staticClass:"m-b-20"},[e("span",{staticClass:"font-14 p-r-10"},[t._v("商品展示:")]),t._v(" "),e("el-checkbox",{model:{value:t.myCustomData.salesGoodsFlag,callback:function(a){t.$set(t.myCustomData,"salesGoodsFlag",a)},expression:"myCustomData.salesGoodsFlag"}},[t._v("已上架商品")]),e("el-checkbox",{model:{value:t.myCustomData.notSalesGoodsFlag,callback:function(a){t.$set(t.myCustomData,"notSalesGoodsFlag",a)},expression:"myCustomData.notSalesGoodsFlag"}},[t._v("未上架商品")])],1),t._v(" "),e("div",[e("el-switch",{model:{value:t.myCustomData.showPriceFlag,callback:function(a){t.$set(t.myCustomData,"showPriceFlag",a)},expression:"myCustomData.showPriceFlag"}}),e("span",{staticClass:"font-14 color-303133 p-l-10"},[t._v("商品详情屏蔽价格")]),e("span",{staticClass:"font-12 color-909399 p-l-10"},[t._v("注:开启后,商品列表及商品详情中会屏蔽价格字段。关闭后显示价格。")])],1),t._v(" "),e("div",{staticClass:"m-t-46"},[e("el-button",{attrs:{type:"primary",loading:t.loading},on:{click:function(a){return t.submit("searchFlag")}}},[t._v("保 存")])],1)])])},staticRenderFns:[]};var d=e("VU/8")(l,i,!1,function(t){e("bie1")},"data-v-342017ba",null);a.default=d.exports},bie1:function(t,a){}});
\ No newline at end of file
webpackJsonp([84],{OyrP:function(t,a){},qSX4:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("bzW+"),i=e("Qie6"),o=e("Z8ln"),c=e("Ch4/"),r=e("P9l9"),s={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"指标管理",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"指标管理",path:""}],tabListData:[{tabId:"1",tabName:"月指标",icon:"iconzhibiao"},{tabId:"2",tabName:"月指标任务",icon:"iconrenwu"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(r.a)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?c.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("monthList");break;case"2":this.changeRoute("monthTask")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})},changeNavShow:function(t){"/storeMonthTask"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"},{name:"门店月指标",path:""}]:"/salerMonthDetail"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"},{name:"门店月指标",path:"storeMonthTask?yearMonth="+this.$route.query.yearMonth},{name:"导购月指标详情",path:""}]:"/companyDaySet"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"},{name:"商户日权重",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:""}]}},watch:{$route:{handler:function(t,a){this.changeNavShow(t)},deep:!0},activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:o.a}},h={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?e("keep-alive",[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1):e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var d=e("VU/8")(s,h,!1,function(t){e("OyrP")},"data-v-2e8d3326",null);a.default=d.exports}});
\ No newline at end of file
webpackJsonp([83],{OyrP:function(t,a){},qSX4:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("bzW+"),i=e("Qie6"),o=e("Z8ln"),c=e("Ch4/"),r=e("P9l9"),s={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"指标管理",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"指标管理",path:""}],tabListData:[{tabId:"1",tabName:"月指标",icon:"iconzhibiao"},{tabId:"2",tabName:"月指标任务",icon:"iconrenwu"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(r.a)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?c.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("monthList");break;case"2":this.changeRoute("monthTask")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})},changeNavShow:function(t){"/storeMonthTask"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"},{name:"门店月指标",path:""}]:"/salerMonthDetail"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"},{name:"门店月指标",path:"storeMonthTask?yearMonth="+this.$route.query.yearMonth},{name:"导购月指标详情",path:""}]:"/companyDaySet"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"},{name:"商户日权重",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:""}]}},watch:{$route:{handler:function(t,a){this.changeNavShow(t)},deep:!0},activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:o.a}},h={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?e("keep-alive",[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1):e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var d=e("VU/8")(s,h,!1,function(t){e("OyrP")},"data-v-2e8d3326",null);a.default=d.exports}});
\ No newline at end of file
webpackJsonp([85],{IhEL:function(t,e){},cD4x:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Xxa5"),r=a.n(n),i=a("exGp"),o=a.n(i),s=a("Ch4/"),c=a("3E4D"),l=a("PI0u"),u=a("P9l9"),d={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",loading:!1,searchInput:"",tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},methods:{toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的补发卡券?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.repairId)}).catch(function(){})},delCardList:function(t){var e=this,a={repairId:t};Object(u.d)("/haoban-app-customer-web/inner/delete-repair",a).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList(e.brandId);s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/newCardPut?repairId="+e.repairId)},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},toNewCard:function(){this.$router.push("/newCardPut")},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var t=this;return o()(r.a.mark(function e(){var a,n;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(a=t).loading=!1,n={wxEnterpriseId:a.wxEnterpriseId,pageNum:a.currentPage,pageSize:a.pageSize},Object(u.d)("/haoban-app-customer-web/inner/page-repair",n).then(function(t){var e=t.data;if(a.loading=!1,1==e.errorCode)return a.tableData=e.result.result||[],void(a.total=e.result.totalCount);s.a.errorMsg(e)}).catch(function(t){a.loading=!1,a.$message.error({duration:1e3,message:t.message})});case 4:case"end":return e.stop()}},e,t)}))()}},mounted:function(){this.$emit("showTab","3"),this.getTableList()}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[t._m(0),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.toNewCard}},[t._v("新增补发")])],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 0px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("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.cardCombineName)+"\n ")]}}])}),t._v(" "),a("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.cardTemplates)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toEdit(e.$index,e.row)}}},[t._v("查看")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toDel(e.$index,e.row)}}},[t._v("删除")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("span",{staticClass:"font-12 color-909399 p-l-10 font-w-300"},[this._v("内购券投放是针对卡券策略中没有下发的内购券,针对员工进行补发")])])}]};var g=a("VU/8")(d,p,!1,function(t){a("IhEL")},"data-v-2e38753d",null);e.default=g.exports}});
\ No newline at end of file
webpackJsonp([84],{IhEL:function(t,e){},cD4x:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Xxa5"),r=a.n(n),i=a("exGp"),o=a.n(i),s=a("Ch4/"),c=a("3E4D"),l=a("PI0u"),u=a("P9l9"),d={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",loading:!1,searchInput:"",tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},methods:{toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的补发卡券?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.repairId)}).catch(function(){})},delCardList:function(t){var e=this,a={repairId:t};Object(u.d)("/haoban-app-customer-web/inner/delete-repair",a).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList(e.brandId);s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/newCardPut?repairId="+e.repairId)},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},toNewCard:function(){this.$router.push("/newCardPut")},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var t=this;return o()(r.a.mark(function e(){var a,n;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(a=t).loading=!1,n={wxEnterpriseId:a.wxEnterpriseId,pageNum:a.currentPage,pageSize:a.pageSize},Object(u.d)("/haoban-app-customer-web/inner/page-repair",n).then(function(t){var e=t.data;if(a.loading=!1,1==e.errorCode)return a.tableData=e.result.result||[],void(a.total=e.result.totalCount);s.a.errorMsg(e)}).catch(function(t){a.loading=!1,a.$message.error({duration:1e3,message:t.message})});case 4:case"end":return e.stop()}},e,t)}))()}},mounted:function(){this.$emit("showTab","3"),this.getTableList()}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[t._m(0),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.toNewCard}},[t._v("新增补发")])],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 0px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("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.cardCombineName)+"\n ")]}}])}),t._v(" "),a("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.cardTemplates)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toEdit(e.$index,e.row)}}},[t._v("查看")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toDel(e.$index,e.row)}}},[t._v("删除")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("span",{staticClass:"font-12 color-909399 p-l-10 font-w-300"},[this._v("内购券投放是针对卡券策略中没有下发的内购券,针对员工进行补发")])])}]};var g=a("VU/8")(d,p,!1,function(t){a("IhEL")},"data-v-2e38753d",null);e.default=g.exports}});
\ No newline at end of file
webpackJsonp([87],{CTf4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"enterprise-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"enterprise-wrap__body"},[t("div",{staticClass:"content",attrs:{id:"content"}},[t("div",{staticClass:"content-body"},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(e){n("h3MC")},null,null);t.default=i.exports},h3MC:function(e,t){}});
\ No newline at end of file
webpackJsonp([86],{CTf4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"enterprise-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"enterprise-wrap__body"},[t("div",{staticClass:"content",attrs:{id:"content"}},[t("div",{staticClass:"content-body"},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(e){n("h3MC")},null,null);t.default=i.exports},h3MC:function(e,t){}});
\ No newline at end of file
webpackJsonp([89],{cfec:function(t,e){},mjMK:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),s=a("P9l9"),i=a("Ch4/"),r={name:"authMerchant",data:function(){return{bgHeight:window.screen.availHeight-104+"px",navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/contactsList"},{name:"授权商户",path:""}],loading:!0,currentPage:1,pageSize:20,total:0,tableData:[],addShow:!1}},computed:{},methods:{AddAuthMerchant:function(t){t.enterpriseId?this.changeRoute("authMerchantForm?enterprise="+t.enterpriseId):this.changeRoute("authMerchantForm")},refreshData:function(t){if(this.addShow=!1,"close"==t)return!1;this.getTableList()},changeRoute:function(t){this.$router.push(t)},toStoreList:function(t){this.changeRoute("merchantStoreList?enterprise="+t.enterpriseId)},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(t){var e=this;e.loading=!0;Object(s.a)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(t){var a=t.data;if(1==a.errorCode)return e.loading=!1,e.tableData=a.result||[],!1;i.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},refreshStoreBind:function(t){var e=this;e.$confirm("确认要刷新吗?","",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.loading=!0;var a={enterpriseId:t.enterpriseId};Object(s.a)("/haoban-manage3-web/flush-bind-store-list",a).then(function(t){e.loading=!1;var a=t.data;if(1==a.errorCode)return e.$message.success({duration:1e3,message:"刷新成功"}),!1;i.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}).catch(function(){})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a}},o={render: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}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"flex flex-space-between flex-align-center"},[t._m(0),t._v(" "),a("div",[a("span",{staticClass:"color-909399 font-13 m-r-19"},[t._v("最多授权 10 个商户")]),t.tableData.length<10?a("el-button",{attrs:{type:"primary"},on:{click:t.AddAuthMerchant}},[t._v("新建授权")]):t._e()],1)]),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"审核事项","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"ul-li-cell flex"},[a("div",{staticClass:"cell-img"},[a("img",{attrs:{src:e.row.enterpriseLogo,alt:"img"}})]),t._v(" "),a("div",{staticClass:"cell-info"},[a("div",{staticClass:"cell-info-name flex font-14 color-303133"},[a("span",{staticClass:"gic-name color-606266"},[t._v(t._s(e.row.enterpriseName||"--"))]),a("span",{staticClass:"gic-version color-606266"},[t._v(t._s(e.row.version||"3.0"))])]),t._v(" "),a("div",{staticClass:"cell-info-name flex font-14 color-606266"},[a("span",{staticClass:"gic-name"},[t._v(t._s(e.row.brandName||"--"))])])])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"color-606266"},[t._v(t._s(e.row.staffName||"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-18 color-606266"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-18 color-606266"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.AddAuthMerchant(e.row)}}},[t._v("编辑授权设置")]),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.toStoreList(e.row)}}},[t._v("绑定门店列表")]),t._v(" "),a("el-button",{attrs:{slot:"reference",type:"text",size:"small"},on:{click:function(a){return t.refreshStoreBind(e.row)}},slot:"reference"},[t._v("刷新门店")])]}}])})],1)],1)])])])])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"overstore-tip"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-center",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-warning font-13 color-2f54eb"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title color-303133 font-13"},[this._v("绑定门店:绑定门店拥有门店资源管理权限。能查看数据,绑定导购账号,管理门店等。")]),this._v(" "),e("p",{staticClass:"el-alert__title color-303133 font-13"},[this._v("刷新门店:编辑或修改绑定门店范围,手动刷新获取最近门店列表。")])])])])}]};var l=a("VU/8")(r,o,!1,function(t){a("cfec")},"data-v-1bbc6388",null);e.default=l.exports}});
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},f={102:0};function d(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=f[e]=[a,d]});c[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"f4a600c1698b4db27837",1:"80ec7107adf684998411",2:"b9c5d4ff8e24e94cfa33",3:"71289dfc436f4e6b0672",4:"b8702b2c9b9d57e756ab",5:"1ddf59e2f4b25bb7a88e",6:"649d63c7e2d6bf6e55fb",7:"6363571072274ae79c6c",8:"032144a64aabd8a1456f",9:"715aa642523c833b2803",10:"9c1787439657c4317d06",11:"dee0d46f4db350ec2bb7",12:"55c2d219a783d05ec76e",13:"44f89ebe5ffed1d60ca5",14:"f83f27e744f45ce79261",15:"f6ea00918b55848f0650",16:"e1f4c3104355b9d9b7a6",17:"a4ca74aef34e27c5cef8",18:"63080d8ad84dd075f58a",19:"7e9c036c00f085735ce4",20:"4bf088d10b41f7fa3468",21:"a2e3d05b0875576203b0",22:"373f09ad2411fac82d01",23:"2fdd52618d1df5eaaf82",24:"97081c29457ab8c9f848",25:"53270642e9a6c0439812",26:"9851a72754973adc65cb",27:"545947e11a00565ce9cc",28:"5588faf7dd1a48d53c9f",29:"cae77e6ee839398a01ad",30:"f040b2abfc4803f10e38",31:"5b5031fb2f22a3d34e35",32:"624b265b03a402e1710f",33:"19432b5a56e1286e2918",34:"5ec202078d1a2d356535",35:"5c1b9708baa993686c46",36:"deb49e9f768aed9d6da8",37:"803f53b66c4fb091e086",38:"47244e611bf46cbde220",39:"0b0908b1bd50800fc6af",40:"f0af54d2bd4734f497c2",41:"622ea41858dfd53f60bd",42:"eb9f5a0f899172b5a14f",43:"f78f5e669efff39c7884",44:"6735568b83cc45c16117",45:"ff2159fa68f3bc7f537b",46:"046091a81c65f31cca07",47:"fd1a33a0a70a4cd06db1",48:"4760ddceb57af73e0a91",49:"4c2735d786976cdc34e1",50:"14f45c9d88e1c733d539",51:"51bad676a11cc6df4d7e",52:"7e2460e6eb686c63f790",53:"8993da6d7ff709439761",54:"9a0211ec43cd2892b0c2",55:"5d2f2d20bc7c6498a9ef",56:"c3d0e60f1b32e4b17442",57:"ebe7791c87e83f0b2cee",58:"e4a406d1869812024f11",59:"e5b286b38e1cbd45c810",60:"e4885006e7d0f25ce259",61:"80c9b99a09975d3b709a",62:"82463de56b27b3931ad1",63:"049efae24a1ce59a4aae",64:"9296449a6ebb17339ca9",65:"23b46c863b8292a0f21a",66:"964a14bbbd11979a9f10",67:"b033e6863d32e9c62e57",68:"6ad21413a503f58882dd",69:"85a538c578a97c490811",70:"eda7a2dffc900d51d864",71:"b9dda9056e82e4187e86",72:"6ecaafb4bcdf06ac310d",73:"995c35b64d50c823cfbb",74:"fe2e6061141a5314f0e6",75:"dc41dfc28339540f7617",76:"7542cedc5c106bd8047b",77:"632fc7ad4e783c2e830c",78:"9441f4ef8e997e867c44",79:"d3d476ebbc06278aabe6",80:"cf95a6c2ed13b24f37c2",81:"baead8c4685626f030bc",82:"7daf1da09932336ff51f",83:"d8d930b0866e47066d3c",84:"002db9f2cd4834518be9",85:"a4e40f0e236b61209077",86:"26924b4a675763780a27",87:"f05750f4be735d794fa5",88:"b55653625727f9fd195c",89:"c1206bde14ea53da5650",90:"76d83151e4c5325cd71d",91:"64ad30b4854f335b1896",92:"d906979e27a448b1d67a",93:"0c4dedfa20a5cbc8531f",94:"a84fdd63f0377c559814",95:"ab013459fd554d5bac03",96:"6c6eb5ef6172208c1d1b",97:"5363440da82f7efcf921",98:"7ae077b5b4240759662e",99:"9160821acc625f48bcaa"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var f=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],c[t]&&u.push(c[t][0]),c[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(f&&f(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},c={102:0};function d(f){if(a[f])return a[f].exports;var c=a[f]={i:f,l:!1,exports:{}};return e[f].call(c.exports,c,c.exports,d),c.l=!0,c.exports}d.e=function(e){var f=c[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var a=new Promise(function(a,d){f=c[e]=[a,d]});f[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"f4a600c1698b4db27837",1:"80ec7107adf684998411",2:"b9c5d4ff8e24e94cfa33",3:"71289dfc436f4e6b0672",4:"b8702b2c9b9d57e756ab",5:"b6610e85644e9d13734d",6:"649d63c7e2d6bf6e55fb",7:"6363571072274ae79c6c",8:"c0786041d899eebcd058",9:"66cf7ffe060b7ae99a7f",10:"788c80cb220e3c60225b",11:"f2f806b4a71ef13436f4",12:"55c2d219a783d05ec76e",13:"44f89ebe5ffed1d60ca5",14:"f83f27e744f45ce79261",15:"f6ea00918b55848f0650",16:"e1f4c3104355b9d9b7a6",17:"a4ca74aef34e27c5cef8",18:"63080d8ad84dd075f58a",19:"7e9c036c00f085735ce4",20:"4bf088d10b41f7fa3468",21:"a2e3d05b0875576203b0",22:"373f09ad2411fac82d01",23:"2fdd52618d1df5eaaf82",24:"97081c29457ab8c9f848",25:"53270642e9a6c0439812",26:"9851a72754973adc65cb",27:"545947e11a00565ce9cc",28:"5588faf7dd1a48d53c9f",29:"818b853fa4a4a09d1c8a",30:"732fda005e09a97764e5",31:"1be102b0dae2e3baa399",32:"624b265b03a402e1710f",33:"19432b5a56e1286e2918",34:"5ec202078d1a2d356535",35:"5c1b9708baa993686c46",36:"deb49e9f768aed9d6da8",37:"803f53b66c4fb091e086",38:"47244e611bf46cbde220",39:"0b0908b1bd50800fc6af",40:"f0af54d2bd4734f497c2",41:"622ea41858dfd53f60bd",42:"eb9f5a0f899172b5a14f",43:"f78f5e669efff39c7884",44:"6735568b83cc45c16117",45:"ff2159fa68f3bc7f537b",46:"046091a81c65f31cca07",47:"fd1a33a0a70a4cd06db1",48:"4760ddceb57af73e0a91",49:"4c2735d786976cdc34e1",50:"14f45c9d88e1c733d539",51:"51bad676a11cc6df4d7e",52:"7e2460e6eb686c63f790",53:"8993da6d7ff709439761",54:"9a0211ec43cd2892b0c2",55:"5d2f2d20bc7c6498a9ef",56:"c3d0e60f1b32e4b17442",57:"ebe7791c87e83f0b2cee",58:"e4a406d1869812024f11",59:"e5b286b38e1cbd45c810",60:"e4885006e7d0f25ce259",61:"80c9b99a09975d3b709a",62:"82463de56b27b3931ad1",63:"049efae24a1ce59a4aae",64:"9296449a6ebb17339ca9",65:"23b46c863b8292a0f21a",66:"964a14bbbd11979a9f10",67:"b033e6863d32e9c62e57",68:"6ad21413a503f58882dd",69:"85a538c578a97c490811",70:"3344d3d1f3a939c521fb",71:"cb286317afebdf0f7326",72:"abca2840c86fbb40a3e0",73:"ff87a92f920d49a60799",74:"fc704c592f3e9bf698c1",75:"5e8fff71db4c418d0b8c",76:"284ba4d927a84441ef1e",77:"c2319f721d42fb9425b0",78:"1b13025b5c4a6a2e9033",79:"f5a68ff4eb019b7ed3f8",80:"3af9d9bd890bec3861f6",81:"86fbc0116c8af50ebff3",82:"216cf362684baf01006f",83:"196451da75cd883494c3",84:"e2ee8aa0777337944de3",85:"dc42e7b3a4afea89ec20",86:"009acc0cb0d2651e47c0",87:"c7db658d6259bb2d624d",88:"fd6bad63f68d51d230c2",89:"d6434ab6f216aae5def5",90:"76d83151e4c5325cd71d",91:"64ad30b4854f335b1896",92:"d906979e27a448b1d67a",93:"0c4dedfa20a5cbc8531f",94:"a84fdd63f0377c559814",95:"ab013459fd554d5bac03",96:"6c6eb5ef6172208c1d1b",97:"5363440da82f7efcf921",98:"7ae077b5b4240759662e",99:"9160821acc625f48bcaa"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var f=c[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,f,a){d.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(f,"a",f),f},d.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
This diff is collapsed. Click to expand it.
......@@ -10,6 +10,7 @@
选择门店分组组件:
<gic-select-group
:selectData="selectData"
:checkedList="checkedList"
@checkGroupIds="checkGroupIds">
</gic-select-group>
......
......@@ -11,11 +11,11 @@
import appSet from '@/components/set/app-set.vue';
-->
<template>
<el-dialog :title="editRow.type === 'edit' ? '编辑' : '新建'" :visible.sync="dialogVisible" width="600px" :before-close="handleClose">
<el-dialog :title="editRow.type === 'edit' ? '编辑' : '获取小程序'" :visible.sync="dialogVisible" width="600px" :before-close="handleClose">
<div class="">
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px" class="demo-ruleForm">
<el-form-item label="授权商户" prop="enterpriseId">
<el-select v-model="ruleForm.enterpriseId" placeholder="请选择授权商户">
<el-select v-model="ruleForm.enterpriseId" placeholder="请选择授权商户" :disabled="editRow.type === 'edit'" @change="chooseEnterprise">
<el-option v-for="item in options" :key="item.value" :label="item.enterpriseName" :value="item.enterpriseId"> </el-option>
</el-select>
</el-form-item>
......@@ -36,7 +36,7 @@
</div>
<div slot="footer" class="dialog-footer">
<el-button @click="toCancel">取消</el-button>
<el-button type="primary" @click="submitForm('ruleForm')">{{ editRow.type === 'edit' ? '保存' : '新建' }}</el-button>
<el-button type="primary" @click="submitForm('ruleForm')">{{ editRow.type === 'edit' ? '保存' : '确定' }}</el-button>
</div>
</el-dialog>
</template>
......@@ -129,7 +129,7 @@ export default {
getTableList(val) {
const that = this;
let para = {};
getRequest('/haoban-manage3-web/wx-enterprise-list', para)
getRequest('/haoban-manage3-web/wxa-enterprise-list', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
......@@ -144,6 +144,14 @@ export default {
message: error.message
});
});
},
chooseEnterprise(val) {
const that = this;
const item = that.options.filter(item => item.enterpriseId === val)[0];
that.ruleForm.miniprogramName = item.miniprogramName;
that.ruleForm.appId = item.appId;
that.ruleForm.title = item.title;
that.ruleForm.imageUrl = item.imageUrl;
}
},
watch: {
......
......@@ -71,7 +71,8 @@
</p>
</el-form-item>
<el-form-item label="企业类型"> <el-radio v-model="partForm.wxEnterpriseType" :label="0" :disabled="type === 'edit'">总部</el-radio> <el-radio v-model="partForm.wxEnterpriseType" :label="1" :disabled="type === 'edit'">代理</el-radio> </el-form-item>
<el-button type="primary" style="display:block;margin:38px 0 0 128px;" @click="addShow = true">授权校验并{{ type === 'edit' ? '保存' : '新建' }}</el-button>
<el-button type="primary" style="display:block;margin:38px 0 0 128px;" @click="addShow = true" :disabled="!(enterpriseId && partForm.storeGroup.length)">授权校验并{{ type === 'edit' ? '保存' : '新建' }}</el-button>
{{ partForm.storeGroup }}
</el-form>
</div>
</div>
......@@ -298,6 +299,7 @@ export default {
this.getCompanyName();
if (this.$route.query.enterprise) {
this.type = 'edit';
this.enterpriseId = this.$route.query.enterprise;
this.getDeatil(this.$route.query.enterprise);
} else {
this.type = 'add';
......
......@@ -23,7 +23,7 @@
</div>
</div>
</div>
<div><span class="color-909399 font-13 m-r-19">最多授权 10 个商户</span><el-button type="primary" @click="AddAuthMerchant">新建授权</el-button></div>
<div><span class="color-909399 font-13 m-r-19">最多授权 10 个商户</span><el-button v-if="tableData.length < 10" type="primary" @click="AddAuthMerchant">新建授权</el-button></div>
</div>
<div class="m-t-20">
<el-table class="select-table" ref="multipleTable" v-loading="loading" :data="tableData" tooltip-effect="dark" :style="{ width: '100%', minHeight: tableH }">
......
......@@ -124,7 +124,10 @@
</div>
</div>
<div class="company-set-content border-box">
<div class="company-title m-b-20 m-t-30"><span class="color-303133 font-14 font-w-600">小程序添加</span></div>
<div class="company-title m-b-20 m-t-26 flex flex-space-between flex-align-center">
<p class="color-303133 font-14 font-w-600">小程序添加</p>
<el-button type="primary" @click="addApp">获取小程序</el-button>
</div>
<div class="company-info-body">
<div class="table-cell m-t-10">
<el-table class="no-empty-icon-table" ref="multipleTable" :data="appTableData" tooltip-effect="dark" :style="{ width: '100%', minHeight: tableH }">
......
......@@ -10,11 +10,12 @@
<div class="login-wrap">
<section>
<div class="login-body-head border-box flex">
<img class="login-body-logo" src="../../assets/logo.png" alt="logo" />
<span class="login-body-title">好办管理后台</span>
<img class="login-body-logo" src="../../assets/logo-text.png" alt="logo" />
</div>
<div class="login-body">
<el-carousel arrow="always" height="262px" :autoplay="false" @change="changeEnterprise">
<i class="iconfont iconpre" @click="arrowClick('left')"></i>
<i class="iconfont iconnext" @click="arrowClick('right')"></i>
<el-carousel arrow="never" ref="cardShow" height="262px" indicator-position="none" :autoplay="false" @change="changeEnterprise">
<el-carousel-item v-for="item in enterpriseList" :key="item.wxEnterpriseId">
<div class="info flex">
<p class="info_img"><img :src="item.corpSquareLogoUrl" alt="" /></p>
......@@ -88,6 +89,10 @@ export default {
let resData = res.data;
if (resData.errorCode == 1) {
this.enterpriseList = resData.result;
if (resData.result.length === 1) {
this.toLogin();
return;
}
return;
}
errMsg.errorMsg(resData);
......@@ -98,6 +103,13 @@ export default {
message: error.message
});
});
},
arrowClick(val) {
if (val === 'right') {
this.$refs.cardShow.next();
} else {
this.$refs.cardShow.prev();
}
}
},
mounted() {
......@@ -118,14 +130,15 @@ export default {
min-height: 100vh;
padding-top: 178px;
box-sizing: border-box;
background-image: linear-gradient(180deg, rgba(142, 166, 236, 0.11) 0%, rgba(142, 166, 236, 0) 100%);
background: url('../../assets/BG.png') no-repeat;
background-size: cover;
.login-body-head {
justify-content: center;
align-items: center;
margin-bottom: 34px;
.login-body-logo {
width: 26px;
height: 32px;
margin-right: 13px;
}
.login-body-title {
......@@ -136,20 +149,34 @@ export default {
}
}
.login-body {
position: relative;
width: 430px;
height: 283px;
background: #ffffff;
box-shadow: 0px 6px 8px 0px rgba(215, 218, 231, 0.49);
border-radius: 8px;
margin: 0 auto;
>>> .el-carousel__indicators {
display: none;
.iconfont {
position: absolute;
top: 116px;
z-index: 4;
font-size: 30px;
color: #ebecf0;
}
.iconpre {
left: 26px;
}
.iconnext {
right: 30px;
}
.info {
padding-top: 70px;
flex-direction: column;
align-items: center;
.info_img {
display: flex;
justify-content: center;
align-items: center;
width: 46px;
height: 46px;
border-radius: 100%;
......@@ -175,6 +202,7 @@ export default {
margin: 0 auto;
width: 281px;
height: 40px;
font-size: 16px;
background: #2f54eb;
border-radius: 2px;
}
......
......@@ -32,6 +32,18 @@
<ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont">&#xe641;</span>
<div class="name">pre</div>
<div class="code-name">&amp;#xe641;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe640;</span>
<div class="name">next</div>
<div class="code-name">&amp;#xe640;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe60d;</span>
<div class="name">欢迎辞</div>
<div class="code-name">&amp;#xe60d;</div>
......@@ -478,6 +490,24 @@
<ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont iconpre"></span>
<div class="name">
pre
</div>
<div class="code-name">.iconpre
</div>
</li>
<li class="dib">
<span class="icon iconfont iconnext"></span>
<div class="name">
next
</div>
<div class="code-name">.iconnext
</div>
</li>
<li class="dib">
<span class="icon iconfont iconhuanyingci"></span>
<div class="name">
欢迎辞
......@@ -1102,6 +1132,22 @@
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconpre"></use>
</svg>
<div class="name">pre</div>
<div class="code-name">#iconpre</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconnext"></use>
</svg>
<div class="name">next</div>
<div class="code-name">#iconnext</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconhuanyingci"></use>
</svg>
<div class="name">欢迎辞</div>
......
No preview for this file type
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -6,6 +6,20 @@
"description": "",
"glyphs": [
{
"icon_id": "21128396",
"name": "pre",
"font_class": "pre",
"unicode": "e641",
"unicode_decimal": 58945
},
{
"icon_id": "21128379",
"name": "next",
"font_class": "next",
"unicode": "e640",
"unicode_decimal": 58944
},
{
"icon_id": "9702150",
"name": "欢迎辞",
"font_class": "huanyingci",
......
......@@ -20,6 +20,12 @@ Created by iconfont
/>
<missing-glyph />
<glyph glyph-name="pre" unicode="&#58945;" d="M512 876.544c-272.384 0-492.544-220.16-492.544-492.544s220.672-492.544 492.544-492.544 492.544 220.672 492.544 492.544-220.16 492.544-492.544 492.544zM431.104 587.776c11.776-12.288 12.288-31.232 0.512-43.008L309.248 422.4h480.256c16.896 0 30.208-13.824 30.208-30.72s-13.312-30.72-30.208-30.72H307.2l123.904-123.904c11.776-11.776 11.776-31.232-0.512-43.008-12.288-11.776-31.232-12.288-43.008-0.512l-175.104 174.592c-6.144 6.144-9.216 14.336-8.704 22.528v1.024 0.512c0 2.048 0 3.584 0.512 5.632 0 0.512 0 0.512 0.512 1.024l1.536 4.608c0.512 1.024 1.024 1.536 1.024 2.048l1.536 3.072c1.536 2.048 3.072 3.584 4.608 5.632l174.08 174.08c11.776 11.264 31.232 11.264 43.52-0.512z" horiz-adv-x="1024" />
<glyph glyph-name="next" unicode="&#58944;" d="M19.456 384c0-272.384 220.672-492.544 492.544-492.544s492.544 220.672 492.544 492.544-220.16 492.544-492.544 492.544S19.456 656.384 19.456 384z m616.96 203.776l174.08-174.08c1.536-1.536 3.072-3.584 4.608-5.632l1.536-3.072c0.512-0.512 1.024-1.536 1.024-2.048l1.536-4.608c0-0.512 0-0.512 0.512-1.024 0.512-2.048 0.512-3.584 0.512-5.632V390.144c0.512-8.192-2.56-16.384-8.704-22.528l-175.104-174.592c-11.776-11.776-31.232-11.776-43.008 0.512-12.288 11.776-12.288 31.232-0.512 43.008l123.904 123.904H234.496c-16.896 0-30.208 13.824-30.208 30.72s13.312 30.72 30.208 30.72h480.256l-121.856 121.856c-11.776 11.776-11.776 31.232 0.512 43.008 11.776 12.8 31.232 12.8 43.008 1.024z" horiz-adv-x="1024" />
<glyph glyph-name="huanyingci" unicode="&#58893;" d="M378.119626 229.885971c-1.985498-16.313832-16.682275-27.914666-32.837472-25.918933-16.144962 2.005967-27.628099 16.866496-25.647718 33.190563l31.911247 262.730479c1.985498 16.324067 16.687392 27.9249 32.837472 25.924051 16.144962-2.011084 27.628099-16.866496 25.642601-33.190564l-31.90613-262.735596zM557.899284 229.885971c-1.98038-16.313832-16.687392-27.914666-32.832355-25.918933-16.144962 2.005967-27.622982 16.866496-25.642601 33.190563l31.90613 262.730479c1.98038 16.324067 16.687392 27.9249 32.832355 25.924051 16.155197-2.011084 27.633216-16.866496 25.652836-33.190564l-31.916365-262.735596zM552.239592 367.535209c0-14.998696-12.010215-27.141959-26.834923-27.141959H391.675254c-14.824709 0-26.840041 12.143263-26.840041 27.141959 0 14.983344 12.015332 27.126607 26.840041 27.126607h133.729415c14.814474 0.005117 26.834923-12.143263 26.834923-27.126607zM676.225739 231.866352c-1.903622-17.055835-17.127477-29.347499-34.019559-27.423409-16.871614 1.924091-29.040463 17.311698-27.131725 34.39312L632.974639 399.62556c1.903622 17.060952 17.137711 29.347499 34.019559 27.423409 16.886965-1.918973 29.035346-17.311698 27.141959-34.388003l-17.910418-160.794614zM699.872608 472.208808c-1.596586-15.935155-15.66394-27.546223-31.425107-25.939402-15.761168 1.611938-27.254539 15.827692-25.652836 31.767964l2.123664 21.313397c1.591469 15.930037 15.658823 27.546223 31.41999 25.934285 15.771402-1.60682 27.254539-15.832809 25.66307-31.767964l-2.128781-21.30828zM511.659702 896C229.529682 896 0 667.237908 0 386.054581c0-281.17821 229.529682-509.935185 511.639233-509.935185 1.60682-0.010235 8.648173-0.189339 19.604232-0.48614 42.800782-1.074625 143.022363-3.633256 217.007741-3.633256h0.025586c78.770018 0 92.642916 2.650742 100.226699 7.517258 15.699761 7.522376 18.99016 20.591863 19.670756 26.174797 2.824729 23.293778-17.204236 36.854523-40.405903 52.5594-5.639223 3.822595-14.328334 9.702329-20.837492 14.850296 146.553274 133.171633 220.200913 236.530096 216.383435 413.254748C1023.1403 667.406777 793.687377 896 511.659702 896z m244.835413-894.569086l-2.921957-2.609803-2.087843-3.336455c-17.188884-27.612747 3.254579-50.988401 25.350918-68.269396-8.13133-0.102345-17.593148-0.148401-28.569676-0.148401h-0.025586c-73.304782 0-173.035106 2.538162-215.641432 3.612787a1773.92455 1773.92455 0 0 1-20.944954 0.496375c-252.096808 0-457.19668 204.071302-457.19668 454.883677 0 250.827727 205.099872 454.883677 457.19668 454.883677s457.191563-204.05595 457.191562-454.883677v-0.608954c3.582084-161.961351-65.613537-252.85928-212.351032-384.01983z" horiz-adv-x="1024" />
......
No preview for this file type
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