Commit b3d3a43d by liuchenxi

update: build

parent 55fd6a28
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./static/img/favicon.ico><title></title><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.88b449f885fd41647c2bddbded7fd301.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app><div class=el-loading-spinner style="width: 98%;"><svg viewBox="25 25 50 50" class=circular><circle cx=50 cy=50 r=20 fill=none class=path></circle></svg></div></div><script>(function() {
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./static/img/favicon.ico><title>GIC-会员标签</title><link rel=stylesheet href=//at.alicdn.com/t/font_688955_99jmfacmlpp.css><link rel=stylesheet href=//at.alicdn.com/t/font_3276801_vxllf19dief.css><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.190cd85e2fafe418c53c9ccff8108632.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app><div class=el-loading-spinner style="width: 98%;"><svg viewBox="25 25 50 50" class=circular><circle cx=50 cy=50 r=20 fill=none class=path></circle></svg></div></div><script>(function() {
var src = '/component/static/import-component.js?timestrap='+ new Date().getTime();
var host = window.location.host;
host = host.indexOf('localhost') > -1 || host.indexOf('192.168') > -1 ? 'gicdev.demogic.com' : host;
document.write('<script src="//'+ host + src +'"><\/script>')
})()</script><script src=//web-1251519181.file.myqcloud.com/components/track.1.0.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script type=text/javascript src=./static/js/manifest.2095a4692d41b8592ea1.js></script><script type=text/javascript src=./static/js/vendor.313c008bac1be397035b.js></script><script type=text/javascript src=./static/js/app.549b856cff28a63f447c.js></script></body></html>
\ No newline at end of file
})()</script><script src=//web-1251519181.file.myqcloud.com/components/track.1.0.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script type=text/javascript src=./static/js/manifest.36a09e305a515eb7694d.js></script><script type=text/javascript src=./static/js/vendor.5df1bd0b2be64a3fba5b.js></script><script type=text/javascript src=./static/js/app.5085b0eaf94efcd3f886.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.
......@@ -110,4 +110,18 @@
padding: 20px;
min-height: calc(100vh - 296px);
background: #fff;
}
\ No newline at end of file
}
// 幽灵按钮放在全局方便全局改样式
.ghost-btn {
background: #fff !important;
color: #1890ff !important;
&:hover {
border-color: #40a9ff;
color: #40a9ff !important;
}
&:active {
border-color: #096dd9;
color: #096dd9 !important;
}
}
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([15],{SQwf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("QOex"),r=a("DMDI"),i=a("2CGT"),o={name:"tag-container",mixins:[r.a,n.a],props:{data:{type:Array,default:function(){return[]}},refersh:Object},data:function(){return{tableData:[],tagData:{}}},methods:{addTag:function(t){this.$emit("addTag",t)},handleTrackParam:function(t,e){var a={addTag:function(){return{data:{id:e.tagId,name:e.tagName}}}}[t];return{fn:function(){},data:a?a():{}}},changeMoreUse:function(t){var e=this,a={tagId:t.tagId,isMoreUse:t.isMoreUse?0:1};Object(i.J)(a).then(function(){e.$message.success("设置成功"),t.isMoreUse=t.isMoreUse?0:1})}},watch:{data:{immediate:!0,handler:function(t){this.tableData=t}},refersh:{immediate:!0,handler:function(t){if(t.changeRefersh){var e=this.tableData.findIndex(function(e){return t.tagId===e.tagId});this.tableData[e].refersh=!0}}}},computed:{getCodeAuth:function(){return this.$getButtonLimit(this.$buttonCode.memberTagCreateGroup)},getCode:function(){return this.$buttonCode.memberTagCreateGroup}}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"tag-some-list"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData}},[a("el-table-column",{attrs:{label:"标签名称",prop:"tagName","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"tag-name"},[t._v(t._s(e.row.tagName))]),t._v(" "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"添加标签",placement:"top"}},[t.getCodeAuth?a("i",{directives:[{name:"track",rawName:"v-track:common.click",value:t.handleTrackParam("addTag",e.row),expression:"handleTrackParam('addTag', scope.row)",arg:"common",modifiers:{click:!0}}],staticClass:"iconfont icon-tag-name icon-PlusOutlined",attrs:{"limit-code":t.getCode},on:{click:function(a){return t.addTag(e.row)}}}):t._e()])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"是否实时",prop:"isActive","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:["base",1==e.row.isActive?"keep-active":"no-active"]},[t._v(" "+t._s(1==e.row.isActive?"实时":"非实时")+" ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"上级分类名称","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[a("span",[t._v(t._s(n.tagLevelGroupName||"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"标签描述",prop:"tagDescribe","min-width":"170"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(e.row.tagDescribe?e.row.tagDescribe:"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[a("el-button",{attrs:{type:"text"},on:{click:function(e){return t.changeMoreUse(n)}}},[t._v(t._s(n.isMoreUse?"取消":"设为常用"))])]}}])})],1)],1)},staticRenderFns:[]};var c=a("VU/8")(o,s,!1,function(t){a("c5A0")},"data-v-fba401d2",null);e.default=c.exports},c5A0:function(t,e){}});
\ No newline at end of file
webpackJsonp([16],{"G/on":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("5QTb"),s=(a("Mk6G"),a("3E4D")),n=a("Ch4/"),i=(a("PI0u"),a("P9l9")),o={name:"platformTagList",data:function(){return{tagLibName:"platformTag",tagSearch:"",tagTableData:[],selTagTableData:[],currentPage:1,pageSize:20,total:0,currentGroupId:0}},methods:{toAddMyTagLib:function(t,e){var a={};if("mult"===t){if(!this.selTagTableData.length)return this.$message.error({message:"请选择标签"}),!1;a.tagIds=[],this.selTagTableData.forEach(function(t,e){a.tagIds.push(t.tagId)}),a.tagIds=a.tagIds.join(","),this.addByTagId("addByTagIds",a)}else a.tagId=e,this.addByTagId("addByTagId",a)},addByTagId:function(t,e){var a=this;Object(i.a)("/enterpriseMemberTag/"+t,e).then(function(t){var e=t.data;if(1==e.errorCode)return s.a.showmsg("添加成功","success"),void a.getTagList();n.a.errorMsg(e)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},searchEnterFun:function(t){this.currentPage=1,this.getTagList()},clearSearch:function(){this.currentPage=1,this.getTagList()},handleSelectChange:function(t){this.selTagTableData=t},handleSizeChange:function(t){this.pageSize=t,this.getTagList()},handleCurrentChange:function(t){this.currentPage=t,this.$route.fullPath.includes("?")&&this.$router.push(this.$route.path+"?tagLevelGroupId="+this.$route.query.tagLevelGroupId+"&currentPage="+t),this.getTagList()},getTagList:function(t){var e=this,a={tagName:e.tagSearch,tagLevelGroupId:e.currentGroupId,pageNum:e.currentPage,pageSize:e.pageSize};Object(i.a)("/memberTag/platformTagPageList",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tagTableData=a.result.result,void(e.total=a.result.totalCount);n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getUrlParams:function(){this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:0,this.currentPage=this.$route.query.currentPage?parseInt(this.$route.query.currentPage):1,this.getTagList()}},watch:{$route:{handler:function(t,e){this.getUrlParams()},deep:!0}},mounted:function(){this.getUrlParams()},components:{tagCategory:r.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"platformTagList-wrap common-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"common-wrap__cateTags"},[a("tag-category",{attrs:{tagLibName:t.tagLibName}})],1),t._v(" "),a("div",{staticClass:"common-wrap__opt"},[a("el-input",{staticClass:"w-184",attrs:{placeholder:"搜索标签","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchEnterFun(e)}},model:{value:t.tagSearch,callback:function(e){t.tagSearch=e},expression:"tagSearch"}}),t._v(" "),a("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:function(e){return t.toAddMyTagLib("mult")}}},[t._v("添加至我的标签库")])],1),t._v(" "),a("div",{staticClass:"common-wrap__table m-t-20"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tagTableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectChange}},[a("el-table-column",{attrs:{type:"selection"}}),t._v(" "),a("el-table-column",{attrs:{prop:"tagName",label:"标签名称","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isActive?"实时":"非实时")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("router-link",{staticClass:"edit-btn el-button--text",attrs:{to:{path:"/platformTagDetail",query:{tagId:e.row.tagId,addFlag:e.row.isAdd,form:"notMyTag",navSign:"platformTag"}}}},[t._v("详情")]),t._v(" "),a("el-button",{staticClass:"p-l-10",attrs:{type:"text",size:"small",disabled:1==e.row.isAdd},on:{click:function(a){return t.toAddMyTagLib("single",e.row.tagId)}}},[t._v("\n "+t._s(1==e.row.isAdd?"已":"")+"添加至我的标签库\n ")])]}}])})],1)],1),t._v(" "),0!=t.tagTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()])])])},staticRenderFns:[]};var c=a("VU/8")(o,l,!1,function(t){a("YceJ")},"data-v-e63bc8ae",null);e.default=c.exports},YceJ:function(t,e){}});
\ No newline at end of file
webpackJsonp([17],{"G/on":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("5QTb"),s=(a("Mk6G"),a("3E4D")),n=a("Ch4/"),i=(a("PI0u"),a("P9l9")),o={name:"platformTagList",data:function(){return{tagLibName:"platformTag",tagSearch:"",tagTableData:[],selTagTableData:[],currentPage:1,pageSize:20,total:0,currentGroupId:0}},methods:{toAddMyTagLib:function(t,e){var a={};if("mult"===t){if(!this.selTagTableData.length)return this.$message.error({message:"请选择标签"}),!1;a.tagIds=[],this.selTagTableData.forEach(function(t,e){a.tagIds.push(t.tagId)}),a.tagIds=a.tagIds.join(","),this.addByTagId("addByTagIds",a)}else a.tagId=e,this.addByTagId("addByTagId",a)},addByTagId:function(t,e){var a=this;Object(i.a)("/enterpriseMemberTag/"+t,e).then(function(t){var e=t.data;if(1==e.errorCode)return s.a.showmsg("添加成功","success"),void a.getTagList();n.a.errorMsg(e)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},searchEnterFun:function(t){this.currentPage=1,this.getTagList()},clearSearch:function(){this.currentPage=1,this.getTagList()},handleSelectChange:function(t){this.selTagTableData=t},handleSizeChange:function(t){this.pageSize=t,this.getTagList()},handleCurrentChange:function(t){this.currentPage=t,this.$route.fullPath.includes("?")&&this.$router.push(this.$route.path+"?tagLevelGroupId="+this.$route.query.tagLevelGroupId+"&currentPage="+t),this.getTagList()},getTagList:function(t){var e=this,a={tagName:e.tagSearch,tagLevelGroupId:e.currentGroupId,pageNum:e.currentPage,pageSize:e.pageSize};Object(i.a)("/memberTag/platformTagPageList",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tagTableData=a.result.result,void(e.total=a.result.totalCount);n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getUrlParams:function(){this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:0,this.currentPage=this.$route.query.currentPage?parseInt(this.$route.query.currentPage):1,this.getTagList()}},watch:{$route:{handler:function(t,e){this.getUrlParams()},deep:!0}},mounted:function(){this.getUrlParams()},components:{tagCategory:r.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"platformTagList-wrap common-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"common-wrap__cateTags"},[a("tag-category",{attrs:{tagLibName:t.tagLibName}})],1),t._v(" "),a("div",{staticClass:"common-wrap__opt"},[a("el-input",{staticClass:"w-184",attrs:{placeholder:"搜索标签","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchEnterFun(e)}},model:{value:t.tagSearch,callback:function(e){t.tagSearch=e},expression:"tagSearch"}}),t._v(" "),a("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:function(e){return t.toAddMyTagLib("mult")}}},[t._v("添加至我的标签库")])],1),t._v(" "),a("div",{staticClass:"common-wrap__table m-t-20"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tagTableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectChange}},[a("el-table-column",{attrs:{type:"selection"}}),t._v(" "),a("el-table-column",{attrs:{prop:"tagName",label:"标签名称","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isActive?"实时":"非实时")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("router-link",{staticClass:"edit-btn el-button--text",attrs:{to:{path:"/platformTagDetail",query:{tagId:e.row.tagId,addFlag:e.row.isAdd,form:"notMyTag",navSign:"platformTag"}}}},[t._v("详情")]),t._v(" "),a("el-button",{staticClass:"p-l-10",attrs:{type:"text",size:"small",disabled:1==e.row.isAdd},on:{click:function(a){return t.toAddMyTagLib("single",e.row.tagId)}}},[t._v("\n "+t._s(1==e.row.isAdd?"已":"")+"添加至我的标签库\n ")])]}}])})],1)],1),t._v(" "),0!=t.tagTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()])])])},staticRenderFns:[]};var c=a("VU/8")(o,l,!1,function(t){a("YceJ")},"data-v-e63bc8ae",null);e.default=c.exports},YceJ:function(t,e){}});
\ No newline at end of file
webpackJsonp([18],{"0c8U":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("QOex"),r=a("DMDI"),i=a("EOvX"),o=a("2CGT"),l=a("r9pr"),s={name:"tag-container",mixins:[r.a,n.a],components:{DeleteTagDialog:l.default},props:{data:{type:Array,default:function(){return[]}},refersh:Object},data:function(){return{tableData:[],tagData:{},dateformat:i.a,deleteTagDialog:{visible:!1,deleteData:{}}}},methods:{addTag:function(e){this.$emit("addTag",e)},handleTrackParam:function(e,t){var a={addTag:function(){return{data:{id:t.tagId,name:t.tagName}}}}[e];return{fn:function(){},data:a?a():{}}},editActiveTag:function(e){this.$emit("ediActiveTag",e)},editActiveTagValue:function(e){this.$emit("setGroupId"),localStorage.setItem("jumpTag",""),localStorage.setItem("jumpThirdTag",""),this.$router.push({path:"/manualTagValueEdit",query:{tagId:e.tagId}})},deleteActiveTag:function(e){this.deleteTagDialog.visible=!0,this.deleteTagDialog.deleteData=e},doDelete:function(e){var t=this,a={tagId:e.tagId,requestProject:"gic-member-tag-web"};Object(o.h)(a).then(function(e){1==e.errorCode&&(t.$message({message:"删除成功",type:"success",duration:1e3}),t.$emit("deleteActiveTag",t.groupId))})}},watch:{data:{immediate:!0,handler:function(e){this.tableData=e}},refersh:{immediate:!0,handler:function(e){if(e.changeRefersh){var t=this.tableData.findIndex(function(t){return e.tagId===t.tagId});this.tableData[t].refersh=!0}}}},computed:{getCodeAuth:function(){return this.$getButtonLimit(this.$buttonCode.memberTagCreateGroup)},getCode:function(){return this.$buttonCode.memberTagCreateGroup}}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"tag-some-list"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{label:"标签名称",prop:"tagName","min-width":"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticClass:"tag-name"},[e._v(e._s(t.row.tagName))]),e._v(" "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"添加标签",placement:"bottom"}},[e.getCodeAuth?a("i",{directives:[{name:"track",rawName:"v-track:common.click",value:e.handleTrackParam("addTag",t.row),expression:"handleTrackParam('addTag', scope.row)",arg:"common",modifiers:{click:!0}}],staticClass:"iconfont icon-tag-name icon-PlusOutlined",attrs:{"limit-code":e.getCode},on:{click:function(a){return e.addTag(t.row)}}}):e._e()])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"上级分类名称","min-width":"90",prop:"tagLevelGroupName"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("span",[e._v(e._s(n.tagLevelGroupName||"--"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"覆盖人数",prop:"memberCount","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memberCount?(t.row.memberCount|e.formatNum)+"人":"--")+"\n ")]}}])},[a("template",{slot:"header"},[e._v("\n 覆盖人数\n "),a("el-popover",{attrs:{width:"260",trigger:"hover",placement:"top"}},[a("div",{staticStyle:{color:"#303133"}},[e._v("\n 标签下不同标签值可能覆盖相同的会员,因此此处“标签”覆盖人数去重显示(如“喜欢的颜色-白、红、黑、蓝”,某会员身上可能同时具备“白、黑”二种标签值)\n ")]),e._v(" "),a("i",{staticClass:"iconfont icon-QuestionCircleOutlined refresh",attrs:{slot:"reference"},slot:"reference"})])],1)],2),e._v(" "),a("el-table-column",{attrs:{label:"标签描述",prop:"tagDescribe","min-width":"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.tagDescribe?t.row.tagDescribe:"--"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"创建时间",prop:"createTime","min-width":"90"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[n.createTime?[a("p",[e._v(e._s(e.dateformat(n.createTime,"yyyy-MM-dd")))]),e._v(" "),a("p",[e._v(e._s(e.dateformat(n.createTime,"hh:mm:ss")))])]:a("span",[e._v("--")])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("el-button",{attrs:{type:"text"},on:{click:function(t){return e.editActiveTag(n)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(t){return e.editActiveTagValue(n)}}},[e._v("详情")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(t){return e.deleteActiveTag(n)}}},[e._v("删除")])]}}])})],1),e._v(" "),a("delete-tag-dialog",{attrs:{visible:e.deleteTagDialog.visible,data:e.deleteTagDialog.deleteData},on:{"update:visible":function(t){return e.$set(e.deleteTagDialog,"visible",t)},submit:e.doDelete}})],1)},staticRenderFns:[]};var d=a("VU/8")(s,c,!1,function(e){a("2iKR")},"data-v-e43d7f2c",null);t.default=d.exports},"2iKR":function(e,t){}});
\ No newline at end of file
webpackJsonp([18],{"308P":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});r("J16i");var a=r("3E4D"),o=r("P9l9"),l={name:"manualTagEdit",props:{showPop:Boolean,options:Object},data:function(){return{ruleForm:{tagName:"",tagLevel:"test",tagTwoLevelGroupId:"",tagLevelGroupId:"",tagDescribe:"",pending:!1},rules:{tagName:[{required:!0,message:"请输入标签名称",trigger:"blur"}],tagLevel:[{required:!0,message:""}],tagLevelGroupId:[{required:!0,message:"请选择所属分类",trigger:"blur"}],tagTwoLevelGroupId:[{required:!0,message:"请选择所属分类",trigger:"blur"}]},optionsTwo:[],optionsThree:[],tagValTableData:[],preSyncWmStatus:0}},watch:{options:{deep:!0,handler:function(e){var t=this;this.ruleForm.tagTwoLevelGroupId=e.tagTwoLevelGroupId,this.ruleForm.tagLevelGroupId=e.tagLevelGroupId,e.tagId?this.getTagData(e.tagId):(this.ruleForm.tagName="",this.getOptionsThree(e.tagTwoLevelGroupId));var r=this.optionsThree.find(function(e){return e.tagLevelGroupId==t.ruleForm.tagLevelGroupId});r&&(this.preSyncWmStatus=r.syncWmFlag)}}},methods:{closePop:function(){this.$refs.ruleForm.resetFields(),this.$emit("update:showPop",!1)},confirmSave:function(){var e=this;this.ruleForm.pending||(this.ruleForm.pending=!0,this.$refs.ruleForm.validate(function(t){if(t){var r=e.optionsThree.find(function(t){return t.tagLevelGroupId==e.ruleForm.tagLevelGroupId}).syncWmFlag;e.options.isSync||!e.preSyncWmStatus||r?e.saveApi():e.$confirm("该分类未开启微盟标签同步,修改后标签将不会再同步至微盟,并且已同步至微盟侧的会员标签将从微盟侧删除,是否继续保存?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.saveApi()}).catch(function(){return e.ruleForm.pending=!1})}else e.ruleForm.pending=!1}))},saveApi:function(){var e=this,t={tagId:this.options.tagId,tagName:this.ruleForm.tagName,tagDescribe:this.ruleForm.tagDescribe,tagLevelGroupId:this.ruleForm.tagLevelGroupId};Object(o.a)("/memberTag/saveHandMemberTag",t).then(function(t){var r=t.data,o=r.errorCode,l=r.message;e.ruleForm.pending=!1,1===o?(a.a.showmsg("保存成功","success"),e.$emit("save"),e.closePop()):e.$message.error({duration:1e3,message:l})}).catch(function(t){e.ruleForm.pending=!1,e.$message.error({duration:1e3,message:t.message})})},getOptionsTwo:function(){var e=this;return Object(o.a)("/tagLevel/handSecondLevel",{}).then(function(t){var r=t.data,a=r.errorCode,o=r.result;1===a&&(e.optionsTwo=o)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeTwo:function(e){this.ruleForm.tagLevelGroupId="",this.getOptionsThree(e)},getOptionsThree:function(e){var t=this;Object(o.a)("/tagLevel/handThirdLevel",{tagLevelGroupId:e}).then(function(e){var r=e.data,a=r.errorCode,o=r.result;1===a&&(t.optionsThree=o)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getTagData:function(e){var t=this;Object(o.a)("/memberTag/getTagById",{tagId:e}).then(function(e){var r=e.data,a=r.errorCode,o=r.result;1===a&&(t.ruleForm.tagName=o.tagName,t.ruleForm.tagLevelGroupId=o.tagLevelGroupId,t.ruleForm.tagTwoLevelGroupId=o.tagTwoLevelGroupId,t.ruleForm.tagDescribe=o.tagDescribe,t.getOptionsThree(o.tagTwoLevelGroupId))}).catch(function(e){console.log(e)})}},mounted:function(){this.getOptionsTwo()}},s={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-dialog",{attrs:{visible:e.showPop,title:e.options.popTitle,width:"600px"},on:{"update:visible":function(t){e.showPop=t},close:e.closePop}},[r("div",{staticClass:"manualTagEdit-wrap"},[r("el-form",{ref:"ruleForm",attrs:{model:e.ruleForm,rules:e.rules}},[r("el-form-item",{staticClass:"w-329",attrs:{label:"标签名称",prop:"tagName"}},[r("el-input",{staticClass:"w-220",attrs:{placeholder:"请输入内容",maxlength:15},model:{value:e.ruleForm.tagName,callback:function(t){e.$set(e.ruleForm,"tagName",t)},expression:"ruleForm.tagName"}}),e._v(" "),r("label",{staticClass:"input-label"},[e._v(e._s(e.ruleForm.tagName.length)+"/15")])],1),e._v(" "),r("el-form-item",{attrs:{label:"所属分类",prop:"tagLevel"}},[r("el-form-item",{staticClass:"fl",attrs:{prop:"tagTwoLevelGroupId"}},[r("el-select",{staticClass:"w-220",attrs:{placeholder:"请选择"},on:{change:e.changeTwo},model:{value:e.ruleForm.tagTwoLevelGroupId,callback:function(t){e.$set(e.ruleForm,"tagTwoLevelGroupId",t)},expression:"ruleForm.tagTwoLevelGroupId"}},e._l(e.optionsTwo,function(e){return r("el-option",{key:e.tagLevelGroupId,attrs:{label:e.levelName,value:e.tagLevelGroupId}})}),1)],1),e._v(" "),r("el-form-item",{staticClass:"fl",attrs:{prop:"tagLevelGroupId"}},[r("el-select",{staticClass:"w-220 m-l-8",attrs:{placeholder:"请选择"},model:{value:e.ruleForm.tagLevelGroupId,callback:function(t){e.$set(e.ruleForm,"tagLevelGroupId",t)},expression:"ruleForm.tagLevelGroupId"}},e._l(e.optionsThree,function(e){return r("el-option",{key:e.tagLevelGroupId,attrs:{label:e.levelName,value:e.tagLevelGroupId}})}),1)],1)],1),e._v(" "),r("el-form-item",{staticClass:"w-560",attrs:{label:"标签描述",prop:"tagDescribe"}},[r("el-input",{staticClass:"w-447",attrs:{type:"textarea",row:"4",maxlength:200},model:{value:e.ruleForm.tagDescribe,callback:function(t){e.$set(e.ruleForm,"tagDescribe",t)},expression:"ruleForm.tagDescribe"}}),e._v(" "),r("label",{staticClass:"textarea-label"},[e._v(e._s(e.ruleForm.tagDescribe.length)+"/200")])],1)],1),e._v(" "),r("div",{staticClass:"manualTagEdit-btns"},[r("el-button",{on:{click:e.closePop}},[e._v("取消")]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:e.confirmSave}},[e._v("保存")])],1)],1)])},staticRenderFns:[]};var n=r("VU/8")(l,s,!1,function(e){r("bjOy")},"data-v-d215acec",null);t.default=n.exports},bjOy:function(e,t){}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([25],{EHeP:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("BdFv"),i=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"myTagLib",data:function(){return{tagCategory:"myTagList"}},methods:{toAddMyTagLib:function(){}},mounted:function(){},components:{tagLib:n.a}}),s={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"myTagLib-wrap common-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)])])},staticRenderFns:[]};var o=e("VU/8")(i,s,!1,function(t){e("NXvq")},"data-v-628de2d0",null);a.default=o.exports},NXvq:function(t,a){}});
\ No newline at end of file
webpackJsonp([26],{EHeP:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("BdFv"),i=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"myTagLib",data:function(){return{tagCategory:"myTagList"}},methods:{toAddMyTagLib:function(){}},mounted:function(){},components:{tagLib:n.a}}),s={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"myTagLib-wrap common-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)])])},staticRenderFns:[]};var o=e("VU/8")(i,s,!1,function(t){e("NXvq")},"data-v-628de2d0",null);a.default=o.exports},NXvq:function(t,a){}});
\ No newline at end of file
webpackJsonp([27],{"308P":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});r("J16i");var a=r("3E4D"),l=r("P9l9"),o=r("roJz"),i=r("PI0u"),s=function(e,t,r){if(t.some(function(e){return!e.tagItemName}))return r(new Error("请完善标签值"));r()},u=function(e,t,r){(!/^[0-9]+$/.test(t)||t>1e5||t<1)&&r(new Error("仅支持输入1-1-100000之间的整数")),r()},n={name:"manualTagEdit",props:{showPop:Boolean,options:Object,currentType:String},components:{tagValueItem:o.default},data:function(){return{ruleForm:{tagName:"",tagLevel:"test",tagTwoLevelGroupId:"",tagLevelGroupId:"",tagDescribe:"",pending:!1,tagSort:null,tagType:0,tagValue:[{id:Object(i.a)(),deleteFlag:!1,tagItemName:""}]},rules:{tagName:[{required:!0,message:"请输入标签名称",trigger:"blur"}],tagLevel:[{required:!0,message:""}],tagLevelGroupId:[{required:!0,message:"请选择所属分类",trigger:"blur"}],tagTwoLevelGroupId:[{required:!0,message:"请选择所属分类",trigger:"blur"}],tagSort:[{required:!0,trigger:"blur",validator:u}],tagType:[{required:!0,trigger:"blur"}],tagValue:[{required:!0,trigger:"blur",validator:s}]},optionsTwo:[],optionsThree:[],tagValTableData:[],preSyncWmStatus:0,deleteList:[],isEdit:!1}},watch:{options:{deep:!0,handler:function(e){var t=this;this.ruleForm.tagTwoLevelGroupId=e.tagTwoLevelGroupId,this.ruleForm.tagLevelGroupId=e.tagLevelGroupId,e.tagId?(this.isEdit=!0,this.getTagData(e.tagId)):(this.isEdit=!1,this.ruleForm.tagName="",this.ruleForm.tagDescribe="",this.ruleForm.tagSort=null,this.ruleForm.tagType=0,this.ruleForm.tagTwoLevelGroupId="",this.ruleForm.tagLevelGroupId="",this.ruleForm.tagValue=[{id:Object(i.a)(),deleteFlag:!1,tagItemName:""}],this.getOptionsThree(e.tagTwoLevelGroupId));var r=this.optionsThree.find(function(e){return e.tagLevelGroupId==t.ruleForm.tagLevelGroupId});r&&(this.preSyncWmStatus=r.syncWmFlag),this.getOptionsTwo()}}},methods:{closePop:function(){this.$refs.ruleForm.resetFields(),this.$emit("update:showPop",!1)},confirmSave:function(){var e=this;this.ruleForm.pending||(this.ruleForm.pending=!0,this.$refs.ruleForm.validate(function(t){if(t){var r=e.optionsThree.find(function(t){return t.tagLevelGroupId==e.ruleForm.tagLevelGroupId}).syncWmFlag;e.options.isSync||!e.preSyncWmStatus||r?e.saveApi():e.$confirm("该分类未开启微盟标签同步,修改后标签将不会再同步至微盟,并且已同步至微盟侧的会员标签将从微盟侧删除,是否继续保存?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.saveApi()}).catch(function(){return e.ruleForm.pending=!1})}else e.ruleForm.pending=!1}))},saveApi:function(){var e=this,t=this.ruleForm.tagValue.concat(this.deleteList).map(function(e){return delete e.id,e}),r={tagId:this.options.tagId,tagName:this.ruleForm.tagName,tagDescribe:this.ruleForm.tagDescribe,tagLevelGroupId:this.ruleForm.tagLevelGroupId,tagItemList:t,isMultiple:this.ruleForm.tagType,tagType:"active"==this.currentType?2:1};"manual"==this.currentType&&(r.sort=this.ruleForm.tagSort),Object(l.c)("/memberTag/saveHandMemberTag",r).then(function(t){var r=t.data,l=r.errorCode,o=r.message;e.ruleForm.pending=!1,1===l?(a.a.showmsg("保存成功","success"),e.$emit("save"),e.closePop()):e.$message.error({duration:1e3,message:o})}).catch(function(t){e.ruleForm.pending=!1,e.$message.error({duration:1e3,message:t.message})})},getOptionsTwo:function(){var e=this,t=this.currentType,r={tagLevelType:"active"==t?2:1};return Object(l.a)("/tagLevel/handSecondLevel",r).then(function(r){var a=r.data,l=a.errorCode,o=a.result;1===l&&(e.optionsTwo=o,"active"!=t||e.isEdit||(e.ruleForm.tagTwoLevelGroupId=o.find(function(e){return"渠道标签"===e.name}).id))}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeTwo:function(e){this.ruleForm.tagLevelGroupId="",this.getOptionsThree(e)},getOptionsThree:function(e){var t=this;Object(l.a)("/tagLevel/handThirdLevel",{tagLevelGroupId:e}).then(function(e){var r=e.data,a=r.errorCode,l=r.result;1===a&&(t.optionsThree=l)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getTagData:function(e){var t=this;Object(l.a)("/memberTag/getTagById",{tagId:e}).then(function(e){var r=e.data,a=r.errorCode,l=r.result;1===a&&(t.ruleForm.tagName=l.tagName,t.ruleForm.tagLevelGroupId=l.tagLevelGroupId,t.ruleForm.tagTwoLevelGroupId=l.tagTwoLevelGroupId,t.ruleForm.tagDescribe=l.tagDescribe,t.ruleForm.tagSort=l.sort,t.ruleForm.tagType=l.isMultiple,t.ruleForm.tagValue=l.itemList||[],l.itemList.length?t.ruleForm.tagValue=l.itemList.map(function(e){return e.id=Object(i.a)(),e.deleteFlag=!1,e}):t.ruleForm.tagValue=[{id:Object(i.a)(),deleteFlag:!1,tagItemName:""}],t.getOptionsThree(l.tagTwoLevelGroupId))}).catch(function(e){console.log(e)})},onAddTagVal:function(e){var t=this.ruleForm.tagValue.findIndex(function(t){return t.id==e}),r={id:Object(i.a)(),deleteFlag:!1,tagItemName:""};this.ruleForm.tagValue.splice(t+1,0,r)},onDelTagVal:function(e){var t=this.ruleForm.tagValue.findIndex(function(t){return t.id==e});if(this.ruleForm.tagValue[t].tagItemId){var r=this.ruleForm.tagValue.splice(t,1)[0];r.deleteFlag=!0,this.deleteList.push(r)}else this.ruleForm.tagValue.splice(t,1)}}},g={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-dialog",{attrs:{visible:e.showPop,title:e.options.popTitle,width:"600px","destroy-on-close":""},on:{"update:visible":function(t){e.showPop=t},close:e.closePop}},[r("div",{staticClass:"manualTagEdit-wrap"},[r("el-form",{ref:"ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"标签名称:",prop:"tagName"}},[r("el-input",{staticClass:"w-full",attrs:{placeholder:"请输入内容",maxlength:15},model:{value:e.ruleForm.tagName,callback:function(t){e.$set(e.ruleForm,"tagName",t)},expression:"ruleForm.tagName"}}),e._v(" "),r("label",{staticClass:"input-label"},[e._v(e._s(e.ruleForm.tagName.length)+"/15")])],1),e._v(" "),r("el-form-item",{attrs:{label:"所属分类:",prop:"tagLevel"}},[r("el-form-item",{staticClass:"fl",attrs:{prop:"tagTwoLevelGroupId"}},[r("el-select",{staticClass:"w-225",attrs:{placeholder:"请选择"},on:{change:e.changeTwo},model:{value:e.ruleForm.tagTwoLevelGroupId,callback:function(t){e.$set(e.ruleForm,"tagTwoLevelGroupId",t)},expression:"ruleForm.tagTwoLevelGroupId"}},e._l(e.optionsTwo,function(e){return r("el-option",{key:e.tagLevelGroupId,attrs:{label:e.levelName,value:e.tagLevelGroupId}})}),1)],1),e._v(" "),r("el-form-item",{staticClass:"fl",attrs:{prop:"tagLevelGroupId"}},[r("el-select",{staticClass:"w-225 ml10",attrs:{placeholder:"请选择"},model:{value:e.ruleForm.tagLevelGroupId,callback:function(t){e.$set(e.ruleForm,"tagLevelGroupId",t)},expression:"ruleForm.tagLevelGroupId"}},e._l(e.optionsThree,function(e){return r("el-option",{key:e.tagLevelGroupId,attrs:{label:e.levelName,value:e.tagLevelGroupId}})}),1)],1)],1),e._v(" "),"manual"==e.currentType?r("el-form-item",{attrs:{label:"排序:",prop:"tagSort"},scopedSlots:e._u([{key:"label",fn:function(){return[e._v(" 排序"),r("i",{staticClass:"iconfont icon-QuestionCircleOutlined icon"}),e._v(": ")]},proxy:!0}])},[e._v(" "),r("el-input",{staticClass:"w-full",attrs:{placeholder:"请输入1-100000之间的整数"},on:{input:e.validateInputSort,blur:e.blurSort},model:{value:e.ruleForm.tagSort,callback:function(t){e.$set(e.ruleForm,"tagSort",t)},expression:"ruleForm.tagSort"}})],1):e._e(),e._v(" "),"manual"==e.currentType?r("el-form-item",{attrs:{label:"标签类型:",prop:"tagType"}},[r("el-radio-group",{attrs:{disabled:e.isEdit},model:{value:e.ruleForm.tagType,callback:function(t){e.$set(e.ruleForm,"tagType",t)},expression:"ruleForm.tagType"}},[r("el-radio",{attrs:{label:0}},[e._v("单选")]),e._v(" "),r("el-radio",{attrs:{label:1}},[e._v("多选")])],1)],1):e._e(),e._v(" "),r("el-form-item",{attrs:{label:"标签值:",prop:"tagValue"}},[r("div",{staticClass:"tag-list"},e._l(e.ruleForm.tagValue,function(t){return r("tag-value-item",{key:t.id,staticClass:"w-full",attrs:{"current-length":e.ruleForm.tagValue.length,item:t},on:{add:e.onAddTagVal,del:e.onDelTagVal}})}),1)]),e._v(" "),r("el-form-item",{attrs:{label:"标签描述:",prop:"tagDescribe"}},[r("el-input",{staticClass:"w-full",attrs:{type:"textarea",maxlength:100,"show-word-limit":"",placeholder:"请输入标签描述,最多100字"},model:{value:e.ruleForm.tagDescribe,callback:function(t){e.$set(e.ruleForm,"tagDescribe",t)},expression:"ruleForm.tagDescribe"}})],1)],1),e._v(" "),r("div",{staticClass:"manualTagEdit-btns"},[r("el-button",{on:{click:function(t){return e.$emit("update:showPop",!1)}}},[e._v("取消")]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:e.confirmSave}},[e._v("保存")])],1)],1)])},staticRenderFns:[]};var m=r("VU/8")(n,g,!1,function(e){r("f6Z/")},"data-v-5a3ef53e",null);t.default=m.exports},"f6Z/":function(e,t){}});
\ No newline at end of file
webpackJsonp([27],{Cbv3:function(t,e){},Gy5W:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("5reh"),o={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}},mounted:function(){this.$store.commit(i.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("transition",{attrs:{name:"fade",mode:"out-in"}},[e("keep-alive",{attrs:{include:"memberGroupList"}},[e("router-view")],1)],1)],1)},staticRenderFns:[]};var s=n("VU/8")(o,a,!1,function(t){n("Cbv3")},null,null);e.default=s.exports}});
\ No newline at end of file
webpackJsonp([29],{Cbv3:function(t,e){},Gy5W:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("5reh"),o={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}},mounted:function(){this.$store.commit(i.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("transition",{attrs:{name:"fade",mode:"out-in"}},[e("keep-alive",{attrs:{include:"memberGroupList"}},[e("router-view")],1)],1)],1)},staticRenderFns:[]};var s=n("VU/8")(o,a,!1,function(t){n("Cbv3")},null,null);e.default=s.exports}});
\ No newline at end of file
webpackJsonp([29],{Q53H:function(t,a){},puJc:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={name:"platformTagLib",data:function(){return{tagCategory:"platformTagList"}},components:{tagLib:e("BdFv").a}},n={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"platformTagLib-wrap common-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)])])},staticRenderFns:[]};var i=e("VU/8")(r,n,!1,function(t){e("Q53H")},"data-v-5568a04c",null);a.default=i.exports}});
\ No newline at end of file
webpackJsonp([31],{Q53H:function(t,a){},puJc:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={name:"platformTagLib",data:function(){return{tagCategory:"platformTagList"}},components:{tagLib:e("BdFv").a}},n={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"platformTagLib-wrap common-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)])])},staticRenderFns:[]};var i=e("VU/8")(r,n,!1,function(t){e("Q53H")},"data-v-5568a04c",null);a.default=i.exports}});
\ No newline at end of file
webpackJsonp([30],{"5/Vq":function(t,a){},q490:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("BdFv"),i=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"manualTagLib",data:function(){return{tagCategory:"manualTagList"}},components:{tagLib:n.a}}),r={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagLib-wrap common-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)])])},staticRenderFns:[]};var s=e("VU/8")(i,r,!1,function(t){e("5/Vq")},"data-v-50a34f5e",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([32],{"5/Vq":function(t,a){},q490:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("BdFv"),i=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"manualTagLib",data:function(){return{tagCategory:"manualTagList"}},components:{tagLib:n.a}}),r={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagLib-wrap common-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)])])},staticRenderFns:[]};var s=e("VU/8")(i,r,!1,function(t){e("5/Vq")},"data-v-50a34f5e",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([32],{iHP3:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Dd8w"),s=a.n(n),i=a("lRwf"),l=a.n(i),c=a("l6IN"),o=a("CUHN"),d=a("SJI6");l.a.component(c.CollapseTransition.name,c.CollapseTransition);var r={name:"tag-type",components:{SecondTag:o.default},props:{tagList:Object},data:function(){return{list:{},typeName:"",editData:[],expends:"收起"}},computed:s()({},Object(d.mapState)(["tagRealName"])),methods:{handleChangeExpends:function(){this.expends="收起"===this.expends?"展开":"收起"},handleFirstTag:function(){localStorage.setItem("jumpTag",""),this.$emit("handleFristTag",this.list)}},watch:{tagList:{immediate:!0,handler:function(t){this.list=t}}}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"list"},[a("span",{staticClass:"expends-txt",on:{click:t.handleChangeExpends}},[t._v(t._s(t.expends)+" ")]),t._v(" "),a("div",{staticClass:"first-tag"},[a("div",[a("i",{staticClass:"iconfont menu-icon",class:[t.list.icon,{"icon-tag-light":t.list.name===t.tagRealName}]}),t._v(" "),a("span",{staticClass:"tag-name",class:{"icon-tag-light":t.list.name===t.tagRealName},on:{click:t.handleFirstTag}},[t._v(t._s(t.list.name))])]),t._v(" "),a("el-collapseTransition",[a("div",{directives:[{name:"show",rawName:"v-show",value:"收起"===t.expends,expression:"expends === '收起'"}],staticClass:"second-tag"},t._l(t.list.children,function(e,n){return a("second-tag",{key:n,attrs:{list:e,"tag-name":t.list.name}})}),1)])],1)])},staticRenderFns:[]};var p=a("VU/8")(r,m,!1,function(t){a("mrnx")},"data-v-28bd6406",null);e.default=p.exports},mrnx:function(t,e){}});
\ No newline at end of file
webpackJsonp([34],{nOgI:function(t,a){},vRdD:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i={data:function(){return{filesData:void 0}},props:{data:{type:Object,default:function(){return{}}},visiable:Boolean},methods:{tagItemImport:function(){if(!this.filesData)return this.$message.warning("请上传文件");this.$emit("update:visiable",!1),this.$emit("submit",this.filesData,this.$refs.upload)},onClose:function(){this.filesData=void 0,this.$emit("close",!1)},handleUpload:function(){0===this.data.excelData.length&&this.reHandleUpload()},reHandleUpload:function(){this.$refs.upload.click()},handleFileChange:function(t){var a=t.target.files[0];if(a)return/(\.(xlsx|xls|csv))$/.test(a.name)?void(this.filesData=a):(this.$message.warning({duration:1e3,message:"仅支持上传xlsx、xls、csv格式的文件"}),void(t.target.value=""))},downloadExcelTemp:function(){var t=window.location.origin;t=t.indexOf("localhost")>=0?"http://gicdev.demogic.com/":t,window.location.href=""+t+this.data.downLoadUrl}}},s={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("el-dialog",{attrs:{title:t.data.title,visible:t.data.isShow,"custom-class":"manual-dialog"},on:{"update:visible":function(a){return t.$set(t.data,"isShow",a)},close:t.onClose}},[e("div",{staticClass:"import"},[e("div",{class:["excel-icon",t.filesData?"excel-icon--active":"excel-icon--add"],on:{click:t.handleUpload}},[e("span",{directives:[{name:"show",rawName:"v-show",value:0===t.data.excelData.length,expression:"data.excelData.length === 0"}],staticClass:"import-btn"},[t._v("点击上传会员")])]),t._v(" "),e("div",{staticClass:"import-cont"},[e("div",{staticClass:"import-handle"},[e("input",{ref:"upload",staticStyle:{display:"none"},attrs:{type:"file",accept:".xlsx, .xls, .csv"},on:{change:t.handleFileChange}}),t._v(" "),t.data.excelData.length>0?[e("span",[t._v(t._s(t.data.excelName))]),t._v(" "),e("span",{staticClass:"import-num"},[t._v("\n 已导入会员\n "),e("span",{staticClass:"color-303133"},[t._v(t._s(t.data.excelData.length))]),t._v("\n 人\n ")]),t._v(" "),e("el-button",{attrs:{type:"text"},on:{click:t.reHandleUpload}},[t._v("重新导入")])]:t._e()],2),t._v(" "),e("div",{staticClass:"import-tip"},[e("span",{staticClass:"import-tip-text"},[t._v("只能上传一个excel文件(2003版本以上),且数据不超过50000条")]),t._v(" "),e("el-button",{attrs:{type:"text"},on:{click:t.downloadExcelTemp}},[e("span",{staticClass:"font-12"},[t._v("下载Excel模板")])])],1),t._v(" "),e("div",{staticClass:"clear-old"},[e("el-checkbox",{model:{value:t.data.optType,callback:function(a){t.$set(t.data,"optType",a)},expression:"data.optType"}},[t._v("清空标签历史标记会员")]),t._v(" "),e("el-tooltip",{attrs:{content:"勾选后,此前被该标签标记的会员将移除此标签,此标签标记会员以本次导入为准。"}},[e("i",{staticClass:"iconfont icon-xinxixianshi"})])],1)])]),t._v(" "),e("template",{slot:"footer"},[e("el-button",{on:{click:function(a){return t.$emit("update:visiable",!1)}}},[t._v("取消")]),t._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:t.tagItemImport}},[t._v("确定")])],1)],2)},staticRenderFns:[]};var n=e("VU/8")(i,s,!1,function(t){e("nOgI")},"data-v-3a840b26",null);a.default=n.exports}});
\ No newline at end of file
webpackJsonp([35],{EdxD:function(t,a){},iHP3:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=e("Dd8w"),s=e.n(i),n=e("lRwf"),l=e.n(n),c=e("l6IN"),o=e("CUHN"),r=e("SJI6");l.a.component(c.CollapseTransition.name,c.CollapseTransition);var g={name:"tag-type",components:{SecondTag:o.default},props:{tagList:Object,activeTag:String},data:function(){return{list:{},typeName:"",editData:[]}},computed:s()({},Object(r.mapState)(["tagRealName"]),{tagName:function(){var t=this.activeTag;return"system"==t?"系统标签":"manual"==t?"手工标签":"活动标签"},isOtherTag:function(){return!["手工标签","活动标签"].includes(this.list.name)}}),methods:{handleFirstTag:function(){localStorage.setItem("jumpTag",""),this.$emit("handleFristTag",this.list)}},watch:{tagList:{immediate:!0,handler:function(t){this.list=t}}}},m={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"list"},[e("div",{staticClass:"first-tag"},[t.isOtherTag?e("div",{staticClass:"mb16"},[e("i",{staticClass:"iconfont menu-icon",class:[t.list.icon,{"icon-tag-light":t.list.name===t.tagRealName}]}),t._v(" "),e("span",{staticClass:"tag-name",class:{"icon-tag-light":t.list.name===t.tagRealName},on:{click:t.handleFirstTag}},[t._v(t._s(t.list.name))])]):t._e(),t._v(" "),e("el-collapseTransition",[e("div",{staticClass:"second-tag"},t._l(t.list.children,function(a,i){return e("second-tag",{key:i,attrs:{type:t.activeTag,list:a,"tag-name":t.tagName}})}),1)])],1)])},staticRenderFns:[]};var d=e("VU/8")(g,m,!1,function(t){e("EdxD")},"data-v-372b45a4",null);a.default=d.exports}});
\ No newline at end of file
webpackJsonp([33],{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([36],{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([34],{"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){return 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([37],{"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){return 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([35],{FNcP:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={render:function(){var e=this.$createElement,t=this._self._c||e;return t("dm-layout",{attrs:{"project-name":"report"}},[t("router-view",{key:this.$route.fullPath})],1)},staticRenderFns:[]},l=r("VU/8")({name:"layout"},n,!1,null,null,null);t.default=l.exports}});
\ No newline at end of file
webpackJsonp([38],{FNcP:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={render:function(){var e=this.$createElement,t=this._self._c||e;return t("dm-layout",{attrs:{"project-name":"report"}},[t("router-view",{key:this.$route.fullPath})],1)},staticRenderFns:[]},l=r("VU/8")({name:"layout"},n,!1,null,null,null);t.default=l.exports}});
\ 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([40],{0:function(e,t,a){a("j1ja"),e.exports=a("NHnr")},"4qCZ":function(e,t){},"5reh":function(e,t,a){"use strict";a.d(t,"a",function(){return n}),a.d(t,"b",function(){return o}),a.d(t,"d",function(){return r}),a.d(t,"c",function(){return i});var n="login",o="logout",r="title",i="show"},"5tgt":function(e,t,a){e.exports=function(e,t){return function(n){a("Vna/")("./"+e+"/"+t+".vue").then(function(e){n(e)})}}},DcO3:function(e,t){},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("//Fk"),o=a.n(n),r=a("hKoQ"),i=a.n(r),u=a("Dd8w"),m=a.n(u),l=a("SJI6"),c=a.n(l),p={name:"App",data:function(){return{}},computed:m()({},Object(l.mapState)(["uniqueId"])),created:function(){this.baseUrl=window.location.origin.indexOf("localhost")>-1?"http://gicdev.demogic.com":window.location.origin,this._getUserInfo(),this.changeTab()},methods:{laout:function(){this.axios.get(this.baseUrl+"/api-auth/do-logout?requestProject=gic-member-tag-web")},_getUserInfo:function(){var e=this;this.axios.get(this.baseUrl+"/api-auth/get-login-user-info?requestProject=gic-member-tag-web").then(function(t){if(0==t.data.errorCode){var a=t.data.result&&t.data.result.userId,n=t.data.result&&t.data.result.superAdmin;e.$store.commit("changeSuperAdmin",n),""===e.uniqueId&&e.$store.commit("changeUniqueId",a)}})},changeTab:function(){var e=this;document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState&&e.axios.get(e.baseUrl+"/api-auth/get-login-user-info?requestProject=gic-member-tag-web").then(function(t){if(0==t.data.errorCode){var a=t.data.result&&t.data.result.userId;e.uniqueId!==a&&(e.$store.commit("changeUniqueId",a),e.$confirm("当前登录账号已经发生变化,如果您在其他页面已经登录另一个账号,请重新登录!","登录账号变更提示",{confirmButtonText:"重新登录",cancelButtonText:"刷新页面",type:"error"}).then(function(){window.location.href="/gic-web/#/login"}).catch(function(){window.location.href="/report"}))}})})}}},s={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var g,d=a("VU/8")(p,s,!1,function(e){a("DcO3")},null,null).exports,f=a("pRNm"),v=a.n(f),b=a("5tgt"),T=a.n(b),h=function(e){a.e(1).then(a.bind(null,"EE2z")).then(function(t){e(t)})},w=[{path:"/",name:"index",redirect:"member-tag",component:T()("layout","layout"),children:[{path:"/member-tag",name:"会员标签",component:T()("platformTag","member-tag"),meta:{title:"会员标签"}},{path:"/platformTagList",component:T()("platformTag","platformTagList"),name:"平台标签列表",meta:{title:"会员标签-平台标签列表"}},{path:"/platformTagDetail",component:T()("platformTag","platformTagDetail"),name:"平台标签详情",meta:{title:"会员标签-平台标签详情"}},{path:"/manualTagLib",component:T()("manualTag","manualTagLib"),name:"手工标签库",meta:{title:"会员标签-手工标签库"}},{path:"/manualTagList",component:T()("manualTag","manualTagList"),name:"手工标签列表",meta:{title:"会员标签-手工标签列表"}},{path:"/manualTagValueEdit",component:T()("manualTag","manual-tag-value-edit"),name:"标签值设置",meta:{title:"会员标签-标签值设置"}},{path:"/manualTagValueEditInfo",component:T()("manualTag","manual-tag-value-edit-info"),name:"标签值设置",meta:{title:"会员标签-会员标签详情"}},{path:"/syncTagHistory",component:T()("manualTag","syncTagHistory"),name:"同步标签",meta:{title:"会员标签-同步标签"}},{path:"/manualTagDetail",component:T()("manualTag","manualTagDetail"),name:"手工标签详情",meta:{title:"会员标签-手工标签详情"}},{path:"/myTagDetail",component:T()("myTag","myTagDetail"),name:"标签详情",meta:{title:"会员标签-标签详情"}},{path:"/memberGroupList",name:"memberGroupListIndex",redirect:"memberGroupList",component:T()("memberGroup","index"),children:[{path:"/memberGroupList",component:T()("memberGroup","memberGroupList"),name:"会员分组",meta:{title:"会员标签-会员分组"}},{path:"/memberGroupDetail",component:T()("memberGroup","memberGroupDetail"),name:"分组详情",meta:{title:"会员标签-分组详情"}},{path:"/memberLevelDetail",component:T()("memberGroup","memberLevelDetail"),name:"分层详情",meta:{title:"会员标签-分层详情"}},{path:"/memberGroupAdd",component:T()("memberGroup","memberGroupEdit"),name:"新建分组",meta:{title:"会员标签-新建分组"}},{path:"/memberGroupEdit",component:T()("memberGroup","memberGroupEdit"),name:"编辑分组",meta:{title:"会员标签-编辑分组"}},{path:"/memberGroupLog",component:T()("memberGroup","member-group-log"),name:"分组操作日志",meta:{title:"分组操作日志"}}]}]},{path:"/403",name:"无权访问",component:h},{path:"/404",name:"error404",component:h},{path:"/500",name:"error500",component:h},{path:"*",redirect:"/404",hidden:!0}],G=new v.a({routes:w,base:"/member-tag/",scrollBehavior:function(){return{y:0}}}),y=a("l6IN"),x=a("Rf8U"),L=a.n(x),k=a("OMN4"),D=a.n(k),E=a("bOdI"),I=a.n(E),P=a("lRwf"),q=a.n(P),N=a("5reh");q.a.use(c.a);var j=new c.a.Store({state:{user:{},token:null,title:"",show:!1,tagRealName:"",uniqueId:"",isSuperAdmin:0},mutations:(g={},I()(g,N.a,function(e,t){sessionStorage.token=t,e.token=t}),I()(g,N.b,function(e){sessionStorage.removeItem("token"),e.token=null}),I()(g,N.d,function(e,t){e.title=t}),I()(g,N.c,function(e,t){e.show=t}),I()(g,"modiftTagName",function(e,t){e.tagRealName=t}),I()(g,"changeUniqueId",function(e,t){e.uniqueId=t||""}),I()(g,"changeSuperAdmin",function(e,t){e.isSuperAdmin=t}),g)}),U=(a("Xcu2"),a("4qCZ"),a("uKUT"),a("GqmT")),C=a.n(U);i.a.polyfill(),window.ELEMENT.Dialog.props.closeOnClickModal.default=!1,q.a.use(C.a),q.a.config.devtools=!0,q.a.use(L.a,D.a),q.a.axios.defaults.withCredentials=!0,q.a.prototype.$toTaskCenter=function(e){this.$confirm("任务发起成功,请去【企业管理】-【任务中心】查看处理结果和执行进度","任务发起成功",{confirmButtonText:"去任务中心",cancelButtonText:"取消",closeOnClickModal:!1,customClass:"import-link-confirm-content",type:"warning"}).then(function(){window.open("http://gicdev.demogic.com/gic-web/#/taskDetail/"+e)}).catch(function(){return!0})},q.a.axios.interceptors.request.use(function(e){return e},function(e){return o.a.reject(e)}),q.a.axios.interceptors.response.use(function(e){return 200==e.status&&e.data.errorCode,e},function(e){if(e.response)switch(e.response.status){case 401:window.location.href=window.location.origin+"/gic-web/#/";case 500:y.Message.error("服务器500")}return o.a.reject(e.response.data)}),window.getLimit(G,"member-tag").then(function(){new q.a({el:"#app",router:G,store:j,components:{App:d},template:"<App/>"})})},OMN4:function(e,t){e.exports=axios},SJI6:function(e,t){e.exports=Vuex},"Vna/":function(e,t,a){var n={"./errorPage/401.vue":["4KSJ",11],"./errorPage/403.vue":["aM+6",9],"./errorPage/404.vue":["PRsh",7],"./errorPage/500.vue":["/HCr",8],"./errorPage/index.vue":["EE2z",1],"./index/index.vue":["YPWR",20],"./layout/layout.vue":["FNcP",38],"./linktools/linktools.vue":["Lc2x",0,30],"./linktools/linktoolsold.vue":["/8lq",0,22],"./linktools/linktoolspage.vue":["HLON",0,33],"./login/login.vue":["6Qob",0,21],"./manualTag/delete-tag-dialog.vue":["r9pr",0],"./manualTag/import-member-dialog.vue":["vRdD",34],"./manualTag/manual-tag-value-edit-info.vue":["y1vL",0,14],"./manualTag/manual-tag-value-edit.vue":["umZJ",0,3],"./manualTag/manualTagDetail.vue":["Tl/4",0,25],"./manualTag/manualTagEdit.vue":["308P",0,27],"./manualTag/manualTagLib.vue":["q490",0,32],"./manualTag/manualTagList.vue":["f0o3",0,19],"./manualTag/syncTagHistory.vue":["Gl7f",0,16],"./manualTag/tag-value-item.vue":["roJz",0],"./memberGroup/edit-tag.vue":["jkVl",0],"./memberGroup/group-list.vue":["SJ7l",0,24],"./memberGroup/index.vue":["Gy5W",29],"./memberGroup/member-group-log.vue":["8jHj",0,10],"./memberGroup/memberGroupDetail.vue":["+/ey",0,5],"./memberGroup/memberGroupEdit.vue":["q0vu",0,6],"./memberGroup/memberGroupList.vue":["oVck",0,4],"./memberGroup/memberLevelDetail.vue":["Y4Pr",0,13],"./memberGroup/recommend-table.vue":["9ZvA",37],"./memberGroup/tags-group-list.vue":["vcge",0],"./memberGroup/tags-group.vue":["wx1P",0],"./platformTag/add-tag.vue":["tKpj",36],"./platformTag/member-tag.vue":["bytj",0,2],"./platformTag/myTag/myTagDetail.vue":["cm2p",0,28],"./platformTag/myTag/myTagLib.vue":["EHeP",0,26],"./platformTag/myTag/myTagList.vue":["C8bH",0,23],"./platformTag/platformTagDetail.vue":["KN59",0,12],"./platformTag/platformTagLib.vue":["puJc",0,31],"./platformTag/platformTagList.vue":["G/on",0,17],"./platformTag/second-tag.vue":["CUHN",0],"./platformTag/tag-container-active.vue":["0c8U",0,18],"./platformTag/tag-container-system.vue":["SQwf",0,15],"./platformTag/tag-container.vue":["Gndl",0],"./platformTag/tag-type.vue":["iHP3",0,35]};function o(e){var t=n[e];return t?Promise.all(t.slice(1).map(a.e)).then(function(){return a(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(n)},o.id="Vna/",e.exports=o},Xcu2:function(e,t){},l6IN:function(e,t){e.exports=ELEMENT},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT:function(e,t){}},[0]);
\ No newline at end of file
webpackJsonp([37],{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 u});var n="login",o="logout",r="title",u="show"},"5tgt":function(e,t,a){e.exports=function(e,t){return function(n){a("Vna/")("./"+e+"/"+t+".vue").then(function(e){n(e)})}}},DcO3:function(e,t){},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("//Fk"),o=a.n(n),r=a("hKoQ"),u=a.n(r),i=a("Dd8w"),m=a.n(i),l=a("SJI6"),c=a.n(l),p={name:"App",data:function(){return{}},computed:m()({},Object(l.mapState)(["uniqueId"])),created:function(){this.baseUrl=window.location.origin.indexOf("localhost")>-1?"http://gicdev.demogic.com":window.location.origin,this._getUserInfo(),this.changeTab()},methods:{laout:function(){this.axios.get(this.baseUrl+"/api-auth/do-logout?requestProject=gic-member-tag-web")},_getUserInfo:function(){var e=this;this.axios.get(this.baseUrl+"/api-auth/get-login-user-info?requestProject=gic-member-tag-web").then(function(t){if(0==t.data.errorCode){var a=t.data.result&&t.data.result.userId,n=t.data.result&&t.data.result.superAdmin;e.$store.commit("changeSuperAdmin",n),""===e.uniqueId&&e.$store.commit("changeUniqueId",a)}})},changeTab:function(){var e=this;document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState&&e.axios.get(e.baseUrl+"/api-auth/get-login-user-info?requestProject=gic-member-tag-web").then(function(t){if(0==t.data.errorCode){var a=t.data.result&&t.data.result.userId;e.uniqueId!==a&&(e.$store.commit("changeUniqueId",a),e.$confirm("当前登录账号已经发生变化,如果您在其他页面已经登录另一个账号,请重新登录!","登录账号变更提示",{confirmButtonText:"重新登录",cancelButtonText:"刷新页面",type:"error"}).then(function(){window.location.href="/gic-web/#/login"}).catch(function(){window.location.href="/report"}))}})})}}},s={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var g,d=a("VU/8")(p,s,!1,function(e){a("DcO3")},null,null).exports,f=a("pRNm"),b=a.n(f),v=a("5tgt"),h=a.n(v),T=function(e){a.e(1).then(a.bind(null,"EE2z")).then(function(t){e(t)})},w=[{path:"/",name:"index",redirect:"member-tag",component:h()("layout","layout"),children:[{path:"/member-tag",name:"会员标签",component:h()("platformTag","member-tag"),meta:{title:"会员标签"}},{path:"/platformTagList",component:h()("platformTag","platformTagList"),name:"平台标签列表",meta:{title:"会员标签-平台标签列表"}},{path:"/platformTagDetail",component:h()("platformTag","platformTagDetail"),name:"平台标签详情",meta:{title:"会员标签-平台标签详情"}},{path:"/manualTagLib",component:h()("manualTag","manualTagLib"),name:"手工标签库",meta:{title:"会员标签-手工标签库"}},{path:"/manualTagList",component:h()("manualTag","manualTagList"),name:"手工标签列表",meta:{title:"会员标签-手工标签列表"}},{path:"/manualTagValueEdit",component:h()("manualTag","manual-tag-value-edit"),name:"标签值设置",meta:{title:"会员标签-标签值设置"}},{path:"/manualTagValueEditInfo",component:h()("manualTag","manual-tag-value-edit-info"),name:"标签值设置",meta:{title:"会员标签-会员标签详情"}},{path:"/syncTagHistory",component:h()("manualTag","syncTagHistory"),name:"同步标签",meta:{title:"会员标签-同步标签"}},{path:"/manualTagDetail",component:h()("manualTag","manualTagDetail"),name:"手工标签详情",meta:{title:"会员标签-手工标签详情"}},{path:"/myTagDetail",component:h()("myTag","myTagDetail"),name:"标签详情",meta:{title:"会员标签-标签详情"}},{path:"/memberGroupList",name:"memberGroupListIndex",redirect:"memberGroupList",component:h()("memberGroup","index"),children:[{path:"/memberGroupList",component:h()("memberGroup","memberGroupList"),name:"会员分组",meta:{title:"会员标签-会员分组"}},{path:"/memberGroupDetail",component:h()("memberGroup","memberGroupDetail"),name:"分组详情",meta:{title:"会员标签-分组详情"}},{path:"/memberLevelDetail",component:h()("memberGroup","memberLevelDetail"),name:"分层详情",meta:{title:"会员标签-分层详情"}},{path:"/memberGroupAdd",component:h()("memberGroup","memberGroupEdit"),name:"新建分组",meta:{title:"会员标签-新建分组"}},{path:"/memberGroupEdit",component:h()("memberGroup","memberGroupEdit"),name:"编辑分组",meta:{title:"会员标签-编辑分组"}},{path:"/memberGroupLog",component:h()("memberGroup","member-group-log"),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,base:"/member-tag/",scrollBehavior:function(){return{y:0}}}),y=a("l6IN"),L=a("Rf8U"),x=a.n(L),E=a("OMN4"),D=a.n(E),I=a("bOdI"),P=a.n(I),k=a("lRwf"),q=a.n(k),N=a("5reh");q.a.use(c.a);var V=new c.a.Store({state:{user:{},token:null,title:"",show:!1,tagRealName:"",uniqueId:"",isSuperAdmin:0},mutations:(g={},P()(g,N.a,function(e,t){sessionStorage.token=t,e.token=t}),P()(g,N.b,function(e){sessionStorage.removeItem("token"),e.token=null}),P()(g,N.d,function(e,t){e.title=t}),P()(g,N.c,function(e,t){e.show=t}),P()(g,"modiftTagName",function(e,t){e.tagRealName=t}),P()(g,"changeUniqueId",function(e,t){e.uniqueId=t||""}),P()(g,"changeSuperAdmin",function(e,t){e.isSuperAdmin=t}),g)}),j=(a("Xcu2"),a("4qCZ"),a("uKUT"),a("GqmT")),U=a.n(j);u.a.polyfill(),window.ELEMENT.Dialog.props.closeOnClickModal.default=!1,Vue.use(U.a),Vue.config.devtools=!0,Vue.use(x.a,D.a),Vue.axios.defaults.withCredentials=!0,console.log(window.ELEMENT.Dialog),Vue.axios.interceptors.request.use(function(e){return e},function(e){return o.a.reject(e)}),Vue.axios.interceptors.response.use(function(e){return 200==e.status&&e.data.errorCode,e},function(e){if(e.response)switch(e.response.status){case 401:window.location.href=window.location.origin+"/gic-web/#/";case 500:y.Message.error("服务器500")}return o.a.reject(e.response.data)}),window.getLimit(G,"member-tag").then(function(){new Vue({el:"#app",router:G,store:V,components:{App:d},template:"<App/>"})})},OMN4:function(e,t){e.exports=axios},SJI6:function(e,t){e.exports=Vuex},"Vna/":function(e,t,a){var n={"./errorPage/401.vue":["4KSJ",11],"./errorPage/403.vue":["aM+6",9],"./errorPage/404.vue":["PRsh",7],"./errorPage/500.vue":["/HCr",8],"./errorPage/index.vue":["EE2z",1],"./index/index.vue":["YPWR",20],"./layout/layout.vue":["FNcP",35],"./linktools/linktools.vue":["Lc2x",0,28],"./linktools/linktoolsold.vue":["/8lq",0,22],"./linktools/linktoolspage.vue":["HLON",0,31],"./login/login.vue":["6Qob",0,21],"./manualTag/manual-tag-value-edit-info.vue":["y1vL",0,14],"./manualTag/manual-tag-value-edit.vue":["umZJ",0,2],"./manualTag/manualTagDetail.vue":["Tl/4",0,19],"./manualTag/manualTagEdit.vue":["308P",0,18],"./manualTag/manualTagLib.vue":["q490",0,30],"./manualTag/manualTagList.vue":["f0o3",0,17],"./manualTag/syncTagHistory.vue":["Gl7f",0,15],"./memberGroup/edit-tag.vue":["jkVl",0],"./memberGroup/group-list.vue":["SJ7l",0,24],"./memberGroup/index.vue":["Gy5W",27],"./memberGroup/member-group-log.vue":["8jHj",0,10],"./memberGroup/memberGroupDetail.vue":["+/ey",0,5],"./memberGroup/memberGroupEdit.vue":["q0vu",0,6],"./memberGroup/memberGroupList.vue":["oVck",0,4],"./memberGroup/memberLevelDetail.vue":["Y4Pr",0,13],"./memberGroup/recommend-table.vue":["9ZvA",34],"./memberGroup/tags-group-list.vue":["vcge",0],"./memberGroup/tags-group.vue":["wx1P",0],"./platformTag/add-tag.vue":["tKpj",33],"./platformTag/member-tag.vue":["bytj",0,3],"./platformTag/myTag/myTagDetail.vue":["cm2p",0,26],"./platformTag/myTag/myTagLib.vue":["EHeP",0,25],"./platformTag/myTag/myTagList.vue":["C8bH",0,23],"./platformTag/platformTagDetail.vue":["KN59",0,12],"./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,32]};function o(e){var t=n[e];return t?Promise.all(t.slice(1).map(a.e)).then(function(){return a(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(n)},o.id="Vna/",e.exports=o},Xcu2:function(e,t){},l6IN:function(e,t){e.exports=ELEMENT},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT:function(e,t){}},[0]);
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(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={38: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:"83f4a2c44d669a09be1e",1:"a5b1143fb090193afa6f",2:"d20a94c45ea0ffc03fa2",3:"bba70547989aa4669d47",4:"a41540803d510e175804",5:"681efcc79cdcb40ef10c",6:"614a113d4b0cc0a6d940",7:"cbfb1c1422fe6c812024",8:"891bbc4365b8362d5195",9:"7cc1b38988e254182ad8",10:"1cbc7e505ef918253196",11:"cfa61640d1a3d8d26b48",12:"4863cb2833a59b3a1e0d",13:"e8f8c393892893457237",14:"f9349ebf084cac90f55f",15:"a45a45bb9ab8e6a220f5",16:"376367f20816f79d74ce",17:"a990c3251722fa36eb59",18:"d3e73f70c8da88c1f4f4",19:"ab7c06c7e7af4a07eb11",20:"f3462f642f3192637f20",21:"1f6367e5dcf6de69a5bd",22:"4985a38ec89a12ab291d",23:"60b6d3b4fc0be320f902",24:"86165fae545ab11c31b8",25:"c3cd368f31c0bbc97441",26:"29655a664a69bc9585b2",27:"0da08ee522a2a9aa941f",28:"63c89716ba86ded0de4d",29:"d9bf6db6265196a286c6",30:"fbb528f02d4f8a0b02d6",31:"9817b996a74aa8f2d753",32:"b15c54d9011e4e52be3c",33:"4f76bdffa1b0785f24fd",34:"37903af596b5b2dad1d1",35:"f3351db076629ee66ed9"}[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
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(f,r,d){for(var t,o,b,i=0,u=[];i<f.length;i++)o=f[i],c[o]&&u.push(c[o][0]),c[o]=0;for(t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t]);for(a&&a(f,r,d);u.length;)u.shift()();if(d)for(i=0;i<d.length;i++)b=n(n.s=d[i]);return b};var f={},c={41:0};function n(a){if(f[a])return f[a].exports;var c=f[a]={i:a,l:!1,exports:{}};return e[a].call(c.exports,c,c.exports,n),c.l=!0,c.exports}n.e=function(e){var a=c[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var f=new Promise(function(f,n){a=c[e]=[f,n]});a[2]=f;var r=document.getElementsByTagName("head")[0],d=document.createElement("script");d.type="text/javascript",d.charset="utf-8",d.async=!0,d.timeout=12e4,n.nc&&d.setAttribute("nonce",n.nc),d.src=n.p+"static/js/"+e+"."+{0:"81217c153d34e5394e3a",1:"a5b1143fb090193afa6f",2:"43847b1d3db7ad4e8fa1",3:"d1cd0a4dfcf4f98a5692",4:"96474d847637d320797f",5:"02dfca5bda11cdf5acfc",6:"58d2e88045669e8e4b01",7:"cbfb1c1422fe6c812024",8:"891bbc4365b8362d5195",9:"7cc1b38988e254182ad8",10:"1cbc7e505ef918253196",11:"cfa61640d1a3d8d26b48",12:"8a8141f3514cbae9a3c7",13:"08c4e00c9064c81ac50d",14:"8622cb207bfbb8e64e41",15:"efd269fd1a81cd8592dc",16:"1104245fedff37af4540",17:"e58186116f6395e91ba5",18:"7334e3a4a53e5fa5cc10",19:"2ceeb8623a25f9763541",20:"f3462f642f3192637f20",21:"1f6367e5dcf6de69a5bd",22:"4985a38ec89a12ab291d",23:"60311edadffd29177d1f",24:"531b601f2458607bb7cb",25:"3376ffeddd5f1ca98ada",26:"962d2620d9b5b335a99f",27:"e14ceba57ae539166074",28:"b054b4a83fd914371906",29:"725d179db89d42ffd1bc",30:"966edf6598a0025195a1",31:"5017afeb2609f9a25639",32:"14f79f198642e872b60b",33:"97ce2268606d1d3f3647",34:"7607624da7bef040820f",35:"b3658c292cd25762b7f4",36:"48d33bbdba37109d9e3e",37:"39a5e400557900ce41ef",38:"4daadcb44c13a01ab811"}[e]+".js";var t=setTimeout(o,12e4);function o(){d.onerror=d.onload=null,clearTimeout(t);var a=c[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return d.onerror=d.onload=o,r.appendChild(d),f},n.m=e,n.c=f,n.d=function(e,a,f){n.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:f})},n.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(a,"a",a),a},n.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
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