Commit e5f75789 by 无尘

add: 增加搜索清除

parent 440ec1bb
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.16089240944695a219e3fca3e9bf3d7a.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.4a1d7dea35a58ea8f55c.js></script><script type=text/javascript src=./static/js/vendor.ae6fa584b9d3d8074e5d.js></script><script type=text/javascript src=./static/js/app.64f3c88092ee56d9de5b.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.a60f361ddb2fe07aae5e98a444a28222.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.34123420156d48b8a0bd.js></script><script type=text/javascript src=./static/js/vendor.ae6fa584b9d3d8074e5d.js></script><script type=text/javascript src=./static/js/app.7d892afc1f468e99a463.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.
webpackJsonp([16],{"G/on":function(t,e,a){"use strict";Object.defineProperty(e,"__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:[],selTagTableData:[],currentPage:1,pageSize:20,total:0,currentGroupId:0}},methods:{toAddMyTagLib:function(t,e){var a={};if("mult"===t){if(!this.selTagTableData.length)return this.$message.error({message:"请选择标签"}),!1;a.tagIds=[],this.selTagTableData.forEach(function(t,e){a.tagIds.push(t.tagId)}),a.tagIds=a.tagIds.join(","),this.addByTagId("addByTagIds",a)}else a.tagId=e,this.addByTagId("addByTagId",a)},addByTagId:function(t,e){var a=this;Object(i.a)("/enterpriseMemberTag/"+t,e).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):s.a.showmsg("添加成功","success")}).catch(function(t){console.log(t),a.$message.error({duration:1e3,message:t.message})})},searchEnterFun:function(t){console.log(t),this.currentPage=1,this.getTagList()},handleSelectChange:function(t){console.log(t),this.selTagTableData=t},handleSizeChange:function(t){console.log("每页 "+t+" 条"),this.pageSize=t,this.getTagList()},handleCurrentChange:function(t){console.log("当前页: "+t),this.currentPage=t,this.getTagList()},getTagList:function(t){var e=this,a={tagName:e.tagSearch,tagLevelGroupId:e.currentGroupId,pageNum:e.currentPage,pageSize:e.pageSize};Object(i.a)("/memberTag/platformTagPageList",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tagTableData=a.result.result,void(e.total=a.result.totalCount);o.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},watch:{$route:{handler:function(t,e){console.log("获取当前路由:",t);this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:0,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:0,this.getTagList()},components:{navCrumb:r.a,tagCategory:n.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"platformTagList-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"common-wrap__cateTags"},[a("tag-category",{attrs:{tagLibName:t.tagLibName,tagCateId:t.currentGroupId}})],1),t._v(" "),a("div",{staticClass:"common-wrap__opt"},[a("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(" "),a("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:function(e){t.toAddMyTagLib("mult")}}},[t._v("添加至我的标签库")])],1),t._v(" "),a("div",{staticClass:"common-wrap__table m-t-20"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tagTableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectChange}},[a("el-table-column",{attrs:{type:"selection"}}),t._v(" "),a("el-table-column",{attrs:{prop:"tagName",label:"标签名称"}}),t._v(" "),a("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isActive?"实时":"非实时")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("router-link",{staticClass:"edit-btn el-button--text",attrs:{to:{path:"/myTagDetail",query:{tagId:e.row.tagId}}}},[t._v("详情")]),t._v(" "),a("el-button",{staticClass:"p-l-32",attrs:{type:"text",size:"small",disabled:1==e.row.isAdd},on:{click:function(a){t.toAddMyTagLib("single",e.row.tagId)}}},[t._v("\n 添加至我的标签库\n ")])]}}])})],1)],1),t._v(" "),0!=t.tagTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("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(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var u=a("VU/8")(l,c,!1,function(t){a("YS/P")},"data-v-5ee35748",null);e.default=u.exports},"YS/P":function(t,e){}});
//# sourceMappingURL=16.a6f848bad9fa839b7184.js.map
\ No newline at end of file
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=18.6ed416399616407ccde9.js.map
\ No newline at end of file
webpackJsonp([17],{"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=17.1948b2304dfe70d18f05.js.map
\ 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([18],{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=18.ab734ebe9809ba629573.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
webpackJsonp([19],{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=19.7766cd380e454598a96d.js.map
\ 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
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
webpackJsonp([22],{"G/on":function(t,e,a){"use strict";Object.defineProperty(e,"__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:[],selTagTableData:[],currentPage:1,pageSize:20,total:0,currentGroupId:0}},methods:{toAddMyTagLib:function(t,e){var a={};if("mult"===t){if(!this.selTagTableData.length)return this.$message.error({message:"请选择标签"}),!1;a.tagIds=[],this.selTagTableData.forEach(function(t,e){a.tagIds.push(t.tagId)}),a.tagIds=a.tagIds.join(","),this.addByTagId("addByTagIds",a)}else a.tagId=e,this.addByTagId("addByTagId",a)},addByTagId:function(t,e){var a=this;Object(i.a)("/enterpriseMemberTag/"+t,e).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):s.a.showmsg("添加成功","success")}).catch(function(t){console.log(t),a.$message.error({duration:1e3,message:t.message})})},searchEnterFun:function(t){console.log(t),this.currentPage=1,this.getTagList()},clearSearch:function(){this.currentPage=1,this.getTagList()},handleSelectChange:function(t){console.log(t),this.selTagTableData=t},handleSizeChange:function(t){console.log("每页 "+t+" 条"),this.pageSize=t,this.getTagList()},handleCurrentChange:function(t){console.log("当前页: "+t),this.currentPage=t,this.getTagList()},getTagList:function(t){var e=this,a={tagName:e.tagSearch,tagLevelGroupId:e.currentGroupId,pageNum:e.currentPage,pageSize:e.pageSize};Object(i.a)("/memberTag/platformTagPageList",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tagTableData=a.result.result,void(e.total=a.result.totalCount);o.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},watch:{$route:{handler:function(t,e){console.log("获取当前路由:",t);this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:0,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:0,this.getTagList()},components:{navCrumb:r.a,tagCategory:n.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"platformTagList-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"common-wrap__cateTags"},[a("tag-category",{attrs:{tagLibName:t.tagLibName,tagCateId:t.currentGroupId}})],1),t._v(" "),a("div",{staticClass:"common-wrap__opt"},[a("el-input",{staticClass:"w-184",attrs:{placeholder:"请输入标签","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return"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(" "),a("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:function(e){t.toAddMyTagLib("mult")}}},[t._v("添加至我的标签库")])],1),t._v(" "),a("div",{staticClass:"common-wrap__table m-t-20"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tagTableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectChange}},[a("el-table-column",{attrs:{type:"selection"}}),t._v(" "),a("el-table-column",{attrs:{prop:"tagName",label:"标签名称"}}),t._v(" "),a("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isActive?"实时":"非实时")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("router-link",{staticClass:"edit-btn el-button--text",attrs:{to:{path:"/myTagDetail",query:{tagId:e.row.tagId}}}},[t._v("详情")]),t._v(" "),a("el-button",{staticClass:"p-l-32",attrs:{type:"text",size:"small",disabled:1==e.row.isAdd},on:{click:function(a){t.toAddMyTagLib("single",e.row.tagId)}}},[t._v("\n 添加至我的标签库\n ")])]}}])})],1)],1),t._v(" "),0!=t.tagTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("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(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var g=a("VU/8")(l,c,!1,function(t){a("m3mw")},"data-v-2a78abbb",null);e.default=g.exports},m3mw:function(t,e){}});
//# sourceMappingURL=22.493c0cba44414267dac9.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.
!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:"44a0a51c9759e5497d67",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"b40e0608a64372c8127a",6:"e8a80e25b08656461f52",7:"201fb65ae09cbec0f1ac",8:"d026a8e41b09e5635ee9",9:"85fb625f8b0688f1c0e3",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"efe5e750726bc1eaf8fb",13:"09eacd74cd2a18a8574a",14:"92199267df3426ee7901",15:"9f61f06d1572f1265cc0",16:"2f5942e91ee9b162d882",17:"1948b2304dfe70d18f05",18:"ab734ebe9809ba629573",19:"7766cd380e454598a96d",20:"02f8d018afc1a9baaf51",21:"07c82561157b5e9a3988",22:"493c0cba44414267dac9",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.34123420156d48b8a0bd.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,o,a){for(var c,d,i,u=0,b=[];u<r.length;u++)d=r[u],t[d]&&b.push(t[d][0]),t[d]=0;for(c in o)Object.prototype.hasOwnProperty.call(o,c)&&(e[c]=o[c]);for(n&&n(r,o,a);b.length;)b.shift()();if(a)for(u=0;u<a.length;u++)i=f(f.s=a[u]);return i};var r={},t={26:0};function f(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,f),t.l=!0,t.exports}f.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,f){n=t[e]=[r,f]});n[2]=r;var o=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,f.nc&&a.setAttribute("nonce",f.nc),a.src=f.p+"static/js/"+e+"."+{0:"905651e9f713da7891d7",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"3782da85554aabdaa930",6:"e8a80e25b08656461f52",7:"0fd4e5abf98b065884d5",8:"d026a8e41b09e5635ee9",9:"85fb625f8b0688f1c0e3",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"efe5e750726bc1eaf8fb",13:"45e17ad2f08ac6449f6f",14:"92199267df3426ee7901",15:"9f61f06d1572f1265cc0",16:"a6f848bad9fa839b7184",17:"83e469d672229c638715",18:"6ed416399616407ccde9",19:"fe136bb2a23a31036fe4",20:"f908174573964538db82",21:"62e84225e2c1477e8fa0",22:"fb16d8f2e3af945a14df",25:"9ceafa4ee79176c87d81"}[e]+".js";var c=setTimeout(d,12e4);function d(){a.onerror=a.onload=null,clearTimeout(c);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=d,o.appendChild(a),r},f.m=e,f.c=r,f.d=function(e,n,r){f.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},f.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(n,"a",n),n},f.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},f.p="./",f.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.4a1d7dea35a58ea8f55c.js.map
\ No newline at end of file
......@@ -37,7 +37,7 @@
</div>
</template>
</div>
<div class="platformTagLib-wrap__cell__radio common-lib__cell__radio">
<div class="platformTagLib-wrap__cell__radio common-lib__cell__radio" v-if="!myTagList">
<el-radio v-model="libRadio" :label="item.id" name=""> </el-radio>
</div>
</div>
......
......@@ -30,10 +30,10 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="标签描述" prop="tagDescription" class="w-516">
<el-input class="w-407" type="textarea" v-model="ruleForm.tagDescription" style="height: 96px;" @focus="focus('tagDescription',200)" @keyup.native="(value) => toInput(value)">
<el-form-item label="标签描述" prop="tagDescribe" class="w-516">
<el-input class="w-407" type="textarea" v-model="ruleForm.tagDescribe" style="height: 96px;" @focus="focus('tagDescribe',200)" @keyup.native="(value) => toInput(value)">
</el-input>
<template><label class="input-label textarea-label">{{inputNumObj.tagDescription}}/200</label></template>
<template><label class="input-label textarea-label">{{inputNumObj.tagDescribe}}/200</label></template>
</el-form-item>
<el-form-item label="" class="">
<el-button type="primary" @click.stop="confirmSave">保存</el-button>
......@@ -176,7 +176,7 @@
tagName: '',
tagCateTwo: '',
tagCateThree: '',
tagDescription: ''
tagDescribe: ''
},
rules: {
tagName: [
......@@ -200,7 +200,7 @@
inputNumObj: {
tagName: 0,
tagDescription: 0,
tagDescribe: 0,
addInputValue: 0,
},
......@@ -271,7 +271,7 @@
* 点击取消
*/
cancelSave() {
var that = this;
const that = this;
},
......@@ -279,15 +279,40 @@
* 点击保存
*/
confirmSave() {
var that = this;
const that = this;
const para = {
tagName: ruleForm.tagName,
tagDescribe: ruleForm.tagDescribe,
tagLevelGroupId: ruleForm.tagCateThree
}
getRequest('/memberTag/saveHandMemberTag',para)
.then((res) => {
// console.log(res,res.data,res.data.errorCode)
var resData = res.data
if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success')
return;
}
errMsg.errorMsg(resData)
})
.catch(function (error) {
console.log(error);
that.$message.error({
duration: 1000,
message: error.message
})
});
},
/**
* 点击输入框
*/
focus(name,num) {
var that = this
const that = this
console.log(name,num);
that.inputFlag = name;
that.inputFlagNum = num;
......
......@@ -13,6 +13,8 @@
placeholder="请输入标签"
prefix-icon="el-icon-search"
v-model="tagSearch"
clearable
@clear="clearSearch"
@keyup.enter.native="searchEnterFun">
</el-input>
<el-button type="primary" @click="toAddMyTagLib('mult')" class="fr m-l-8">添加至我的标签库</el-button>
......@@ -309,6 +311,15 @@
},
/**
* 搜索标签清空
*/
clearSearch() {
const that = this
that.currentPage = 1;
that.getTagList()
},
/**
* 表格---多选
*/
handleSelectChange(val) {
......
......@@ -14,6 +14,8 @@
placeholder="请输入标签"
prefix-icon="el-icon-search"
v-model="tagSearch"
clearable
@clear="clearSearch"
@keyup.enter.native="(value)=>searchEnterFun(value)"><!-- enter. -->
</el-input>
......@@ -197,6 +199,15 @@
},500),
/**
* 搜索标签清空
*/
clearSearch() {
const that = this
that.currentPage = 1;
that.getTagList()
},
/**
* 表格---多选(无用)
*/
// handleSelectChange(val) {
......
......@@ -13,6 +13,8 @@
placeholder="请输入标签"
prefix-icon="el-icon-search"
v-model="tagSearch"
clearable
@clear="clearSearch"
@keyup.enter.native="searchEnterFun">
</el-input>
<el-button type="primary" @click="toAddMyTagLib('mult')" class="fr">添加至我的标签库</el-button>
......@@ -198,6 +200,15 @@
},
/**
* 搜索标签清空
*/
clearSearch() {
const that = this
that.currentPage = 1;
that.getTagList()
},
/**
* 表格---多选
*/
handleSelectChange(val) {
......
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