Commit 977bf84c by 无尘

add: 对接标签库和类别接口

parent 02aad64c
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.557cb6347bcaa054250edc01272ed9cf.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.23154050ed77544cd7a1.js></script><script type=text/javascript src=./static/js/vendor.ae6fa584b9d3d8074e5d.js></script><script type=text/javascript src=./static/js/app.4a9a21660f890d7cff6d.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.2cbe257d936ee063bc39dcfc02fe7362.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.822b1a6fc2eb50460a25.js></script><script type=text/javascript src=./static/js/vendor.ae6fa584b9d3d8074e5d.js></script><script type=text/javascript src=./static/js/app.4d1464e075adf909abd6.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([12],{"G/on":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("3Xzz"),n=a("5QTb"),s=(a("Mk6G"),a("3E4D")),o=a("Ch4/"),i=(a("PI0u"),a("P9l9")),l={name:"platformTagList",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}],tagLibName:"platformTag",tagSearch:"",tagTableData:[{id:1,name:"123",tagDescribe:"描述描述,最多200字,一行显示50字,默认显示一行",isRealTime:1,isExist:0},{id:2,name:"113",tagDescribe:"描述描述,最多200字,一行显示50字,默认显示一行",isRealTime:0,isExist:1}],selTagTableData:[],currentPage:1,pageSize:20,total:0,currentGroupId:"",currentTagDatas:[{id:1,name:"基本信息"},{id:2,name:"地理信息"}],childTagDatas:[{id:1,name:"其他一",num:12},{id:2,name:"其他二",num:12}]}},methods:{toAddMyTagLib:function(e,t){console.log(t);var a={};if("mult"===e){if(!this.selTagTableData.length)return this.$message.error({message:"请选择标签"}),!1;this.addByTagId("addByTagIds",a)}else this.addByTagId("addByTagId",a)},addByTagId:function(e,t){var a=this;Object(i.a)("/enterpriseMemberTag/"+e,t).then(function(e){var t=e.data;0!=t.errorCode?o.a.errorMsg(t):s.a.showmsg("添加成功","success")}).catch(function(e){console.log(e),a.$message.error({duration:1e3,message:e.message})})},searchEnterFun:function(e){console.log(e)},handleSelectChange:function(e){console.log(e),this.selTagTableData=e},handleSizeChange:function(e){console.log("每页 "+e+" 条"),this.pageSize=e},handleCurrentChange:function(e){console.log("当前页: "+e),this.currentPage=e},getTagList:function(e){var t=this,a={tagName:t.tagSearch,tagLevelGroupId:t.currentGroupId,pageNum:t.currentPage,pageSize:t.pageSize};Object(i.a)("/memberTag/platformTagPageList",a).then(function(e){var t=e.data;0!=t.errorCode&&o.a.errorMsg(t)}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})}},watch:{$route:{handler:function(e,t){console.log("获取当前路由:",e);this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:"",this.getTagList()},deep:!0}},beforeMount:function(){},mounted:function(){console.log(this.$route.query),this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:"",this.getTagList()},components:{navCrumb:r.a,tagCategory:n.a}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"platformTagList-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"common-wrap__cateTags"},[a("tag-category",{attrs:{tagLibName:e.tagLibName,tagCateId:e.currentGroupId}})],1),e._v(" "),a("div",{staticClass:"common-wrap__opt"},[a("el-input",{staticClass:"w-184",attrs:{placeholder:"请输入标签","prefix-icon":"el-icon-search"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchEnterFun(t):null}},model:{value:e.tagSearch,callback:function(t){e.tagSearch=t},expression:"tagSearch"}}),e._v(" "),a("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:function(t){e.toAddMyTagLib("mult")}}},[e._v("添加至我的标签库")])],1),e._v(" "),a("div",{staticClass:"common-wrap__table m-t-20"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tagTableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectChange}},[a("el-table-column",{attrs:{type:"selection"}}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"标签名称"}}),e._v(" "),a("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述"}}),e._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.isRealTime?"实时":"非实时")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("router-link",{staticClass:"edit-btn el-button--text",attrs:{to:{path:"/myTagDetail",query:{tagId:t.row.id}}}},[e._v("详情")]),e._v(" "),a("el-button",{staticClass:"p-l-32",attrs:{type:"text",size:"small",disabled:1==t.row.isExist},on:{click:function(a){e.toAddMyTagLib("single",t.row.id)}}},[e._v("\n 添加至我的标签库\n ")])]}}])})],1)],1),e._v(" "),0!=e.tagTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var u=a("VU/8")(l,c,!1,function(e){a("gzx4")},"data-v-bd848e78",null);t.default=u.exports},gzx4:function(e,t){}});
//# sourceMappingURL=12.985dbdaa0325427c2ca1.js.map
\ No newline at end of file
webpackJsonp([12],{"G/on":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("3Xzz"),n=a("5QTb"),s=(a("Mk6G"),a("3E4D")),o=a("Ch4/"),i=(a("PI0u"),a("P9l9")),l={name:"platformTagList",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}],tagLibName:"platformTag",tagSearch:"",tagTableData:[{id:1,name:"123",tagDescribe:"描述描述,最多200字,一行显示50字,默认显示一行",isRealTime:1,isExist:0},{id:2,name:"113",tagDescribe:"描述描述,最多200字,一行显示50字,默认显示一行",isRealTime:0,isExist:1}],selTagTableData:[],currentPage:1,pageSize:20,total:0,currentGroupId:"",currentTagDatas:[{id:1,name:"基本信息"},{id:2,name:"地理信息"}],childTagDatas:[{id:1,name:"其他一",num:12},{id:2,name:"其他二",num:12}]}},methods:{toAddMyTagLib:function(e,t){console.log(t);var a={};if("mult"===e){if(!this.selTagTableData.length)return this.$message.error({message:"请选择标签"}),!1;a.tagId=[],this.selTagTableData.forEach(function(e,t){a.tagId.push(e.id)}),console.log(a),a.tagId=a.tagId.join(","),this.addByTagId("addByTagIds",a)}else this.addByTagId("addByTagId",a)},addByTagId:function(e,t){var a=this;Object(i.a)("/enterpriseMemberTag/"+e,t).then(function(e){var t=e.data;1!=t.errorCode?o.a.errorMsg(t):s.a.showmsg("添加成功","success")}).catch(function(e){console.log(e),a.$message.error({duration:1e3,message:e.message})})},searchEnterFun:function(e){console.log(e),this.currentPage=1,this.getTagList()},handleSelectChange:function(e){console.log(e),this.selTagTableData=e},handleSizeChange:function(e){console.log("每页 "+e+" 条"),this.pageSize=e,this.getTagList()},handleCurrentChange:function(e){console.log("当前页: "+e),this.currentPage=e,this.getTagList()},getTagList:function(e){var t=this,a={tagName:t.tagSearch,tagLevelGroupId:t.currentGroupId,pageNum:t.currentPage,pageSize:t.pageSize};Object(i.a)("/memberTag/platformTagPageList",a).then(function(e){var t=e.data;1!=t.errorCode&&o.a.errorMsg(t)}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})}},watch:{$route:{handler:function(e,t){console.log("获取当前路由:",e);this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:"",this.getTagList()},deep:!0}},beforeMount:function(){},mounted:function(){console.log(this.$route.query),this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:"",this.getTagList()},components:{navCrumb:r.a,tagCategory:n.a}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"platformTagList-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"common-wrap__cateTags"},[a("tag-category",{attrs:{tagLibName:e.tagLibName,tagCateId:e.currentGroupId}})],1),e._v(" "),a("div",{staticClass:"common-wrap__opt"},[a("el-input",{staticClass:"w-184",attrs:{placeholder:"请输入标签","prefix-icon":"el-icon-search"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchEnterFun(t):null}},model:{value:e.tagSearch,callback:function(t){e.tagSearch=t},expression:"tagSearch"}}),e._v(" "),a("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:function(t){e.toAddMyTagLib("mult")}}},[e._v("添加至我的标签库")])],1),e._v(" "),a("div",{staticClass:"common-wrap__table m-t-20"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tagTableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectChange}},[a("el-table-column",{attrs:{type:"selection"}}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"标签名称"}}),e._v(" "),a("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述"}}),e._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.isRealTime?"实时":"非实时")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("router-link",{staticClass:"edit-btn el-button--text",attrs:{to:{path:"/myTagDetail",query:{tagId:t.row.id}}}},[e._v("详情")]),e._v(" "),a("el-button",{staticClass:"p-l-32",attrs:{type:"text",size:"small",disabled:1==t.row.isExist},on:{click:function(a){e.toAddMyTagLib("single",t.row.id)}}},[e._v("\n 添加至我的标签库\n ")])]}}])})],1)],1),e._v(" "),0!=e.tagTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var g=a("VU/8")(l,c,!1,function(e){a("pe8X")},"data-v-d653d2fe",null);t.default=g.exports},pe8X:function(e,t){}});
//# sourceMappingURL=12.cacb6dc6771bbdfb8e96.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/view/platformTag/platformTagLib.vue","webpack:///./src/view/platformTag/platformTagLib.vue?56f7","webpack:///./src/view/platformTag/platformTagLib.vue"],"names":["platformTagLib","name","data","navpath","path","tagCategory","methods","mounted","components","navCrumb","nav","tagLib","platformTag_platformTagLib","render","_h","this","$createElement","_c","_self","staticClass","attrs","_v","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"uJA2DAA,sDACAC,KAAA,iBACAC,KAFA,WAGA,OAEAC,UAEAF,KAAA,KACAG,KAAA,KAGAH,KAAA,OACAG,KAAA,KAIAC,YAAA,oBAGAC,WAOAC,QA1BA,aA6BAC,YACAC,SAAAC,EAAA,EACAC,SAAA,KCvFAC,GADiBC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBE,YAAA,oCAA8CF,EAAA,aAAkBG,OAAOjB,QAAvJY,KAAuJZ,WAAvJY,KAA8KM,GAAA,KAAAJ,EAAA,OAAwBE,YAAA,kBAA4BF,EAAA,OAAYE,YAAA,cAAwBF,EAAA,WAAgBG,OAAOf,YAA7RU,KAA6RV,gBAA+B,KAA5TU,KAA4TM,GAAA,KAAAJ,EAAA,uBAErUK,oBCCjB,IAcAC,EAdAC,EAAA,OAcAC,CACAzB,EACAY,GATA,EAVA,SAAAc,GACAF,EAAA,SAaA,kBAEA,MAUAG,EAAA,QAAAJ,EAAA","file":"static/js/15.5a29c715cd7a704cee9c.js","sourcesContent":["<template>\r\n <div class=\"platformTagLib-wrap common-wrap\">\r\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\r\n <div class=\"right-content\">\r\n <div class=\"right-box\">\r\n <!-- <div class=\"platformTagLib-wrap__opt common-wrap__opt\">\r\n <el-input\r\n class=\"w-184\"\r\n placeholder=\"请输入标签\"\r\n prefix-icon=\"el-icon-search\"\r\n v-model=\"platformTagSearch\"\r\n @keyup.enter.native=\"searchEnterFun\">\r\n </el-input>\r\n <el-button type=\"primary\" @click=\"toAddMyTagLib\" class=\"fr\">添加至我的标签库</el-button>\r\n </div>\r\n\r\n <div class=\"platformTagLib-wrap__libFields common-libFields flex\" >\r\n <template v-for=\"(item,pindex) in libDatas\">\r\n <div class=\"platformTagLib-wrap__lib__cell common-lib__cell flex-1\" :key=\"pindex\">\r\n <div class=\"platformTagLib-wrap__cell__head border-box common-lib__cell__head\">\r\n <a :href=\"'#/platformTagList?test='+item.id\" class=\"block\"><i :class=\"['iconfont','common-lib__cell__icon',item.icon]\"></i><span class=\"platformTagLib-wrap__cell__name common-lib__cell__name\">{{item.name}}</span><span class=\"common-lib__icon__right fr\"><i class=\"el-icon-arrow-right\"></i></span>\r\n </a>\r\n </div>\r\n <div class=\"platformTagLib-wrap__cell__body border-box common-lib__cell__body\">\r\n <template v-for=\"(itemTwo,cindex) in item.children\">\r\n <div class=\"platformTagLib-wrap__cell__fieldRow border-box common-lib__cell__fieldRow\" :key=\"cindex\">\r\n <div class=\"platformTagLib-wrap__cell__fieldChild inline-block common-lib__cell__fieldChild\"> <a :href=\"'#/platformTagList?test='+itemTwo.id\" class=\"inline-block common-lib__cell__name\">{{itemTwo.name}}</a>\r\n <i class=\"el-icon-arrow-right\"></i>\r\n </div>\r\n <div class=\"platformTagLib-wrap__cell__fieldLastChild inline-block common-lib__cell__fieldLastChild\">\r\n <template v-for=\"(itemThree,lindex) in itemTwo.children\">\r\n <a :href=\"'#/platformTagList?test='+itemThree.id\" class=\"platformTagLib-wrap__cell__fieldName inline-block common-lib__cell__fieldName\">{{itemThree.name}}</a>\r\n </template>\r\n\r\n </div>\r\n </div>\r\n </template>\r\n </div>\r\n <div class=\"platformTagLib-wrap__cell__radio common-lib__cell__radio\">\r\n <el-radio v-model=\"libRadio\" :label=\"item.id\" name=\"\"> </el-radio>\r\n </div>\r\n </div>\r\n </template>\r\n </div> -->\r\n <tag-lib :tagCategory=\"tagCategory\"></tag-lib>\r\n\r\n </div>\r\n </div>\r\n <vue-gic-footer></vue-gic-footer>\r\n </div>\r\n</template>\r\n<script>\r\n import navCrumb from '@/components/nav/nav.vue';\r\n import tagLib from '@/components/tagLib.vue';\r\n import strLength from '@/common/js/strlen';\r\n import showMsg from '@/common/js/showmsg';\r\n import errMsg from '@/common/js/error';\r\n import { _debounce } from \"@/common/js/public\";\r\n import { getRequest, postRequest, postJson, postForm } from '@/api/api';\r\n export default {\r\n name: \"platformTagLib\",\r\n data() {\r\n return {\r\n // 面包屑参数\r\n navpath: [\r\n {\r\n name: '首页',\r\n path: ''\r\n },\r\n {\r\n name: '会员标签',\r\n path: ''\r\n }\r\n ],\r\n\r\n tagCategory: 'platformTagList', // 当前标签类别\r\n }\r\n },\r\n methods: {\r\n /**\r\n *\r\n */\r\n\r\n\r\n },\r\n mounted() {\r\n\r\n },\r\n components: {\r\n navCrumb,\r\n tagLib\r\n }\r\n }\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n .platformTagLib-wrap {\r\n\r\n &__opt {\r\n\r\n }\r\n\r\n &__libFields {\r\n\r\n }\r\n\r\n &__lib__cell {\r\n\r\n }\r\n\r\n &__cell {\r\n\r\n &__head {\r\n\r\n }\r\n\r\n &__name {\r\n\r\n }\r\n &__icon {\r\n\r\n }\r\n\r\n &__body {\r\n\r\n }\r\n\r\n &__fieldRow {\r\n\r\n }\r\n\r\n &__fieldChild {\r\n\r\n\r\n }\r\n\r\n &__fieldLastChild {\r\n\r\n }\r\n\r\n &__fieldName {\r\n\r\n }\r\n\r\n &__radio {\r\n\r\n }\r\n }\r\n\r\n\r\n }\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/view/platformTag/platformTagLib.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"platformTagLib-wrap common-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\"},[_c('tag-lib',{attrs:{\"tagCategory\":_vm.tagCategory}})],1)]),_vm._v(\" \"),_c('vue-gic-footer')],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-6824c30b\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/view/platformTag/platformTagLib.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-6824c30b\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./platformTagLib.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./platformTagLib.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./platformTagLib.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-6824c30b\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./platformTagLib.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-6824c30b\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/view/platformTag/platformTagLib.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([14],{GaIp:function(t,a){},twLH:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),s=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"myTagLib",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}],tagCategory:"myTagList"}},methods:{toAddMyTagLib:function(){}},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),r={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"myTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var o=n("VU/8")(s,r,!1,function(t){n("GaIp")},"data-v-6d8ff900",null);a.default=o.exports}}); webpackJsonp([15],{GaIp:function(t,a){},twLH:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),s=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"myTagLib",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}],tagCategory:"myTagList"}},methods:{toAddMyTagLib:function(){}},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),r={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"myTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var o=n("VU/8")(s,r,!1,function(t){n("GaIp")},"data-v-6d8ff900",null);a.default=o.exports}});
//# sourceMappingURL=14.92199267df3426ee7901.js.map //# sourceMappingURL=15.6bff0bcecd6f1ce1319d.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([19],{"8fha":function(t,a){},KN59:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagEdit",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}]}},methods:{},mounted:function(){},components:{navCrumb:e.a}}),s={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagEdit-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),this._m(0),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"})])}]};var r=n("VU/8")(i,s,!1,function(t){n("8fha")},"data-v-564f4d34",null);a.default=r.exports}}); webpackJsonp([18],{"8fha":function(t,a){},KN59:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagEdit",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}]}},methods:{},mounted:function(){},components:{navCrumb:e.a}}),s={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagEdit-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),this._m(0),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"})])}]};var r=n("VU/8")(i,s,!1,function(t){n("8fha")},"data-v-564f4d34",null);a.default=r.exports}});
//# sourceMappingURL=19.4f681127cc3b6c7e3765.js.map //# sourceMappingURL=18.6ed416399616407ccde9.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([20],{YPWR:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o("bOdI"),i=o.n(n),a=o("5reh"),s={name:"App",data:function(){var t;return t={projectName:"member",contentHeight:"0px",collapseFlag:!1},i()(t,"collapseFlag",!1),i()(t,"leftModulesName","会员设置"),t},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},mounted:function(){this.$store.commit(a.d,"达摩GIC"),document.title=this.$store.state.title,this.pathName=window.location.hash.split("/")[1],console.log("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},l={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"index"}},[e("vue-gic-header",{attrs:{projectName:this.projectName,collapseFlag:this.collapseFlag},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])],1)},staticRenderFns:[]};var c=o("VU/8")(s,l,!1,function(t){o("jw/Y")},null,null);e.default=c.exports},"jw/Y":function(t,e){}}); webpackJsonp([19],{YPWR:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o("bOdI"),i=o.n(n),a=o("5reh"),s={name:"App",data:function(){var t;return t={projectName:"member",contentHeight:"0px",collapseFlag:!1},i()(t,"collapseFlag",!1),i()(t,"leftModulesName","会员设置"),t},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},mounted:function(){this.$store.commit(a.d,"达摩GIC"),document.title=this.$store.state.title,this.pathName=window.location.hash.split("/")[1],console.log("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},l={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"index"}},[e("vue-gic-header",{attrs:{projectName:this.projectName,collapseFlag:this.collapseFlag},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])],1)},staticRenderFns:[]};var c=o("VU/8")(s,l,!1,function(t){o("jw/Y")},null,null);e.default=c.exports},"jw/Y":function(t,e){}});
//# sourceMappingURL=20.747937511d9761d173a2.js.map //# sourceMappingURL=19.fe136bb2a23a31036fe4.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([15],{TgmE: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:""},{name:"会员标签",path:""}],tagCategory:"platformTagList"}},methods:{},mounted:function(){},components:{navCrumb:e.a,tagLib:r.a}}),s={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 o=n("VU/8")(i,s,!1,function(t){n("TgmE")},"data-v-6824c30b",null);a.default=o.exports}}); webpackJsonp([20],{AXN1: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:""},{name:"会员标签",path:""}],tagCategory:"platformTagList"}},methods:{},mounted:function(){},components:{navCrumb:e.a,tagLib:r.a}}),s={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 o=n("VU/8")(i,s,!1,function(t){n("AXN1")},"data-v-3a09f9ad",null);a.default=o.exports}});
//# sourceMappingURL=15.5a29c715cd7a704cee9c.js.map //# sourceMappingURL=20.f908174573964538db82.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///src/view/platformTag/platformTagLib.vue","webpack:///./src/view/platformTag/platformTagLib.vue?3759","webpack:///./src/view/platformTag/platformTagLib.vue"],"names":["platformTagLib","name","data","navpath","path","tagCategory","methods","mounted","components","navCrumb","nav","tagLib","platformTag_platformTagLib","render","_h","this","$createElement","_c","_self","staticClass","attrs","_v","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"uJA2DAA,sDACAC,KAAA,iBACAC,KAFA,WAGA,OAEAC,UAEAF,KAAA,KACAG,KAAA,KAGAH,KAAA,OACAG,KAAA,KAIAC,YAAA,oBAGAC,WAGAC,QAtBA,aAyBAC,YACAC,SAAAC,EAAA,EACAC,SAAA,KCnFAC,GADiBC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBE,YAAA,oCAA8CF,EAAA,aAAkBG,OAAOjB,QAAvJY,KAAuJZ,WAAvJY,KAA8KM,GAAA,KAAAJ,EAAA,OAAwBE,YAAA,kBAA4BF,EAAA,OAAYE,YAAA,cAAwBF,EAAA,WAAgBG,OAAOf,YAA7RU,KAA6RV,gBAA+B,KAA5TU,KAA4TM,GAAA,KAAAJ,EAAA,uBAErUK,oBCCjB,IAcAC,EAdAC,EAAA,OAcAC,CACAzB,EACAY,GATA,EAVA,SAAAc,GACAF,EAAA,SAaA,kBAEA,MAUAG,EAAA,QAAAJ,EAAA","file":"static/js/20.f908174573964538db82.js","sourcesContent":["<template>\n <div class=\"platformTagLib-wrap common-wrap\">\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\n <div class=\"right-content\">\n <div class=\"right-box\">\n <!-- <div class=\"platformTagLib-wrap__opt common-wrap__opt\">\n <el-input\n class=\"w-184\"\n placeholder=\"请输入标签\"\n prefix-icon=\"el-icon-search\"\n v-model=\"platformTagSearch\"\n @keyup.enter.native=\"searchEnterFun\">\n </el-input>\n <el-button type=\"primary\" @click=\"toAddMyTagLib\" class=\"fr\">添加至我的标签库</el-button>\n </div>\n\n <div class=\"platformTagLib-wrap__libFields common-libFields flex\" >\n <template v-for=\"(item,pindex) in libDatas\">\n <div class=\"platformTagLib-wrap__lib__cell common-lib__cell flex-1\" :key=\"pindex\">\n <div class=\"platformTagLib-wrap__cell__head border-box common-lib__cell__head\">\n <a :href=\"'#/platformTagList?test='+item.id\" class=\"block\"><i :class=\"['iconfont','common-lib__cell__icon',item.icon]\"></i><span class=\"platformTagLib-wrap__cell__name common-lib__cell__name\">{{item.name}}</span><span class=\"common-lib__icon__right fr\"><i class=\"el-icon-arrow-right\"></i></span>\n </a>\n </div>\n <div class=\"platformTagLib-wrap__cell__body border-box common-lib__cell__body\">\n <template v-for=\"(itemTwo,cindex) in item.children\">\n <div class=\"platformTagLib-wrap__cell__fieldRow border-box common-lib__cell__fieldRow\" :key=\"cindex\">\n <div class=\"platformTagLib-wrap__cell__fieldChild inline-block common-lib__cell__fieldChild\"> <a :href=\"'#/platformTagList?test='+itemTwo.id\" class=\"inline-block common-lib__cell__name\">{{itemTwo.name}}</a>\n <i class=\"el-icon-arrow-right\"></i>\n </div>\n <div class=\"platformTagLib-wrap__cell__fieldLastChild inline-block common-lib__cell__fieldLastChild\">\n <template v-for=\"(itemThree,lindex) in itemTwo.children\">\n <a :href=\"'#/platformTagList?test='+itemThree.id\" class=\"platformTagLib-wrap__cell__fieldName inline-block common-lib__cell__fieldName\">{{itemThree.name}}</a>\n </template>\n\n </div>\n </div>\n </template>\n </div>\n <div class=\"platformTagLib-wrap__cell__radio common-lib__cell__radio\">\n <el-radio v-model=\"libRadio\" :label=\"item.id\" name=\"\"> </el-radio>\n </div>\n </div>\n </template>\n </div> -->\n <tag-lib :tagCategory=\"tagCategory\"></tag-lib>\n\n </div>\n </div>\n <vue-gic-footer></vue-gic-footer>\n </div>\n</template>\n<script>\n import navCrumb from '@/components/nav/nav.vue';\n import tagLib from '@/components/tagLib.vue';\n import strLength from '@/common/js/strlen';\n import showMsg from '@/common/js/showmsg';\n import errMsg from '@/common/js/error';\n import { _debounce } from \"@/common/js/public\";\n import { getRequest, postRequest, postJson, postForm } from '@/api/api';\n export default {\n name: \"platformTagLib\",\n data() {\n return {\n // 面包屑参数\n navpath: [\n {\n name: '首页',\n path: ''\n },\n {\n name: '会员标签',\n path: ''\n }\n ],\n\n tagCategory: 'platformTagList', // 当前标签类别\n }\n },\n methods: {\n\n },\n mounted() {\n\n },\n components: {\n navCrumb,\n tagLib\n }\n }\n</script>\n<style lang=\"scss\" scoped>\n .platformTagLib-wrap {\n\n &__opt {\n\n }\n\n &__libFields {\n\n }\n\n &__lib__cell {\n\n }\n\n &__cell {\n\n &__head {\n\n }\n\n &__name {\n\n }\n &__icon {\n\n }\n\n &__body {\n\n }\n\n &__fieldRow {\n\n }\n\n &__fieldChild {\n\n\n }\n\n &__fieldLastChild {\n\n }\n\n &__fieldName {\n\n }\n\n &__radio {\n\n }\n }\n\n\n }\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/view/platformTag/platformTagLib.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"platformTagLib-wrap common-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\"},[_c('tag-lib',{attrs:{\"tagCategory\":_vm.tagCategory}})],1)]),_vm._v(\" \"),_c('vue-gic-footer')],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-3a09f9ad\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/view/platformTag/platformTagLib.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-3a09f9ad\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./platformTagLib.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./platformTagLib.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./platformTagLib.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-3a09f9ad\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./platformTagLib.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-3a09f9ad\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/view/platformTag/platformTagLib.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([21],{"5b65":function(t,e){},oVck:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("3Xzz"),a=(n("Mk6G"),n("3E4D"),n("Ch4/")),r=(n("PI0u"),n("P9l9")),i={name:"memberGroupList",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}],tagSearch:"",tagTableData:[{id:1,descipe:"标签列表数据",name:"123",isRealTime:1,recentUpdateDate:"2018-09-30 14:30:28",updateRate:"-",state:1,peopleCover:"456566",createTime:"2018-09-30 14:30:28",expiredTime:"2018-09-30 14:30:28",popVisible:!1}],currentPage:1,pageSize:20,total:0}},filters:{formatTimeYMD:function(t){return console.log(t,"--"!=t?t.split(" ")[0]:"--"),"--"!=t?t.split(" ")[0]:"--"},formatTimeHMS:function(t){return"--"!=t?t.split(" ")[1]:"--"},formatNum:function(t){return(t+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},methods:{changeRoute:function(t){this.$router.push(t)},toAddGroup:function(){this.changeRoute("/memberGroupEdit")},searchEnterFun:function(t){console.log(t)},handleSizeChange:function(t){console.log("每页 "+t+" 条")},handleCurrentChange:function(t){console.log("当前页: "+t)},toInvalid:function(t){this.$confirm("该分组失效后,不再更新数据,确认要失效吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){}).catch(function(){}),this.$confirm("该分组正在被活动使用,无法删除!","提示",{confirmButtonText:"确定",type:"warning"}).then(function(){}).catch(function(){}),this.$confirm("该分组覆盖XX人,一旦删除无法恢复,确认要删除吗?","提示",{confirmButtonText:"确定",type:"warning"}).then(function(){}).catch(function(){})},cancelDelTag:function(t,e){e.popVisible=!1},toDelTag:function(t,e){var n=this;n.$confirm("此操作将永久删除该文件, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){n.tagTableData.splice(t,1)}).catch(function(){})},delGroup:function(t){var e=this,n={memberTagGroupId:t};Object(r.a)("/member-tag-group/delete.json",n).then(function(t){var e=t.data;1!=e.errorCode&&a.a.errorMsg(e)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},getGroupList:function(){var t=this,e={groupName:t.tagSearch,pageSize:t.pageSize,pageNum:t.currentPage};Object(r.a)("/member-tag-group/findList.json",e).then(function(t){var e=t.data;1!=e.errorCode&&a.a.errorMsg(e)}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){},components:{navCrumb:o.a}},l={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"memberGroupList-wrap common-wrap"},[n("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),n("div",{staticClass:"right-content"},[n("div",{staticClass:"right-box"},[n("div",{staticClass:"common-wrap__opt"},[n("el-input",{staticClass:"w-184",attrs:{placeholder:"请输入关键字搜索人群","prefix-icon":"el-icon-search"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.searchEnterFun(e):null}},model:{value:t.tagSearch,callback:function(e){t.tagSearch=e},expression:"tagSearch"}}),t._v(" "),n("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:t.toAddGroup}},[t._v("新增分组")])],1),t._v(" "),n("div",{staticClass:"common-wrap__table m-t-20"},[n("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tagTableData,"tooltip-effect":"dark"}},[n("el-table-column",{attrs:{label:"分组名称",width:"150px","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-popover",{attrs:{placement:"top-start",width:"200",trigger:"hover"}},[n("span",[t._v(t._s(e.row.descipe))]),t._v(" "),n("a",{staticClass:"pointer",attrs:{slot:"reference",href:"/memberGroupDetail?memberTagGroupId="+e.row.id},slot:"reference"},[t._v(t._s(e.row.name))])])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"是否实时",width:"100px"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isRealTime?"实时":"非实时")+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"最近更新时间",width:"150px","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("formatTimeYMD")(e.row.recentUpdateDate))+"\n "),n("p",[t._v(t._s(t._f("formatTimeHMS")(e.row.recentUpdateDate)))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"更新频率",width:"150px","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.updateRate)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"state",label:"状态",width:"50px"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.state?"有效":"失效")+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"peopleCover",label:"覆盖人数",width:"150px","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("formatNum")(e.row.peopleCover))+" 人\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"createTime",label:"创建时间",width:"150px","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("formatTimeYMD")(e.row.createTime))+"\n "),n("p",[t._v(t._s(t._f("formatTimeHMS")(e.row.createTime)))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"recentUpdateDate",label:"到期时间",width:"150px","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("formatTimeYMD")(e.row.recentUpdateDate))+"\n "),n("p",[t._v(t._s(t._f("formatTimeHMS")(e.row.recentUpdateDate)))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){t.toInvalid(e.row.id,e.row)}}},[t._v("失效")]),t._v(" "),n("router-link",{staticClass:"edit-btn el-button--text p-l-20",attrs:{to:{path:"/memberGroupDetail",query:{memberTagGroupId:e.row.id}}}},[t._v("详情")]),t._v(" "),n("router-link",{staticClass:"edit-btn el-button--text p-l-20",attrs:{to:{path:"/memberGroupEdit",query:{memberTagGroupId:e.row.id}}}},[t._v("编辑")]),t._v(" "),n("el-popover",{attrs:{placement:"top",width:"160"},model:{value:e.row.popVisible,callback:function(n){t.$set(e.row,"popVisible",n)},expression:"scope.row.popVisible"}},[n("p",{staticStyle:{"line-height":"1.5",padding:"10px 10px 20px"}},[t._v("确认删除吗?")]),t._v(" "),n("div",{staticStyle:{"text-align":"right",margin:"0"}},[n("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(n){t.cancelDelTag(e.$index,e.row)}}},[t._v("取消")]),t._v(" "),n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(n){t.toDelTag(e.$index,e.row)}}},[t._v("确定")])],1),t._v(" "),n("el-button",{staticClass:"p-l-20",attrs:{slot:"reference",type:"text"},slot:"reference"},[t._v("\n 删除\n ")])],1)]}}])})],1)],1),t._v(" "),0!=t.tagTableData.length?n("div",{staticClass:"block common-wrap__page text-right"},[n("el-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()])]),t._v(" "),n("vue-gic-footer")],1)},staticRenderFns:[]};var c=n("VU/8")(i,l,!1,function(t){n("5b65")},"data-v-36716290",null);e.default=c.exports}});
//# sourceMappingURL=21.62e84225e2c1477e8fa0.js.map
\ No newline at end of file
webpackJsonp([21],{Lzkw:function(t,e){},oVck:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("3Xzz"),a=(n("Mk6G"),n("3E4D"),n("Ch4/")),r=(n("PI0u"),n("P9l9")),i={name:"memberGroupList",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}],tagSearch:"",tagTableData:[{id:1,descipe:"标签列表数据",name:"123",isRealTime:1,recentUpdateDate:"2018-09-30 14:30:28",updateRate:"-",state:1,peopleCover:"456566",createTime:"2018-09-30 14:30:28",expiredTime:"2018-09-30 14:30:28",popVisible:!1}],currentPage:1,pageSize:20,total:0}},filters:{formatTimeYMD:function(t){return console.log(t,"--"!=t?t.split(" ")[0]:"--"),"--"!=t?t.split(" ")[0]:"--"},formatTimeHMS:function(t){return"--"!=t?t.split(" ")[1]:"--"},formatNum:function(t){return(t+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},methods:{changeRoute:function(t){this.$router.push(t)},toAddGroup:function(){this.changeRoute("/memberGroupEdit")},searchEnterFun:function(t){console.log(t)},handleSizeChange:function(t){console.log("每页 "+t+" 条")},handleCurrentChange:function(t){console.log("当前页: "+t)},toInvalid:function(t){this.$confirm("该分组失效后,不再更新数据,确认要失效吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){}).catch(function(){}),this.$confirm("该分组正在被活动使用,无法删除!","提示",{confirmButtonText:"确定",type:"warning"}).then(function(){}).catch(function(){}),this.$confirm("该分组覆盖XX人,一旦删除无法恢复,确认要删除吗?","提示",{confirmButtonText:"确定",type:"warning"}).then(function(){}).catch(function(){})},cancelDelTag:function(t,e){e.popVisible=!1},toDelTag:function(t,e){var n=this;n.$confirm("此操作将永久删除该文件, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){n.tagTableData.splice(t,1)}).catch(function(){})},delGroup:function(t){var e=this,n={memberTagGroupId:t};Object(r.a)("/member-tag-group/delete.json",n).then(function(t){var e=t.data;0!=e.errorCode&&a.a.errorMsg(e)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},getGroupList:function(){var t=this,e={groupName:t.tagSearch};Object(r.a)("/member-tag-group/findList.json",e).then(function(t){var e=t.data;0!=e.errorCode&&a.a.errorMsg(e)}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){},components:{navCrumb:o.a}},l={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"memberGroupList-wrap common-wrap"},[n("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),n("div",{staticClass:"right-content"},[n("div",{staticClass:"right-box"},[n("div",{staticClass:"common-wrap__opt"},[n("el-input",{staticClass:"w-184",attrs:{placeholder:"请输入关键字搜索人群","prefix-icon":"el-icon-search"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.searchEnterFun(e):null}},model:{value:t.tagSearch,callback:function(e){t.tagSearch=e},expression:"tagSearch"}}),t._v(" "),n("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:t.toAddGroup}},[t._v("新增分组")])],1),t._v(" "),n("div",{staticClass:"common-wrap__table m-t-20"},[n("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tagTableData,"tooltip-effect":"dark"}},[n("el-table-column",{attrs:{label:"分组名称",width:"150px","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-popover",{attrs:{placement:"top-start",width:"200",trigger:"hover"}},[n("span",[t._v(t._s(e.row.descipe))]),t._v(" "),n("a",{staticClass:"pointer",attrs:{slot:"reference",href:"/memberGroupDetail?id="+e.row.id},slot:"reference"},[t._v(t._s(e.row.name))])])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"是否实时",width:"100px"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isRealTime?"实时":"非实时")+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"最近更新时间",width:"150px","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("formatTimeYMD")(e.row.recentUpdateDate))+"\n "),n("p",[t._v(t._s(t._f("formatTimeHMS")(e.row.recentUpdateDate)))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"更新频率",width:"150px","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.updateRate)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"state",label:"状态",width:"50px"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.state?"有效":"失效")+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"peopleCover",label:"覆盖人数",width:"150px","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("formatNum")(e.row.peopleCover))+" 人\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"createTime",label:"创建时间",width:"150px","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("formatTimeYMD")(e.row.createTime))+"\n "),n("p",[t._v(t._s(t._f("formatTimeHMS")(e.row.createTime)))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"recentUpdateDate",label:"到期时间",width:"150px","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("formatTimeYMD")(e.row.recentUpdateDate))+"\n "),n("p",[t._v(t._s(t._f("formatTimeHMS")(e.row.recentUpdateDate)))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){t.toInvalid(e.row.id,e.row)}}},[t._v("失效")]),t._v(" "),n("router-link",{staticClass:"edit-btn el-button--text p-l-20",attrs:{to:{path:"/memberGroupDetail",query:{name:e.row.id}}}},[t._v("详情")]),t._v(" "),n("router-link",{staticClass:"edit-btn el-button--text p-l-20",attrs:{to:{path:"/memberGroupEdit",query:{name:e.row.id}}}},[t._v("编辑")]),t._v(" "),n("el-popover",{attrs:{placement:"top",width:"160"},model:{value:e.row.popVisible,callback:function(n){t.$set(e.row,"popVisible",n)},expression:"scope.row.popVisible"}},[n("p",{staticStyle:{"line-height":"1.5",padding:"10px 10px 20px"}},[t._v("确认删除吗?")]),t._v(" "),n("div",{staticStyle:{"text-align":"right",margin:"0"}},[n("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(n){t.cancelDelTag(e.$index,e.row)}}},[t._v("取消")]),t._v(" "),n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(n){t.toDelTag(e.$index,e.row)}}},[t._v("确定")])],1),t._v(" "),n("el-button",{staticClass:"p-l-20",attrs:{slot:"reference",type:"text"},slot:"reference"},[t._v("\n 删除\n ")])],1)]}}])})],1)],1),t._v(" "),0!=t.tagTableData.length?n("div",{staticClass:"block common-wrap__page text-right"},[n("el-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()])]),t._v(" "),n("vue-gic-footer")],1)},staticRenderFns:[]};var s=n("VU/8")(i,l,!1,function(t){n("Lzkw")},"data-v-266aadb6",null);e.default=s.exports}});
//# sourceMappingURL=21.fd79e51e7861597ca014.js.map
\ No newline at end of file
webpackJsonp([22],{q490:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),s=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagLib",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}],tagCategory:"manualTagList"}},methods:{toAddMyTagLib:function(){},searchEnterFun:function(t){console.log(t)},toPlatformTagList:function(){}},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var r=n("VU/8")(s,o,!1,function(t){n("suar")},"data-v-0ee6b69c",null);a.default=r.exports},suar:function(t,a){}});
//# sourceMappingURL=22.1972cc01bce06f3098fa.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/view/manualTag/manualTagLib.vue","webpack:///./src/view/manualTag/manualTagLib.vue?0bb4","webpack:///./src/view/manualTag/manualTagLib.vue"],"names":["manualTagLib","name","data","navpath","path","tagCategory","methods","toAddMyTagLib","searchEnterFun","e","console","log","toPlatformTagList","mounted","components","navCrumb","nav","tagLib","manualTag_manualTagLib","render","_h","this","$createElement","_c","_self","staticClass","attrs","_v","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"kIAmBAA,sDACAC,KAAA,eACAC,KAFA,WAGA,OAEAC,UAEAF,KAAA,KACAG,KAAA,KAGAH,KAAA,OACAG,KAAA,KAIAC,YAAA,kBAGAC,SAIAC,cAJA,aAYAC,eAZA,SAYAC,GAEAC,QAAAC,IAAAF,IAMAG,kBApBA,cAwBAC,QA3CA,aA8CAC,YACAC,SAAAC,EAAA,EACAC,SAAA,KChEAC,GADiBC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBE,YAAA,kCAA4CF,EAAA,aAAkBG,OAAOvB,QAArJkB,KAAqJlB,WAArJkB,KAA4KM,GAAA,KAAAJ,EAAA,OAAwBE,YAAA,kBAA4BF,EAAA,OAAYE,YAAA,cAAwBF,EAAA,WAAgBG,OAAOrB,YAA3RgB,KAA2RhB,gBAA+B,KAA1TgB,KAA0TM,GAAA,KAAAJ,EAAA,uBAEnUK,oBCCjB,IAcAC,EAdAC,EAAA,OAcAC,CACA/B,EACAkB,GATA,EAVA,SAAAc,GACAF,EAAA,SAaA,kBAEA,MAUAG,EAAA,QAAAJ,EAAA","file":"static/js/22.1972cc01bce06f3098fa.js","sourcesContent":["<template>\r\n <div class=\"manualTagLib-wrap common-wrap\">\r\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\r\n <div class=\"right-content\">\r\n <div class=\"right-box\">\r\n <tag-lib :tagCategory=\"tagCategory\"></tag-lib>\r\n </div>\r\n </div>\r\n <vue-gic-footer></vue-gic-footer>\r\n </div>\r\n</template>\r\n<script>\r\n import navCrumb from '@/components/nav/nav.vue';\r\n import tagLib from '@/components/tagLib.vue';\r\n import strLength from '@/common/js/strlen';\r\n import showMsg from '@/common/js/showmsg';\r\n import errMsg from '@/common/js/error';\r\n import { _debounce } from \"@/common/js/public\";\r\n import { getRequest, postRequest, postJson, postForm } from '@/api/api';\r\n export default {\r\n name: \"manualTagLib\",\r\n data() {\r\n return {\r\n // 面包屑参数\r\n navpath: [\r\n {\r\n name: '首页',\r\n path: ''\r\n },\r\n {\r\n name: '会员标签',\r\n path: ''\r\n }\r\n ],\r\n\r\n tagCategory: 'manualTagList', // 当前标签类别\r\n }\r\n },\r\n methods: {\r\n /**\r\n * 添加到我的标签库\r\n */\r\n toAddMyTagLib() {\r\n var that = this\r\n\r\n },\r\n\r\n /**\r\n * 搜索标签\r\n */\r\n searchEnterFun(e) {\r\n var that = this\r\n console.log(e)\r\n },\r\n\r\n /**\r\n *点击分类到列表\r\n */\r\n toPlatformTagList() {\r\n\r\n }\r\n },\r\n mounted() {\r\n\r\n },\r\n components: {\r\n navCrumb,\r\n tagLib\r\n }\r\n }\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/view/manualTag/manualTagLib.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"manualTagLib-wrap common-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\"},[_c('tag-lib',{attrs:{\"tagCategory\":_vm.tagCategory}})],1)]),_vm._v(\" \"),_c('vue-gic-footer')],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-0ee6b69c\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/view/manualTag/manualTagLib.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-0ee6b69c\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./manualTagLib.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./manualTagLib.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./manualTagLib.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-0ee6b69c\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./manualTagLib.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-0ee6b69c\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/view/manualTag/manualTagLib.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([22],{S2wC:function(t,a){},q490:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),s=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagLib",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}],tagCategory:"manualTagList"}},methods:{},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),r={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var o=n("VU/8")(s,r,!1,function(t){n("S2wC")},"data-v-35a0e25e",null);a.default=o.exports}});
//# sourceMappingURL=22.fb16d8f2e3af945a14df.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/view/manualTag/manualTagLib.vue","webpack:///./src/view/manualTag/manualTagLib.vue?d67a","webpack:///./src/view/manualTag/manualTagLib.vue"],"names":["manualTagLib","name","data","navpath","path","tagCategory","methods","mounted","components","navCrumb","nav","tagLib","manualTag_manualTagLib","render","_h","this","$createElement","_c","_self","staticClass","attrs","_v","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"uJAmBAA,sDACAC,KAAA,eACAC,KAFA,WAGA,OAEAC,UAEAF,KAAA,KACAG,KAAA,KAGAH,KAAA,OACAG,KAAA,KAIAC,YAAA,kBAGAC,WAGAC,QAtBA,aAyBAC,YACAC,SAAAC,EAAA,EACAC,SAAA,KC3CAC,GADiBC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBE,YAAA,kCAA4CF,EAAA,aAAkBG,OAAOjB,QAArJY,KAAqJZ,WAArJY,KAA4KM,GAAA,KAAAJ,EAAA,OAAwBE,YAAA,kBAA4BF,EAAA,OAAYE,YAAA,cAAwBF,EAAA,WAAgBG,OAAOf,YAA3RU,KAA2RV,gBAA+B,KAA1TU,KAA0TM,GAAA,KAAAJ,EAAA,uBAEnUK,oBCCjB,IAcAC,EAdAC,EAAA,OAcAC,CACAzB,EACAY,GATA,EAVA,SAAAc,GACAF,EAAA,SAaA,kBAEA,MAUAG,EAAA,QAAAJ,EAAA","file":"static/js/22.fb16d8f2e3af945a14df.js","sourcesContent":["<template>\n <div class=\"manualTagLib-wrap common-wrap\">\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\n <div class=\"right-content\">\n <div class=\"right-box\">\n <tag-lib :tagCategory=\"tagCategory\"></tag-lib>\n </div>\n </div>\n <vue-gic-footer></vue-gic-footer>\n </div>\n</template>\n<script>\n import navCrumb from '@/components/nav/nav.vue';\n import tagLib from '@/components/tagLib.vue';\n import strLength from '@/common/js/strlen';\n import showMsg from '@/common/js/showmsg';\n import errMsg from '@/common/js/error';\n import { _debounce } from \"@/common/js/public\";\n import { getRequest, postRequest, postJson, postForm } from '@/api/api';\n export default {\n name: \"manualTagLib\",\n data() {\n return {\n // 面包屑参数\n navpath: [\n {\n name: '首页',\n path: ''\n },\n {\n name: '会员标签',\n path: ''\n }\n ],\n\n tagCategory: 'manualTagList', // 当前标签类别\n }\n },\n methods: {\n\n },\n mounted() {\n\n },\n components: {\n navCrumb,\n tagLib\n }\n }\n</script>\n<style lang=\"scss\" scoped>\n\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/view/manualTag/manualTagLib.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"manualTagLib-wrap common-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\"},[_c('tag-lib',{attrs:{\"tagCategory\":_vm.tagCategory}})],1)]),_vm._v(\" \"),_c('vue-gic-footer')],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-35a0e25e\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/view/manualTag/manualTagLib.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-35a0e25e\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./manualTagLib.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./manualTagLib.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./manualTagLib.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-35a0e25e\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./manualTagLib.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-35a0e25e\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/view/manualTag/manualTagLib.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(n,o,a){for(var f,d,i,u=0,b=[];u<n.length;u++)d=n[u],r[d]&&b.push(r[d][0]),r[d]=0;for(f in o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f]);for(c&&c(n,o,a);b.length;)b.shift()();if(a)for(u=0;u<a.length;u++)i=t(t.s=a[u]);return i};var n={},r={26:0};function t(c){if(n[c])return n[c].exports;var r=n[c]={i:c,l:!1,exports:{}};return e[c].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.e=function(e){var c=r[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var n=new Promise(function(n,t){c=r[e]=[n,t]});c[2]=n;var o=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,t.nc&&a.setAttribute("nonce",t.nc),a.src=t.p+"static/js/"+e+"."+{0:"14470f852b4ac299d30f",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"38935bf19f4cc0c452f1",6:"e8a80e25b08656461f52",7:"d06ba1cfdd71b3c22f7c",8:"654e6921a31d60142bce",9:"21539068f5977ae4aa80",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"985dbdaa0325427c2ca1",13:"e29aa5893a93a16c34bc",14:"92199267df3426ee7901",15:"5a29c715cd7a704cee9c",16:"f4036a24000959bd38c8",17:"83e469d672229c638715",18:"96ffbeeefb67f6c1cd48",19:"4f681127cc3b6c7e3765",20:"747937511d9761d173a2",21:"fd79e51e7861597ca014",22:"1972cc01bce06f3098fa",25:"9ceafa4ee79176c87d81"}[e]+".js";var f=setTimeout(d,12e4);function d(){a.onerror=a.onload=null,clearTimeout(f);var c=r[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}return a.onerror=a.onload=d,o.appendChild(a),n},t.m=e,t.c=n,t.d=function(e,c,n){t.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(c,"a",c),c},t.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},t.p="./",t.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.23154050ed77544cd7a1.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var f,d,i,u=0,b=[];u<r.length;u++)d=r[u],t[d]&&b.push(t[d][0]),t[d]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,o);b.length;)b.shift()();if(o)for(u=0;u<o.length;u++)i=c(c.s=o[u]);return i};var r={},t={26:0};function c(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,c){n=t[e]=[r,c]});n[2]=r;var a=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,c.nc&&o.setAttribute("nonce",c.nc),o.src=c.p+"static/js/"+e+"."+{0:"6225abf9450089196f45",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"3782da85554aabdaa930",6:"e8a80e25b08656461f52",7:"04ff51a6ec7ceb331c15",8:"d026a8e41b09e5635ee9",9:"85fb625f8b0688f1c0e3",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"cacb6dc6771bbdfb8e96",13:"e29aa5893a93a16c34bc",14:"279eb1f2c335adf69c56",15:"6bff0bcecd6f1ce1319d",16:"f4036a24000959bd38c8",17:"83e469d672229c638715",18:"6ed416399616407ccde9",19:"fe136bb2a23a31036fe4",20:"f908174573964538db82",21:"62e84225e2c1477e8fa0",22:"fb16d8f2e3af945a14df",25:"9ceafa4ee79176c87d81"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=d,a.appendChild(o),r},c.m=e,c.c=r,c.d=function(e,n,r){c.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},c.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="./",c.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.822b1a6fc2eb50460a25.js.map
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<template> <template>
<div class="common-wrap__temp flex"> <div class="common-wrap__temp flex">
<div class="common-wrap__currentTag inline-block"> <div class="common-wrap__currentTag inline-block">
<a :href="'#/'+tagLibName+'List?id='" class="common-wrap__currentTag__name">全部</a> <a :href="'#/'+tagLibName+'List?tagLevelGroupId=0'" class="common-wrap__currentTag__name">全部</a>
<i class="el-icon-arrow-right m-l-8 m-r-8"></i> <i class="el-icon-arrow-right m-l-8 m-r-8"></i>
<template v-for="(item,index) in currentTagDatas"> <template v-for="(item,index) in currentTagDatas">
<a :href="'#/'+tagLibName+'List?tagLevelGroupId='+item.id" class="common-wrap__currentTag__name">{{item.name}}</a> <a :href="'#/'+tagLibName+'List?tagLevelGroupId='+item.id" class="common-wrap__currentTag__name">{{item.name}}</a>
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</div> </div>
<div class="common-wrap__childTag inline-block"> <div class="common-wrap__childTag inline-block">
<template v-for="(item,index) in childTagDatas"> <template v-for="(item,index) in childTagDatas">
<a :href="'#/'+tagLibName+'List?tagLevelGroupId='+item.id" class="common-wrap__childTag__name">{{item.name}}</a> <a :href="'#/'+tagLibName+'List?tagLevelGroupId='+item.id" class="common-wrap__childTag__name">{{item.name}}({{ item.num }})</a>
</template> </template>
</div> </div>
<div class="common-wrap__moreTag p-l-20"> <div class="common-wrap__moreTag p-l-20">
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<!-- 更多列表 --> <!-- 更多列表 -->
<div class="common-wrap__moreTag__body"> <div class="common-wrap__moreTag__body">
<template v-for="(item,index) in childTagDatas"> <template v-for="(item,index) in childTagDatas">
<a :href="'#/'+tagLibName+'List?tagLevelGroupId='+item.id" class="common-wrap__childTag__name">{{item.name}}</a> <a :href="'#/'+tagLibName+'List?tagLevelGroupId='+item.id" class="common-wrap__childTag__name">{{item.name}}({{ item.num }})</a>
</template> </template>
</div> </div>
<i slot="reference" class="el-icon-more"></i> <i slot="reference" class="el-icon-more"></i>
......
...@@ -349,7 +349,7 @@ ...@@ -349,7 +349,7 @@
.then((res) => { .then((res) => {
// console.log(res,res.data,res.data.errorCode) // console.log(res,res.data,res.data.errorCode)
const resData = res.data const resData = res.data
if (resData.errorCode == 0) { if (resData.errorCode == 1) {
showMsg.showmsg('添加成功','success') showMsg.showmsg('添加成功','success')
return; return;
} }
...@@ -402,7 +402,7 @@ ...@@ -402,7 +402,7 @@
const resData = res.data const resData = res.data
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success') // showMsg.showmsg('保存成功','success')
// that.libDatas = resData.result; that.libDatas = resData.result;
return; return;
} }
......
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
.then((res) => { .then((res) => {
// console.log(res,res.data,res.data.errorCode) // console.log(res,res.data,res.data.errorCode)
var resData = res.data var resData = res.data
if (resData.errorCode == 0) { if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success') // showMsg.showmsg('保存成功','success')
return; return;
} }
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
.then((res) => { .then((res) => {
// console.log(res,res.data,res.data.errorCode) // console.log(res,res.data,res.data.errorCode)
var resData = res.data var resData = res.data
if (resData.errorCode == 0) { if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success') // showMsg.showmsg('保存成功','success')
return; return;
} }
......
...@@ -361,7 +361,7 @@ ...@@ -361,7 +361,7 @@
.then((res) => { .then((res) => {
// console.log(res,res.data,res.data.errorCode) // console.log(res,res.data,res.data.errorCode)
var resData = res.data var resData = res.data
if (resData.errorCode == 0) { if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success') // showMsg.showmsg('保存成功','success')
return; return;
} }
...@@ -425,7 +425,7 @@ ...@@ -425,7 +425,7 @@
.then((res) => { .then((res) => {
// console.log(res,res.data,res.data.errorCode) // console.log(res,res.data,res.data.errorCode)
var resData = res.data var resData = res.data
if (resData.errorCode == 0) { if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success') // showMsg.showmsg('保存成功','success')
return; return;
} }
...@@ -486,7 +486,7 @@ ...@@ -486,7 +486,7 @@
.then((res) => { .then((res) => {
// console.log(res,res.data,res.data.errorCode) // console.log(res,res.data,res.data.errorCode)
var resData = res.data var resData = res.data
if (resData.errorCode == 0) { if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success') // showMsg.showmsg('保存成功','success')
return; return;
} }
...@@ -625,7 +625,7 @@ ...@@ -625,7 +625,7 @@
.then((res) => { .then((res) => {
// console.log(res,res.data,res.data.errorCode) // console.log(res,res.data,res.data.errorCode)
var resData = res.data var resData = res.data
if (resData.errorCode == 0) { if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success') // showMsg.showmsg('保存成功','success')
return; return;
} }
...@@ -656,7 +656,7 @@ ...@@ -656,7 +656,7 @@
.then((res) => { .then((res) => {
// console.log(res,res.data,res.data.errorCode) // console.log(res,res.data,res.data.errorCode)
var resData = res.data var resData = res.data
if (resData.errorCode == 0) { if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success') // showMsg.showmsg('保存成功','success')
return; return;
} }
......
...@@ -37,28 +37,7 @@ ...@@ -37,28 +37,7 @@
} }
}, },
methods: { methods: {
/**
* 添加到我的标签库
*/
toAddMyTagLib() {
var that = this
},
/**
* 搜索标签
*/
searchEnterFun(e) {
var that = this
console.log(e)
},
/**
*点击分类到列表
*/
toPlatformTagList() {
}
}, },
mounted() { mounted() {
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
v-model="tagSearch" v-model="tagSearch"
@keyup.enter.native="searchEnterFun"> @keyup.enter.native="searchEnterFun">
</el-input> </el-input>
<el-button type="primary" @click="toAddMyTagLib" class="fr m-l-8">添加至我的标签库</el-button> <el-button type="primary" @click="toAddMyTagLib('mult')" class="fr m-l-8">添加至我的标签库</el-button>
<el-button type="primary" @click="toManualTagEdit" class="fr">新增标签</el-button> <el-button type="primary" @click="toManualTagEdit" class="fr">新增标签</el-button>
<el-button type="primary" @click="showCateDialog" class="fr">分类设置</el-button> <el-button type="primary" @click="showCateDialog" class="fr">分类设置</el-button>
</div> </div>
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
<router-link :to="{path:'/myTagDetail',query:{name:scope.row.id}}" class="edit-btn el-button--text">详情</router-link> <router-link :to="{path:'/myTagDetail',query:{name:scope.row.id}}" class="edit-btn el-button--text">详情</router-link>
<router-link :to="{path:'/manualTagEdit',query:{name:scope.row.id}}" class="edit-btn el-button--text p-l-20">编辑</router-link> <router-link :to="{path:'/manualTagEdit',query:{name:scope.row.id}}" class="edit-btn el-button--text p-l-20">编辑</router-link>
<el-button type="text" size="small" class="p-l-20" @click="toAddMyTagLib(scope.row.id)">添加至我的标签库</el-button> <el-button type="text" size="small" class="p-l-20" @click="toAddMyTagLib('single',scope.row.id)">添加至我的标签库</el-button>
<el-popover <el-popover
placement="top" placement="top"
width="160" width="160"
...@@ -185,6 +185,7 @@ ...@@ -185,6 +185,7 @@
popVisible: false, popVisible: false,
} }
], ],
selTagTableData: [], // 已选择
// 分页参数 // 分页参数
currentPage: 1, currentPage: 1,
...@@ -271,52 +272,43 @@ ...@@ -271,52 +272,43 @@
/** /**
* 添加到我的标签库 * 添加到我的标签库
*/ */
toAddMyTagLib(id) { toAddMyTagLib(flag,id) {
const that = this const that = this
console.log(id) console.log(id)
const para = {
}, }
if (flag === 'mult' ) {
/** if (!that.selTagTableData.length) {
* 添加单个ID至我的标签库 that.$message.error({ message: '请选择标签' })
*/ return false;
addByTagId(para) {
const that = this
getRequest('/enterpriseMemberTag/addByTagId',para)
.then((res) => {
// console.log(res,res.data,res.data.errorCode)
var resData = res.data
if (resData.errorCode == 0) {
// showMsg.showmsg('保存成功','success')
return;
} }
para.tagId = [];
errMsg.errorMsg(resData) that.selTagTableData.forEach(function(ele,index){
para.tagId.push(ele.id)
})
.catch(function (error) {
console.log(error);
that.$message.error({
duration: 1000,
message: error.message
}) })
}); console.log(para)
para.tagId = para.tagId.join(',')
that.addByTagId('addByTagIds',para)
}else {
para.tagId = id
that.addByTagId('addByTagId',para)
}
}, },
/** /**
* 添加个ID至我的标签库 * 添加个ID至我的标签库
*/ */
addByTagId(para) { addByTagId(name,para) {
const that = this const that = this
getRequest('/enterpriseMemberTag/addByTagIds',para) getRequest(`/enterpriseMemberTag/${name}`,para)
.then((res) => { .then((res) => {
// console.log(res,res.data,res.data.errorCode) // console.log(res,res.data,res.data.errorCode)
var resData = res.data var resData = res.data
if (resData.errorCode == 0) { if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success') showMsg.showmsg('添加成功','success')
return; return;
} }
...@@ -339,6 +331,8 @@ ...@@ -339,6 +331,8 @@
searchEnterFun(e) { searchEnterFun(e) {
const that = this const that = this
console.log(e) console.log(e)
that.currentPage = 1;
that.getTagList()
}, },
/** /**
...@@ -347,6 +341,7 @@ ...@@ -347,6 +341,7 @@
handleSelectChange(val) { handleSelectChange(val) {
const that = this const that = this
console.log(val); console.log(val);
that.selTagTableData = val;
}, },
/** /**
...@@ -356,6 +351,7 @@ ...@@ -356,6 +351,7 @@
const that = this const that = this
console.log(`每页 ${val} 条`); console.log(`每页 ${val} 条`);
that.pageSize = val; that.pageSize = val;
that.getTagList();
}, },
/** /**
...@@ -364,7 +360,8 @@ ...@@ -364,7 +360,8 @@
handleCurrentChange(val) { handleCurrentChange(val) {
const that = this const that = this
console.log(`当前页: ${val}`); console.log(`当前页: ${val}`);
that.currentPage = val that.currentPage = val;
that.getTagList();
}, },
/** /**
...@@ -383,7 +380,7 @@ ...@@ -383,7 +380,7 @@
.then((res) => { .then((res) => {
// console.log(res,res.data,res.data.errorCode) // console.log(res,res.data,res.data.errorCode)
var resData = res.data var resData = res.data
if (resData.errorCode == 0) { if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success') // showMsg.showmsg('保存成功','success')
return; return;
} }
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
width="200" width="200"
trigger="hover"> trigger="hover">
<span>{{ scope.row.descipe }}</span> <span>{{ scope.row.descipe }}</span>
<a slot="reference" class="pointer" :href="'/memberGroupDetail?id='+scope.row.id">{{ scope.row.name }}</a> <a slot="reference" class="pointer" :href="'/memberGroupDetail?memberTagGroupId='+scope.row.id">{{ scope.row.name }}</a>
</el-popover> </el-popover>
</template> </template>
</el-table-column> </el-table-column>
...@@ -100,9 +100,9 @@ ...@@ -100,9 +100,9 @@
label="操作"> label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" size="small" class="" @click="toInvalid(scope.row.id,scope.row)">失效</el-button> <el-button type="text" size="small" class="" @click="toInvalid(scope.row.id,scope.row)">失效</el-button>
<router-link :to="{path:'/memberGroupDetail',query:{name:scope.row.id}}" class="edit-btn el-button--text p-l-20">详情</router-link> <router-link :to="{path:'/memberGroupDetail',query:{memberTagGroupId:scope.row.id}}" class="edit-btn el-button--text p-l-20">详情</router-link>
<router-link :to="{path:'/memberGroupEdit',query:{name:scope.row.id}}" class="edit-btn el-button--text p-l-20">编辑</router-link> <router-link :to="{path:'/memberGroupEdit',query:{memberTagGroupId:scope.row.id}}" class="edit-btn el-button--text p-l-20">编辑</router-link>
<el-popover <el-popover
placement="top" placement="top"
width="160" width="160"
...@@ -308,7 +308,7 @@ ...@@ -308,7 +308,7 @@
.then((res) => { .then((res) => {
// console.log(res,res.data,res.data.errorCode) // console.log(res,res.data,res.data.errorCode)
var resData = res.data var resData = res.data
if (resData.errorCode == 0) { if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success') // showMsg.showmsg('保存成功','success')
return; return;
} }
...@@ -333,13 +333,15 @@ ...@@ -333,13 +333,15 @@
const that = this const that = this
const para = { const para = {
groupName: that.tagSearch, // 搜索字段 groupName: that.tagSearch, // 搜索字段
pageSize: that.pageSize,
pageNum: that.currentPage
} }
getRequest('/member-tag-group/findList.json',para) getRequest('/member-tag-group/findList.json',para)
.then((res) => { .then((res) => {
// console.log(res,res.data,res.data.errorCode) // console.log(res,res.data,res.data.errorCode)
var resData = res.data var resData = res.data
if (resData.errorCode == 0) { if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success') // showMsg.showmsg('保存成功','success')
return; return;
} }
......
...@@ -26,11 +26,11 @@ ...@@ -26,11 +26,11 @@
:data="tagTableData" :data="tagTableData"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%"
@selection-change="handleSelectChange"> ><!-- @selection-change="handleSelectChange" -->
<el-table-column <!-- <el-table-column
type="selection" type="selection"
> >
</el-table-column> </el-table-column> -->
<el-table-column <el-table-column
prop="name" prop="name"
label="标签名称" label="标签名称"
...@@ -213,27 +213,33 @@ ...@@ -213,27 +213,33 @@
searchEnterFun: _debounce(function(e) { searchEnterFun: _debounce(function(e) {
var that = this var that = this
console.log(e) console.log(e)
that.currentPage = 1;
that.getTagList()
},500), },500),
/** /**
* 表格---多选 * 表格---多选(无用)
*/ */
handleSelectChange(val) { // handleSelectChange(val) {
var that = this // var that = this
console.log(val); // console.log(val);
}, // },
/** /**
* 分页---页码变化 * 分页---页码变化
*/ */
handleSizeChange(val) { handleSizeChange(val) {
console.log(`每页 ${val} 条`); console.log(`每页 ${val} 条`);
that.pageSize = val;
that.getTagList()
}, },
/** /**
* 分页---当前页变化 * 分页---当前页变化
*/ */
handleCurrentChange(val) { handleCurrentChange(val) {
console.log(`当前页: ${val}`); console.log(`当前页: ${val}`);
that.currentPage = val;
that.getTagList()
}, },
/** /**
...@@ -252,7 +258,7 @@ ...@@ -252,7 +258,7 @@
.then((res) => { .then((res) => {
// console.log(res,res.data,res.data.errorCode) // console.log(res,res.data,res.data.errorCode)
var resData = res.data var resData = res.data
if (resData.errorCode == 0) { if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success') // showMsg.showmsg('保存成功','success')
return; return;
} }
...@@ -325,7 +331,7 @@ ...@@ -325,7 +331,7 @@
.then((res) => { .then((res) => {
// console.log(res,res.data,res.data.errorCode) // console.log(res,res.data,res.data.errorCode)
const resData = res.data const resData = res.data
if (resData.errorCode == 0) { if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success') // showMsg.showmsg('保存成功','success')
return; return;
} }
......
...@@ -77,10 +77,6 @@ ...@@ -77,10 +77,6 @@
} }
}, },
methods: { methods: {
/**
*
*/
}, },
mounted() { mounted() {
......
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
isExist: 1, isExist: 1,
} }
], ],
selTagTableData: [], // 选择 selTagTableData: [], // 选择
// 分页参数 // 分页参数
currentPage: 1, currentPage: 1,
...@@ -189,6 +189,12 @@ ...@@ -189,6 +189,12 @@
that.$message.error({ message: '请选择标签' }) that.$message.error({ message: '请选择标签' })
return false; return false;
} }
para.tagId = [];
that.selTagTableData.forEach(function(ele,index){
para.tagId.push(ele.id)
})
console.log(para)
para.tagId = para.tagId.join(',')
that.addByTagId('addByTagIds',para) that.addByTagId('addByTagIds',para)
}else { }else {
that.addByTagId('addByTagId',para) that.addByTagId('addByTagId',para)
...@@ -206,7 +212,7 @@ ...@@ -206,7 +212,7 @@
.then((res) => { .then((res) => {
// console.log(res,res.data,res.data.errorCode) // console.log(res,res.data,res.data.errorCode)
var resData = res.data var resData = res.data
if (resData.errorCode == 0) { if (resData.errorCode == 1) {
showMsg.showmsg('添加成功','success') showMsg.showmsg('添加成功','success')
return; return;
} }
...@@ -230,6 +236,8 @@ ...@@ -230,6 +236,8 @@
searchEnterFun(e) { searchEnterFun(e) {
const that = this const that = this
console.log(e) console.log(e)
that.currentPage = 1;
that.getTagList()
}, },
/** /**
...@@ -248,6 +256,7 @@ ...@@ -248,6 +256,7 @@
const that = this const that = this
console.log(`每页 ${val} 条`); console.log(`每页 ${val} 条`);
that.pageSize = val; that.pageSize = val;
that.getTagList();
}, },
/** /**
* 分页---当前页变化 * 分页---当前页变化
...@@ -255,7 +264,8 @@ ...@@ -255,7 +264,8 @@
handleCurrentChange(val) { handleCurrentChange(val) {
const that = this const that = this
console.log(`当前页: ${val}`); console.log(`当前页: ${val}`);
that.currentPage = val that.currentPage = val;
that.getTagList();
}, },
/** /**
...@@ -274,7 +284,7 @@ ...@@ -274,7 +284,7 @@
.then((res) => { .then((res) => {
// console.log(res,res.data,res.data.errorCode) // console.log(res,res.data,res.data.errorCode)
var resData = res.data var resData = res.data
if (resData.errorCode == 0) { if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success') // showMsg.showmsg('保存成功','success')
return; return;
} }
......
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