Commit 0882c06d by member

会员分层

parent c5b783ea
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.45629da2cec213b355cd6e5486016f15.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.34.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.55.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/selector.1.1.95.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-excel.2.0.13.js></script><script type=text/javascript src=./static/js/manifest.372aae8e97b8eeb33ac9.js></script><script type=text/javascript src=./static/js/vendor.83081d6a93a866b5b8f1.js></script><script type=text/javascript src=./static/js/app.d5275812e3d5769b64cd.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.dc797bf4a20e589cad5642e412a033b8.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.34.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.55.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/selector.1.1.95.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-excel.2.0.13.js></script><script type=text/javascript src=./static/js/manifest.10d9ecd3d324c4d5d543.js></script><script type=text/javascript src=./static/js/vendor.4aa38b9b9bf3652c83db.js></script><script type=text/javascript src=./static/js/app.9bb8a1c8d33775834b56.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.
webpackJsonp([10],{"4KSJ":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("MOmO"),s=a.n(i),r={name:"page401",data:function(){return{errGif:s.a+"?"+ +new Date,ewizardClap:"https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646",dialogVisible:!1}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/myTagLib"}):this.$router.go(-1)}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"errPage-container"},[a("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v("返回")]),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("你没有权限去该页面!")]),t._v(" "),a("h2"),t._v(" "),a("h6"),t._v(" "),a("ul",{staticClass:"list-unstyled"})]),t._v(" "),a("el-col",{attrs:{span:12}},[a("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),t._v(" "),a("el-dialog",{attrs:{title:"随便看",visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},staticRenderFns:[]};var l=a("VU/8")(r,n,!1,function(t){a("6Zu3")},"data-v-0992e8d7",null);e.default=l.exports},"6Zu3":function(t,e){},MOmO:function(t,e,a){t.exports=a.p+"static/img/401.089007e.gif"}});
\ 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([12],{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:{}},a={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 s=n("VU/8")(i,a,!1,function(t){n("ZyYn")},null,null);e.default=s.exports},ZyYn:function(t,e){}});
\ No newline at end of file
webpackJsonp([13],{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:{}},a={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 s=n("VU/8")(i,a,!1,function(t){n("ZyYn")},null,null);e.default=s.exports},ZyYn:function(t,e){}});
\ No newline at end of file
webpackJsonp([19],{SJ7l:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=i("Dd8w"),a=i.n(s),n=i("lRwf"),o=i.n(n),r=i("zL8q"),c=i("2CGT");o.a.component(r.CollapseTransition.name,r.CollapseTransition);var l={name:"group-list",data:function(){return{lists:[],addGroupDialog:!1,expendTxt:"展开",expendTxtTag:"展开",groupName:"",title:"新增分组名称",currentIndex:0,currentTagIndex:0,active:!1,Taglists:[],classTagName:"tag-name"}},computed:{expendClass:function(){return"展开"!=this.expendTxt?"is-caret":""}},methods:{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 a()({},e,{edit:!1})})},handleChangeIndex:function(e,t){this.classTagName="tag-name",this.active=!1,this.currentIndex=e,this.$emit("second-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.m)(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.o)(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.o)(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.n)({requestProject:"gic-member-tag-web"}).then(function(t){1===t.errorCode&&(e.lists=t.result.map(function(e){return a()({},e,{edit:!1})}))})},handleExpend:function(){this.expendTxt="展开"===this.expendTxt?"收起":"展开"},handleExpendTag:function(){this.expendTxtTag="展开"===this.expendTxtTag?"收起":"展开"}},beforeMount:function(){this.getMemberGroupList(),this._getTagLists()}},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"},[i("i",{staticClass:"icon-list el-icon-caret-top icon-transform",class:e.expendClass,on:{click:e.handleExpend}}),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){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){if(!("button"in i)&&e._k(i.keyCode,"enter",13,i.key))return 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){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){e.deleteGroupName(t)}}})]):e._e()],1)}))]),e._v(" "),i("div",{staticClass:"member-group"},[i("span",{class:e.classTagName,on:{click:function(t){e.handleChangeTag(e.i,e.list)}}},[e._v("\n 金字塔会员分层\n ")])]),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")(l,u,!1,function(e){i("W9Gl")},"data-v-74c639a4",null);t.default=m.exports},W9Gl:function(e,t){}});
\ No newline at end of file
webpackJsonp([19],{"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)}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){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key))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 f=i("VU/8")(u,m,!1,function(t){i("i8uS")},null,null);e.default=f.exports},i8uS:function(t,e){}});
\ 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)}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){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key))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 f=i("VU/8")(u,m,!1,function(t){i("i8uS")},null,null);e.default=f.exports},i8uS:function(t,e){}});
\ No newline at end of file
webpackJsonp([26],{W0XF:function(t,a){},twLH:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),r=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"myTagLib",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"我的标签库",path:""}],tagCategory:"myTagList"}},methods:{toAddMyTagLib:function(){}},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"myTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=n("VU/8")(r,o,!1,function(t){n("W0XF")},"data-v-16100a88",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([27],{EHeP:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),r=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"myTagLib",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"我的标签库",path:""}],tagCategory:"myTagList"}},methods:{toAddMyTagLib:function(){}},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"myTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=n("VU/8")(r,o,!1,function(t){n("wRtd")},"data-v-1f00ddf0",null);a.default=s.exports},wRtd:function(t,a){}});
\ No newline at end of file
webpackJsonp([28],{SJ7l:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=i("Dd8w"),a=i.n(s),n=i("lRwf"),o=i.n(n),r=i("zL8q"),c=i("2CGT");o.a.component(r.CollapseTransition.name,r.CollapseTransition);var l={name:"group-list",data:function(){return{lists:[],addGroupDialog:!1,expendTxt:"展开",groupName:"",title:"新增分组名称",currentIndex:0,active:!1}},computed:{expendClass:function(){return"展开"!=this.expendTxt?"is-caret":""}},methods:{handleNoEditClassifyName:function(){this.lists=this.lists.map(function(e){return a()({},e,{edit:!1})})},handleChangeIndex:function(e,t){this.active=!1,this.currentIndex=e,this.$emit("second-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.l)(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.n)(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.n)(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.m)({requestProject:"gic-member-tag-web"}).then(function(t){1===t.errorCode&&(e.lists=t.result.map(function(e){return a()({},e,{edit:!1})}))})},handleExpend:function(){this.expendTxt="展开"===this.expendTxt?"收起":"展开"}},beforeMount:function(){this.getMemberGroupList()}},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"},[i("i",{staticClass:"icon-list el-icon-caret-top icon-transform",class:e.expendClass,on:{click:e.handleExpend}}),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){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){if(!("button"in i)&&e._k(i.keyCode,"enter",13,i.key))return 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){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){e.deleteGroupName(t)}}})]):e._e()],1)}))]),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")(l,u,!1,function(e){i("UZrL")},"data-v-0141d494",null);t.default=m.exports},UZrL:function(e,t){}});
\ No newline at end of file
webpackJsonp([25],{"3pKj":function(t,a){},q490:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),r=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagLib",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"手工标签库",path:""}],tagCategory:"manualTagList"}},methods:{},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=n("VU/8")(r,o,!1,function(t){n("3pKj")},"data-v-190fc065",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([28],{"3pKj":function(t,a){},q490:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),r=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagLib",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"手工标签库",path:""}],tagCategory:"manualTagList"}},methods:{},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=n("VU/8")(r,o,!1,function(t){n("3pKj")},"data-v-190fc065",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([27],{J3vB:function(t,a){},puJc:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),r=e("BdFv"),i=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"platformTagLib",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"平台标签库",path:""}],tagCategory:"platformTagList"}},methods:{},mounted:function(){},components:{navCrumb:n.a,tagLib:r.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"platformTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=e("VU/8")(i,o,!1,function(t){e("J3vB")},"data-v-0eb00465",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([29],{J3vB:function(t,a){},puJc:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),r=e("BdFv"),i=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"platformTagLib",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"平台标签库",path:""}],tagCategory:"platformTagList"}},methods:{},mounted:function(){},components:{navCrumb:n.a,tagLib:r.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"platformTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=e("VU/8")(i,o,!1,function(t){e("J3vB")},"data-v-0eb00465",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([29],{tKpj:function(l,e,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=u("VU/8")(null,null,!1,null,null,null);e.default=n.exports}});
\ No newline at end of file
webpackJsonp([30],{tKpj:function(l,e,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=u("VU/8")(null,null,!1,null,null,null);e.default=n.exports}});
\ No newline at end of file
webpackJsonp([30],{"9ZvA":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l={name:"recommend-table",props:{data:Array},data:function(){return{tableData:[]}},watch:{data:{immediate:!0,handler:function(e){this.tableData=e}}},methods:{createMemberGroup:function(e){console.log(e)}}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-table",{attrs:{data:e.tableData}},[a("el-table-column",{attrs:{label:"查看详情",type:"expand",width:"200"}}),e._v(" "),a("el-table-column",{attrs:{prop:"groupName",label:"分组名称"}}),e._v(" "),a("el-table-column",{attrs:{prop:"describle",label:"分组描述"}}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.createMemberGroup(t)}}},[e._v("创建会员分组")])]}}])})],1)},staticRenderFns:[]},r=a("VU/8")(l,n,!1,null,null,null);t.default=r.exports}});
\ No newline at end of file
webpackJsonp([31],{"9ZvA":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l={name:"recommend-table",props:{data:Array},data:function(){return{tableData:[]}},watch:{data:{immediate:!0,handler:function(e){this.tableData=e}}},methods:{createMemberGroup:function(e){console.log(e)}}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-table",{attrs:{data:e.tableData}},[a("el-table-column",{attrs:{label:"查看详情",type:"expand",width:"200"}}),e._v(" "),a("el-table-column",{attrs:{prop:"groupName",label:"分组名称"}}),e._v(" "),a("el-table-column",{attrs:{prop:"describle",label:"分组描述"}}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.createMemberGroup(t)}}},[e._v("创建会员分组")])]}}])})],1)},staticRenderFns:[]},r=a("VU/8")(l,n,!1,null,null,null);t.default=r.exports}});
\ No newline at end of file
webpackJsonp([7],{CRUn:function(t,e){},Minx:function(t,e,n){t.exports=n.p+"static/img/error_404.bf58747.svg"},PRsh:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=n("Minx"),i=n.n(s),a={name:"page404",data:function(){return{img_404:i.a}},methods:{changeRoute:function(t){this.$router.push(t)}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},c={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[n("div",{staticClass:"wscn-http404"},[n("div",{staticClass:"pic-404"},[n("img",{staticClass:"pic-404__parent",attrs:{src:t.img_404,alt:"404"}})]),t._v(" "),n("div",{staticClass:"bullshit"},[n("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),t._v(" "),n("a",{staticClass:"bullshit__return-home",on:{click:function(e){t.changeRoute("/myTagLib")}}},[t._v("返回首页")])])])])},staticRenderFns:[]};var r=n("VU/8")(a,c,!1,function(t){n("CRUn")},"data-v-74f4fd53",null);e.default=r.exports}});
\ No newline at end of file
webpackJsonp([8],{CRUn:function(t,e){},Minx:function(t,e,n){t.exports=n.p+"static/img/error_404.bf58747.svg"},PRsh:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=n("Minx"),i=n.n(s),a={name:"page404",data:function(){return{img_404:i.a}},methods:{changeRoute:function(t){this.$router.push(t)}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},c={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[n("div",{staticClass:"wscn-http404"},[n("div",{staticClass:"pic-404"},[n("img",{staticClass:"pic-404__parent",attrs:{src:t.img_404,alt:"404"}})]),t._v(" "),n("div",{staticClass:"bullshit"},[n("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),t._v(" "),n("a",{staticClass:"bullshit__return-home",on:{click:function(e){t.changeRoute("/myTagLib")}}},[t._v("返回首页")])])])])},staticRenderFns:[]};var r=n("VU/8")(a,c,!1,function(t){n("CRUn")},"data-v-74f4fd53",null);e.default=r.exports}});
\ No newline at end of file
webpackJsonp([8],{"/HCr":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("2X9c"),i=s.n(a),n={name:"page500",data:function(){return{img_500:i.a}},methods:{changeRoute:function(t){this.$router.push(t)}},computed:{message:function(){return"抱歉,服务器出错了"}}},c={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:t.img_500,alt:"500"}})]),t._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),t._v(" "),s("a",{staticClass:"bullshit__return-home",on:{click:function(e){t.changeRoute("/myTagLib")}}},[t._v("返回首页")])])])])},staticRenderFns:[]};var r=s("VU/8")(n,c,!1,function(t){s("LhQf")},"data-v-0de81010",null);e.default=r.exports},"2X9c":function(t,e,s){t.exports=s.p+"static/img/error_500.ed0cba4.svg"},LhQf:function(t,e){}});
\ No newline at end of file
webpackJsonp([9],{"/HCr":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("2X9c"),i=s.n(a),n={name:"page500",data:function(){return{img_500:i.a}},methods:{changeRoute:function(t){this.$router.push(t)}},computed:{message:function(){return"抱歉,服务器出错了"}}},c={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:t.img_500,alt:"500"}})]),t._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),t._v(" "),s("a",{staticClass:"bullshit__return-home",on:{click:function(e){t.changeRoute("/myTagLib")}}},[t._v("返回首页")])])])])},staticRenderFns:[]};var r=s("VU/8")(n,c,!1,function(t){s("LhQf")},"data-v-0de81010",null);e.default=r.exports},"2X9c":function(t,e,s){t.exports=s.p+"static/img/error_500.ed0cba4.svg"},LhQf:function(t,e){}});
\ No newline at end of file
webpackJsonp([9],{"4KSJ":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("MOmO"),s=a.n(i),r={name:"page401",data:function(){return{errGif:s.a+"?"+ +new Date,ewizardClap:"https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646",dialogVisible:!1}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/myTagLib"}):this.$router.go(-1)}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"errPage-container"},[a("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v("返回")]),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("你没有权限去该页面!")]),t._v(" "),a("h2"),t._v(" "),a("h6"),t._v(" "),a("ul",{staticClass:"list-unstyled"})]),t._v(" "),a("el-col",{attrs:{span:12}},[a("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),t._v(" "),a("el-dialog",{attrs:{title:"随便看",visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},staticRenderFns:[]};var l=a("VU/8")(r,n,!1,function(t){a("6Zu3")},"data-v-0992e8d7",null);e.default=l.exports},"6Zu3":function(t,e){},MOmO:function(t,e,a){t.exports=a.p+"static/img/401.089007e.gif"}});
\ No newline at end of file
webpackJsonp([33],{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)})}}},GjDF: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),s={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;""===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.$confirm("当前登录账号已经发生变化,如果您在其他页面已经登录另一个账号,请退出重新登录!","登录账号变更提示",{confirmButtonText:"退出重新登录",cancelButtonText:"刷新页面",type:"error"}).then(function(){e.laout(),window.location.reload()}).catch(function(){e.laout(),window.location.reload()})}})})}}},p={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var g,d=a("VU/8")(s,p,!1,function(e){a("GjDF")},null,null).exports,f=a("pRNm"),b=a.n(f),v=a("5tgt"),T=a.n(v),h=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:"/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:"/memberGroupEdit",component:T()("memberGroup","memberGroupEdit"),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}],w=new b.a({routes:G,scrollBehavior:function(){return{y:0}}}),L=a("zL8q"),x=a("Rf8U"),y=a.n(x),q=a("mtWM"),D=a.n(q),P=a("bOdI"),k=a.n(P),V=a("lRwf"),j=a.n(V),I=a("5reh");j.a.use(c.a);var E=new c.a.Store({state:{user:{},token:null,title:"",show:!1,tagRealName:"",uniqueId:""},mutations:(g={},k()(g,I.a,function(e,t){sessionStorage.token=t,e.token=t}),k()(g,I.b,function(e){sessionStorage.removeItem("token"),e.token=null}),k()(g,I.d,function(e,t){e.title=t}),k()(g,I.c,function(e,t){e.show=t}),k()(g,"modiftTagName",function(e,t){e.tagRealName=t}),k()(g,"changeUniqueId",function(e,t){e.uniqueId=t||""}),g)}),U=(a("Xcu2"),a("4qCZ"),a("uKUT"),a("GqmT")),R=a.n(U);i.a.polyfill(),Vue.use(R.a),Vue.config.devtools=!0,Vue.use(y.a,D.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:L.Message.error("服务器500")}return o.a.reject(e.response.data)}),new Vue({el:"#app",router:w,store:E,components:{App:d},template:"<App/>"})},SJI6:function(e,t){e.exports=Vuex},"Vna/":function(e,t,a){var n={"./errorPage/401.vue":["4KSJ",10],"./errorPage/403.vue":["aM+6",7],"./errorPage/404.vue":["PRsh",8],"./errorPage/500.vue":["/HCr",9],"./errorPage/index.vue":["EE2z",1],"./index/index.vue":["YPWR",13],"./linktools/linktools.vue":["Lc2x",0,22],"./linktools/linktoolsold.vue":["/8lq",0,14],"./linktools/linktoolspage.vue":["HLON",0,17],"./login/login.vue":["6Qob",0,20],"./manualTag/manual-tag-value-edit.vue":["umZJ",0,2],"./manualTag/manualTagDetail.vue":["Tl/4",0,15],"./manualTag/manualTagEdit.vue":["308P",0,26],"./manualTag/manualTagLib.vue":["q490",0,28],"./manualTag/manualTagList.vue":["f0o3",0,21],"./memberGroup/edit-tag.vue":["jkVl",0],"./memberGroup/group-list.vue":["SJ7l",0,19],"./memberGroup/index.vue":["Gy5W",18],"./memberGroup/memberGroupDetail.vue":["+/ey",0,3],"./memberGroup/memberGroupEdit.vue":["q0vu",0,12],"./memberGroup/memberGroupList.vue":["oVck",0,4],"./memberGroup/memberLevelDetail.vue":["Y4Pr",0,6],"./memberGroup/recommend-table.vue":["9ZvA",31],"./memberGroup/tags-group-list.vue":["vcge",0],"./memberGroup/tags-group.vue":["wx1P",0],"./platformTag/add-tag.vue":["tKpj",30],"./platformTag/member-tag.vue":["bytj",0,5],"./platformTag/myTag/myTagDetail.vue":["cm2p",0,25],"./platformTag/myTag/myTagLib.vue":["EHeP",0,27],"./platformTag/myTag/myTagList.vue":["C8bH",0,24],"./platformTag/platformTagDetail.vue":["KN59",0,11],"./platformTag/platformTagLib.vue":["puJc",0,29],"./platformTag/platformTagList.vue":["G/on",0,16],"./platformTag/second-tag.vue":["CUHN",0],"./platformTag/tag-container.vue":["Gndl",0],"./platformTag/tag-type.vue":["iHP3",0,23]};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){},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([32],{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)})}}},GjDF: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"),s=a.n(l),c={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;""===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.$confirm("当前登录账号已经发生变化,如果您在其他页面已经登录另一个账号,请退出重新登录!","登录账号变更提示",{confirmButtonText:"退出重新登录",cancelButtonText:"刷新页面",type:"error"}).then(function(){e.laout(),window.location.reload()}).catch(function(){e.laout(),window.location.reload()})}})})}}},p={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var g,d=a("VU/8")(c,p,!1,function(e){a("GjDF")},null,null).exports,f=a("pRNm"),b=a.n(f),h=a("5tgt"),v=a.n(h),T=function(e){a.e(1).then(a.bind(null,"EE2z")).then(function(t){e(t)})},w=[{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:"/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:"/memberGroupEdit",component:v()("memberGroup","memberGroupEdit"),name:"编辑分组",meta:{title:"会员标签-编辑分组"}}]},{path:"/403",name:"无权访问",component:T},{path:"/404",name:"error404",component:T},{path:"/500",name:"error500",component:T},{path:"*",redirect:"/404",hidden:!0}],G=new b.a({routes:w,scrollBehavior:function(){return{y:0}}}),x=a("zL8q"),y=a("Rf8U"),L=a.n(y),q=a("mtWM"),j=a.n(q),k=a("bOdI"),V=a.n(k),I=a("lRwf"),P=a.n(I),D=a("5reh");P.a.use(s.a);var U=new s.a.Store({state:{user:{},token:null,title:"",show:!1,tagRealName:"",uniqueId:""},mutations:(g={},V()(g,D.a,function(e,t){sessionStorage.token=t,e.token=t}),V()(g,D.b,function(e){sessionStorage.removeItem("token"),e.token=null}),V()(g,D.d,function(e,t){e.title=t}),V()(g,D.c,function(e,t){e.show=t}),V()(g,"modiftTagName",function(e,t){e.tagRealName=t}),V()(g,"changeUniqueId",function(e,t){e.uniqueId=t||""}),g)}),E=(a("Xcu2"),a("4qCZ"),a("uKUT"),a("GqmT")),N=a.n(E);i.a.polyfill(),Vue.use(N.a),Vue.config.devtools=!0,Vue.use(L.a,j.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:x.Message.error("服务器500")}return o.a.reject(e.response.data)}),new Vue({el:"#app",router:G,store:U,components:{App:d},template:"<App/>"})},SJI6:function(e,t){e.exports=Vuex},"Vna/":function(e,t,a){var n={"./errorPage/401.vue":["4KSJ",9],"./errorPage/403.vue":["aM+6",6],"./errorPage/404.vue":["PRsh",7],"./errorPage/500.vue":["/HCr",8],"./errorPage/index.vue":["EE2z",1],"./index/index.vue":["YPWR",12],"./linktools/linktools.vue":["Lc2x",0,22],"./linktools/linktoolsold.vue":["/8lq",0,13],"./linktools/linktoolspage.vue":["HLON",0,17],"./login/login.vue":["6Qob",0,19],"./manualTag/manual-tag-value-edit.vue":["umZJ",0,2],"./manualTag/manualTagDetail.vue":["Tl/4",0,15],"./manualTag/manualTagEdit.vue":["308P",0,24],"./manualTag/manualTagLib.vue":["q490",0,25],"./manualTag/manualTagList.vue":["f0o3",0,20],"./memberGroup/edit-tag.vue":["jkVl",0],"./memberGroup/group-list.vue":["SJ7l",0,28],"./memberGroup/index.vue":["Gy5W",18],"./memberGroup/memberGroupDetail.vue":["+/ey",0,5],"./memberGroup/memberGroupEdit.vue":["q0vu",0,11],"./memberGroup/memberGroupList.vue":["oVck",0,4],"./memberGroup/recommend-table.vue":["9ZvA",30],"./memberGroup/tags-group-list.vue":["vcge",0],"./memberGroup/tags-group.vue":["wx1P",0],"./myTag/myTagDetail.vue":["ijla",0,14],"./myTag/myTagLib.vue":["twLH",0,26],"./myTag/myTagList.vue":["NJTp",0,21],"./platformTag/add-tag.vue":["tKpj",29],"./platformTag/member-tag.vue":["bytj",0,3],"./platformTag/platformTagDetail.vue":["KN59",0,10],"./platformTag/platformTagLib.vue":["puJc",0,27],"./platformTag/platformTagList.vue":["G/on",0,16],"./platformTag/second-tag.vue":["CUHN",0],"./platformTag/tag-container.vue":["Gndl",0],"./platformTag/tag-type.vue":["iHP3",0,23]};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){},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 c=window.webpackJsonp;window.webpackJsonp=function(a,t,o){for(var f,d,b,i=0,u=[];i<a.length;i++)d=a[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(c&&c(a,t,o);u.length;)u.shift()();if(o)for(i=0;i<o.length;i++)b=r(r.s=o[i]);return b};var a={},n={34:0};function r(c){if(a[c])return a[c].exports;var n=a[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var c=n[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,r){c=n[e]=[a,r]});c[2]=a;var t=document.getElementsByTagName("head")[0],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:"e154776c382295008ca1",1:"1a66f3452cb905b67755",2:"e314f8bddc59b2a5d92b",3:"a8228e235fb38439db05",4:"83707feac1e0c823f3ae",5:"8bdeb0e82c907c2eb94e",6:"15bc1d4315b5f2762d02",7:"463c410b570dea893bef",8:"00c99a671866c96c95b7",9:"d6e86c55d9ed30932539",10:"921af27f26a9d92cd622",11:"7696c743e78e8fa58ee3",12:"7a1e1d87277751c1b2fb",13:"4cbb12cbf7a9b8c30ba8",14:"012b850d5f8cb0572383",15:"3917aa09ec184a6ec064",16:"8b5816be3cf77b0756a0",17:"b43a253e53779917cbec",18:"9022ea0326694df97cda",19:"21dad2616aedf15b34ca",20:"41af8655086750d6262e",21:"52dd4efc2736b2ec8e03",22:"61bb63c1296b6c9972a5",23:"c24a9f56d0040598512c",24:"53f956f0df9dacdb1537",25:"31eae32139e5de8f0233",26:"a1fd375f5a8a3450d77a",27:"8788388fd1ae133c2344",28:"7e8ce9ee59e705c91770",29:"14583ddcefc3b8dbbad1",30:"6a5ee2a1c27c5a16c485",31:"4581161a7b4779f896f3"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var c=n[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return o.onerror=o.onload=d,t.appendChild(o),a},r.m=e,r.c=a,r.d=function(e,c,a){r.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},r.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(c,"a",c),c},r.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},r.p="./",r.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,r,t){for(var o,b,d,i=0,u=[];i<a.length;i++)b=a[i],f[b]&&u.push(f[b][0]),f[b]=0;for(o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);for(c&&c(a,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)d=n(n.s=t[i]);return d};var a={},f={33: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:"34e8b1f6ff389ba0b205",1:"1a66f3452cb905b67755",2:"e314f8bddc59b2a5d92b",3:"753fa20087ecbf945246",4:"e37f83a0b6ea00273225",5:"1cf65f24eda2b4f97908",6:"31eb51419dea97959645",7:"f169140cbd6ad9f5611c",8:"fe61efcd1ccfc3412252",9:"ea583eedf0e8e01807bd",10:"0468ca5bb7a6dd6d21e6",11:"367a012cdb9a0f99b520",12:"ff49b3face62ef7aef5f",13:"5ff52df0201b9234fa89",14:"a1a9f4f1d7e27b74ccac",15:"3917aa09ec184a6ec064",16:"8b5816be3cf77b0756a0",17:"b43a253e53779917cbec",18:"9022ea0326694df97cda",19:"f725fb304c21822a4eef",20:"ba8ecaeb35f06269ac04",21:"3eb3dea95a99077fe411",22:"61bb63c1296b6c9972a5",23:"c24a9f56d0040598512c",24:"caecee173a2ef1b1baa7",25:"fbc9d87dd52c837c39be",26:"c5f9e5a4bc2c63938b70",27:"2c48b10d124016d57c0b",28:"56a96273c8b00c8d036b",29:"ed4b43f3d8456f7bd36e",30:"5d1cb1b10c82fdeede4d"}[e]+".js";var o=setTimeout(b,12e4);function b(){t.onerror=t.onload=null,clearTimeout(o);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return t.onerror=t.onload=b,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
<template>
<!-- 标签模板配置 -->
<div class="tag-config">
<div class="tag-config" v-if="showTag">
<div v-for="(parent, pindex) in templateData" :key="pindex">
<!-- 1.选项控件 -->
<template v-if="parent.templateCode == 'tag001'">
......@@ -645,6 +645,21 @@
</vue-gic-card>
</div>
<!-- 会员分层 tag021 -->
<template v-if="parent.templateCode == 'tag021'">
<div class="m-b-20" :key="'tag021' + pindex">
<div class="checkboxOption-wrap__body__checkAll border-box tag-mode">
<el-checkbox :indeterminate="parent.isIndeterminate" v-model="parent.checkAll" @change="handleTagCheckChange($event, parent.checkAll)">全选</el-checkbox>
</div>
<div class="checkboxOption-wrap__body__options border-box tag-options">
<el-checkbox-group v-model="parent.checkeditems" @change="handleCheckedCitiesChange">
<!-- <el-checkbox v-for="(item, index) in parent.options" :label="item.key" :key="item.key + index">{{ item.value }}</el-checkbox> -->
<el-checkbox v-for="item in parent.options" :label="item" :key="item.memberTagGradeId">{{item.gradeLevelName}}</el-checkbox>
</el-checkbox-group>
</div>
</div>
</template>
<!-- 嵌入商品选择器 -->
<div v-if="parent.templateCode == 'com022'">
<vue-gic-goods-selector ref="selector" @changelist="changelist"></vue-gic-goods-selector>
......@@ -691,6 +706,7 @@ export default {
data() {
return {
showTag: true,
select: {
expends: true
},
......@@ -889,6 +905,15 @@ export default {
timeSelect: '1', // 最近/之后
timeInput: ''
},
// 会员分层
tag021: {
checkeditems: [],
isIndeterminate: false,
checkAll: false,
options: [],
compute: 'in'
},
// 商品选择器
com022: {
selectList: [],
......@@ -960,7 +985,7 @@ export default {
},
handleCheckedCitiesChange(value) {
this.templateData.forEach(item => {
if (item.templateCode == 'tag001' || item.templateCode == 'tag013') {
if (item.templateCode == 'tag001' || item.templateCode == 'tag013' || item.templateCode == 'tag021') {
let checkedCount = value.length;
item.checkAll = checkedCount === item.options.length;
item.isIndeterminate = checkedCount > 0 && checkedCount < item.options.length;
......@@ -1073,6 +1098,10 @@ export default {
}
}
},
handleTagCheckChange(e, parent) {
this.templateData[0].checkeditems = parent ? this.templateData[0].options : [];
this.templateData[0].isIndeterminate = false;
},
/**
* 根据模板的id获取控件的模板code ---
*/
......@@ -1085,6 +1114,7 @@ export default {
.then(res => {
if (res.errorCode == 1) {
let data = res.result;
console.log(data);
for (let key in data) {
if (data.templateCode == 'com023') {
this[data.templateCode][key] = data[key];
......@@ -1123,12 +1153,22 @@ export default {
// 调整商品选择器顺序
if (data.templateCode == 'com022') {
setTimeout(_ => {
console.log('111');
this.templateData.push(this[data.templateCode]);
}, 200);
} else {
this.templateData.push(this[data.templateCode]);
}
/**
* 会员分层
*/
if (data.templateCode == 'tag021') {
this.axios.get(`${this.baseUrl}/gic-member-tag-web/memberTagGrade/gradeList?requestProject=gic-member-tag-web`).then(res => {
if (res.data.errorCode === 1) {
this.templateData[0].options = res.data.result;
}
});
}
/**
* 这里处理编辑回显数据
......@@ -1157,7 +1197,6 @@ export default {
asyncTemplateList() {
let tagValue = JSON.parse(this.templateDataList.tagValue);
// let tagParams = JSON.parse(this.templateDataList.tagParams);
let value = null;
let checkedCount = null;
......@@ -1342,10 +1381,6 @@ export default {
let selectVal = null;
let checkedCount = null;
// console.log(this.templateDataList);
// console.log(this.templateDataList.templateCode);
// console.log(this.templateData);
// compute 是计算属性的区间值 value是选中的值
for(let i = 0; i < this.templateDataList.templateCode.length; i++) {
switch (this.templateDataList.templateCode[i]) {
......@@ -1393,7 +1428,6 @@ export default {
value = tagValue.val[0].data.value.split(' ');
for (let i = 0; i < this.templateData.length; i++) {
if (this.templateData[i].templateCode === 'tag013') {
console.log(this.templateData[i].checkeditems);
this.templateData[i].checkeditems = value;
}
}
......
......@@ -424,6 +424,23 @@ export default {
returnFlag = false;
}
}
if (code === 'tag021' && that.templateData.length === 1) {
tagValue.val[0].data.compute = that.templateData[0].compute;
const checkeditems = this.templateData[0].checkeditems.map(el => el.memberTagGradeId);
this.templateData[0].options.forEach((ele, index) =>{
if (checkeditems.indexOf(ele.memberTagGradeId) != -1) {
this.postTemplateData.selectedVal.push(ele.gradeLevelName);
itemArr.push(ele.memberTagGradeId);
}
});
this.templateData[0].checkeditems = itemArr;
tagValue.val[0].data.value = itemArr.join(' ');
if (!itemArr.length) {
returnFlag = false;
}
}
/**
* 商品选择必选
*/
......
......@@ -67,6 +67,14 @@ export const memberGroupList = params =>
params: params
});
// 会员分层
export const getTagLists = (params) =>
request({
url: '/memberTagGrade/gradeList',
method: 'get',
params: params
});
// 会员分组分类 新增 编辑 memberTagGroupClassifyId 新增不需要,编辑需要
export const memberGroupModify = params =>
request({
......@@ -165,3 +173,25 @@ export const getIsAllowAdd = params =>
...params
}
});
// 会员分层刷新
export const updateGradeTag = params =>
request({
url: '/memberTagGrade/updateGradeCountBatch',
method: 'get',
params: {
requestProject: 'gic-member-tag-web',
...params
}
});
// 会员分层列表
export const findMemberList = param =>
request({
url: '/memberTagGrade/findMemberList',
method: 'get',
params: {
requestProject: 'gic-member-tag-web',
...param
}
});
......@@ -28,4 +28,4 @@ export const getCityTree = params =>
url: '/api-plug/dict-district-tree',
method: 'post',
params
});
});
\ No newline at end of file
// import Vue from 'vue';
import Router from 'vue-router';
import _import from './_import.js';
// Vue.use(Router);
/* const error403 = r => {
import('view/errorPage/403.vue').then(module => {
r(module);
});
};
const error404 = r => {
import('view/errorPage/404.vue').then(module => {
r(module);
});
};
const error500 = r => {
import('view/errorPage/500.vue').then(module => {
r(module);
});
}; */
const errorPage = r => {
import('view/errorPage/index.vue').then(module => {
r(module);
......@@ -142,6 +124,14 @@ export const constantRouterMap = [
}
},
{
path: '/memberLevelDetail',
component: _import('memberGroup', 'memberLevelDetail'),
name: '分层详情',
meta: {
title: '会员标签-分层详情'
}
},
{
path: '/memberGroupEdit',
component: _import('memberGroup', 'memberGroupEdit'),
name: '编辑分组',
......
......@@ -78,6 +78,7 @@ export default {
},
handleSave() {
const ret = this.$refs.tagConfig.getTemplateData();
console.log(ret);
this.templateData = JSON.parse(JSON.stringify(ret));
this.tagId = this.tagDataAssgin.tagId;
......
......@@ -19,9 +19,11 @@
</ul>
</el-collapseTransition>
<!-- <div class="recommend-list" :class="{ 'recommend-active': active }" @click="getRecommendList">
推荐会员分组
</div> -->
<div class="member-group">
<span @click="handleChangeTag(i, list)" :class="classTagName">
金字塔会员分层
</span>
</div>
<el-dialog :title="title" :visible.sync="addGroupDialog" width="320px" top="30vh" :close-on-click-modal="false">
<div>
......@@ -51,10 +53,14 @@ export default {
lists: [],
addGroupDialog: false,
expendTxt: '展开',
expendTxtTag: '展开',
groupName: '',
title: '新增分组名称',
currentIndex: 0,
active: false
currentTagIndex: 0,
active: false,
Taglists: [],
classTagName: 'tag-name'
};
},
......@@ -69,6 +75,13 @@ export default {
},
methods: {
handleChangeTag(i, list) {
this.active = false;
this.classTagName = 'tag-name active-name'
this.currentTagIndex = i;
// 第二级的分组数据
this.$emit('second-list', { list: list, isTag: true });
},
// 如果编辑二级会员分组分类 但是没有编辑有切换到其他的分类
handleNoEditClassifyName() {
this.lists = this.lists.map(el => ({
......@@ -77,6 +90,7 @@ export default {
}));
},
handleChangeIndex(i, list) {
this.classTagName = 'tag-name';
this.active = false;
this.currentIndex = i;
// 第二级的分组数据
......@@ -225,19 +239,14 @@ export default {
handleExpend() {
this.expendTxt = this.expendTxt === '展开' ? '收起' : '展开';
},
// getRecommendList() {
// let editFlag = this.lists.some(el => el.edit);
// if (editFlag) {
// this.handleNoEditClassifyName();
// }
// this.active = true;
// this.currentIndex = -1;
// this.$emit('getRecommend');
// }
handleExpendTag() {
this.expendTxtTag = this.expendTxtTag === '展开' ? '收起' : '展开';
},
},
beforeMount() {
this.getMemberGroupList();
this._getTagLists();
}
};
</script>
......@@ -276,6 +285,16 @@ export default {
color: #303133;
}
}
.tag-name {
display: inline-block;
vertical-align: middle;
color: #303133;
margin-left: 19px;
font-weight: bold;
}
.active-name {
color: #1890ff;
}
}
.member-list {
height: 32px;
......
......@@ -14,17 +14,9 @@
</div>
<div class="memberGroupDetail-wrap__head">
<span class="tag-selected-title">筛选标签</span>
<!-- <div class="inline-block tag-cell-wrap flex-1">-->
<!-- <template v-for="(item, index) in selectedTagData">-->
<!-- <span v-if="index != 0" class="p-lr-18" :key="index">并且</span>-->
<!-- <span class="tag-cell inline-block border-box color-606266" :key="index + item.tagValueId">-->
<!-- <span>{{ item.tagName }}</span>-->
<!-- <span v-if="item.tagParams">【选择:{{ item.tagParams.selectedVal.join(',') }}</span>-->
<!-- </span>-->
<!-- </template>-->
<selected-tags-list :tagsList="selectedTagData" />
<!-- </div>-->
</div>
<div class="memberGroupDetail-wrap__table">
<el-table v-loading="loading" @sort-change="sortChange" :data="memberGroupDetailData" style="width: 100%">
<div v-for="item in selectedFields" :key="item.code">
......
......@@ -25,16 +25,6 @@
</el-select>
<div class="batch-option">
<!-- <el-cascader
placeholder="批量操作"
class="w-180 m-l-0"
:options="options"
v-model="batchSelect"
@focus="handleFocus"
:props="props"
@change="batchHandleSelect">
</el-cascader> -->
<el-select v-model="batchSelect" @change="batchHandleSelect" @focus="handleFocus" placeholder="批量操作" class="w-180 m-l-0">
<el-option :key="0" label="失效" :value="0"> </el-option>
<el-option :key="1" label="删除" :value="1"> </el-option>
......@@ -94,7 +84,6 @@
<div style="color: #909399;">
默认显示上次页面缓存人数,可点击刷新按钮查看当页分组最新人数。
</div>
<!-- <el-button type="text" @click="refershMember">刷新</el-button>-->
<i slot="reference" class="iconfont icon-zhongzhi refresh" @click="refershMember"></i>
</el-popover>
</template>
......@@ -150,13 +139,68 @@
:page-sizes="[10, 20, 30, 40]"
:page-size="pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="total">
</el-pagination>
</div>
</div>
<div class="right-box" v-show="isTagRecommend">
<div class="common-wrap__opt">
<!-- <div class="batch-option">
<el-button type="primary" @click="toAddGroup" class="fr">分层配置</el-button>
</div> -->
</div>
<div class="common-wrap__table m-t-20">
<el-table
v-loading="loading"
ref="multipleTable"
:data="groupTableData"
tooltip-effect="dark"
style="width: 100%"
@selection-change="handleSelectionChange">
<el-table-column label="分层名称" prop="aliasName">
</el-table-column>
<el-table-column prop="peopleCover" label="覆盖人数" show-overflow-tooltip >
<template slot="header">
覆盖人数
<el-popover width="260" trigger="hover">
<div style="color: #909399;">
默认显示上次页面缓存人数,可点击刷新按钮查看当页分组最新人数。
</div>
<i slot="reference" class="iconfont icon-zhongzhi refresh" @click="refershMember('tag')"></i>
</el-popover>
</template>
<template slot-scope="scope">
{{ (scope.row.memberCount || 0) | formatNum }}
</template>
</el-table-column>
<el-table-column label="操作" width="150px">
<template slot-scope="scope">
<router-link
:to="`/memberLevelDetail?memberTagGradeId=${scope.row.memberTagGradeId}`"
class="edit-btn el-button--text p-r-12">
详情
</router-link>
</template>
</el-table-column>
</el-table>
</div>
<div class="block common-wrap__page text-right" v-if="groupTableData.length != 0">
<el-pagination
background
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page="currentPage"
:page-sizes="[10, 20, 30, 40]"
:page-size="pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
>
</el-pagination>
</div>
</div>
<div class="right-box recommend-box" v-show="isRecommend">
<div class="right-box recommend-box" v-show="isRecommend && !isTagRecommend">
<el-tabs v-model="activeName" @tab-click="handleTabClick">
<el-tab-pane :label="item.recommendName" :name="item.recommendName" v-for="item in recommendItems" :key="item.tagGroupRecommendId">
<recommend-table :data="recommendData"></recommend-table>
......@@ -174,7 +218,16 @@ import navCrumb from '@/components/nav/nav.vue';
import errMsg from '@/common/js/error';
import timeFormat from '@/common/js/timeFormat';
import { getRequest } from '@/api/api';
import { recommendList, recommendGroupList, findSecondMemberList, refershMemberCount, memberTagGroupList, memberGroupList } from '@/request/api';
import {
recommendList,
recommendGroupList,
findSecondMemberList,
refershMemberCount,
memberTagGroupList,
memberGroupList,
updateGradeTag,
getTagLists
} from '@/request/api';
import GroupList from './group-list';
import RecommendTable from './recommend-table';
......@@ -192,28 +245,10 @@ export default {
batchVisiable: false,
dialogVisible: true,
isRecommend: false,
isTagRecommend: false,
recommendItems: [],
recommendData: [], // 推荐分组的数据
activeName: '',
// options: [
// {
// value: '0',
// classifyName: '失效'
// },
// {
// value: '1',
// classifyName: '删除'
// },
// {
// value: '2',
// classifyName: '修改所属分类',
// children: []
// },
// ],
// props: {
// label: 'classifyName',
// children: 'children'
// },
// 面包屑参数
navpath: [
{
......@@ -300,40 +335,74 @@ export default {
}
});
},
refershMember() {
let Ids = this.groupTableData.map(el => el.memberTagGroupId).join(',');
refershMember(tag) {
let Ids;
const param = {
requestProject: 'gic-member-tag-web',
memberTagGroupIds: Ids
requestProject: 'gic-member-tag-web'
};
refershMemberCount(param).then(res => {
if (res.errorCode == 1) {
this.getGroupList(this.params);
this.$message.success({message: '更新成功'});
}
});
if (tag) {
Ids = this.groupTableData.map(el => el.memberTagGradeId).join(',');
param.gradeIds = Ids;
} else {
Ids = this.groupTableData.map(el => el.memberTagGradeId).join(',');
param.memberTagGroupIds = Ids;
}
if (this.isTag) {
updateGradeTag(param).then(res => {
if (res.errorCode == 1) {
this._getTagLists();
this.$message.success({message: '更新成功'});
}
});
} else {
refershMemberCount(param).then(res => {
if (res.errorCode == 1) {
this.getGroupList(this.params);
this.$message.success({message: '更新成功'});
}
});
}
},
refreshList() {
this.getGroupList();
},
// 会员分组二级
getsecondList(list) {
this.isRecommend = false;
this.params.memberTagGroupClassifyId = list.memberTagGroupClassifyId;
findSecondMemberList(this.params).then(res => {
if (res.errorCode == 1) {
this.total = res.result.totalCount;
this.groupTableData = res.result.result.map(el => ({
...el,
createTime: timeFormat.timeToDateTime(el.createTime)
}));
} else {
this.groupTableData = [];
_getTagLists() {
getTagLists({ requestProject: 'gic-member-tag-web' }).then(res => {
if (res.errorCode === 1) {
this.total = res.result.length;
this.groupTableData = res.result;
}
}).catch(err => {
console.log(err);
});
},
// 会员分组二级
getsecondList(list) {
if (list.isTag) {
// 分层数据
this.isTag = true;
this.isRecommend = true;
this.isTagRecommend = true;
this._getTagLists();
} else {
this.isRecommend = false;
this.isTag = false;
this.isTagRecommend = false;
this.params.memberTagGroupClassifyId = list.memberTagGroupClassifyId;
findSecondMemberList(this.params).then(res => {
if (res.errorCode == 1) {
this.total = res.result.totalCount;
this.groupTableData = res.result.result.map(el => ({
...el,
createTime: timeFormat.timeToDateTime(el.createTime)
}));
} else {
this.groupTableData = [];
}
}).catch(err => {
console.log(err);
});
}
},
// 切换推荐分组
handleTabClick(instance) {
let tabId = this.checkTabIndex(instance);
......@@ -502,7 +571,6 @@ export default {
switchAppStatus(status, obj) {
const that = this;
that.loading = true;
// const appStatus = status ? 1 : 0;
const memberTagGroupId = obj.memberTagGroupId;
let param = {
memberTagGroupId,
......@@ -524,18 +592,11 @@ export default {
};
getRequest('/member-tag-member/getMemberCountByGroupId.json', params)
.then(res => {
// console.log(res, 'count');
obj.memberCount = res.data.result;
that.loading = false;
// let param = {
// memberTagGroupId,
// memberCount: res.data.result.page.totalCount
// };
// that.updateGroup(param, obj);
})
.catch(e => {
that.loading = false;
// console.log(e, 'error');
});
},
......@@ -672,7 +733,6 @@ export default {
},
mounted() {
this.getGroupList();
// this.getMemberGroupList();
}
};
</script>
......
This diff is collapsed. Click to expand it.
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