2 lines
24 KiB
JavaScript
2 lines
24 KiB
JavaScript
webpackJsonp([4],{"6PVf":function(e,t){},"7Otq":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJZElEQVRoQ9WZe3BcZRnGf+/Z7CVp0oSQ6oh2aG6iA+KMLXVKxwq92BZDGYGKIDDVKhlx9A9QURiH6nQGZxxwAIEBwSoNBBIQSlp7oVpR7t6AAVpp2rQ02SYlaUnTdi9n97zOObtnc3azm91c+geb6Zzs5tvve573ed73/b6vwkf8JR9x/EycwGr1ndFAZXU5ciDMSR4Sc0pBOFcDc5qpGPajx85lhHViTWS+4gRuUH9DOcvVYBUGC9RHPQbl+AAfMXy8rwbPHUxyK+skUcricy7SkBHkLoJ8xQrwSStAwAqABjmpQfZZQV6y/Gw6spe/0inJ8eYsTOAG9dcbtCL8BIPZDmDDAY16fsfPJjPG2r47ZKgU8O6Y2cv0LGMmbRrgYg2AFQT7qUFIk7F/706GuOPoy/yxEJG8BOq/o+dLkjYMPueA9QIeJaGU8eCBAN+fqOwZoqs1MHsGbepntUsg39MK8aqGuO74ddKdG6QxBJq3aEvyGTYSpyZtEzQN2lXAeZaxqecgVxSTuKgqKzV4ViM7NMAiN/IZErYiaXXEor9qJ9/obZcXvHNmEWjcoivkMB3WX6jKinpaBYdIiky/6ePc3t/I0XwAO8C3kspa92+KaBUjQwKab3ztTTrbH+Rt9TMzn5UcYiG0eifHygZpOdgpr7jzZAg0dGmzz+Kf+i7l+gYBG2iufTzeb+35rTxUKLrDwVnNhsF7bjkRsBKRRG0tx4YLfWfWL/Q2fKzPIpDOC1eZyteIlO9hOHmcuYeel7A9V4rAOjWaP8+LWCzQ3cQdAt5kdS2U+mzAF+Ds7nslVioBwEoWIVCzTmt8lRxSP5WubTKWSid31UtEKt6hXEw293TJpRkCTZ36TYE2+wPtJ6q7CGVVHQ8BDB7Y/7DcOJ63cxUohYA9X+092ql+rrRVcMC7VclWIgi1TxML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s9QI+Kn3mTnVD+/Tky2GHsKYatirJ3s5HPSg7FSACcr6o1oCEIaJMdoE7QdlKimXK61H51ypkmfUynifYIdbceod/hIPqK83WT/T+SAOcbYXx8vOb0xGQrzqynzl36sR04HJn6jGhbH7EyfcKqqMVZfkibPu2NT6XPjOKX6ckUxTlPxjiJbfCxUzo2026h/ZbzeUXt//8ByJ7Ze9EGCQYAAAAASUVORK5CYII="},G92t:function(e,t){},j7e0:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=s("mvHQ"),a=s.n(o),i=s("D/fc"),n={},r=function(e){var t="1.23452384164.123412416";null!==document.getElementById(t)&&document.body.removeChild(document.getElementById(t));var s=document.createElement("canvas");s.width=380,s.height=380;var o=s.getContext("2d");o.rotate(-30*Math.PI/200),o.font="18px Vedana",o.fillStyle="rgba(200, 200, 200, 0.40)",o.textAlign="left",o.textBaseline="Middle",o.fillText(e,s.width/8,s.height/2),o.fillText(e,s.width/4,s.height/1);var a=document.createElement("div");return a.id=t,a.style.pointerEvents="none",a.style.top="0px",a.style.left="0px",a.style.position="fixed",a.style.zIndex="100000",a.style.width=document.documentElement.clientWidth+"px",a.style.height=document.documentElement.clientHeight+"px",a.style.background="url("+s.toDataURL("image/png")+") left top repeat",document.body.appendChild(a),t};n.set=function(e){var t=r(e);n.timer=setInterval(function(){null===document.getElementById(t)&&(t=r(e))},500),window.onresize=function(){r(e)}},n.clear=function(){var e="1.23452384164.123412416";n.timer&&clearInterval(n.timer),null!==document.getElementById(e)&&document.body.removeChild(document.getElementById(e))};var l=n,c={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"navbar clearfix"},[s("el-breadcrumb",{staticClass:"breadcrumb-container",attrs:{"separator-class":"el-icon-arrow-right"}},e._l(e.breadList,function(t){return s("el-breadcrumb-item",{key:t.path,attrs:{to:t.path}},[e._v(e._s(t.meta.title))])}),1)],1)},staticRenderFns:[]},d=s("VU/8")({data:function(){return{breadList:[]}},watch:{$route:function(){this.getBreadcrumb()}},methods:{isHome:function(e){return"home"===e.name},getBreadcrumb:function(){var e=this.$route.matched;this.isHome(e[0])||(e=[{path:"/home",meta:{title:"首页"}}].concat(e)),this.breadList=e}},created:function(){this.getBreadcrumb()}},c,!1,null,null,null).exports,u={data:function(){return{isMove:!0,currentStep:20,currentSpeed:0,currentPoint:0}},props:["advertiseList"],mounted:function(){this.setCurrentSpeed(),this.startAdvertise()},methods:{setCurrentSpeed:function(){for(var e=0,t=0;t<this.advertiseList.length;t++)e+=this.advertiseList[t].length;e*=65,this.currentSpeed=e<1500?e:1500},startAdvertise:function(){var e=document.getElementById("advertiseContent"),t=e.scrollWidth,s=this.currentSpeed;this.currentPoint>0&&(s=this.currentPoint);var o=this;this.timer1=setInterval(function(){-(s-=1)>=t&&(s=o.currentSpeed),e.style.transform="translateX("+s+"px)",o.currentPoint=s},o.currentStep)},startAdvertise2:function(){this.isMove=!this.isMove,this.isMove?this.startAdvertise():clearInterval(this.timer1)}}},m={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"advertise-box"},[s("ul",{attrs:{id:"advertiseContent"},on:{click:e.startAdvertise2}},e._l(e.advertiseList,function(t,o){return s("li",{key:o},[e._v(e._s(t))])}),0)])},staticRenderFns:[]};var f=s("VU/8")(u,m,!1,function(e){s("6PVf")},"data-v-239f6bc7",null).exports,p={components:{MenuFoldOne:i.a,MenuUnfoldOne:i.b,Breadcrumb:d,Advertise:f},data:function(){return{tabList:this.$store.state.tabList,activeTab:this.$store.state.activeTab,editPasswordDialogVisible:!1,editPasswordInfo:{oldPassword:"",newPassword:"",confirmPassword:""},editPasswordRules:{oldPassword:[{required:!0,message:"请输入原密码",trigger:"blur"},{min:6,max:16,message:"6~16位英文字母数字下划线组合",trigger:"blur"}],newPassword:[{required:!0,message:"请输入原密码",trigger:"blur"},{min:6,max:16,message:"6~16位英文字母数字下划线组合",trigger:"blur"}],confirmNewPassword:[{required:!0,message:"请输入原密码",trigger:"blur"},{min:6,max:16,message:"6~16位英文字母数字下划线组合",trigger:"blur"}]},systemInfoDialogVisible:!1,systemInfo:{},userInfoDialogVisible:!1,userInfo:{},menulist:[],isCollapse:!1,isShowAdvertisement:!1,advertiseList:[]}},created:function(){if(!localStorage.getItem("token"))return this.$notify({message:"请重新登录!",type:"warning"}),this.$router.push("/"),!1;this.getUserInfo(),this.getMenuList(),this.getSystemInfo(),this.$router.push("/welcome")},mounted:function(){if(localStorage.getItem("userInfo")){var e=JSON.parse(localStorage.getItem("userInfo")),t=e.nick;t.length>6&&(t=t.substr(0,6));var s=e.username,o="";o=s.length<=4?t+s:t+s.substr(-4),l.set(o)}this.goWelcome()},watch:{tabList:function(e){var t=e.length;this.activeTab=e[t-1].name,this.$router.replace(e[t-1].path)}},methods:{goWelcome:function(){var e={name:"welcome",path:"/welcome",label:"首页"};this.$store.commit("addTab",e),this.activeTab=e.name,this.triggerTab(e)},closeTab:function(e){this.$store.state.tabList.length>1&&this.$store.commit("closeTab",e)},triggerTab:function(e,t){this.$router.push(e.name)},selectMenuChange:function(e){var t={};this.$router.options.routes[1].children.forEach(function(s){e==s.path&&(t.name=s.name,t.path=s.path,t.label=s.meta.title)}),this.$store.commit("addTab",t),this.activeTab=t.name},downloadTemplate:function(){this.$common.downloadFiles("template.zip")},showEditPasswordDialog:function(){this.editPasswordDialogVisible=!0},editPassword:function(){var e=this;this.$refs.editPasswordRef.validate(function(t){if(t){var s={username:e.userInfo.username,password:e.editPasswordInfo.oldPassword};e.$api.user.checkPassword(a()(s)).then(function(t){s={username:e.userInfo.username,password:e.editPasswordInfo.newPassword,id:e.userInfo.id},e.$api.user.editPassword(a()(s)).then(function(t){e.$notify({message:t.data.msg,type:"success"}),e.$router.push("/")}).catch(function(){})}).catch(function(){})}})},editPasswordDialogClose:function(){this.editPasswordDialogVisible=!1},systemInfoDialogClose:function(){this.systemInfoDialogVisible=!1},showSystemInfoDialog:function(){this.systemInfoDialogVisible=!0},getSystemInfo:function(){var e=this;this.$api.system.querySysParamById(1).then(function(t){e.systemInfo.sysName="乐普测试平台系统",e.systemInfo.sysVersion=t.data.data.sysVersion,e.systemInfo.copyRight=t.data.data.copyRight,e.systemInfo.support=t.data.data.support,e.systemInfo.tel=t.data.data.tel,e.systemInfo.welcome=t.data.data.welcome,1==t.data.data.isOpenAdvertise&&(e.isShowAdvertisement=!0,e.advertiseList.push(t.data.data.defaultAdvertisement))}).catch(function(){})},showUserInfoDialog:function(){this.userInfoDialogVisible=!0},getUserInfo:function(){var e=JSON.parse(localStorage.getItem("userInfo"));this.userInfo.id=e.id,this.userInfo.username=e.username,this.userInfo.nick=e.nick,this.userInfo.role=localStorage.getItem("userRoleName"),this.userInfo.createTime=e.createTime,this.userInfo.comments=e.comments,e.nick.length>5?this.currentUserName=e.nick.substr(0,5)+"...":this.currentUserName=e.nick},getCurrentUserName:function(){this.currentUserName=JSON.parse(localStorage.getItem("userInfo")).nick},logout:function(){this.$common.delAllStorage(),this.$store.state.tabList=[],this.$router.push("/")},getMenuList:function(){this.menulist=JSON.parse(localStorage.getItem("userMenus"))},toggleCollapse:function(){this.isCollapse=!this.isCollapse,this.isCollapse?document.getElementById("systemName").style.display="none":document.getElementById("systemName").style.display="";var e=this;setTimeout(function(){"interface"==e.$refs.mainPageRef.pageName&&e.$refs.mainPageRef.invokeInterface(),"interfaceData"==e.$refs.mainPageRef.pageName&&e.$refs.mainPageRef.invokeInterfaceData()},50)},userInfoDialogClose:function(){this.userInfoDialogVisible=!1}},destroyed:function(){this.$store.state.tabList=[],this.$common.delAllStorage(),l.clear()}},b={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("el-container",{staticClass:"home_box"},[o("el-container",[o("el-aside",{attrs:{width:e.isCollapse?"64px":"200px"}},[o("div",{staticClass:"left_header",on:{click:e.goWelcome}},[o("img",{attrs:{src:s("7Otq"),alt:""}}),e._v(" "),o("span",{staticStyle:{color:"#000"},attrs:{id:"systemName"}},[e._v("乐普测试平台")])]),e._v(" "),o("el-menu",{attrs:{"unique-opened":"","background-color":"#F4F5F7","text-color":"#000","active-text-color":"#409eff",collapse:e.isCollapse,"collapse-transition":!1,router:!0,"default-active":e.$route.name},on:{select:e.selectMenuChange}},e._l(e.menulist,function(t){return o("el-submenu",{key:t.id,attrs:{index:t.id+""}},[o("template",{slot:"title"},[o("i",{class:t.menuIcon}),e._v(" "),o("span",[e._v(e._s(t.menuName))])]),e._v(" "),e._l(t.childMenu,function(t){return o("el-menu-item",{key:t.id,attrs:{index:t.urlPath}},[o("template",{slot:"title"},[o("i",{class:t.menuIcon}),e._v(" "),o("span",[e._v(e._s(t.menuName))])])],2)})],2)}),1),e._v(" "),o("div",{staticClass:"menu-unfold"},[e.isCollapse?o("div",{staticClass:"toogle-button",on:{click:e.toggleCollapse}},[o("menu-fold-one",{attrs:{theme:"outline",size:"24",fill:"#333"}})],1):o("div",{staticClass:"toogle-button",on:{click:e.toggleCollapse}},[o("menu-unfold-one",{attrs:{theme:"outline",size:"24",fill:"#333"}})],1)])],1),e._v(" "),o("el-main",[o("el-header",[o("div",{staticClass:"header-left"}),e._v(" "),o("div",{staticClass:"header-middle scrolltop"},[e.isShowAdvertisement?o("advertise",{staticClass:"advertise-scroll",attrs:{advertiseList:e.advertiseList}}):e._e()],1),e._v(" "),o("div",{staticClass:"header-right"},[o("div",{staticClass:"user-info-welcome"},[o("img",{attrs:{src:s("8tHC")}}),e._v(" "+e._s(e.currentUserName)+" ")]),e._v(" "),o("div",{staticClass:"user-info-content"},[o("ul",{staticClass:"user-info-ul"},[o("li",{staticClass:"user-info-download"},[o("a",{staticClass:"child_dd",attrs:{href:"javascript:;"},on:{click:e.showUserInfoDialog}},[o("span",[e._v("用户信息")])])]),e._v(" "),o("li",{staticClass:"user-info-download"},[o("a",{staticClass:"child_dd",attrs:{href:"javascript:;"},on:{click:e.showEditPasswordDialog}},[o("span",[e._v("修改密码")])])]),e._v(" "),o("li",{staticClass:"user-info-download"},[o("a",{staticClass:"child_dd",attrs:{href:"javascript:;"},on:{click:e.showSystemInfoDialog}},[o("span",[e._v("关于系统")])])]),e._v(" "),o("li",{staticClass:"user-info-download"},[o("a",{staticClass:"child_dd",attrs:{href:"javascript:;"},on:{click:e.downloadTemplate}},[o("span",[e._v("下载模板")])])]),e._v(" "),o("li",{staticClass:"user-info-download"},[o("a",{staticClass:"child_dd",attrs:{href:"javascript:;"},on:{click:e.logout}},[o("span",[e._v("系统退出")])])])])])])]),e._v(" "),o("el-tabs",{attrs:{type:"border-card",closable:""},on:{"tab-remove":e.closeTab,"tab-click":e.triggerTab},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},e._l(e.tabList,function(t){return o("el-tab-pane",{key:t.name,attrs:{name:t.name,label:t.lable}},[o("span",{attrs:{slot:"label"},slot:"label"},[e._v("\n "+e._s(t.label)+"\n ")])])}),1),e._v(" "),o("router-view",{ref:"mainPageRef"})],1),e._v(" "),o("el-dialog",{attrs:{title:"用户信息","close-on-click-modal":!1,visible:e.userInfoDialogVisible,width:"30%"},on:{"update:visible":function(t){e.userInfoDialogVisible=t},close:e.userInfoDialogClose}},[o("el-form",{attrs:{model:e.userInfo,"label-width":"100px"}},[o("el-form-item",{attrs:{label:"用户名",prop:"username"}},[o("el-input",{model:{value:e.userInfo.username,callback:function(t){e.$set(e.userInfo,"username",t)},expression:"userInfo.username"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"姓名",prop:"nick"}},[o("el-input",{model:{value:e.userInfo.nick,callback:function(t){e.$set(e.userInfo,"nick",t)},expression:"userInfo.nick"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"角色",prop:"role"}},[o("el-input",{model:{value:e.userInfo.role,callback:function(t){e.$set(e.userInfo,"role",t)},expression:"userInfo.role"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"注册时间",prop:"createTime"}},[o("el-input",{model:{value:e.userInfo.createTime,callback:function(t){e.$set(e.userInfo,"createTime",t)},expression:"userInfo.createTime"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"备注",prop:"comments"}},[o("el-input",{attrs:{type:"textarea"},model:{value:e.userInfo.comments,callback:function(t){e.$set(e.userInfo,"comments",t)},expression:"userInfo.comments"}})],1)],1),e._v(" "),o("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:function(t){e.userInfoDialogVisible=!1}}},[e._v("取 消")])],1)],1),e._v(" "),o("el-dialog",{attrs:{title:"修改密码","close-on-click-modal":!1,visible:e.editPasswordDialogVisible,width:"30%"},on:{"update:visible":function(t){e.editPasswordDialogVisible=t},close:e.editPasswordDialogClose}},[o("el-form",{ref:"editPasswordRef",attrs:{model:e.editPasswordInfo,rules:e.editPasswordRules,"label-width":"100px"}},[o("el-form-item",{attrs:{label:"原密码",prop:"oldPassword"}},[o("el-input",{model:{value:e.editPasswordInfo.oldPassword,callback:function(t){e.$set(e.editPasswordInfo,"oldPassword",t)},expression:"editPasswordInfo.oldPassword"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"新密码",prop:"newPassword"}},[o("el-input",{model:{value:e.editPasswordInfo.newPassword,callback:function(t){e.$set(e.editPasswordInfo,"newPassword",t)},expression:"editPasswordInfo.newPassword"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"确认新密码",prop:"confirmNewPassword"}},[o("el-input",{model:{value:e.editPasswordInfo.confirmNewPassword,callback:function(t){e.$set(e.editPasswordInfo,"confirmNewPassword",t)},expression:"editPasswordInfo.confirmNewPassword"}})],1)],1),e._v(" "),o("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:function(t){e.editPasswordDialogVisible=!1}}},[e._v("取 消")]),e._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:e.editPassword}},[e._v("确 定")])],1)],1),e._v(" "),o("el-dialog",{attrs:{title:"关于系统","close-on-click-modal":!1,visible:e.systemInfoDialogVisible,width:"30%"},on:{"update:visible":function(t){e.systemInfoDialogVisible=t},close:e.systemInfoDialogClose}},[o("el-form",{attrs:{model:e.systemInfo,"label-width":"100px"}},[o("el-form-item",{attrs:{label:"系统名称",prop:"sysName"}},[o("el-input",{model:{value:e.systemInfo.sysName,callback:function(t){e.$set(e.systemInfo,"sysName",t)},expression:"systemInfo.sysName"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"系统版本",prop:"sysVersion"}},[o("el-input",{model:{value:e.systemInfo.sysVersion,callback:function(t){e.$set(e.systemInfo,"sysVersion",t)},expression:"systemInfo.sysVersion"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"版权所属",prop:"copyRight"}},[o("el-input",{model:{value:e.systemInfo.copyRight,callback:function(t){e.$set(e.systemInfo,"copyRight",t)},expression:"systemInfo.copyRight"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"技术支持",prop:"support"}},[o("el-input",{model:{value:e.systemInfo.support,callback:function(t){e.$set(e.systemInfo,"support",t)},expression:"systemInfo.support"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"联系电话",prop:"tel"}},[o("el-input",{model:{value:e.systemInfo.tel,callback:function(t){e.$set(e.systemInfo,"tel",t)},expression:"systemInfo.tel"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"备注",prop:"welcome"}},[o("el-input",{attrs:{type:"textarea"},model:{value:e.systemInfo.welcome,callback:function(t){e.$set(e.systemInfo,"welcome",t)},expression:"systemInfo.welcome"}})],1)],1),e._v(" "),o("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:function(t){e.systemInfoDialogVisible=!1}}},[e._v("取 消")])],1)],1)],1)],1)},staticRenderFns:[]};var g=s("VU/8")(p,b,!1,function(e){s("G92t")},"data-v-21ddd7d5",null);t.default=g.exports}});
|
|
//# sourceMappingURL=4.0bc219abf1ae39ed4b69.js.map
|