Commit 18690d29 by 无尘

add: 增加 url 页数参数

parent a86c85ba
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.61b6b9f03db7c13c8f6db24a78bee1ad.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.206cbe71d5c11803992f.js></script><script type=text/javascript src=./static/js/vendor.6f8790d30f4f5009570f.js></script><script type=text/javascript src=./static/js/app.bcb55bc3a22466f1239f.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.06a7ea43b49cc67ff9648ac64851f9b1.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.04b6d14a925b55813e30.js></script><script type=text/javascript src=./static/js/vendor.6f8790d30f4f5009570f.js></script><script type=text/javascript src=./static/js/app.69e330f987c8a6f11f46.js></script></body></html>
\ No newline at end of file
webpackJsonp([10],{AecP:function(t,e){},"G/on":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("3Xzz"),o=a("5QTb"),n=(a("Mk6G"),a("3E4D")),s=a("Ch4/"),i=(a("PI0u"),a("P9l9")),l={name:"platformTagList",data:function(){return{navpath:[{name:"首页",path:window.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,e){var a={};if("mult"===t){if(!this.selTagTableData.length)return this.$message.error({message:"请选择标签"}),!1;a.tagIds=[],this.selTagTableData.forEach(function(t,e){a.tagIds.push(t.tagId)}),a.tagIds=a.tagIds.join(","),this.addByTagId("addByTagIds",a)}else a.tagId=e,this.addByTagId("addByTagId",a)},addByTagId:function(t,e){var a=this;Object(i.a)("/enterpriseMemberTag/"+t,e).then(function(t){var e=t.data;if(1==e.errorCode)return n.a.showmsg("添加成功","success"),void a.getTagList();s.a.errorMsg(e)}).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);s.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:o.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}})],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:"标签名称","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isActive?"实时":"非实时")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("router-link",{staticClass:"edit-btn el-button--text",attrs:{to:{path:"/platformTagDetail",query:{tagId:e.row.tagId,addFlag:e.row.isAdd,form:"notMyTag",navSign:"platformTag"}}}},[t._v("详情")]),t._v(" "),a("el-button",{staticClass:"p-l-10",attrs:{type:"text",size:"small",disabled:1==e.row.isAdd},on:{click:function(a){t.toAddMyTagLib("single",e.row.tagId)}}},[t._v("\n "+t._s(1==e.row.isAdd?"已":"")+"添加至我的标签库\n ")])]}}])})],1)],1),t._v(" "),0!=t.tagTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("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("AecP")},"data-v-dfac265e",null);e.default=g.exports}});
//# sourceMappingURL=10.7d7f64b94b5536950d81.js.map
\ No newline at end of file
webpackJsonp([10],{"G/on":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("3Xzz"),n=a("5QTb"),o=(a("Mk6G"),a("3E4D")),s=a("Ch4/"),i=(a("PI0u"),a("P9l9")),l={name:"platformTagList",data:function(){return{navpath:[{name:"首页",path:window.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,e){var a={};if("mult"===t){if(!this.selTagTableData.length)return this.$message.error({message:"请选择标签"}),!1;a.tagIds=[],this.selTagTableData.forEach(function(t,e){a.tagIds.push(t.tagId)}),a.tagIds=a.tagIds.join(","),this.addByTagId("addByTagIds",a)}else a.tagId=e,this.addByTagId("addByTagId",a)},addByTagId:function(t,e){var a=this;Object(i.a)("/enterpriseMemberTag/"+t,e).then(function(t){var e=t.data;if(1==e.errorCode)return o.a.showmsg("添加成功","success"),void a.getTagList();s.a.errorMsg(e)}).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){this.currentPage=t,this.$route.fullPath.includes("?")&&this.$router.push(this.$route.path+"?tagLevelGroupId="+this.$route.query.tagLevelGroupId+"&currentPage="+t),this.getTagList()},getTagList:function(t){var e=this,a={tagName:e.tagSearch,tagLevelGroupId:e.currentGroupId,pageNum:e.currentPage,pageSize:e.pageSize};Object(i.a)("/memberTag/platformTagPageList",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tagTableData=a.result.result,void(e.total=a.result.totalCount);s.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},getUrlParams:function(){this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:0,this.currentPage=this.$route.query.currentPage?parseInt(this.$route.query.currentPage):1,this.getTagList()}},watch:{$route:{handler:function(t,e){this.getUrlParams()},deep:!0}},beforeMount:function(){},mounted:function(){this.getUrlParams()},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}})],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:"标签名称","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isActive?"实时":"非实时")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("router-link",{staticClass:"edit-btn el-button--text",attrs:{to:{path:"/platformTagDetail",query:{tagId:e.row.tagId,addFlag:e.row.isAdd,form:"notMyTag",navSign:"platformTag"}}}},[t._v("详情")]),t._v(" "),a("el-button",{staticClass:"p-l-10",attrs:{type:"text",size:"small",disabled:1==e.row.isAdd},on:{click:function(a){t.toAddMyTagLib("single",e.row.tagId)}}},[t._v("\n "+t._s(1==e.row.isAdd?"已":"")+"添加至我的标签库\n ")])]}}])})],1)],1),t._v(" "),0!=t.tagTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("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("Rqo+")},"data-v-e70559ec",null);e.default=g.exports},"Rqo+":function(t,e){}});
//# sourceMappingURL=10.d3f4b34d196131966391.js.map
\ No newline at end of file
webpackJsonp([13],{Gy5W:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o("bOdI"),a=o.n(n),i=o("5reh"),s={name:"App",data:function(){var t;return t={projectName:"member-tag",contentHeight:"0px",collapseFlag:!1},a()(t,"collapseFlag",!1),a()(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(i.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("xHqn")},null,null);e.default=c.exports},xHqn:function(t,e){}});
//# sourceMappingURL=13.e936b579a93366b1d8a0.js.map
\ No newline at end of file
webpackJsonp([14],{Gy5W:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o("bOdI"),a=o.n(n),i=o("5reh"),s={name:"App",data:function(){var t;return t={projectName:"member-tag",contentHeight:"0px",collapseFlag:!1},a()(t,"collapseFlag",!1),a()(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(i.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("xHqn")},null,null);e.default=c.exports},xHqn:function(t,e){}});
//# sourceMappingURL=14.afefdcbd85d144439ee8.js.map
\ No newline at end of file
webpackJsonp([14],{YPWR:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o("bOdI"),n=o.n(a),s=o("5reh"),l={name:"App",data:function(){var e;return e={projectName:"member-tag",contentHeight:"0px",collapseFlag:!1},n()(e,"collapseFlag",!1),n()(e,"leftModulesName","会员标签"),e},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},watch:{$route:{handler:function(e,t){console.log("获取当前路由:",e,t),this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.$store.commit(s.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:{}},i={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"index"}},[o("vue-gic-header",{attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body",style:{height:e.contentHeight}},[o("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[o("vue-gic-aside-menu",{ref:"asideMenu",attrs:{projectName:e.projectName,leftModulesName:e.leftModulesName,collapseFlag:e.collapseFlag}})],1),e._v(" "),o("transition",{attrs:{name:"fade",mode:"out-in"}},[o("router-view")],1)],1)])],1)},staticRenderFns:[]};var c=o("VU/8")(l,i,!1,function(e){o("pMoW")},null,null);t.default=c.exports},pMoW:function(e,t){}});
//# sourceMappingURL=14.d66096e3133882035acc.js.map
\ No newline at end of file
webpackJsonp([15],{YPWR:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o("bOdI"),n=o.n(a),s=o("5reh"),l={name:"App",data:function(){var e;return e={projectName:"member-tag",contentHeight:"0px",collapseFlag:!1},n()(e,"collapseFlag",!1),n()(e,"leftModulesName","会员标签"),e},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},watch:{$route:{handler:function(e,t){console.log("获取当前路由:",e,t),this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.$store.commit(s.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:{}},i={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"index"}},[o("vue-gic-header",{attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body",style:{height:e.contentHeight}},[o("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[o("vue-gic-aside-menu",{ref:"asideMenu",attrs:{projectName:e.projectName,leftModulesName:e.leftModulesName,collapseFlag:e.collapseFlag}})],1),e._v(" "),o("transition",{attrs:{name:"fade",mode:"out-in"}},[o("router-view")],1)],1)])],1)},staticRenderFns:[]};var c=o("VU/8")(l,i,!1,function(e){o("pMoW")},null,null);t.default=c.exports},pMoW:function(e,t){}});
//# sourceMappingURL=15.20b5af737d2a6ede3638.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.
webpackJsonp([16],{"6Qob":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("mvHQ"),n=i.n(s),o=i("5reh"),a=i("zL8q");function r(t){return t?(a.Message.warning(t),!1):(a.Message.warning("操作失败"),!1)}function l(t){return"cancel"==t?(a.Message.info(t||"cancel"),!1):t.hasOwnProperty("response")?401==t.response.status?(a.Message.error("登录过期"),!1):500==t.response.status?(a.Message.error("服务器错误500"),!1):void 0:(a.Message.error(t),!1)}var c=i("mw3O"),u={name:"login",data:function(){return{redirect:this.$route.query.redirect,token:"",form:{loginName:"damogic",password:"1",eid:"ff808081593917d90159398ec6340012"}}},computed:{imgHeight:function(){return document.body.clientHeight},imgWidth:function(){return document.body.clientWidth}},methods:{loginAnimate:function(){new LoginAnimate(loginwrap,{length:90,LineWeight:.1,clicked:!0,moveon:!0}).Run()},submitLogin:function(){var t=this;this.axios.post("/api-auth/do-login",c.stringify({loginName:this.form.loginName,password:this.form.password,eid:"ff808081593917d90159398ec6340012"})).then(function(e){if(e.data.success){(s=e.data.message)?a.Message.success(s):a.Message.success("操作成功");var i=decodeURIComponent(t.$route.query.redirect||"/index");t.$router.push({path:i})}else r(e.data.message);var s}).catch(function(t){l(t)})},getMenu:function(){var t=this;this.axios.get("/gic/get-menu").then(function(e){if(e.data.success){t.menuList=e.data.list,sessionStorage.setItem("menuList",n()(t.menuList));var i=t.$route.query.redirect||"/index";t.$router.push({path:i})}else r(e.data.errorMessage)}).catch(function(t){l(t)})}},mounted:function(){this.$store.commit(o.d,"login"),document.title=this.$store.state.title,this.loginAnimate()}},m={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"loginwrap",style:{height:t.imgHeight+"px"}},[i("div",{staticStyle:{position:"absolute",left:"0",height:"0",width:"100%"}},[i("canvas",{attrs:{id:"loginwrap",width:t.imgWidth,height:t.imgHeight}})]),t._v(" "),t._m(0),t._v(" "),i("div",{staticClass:"login_contetnt"},[i("h3",{staticClass:"login-top"},[t._v("让信息连接一切")]),t._v(" "),i("h4",{staticClass:"login-bottom"},[t._v("GIC商户后台")]),t._v(" "),i("div",{staticClass:"formlogin"},[i("el-form",{ref:"form",attrs:{model:t.form,"label-width":""}},[i("el-form-item",{attrs:{label:""}},[i("el-input",{staticClass:"forminput",attrs:{placeholder:"账号"},model:{value:t.form.loginName,callback:function(e){t.$set(t.form,"loginName",e)},expression:"form.loginName"}})],1),t._v(" "),i("el-form-item",{attrs:{label:""}},[i("el-input",{attrs:{type:"password",placeholder:"密码"},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.submitLogin("form")}},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),t._v(" "),i("el-form-item",[i("button",{staticClass:"submit",on:{click:function(e){e.preventDefault(),t.submitLogin("form")}}},[t._v("立即登录")])])],1)],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"logintop"},[e("div",{staticClass:"fl loginlogo"},[e("a",{staticClass:"fr logo",attrs:{href:"#"}},[this._v("login_logo.png")])]),this._v(" "),e("a",{staticClass:"home-link fr",attrs:{href:"http://www.demogic.com/"}},[this._v("返回首页")])])}]};var d=i("VU/8")(u,m,!1,function(t){i("OWNH")},null,null);e.default=d.exports},OWNH:function(t,e){}});
//# sourceMappingURL=16.f4036a24000959bd38c8.js.map
\ No newline at end of file
webpackJsonp([17],{"6Qob":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("mvHQ"),n=i.n(s),o=i("5reh"),a=i("zL8q");function r(t){return t?(a.Message.warning(t),!1):(a.Message.warning("操作失败"),!1)}function l(t){return"cancel"==t?(a.Message.info(t||"cancel"),!1):t.hasOwnProperty("response")?401==t.response.status?(a.Message.error("登录过期"),!1):500==t.response.status?(a.Message.error("服务器错误500"),!1):void 0:(a.Message.error(t),!1)}var c=i("mw3O"),u={name:"login",data:function(){return{redirect:this.$route.query.redirect,token:"",form:{loginName:"damogic",password:"1",eid:"ff808081593917d90159398ec6340012"}}},computed:{imgHeight:function(){return document.body.clientHeight},imgWidth:function(){return document.body.clientWidth}},methods:{loginAnimate:function(){new LoginAnimate(loginwrap,{length:90,LineWeight:.1,clicked:!0,moveon:!0}).Run()},submitLogin:function(){var t=this;this.axios.post("/api-auth/do-login",c.stringify({loginName:this.form.loginName,password:this.form.password,eid:"ff808081593917d90159398ec6340012"})).then(function(e){if(e.data.success){(s=e.data.message)?a.Message.success(s):a.Message.success("操作成功");var i=decodeURIComponent(t.$route.query.redirect||"/index");t.$router.push({path:i})}else r(e.data.message);var s}).catch(function(t){l(t)})},getMenu:function(){var t=this;this.axios.get("/gic/get-menu").then(function(e){if(e.data.success){t.menuList=e.data.list,sessionStorage.setItem("menuList",n()(t.menuList));var i=t.$route.query.redirect||"/index";t.$router.push({path:i})}else r(e.data.errorMessage)}).catch(function(t){l(t)})}},mounted:function(){this.$store.commit(o.d,"login"),document.title=this.$store.state.title,this.loginAnimate()}},m={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"loginwrap",style:{height:t.imgHeight+"px"}},[i("div",{staticStyle:{position:"absolute",left:"0",height:"0",width:"100%"}},[i("canvas",{attrs:{id:"loginwrap",width:t.imgWidth,height:t.imgHeight}})]),t._v(" "),t._m(0),t._v(" "),i("div",{staticClass:"login_contetnt"},[i("h3",{staticClass:"login-top"},[t._v("让信息连接一切")]),t._v(" "),i("h4",{staticClass:"login-bottom"},[t._v("GIC商户后台")]),t._v(" "),i("div",{staticClass:"formlogin"},[i("el-form",{ref:"form",attrs:{model:t.form,"label-width":""}},[i("el-form-item",{attrs:{label:""}},[i("el-input",{staticClass:"forminput",attrs:{placeholder:"账号"},model:{value:t.form.loginName,callback:function(e){t.$set(t.form,"loginName",e)},expression:"form.loginName"}})],1),t._v(" "),i("el-form-item",{attrs:{label:""}},[i("el-input",{attrs:{type:"password",placeholder:"密码"},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.submitLogin("form")}},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),t._v(" "),i("el-form-item",[i("button",{staticClass:"submit",on:{click:function(e){e.preventDefault(),t.submitLogin("form")}}},[t._v("立即登录")])])],1)],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"logintop"},[e("div",{staticClass:"fl loginlogo"},[e("a",{staticClass:"fr logo",attrs:{href:"#"}},[this._v("login_logo.png")])]),this._v(" "),e("a",{staticClass:"home-link fr",attrs:{href:"http://www.demogic.com/"}},[this._v("返回首页")])])}]};var d=i("VU/8")(u,m,!1,function(t){i("OWNH")},null,null);e.default=d.exports},OWNH:function(t,e){}});
//# sourceMappingURL=17.c8a47b8d501bd5430967.js.map
\ No newline at end of file
webpackJsonp([19],{"D/cx":function(t,e){},NJTp:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("3Xzz"),o=a("5QTb"),n=a("M2/U"),s=a("3fED"),i=(a("Mk6G"),a("3E4D")),l=a("Ch4/"),c=a("PI0u"),g=a("P9l9"),u={name:"myTagList",data:function(){return{navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"我的标签库",path:"/myTagLib"},{name:"我的标签列表",path:""}],showTagDetail:!1,tagShortDetailId:"",fromFlag:"myTag",tagLibName:"myTag",tagSearch:"",tagTableData:[],currentPage:1,pageSize:20,total:0,currentGroupId:0}},methods:{changeRoute:function(t){this.$router.push(t)},handleShowTag:function(){this.showTagDetail=!0},handleHideTag:function(t){this.showTagDetail=!1},toManualTagLib:function(){this.changeRoute("/manualTagList")},toPlatformTagLib:function(){this.changeRoute("/platformTagList")},searchEnterFun:Object(c.a)(function(t){console.log(t),this.currentPage=1,this.getTagList()},500),clearSearch:function(){this.currentPage=1,this.getTagList()},handleSizeChange:function(t){console.log("每页 "+t+" 条"),this.pageSize=t,this.getTagList()},handleCurrentChange:function(t){console.log("当前页: "+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(){var t=this,e={tagName:t.tagSearch,tagLevelGroupId:t.currentGroupId,pageNum:t.currentPage,pageSize:t.pageSize};Object(g.a)("/enterpriseMemberTag/pageList",e).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.result&&a.result.result.length?(a.result.result.forEach(function(t,e){t.popVisible=!1}),t.tagTableData=a.result.result):(t.tagTableData=[],t.$message.error({duration:1e3,message:"未找到数据"})),void(t.total=a.result.totalCount);l.a.errorMsg(a)}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},addTemporary:function(t){console.log(t),this.tagShortDetailId=t,this.showTagDetail=!0,this.$refs.tagTemp.hideTagList()},cancelDelTag:function(t,e){e.popVisible=!1},toDelTag:function(t,e){var a=this;a.$confirm("确认要删除此标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postToDelTag(t,e)}).catch(function(){})},postToDelTag:function(t,e){var a=this,r={enterpriseMemberTagId:e.enterpriseMemberTagId};Object(g.a)("/enterpriseMemberTag/del",r).then(function(e){var r=e.data;if(1==r.errorCode)return i.a.showmsg("删除成功","success"),a.tagTableData.splice(t,1),void a.$refs.tagTemp.getTagList();l.a.errorMsg(r)}).catch(function(t){console.log(t),a.$message.error({duration:1e3,message:t.message})})},showShortDetail:function(t){this.showTagDetail=!0,this.tagShortDetailId=t},updateTemp:function(){this.$refs.tagTemp.getTagList(),this.$refs.tagTemp.showTagList()},getUrlParams:function(){this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:0,this.currentPage=this.$route.query.currentPage?parseInt(this.$route.query.currentPage):1,this.getTagList()}},watch:{$route:{handler:function(t,e){this.getUrlParams()},deep:!0}},mounted:function(){this.getUrlParams()},components:{navCrumb:r.a,tagShortDetail:s.a,tagCategory:o.a,tagTemporary:n.a}},h={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"myTagList-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}})],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")?(a=e,t.searchEnterFun(a)):null;var a}},model:{value:t.tagSearch,callback:function(e){t.tagSearch=e},expression:"tagSearch"}})],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"}},[a("el-table-column",{attrs:{label:"标签名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"pointer name-hover",on:{click:function(a){t.addTemporary(e.row.tagId)}}},[t._v(t._s(e.row.tagName))])]}}])}),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-10",attrs:{type:"text",size:"small"},on:{click:function(a){t.addTemporary(e.row.tagId)}}},[t._v("添加至暂存架")]),t._v(" "),a("el-button",{attrs:{slot:"reference",type:"text"},on:{click:function(a){t.toDelTag(e.$index,e.row)}},slot:"reference"},[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"),t._v(" "),a("tagShortDetail",{attrs:{fromFlag:t.fromFlag,tagShortId:t.tagShortDetailId,showTagDetail:t.showTagDetail},on:{"update:tagShortId":function(e){t.tagShortDetailId=e},hideTag:t.handleHideTag,updateTemp:t.updateTemp}}),t._v(" "),a("tag-temporary",{ref:"tagTemp",on:{showShortDetail:t.showShortDetail}})],1)},staticRenderFns:[]};var p=a("VU/8")(u,h,!1,function(t){a("D/cx")},"data-v-56ccffed",null);e.default=p.exports}});
//# sourceMappingURL=19.06d72ac9256822a4c088.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.
webpackJsonp([19],{eNXc:function(t,a){},twLH:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),i=e("BdFv"),r=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"myTagLib",data:function(){return{navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"我的标签库",path:""}],tagCategory:"myTagList"}},methods:{toAddMyTagLib:function(){}},mounted:function(){},components:{navCrumb:n.a,tagLib:i.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"myTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=e("VU/8")(r,o,!1,function(t){e("eNXc")},"data-v-4763dd3a",null);a.default=s.exports}});
//# sourceMappingURL=19.c64b53861326d1f5df43.js.map
\ No newline at end of file
webpackJsonp([21],{eNXc:function(t,a){},twLH:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),i=e("BdFv"),r=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"myTagLib",data:function(){return{navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"我的标签库",path:""}],tagCategory:"myTagList"}},methods:{toAddMyTagLib:function(){}},mounted:function(){},components:{navCrumb:n.a,tagLib:i.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"myTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=e("VU/8")(r,o,!1,function(t){e("eNXc")},"data-v-4763dd3a",null);a.default=s.exports}});
//# sourceMappingURL=21.bfdb22fadb3ca9d818cc.js.map
\ No newline at end of file
webpackJsonp([21],{"3PJM":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:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"平台标签库",path:""}],tagCategory:"platformTagList"}},methods:{},mounted:function(){},components:{navCrumb:n.a,tagLib:r.a}}),o={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 s=e("VU/8")(i,o,!1,function(t){e("3PJM")},"data-v-2cbababa",null);a.default=s.exports}});
//# sourceMappingURL=21.fce3d8ad3d06890dda32.js.map
\ No newline at end of file
webpackJsonp([22],{"3PJM":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:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"平台标签库",path:""}],tagCategory:"platformTagList"}},methods:{},mounted:function(){},components:{navCrumb:n.a,tagLib:r.a}}),o={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 s=e("VU/8")(i,o,!1,function(t){e("3PJM")},"data-v-2cbababa",null);a.default=s.exports}});
//# sourceMappingURL=22.6fa2e5eec68626176108.js.map
\ No newline at end of file
webpackJsonp([22],{KuVV:function(t,a){},q490:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),r=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagLib",data:function(){return{navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"手工标签库",path:""}],tagCategory:"manualTagList"}},methods:{},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=n("VU/8")(r,o,!1,function(t){n("KuVV")},"data-v-1b7deaf2",null);a.default=s.exports}});
//# sourceMappingURL=22.4ae137f84379efe528b1.js.map
\ No newline at end of file
webpackJsonp([23],{KuVV:function(t,a){},q490:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),r=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagLib",data:function(){return{navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"手工标签库",path:""}],tagCategory:"manualTagList"}},methods:{},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=n("VU/8")(r,o,!1,function(t){n("KuVV")},"data-v-1b7deaf2",null);a.default=s.exports}});
//# sourceMappingURL=23.012fa9b9212b0d170c6d.js.map
\ No newline at end of file
webpackJsonp([24],{NJTp:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("3Xzz"),o=a("5QTb"),n=a("M2/U"),s=a("3fED"),i=(a("Mk6G"),a("3E4D")),l=a("Ch4/"),c=a("PI0u"),g=a("P9l9"),u={name:"myTagList",data:function(){return{navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"我的标签库",path:"/myTagLib"},{name:"我的标签列表",path:""}],showTagDetail:!1,tagShortDetailId:"",fromFlag:"myTag",tagLibName:"myTag",tagSearch:"",tagTableData:[],currentPage:1,pageSize:20,total:0,currentGroupId:0}},methods:{changeRoute:function(t){this.$router.push(t)},handleShowTag:function(){this.showTagDetail=!0},handleHideTag:function(t){this.showTagDetail=!1},toManualTagLib:function(){this.changeRoute("/manualTagList")},toPlatformTagLib:function(){this.changeRoute("/platformTagList")},searchEnterFun:Object(c.a)(function(t){console.log(t),this.currentPage=1,this.getTagList()},500),clearSearch:function(){this.currentPage=1,this.getTagList()},handleSizeChange:function(t){console.log("每页 "+t+" 条"),this.pageSize=t,this.getTagList()},handleCurrentChange:function(t){console.log("当前页: "+t),this.currentPage=t,this.getTagList()},getTagList:function(){var t=this,e={tagName:t.tagSearch,tagLevelGroupId:t.currentGroupId,pageNum:t.currentPage,pageSize:t.pageSize};Object(g.a)("/enterpriseMemberTag/pageList",e).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.result&&a.result.result.length?(a.result.result.forEach(function(t,e){t.popVisible=!1}),t.tagTableData=a.result.result):(t.tagTableData=[],t.$message.error({duration:1e3,message:"未找到数据"})),void(t.total=a.result.totalCount);l.a.errorMsg(a)}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},addTemporary:function(t){console.log(t),this.tagShortDetailId=t,this.showTagDetail=!0,this.$refs.tagTemp.hideTagList()},cancelDelTag:function(t,e){e.popVisible=!1},toDelTag:function(t,e){var a=this;a.$confirm("确认要删除此标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postToDelTag(t,e)}).catch(function(){})},postToDelTag:function(t,e){var a=this,r={enterpriseMemberTagId:e.enterpriseMemberTagId};Object(g.a)("/enterpriseMemberTag/del",r).then(function(e){var r=e.data;if(1==r.errorCode)return i.a.showmsg("删除成功","success"),a.tagTableData.splice(t,1),void a.$refs.tagTemp.getTagList();l.a.errorMsg(r)}).catch(function(t){console.log(t),a.$message.error({duration:1e3,message:t.message})})},showShortDetail:function(t){this.showTagDetail=!0,this.tagShortDetailId=t},updateTemp:function(){this.$refs.tagTemp.getTagList(),this.$refs.tagTemp.showTagList()}},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}},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,tagShortDetail:s.a,tagCategory:o.a,tagTemporary:n.a}},h={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"myTagList-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}})],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")?(a=e,t.searchEnterFun(a)):null;var a}},model:{value:t.tagSearch,callback:function(e){t.tagSearch=e},expression:"tagSearch"}})],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"}},[a("el-table-column",{attrs:{label:"标签名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"pointer name-hover",on:{click:function(a){t.addTemporary(e.row.tagId)}}},[t._v(t._s(e.row.tagName))])]}}])}),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-10",attrs:{type:"text",size:"small"},on:{click:function(a){t.addTemporary(e.row.tagId)}}},[t._v("添加至暂存架")]),t._v(" "),a("el-button",{attrs:{slot:"reference",type:"text"},on:{click:function(a){t.toDelTag(e.$index,e.row)}},slot:"reference"},[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"),t._v(" "),a("tagShortDetail",{attrs:{fromFlag:t.fromFlag,tagShortId:t.tagShortDetailId,showTagDetail:t.showTagDetail},on:{"update:tagShortId":function(e){t.tagShortDetailId=e},hideTag:t.handleHideTag,updateTemp:t.updateTemp}}),t._v(" "),a("tag-temporary",{ref:"tagTemp",on:{showShortDetail:t.showShortDetail}})],1)},staticRenderFns:[]};var p=a("VU/8")(u,h,!1,function(t){a("ZW/E")},"data-v-027cc276",null);e.default=p.exports},"ZW/E":function(t,e){}});
//# sourceMappingURL=24.d2c24e842d45de652967.js.map
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(n,c,o){for(var d,f,b,i=0,u=[];i<n.length;i++)f=n[i],r[f]&&u.push(r[f][0]),r[f]=0;for(d in c)Object.prototype.hasOwnProperty.call(c,d)&&(e[d]=c[d]);for(a&&a(n,c,o);u.length;)u.shift()();if(o)for(i=0;i<o.length;i++)b=t(t.s=o[i]);return b};var n={},r={28:0};function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.e=function(e){var a=r[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var n=new Promise(function(n,t){a=r[e]=[n,t]});a[2]=n;var c=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:"a8ba0320a95e9ce7b906",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"6c23e6d10619f4b09182",6:"460a01c3b12693000d7a",7:"3615b0b783b679e846e1",8:"b011da43d5a969ab60a4",9:"48de66bae77e31e7abb0",10:"d3f4b34d196131966391",11:"d17c665173f2b582a228",12:"bf43e4b7ffccb4caaa53",13:"e29aa5893a93a16c34bc",14:"afefdcbd85d144439ee8",15:"20b5af737d2a6ede3638",16:"27694d14a2074732a277",17:"c8a47b8d501bd5430967",18:"7a971724ceedf92fdfcc",19:"06d72ac9256822a4c088",20:"75cb9ba3c92dedb75874",21:"bfdb22fadb3ca9d818cc",22:"6fa2e5eec68626176108",23:"012fa9b9212b0d170c6d",24:"03f425e91038a9262e65",27:"02b5e0be03d9340bd130"}[e]+".js";var d=setTimeout(f,12e4);function f(){o.onerror=o.onload=null,clearTimeout(d);var a=r[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}return o.onerror=o.onload=f,c.appendChild(o),n},t.m=e,t.c=n,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="./",t.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.04b6d14a925b55813e30.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,o){for(var d,f,b,i=0,u=[];i<r.length;i++)f=r[i],t[f]&&u.push(t[f][0]),t[f]=0;for(d in c)Object.prototype.hasOwnProperty.call(c,d)&&(e[d]=c[d]);for(n&&n(r,c,o);u.length;)u.shift()();if(o)for(i=0;i<o.length;i++)b=a(a.s=o[i]);return b};var r={},t={28:0};function a(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,a),t.l=!0,t.exports}a.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,a){n=t[e]=[r,a]});n[2]=r;var c=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,a.nc&&o.setAttribute("nonce",a.nc),o.src=a.p+"static/js/"+e+"."+{0:"a8ba0320a95e9ce7b906",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"6c23e6d10619f4b09182",6:"460a01c3b12693000d7a",7:"3615b0b783b679e846e1",8:"b011da43d5a969ab60a4",9:"48de66bae77e31e7abb0",10:"7d7f64b94b5536950d81",11:"d17c665173f2b582a228",12:"efe5e750726bc1eaf8fb",13:"e936b579a93366b1d8a0",14:"d66096e3133882035acc",15:"2cf19b5c1b9f6c5d3aab",16:"f4036a24000959bd38c8",17:"83e469d672229c638715",18:"10ea6a4e58c65d6cb3cd",19:"c64b53861326d1f5df43",20:"07cb978c5666a4911998",21:"fce3d8ad3d06890dda32",22:"4ae137f84379efe528b1",23:"f810525966fe12d399a5",24:"d2c24e842d45de652967",27:"02b5e0be03d9340bd130"}[e]+".js";var d=setTimeout(f,12e4);function f(){o.onerror=o.onload=null,clearTimeout(d);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=f,c.appendChild(o),r},a.m=e,a.c=r,a.d=function(e,n,r){a.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},a.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(n,"a",n),n},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.p="./",a.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.206cbe71d5c11803992f.js.map
\ No newline at end of file
......@@ -360,7 +360,7 @@
*/
handleSelectChange(val) {
const that = this
console.log(val);
// console.log(val);
that.selTagTableData = val;
},
......@@ -369,7 +369,7 @@
*/
handleSizeChange(val) {
const that = this
console.log(`每页 ${val} 条`);
// console.log(`每页 ${val} 条`);
that.pageSize = val;
that.getTagList();
},
......@@ -379,8 +379,12 @@
*/
handleCurrentChange(val) {
const that = this
console.log(`当前页: ${val}`);
// console.log(`当前页: ${val}`);
that.currentPage = val;
let fullPath = that.$route.fullPath;
if (fullPath.includes('?')) {
that.$router.push(`${that.$route.path}?tagLevelGroupId=${that.$route.query.tagLevelGroupId}&currentPage=${val}`)
}
that.getTagList();
},
......@@ -862,19 +866,25 @@
})
});
},
getUrlParams() {
const that = this
// 获取标签库中传递的搜索字段
that.tagSearch = !!that.$route.query.searchName? that.$route.query.searchName : '';
// 获取标签库传递过来的分类 id
that.currentGroupId = !!that.$route.query.tagLevelGroupId? that.$route.query.tagLevelGroupId : 0;
// 获取页码
that.currentPage = !!that.$route.query.currentPage? parseInt(that.$route.query.currentPage) : 1;
document.getElementById("app").style.zIndex = 'auto';
that.getTagList()
}
},
watch: {
$route: {
handler: function(val, oldVal){
console.log("获取当前路由:",val);
const that = this
// 获取标签库中传递的搜索字段
that.tagSearch = !!that.$route.query.searchName? that.$route.query.searchName : '';
// 获取标签库传递过来的分类 id
that.currentGroupId = !!that.$route.query.tagLevelGroupId? that.$route.query.tagLevelGroupId : 0;
that.getTagList()
that.getUrlParams();
},
// 深度观察监听
deep: true
......@@ -882,16 +892,7 @@
},
mounted() {
const that = this
console.log(that.$route.query);
// 获取标签库中传递的搜索字段
that.tagSearch = !!that.$route.query.searchName? that.$route.query.searchName : '';
// 获取标签库传递过来的分类 id
that.currentGroupId = !!that.$route.query.tagLevelGroupId? that.$route.query.tagLevelGroupId : 0;
that.getTagList()
// that.getTWoLevel()
document.getElementById("app").style.zIndex = 'auto';
that.getUrlParams();
},
components: {
navCrumb,
......
......@@ -245,6 +245,10 @@
const that = this
console.log(`当前页: ${val}`);
that.currentPage = val;
let fullPath = that.$route.fullPath;
if (fullPath.includes('?')) {
that.$router.push(`${that.$route.path}?tagLevelGroupId=${that.$route.query.tagLevelGroupId}&currentPage=${val}`)
}
that.getTagList()
},
......@@ -380,19 +384,25 @@
that.$refs.tagTemp.showTagList();
},
getUrlParams() {
const that = this
// 获取标签库中传递的搜索字段
that.tagSearch = !!that.$route.query.searchName? that.$route.query.searchName : '';
// 获取标签库传递过来的分类 id
that.currentGroupId = !!that.$route.query.tagLevelGroupId? that.$route.query.tagLevelGroupId : 0;
// 获取页码
that.currentPage = !!that.$route.query.currentPage? parseInt(that.$route.query.currentPage) : 1;
that.getTagList()
}
},
watch: {
$route: {
handler: function(val, oldVal){
console.log("获取当前路由:",val);
// console.log("获取当前路由:",val);
const that = this
// 获取标签库中传递的搜索字段
that.tagSearch = !!that.$route.query.searchName? that.$route.query.searchName : '';
// 获取标签库传递过来的分类 id
that.currentGroupId = !!that.$route.query.tagLevelGroupId? that.$route.query.tagLevelGroupId : 0;
that.getTagList()
that.getUrlParams()
},
// 深度观察监听
deep: true
......@@ -400,13 +410,7 @@
},
mounted() {
const that = this
console.log(that.$route.query);
// 获取标签库中传递的搜索字段
that.tagSearch = !!that.$route.query.searchName? that.$route.query.searchName : '';
// 获取标签库传递过来的分类 id
that.currentGroupId = !!that.$route.query.tagLevelGroupId? that.$route.query.tagLevelGroupId : 0;
that.getTagList()
that.getUrlParams()
},
components: {
navCrumb,
......
......@@ -245,8 +245,11 @@
*/
handleCurrentChange(val) {
const that = this
console.log(`当前页: ${val}`);
that.currentPage = val;
let fullPath = that.$route.fullPath;
if (fullPath.includes('?')) {
that.$router.push(`${that.$route.path}?tagLevelGroupId=${that.$route.query.tagLevelGroupId}&currentPage=${val}`)
}
that.getTagList();
},
......@@ -267,7 +270,6 @@
// console.log(res,res.data,res.data.errorCode)
var resData = res.data
if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success')
that.tagTableData = resData.result.result;
that.total = resData.result.totalCount;
return;
......@@ -286,18 +288,23 @@
});
},
getUrlParams() {
const that = this
// 获取标签库中传递的搜索字段
that.tagSearch = !!that.$route.query.searchName? that.$route.query.searchName : '';
// 获取标签库传递过来的分类 id
that.currentGroupId = !!that.$route.query.tagLevelGroupId? that.$route.query.tagLevelGroupId : 0;
// 获取页码
that.currentPage = !!that.$route.query.currentPage? parseInt(that.$route.query.currentPage) : 1;
that.getTagList()
}
},
watch: {
$route: {
handler: function(val, oldVal){
console.log("获取当前路由:",val);
const that = this
// 获取标签库中传递的搜索字段
that.tagSearch = !!that.$route.query.searchName? that.$route.query.searchName : '';
// 获取标签库传递过来的分类 id
that.currentGroupId = !!that.$route.query.tagLevelGroupId? that.$route.query.tagLevelGroupId : 0;
that.getTagList()
that.getUrlParams();
},
// 深度观察监听
deep: true
......@@ -310,13 +317,7 @@
mounted() {
const that = this
console.log(that.$route.query);
// 获取标签库中传递的搜索字段
that.tagSearch = !!that.$route.query.searchName? that.$route.query.searchName : '';
// 获取标签库传递过来的分类 id
that.currentGroupId = !!that.$route.query.tagLevelGroupId? that.$route.query.tagLevelGroupId : 0;
that.getTagList()
that.getUrlParams();
},
components: {
navCrumb,
......
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