Commit d237ed08 by 无尘

fix: 修改跳转

parent 3047f1ce
.store-wrap[data-v-13b93ba1]{width:100%}.store-wrap .bind-title[data-v-13b93ba1]{padding:.32rem .42667rem .32rem;color:#979ba5;font-size:.37333rem;background:#f0f0f0}.store-wrap .van-cell-group__title[data-v-13b93ba1]{background:#f0f0f0}.store-wrap .look-show[data-v-13b93ba1]{height:100%;padding:0 .42667rem;font-size:.37333rem;color:#4b69e5;background-color:initial;border:none;cursor:pointer}
\ No newline at end of file
.store-wrap[data-v-2e3aefaf]{width:100%}.store-wrap .p-l-10[data-v-2e3aefaf]{padding-left:.26667rem}.store-wrap .store-breadcrumb[data-v-2e3aefaf]{white-space:nowrap;overflow-x:auto}.store-wrap .store-breadcrumb .store-breadcrumb__item .is-link[data-v-2e3aefaf]{color:#4b69e5;cursor:pointer}.store-wrap .store-breadcrumb .store-breadcrumb__item .van-icon[data-v-2e3aefaf]{color:#afb1b8;vertical-align:middle}.store-wrap .van-cell-group[data-v-2e3aefaf]{margin-top:.26667rem}.store-wrap .van-cell-group__title[data-v-2e3aefaf]{background:#f0f0f0}.store-wrap .look-show[data-v-2e3aefaf]{height:100%;font-size:.37333rem;color:#4b69e5;background-color:initial;border:none;cursor:pointer}
\ No newline at end of file
.store-wrap[data-v-7fce6755]{width:100%}.store-wrap .bind-title[data-v-7fce6755]{padding:.32rem .42667rem .32rem;color:#979ba5;font-size:.37333rem;background:#f0f0f0}.store-wrap .van-cell-group__title[data-v-7fce6755]{background:#f0f0f0}.store-wrap .look-show[data-v-7fce6755]{height:100%;padding:0 .42667rem;font-size:.37333rem;color:#4b69e5;background-color:initial;border:none;cursor:pointer}
\ No newline at end of file
.store-wrap[data-v-e3ff1fdc]{width:100%}.store-wrap .p-l-10[data-v-e3ff1fdc]{padding-left:.26667rem}.store-wrap .store-breadcrumb[data-v-e3ff1fdc]{white-space:nowrap;overflow-x:auto}.store-wrap .store-breadcrumb .store-breadcrumb__item .is-link[data-v-e3ff1fdc]{color:#4b69e5;cursor:pointer}.store-wrap .store-breadcrumb .store-breadcrumb__item .van-icon[data-v-e3ff1fdc]{color:#afb1b8;vertical-align:middle}.store-wrap .van-cell-group[data-v-e3ff1fdc]{margin-top:.26667rem}.store-wrap .van-cell-group__title[data-v-e3ff1fdc]{background:#f0f0f0}.store-wrap .look-show[data-v-e3ff1fdc]{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-0c38a770.4a31a7c9.css rel=prefetch><link href=css/chunk-144000a6.bf249446.css rel=prefetch><link href=css/chunk-22b9647e.aa1cc676.css rel=prefetch><link href=css/chunk-432c3517.8d89f7ca.css rel=prefetch><link href=js/chunk-0c38a770.6fc26bb2.js rel=prefetch><link href=js/chunk-144000a6.307ac2fa.js rel=prefetch><link href=js/chunk-22b9647e.a903c9e0.js rel=prefetch><link href=js/chunk-432c3517.6bbea598.js rel=prefetch><link href=css/app.cfda35a7.css rel=preload as=style><link href=js/app.5031ba60.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.5031ba60.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-144000a6.bf249446.css rel=prefetch><link href=css/chunk-2b206666.1378724e.css rel=prefetch><link href=css/chunk-50f0305e.b08f3048.css rel=prefetch><link href=css/chunk-79c5c020.0114f34b.css rel=prefetch><link href=js/chunk-144000a6.307ac2fa.js rel=prefetch><link href=js/chunk-2b206666.b778b9fe.js rel=prefetch><link href=js/chunk-50f0305e.59c8bac5.js rel=prefetch><link href=js/chunk-79c5c020.e017a5d7.js rel=prefetch><link href=css/app.cfda35a7.css rel=preload as=style><link href=js/app.25194423.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.25194423.js></script></body></html>
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0c38a770"],{"1c54":function(e,t,r){},"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"},[e._v(" "+e._s(1==e.bindType?"门店绑定":"门店共享"))]),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=[],s=(r("96cf"),r("3b8d")),o=r("bd86"),u=(r("0653"),r("34e9")),c=(r("c194"),r("7744")),d=(r("cadf"),r("551c"),r("097d"),r("365c")),p={components:(n={},Object(o["a"])(n,c["a"].name,c["a"]),Object(o["a"])(n,u["a"].name,u["a"]),n),data:function(){return{enterpriseData:{bindFlag:0,bindWxEnterpriseName:"",enterpriseId:"",enterpriseName:"",storeGroupId:"",versionName:""},bindData:[],bindType:this.$route.query.type}},methods:{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,"&enterpriseId=").concat(t.$route.query.enterpriseId,"&storeRangeAuditId=").concat(t.$route.query.storeRangeAuditId,"&wxEnterpriseId=").concat(t.$route.query.wxEnterpriseId))},getGroupData:function(){var e=Object(s["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(s["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(s["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()}},l=p,b=(r("f5d2"),r("2877")),f=Object(b["a"])(l,a,i,!1,null,"13b93ba1",null);f.options.__file="index.vue";t["default"]=f.exports},f5d2:function(e,t,r){"use strict";var n=r("1c54"),a=r.n(n);a.a}}]);
//# sourceMappingURL=chunk-0c38a770.6fc26bb2.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-22b9647e"],{"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,"&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()}},f=l,b=(r("7775"),r("2877")),m=Object(b["a"])(f,a,s,!1,null,"2e3aefaf",null);m.options.__file="child-level.vue";t["default"]=m.exports},7775:function(e,t,r){"use strict";var n=r("eeea"),a=r.n(n);a.a},eeea:function(e,t,r){}}]);
//# sourceMappingURL=chunk-22b9647e.a903c9e0.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2b206666"],{"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()}},l=p,y=(r("5ae0"),r("2877")),b=Object(y["a"])(l,a,i,!1,null,"7fce6755",null);b.options.__file="index.vue";t["default"]=b.exports},2558:function(e,t,r){},"5ae0":function(e,t,r){"use strict";var n=r("2558"),a=r.n(n);a.a}}]);
//# sourceMappingURL=chunk-2b206666.b778b9fe.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-79c5c020"],{"09b6":function(e,t,r){},"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()}},f=l,b=(r("be50"),r("2877")),m=Object(b["a"])(f,a,s,!1,null,"e3ff1fdc",null);m.options.__file="child-level.vue";t["default"]=m.exports},be50:function(e,t,r){"use strict";var n=r("09b6"),a=r.n(n);a.a}}]);
//# sourceMappingURL=chunk-79c5c020.e017a5d7.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-07-31 17:28:33 * @LastEditTime: 2020-07-31 18:04:58
--> -->
<template> <template>
<div class="index-contain"> <div class="index-contain">
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
<van-cell title="申请理由" :label="enterpriseBind.auditReason"/> <van-cell title="申请理由" :label="enterpriseBind.auditReason"/>
<van-cell title="申请时间" :value="enterpriseBind.createTime | formatTimeStamp"/> <van-cell title="申请时间" :value="enterpriseBind.createTime | formatTimeStamp"/>
<van-cell title="授权商户" :value="enterpriseBind.enterpriseName"/> <van-cell title="授权商户" :value="enterpriseBind.enterpriseName"/>
<van-cell title="门店绑定" is-link :to="`storeBind?type=1&bindMode=${enterpriseBind.bindStoreMode}&wxEnterpriseId=${$route.query.wxEnterpriseId}&enterpriseId=${$route.query.enterpriseId}&storeRangeAuditId=${$route.query.storeRangeAuditId}`" :value="enterpriseBind.bindStoreMode == 0? '全部' : enterpriseBind.bindRange.map(ele=>ele.storeGroupName||ele.storeInfoName).join(';') " /> <van-cell title="门店绑定" is-link :to="`storeBind?type=1&bindMode=${enterpriseBind.bindStoreMode}&wxEnterpriseId=${$route.query.wxEnterpriseId}&enterpriseId=${$route.query.enterpriseId}&storeRangeAuditId=${$route.query.storeRangeAuditId}&openid=${that.$route.query.openid}&auditLogId=${that.$route.query.auditLogId}`" :value="enterpriseBind.bindStoreMode == 0? '全部' : enterpriseBind.bindRange.map(ele=>ele.storeGroupName||ele.storeInfoName).join(';') " />
<van-cell title="门店共享" is-link :to="`storeBind?type=2&bindMode=${enterpriseBind.shareStoreMode}&wxEnterpriseId=${$route.query.wxEnterpriseId}&enterpriseId=${$route.query.enterpriseId}&storeRangeAuditId=${$route.query.storeRangeAuditId}`" :value="enterpriseBind.shareStoreMode == 0? '全部' : enterpriseBind.shareRange.map(ele=>ele.storeGroupName||ele.storeInfoName).join(';') " /> <van-cell title="门店共享" is-link :to="`storeBind?type=2&bindMode=${enterpriseBind.shareStoreMode}&wxEnterpriseId=${$route.query.wxEnterpriseId}&enterpriseId=${$route.query.enterpriseId}&storeRangeAuditId=${$route.query.storeRangeAuditId}&openid=${that.$route.query.openid}&auditLogId=${that.$route.query.auditLogId}`" :value="enterpriseBind.shareStoreMode == 0? '全部' : enterpriseBind.shareRange.map(ele=>ele.storeGroupName||ele.storeInfoName).join(';') " />
</van-cell-group> </van-cell-group>
<div class="bind-btn-body"> <div class="bind-btn-body">
<div v-if="enterpriseBind.statusFlag== 0" class="flex"> <div v-if="enterpriseBind.statusFlag== 0" class="flex">
......
...@@ -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-07-31 17:50:02 * @LastEditTime: 2020-07-31 18:04:29
--> -->
<template> <template>
<div class="store-wrap border-box"> <div class="store-wrap border-box">
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
changeDepart(item, index) { changeDepart(item, index) {
const that = this; const that = this;
if (index == 0) { if (index == 0) {
that.$router.push(`/storeBind?type=${that.$route.query.type}&bindMode=${that.$route.query.bindMode}&enterpriseId=${that.$route.query.enterpriseId}&storeRangeAuditId=${that.$route.query.storeRangeAuditId}&wxEnterpriseId=${that.$route.query.wxEnterpriseId}`); that.$router.push(`/storeBind?type=${that.$route.query.type}&bindMode=${that.$route.query.bindMode}&openid=${that.$route.query.openid}&auditLogId=${that.$route.query.auditLogId}&enterpriseId=${that.$route.query.enterpriseId}&storeRangeAuditId=${that.$route.query.storeRangeAuditId}&wxEnterpriseId=${that.$route.query.wxEnterpriseId}`);
return; return;
} }
that.groupId = item.storeGroupId; that.groupId = item.storeGroupId;
......
...@@ -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-07-31 17:57:19 * @LastEditTime: 2020-07-31 18:04:11
--> -->
<template> <template>
<div class="store-wrap border-box"> <div class="store-wrap border-box">
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<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>
</template> </template>
</van-cell> </van-cell>
<div class="bind-title"> {{ bindType == 1? '门店绑定':'门店共享'}}</div> <div class="bind-title flex flex-space-between"> <span>{{ bindType == 1? '门店绑定':'门店共享'}}</span><span @click="returnIndex">返回首页</span></div>
<div> <div>
<template> <template>
<van-cell :title="item.storeGroupName||item.storeInfoName" v-for="(item, index) in bindData" :key="index+'bind'"> <van-cell :title="item.storeGroupName||item.storeInfoName" v-for="(item, index) in bindData" :key="index+'bind'">
...@@ -48,9 +48,13 @@ export default { ...@@ -48,9 +48,13 @@ export default {
} }
}, },
methods: { methods: {
returnIndex() {
const that = this;
that.$router.push(`/index?openid=${that.$route.query.openid}&auditLogId=${that.$route.query.auditLogId}&enterpriseId=${that.$route.query.enterpriseId}&storeRangeAuditId=${that.$route.query.storeRangeAuditId}&wxEnterpriseId=${that.$route.query.wxEnterpriseId}`)
},
toChild(item) { toChild(item) {
const that = this; const that = this;
that.$router.push(`/childLevel?type=${that.$route.query.type}&bindMode=${that.$route.query.bindMode}&bindId=${item.storeGroupId}&enterpriseId=${that.$route.query.enterpriseId}&storeRangeAuditId=${that.$route.query.storeRangeAuditId}&wxEnterpriseId=${that.$route.query.wxEnterpriseId}`) that.$router.push(`/childLevel?type=${that.$route.query.type}&bindMode=${that.$route.query.bindMode}&bindId=${item.storeGroupId}&openid=${that.$route.query.openid}&auditLogId=${that.$route.query.auditLogId}&enterpriseId=${that.$route.query.enterpriseId}&storeRangeAuditId=${that.$route.query.storeRangeAuditId}&wxEnterpriseId=${that.$route.query.wxEnterpriseId}`)
}, },
async getGroupData() { async getGroupData() {
const that = this; const that = this;
......
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