Commit e2f64e54 by wangyusheng

会员分组增加固化人群

parent f65609d9
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.0d859dea2720a1539915b3f31759d578.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.35.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.11.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 src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script type=text/javascript src=./static/js/manifest.479bb841f3fb5f59ca70.js></script><script type=text/javascript src=./static/js/vendor.4aa38b9b9bf3652c83db.js></script><script type=text/javascript src=./static/js/app.8a83438d4757f6af1f67.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.4810f65953e269dcd4fa0a349421c52f.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.35.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.11.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 src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script type=text/javascript src=./static/js/manifest.9a4957a62df655d08df5.js></script><script type=text/javascript src=./static/js/vendor.4aa38b9b9bf3652c83db.js></script><script type=text/javascript src=./static/js/app.83ee2abea834ad46d78e.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([10],{"4KSJ":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=e("MOmO"),s=e.n(i),n={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)}}},r={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"errPage-container"},[e("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v("返回")]),t._v(" "),e("el-row",[e("el-col",{attrs:{span:12}},[e("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("你没有权限去该页面!")]),t._v(" "),e("h2"),t._v(" "),e("h6"),t._v(" "),e("ul",{staticClass:"list-unstyled"})]),t._v(" "),e("el-col",{attrs:{span:12}},[e("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),t._v(" "),e("el-dialog",{attrs:{title:"随便看",visible:t.dialogVisible},on:{"update:visible":function(a){t.dialogVisible=a}}},[e("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},staticRenderFns:[]};var l=e("VU/8")(n,r,!1,function(t){e("nEFn")},"data-v-467a86a2",null);a.default=l.exports},MOmO:function(t,a,e){t.exports=e.p+"static/img/401.089007e.gif"},nEFn:function(t,a){}});
\ No newline at end of file
webpackJsonp([10],{Minx:function(t,e,s){t.exports=s.p+"static/img/error_404.bf58747.svg"},PRsh:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=s("Minx"),n=s.n(i),a={name:"page404",data:function(){return{img_404:n.a}},methods:{changeRoute:function(t){this.$router.push(t)}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},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_404,alt:"404"}})]),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")(a,c,!1,function(t){s("SMWW")},"data-v-4598eca6",null);e.default=r.exports},SMWW:function(t,e){}}); webpackJsonp([11],{Minx:function(t,e,s){t.exports=s.p+"static/img/error_404.bf58747.svg"},PRsh:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=s("Minx"),n=s.n(i),a={name:"page404",data:function(){return{img_404:n.a}},methods:{changeRoute:function(t){this.$router.push(t)}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},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_404,alt:"404"}})]),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")(a,c,!1,function(t){s("SMWW")},"data-v-4598eca6",null);e.default=r.exports},SMWW:function(t,e){}});
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([17],{SJ7l:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s("Dd8w"),a=s.n(i),n=s("lRwf"),o=s.n(n),r=s("zL8q"),l=s("2CGT"),c=s("2uFj");o.a.component(r.CollapseTransition.name,r.CollapseTransition);var u={name:"group-list",data:function(){return{lists:[],addGroupDialog:!1,expendTxt:"收起",expendTxtTag:"收起",groupName:"",title:"新增分组名称",currentIndex:-1,currentTagIndex:0,active:!1,Taglists:[],classTagName:"tag-name",hasLevel:!1,currentLevelIndex:-2,groupLists:[]}},computed:{expendClass:function(){return"展开"!=this.expendTxt?"is-caret":""},expendTagClass:function(){return"展开"!=this.expendTxtTag?"is-caret":""}},methods:{handleChangeLevel:function(e,t){this.currentLevelIndex=e,this.$emit("second-list",{list:t,isTag:!0})},_getTagLists:function(){var e=this;Object(l.o)({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 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,s={requestProject:"gic-member-tag-web",memberTagGroupClassifyId:e.memberTagGroupClassifyId};Object(l.u)(s).then(function(e){1==e.errorCode&&(t.getMemberGroupList(),t.$message({type:"success",message:"删除成功!"}))})},modifyName:function(e){var t=this;if(e.classifyName){var s={requestProject:"gic-member-tag-web",classifyName:e.classifyName,memberTagGroupClassifyId:e.memberTagGroupClassifyId};Object(l.w)(s).then(function(s){1==s.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.w)(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.v)({requestProject:"gic-member-tag-web"}).then(function(t){1===t.errorCode&&(console.log(t.result),e.lists=t.result.map(function(e){return a()({},e,{edit:!1})}))})},handleExpend:function(){this.currentIndex=-1,this.currentLevelIndex=-2,this.expendTxt="展开"===this.expendTxt?"收起":"展开",this.$emit("second-list","all")},handleExpendTag:function(){this.currentLevelIndex=-1,this.currentIndex=-2,this.expendTxtTag="展开"===this.expendTxtTag?"收起":"展开",this.$emit("second-list","allLevel")},_hasLevelFeature:function(){var e=this;Object(l.s)().then(function(t){1===t.errorCode&&(e.hasLevel=t.result)})}},beforeMount:function(){this.getMemberGroupList(),this._getTagLists(),this._hasLevelFeature()},filters:{aliasTips:function(e){var t=c.a.find(function(t){return t.name===e});return t?t.title:""}}},d={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"group-list"},[s("div",{staticClass:"member-group",class:{"light-group":-1===e.currentIndex},on:{click:e.handleExpend}},[s("i",{staticClass:"icon-list el-icon-caret-right icon-transform",class:e.expendClass}),e._v("\n 我的会员分组\n "),s("i",{staticClass:"el-icon-plus icon-right icon-list",on:{click:function(t){e.addGroupDialog=!0}}})]),e._v(" "),s("el-collapseTransition",[s("ul",{directives:[{name:"show",rawName:"v-show",value:"展开"==e.expendTxt,expression:"expendTxt == '展开'"}],staticClass:"lists"},e._l(e.lists,function(t,i){return s("li",{key:i,class:["member-list",{"active-li":i==e.currentIndex}],on:{click:function(s){e.handleChangeIndex(i,t)}}},[s("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(" "),s("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(s){if(!("button"in s)&&e._k(s.keyCode,"enter",13,s.key))return null;e.modifyName(t)}},model:{value:t.classifyName,callback:function(s){e.$set(t,"classifyName",s)},expression:"list.classifyName"}}),e._v(" "),"未分类"!==t.classifyName?s("div",{staticClass:"oper-area"},[s("i",{staticClass:"iconfont icon-list-oper",class:[t.edit?"icon-dagou":"icon-bianji1"],on:{click:function(s){s.stopPropagation(),e.editGroupName(t)}}}),e._v(" "),s("i",{staticClass:"iconfont icon-list-oper",class:[t.edit?"icon-guanbi1":"icon-guanbi"],on:{click:function(s){e.deleteGroupName(t)}}})]):e._e()],1)}))]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:e.hasLevel,expression:"hasLevel"}],class:["member-group",{"active-item":-1==e.currentLevelIndex}],on:{click:e.handleExpendTag}},[s("i",{staticClass:"icon-list el-icon-caret-right icon-transform",class:e.expendTagClass}),e._v("\n 金字塔会员分层\n ")]),e._v(" "),s("el-collapseTransition",[s("ul",{directives:[{name:"show",rawName:"v-show",value:"展开"==e.expendTxtTag,expression:"expendTxtTag == '展开'"}],staticClass:"lists"},e._l(e.groupLists,function(t,i){return s("li",{key:i,class:["member-list",{"active-li":i==e.currentLevelIndex}],on:{click:function(s){e.handleChangeLevel(i,t)}}},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e._f("aliasTips")(t.aliasName),placement:"top-start","open-delay":300}},[s("span",[e._v(e._s(t.aliasName))])])],1)}))]),e._v(" "),s("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}}},[s("div",[e._v("\n 分组名称:\n "),s("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(" "),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){e.addGroupDialog=!1}}},[e._v("取 消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:e.handleGroupDialog}},[e._v("确 定")])],1)])],1)},staticRenderFns:[]};var m=s("VU/8")(u,d,!1,function(e){s("Zh1z")},"data-v-8b03dcea",null);t.default=m.exports},Zh1z:function(e,t){}});
\ No newline at end of file
webpackJsonp([18],{LQZa:function(t,a){},puJc:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),r=n("BdFv"),i=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("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:e.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=n("VU/8")(i,o,!1,function(t){n("LQZa")},"data-v-7c26f866",null);a.default=s.exports}}); webpackJsonp([17],{LQZa:function(t,a){},puJc:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),r=n("BdFv"),i=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("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:e.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=n("VU/8")(i,o,!1,function(t){n("LQZa")},"data-v-7c26f866",null);a.default=s.exports}});
\ No newline at end of file \ 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){}}); webpackJsonp([18],{"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 \ 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],{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("zL8q"),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.$emit("second-list",{list:t,isTag:!0})},_getTagLists:function(){var e=this;Object(l.o)({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.$emit("second-list",t)},handleChangeFixed:function(e,t){this.classTagName="tag-name",this.active=!1,this.currentFixedIndex=e,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.u)(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.w)(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.w)(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.v)({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.v)({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.expendTxt="展开"===this.expendTxt?"收起":"展开",this.$emit("second-list","all")},handleExpendTag:function(){this.currentLevelIndex=-1,this.currentIndex=-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.s)().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 "),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",{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){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)}))]),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){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))])])}))]),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("XkJL")},"data-v-4ebefd36",null);t.default=m.exports},XkJL:function(e,t){}});
\ 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("VM++")},"data-v-489b9d36",null);e.default=r.exports},"2X9c":function(t,e,s){t.exports=s.p+"static/img/error_500.ed0cba4.svg"},"VM++":function(t,e){}}); 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("VM++")},"data-v-489b9d36",null);e.default=r.exports},"2X9c":function(t,e,s){t.exports=s.p+"static/img/error_500.ed0cba4.svg"},"VM++":function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([9],{"4KSJ":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=e("MOmO"),s=e.n(i),n={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)}}},r={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"errPage-container"},[e("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v("返回")]),t._v(" "),e("el-row",[e("el-col",{attrs:{span:12}},[e("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("你没有权限去该页面!")]),t._v(" "),e("h2"),t._v(" "),e("h6"),t._v(" "),e("ul",{staticClass:"list-unstyled"})]),t._v(" "),e("el-col",{attrs:{span:12}},[e("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),t._v(" "),e("el-dialog",{attrs:{title:"随便看",visible:t.dialogVisible},on:{"update:visible":function(a){t.dialogVisible=a}}},[e("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},staticRenderFns:[]};var l=e("VU/8")(n,r,!1,function(t){e("nEFn")},"data-v-467a86a2",null);a.default=l.exports},MOmO:function(t,a,e){t.exports=e.p+"static/img/401.089007e.gif"},nEFn:function(t,a){}});
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,a,t){for(var o,b,d,i=0,u=[];i<f.length;i++)b=f[i],n[b]&&u.push(n[b][0]),n[b]=0;for(o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o]);for(c&&c(f,a,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)d=r(r.s=t[i]);return d};var f={},n={34:0};function r(c){if(f[c])return f[c].exports;var n=f[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 f=new Promise(function(f,r){c=n[e]=[f,r]});c[2]=f;var a=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,r.nc&&t.setAttribute("nonce",r.nc),t.src=r.p+"static/js/"+e+"."+{0:"15680b5cb454f154346c",1:"ff9a48317f8bf815760f",2:"19ecea22e15b56b11064",3:"0d4fcc8fefa37a8a198e",4:"d17b0665c4456542e03d",5:"438ba481da7a0f735ff0",6:"623b48c4ef01900118d4",7:"c8f081b81ddfc63c3a35",8:"c72ce67b49b27df93901",9:"4692dc8f8943b2dd9cc7",10:"277c43eec976117ce21e",11:"91434db6be36b4546c76",12:"99fff6ab9874c354ed3f",13:"5e9fa2db703b47354a58",14:"fdf29b8ca338cce9942a",15:"999f87f7cd93f3f0f882",16:"65adc5156891f1b57717",17:"ab878202abfdce0b546a",18:"939b3247682916613aae",19:"f725fb304c21822a4eef",20:"3cee3864dc5f85cc2354",21:"83a788ea16e7150c6503",22:"11cbc213457ffebe7ebf",23:"c24a9f56d0040598512c",24:"4ad2674933e6886df395",25:"7f79b0404f25fcd67f4f",26:"80e295efa02de6e5fb81",27:"ddb488688ceec6baa35c",28:"16762be5e95423ba5423",29:"1727f9e83db20ba57b45",30:"6a5ee2a1c27c5a16c485",31:"4581161a7b4779f896f3"}[e]+".js";var o=setTimeout(b,12e4);function b(){t.onerror=t.onload=null,clearTimeout(o);var c=n[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return t.onerror=t.onload=b,a.appendChild(t),f},r.m=e,r.c=f,r.d=function(e,c,f){r.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},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 a=window.webpackJsonp;window.webpackJsonp=function(c,r,t){for(var o,b,d,i=0,u=[];i<c.length;i++)b=c[i],f[b]&&u.push(f[b][0]),f[b]=0;for(o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);for(a&&a(c,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)d=n(n.s=t[i]);return d};var c={},f={34:0};function n(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,n),f.l=!0,f.exports}n.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,n){a=f[e]=[c,n]});a[2]=c;var r=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"4f43bb4c1623eca5f7f7",1:"ff9a48317f8bf815760f",2:"4df627ba6a84ab219e1f",3:"3becd79f5fdaa3a9e577",4:"d17b0665c4456542e03d",5:"272f6bfd12111b2514f7",6:"623b48c4ef01900118d4",7:"c7838120b1a8977d10d8",8:"03aacefe02ac1da31eec",9:"32877e1ab63375369274",10:"f554e888c1709956bad4",11:"c827777ffded659cfe9f",12:"91cd77fb402bcc20c476",13:"5e9fa2db703b47354a58",14:"fdf29b8ca338cce9942a",15:"999f87f7cd93f3f0f882",16:"65adc5156891f1b57717",17:"d0b5334e5282b4a8d1ac",18:"3ee77aca5a8e38a7ca47",19:"34e7b6016ac35b3b3bfb",20:"c7d5fb4d00858abc4a68",21:"e5e6b6eaea60a744902b",22:"c5831a0e6963d3099114",23:"c24a9f56d0040598512c",24:"4ad2674933e6886df395",25:"7f79b0404f25fcd67f4f",26:"80e295efa02de6e5fb81",27:"ddb488688ceec6baa35c",28:"16762be5e95423ba5423",29:"1727f9e83db20ba57b45",30:"6a5ee2a1c27c5a16c485",31:"4581161a7b4779f896f3"}[e]+".js";var o=setTimeout(b,12e4);function b(){t.onerror=t.onload=null,clearTimeout(o);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return t.onerror=t.onload=b,r.appendChild(t),c},n.m=e,n.c=c,n.d=function(e,a,c){n.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},n.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(a,"a",a),a},n.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
/* eslint-disable */
/** /**
* Created by jiachenpan on 16/11/18. * Created by jiachenpan on 16/11/18.
*/ */
......
...@@ -34,6 +34,19 @@ ...@@ -34,6 +34,19 @@
</ul> </ul>
</el-collapseTransition> </el-collapseTransition>
<div class="member-group" :class="{'light-group': currentFixedIndex === -1}" @click="handleExpendFixed">
<i class="icon-list el-icon-caret-right icon-transform" :class="expendFixedClass"></i>
固化人群
</div>
<el-collapseTransition>
<ul class="lists" v-show="expendTxtFixed == '展开'">
<li v-for="(list, i) in fixedLists" :key="i" :class="['member-list', { 'active-li': i == currentFixedIndex }]" @click="handleChangeFixed(i, list)">
<span class="name-txt" :title="list.classifyName" v-show="!list.edit">{{ list.classifyName }}</span>
</li>
</ul>
</el-collapseTransition>
<el-dialog :title="title" :visible.sync="addGroupDialog" width="320px" top="30vh" :close-on-click-modal="false"> <el-dialog :title="title" :visible.sync="addGroupDialog" width="320px" top="30vh" :close-on-click-modal="false">
<div> <div>
分组名称: 分组名称:
...@@ -64,17 +77,20 @@ export default { ...@@ -64,17 +77,20 @@ export default {
addGroupDialog: false, addGroupDialog: false,
expendTxt: '收起', expendTxt: '收起',
expendTxtTag: '收起', expendTxtTag: '收起',
expendTxtFixed: '收起',
groupName: '', groupName: '',
title: '新增分组名称', title: '新增分组名称',
currentIndex: -1, currentIndex: -1,
currentTagIndex: 0, currentTagIndex: 0,
currentFixedIndex: 0,
active: false, active: false,
Taglists: [], Taglists: [],
classTagName: 'tag-name', classTagName: 'tag-name',
// 是否分层 // 是否分层
hasLevel: false, hasLevel: false,
currentLevelIndex: -2, currentLevelIndex: -2,
groupLists: [] groupLists: [],
fixedLists: []
}; };
}, },
...@@ -92,7 +108,10 @@ export default { ...@@ -92,7 +108,10 @@ export default {
} else { } else {
return ''; return '';
} }
} },
expendFixedClass() {
return this.expendTxtFixed != '展开' ? 'is-caret' : ''
},
}, },
methods: { methods: {
...@@ -131,6 +150,12 @@ export default { ...@@ -131,6 +150,12 @@ export default {
// 第二级的分组数据 // 第二级的分组数据
this.$emit('second-list', list); this.$emit('second-list', list);
}, },
handleChangeFixed(i, list) {
this.classTagName = 'tag-name';
this.active = false;
this.currentFixedIndex = i;
this.$emit('second-list', { isFixed: true, list });
},
/** /**
* 修改和删除分组 * 修改和删除分组
* 鼠标悬浮在分组名称上,显示编辑和删除按钮 * 鼠标悬浮在分组名称上,显示编辑和删除按钮
...@@ -260,7 +285,8 @@ export default { ...@@ -260,7 +285,8 @@ export default {
*/ */
getMemberGroupList() { getMemberGroupList() {
memberGroupList({ memberGroupList({
requestProject: 'gic-member-tag-web' requestProject: 'gic-member-tag-web',
type: 0
}).then(res => { }).then(res => {
if (res.errorCode === 1) { if (res.errorCode === 1) {
console.log(res.result); console.log(res.result);
...@@ -271,6 +297,19 @@ export default { ...@@ -271,6 +297,19 @@ export default {
} }
}); });
}, },
getFixedMemberGroupList() {
memberGroupList({
requestProject: 'gic-member-tag-web',
type: 1
}).then(res => {
if (res.errorCode === 1) {
this.fixedLists = res.result.map(el => ({
...el,
edit: false
}));
}
});
},
// 收起 // 收起
handleExpend() { handleExpend() {
this.currentIndex = -1; this.currentIndex = -1;
...@@ -284,6 +323,13 @@ export default { ...@@ -284,6 +323,13 @@ export default {
this.expendTxtTag = this.expendTxtTag === '展开' ? '收起' : '展开'; this.expendTxtTag = this.expendTxtTag === '展开' ? '收起' : '展开';
this.$emit('second-list', 'allLevel'); this.$emit('second-list', 'allLevel');
}, },
handleExpendFixed() {
this.currentFixedIndex = -1
this.currentLevelIndex = -2;
this.currentIndex = -2;
this.expendTxtFixed = this.expendTxtFixed === '展开' ? '收起' : '展开';
this.$emit('second-list', 'showFixedList');
},
// //
_hasLevelFeature() { _hasLevelFeature() {
hasLevelFeature().then(res => { hasLevelFeature().then(res => {
...@@ -295,6 +341,7 @@ export default { ...@@ -295,6 +341,7 @@ export default {
}, },
beforeMount() { beforeMount() {
this.getMemberGroupList(); this.getMemberGroupList();
this.getFixedMemberGroupList();
this._getTagLists(); this._getTagLists();
this._hasLevelFeature(); this._hasLevelFeature();
}, },
......
...@@ -64,6 +64,17 @@ ...@@ -64,6 +64,17 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item prop="fixedType">
<div class="label-title">是否固化</div>
<el-select v-model="ruleForm.fixedType" style="margin-bottom:15px">
<el-option label="否" :value="0" />
<el-option label="是" :value="1" />
</el-select>
<br v-if="ruleForm.fixedType">
<el-date-picker v-if="ruleForm.fixedType" :clearable="false" :picker-options="fixedTimeOptions" v-model="ruleForm.fixedTime" value-format="yyyy-MM-dd" placeholder="选择期初固化日期" style="margin-bottom:15px"></el-date-picker>
<br v-if="ruleForm.fixedType">
<el-date-picker v-if="ruleForm.fixedType" :clearable="false" :picker-options="fixedTimeOptions" v-model="ruleForm.fixedEndTime" value-format="yyyy-MM-dd" placeholder="选择期末固化日期"></el-date-picker>
</el-form-item>
<el-form-item <el-form-item
label label
prop="describle" prop="describle"
...@@ -205,6 +216,7 @@ import showMsg from '@/common/js/showmsg'; ...@@ -205,6 +216,7 @@ import showMsg from '@/common/js/showmsg';
import { postRequest } from '@/api/api'; import { postRequest } from '@/api/api';
import { getMemberTagCount } from '@/request/memberGroup.js'; import { getMemberTagCount } from '@/request/memberGroup.js';
import { getMemberTagList, memberGroupList, getIsAllowAdd, groupCount } from '@/request/api.js'; import { getMemberTagList, memberGroupList, getIsAllowAdd, groupCount } from '@/request/api.js';
import { parseTime } from '@/utils'
export default { export default {
name: 'memberGroupEdit', name: 'memberGroupEdit',
...@@ -267,7 +279,10 @@ export default { ...@@ -267,7 +279,10 @@ export default {
// 每周更新一次,更新日期1到7对应周一到周日 // 每周更新一次,更新日期1到7对应周一到周日
// 每月更新一次,更新日期为每月1到28号 // 每月更新一次,更新日期为每月1到28号
updateDay: '', updateDay: '',
effectiveStatus: 1 effectiveStatus: 1,
fixedType: 0, // 是否固化人群
fixedTime: parseTime(new Date(), '{y}-{m}-{d}'), // 期初固化时间
fixedEndTime: parseTime(+new Date() + 365 * 24 * 3600 * 1000, '{y}-{m}-{d}'), // 期末固化时间
}, },
refreshList: {}, refreshList: {},
...@@ -285,6 +300,13 @@ export default { ...@@ -285,6 +300,13 @@ export default {
return time.getTime() < Date.now() - 8.64e7 || time.getTime() > y; return time.getTime() < Date.now() - 8.64e7 || time.getTime() > y;
} }
}, },
fixedTimeOptions: {
disabledDate(date) {
let curDate = parseTime(new Date(), '{y}-{m}-{d}');
curDate = `${curDate} 00:00:00`
return new Date(date) < new Date(curDate);
}
},
// 会员分组分类 // 会员分组分类
memberGroupList: {}, memberGroupList: {},
// 表单验证规则 // 表单验证规则
...@@ -520,9 +542,15 @@ export default { ...@@ -520,9 +542,15 @@ export default {
updateDay: ruleForm.updateDay, updateDay: ruleForm.updateDay,
effectiveStatus: ruleForm.effectiveStatus, effectiveStatus: ruleForm.effectiveStatus,
json: JSON.stringify(ruleForm.selectedTags), json: JSON.stringify(ruleForm.selectedTags),
effectiveDateTmp: `${ruleForm.effectiveDateTmp.split(' ')[0]} 23:59:59` effectiveDateTmp: `${ruleForm.effectiveDateTmp.split(' ')[0]} 23:59:59`,
fixedType: this.ruleForm.fixedType
}; };
if(para.fixedType) {
para.fixedTime = this.ruleForm.fixedTime;
para.fixedEndTime = this.ruleForm.fixedEndTime;
}
let postUrl = !!this.ruleForm.memberTagGroupId ? '/member-tag-group/update.json' : '/member-tag-group/add.json'; let postUrl = !!this.ruleForm.memberTagGroupId ? '/member-tag-group/update.json' : '/member-tag-group/add.json';
postRequest(postUrl, para) postRequest(postUrl, para)
...@@ -635,6 +663,9 @@ export default { ...@@ -635,6 +663,9 @@ export default {
// this.ruleForm.updateDay = !!tagGroupDto.updateDay ? Number(tagGroupDto.updateDay) : ''; // this.ruleForm.updateDay = !!tagGroupDto.updateDay ? Number(tagGroupDto.updateDay) : '';
this.ruleForm.updateType = 1; this.ruleForm.updateType = 1;
this.ruleForm.updateDay = ''; this.ruleForm.updateDay = '';
this.ruleForm.fixedType = tagGroupDto.fixedType || 0
this.ruleForm.fixedTime = tagGroupDto.fixedTime || this.ruleForm.fixedTime
this.ruleForm.fixedEndTime = tagGroupDto.fixedEndTime || this.ruleForm.fixedEndTime
} }
let tagValueDtoList = Array.isArray(resData.result.tagValueDtoList) ? resData.result.tagValueDtoList : []; let tagValueDtoList = Array.isArray(resData.result.tagValueDtoList) ? resData.result.tagValueDtoList : [];
......
...@@ -7,6 +7,98 @@ ...@@ -7,6 +7,98 @@
<group-list @getRecommend="getRecommend" @second-list="getsecondList"></group-list> <group-list @getRecommend="getRecommend" @second-list="getsecondList"></group-list>
</div> </div>
<!-- 右边的表格 --> <!-- 右边的表格 -->
<template v-if="showFixedList">
<!-- 固化人群列表 -->
<div class="right-box">
<div class="common-wrap__opt">
<el-input
class="w-220 m-r-8"
placeholder="请输入关键字搜索人群"
prefix-icon="el-icon-search"
v-model="tagSearch"
clearable
@clear="clearSearch"
@keyup.enter.native="searchEnterFun"
/>
<el-select v-model="statusSelect" @change="searchByStatus" placeholder="请选择" class="w-220 m-r-8">
<el-option :key="0" label="失效" :value="0"> </el-option>
<el-option :key="1" label="有效" :value="1"> </el-option>
<el-option key="" label="全部" value=""> </el-option>
</el-select>
<!-- 实时和非实时 -->
<el-select v-model="isRealTime" @change="realTimeStatus" placeholder="请选择" class="w-220 m-l-0">
<el-option key="" label="全部" value=""> </el-option>
<el-option :key="0" label="非实时" :value="0"> </el-option>
<el-option :key="1" label="实时" :value="1"> </el-option>
</el-select>
</div>
<div class="common-wrap__table m-t-20">
<el-table
key="fixedList"
v-loading="loading"
ref="multipleTable"
:data="groupTableData"
tooltip-effect="dark"
>
<el-table-column label="人群名称" show-overflow-tooltip prop="groupName"></el-table-column>
<el-table-column label="人群分类" show-overflow-tooltip prop="groupClassifyName"></el-table-column>
<el-table-column label="是否实时" >
<template slot-scope="scope">
{{ scope.row.isRealTime === 1 ? '实时' : '非实时' }}
</template>
</el-table-column>
<el-table-column label="期初固化时间">
<template slot-scope="scope">
<p class="h-18">{{ scope.row.fixedTime | formatTimeYMD }}</p>
</template>
</el-table-column>
<el-table-column label="期初固化人数" prop="groupCount"></el-table-column>
<el-table-column label="期末固化时间">
<template slot-scope="scope">
<p class="h-18">{{ scope.row.fixedEndTime | formatTimeYMD }}</p>
</template>
</el-table-column>
<el-table-column label="期末固化人数" prop="groupCount"></el-table-column>
<el-table-column prop="state" label="状态" >
<template slot-scope="scope">
<span :class="scope.row.effectiveStatus == 1 ? 'dm-status--success' : 'dm-status--error'"></span>
{{ scope.row.effectiveStatus == 1 ? '有效' : '失效' }}
</template>
</el-table-column>
<el-table-column label="操作" width="240px">
<template slot-scope="scope">
<!-- <router-link
:to="`/memberGroupDetail?memberTagGroupId=${scope.row.memberTagGroupId}`"
class="edit-btn el-button--text p-r-12"
>
详情
</router-link> -->
<router-link
:to="`/memberGroupEdit?memberTagGroupId=${scope.row.memberTagGroupId}`"
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">
<dm-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">
</dm-pagination>
</div>
</div>
</template>
<template v-else>
<div class="right-box" v-show="!isRecommend"> <div class="right-box" v-show="!isRecommend">
<div class="common-wrap__opt"> <div class="common-wrap__opt">
<el-input <el-input
...@@ -100,6 +192,9 @@ ...@@ -100,6 +192,9 @@
{{ (scope.row.memberCount || 0) | formatNum }} {{ (scope.row.memberCount || 0) | formatNum }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="fixedType" label="是否有固化">
<template slot-scope="{ row }">{{ row.fixedType ? '是' : '否' }}</template>
</el-table-column>
<el-table-column prop="appStatus" label="好办展示" > <el-table-column prop="appStatus" label="好办展示" >
<template slot-scope="scope"> <template slot-scope="scope">
<el-switch :active-value="1" :inactive-value="0" v-model="scope.row.appStatus" active-color="#1890ff" @change="switchAppStatus(scope.row.appStatus, scope.row)"> </el-switch> <el-switch :active-value="1" :inactive-value="0" v-model="scope.row.appStatus" active-color="#1890ff" @change="switchAppStatus(scope.row.appStatus, scope.row)"> </el-switch>
...@@ -250,6 +345,7 @@ ...@@ -250,6 +345,7 @@
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
</template>
</div> </div>
<vue-gic-footer></vue-gic-footer> <vue-gic-footer></vue-gic-footer>
<batch-list :batchVisiable.sync="batchVisiable" @refresh-list="refreshList" :operateNumber="operateNumber" :multipleSelection="multipleSelection"></batch-list> <batch-list :batchVisiable.sync="batchVisiable" @refresh-list="refreshList" :operateNumber="operateNumber" :multipleSelection="multipleSelection"></batch-list>
...@@ -296,6 +392,7 @@ export default { ...@@ -296,6 +392,7 @@ export default {
dialogVisible: true, dialogVisible: true,
isRecommend: false, isRecommend: false,
isTagRecommend: false, isTagRecommend: false,
showFixedList: false,
recommendItems: [], recommendItems: [],
recommendData: [], // 推荐分组的数据 recommendData: [], // 推荐分组的数据
activeName: '', activeName: '',
...@@ -486,6 +583,15 @@ export default { ...@@ -486,6 +583,15 @@ export default {
// 会员分组二级 // 会员分组二级
getsecondList(list) { getsecondList(list) {
console.log(list); console.log(list);
this.showFixedList = false
if(list === 'showFixedList') {
this.params.memberTagGroupClassifyId = '';
this.showFixedList = true;
this.params.pageNum = 1;
this.params.pageSize = 20;
this.getGroupList();
return;
}
if (list === 'allLevel') { if (list === 'allLevel') {
this.isTag = true; this.isTag = true;
this.isRecommend = true; this.isRecommend = true;
...@@ -515,12 +621,28 @@ export default { ...@@ -515,12 +621,28 @@ export default {
if (memberTagGradeId) { if (memberTagGradeId) {
this._gradeList(memberTagGradeId); this._gradeList(memberTagGradeId);
} }
} if(list.isFixed) {
this.showFixedList = true
this.params.memberTagGroupClassifyId = list.memberTagGroupClassifyId;
this.params.fixedType = 1;
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 = [];
}
})
} else { } else {
this.isRecommend = false; this.isRecommend = false;
this.isTag = false; this.isTag = false;
this.isTagRecommend = false; this.isTagRecommend = false;
this.params.memberTagGroupClassifyId = list.memberTagGroupClassifyId; this.params.memberTagGroupClassifyId = list.memberTagGroupClassifyId;
this.params.fixedType = 0;
findSecondMemberList(this.params).then(res => { findSecondMemberList(this.params).then(res => {
if (res.errorCode == 1) { if (res.errorCode == 1) {
this.total = res.result.totalCount; this.total = res.result.totalCount;
...@@ -854,6 +976,7 @@ export default { ...@@ -854,6 +976,7 @@ export default {
* 获取列表数据 * 获取列表数据
*/ */
getGroupList() { getGroupList() {
this.params.fixedType = this.showFixedList ? 1 : 0
memberTagGroupList(this.params).then(res => { memberTagGroupList(this.params).then(res => {
if (res.errorCode == 1) { if (res.errorCode == 1) {
this.total = res.result.totalCount; this.total = res.result.totalCount;
...@@ -887,7 +1010,8 @@ export default { ...@@ -887,7 +1010,8 @@ export default {
isRealTime: '', isRealTime: '',
effectiveStatus: this.statusSelect, effectiveStatus: this.statusSelect,
requestProject: 'gic-member-tag-web', requestProject: 'gic-member-tag-web',
memberTagGroupClassifyId: '' memberTagGroupClassifyId: '',
fixedType: 0
}; };
}, },
mounted() { mounted() {
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
<!--{{ tagName }}--> <!--{{ tagName }}-->
{{showSearchResult ? `【${tagName}】搜索结果` : tagName}} {{showSearchResult ? `【${tagName}】搜索结果` : tagName}}
<el-button type="primary" class="add-newtag" @click="editHandTag()" v-show="handTag == 1">新增标签</el-button> <el-button type="primary" class="add-newtag" @click="editHandTag()" v-show="handTag == 1">新增标签</el-button>
<a href="http://demogic.udesk.cn/hc/articles/221271?api_name=&preview=true&preview_as_role=admin&theme_id=18093" target="_blank" class="help-doc">查看帮助文档</a>
</p> </p>
<tag-container @deleteHandTag="deleteHandTag" :data="memberTagList" :handTag="handTag" :groupId="groupId" :refersh="refershList" @addTag="selectedTag" @editHandTag="editHandTag" ref="tagContainer" /> <tag-container @deleteHandTag="deleteHandTag" :data="memberTagList" :handTag="handTag" :groupId="groupId" :refersh="refershList" @addTag="selectedTag" @editHandTag="editHandTag" ref="tagContainer" />
...@@ -101,6 +102,17 @@ ...@@ -101,6 +102,17 @@
/> />
</el-select> </el-select>
</div> </div>
<div :class="['form-item', {'margin-60': marginSixty}]">
<label for="">是否固化</label>
<el-select v-model="tagConfig.fixedType" style="margin-bottom:15px">
<el-option label="否" :value="0" />
<el-option label="是" :value="1" />
</el-select>
<br v-if="ruleForm.fixedType">
<el-date-picker v-if="tagConfig.fixedType" :clearable="false" :picker-options="fixedTimeOptions" v-model="tagConfig.fixedTime" value-format="yyyy-MM-dd" placeholder="选择期初固化日期" style="margin-bottom:15px"></el-date-picker>
<br v-if="ruleForm.fixedType">
<el-date-picker v-if="tagConfig.fixedType" :clearable="false" :picker-options="fixedTimeOptions" v-model="tagConfig.fixedEndTime" value-format="yyyy-MM-dd" placeholder="选择期末固化日期"></el-date-picker>
</div>
<div class="form-item" :class="{ 'margin-60': marginSixty }"> <div class="form-item" :class="{ 'margin-60': marginSixty }">
<label for="">分组描述</label> <label for="">分组描述</label>
<el-input type="textarea" v-model="tagConfig.textarea" :maxlength="200" rows="4" placeholder="请输入内容"></el-input> <el-input type="textarea" v-model="tagConfig.textarea" :maxlength="200" rows="4" placeholder="请输入内容"></el-input>
...@@ -143,6 +155,7 @@ import { getMemberTag, getMemberTagList, addNewGroup, memberGroupList, groupCoun ...@@ -143,6 +155,7 @@ import { getMemberTag, getMemberTagList, addNewGroup, memberGroupList, groupCoun
import EditTag from '../memberGroup/edit-tag'; import EditTag from '../memberGroup/edit-tag';
import { mapState } from 'vuex'; import { mapState } from 'vuex';
import Trash from '@/components/Trash.vue'; import Trash from '@/components/Trash.vue';
import { parseTime } from '@/utils'
Vue.component(CollapseTransition.name, CollapseTransition); Vue.component(CollapseTransition.name, CollapseTransition);
...@@ -175,7 +188,10 @@ export default { ...@@ -175,7 +188,10 @@ export default {
updateType: '', // 更新类型频率 updateType: '', // 更新类型频率
updateDay: '', // 更新类型时间 updateDay: '', // 更新类型时间
isRealTime: 0, // 实时 isRealTime: 0, // 实时
effectiveStatus: 1 // 有效状态nage effectiveStatus: 1, // 有效状态nage
fixedType: 0, // 是否固化人群
fixedTime: parseTime(new Date(), '{y}-{m}-{d}'), // 期初固化时间
fixedEndTime: parseTime(+new Date() + 365 * 24 * 3600 * 1000, '{y}-{m}-{d}'), // 期末固化时间
}, },
activeTagsGroupIndex: 0, activeTagsGroupIndex: 0,
activeTagIndex: 0, activeTagIndex: 0,
...@@ -190,6 +206,13 @@ export default { ...@@ -190,6 +206,13 @@ export default {
return time.getTime() < Date.now() - 8.64e7 || time.getTime() > y; return time.getTime() < Date.now() - 8.64e7 || time.getTime() > y;
} }
}, },
fixedTimeOptions: {
disabledDate(date) {
let curDate = parseTime(new Date(), '{y}-{m}-{d}');
curDate = `${curDate} 00:00:00`
return new Date(date) < new Date(curDate);
}
},
// 面包屑参数 // 面包屑参数
navpath: [ navpath: [
{ {
...@@ -356,7 +379,8 @@ export default { ...@@ -356,7 +379,8 @@ export default {
effectiveStatus: 1, effectiveStatus: 1,
requestProject: 'gic-member-tag-web', requestProject: 'gic-member-tag-web',
json: JSON.stringify(this.selectedTags), json: JSON.stringify(this.selectedTags),
effectiveDateTmp: `${this.tagConfig.date.split(' ')[0]} 23:59:59` effectiveDateTmp: `${this.tagConfig.date.split(' ')[0]} 23:59:59`,
fixedType: this.tagConfig.fixedType
}; };
// 必填项目 // 必填项目
const isEmpty = this.selectedTags.length === 0 || this.selectedTags.some(item => item.length === 0); const isEmpty = this.selectedTags.length === 0 || this.selectedTags.some(item => item.length === 0);
...@@ -379,6 +403,11 @@ export default { ...@@ -379,6 +403,11 @@ export default {
return; return;
} }
if(param.fixedType) {
param.fixedTime = this.tagConfig.fixedTime;
param.fixedEndTime = this.tagConfig.fixedEndTime;
}
addNewGroup(param) addNewGroup(param)
.then(res => { .then(res => {
if (res.errorCode == 1) { if (res.errorCode == 1) {
...@@ -623,6 +652,7 @@ export default { ...@@ -623,6 +652,7 @@ export default {
pageSize: 20 pageSize: 20
}; };
this.tagConfig = { this.tagConfig = {
...this.tagConfig,
groupName: '', groupName: '',
memberTagGroupClassifyId: '0', memberTagGroupClassifyId: '0',
isRealTime: '', isRealTime: '',
...@@ -773,6 +803,7 @@ export default { ...@@ -773,6 +803,7 @@ export default {
.add-newtag { .add-newtag {
float: right; float: right;
margin-bottom: 10px; margin-bottom: 10px;
margin-left: 15px;
} }
} }
} }
...@@ -921,4 +952,16 @@ export default { ...@@ -921,4 +952,16 @@ export default {
.margin-60 { .margin-60 {
margin-left: 60px; margin-left: 60px;
} }
.help-doc{
color: #1890ff;
cursor: pointer;
margin: 0 0 0 10px;
float: right;
display: block;
height: 32px;
line-height: 32px;
padding: 0 15px;
background: #f3f6f9;
font-size: 14px;
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment