Commit 842b79b2 by 无尘

add: 增加我的标签库接口方法

parent fbbb4f32
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.9c43416f940169b249c009892809e26b.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.5ec1e343dd7020097195.js></script><script type=text/javascript src=./static/js/vendor.ae6fa584b9d3d8074e5d.js></script><script type=text/javascript src=./static/js/app.a4acb9d2e14ecaa1998a.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.641d2bd404888a1e7cf0ac990033f3b8.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.2e4d6b122305c08bc83d.js></script><script type=text/javascript src=./static/js/vendor.09cb8cbbb9af29784157.js></script><script type=text/javascript src=./static/js/app.da44d658767f3ef0f234.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([12],{"2sdK":function(t,a){},q490:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),s=n("BdFv"),i=(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:s.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")(i,r,!1,function(t){n("2sdK")},"data-v-c13eca0a",null);a.default=o.exports}});
//# sourceMappingURL=12.dece2fedb495aa36c9a6.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/view/manualTag/manualTagLib.vue","webpack:///./src/view/manualTag/manualTagLib.vue?f057","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":"yJAmBAA,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/12.dece2fedb495aa36c9a6.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 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-c13eca0a\",\"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-c13eca0a\\\",\\\"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-c13eca0a\\\",\\\"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-c13eca0a\"\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([16],{"79PI":function(t,a){},puJc:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),r=e("BdFv"),i=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"platformTagLib",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}],tagCategory:"platformTagList"}},methods:{},mounted:function(){},components:{navCrumb:n.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=e("VU/8")(i,s,!1,function(t){e("79PI")},"data-v-61caee3f",null);a.default=o.exports}});
//# sourceMappingURL=16.843a47923cc77fa59466.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/view/platformTag/platformTagLib.vue","webpack:///./src/view/platformTag/platformTagLib.vue?567d","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":"yJA2DAA,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/16.843a47923cc77fa59466.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 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-61caee3f\",\"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-61caee3f\\\",\\\"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-61caee3f\\\",\\\"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-61caee3f\"\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([20],{"JfU+":function(e,t){},oVck:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o("3Xzz"),a=(o("Mk6G"),o("3E4D"),o("Ch4/")),r=function(e,t){function o(e){return(e=e.toString())[1]?e:"0"+e}if(null!=e){var n=new Date(e),a=n.getFullYear(),r=n.getMonth()+1,i=n.getDate(),l=n.getHours(),s=n.getMinutes(),u=n.getSeconds();return[a,r,i].map(o).join(t||"-")+" "+[l,s,u].map(o).join(":")}return"--"},i=(o("PI0u"),o("P9l9")),l={name:"memberGroupList",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}],tagSearch:"",groupTableData:[{memberTagGroupId:1,describle:"标签列表数据",groupName:"123",isRealTime:1,latestUpdateTime:"2018-09-30 14:30:28",updateRate:"-",effectiveStatus:1,memberCount:"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(e){return console.log(e,"--"!=e?e.split(" ")[0]:"--"),"--"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return"--"!=e?e.split(" ")[1]:"--"},formatNum:function(e){return(e+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},methods:{changeRoute:function(e){this.$router.push(e)},toAddGroup:function(){this.changeRoute("/memberGroupEdit")},searchEnterFun:function(e){console.log(e)},handleSizeChange:function(e){console.log("每页 "+e+" 条")},handleCurrentChange:function(e){console.log("当前页: "+e)},toInvalid:function(e){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(e,t){t.popVisible=!1},toDelTag:function(e,t){var o=this;o.$confirm("此操作将永久删除该文件, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){o.groupTableData.splice(e,1)}).catch(function(){})},delGroup:function(e){var t=this,o={memberTagGroupId:e};Object(i.a)("/member-tag-group/delete.json",o).then(function(e){var t=e.data;1!=t.errorCode&&a.a.errorMsg(t)}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},getGroupList:function(){var e=this,t={groupName:e.tagSearch,pageSize:e.pageSize,pageNum:e.currentPage};Object(i.a)("/member-tag-group/findList.json",t).then(function(t){var o=t.data;if(1==o.errorCode)return e.total=o.result.totalCount,o.result.result.forEach(function(e,t){e.latestUpdateTime||(e.latestUpdateTime="- -"),e.createTime&&(e.createTime=r(e.createTime))}),void(e.groupTableData=o.result.result);a.a.errorMsg(o)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getGroupList()},components:{navCrumb:n.a}},s={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"memberGroupList-wrap common-wrap"},[o("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),o("div",{staticClass:"right-content"},[o("div",{staticClass:"right-box"},[o("div",{staticClass:"common-wrap__opt"},[o("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(" "),o("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:e.toAddGroup}},[e._v("新增分组")])],1),e._v(" "),o("div",{staticClass:"common-wrap__table m-t-20"},[o("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.groupTableData,"tooltip-effect":"dark"}},[o("el-table-column",{attrs:{label:"分组名称",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[o("el-popover",{attrs:{placement:"top-start",width:"200",trigger:"hover"}},[o("span",[e._v(e._s(t.row.describle))]),e._v(" "),o("a",{staticClass:"pointer",attrs:{slot:"reference",href:"/memberGroupDetail?memberTagGroupId="+t.row.memberTagGroupId},slot:"reference"},[e._v(e._s(t.row.groupName))])])]}}])}),e._v(" "),o("el-table-column",{attrs:{label:"是否实时",width:"100px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.isRealTime?"实时":"非实时")+"\n ")]}}])}),e._v(" "),o("el-table-column",{attrs:{label:"最近更新时间",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatTimeYMD")(t.row.latestUpdateTime))+"\n "),o("p",[e._v(e._s(e._f("formatTimeHMS")(t.row.latestUpdateTime)))])]}}])}),e._v(" "),o("el-table-column",{attrs:{label:"更新频率",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.updateRate)+"\n ")]}}])}),e._v(" "),o("el-table-column",{attrs:{prop:"state",label:"状态",width:"50px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.effectiveStatus?"有效":"失效")+"\n ")]}}])}),e._v(" "),o("el-table-column",{attrs:{prop:"peopleCover",label:"覆盖人数",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatNum")(t.row.memberCount))+" 人\n ")]}}])}),e._v(" "),o("el-table-column",{attrs:{prop:"createTime",label:"创建时间",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatTimeYMD")(t.row.createTime))+"\n "),o("p",[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),o("el-table-column",{attrs:{prop:"recentUpdateDate",label:"到期时间",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatTimeYMD")(t.row.effectiveDate))+"\n "),o("p",[e._v(e._s(e._f("formatTimeHMS")(t.row.effectiveDate)))])]}}])}),e._v(" "),o("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[o("el-button",{attrs:{type:"text",size:"small"},on:{click:function(o){e.toInvalid(t.row.memberTagGroupId,t.row)}}},[e._v("失效")]),e._v(" "),o("router-link",{staticClass:"edit-btn el-button--text p-l-20",attrs:{to:{path:"/memberGroupDetail",query:{memberTagGroupId:t.row.memberTagGroupId}}}},[e._v("详情")]),e._v(" "),o("router-link",{staticClass:"edit-btn el-button--text p-l-20",attrs:{to:{path:"/memberGroupEdit",query:{memberTagGroupId:t.row.memberTagGroupId}}}},[e._v("编辑")]),e._v(" "),o("el-popover",{attrs:{placement:"top",width:"160"},model:{value:t.row.popVisible,callback:function(o){e.$set(t.row,"popVisible",o)},expression:"scope.row.popVisible"}},[o("p",{staticStyle:{"line-height":"1.5",padding:"10px 10px 20px"}},[e._v("确认删除吗?")]),e._v(" "),o("div",{staticStyle:{"text-align":"right",margin:"0"}},[o("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(o){e.cancelDelTag(t.$index,t.row)}}},[e._v("取消")]),e._v(" "),o("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(o){e.toDelTag(t.$index,t.row)}}},[e._v("确定")])],1),e._v(" "),o("el-button",{staticClass:"p-l-20",attrs:{slot:"reference",type:"text"},slot:"reference"},[e._v("\n 删除\n ")])],1)]}}])})],1)],1),e._v(" "),0!=e.groupTableData.length?o("div",{staticClass:"block common-wrap__page text-right"},[o("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(" "),o("vue-gic-footer")],1)},staticRenderFns:[]};var u=o("VU/8")(l,s,!1,function(e){o("JfU+")},"data-v-50cbef74",null);t.default=u.exports}});
//# sourceMappingURL=20.b3cad66f7678905684ab.js.map
\ No newline at end of file
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=20.f908174573964538db82.js.map
\ 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],{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=21.07c82561157b5e9a3988.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/21.07c82561157b5e9a3988.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
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=19.fe136bb2a23a31036fe4.js.map
\ No newline at end of file
webpackJsonp([21],{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=21.cc4b11f9d593442a0878.js.map
\ No newline at end of file
webpackJsonp([22],{fuM5:function(e,t){},oVck:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o("3Xzz"),n=(o("Mk6G"),o("3E4D"),o("Ch4/")),r=(o("PI0u"),o("P9l9")),i={name:"memberGroupList",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}],tagSearch:"",tagTableData:[{memberTagGroupId:1,describle:"标签列表数据",groupName:"123",isRealTime:1,latestUpdateTime:"2018-09-30 14:30:28",updateRate:"-",effectiveStatus:1,memberCount:"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(e){return console.log(e,"--"!=e?e.split(" ")[0]:"--"),"--"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return"--"!=e?e.split(" ")[1]:"--"},formatNum:function(e){return(e+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},methods:{changeRoute:function(e){this.$router.push(e)},toAddGroup:function(){this.changeRoute("/memberGroupEdit")},searchEnterFun:function(e){console.log(e)},handleSizeChange:function(e){console.log("每页 "+e+" 条")},handleCurrentChange:function(e){console.log("当前页: "+e)},toInvalid:function(e){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(e,t){t.popVisible=!1},toDelTag:function(e,t){var o=this;o.$confirm("此操作将永久删除该文件, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){o.tagTableData.splice(e,1)}).catch(function(){})},delGroup:function(e){var t=this,o={memberTagGroupId:e};Object(r.a)("/member-tag-group/delete.json",o).then(function(e){var t=e.data;1!=t.errorCode&&n.a.errorMsg(t)}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},getGroupList:function(){var e=this,t={groupName:e.tagSearch,pageSize:e.pageSize,pageNum:e.currentPage};Object(r.a)("/member-tag-group/findList.json",t).then(function(e){var t=e.data;1!=t.errorCode&&n.a.errorMsg(t)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){},components:{navCrumb:a.a}},l={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"memberGroupList-wrap common-wrap"},[o("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),o("div",{staticClass:"right-content"},[o("div",{staticClass:"right-box"},[o("div",{staticClass:"common-wrap__opt"},[o("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(" "),o("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:e.toAddGroup}},[e._v("新增分组")])],1),e._v(" "),o("div",{staticClass:"common-wrap__table m-t-20"},[o("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tagTableData,"tooltip-effect":"dark"}},[o("el-table-column",{attrs:{label:"分组名称",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[o("el-popover",{attrs:{placement:"top-start",width:"200",trigger:"hover"}},[o("span",[e._v(e._s(t.row.describle))]),e._v(" "),o("a",{staticClass:"pointer",attrs:{slot:"reference",href:"/memberGroupDetail?memberTagGroupId="+t.row.memberTagGroupId},slot:"reference"},[e._v(e._s(t.row.groupName))])])]}}])}),e._v(" "),o("el-table-column",{attrs:{label:"是否实时",width:"100px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.isRealTime?"实时":"非实时")+"\n ")]}}])}),e._v(" "),o("el-table-column",{attrs:{label:"最近更新时间",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatTimeYMD")(t.row.latestUpdateTime))+"\n "),o("p",[e._v(e._s(e._f("formatTimeHMS")(t.row.latestUpdateTime)))])]}}])}),e._v(" "),o("el-table-column",{attrs:{label:"更新频率",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.updateRate)+"\n ")]}}])}),e._v(" "),o("el-table-column",{attrs:{prop:"state",label:"状态",width:"50px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.effectiveStatus?"有效":"失效")+"\n ")]}}])}),e._v(" "),o("el-table-column",{attrs:{prop:"peopleCover",label:"覆盖人数",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatNum")(t.row.memberCount))+" 人\n ")]}}])}),e._v(" "),o("el-table-column",{attrs:{prop:"createTime",label:"创建时间",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatTimeYMD")(t.row.createTime))+"\n "),o("p",[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),o("el-table-column",{attrs:{prop:"recentUpdateDate",label:"到期时间",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatTimeYMD")(t.row.expiredTime))+"\n "),o("p",[e._v(e._s(e._f("formatTimeHMS")(t.row.expiredTime)))])]}}])}),e._v(" "),o("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[o("el-button",{attrs:{type:"text",size:"small"},on:{click:function(o){e.toInvalid(t.row.memberTagGroupId,t.row)}}},[e._v("失效")]),e._v(" "),o("router-link",{staticClass:"edit-btn el-button--text p-l-20",attrs:{to:{path:"/memberGroupDetail",query:{memberTagGroupId:t.row.memberTagGroupId}}}},[e._v("详情")]),e._v(" "),o("router-link",{staticClass:"edit-btn el-button--text p-l-20",attrs:{to:{path:"/memberGroupEdit",query:{memberTagGroupId:t.row.memberTagGroupId}}}},[e._v("编辑")]),e._v(" "),o("el-popover",{attrs:{placement:"top",width:"160"},model:{value:t.row.popVisible,callback:function(o){e.$set(t.row,"popVisible",o)},expression:"scope.row.popVisible"}},[o("p",{staticStyle:{"line-height":"1.5",padding:"10px 10px 20px"}},[e._v("确认删除吗?")]),e._v(" "),o("div",{staticStyle:{"text-align":"right",margin:"0"}},[o("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(o){e.cancelDelTag(t.$index,t.row)}}},[e._v("取消")]),e._v(" "),o("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(o){e.toDelTag(t.$index,t.row)}}},[e._v("确定")])],1),e._v(" "),o("el-button",{staticClass:"p-l-20",attrs:{slot:"reference",type:"text"},slot:"reference"},[e._v("\n 删除\n ")])],1)]}}])})],1)],1),e._v(" "),0!=e.tagTableData.length?o("div",{staticClass:"block common-wrap__page text-right"},[o("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(" "),o("vue-gic-footer")],1)},staticRenderFns:[]};var s=o("VU/8")(i,l,!1,function(e){o("fuM5")},"data-v-1ccfa385",null);t.default=s.exports}});
//# sourceMappingURL=22.ba0463839ff9dd55a78a.js.map
\ 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.
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 n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var f,d,i,u=0,b=[];u<r.length;u++)d=r[u],c[d]&&b.push(c[d][0]),c[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=t(t.s=o[u]);return i};var r={},c={26:0};function t(n){if(r[n])return r[n].exports;var c=r[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,t),c.l=!0,c.exports}t.e=function(e){var n=c[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,t){n=c[e]=[r,t]});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,t.nc&&o.setAttribute("nonce",t.nc),o.src=t.p+"static/js/"+e+"."+{0:"f0bab96076bd22498361",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"0106258f51de87a40b57",6:"963a8888a2c77c5d1ca4",7:"4cbb4a317203667a8770",8:"383864ab09e4f624885b",9:"6284684f59ae2a7586a8",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"dece2fedb495aa36c9a6",13:"e29aa5893a93a16c34bc",14:"92199267df3426ee7901",15:"9f61f06d1572f1265cc0",16:"843a47923cc77fa59466",17:"83e469d672229c638715",18:"6ed416399616407ccde9",19:"bfcaf83a5268b922dc57",20:"b3cad66f7678905684ab",21:"cc4b11f9d593442a0878",22:"22f63d81db79c0c78098",25:"9ceafa4ee79176c87d81"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var n=c[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return o.onerror=o.onload=d,a.appendChild(o),r},t.m=e,t.c=r,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="./",t.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.2e4d6b122305c08bc83d.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,o,f){for(var a,d,i,u=0,b=[];u<r.length;u++)d=r[u],t[d]&&b.push(t[d][0]),t[d]=0;for(a in o)Object.prototype.hasOwnProperty.call(o,a)&&(e[a]=o[a]);for(n&&n(r,o,f);b.length;)b.shift()();if(f)for(u=0;u<f.length;u++)i=c(c.s=f[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 o=document.getElementsByTagName("head")[0],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,c.nc&&f.setAttribute("nonce",c.nc),f.src=c.p+"static/js/"+e+"."+{0:"6103b66860dd1b78f40a",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"22c5f9aaf47285057226",6:"e8a80e25b08656461f52",7:"166462f15848c7acd34f",8:"d026a8e41b09e5635ee9",9:"960d859c3e8c3d93ff01",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"efe5e750726bc1eaf8fb",13:"7d9f0a0c4cc0d01338c8",14:"92199267df3426ee7901",15:"9f61f06d1572f1265cc0",16:"2f5942e91ee9b162d882",17:"d8a2f038f5a054d1529a",18:"6ed416399616407ccde9",19:"fe136bb2a23a31036fe4",20:"f908174573964538db82",21:"07c82561157b5e9a3988",22:"ba0463839ff9dd55a78a",25:"9ceafa4ee79176c87d81"}[e]+".js";var a=setTimeout(d,12e4);function d(){f.onerror=f.onload=null,clearTimeout(a);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return f.onerror=f.onload=d,o.appendChild(f),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.5ec1e343dd7020097195.js.map
\ 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.
......@@ -115,6 +115,23 @@
"vue": "^2.5.11"
}
},
"@gic-test/vue-gic-store-new": {
"version": "1.0.9",
"resolved": "http://www.gicdev.com:7001/@gic-test/vue-gic-store-new/download/@gic-test/vue-gic-store-new-1.0.9.tgz",
"integrity": "sha1-WHyjBkBpMeMhqOX6N5ZX3/ZmtYc=",
"requires": {
"axios": "^0.18.0",
"qs": "^6.5.2",
"vue": "^2.5.16"
},
"dependencies": {
"qs": {
"version": "6.5.2",
"resolved": "http://registry.npm.taobao.org/qs/download/qs-6.5.2.tgz",
"integrity": "sha1-yzroBuh0BERYTvFUzo7pjUA/PjY="
}
}
},
"@riophae/vue-treeselect": {
"version": "0.0.29",
"resolved": "https://registry.npmjs.org/@riophae/vue-treeselect/-/vue-treeselect-0.0.29.tgz",
......
......@@ -15,6 +15,7 @@
"@gic-test/vue-gic-footer": "^1.0.8",
"@gic-test/vue-gic-header": "^1.3.31",
"@gic-test/vue-gic-img-preview": "^1.0.12",
"@gic-test/vue-gic-store-new": "^1.0.9",
"@riophae/vue-treeselect": "0.0.29",
"@tinymce/tinymce-vue": "^1.0.8",
"element-ui": "^2.3.9",
......
......@@ -36,5 +36,30 @@ export default {
var t2 = formatDig(new Date(val[1]).getHours())+':'+formatDig(new Date(val[1]).getMinutes())
t= t1+'-'+t2
return t;
}
},
/**
* 时间戳转时间
* @param timestamp
* 调用方法 timeToDateTime(timestamp 参数,年月日连接符(-/.))
*/
timeToDateTime(timestamp, sym) { //格式化 timestamp 返回年月日时分秒
function formatNumber(n) { //对于小于 10 的数字返回 0[1-9]
n = n.toString()
return n[1] ? n : '0' + n
}
if (timestamp != null) {
var date = new Date(timestamp);
var year = date.getFullYear();
var month = date.getMonth() + 1;
var day = date.getDate();
var h = date.getHours();
var m = date.getMinutes();
var s = date.getSeconds();
// console.log(timestamp);
return [year, month, day].map(formatNumber).join(sym || "-") + " " + [h, m, s].map(formatNumber).join(":")
}
return '--';
},
}
......@@ -368,6 +368,7 @@
name: "tagShortDetail",
props: {
showTagDetail: Boolean,
tagShortId: String
},
data() {
return {
......@@ -1042,6 +1043,40 @@
ele.showCity = false;
})
}
},
/**
* 获取当前标签数据 --- api
*/
getTagData(tagId) {
const that = this
const para = {
tagId: tagId
}
getRequest('/memberTag/getTagById',para)
.then((res) => {
// console.log(res,res.data,res.data.errorCode)
var resData = res.data
if (resData.errorCode == 1) {
that.tagData.tagId = resData.result.tagId;
that.tagData.tagName = resData.result.tagName;
that.tagData.tagDescribe = resData.result.tagDescribe;
that.tagData.isActive = resData.result.isActive;
return;
}
errMsg.errorMsg(resData)
})
.catch(function (error) {
console.log(error);
that.$message.error({
duration: 1000,
message: error.message
})
});
}
},
......@@ -1049,10 +1084,16 @@
showTagDetail: function(newVal) {
this.tagShortVisible = newVal
},
tagShortId: function(newVal) {
const that = this;
that.getTagData(newVal)
},
},
mounted() {
var that = this;
that.tagShortVisible = that.showTagDetail
const that = this;
that.tagShortVisible = that.showTagDetail;
console.log(that.tagShortId)
// that.getTagData(that.tagShortId)
},
components: {
......
......@@ -69,47 +69,18 @@
selectTag: [],// 已选择标签数据
tagListData: [
{
id: 1,
tagId: 1,
tagName: "123",
tagValue: '描述描述,最多200字,一行显示50字,默认显示一行',
isRealTime: 1
},
{
id: 1,
tagId: 1,
tagName: "123",
tagValue: '描述描述,最多200字,一行显示50字,默认显示一行',
isRealTime: 1
},
{
id: 1,
tagName: "123",
tagValue: '描述描述,最多200字,一行显示50字,默认显示一行',
isRealTime: 1
},
{
id: 1,
tagName: "123",
tagValue: '描述描述,最多200字,一行显示50字,默认显示一行',
isRealTime: 1
},
{
id: 1,
tagName: "123",
tagValue: '描述描述,最多200字,一行显示50字,默认显示一行',
isRealTime: 1
},
{
id: 1,
tagName: "123",
tagValue: '描述描述,最多200字,一行显示50字,默认显示一行',
isRealTime: 1
},
{
id: 1,
tagName: "123",
tagValue: '描述描述,最多200字,一行显示50字,默认显示一行',
isRealTime: 1
}
]
}
},
......@@ -153,7 +124,7 @@
delTag(id) {
const that = this
const para = {
tagValueId: '',
}
getRequest('/member-tag-value/delete.json',para)
......@@ -233,6 +204,7 @@
mounted() {
const that = this
console.log()
that.getTagList()
},
components: {
......
......@@ -19,6 +19,8 @@ import vueAreaAb from '@gic-test/vue-area-ab'
// 新增公共 footer插件
import vueGicFooter from '@gic-test/vue-gic-footer'
import vueGicImgPreview from '@gic-test/vue-gic-img-preview'
import vueGicStoreNew from '@gic-test/vue-gic-store-new'
Vue.use(vueGicStoreNew)
Vue.use(vueGicImgPreview)
......
......@@ -16,7 +16,7 @@
<div class="common-wrap__table m-t-20">
<el-table
ref="multipleTable"
:data="tagTableData"
:data="groupTableData"
tooltip-effect="dark"
style="width: 100%">
<el-table-column
......@@ -92,8 +92,8 @@
width="150px"
show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.expiredTime | formatTimeYMD }}
<p>{{ scope.row.expiredTime | formatTimeHMS }}</p>
{{ scope.row.effectiveDate | formatTimeYMD }}
<p>{{ scope.row.effectiveDate | formatTimeHMS }}</p>
</template>
</el-table-column>
<el-table-column
......@@ -120,7 +120,7 @@
</el-table-column>
</el-table>
</div>
<div class="block common-wrap__page text-right" v-if="tagTableData.length!=0">
<div class="block common-wrap__page text-right" v-if="groupTableData.length!=0">
<el-pagination
background
@size-change="handleSizeChange"
......@@ -142,6 +142,7 @@
import strLength from '@/common/js/strlen';
import showMsg from '@/common/js/showmsg';
import errMsg from '@/common/js/error';
import timeFormat from '@/common/js/timeFormat';
import { _debounce } from "@/common/js/public";
import { getRequest, postRequest, postJson, postForm } from '@/api/api';
export default {
......@@ -163,7 +164,7 @@
tagSearch: '', // 搜索值绑定的参数
// 会员分组列表数据
tagTableData:[
groupTableData:[
{
memberTagGroupId: 1,
describle: '标签列表数据',
......@@ -288,7 +289,7 @@
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
that.tagTableData.splice(index,1)
that.groupTableData.splice(index,1)
}).catch(() => {
});
......@@ -342,6 +343,18 @@
// console.log(res,res.data,res.data.errorCode)
var resData = res.data
if (resData.errorCode == 1) {
that.total = resData.result.totalCount;
resData.result.result.forEach(function(ele,index){
if (!ele.latestUpdateTime) {
ele.latestUpdateTime = '- -'
}
if (ele.createTime) {
ele.createTime = timeFormat.timeToDateTime(ele.createTime)
}
})
that.groupTableData = resData.result.result
// showMsg.showmsg('保存成功','success')
return;
}
......@@ -361,7 +374,8 @@
},
mounted() {
const that = this
that.getGroupList()
},
components: {
navCrumb
......
......@@ -10,8 +10,8 @@
</div>
<div class="checkboxOption-wrap__body">
<div class="checkboxOption-wrap__body__title">标签值设置</div>
<!-- 选项控件 -->
<template v-if="true">
<!-- 1.选项控件 -->
<template v-if="templateCode == 'tag001'">
<div class="checkboxOption-wrap__body__checkAll border-box">
<el-checkbox :indeterminate="tagData.isIndeterminate" v-model="tagData.checkAll" @change="handleCheckAllChange">全选</el-checkbox>
</div>
......@@ -22,8 +22,8 @@
</div>
</template>
<!-- 数字范围 -->
<template v-if="false">
<!-- 2.数字范围 -->
<template v-if="templateCode == 'tag003'">
<div class="m-b-20">
<el-input v-model="tagData.numRange[0]" class="select-wrap-input" style="width: 100px;margin-right: 0;" placeholder="请输入数字" @blur="blurFrom"></el-input><!-- @keyup.native="(value) => toInputFrom(value)" -->
<label> - </label>
......@@ -32,8 +32,8 @@
</div>
</template>
<!-- 时间属性-固定时段/相对时段 -->
<template v-if="false">
<!-- 3.时间属性-固定时段/相对时段 -->
<template v-if="templateCode == 'tag0014'">
<el-radio v-model="tagData.radio" label="1">固定时段</el-radio>
<el-radio v-model="tagData.radio" label="2">相对时段</el-radio>
<!-- 固定时段 -->
......@@ -93,30 +93,30 @@
</div>
</template>
<!-- 最近 天 -->
<template v-if="false">
<!-- 4.最近 天 -->
<template v-if="templateCode == 'tag005'">
<div>
<label class="inline-block middle label-unit">最近</label><el-input v-model="tagData.timeRecent" placeholder="请输入" class="w-90 m-r-20 m-l-20" @blur="(value) => toEditInput(value,'timeRecent')"></el-input><label class="inline-block middle label-unit"></label>
</div>
</template>
<!-- 之后 天 -->
<template v-if="false">
<!-- 5.之后 天 -->
<template v-if="templateCode == 'tag006'">
<div>
<label class="inline-block middle label-unit">之后</label><el-input v-model="tagData.timeAfter" placeholder="请输入" class="w-90 m-r-20 m-l-20" @blur="(value) => toEditInput(value,'timeAfter')"></el-input><label class="inline-block middle label-unit"></label>
</div>
</template>
<!-- 属于/不属于 -->
<template v-if="false">
<!-- 6.属于/不属于 -->
<template v-if="templateCode == 'tag002'">
<div>
<el-radio v-model="tagData.computeRadio" label="1">属于</el-radio>
<el-radio v-model="tagData.computeRadio" label="2">不属于</el-radio>
</div>
</template>
<!-- 固定时段/最近 -->
<template v-if="false">
<!-- 7.固定时段/最近 -->
<template v-if="templateCode == 'tag004'">
<div>
<el-radio v-model="tagData.fixedRecentRadio" label="1">固定时段</el-radio>
<el-radio v-model="tagData.fixedRecentRadio" label="2">最近时段</el-radio>
......@@ -143,8 +143,8 @@
</div>
</template>
<!-- 输入添加值 -->
<template v-if="false">
<!-- 8.输入添加值 -->
<template v-if="templateCode == 'tag007'">
<div>
<el-input v-model="tagData.addInputValue" placeholder="请输入" class="w-184 m-t-20 m-r-20"></el-input><el-button class="m-t-20 middle" type="text" @click.stop="addInputVal">添加</el-button>
</div>
......@@ -155,8 +155,8 @@
</div>
</template>
<!-- 输入搜索下拉多选 添加值 -->
<template v-if="false">
<!-- 9.输入搜索下拉多选 添加值 -->
<template v-if="templateCode == 'tag008'">
<div class="m-t-18 add-search-select">
<el-select
size="small"
......@@ -184,8 +184,8 @@
</div>
</template>
<!-- 存在其一/所有,/属于不属于 -->
<template v-if="false">
<!-- 10.存在其一/所有,/属于不属于 -->
<template v-if="templateCode == 'tag012'">
<div>
<el-select v-model="tagData.selectOne" placeholder="请选择" class="w-98 m-l-8">
<el-option label="所有" value="1"></el-option>
......@@ -204,8 +204,15 @@
</div>
</template>
<!-- 多选项( 全部选项/已选选项 ) -->
<template v-if="false">
<!-- 11.门店选择器 -->
<template v-if="templateCode == 'tag011'">
<div>
<vue-gic-store-new :options="options" :uuid.sync="uuid" :isAdd="isAdd"></vue-gic-store-new>
</div>
</template>
<!-- 11.多选项( 全部选项/已选选项 ) -->
<template v-if="templateCode == 'tag009'">
<div class="multiple-select-wrap">
<div class="multiple-select-wrap__search w-184">
<el-input
......@@ -238,8 +245,8 @@
</div>
</template>
<!-- 多选项 城市选择( 全部选项/已选选项 ) -->
<template v-if="true">
<!-- 12.多选项 城市选择( 全部选项/已选选项 ) -->
<template v-if="templateCode == 'tag010'">
<div class="multiple-select-wrap city-select-wrap">
<div class="multiple-select-wrap__search w-184">
<el-input
......@@ -339,7 +346,16 @@
],
tagId: '', // 获取当前标签的 id
tagFlag: false, //判断是否添加暂存架还是添加我的标签库的标志,true: 暂存库,false: 我的标签
tagFlag: false, // 判断是否添加暂存架还是添加我的标签库的标志,true: 暂存库,false: 我的标签
templateCode: '', // 当前模板 code
// 门店选择器参数
uuid: '', // 新增传空,编辑必传
// 需要的下拉 默认为全部[0,1,2,3,4,5]
// 0 全部 1 门店类型 2门店标签 3 门店区域 4 门店分组 5 部分门店
options: [0,1,2,3,4,5],
isAdd: false,
tagData: {
tagId: '',
......
......@@ -57,7 +57,8 @@
<router-link :to="{path:'/myTagDetail',query:{tagId:scope.row.tagId}}" class="edit-btn el-button--text">详情</router-link>
<el-button type="text" size="small" class="p-l-32" @click="addTemporary(scope.row.tagId)">添加至暂存架</el-button>
<!-- <el-button type="text" size="small" class="p-l-32" @click="toDelTag(scope.row.id)">删除</el-button> -->
<el-popover
<!-- 本期不做 -->
<!-- <el-popover
placement="top"
width="160"
v-model="scope.row.popVisible">
......@@ -69,7 +70,7 @@
<el-button slot="reference" class="m-l-10" type="text">
删除
</el-button>
</el-popover>
</el-popover> -->
</template>
</el-table-column>
</el-table>
......@@ -90,7 +91,7 @@
</div>
<vue-gic-footer></vue-gic-footer>
<!-- 标签详情缩写版 -->
<tagShortDetail :showTagDetail="showTagDetail" @hideTag="handleHideTag"></tagShortDetail>
<tagShortDetail :tagShortId="tagShortDetailId" :showTagDetail="showTagDetail" @hideTag="handleHideTag"></tagShortDetail>
<!-- 暂存架 -->
<tag-temporary @showShortDetail="showShortDetail"></tag-temporary>
</div>
......@@ -122,9 +123,9 @@
],
showTagDetail: false, // 标签详情缩小版显示/隐藏
tagShortDetailId: '', // 标签详情缩写版 id
tagLibName: 'myTag',// 面包屑分类需要的参数
tagSearch: '', // 搜索值绑定的参数
// 标签列表数据
......@@ -244,7 +245,7 @@
pageSize: that.pageSize, // 一页显示个数
}
getRequest('/memberTag/platformTagPageList',para)
getRequest('/enterpriseMemberTag/pageList',para)
.then((res) => {
// console.log(res,res.data,res.data.errorCode)
var resData = res.data
......@@ -273,7 +274,9 @@
*/
addTemporary(id){
const that = this
that.showTagDetail = true
console.log(id);
that.tagShortDetailId = id;
that.showTagDetail = true;
},
/**
......
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