Commit 352ad148 by liuchenxi

update: build

parent 1ac4d488
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./static/img/favicon.ico><title>GIC-会员标签</title><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.eebb6b61e33e9d13eba721d5aaed78f1.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script>(function() {
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./static/img/favicon.ico><title>GIC-会员标签</title><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.3559d295496f3708ababd75748082e67.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script>(function() {
var src = '/component/static/import-component.js?timestrap='+ new Date().getTime();
var host = window.location.host;
host = host.indexOf('localhost') > -1 || host.indexOf('192.168') > -1 ? 'gicdev.demogic.com' : host;
document.write('<script src="//'+ host + src +'"><\/script>')
})()</script><script src=//web-1251519181.file.myqcloud.com/components/track.1.0.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script type=text/javascript src=./static/js/manifest.6865cdd850bb0e49c60c.js></script><script type=text/javascript src=./static/js/vendor.54a87a2d59473a797f33.js></script><script type=text/javascript src=./static/js/app.d4c55665602d7d79b366.js></script></body></html>
\ No newline at end of file
})()</script><script src=//web-1251519181.file.myqcloud.com/components/track.1.0.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script type=text/javascript src=./static/js/manifest.0801d71108990f2706fa.js></script><script type=text/javascript src=./static/js/vendor.54a87a2d59473a797f33.js></script><script type=text/javascript src=./static/js/app.4260a229ea607e371579.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.
webpackJsonp([19],{SJ7l:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=i("Dd8w"),n=i.n(s),a=i("lRwf"),r=i.n(a),o=i("l6IN"),c=i("2CGT"),l=i("2uFj");r.a.component(o.CollapseTransition.name,o.CollapseTransition);var d={name:"group-list",data:function(){return{lists:[],addGroupDialog:!1,expendTxt:"收起",expendTxtTag:"收起",expendTxtFixed:"收起",groupName:"",title:"新增分组名称",currentIndex:-1,currentTagIndex:0,currentFixedIndex:0,active:!1,Taglists:[],classTagName:"tag-name",hasLevel:!1,currentLevelIndex:-2,groupLists:[],fixedLists:[]}},computed:{expendClass:function(){return"展开"!=this.expendTxt?"is-caret":""},expendTagClass:function(){return"展开"!=this.expendTxtTag?"is-caret":""},expendFixedClass:function(){return"展开"!=this.expendTxtFixed?"is-caret":""}},methods:{handleChangeLevel:function(e,t){this.currentLevelIndex=e,this.currentIndex=-2,this.currentFixedIndex=-2,this.$emit("second-list",{list:t,isTag:!0})},_getTagLists:function(){var e=this;Object(c.s)({requestProject:"gic-member-tag-web"}).then(function(t){1===t.errorCode&&(e.groupLists=t.result,console.log(e.groupLists))})},handleChangeTag:function(e,t){this.active=!1,this.classTagName="tag-name active-name",this.currentTagIndex=e,this.$emit("second-list",{list:t,isTag:!0})},handleNoEditClassifyName:function(){this.lists=this.lists.map(function(e){return n()({},e,{edit:!1})})},handleChangeIndex:function(e,t){this.classTagName="tag-name",this.active=!1,this.currentIndex=e,this.currentLevelIndex=-2,this.currentFixedIndex=-2,this.$emit("second-list",t)},handleChangeFixed:function(e,t){this.classTagName="tag-name",this.active=!1,this.currentFixedIndex=e,this.currentLevelIndex=-2,this.currentIndex=-2,this.$emit("second-list",{isFixed:!0,list:t})},editGroupName:function(e){if(e.edit)this.modifyName(e);else{if(!this.operatorName(e))return;e.edit=!0}},deleteGroupName:function(e){var t=this;if(this.operatorName(e))return e.edit?(e.edit=!1,void this.getMemberGroupList()):void this.$confirm("删除分组名称,包括该分组下的内容,确定删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.excludeName(e)}).catch(function(){t.$message({type:"info",message:"已取消删除"})})},excludeName:function(e){var t=this,i={requestProject:"gic-member-tag-web",memberTagGroupClassifyId:e.memberTagGroupClassifyId};Object(c.z)(i).then(function(e){1==e.errorCode&&(t.getMemberGroupList(),t.$message({type:"success",message:"删除成功!"}))})},modifyName:function(e){var t=this;if(e.classifyName){var i={requestProject:"gic-member-tag-web",classifyName:e.classifyName,memberTagGroupClassifyId:e.memberTagGroupClassifyId};Object(c.B)(i).then(function(i){1==i.errorCode&&(e.edit=!1,t.getMemberGroupList(),t.$message({type:"success",message:"修改成功",duration:2e3}))})}else this.$message({message:"分组名称不能为空!",type:"warning",duration:2e3})},operatorName:function(e){return"0"!=e.memberTagGroupClassifyId||(this.$message({message:e.classifyName+"的不能操作",type:"warning",duration:2e3}),!1)},handleGroupDialog:function(){var e=this;if(this.groupName){var t={requestProject:"gic-member-tag-web",classifyName:this.groupName};Object(c.B)(t).then(function(t){1==t.errorCode&&(e.getMemberGroupList(),e.groupName="",e.addGroupDialog=!1,e.$message({type:"success",message:"添加成功"}))})}else this.$message({type:"warning",message:"分组名称不能为空"})},getMemberGroupList:function(){var e=this;Object(c.A)({requestProject:"gic-member-tag-web",type:0}).then(function(t){1===t.errorCode&&(console.log(t.result),e.lists=t.result.map(function(e){return n()({},e,{edit:!1})}))})},getFixedMemberGroupList:function(){var e=this;Object(c.A)({requestProject:"gic-member-tag-web",type:1}).then(function(t){1===t.errorCode&&(e.fixedLists=t.result.map(function(e){return n()({},e,{edit:!1})}))})},handleExpend:function(){this.currentIndex=-1,this.currentLevelIndex=-2,this.currentFixedIndex=-2,this.expendTxt="展开"===this.expendTxt?"收起":"展开",this.$emit("second-list","all")},handleExpendTag:function(){this.currentLevelIndex=-1,this.currentIndex=-2,this.currentFixedIndex=-2,this.expendTxtTag="展开"===this.expendTxtTag?"收起":"展开",this.$emit("second-list","allLevel")},handleExpendFixed:function(){this.currentFixedIndex=-1,this.currentLevelIndex=-2,this.currentIndex=-2,this.expendTxtFixed="展开"===this.expendTxtFixed?"收起":"展开",this.$emit("second-list","showFixedList")},_hasLevelFeature:function(){var e=this;Object(c.w)().then(function(t){1===t.errorCode&&(e.hasLevel=t.result)})}},beforeMount:function(){this.getMemberGroupList(),this.getFixedMemberGroupList(),this._getTagLists(),this._hasLevelFeature()},filters:{aliasTips:function(e){var t=l.a.find(function(t){return t.name===e});return t?t.title:""}}},u={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"group-list"},[i("div",{staticClass:"member-group",class:{"light-group":-1===e.currentIndex},on:{click:e.handleExpend}},[i("i",{staticClass:"icon-list el-icon-caret-right icon-transform",class:e.expendClass}),e._v("\n 我的会员分组\n "),i("i",{staticClass:"el-icon-plus icon-right icon-list",on:{click:function(t){e.addGroupDialog=!0}}})]),e._v(" "),i("el-collapseTransition",[i("ul",{directives:[{name:"show",rawName:"v-show",value:"展开"==e.expendTxt,expression:"expendTxt == '展开'"}],staticClass:"lists"},e._l(e.lists,function(t,s){return i("li",{key:s,class:["member-list",{"active-li":s==e.currentIndex}],on:{click:function(i){return e.handleChangeIndex(s,t)}}},[i("span",{directives:[{name:"show",rawName:"v-show",value:!t.edit,expression:"!list.edit"}],staticClass:"name-txt",attrs:{title:t.classifyName}},[e._v(e._s(t.classifyName))]),e._v(" "),i("el-input",{directives:[{name:"show",rawName:"v-show",value:t.edit,expression:"list.edit"}],staticStyle:{width:"100px"},attrs:{size:"mini",maxLength:"10"},nativeOn:{keyup:function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"enter",13,i.key,"Enter")?null:e.modifyName(t)}},model:{value:t.classifyName,callback:function(i){e.$set(t,"classifyName",i)},expression:"list.classifyName"}}),e._v(" "),"未分类"!==t.classifyName?i("div",{staticClass:"oper-area"},[i("i",{staticClass:"iconfont icon-list-oper",class:[t.edit?"icon-dagou":"icon-bianji1"],on:{click:function(i){return i.stopPropagation(),e.editGroupName(t)}}}),e._v(" "),i("i",{staticClass:"iconfont icon-list-oper",class:[t.edit?"icon-guanbi1":"icon-guanbi"],on:{click:function(i){return e.deleteGroupName(t)}}})]):e._e()],1)}),0)]),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:e.hasLevel,expression:"hasLevel"}],class:["member-group",{"active-item":-1==e.currentLevelIndex}],on:{click:e.handleExpendTag}},[i("i",{staticClass:"icon-list el-icon-caret-right icon-transform",class:e.expendTagClass}),e._v("\n 金字塔会员分层\n ")]),e._v(" "),i("el-collapseTransition",[i("ul",{directives:[{name:"show",rawName:"v-show",value:"展开"==e.expendTxtTag,expression:"expendTxtTag == '展开'"}],staticClass:"lists"},e._l(e.groupLists,function(t,s){return i("li",{key:s,class:["member-list",{"active-li":s==e.currentLevelIndex}],on:{click:function(i){return e.handleChangeLevel(s,t)}}},[i("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e._f("aliasTips")(t.aliasName),placement:"top-start","open-delay":300}},[i("span",[e._v(e._s(t.aliasName))])])],1)}),0)]),e._v(" "),i("div",{staticClass:"member-group",class:{"light-group":-1===e.currentFixedIndex},on:{click:e.handleExpendFixed}},[i("i",{staticClass:"icon-list el-icon-caret-right icon-transform",class:e.expendFixedClass}),e._v("\n 固化人群\n ")]),e._v(" "),i("el-collapseTransition",[i("ul",{directives:[{name:"show",rawName:"v-show",value:"展开"==e.expendTxtFixed,expression:"expendTxtFixed == '展开'"}],staticClass:"lists"},e._l(e.fixedLists,function(t,s){return i("li",{key:s,class:["member-list",{"active-li":s==e.currentFixedIndex}],on:{click:function(i){return e.handleChangeFixed(s,t)}}},[i("span",{directives:[{name:"show",rawName:"v-show",value:!t.edit,expression:"!list.edit"}],staticClass:"name-txt",attrs:{title:t.classifyName}},[e._v(e._s(t.classifyName))])])}),0)]),e._v(" "),i("el-dialog",{attrs:{title:e.title,visible:e.addGroupDialog,width:"320px",top:"30vh","close-on-click-modal":!1},on:{"update:visible":function(t){e.addGroupDialog=t}}},[i("div",[e._v("\n 分组名称:\n "),i("el-input",{staticStyle:{width:"200px"},attrs:{placeholder:"请输入分组名称",maxlength:8,clearable:""},model:{value:e.groupName,callback:function(t){e.groupName=t},expression:"groupName"}})],1),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.addGroupDialog=!1}}},[e._v("取 消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.handleGroupDialog}},[e._v("确 定")])],1)])],1)},staticRenderFns:[]};var m=i("VU/8")(d,u,!1,function(e){i("WKzK")},"data-v-b837bd70",null);t.default=m.exports},WKzK:function(e,t){}});
\ 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.
webpackJsonp([22],{YPWR:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("5reh"),i={name:"App",data:function(){return{projectName:"member-tag",contentHeight:"0px",collapseFlag:!1,leftModulesName:"会员标签"}},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},watch:{},mounted:function(){this.$store.commit(o.d,"达摩GIC"),document.title=this.$store.state.title,this.pathName=window.location.hash.split("/")[1],this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},s={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"index"}},[e("vue-gic-header",{attrs:{projectName:this.projectName,collapseFlag:this.collapseFlag},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])],1)},staticRenderFns:[]};var a=n("VU/8")(i,s,!1,function(t){n("sgMm")},null,null);e.default=a.exports},sgMm:function(t,e){}});
\ No newline at end of file
webpackJsonp([21],{YPWR:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("5reh"),i={name:"App",data:function(){return{projectName:"member-tag",contentHeight:"0px",collapseFlag:!1,leftModulesName:"会员标签"}},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},watch:{},mounted:function(){this.$store.commit(o.d,"达摩GIC"),document.title=this.$store.state.title,this.pathName=window.location.hash.split("/")[1],this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},s={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"index"}},[e("vue-gic-header",{attrs:{projectName:this.projectName,collapseFlag:this.collapseFlag},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])],1)},staticRenderFns:[]};var a=n("VU/8")(i,s,!1,function(t){n("sgMm")},null,null);e.default=a.exports},sgMm:function(t,e){}});
\ No newline at end of file
webpackJsonp([23],{"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("l6IN");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)}var c=i("mw3O"),u={name:"login",data:function(){return{redirect:this.$route.query.redirect,token:"",form:{loginName:"HAZZYS",password:"EA48576F30BE1669971699C09AD05C94",eid:"ff8080816494494b0164a76b553a00e5"}}},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:"ff8080816494494b0164a76b553a00e5"})).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){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?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){return 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("i8uS")},null,null);e.default=d.exports},i8uS:function(t,e){}});
\ No newline at end of file
webpackJsonp([22],{"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("l6IN");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)}var c=i("mw3O"),u={name:"login",data:function(){return{redirect:this.$route.query.redirect,token:"",form:{loginName:"HAZZYS",password:"EA48576F30BE1669971699C09AD05C94",eid:"ff8080816494494b0164a76b553a00e5"}}},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:"ff8080816494494b0164a76b553a00e5"})).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){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?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){return 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("i8uS")},null,null);e.default=d.exports},i8uS:function(t,e){}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([26],{Dwwd:function(t,e){},iHP3:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Dd8w"),n=a.n(s),i=a("lRwf"),l=a.n(i),c=a("l6IN"),o=a("CUHN"),d=a("SJI6");l.a.component(c.CollapseTransition.name,c.CollapseTransition);var r={name:"tag-type",components:{SecondTag:o.default},props:{tagList:Object},data:function(){return{list:{},typeName:"",editData:[],expends:"收起"}},computed:n()({},Object(d.mapState)(["tagRealName"])),methods:{handleChangeExpends:function(){this.expends="收起"===this.expends?"展开":"收起"},handleFirstTag:function(){localStorage.setItem("jumpTag",""),this.$emit("handleFristTag",this.list)}},watch:{tagList:{immediate:!0,handler:function(t){this.list=t}}}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"list"},[a("span",{staticClass:"expends-txt",on:{click:t.handleChangeExpends}},[t._v(t._s(t.expends)+" ")]),t._v(" "),a("div",{staticClass:"first-tag"},[a("div",[a("i",{staticClass:"iconfont menu-icon",class:[t.list.icon,{"icon-tag-light":t.list.name===t.tagRealName}]}),t._v(" "),a("span",{staticClass:"tag-name",class:{"icon-tag-light":t.list.name===t.tagRealName},on:{click:t.handleFirstTag}},[t._v(t._s(t.list.name))])]),t._v(" "),a("el-collapseTransition",[a("div",{directives:[{name:"show",rawName:"v-show",value:"收起"===t.expends,expression:"expends === '收起'"}],staticClass:"second-tag"},t._l(t.list.children,function(e,s){return a("second-tag",{key:s,attrs:{list:e,"tag-name":t.list.name}})}),1)])],1)])},staticRenderFns:[]};var m=a("VU/8")(r,p,!1,function(t){a("Dwwd")},"data-v-4c518050",null);e.default=m.exports}});
\ No newline at end of file
webpackJsonp([28],{PrMK:function(e,t){},SJ7l:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=i("Dd8w"),n=i.n(s),a=i("lRwf"),r=i.n(a),o=i("l6IN"),l=i("2CGT"),c=i("2uFj");r.a.component(o.CollapseTransition.name,o.CollapseTransition);var d={name:"group-list",data:function(){return{lists:[],addGroupDialog:!1,expendTxt:"收起",expendTxtTag:"收起",expendTxtFixed:"收起",groupName:"",title:"新增分组名称",currentIndex:-1,currentTagIndex:0,currentFixedIndex:0,active:!1,Taglists:[],classTagName:"tag-name",hasLevel:!1,currentLevelIndex:-2,groupLists:[],fixedLists:[]}},computed:{expendClass:function(){return"展开"!=this.expendTxt?"is-caret":""},expendTagClass:function(){return"展开"!=this.expendTxtTag?"is-caret":""},expendFixedClass:function(){return"展开"!=this.expendTxtFixed?"is-caret":""}},methods:{handleChangeLevel:function(e,t){this.currentLevelIndex=e,this.currentIndex=-2,this.currentFixedIndex=-2,this.$emit("second-list",{list:t,isTag:!0})},_getTagLists:function(){var e=this;Object(l.s)({requestProject:"gic-member-tag-web"}).then(function(t){1===t.errorCode&&(e.groupLists=t.result,console.log(e.groupLists))})},handleChangeTag:function(e,t){this.active=!1,this.classTagName="tag-name active-name",this.currentTagIndex=e,this.$emit("second-list",{list:t,isTag:!0})},handleNoEditClassifyName:function(){this.lists=this.lists.map(function(e){return n()({},e,{edit:!1})})},handleChangeIndex:function(e,t){this.classTagName="tag-name",this.active=!1,this.currentIndex=e,this.currentLevelIndex=-2,this.currentFixedIndex=-2,this.$emit("second-list",t)},handleChangeFixed:function(e,t){this.classTagName="tag-name",this.active=!1,this.currentFixedIndex=e,this.currentLevelIndex=-2,this.currentIndex=-2,this.$emit("second-list",{isFixed:!0,list:t})},editGroupName:function(e){if(e.edit)this.modifyName(e);else{if(!this.operatorName(e))return;e.edit=!0}},deleteGroupName:function(e){var t=this;if(this.operatorName(e))return e.edit?(e.edit=!1,void this.getMemberGroupList()):void this.$confirm("删除分组名称,包括该分组下的内容,确定删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.excludeName(e)}).catch(function(){t.$message({type:"info",message:"已取消删除"})})},excludeName:function(e){var t=this,i={requestProject:"gic-member-tag-web",memberTagGroupClassifyId:e.memberTagGroupClassifyId};Object(l.z)(i).then(function(e){1==e.errorCode&&(t.getMemberGroupList(),t.$message({type:"success",message:"删除成功!"}))})},modifyName:function(e){var t=this;if(e.classifyName){var i={requestProject:"gic-member-tag-web",classifyName:e.classifyName,memberTagGroupClassifyId:e.memberTagGroupClassifyId};Object(l.B)(i).then(function(i){1==i.errorCode&&(e.edit=!1,t.getMemberGroupList(),t.$message({type:"success",message:"修改成功",duration:2e3}))})}else this.$message({message:"分组名称不能为空!",type:"warning",duration:2e3})},operatorName:function(e){return"0"!=e.memberTagGroupClassifyId||(this.$message({message:e.classifyName+"的不能操作",type:"warning",duration:2e3}),!1)},handleGroupDialog:function(){var e=this;if(this.groupName){var t={requestProject:"gic-member-tag-web",classifyName:this.groupName};Object(l.B)(t).then(function(t){1==t.errorCode&&(e.getMemberGroupList(),e.groupName="",e.addGroupDialog=!1,e.$message({type:"success",message:"添加成功"}))})}else this.$message({type:"warning",message:"分组名称不能为空"})},getMemberGroupList:function(){var e=this;Object(l.A)({requestProject:"gic-member-tag-web",type:0}).then(function(t){1===t.errorCode&&(console.log(t.result),e.lists=t.result.map(function(e){return n()({},e,{edit:!1})}))})},getFixedMemberGroupList:function(){var e=this;Object(l.A)({requestProject:"gic-member-tag-web",type:1}).then(function(t){1===t.errorCode&&(e.fixedLists=t.result.map(function(e){return n()({},e,{edit:!1})}))})},handleExpend:function(){this.currentIndex=-1,this.currentLevelIndex=-2,this.currentFixedIndex=-2,this.expendTxt="展开"===this.expendTxt?"收起":"展开",this.$emit("second-list","all")},handleExpendTag:function(){this.currentLevelIndex=-1,this.currentIndex=-2,this.currentFixedIndex=-2,this.expendTxtTag="展开"===this.expendTxtTag?"收起":"展开",this.$emit("second-list","allLevel")},handleExpendFixed:function(){this.currentFixedIndex=-1,this.currentLevelIndex=-2,this.currentIndex=-2,this.expendTxtFixed="展开"===this.expendTxtFixed?"收起":"展开",this.$emit("second-list","showFixedList")},_hasLevelFeature:function(){var e=this;Object(l.w)().then(function(t){1===t.errorCode&&(e.hasLevel=t.result)})}},beforeMount:function(){this.getMemberGroupList(),this.getFixedMemberGroupList(),this._getTagLists(),this._hasLevelFeature()},filters:{aliasTips:function(e){var t=c.a.find(function(t){return t.name===e});return t?t.title:""}}},u={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"group-list"},[i("div",{staticClass:"member-group",class:{"light-group":-1===e.currentIndex},on:{click:e.handleExpend}},[i("i",{staticClass:"icon-list el-icon-caret-right icon-transform",class:e.expendClass}),e._v("\n 我的会员分组\n "),e.$getButtonLimit(e.$buttonCode.memberTagAddCateGory)?i("i",{staticClass:"el-icon-plus icon-right icon-list",attrs:{"limit-code":e.$buttonCode.memberTagAddCateGory},on:{click:function(t){e.addGroupDialog=!0}}}):e._e()]),e._v(" "),i("el-collapseTransition",[i("ul",{directives:[{name:"show",rawName:"v-show",value:"展开"==e.expendTxt,expression:"expendTxt == '展开'"}],staticClass:"lists"},e._l(e.lists,function(t,s){return i("li",{key:s,class:["member-list",{"active-li":s==e.currentIndex}],on:{click:function(i){return e.handleChangeIndex(s,t)}}},[i("span",{directives:[{name:"show",rawName:"v-show",value:!t.edit,expression:"!list.edit"}],staticClass:"name-txt",attrs:{title:t.classifyName}},[e._v(e._s(t.classifyName))]),e._v(" "),i("el-input",{directives:[{name:"show",rawName:"v-show",value:t.edit,expression:"list.edit"}],staticStyle:{width:"100px"},attrs:{size:"mini",maxLength:"10"},nativeOn:{keyup:function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"enter",13,i.key,"Enter")?null:e.modifyName(t)}},model:{value:t.classifyName,callback:function(i){e.$set(t,"classifyName",i)},expression:"list.classifyName"}}),e._v(" "),"未分类"!==t.classifyName?i("div",{staticClass:"oper-area"},[e.$getButtonLimit(e.$buttonCode.memberTagEditCateGory)?i("i",{staticClass:"iconfont icon-list-oper",class:[t.edit?"icon-dagou":"icon-bianji1"],attrs:{"limit-code":e.$buttonCode.memberTagEditCateGory},on:{click:function(i){return i.stopPropagation(),e.editGroupName(t)}}}):e._e(),e._v(" "),e.$getButtonLimit(e.$buttonCode.memberTagDelCateGory)?i("i",{staticClass:"iconfont icon-list-oper",class:[t.edit?"icon-guanbi1":"icon-guanbi"],attrs:{"limit-code":e.$buttonCode.memberTagDelCateGory},on:{click:function(i){return e.deleteGroupName(t)}}}):e._e()]):e._e()],1)}),0)]),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:e.hasLevel,expression:"hasLevel"}],class:["member-group",{"active-item":-1==e.currentLevelIndex}],on:{click:e.handleExpendTag}},[i("i",{staticClass:"icon-list el-icon-caret-right icon-transform",class:e.expendTagClass}),e._v("\n 金字塔会员分层\n ")]),e._v(" "),i("el-collapseTransition",[i("ul",{directives:[{name:"show",rawName:"v-show",value:"展开"==e.expendTxtTag,expression:"expendTxtTag == '展开'"}],staticClass:"lists"},e._l(e.groupLists,function(t,s){return i("li",{key:s,class:["member-list",{"active-li":s==e.currentLevelIndex}],on:{click:function(i){return e.handleChangeLevel(s,t)}}},[i("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e._f("aliasTips")(t.aliasName),placement:"top-start","open-delay":300}},[i("span",[e._v(e._s(t.aliasName))])])],1)}),0)]),e._v(" "),i("div",{staticClass:"member-group",class:{"light-group":-1===e.currentFixedIndex},on:{click:e.handleExpendFixed}},[i("i",{staticClass:"icon-list el-icon-caret-right icon-transform",class:e.expendFixedClass}),e._v("\n 固化人群\n ")]),e._v(" "),i("el-collapseTransition",[i("ul",{directives:[{name:"show",rawName:"v-show",value:"展开"==e.expendTxtFixed,expression:"expendTxtFixed == '展开'"}],staticClass:"lists"},e._l(e.fixedLists,function(t,s){return i("li",{key:s,class:["member-list",{"active-li":s==e.currentFixedIndex}],on:{click:function(i){return e.handleChangeFixed(s,t)}}},[i("span",{directives:[{name:"show",rawName:"v-show",value:!t.edit,expression:"!list.edit"}],staticClass:"name-txt",attrs:{title:t.classifyName}},[e._v(e._s(t.classifyName))])])}),0)]),e._v(" "),i("el-dialog",{attrs:{title:e.title,visible:e.addGroupDialog,width:"320px",top:"30vh","close-on-click-modal":!1},on:{"update:visible":function(t){e.addGroupDialog=t}}},[i("div",[e._v("\n 分组名称:\n "),i("el-input",{staticStyle:{width:"200px"},attrs:{placeholder:"请输入分组名称",maxlength:8,clearable:""},model:{value:e.groupName,callback:function(t){e.groupName=t},expression:"groupName"}})],1),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.addGroupDialog=!1}}},[e._v("取 消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.handleGroupDialog}},[e._v("确 定")])],1)])],1)},staticRenderFns:[]};var m=i("VU/8")(d,u,!1,function(e){i("PrMK")},"data-v-2dd4228b",null);t.default=m.exports}});
\ No newline at end of file
webpackJsonp([29],{"4Xr5":function(t,e){},iHP3:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Dd8w"),n=a.n(s),i=a("lRwf"),l=a.n(i),c=a("l6IN"),o=a("CUHN"),d=a("SJI6");l.a.component(c.CollapseTransition.name,c.CollapseTransition);var r={name:"tag-type",components:{SecondTag:o.default},props:{tagList:Object},data:function(){return{list:{},typeName:"",editData:[],expends:"收起"}},computed:n()({},Object(d.mapState)(["tagRealName"])),methods:{handleChangeExpends:function(){this.expends="收起"===this.expends?"展开":"收起"},handleFirstTag:function(){localStorage.setItem("jumpTag",""),this.$emit("handleFristTag",this.list)}},watch:{tagList:{immediate:!0,handler:function(t){this.list=t}}}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"list"},[a("span",{staticClass:"expends-txt",on:{click:t.handleChangeExpends}},[t._v(t._s(t.expends)+" ")]),t._v(" "),a("div",{staticClass:"first-tag"},[a("div",[a("i",{staticClass:"iconfont menu-icon",class:[t.list.icon,{"icon-tag-light":t.list.name===t.tagRealName}]}),t._v(" "),a("span",{staticClass:"tag-name",class:{"icon-tag-light":t.list.name===t.tagRealName},on:{click:t.handleFirstTag}},[t._v(t._s(t.list.name))])]),t._v(" "),a("el-collapseTransition",[a("div",{directives:[{name:"show",rawName:"v-show",value:"收起"===t.expends,expression:"expends === '收起'"}],staticClass:"second-tag"},t._l(t.list.children,function(e,s){return a("second-tag",{key:s,attrs:{list:e,"tag-name":t.list.name}})}),1)])],1)])},staticRenderFns:[]};var m=a("VU/8")(r,p,!1,function(t){a("4Xr5")},"data-v-21914aef",null);e.default=m.exports}});
\ No newline at end of file
webpackJsonp([36],{0:function(e,t,a){a("j1ja"),e.exports=a("NHnr")},"4qCZ":function(e,t){},"5reh":function(e,t,a){"use strict";a.d(t,"a",function(){return n}),a.d(t,"b",function(){return o}),a.d(t,"d",function(){return r}),a.d(t,"c",function(){return i});var n="login",o="logout",r="title",i="show"},"5tgt":function(e,t,a){e.exports=function(e,t){return function(n){a("Vna/")("./"+e+"/"+t+".vue").then(function(e){n(e)})}}},DcO3:function(e,t){},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("//Fk"),o=a.n(n),r=a("hKoQ"),i=a.n(r),m=a("Dd8w"),u=a.n(m),l=a("SJI6"),p=a.n(l),c={name:"App",data:function(){return{}},computed:u()({},Object(l.mapState)(["uniqueId"])),created:function(){this.baseUrl=window.location.origin.indexOf("localhost")>-1?"http://gicdev.demogic.com":window.location.origin,this._getUserInfo(),this.changeTab()},methods:{laout:function(){this.axios.get(this.baseUrl+"/api-auth/do-logout?requestProject=gic-member-tag-web")},_getUserInfo:function(){var e=this;this.axios.get(this.baseUrl+"/api-auth/get-login-user-info?requestProject=gic-member-tag-web").then(function(t){if(0==t.data.errorCode){var a=t.data.result&&t.data.result.userId,n=t.data.result&&t.data.result.superAdmin;e.$store.commit("changeSuperAdmin",n),""===e.uniqueId&&e.$store.commit("changeUniqueId",a)}})},changeTab:function(){var e=this;document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState&&e.axios.get(e.baseUrl+"/api-auth/get-login-user-info?requestProject=gic-member-tag-web").then(function(t){if(0==t.data.errorCode){var a=t.data.result&&t.data.result.userId;e.uniqueId!==a&&(e.$store.commit("changeUniqueId",a),e.$confirm("当前登录账号已经发生变化,如果您在其他页面已经登录另一个账号,请重新登录!","登录账号变更提示",{confirmButtonText:"重新登录",cancelButtonText:"刷新页面",type:"error"}).then(function(){window.location.href="/gic-web/#/login"}).catch(function(){window.location.href="/report"}))}})})}}},s={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 g,d=a("VU/8")(c,s,!1,function(e){a("DcO3")},null,null).exports,f=a("pRNm"),b=a.n(f),h=a("5tgt"),T=a.n(h),v=function(e){a.e(1).then(a.bind(null,"EE2z")).then(function(t){e(t)})},G=[{path:"/",name:"index",redirect:"member-tag",component:T()("index","index"),children:[{path:"/member-tag",name:"会员标签",component:T()("platformTag","member-tag"),meta:{title:"会员标签"}},{path:"/platformTagList",component:T()("platformTag","platformTagList"),name:"平台标签列表",meta:{title:"会员标签-平台标签列表"}},{path:"/platformTagDetail",component:T()("platformTag","platformTagDetail"),name:"平台标签详情",meta:{title:"会员标签-平台标签详情"}},{path:"/manualTagLib",component:T()("manualTag","manualTagLib"),name:"手工标签库",meta:{title:"会员标签-手工标签库"}},{path:"/manualTagList",component:T()("manualTag","manualTagList"),name:"手工标签列表",meta:{title:"会员标签-手工标签列表"}},{path:"/manualTagValueEdit",component:T()("manualTag","manual-tag-value-edit"),name:"标签值设置",meta:{title:"会员标签-标签值设置"}},{path:"/manualTagValueEditInfo",component:T()("manualTag","manual-tag-value-edit-info"),name:"标签值设置",meta:{title:"会员标签-会员标签详情"}},{path:"/syncTagHistory",component:T()("manualTag","syncTagHistory"),name:"同步标签",meta:{title:"会员标签-同步标签"}},{path:"/manualTagDetail",component:T()("manualTag","manualTagDetail"),name:"手工标签详情",meta:{title:"会员标签-手工标签详情"}},{path:"/myTagLib",component:T()("myTag","myTagLib"),name:"会员标签",meta:{title:"会员标签"}},{path:"/myTagList",component:T()("myTag","myTagList"),name:"我的标签库列表",meta:{title:"会员标签-我的标签库列表"}},{path:"/myTagDetail",component:T()("myTag","myTagDetail"),name:"标签详情",meta:{title:"会员标签-标签详情"}}]},{path:"/memberGroupList",name:"memberGroupListIndex",redirect:"memberGroupList",component:T()("memberGroup","index"),children:[{path:"/memberGroupList",component:T()("memberGroup","memberGroupList"),name:"会员分组",meta:{title:"会员标签-会员分组"}},{path:"/memberGroupDetail",component:T()("memberGroup","memberGroupDetail"),name:"分组详情",meta:{title:"会员标签-分组详情"}},{path:"/memberLevelDetail",component:T()("memberGroup","memberLevelDetail"),name:"分层详情",meta:{title:"会员标签-分层详情"}},{path:"/memberGroupAdd",component:T()("memberGroup","memberGroupEdit"),name:"新建分组",meta:{title:"会员标签-新建分组"}},{path:"/memberGroupEdit",component:T()("memberGroup","memberGroupEdit"),name:"编辑分组",meta:{title:"会员标签-编辑分组"}},{path:"/memberGroupLog",component:T()("memberGroup","member-group-log"),name:"分组操作日志",meta:{title:"分组操作日志"}}]},{path:"/403",name:"无权访问",component:v},{path:"/404",name:"error404",component:v},{path:"/500",name:"error500",component:v},{path:"*",redirect:"/404",hidden:!0}],w=new b.a({routes:G,scrollBehavior:function(){return{y:0}}}),y=a("l6IN"),L=a("Rf8U"),x=a.n(L),I=a("OMN4"),q=a.n(I),D=a("bOdI"),E=a.n(D),P=a("lRwf"),V=a.n(P),k=a("5reh");V.a.use(p.a);var j=new p.a.Store({state:{user:{},token:null,title:"",show:!1,tagRealName:"",uniqueId:"",isSuperAdmin:0},mutations:(g={},E()(g,k.a,function(e,t){sessionStorage.token=t,e.token=t}),E()(g,k.b,function(e){sessionStorage.removeItem("token"),e.token=null}),E()(g,k.d,function(e,t){e.title=t}),E()(g,k.c,function(e,t){e.show=t}),E()(g,"modiftTagName",function(e,t){e.tagRealName=t}),E()(g,"changeUniqueId",function(e,t){e.uniqueId=t||""}),E()(g,"changeSuperAdmin",function(e,t){e.isSuperAdmin=t}),g)}),N=(a("Xcu2"),a("4qCZ"),a("uKUT"),a("GqmT")),U=a.n(N);i.a.polyfill(),Vue.use(U.a),Vue.config.devtools=!0,Vue.use(x.a,q.a),Vue.axios.defaults.withCredentials=!0,Vue.axios.interceptors.request.use(function(e){return e},function(e){return o.a.reject(e)}),Vue.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:y.Message.error("服务器500")}return o.a.reject(e.response.data)}),window.getLimit(w,"member-tag").then(function(){new Vue({el:"#app",router:w,store:j,components:{App:d},template:"<App/>"})})},OMN4:function(e,t){e.exports=axios},SJI6:function(e,t){e.exports=Vuex},"Vna/":function(e,t,a){var n={"./errorPage/401.vue":["4KSJ",10],"./errorPage/403.vue":["aM+6",8],"./errorPage/404.vue":["PRsh",11],"./errorPage/500.vue":["/HCr",9],"./errorPage/index.vue":["EE2z",1],"./index/index.vue":["YPWR",21],"./linktools/linktools.vue":["Lc2x",0,27],"./linktools/linktoolsold.vue":["/8lq",0,23],"./linktools/linktoolspage.vue":["HLON",0,25],"./login/login.vue":["6Qob",0,22],"./manualTag/manual-tag-value-edit-info.vue":["y1vL",0,14],"./manualTag/manual-tag-value-edit.vue":["umZJ",0,2],"./manualTag/manualTagDetail.vue":["Tl/4",0,24],"./manualTag/manualTagEdit.vue":["308P",0,18],"./manualTag/manualTagLib.vue":["q490",0,31],"./manualTag/manualTagList.vue":["f0o3",0,19],"./manualTag/syncTagHistory.vue":["Gl7f",0,26],"./memberGroup/edit-tag.vue":["jkVl",0],"./memberGroup/group-list.vue":["SJ7l",0,28],"./memberGroup/index.vue":["Gy5W",15],"./memberGroup/member-group-log.vue":["8jHj",0,4],"./memberGroup/memberGroupDetail.vue":["+/ey",0,6],"./memberGroup/memberGroupEdit.vue":["q0vu",0,7],"./memberGroup/memberGroupList.vue":["oVck",0,5],"./memberGroup/memberLevelDetail.vue":["Y4Pr",0,13],"./memberGroup/recommend-table.vue":["9ZvA",34],"./memberGroup/tags-group-list.vue":["vcge",0],"./memberGroup/tags-group.vue":["wx1P",0],"./platformTag/add-tag.vue":["tKpj",33],"./platformTag/member-tag.vue":["bytj",0,3],"./platformTag/myTag/myTagDetail.vue":["cm2p",0,16],"./platformTag/myTag/myTagLib.vue":["EHeP",0,30],"./platformTag/myTag/myTagList.vue":["C8bH",0,32],"./platformTag/platformTagDetail.vue":["KN59",0,12],"./platformTag/platformTagLib.vue":["puJc",0,17],"./platformTag/platformTagList.vue":["G/on",0,20],"./platformTag/second-tag.vue":["CUHN",0],"./platformTag/tag-container.vue":["Gndl",0],"./platformTag/tag-type.vue":["iHP3",0,29]};function o(e){var t=n[e];return t?Promise.all(t.slice(1).map(a.e)).then(function(){return a(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(n)},o.id="Vna/",e.exports=o},Xcu2:function(e,t){},l6IN:function(e,t){e.exports=ELEMENT},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT:function(e,t){}},[0]);
\ No newline at end of file
webpackJsonp([36],{0:function(e,t,a){a("j1ja"),e.exports=a("NHnr")},"4qCZ":function(e,t){},"5reh":function(e,t,a){"use strict";a.d(t,"a",function(){return n}),a.d(t,"b",function(){return o}),a.d(t,"d",function(){return r}),a.d(t,"c",function(){return i});var n="login",o="logout",r="title",i="show"},"5tgt":function(e,t,a){e.exports=function(e,t){return function(n){a("Vna/")("./"+e+"/"+t+".vue").then(function(e){n(e)})}}},DcO3:function(e,t){},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("//Fk"),o=a.n(n),r=a("hKoQ"),i=a.n(r),u=a("Dd8w"),m=a.n(u),l=a("SJI6"),c=a.n(l),p={name:"App",data:function(){return{}},computed:m()({},Object(l.mapState)(["uniqueId"])),created:function(){this.baseUrl=window.location.origin.indexOf("localhost")>-1?"http://gicdev.demogic.com":window.location.origin,this._getUserInfo(),this.changeTab()},methods:{laout:function(){this.axios.get(this.baseUrl+"/api-auth/do-logout?requestProject=gic-member-tag-web")},_getUserInfo:function(){var e=this;this.axios.get(this.baseUrl+"/api-auth/get-login-user-info?requestProject=gic-member-tag-web").then(function(t){if(0==t.data.errorCode){var a=t.data.result&&t.data.result.userId,n=t.data.result&&t.data.result.superAdmin;e.$store.commit("changeSuperAdmin",n),""===e.uniqueId&&e.$store.commit("changeUniqueId",a)}})},changeTab:function(){var e=this;document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState&&e.axios.get(e.baseUrl+"/api-auth/get-login-user-info?requestProject=gic-member-tag-web").then(function(t){if(0==t.data.errorCode){var a=t.data.result&&t.data.result.userId;e.uniqueId!==a&&(e.$store.commit("changeUniqueId",a),e.$confirm("当前登录账号已经发生变化,如果您在其他页面已经登录另一个账号,请重新登录!","登录账号变更提示",{confirmButtonText:"重新登录",cancelButtonText:"刷新页面",type:"error"}).then(function(){window.location.href="/gic-web/#/login"}).catch(function(){window.location.href="/report"}))}})})}}},s={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 g,d=a("VU/8")(p,s,!1,function(e){a("DcO3")},null,null).exports,f=a("pRNm"),b=a.n(f),T=a("5tgt"),v=a.n(T),h=function(e){a.e(1).then(a.bind(null,"EE2z")).then(function(t){e(t)})},G=[{path:"/",name:"index",redirect:"member-tag",component:v()("index","index"),children:[{path:"/member-tag",name:"会员标签",component:v()("platformTag","member-tag"),meta:{title:"会员标签"}},{path:"/platformTagList",component:v()("platformTag","platformTagList"),name:"平台标签列表",meta:{title:"会员标签-平台标签列表"}},{path:"/platformTagDetail",component:v()("platformTag","platformTagDetail"),name:"平台标签详情",meta:{title:"会员标签-平台标签详情"}},{path:"/manualTagLib",component:v()("manualTag","manualTagLib"),name:"手工标签库",meta:{title:"会员标签-手工标签库"}},{path:"/manualTagList",component:v()("manualTag","manualTagList"),name:"手工标签列表",meta:{title:"会员标签-手工标签列表"}},{path:"/manualTagValueEdit",component:v()("manualTag","manual-tag-value-edit"),name:"标签值设置",meta:{title:"会员标签-标签值设置"}},{path:"/manualTagValueEditInfo",component:v()("manualTag","manual-tag-value-edit-info"),name:"标签值设置",meta:{title:"会员标签-会员标签详情"}},{path:"/syncTagHistory",component:v()("manualTag","syncTagHistory"),name:"同步标签",meta:{title:"会员标签-同步标签"}},{path:"/manualTagDetail",component:v()("manualTag","manualTagDetail"),name:"手工标签详情",meta:{title:"会员标签-手工标签详情"}},{path:"/myTagLib",component:v()("myTag","myTagLib"),name:"会员标签",meta:{title:"会员标签"}},{path:"/myTagList",component:v()("myTag","myTagList"),name:"我的标签库列表",meta:{title:"会员标签-我的标签库列表"}},{path:"/myTagDetail",component:v()("myTag","myTagDetail"),name:"标签详情",meta:{title:"会员标签-标签详情"}}]},{path:"/memberGroupList",name:"memberGroupListIndex",redirect:"memberGroupList",component:v()("memberGroup","index"),children:[{path:"/memberGroupList",component:v()("memberGroup","memberGroupList"),name:"会员分组",meta:{title:"会员标签-会员分组"}},{path:"/memberGroupDetail",component:v()("memberGroup","memberGroupDetail"),name:"分组详情",meta:{title:"会员标签-分组详情"}},{path:"/memberLevelDetail",component:v()("memberGroup","memberLevelDetail"),name:"分层详情",meta:{title:"会员标签-分层详情"}},{path:"/memberGroupEdit",component:v()("memberGroup","memberGroupEdit"),name:"编辑分组",meta:{title:"会员标签-编辑分组"}},{path:"/memberGroupLog",component:v()("memberGroup","member-group-log"),name:"分组操作日志",meta:{title:"分组操作日志"}}]},{path:"/403",name:"无权访问",component:h},{path:"/404",name:"error404",component:h},{path:"/500",name:"error500",component:h},{path:"*",redirect:"/404",hidden:!0}],y=new b.a({routes:G,scrollBehavior:function(){return{y:0}}}),w=a("l6IN"),x=a("Rf8U"),L=a.n(x),I=a("OMN4"),q=a.n(I),D=a("bOdI"),P=a.n(D),V=a("lRwf"),k=a.n(V),E=a("5reh");k.a.use(c.a);var j=new c.a.Store({state:{user:{},token:null,title:"",show:!1,tagRealName:"",uniqueId:"",isSuperAdmin:0},mutations:(g={},P()(g,E.a,function(e,t){sessionStorage.token=t,e.token=t}),P()(g,E.b,function(e){sessionStorage.removeItem("token"),e.token=null}),P()(g,E.d,function(e,t){e.title=t}),P()(g,E.c,function(e,t){e.show=t}),P()(g,"modiftTagName",function(e,t){e.tagRealName=t}),P()(g,"changeUniqueId",function(e,t){e.uniqueId=t||""}),P()(g,"changeSuperAdmin",function(e,t){e.isSuperAdmin=t}),g)}),N=(a("Xcu2"),a("4qCZ"),a("uKUT"),a("GqmT")),U=a.n(N);i.a.polyfill(),Vue.use(U.a),Vue.config.devtools=!0,Vue.use(L.a,q.a),Vue.axios.defaults.withCredentials=!0,Vue.axios.interceptors.request.use(function(e){return e},function(e){return o.a.reject(e)}),Vue.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:w.Message.error("服务器500")}return o.a.reject(e.response.data)}),new Vue({el:"#app",router:y,store:j,components:{App:d},template:"<App/>"})},OMN4:function(e,t){e.exports=axios},SJI6:function(e,t){e.exports=Vuex},"Vna/":function(e,t,a){var n={"./errorPage/401.vue":["4KSJ",10],"./errorPage/403.vue":["aM+6",8],"./errorPage/404.vue":["PRsh",11],"./errorPage/500.vue":["/HCr",9],"./errorPage/index.vue":["EE2z",1],"./index/index.vue":["YPWR",22],"./linktools/linktools.vue":["Lc2x",0,29],"./linktools/linktoolsold.vue":["/8lq",0,24],"./linktools/linktoolspage.vue":["HLON",0,27],"./login/login.vue":["6Qob",0,23],"./manualTag/manual-tag-value-edit-info.vue":["y1vL",0,14],"./manualTag/manual-tag-value-edit.vue":["umZJ",0,2],"./manualTag/manualTagDetail.vue":["Tl/4",0,25],"./manualTag/manualTagEdit.vue":["308P",0,18],"./manualTag/manualTagLib.vue":["q490",0,31],"./manualTag/manualTagList.vue":["f0o3",0,20],"./manualTag/syncTagHistory.vue":["Gl7f",0,28],"./memberGroup/edit-tag.vue":["jkVl",0],"./memberGroup/group-list.vue":["SJ7l",0,19],"./memberGroup/index.vue":["Gy5W",15],"./memberGroup/member-group-log.vue":["8jHj",0,4],"./memberGroup/memberGroupDetail.vue":["+/ey",0,6],"./memberGroup/memberGroupEdit.vue":["q0vu",0,7],"./memberGroup/memberGroupList.vue":["oVck",0,5],"./memberGroup/memberLevelDetail.vue":["Y4Pr",0,13],"./memberGroup/recommend-table.vue":["9ZvA",34],"./memberGroup/tags-group-list.vue":["vcge",0],"./memberGroup/tags-group.vue":["wx1P",0],"./platformTag/add-tag.vue":["tKpj",33],"./platformTag/member-tag.vue":["bytj",0,3],"./platformTag/myTag/myTagDetail.vue":["cm2p",0,16],"./platformTag/myTag/myTagLib.vue":["EHeP",0,30],"./platformTag/myTag/myTagList.vue":["C8bH",0,32],"./platformTag/platformTagDetail.vue":["KN59",0,12],"./platformTag/platformTagLib.vue":["puJc",0,17],"./platformTag/platformTagList.vue":["G/on",0,21],"./platformTag/second-tag.vue":["CUHN",0],"./platformTag/tag-container.vue":["Gndl",0],"./platformTag/tag-type.vue":["iHP3",0,26]};function o(e){var t=n[e];return t?Promise.all(t.slice(1).map(a.e)).then(function(){return a(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(n)},o.id="Vna/",e.exports=o},Xcu2:function(e,t){},l6IN:function(e,t){e.exports=ELEMENT},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT:function(e,t){}},[0]);
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(f,r,t){for(var o,b,d,i=0,u=[];i<f.length;i++)b=f[i],c[b]&&u.push(c[b][0]),c[b]=0;for(o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);for(a&&a(f,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)d=n(n.s=t[i]);return d};var f={},c={37:0};function n(a){if(f[a])return f[a].exports;var c=f[a]={i:a,l:!1,exports:{}};return e[a].call(c.exports,c,c.exports,n),c.l=!0,c.exports}n.e=function(e){var a=c[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var f=new Promise(function(f,n){a=c[e]=[f,n]});a[2]=f;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:"40a5559f14e3b0baf091",1:"61b1089acf1f67b03444",2:"2bd498587362a8a53bd3",3:"031e66cd171e167d3e9a",4:"978b2c6b692a385b5b45",5:"6cb53746c0bab164b5f0",6:"7b464aef0d125aaffcca",7:"0403ae18d6c8e82c550c",8:"32d8d381c26ff8d9c2f8",9:"c96c3600195bd75ca92c",10:"f82027d73a741225715e",11:"a36558c5aaddbcd83437",12:"fea058967f161c3ffa37",13:"8ee87a691e6531fa0222",14:"3a3d8203b06fb10f0bf9",15:"ad96ca1c3b530219b4e2",16:"ebb545d4975aba25e8f9",17:"95db9fe795e2f772995a",18:"d3e73f70c8da88c1f4f4",19:"377356579a2fe5605a4f",20:"f0460e85f091284947ef",21:"ba4a3bc0f265d75cbca4",22:"f97c04968d78b5b99e89",23:"a0c2dfb1838c5d9a1341",24:"cd4a949bbad56cb34085",25:"4725734d6fc44e353b51",26:"292262f21c9da58d895f",27:"f7d2baeb938e2eb2690f",28:"595d9431050d7d34a07f",29:"32015e61cf7c373d950d",30:"450f6d3dab22fe43beaa",31:"799eb1bf27d0f02a878e",32:"856090b8194b42abce14",33:"4f76bdffa1b0785f24fd",34:"19b40d883eea3441b7c5"}[e]+".js";var o=setTimeout(b,12e4);function b(){t.onerror=t.onload=null,clearTimeout(o);var a=c[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return t.onerror=t.onload=b,r.appendChild(t),f},n.m=e,n.c=f,n.d=function(e,a,f){n.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:f})},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}}([]);
\ 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={37: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:"d92df1b0fb7d5183b84d",1:"61b1089acf1f67b03444",2:"7f18484125563a459cfe",3:"79c8d2fc7d6957cde7a8",4:"978b2c6b692a385b5b45",5:"db3eb9d7779d8d3098b5",6:"a91bdfafd3b4092d4216",7:"0403ae18d6c8e82c550c",8:"32d8d381c26ff8d9c2f8",9:"c96c3600195bd75ca92c",10:"f82027d73a741225715e",11:"a36558c5aaddbcd83437",12:"fea058967f161c3ffa37",13:"86051b4f91e14757f55a",14:"fbcedc5ebe1c632f1ed2",15:"ad96ca1c3b530219b4e2",16:"ebb545d4975aba25e8f9",17:"95db9fe795e2f772995a",18:"d3e73f70c8da88c1f4f4",19:"41203458348333031213",20:"6f519ef5ccdea5e13ac0",21:"dc533c90346c8f39ae92",22:"8ad7dca362638f6e3927",23:"f9901700d68e8164c0cf",24:"3127dcc0e9fe7ec479c1",25:"ea1702a682d93816f18d",26:"05d64153d4b9aac22ba8",27:"4843e9eb1f5254ef32a5",28:"e9c16a97e3597fc2ed91",29:"be4c11ef91366adf5754",30:"450f6d3dab22fe43beaa",31:"799eb1bf27d0f02a878e",32:"856090b8194b42abce14",33:"4f76bdffa1b0785f24fd",34:"37903af596b5b2dad1d1"}[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}}([]);
\ No newline at end of file
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