Commit b8bc0f33 by caoyanzhi

Merge branch 'master' into feature/7月迭代-会员

parents d9ba5980 d0496034
module.exports = {
proxyList: {
'/api-auth/': {
target: 'http://gicdev.demogic.com/api-auth/',
target: 'http://www.gicdev.com/api-auth/',
changeOrigin: true,
pathRewrite: {
'^/api-auth': ''
}
},
'/api-admin/': {
target: 'http://gicdev.demogic.com/api-admin/',
target: 'http://www.gicdev.com/api-admin/',
changeOrigin: true,
pathRewrite: {
'^/api-admin': ''
}
},
'/api-plug/': {
target: 'http://gicdev.demogic.com/api-plug/',
target: 'http://www.gicdev.com/api-plug/',
changeOrigin: true,
pathRewrite: {
'^/api-plug': ''
}
},
'/api-mall/': {
target: 'http://gicdev.demogic.com/api-mall/',
target: 'http://www.gicdev.com/api-mall/',
changeOrigin: true,
pathRewrite: {
'^/api-mall': ''
......
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./static/img/favicon.ico><title></title><link rel=stylesheet href=//at.alicdn.com/t/font_688955_2dxzdzrb3a7.css><link rel=stylesheet href=//at.alicdn.com/t/font_3276801_5bjk41qthxj.css><script src=//at.alicdn.com/t/font_3276801_5bjk41qthxj.js></script><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.00ab77baf73bc92155124bb1d741cfbd.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app><div class=el-loading-spinner style="width: 98%;"><svg viewBox="25 25 50 50" class=circular><circle cx=50 cy=50 r=20 fill=none class=path></circle></svg></div></div><script>(function() {
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./static/img/favicon.ico><title></title><link rel=stylesheet href=//at.alicdn.com/t/font_688955_2dxzdzrb3a7.css><link rel=stylesheet href=//at.alicdn.com/t/font_3276801_5bjk41qthxj.css><script src=//at.alicdn.com/t/font_3276801_5bjk41qthxj.js></script><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.a26aa55b7b14713b5299b673c929c88d.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app><div class=el-loading-spinner style="width: 98%;"><svg viewBox="25 25 50 50" class=circular><circle cx=50 cy=50 r=20 fill=none class=path></circle></svg></div></div><script>(function() {
var src = '/component/static/import-component.js?timestrap='+ new Date().getTime();
var host = window.location.host;
host = host.indexOf('localhost') > -1 || host.indexOf('192.168') > -1 ? 'gicdev.demogic.com' : host;
document.write('<script src="//'+ host + src +'"><\/script>')
})()</script><script src=//web-1251519181.file.myqcloud.com/components/track.1.0.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script type=text/javascript src=./static/js/manifest.63021489dabb70ec1237.js></script><script type=text/javascript src=./static/js/vendor.42f883472a1fc4925cbd.js></script><script type=text/javascript src=./static/js/app.28e6c4639f4dfcfca36b.js></script></body></html>
\ No newline at end of file
})()</script><script src=//web-1251519181.file.myqcloud.com/components/track.1.0.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script type=text/javascript src=./static/js/manifest.d8ffeee9c74d2c16caa1.js></script><script type=text/javascript src=./static/js/vendor.42f883472a1fc4925cbd.js></script><script type=text/javascript src=./static/js/app.8eb97031571be60cddc9.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.
webpackJsonp([19],{d5y4:function(t,e){},mmLS:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("Ch4/"),s=i("2CGT"),a={props:{visible:Boolean,data:{type:Object,default:function(){return{}}},type:String,title:String},data:function(){return{list:[],isOpenPage:!1,loading:!0}},computed:{desc:function(){return"deactive"==this.type?this.list.length?"当前分组正在被以下模块使用,失效后使用该分组的活动将匹配不到分组下的人群并且分组客户数据将同步清空,是否继续处理为失效?":"失效后非实时分组客户数据将同步清空,是否继续处理为失效?":this.list.length?"当前分组正在被以下模块使用,请先删除对应的内容后再来删除分组。":"删除后无法恢复,确认要删除该分组吗?"}},methods:{checkGroup:function(){var t=this;this.loading=!0;var e={memberTagGroupIds:this.data.memberTagGroupId,requestProject:"gic-member-tag-web",operateType:"deactive"==this.type?1:2};Object(s.n)(e).then(function(e){var i=e.errorCode,s=e.result;0!=i?n.a.errorMsg(e.data):t.list=s||[]}).finally(function(){return t.loading=!1})},onClose:function(){this.$emit("update:visible",!1),this.$emit("close")},onSubmit:function(){this.$emit("update:visible",!1),this.$emit("submit",this.data,this.type)},subWindowChange:function(){addEventListener("visibilitychange",this.visibleityWindowFn)},visibleityWindowFn:function(){!document.hidden&&this.isOpenPage&&this.checkGroup()}},watch:{visible:function(t){t&&this.checkGroup(),this.subWindowChange(),t||(removeEventListener("visibilitychange",this.visibleityWindowFn),this.isOpenPage=!1)}}},o={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-dialog",{attrs:{visible:t.visible,"custom-class":"delete-dialog",width:"416px"},on:{"update:visible":function(e){t.visible=e},close:t.onClose}},[i("div",{staticClass:"dialog-content"},[i("i",{staticClass:"el-alert__icon el-icon-warning is-big icon"}),t._v(" "),i("h2",[t._v(t._s(t.title))]),t._v(" "),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}]},[i("p",{staticClass:"desc"},[t._v(t._s(t.desc))]),t._v(" "),t._l(t.list,function(e,n){return i("p",{key:n,staticClass:"item"},[i("a",{attrs:{href:e.businessLink,target:"_blank"},on:{click:function(e){t.isOpenPage=!0}}},[t._v(t._s(e.businessModuleName)+"-"+t._s(e.businessName))])])}),t._v(" "),"delete"==t.type&&t.list.length?t._e():i("footer",{staticClass:"footer"},[i("el-button",{staticClass:"ml10",on:{click:function(e){return t.$emit("update:visible",!1)}}},[t._v("取消")]),t._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v(t._s("deactive"==t.type?"失效":"删除"))])],1)],2)])])},staticRenderFns:[]};var l=i("VU/8")(a,o,!1,function(t){i("d5y4")},"data-v-8aaf1ac8",null);e.default=l.exports}});
\ No newline at end of file
webpackJsonp([20],{d5y4:function(t,e){},mmLS:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("Ch4/"),s=i("2CGT"),a={props:{visible:Boolean,data:{type:Object,default:function(){return{}}},type:String,title:String},data:function(){return{list:[],isOpenPage:!1,loading:!0}},computed:{desc:function(){return"deactive"==this.type?this.list.length?"当前分组正在被以下模块使用,失效后使用该分组的活动将匹配不到分组下的人群并且分组客户数据将同步清空,是否继续处理为失效?":"失效后非实时分组客户数据将同步清空,是否继续处理为失效?":this.list.length?"当前分组正在被以下模块使用,请先删除对应的内容后再来删除分组。":"删除后无法恢复,确认要删除该分组吗?"}},methods:{checkGroup:function(){var t=this;this.loading=!0;var e={memberTagGroupIds:this.data.memberTagGroupId,requestProject:"gic-member-tag-web",operateType:"deactive"==this.type?1:2};Object(s.n)(e).then(function(e){var i=e.errorCode,s=e.result;0!=i?n.a.errorMsg(e.data):t.list=s||[]}).finally(function(){return t.loading=!1})},onClose:function(){this.$emit("update:visible",!1),this.$emit("close")},onSubmit:function(){this.$emit("update:visible",!1),this.$emit("submit",this.data,this.type)},subWindowChange:function(){addEventListener("visibilitychange",this.visibleityWindowFn)},visibleityWindowFn:function(){!document.hidden&&this.isOpenPage&&this.checkGroup()}},watch:{visible:function(t){t&&this.checkGroup(),this.subWindowChange(),t||(removeEventListener("visibilitychange",this.visibleityWindowFn),this.isOpenPage=!1)}}},o={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-dialog",{attrs:{visible:t.visible,"custom-class":"delete-dialog",width:"416px"},on:{"update:visible":function(e){t.visible=e},close:t.onClose}},[i("div",{staticClass:"dialog-content"},[i("i",{staticClass:"el-alert__icon el-icon-warning is-big icon"}),t._v(" "),i("h2",[t._v(t._s(t.title))]),t._v(" "),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}]},[i("p",{staticClass:"desc"},[t._v(t._s(t.desc))]),t._v(" "),t._l(t.list,function(e,n){return i("p",{key:n,staticClass:"item"},[i("a",{attrs:{href:e.businessLink,target:"_blank"},on:{click:function(e){t.isOpenPage=!0}}},[t._v(t._s(e.businessModuleName)+"-"+t._s(e.businessName))])])}),t._v(" "),"delete"==t.type&&t.list.length?t._e():i("footer",{staticClass:"footer"},[i("el-button",{staticClass:"ml10",on:{click:function(e){return t.$emit("update:visible",!1)}}},[t._v("取消")]),t._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v(t._s("deactive"==t.type?"失效":"删除"))])],1)],2)])])},staticRenderFns:[]};var l=i("VU/8")(a,o,!1,function(t){i("d5y4")},"data-v-8aaf1ac8",null);e.default=l.exports}});
\ No newline at end of file
webpackJsonp([21],{"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("l6IN");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)}var c=i("mw3O"),u={name:"login",data:function(){return{redirect:this.$route.query.redirect,token:"",form:{loginName:"HAZZYS",password:"EA48576F30BE1669971699C09AD05C94",eid:"ff8080816494494b0164a76b553a00e5"}}},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:"ff8080816494494b0164a76b553a00e5"})).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){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?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){return 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("i8uS")},null,null);e.default=d.exports},i8uS:function(t,e){}});
\ No newline at end of file
webpackJsonp([22],{"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("l6IN");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)}var c=i("mw3O"),u={name:"login",data:function(){return{redirect:this.$route.query.redirect,token:"",form:{loginName:"HAZZYS",password:"EA48576F30BE1669971699C09AD05C94",eid:"ff8080816494494b0164a76b553a00e5"}}},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:"ff8080816494494b0164a76b553a00e5"})).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){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?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){return 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("i8uS")},null,null);e.default=d.exports},i8uS:function(t,e){}});
\ No newline at end of file
webpackJsonp([23],{EHeP:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("BdFv"),i=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"myTagLib",data:function(){return{tagCategory:"myTagList"}},methods:{toAddMyTagLib:function(){}},mounted:function(){},components:{tagLib:n.a}}),s={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"myTagLib-wrap common-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)])])},staticRenderFns:[]};var o=e("VU/8")(i,s,!1,function(t){e("NXvq")},"data-v-628de2d0",null);a.default=o.exports},NXvq:function(t,a){}});
\ No newline at end of file
webpackJsonp([24],{EHeP:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("BdFv"),i=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"myTagLib",data:function(){return{tagCategory:"myTagList"}},methods:{toAddMyTagLib:function(){}},mounted:function(){},components:{tagLib:n.a}}),s={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"myTagLib-wrap common-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)])])},staticRenderFns:[]};var o=e("VU/8")(i,s,!1,function(t){e("NXvq")},"data-v-628de2d0",null);a.default=o.exports},NXvq:function(t,a){}});
\ No newline at end of file
webpackJsonp([24],{"8xuW":function(t,e){},Gy5W:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var 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.pathName=window.location.hash.split("/")[1],this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)},staticRenderFns:[]};var a=n("VU/8")(o,i,!1,function(t){n("8xuW")},null,null);e.default=a.exports}});
\ No newline at end of file
webpackJsonp([25],{"8xuW":function(t,e){},Gy5W:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var 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.pathName=window.location.hash.split("/")[1],this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)},staticRenderFns:[]};var a=n("VU/8")(o,i,!1,function(t){n("8xuW")},null,null);e.default=a.exports}});
\ No newline at end of file
webpackJsonp([31],{"5/Vq":function(t,a){},q490:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("BdFv"),i=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"manualTagLib",data:function(){return{tagCategory:"manualTagList"}},components:{tagLib:n.a}}),r={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagLib-wrap common-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)])])},staticRenderFns:[]};var s=e("VU/8")(i,r,!1,function(t){e("5/Vq")},"data-v-50a34f5e",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([32],{"5/Vq":function(t,a){},q490:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("BdFv"),i=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"manualTagLib",data:function(){return{tagCategory:"manualTagList"}},components:{tagLib:n.a}}),r={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagLib-wrap common-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)])])},staticRenderFns:[]};var s=e("VU/8")(i,r,!1,function(t){e("5/Vq")},"data-v-50a34f5e",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([34],{"G/on":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("5QTb"),s=(a("Mk6G"),a("3E4D")),n=a("Ch4/"),i=(a("PI0u"),a("P9l9")),o={name:"platformTagList",data:function(){return{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(0==e.errorCode)return s.a.showmsg("添加成功","success"),void a.getTagList();n.a.errorMsg(e)}).catch(function(t){a.$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 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(0==a.errorCode)return e.tagTableData=a.result.result,void(e.total=a.result.totalCount);n.a.errorMsg(a)}).catch(function(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}},mounted:function(){this.getUrlParams()},components:{tagCategory:r.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"platformTagList-wrap common-wrap"},[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!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchEnterFun(e)}},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){return 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){return 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("dm-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()])])])},staticRenderFns:[]};var c=a("VU/8")(o,l,!1,function(t){a("eyn9")},"data-v-48357d6b",null);e.default=c.exports},eyn9:function(t,e){}});
\ No newline at end of file
webpackJsonp([35],{"G/on":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("5QTb"),s=(a("Mk6G"),a("3E4D")),n=a("Ch4/"),i=(a("PI0u"),a("P9l9")),o={name:"platformTagList",data:function(){return{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(0==e.errorCode)return s.a.showmsg("添加成功","success"),void a.getTagList();n.a.errorMsg(e)}).catch(function(t){a.$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 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(0==a.errorCode)return e.tagTableData=a.result.result,void(e.total=a.result.totalCount);n.a.errorMsg(a)}).catch(function(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}},mounted:function(){this.getUrlParams()},components:{tagCategory:r.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"platformTagList-wrap common-wrap"},[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!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchEnterFun(e)}},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){return 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){return 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("dm-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()])])])},staticRenderFns:[]};var c=a("VU/8")(o,l,!1,function(t){a("eyn9")},"data-v-48357d6b",null);e.default=c.exports},eyn9:function(t,e){}});
\ No newline at end of file
webpackJsonp([35],{OK0t:function(t,e){},vRdD:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={data:function(){return{filesData:void 0}},props:{data:{type:Object,default:function(){return{}}},visiable:Boolean},methods:{tagItemImport:function(){if(console.log(this.filesData),!this.filesData)return this.$message.warning("请上传文件");this.$emit("submit",this.filesData,this.$refs.upload)},onClose:function(){this.filesData=void 0,this.$emit("close",!1)},handleUpload:function(){console.log(this.data),0===this.data.excelData.length&&this.reHandleUpload()},reHandleUpload:function(){this.$refs.upload.click()},handleFileChange:function(t){var e=t.target.files[0];console.log(e);if(e)return/(\.(xlsx|xls|csv))$/.test(e.name)?void(this.filesData=e):(this.$message.warning({duration:1e3,message:"仅支持上传xlsx、xls、csv格式的文件"}),void(t.target.value=""))},downloadExcelTemp:function(){var t=window.location.origin;t=t.indexOf("localhost")>=0?"http://gicdev.demogic.com/":t,window.location.href=""+t+this.data.downLoadUrl}}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t.data.title,visible:t.data.isShow,"custom-class":"manual-dialog"},on:{"update:visible":function(e){return t.$set(t.data,"isShow",e)},close:t.onClose}},[a("div",{staticClass:"import"},[a("div",{class:["excel-icon",t.filesData?"excel-icon--active":"excel-icon--add"],on:{click:t.handleUpload}},[a("span",{directives:[{name:"show",rawName:"v-show",value:0===t.data.excelData.length,expression:"data.excelData.length === 0"}],staticClass:"import-btn"},[t._v("点击上传会员")])]),t._v(" "),a("div",{staticClass:"import-cont"},[a("div",{staticClass:"import-handle"},[a("input",{ref:"upload",staticStyle:{display:"none"},attrs:{type:"file",accept:".xlsx, .xls, .csv"},on:{change:t.handleFileChange}}),t._v(" "),t.data.excelData.length>0?[a("span",[t._v(t._s(t.data.excelName))]),t._v(" "),a("span",{staticClass:"import-num"},[t._v("\n 已导入会员\n "),a("span",{staticClass:"color-303133"},[t._v(t._s(t.data.excelData.length))]),t._v("\n 人\n ")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:t.reHandleUpload}},[t._v("重新导入")])]:t._e()],2),t._v(" "),a("div",{staticClass:"import-tip"},[a("span",{staticClass:"import-tip-text"},[t._v("只能上传一个excel文件(2003版本以上),且数据不超过50000条")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:t.downloadExcelTemp}},[a("span",{staticClass:"font-12"},[t._v("下载Excel模板")])])],1),t._v(" "),a("div",{staticClass:"clear-old"},[a("el-checkbox",{model:{value:t.data.optType,callback:function(e){t.$set(t.data,"optType",e)},expression:"data.optType"}},[t._v("清空标签历史标记会员")]),t._v(" "),a("el-tooltip",{attrs:{content:"勾选后,此前被该标签标记的会员将移除此标签,此标签标记会员以本次导入为准。"}},[a("i",{staticClass:"iconfont icon-xinxixianshi"})])],1)])]),t._v(" "),a("template",{slot:"footer"},[a("el-button",{on:{click:function(e){return t.$emit("update:visiable",!1)}}},[t._v("取消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.tagItemImport}},[t._v("确定")])],1)],2)},staticRenderFns:[]};var l=a("VU/8")(i,s,!1,function(t){a("OK0t")},"data-v-3ff51ef1",null);e.default=l.exports}});
\ No newline at end of file
webpackJsonp([39],{KOwB:function(t,e){},roJz:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={name:"TagValueItem",props:{item:Object,currentLength:Number},data:function(){return{tagValue:""}},methods:{onPaste:function(t){var e=this;if(this.currentLength>=100)return this.$message.warning("标签值最多支持设置100个");this.$emit("paste",t),setTimeout(function(){e.item.tagItemName=""},10)},add:function(){if(this.currentLength>=100)return this.$message.warning("标签值最多支持设置100个");this.$emit("add",this.item.id)},del:function(){this.$emit("del",this.item.id)}}},a={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"flex"},[n("el-input",{staticClass:"w-380",attrs:{placeholder:"请输入标签值",maxlength:"15","show-word-limit":""},on:{change:t.onChange},nativeOn:{paste:function(e){return t.onPaste(e)}},model:{value:t.item.tagItemName,callback:function(e){t.$set(t.item,"tagItemName",e)},expression:"item.tagItemName"}}),t._v(" "),n("i",{staticClass:"iconfont plus icon margin icon-PlusOutlined",on:{click:t.add}}),t._v(" "),t.currentLength>1&&!t.item.tagItemId?n("i",{staticClass:"iconfont delete icon icon-delete",on:{click:t.del}}):t._e()],1)},staticRenderFns:[]};var s=n("VU/8")(i,a,!1,function(t){n("KOwB")},"data-v-28163ea4",null);e.default=s.exports}});
\ No newline at end of file
webpackJsonp([38],{KOwB:function(t,e){},roJz:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={name:"TagValueItem",props:{item:Object,currentLength:Number},data:function(){return{tagValue:""}},methods:{onPaste:function(t){var e=this;if(this.currentLength>=100)return this.$message.warning("标签值最多支持设置100个");this.$emit("paste",t),setTimeout(function(){e.item.tagItemName=""},10)},add:function(){if(this.currentLength>=100)return this.$message.warning("标签值最多支持设置100个");this.$emit("add",this.item.id)},del:function(){this.$emit("del",this.item.id)}}},a={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"flex"},[n("el-input",{staticClass:"w-380",attrs:{placeholder:"请输入标签值",maxlength:"15","show-word-limit":""},on:{change:t.onChange},nativeOn:{paste:function(e){return t.onPaste(e)}},model:{value:t.item.tagItemName,callback:function(e){t.$set(t.item,"tagItemName",e)},expression:"item.tagItemName"}}),t._v(" "),n("i",{staticClass:"iconfont plus icon margin icon-PlusOutlined",on:{click:t.add}}),t._v(" "),t.currentLength>1&&!t.item.tagItemId?n("i",{staticClass:"iconfont delete icon icon-delete",on:{click:t.del}}):t._e()],1)},staticRenderFns:[]};var s=n("VU/8")(i,a,!1,function(t){n("KOwB")},"data-v-28163ea4",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.
webpackJsonp([40],{MrvM:function(t,a){},vRdD:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i={data:function(){return{filesData:void 0}},props:{data:{type:Object,default:function(){return{}}},visiable:Boolean},methods:{tagItemImport:function(){if(console.log(this.filesData),!this.filesData)return this.$message.warning("请上传文件");this.$emit("submit",this.filesData,this.$refs.upload)},onClose:function(){this.filesData=void 0,this.$emit("close",!1)},handleUpload:function(){console.log(this.data),0===this.data.excelData.length&&this.reHandleUpload()},reHandleUpload:function(){this.$refs.upload.click()},handleFileChange:function(t){var a=t.target.files[0];console.log(a);if(a)return/(\.(xlsx|xls|csv))$/.test(a.name)?void(this.filesData=a):(this.$message.warning({duration:1e3,message:"仅支持上传xlsx、xls、csv格式的文件"}),void(t.target.value=""))},downloadExcelTemp:function(){var t=window.location.origin;t=t.indexOf("localhost")>=0?"http://www.gicdev.com/":t,window.location.href=""+t+this.data.downLoadUrl}}},s={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("el-dialog",{attrs:{title:t.data.title,visible:t.data.isShow,"custom-class":"manual-dialog"},on:{"update:visible":function(a){return t.$set(t.data,"isShow",a)},close:t.onClose}},[e("div",{staticClass:"import"},[e("div",{class:["excel-icon",t.filesData?"excel-icon--active":"excel-icon--add"],on:{click:t.handleUpload}},[e("span",{directives:[{name:"show",rawName:"v-show",value:0===t.data.excelData.length,expression:"data.excelData.length === 0"}],staticClass:"import-btn"},[t._v("点击上传会员")])]),t._v(" "),e("div",{staticClass:"import-cont"},[e("div",{staticClass:"import-handle"},[e("input",{ref:"upload",staticStyle:{display:"none"},attrs:{type:"file",accept:".xlsx, .xls, .csv"},on:{change:t.handleFileChange}}),t._v(" "),t.data.excelData.length>0?[e("span",[t._v(t._s(t.data.excelName))]),t._v(" "),e("span",{staticClass:"import-num"},[t._v("\n 已导入会员\n "),e("span",{staticClass:"color-303133"},[t._v(t._s(t.data.excelData.length))]),t._v("\n 人\n ")]),t._v(" "),e("el-button",{attrs:{type:"text"},on:{click:t.reHandleUpload}},[t._v("重新导入")])]:t._e()],2),t._v(" "),e("div",{staticClass:"import-tip"},[e("span",{staticClass:"import-tip-text"},[t._v("只能上传一个excel文件(2003版本以上),且数据不超过50000条")]),t._v(" "),e("el-button",{attrs:{type:"text"},on:{click:t.downloadExcelTemp}},[e("span",{staticClass:"font-12"},[t._v("下载Excel模板")])])],1),t._v(" "),e("div",{staticClass:"clear-old"},[e("el-checkbox",{model:{value:t.data.optType,callback:function(a){t.$set(t.data,"optType",a)},expression:"data.optType"}},[t._v("清空标签历史标记会员")]),t._v(" "),e("el-tooltip",{attrs:{content:"勾选后,此前被该标签标记的会员将移除此标签,此标签标记会员以本次导入为准。"}},[e("i",{staticClass:"iconfont icon-xinxixianshi"})])],1)])]),t._v(" "),e("template",{slot:"footer"},[e("el-button",{on:{click:function(a){return t.$emit("update:visiable",!1)}}},[t._v("取消")]),t._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:t.tagItemImport}},[t._v("确定")])],1)],2)},staticRenderFns:[]};var l=e("VU/8")(i,s,!1,function(t){e("MrvM")},"data-v-0dd01498",null);a.default=l.exports}});
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,n,r){for(var t,b,o,i=0,u=[];i<c.length;i++)b=c[i],f[b]&&u.push(f[b][0]),f[b]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(a&&a(c,n,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)o=d(d.s=r[i]);return o};var c={},f={46:0};function d(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,d){a=f[e]=[c,d]});a[2]=c;var n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,d.nc&&r.setAttribute("nonce",d.nc),r.src=d.p+"static/js/"+e+"."+{0:"1a7715361a5b1bb84dd7",1:"a5b1143fb090193afa6f",2:"80967fc0c5d2e38785ca",3:"ff305e5dc9d6506945c1",4:"204aedfb0870a329fb96",5:"2b76bfcb34e27514247e",6:"73c4cc952259800eebb9",7:"d85b2cf49c25bd3b3a4b",8:"0ee171376d4ff4853265",9:"6745d9c9726c50323c7f",10:"b3e0655ae069b2914dce",11:"cfa61640d1a3d8d26b48",12:"ed35f742a5cdceb1f843",13:"04f66cbd91ce2ab0d824",14:"8a595aded66caf7ef375",15:"577a3da26a2e906135ac",16:"fd8e0aca022b16e268de",17:"ee4ff30e9c5028d2ab9a",18:"04fef63821c104201b24",19:"4fcd3f0652be046eae2b",20:"2fa96d2046651d4bda7a",21:"1f6367e5dcf6de69a5bd",22:"4985a38ec89a12ab291d",23:"1e9aeacb85a469484d6e",24:"32ea2fce686ff5a02a83",25:"9631a7f7112daff44b57",26:"94037a1d26ca9ff1357c",27:"9da56a144273173dd58d",28:"c08b5446e0d6813e98ab",29:"ac3b9ad2c1fe8c5ea040",30:"4226ba90f06063c51c49",31:"7c02ba89e248eaadf07c",32:"079e1a2a7c4b75892e4d",33:"00364921438ed3f97457",34:"7eff4f62b69145f81c4d",35:"f6c7eb27d91ddb250e6d",36:"9de99ecb4d9b9240a7fb",37:"9963beab4d1e44f7645e",38:"468b3385aaf0fc8f3b55",39:"b59b4162a53300ded7b9",40:"78641cb6ef8afc5d86f9",41:"9a90b7405429e597f965",42:"50661a28c4416e9dd052",43:"a58b09332b3e4b0b022a"}[e]+".js";var t=setTimeout(b,12e4);function b(){r.onerror=r.onload=null,clearTimeout(t);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return r.onerror=r.onload=b,n.appendChild(r),c},d.m=e,d.c=c,d.d=function(e,a,c){d.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,r,t){for(var d,o,b,i=0,u=[];i<a.length;i++)o=a[i],f[o]&&u.push(f[o][0]),f[o]=0;for(d in r)Object.prototype.hasOwnProperty.call(r,d)&&(e[d]=r[d]);for(c&&c(a,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)b=n(n.s=t[i]);return b};var a={},f={46:0};function n(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,n),f.l=!0,f.exports}n.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,n){c=f[e]=[a,n]});c[2]=a;var r=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"ba6ed7ca78ccaca46847",1:"a5b1143fb090193afa6f",2:"00084a893b865621c476",3:"565c6fac859bfc7f15f2",4:"4f8a62e877bf73adffdd",5:"15a048efad912317dc36",6:"1f76f95bcbc5f535cf7c",7:"0e6468a59ed8ebc1519c",8:"0ee171376d4ff4853265",9:"6745d9c9726c50323c7f",10:"b3e0655ae069b2914dce",11:"cfa61640d1a3d8d26b48",12:"ed35f742a5cdceb1f843",13:"b9286457d3b2f53b104b",14:"f1bb46f47253fcdabdc7",15:"ca5dcc810d7eb4ede5e4",16:"fd8e0aca022b16e268de",17:"ee4ff30e9c5028d2ab9a",18:"04fef63821c104201b24",19:"50d942c9e9ba56907937",20:"f0de25cbc685c7981cae",21:"2d017c8b5f6ac4ca475f",22:"f97c04968d78b5b99e89",23:"a0c2dfb1838c5d9a1341",24:"ee5a8baed163b78150c1",25:"de7e9c9cec4e7e3c2f50",26:"94037a1d26ca9ff1357c",27:"9da56a144273173dd58d",28:"72e477a80a5213bda056",29:"ac3b9ad2c1fe8c5ea040",30:"4226ba90f06063c51c49",31:"ab3007e6059f971fa25c",32:"14f79f198642e872b60b",33:"fbef30d9ea92d5016e9e",34:"4f095728a58c5e4446cc",35:"db4a5f9813e5ad452dbe",36:"4f93f6d6dcca0b44741d",37:"471b078ac17fa88086d4",38:"34828a0b7f6e26291441",39:"6f50385ef3f802774720",40:"62cc19b06b630be3c8d9",41:"9a90b7405429e597f965",42:"50661a28c4416e9dd052",43:"a58b09332b3e4b0b022a"}[e]+".js";var d=setTimeout(o,12e4);function o(){t.onerror=t.onload=null,clearTimeout(d);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return t.onerror=t.onload=o,r.appendChild(t),a},n.m=e,n.c=a,n.d=function(e,c,a){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,"a",c),c},n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -22,7 +22,7 @@ export default {
},
created() {
this.baseUrl = window.location.origin.indexOf('localhost') > -1 ? 'http://gicdev.demogic.com' : window.location.origin;
this.baseUrl = window.location.origin.indexOf('localhost') > -1 ? 'http://www.gicdev.com' : window.location.origin;
this._getUserInfo();
this.changeTab();
},
......
......@@ -7,7 +7,7 @@ Vue.axios.defaults.timeout = 15000;
let local = window.location.origin;
if (local.indexOf('localhost') != -1) {
local = 'http://gicdev.demogic.com';
local = 'http://www.gicdev.com';
}
Vue.axios.interceptors.request.use(
......
......@@ -7,7 +7,7 @@ export default {
errorMsg: function(response) {
let local = window.location.origin;
if (local.indexOf('localhost')) {
local = 'http://gicdev.demogic.com';
local = 'http://www.gicdev.com';
}
if (response.errorCode != 0) {
if (response.errorCode == 401) {
......
const host = window.location.origin;
// eslint-disable-next-line
export const baseUrl = host.indexOf('localhost') > '-1' ? 'http://gicdev.demogic.com' : host;
export const baseUrl = host.indexOf('localhost') > '-1' ? 'http://www.gicdev.com' : host;
......@@ -423,7 +423,7 @@
var that = this;
var host = window.location.origin;
if (host.indexOf("localhost") != "-1") {
that.baseUrl = "http://gicdev.demogic.com";
that.baseUrl = "http://www.gicdev.com";
} else {
that.baseUrl = host;
}
......
const host = window.location.origin;
export const baseUrl = host.('localhost') ? 'http://gicdev.demogic.com' : host;
export const baseUrl = host.('localhost') ? 'http://www.gicdev.com' : host;
......@@ -13,7 +13,7 @@
</div>
<div v-if="operNum == 2">
<p class="title">
我的会员分组
所有分类
</p>
<ul class="batch-ul">
......@@ -21,7 +21,7 @@
{{ item.classifyName }}
</li>
</ul>
<p class="group-name">选中的分{{ groupName }}</p>
<p class="group-name">选中的分{{ groupName }}</p>
</div>
<template v-if="operNum == 0 || operNum == 1">
<p v-for="(item, index) in list" :key="index" class="item">
......@@ -134,11 +134,14 @@ export default {
getMemberGroupList() {
memberGroupList({
type: 0,
requestProject: 'gic-member-tag-web'
requestProject: 'gic-member-tag-web',
pageSize: 99999
})
.then(res => {
if (res.errorCode == 0) {
this.groupList = res.result.filter(el => el.classifyName != '未分类').map(item => ({
console.log(res.result)
const { result} = res.result;
this.groupList = result.filter(el => el.classifyName != '未分类').map(item => ({
...item,
edit: false
}));
......
......@@ -2545,7 +2545,7 @@ export default {
this.templateObj = {};
let host = window.location.origin;
if (host.indexOf('localhost') != '-1') {
this.baseUrl = 'http://gicdev.demogic.com';
this.baseUrl = 'http://www.gicdev.com';
} else {
this.baseUrl = host;
}
......
......@@ -9,7 +9,7 @@ export default {
const that = this;
let host = window.location.origin;
if (host.indexOf('localhost') != '-1') {
that.baseUrl = 'http://gicdev.demogic.com';
that.baseUrl = 'http://www.gicdev.com';
} else {
that.baseUrl = host;
}
......
const host = window.location.origin;
// eslint-disable-next-line
export const baseUrl = host.indexOf('localhost') > '-1' ? 'http://gicdev.demogic.com' : host;
export const baseUrl = host.indexOf('localhost') > '-1' ? 'http://www.gicdev.com' : host;
export const ERR_OK = 0;
......
......@@ -4,7 +4,7 @@ import { Message } from 'element-ui';
const host = window.location.origin;
const BASEURL = host.indexOf('localhost') > -1 ? 'http://gicdev.demogic.com/gic-member-tag-web' : `${host}/gic-member-tag-web`;
const BASEURL = host.indexOf('localhost') > -1 ? 'http://www.gicdev.com/gic-member-tag-web' : `${host}/gic-member-tag-web`;
const server = axios.create({
baseURL: BASEURL,
......
......@@ -515,7 +515,7 @@ export default {
parentId: 'tb-cid-11'
};
that.axios
.post('http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category', qs.stringify(para))
.post('http://www.gicdev.com:9310/api-mall/list_mall_goods_category', qs.stringify(para))
.then(res => {
let resData = res.data;
let onelevelCategory = '';
......@@ -573,7 +573,7 @@ export default {
let that = this;
let para = {};
that.axios
.post('http://gicdev.demogic.com:9310/api-mall/list_mall_goods_tag_tree', qs.stringify(para))
.post('http://www.gicdev.com:9310/api-mall/list_mall_goods_tag_tree', qs.stringify(para))
.then(res => {
let resData = res.data;
if (resData.errorCode == 0) {
......@@ -692,7 +692,7 @@ export default {
parentId: parentId
};
that.axios
.post('http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category', qs.stringify(para))
.post('http://www.gicdev.com:9310/api-mall/list_mall_goods_category', qs.stringify(para))
.then(res => {
let resData = res.data;
if (resData.errorCode == 0) {
......@@ -823,7 +823,7 @@ export default {
// that.total = 50;
that.axios
.post('http://gicdev.demogic.com:9310/api-mall/page-mall-goods', qs.stringify(para))
.post('http://www.gicdev.com:9310/api-mall/page-mall-goods', qs.stringify(para))
.then(res => {
let resData = res.data;
if (resData.errorCode == 0) {
......@@ -981,7 +981,7 @@ export default {
};
that.axios
.post('http://gicdev.demogic.com:9310/api-plug/list-link-data', qs.stringify(para))
.post('http://www.gicdev.com:9310/api-plug/list-link-data', qs.stringify(para))
.then(res => {
let resData = res.data;
if (resData.errorCode == 0) {
......@@ -1057,7 +1057,7 @@ export default {
};
that.axios
.post('http://gicdev.demogic.com:9310/api-plug/query-store-by-code-name', qs.stringify(para))
.post('http://www.gicdev.com:9310/api-plug/query-store-by-code-name', qs.stringify(para))
.then(res => {
let resData = res.data;
if (resData.errorCode == 0) {
......@@ -1093,7 +1093,7 @@ export default {
};
that.axios
.post('http://gicdev.demogic.com:9310/api-auth/do-login', qs.stringify(para))
.post('http://www.gicdev.com:9310/api-auth/do-login', qs.stringify(para))
.then(res => {
that.getLinksList(0, 1);
})
......
......@@ -519,7 +519,7 @@ export default {
parentId: 'tb-cid-11'
};
that.axios
.post('http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category', qs.stringify(para))
.post('http://www.gicdev.com:9310/api-mall/list_mall_goods_category', qs.stringify(para))
.then(res => {
let resData = res.data;
let onelevelCategory = '';
......@@ -578,7 +578,7 @@ export default {
let that = this;
let para = {};
that.axios
.post('http://gicdev.demogic.com:9310/api-mall/list_mall_goods_tag_tree', qs.stringify(para))
.post('http://www.gicdev.com:9310/api-mall/list_mall_goods_tag_tree', qs.stringify(para))
.then(res => {
let resData = res.data;
if (resData.errorCode == 0) {
......@@ -697,7 +697,7 @@ export default {
parentId: parentId
};
that.axios
.post('http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category', qs.stringify(para))
.post('http://www.gicdev.com:9310/api-mall/list_mall_goods_category', qs.stringify(para))
.then(res => {
let resData = res.data;
if (resData.errorCode == 0) {
......@@ -826,7 +826,7 @@ export default {
// that.pageSize = 10;
// that.total = 50;
that.axios
.post('http://gicdev.demogic.com:9310/api-mall/page-mall-goods', qs.stringify(para))
.post('http://www.gicdev.com:9310/api-mall/page-mall-goods', qs.stringify(para))
.then(res => {
let resData = res.data;
if (resData.errorCode == 0) {
......@@ -982,7 +982,7 @@ export default {
parentId: parentId
};
that.axios
.post('http://gicdev.demogic.com:9310/api-plug/list-link-data', qs.stringify(para))
.post('http://www.gicdev.com:9310/api-plug/list-link-data', qs.stringify(para))
.then(res => {
let resData = res.data;
if (resData.errorCode == 0) {
......@@ -1057,7 +1057,7 @@ export default {
};
that.axios
.post('http://gicdev.demogic.com:9310/api-plug/query-store-by-code-name', qs.stringify(para))
.post('http://www.gicdev.com:9310/api-plug/query-store-by-code-name', qs.stringify(para))
.then(res => {
let resData = res.data;
if (resData.errorCode == 0) {
......@@ -1093,7 +1093,7 @@ export default {
};
that.axios
.post('http://gicdev.demogic.com:9310/api-auth/do-login', qs.stringify(para))
.post('http://www.gicdev.com:9310/api-auth/do-login', qs.stringify(para))
.then(res => {
that.getLinksList(0, 1);
})
......
......@@ -94,7 +94,7 @@ export default {
// 导出 excel 模板
downloadExcelTemp() {
let origin = window.location.origin;
origin = origin.indexOf('localhost') >= 0 ? 'http://gicdev.demogic.com/' : origin;
origin = origin.indexOf('localhost') >= 0 ? 'http://www.gicdev.com/' : origin;
window.location.href = `${origin}${this.data.downLoadUrl}`;
},
}
......
......@@ -632,7 +632,7 @@ export default {
var that = this;
var host = window.location.origin;
if (host.indexOf('localhost') != '-1') {
that.baseUrl = 'http://gicdev.demogic.com';
that.baseUrl = 'http://www.gicdev.com';
} else {
that.baseUrl = host;
}
......@@ -641,7 +641,7 @@ export default {
const { tagItemId }=this.$route.query;
let local = window.location.origin;
if (local.indexOf('localhost') != -1) {
local = 'http://gicdev.demogic.com';
local = 'http://www.gicdev.com';
}
this.pageParam.tagItemId=tagItemId;
this.downTagDetailListPop.params.tagItemId = tagItemId;
......
......@@ -575,7 +575,7 @@ export default {
exportParams.exportFields = data.toString();
exportParams.tagId = this.tagId;
let origin = window.location.origin;
origin = origin.indexOf('localhost') >= 0 ? 'http://gicdev.demogic.com/' : origin;
origin = origin.indexOf('localhost') >= 0 ? 'http://www.gicdev.com/' : origin;
this.exportMemberData.excelUrl = origin + this.exportMemberData.excelUrl;
},
onDeleteTag(row, index, e) {
......
......@@ -889,7 +889,7 @@ export default {
let that = this;
let host = window.location.origin;
if (host.indexOf('localhost') != '-1') {
that.baseUrl = 'http://gicdev.demogic.com';
that.baseUrl = 'http://www.gicdev.com';
} else {
that.baseUrl = host;
}
......
......@@ -697,7 +697,7 @@ export default {
var that = this;
var host = window.location.origin;
if (host.indexOf('localhost') != '-1') {
that.baseUrl = 'http://gicdev.demogic.com';
that.baseUrl = 'http://www.gicdev.com';
} else {
that.baseUrl = host;
}
......@@ -706,7 +706,7 @@ export default {
let local = window.location.origin;
let memberTagGroupId = this.$route.query.memberTagGroupId;
if (local.indexOf('localhost') != -1) {
local = 'http://gicdev.demogic.com';
local = 'http://www.gicdev.com';
}
this.downMemberListPop.params.memberTagGroupId = memberTagGroupId;
......
......@@ -107,7 +107,7 @@
<div class="form-item">
<div class="label-title">更新频次<span class="desc-labeltxt">{{ updateTypeDesc() }}</span></div>
<el-select v-model="ruleForm.updateType" placeholder="请选择" disabled style="width: 100%">
<el-option v-for="(item, index) in rateData" :key="item.label" :label="item.label" :value="index + 1"></el-option>
<el-option v-for="item in rateData" :key="item.label" :label="item.label" :value="item.value"></el-option>
</el-select>
</div>
</el-form-item>
......@@ -354,19 +354,19 @@ export default {
rateData: [
{
label: '实时更新',
value: 1
value: 0
},
{
label: '每日一次',
value: 2
value: 1
},
{
label: '生效后更新一次',
value: 3
value: 2
},
{
label: '生效后更新一次',
value: 4
value: 3
},
],
......@@ -798,13 +798,13 @@ export default {
watchUpdateType(isActive, fixedType) {
console.log(isActive, fixedType)
if (isActive && !fixedType) {
return 1;
return 0;
} else if (!isActive && !fixedType) {
return 2;
return 1;
} else if (!isActive && fixedType) {
return 3;
return 2;
} else if (isActive && fixedType) {
return 4;
return 3;
}
},
checkGroup() {
......
......@@ -842,10 +842,11 @@ export default {
},
getMemberGroupList() {
memberGroupList({
requestProject: 'gic-member-tag-web'
requestProject: 'gic-member-tag-web',
pageSize: 99999,
}).then(res => {
if (res.errorCode == 0) {
this.options[2].children = res.result.filter(el => el.classifyName != '未分类');
this.options[2].children = res.result.result.filter(el => el.classifyName != '未分类');
}
});
},
......
......@@ -658,7 +658,7 @@ export default {
var that = this;
var host = window.location.origin;
if (host.indexOf('localhost') != '-1') {
that.baseUrl = 'http://gicdev.demogic.com';
that.baseUrl = 'http://www.gicdev.com';
} else {
that.baseUrl = host;
}
......@@ -668,7 +668,7 @@ export default {
let local = window.location.origin;
let memberTagGroupId = this.$route.query.memberTagGroupId;
if (local.indexOf('localhost') != -1) {
local = 'http://gicdev.demogic.com';
local = 'http://www.gicdev.com';
}
const type = this.$route.query.type
this.downMemberListPop.params.gradeId = memberTagGroupId;
......
......@@ -169,7 +169,7 @@
<div class="form-item">
<label for="">更新频次<span class="desc-labeltxt">{{ updateTypeDesc() }}</span></label>
<el-select v-model="tagConfig.updateType" placeholder="请选择" disabled>
<el-option v-for="(item, index) in rateData" :key="item.label" :label="item.label" :value="index + 1"></el-option>
<el-option v-for="item in rateData" :key="item.label" :label="item.label" :value="item.value"></el-option>
</el-select>
</div>
<div class="form-item">
......@@ -329,19 +329,19 @@ export default {
rateData: [
{
label: '实时更新',
value: 1
value: 0
},
{
label: '每日一次',
value: 2
value: 1
},
{
label: '生效后更新一次',
value: 3
value: 2
},
{
label: '生效后更新一次',
value: 4
value: 3
},
],
......@@ -827,13 +827,13 @@ export default {
},
watchUpdateType(isRealTime, fixedType) {
if (isRealTime && !fixedType) {
return 1;
return 0;
} else if (!isRealTime && !fixedType) {
return 2;
return 1;
} else if (!isRealTime && fixedType) {
return 3;
return 2;
} else if (isRealTime && fixedType) {
return 4;
return 3;
}
}
},
......
......@@ -790,7 +790,7 @@ export default {
const that = this;
let host = window.location.origin;
if (host.indexOf('localhost') != '-1') {
that.baseUrl = 'http://gicdev.demogic.com';
that.baseUrl = 'http://www.gicdev.com';
} else {
that.baseUrl = host;
}
......
......@@ -861,7 +861,7 @@ export default {
var that = this;
var host = window.location.origin;
if (host.indexOf('localhost') != '-1') {
that.baseUrl = 'http://gicdev.demogic.com';
that.baseUrl = 'http://www.gicdev.com';
} else {
that.baseUrl = host;
}
......
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