Commit fbbb4f32 by 无尘

add: 增加手工标签添加,修改,导入会员

parent b702044b
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.ae84b54bfcb65ed629f958c4d11fe0ff.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.2b9fa54f3faded57ad3b.js></script><script type=text/javascript src=./static/js/vendor.ae6fa584b9d3d8074e5d.js></script><script type=text/javascript src=./static/js/app.cb81cdb12aaf16ccd4e6.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.9c43416f940169b249c009892809e26b.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.5ec1e343dd7020097195.js></script><script type=text/javascript src=./static/js/vendor.ae6fa584b9d3d8074e5d.js></script><script type=text/javascript src=./static/js/app.a4acb9d2e14ecaa1998a.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([13],{GaIp:function(t,a){},twLH:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),s=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"myTagLib",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}],tagCategory:"myTagList"}},methods:{toAddMyTagLib:function(){}},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),r={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"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 o=n("VU/8")(s,r,!1,function(t){n("GaIp")},"data-v-6d8ff900",null);a.default=o.exports}});
//# sourceMappingURL=13.355eedee1bee94cfd95d.js.map
\ No newline at end of file
webpackJsonp([14],{GaIp:function(t,a){},twLH:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),s=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"myTagLib",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}],tagCategory:"myTagList"}},methods:{toAddMyTagLib:function(){}},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),r={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"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 o=n("VU/8")(s,r,!1,function(t){n("GaIp")},"data-v-6d8ff900",null);a.default=o.exports}});
//# sourceMappingURL=14.92199267df3426ee7901.js.map
\ No newline at end of file
webpackJsonp([14],{"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=14.c4695f2a34ee0c60de49.js.map
\ No newline at end of file
webpackJsonp([15],{"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=15.9f61f06d1572f1265cc0.js.map
\ No newline at end of file
webpackJsonp([17],{"8fha":function(t,a){},KN59:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagEdit",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}]}},methods:{},mounted:function(){},components:{navCrumb:e.a}}),s={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagEdit-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),this._m(0),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"})])}]};var r=n("VU/8")(i,s,!1,function(t){n("8fha")},"data-v-564f4d34",null);a.default=r.exports}});
//# sourceMappingURL=17.1948b2304dfe70d18f05.js.map
\ No newline at end of file
webpackJsonp([18],{"8fha":function(t,a){},KN59:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagEdit",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}]}},methods:{},mounted:function(){},components:{navCrumb:e.a}}),s={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagEdit-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),this._m(0),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"})])}]};var r=n("VU/8")(i,s,!1,function(t){n("8fha")},"data-v-564f4d34",null);a.default=r.exports}});
//# sourceMappingURL=18.6ed416399616407ccde9.js.map
\ No newline at end of file
webpackJsonp([18],{YPWR:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o("bOdI"),i=o.n(n),a=o("5reh"),s={name:"App",data:function(){var t;return t={projectName:"member",contentHeight:"0px",collapseFlag:!1},i()(t,"collapseFlag",!1),i()(t,"leftModulesName","会员设置"),t},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},mounted:function(){this.$store.commit(a.d,"达摩GIC"),document.title=this.$store.state.title,this.pathName=window.location.hash.split("/")[1],console.log("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},l={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"index"}},[e("vue-gic-header",{attrs:{projectName:this.projectName,collapseFlag:this.collapseFlag},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])],1)},staticRenderFns:[]};var c=o("VU/8")(s,l,!1,function(t){o("jw/Y")},null,null);e.default=c.exports},"jw/Y":function(t,e){}});
//# sourceMappingURL=18.ab734ebe9809ba629573.js.map
\ No newline at end of file
webpackJsonp([19],{YPWR:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o("bOdI"),i=o.n(n),a=o("5reh"),s={name:"App",data:function(){var t;return t={projectName:"member",contentHeight:"0px",collapseFlag:!1},i()(t,"collapseFlag",!1),i()(t,"leftModulesName","会员设置"),t},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},mounted:function(){this.$store.commit(a.d,"达摩GIC"),document.title=this.$store.state.title,this.pathName=window.location.hash.split("/")[1],console.log("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},l={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"index"}},[e("vue-gic-header",{attrs:{projectName:this.projectName,collapseFlag:this.collapseFlag},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])],1)},staticRenderFns:[]};var c=o("VU/8")(s,l,!1,function(t){o("jw/Y")},null,null);e.default=c.exports},"jw/Y":function(t,e){}});
//# sourceMappingURL=19.fe136bb2a23a31036fe4.js.map
\ No newline at end of file
webpackJsonp([19],{AXN1:function(t,a){},puJc:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),r=n("BdFv"),i=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"platformTagLib",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}],tagCategory:"platformTagList"}},methods:{},mounted:function(){},components:{navCrumb:e.a,tagLib:r.a}}),s={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"platformTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var o=n("VU/8")(i,s,!1,function(t){n("AXN1")},"data-v-3a09f9ad",null);a.default=o.exports}});
//# sourceMappingURL=19.7766cd380e454598a96d.js.map
\ No newline at end of file
webpackJsonp([20],{AXN1:function(t,a){},puJc:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),r=n("BdFv"),i=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"platformTagLib",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}],tagCategory:"platformTagList"}},methods:{},mounted:function(){},components:{navCrumb:e.a,tagLib:r.a}}),s={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"platformTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var o=n("VU/8")(i,s,!1,function(t){n("AXN1")},"data-v-3a09f9ad",null);a.default=o.exports}});
//# sourceMappingURL=20.f908174573964538db82.js.map
\ No newline at end of file
webpackJsonp([20],{S2wC:function(t,a){},q490:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),s=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagLib",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}],tagCategory:"manualTagList"}},methods:{},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),r={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var o=n("VU/8")(s,r,!1,function(t){n("S2wC")},"data-v-35a0e25e",null);a.default=o.exports}});
//# sourceMappingURL=20.a6bc8858fd3df4f55187.js.map
\ No newline at end of file
webpackJsonp([21],{S2wC:function(t,a){},q490:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),s=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagLib",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}],tagCategory:"manualTagList"}},methods:{},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),r={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var o=n("VU/8")(s,r,!1,function(t){n("S2wC")},"data-v-35a0e25e",null);a.default=o.exports}});
//# sourceMappingURL=21.07c82561157b5e9a3988.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,o,a){for(var f,d,i,u=0,b=[];u<r.length;u++)d=r[u],t[d]&&b.push(t[d][0]),t[d]=0;for(f in o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f]);for(n&&n(r,o,a);b.length;)b.shift()();if(a)for(u=0;u<a.length;u++)i=c(c.s=a[u]);return i};var r={},t={26:0};function c(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,c){n=t[e]=[r,c]});n[2]=r;var o=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,c.nc&&a.setAttribute("nonce",c.nc),a.src=c.p+"static/js/"+e+"."+{0:"f0d8be8939f626bdc838",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"b40e0608a64372c8127a",6:"e8a80e25b08656461f52",7:"166462f15848c7acd34f",8:"d026a8e41b09e5635ee9",9:"85fb625f8b0688f1c0e3",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"efe5e750726bc1eaf8fb",13:"355eedee1bee94cfd95d",14:"c4695f2a34ee0c60de49",15:"28dc596367e11cc70e83",16:"f0c70bf184a20da9cc9f",17:"1948b2304dfe70d18f05",18:"ab734ebe9809ba629573",19:"7766cd380e454598a96d",20:"a6bc8858fd3df4f55187",21:"100dea7ca9040b6bad4c",22:"ba0463839ff9dd55a78a",25:"9ceafa4ee79176c87d81"}[e]+".js";var f=setTimeout(d,12e4);function d(){a.onerror=a.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=d,o.appendChild(a),r},c.m=e,c.c=r,c.d=function(e,n,r){c.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},c.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="./",c.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.2b9fa54f3faded57ad3b.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,o,f){for(var a,d,i,u=0,b=[];u<r.length;u++)d=r[u],t[d]&&b.push(t[d][0]),t[d]=0;for(a in o)Object.prototype.hasOwnProperty.call(o,a)&&(e[a]=o[a]);for(n&&n(r,o,f);b.length;)b.shift()();if(f)for(u=0;u<f.length;u++)i=c(c.s=f[u]);return i};var r={},t={26:0};function c(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,c){n=t[e]=[r,c]});n[2]=r;var o=document.getElementsByTagName("head")[0],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,c.nc&&f.setAttribute("nonce",c.nc),f.src=c.p+"static/js/"+e+"."+{0:"6103b66860dd1b78f40a",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"22c5f9aaf47285057226",6:"e8a80e25b08656461f52",7:"166462f15848c7acd34f",8:"d026a8e41b09e5635ee9",9:"960d859c3e8c3d93ff01",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"efe5e750726bc1eaf8fb",13:"7d9f0a0c4cc0d01338c8",14:"92199267df3426ee7901",15:"9f61f06d1572f1265cc0",16:"2f5942e91ee9b162d882",17:"d8a2f038f5a054d1529a",18:"6ed416399616407ccde9",19:"fe136bb2a23a31036fe4",20:"f908174573964538db82",21:"07c82561157b5e9a3988",22:"ba0463839ff9dd55a78a",25:"9ceafa4ee79176c87d81"}[e]+".js";var a=setTimeout(d,12e4);function d(){f.onerror=f.onload=null,clearTimeout(a);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return f.onerror=f.onload=d,o.appendChild(f),r},c.m=e,c.c=r,c.d=function(e,n,r){c.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},c.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="./",c.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.5ec1e343dd7020097195.js.map
\ No newline at end of file
......@@ -12,7 +12,7 @@ export default {
local = 'http://gicdev.demogic.com';
}
console.log(response)
if (response.errorCode != 0) {
if (response.errorCode != 1) {
if (response.errorCode == 401) {
// window.location.href = local + "/gic-web/#/";
return false;
......
......@@ -2,7 +2,7 @@
<div>
<input id="excel-upload-input" :ref="'excel-upload-input'+currentIndex" type="file" accept=".xlsx, .xls, .csv" class="c-hide excel-upload-input" @change="handkeFileChange">
<div id="drop">
<el-button style="margin-left:16px;" size="mini" type="text" @click="handleUpload"><span class="p-r-8">点击导入会员</span><span class="p-l-8 border-l-dcdfe6 color-e55858" v-if="!!failedData.length" @click="handleDownload">下载失败会员清单</span></el-button>
<el-button style="margin-left:16px;" size="mini" type="text" ><span class="p-r-8" @click="handleUpload">点击导入会员</span><span class="p-l-8 border-l-dcdfe6 color-e55858" v-if="tagItemStatus == 3" @click.stop="handleDownload">下载失败会员清单</span></el-button>
<div class="excel-upload__tip">只能上传一个excle文件(2003版本以上),且数据不超过5000条</div>
</div>
</div>
......@@ -16,25 +16,31 @@ export default {
currentIndex: {
type: [String,Number]
},
currentExcelTagItemId: String,
status: {
type: [String,Number]
},
excelBodyData: Array,
excelHeader: Array,
failHead: {
type: Array,
default: function () {
return []
}
},
failData: {
type: Array,
default: function () {
return []
}
}
// failHead: {
// type: Array,
// default: function () {
// return []
// }
// },
// failData: {
// type: Array,
// default: function () {
// return []
// }
// }
},
data() {
return {
loading: false,
useIndex: null,
tagItemId: '', // 当前标签值 id
tagItemStatus: this.status, // 当前标签值的状态
excelData: {
header: null,
results: null,
......@@ -152,24 +158,60 @@ export default {
*/
handleDownload() {
const that = this
console.log(that.currentExcelTagItemId)
require.ensure([], () => {
const { export_json_to_excel } = require('@/vendor/Export2Excel')
const tHeader = ['phoneNum']
const filterVal = ['phoneNum']
const list = that.currentExcelData;
if (!list.length) {
that.$message.error({
duration: 1000,
message: "数据为空"
})
return false;
}
const data = that.formatJson(filterVal, list)
console.log(data)
export_json_to_excel(tHeader, data, '导出列表');
const para = {
tagItemId: that.tagItemId,
}
getRequest('/memberTag/saveHandMemberTag',para)
.then((res) => {
// console.log(res,res.data,res.data.errorCode)
var resData = res.data
if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success')
//获取数据后执行 excel 导出
that.exportExcel(header,currentExcelData)
return;
}
errMsg.errorMsg(resData)
})
.catch(function (error) {
console.log(error);
that.$message.error({
duration: 1000,
message: error.message
})
});
},
/**
* 导出 excel 方法
*/
exportExcel(header,currentExcelData) {
const that = this
require.ensure([], () => {
const { export_json_to_excel } = require('@/vendor/Export2Excel')
const tHeader = header; // ['phoneNum']
const filterVal = header; //['phoneNum']
const list = currentExcelData;
console.log(list)
if (!list.length) {
that.$message.error({
duration: 1000,
message: "数据为空"
})
return false;
}
const data = that.formatJson(filterVal, list)
console.log(data)
export_json_to_excel(tHeader, data, '导出列表');
})
},
formatJson(filterVal, jsonData) {
......@@ -181,15 +223,25 @@ export default {
console.log("watch:",newdata)
this.useIndex = newdata
},
failData: function(newdata,oldData){
// failData: function(newdata,oldData){
// console.log("watch:",newdata)
// this.failedData = newdata
// },
currentExcelTagItemId: function(newdata,oldData){
console.log("watch:",newdata)
this.tagItemId = newdata
},
status: function(newdata,oldData){
console.log("watch:",newdata)
this.failedData = newdata
this.tagItemStatus = newdata
},
},
mounted() {
console.log(this.currentIndex,this.failData)
this.useIndex = this.currentIndex
this.failedData = this.failData
console.log(this.currentIndex)
this.useIndex = this.currentIndex;
// this.failedData = this.failData
this.tagItemId = this.currentExcelTagItemId;
}
}
</script>
......
......@@ -406,7 +406,7 @@
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
that.tagTableData.splice(index,1)
that.postDelTag(index,row)
}).catch(() => {
});
......@@ -414,6 +414,38 @@
},
/**
* 删除当前标签 --- api
*/
postDelTag(index,row) {
const that = this;
const para = {
tagId: row.tagId,
}
getRequest('/memberTag/delHandMemberTag',para)
.then((res) => {
// console.log(res,res.data,res.data.errorCode)
var resData = res.data
if (resData.errorCode == 1) {
that.tagTableData.splice(index,1)
showMsg.showmsg('删除成功','success');
return;
}
errMsg.errorMsg(resData)
})
.catch(function (error) {
console.log(error);
that.$message.error({
duration: 1000,
message: error.message
})
});
},
/**
* 点击新增标签
*/
toManualTagEdit() {
......@@ -449,6 +481,9 @@
cateTwoChange(e) {
const that = this;
console.log(e)
// 清空原有值
that.cateForm.cateThree = '';
that.inputNum = 0;
that.getThreeLevel(e)
},
......
......@@ -5,8 +5,8 @@
<div class="right-box">
<div class="checkboxOption-wrap">
<div class="checkboxOption-wrap__head">
<div class="checkboxOption-wrap__head__title">{{ tagData.name }} <span class="realtime-span border-box">实时</span></div>
<div class="checkboxOption-wrap__head__describe">{{ tagData.des }}</div>
<div class="checkboxOption-wrap__head__title">{{ tagData.tagName }} <span class="realtime-span border-box">{{ tagData.isActive == 1? '实时' : '非实时' }}</span></div>
<div class="checkboxOption-wrap__head__describe">{{ tagData.tagDescribe }}</div>
</div>
<div class="checkboxOption-wrap__body">
<div class="checkboxOption-wrap__body__title">标签值设置</div>
......@@ -342,8 +342,10 @@
tagFlag: false, //判断是否添加暂存架还是添加我的标签库的标志,true: 暂存库,false: 我的标签
tagData: {
name: '性别',
des: '根据描述根据描述根据描述根据描述根据描述根据描述根据描述根',
tagId: '',
tagName: '性别',
tagDescribe: '根据描述根据描述根据描述根据描述根据描述根据描述根据描述根',
isActive: 0, // 是否实时
// 选项控件
checkeditems: [],
isIndeterminate: false,
......@@ -498,7 +500,7 @@
.then((res) => {
// console.log(res,res.data,res.data.errorCode)
var resData = res.data
if (resData.errorCode == 0) {
if (resData.errorCode == 1) {
showMsg.showmsg('添加成功','success')
return;
}
......@@ -988,6 +990,40 @@
ele.showCity = false;
})
}
},
/**
* 编辑时---获取当前标签数据---api
*/
getTagData(tagId) {
const that = this
const para = {
tagId: tagId
}
getRequest('/memberTag/getTagById',para)
.then((res) => {
// console.log(res,res.data,res.data.errorCode)
var resData = res.data
if (resData.errorCode == 1) {
that.tagData.tagId = resData.result.tagId;
that.tagData.tagName = resData.result.tagName;
that.tagData.tagDescribe = resData.result.tagDescribe;
that.tagData.isActive = resData.result.isActive;
return;
}
errMsg.errorMsg(resData)
})
.catch(function (error) {
console.log(error);
that.$message.error({
duration: 1000,
message: error.message
})
});
}
......@@ -1000,6 +1036,7 @@
console.log(that.$route.query);
if (!!that.$route.query.tagId) {
that.tagId = that.$route.query.tagId
that.getTagData(that.tagId)
}
},
components: {
......
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