Commit 6fdddcce by member

相对时间段配置

parent 9cb83b51
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.cac169a633d09e702ef22a6b5a5d1552.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.18.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.12.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.02.js></script><script type=text/javascript src=./static/js/manifest.8713f11d1d1296661810.js></script><script type=text/javascript src=./static/js/vendor.c30398db3b176e06f763.js></script><script type=text/javascript src=./static/js/app.a3a8b63e904a794e780e.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.b288ac7cef534b17794db2b0f1830f41.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.18.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.12.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.02.js></script><script type=text/javascript src=./static/js/manifest.b02581a56107f29e99bd.js></script><script type=text/javascript src=./static/js/vendor.c30398db3b176e06f763.js></script><script type=text/javascript src=./static/js/app.b44e31b6648855bffbd8.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.
......@@ -71,4 +71,19 @@
li {
background-color: #f7faff;
}
}
.cre-dialog {
.el-dialog__body {
padding: 10px 20px;
}
.cre-btn {
padding-top: 20px;
text-align: right;
}
.tips {
text-align: left;
font-size: 18px;
color: #303133;
}
}
\ No newline at end of file
......@@ -455,8 +455,8 @@ input:focus {
.w-309 {
width: 309px;
}
.w-348 {
width: 348px;
.w-384 {
width: 384px;
}
.w-329 {
width: 329px;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([15],{BWbR:function(t,a){},"G/on":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=e("3Xzz"),n=e("5QTb"),s=(e("Mk6G"),e("3E4D")),o=e("Ch4/"),i=(e("PI0u"),e("P9l9")),l={name:"platformTagList",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"平台标签库",path:"/platformTagLib"},{name:"平台标签列表",path:""}],tagLibName:"platformTag",tagSearch:"",tagTableData:[],selTagTableData:[],currentPage:1,pageSize:20,total:0,currentGroupId:0}},methods:{toAddMyTagLib:function(t,a){var e={};if("mult"===t){if(!this.selTagTableData.length)return this.$message.error({message:"请选择标签"}),!1;e.tagIds=[],this.selTagTableData.forEach(function(t,a){e.tagIds.push(t.tagId)}),e.tagIds=e.tagIds.join(","),this.addByTagId("addByTagIds",e)}else e.tagId=a,this.addByTagId("addByTagId",e)},addByTagId:function(t,a){var e=this;Object(i.a)("/enterpriseMemberTag/"+t,a).then(function(t){var a=t.data;if(1==a.errorCode)return s.a.showmsg("添加成功","success"),void e.getTagList();o.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},searchEnterFun:function(t){this.currentPage=1,this.getTagList()},clearSearch:function(){this.currentPage=1,this.getTagList()},handleSelectChange:function(t){this.selTagTableData=t},handleSizeChange:function(t){this.pageSize=t,this.getTagList()},handleCurrentChange:function(t){this.currentPage=t,this.$route.fullPath.includes("?")&&this.$router.push(this.$route.path+"?tagLevelGroupId="+this.$route.query.tagLevelGroupId+"&currentPage="+t),this.getTagList()},getTagList:function(t){var a=this,e={tagName:a.tagSearch,tagLevelGroupId:a.currentGroupId,pageNum:a.currentPage,pageSize:a.pageSize};Object(i.a)("/memberTag/platformTagPageList",e).then(function(t){var e=t.data;if(1==e.errorCode)return a.tagTableData=e.result.result,void(a.total=e.result.totalCount);o.a.errorMsg(e)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},getUrlParams:function(){this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:0,this.currentPage=this.$route.query.currentPage?parseInt(this.$route.query.currentPage):1,this.getTagList()}},watch:{$route:{handler:function(t,a){this.getUrlParams()},deep:!0}},mounted:function(){this.getUrlParams()},components:{navCrumb:r.a,tagCategory:n.a}},c={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"platformTagList-wrap common-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box"},[e("div",{staticClass:"common-wrap__cateTags"},[e("tag-category",{attrs:{tagLibName:t.tagLibName}})],1),t._v(" "),e("div",{staticClass:"common-wrap__opt"},[e("el-input",{staticClass:"w-184",attrs:{placeholder:"搜索标签","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(a){if(!("button"in a)&&t._k(a.keyCode,"enter",13,a.key))return null;t.searchEnterFun(a)}},model:{value:t.tagSearch,callback:function(a){t.tagSearch=a},expression:"tagSearch"}}),t._v(" "),e("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:function(a){t.toAddMyTagLib("mult")}}},[t._v("添加至我的标签库")])],1),t._v(" "),e("div",{staticClass:"common-wrap__table m-t-20"},[e("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tagTableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectChange}},[e("el-table-column",{attrs:{type:"selection"}}),t._v(" "),e("el-table-column",{attrs:{prop:"tagName",label:"标签名称","show-overflow-tooltip":""}}),t._v(" "),e("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述","show-overflow-tooltip":""}}),t._v(" "),e("el-table-column",{attrs:{label:"是否实时"},scopedSlots:t._u([{key:"default",fn:function(a){return[t._v("\n "+t._s(1==a.row.isActive?"实时":"非实时")+"\n ")]}}])}),t._v(" "),e("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("router-link",{staticClass:"edit-btn el-button--text",attrs:{to:{path:"/platformTagDetail",query:{tagId:a.row.tagId,addFlag:a.row.isAdd,form:"notMyTag",navSign:"platformTag"}}}},[t._v("详情")]),t._v(" "),e("el-button",{staticClass:"p-l-10",attrs:{type:"text",size:"small",disabled:1==a.row.isAdd},on:{click:function(e){t.toAddMyTagLib("single",a.row.tagId)}}},[t._v("\n "+t._s(1==a.row.isAdd?"已":"")+"添加至我的标签库\n ")])]}}])})],1)],1),t._v(" "),0!=t.tagTableData.length?e("div",{staticClass:"block common-wrap__page text-right"},[e("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(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var g=e("VU/8")(l,c,!1,function(t){e("BWbR")},"data-v-c7474496",null);a.default=g.exports}});
\ No newline at end of file
webpackJsonp([19],{"/aiX":function(t,e){},Gy5W:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("5reh"),o={name:"App",data:function(){return{projectName:"member-tag",contentHeight:"0px",collapseFlag:!1,leftModulesName:"会员标签"}},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.$store.commit(n.d,"达摩GIC"),document.title=this.$store.state.title,this.pathName=window.location.hash.split("/")[1],this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},a={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"index"}},[e("vue-gic-header",{attrs:{projectName:this.projectName,collapseFlag:this.collapseFlag},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])],1)},staticRenderFns:[]};var s=i("VU/8")(o,a,!1,function(t){i("/aiX")},null,null);e.default=s.exports}});
\ No newline at end of file
webpackJsonp([18],{"/aiX":function(t,e){},Gy5W:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("5reh"),o={name:"App",data:function(){return{projectName:"member-tag",contentHeight:"0px",collapseFlag:!1,leftModulesName:"会员标签"}},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.$store.commit(n.d,"达摩GIC"),document.title=this.$store.state.title,this.pathName=window.location.hash.split("/")[1],this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},a={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"index"}},[e("vue-gic-header",{attrs:{projectName:this.projectName,collapseFlag:this.collapseFlag},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])],1)},staticRenderFns:[]};var s=i("VU/8")(o,a,!1,function(t){i("/aiX")},null,null);e.default=s.exports}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
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([31],{"/NA0":function(e,t){},0:function(e,t,a){a("j1ja"),e.exports=a("NHnr")},"4qCZ":function(e,t){},"5reh":function(e,t,a){"use strict";a.d(t,"a",function(){return n}),a.d(t,"b",function(){return o}),a.d(t,"d",function(){return r}),a.d(t,"c",function(){return m});var n="login",o="logout",r="title",m="show"},"5tgt":function(e,t,a){e.exports=function(e,t){return function(n){a("Vna/")("./"+e+"/"+t+".vue").then(function(e){n(e)})}}},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("//Fk"),o=a.n(n),r=a("hKoQ"),m=a.n(r),u={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var i,l=a("VU/8")({name:"App",data:function(){return{}}},u,!1,function(e){a("/NA0")},null,null).exports,p=a("pRNm"),s=a.n(p),c=a("5tgt"),g=a.n(c),f=function(e){a.e(1).then(a.bind(null,"EE2z")).then(function(t){e(t)})},T=[{path:"/",name:"index",redirect:"member-tag",component:g()("index","index"),children:[{path:"/member-tag",name:"会员标签",component:g()("platformTag","member-tag"),meta:{title:"会员标签"}},{path:"/platformTagList",component:g()("platformTag","platformTagList"),name:"平台标签列表",meta:{title:"会员标签-平台标签列表"}},{path:"/platformTagDetail",component:g()("platformTag","platformTagDetail"),name:"平台标签详情",meta:{title:"会员标签-平台标签详情"}},{path:"/manualTagLib",component:g()("manualTag","manualTagLib"),name:"手工标签库",meta:{title:"会员标签-手工标签库"}},{path:"/manualTagList",component:g()("manualTag","manualTagList"),name:"手工标签列表",meta:{title:"会员标签-手工标签列表"}},{path:"/manualTagEdit",component:g()("manualTag","manualTagEdit"),name:"编辑手工标签",meta:{title:"会员标签-编辑手工标签"}},{path:"/manualTagDetail",component:g()("manualTag","manualTagDetail"),name:"手工标签详情",meta:{title:"会员标签-手工标签详情"}},{path:"/myTagLib",component:g()("myTag","myTagLib"),name:"会员标签",meta:{title:"会员标签"}},{path:"/myTagList",component:g()("myTag","myTagList"),name:"我的标签库列表",meta:{title:"会员标签-我的标签库列表"}},{path:"/myTagDetail",component:g()("myTag","myTagDetail"),name:"标签详情",meta:{title:"会员标签-标签详情"}}]},{path:"/memberGroupList",name:"memberGroupListIndex",redirect:"memberGroupList",component:g()("memberGroup","index"),children:[{path:"/memberGroupList",component:g()("memberGroup","memberGroupList"),name:"会员分组",meta:{title:"会员标签-会员分组"}},{path:"/memberGroupDetail",component:g()("memberGroup","memberGroupDetail"),name:"分组详情",meta:{title:"会员标签-分组详情"}},{path:"/memberGroupEdit",component:g()("memberGroup","memberGroupEdit"),name:"编辑分组",meta:{title:"会员标签-编辑分组"}}]},{path:"/403",name:"无权访问",component:f},{path:"/404",name:"error404",component:f},{path:"/500",name:"error500",component:f},{path:"*",redirect:"/404",hidden:!0}],d=new s.a({routes:T,scrollBehavior:function(){return{y:0}}}),v=a("zL8q"),b=a("Rf8U"),h=a.n(b),G=a("mtWM"),L=a.n(G),y=a("bOdI"),x=a.n(y),w=a("SJI6"),k=a.n(w),V=a("lRwf"),N=a.n(V),P=a("5reh");N.a.use(k.a);var D=new k.a.Store({state:{user:{},token:null,title:"",show:!1,tagRealName:""},mutations:(i={},x()(i,P.a,function(e,t){sessionStorage.token=t,e.token=t}),x()(i,P.b,function(e){sessionStorage.removeItem("token"),e.token=null}),x()(i,P.d,function(e,t){e.title=t}),x()(i,P.c,function(e,t){e.show=t}),x()(i,"modiftTagName",function(e,t){e.tagRealName=t}),i)}),E=(a("Xcu2"),a("4qCZ"),a("uKUT"),a("GqmT")),j=a.n(E);m.a.polyfill(),Vue.use(j.a),Vue.config.devtools=!0,Vue.use(h.a,L.a),Vue.axios.defaults.withCredentials=!0,Vue.axios.interceptors.request.use(function(e){return e},function(e){return o.a.reject(e)}),Vue.axios.interceptors.response.use(function(e){return 200==e.status&&e.data.errorCode,e},function(e){if(e.response)switch(e.response.status){case 401:window.location.href=window.location.origin+"/gic-web/#/";case 500:v.Message.error("服务器500")}return o.a.reject(e.response.data)}),new Vue({el:"#app",router:d,store:D,components:{App:l},template:"<App/>"}),console.log(Vue.config)},SJI6:function(e,t){e.exports=Vuex},"Vna/":function(e,t,a){var n={"./errorPage/401.vue":["4KSJ",9],"./errorPage/403.vue":["aM+6",6],"./errorPage/404.vue":["PRsh",7],"./errorPage/500.vue":["/HCr",8],"./errorPage/index.vue":["EE2z",1],"./index/index.vue":["YPWR",12],"./linktools/linktools.vue":["Lc2x",0,21],"./linktools/linktoolsold.vue":["/8lq",0,13],"./linktools/linktoolspage.vue":["HLON",0,16],"./login/login.vue":["6Qob",0,22],"./manualTag/manualTagDetail.vue":["Tl/4",0,17],"./manualTag/manualTagEdit.vue":["308P",0,2],"./manualTag/manualTagLib.vue":["q490",0,23],"./manualTag/manualTagList.vue":["f0o3",0,19],"./memberGroup/edit-tag.vue":["jkVl",0],"./memberGroup/group-list.vue":["SJ7l",0,25],"./memberGroup/index.vue":["Gy5W",18],"./memberGroup/memberGroupDetail.vue":["+/ey",0,4],"./memberGroup/memberGroupEdit.vue":["q0vu",0,11],"./memberGroup/memberGroupList.vue":["oVck",0,3],"./memberGroup/recommend-table.vue":["9ZvA",29],"./memberGroup/tags-group-list.vue":["vcge",0],"./memberGroup/tags-group.vue":["wx1P",0],"./myTag/myTagDetail.vue":["ijla",0,14],"./myTag/myTagLib.vue":["twLH",0,24],"./myTag/myTagList.vue":["NJTp",0,26],"./platformTag/add-tag.vue":["tKpj",28],"./platformTag/member-tag.vue":["bytj",0,5],"./platformTag/platformTagDetail.vue":["KN59",0,10],"./platformTag/platformTagLib.vue":["puJc",0,27],"./platformTag/platformTagList.vue":["G/on",0,15],"./platformTag/second-tag.vue":["CUHN",0],"./platformTag/tag-container.vue":["Gndl",0],"./platformTag/tag-type.vue":["iHP3",0,20]};function o(e){var t=n[e];return t?Promise.all(t.slice(1).map(a.e)).then(function(){return a(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(n)},o.id="Vna/",e.exports=o},Xcu2:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT:function(e,t){}},[0]);
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,t,f){for(var o,d,b,i=0,u=[];i<c.length;i++)d=c[i],n[d]&&u.push(n[d][0]),n[d]=0;for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);for(a&&a(c,t,f);u.length;)u.shift()();if(f)for(i=0;i<f.length;i++)b=r(r.s=f[i]);return b};var c={},n={33:0};function r(a){if(c[a])return c[a].exports;var n=c[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var a=n[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,r){a=n[e]=[c,r]});a[2]=c;var t=document.getElementsByTagName("head")[0],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,r.nc&&f.setAttribute("nonce",r.nc),f.src=r.p+"static/js/"+e+"."+{0:"8294502836877886f92c",1:"1a66f3452cb905b67755",2:"b8e7ba8b9ed33bb8edb8",3:"845da1712d91c352b190",4:"b1e0b8676aea4a756bd0",5:"4e89c6a5a33aec685b2f",6:"31eb51419dea97959645",7:"f169140cbd6ad9f5611c",8:"fe61efcd1ccfc3412252",9:"ea583eedf0e8e01807bd",10:"f0730ab3ea2cc610aab4",11:"1eec2221e8db2b68cc7f",12:"ff49b3face62ef7aef5f",13:"5ff52df0201b9234fa89",14:"698cfa21b2f783438c71",15:"45a78311835c4d786a28",16:"507fddf23cee64d7ade1",17:"3d781ba9b065c4046ffa",18:"9022ea0326694df97cda",19:"58217a281ee1178e0c5d",20:"bc8195ed0acaabed5583",21:"e39e3461a16359f1196b",22:"f3afb7a393426670d5ef",23:"487d36d247e011d8b493",24:"ac711164a179b5d1a97d",25:"44b6c765f01f468dd90e",26:"3aca132c47a1220d1d2f",27:"2c48b10d124016d57c0b",28:"3493abb67f82d7dbc1cb",29:"93394f129023c3e6e8fb",32:"a9aaa6e5d01423c1a780"}[e]+".js";var o=setTimeout(d,12e4);function d(){f.onerror=f.onload=null,clearTimeout(o);var a=n[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return f.onerror=f.onload=d,t.appendChild(f),c},r.m=e,r.c=c,r.d=function(e,a,c){r.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},r.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(a,"a",a),a},r.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},r.p="./",r.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
<template>
<el-dialog title="批量操作分组数据" width="340px" top="30vh" :visible.sync="batchDialog" center :modal-append-to-body="false" :before-close="closeBatch">
<el-dialog title="" width="400px" top="30vh" custom-class="cre-dialog" :visible.sync="batchDialog" center :modal-append-to-body="false" :before-close="closeBatch">
<p class="tips" slot="title">提示</p>
<div class="batch-content">
<div v-if="operNum == 0">
<div class="el-message-box__status el-icon-warning"></div>
......@@ -10,7 +12,10 @@
<p class="batch-txt">是否确定批量删除分组!</p>
</div>
<div v-if="operNum == 2">
我的会员分组
<p class="title">
我的会员分组
</p>
<ul class="batch-ul">
<li v-for="item in groupList" :key="item.memberTagGroupClassifyId" class="batch-li" @click="chooseGroup(item)">
{{ item.classifyName }}
......@@ -20,10 +25,14 @@
</div>
</div>
<span slot="footer" class="dialog-footer">
<div class="cre-btn">
<el-button @click="closeBatch">取 消</el-button>
<el-button type="primary" @click="confirmBatch">确 定</el-button>
</div>
<!-- <span slot="footer" class="dialog-footer">
<el-button @click="closeBatch">取 消</el-button>
<el-button type="primary" @click="confirmBatch">确 定</el-button>
</span>
</span> -->
</el-dialog>
</template>
......@@ -120,8 +129,8 @@ export default {
})
.then(res => {
if (res.errorCode === 1) {
this.groupList = res.result.map(el => ({
...el,
this.groupList = res.result.filter(el => el.classifyName != '未分类').map(item => ({
...item,
edit: false
}));
}
......@@ -159,6 +168,10 @@ export default {
padding-left: 35px;
padding-top: 7px;
}
.batch-title {
color: #333;
font-size: 18px;
}
.batch-ul {
margin-top: 10px;
.batch-li {
......
......@@ -82,11 +82,15 @@ export default {
handleSave() {
const ret = this.$refs.tagConfig.getTemplateData();
this.templateData = JSON.parse(JSON.stringify(ret));
this.tagId = this.tagDataAssgin.tagId;
this.$refs.tagConfig.saveConfirm().then(_ => {
this.$emit('update:showEditTagPop', false);
this.$emit('refersh', this.tagDataAssgin);
this.$refs.tagConfig.saveConfirm().then(res => {
if (res) {
this.$emit('update:showEditTagPop', false);
this.$emit('refersh', this.tagDataAssgin);
}
});
},
returnTagData(list) {
......
......@@ -317,6 +317,7 @@ export default {
this.showEditTagPop = true;
this.$nextTick(() => {
this.tagData = Object.assign({}, this.tagData, this.ruleForm.selectedTags[this.activeTagsGroupIndex][this.activeTagIndex]);
this.tagData.editCondition = true;
});
},
......@@ -324,6 +325,7 @@ export default {
selectedTag(tagData) {
this.showEditTagPop = true;
this.tagData = Object.assign({}, this.tagData, tagData);
this.tagData.editCondition = false;
},
// 保存选择的标签数据
returnTagData(data) {
......
......@@ -16,7 +16,7 @@
<el-option key="" label="全部" value=""> </el-option>
</el-select>
<div class="batch-option">
<el-select v-model="batchSelect" @change="batchHandleSelect" style="width: 150px;" placeholder="批量操作" class="w-220 m-l-0">
<el-select v-model="batchSelect" @change="batchHandleSelect" @focus="handleFocus" style="width: 150px;" placeholder="批量操作" class="w-220 m-l-0">
<el-option :key="0" label="失效" :value="0"> </el-option>
<el-option :key="1" label="删除" :value="1"> </el-option>
<el-option :key="2" label="修改所属分类" :value="2"> </el-option>
......@@ -375,16 +375,28 @@ export default {
/**
* 批量操作
*/
handleFocus() {
if (!this.multipleSelection.length) {
this.batchSelect = '';
this.$message.warning({
message: '请先勾选分组',
duration: 2000
});
return false;
}
},
batchHandleSelect(val) {
this.operateNumber = val;
if (!this.multipleSelection.length) {
this.batchSelect = '';
this.$message.warning({
message: '请先勾选分组',
duration: 2000
});
return;
return false;
} else {
this.operateNumber = val;
this.batchVisiable = true;
}
this.batchVisiable = true;
},
setRowClassName({ row, rowIndex }) {
......
......@@ -18,7 +18,12 @@
<div class="tag-all">
<p class="tag-name">
{{ tagName }}
<span v-if="tagName == '全部标签'">
{{ tagName }}
</span>
<span v-else>
{{ tagName }} 】搜索结果
</span>
<el-button type="primary" class="add-newtag" @click="addNewTag" v-show="handTag == 1">新增标签</el-button>
</p>
......
......@@ -71,4 +71,19 @@
li {
background-color: #f7faff;
}
}
.cre-dialog {
.el-dialog__body {
padding: 10px 20px;
}
.cre-btn {
padding-top: 20px;
text-align: right;
}
.tips {
text-align: left;
font-size: 18px;
color: #303133;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment