Commit cd990799 by zhu_yu_dan

add:原始成本主体配置、结算归属配置

parent a5443732
File added
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-集团后台</title><link href=./static/css/main.b76fc233928616c082152f4da171d9eb.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><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/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.06.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.02.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/group-people.2.0.08.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-group.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js></script><script type=text/javascript src=./static/js/manifest.59a28b25223f04794686.js></script><script type=text/javascript src=./static/js/vendor.b421ab0b02cc93ee3a49.js></script><script type=text/javascript src=./static/js/main.12bc3deec7aab3422199.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-集团后台</title><link href=./static/css/main.06a042df7f7f7c139b49e28cc5e47799.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><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/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.06.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.02.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/group-people.2.0.08.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-group.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/input.2.0.00.js></script><script type=text/javascript src=./static/js/manifest.e553fc633298373f77e0.js></script><script type=text/javascript src=./static/js/vendor.f7bef4ba6a35eee53566.js></script><script type=text/javascript src=./static/js/main.844b2d1bd87ffe13f75f.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([30],{"0xDb":function(t,e,n){"use strict";n.d(e,"a",function(){return c});var o=n("ZLEe"),a=(n.n(o),n("hRKE")),c=(n.n(a),function(t){0})},IHur:function(t,e,n){var o=n("A2+p"),a=n("H5bT");n("Y2FG")("keys",function(){return function(t){return a(o(t))}})},Y2FG:function(t,e,n){var o=n("2AZ7"),a=n("/KQr"),c=n("D86D");t.exports=function(t,e){var n=(a.Object||{})[t]||Object[t],i={};i[t]=e(n),o(o.S+o.F*c(function(){n(1)}),"Object",i)}},YPWR:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("5reh"),a=n("0xDb"),c={name:"App",data:function(){return{projectName:"gic-clique",contentHeight:"0px",collapseFlag:!1,leftModulesName:"会员设置",bodyHeight:document.body.clientHeight||document.documentElement.clientHeight}},methods:{toRouterView:function(t){Object(a.a)(t),this.$router.push({path:t.path})},collapseTag:function(t){Object(a.a)(t),this.collapseFlag=t}},mounted:function(){this.$store.commit(o.d,"达摩GIC"),document.title=this.$store.state.title,this.pathName=window.location.hash.split("/")[1],Object(a.a)("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},i={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"index"}},[n("vue-gic-header",{attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body"},[n("div",{staticClass:"left-menu",class:{"small-left":t.collapseFlag},style:{minHeight:t.bodyHeight-66+"px"}},[n("vue-gic-aside-menu",{attrs:{projectName:t.projectName,leftModulesName:t.leftModulesName,collapseFlag:t.collapseFlag}})],1),t._v(" "),n("div",{staticClass:"right-right",class:{margin64:t.collapseFlag}},[n("router-view")],1)])])],1)},staticRenderFns:[]};var s=n("C7Lr")(c,i,!1,function(t){n("tj+1")},null,null);e.default=s.exports},ZLEe:function(t,e,n){t.exports={default:n("m5p0"),__esModule:!0}},m5p0:function(t,e,n){n("IHur"),t.exports=n("/KQr").Object.keys},"tj+1":function(t,e){}}); webpackJsonp([32],{"0xDb":function(t,e,n){"use strict";n.d(e,"a",function(){return c});var o=n("ZLEe"),a=(n.n(o),n("hRKE")),c=(n.n(a),function(t){0})},IHur:function(t,e,n){var o=n("A2+p"),a=n("H5bT");n("Y2FG")("keys",function(){return function(t){return a(o(t))}})},Y2FG:function(t,e,n){var o=n("2AZ7"),a=n("/KQr"),c=n("D86D");t.exports=function(t,e){var n=(a.Object||{})[t]||Object[t],i={};i[t]=e(n),o(o.S+o.F*c(function(){n(1)}),"Object",i)}},YPWR:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("5reh"),a=n("0xDb"),c={name:"App",data:function(){return{projectName:"gic-clique",contentHeight:"0px",collapseFlag:!1,leftModulesName:"会员设置",bodyHeight:document.body.clientHeight||document.documentElement.clientHeight}},methods:{toRouterView:function(t){Object(a.a)(t),this.$router.push({path:t.path})},collapseTag:function(t){Object(a.a)(t),this.collapseFlag=t}},mounted:function(){this.$store.commit(o.d,"达摩GIC"),document.title=this.$store.state.title,this.pathName=window.location.hash.split("/")[1],Object(a.a)("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},i={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"index"}},[n("vue-gic-header",{attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body"},[n("div",{staticClass:"left-menu",class:{"small-left":t.collapseFlag},style:{minHeight:t.bodyHeight-66+"px"}},[n("vue-gic-aside-menu",{attrs:{projectName:t.projectName,leftModulesName:t.leftModulesName,collapseFlag:t.collapseFlag}})],1),t._v(" "),n("div",{staticClass:"right-right",class:{margin64:t.collapseFlag}},[n("router-view")],1)])])],1)},staticRenderFns:[]};var s=n("C7Lr")(c,i,!1,function(t){n("tj+1")},null,null);e.default=s.exports},ZLEe:function(t,e,n){t.exports={default:n("m5p0"),__esModule:!0}},m5p0:function(t,e,n){n("IHur"),t.exports=n("/KQr").Object.keys},"tj+1":function(t,e){}});
//# sourceMappingURL=30.01e618721d16e043500a.js.map //# sourceMappingURL=32.bdd2934b6978a2c2e6ca.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([31],{"4KSJ":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("MOmO"),s=a.n(i),r={name:"page401",data:function(){return{errGif:s.a+"?"+ +new Date,ewizardClap:"https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646",dialogVisible:!1}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/companyGroup"}):this.$router.go(-1)}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"errPage-container"},[a("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v("返回")]),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("你没有权限去该页面!")]),t._v(" "),a("h2"),t._v(" "),a("h6"),t._v(" "),a("ul",{staticClass:"list-unstyled"})]),t._v(" "),a("el-col",{attrs:{span:12}},[a("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),t._v(" "),a("el-dialog",{attrs:{title:"随便看",visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},staticRenderFns:[]};var l=a("C7Lr")(r,n,!1,function(t){a("lo5S")},"data-v-6ea796b0",null);e.default=l.exports},MOmO:function(t,e,a){t.exports=a.p+"static/img/401.089007e.gif"},lo5S:function(t,e){}}); webpackJsonp([33],{"4KSJ":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("MOmO"),s=a.n(i),r={name:"page401",data:function(){return{errGif:s.a+"?"+ +new Date,ewizardClap:"https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646",dialogVisible:!1}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/companyGroup"}):this.$router.go(-1)}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"errPage-container"},[a("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v("返回")]),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("你没有权限去该页面!")]),t._v(" "),a("h2"),t._v(" "),a("h6"),t._v(" "),a("ul",{staticClass:"list-unstyled"})]),t._v(" "),a("el-col",{attrs:{span:12}},[a("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),t._v(" "),a("el-dialog",{attrs:{title:"随便看",visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},staticRenderFns:[]};var l=a("C7Lr")(r,n,!1,function(t){a("lo5S")},"data-v-6ea796b0",null);e.default=l.exports},MOmO:function(t,e,a){t.exports=a.p+"static/img/401.089007e.gif"},lo5S:function(t,e){}});
//# sourceMappingURL=31.180e896a7d7b927e71d8.js.map //# sourceMappingURL=33.375ce23a24c8c2797719.js.map
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([33],{0:function(e,t,n){n("briU"),e.exports=n("NHnr")},"4qCZ":function(e,t){},"5reh":function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r}),n.d(t,"d",function(){return m}),n.d(t,"c",function(){return a});var o="login",r="logout",m="title",a="show"},"5tgt":function(e,t,n){e.exports=function(e,t){return function(o){n("Vna/")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},"8Fkr":function(e,t){},AGLy:function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("rVsN"),r=n.n(o),m=n("lRwf"),a=n.n(m),p={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var i=n("C7Lr")({name:"App",data:function(){return{}}},p,!1,function(e){n("AGLy")},null,null).exports,s=n("pRNm"),u=n.n(s),c=n("5tgt"),d=n.n(c);a.a.use(u.a);var l=function(e){n.e(1).then(n.bind(null,"EE2z")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var y,h=[{path:"/",name:"index",component:d()("index","index"),children:[{path:"/companyGroup",name:"集团信息",component:d()("companyGroup/membershipSystem","companyGroupInfo")},{path:"/memberCardSet",name:"会员卡设置",component:d()("companyGroup/membershipSystem","memberCardSet")},{path:"/memberGrade",name:"会员等级列表",component:d()("companyGroup/membershipSystem","memberGrade")},{path:"/addMemberGrade",name:"添加等级列表",component:d()("companyGroup/membershipSystem","addMemberGrade")},{path:"/editMemberGrade",name:"编辑等级列表",component:d()("companyGroup/membershipSystem","editMemberGrade")},{path:"/addGroupGrade",name:"添加集团会员等级",component:d()("companyGroup/membershipSystem","addGroupGrade")},{path:"/editGroupGrade",name:"编辑集团会员等级",component:d()("companyGroup/membershipSystem","editGroupGrade")},{path:"/addGroupCate",name:"添加集团折扣策略",component:d()("companyGroup/membershipSystem","addGroupCate")},{path:"/editGroupCate",name:"编辑集团折扣策略",component:d()("companyGroup/membershipSystem","editGroupCate")},{path:"/pointSystem",name:"积分制度",component:d()("companyGroup/membershipSystem","pointSystem")},{path:"/addPointSystem",name:"新增积分获取策略",component:d()("companyGroup/membershipSystem","addPointSystem")},{path:"/editPointSystem",name:"编辑积分获取策略",component:d()("companyGroup/membershipSystem","editPointSystem")},{path:"/addIntegralSytem",name:"新增积分抵现策略",component:d()("companyGroup/membershipSystem","addIntegralSytem")},{path:"/editIntegralSytem",name:"编辑积分抵现策略",component:d()("companyGroup/membershipSystem","editIntegralSytem")},{path:"/nearStoreSet",name:"附近门店",component:d()("companyGroup/membershipSystem","nearStoreSet")},{path:"/memberAchievement",name:"会员成就",component:d()("companyGroup/memberServices","memberAchievement")},{path:"/memberTask",name:"会员任务",component:d()("companyGroup/memberServices","memberTask")},{path:"/originalCostSet",name:"原始成本主体配置",component:d()("companyGroup/integral","originalCostSet")},{path:"/settlementConfig",name:"结算归属配置",component:d()("companyGroup/integral","settlementConfig")}]},{path:"/memberInfoTemplate",name:"开卡字段配置模板",component:d()("companyGroup/membershipSystem","memberInfoTemplate")},{path:"/login",name:"集团商户登录",component:d()("companyGroup","login")},{path:"/403",name:"无权访问",component:l},{path:"/404",name:"error404",component:l},{path:"/500",name:"error500",component:l},{path:"*",redirect:"/404",hidden:!0}],b=new u.a({routes:h,scrollBehavior:function(){return{y:0}}}),G=n("Ip9M"),S=n.n(G),v=n("3khs"),f=n.n(v),g=n("aozt"),k=n.n(g),x=n("a3Yh"),C=n.n(x),w=n("SJI6"),I=n.n(w),P=n("5reh");a.a.use(I.a);var _=new I.a.Store({state:{user:{},token:null,title:"",show:!1},mutations:(y={},C()(y,P.a,function(e,t){sessionStorage.token=t,e.token=t}),C()(y,P.b,function(e){sessionStorage.removeItem("token"),e.token=null}),C()(y,P.d,function(e,t){e.title=t}),C()(y,P.c,function(e,t){e.show=t}),y)}),T=(n("4qCZ"),n("8Fkr"),n("uKUT"),n("Xcu2"),{name:"dm-delete",props:{tips:{type:String,default:"是否删除?"}},data:function(){return{visible:!1}},methods:{cancel:function(){this.visible=!1},confirm:function(){this.visible=!1,this.$emit("confirm")}}}),j={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-popover",{staticClass:"el-button el-button--text",attrs:{placement:"top",width:"186"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[n("p",{staticStyle:{"line-height":"1.5",padding:"10px 10px 20px",color:"#606266"}},[e._v(e._s(e.tips))]),e._v(" "),n("div",{staticStyle:{"text-align":"right",margin:"0"}},[n("el-button",{attrs:{size:"mini",type:"text"},on:{click:e.cancel}},[e._v("取消")]),e._v(" "),n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.confirm}},[e._v("确定")])],1),e._v(" "),n("span",{attrs:{slot:"reference"},slot:"reference"},[e._t("default")],2)])},staticRenderFns:[]},E=n("C7Lr")(T,j,!1,null,null,null).exports;a.a.component("delete-tip",E),a.a.config.productionTip=!1,a.a.use(S.a),a.a.use(f.a,k.a),a.a.axios.defaults.withCredentials=!0,a.a.axios.interceptors.request.use(function(e){return e},function(e){return r.a.reject(e)}),a.a.axios.interceptors.response.use(function(e){return 200==e.status&&e.data.errorCode,e},function(e){if(e.response)switch(e.response.status){case 401:window.location.href=window.location.origin+"/gic-web/#/";case 500:G.Message.error("服务器500")}return r.a.reject(e.response.data)}),new a.a({el:"#app",router:b,store:_,components:{App:i},template:"<App/>"})},SJI6:function(e,t){e.exports=Vuex},"Vna/":function(e,t,n){var o={"./companyGroup/integral/originalCostSet.vue":["kXAv",13],"./companyGroup/integral/settlementConfig.vue":["kj0T",23],"./companyGroup/login.vue":["gOFg",27],"./companyGroup/memberServices/memberAchievement.vue":["j6GH",14],"./companyGroup/memberServices/memberTask.vue":["cxQk",21],"./companyGroup/memberTableEdit.vue":["PDVn",22],"./companyGroup/membershipSystem/addGroupCate.vue":["DaJb",10],"./companyGroup/membershipSystem/addGroupGrade.vue":["y9jV",18],"./companyGroup/membershipSystem/addIntegralSytem.vue":["tFd/",7],"./companyGroup/membershipSystem/addMemberGrade.vue":["ge0i",16],"./companyGroup/membershipSystem/addPointSystem.vue":["ewsH",11],"./companyGroup/membershipSystem/companyGroupInfo.vue":["1H9E",15],"./companyGroup/membershipSystem/editGroupCate.vue":["+Lzv",12],"./companyGroup/membershipSystem/editGroupGrade.vue":["QwkL",19],"./companyGroup/membershipSystem/editIntegralSytem.vue":["KjG/",8],"./companyGroup/membershipSystem/editMemberGrade.vue":["Iz3c",17],"./companyGroup/membershipSystem/editPointSystem.vue":["GJjE",9],"./companyGroup/membershipSystem/memberCardSet.vue":["fZcc",4],"./companyGroup/membershipSystem/memberGrade.vue":["C6vQ",20],"./companyGroup/membershipSystem/memberInfoTemplate.vue":["zCRq",5],"./companyGroup/membershipSystem/nearStoreSet.vue":["Z9/t",24],"./companyGroup/membershipSystem/pointSystem.vue":["b5xz",6],"./errorPage/401.vue":["4KSJ",31],"./errorPage/403.vue":["aM+6",2],"./errorPage/404.vue":["PRsh",0],"./errorPage/500.vue":["/HCr",3],"./errorPage/index.vue":["EE2z",1],"./index/index.vue":["YPWR",30],"./linktools/linktools.vue":["Lc2x",26],"./linktools/linktoolsold.vue":["/8lq",29],"./linktools/linktoolspage.vue":["HLON",25],"./login/login.vue":["6Qob",28]};function r(e){var t=o[e];return t?n.e(t[1]).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}r.keys=function(){return Object.keys(o)},r.id="Vna/",e.exports=r},Xcu2:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT:function(e,t){}},[0]);
//# sourceMappingURL=main.12bc3deec7aab3422199.js.map
\ No newline at end of file
webpackJsonp([35],{0:function(e,t,n){n("briU"),e.exports=n("NHnr")},"4qCZ":function(e,t){},"5reh":function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r}),n.d(t,"d",function(){return m}),n.d(t,"c",function(){return a});var o="login",r="logout",m="title",a="show"},"5tgt":function(e,t,n){e.exports=function(e,t){return function(o){n("Vna/")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},"8Fkr":function(e,t){},AGLy:function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("rVsN"),r=n.n(o),m=n("lRwf"),a=n.n(m),p={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var i=n("C7Lr")({name:"App",data:function(){return{}}},p,!1,function(e){n("AGLy")},null,null).exports,s=n("pRNm"),u=n.n(s),c=n("5tgt"),d=n.n(c);a.a.use(u.a);var l=function(e){n.e(1).then(n.bind(null,"EE2z")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var y,h=[{path:"/",name:"index",component:d()("index","index"),children:[{path:"/companyGroup",name:"集团信息",component:d()("companyGroup/membershipSystem","companyGroupInfo")},{path:"/memberCardSet",name:"会员卡设置",component:d()("companyGroup/membershipSystem","memberCardSet")},{path:"/memberGrade",name:"会员等级列表",component:d()("companyGroup/membershipSystem","memberGrade")},{path:"/addMemberGrade",name:"添加等级列表",component:d()("companyGroup/membershipSystem","addMemberGrade")},{path:"/editMemberGrade",name:"编辑等级列表",component:d()("companyGroup/membershipSystem","editMemberGrade")},{path:"/addGroupGrade",name:"添加集团会员等级",component:d()("companyGroup/membershipSystem","addGroupGrade")},{path:"/editGroupGrade",name:"编辑集团会员等级",component:d()("companyGroup/membershipSystem","editGroupGrade")},{path:"/addGroupCate",name:"添加集团折扣策略",component:d()("companyGroup/membershipSystem","addGroupCate")},{path:"/editGroupCate",name:"编辑集团折扣策略",component:d()("companyGroup/membershipSystem","editGroupCate")},{path:"/pointSystem",name:"积分制度",component:d()("companyGroup/membershipSystem","pointSystem")},{path:"/addPointSystem",name:"新增积分获取策略",component:d()("companyGroup/membershipSystem","addPointSystem")},{path:"/editPointSystem",name:"编辑积分获取策略",component:d()("companyGroup/membershipSystem","editPointSystem")},{path:"/addIntegralSytem",name:"新增积分抵现策略",component:d()("companyGroup/membershipSystem","addIntegralSytem")},{path:"/editIntegralSytem",name:"编辑积分抵现策略",component:d()("companyGroup/membershipSystem","editIntegralSytem")},{path:"/nearStoreSet",name:"附近门店",component:d()("companyGroup/membershipSystem","nearStoreSet")},{path:"/memberAchievement",name:"会员成就",component:d()("companyGroup/memberServices","memberAchievement")},{path:"/memberTask",name:"会员任务",component:d()("companyGroup/memberServices","memberTask")},{path:"/originalCostSet",name:"原始成本主体配置",component:d()("companyGroup/integral","originalCostSet")},{path:"/settlementConfig",name:"结算归属配置",component:d()("companyGroup/integral","settlementConfig")}]},{path:"/memberInfoTemplate",name:"开卡字段配置模板",component:d()("companyGroup/membershipSystem","memberInfoTemplate")},{path:"/login",name:"集团商户登录",component:d()("companyGroup","login")},{path:"/403",name:"无权访问",component:l},{path:"/404",name:"error404",component:l},{path:"/500",name:"error500",component:l},{path:"*",redirect:"/404",hidden:!0}],b=new u.a({routes:h,scrollBehavior:function(){return{y:0}}}),G=n("Ip9M"),v=n("3khs"),S=n.n(v),f=n("aozt"),g=n.n(f),k=n("a3Yh"),x=n.n(k),C=n("SJI6"),w=n.n(C),I=n("5reh");a.a.use(w.a);var P=new w.a.Store({state:{user:{},token:null,title:"",show:!1},mutations:(y={},x()(y,I.a,function(e,t){sessionStorage.token=t,e.token=t}),x()(y,I.b,function(e){sessionStorage.removeItem("token"),e.token=null}),x()(y,I.d,function(e,t){e.title=t}),x()(y,I.c,function(e,t){e.show=t}),y)}),_=(n("4qCZ"),n("8Fkr"),n("uKUT"),n("Xcu2"),{name:"dm-delete",props:{tips:{type:String,default:"是否删除?"}},data:function(){return{visible:!1}},methods:{cancel:function(){this.visible=!1},confirm:function(){this.visible=!1,this.$emit("confirm")}}}),T={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-popover",{staticClass:"el-button el-button--text",attrs:{placement:"top",width:"186"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[n("p",{staticStyle:{"line-height":"1.5",padding:"10px 10px 20px",color:"#606266"}},[e._v(e._s(e.tips))]),e._v(" "),n("div",{staticStyle:{"text-align":"right",margin:"0"}},[n("el-button",{attrs:{size:"mini",type:"text"},on:{click:e.cancel}},[e._v("取消")]),e._v(" "),n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.confirm}},[e._v("确定")])],1),e._v(" "),n("span",{attrs:{slot:"reference"},slot:"reference"},[e._t("default")],2)])},staticRenderFns:[]},j=n("C7Lr")(_,T,!1,null,null,null).exports;a.a.component("delete-tip",j),a.a.config.productionTip=!1,a.a.use(S.a,g.a),a.a.axios.defaults.withCredentials=!0,a.a.axios.interceptors.request.use(function(e){return e},function(e){return r.a.reject(e)}),a.a.axios.interceptors.response.use(function(e){return 200==e.status&&e.data.errorCode,e},function(e){if(e.response)switch(e.response.status){case 401:window.location.href=window.location.origin+"/gic-web/#/";case 500:G.Message.error("服务器500")}return r.a.reject(e.response.data)}),new a.a({el:"#app",router:b,store:P,components:{App:i},template:"<App/>"})},SJI6:function(e,t){e.exports=Vuex},"Vna/":function(e,t,n){var o={"./companyGroup/integral/cliqueCard.vue":["u+DB",27],"./companyGroup/integral/cliqueList.vue":["6bm4",28],"./companyGroup/integral/originalCostSet.vue":["kXAv",13],"./companyGroup/integral/settlementConfig.vue":["kj0T",15],"./companyGroup/login.vue":["gOFg",29],"./companyGroup/memberServices/memberAchievement.vue":["j6GH",14],"./companyGroup/memberServices/memberTask.vue":["cxQk",22],"./companyGroup/memberTableEdit.vue":["PDVn",23],"./companyGroup/membershipSystem/addGroupCate.vue":["DaJb",10],"./companyGroup/membershipSystem/addGroupGrade.vue":["y9jV",19],"./companyGroup/membershipSystem/addIntegralSytem.vue":["tFd/",7],"./companyGroup/membershipSystem/addMemberGrade.vue":["ge0i",17],"./companyGroup/membershipSystem/addPointSystem.vue":["ewsH",11],"./companyGroup/membershipSystem/companyGroupInfo.vue":["1H9E",16],"./companyGroup/membershipSystem/editGroupCate.vue":["+Lzv",12],"./companyGroup/membershipSystem/editGroupGrade.vue":["QwkL",20],"./companyGroup/membershipSystem/editIntegralSytem.vue":["KjG/",8],"./companyGroup/membershipSystem/editMemberGrade.vue":["Iz3c",18],"./companyGroup/membershipSystem/editPointSystem.vue":["GJjE",9],"./companyGroup/membershipSystem/memberCardSet.vue":["fZcc",4],"./companyGroup/membershipSystem/memberGrade.vue":["C6vQ",21],"./companyGroup/membershipSystem/memberInfoTemplate.vue":["zCRq",5],"./companyGroup/membershipSystem/nearStoreSet.vue":["Z9/t",24],"./companyGroup/membershipSystem/pointSystem.vue":["b5xz",6],"./errorPage/401.vue":["4KSJ",33],"./errorPage/403.vue":["aM+6",2],"./errorPage/404.vue":["PRsh",0],"./errorPage/500.vue":["/HCr",3],"./errorPage/index.vue":["EE2z",1],"./index/index.vue":["YPWR",32],"./linktools/linktools.vue":["Lc2x",26],"./linktools/linktoolsold.vue":["/8lq",31],"./linktools/linktoolspage.vue":["HLON",25],"./login/login.vue":["6Qob",30]};function r(e){var t=o[e];return t?n.e(t[1]).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}r.keys=function(){return Object.keys(o)},r.id="Vna/",e.exports=r},Xcu2:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT:function(e,t){}},[0]);
//# sourceMappingURL=main.844b2d1bd87ffe13f75f.js.map
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,t,f){for(var o,d,b,i=0,u=[];i<a.length;i++)d=a[i],n[d]&&u.push(n[d][0]),n[d]=0;for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);for(c&&c(a,t,f);u.length;)u.shift()();if(f)for(i=0;i<f.length;i++)b=r(r.s=f[i]);return b};var a={},n={34:0};function r(c){if(a[c])return a[c].exports;var n=a[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var c=n[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,r){c=n[e]=[a,r]});c[2]=a;var t=document.getElementsByTagName("head")[0],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,r.nc&&f.setAttribute("nonce",r.nc),f.src=r.p+"static/js/"+e+"."+{0:"6a7b63b6a9447c78e969",1:"73ceba26c1aaf431359d",2:"06984e75209b3ac2131d",3:"2ad9744fc945a86b15c6",4:"a9c12a34422f51b90279",5:"e08e3d7f39a2ec4c2173",6:"dceb609afded0879f2d3",7:"1306e2d2d780c1cf3392",8:"0189b25809c54ca32a25",9:"837004ad09f9f44ebac8",10:"6adcf340685cc5cbefca",11:"95fdcd3325e8f13666f8",12:"0919c824839edff0113d",13:"49706d53994893520037",14:"cc69fdb980a4fab53df4",15:"3f35ceb84da3f51b50ab",16:"d3cdaa0b6780851e9a1e",17:"bef83e1808597d1ff4bb",18:"e28aebdf0fda370be951",19:"92c9259dc4706f09047e",20:"4e11507c1fb5c67b08aa",21:"80ffdf589a04a07da8c2",22:"ebe28f8d392b676c9fdc",23:"a0b51eecb9cc6706b93f",24:"43dded264c19baaa5dde",25:"2474fdfddf038ce06b3c",26:"2287c68846145a8c5604",27:"1957329b98248922e040",28:"c411131c18b8b2b2e95f",29:"25216d738f58e0548659",30:"01e618721d16e043500a",31:"180e896a7d7b927e71d8"}[e]+".js";var o=setTimeout(d,12e4);function d(){f.onerror=f.onload=null,clearTimeout(o);var c=n[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return f.onerror=f.onload=d,t.appendChild(f),a},r.m=e,r.c=a,r.d=function(e,c,a){r.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},r.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(c,"a",c),c},r.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},r.p="./",r.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.59a28b25223f04794686.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap a400049c46484879e440"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","34","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"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","file":"static/js/manifest.59a28b25223f04794686.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t34: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"6a7b63b6a9447c78e969\",\"1\":\"73ceba26c1aaf431359d\",\"2\":\"06984e75209b3ac2131d\",\"3\":\"2ad9744fc945a86b15c6\",\"4\":\"a9c12a34422f51b90279\",\"5\":\"e08e3d7f39a2ec4c2173\",\"6\":\"dceb609afded0879f2d3\",\"7\":\"1306e2d2d780c1cf3392\",\"8\":\"0189b25809c54ca32a25\",\"9\":\"837004ad09f9f44ebac8\",\"10\":\"6adcf340685cc5cbefca\",\"11\":\"95fdcd3325e8f13666f8\",\"12\":\"0919c824839edff0113d\",\"13\":\"49706d53994893520037\",\"14\":\"cc69fdb980a4fab53df4\",\"15\":\"3f35ceb84da3f51b50ab\",\"16\":\"d3cdaa0b6780851e9a1e\",\"17\":\"bef83e1808597d1ff4bb\",\"18\":\"e28aebdf0fda370be951\",\"19\":\"92c9259dc4706f09047e\",\"20\":\"4e11507c1fb5c67b08aa\",\"21\":\"80ffdf589a04a07da8c2\",\"22\":\"ebe28f8d392b676c9fdc\",\"23\":\"a0b51eecb9cc6706b93f\",\"24\":\"43dded264c19baaa5dde\",\"25\":\"2474fdfddf038ce06b3c\",\"26\":\"2287c68846145a8c5604\",\"27\":\"1957329b98248922e040\",\"28\":\"c411131c18b8b2b2e95f\",\"29\":\"25216d738f58e0548659\",\"30\":\"01e618721d16e043500a\",\"31\":\"180e896a7d7b927e71d8\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap a400049c46484879e440"],"sourceRoot":""}
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,r,t){for(var o,b,d,i=0,u=[];i<c.length;i++)b=c[i],f[b]&&u.push(f[b][0]),f[b]=0;for(o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);for(a&&a(c,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)d=n(n.s=t[i]);return d};var c={},f={36:0};function n(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,n),f.l=!0,f.exports}n.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,n){a=f[e]=[c,n]});a[2]=c;var r=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"6a7b63b6a9447c78e969",1:"73ceba26c1aaf431359d",2:"06984e75209b3ac2131d",3:"2ad9744fc945a86b15c6",4:"4f0de59739044928188a",5:"5fa7b1a2b6aadb271627",6:"79eb605d5e7d9a4ce484",7:"67e0d59f5b459bfcbfd2",8:"f0246ee3c6d3a8d3bcd3",9:"27e071d5f504605b2294",10:"070886211500aff418db",11:"27528729efd798ace10f",12:"f6f4f844a29a984c95c9",13:"607b3bd383de5f25be89",14:"c89afb729f0b984e2aec",15:"73bcf663df1958d2a260",16:"ebedc1a6f35956bae127",17:"8ac5df3bb605abb26362",18:"f6a642098fc87d04cdb0",19:"d73b112213b640ea53ab",20:"597f656075a65474a2af",21:"08563ca144f8e589db45",22:"797f1991b3f9154cd166",23:"94a5e15f16f9d950bb43",24:"654464d75a7b8e0b8024",25:"2474fdfddf038ce06b3c",26:"2287c68846145a8c5604",27:"74d9077a4f611524df44",28:"53708fc57369376e0bc6",29:"f4afc64cbc7bcfb76260",30:"29fc655ef81ad3f4b9fe",31:"c07206648adb3cb7c265",32:"bdd2934b6978a2c2e6ca",33:"375ce23a24c8c2797719"}[e]+".js";var o=setTimeout(b,12e4);function b(){t.onerror=t.onload=null,clearTimeout(o);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return t.onerror=t.onload=b,r.appendChild(t),c},n.m=e,n.c=c,n.d=function(e,a,c){n.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},n.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(a,"a",a),a},n.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.e553fc633298373f77e0.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap 6450b7816ebeffd77181"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","36","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"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","file":"static/js/manifest.e553fc633298373f77e0.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t36: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"6a7b63b6a9447c78e969\",\"1\":\"73ceba26c1aaf431359d\",\"2\":\"06984e75209b3ac2131d\",\"3\":\"2ad9744fc945a86b15c6\",\"4\":\"4f0de59739044928188a\",\"5\":\"5fa7b1a2b6aadb271627\",\"6\":\"79eb605d5e7d9a4ce484\",\"7\":\"67e0d59f5b459bfcbfd2\",\"8\":\"f0246ee3c6d3a8d3bcd3\",\"9\":\"27e071d5f504605b2294\",\"10\":\"070886211500aff418db\",\"11\":\"27528729efd798ace10f\",\"12\":\"f6f4f844a29a984c95c9\",\"13\":\"607b3bd383de5f25be89\",\"14\":\"c89afb729f0b984e2aec\",\"15\":\"73bcf663df1958d2a260\",\"16\":\"ebedc1a6f35956bae127\",\"17\":\"8ac5df3bb605abb26362\",\"18\":\"f6a642098fc87d04cdb0\",\"19\":\"d73b112213b640ea53ab\",\"20\":\"597f656075a65474a2af\",\"21\":\"08563ca144f8e589db45\",\"22\":\"797f1991b3f9154cd166\",\"23\":\"94a5e15f16f9d950bb43\",\"24\":\"654464d75a7b8e0b8024\",\"25\":\"2474fdfddf038ce06b3c\",\"26\":\"2287c68846145a8c5604\",\"27\":\"74d9077a4f611524df44\",\"28\":\"53708fc57369376e0bc6\",\"29\":\"f4afc64cbc7bcfb76260\",\"30\":\"29fc655ef81ad3f4b9fe\",\"31\":\"c07206648adb3cb7c265\",\"32\":\"bdd2934b6978a2c2e6ca\",\"33\":\"375ce23a24c8c2797719\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 6450b7816ebeffd77181"],"sourceRoot":""}
\ No newline at end of file
...@@ -21,5 +21,6 @@ ...@@ -21,5 +21,6 @@
<script src="//web-1251519181.file.myqcloud.com/components/store-group.2.0.02.js"></script> <script src="//web-1251519181.file.myqcloud.com/components/store-group.2.0.02.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.02.js"></script> <script src="//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.02.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js"></script> <script src="//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/input.2.0.00.js"></script>
</body> </body>
</html> </html>
// 手机号验证
export function isvalidPhone(str) {
const reg = /^1[3|4|5|6|7|8|9][0-9]\d{8}$/;
return reg.test(str);
}
// 不允许有特殊符号,只能是 数字 字母 下划线 汉字 -
export function isCommonCode(str) {
const reg = /^[\w\u4e00-\u9fa5-]+$/;
return reg.test(str);
}
// 不允许有特殊符号,只能是 数字 字母 下划线 汉字 - 可以有空格
export function isCommonCodeSpace(str) {
const reg = /^[\s\w\u4e00-\u9fa5-]+$/;
return reg.test(str);
}
// 不允许有特殊符号,只能是 数字 字母 下划线 汉字 - 下划线不在首位
export function isCommonCodeLine(str) {
// const reg = /^(?!_)(?!.*?_$)[\w\u4e00-\u9fa5-]+$/; // 下划线不在首尾
const reg = /^(?!_)[\w\u4e00-\u9fa5-]+$/;
return reg.test(str);
}
// 只允许有字母和数字
export function isNumAndCode(str) {
const reg = /^[a-zA-Z0-9]/;
return reg.test(str);
}
import Vue from 'vue'; import Vue from 'vue';
import App from './App'; import App from './App';
import router from './router'; import router from './router';
import ElementUI, { Message } from 'element-ui'; import { Message } from 'element-ui';
import VueAxios from 'vue-axios'; import VueAxios from 'vue-axios';
import axios from 'axios'; import axios from 'axios';
import store from './store/store'; import store from './store/store';
...@@ -34,7 +34,6 @@ Vue.component('delete-tip', deleteTip); ...@@ -34,7 +34,6 @@ Vue.component('delete-tip', deleteTip);
// Vue.use(vueGicGroupPeople) // Vue.use(vueGicGroupPeople)
Vue.config.productionTip = false; Vue.config.productionTip = false;
Vue.use(ElementUI);
// Vue.use(ElementUI, { size: 'large' }); // Vue.use(ElementUI, { size: 'large' });
Vue.use(VueAxios, axios); Vue.use(VueAxios, axios);
......
...@@ -91,9 +91,9 @@ ...@@ -91,9 +91,9 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="save-btn"> <!-- <div class="save-btn">
<el-button @click="saveBtn" type="primary">保 存</el-button> <el-button @click="saveBtn" type="primary">保 存</el-button>
</div> </div> -->
</div> </div>
<h3 class="title-wrap">特殊原始成本配置策略<span>(针对某来源/某产生渠道配置特殊的原始成本主体)</span></h3> <h3 class="title-wrap">特殊原始成本配置策略<span>(针对某来源/某产生渠道配置特殊的原始成本主体)</span></h3>
<div class="special-table-wrap"> <div class="special-table-wrap">
...@@ -108,9 +108,7 @@ ...@@ -108,9 +108,7 @@
<el-table-column prop="jiesuan" label="操作"> <el-table-column prop="jiesuan" label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button @click="addStrategy('edit', scope.row)" type="text">编辑</el-button> <el-button @click="addStrategy('edit', scope.row)" type="text">编辑</el-button>
<delete-tip @confirm="handleDelClick(scope.$index, scope.row)" tips="确认删除吗?"> <el-button @click="handleDelClick(scope.$index, scope.row)" type="text">删除</el-button>
<el-button type="text">删除</el-button>
</delete-tip>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -118,7 +116,7 @@ ...@@ -118,7 +116,7 @@
</div> </div>
</div> </div>
<!-- 新增、编辑策略 --> <!-- 新增、编辑策略 -->
<el-dialog :title="specialTitle" :visible.sync="dialogVisible" width="500px"> <el-dialog :title="specialTitle" :visible.sync="dialogVisible" :before-close="cancelStrategyBtn" width="500px">
<div class="special-wrap"> <div class="special-wrap">
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px" class="demo-ruleForm"> <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px" class="demo-ruleForm">
<el-form-item label="商户" prop="enterprise"> <el-form-item label="商户" prop="enterprise">
...@@ -145,10 +143,21 @@ ...@@ -145,10 +143,21 @@
</el-form> </el-form>
</div> </div>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="cancelStrategyBtn('ruleForm')">取 消</el-button> <el-button @click="cancelStrategyBtn">取 消</el-button>
<el-button type="primary" @click="sureStrategyBtn('ruleForm')">确 定</el-button> <el-button type="primary" @click="sureStrategyBtn('ruleForm')">确 定</el-button>
</span> </span>
</el-dialog> </el-dialog>
<!-- 删除 -->
<el-dialog title="删除提示" :visible.sync="dialogVisible2" width="425px">
<div class="del-wrap">
<h3>确认将此策略删除?</h3>
<p>一旦删除,即刻生效,无法变更</p>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible2 = false">取 消</el-button>
<el-button type="primary" @click="sureDelBtn">确 定</el-button>
</span>
</el-dialog>
<vue-gic-footer></vue-gic-footer> <vue-gic-footer></vue-gic-footer>
</div> </div>
</template> </template>
...@@ -185,7 +194,9 @@ export default { ...@@ -185,7 +194,9 @@ export default {
channelList: [], // 渠道来源列表 channelList: [], // 渠道来源列表
produceList: [], // 产生渠道来源列表 produceList: [], // 产生渠道来源列表
mainList: [], // 原始成本主体列表 mainList: [], // 原始成本主体列表
loading: false loading: false,
dialogVisible2: false,
curIndex: 0
}; };
}, },
mounted() { mounted() {
...@@ -237,6 +248,7 @@ export default { ...@@ -237,6 +248,7 @@ export default {
}); });
this.saveArr[index].mainPartCostName = chenbenName; // 更改 this.saveArr[index].mainPartCostName = chenbenName; // 更改
this.saveArr[index].mainPartCostCode = code; this.saveArr[index].mainPartCostCode = code;
this.saveBtn();
}, },
// 合并单元格 // 合并单元格
objectSpanMethod({ row, column, rowIndex, columnIndex }) { objectSpanMethod({ row, column, rowIndex, columnIndex }) {
...@@ -352,7 +364,6 @@ export default { ...@@ -352,7 +364,6 @@ export default {
this.ruleForm.produce = data.result.integralTypeCode; this.ruleForm.produce = data.result.integralTypeCode;
this.integralTypeName = data.result.integralTypeName; this.integralTypeName = data.result.integralTypeName;
this.ruleForm.mainPart = parseInt(data.result.mainPartCostCode); this.ruleForm.mainPart = parseInt(data.result.mainPartCostCode);
log(this.ruleForm.mainPart);
this.MP_NAME = data.result.mainPartCostName; this.MP_NAME = data.result.mainPartCostName;
this.ruleForm.channel = data.result.channelType; this.ruleForm.channel = data.result.channelType;
} else { } else {
...@@ -379,9 +390,10 @@ export default { ...@@ -379,9 +390,10 @@ export default {
this.MP_NAME = obj.MP_NAME; this.MP_NAME = obj.MP_NAME;
}, },
// 新增策略取消按钮 // 新增策略取消按钮
cancelStrategyBtn(formName) { cancelStrategyBtn() {
this.dialogVisible = false; this.dialogVisible = false;
this.$refs[formName].clearValidate(); this.$refs.ruleForm.clearValidate();
this.$refs.ruleForm.resetFields();
}, },
// 新增策略确认按钮 // 新增策略确认按钮
sureStrategyBtn(formName) { sureStrategyBtn(formName) {
...@@ -420,13 +432,20 @@ export default { ...@@ -420,13 +432,20 @@ export default {
}, },
// 删除 // 删除
handleDelClick(index, row) { handleDelClick(index, row) {
this.dialogVisible2 = true;
this.curIndex = index;
this.integralSettlementSettingId = row.integralSettlementSettingId;
},
// 确认删除按钮
sureDelBtn() {
let para = { let para = {
id: row.integralSettlementSettingId id: this.integralSettlementSettingId
}; };
postRequest('/api-admin/delete-special-by-id', para).then(res => { postRequest('/api-admin/delete-special-by-id', para).then(res => {
let data = res.data; let data = res.data;
if (data.errorCode == 0) { if (data.errorCode == 0) {
this.tableData2.splice(index, 1); this.dialogVisible2 = false;
this.tableData2.splice(this.curIndex, 1);
this.$message.success('删除成功'); this.$message.success('删除成功');
} else { } else {
this.$message.error(data.message); this.$message.error(data.message);
...@@ -541,4 +560,16 @@ export default { ...@@ -541,4 +560,16 @@ export default {
color: #909399; color: #909399;
font-size: 12px; font-size: 12px;
} }
.del-wrap {
font-size: 14px;
h3 {
color: #303133;
line-height: 20px;
margin-bottom: 12px;
}
p {
color: #f5222d;
line-height: 20px;
}
}
</style> </style>
...@@ -4,69 +4,29 @@ ...@@ -4,69 +4,29 @@
<div class="right-content"> <div class="right-content">
<div class="right-box"> <div class="right-box">
<div class="nav-list-wrap"> <div class="nav-list-wrap">
<el-carousel trigger="click" height="60px" arrow="always" :autoplay="false" indicator-position="none" :loop="false"> <div class="nav-list">
<el-carousel-item v-for="(newItem, idx) in newApplyList" :key="idx"> <el-carousel trigger="click" height="60px" arrow="always" :autoplay="false" indicator-position="none" :loop="false">
<ul class="clearfix"> <el-carousel-item v-for="(newItem, idx) in newApplyList" :key="idx">
<li @click="selectEnterprise(item, index)" class="fl nav-item" v-for="(item, index) in newItem" :key="index"> <ul class="clearfix">
<i :class="{ on: curIndex == index }">{{ item.enterpriseName }}<span v-show="!item.isEdit" class="item-edit">*</span></i <li @click="selectEnterprise(item, index)" class="fl nav-item" v-for="(item, index) in newItem" :key="index">
><span v-show="index < newItem.length - 1">|</span> <i :class="{ on: curIndex == index }">{{ item.enterpriseName }}<span v-show="!item.isEdit" class="item-edit">*</span></i
</li> ><span v-show="index < newItem.length - 1">|</span>
</ul> </li>
</el-carousel-item> </ul>
</el-carousel> </el-carousel-item>
</div> </el-carousel>
<div class="group-wrap">
<div class="search-wrap clearfix">
<div class="search-input fl">
<el-input placeholder="请输入结算归属名称/code" prefix-icon="el-icon-search" v-model="searchValue" clearable> </el-input>
</div>
<div class="two-btn-wrap fr">
<el-row>
<el-button plain
>导入结算归属及门店<el-popover class="item" placement="bottom" trigger="hover">
<div class="popover-content-wrap">
<div>
<p>上次导入时间<br />2019-01-01 12:00</p>
<el-button type="text" class="fr">下载模板</el-button>
</div>
<el-button style="display:none" type="text">下载模板</el-button>
</div>
<i slot="reference" class="icon-more el-icon-more btn-icon-more"></i
></el-popover>
</el-button>
<el-button type="primary">创建结算归属</el-button>
<el-tooltip class="item" effect="dark" content="按拼音首字母排序" placement="top-start">
<i class="iconfont icon-paixu1 my-icon-paixu"></i>
</el-tooltip>
</el-row>
</div>
</div> </div>
<div class="group-list"> <div class="change-style-icon fr">
<ul v-if="this.totalCount < 1" class="clearfix"> <el-tooltip class="item" effect="dark" content="结算归属概览" placement="bottom">
<li v-for="(card, index) in cardList" :key="index"> <i @click="changeStyle('card')" class="iconfont icon-caidan my-icon " :class="{ on: showStyle == 'card' }"></i>
<div class="title clearfix"> </el-tooltip>
<h3 class="fl">结算归属组名称1</h3> <el-tooltip class="item" effect="dark" content="结算归属列表" placement="bottom">
<p class="fr"> <i @click="changeStyle('list')" class="iconfont icon-xiangqing my-icon" :class="{ on: showStyle == 'list' }"></i>
<el-popover class="item" placement="bottom" trigger="hover"> </el-tooltip>
<div class="popover-group-content">
<p class="edit-btn"><el-button type="text">编辑</el-button></p>
<p class="del-btn"><el-button type="text">删除</el-button></p>
</div>
<i slot="reference" class="icon-more el-icon-more"></i>
</el-popover>
</p>
</div>
<div class="group-info">
<p>code: 29327465</p>
<p>门店:3432家</p>
</div>
</li>
</ul>
<div class="no-data-wrap">
<span class="el-table__empty-text">暂无数据</span>
</div>
</div> </div>
</div> </div>
<cliqueCard v-show="showStyle == 'card'" :enterpriseId="enterpriseId"></cliqueCard>
<cliqueList v-show="showStyle == 'list'" :enterpriseId="enterpriseId"></cliqueList>
</div> </div>
</div> </div>
<vue-gic-footer></vue-gic-footer> <vue-gic-footer></vue-gic-footer>
...@@ -75,11 +35,14 @@ ...@@ -75,11 +35,14 @@
<script> <script>
import topNav from 'components/nav/nav'; import topNav from 'components/nav/nav';
import { postRequest } from '@/api/api'; import { postRequest } from '@/api/api';
import cliqueCard from './cliqueCard';
import cliqueList from './cliqueList';
export default { export default {
name: 'settlementConfig', name: 'settlementConfig',
data() { data() {
return { return {
repProjectName: 'gic-clique', repProjectName: 'gic-clique',
showStyle: 'card',
applyList: [], applyList: [],
newApplyList: [], newApplyList: [],
searchValue: '', searchValue: '',
...@@ -88,12 +51,28 @@ export default { ...@@ -88,12 +51,28 @@ export default {
cardList: [], cardList: [],
currentPage: 1, currentPage: 1,
pageSize: 20, pageSize: 20,
totalCount: 0 totalCount: 0,
dialogVisible: false,
cliqueGroupName: '',
cliqueGroupCode: '',
integralSettlementGroupId: '',
cliqueGroupIndex: 0,
// 编辑
dialogEditVisible: false,
ruleForm: {
cliqueGroupName: '',
cliqueGroupCode: ''
},
editTitle: '新增结算归属',
rules: {
cliqueGroupName: [{ required: true, message: '请输入结算归属名称', trigger: 'blur' }],
cliqueGroupCode: [{ required: true, message: '请输入结算归属code', trigger: 'blur' }]
},
loading: false
}; };
}, },
mounted() { mounted() {
this.getEnterpriseList(); this.getEnterpriseList();
this.getCliquePage();
}, },
methods: { methods: {
// 获取商户列表 // 获取商户列表
...@@ -108,6 +87,7 @@ export default { ...@@ -108,6 +87,7 @@ export default {
this.newApplyList.push(this.applyList.slice(i, i + 4)); this.newApplyList.push(this.applyList.slice(i, i + 4));
} }
this.enterpriseId = this.applyList[0].enterpriseId; this.enterpriseId = this.applyList[0].enterpriseId;
// this.getCliquePage();
} else { } else {
this.$message.error(data.message); this.$message.error(data.message);
} }
...@@ -117,25 +97,17 @@ export default { ...@@ -117,25 +97,17 @@ export default {
selectEnterprise(item, index) { selectEnterprise(item, index) {
this.enterpriseId = item.enterpriseId; this.enterpriseId = item.enterpriseId;
this.curIndex = index; this.curIndex = index;
this.currentPage = 1;
}, },
// 获取某商户下的卡片列表 // 选择展现方式
getCliquePage() { changeStyle(type) {
let para = { this.showStyle = type;
enterpriseId: this.enterpriseId,
search: this.searchValue
};
postRequest('/api-admin/clique-page-group', para).then(res => {
let data = res.data;
if (data.errorCode == 0) {
this.cardList = data.result.result ? data.result.result : [];
} else {
this.$message.error(data.message);
}
});
} }
}, },
components: { components: {
topNav topNav,
cliqueCard,
cliqueList
} }
}; };
</script> </script>
...@@ -147,6 +119,10 @@ export default { ...@@ -147,6 +119,10 @@ export default {
height: 60px; height: 60px;
line-height: 60px; line-height: 60px;
border-bottom: 1px solid rgba(235, 238, 245, 1); border-bottom: 1px solid rgba(235, 238, 245, 1);
.nav-list {
max-width: 1050px;
position: relative;
}
} }
.nav-item { .nav-item {
font-size: 14px; font-size: 14px;
...@@ -170,98 +146,21 @@ export default { ...@@ -170,98 +146,21 @@ export default {
font-size: 16px; font-size: 16px;
} }
} }
.group-wrap { .change-style-icon {
padding: 24px; // position: absolute;
.search-input { // top: 0;
width: 285px; // right: -75px;
} margin: -60px 24px 0 0;
.group-list { width: 73px;
margin-top: 24px;
li {
float: left;
cursor: pointer;
width: 243px;
box-sizing: border-box;
margin-right: 10px;
padding: 18px 20px 15px;
border: 1px solid rgba(235, 238, 245, 1);
box-shadow: 0px 1px 3px 0px rgba(220, 223, 230, 0.5);
h3 {
color: #303133;
width: 180px;
font-size: 16px;
line-height: 22px;
margin-bottom: 10px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
&:hover {
margin-top: -5px;
box-shadow: 0px 1px 5px 0px rgba(220, 223, 230, 0.5);
}
.group-info {
p {
color: #909399;
font-size: 14px;
line-height: 20px;
}
}
}
}
}
.icon-more {
transform: rotate(90deg);
color: #ccc;
cursor: pointer;
}
.btn-icon-more {
margin-left: 5px;
}
.popover-content-wrap p {
font-size: 14px;
color: #909399;
line-height: 18px;
margin-bottom: 15px;
width: 150px;
}
.popover-group-content {
font-size: 14px;
.del-btn {
padding-top: 20px;
}
}
.popover-group-content /deep/ .el-button--text {
color: #606266;
}
.popover-group-content .edit-btn /deep/ .el-button--text:hover {
color: #1890ff;
}
.popover-group-content .del-btn /deep/ .el-button--text {
color: #f5222d;
}
.popover-group-content .del-btn /deep/ .el-button--text:hover {
color: #ff454f;
} }
.my-icon-paixu { .my-icon {
font-size: 16px; font-size: 16px;
padding: 8px; padding: 8px;
background: #ebeef5;
margin-left: 8px;
border-radius: 4px; border-radius: 4px;
color: #303133; color: #303133;
cursor: pointer; cursor: pointer;
} &.on {
// 暂无数据 background: #ebeef5;
.no-data-wrap { }
height: 256px;
text-align: center;
font-size: 14px;
display: -ms-flexbox;
display: flex;
-ms-flex-pack: center;
justify-content: center;
-ms-flex-align: center;
align-items: center;
} }
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment