Commit a3746aa3 by 无尘

fix: 修改接口字段

parent 1b190158
.store-wrap[data-v-32ba3830]{width:100%}.store-wrap .van-cell-group__title[data-v-32ba3830]{background:#f0f0f0}.store-wrap .look-show[data-v-32ba3830]{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-972618b2]{width:100%}.store-wrap .van-cell-group__title[data-v-972618b2]{background:#f0f0f0}.store-wrap .look-show[data-v-972618b2]{height:100%;padding:0 .42667rem;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-144000a6.bf249446.css rel=prefetch><link href=css/chunk-168aaab2.2aa111ce.css rel=prefetch><link href=css/chunk-370da58f.d0003ab1.css rel=prefetch><link href=css/chunk-5cd23f6d.d6778586.css rel=prefetch><link href=js/chunk-144000a6.cb245e18.js rel=prefetch><link href=js/chunk-168aaab2.eae80ae0.js rel=prefetch><link href=js/chunk-370da58f.6b67d58c.js rel=prefetch><link href=js/chunk-5cd23f6d.15fcbecf.js rel=prefetch><link href=css/app.cfda35a7.css rel=preload as=style><link href=js/app.4d3c6c4a.js rel=preload as=script><link href=js/chunk-vendors.4af1e6db.js rel=preload as=script><link href=css/app.cfda35a7.css rel=stylesheet></head><body><div id=app></div><script src=js/chunk-vendors.4af1e6db.js></script><script src=js/app.4d3c6c4a.js></script></body></html>
\ 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-144000a6.bf249446.css rel=prefetch><link href=css/chunk-168aaab2.2aa111ce.css rel=prefetch><link href=css/chunk-41f5e6fe.61c8a249.css rel=prefetch><link href=css/chunk-5cd23f6d.d6778586.css rel=prefetch><link href=js/chunk-144000a6.cb245e18.js rel=prefetch><link href=js/chunk-168aaab2.eae80ae0.js rel=prefetch><link href=js/chunk-41f5e6fe.f448efa1.js rel=prefetch><link href=js/chunk-5cd23f6d.15fcbecf.js rel=prefetch><link href=css/app.cfda35a7.css rel=preload as=style><link href=js/app.0dc3141c.js rel=preload as=script><link href=js/chunk-vendors.4af1e6db.js rel=preload as=script><link href=css/app.cfda35a7.css rel=stylesheet></head><body><div id=app></div><script src=js/chunk-vendors.4af1e6db.js></script><script src=js/app.0dc3141c.js></script></body></html>
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-370da58f"],{"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("van-cell-group",{attrs:{title:1==e.bindType?"门店绑定":"门店共享"}},[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:{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(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},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("a14d"),r("2877")),f=Object(b["a"])(l,a,i,!1,null,"32ba3830",null);f.options.__file="index.vue";t["default"]=f.exports},a14d:function(e,t,r){"use strict";var n=r("f1ce"),a=r.n(n);a.a},f1ce:function(e,t,r){}}]);
//# sourceMappingURL=chunk-370da58f.6b67d58c.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-41f5e6fe"],{"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("van-cell-group",{attrs:{title:1==e.bindType?"门店绑定":"门店共享"}},[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:{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(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,b=(r("3016"),r("2877")),f=Object(b["a"])(l,a,i,!1,null,"972618b2",null);f.options.__file="index.vue";t["default"]=f.exports},3016:function(e,t,r){"use strict";var n=r("4df6"),a=r.n(n);a.a},"4df6":function(e,t,r){}}]);
//# sourceMappingURL=chunk-41f5e6fe.f448efa1.js.map
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-23 17:18:25
* @LastEditors: 无尘
* @LastEditTime: 2020-07-31 10:52:53
* @LastEditTime: 2020-07-31 11:36:19
-->
<template>
<div class="store-wrap border-box">
......@@ -80,7 +80,8 @@ export default {
async getEnterpriseData() {
const that = this;
let param = {
enterpriseId: that.$route.query.enterpriseId
enterpriseId: that.$route.query.enterpriseId,
wxEnterpriseId: that.$route.query.wxEnterpriseId
}
let resData = await getEnterpriseDetail(param);
if (resData.code == '0000') {
......
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