Commit 86c5ac8e by 无尘

fix:修改授权

parent 5100e3be
.store-wrap[data-v-5d0fb486]{width:100%}.store-wrap .p-l-10[data-v-5d0fb486]{padding-left:.26667rem}.store-wrap .store-breadcrumb[data-v-5d0fb486]{white-space:nowrap;overflow-x:auto}.store-wrap .store-breadcrumb .store-breadcrumb__item .is-link[data-v-5d0fb486]{color:#4b69e5;cursor:pointer}.store-wrap .store-breadcrumb .store-breadcrumb__item .van-icon[data-v-5d0fb486]{color:#afb1b8;vertical-align:middle}.store-wrap .van-cell-group[data-v-5d0fb486]{margin-top:.26667rem}.store-wrap .van-cell-group__title[data-v-5d0fb486]{background:#f0f0f0}.store-wrap .look-show[data-v-5d0fb486]{height:100%;font-size:.37333rem;color:#4b69e5;background-color:initial;border:none;cursor:pointer}
\ No newline at end of file
.store-wrap[data-v-418811cf]{width:100%}.store-wrap .bind-title[data-v-418811cf]{padding:.32rem .42667rem .32rem;color:#979ba5;font-size:.37333rem;background:#f0f0f0;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.store-wrap .van-cell-group__title[data-v-418811cf]{background:#f0f0f0}.store-wrap .look-show[data-v-418811cf]{height:100%;padding:0 .42667rem;font-size:.37333rem;color:#4b69e5;background-color:initial;border:none;cursor:pointer} .store-wrap[data-v-4aa256c6]{width:100%}.store-wrap .bind-title[data-v-4aa256c6]{padding:.32rem .42667rem .32rem;color:#979ba5;font-size:.37333rem;background:#f0f0f0;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.store-wrap .van-cell-group__title[data-v-4aa256c6]{background:#f0f0f0}.store-wrap .look-show[data-v-4aa256c6]{height:100%;padding:0 .42667rem;font-size:.37333rem;color:#4b69e5;background-color:initial;border:none;cursor:pointer}
\ No newline at end of file \ No newline at end of file
.store-wrap[data-v-e4f8115c]{width:100%}.store-wrap .p-l-10[data-v-e4f8115c]{padding-left:.26667rem}.store-wrap .store-breadcrumb[data-v-e4f8115c]{white-space:nowrap;overflow-x:auto}.store-wrap .store-breadcrumb .store-breadcrumb__item .is-link[data-v-e4f8115c]{color:#4b69e5;cursor:pointer}.store-wrap .store-breadcrumb .store-breadcrumb__item .van-icon[data-v-e4f8115c]{color:#afb1b8;vertical-align:middle}.store-wrap .van-cell-group[data-v-e4f8115c]{margin-top:.26667rem}.store-wrap .van-cell-group__title[data-v-e4f8115c]{background:#f0f0f0}.store-wrap .look-show[data-v-e4f8115c]{height:100%;font-size:.37333rem;color:#4b69e5;background-color:initial;border:none;cursor:pointer}
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><link rel=icon href=favicon.ico><title>达摩</title><link href=css/chunk-04e9ea4e.aa5fe7a3.css rel=prefetch><link href=css/chunk-065fe7dc.59780768.css rel=prefetch><link href=css/chunk-399f6e60.8fb81c48.css rel=prefetch><link href=css/chunk-5cc9e063.0ddcd74a.css rel=prefetch><link href=js/chunk-04e9ea4e.61544795.js rel=prefetch><link href=js/chunk-065fe7dc.a0553440.js rel=prefetch><link href=js/chunk-399f6e60.df45a3f5.js rel=prefetch><link href=js/chunk-5cc9e063.d26094c6.js rel=prefetch><link href=css/app.cfda35a7.css rel=preload as=style><link href=js/app.921bb879.js rel=preload as=script><link href=js/chunk-vendors.428de956.js rel=preload as=script><link href=css/app.cfda35a7.css rel=stylesheet></head><body><div id=app></div><script src=js/chunk-vendors.428de956.js></script><script src=js/app.921bb879.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><link rel=icon href=favicon.ico><title>达摩</title><link href=css/chunk-03204a2b.e73fde42.css rel=prefetch><link href=css/chunk-065fe7dc.59780768.css rel=prefetch><link href=css/chunk-23325deb.567e66a8.css rel=prefetch><link href=css/chunk-5cc9e063.0ddcd74a.css rel=prefetch><link href=js/chunk-03204a2b.d2cfe3f9.js rel=prefetch><link href=js/chunk-065fe7dc.a0553440.js rel=prefetch><link href=js/chunk-23325deb.e637d876.js rel=prefetch><link href=js/chunk-5cc9e063.d26094c6.js rel=prefetch><link href=css/app.cfda35a7.css rel=preload as=style><link href=js/app.7ecd610f.js rel=preload as=script><link href=js/chunk-vendors.428de956.js rel=preload as=script><link href=css/app.cfda35a7.css rel=stylesheet></head><body><div id=app></div><script src=js/chunk-vendors.428de956.js></script><script src=js/app.7ecd610f.js></script></body></html>
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-03204a2b"],{"3f58":function(e,t,n){"use strict";n.r(t);var r,a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"store-wrap border-box"},[n("van-cell",[[n("div",{staticClass:"store-breadcrumb"},[e._l(e.navData,function(t,r){return[r!=e.navData.length-1?[n("span",{key:r+"nav",staticClass:"store-breadcrumb__item"},[n("span",{staticClass:"store-breadcrumb__inner is-link",on:{click:function(n){e.changeDepart(t,r)}}},[n("span",{staticClass:"store-breadcrumb__inner is-link font-13"},[e._v("\n "+e._s(e._f("formatWord")(t.storeGroupName))+"\n ")])]),r!=e.navData.length-1?n("van-icon",{attrs:{name:"arrow"}}):e._e()],1)]:[n("span",{key:r+"nav2",staticClass:"store-breadcrumb__item"},[n("span",{staticClass:"store-breadcrumb__inner",on:{click:function(n){e.changeDepart(t,r)}}},[n("span",{staticClass:"store-breadcrumb__inner font-13 color-606266"},[e._v("\n "+e._s(e._f("formatWord")(t.storeGroupName))+"\n ")])])])]]})],2)]],2),n("van-cell-group",[e._l(e.bindData,function(t,r){return n("van-cell",{key:r+"bind",attrs:{"is-link":!t.isStore,title:t.storeGroupName||t.storeInfoName||"--"},on:{click:function(n){e.toChild(t)}}},[[1==t.selectFlag?n("span",[n("span",{staticClass:"font_family icon-chenggong color-e2574d"}),n("span",{staticClass:"p-l-10"},[e._v("已选择")])]):e._e(),1==t.bindFlag?n("span",[n("span",{staticClass:"font_family icon-shouquan color-4b69e5"}),n("span",[e._v(e._s(t.bindWxEnterpriseName)+"企业已授权")])]):e._e(),1==t.auditFlag?n("span",[n("span",{staticClass:"font_family icon-shouquan color-4b69e5"}),n("span",[e._v(e._s(t.bindWxEnterpriseName)+"企业授权中")])]):e._e()]],2)})],2)],1)},s=[],o=(n("ac6a"),n("96cf"),n("3b8d")),i=n("bd86"),c=(n("68ef"),n("9d70"),n("3743"),n("ad06")),u=(n("0653"),n("34e9")),d=(n("c194"),n("7744")),p=(n("cadf"),n("551c"),n("097d"),n("365c")),l={components:(r={},Object(i["a"])(r,d["a"].name,d["a"]),Object(i["a"])(r,u["a"].name,u["a"]),Object(i["a"])(r,c["a"].name,c["a"]),r),data:function(){return{navData:[],groupId:"",bindData:[],bindType:""}},methods:{toChild:function(e){var t=this;if(e.isStore)return!1;t.groupId=e.storeGroupId,t.getData()},changeDepart:function(e,t){var n=this;0!=t?(n.groupId=e.storeGroupId,n.getData()):n.$router.push("/storeBind?type=".concat(n.$route.query.type,"&bindMode=").concat(n.$route.query.bindMode,"&openid=").concat(n.$route.query.openid,"&auditLogId=").concat(n.$route.query.auditLogId,"&enterpriseId=").concat(n.$route.query.enterpriseId,"&storeRangeAuditId=").concat(n.$route.query.storeRangeAuditId,"&wxEnterpriseId=").concat(n.$route.query.wxEnterpriseId))},getNavData:function(){var e=Object(o["a"])(regeneratorRuntime.mark(function e(){var t,n,r;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return t=this,n={},e.next=4,Object(p["d"])(n);case 4:r=e.sent,"0000"==r.code&&(t.navData=r.result);case 6:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}(),getData:function(){var e=Object(o["a"])(regeneratorRuntime.mark(function e(){var t,n,r;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return t=this,n={departmentId:t.groupId,enterpriseId:t.$route.query.enterpriseId,type:t.$route.query.type,storeRangeAuditId:t.$route.query.storeRangeAuditId,wxEnterpriseId:t.$route.query.wxEnterpriseId},e.next=4,Object(p["c"])(n);case 4:r=e.sent,"0000"==r.code&&(t.navData=r.result.currNode.chain,r.result.isLeaf?(r.result.storeList.forEach(function(e){e.isStore=!0}),t.bindData=r.result.storeList||[]):(r.result.departmentList.forEach(function(e){e.isStore=!1}),t.bindData=r.result.departmentList||[]));case 6:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()},mounted:function(){var e=this;e.groupId=e.$route.query.bindId,e.getData(),document.title=1==e.$route.query.type?"门店绑定":"门店共享"}},f=l,b=(n("8f75"),n("2877")),m=Object(b["a"])(f,a,s,!1,null,"5d0fb486",null);m.options.__file="child-level.vue";t["default"]=m.exports},"85cf":function(e,t,n){},"8f75":function(e,t,n){"use strict";var r=n("85cf"),a=n.n(r);a.a}}]);
//# sourceMappingURL=chunk-03204a2b.d2cfe3f9.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-04e9ea4e"],{"1cab":function(e,t,r){"use strict";r.r(t);var n,a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"store-wrap border-box"},[r("van-cell",{attrs:{title:e.enterpriseData.enterpriseName,"is-link":""},on:{click:function(t){e.toChild(e.enterpriseData)}}},[[1==e.enterpriseData.bindFlag?r("span",[r("span",{staticClass:"font_family icon-shouquan color-4b69e5"}),e._v(e._s(e.enterpriseData.bindWxEnterpriseName)+" 企业已授权")]):e._e()]],2),r("div",{staticClass:"bind-title flex flex-space-between"},[r("span",[e._v(e._s(1==e.bindType?"门店绑定":"门店共享"))]),r("span",{on:{click:e.returnIndex}},[e._v("返回首页")])]),r("div",[e._l(e.bindData,function(t,n){return r("van-cell",{key:n+"bind",attrs:{title:t.storeGroupName||t.storeInfoName}},[[r("button",{staticClass:"look-show",attrs:{type:"button"},on:{click:function(r){e.toChild(t)}}},[e._v("查看")])]],2)})],2)],1)},i=[],o=(r("96cf"),r("3b8d")),u=r("bd86"),s=(r("0653"),r("34e9")),c=(r("c194"),r("7744")),d=(r("cadf"),r("551c"),r("097d"),r("365c")),p={components:(n={},Object(u["a"])(n,c["a"].name,c["a"]),Object(u["a"])(n,s["a"].name,s["a"]),n),data:function(){return{enterpriseData:{bindFlag:0,bindWxEnterpriseName:"",enterpriseId:"",enterpriseName:"",storeGroupId:"",versionName:""},bindData:[],bindType:this.$route.query.type}},methods:{returnIndex:function(){var e=this;e.$router.push("/index?openid=".concat(e.$route.query.openid,"&auditLogId=").concat(e.$route.query.auditLogId,"&enterpriseId=").concat(e.$route.query.enterpriseId,"&storeRangeAuditId=").concat(e.$route.query.storeRangeAuditId,"&wxEnterpriseId=").concat(e.$route.query.wxEnterpriseId))},toChild:function(e){var t=this;t.$router.push("/childLevel?type=".concat(t.$route.query.type,"&bindMode=").concat(t.$route.query.bindMode,"&bindId=").concat(e.storeGroupId,"&openid=").concat(t.$route.query.openid,"&auditLogId=").concat(t.$route.query.auditLogId,"&enterpriseId=").concat(t.$route.query.enterpriseId,"&storeRangeAuditId=").concat(t.$route.query.storeRangeAuditId,"&wxEnterpriseId=").concat(t.$route.query.wxEnterpriseId))},getGroupData:function(){var e=Object(o["a"])(regeneratorRuntime.mark(function e(){var t,r,n;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return t=this,r={type:t.$route.query.type,enterpriseId:t.$route.query.enterpriseId,storeRangeAuditId:t.$route.query.storeRangeAuditId,wxEnterpriseId:t.$route.query.wxEnterpriseId},e.next=4,Object(d["b"])(r);case 4:n=e.sent,"0000"==n.code&&(t.bindData=n.result);case 6:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}(),getStoreData:function(){var e=Object(o["a"])(regeneratorRuntime.mark(function e(){var t,r,n;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return t=this,r={type:t.$route.query.type,enterpriseId:t.$route.query.enterpriseId,storeRangeAuditId:t.$route.query.storeRangeAuditId,wxEnterpriseId:t.$route.query.wxEnterpriseId},e.next=4,Object(d["f"])(r);case 4:n=e.sent,"0000"==n.code&&(t.bindData=n.result);case 6:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}(),getEnterpriseData:function(){var e=Object(o["a"])(regeneratorRuntime.mark(function e(){var t,r,n;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return t=this,r={enterpriseId:t.$route.query.enterpriseId,wxEnterpriseId:t.$route.query.wxEnterpriseId},e.next=4,Object(d["e"])(r);case 4:n=e.sent,"0000"==n.code&&(t.enterpriseData=n.result);case 6:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()},mounted:function(){var e=this;e.getEnterpriseData(),1==e.$route.query.bindMode&&e.getGroupData(),2==e.$route.query.bindMode&&e.getStoreData(),document.title=1==e.$route.query.type?"门店绑定":"门店共享"}},l=p,y=(r("6b79"),r("2877")),b=Object(y["a"])(l,a,i,!1,null,"418811cf",null);b.options.__file="index.vue";t["default"]=b.exports},"6b79":function(e,t,r){"use strict";var n=r("e116"),a=r.n(n);a.a},e116:function(e,t,r){}}]);
//# sourceMappingURL=chunk-04e9ea4e.61544795.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-23325deb"],{"1cab":function(e,t,r){"use strict";r.r(t);var n,a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"store-wrap border-box"},[r("van-cell",{attrs:{title:e.enterpriseData.enterpriseName,"is-link":""},on:{click:function(t){e.toChild(e.enterpriseData)}}},[[1==e.enterpriseData.bindFlag?r("span",[r("span",{staticClass:"font_family icon-shouquan color-4b69e5"}),e._v(e._s(e.enterpriseData.bindWxEnterpriseName)+" 企业已授权")]):e._e(),1==e.enterpriseData.auditFlag?r("span",[r("span",{staticClass:"font_family icon-shouquan color-4b69e5"}),e._v(e._s(e.enterpriseData.bindWxEnterpriseName)+" 企业授权中")]):e._e()]],2),r("div",{staticClass:"bind-title flex flex-space-between"},[r("span",[e._v(e._s(1==e.bindType?"门店绑定":"门店共享"))]),r("span",{on:{click:e.returnIndex}},[e._v("返回首页")])]),r("div",[e._l(e.bindData,function(t,n){return r("van-cell",{key:n+"bind",attrs:{title:t.storeGroupName||t.storeInfoName}},[[r("button",{staticClass:"look-show",attrs:{type:"button"},on:{click:function(r){e.toChild(t)}}},[e._v("查看")])]],2)})],2)],1)},i=[],o=(r("96cf"),r("3b8d")),u=r("bd86"),s=(r("0653"),r("34e9")),c=(r("c194"),r("7744")),d=(r("cadf"),r("551c"),r("097d"),r("365c")),p={components:(n={},Object(u["a"])(n,c["a"].name,c["a"]),Object(u["a"])(n,s["a"].name,s["a"]),n),data:function(){return{enterpriseData:{bindFlag:0,bindWxEnterpriseName:"",enterpriseId:"",enterpriseName:"",storeGroupId:"",versionName:""},bindData:[],bindType:this.$route.query.type}},methods:{returnIndex:function(){var e=this;e.$router.push("/index?openid=".concat(e.$route.query.openid,"&auditLogId=").concat(e.$route.query.auditLogId,"&enterpriseId=").concat(e.$route.query.enterpriseId,"&storeRangeAuditId=").concat(e.$route.query.storeRangeAuditId,"&wxEnterpriseId=").concat(e.$route.query.wxEnterpriseId))},toChild:function(e){var t=this;t.$router.push("/childLevel?type=".concat(t.$route.query.type,"&bindMode=").concat(t.$route.query.bindMode,"&bindId=").concat(e.storeGroupId,"&openid=").concat(t.$route.query.openid,"&auditLogId=").concat(t.$route.query.auditLogId,"&enterpriseId=").concat(t.$route.query.enterpriseId,"&storeRangeAuditId=").concat(t.$route.query.storeRangeAuditId,"&wxEnterpriseId=").concat(t.$route.query.wxEnterpriseId))},getGroupData:function(){var e=Object(o["a"])(regeneratorRuntime.mark(function e(){var t,r,n;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return t=this,r={type:t.$route.query.type,enterpriseId:t.$route.query.enterpriseId,storeRangeAuditId:t.$route.query.storeRangeAuditId,wxEnterpriseId:t.$route.query.wxEnterpriseId},e.next=4,Object(d["b"])(r);case 4:n=e.sent,"0000"==n.code&&(t.bindData=n.result);case 6:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}(),getStoreData:function(){var e=Object(o["a"])(regeneratorRuntime.mark(function e(){var t,r,n;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return t=this,r={type:t.$route.query.type,enterpriseId:t.$route.query.enterpriseId,storeRangeAuditId:t.$route.query.storeRangeAuditId,wxEnterpriseId:t.$route.query.wxEnterpriseId},e.next=4,Object(d["f"])(r);case 4:n=e.sent,"0000"==n.code&&(t.bindData=n.result);case 6:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}(),getEnterpriseData:function(){var e=Object(o["a"])(regeneratorRuntime.mark(function e(){var t,r,n;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return t=this,r={enterpriseId:t.$route.query.enterpriseId,wxEnterpriseId:t.$route.query.wxEnterpriseId},e.next=4,Object(d["e"])(r);case 4:n=e.sent,"0000"==n.code&&(t.enterpriseData=n.result);case 6:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()},mounted:function(){var e=this;e.getEnterpriseData(),1==e.$route.query.bindMode&&e.getGroupData(),2==e.$route.query.bindMode&&e.getStoreData(),document.title=1==e.$route.query.type?"门店绑定":"门店共享"}},l=p,b=(r("9b08"),r("2877")),y=Object(b["a"])(l,a,i,!1,null,"4aa256c6",null);y.options.__file="index.vue";t["default"]=y.exports},"9b08":function(e,t,r){"use strict";var n=r("ee68"),a=r.n(n);a.a},ee68:function(e,t,r){}}]);
//# sourceMappingURL=chunk-23325deb.e637d876.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-399f6e60"],{"3f58":function(e,t,r){"use strict";r.r(t);var n,a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"store-wrap border-box"},[r("van-cell",[[r("div",{staticClass:"store-breadcrumb"},[e._l(e.navData,function(t,n){return[n!=e.navData.length-1?[r("span",{key:n+"nav",staticClass:"store-breadcrumb__item"},[r("span",{staticClass:"store-breadcrumb__inner is-link",on:{click:function(r){e.changeDepart(t,n)}}},[r("span",{staticClass:"store-breadcrumb__inner is-link font-13"},[e._v("\n "+e._s(e._f("formatWord")(t.storeGroupName))+"\n ")])]),n!=e.navData.length-1?r("van-icon",{attrs:{name:"arrow"}}):e._e()],1)]:[r("span",{key:n+"nav2",staticClass:"store-breadcrumb__item"},[r("span",{staticClass:"store-breadcrumb__inner",on:{click:function(r){e.changeDepart(t,n)}}},[r("span",{staticClass:"store-breadcrumb__inner font-13 color-606266"},[e._v("\n "+e._s(e._f("formatWord")(t.storeGroupName))+"\n ")])])])]]})],2)]],2),r("van-cell-group",[e._l(e.bindData,function(t,n){return r("van-cell",{key:n+"bind",attrs:{"is-link":!t.isStore,title:t.storeGroupName||t.storeInfoName||"--"},on:{click:function(r){e.toChild(t)}}},[[1==t.selectFlag?r("span",[r("span",{staticClass:"font_family icon-chenggong color-e2574d"}),r("span",{staticClass:"p-l-10"},[e._v("已选择")])]):e._e(),1==t.bindFlag?r("span",[r("span",{staticClass:"font_family icon-shouquan color-4b69e5"}),r("span",[e._v(e._s(t.bindWxEnterpriseName)+"企业已授权")])]):e._e()]],2)})],2)],1)},s=[],o=(r("ac6a"),r("96cf"),r("3b8d")),i=r("bd86"),c=(r("68ef"),r("9d70"),r("3743"),r("ad06")),u=(r("0653"),r("34e9")),d=(r("c194"),r("7744")),p=(r("cadf"),r("551c"),r("097d"),r("365c")),l={components:(n={},Object(i["a"])(n,d["a"].name,d["a"]),Object(i["a"])(n,u["a"].name,u["a"]),Object(i["a"])(n,c["a"].name,c["a"]),n),data:function(){return{navData:[],groupId:"",bindData:[],bindType:""}},methods:{toChild:function(e){var t=this;if(e.isStore)return!1;t.groupId=e.storeGroupId,t.getData()},changeDepart:function(e,t){var r=this;0!=t?(r.groupId=e.storeGroupId,r.getData()):r.$router.push("/storeBind?type=".concat(r.$route.query.type,"&bindMode=").concat(r.$route.query.bindMode,"&openid=").concat(r.$route.query.openid,"&auditLogId=").concat(r.$route.query.auditLogId,"&enterpriseId=").concat(r.$route.query.enterpriseId,"&storeRangeAuditId=").concat(r.$route.query.storeRangeAuditId,"&wxEnterpriseId=").concat(r.$route.query.wxEnterpriseId))},getNavData:function(){var e=Object(o["a"])(regeneratorRuntime.mark(function e(){var t,r,n;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return t=this,r={},e.next=4,Object(p["d"])(r);case 4:n=e.sent,"0000"==n.code&&(t.navData=n.result);case 6:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}(),getData:function(){var e=Object(o["a"])(regeneratorRuntime.mark(function e(){var t,r,n;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return t=this,r={departmentId:t.groupId,enterpriseId:t.$route.query.enterpriseId,type:t.$route.query.type,storeRangeAuditId:t.$route.query.storeRangeAuditId,wxEnterpriseId:t.$route.query.wxEnterpriseId},e.next=4,Object(p["c"])(r);case 4:n=e.sent,"0000"==n.code&&(t.navData=n.result.currNode.chain,n.result.isLeaf?(n.result.storeList.forEach(function(e){e.isStore=!0}),t.bindData=n.result.storeList||[]):(n.result.departmentList.forEach(function(e){e.isStore=!1}),t.bindData=n.result.departmentList||[]));case 6:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()},mounted:function(){var e=this;e.groupId=e.$route.query.bindId,e.getData(),document.title=1==e.$route.query.type?"门店绑定":"门店共享"}},f=l,b=(r("f574"),r("2877")),m=Object(b["a"])(f,a,s,!1,null,"e4f8115c",null);m.options.__file="child-level.vue";t["default"]=m.exports},"9a0c":function(e,t,r){},f574:function(e,t,r){"use strict";var n=r("9a0c"),a=r.n(n);a.a}}]);
//# sourceMappingURL=chunk-399f6e60.df45a3f5.js.map
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-07-23 17:18:25 * @Date: 2020-07-23 17:18:25
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-05 15:53:51 * @LastEditTime: 2020-08-10 11:44:46
--> -->
<template> <template>
<div class="store-wrap border-box"> <div class="store-wrap border-box">
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
<template #extra> <template #extra>
<span v-if="item.selectFlag == 1"><span class="font_family icon-chenggong color-e2574d"></span><span class="p-l-10">已选择</span></span> <span v-if="item.selectFlag == 1"><span class="font_family icon-chenggong color-e2574d"></span><span class="p-l-10">已选择</span></span>
<span v-if="item.bindFlag == 1"><span class="font_family icon-shouquan color-4b69e5"></span><span>{{item.bindWxEnterpriseName}}企业已授权</span></span> <span v-if="item.bindFlag == 1"><span class="font_family icon-shouquan color-4b69e5"></span><span>{{item.bindWxEnterpriseName}}企业已授权</span></span>
<span v-if="item.auditFlag == 1"><span class="font_family icon-shouquan color-4b69e5"></span><span>{{item.bindWxEnterpriseName}}企业授权中</span></span>
</template> </template>
</van-cell> </van-cell>
</template> </template>
......
...@@ -4,13 +4,14 @@ ...@@ -4,13 +4,14 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-07-23 17:18:25 * @Date: 2020-07-23 17:18:25
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-05 15:53:36 * @LastEditTime: 2020-08-10 11:43:55
--> -->
<template> <template>
<div class="store-wrap border-box"> <div class="store-wrap border-box">
<van-cell :title="enterpriseData.enterpriseName" is-link @click="toChild(enterpriseData)"> <van-cell :title="enterpriseData.enterpriseName" is-link @click="toChild(enterpriseData)">
<template #extra> <template #extra>
<span v-if="enterpriseData.bindFlag == 1"><span class="font_family icon-shouquan color-4b69e5"></span>{{ enterpriseData.bindWxEnterpriseName }} 企业已授权</span> <span v-if="enterpriseData.bindFlag == 1"><span class="font_family icon-shouquan color-4b69e5"></span>{{ enterpriseData.bindWxEnterpriseName }} 企业已授权</span>
<span v-if="enterpriseData.auditFlag == 1"><span class="font_family icon-shouquan color-4b69e5"></span>{{ enterpriseData.bindWxEnterpriseName }} 企业授权中</span>
</template> </template>
</van-cell> </van-cell>
<div class="bind-title flex flex-space-between"> <span>{{ bindType == 1? '门店绑定':'门店共享'}}</span><span @click="returnIndex">返回首页</span></div> <div class="bind-title flex flex-space-between"> <span>{{ bindType == 1? '门店绑定':'门店共享'}}</span><span @click="returnIndex">返回首页</span></div>
......
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