Commit 495bd1ed by zhu_yu_dan

add:积分抵现策略、人群筛选器

parent 64a27665
......@@ -13,8 +13,8 @@ module.exports = {
proxyTable: {},//proxyConfig.proxyList,
// Various Dev Server settings
// host: '0.0.0.0', // can be overwritten by process.env.HOST
host: 'localhost',//'192.168.1.20',//
host: '0.0.0.0', // can be overwritten by process.env.HOST
// host: 'localhost',
port: 8001, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false,
errorOverlay: true,
......
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-集团后台</title><link href=./static/css/app.c8e6734def7d71fab03bec2af38797f4.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.1ce9184711c6016098f6.js></script><script type=text/javascript src=./static/js/vendor.6731136114ba064adb71.js></script><script type=text/javascript src=./static/js/app.3d75ca536dea52c9409c.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-集团后台</title><link href=./static/css/app.926c4b6f1f1c44de30fda3badb4da452.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.dcac4622d9d9b99fe9d3.js></script><script type=text/javascript src=./static/js/vendor.77d1d199cc6372bea7f9.js></script><script type=text/javascript src=./static/js/app.6dc5205641e5dc577275.js></script></body></html>
\ 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.
webpackJsonp([11],{"4KSJ":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=e("MOmO"),s=e.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,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"errPage-container"},[e("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v("返回")]),t._v(" "),e("el-row",[e("el-col",{attrs:{span:12}},[e("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("你没有权限去该页面!")]),t._v(" "),e("h2"),t._v(" "),e("h6"),t._v(" "),e("ul",{staticClass:"list-unstyled"})]),t._v(" "),e("el-col",{attrs:{span:12}},[e("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),t._v(" "),e("el-dialog",{attrs:{title:"随便看",visible:t.dialogVisible},on:{"update:visible":function(a){t.dialogVisible=a}}},[e("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},staticRenderFns:[]};var l=e("VU/8")(r,n,!1,function(t){e("zpy8")},"data-v-343ad6fa",null);a.default=l.exports},MOmO:function(t,a,e){t.exports=e.p+"static/img/401.089007e.gif"},zpy8:function(t,a){}});
//# sourceMappingURL=11.fcd28c063fc5f42fcfb1.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/view/errorPage/401.vue","webpack:///./src/view/errorPage/401.vue?5a67","webpack:///./src/view/errorPage/401.vue","webpack:///./src/assets/401_images/401.gif"],"names":["errorPage_401","name","data","errGif","_01_default","a","Date","ewizardClap","dialogVisible","methods","back","this","$route","query","noGoBack","$router","push","path","go","view_errorPage_401","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","icon","on","click","_v","span","src","width","height","alt","title","visible","update:visible","$event","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__","module","exports","p"],"mappings":"iIA+BAA,GACAC,KAAA,UACAC,KAFA,WAGA,OACAC,OAAAC,EAAAC,EAAA,UAAAC,KACAC,YAAA,kEACAC,eAAA,IAGAC,SACAC,KADA,WAEAC,KAAAC,OAAAC,MAAAC,SACAH,KAAAI,QAAAC,MAAAC,KAAA,kBAEAN,KAAAI,QAAAG,IAAA,MC1CAC,GADiBC,OAFjB,WAA0B,IAAAC,EAAAV,KAAaW,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,sBAAgCF,EAAA,aAAkBE,YAAA,eAAAC,OAAkCC,KAAA,cAAoBC,IAAKC,MAAAT,EAAAX,QAAkBW,EAAAU,GAAA,QAAAV,EAAAU,GAAA,KAAAP,EAAA,UAAAA,EAAA,UAAuDG,OAAOK,KAAA,MAAWR,EAAA,MAAWE,YAAA,8BAAwCL,EAAAU,GAAA,gBAAAV,EAAAU,GAAA,KAAAP,EAAA,MAAAH,EAAAU,GAAA,KAAAP,EAAA,MAAAH,EAAAU,GAAA,KAAAP,EAAA,MAAwFE,YAAA,oBAA4BL,EAAAU,GAAA,KAAAP,EAAA,UAA6BG,OAAOK,KAAA,MAAWR,EAAA,OAAYG,OAAOM,IAAAZ,EAAAlB,OAAA+B,MAAA,MAAAC,OAAA,MAAAC,IAAA,wCAAuF,GAAAf,EAAAU,GAAA,KAAAP,EAAA,aAAoCG,OAAOU,MAAA,MAAAC,QAAAjB,EAAAb,eAA0CqB,IAAKU,iBAAA,SAAAC,GAAkCnB,EAAAb,cAAAgC,MAA2BhB,EAAA,OAAYE,YAAA,UAAAC,OAA6BM,IAAAZ,EAAAd,kBAAuB,IAExzBkC,oBCCjB,IAcAC,EAdAC,EAAA,OAcAC,CACA5C,EACAmB,GATA,EAVA,SAAA0B,GACAF,EAAA,SAaA,kBAEA,MAUAG,EAAA,QAAAJ,EAAA,8BC1BAK,EAAAC,QAAAL,EAAAM,EAAA","file":"static/js/11.fcd28c063fc5f42fcfb1.js","sourcesContent":["<template>\r\n <div class=\"errPage-container\">\r\n <el-button @click=\"back\" icon='arrow-left' class=\"pan-back-btn\">返回</el-button>\r\n <el-row>\r\n <el-col :span=\"12\">\r\n <h1 class=\"text-jumbo text-ginormous\">你没有权限去该页面!</h1>\r\n\r\n <h2></h2>\r\n <h6></h6>\r\n <ul class=\"list-unstyled\">\r\n <!-- <li>或者你可以去:</li>\r\n <li class=\"link-type\">\r\n <router-link to=\"#/companyGroup\">回首页</router-link>\r\n </li> -->\r\n <!-- <li class=\"link-type\"><a href=\"https://www.taobao.com/\">随便看看</a></li>\r\n <li><a @click.prevent=\"dialogVisible=true\" href=\"#\">点我看图</a></li> -->\r\n </ul>\r\n </el-col>\r\n <el-col :span=\"12\">\r\n <img :src=\"errGif\" width=\"313\" height=\"428\" alt=\"Girl has dropped her ice cream.\">\r\n </el-col>\r\n </el-row>\r\n <el-dialog title=\"随便看\" :visible.sync=\"dialogVisible\">\r\n <img class=\"pan-img\" :src=\"ewizardClap\">\r\n </el-dialog>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport errGif from '@/assets/401_images/401.gif'\r\n\r\nexport default {\r\n name: 'page401',\r\n data() {\r\n return {\r\n errGif: errGif + '?' + +new Date(),\r\n ewizardClap: 'https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646',\r\n dialogVisible: false\r\n }\r\n },\r\n methods: {\r\n back() {\r\n if (this.$route.query.noGoBack) {\r\n this.$router.push({ path: '/companyGroup' })\r\n } else {\r\n this.$router.go(-1)\r\n }\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style rel=\"stylesheet/scss\" lang=\"scss\" scoped>\r\n .errPage-container {\r\n width: 800px;\r\n margin: 100px auto;\r\n .pan-back-btn {\r\n background: #008489;\r\n color: #fff;\r\n }\r\n .pan-gif {\r\n margin: 0 auto;\r\n display: block;\r\n }\r\n .pan-img {\r\n display: block;\r\n margin: 0 auto;\r\n width: 100%;\r\n }\r\n .text-jumbo {\r\n font-size: 60px;\r\n font-weight: 700;\r\n color: #484848;\r\n }\r\n .list-unstyled {\r\n font-size: 14px;\r\n li {\r\n padding-bottom: 5px;\r\n }\r\n a {\r\n color: #008489;\r\n text-decoration: none;\r\n &:hover {\r\n text-decoration: underline;\r\n }\r\n }\r\n }\r\n }\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/view/errorPage/401.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"errPage-container\"},[_c('el-button',{staticClass:\"pan-back-btn\",attrs:{\"icon\":\"arrow-left\"},on:{\"click\":_vm.back}},[_vm._v(\"返回\")]),_vm._v(\" \"),_c('el-row',[_c('el-col',{attrs:{\"span\":12}},[_c('h1',{staticClass:\"text-jumbo text-ginormous\"},[_vm._v(\"你没有权限去该页面!\")]),_vm._v(\" \"),_c('h2'),_vm._v(\" \"),_c('h6'),_vm._v(\" \"),_c('ul',{staticClass:\"list-unstyled\"})]),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":12}},[_c('img',{attrs:{\"src\":_vm.errGif,\"width\":\"313\",\"height\":\"428\",\"alt\":\"Girl has dropped her ice cream.\"}})])],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"随便看\",\"visible\":_vm.dialogVisible},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('img',{staticClass:\"pan-img\",attrs:{\"src\":_vm.ewizardClap}})])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-343ad6fa\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/view/errorPage/401.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-343ad6fa\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./401.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./401.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./401.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-343ad6fa\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./401.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-343ad6fa\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/view/errorPage/401.vue\n// module id = null\n// module chunks = ","module.exports = __webpack_public_path__ + \"static/img/401.089007e.gif\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/401_images/401.gif\n// module id = MOmO\n// module chunks = 11"],"sourceRoot":""}
\ 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.
webpackJsonp([17],{"Z9/t":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("3Xzz"),o=a("P9l9"),s={name:"nearStoreSet",data:function(){return{projectName:"gic-clique",navpath:[{name:"首页",path:"/"},{name:"附近门店",path:""}],nearStoreSwithFlag:!0}},created:function(){},methods:{changeRoute:function(e){console.log("route-change"),this.$router.push(e)},nearStoreSwitch:function(){console.log(this.nearStoreSwithFlag),this.setNearStore()},setNearStore:function(){var e=this,t={requestProject:e.projectName,isShowCliqueStore:1==e.nearStoreSwithFlag?1:0};Object(o.e)("/api-admin/save-clique-show-store",t).then(function(t){var a=t.data;0!=a.errorCode?(e.nearStoreSwithFlag=!1,e.$message.error({duration:1e3,message:a.message})):e.$message({message:"修改附近门店显示配置成功",type:"success"})}).catch(function(t){console.log(t),e.nearStoreSwithFlag=!1,e.$message.error({duration:1e3,message:t.message})})},getNearStore:function(){var e=this,t={requestProject:e.projectName};Object(o.e)("/api-admin/clique-show-store",t).then(function(t){var a=t.data;0!=a.errorCode?e.$message.error({duration:1e3,message:error.message}):e.nearStoreSwithFlag=1==a.result.isShowCliqueStore}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getNearStore()},components:{topNav:r.a}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"right-wrap near-store-contain"},[a("topNav",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"attention-wrap"},[a("label",{staticClass:"near-store-tip"},[e._v("单商户小程序中附近门店是否展示集团其他商户门店")]),e._v(" "),a("div",{staticClass:"item-label"},[a("span",[e._v("展示")]),e._v(" "),a("el-switch",{on:{change:e.nearStoreSwitch},model:{value:e.nearStoreSwithFlag,callback:function(t){e.nearStoreSwithFlag=t},expression:"nearStoreSwithFlag"}})],1)])])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var i=a("VU/8")(s,n,!1,function(e){a("sfJC")},"data-v-8589e67a",null);t.default=i.exports},sfJC:function(e,t){}});
//# sourceMappingURL=17.2a9a627585bfad35d6fd.js.map
\ No newline at end of file
webpackJsonp([18],{"Z9/t":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("3Xzz"),o=a("P9l9"),s={name:"nearStoreSet",data:function(){return{projectName:"gic-clique",navpath:[{name:"首页",path:"/"},{name:"附近门店",path:""}],nearStoreSwithFlag:!0}},created:function(){},methods:{changeRoute:function(e){console.log("route-change"),this.$router.push(e)},nearStoreSwitch:function(){console.log(this.nearStoreSwithFlag),this.setNearStore()},setNearStore:function(){var e=this,t={requestProject:e.projectName,isShowCliqueStore:1==e.nearStoreSwithFlag?1:0};Object(o.e)("/api-admin/save-clique-show-store",t).then(function(t){var a=t.data;0!=a.errorCode?(e.nearStoreSwithFlag=!1,e.$message.error({duration:1e3,message:a.message})):e.$message({message:"修改附近门店显示配置成功",type:"success"})}).catch(function(t){console.log(t),e.nearStoreSwithFlag=!1,e.$message.error({duration:1e3,message:t.message})})},getNearStore:function(){var e=this,t={requestProject:e.projectName};Object(o.e)("/api-admin/clique-show-store",t).then(function(t){var a=t.data;0!=a.errorCode?e.$message.error({duration:1e3,message:error.message}):e.nearStoreSwithFlag=1==a.result.isShowCliqueStore}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getNearStore()},components:{topNav:r.a}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"right-wrap near-store-contain"},[a("topNav",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"attention-wrap"},[a("label",{staticClass:"near-store-tip"},[e._v("单商户小程序中附近门店是否展示集团其他商户门店")]),e._v(" "),a("div",{staticClass:"item-label"},[a("span",[e._v("展示")]),e._v(" "),a("el-switch",{on:{change:e.nearStoreSwitch},model:{value:e.nearStoreSwithFlag,callback:function(t){e.nearStoreSwithFlag=t},expression:"nearStoreSwithFlag"}})],1)])])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var i=a("VU/8")(s,n,!1,function(e){a("sfJC")},"data-v-8589e67a",null);t.default=i.exports},sfJC:function(e,t){}});
//# sourceMappingURL=18.386fa7dd437ec3beb671.js.map
\ No newline at end of file
webpackJsonp([20],{"6Qob":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("mvHQ"),n=i.n(s),o=i("5reh"),a=i("zL8q");function r(t){return t?(a.Message.warning(t),!1):(a.Message.warning("操作失败"),!1)}function l(t){return"cancel"==t?(a.Message.info(t||"cancel"),!1):t.hasOwnProperty("response")?401==t.response.status?(a.Message.error("登录过期"),!1):500==t.response.status?(a.Message.error("服务器错误500"),!1):void 0:(a.Message.error(t),!1)}var c=i("mw3O"),u={name:"login",data:function(){return{redirect:this.$route.query.redirect,token:"",form:{loginName:"damogic",password:"1",eid:"ff808081593917d90159398ec6340012"}}},computed:{imgHeight:function(){return document.body.clientHeight},imgWidth:function(){return document.body.clientWidth}},methods:{loginAnimate:function(){new LoginAnimate(loginwrap,{length:90,LineWeight:.1,clicked:!0,moveon:!0}).Run()},submitLogin:function(){var t=this;this.axios.post("/api-auth/do-login",c.stringify({loginName:this.form.loginName,password:this.form.password,eid:"ff808081593917d90159398ec6340012"})).then(function(e){if(e.data.success){(s=e.data.message)?a.Message.success(s):a.Message.success("操作成功");var i=decodeURIComponent(t.$route.query.redirect||"/index");t.$router.push({path:i})}else r(e.data.message);var s}).catch(function(t){l(t)})},getMenu:function(){var t=this;this.axios.get("/gic/get-menu").then(function(e){if(e.data.success){t.menuList=e.data.list,sessionStorage.setItem("menuList",n()(t.menuList));var i=t.$route.query.redirect||"/index";t.$router.push({path:i})}else r(e.data.errorMessage)}).catch(function(t){l(t)})}},mounted:function(){this.$store.commit(o.d,"login"),document.title=this.$store.state.title,this.loginAnimate()}},m={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"loginwrap",style:{height:t.imgHeight+"px"}},[i("div",{staticStyle:{position:"absolute",left:"0",height:"0",width:"100%"}},[i("canvas",{attrs:{id:"loginwrap",width:t.imgWidth,height:t.imgHeight}})]),t._v(" "),t._m(0),t._v(" "),i("div",{staticClass:"login_contetnt"},[i("h3",{staticClass:"login-top"},[t._v("让信息连接一切")]),t._v(" "),i("h4",{staticClass:"login-bottom"},[t._v("GIC商户后台")]),t._v(" "),i("div",{staticClass:"formlogin"},[i("el-form",{ref:"form",attrs:{model:t.form,"label-width":""}},[i("el-form-item",{attrs:{label:""}},[i("el-input",{staticClass:"forminput",attrs:{placeholder:"账号"},model:{value:t.form.loginName,callback:function(e){t.$set(t.form,"loginName",e)},expression:"form.loginName"}})],1),t._v(" "),i("el-form-item",{attrs:{label:""}},[i("el-input",{attrs:{type:"password",placeholder:"密码"},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.submitLogin("form")}},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),t._v(" "),i("el-form-item",[i("button",{staticClass:"submit",on:{click:function(e){e.preventDefault(),t.submitLogin("form")}}},[t._v("立即登录")])])],1)],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"logintop"},[e("div",{staticClass:"fl loginlogo"},[e("a",{staticClass:"fr logo",attrs:{href:"#"}},[this._v("login_logo.png")])]),this._v(" "),e("a",{staticClass:"home-link fr",attrs:{href:"http://www.demogic.com/"}},[this._v("返回首页")])])}]};var d=i("VU/8")(u,m,!1,function(t){i("OWNH")},null,null);e.default=d.exports},OWNH:function(t,e){}});
//# sourceMappingURL=20.7b9c715be6b1f4fd1abb.js.map
\ No newline at end of file
webpackJsonp([21],{"6Qob":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("mvHQ"),n=i.n(s),o=i("5reh"),a=i("zL8q");function r(t){return t?(a.Message.warning(t),!1):(a.Message.warning("操作失败"),!1)}function l(t){return"cancel"==t?(a.Message.info(t||"cancel"),!1):t.hasOwnProperty("response")?401==t.response.status?(a.Message.error("登录过期"),!1):500==t.response.status?(a.Message.error("服务器错误500"),!1):void 0:(a.Message.error(t),!1)}var c=i("mw3O"),u={name:"login",data:function(){return{redirect:this.$route.query.redirect,token:"",form:{loginName:"damogic",password:"1",eid:"ff808081593917d90159398ec6340012"}}},computed:{imgHeight:function(){return document.body.clientHeight},imgWidth:function(){return document.body.clientWidth}},methods:{loginAnimate:function(){new LoginAnimate(loginwrap,{length:90,LineWeight:.1,clicked:!0,moveon:!0}).Run()},submitLogin:function(){var t=this;this.axios.post("/api-auth/do-login",c.stringify({loginName:this.form.loginName,password:this.form.password,eid:"ff808081593917d90159398ec6340012"})).then(function(e){if(e.data.success){(s=e.data.message)?a.Message.success(s):a.Message.success("操作成功");var i=decodeURIComponent(t.$route.query.redirect||"/index");t.$router.push({path:i})}else r(e.data.message);var s}).catch(function(t){l(t)})},getMenu:function(){var t=this;this.axios.get("/gic/get-menu").then(function(e){if(e.data.success){t.menuList=e.data.list,sessionStorage.setItem("menuList",n()(t.menuList));var i=t.$route.query.redirect||"/index";t.$router.push({path:i})}else r(e.data.errorMessage)}).catch(function(t){l(t)})}},mounted:function(){this.$store.commit(o.d,"login"),document.title=this.$store.state.title,this.loginAnimate()}},m={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"loginwrap",style:{height:t.imgHeight+"px"}},[i("div",{staticStyle:{position:"absolute",left:"0",height:"0",width:"100%"}},[i("canvas",{attrs:{id:"loginwrap",width:t.imgWidth,height:t.imgHeight}})]),t._v(" "),t._m(0),t._v(" "),i("div",{staticClass:"login_contetnt"},[i("h3",{staticClass:"login-top"},[t._v("让信息连接一切")]),t._v(" "),i("h4",{staticClass:"login-bottom"},[t._v("GIC商户后台")]),t._v(" "),i("div",{staticClass:"formlogin"},[i("el-form",{ref:"form",attrs:{model:t.form,"label-width":""}},[i("el-form-item",{attrs:{label:""}},[i("el-input",{staticClass:"forminput",attrs:{placeholder:"账号"},model:{value:t.form.loginName,callback:function(e){t.$set(t.form,"loginName",e)},expression:"form.loginName"}})],1),t._v(" "),i("el-form-item",{attrs:{label:""}},[i("el-input",{attrs:{type:"password",placeholder:"密码"},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.submitLogin("form")}},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),t._v(" "),i("el-form-item",[i("button",{staticClass:"submit",on:{click:function(e){e.preventDefault(),t.submitLogin("form")}}},[t._v("立即登录")])])],1)],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"logintop"},[e("div",{staticClass:"fl loginlogo"},[e("a",{staticClass:"fr logo",attrs:{href:"#"}},[this._v("login_logo.png")])]),this._v(" "),e("a",{staticClass:"home-link fr",attrs:{href:"http://www.demogic.com/"}},[this._v("返回首页")])])}]};var d=i("VU/8")(u,m,!1,function(t){i("OWNH")},null,null);e.default=d.exports},OWNH:function(t,e){}});
//# sourceMappingURL=21.d00a22bde04cd9bcaa07.js.map
\ No newline at end of file
webpackJsonp([26],{YPWR:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=o("bOdI"),a=o.n(l),n=o("5reh"),s={name:"App",data:function(){var e;return e={projectName:"gic-clique",contentHeight:"0px",collapseFlag:!1},a()(e,"collapseFlag",!1),a()(e,"leftModulesName","会员设置"),a()(e,"bodyHeight",document.body.clientHeight||document.documentElement.clientHeight),e},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){this.$store.commit(n.d,"达摩GIC"),document.title=this.$store.state.title,this.pathName=window.location.hash.split("/")[1],console.log("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},i={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"index"}},[o("vue-gic-header",{attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body"},[o("div",{staticClass:"left-menu",class:{"small-left":e.collapseFlag},style:{minHeight:e.bodyHeight-66+"px"}},[o("vue-gic-aside-menu",{attrs:{projectName:e.projectName,leftModulesName:e.leftModulesName,collapseFlag:e.collapseFlag}})],1),e._v(" "),o("div",{staticClass:"right-right",class:{margin64:e.collapseFlag}},[o("router-view")],1)])])],1)},staticRenderFns:[]};var c=o("VU/8")(s,i,!1,function(e){o("rI3x")},null,null);t.default=c.exports},rI3x:function(e,t){}});
//# sourceMappingURL=26.14aa8d2e992a467345c7.js.map
\ No newline at end of file
webpackJsonp([25],{YPWR:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=o("bOdI"),a=o.n(l),n=o("5reh"),s={name:"App",data:function(){var e;return e={projectName:"gic-clique",contentHeight:"0px",collapseFlag:!1},a()(e,"collapseFlag",!1),a()(e,"leftModulesName","会员设置"),a()(e,"bodyHeight",document.body.clientHeight||document.documentElement.clientHeight),e},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){this.$store.commit(n.d,"达摩GIC"),document.title=this.$store.state.title,this.pathName=window.location.hash.split("/")[1],console.log("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},i={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"index"}},[o("vue-gic-header",{attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body"},[o("div",{staticClass:"left-menu",class:{"small-left":e.collapseFlag},style:{minHeight:e.bodyHeight-66+"px"}},[o("vue-gic-aside-menu",{attrs:{projectName:e.projectName,leftModulesName:e.leftModulesName,collapseFlag:e.collapseFlag}})],1),e._v(" "),o("div",{staticClass:"right-right",class:{margin64:e.collapseFlag}},[o("router-view")],1)])])],1)},staticRenderFns:[]};var c=o("VU/8")(s,i,!1,function(e){o("rI3x")},null,null);t.default=c.exports},rI3x:function(e,t){}});
//# sourceMappingURL=25.8b953bd9ff7d58cc8055.js.map
\ No newline at end of file
webpackJsonp([30],{gOFg:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=t("P9l9"),n={name:"public_num_attention",data:function(){return{baseUrl:"",enterpriseId:"",backgroundMode:""}},beforeMount:function(){var e=window.location.origin;console.log("当前host:",e),"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e},methods:{redirect:function(e){var r=this,t={eid:e};Object(o.a)("/api-auth/do-login-for-clique",t).then(function(e){var t=e.data;if(0==t.errorCode){var o=r.baseUrl+"";return 1==r.backgroundMode?void(window.location.href=o+"/middle-ground/#/index"):void(window.location.href=o+"/report/#/memberSummary")}errMsg.errorMsg(t)}).catch(function(e){console.log(e),r.$message.error({duration:1e3,message:e.message})})}},mounted:function(){console.log("mounted",this.$route.query.gradeId),this.enterpriseId=this.$route.query.enterpriseId,this.backgroundMode=this.$route.query.backgroundMode,this.redirect(this.enterpriseId)}},i={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"right-wrap"})},staticRenderFns:[]},s=t("VU/8")(n,i,!1,null,null,null);r.default=s.exports}});
//# sourceMappingURL=30.666907bd786bd3d85c16.js.map
\ No newline at end of file
webpackJsonp([32],{gOFg:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=t("P9l9"),n={name:"public_num_attention",data:function(){return{baseUrl:"",enterpriseId:"",backgroundMode:""}},beforeMount:function(){var e=window.location.origin;console.log("当前host:",e),"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e},methods:{redirect:function(e){var r=this,t={eid:e};Object(o.a)("/api-auth/do-login-for-clique",t).then(function(e){var t=e.data;if(0==t.errorCode){var o=r.baseUrl+"";return 1==r.backgroundMode?void(window.location.href=o+"/middle-ground/#/index"):void(window.location.href=o+"/report/#/memberSummary")}errMsg.errorMsg(t)}).catch(function(e){console.log(e),r.$message.error({duration:1e3,message:e.message})})}},mounted:function(){console.log("mounted",this.$route.query.gradeId),this.enterpriseId=this.$route.query.enterpriseId,this.backgroundMode=this.$route.query.backgroundMode,this.redirect(this.enterpriseId)}},i={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"right-wrap"})},staticRenderFns:[]},s=t("VU/8")(n,i,!1,null,null,null);r.default=s.exports}});
//# sourceMappingURL=32.34c6c67d1f9e29e97828.js.map
\ 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.
webpackJsonp([9],{"4KSJ":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=e("MOmO"),s=e.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,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"errPage-container"},[e("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v("返回")]),t._v(" "),e("el-row",[e("el-col",{attrs:{span:12}},[e("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("你没有权限去该页面!")]),t._v(" "),e("h2"),t._v(" "),e("h6"),t._v(" "),e("ul",{staticClass:"list-unstyled"})]),t._v(" "),e("el-col",{attrs:{span:12}},[e("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),t._v(" "),e("el-dialog",{attrs:{title:"随便看",visible:t.dialogVisible},on:{"update:visible":function(a){t.dialogVisible=a}}},[e("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},staticRenderFns:[]};var l=e("VU/8")(r,n,!1,function(t){e("zpy8")},"data-v-343ad6fa",null);a.default=l.exports},MOmO:function(t,a,e){t.exports=e.p+"static/img/401.089007e.gif"},zpy8:function(t,a){}});
//# sourceMappingURL=9.bd6886217341a2ac6364.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/view/errorPage/401.vue","webpack:///./src/view/errorPage/401.vue?5a67","webpack:///./src/view/errorPage/401.vue","webpack:///./src/assets/401_images/401.gif"],"names":["errorPage_401","name","data","errGif","_01_default","a","Date","ewizardClap","dialogVisible","methods","back","this","$route","query","noGoBack","$router","push","path","go","view_errorPage_401","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","icon","on","click","_v","span","src","width","height","alt","title","visible","update:visible","$event","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__","module","exports","p"],"mappings":"gIA+BAA,GACAC,KAAA,UACAC,KAFA,WAGA,OACAC,OAAAC,EAAAC,EAAA,UAAAC,KACAC,YAAA,kEACAC,eAAA,IAGAC,SACAC,KADA,WAEAC,KAAAC,OAAAC,MAAAC,SACAH,KAAAI,QAAAC,MAAAC,KAAA,kBAEAN,KAAAI,QAAAG,IAAA,MC1CAC,GADiBC,OAFjB,WAA0B,IAAAC,EAAAV,KAAaW,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,sBAAgCF,EAAA,aAAkBE,YAAA,eAAAC,OAAkCC,KAAA,cAAoBC,IAAKC,MAAAT,EAAAX,QAAkBW,EAAAU,GAAA,QAAAV,EAAAU,GAAA,KAAAP,EAAA,UAAAA,EAAA,UAAuDG,OAAOK,KAAA,MAAWR,EAAA,MAAWE,YAAA,8BAAwCL,EAAAU,GAAA,gBAAAV,EAAAU,GAAA,KAAAP,EAAA,MAAAH,EAAAU,GAAA,KAAAP,EAAA,MAAAH,EAAAU,GAAA,KAAAP,EAAA,MAAwFE,YAAA,oBAA4BL,EAAAU,GAAA,KAAAP,EAAA,UAA6BG,OAAOK,KAAA,MAAWR,EAAA,OAAYG,OAAOM,IAAAZ,EAAAlB,OAAA+B,MAAA,MAAAC,OAAA,MAAAC,IAAA,wCAAuF,GAAAf,EAAAU,GAAA,KAAAP,EAAA,aAAoCG,OAAOU,MAAA,MAAAC,QAAAjB,EAAAb,eAA0CqB,IAAKU,iBAAA,SAAAC,GAAkCnB,EAAAb,cAAAgC,MAA2BhB,EAAA,OAAYE,YAAA,UAAAC,OAA6BM,IAAAZ,EAAAd,kBAAuB,IAExzBkC,oBCCjB,IAcAC,EAdAC,EAAA,OAcAC,CACA5C,EACAmB,GATA,EAVA,SAAA0B,GACAF,EAAA,SAaA,kBAEA,MAUAG,EAAA,QAAAJ,EAAA,8BC1BAK,EAAAC,QAAAL,EAAAM,EAAA","file":"static/js/9.bd6886217341a2ac6364.js","sourcesContent":["<template>\r\n <div class=\"errPage-container\">\r\n <el-button @click=\"back\" icon='arrow-left' class=\"pan-back-btn\">返回</el-button>\r\n <el-row>\r\n <el-col :span=\"12\">\r\n <h1 class=\"text-jumbo text-ginormous\">你没有权限去该页面!</h1>\r\n\r\n <h2></h2>\r\n <h6></h6>\r\n <ul class=\"list-unstyled\">\r\n <!-- <li>或者你可以去:</li>\r\n <li class=\"link-type\">\r\n <router-link to=\"#/companyGroup\">回首页</router-link>\r\n </li> -->\r\n <!-- <li class=\"link-type\"><a href=\"https://www.taobao.com/\">随便看看</a></li>\r\n <li><a @click.prevent=\"dialogVisible=true\" href=\"#\">点我看图</a></li> -->\r\n </ul>\r\n </el-col>\r\n <el-col :span=\"12\">\r\n <img :src=\"errGif\" width=\"313\" height=\"428\" alt=\"Girl has dropped her ice cream.\">\r\n </el-col>\r\n </el-row>\r\n <el-dialog title=\"随便看\" :visible.sync=\"dialogVisible\">\r\n <img class=\"pan-img\" :src=\"ewizardClap\">\r\n </el-dialog>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport errGif from '@/assets/401_images/401.gif'\r\n\r\nexport default {\r\n name: 'page401',\r\n data() {\r\n return {\r\n errGif: errGif + '?' + +new Date(),\r\n ewizardClap: 'https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646',\r\n dialogVisible: false\r\n }\r\n },\r\n methods: {\r\n back() {\r\n if (this.$route.query.noGoBack) {\r\n this.$router.push({ path: '/companyGroup' })\r\n } else {\r\n this.$router.go(-1)\r\n }\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style rel=\"stylesheet/scss\" lang=\"scss\" scoped>\r\n .errPage-container {\r\n width: 800px;\r\n margin: 100px auto;\r\n .pan-back-btn {\r\n background: #008489;\r\n color: #fff;\r\n }\r\n .pan-gif {\r\n margin: 0 auto;\r\n display: block;\r\n }\r\n .pan-img {\r\n display: block;\r\n margin: 0 auto;\r\n width: 100%;\r\n }\r\n .text-jumbo {\r\n font-size: 60px;\r\n font-weight: 700;\r\n color: #484848;\r\n }\r\n .list-unstyled {\r\n font-size: 14px;\r\n li {\r\n padding-bottom: 5px;\r\n }\r\n a {\r\n color: #008489;\r\n text-decoration: none;\r\n &:hover {\r\n text-decoration: underline;\r\n }\r\n }\r\n }\r\n }\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/view/errorPage/401.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"errPage-container\"},[_c('el-button',{staticClass:\"pan-back-btn\",attrs:{\"icon\":\"arrow-left\"},on:{\"click\":_vm.back}},[_vm._v(\"返回\")]),_vm._v(\" \"),_c('el-row',[_c('el-col',{attrs:{\"span\":12}},[_c('h1',{staticClass:\"text-jumbo text-ginormous\"},[_vm._v(\"你没有权限去该页面!\")]),_vm._v(\" \"),_c('h2'),_vm._v(\" \"),_c('h6'),_vm._v(\" \"),_c('ul',{staticClass:\"list-unstyled\"})]),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":12}},[_c('img',{attrs:{\"src\":_vm.errGif,\"width\":\"313\",\"height\":\"428\",\"alt\":\"Girl has dropped her ice cream.\"}})])],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"随便看\",\"visible\":_vm.dialogVisible},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('img',{staticClass:\"pan-img\",attrs:{\"src\":_vm.ewizardClap}})])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-343ad6fa\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/view/errorPage/401.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-343ad6fa\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./401.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./401.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./401.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-343ad6fa\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./401.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-343ad6fa\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/view/errorPage/401.vue\n// module id = null\n// module chunks = ","module.exports = __webpack_public_path__ + \"static/img/401.089007e.gif\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/401_images/401.gif\n// module id = MOmO\n// module chunks = 9"],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([32],{"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)})}}},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("//Fk"),r=n.n(o),m=n("7+uW"),a={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 p=n("VU/8")({name:"App",data:function(){return{}}},a,!1,function(e){n("gx7t")},null,null).exports,i=n("/ocq"),s=n("5tgt"),u=n.n(s);m.default.use(i.a);var c=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 d,l=[{path:"/",name:"index",component:u()("index","index"),children:[{path:"/companyGroup",name:"集团信息",component:u()("companyGroup/membershipSystem","companyGroupInfo")},{path:"/memberCardSet",name:"会员卡设置",component:u()("companyGroup/membershipSystem","memberCardSet")},{path:"/memberGrade",name:"会员等级列表",component:u()("companyGroup/membershipSystem","memberGrade")},{path:"/addMemberGrade",name:"添加等级列表",component:u()("companyGroup/membershipSystem","addMemberGrade")},{path:"/editMemberGrade",name:"编辑等级列表",component:u()("companyGroup/membershipSystem","editMemberGrade")},{path:"/addGroupGrade",name:"添加集团会员等级",component:u()("companyGroup/membershipSystem","addGroupGrade")},{path:"/editGroupGrade",name:"编辑集团会员等级",component:u()("companyGroup/membershipSystem","editGroupGrade")},{path:"/addGroupCate",name:"添加集团折扣策略",component:u()("companyGroup/membershipSystem","addGroupCate")},{path:"/editGroupCate",name:"编辑集团折扣策略",component:u()("companyGroup/membershipSystem","editGroupCate")},{path:"/pointSystem",name:"积分制度",component:u()("companyGroup/membershipSystem","pointSystem")},{path:"/addPointSystem",name:"新增积分获取策略",component:u()("companyGroup/membershipSystem","addPointSystem")},{path:"/editPointSystem",name:"编辑积分获取策略",component:u()("companyGroup/membershipSystem","editPointSystem")},{path:"/addIntegralSytem",name:"新增积分抵现策略",component:u()("companyGroup/membershipSystem","addIntegralSytem")},{path:"/editIntegralSytem",name:"编辑积分抵现策略",component:u()("companyGroup/membershipSystem","editIntegralSytem")},{path:"/nearStoreSet",name:"附近门店",component:u()("companyGroup/membershipSystem","nearStoreSet")},{path:"/memberAchievement",name:"会员成就",component:u()("companyGroup/memberServices","memberAchievement")},{path:"/memberTask",name:"会员任务",component:u()("companyGroup/memberServices","memberTask")}]},{path:"/memberInfoTemplate",name:"开卡字段配置模板",component:u()("companyGroup/membershipSystem","memberInfoTemplate")},{path:"/login",name:"集团商户登录",component:u()("companyGroup","login")},{path:"/403",name:"无权访问",component:c},{path:"/404",name:"error404",component:c},{path:"/500",name:"error500",component:c},{path:"*",redirect:"/404",hidden:!0}],y=new i.a({routes:l,scrollBehavior:function(){return{y:0}}}),h=n("zL8q"),b=n.n(h),f=n("Rf8U"),G=n.n(f),v=n("mtWM"),S=n.n(v),g=n("bOdI"),k=n.n(g),x=n("NYxO"),w=n("5reh");m.default.use(x.a);var C=new x.a.Store({state:{user:{},token:null,title:"",show:!1},mutations:(d={},k()(d,w.a,function(e,t){sessionStorage.token=t,e.token=t}),k()(d,w.b,function(e){sessionStorage.removeItem("token"),e.token=null}),k()(d,w.d,function(e,t){e.title=t}),k()(d,w.c,function(e,t){e.show=t}),d)}),I=(n("4qCZ"),n("tvR6"),n("uKUT"),n("Xcu2"),n("kIPI")),P=n.n(I),_=n("Yw2C"),E=n.n(_),j=n("dq+2"),M=n.n(j),T=n("SE7k"),q=n.n(T),z=n("XsK6"),R=n.n(z),H=n("+adj"),O=n.n(H),V={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")}}},A={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:[]},L=n("VU/8")(V,A,!1,null,null,null).exports;m.default.component("delete-tip",L),m.default.use(R.a),m.default.use(q.a),m.default.use(M.a),m.default.use(E.a),m.default.use(P.a),m.default.use(O.a),m.default.config.productionTip=!1,m.default.use(b.a),m.default.use(G.a,S.a),m.default.axios.defaults.withCredentials=!0,m.default.axios.interceptors.request.use(function(e){return e},function(e){return console.log("requesterr"+e),r.a.reject(e)}),m.default.axios.interceptors.response.use(function(e){return console.log("main:",e),200==e.status&&1==e.data.errorCode&&console.log("main:",e),e},function(e){if(console.log(e),e.response)switch(e.response.status){case 401:window.location.href=window.location.origin+"/gic-web/#/";case 500:h.Message.error("服务器500")}return r.a.reject(e.response.data)}),new m.default({el:"#app",router:y,store:C,components:{App:p},template:"<App/>"})},"Vna/":function(e,t,n){var o={"./companyGroup/login.vue":["gOFg",0,30],"./companyGroup/memberServices/memberAchievement.vue":["j6GH",0,8],"./companyGroup/memberServices/memberTask.vue":["cxQk",0,10],"./companyGroup/memberTableEdit.vue":["PDVn",0,25],"./companyGroup/membershipSystem/addGroupCate.vue":["DaJb",0,27],"./companyGroup/membershipSystem/addGroupGrade.vue":["y9jV",0,23],"./companyGroup/membershipSystem/addIntegralSytem.vue":["tFd/",0,18],"./companyGroup/membershipSystem/addMemberGrade.vue":["ge0i",0,22],"./companyGroup/membershipSystem/addPointSystem.vue":["ewsH",0,16],"./companyGroup/membershipSystem/companyGroupInfo.vue":["1H9E",0,12],"./companyGroup/membershipSystem/editGroupCate.vue":["+Lzv",0,24],"./companyGroup/membershipSystem/editGroupGrade.vue":["QwkL",0,28],"./companyGroup/membershipSystem/editIntegralSytem.vue":["KjG/",0,15],"./companyGroup/membershipSystem/editMemberGrade.vue":["Iz3c",0,19],"./companyGroup/membershipSystem/editPointSystem.vue":["GJjE",0,13],"./companyGroup/membershipSystem/memberCardSet.vue":["fZcc",6,0],"./companyGroup/membershipSystem/memberGrade.vue":["C6vQ",0,29],"./companyGroup/membershipSystem/memberInfoTemplate.vue":["zCRq",5,0],"./companyGroup/membershipSystem/nearStoreSet.vue":["Z9/t",0,17],"./companyGroup/membershipSystem/pointSystem.vue":["b5xz",7,0],"./errorPage/401.vue":["4KSJ",9],"./errorPage/403.vue":["aM+6",2],"./errorPage/404.vue":["PRsh",3],"./errorPage/500.vue":["/HCr",4],"./errorPage/index.vue":["EE2z",1],"./index/index.vue":["YPWR",26],"./linktools/linktools.vue":["Lc2x",0,14],"./linktools/linktoolsold.vue":["/8lq",0,21],"./linktools/linktoolspage.vue":["HLON",0,11],"./login/login.vue":["6Qob",0,20]};function r(e){var t=o[e];return t?Promise.all(t.slice(1).map(n.e)).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){},gx7t:function(e,t){},tvR6:function(e,t){},uKUT:function(e,t){}},["NHnr"]);
//# sourceMappingURL=app.3d75ca536dea52c9409c.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,t,o){for(var f,d,b,i=0,u=[];i<c.length;i++)d=c[i],n[d]&&u.push(n[d][0]),n[d]=0;for(f in t)Object.prototype.hasOwnProperty.call(t,f)&&(e[f]=t[f]);for(a&&a(c,t,o);u.length;)u.shift()();if(o)for(i=0;i<o.length;i++)b=r(r.s=o[i]);return b};var c={},n={33:0};function r(a){if(c[a])return c[a].exports;var n=c[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var a=n[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,r){a=n[e]=[c,r]});a[2]=c;var t=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,r.nc&&o.setAttribute("nonce",r.nc),o.src=r.p+"static/js/"+e+"."+{0:"86b294fc697c5b670f9b",1:"c1017b8a513cbf71ebbe",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"a4b8ca5df028eb5acd94",6:"554e3a01523a89c7e2fd",7:"3365724171ecda9c7f12",8:"e4d0e337314d16bca9a1",9:"bd6886217341a2ac6364",10:"ff23765a9bab3e23f432",11:"e85b90356083e5b3e250",12:"af84cc6c3694750dcc19",13:"ccb20b81320d43e288ec",14:"e3674474da8a18925ba8",15:"074bc3217a09c94218b2",16:"d9aefda15cdcdcaa601d",17:"2a9a627585bfad35d6fd",18:"3e0fe282703228da1325",19:"5834a038632e44903605",20:"7b9c715be6b1f4fd1abb",21:"09ef3499b85121c205bf",22:"accc95cfa79a18a4db8e",23:"afe40f7aa3e19b004d5e",24:"47ed594ce1d5096bc443",25:"e1b47e46be04a84f5dfd",26:"14aa8d2e992a467345c7",27:"f1332e2026f14eedadc2",28:"6aacd72d117cb55ba895",29:"16999d57f486e85b197d",30:"666907bd786bd3d85c16"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var a=n[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return o.onerror=o.onload=d,t.appendChild(o),c},r.m=e,r.c=c,r.d=function(e,a,c){r.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},r.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(a,"a",a),a},r.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},r.p="./",r.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.1ce9184711c6016098f6.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap 386bd0181b04e95d0d4d"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","33","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","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.1ce9184711c6016098f6.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\t33: 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\":\"86b294fc697c5b670f9b\",\"1\":\"c1017b8a513cbf71ebbe\",\"2\":\"344d5c61c44868322e7e\",\"3\":\"88a303fc10feb8b51091\",\"4\":\"f6a8f25f4e8cc458879d\",\"5\":\"a4b8ca5df028eb5acd94\",\"6\":\"554e3a01523a89c7e2fd\",\"7\":\"3365724171ecda9c7f12\",\"8\":\"e4d0e337314d16bca9a1\",\"9\":\"bd6886217341a2ac6364\",\"10\":\"ff23765a9bab3e23f432\",\"11\":\"e85b90356083e5b3e250\",\"12\":\"af84cc6c3694750dcc19\",\"13\":\"ccb20b81320d43e288ec\",\"14\":\"e3674474da8a18925ba8\",\"15\":\"074bc3217a09c94218b2\",\"16\":\"d9aefda15cdcdcaa601d\",\"17\":\"2a9a627585bfad35d6fd\",\"18\":\"3e0fe282703228da1325\",\"19\":\"5834a038632e44903605\",\"20\":\"7b9c715be6b1f4fd1abb\",\"21\":\"09ef3499b85121c205bf\",\"22\":\"accc95cfa79a18a4db8e\",\"23\":\"afe40f7aa3e19b004d5e\",\"24\":\"47ed594ce1d5096bc443\",\"25\":\"e1b47e46be04a84f5dfd\",\"26\":\"14aa8d2e992a467345c7\",\"27\":\"f1332e2026f14eedadc2\",\"28\":\"6aacd72d117cb55ba895\",\"29\":\"16999d57f486e85b197d\",\"30\":\"666907bd786bd3d85c16\"}[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 386bd0181b04e95d0d4d"],"sourceRoot":""}
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,r,t){for(var d,o,b,i=0,u=[];i<a.length;i++)o=a[i],f[o]&&u.push(f[o][0]),f[o]=0;for(d in r)Object.prototype.hasOwnProperty.call(r,d)&&(e[d]=r[d]);for(c&&c(a,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)b=n(n.s=t[i]);return b};var a={},f={35:0};function n(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,n),f.l=!0,f.exports}n.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,n){c=f[e]=[a,n]});c[2]=a;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:"b581d93b25771c745739",1:"c1017b8a513cbf71ebbe",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"a4b8ca5df028eb5acd94",6:"554e3a01523a89c7e2fd",7:"dab0379a83ee21068ebd",8:"93a836f8e24ccbfa37a8",9:"f2fc23ef3295d1d71397",10:"dd0179c5403b17075d8c",11:"fcd28c063fc5f42fcfb1",12:"5f2625be387d0754a192",13:"e9b269df79fbe5ad9c06",14:"88ad7c3763cde5c4579d",15:"fba3172bd607c327fee4",16:"371568a3cde808513ed8",17:"a8596df3ae6b08f81ee8",18:"386fa7dd437ec3beb671",19:"1f97fb28c42940bce6e8",20:"2cde7e3bd3bc35ab0d1c",21:"d00a22bde04cd9bcaa07",22:"f3cfba5aaf2f484a4433",23:"abcff409e8a1b1b2e992",24:"84c8d7030c4d5bcc16c2",25:"8b953bd9ff7d58cc8055",26:"f76f7276adb25f8ef4f4",27:"469904f8f61a61e67429",28:"ed6cd73628e041cf1498",29:"0f53dcaa1cfbc7704a08",30:"27db46f0e344d8da402d",31:"05709dac411948aad6e6",32:"34c6c67d1f9e29e97828"}[e]+".js";var d=setTimeout(o,12e4);function o(){t.onerror=t.onload=null,clearTimeout(d);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return t.onerror=t.onload=o,r.appendChild(t),a},n.m=e,n.c=a,n.d=function(e,c,a){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,"a",c),c},n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.dcac4622d9d9b99fe9d3.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap 947a42069b3cdb1f0582"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","35","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","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.dcac4622d9d9b99fe9d3.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\t35: 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\":\"b581d93b25771c745739\",\"1\":\"c1017b8a513cbf71ebbe\",\"2\":\"344d5c61c44868322e7e\",\"3\":\"88a303fc10feb8b51091\",\"4\":\"f6a8f25f4e8cc458879d\",\"5\":\"a4b8ca5df028eb5acd94\",\"6\":\"554e3a01523a89c7e2fd\",\"7\":\"dab0379a83ee21068ebd\",\"8\":\"93a836f8e24ccbfa37a8\",\"9\":\"f2fc23ef3295d1d71397\",\"10\":\"dd0179c5403b17075d8c\",\"11\":\"fcd28c063fc5f42fcfb1\",\"12\":\"5f2625be387d0754a192\",\"13\":\"e9b269df79fbe5ad9c06\",\"14\":\"88ad7c3763cde5c4579d\",\"15\":\"fba3172bd607c327fee4\",\"16\":\"371568a3cde808513ed8\",\"17\":\"a8596df3ae6b08f81ee8\",\"18\":\"386fa7dd437ec3beb671\",\"19\":\"1f97fb28c42940bce6e8\",\"20\":\"2cde7e3bd3bc35ab0d1c\",\"21\":\"d00a22bde04cd9bcaa07\",\"22\":\"f3cfba5aaf2f484a4433\",\"23\":\"abcff409e8a1b1b2e992\",\"24\":\"84c8d7030c4d5bcc16c2\",\"25\":\"8b953bd9ff7d58cc8055\",\"26\":\"f76f7276adb25f8ef4f4\",\"27\":\"469904f8f61a61e67429\",\"28\":\"ed6cd73628e041cf1498\",\"29\":\"0f53dcaa1cfbc7704a08\",\"30\":\"27db46f0e344d8da402d\",\"31\":\"05709dac411948aad6e6\",\"32\":\"34c6c67d1f9e29e97828\"}[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 947a42069b3cdb1f0582"],"sourceRoot":""}
\ 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.
......@@ -12,7 +12,8 @@
"dependencies": {
"@gic-test/vue-area-ab": "^1.4.5",
"@gic-test/vue-gic-aside-menu": "^1.1.45",
"@gic-test/vue-gic-footer": "^1.0.8",
"@gic-test/vue-gic-footer": "^1.0.10",
"@gic-test/vue-gic-group-people": "^0.1.6",
"@gic-test/vue-gic-header": "^1.3.31",
"@gic-test/vue-gic-img-preview": "^1.0.13",
"@gic-test/vue-gic-store-new": "^1.2.7",
......
<template>
<div class="goods-cate-content">
<div class="goods-cate-title" @click.stop="showDragClick">
<el-tag
:key="index"
v-for="(tag,index) in selectCateData"
closable
:disable-transitions="false"
@close="handleClose(tag)"
class='select-tag'
size="small">
{{tag.categoryName}}
</el-tag>
<i :class="showDrag?'el-icon-arrow-down':'el-icon-arrow-up'"></i>
</div>
<div class="goods-cate-list-container" v-show="showDrag" @click.stop="searchBlur">
<div class="goods-cate-list-content" @click.stop="searchBlur">
<div class="goods-cate-box" v-for="(item,index) in allDate" :key='index' @click.stop="searchBlur">
<el-input
placeholder="请输入内容"
prefix-icon='el-icon-search'
size="small"
clearable
v-model="item.search"
class="cate-search"
@keyup.enter.native='$event => searchCate(item.search,index,item,$event)'
>
</el-input>
<div class="goods-cate-list">
<div
class="goods-cate-item"
v-for="(i,ind) in item.arr"
:class="i.classIndex===ind?'cate-item-active':''"
:key='i.categoryId'
@click.stop="getNextCateList(i,ind,item,index)">
<span>{{i.categoryName}}</span>
<i class="el-icon-arrow-right" v-if="i.isChildren"></i>
</div>
</div>
<span style="display: none;">{{refreshStatus}}</span>
</div>
</div>
<div class="goods-cate-footer">
<el-row>
<el-button type="text" size="small" class="cancel-cate" @click="cancelConfirmCate">取消</el-button>
<el-button type="text" size="small" class="confirm-cate" @click.stop='handaleConfirmCate'>确认</el-button>
</el-row>
</div>
</div>
</div>
</template>
<script>
import { getRequest,postRequest } from '../../api/api';
let qs = require('qs');
export default {
props:{
selectCateData:{
type:Array,
default:[]
},
selectCateType:{
type:String,
default:''
}
},
data() {
return {
allDate:[],
firstCate:[],
classIndex1:0,
refreshStatus:false,
seceltIndex1:'',
seceltIndex2:'',
showDrag:false,
showCateDrag:true,
// selectCateData:[]
}
},
mounted(){
},
created(){
this.getFirstCateList()
},
methods: {
//获取一级品类列表
getFirstCateList(){
getRequest('/api-mall/list-mall-goods-all-category',{
requestProject:'gic-clique'
}).then(res => {
if(res.data.errorCode===0){
this.allDate=[]
this.allDate.push({
search:'',
arr:res.data.result
})
}else{
this.$message.error(res.data.message)
}
})
},
// 获取子级品类
getNextCateList(i,ind,item,index){
this.seceltIndex1 = index;
this.seceltIndex2 = ind;
this.allDate.length = index + 1
this.refreshStatus = !this.refreshStatus
for( let j of item.arr ) {
j.classIndex = -1
// i.selectBgcolor=false
}
i.classIndex = ind
// i.selectBgcolor=true//选中元素的标志
let params = {
categoryId:i.categoryId
}
postRequest('/api-mall/list-mall-goods-children-category',params)
.then(res => {
if(res.data.errorCode===0){
if(res.data.result.length){
this.allDate[index+1] = ({
search:'',
arr:res.data.result
})
this.refreshStatus = !this.refreshStatus
}
}else{
this.$message.error(res.data.message)
}
})
},
// 确认选择子级
handaleConfirmCate(){
console.log(this.allDate)
if(this.seceltIndex1===''||this.seceltIndex2===''){
this.showDrag=false
return false
}
// for(let i in this.selectCateData){ // 限制是否为同一组下
// if(this.allDate[this.seceltIndex1].arr[this.seceltIndex2].categoryGroupId===this.selectCateData[i].categoryGroupId){
// this.selectCateData.splice(i,1)
// }
// }
var allIds = [];
this.selectCateData.forEach((item)=>{
allIds.push(item.categoryId);
})
if(allIds.indexOf(this.allDate[this.seceltIndex1].arr[this.seceltIndex2].categoryId)!=-1){
this.$message.error('请勿重复添加');
return;
}
this.selectCateData.push(this.allDate[this.seceltIndex1].arr[this.seceltIndex2]);
let cateIdsList=[]
for(let j in this.selectCateData){
cateIdsList.push(this.selectCateData[j].categoryId)//得到选中的品类列表集合
}
var obj = {};
obj.cateIdsList = cateIdsList;
obj.selectCateType = this.selectCateType;
this.$emit("getCateIds",obj)
},
// //取消选择
cancelConfirmCate(){
// console.log("取消")
for( let i in this.allDate ){
for( let j in this.allDate[i].arr ) {
this.allDate[i].arr[j].classIndex = -1
}
}
this.getFirstCateList()//获取第一列
this.showDrag=false;
var obj = {};
obj.cateIdsList = [];
obj.selectCateType = this.selectCateType;
this.$emit("getCateIds",obj)
},
handleClose(tag) {
this.selectCateData.splice(this.selectCateData.indexOf(tag), 1);
let cateIdsList=[]
for(let j in this.selectCateData){
cateIdsList.push(this.selectCateData[j].categoryId)//得到选中的品类列表集合
}
var obj = {};
obj.cateIdsList = cateIdsList;
obj.selectCateType = this.selectCateType;
this.$emit("getCateIds",obj)
},
// 搜索
searchCate(search, index, item,e){
// console.log(777777777,e)
e.cancelBubble = true
this.allDate.length = index+1
if( index === 0 ) {
let params = {
search
}
postRequest('/api-mall/list-mall-goods-all-category',params).then(res => {
if(res.data.errorCode===0){
this.allDate=[]
this.allDate.push({
search:search!==''?search:'',
arr:res.data.result
})
}else{
this.$message.error(res.data.message)
}
})
}else {
let categoryId=''
for(let ind in this.allDate[index-1].arr){
if(this.allDate[index-1].arr[ind].classIndex!==-1){
categoryId=this.allDate[index-1].arr[ind].categoryId
}
}
let params = {
search:search,
categoryId:categoryId
}
postRequest('/api-mall/list-mall-goods-children-category',params).then(res => {
if(res.data.errorCode===0){
this.allDate[index] = ({
search:search!==''?search:'',
arr:res.data.result
})
this.refreshStatus = !this.refreshStatus
}else{
this.$message.error(res.data.message)
}
})
}
},
searchBlur(e){
},
showDragClick(){
this.showDrag=!this.showDrag
},
hideDragClick(){
this.showDrag=false
},
},
components: {
}
}
</script>
<style scoped>
.goods-cate-content{
/*width:900px;*/
position: relative;
}
.goods-cate-title{
min-height:32px;
border-radius:4px;
border:1px solid #dcdfe6;
padding:0 10px;
cursor: pointer;
position:relative;
background: #fff;
}
.goods-cate-title i{
position:absolute;
right:10px;
top:9px;
color:#c0c4cc;
}
.select-tag{
margin:0 5px;
}
.goods-cate-list-content{
overflow-x:auto;
border:1px solid #dcdfe6;
border-radius:4px;
border-top:none;
padding:10px 0 20px 0;
white-space: nowrap;
padding-left:10px;
width: 642px;
background:#fff;
}
.goods-cate-list-container{
position:absolute;
left:0px;
z-index:2;
margin-top: 10px;
}
.goods-cate-footer{
height:32px;
padding-right: 10px;
border:1px solid #dcdfe6;
border-top:none;
background:#fff;
text-align: right
}
.goods-cate-box{
width:200px;
border:1px solid #dcdfe6;
border-radius:4px;
display:inline-block;
margin-right:10px;
}
.cate-search{
margin:10px;
width:180px;
}
.goods-cate-list{
height:200px;
overflow-y:auto;
}
.goods-cate-item{
height:32px;
line-height: 32px;
position: relative;
color:#909399;
cursor: pointer;
padding-left:10px;
}
.goods-cate-item:hover{
background: #f5f5f6;
}
.cate-item-active{
color: #1890ff;
}
.goods-cate-item .el-icon-arrow-right{
position:absolute;
right:5px;
top:9px;
font-weight:600;
}
</style>
......@@ -28,14 +28,14 @@
<el-radio v-model="ruleForm.integralGetDiscountControl" label="1">所有折扣商品都适用</el-radio>
</div>
<div class="radio-cell margin-20">
<el-radio v-model="ruleForm.integralGetDiscountControl" label="2">折扣</el-radio>
<el-radio v-model="ruleForm.integralGetDiscountControl" label="2">折扣</el-radio>
<!-- <el-input v-model="ruleForm.integralGetDiscountControlLower" @change="formatInputChange($event)"></el-input> -->
<inputNumber v-model="ruleForm.integralGetDiscountControlLower" :precision="2" :controls="false" :max="10.00" :min="0.01"></inputNumber>
<label></label>
<!-- <el-input v-model="ruleForm.integralGetDiscountControlUpper" @change="formatInputChange($event)"></el-input> -->
<inputNumber v-model="ruleForm.integralGetDiscountControlUpper" :precision="2" :controls="false" :max="10.00" :min="0.01"></inputNumber>
<label>商品都适用</label>
<span style="font-size: 13px;color: #828282;line-height: 1;padding-left: 10px;">注意:折扣范围0.01-10.00,最低折扣率不能大于最高折扣率</span>
<label>商品都适用</label>
<span style="font-size: 13px;color: #828282;line-height: 1;padding-left: 10px;">注意:折扣范围0.01-10.00,最低折扣不能大于最高折扣</span>
</div>
</el-form-item>
<el-form-item label="积分冻结期" prop="name" class="padding-0">
......@@ -74,14 +74,14 @@
<el-radio v-model="ruleForm.integralUseDiscountControl" label="1">所有折扣商品都适用</el-radio>
</div>
<div class="radio-cell margin-20" >
<el-radio v-model="ruleForm.integralUseDiscountControl" label="2">折扣</el-radio>
<el-radio v-model="ruleForm.integralUseDiscountControl" label="2">折扣</el-radio>
<!-- <el-input v-model="ruleForm.integralUseDiscountControlLower" @change="formatInputChange($event)"></el-input> -->
<inputNumber v-model="ruleForm.integralUseDiscountControlLower" :precision="2" :controls="false" :max="10.00" :min="0.01"></inputNumber>
<label></label>
<!-- <el-input v-model="ruleForm.integralUseDiscountControlUpper" @change="formatInputChange($event)"></el-input> -->
<inputNumber v-model="ruleForm.integralUseDiscountControlUpper" :precision="2" :controls="false" :max="10.00" :min="0.01"></inputNumber>
<label>商品都适用</label>
<span style="font-size: 13px;color: #828282;line-height: 1;padding-left: 10px;">注意:折扣范围0.01-10.00,最低折扣率不能大于最高折扣率</span>
<span style="font-size: 13px;color: #828282;line-height: 1;padding-left: 10px;">注意:折扣范围0.01-10.00,最低折扣不能大于最高折扣</span>
</div>
</el-form-item>
<el-form-item label="比例限制" prop="name">
......@@ -288,22 +288,22 @@ import 'tinymce/plugins/textcolor'
if(data.integralGetStatus == 1 && data.integralGetDiscountControl == 2){
var flagA = Number(data.integralGetDiscountControlUpper) <= Number(data.integralGetDiscountControlLower);
if(!data.integralGetDiscountControlLower || !data.integralGetDiscountControlUpper){
that.$message.error('积分获取规则中的折扣不能为空')
that.$message.error('积分获取规则中的折扣不能为空')
return;
}
if (flagA) {
that.$message.error('积分获取规则中的折扣格式有误')
that.$message.error('积分获取规则中的折扣格式有误')
return;
}
}
if(data.integralUseStatus == 1 && data.integralUseDiscountControl == 2){
var flagB = Number(data.integralUseDiscountControlUpper) <= Number(data.integralUseDiscountControlLower)
if(!data.integralUseDiscountControlLower || !data.integralUseDiscountControlUpper){
that.$message.error('积分抵现规则中的折扣不能为空')
that.$message.error('积分抵现规则中的折扣不能为空')
return;
}
if (flagB) {
that.$message.error("积分抵现规则中的折扣格式有误")
that.$message.error("积分抵现规则中的折扣格式有误")
return;
}
}
......
......@@ -18,17 +18,20 @@ import vueAreaAb from '@gic-test/vue-area-ab'
import vueGicFooter from '@gic-test/vue-gic-footer'
import vueGicImgPreview from '@gic-test/vue-gic-img-preview'
// 选择门店
import vueGicStoreGroup from '@gic-test/vue-gic-store-new'
import {gicStoreGroup} from '@gic-test/vue-gic-store-new'
// 删除提示
import deleteTip from 'components/com/deleteTip'
Vue.component('delete-tip', deleteTip);
// 人群筛选器
import vueGicGroupPeople from '@gic-test/vue-gic-group-people/src/lib/index'
Vue.use(vueGicImgPreview)
Vue.use(vueGicFooter)
Vue.use(vueAreaAb)
Vue.use(vueGicAsideMenu)
Vue.use(vueGicHeader)
Vue.use(vueGicStoreGroup)
Vue.use(gicStoreGroup)
Vue.use(vueGicGroupPeople)
Vue.config.productionTip = false;
Vue.use(ElementUI);
......
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