Commit 6f14cbec by 无尘

add: 增加标签模板判断

parent 20caa441
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.b8ab8bdd4064f459ac60aeba26c109a8.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.19d1b44e868a69fae03d.js></script><script type=text/javascript src=./static/js/vendor.0500b9e3bc7cf982cf6f.js></script><script type=text/javascript src=./static/js/app.568912a871c76550fcfa.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.0dff31d5ecbb8cc336f38c1a0cd6a4d9.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.f9a0aefe02c88fe06cc7.js></script><script type=text/javascript src=./static/js/vendor.0500b9e3bc7cf982cf6f.js></script><script type=text/javascript src=./static/js/app.2f0c4f14231ba7aaf367.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.
......@@ -643,6 +643,7 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
/* 新加*/
#app, #index, #content {
position: relative;
height: 100%;
}
......
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([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([15],{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=15.6bff0bcecd6f1ce1319d.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([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([16],{"79PI":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:""},{name:"会员标签",path:""}],tagCategory:"platformTagList"}},methods:{},mounted:function(){},components:{navCrumb:n.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=e("VU/8")(i,s,!1,function(t){e("79PI")},"data-v-61caee3f",null);a.default=o.exports}});
//# sourceMappingURL=16.843a47923cc77fa59466.js.map
\ No newline at end of file
webpackJsonp([17],{"79PI":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:""},{name:"会员标签",path:""}],tagCategory:"platformTagList"}},methods:{},mounted:function(){},components:{navCrumb:n.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=e("VU/8")(i,s,!1,function(t){e("79PI")},"data-v-61caee3f",null);a.default=o.exports}});
//# sourceMappingURL=17.022c9fbbc20807dfcca3.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([19],{"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=19.4f681127cc3b6c7e3765.js.map
\ No newline at end of file
webpackJsonp([20],{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=20.747937511d9761d173a2.js.map
\ No newline at end of file
webpackJsonp([21],{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=21.cc4b11f9d593442a0878.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,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:"c05a77c669a6e9349d23",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"0106258f51de87a40b57",6:"bf23f584b51bd2c9836d",7:"445090e4de5b32ef4258",8:"24eeef980ff8ffe24d42",9:"6284684f59ae2a7586a8",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"dece2fedb495aa36c9a6",13:"e29aa5893a93a16c34bc",14:"92199267df3426ee7901",15:"9f61f06d1572f1265cc0",16:"843a47923cc77fa59466",17:"83e469d672229c638715",18:"6ed416399616407ccde9",19:"bfcaf83a5268b922dc57",20:"747937511d9761d173a2",21:"3dba0a38816e1f1717fb",22:"22f63d81db79c0c78098",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.19d1b44e868a69fae03d.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var f,d,i,u=0,b=[];u<r.length;u++)d=r[u],c[d]&&b.push(c[d][0]),c[d]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,o);b.length;)b.shift()();if(o)for(u=0;u<o.length;u++)i=t(t.s=o[u]);return i};var r={},c={26:0};function t(n){if(r[n])return r[n].exports;var c=r[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,t),c.l=!0,c.exports}t.e=function(e){var n=c[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,t){n=c[e]=[r,t]});n[2]=r;var a=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,t.nc&&o.setAttribute("nonce",t.nc),o.src=t.p+"static/js/"+e+"."+{0:"34aff793966d1eae3db3",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"0106258f51de87a40b57",6:"8ddcfd3e36ed9777bc2a",7:"195a6bda2d1d75851264",8:"2cbb8f2d925753f51614",9:"6284684f59ae2a7586a8",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"dece2fedb495aa36c9a6",13:"180d4fb52739083bd4f8",14:"e3674474da8a18925ba8",15:"6bff0bcecd6f1ce1319d",16:"f4036a24000959bd38c8",17:"022c9fbbc20807dfcca3",18:"7a971724ceedf92fdfcc",19:"4f681127cc3b6c7e3765",20:"f003cb91f977e661e07a",21:"cc4b11f9d593442a0878",22:"1d6faaea5525916db56d",25:"9ceafa4ee79176c87d81"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var n=c[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return o.onerror=o.onload=d,a.appendChild(o),r},t.m=e,t.c=r,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="./",t.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.f9a0aefe02c88fe06cc7.js.map
\ No newline at end of file
......@@ -44,7 +44,7 @@
width="543px"
class="tagShort-dialog"
:modal-append-to-body="false"
append-to-body
:append-to-body="false"
:before-close="closeTagShortDialog">
<div class="tags-content">
<div class="tags-content-wrap m-b-26">
......@@ -53,12 +53,12 @@
</div>
<div class="checkboxOption-wrap__head__describe inline-block top fr">
<el-input
v-if="searchFlag"
v-if="false"
placeholder="请输入关键字搜索"
prefix-icon="el-icon-search"
v-model="tagData.inputSearch"
@keyup.native="(value) => toSearchInput(value)">
</el-input>
</el-input><!-- searchFlag -->
<el-input
v-if="false"
placeholder="请输入关键字搜索"
......@@ -934,10 +934,14 @@
})
}
/* 数字区间 */
if (code === 'tag003' && that.templateData[0].numRange[0] === '') {
if (code === 'tag003' && (that.templateData[0].numRange[0] === ''||that.templateData[0].numRange[1] === '')) {
that.$message.error({ message: '请填写值'})
return false;
}
if (code === 'tag003' && that.templateData[0].numRange[0] >= that.templateData[0].numRange[1]){
that.$message.error({ message: '起始值必须小于最大值'})
return false;
}
if (code === 'tag003' && that.templateData.length ===1) {
tagValue.val[0].data.compute = that.templateData[0].postCompute;
tagValue.val[0].data.value = that.templateData[0].numRange.join(',')
......@@ -1242,7 +1246,10 @@
}
// 数字区间
if (ele.templateCode === 'tag003') {
if (ele.numRange[0] === '') { returnFlag = false }
if (ele.numRange[0] === '' || ele.numRange[1] === '') { returnFlag = false }
if (that.templateData[0].numRange[0] >= that.templateData[0].numRange[1]){
returnFlag = false
}
tagValue.val[0].data.compute = ele.postCompute;
tagValue.val[0].data.value = ele.numRange.join(',')
that.postTemplateData.selectedVal.push(ele.numRange);
......@@ -1414,43 +1421,51 @@
blurFrom(e,item){
const that = this
var value = !Number(e.target.value.replace(/[^\d]/g,''))? Number(0): Number(e.target.value.replace(/[^\d]/g,''))
let value = !Number(e.target.value.replace(/[^.\d]/g,''))? '': Number(e.target.value.replace(/[^.\d]/g,''))
console.log(value)
let reg = /^[0-9]+$/;
if (!!value && !reg.test(value)) {
value = Number(value).toFixed(2)
}
// 判断输入
let v1 = item.numRange[0];
let v2 = item.numRange[1]
if (!Number(v2) || Number(v1) >= Number(v2)) {
item.numRange[0] = value
item.numRange[1] = Number((!!Number(v1)? Number(v1):0) + 1)
that.$forceUpdate();
// if (!Number(v2) || Number(v1) >= Number(v2)) {
// item.numRange[0] = value
// item.numRange[1] = Number((!!Number(v1)? Number(v1):0) + 1)
// that.$forceUpdate();
return;
}
// return;
// }
item.numRange[0] = value
that.$forceUpdate();
},
blurTo(e,item){
const that = this
var value = !Number(e.target.value.replace(/[^\d]/g,''))? Number(0): Number(e.target.value.replace(/[^\d]/g,''))
let value = !Number(e.target.value.replace(/[^.\d]/g,''))? '': Number(e.target.value.replace(/[^.\d]/g,''))
let reg = /^[0-9]+$/;
if (!!value && !reg.test(value)) {
value = Number(value).toFixed(2)
}
let t1 = item.numRange[0];
let t2 = item.numRange[1]
if ((!Number(t1) && Number(t1)!=0) || (Number(t1) >= Number(t2))) {
item.numRange[0] = Number(t2) - 1 >=0? (Number(Number(t2) - 1)): !!Number(t1)? Number(t1): Number(0);
var newValue = null;
newValue = !!Number(t1)? (Number(t1)+1) : 1;
item.numRange[1] = value || newValue
if (Number(t1) > Number(t2)&& !Number(t2)) {
item.numRange[1] = Number(t1) +1
}
if (Number(t1) > Number(t2)&& !!Number(t1) && !!Number(t2)) {
item.numRange[0] = Number(t2) -1
}
that.$forceUpdate();
return
}
// if ((!Number(t1) && Number(t1)!=0) || (Number(t1) >= Number(t2))) {
// item.numRange[0] = Number(t2) - 1 >=0? (Number(Number(t2) - 1)): !!Number(t1)? Number(t1): Number(0);
// var newValue = null;
// newValue = !!Number(t1)? (Number(t1)+1) : 1;
// item.numRange[1] = value || newValue
// if (Number(t1) > Number(t2)&& !Number(t2)) {
// item.numRange[1] = Number(t1) +1
// }
// if (Number(t1) > Number(t2)&& !!Number(t1) && !!Number(t2)) {
// item.numRange[0] = Number(t2) -1
// }
// that.$forceUpdate();
// return
// }
item.numRange[1] = value
that.$forceUpdate();
......@@ -2181,6 +2196,7 @@
that.tagShortVisible = that.showTagDetail;
console.log(that.tagShortId)
that.getcityData();
document.getElementById("app").style.zIndex = 1;
// that.getTagData(that.tagShortId)
},
updated() {
......
......@@ -130,8 +130,8 @@
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope" >
<el-button v-if="!scope.row.editAble" type="text" size="small" class="" @click="toEditCate(scope.$index,scope.row)">编辑</el-button>
<el-button v-if="!scope.row.editAble" type="text" size="small" class="" @click="toDelCate(scope.$index,scope.row)">删除</el-button>
<el-button v-if="!scope.row.editAble" type="text" size="small" :disabled="!scope.row.enterpriseId? true: false" class="" @click="toEditCate(scope.$index,scope.row)">编辑</el-button>
<el-button v-if="!scope.row.editAble" type="text" size="small" :disabled="!scope.row.enterpriseId? true: false" class="" @click="toDelCate(scope.$index,scope.row)">删除</el-button>
<el-button v-if="scope.row.editAble" type="text" @click.stop="confirmEdit(scope.$index,scope.row)">确认</el-button>
<el-button v-if="scope.row.editAble" type="text" @click.stop="cancleEdit(scope.$index,scope.row)">取消</el-button>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -643,6 +643,7 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
/* 新加*/
#app, #index, #content {
position: relative;
height: 100%;
}
......
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