yxk_pc_mdh/gyhl/static/js/16.b38f423fab20b579d959.js

1 line
31 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

webpackJsonp([16],{"5o1f":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAFnJJREFUeF7tXXl4VEW2P9WdhWxAAoFEQthB4KGSgTgiKknwSToIguj7QCQdwA3GZUBw/N58Gh0dZNNBPhERSIMIT0WUJR1wSCfKMpgIKItIWBIWJZCFLCQhS3c9qpMbO53uvlV363sT6x+WruUsv3vqnKpTVQjaYEkwzBiIsW4QRrg/AtTrkft6xhfX2Hp07egXVFLd4Ovro9PVNNigvMZq575TgN7+p9WGcWgHfX0HHdy4WlxzuaSs+nDe5crjCKOzCNlOZ5o35rU1cSGtMzR2/JPRNpvPvQjgzxjwCAC4y9dPH/inIeHg08EXSpuULITPsCAfqGvAoKurh/wLZXD1+s1qAPgRAfoBAxzS6RoO7N31yUUhfauljSYBkGAwjrulgHGAYCxgGMoJMyGmOwSFBsHZ4puSy5eAISzAB85fKoeioioCBm6MnwHg37cAuDvTbNot+cAyd6gZAIxNSk6yYTQFMEwCBJ0c5TJsQBiEdw+Bwsp6mcXV2H2wvx6qy6rhRF6J83hltyzQ1xjhrVnpG9IVIUbkIKoGQNy4mYOQzmYEgFkAEO7Ma2R4IAweFK6Y4p3HjwjxhVOni+BKEZkZWpUiAFiHbTpT1u71p0XqSbbmqgRAXFLKQwjgGcB4kjvOE/4cBVdqbLIJhrZjMjX422xw4nSx47Tg3PxrjNDqrPS0PbT9KlVPVQAYa0h+1IrgJYTRaHcC8PXTw32xUV776t3RRaaFC2eKPIEAMML7dTa8IjNj41alFMw3jioAkGBIGQ8IXsEYu1U8YYSY/NDbOvPx5LXfSThZcK7E3ZTgSNcBBOidTHPaLq8R2zSwVwEwNnH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pRsq6qAeAoiJ2bP1oc3XfgjG6Rkd35tpybnUyGPEB3QmcJBYnSr/92vnTff44tnj33+SVKKlLoWJoBgCOD6Zs/XtSz34AnwyO63wZB3dzyICYE5MbjiwSstVX4t/yz+cePn1o167m5yt+bI1TzTe00CQBHni3pnz3aUI8mhnUOuDc8IjLKt0OQH3d7iZgIwGUkcOua1oqSKzfLy6t+g5qSE+fyTi6eOjeVLtVYpKLkaq55ALgSzAcffRo3JKrDtPPXyhL1Pv6B1fXWoLLKar2Pr6+upKIKdEiHSsorobSs8Q6hsM6NV9KHdgzCXToGQUN9va1zSKC1tra2tmdEl2IfK966cv2OtZnmjXlyKcJb/f4/1pHhinL8DpAAAAAASUVORK5CYII="},"6QDX":function(t,e){},GNIU:function(t,e){},HS7g:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("Dd8w"),s=a.n(o),i=a("NYxO"),n={data:function(){return{dialog:{editPaw:{show:!1}},editPaw:{oldPaw:"",newPaw:"",confirmNewPaw:""},editPawRules:{oldPaw:[{required:!0,message:"请输入旧密码",trigger:"blur"}],newPaw:[{required:!0,message:"请输入新密码",trigger:"blur"},{min:8,max:20,message:"长度在 8 到 20 个字符",trigger:"blur"},{validator:function(t,e,a,o,s){var i=[];/^[a-z0-9]+$/.test(e)||(console.log("不符合输入规则"),i.push("请输入字母或特殊字符")),a(i)}}],confirmNewPaw:[{required:!0,message:"请再次输入新密码",trigger:"blur"},{min:8,max:20,message:"长度在 8 到 20 个字符",trigger:"blur"},{validator:function(t,e,a,o,s){var i=[];/^[a-z0-9]+$/.test(e)||(console.log("不符合输入规则"),i.push("请输入字母或特殊字符")),a(i)}}]}}},computed:s()({},Object(i.c)({userInfo:"user/getUserInfo"})),methods:s()({},Object(i.b)({sysLogout:"auth/logout"}),{userOperation:function(t){switch(t){case"logout":this.logout();break;case"editPaw":this.dialog.editPaw.show=!0,console.log("编辑密码")}},logout:function(){var t=this;this.sysLogout().then(function(){t.$router.push("/login")})},editPawSubmit:function(){this.$refs.editPaw.validate(function(t){if(!t)return console.log("error submit!!"),!1;console.log("修改密码表单提交")})}})},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("header",[a("ul",{staticClass:"header-menu"},[a("li",[a("router-link",{attrs:{to:"/home"}},[a("i",{staticClass:"iconfont icon-zhuye"}),t._v(" "),a("span",[t._v("主页")])])],1),t._v(" "),t._m(0),t._v(" "),t._m(1),t._v(" "),t._m(2)]),t._v(" "),a("div",{staticClass:"header-user"},[t._m(3),t._v(" "),a("div",{staticClass:"user-img"},[a("el-dropdown",{on:{command:t.userOperation}},[a("div",{staticClass:"user-info"},[a("h3",[t._v(t._s(t.userInfo.name))]),t._v(" "),a("span",[t._v(t._s(null==t.userInfo.deptName?"":t.userInfo.deptName))])]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"editPaw"}},[t._v("修改密码")]),t._v(" "),a("el-dropdown-item",{attrs:{command:"logout"}},[t._v("退出登录")])],1)],1),t._v(" "),t._m(4)],1)]),t._v(" "),a("el-dialog",{attrs:{title:"修改密码",visible:t.dialog.editPaw.show,"modal-append-to-body":!1,"custom-class":"editPawDialog",width:"35%"},on:{"update:visible":function(e){return t.$set(t.dialog.editPaw,"show",e)}}},[a("el-form",{ref:"editPaw",attrs:{model:t.editPaw,rules:t.editPawRules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"旧密码",prop:"oldPaw"}},[a("el-input",{attrs:{type:"password","auto-complete":"off"},model:{value:t.editPaw.oldPaw,callback:function(e){t.$set(t.editPaw,"oldPaw",e)},expression:"editPaw.oldPaw"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"新密码",prop:"newPaw"}},[a("el-input",{attrs:{type:"password","auto-complete":"off"},model:{value:t.editPaw.newPaw,callback:function(e){t.$set(t.editPaw,"newPaw",e)},expression:"editPaw.newPaw"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"确认新密码",prop:"confirmNewPaw"}},[a("el-input",{attrs:{type:"password","auto-complete":"off"},model:{value:t.editPaw.confirmNewPaw,callback:function(e){t.$set(t.editPaw,"confirmNewPaw",e)},expression:"editPaw.confirmNewPaw"}})],1)],1),t._v(" "),a("div",{staticStyle:{"text-align":"center"}},[a("el-button",{attrs:{type:"primary"},on:{click:t.editPawSubmit}},[t._v("保存")])],1)],1)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("li",[e("a",{attrs:{href:""}},[e("i",{staticClass:"iconfont icon-rizhiguanli"}),this._v(" "),e("span",[this._v("工作日志")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[e("a",{attrs:{href:""}},[e("i",{staticClass:"iconfont icon-jiabanshenqingliucheng"}),this._v(" "),e("span",[this._v("加班申请")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[e("a",{staticClass:"more",attrs:{href:""}},[e("i",{staticClass:"iconfont icon-gengduo"}),this._v(" "),e("span",[this._v("更多")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"user-message"},[e("i",{staticClass:"iconfont icon-xiaoxi"}),this._v(" "),e("span")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"img-box"},[e("img",{attrs:{src:a("lEZ3"),alt:""}})])}]};var l=a("VU/8")(n,r,!1,function(t){a("Lmux")},"data-v-475cb6e8",null).exports,c=a("BO1k"),u=a.n(c),h=a("woOf"),d=a.n(h),f={data:function(){return{left:0,wheelSpeed:30}},methods:{scroll:function(t){var e=this.$refs.scrollWrap.offsetWidth,a=this.$refs.scrollCont.offsetWidth;if(a>e){var o=t.deltaY>0?-1*this.wheelSpeed:this.wheelSpeed;t.deltaY>0?Math.abs(this.left+o)<=a-e&&(this.left+=o):this.left+o<0?this.left+=o:this.left=0}},scrollToCurTag:function(t){var e=this.$refs.scrollWrap.offsetWidth,a=t.offsetWidth,o=t.offsetLeft;o<-1*this.left?this.left=-o:o+a>e&&(this.left=-(o+a-e))}}},g={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"scrollWrap",staticClass:"scroll-wrap",on:{wheel:function(e){return e.preventDefault(),t.scroll.apply(null,arguments)}}},[a("div",{ref:"scrollCont",staticClass:"scroll-cont",style:{left:t.left+"px"}},[t._t("default")],2)])},staticRenderFns:[]};var p=a("VU/8")(f,g,!1,function(t){a("LkOg")},"data-v-5169dcd8",null).exports,m=(a("GKmE"),a("lbHh")),v=a.n(m),w=a("Dod7"),A={data:function(){return{formData:{},base:w.a,thisNotRedNum:"",show_close_more:!1,close_left:"",close_top:"",defaultPage:"/home",dialog:{editPaw:{show:!1}},userName:"",editPaw:{oldPaw:"",newPaw:"",confirmNewPaw:""},hasNotRead:!1,editPawRules:{oldPaw:[{required:!0,message:"请输入旧密码",trigger:"blur"}],newPaw:[{required:!0,message:"请输入新密码",trigger:"blur"},{message:"密码是6-20位必须是数字和字母组合",trigger:"blur"},{validator:function(t,e,a,o,s){var i=[];/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$/.test(e)||i.push("密码是6-20位必须是数字和字母组合"),a(i)}}],confirmNewPaw:[{required:!0,message:"请再次输入新密码",trigger:"blur"},{message:"密码是6-20位必须是数字和字母组合",trigger:"blur"},{validator:function(t,e,a,o,s){var i=[];/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$/.test(e)||i.push("密码是6-20位必须是数字和字母组合"),a(i)}}]}}},props:["isCollapse","notRedNum"],computed:s()({},Object(i.c)({userInfo:"user/getUserInfo"}),Object(i.e)({logoUrl:function(t){return t.common.logoUrl}}),{tagNavList:function(){return this.$store.state.tagNav.openedPageList}}),mounted:function(){var t=v.a.get("userName");this.userName=t,this.addTagNav(),this.thisNotRedNum=this.notRedNum,this.getDetail()},watch:{$route:function(){this.show_close_more=!1,this.addTagNav(),this.scrollToCurTag()},notRedNum:function(t){this.thisNotRedNum=t}},methods:s()({},Object(i.b)({sysLogout:"auth/logout"}),{getDetail:function(){var t=this;this.$api.companyAPI.detail().then(function(e){0==e.code&&(t.formData=d()({},t.formData,e.result))})},toMall:function(){window.open(this.base.mallHref)},rightClick:function(t){"2"==(t=t||window.event).button&&(document.oncontextmenu=function(t){t.preventDefault()},this.show_close_more=!0,this.close_left=t.pageX+1+"px",this.close_top=t.pageY+1+"px")},close_other:function(){this.$route.name&&(this.$store.commit("tagNav/removeTagNav",""),this.$store.commit("tagNav/addTagNav",this.$route),this.$refs.scrollBar.left=0),this.show_close_more=!1},close_all:function(){this.$store.commit("tagNav/removeTagNav",""),this.$router.push(this.defaultPage),this.show_close_more=!1},close_blur:function(){var t=this;setTimeout(function(){t.show_close_more=!1},200)},changeCollapse:function(){this.isCollapse=!this.isCollapse;var t=document.querySelector(".caidan_icon");this.isCollapse?t.style.transform="rotate(-180deg)":t.style.transform="rotate(0deg)",this.$emit("update:isCollapse",this.isCollapse)},userOperation:function(t){switch(t){case"logout":this.logout();break;case"editPaw":this.dialog.editPaw.show=!0,void 0!==this.$refs.editPaw&&this.$refs.editPaw.resetFields()}},logout:function(){var t=this;this.sysLogout().then(function(){t.$router.push("/login")})},editPawSubmit:function(){var t=this;if(this.editPaw.newPaw==this.editPaw.confirmNewPaw){var e={"userDO.userId":JSON.parse(v.a.get("userInfo")).userId,pwdOld:this.editPaw.oldPaw,pwdNew:this.editPaw.newPaw};this.$refs.editPaw.validate(function(a){if(!a)return!1;t.$api.userAPI.resetPwd(e).then(function(e){0===e.code?(t.$message({message:e.msg,type:"success"}),t.dialog.editPaw.show=!1):t.$message({message:e.msg?e.msg:"修改失败,请重试",type:"error"})}).catch(function(e){t.$message({message:"修改失败,请重试",type:"error"})})})}else this.$message({message:"密码输入不一致,请重新输入!",type:"error"})},addTagNav:function(){return this.$route.name&&this.$store.commit("tagNav/addTagNav",this.$route),!1},toTag:function(t){this.$router.push({path:t.path,query:t.query,fullPath:t.fullPath})},goHome:function(){this.$router.push({path:"/home",query:{}})},isActive:function(t){return t.path===this.$route.path},closeTheTag:function(t,e){this.show_close_more=!1,t.path!=this.defaultPage&&(this.$store.commit("tagNav/removeTagNav",t),this.$route.path==t.path&&(e?this.$router.push({path:this.tagNavList[e-1].path,query:this.tagNavList[e-1].query,fullPath:this.tagNavList[e-1].fullPath}):(this.$router.push({path:this.defaultPage,query:{t:Date.now()}}),"/home"==this.$route.path&&this.addTagNav())))},scrollToCurTag:function(){var t=this;this.$nextTick(function(){var e=!0,a=!1,o=void 0;try{for(var s,i=u()(t.$refs.tag);!(e=(s=i.next()).done);e=!0){var n=s.value;if(n.to.path===t.$route.path){t.$refs.scrollBar.scrollToCurTag(n.$el),n.to.fullPath!==t.$route.fullPath&&t.$store.commit("tagNav/updateTagNav",t.$route);break}}}catch(t){a=!0,o=t}finally{try{!e&&i.return&&i.return()}finally{if(a)throw o}}})},toMessageCenter:function(){this.$router.push({path:"/management/notice"})}}),components:{ScrollBar:p}},P={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("header",{staticClass:"header-box"},[a("div",{staticClass:"header-box-title"},[a("img",{staticStyle:{width:"40px",height:"40px","margin-right":"12px"},attrs:{src:t.logoUrl}}),t._v(" "),a("div",[t._v(t._s(t.formData.name))]),t._v(" "),a("div",{staticClass:"user-img",staticStyle:{position:"absolute",top:"5px",right:"12px","z-index":"999999999"}},[t._m(0),t._v(" "),a("el-dropdown",{attrs:{placement:"top"},on:{command:t.userOperation}},[a("div",{staticClass:"user-info"},[a("h3",[t._v(t._s(t.userName))])]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"editPaw"}},[t._v("修改密码")]),t._v(" "),a("el-dropdown-item",{attrs:{command:"logout"}},[t._v("退出登录")])],1)],1)],1)]),t._v(" "),a("div",{staticClass:"tag-nav"},[a("div",{staticClass:"path-home",on:{click:t.changeCollapse}},[a("div",{staticClass:"caidan_icon"})]),t._v(" "),a("scroll-bar",{ref:"scrollBar",staticStyle:{"z-index":"9999999999"}},[a("ul",{staticClass:"path",attrs:{tabindex:"0"},on:{blur:t.close_blur}},t._l(t.tagNavList,function(e,o){return"/home"!=e.path?a("router-link",{key:o,ref:"tag",refInFor:!0,staticClass:"tag-nav-item",class:t.isActive(e)?"active":"",attrs:{tag:"li",to:{path:e.path,query:e.query,fullPath:e.fullPath}}},[a("span",{on:{mousedown:t.rightClick}},[a("span",[t._v(t._s(e.title))]),t._v(" "),a("i",{staticClass:"el-icon-close",staticStyle:{"margin-left":"10px"},on:{click:function(a){return a.preventDefault(),a.stopPropagation(),t.closeTheTag(e,o)}}})])]):t._e()}),1)]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.show_close_more,expression:"show_close_more"}],staticClass:"close_more",style:{left:t.close_left,top:t.close_top}},[a("div",{staticClass:"close_item",on:{click:t.close_other}},[t._v("关闭其他")]),t._v(" "),a("div",{staticClass:"close_item",on:{click:t.close_all}},[t._v("关闭所有")])])],1),t._v(" "),a("div",{staticClass:"header-user"}),t._v(" "),a("el-dialog",{attrs:{title:"修改密码",visible:t.dialog.editPaw.show,"modal-append-to-body":!1,"custom-class":"editPawDialog",width:"35%"},on:{"update:visible":function(e){return t.$set(t.dialog.editPaw,"show",e)}}},[a("el-form",{ref:"editPaw",attrs:{model:t.editPaw,rules:t.editPawRules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"旧密码",prop:"oldPaw"}},[a("el-input",{attrs:{type:"password","show-password":"","auto-complete":"off"},model:{value:t.editPaw.oldPaw,callback:function(e){t.$set(t.editPaw,"oldPaw",e)},expression:"editPaw.oldPaw"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"新密码",prop:"newPaw"}},[a("el-input",{attrs:{type:"password","show-password":"","auto-complete":"off"},model:{value:t.editPaw.newPaw,callback:function(e){t.$set(t.editPaw,"newPaw",e)},expression:"editPaw.newPaw"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"确认新密码",prop:"confirmNewPaw"}},[a("el-input",{attrs:{type:"password","show-password":"","auto-complete":"off"},model:{value:t.editPaw.confirmNewPaw,callback:function(e){t.$set(t.editPaw,"confirmNewPaw",e)},expression:"editPaw.confirmNewPaw"}})],1)],1),t._v(" "),a("div",{staticStyle:{"text-align":"center"}},[a("el-button",{attrs:{type:"primary"},on:{click:t.editPawSubmit}},[t._v("保存")])],1)],1)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"img-box"},[e("img",{attrs:{src:a("5o1f"),alt:""}})])}]};var C=a("VU/8")(A,P,!1,function(t){a("QEr7")},"data-v-455bc85e",null).exports,b={name:"NavBarItem",data:function(){return{}},props:["item","navIndex","navItemCollapse"],mounted:function(){},methods:{click_:function(t){var e=!1;this.$store.state.tagNav.openedPageList.forEach(function(a){a.path==t.path&&(e=!0)}),t.url&&!t.path||"/"==t.path?window.open(t.url):e?this.$router.push({path:t.path,query:{}}):this.$router.push({path:t.path,query:{t:Date.now()}})}},watch:{navItemCollapse:function(t){}}},N={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",[0==t.item.hidden&&t.item.child&&t.item.child.length?a("el-submenu",{attrs:{index:t.navIndex,"popper-append-to-body":""}},[a("template",{staticClass:"menu-name",slot:"title"},[t.item.icon?a("i",{class:t.item.icon}):t._e(),t._v(" "),a("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(t.item.name))])]),t._v(" "),t._l(t.item.child,function(e,o){return a("nav-bar-item",{key:t.navIndex+"-"+e.id,attrs:{navIndex:t.navIndex+"-"+e.id,item:e}})})],2):0==t.item.hidden&&"/"!=t.item.path?a("el-menu-item",{attrs:{index:t.item.path,route:{path:t.item.path,query:{t:Date.now()}},url:t.item.url},on:{click:function(e){return t.click_(t.item)}}},[t.item.icon?a("i",{class:t.item.icon}):t._e(),t._v(" "),a("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(t.item.name))])]):0==t.item.hidden&&"/"==t.item.path?a("el-menu-item",{attrs:{index:t.navIndex,route:{path:t.item.path,query:{t:Date.now()}},url:t.item.url},on:{click:function(e){return t.click_(t.item)}}},[t.item.icon?a("i",{class:t.item.icon}):t._e(),t._v(" "),a("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(t.item.name))])]):t._e()],1)},staticRenderFns:[]};var y=a("VU/8")(b,N,!1,function(t){a("GNIU")},null,null).exports,x={data:function(){return{defActiveValue:"",navBgShow:!1,isCollapse:!1,logoUrlDefault:a("7Otq"),flag:!1}},props:["layout","navCollapse"],computed:s()({},Object(i.e)({navList:function(t){return t.auth.navList},logoUrl:function(t){return t.common.logoUrl}}),Object(i.c)("logoUrl"),{defActive:function(){return this.defActiveValue?this.defActiveValue:null}}),mounted:function(){},watch:{$route:function(){var t=this.$route.path;if(this.$refs.navbar.items[t]){var e=this.$refs.navbar.items[t].indexPath;this.selectMenu(t,e),this.defActiveValue=t}},navCollapse:function(t){this.isCollapse=t}},methods:{defActive:function(t){if(-1==this.$route.path.indexOf("add"))return this.$route.path},getLogo:function(){var t=this;this.$api.fileAPI.getLogo().then(function(e){0==e.code&&"sbly"==e.logoUrl&&(t.flag=!0)})},goHome:function(){this.$router.push({path:"/home",query:{}})},selectMenu:function(t,e){var a=this,o=this.$refs.navbar.openedMenus,s=void 0;if(e.length>1){var i=e[e.length-2];s=o.slice(o.indexOf(i)+1)}else s=o;(s=s.reverse()).forEach(function(t){a.$refs.navbar.closeMenu(t)})},openMenu:function(){},closeMenu:function(){},closeAll:function(){var t=this,e=this.$refs.navbar.openedMenus.concat([]);(e=e.reverse()).forEach(function(e){t.$refs.navbar.closeMenu(e)})},handleOpen:function(t,e){console.log(t,e)},handleClose:function(t,e){console.log(t,e)}},components:{NavBarItem:y}},_={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"sys-left-menu"},[a("el-scrollbar",{staticClass:"nav_el_scrollbar"},[a("el-menu",{ref:"navbar",staticClass:"left-menu-list",attrs:{"default-active":t.defActive,mode:"vertical","menu-trigger":"click","text-color":"#fff","active-text-color":"#fff","background-color":"#1d2535","unique-opened":"",collapse:t.isCollapse},on:{select:t.selectMenu,open:t.openMenu,close:t.closeMenu}},t._l(t.navList,function(e,o){return 0==e.hidden?a("nav-bar-item",{key:o,attrs:{navItemCollapse:t.navCollapse,item:e,navIndex:String(o)}}):t._e()}),1)],1)],1)},staticRenderFns:[]};var B=a("VU/8")(x,_,!1,function(t){a("MYSq"),a("p7t0")},"data-v-d4f05694",null).exports,T={data:function(){return{defaultPage:"/home"}},computed:s()({},Object(i.c)({tagNavList:"tagNav/getOpenedPageList"})),mounted:function(){this.addTagNav()},watch:{$route:function(){this.addTagNav(),this.scrollToCurTag()}},methods:{addTagNav:function(){return this.$route.name&&this.$store.commit("tagNav/addTagNav",this.$route),!1},addHomeNav:function(){},toTag:function(t){this.$router.push(t)},isActive:function(t){return t.path===this.$route.path},closeTheTag:function(t,e){t.path!=this.defaultPage&&(this.$store.commit("tagNav/removeTagNav",t),this.$route.path==t.path&&(e?this.$router.push(this.tagNavList[e-1].path):(this.$router.push(this.defaultPage),"/home"==this.$route.path&&this.addTagNav())))},scrollToCurTag:function(){var t=this;this.$nextTick(function(){var e=!0,a=!1,o=void 0;try{for(var s,i=u()(t.$refs.tag);!(e=(s=i.next()).done);e=!0){var n=s.value;if(console.log("滚动条滚动"),console.log(n),n.to.path===t.$route.path){t.$refs.scrollBar.scrollToCurTag(n.$el),tag.to.fullPath!==t.$route.fullPath&&t.$store.commit("tagNav/updateTagNav",t.$route);break}}}catch(t){a=!0,o=t}finally{try{!e&&i.return&&i.return()}finally{if(a)throw o}}})}},components:{ScrollBar:p}},Q={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"tag-nav"},[a("scroll-bar",{ref:"scrollBar"},[a("ul",{staticClass:"path"},t._l(t.tagNavList,function(e,o){return a("router-link",{key:o,ref:"tag",refInFor:!0,staticClass:"tag-nav-item",class:t.isActive(e)?"cur":"",staticStyle:{display:"none"},attrs:{tag:"li",to:{path:t.tag.path,query:t.tag.query,fullPath:t.tag.fullPath}}},[t._v("\n "+t._s(e.title)+"\n "),a("i",{staticClass:"el-icon-close",staticStyle:{"margin-left":"10px"},on:{click:function(a){return a.preventDefault(),a.stopPropagation(),t.closeTheTag(e,o)}}})])}),1)])],1)},staticRenderFns:[]};var S={render:function(){this.$createElement;this._self._c;return this._m(0)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("footer",[e("span",[this._v("Copyright © 无锡芯软智控系统有限公司All Right Reserved")]),this._v(" "),e("span",[this._v("服务热线: 4000-585-787 051081080220 ")]),this._v(" "),e("span",[this._v(" 网址: "),e("a",{staticStyle:{color:"#2589ee"},attrs:{href:"http://www.wxxinsoft.com",target:"view_window"}},[this._v("www.wxxinsoft.com")])])])}]};var E={name:"backTop",data:function(){return{opacity:".3",gotop:!1,scrollHeight:100}},props:["ele"],created:function(){},mounted:function(){window.addEventListener("scroll",this.handleScroll,!0)},methods:{enterBackTop:function(){this.opacity="1"},outBackTop:function(){this.opacity=".3"},handleScroll:function(t){var e=t.target.scrollTop;console.log(e),e>this.scrollHeight?this.gotop=!0:this.gotop=!1},handleScrollTop:function(){var t=this;console.log("this.ele.scrollTop为"+this.ele.scrollTop),this.$nextTick(function(){t.ele.scrollTop=0})}}},L={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{directives:[{name:"show",rawName:"v-show",value:this.gotop,expression:"gotop"}],staticClass:"backTop",style:{opacity:this.opacity},on:{mouseenter:this.enterBackTop,mouseout:this.outBackTop,click:this.handleScrollTop}},[e("div",{staticClass:"back"})])},staticRenderFns:[]};var k={data:function(){return{thisCollapse:!1,thisNotRedNum:0,notreadnum:"",isShow:!1,isZx:!0,imgShow:0}},computed:{key:function(){var t=this;if(this.$route.query.t)return this.$store.state.tagNav.openedPageList.forEach(function(e){e.path==t.$route.path&&(e.lastTime=t.$route.query.t)}),this.$route.fullPath},tagNavList:function(){return this.$store.state.tagNav.cachedPageName}},mounted:function(){this.getLogoUrl(),this.getNotReadCount()},components:{HeaderBar:l,NavBar:B,TagNav:a("VU/8")(T,Q,!1,function(t){a("vQy0")},"data-v-ededb408",null).exports,FooteBar:a("VU/8")({name:"footerBar",data:function(){return{}},mounted:function(){},methods:{}},S,!1,function(t){a("YDue")},"data-v-cff08632",null).exports,backTop:a("VU/8")(E,L,!1,function(t){a("mb1n")},"data-v-b516bb84",null).exports,HeaderBox:C},methods:s()({},Object(i.b)({getLogoUrl:"common/getLogoUrl"}),{changeMenu:function(){this.isShow=!0,this.isZx=!1},changeMenuBack:function(){this.isZx=!0,this.isShow=!1},changeImg:function(t){this.imgShow=t},changeTop:function(){this.imgShow=0},getNotReadCount:function(){var t=this;this.$api.notificationAPI.countNotRead().then(function(e){t.thisNotRedNum=e.notReadCount}).catch(function(e){t.pictLoading=!1,console.log(e)})}}),beforeRouteEnter:function(t,e,a){t.query.t?a(function(e){e.$store.state.tagNav.openedPageList.forEach(function(e){e.path==t.path&&(e.lastTime=t.fullPath)})}):a(function(t){})},watch:{thisCollapse:function(t,e){},notreadnum:function(t){this.thisNotRedNum=t}}},D={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"home rflex"},[a("nav-bar",{attrs:{navCollapse:t.thisCollapse},on:{"update:navCollapse":function(e){t.thisCollapse=e},"update:nav-collapse":function(e){t.thisCollapse=e}}}),t._v(" "),a("div",{ref:"menu_right",staticClass:"menu_right wflex"},[a("div",{staticClass:"menu_right_box"},[a("div",{staticClass:"menu_right_header"},[a("header-box",{attrs:{isCollapse:t.thisCollapse,notRedNum:t.thisNotRedNum},on:{"update:isCollapse":function(e){t.thisCollapse=e},"update:is-collapse":function(e){t.thisCollapse=e},"update:notRedNum":function(e){t.thisNotRedNum=e},"update:not-red-num":function(e){t.thisNotRedNum=e}}})],1),t._v(" "),a("el-scrollbar",{staticStyle:{height:"100%"},attrs:{"wrap-class":"default-scrollbar__wrap"}},[a("div",{ref:"menu_content",staticClass:"menu_content"},[a("keep-alive",[a("router-view",{key:t.key,attrs:{notreadnum:t.notreadnum},on:{"update:notreadnum":function(e){t.notreadnum=e}}})],1)],1)])],1)])],1)},staticRenderFns:[]};var O=a("VU/8")(k,D,!1,function(t){a("6QDX"),a("cYo1")},"data-v-23394fc8",null);e.default=O.exports},LkOg:function(t,e){},Lmux:function(t,e){},MYSq:function(t,e){},QEr7:function(t,e){},YDue:function(t,e){},cYo1:function(t,e){},lEZ3:function(t,e,a){t.exports=a.p+"static/img/bg_login.29c9c6e.png"},mb1n:function(t,e){},p7t0:function(t,e){},vQy0:function(t,e){}});