webpackJsonp([1],{140:function(e,t,a){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var l=a(539),s=(o(l),a(537)),r=o(s),n=a(538),i=o(n),d=a(540),c=(o(d),a(542)),u=o(c),m=a(541),p=o(m),f=a(543),h=o(f),g=a(546),v=o(g),b=a(544),_=o(b),y=a(545),C=o(y),F=[{path:"/",component:i.default,name:"",iconCls:"fa fa-home",hidden:!0,children:[{path:"/Welcome",component:u.default,name:"欢迎来到人力后台管理系统"}]},{path:"/404",component:r.default,name:"",hidden:!0},{path:"/",component:i.default,name:"管理员管理",iconCls:"fa fa-user-o",children:[{path:"/AdministratorList",component:p.default,name:"分公司管理员列表"}]},{path:"/",component:i.default,name:"菜单管理",iconCls:"fa el-icon-menu",children:[{path:"/MenuList",component:h.default,name:"菜单列表"}]},{path:"/",component:i.default,name:"权限分配",iconCls:"fa el-icon-setting",children:[{path:"/WebPermission",component:v.default,name:"门户权限分配"},{path:"/AdminPermission",component:_.default,name:"后台权限分配"},{path:"/OrganizationalList",component:C.default,name:"组织结构分配"}]},{path:"*",hidden:!0,redirect:{path:"/404"}}];t.default=F},148:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addUser=t.editUser=t.batchRemoveUser=t.removeUser=t.getUserListPage=t.getUserList=t.requestLogin=void 0;var o=a(139),l=function(e){return e&&e.__esModule?e:{default:e}}(o);t.requestLogin=function(e){return l.default.post("/login",e).then(function(e){return e.data})},t.getUserList=function(e){return l.default.get("/user/list",{params:e})},t.getUserListPage=function(e){return l.default.get("/user/listpage",{params:e})},t.removeUser=function(e){return l.default.get("/user/remove",{params:e})},t.batchRemoveUser=function(e){return l.default.get("/user/batchremove",{params:e})},t.editUser=function(e){return l.default.get("/user/edit",{params:e})},t.addUser=function(e){return l.default.get("/user/add",{params:e})}},204:function(e,t,a){"use strict";function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t.default=e,t}function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=a(13),r=l(s),n=a(141),i=l(n),d=a(263),c=o(d),u=a(264),m=o(u);r.default.use(i.default);var p={count:10},f={INCREMENT:function(e){e.count++},DECREMENT:function(e){e.count--}};t.default=new i.default.Store({actions:c,getters:m,state:p,mutations:f})},207:function(e,t){},208:function(e,t){},209:function(e,t,a){a(519);var o=a(26)(a(251),a(549),null,null);e.exports=o.exports},251:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"app",components:{}}},252:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a(140),l=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default={data:function(){return{sysName:"雨虹人力后台",collapsed:!1,sysUserName:"",sysUserAvatar:"",permissions:{},form:{name:"",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:""}}},beforeMount:function(){this.getAdmin()},methods:{onSubmit:function(){console.log("submit!")},handleopen:function(){},handleclose:function(){},handleselect:function(e,t){},logout:function(){this.$confirm("确认退出吗?","提示",{}).then(function(){sessionStorage.removeItem("user"),window.location.href="http://sso.yuhong.com.cn/logout?redirect_url="+window.location.href}).catch(function(){})},getAdmin:function(){$.ajax({url:"http://plat.ehr.yuhong.com.cn/functionAPI",type:"POST",data:"",dataType:"json",success:function(e){this.permissions=e.data.permissions,console.log(e),"1"!=e.data.permissions.QXGL_GLYGL?(console.log("管理员管理"),l.default[2].hidden="true"):l.default[2].hidden="false","1"!=e.data.permissions.QXGL_GLYGL_GLYLB?(console.log("管理员管理列表"),l.default[2].children[0].hidden="true"):l.default[2].children[0].hidden="false","1"!=e.data.permissions.QXGL_CDGL?(console.log("菜单管理"),l.default[3].hidden="true"):l.default[3].hidden="false","1"!=e.data.permissions.QXGL_CDGL_CDGLLB?(console.log("菜单管理列表"),l.default[3].children[0].hidden="true"):l.default[3].children[0].hidden="false","1"!=e.data.permissions.QXGL_QXFP?(console.log("权限分配"),l.default[4].hidden="true"):l.default[4].hidden="false","1"!=e.data.permissions.QXGL_QXFP_MHQXFP?(console.log("权限分配1"),l.default[4].children[0].hidden="true"):l.default[4].children[0].hidden="false","1"!=e.data.permissions.QXGL_QXFP_HTQXFP?(console.log("权限分配2"),l.default[4].children[1].hidden="true"):l.default[4].children[1].hidden="false","1"!=e.data.permissions.QXGL_QXFP_FPYHZZJG?(console.log("权限分配3"),l.default[4].children[2].hidden="true"):l.default[4].children[2].hidden="false"},error:function(e){console.log(e)}})},collapse:function(){this.collapsed=!this.collapsed},showMenu:function(e,t){this.$refs.menuCollapsed.getElementsByClassName("submenu-hook-"+e)[0].style.display=t?"block":"none"}},mounted:function(){var e=this;setTimeout(function(){e.$router.push({path:"/welcome"})},1e3)}}},253:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a(265),l=function(e){return e&&e.__esModule?e:{default:e}}(o);a(148);t.default={data:function(){return{logining:!1,ruleForm2:{account:"admin",checkPass:"123456"},rules2:{account:[{required:!0,message:"请输入账号",trigger:"blur"}],checkPass:[{required:!0,message:"请输入密码",trigger:"blur"}]},checked:!0}},methods:{handleReset2:function(){this.$refs.ruleForm2.resetFields()},handleSubmit2:function(e){var t=this;this.$refs.ruleForm2.validate(function(e){if(!e)return console.log("error submit!!"),!1;t.logining=!0;t.ruleForm2.account,t.ruleForm2.checkPass;sessionStorage.setItem("user",(0,l.default)("admin")),t.$router.push({path:"/Welcome"})})}}}},254:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={}},255:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a(91),l=function(e){return e&&e.__esModule?e:{default:e}}(o),s="http://plat.ehr.yuhong.com.cn";t.default={data:function(){return{filters:{name:""},filtersRole:{name:""},selectManagement:"",mold:"",roleUsers:[],users:[],managements:[],hasSelectedRoles:[],organizationArr:[],total:0,totalLists:0,allUserstotal:0,managementTotal:0,page:1,pageSize:10,newRow:"",managementPersa:"",managementName:"",selPersa:"",selName:"",cellDetailsRow:"",selectRoleName:"",listLoading:!1,sels:[],dialogVisible:!1,editFormVisible:!1,selectRoleDialogVisible:!1,selectManagementDialogVisible:!1,hasSelectedRoleDialogVisible:!1,organizationVisible:!1,changeNameFormVisible:!1,editLoading:!1,delButtonShow:!0,editFormRules:{roleName:[{required:!0,message:"请输入角色名称",trigger:"blur"}],roleDept:[{required:!0,message:"请选择管理单位",trigger:"blur"}]},editForm:{roleName:"",roleDept:"",roleDesc:"",roleDeptCode:""},addFormVisible:!1,addLoading:!1,addFormRules:{roleName:[{required:!0,message:"请输入角色名称",trigger:"blur"}],roleDept:[{required:!0,message:"请选择管理单位",trigger:"blur"}]},addForm:{roleName:"",roleDept:"",roleDesc:"",roleDeptCode:""},treeData:[],defaultProps:{children:"children",label:"name",id:"id"}}},methods:{handleCurrentChange:function(e){this.page=e,this.getUsers()},handleRoleUsersChange:function(e){this.page=e,this.Authorization()},handleSelectedRoleUsersChange:function(e){this.page=e,this.openCellDetails()},handleclose:function(){},getUsers:function(){var e=this;this.$http({method:"post",url:s+"/tSysRole/getTSysRoleList",params:{currentPage:this.page,selContent:this.filters.name,roleCode:"",pageSize:this.pageSize}}).then(function(t){var a=t.data;if(200==a.code){e.totalLists=a.totalPages*a.pageSize,e.users=a.data,e.listLoading=!1;for(var o=0;o<e.users.length;o++)e.users[o].userNames&&e.users[o].userNames.length>10&&(e.users[o].userNames=e.users[o].userNames.slice(0,10)+"...")}})},getManagement:function(){this.selectManagementDialogVisible=!0;var e=this;$.ajax({url:s+"/tSysRole/getMbT500pAllList",type:"POST",data:{selContent:this.selectManagement},dataType:"json",success:function(t){200==t.code&&(e.managements=t.data,e.managementTotal=t.totalPages*t.pageSize)},error:function(e){console.log(e)}})},sureManagement:function(){this.selectManagementDialogVisible=!1;var e=[],t=[];$(".selectManagementDialog .el-table__body-wrapper span.is-checked").each(function(){this.managementName=$(this).closest(".el-table__row").find("td:nth-child(3)").text(),e.push(this.managementName),this.managementPersa=$(this).closest(".el-table__row").find("td:nth-child(2)").text(),t.push(this.managementPersa)}),this.addForm.roleDept=e.join(","),this.addForm.roleDeptCode=t.join(","),this.editForm.roleDept=e.join(","),this.editForm.roleDeptCode=t.join(",")},openCellDetails:function(){var e={roleCode:this.cellDetailsRow.roleCode,currentPage:this.page,pageSize:this.pageSize,selContent:this.filtersRole.name},t=this;$.ajax({url:s+"/tSysRole/getSapUserListByFunc",type:"POST",data:e,dataType:"json",success:function(e){200==e.code&&(t.hasSelectedRoles=e.data,t.total=e.totalPages*e.pageSize)},error:function(e){console.log(e)}})},searchRole:function(){var e={roleCode:this.cellDetailsRow.roleCode,currentPage:this.page,pageSize:this.pageSize,selContent:this.filtersRole.name},t=this;$.ajax({url:s+"/tSysRole/getSapUserListByFunc",type:"POST",data:e,dataType:"json",success:function(e){200==e.code&&(t.hasSelectedRoles=e.data,t.total=e.totalPages*e.pageSize)},error:function(e){console.log(e)}})},delSelectedRole:function(){var e=this;this.$confirm("确认删除该记录吗?","提示",{type:"warning"}).then(function(){var t=[];$(".el-table--fit .el-table__body-wrapper span.is-checked").each(function(){this.selRolePersa=$(this).closest(".el-table__row").find("td:nth-child(3)").text(),t.push(this.selRolePersa)});var a={roleCode:e.cellDetailsRow.roleCode,pernr:t.join(",")},o=e;$.ajax({url:s+"/tSysRole/deleteTSysRoleWithUser",type:"POST",data:a,dataType:"json",success:function(e){200==e.code&&o.$message({message:"删除成功",type:"success"}),o.openCellDetails()},error:function(e){console.log(e)}})}).catch(function(){console.log(11)})},distributionOrganization:function(e){this.organizationVisible=!0;var t={roleCode:this.cellDetailsRow.roleCode},a=this;$.ajax({url:s+"/tSysRole/getOrgTreelist",type:"POST",data:t,dataType:"json",success:function(e){200==e.code&&(a.treeData=e.data,setTimeout(function(){a.$refs.tree.setCheckedNodes(e.checkedData)},500))},error:function(e){console.log(e)}})},submitCheckedNodes:function(){this.organizationVisible=!1;for(var e=this.$refs.tree.getCheckedNodes(),t=[],a=[],o=0;o<e.length;o++)0==this.$refs.tree.getNode(e[o].id).parent.checked?a.push(e[o].id):a.push(this.$refs.tree.getNode(e[o].id).parent.data.id);for(var l=0;l<a.length;l++)-1==t.indexOf(a[l])&&t.push(a[l]);var r={roleCode:this.cellDetailsRow.roleCode,orgids:t.join(",")},n=this;$.ajax({url:s+"/tSysRole/saveTSysRoleWithOrg",type:"POST",data:r,dataType:"json",success:function(e){200==e.code&&(n.organizationVisible=!1,n.$message({message:"组织结构分配成功",type:"success"}))},error:function(e){console.log(e)}})},Authorization:function(){this.selectRoleDialogVisible=!0;var e={currentPage:this.page,pageSize:this.pageSize,selContent:this.selectRoleName};this.rolelistLoading=!0;var t=this;$.ajax({url:s+"/tSysRole/getSapUserList",type:"POST",data:e,dataType:"json",success:function(e){200==e.code&&(t.allUserstotal=e.pageSize*e.totalPages,t.roleUsers=e.data,t.rolelistLoading=!1)},error:function(e){console.log(e)}})},searchAuthorization:function(){var e={currentPage:this.page,pageSize:this.pageSize,selContent:this.selectRoleName};this.rolelistLoading=!0;var t=this;$.ajax({url:s+"/tSysRole/getSapUserList",type:"POST",data:e,dataType:"json",success:function(e){200==e.code&&(t.total=e.pageSize*e.totalPages,t.roleUsers=e.data,t.rolelistLoading=!1)},error:function(e){console.log(e)}})},sureRoleUsers:function(){var e=[],t=[],a="",o="";$(".selectRoleDialog .el-table__body-wrapper span.is-checked").each(function(){a=$(this).closest(".el-table__row").find("td:nth-child(2)").text(),e.push(a),o=$(this).closest(".el-table__row").find("td:nth-child(3)").text(),t.push(o)});var l={roleCode:this.cellDetailsRow.roleCode,pernrs:t.join(","),userNames:e.join(",")},r=this;$.ajax({url:s+"/tSysRole/saveTSysRoleWithUser",type:"POST",data:l,dataType:"json",success:function(e){200==e.code&&(r.$message({message:"添加用户成功",type:"success"}),r.getUsers(),r.selectRoleDialogVisible=!1,r.openCellDetails())},error:function(e){console.log(e)}})},handleDel:function(e){var t=this;this.$confirm("确认删除该记录吗?","提示",{type:"warning"}).then(function(){t.listLoading=!0;var a={roleId:e.roleId},o=t;$.ajax({url:s+"/tSysRole/deleteTSysRole",type:"POST",data:a,dataType:"json",success:function(e){200==e.code&&(o.listLoading=!1,o.$message({message:"删除成功",type:"success"}),o.getUsers())},error:function(e){console.log(e)}})}).catch(function(){console.log(11)})},changeName:function(e,t){this.changeNameFormVisible=!0,this.editForm=(0,l.default)({},t),this.editForm.roleId=t.roleId},handleEdit:function(e){this.cellDetailsRow=e,this.editFormVisible=!0,this.openCellDetails()},handleAdd:function(){this.addFormVisible=!0,this.addForm={roleCode:"",roleName:"",roleDept:"",roleDesc:"",roleDeptCode:""}},editSubmit:function(e,t){var a=this;this.$refs.editForm.validate(function(e){e&&a.$confirm("确认提交吗？","提示",{}).then(function(){a.editLoading=!0;var e={roleId:a.editForm.roleId,roleCode:a.editForm.roleCode,roleName:a.editForm.roleName,roleDept:a.editForm.roleDept,roleDesc:a.editForm.roleDesc,roleDeptCode:a.editForm.roleDeptCode},t=a;$.ajax({url:s+"/tSysRole/saveOrUpdateTSysRole",type:"POST",data:e,dataType:"json",success:function(e){200==e.code&&(t.editLoading=!1,t.$message({message:"修改成功",type:"success"}),t.$refs.editForm.resetFields(),t.changeNameFormVisible=!1,t.getUsers())},error:function(e){console.log("error")}})})})},addSubmit:function(){var e=this;this.$refs.addForm.validate(function(t){t&&e.$confirm("确认提交吗？","提示",{}).then(function(){e.addLoading=!0;var t=(0,l.default)({},e.addForm),a=e;$.ajax({url:s+"/tSysRole/saveOrUpdateTSysRole",type:"POST",data:t,dataType:"json",success:function(e){200==e.code&&(a.addLoading=!1,a.$message({message:"添加成功",type:"success"}),a.$refs.addForm.resetFields(),a.addFormVisible=!1,a.getUsers())},error:function(e){console.log("error")}})})})},selsChange:function(e){this.sels=e}},mounted:function(){this.getUsers()}}},256:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{welcomeMsg:""}},mounted:function(){}}},257:function(e,t,a){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var l=a(91),s=o(l),r=a(261),n=(o(r),a(148),"http://plat.ehr.yuhong.com.cn");t.default={data:function(){return{filters:{name:""},filtersRole:{name:""},mold:"",roleUsers:[],users:[],hasSelectedRoles:[],organizationArr:[],total:0,page:1,pageSize:10,newRow:"",cellDetailsRow:"",frontBack:"",cellDetailsColumn:"",selectRoleName:"",parentTreedata:[],checkedNode:[],listLoading:!1,sels:[],dialogVisible:!1,parentTreeVisible:!1,selectRoleDialogVisible:!1,hasSelectedRoleDialogVisible:!1,organizationVisible:!1,editFormVisible:!1,editLoading:!1,editFormRules:{frontBack:[{required:!0,message:"请选择菜单用途",trigger:"change"}],menuType:[{required:!0,message:"请选择菜单类型",trigger:"change"}],menuCode:[{required:!0,message:"请填写菜单编码",trigger:"blur"}],menuName:[{required:!0,message:"请填写菜单名称",trigger:"blur"}],menuUrl:[{required:!0,message:"请填写菜单url",trigger:"blur"}],isopen:[{required:!0,message:"请选择是否开放",trigger:"change"}],isPopup:[{required:!0,message:"请选择是否窗口",trigger:"change"}]},editForm:{frontBack:"",parentId:0,menuType:"",menuCode:"",menuName:"",parentMenuName:"",menuUrl:"",menuSort:"",menuImage:"",isopen:"",isPopup:""},addFormVisible:!1,addLoading:!1,addFormRules:{frontBack:[{required:!0,message:"请选择菜单用途",trigger:"change"}],menuType:[{required:!0,message:"请选择菜单类型",trigger:"change"}],menuCode:[{required:!0,message:"请填写菜单编码",trigger:"blur"}],menuName:[{required:!0,message:"请填写菜单名称",trigger:"blur"}],menuUrl:[{required:!0,message:"请填写菜单url",trigger:"blur"}],isopen:[{required:!0,message:"请选择是否开放",trigger:"change"}],isPopup:[{required:!0,message:"请选择是否窗口",trigger:"change"}]},addForm:{frontBack:"",parentId:0,menuType:"",menuCode:"",menuName:"",parentMenuName:"",menuUrl:"",menuSort:"",menuImage:"",isopen:"",isPopup:""},treeData:[],defaultProps:{children:"children",label:"name"}}},methods:{handleCurrentChange:function(e){this.page=e,this.getUsers()},handleclose:function(){},getUsers:function(){var e={pernr:"",pageSize:this.pageSize,currentPage:this.page};this.listLoading=!0;var t=this;$.ajax({url:n+"/tSysMenu/list",type:"POST",data:e,dataType:"json",success:function(e){if(200==e.code){t.total=e.totalRows,t.users=e.data,t.listLoading=!1;for(var a=0;a<t.users.length;a++)"0"==t.users[a].frontBack?t.users[a].frontBack="后台":t.users[a].frontBack="门户";for(var a=0;a<t.users.length;a++)"1"==t.users[a].menuType?t.users[a].menuType="按钮":"2"==t.users[a].menuType?t.users[a].menuType="菜单":"3"==t.users[a].menuType&&(t.users[a].menuType="模块")}},error:function(e){console.log(e)}})},getTreeData:function(e){if(this.frontBack="add"==e?this.addForm.frontBack:this.ediFormFrontBack,this.frontBack){this.parentTreeVisible=!0;var t={frontBack:this.frontBack},a=this;$.ajax({url:n+"/tSysMenu/parentMenuList",type:"POST",data:t,dataType:"json",success:function(e){200==e.code&&(a.parentTreedata=e.data)},error:function(e){console.log(e)}})}else this.$message({showClose:!0,message:"请先选择菜单用途",type:"warning"})},checkChange:function(e,t,a){1==t?(this.editCheckId=e.id,this.$refs.tree.setCheckedKeys([e.id])):this.editCheckId==e.id&&this.$refs.tree.setCheckedKeys([e.id])},nodeClick:function(e,t,a){this.editCheckId=e.id,this.$refs.tree.setCheckedKeys([e.id])},parentTreeDataSubmit:function(){var e=this.$refs.tree.getCheckedNodes();this.addForm.parentMenuName=e[0].name,this.addForm.parentId=e[0].id,this.parentTreeVisible=!1},handleDel:function(e){var t=this;this.$confirm("确认删除该记录吗?","提示",{type:"warning"}).then(function(){t.listLoading=!0;var a={menuId:e.menuId},o=t;$.ajax({url:n+"/tSysMenu/delete",type:"POST",data:a,dataType:"json",success:function(e){200==e.code&&(o.listLoading=!1,o.$message({message:"删除成功",type:"success"}),o.getUsers())},error:function(e){}})}).catch(function(e){})},handleEdit:function(e,t){this.editFormVisible=!0;var a={menuId:t.menuId},o=this;$.ajax({url:n+"/tSysMenu/toUpsert",type:"POST",data:a,dataType:"json",success:function(e){200==e.code&&(o.editForm=e.entity)},error:function(e){console.log("error")}})},handleAdd:function(){this.addFormVisible=!0},editSubmit:function(e,t){var a=this;this.$refs.editForm.validate(function(e){e&&a.$confirm("确认提交吗？","提示",{}).then(function(){a.editLoading=!0;var e=(0,s.default)({},a.editForm),t=a;$.ajax({url:n+"/tSysRole/saveOrUpdateTSysRole",type:"POST",data:e,dataType:"json",success:function(e){200==e.code&&(t.editLoading=!1,t.$message({message:"修改成功",type:"success"}),t.$refs.editForm.resetFields(),t.editFormVisible=!1,t.getUsers())},error:function(e){console.log("error")}})})})},addSubmit:function(){var e=this;this.$refs.addForm.validate(function(t){t&&e.$confirm("确认提交吗？","提示",{}).then(function(){e.addLoading=!0;var t=(0,s.default)({},e.addForm),a=e;$.ajax({url:n+"/tSysMenu/upsert",type:"POST",data:t,dataType:"json",success:function(e){200==e.code&&(a.addLoading=!1,a.$message({message:"添加成功",type:"success"}),a.$refs.addForm.resetFields(),a.addFormVisible=!1,a.getUsers())},error:function(e){console.log(e)}})})})},selsChange:function(e){this.sels=e}},mounted:function(){this.getUsers()}}},258:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="http://plat.ehr.yuhong.com.cn";t.default={data:function(){return{options:[],selectionArr:[],selectedOptions:[],selectedOptions2:[],filters:{name:""},filtersRole:{name:""},selectedFiltersRole:{name:""},roleCodes:[],rolePernrs:"",roleName:"",mold:"",isdisabledFn:!1,userAllSelect:"",roleUsers:[],users:[],hasSelectedRoles:[],organizationArr:[],total:0,page:1,pageSize:10,listLoading:!1,roleUsersLoading:!1,sels:[],dialogVisible:!1,selectRoleDialogVisible:!1,hasSelectedRoleDialogVisible:!1,addFormVisible:!1,addLoading:!1,addFormRules:{menuCode2:[{required:!0,message:"请选择完整菜单",trigger:"change"}],userNames:[{required:!0,message:"请选择角色用户",trigger:"change"}],functionCode:[{required:!0,message:"请选择是否排斥",trigger:"change"}],roleDept:[{required:!0,message:"请选择管理单位",trigger:"change"}]},addForm:{menuCode1:"",menuCode2:"",userNames:"",pernrs:"",functionCode:"否"}}},methods:{handleCurrentChange:function(e){this.page=e,this.getPermissionLists()},handleRoleUsersChange:function(e){this.page=e,this.getUsersLists()},selectedRoleUsersChange:function(e){this.page=e},handleclose:function(){this.addFormVisible=!1},indexSelect:function(e){this.A=e,this.seletOptions()},seletOptions:function(){for(var e=0;e<this.options.length;e++)if(this.options[e].menuCode==this.A)return this.selectionArr=this.options[e].children,this.options[e].children},getPermissionLists:function(){var e={selContent:this.filters.name,frontBack:0};this.listLoading=!0;var t=this;$.ajax({url:o+"/tSysManagement/getMenuWithUserList",type:"POST",data:e,dataType:"json",success:function(e){if(200==e.code){t.users=e.data;for(var a=0;a<t.users.length;a++)t.users[a].userName&&t.users[a].userName.length>10&&(t.users[a].userName=t.users[a].userName.slice(0,10)+"...");for(var a=0;a<t.users.length;a++)"0"==t.users[a].functionCode?t.users[a].functionCode="排斥":t.users[a].functionCode="不排斥";t.listLoading=!1}},error:function(e){console.log(e)}})},openCellDetails:function(e,t){if("用户"==t.label){this.hasSelectedRoleDialogVisible=!0;var a={menuCode:e.menuCode,currentPage:this.page,pageSize:this.pageSize,frontBack:0},l=this;$.ajax({url:o+"/tSysManagement/getUserListByMenuCode",type:"POST",data:a,dataType:"json",success:function(e){200==e.code&&(l.hasSelectedRoles=e.data,l.total=e.totalPages*e.pageSize)},error:function(e){console.log(e)}})}},delSelectedRole:function(e){var t=this;this.$confirm("确认删除该记录吗?","提示",{type:"warning"}).then(function(){var a={menuCode:e.menuCode,pernr:e.pernr,tSysMenuUserId:e.tSysMenuUserId},l=t;$.ajax({url:o+"/tSysManagement/deleteMenuWithUser",type:"POST",data:a,dataType:"json",success:function(t){if(200==t.code){l.$message({message:"删除成功",type:"success"});var a={menuCode:e.menuCode,currentPage:this.page,pageSize:this.pageSize,frontBack:1};$.ajax({url:o+"/tSysManagement/getUserListByMenuCode",type:"POST",data:a,dataType:"json",success:function(e){200==e.code&&(l.hasSelectedRoles=e.data,l.getPermissionLists())},error:function(e){console.log(e)}})}},error:function(e){console.log(e)}})}).catch(function(){})},getRoleUsersLists:function(e){""==this.addForm.menuCode2?this.$message({message:"请先选择菜单",type:"warning"}):this.getUsersLists()},getUsersLists:function(){var e=this;this.selectRoleDialogVisible=!0,""==this.roleUsers&&(this.roleUsersLoading=!0);var t={currentPage:this.page,pageSize:this.pageSize,menuCode:this.addForm.menuCode2,selContent:this.filtersRole.name};$.ajax({url:o+"/tSysManagement/getUserSetOrgList",type:"POST",data:t,dataType:"json",success:function(t){200==t.code&&(e.total=t.totalPages*t.pageSize,e.roleUsers=t.data,e.roleUsersLoading=!1)},error:function(e){console.log(e)}})},sureSelectedRoleUsers:function(){var e=[],t=[];$(".el-table__body-wrapper span.is-checked").each(function(){this.roleName=$(this).closest(".el-table__row").find("td:nth-child(2)").text(),e.push(this.roleName),this.rolePernrs=$(this).closest(".el-table__row").find("td:nth-child(3)").text(),t.push(this.rolePernrs)}),this.addForm.userNames=e.join(","),this.addForm.pernrs=t.join(","),this.selectRoleDialogVisible=!1},switchAllUser:function(){"all"==this.userAllSelect?(this.addForm.pernrs="all",this.addForm.userNames="全部",this.isdisabledFn=!0):(this.addForm.pernrs="",this.addForm.userNames="",this.isdisabledFn=!1)},addSubmit:function(){var e=this;this.$refs.addForm.validate(function(t){t&&e.$confirm("确认提交吗？","提示",{}).then(function(){e.addLoading=!0;var t="";t="是"==e.addForm.functionCode?"0":"1";var a={frontBack:0,menuCode:e.addForm.menuCode2.join(","),functionCode:t,pernrs:e.addForm.pernrs,userNames:e.addForm.userNames,roleDept:e.addForm.roleDept},l=e;$.ajax({url:o+"/tSysManagement/saveMenuWithUser",type:"POST",data:a,dataType:"json",success:function(e){200==e.code&&(l.addLoading=!1,l.$message({message:"添加成功",type:"success"}),l.$refs.addForm.resetFields(),l.addFormVisible=!1,l.getPermissionLists())},error:function(e){console.log(e)}})})})},handleDel:function(e){var t=this;this.$confirm("确认删除该记录吗?","提示",{type:"warning"}).then(function(){t.listLoading=!0;var a={menuCode:e.menuCode},l=t;$.ajax({url:o+"/tSysManagement/deleteTSysMenuUser",type:"POST",data:a,dataType:"json",success:function(e){200==e.code&&(l.listLoading=!1,l.$message({message:"删除成功",type:"success"}),l.getPermissionLists())},error:function(e){console.log(e)}})}).catch(function(e){console.log(e)})},handleAdd:function(){this.addFormVisible=!0;var e=this;$.ajax({url:o+"/tSysManagement/getMenuWithUserListByAdd",type:"POST",data:{frontBack:0},dataType:"json",success:function(t){200==t.code&&(e.options=t.data)},error:function(e){console.log("error")}}),$.ajax({url:o+"/tSysManagement/getFuncDeptByRoleCode",type:"POST",data:{},dataType:"json",success:function(t){200==t.code&&(e.roleCodes=t.data)},error:function(e){console.log("error")}})},selsChange:function(e){this.sels=e}},mounted:function(){this.getPermissionLists()}}},259:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="http://plat.ehr.yuhong.com.cn";t.default={data:function(){return{filters:{name:""},users:[],total:0,page:1,roleCode:"123",pernr:"",pageSize:10,selectRoleName:"",parentTreedata:[],checkedNode:[],listLoading:!1,parentTreeVisible:!1,treeData:[],defaultProps:{children:"children",label:"name"}}},methods:{handleCurrentChange:function(e){this.page=e,this.getUsers()},handleclose:function(){},getUsers:function(){var e={roleCode:this.roleCode,selContent:this.filters.name,pageSize:this.pageSize,currentPage:this.page};this.listLoading=!0;var t=this;$.ajax({url:o+"/tSysManagement/getUserSetOrgList",type:"POST",data:e,dataType:"json",success:function(e){200==e.code&&(t.total=e.totalRows,t.users=e.data,t.listLoading=!1)},error:function(e){console.log(e)}})},getTreeData:function(e){this.pernr=e.pernr,this.parentTreeVisible=!0;var t={roleCode:this.roleCode,pernr:this.pernr},a=this;$.ajax({url:o+"/tSysManagement/getOrgTreelistByCode",type:"POST",data:t,dataType:"json",success:function(e){200==e.code&&(a.parentTreedata=e.data,setTimeout(function(){a.$refs.tree.setCheckedNodes(e.checkedData)},500))},error:function(e){console.log(e)}})},parentTreeDataSubmit:function(){for(var e=this.$refs.tree.getCheckedNodes(),t=[],a=[],l=0;l<e.length;l++)0==this.$refs.tree.getNode(e[l].id).parent.checked?a.push(e[l].id):a.push(this.$refs.tree.getNode(e[l].id).parent.data.id);for(var l=0;l<a.length;l++)-1==t.indexOf(a[l])&&t.push(a[l]);for(var l=0;l<e.length;l++)t.push(e[l].id);var s={pernr:this.pernr,orgids:t.join(",")},r=this;$.ajax({url:o+"/tSysManagement/saveOrgWithUser",type:"POST",data:s,dataType:"json",success:function(e){200==e.code&&(r.$message({message:"组织结构分配成功",type:"success"}),r.parentTreedata=e.data,r.parentTreeVisible=!1)},error:function(e){console.log(e)}})}},mounted:function(){this.getUsers()}}},260:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="http://plat.ehr.yuhong.com.cn";t.default={data:function(){return{options:[],selectionArr:[],selectedOptions:[],selectedOptions2:[],filters:{name:""},filtersRole:{name:""},selectedRole:{name:""},roleCodes:[],rolePernrs:"",roleName:"",isdisabledFn:!1,mold:"",userAllSelect:!0,pageSize:10,roleUsers:[],users:[],hasSelectedRoles:[],organizationArr:[],total:0,page:1,listLoading:!1,roleUsersLoading:!1,sels:[],dialogVisible:!1,selectRoleDialogVisible:!1,hasSelectedRoleDialogVisible:!1,addFormVisible:!1,addLoading:!1,addFormRules:{menuCode2:[{required:!0,message:"请选择完整菜单",trigger:"change"}],userNames:[{required:!0,message:"请选择角色用户",trigger:"change"}],functionCode:[{required:!0,message:"请选择是否排斥",trigger:"change"}],roleDept:[{required:!0,message:"请选择管理单位",trigger:"change"}]},addForm:{menuCode1:"",menuCode2:"",userNames:"",userAllSelect:!0,pernrs:"",functionCode:"否",roleDept:""}}},methods:{handleCurrentChange:function(e){this.page=e,this.getPermissionLists()},handleRoleUsersChange:function(e){this.page=e},handleclose:function(e){this.addFormVisible=!1,this.$refs[e].resetFields()},indexSelect:function(e){this.A=e,this.seletOptions()},seletOptions:function(){for(var e=0;e<this.options.length;e++)if(this.options[e].menuCode==this.A)return this.selectionArr=this.options[e].children,this.options[e].children},getPermissionLists:function(){var e={selContent:this.filters.name,frontBack:1};this.listLoading=!0;var t=this;$.ajax({url:o+"/tSysManagement/getMenuWithUserList",type:"POST",data:e,dataType:"json",success:function(e){if(200==e.code){t.users=e.data;for(var a=0;a<t.users.length;a++)t.users[a].userName&&t.users[a].userName.length>10&&(t.users[a].userName=t.users[a].userName.slice(0,10)+"...");for(var a=0;a<t.users.length;a++)"0"==t.users[a].functionCode?t.users[a].functionCode="排斥":t.users[a].functionCode="不排斥";t.listLoading=!1}},error:function(e){console.log(e)}})},openCellDetails:function(e,t){if("全部"!=e.userName&&"用户"==t.label){this.hasSelectedRoleDialogVisible=!0;var a={menuCode:e.menuCode,currentPage:this.page,pageSize:this.pageSize,frontBack:1},l=this;$.ajax({url:o+"/tSysManagement/getUserListByMenuCode",type:"POST",data:a,dataType:"json",success:function(e){200==e.code&&(l.hasSelectedRoles=e.data,l.total=e.totalPages*e.pageSize)},error:function(e){console.log(e)}})}},searchSelectedRole:function(){var e={menuCode:row.menuCode,currentPage:this.page,pageSize:this.pageSize,selContent:this.selectedRole.name},t=this;$.ajax({url:o+"/tSysManagement/getUserListByMenuCode",type:"POST",data:e,dataType:"json",success:function(e){200==e.code&&(t.hasSelectedRoles=e.data,t.total=e.totalPages*e.pageSize)},error:function(e){console.log(e)}})},delSelectedRole:function(e){var t=this;this.$confirm("确认删除该记录吗?","提示",{type:"warning"}).then(function(){var a={menuCode:e.menuCode,pernr:e.pernr,tSysMenuUserId:e.tSysMenuUserId},l=t;$.ajax({url:o+"/tSysManagement/deleteMenuWithUser",type:"POST",data:a,dataType:"json",success:function(t){if(200==t.code){l.$message({message:"删除成功",type:"success"});var a={menuCode:e.menuCode,currentPage:this.page,pageSize:this.pageSize,frontBack:1};$.ajax({url:o+"/tSysManagement/getUserListByMenuCode",type:"POST",data:a,dataType:"json",success:function(e){200==e.code&&(l.hasSelectedRoles=e.data,l.getPermissionLists())},error:function(e){console.log(e)}})}},error:function(e){console.log(e)}})}).catch(function(){console.log("删除用户出错")})},getRoleUsersLists:function(e){if(""==this.addForm.menuCode2)this.$message({message:"请先选择菜单",type:"warning"});else{this.selectRoleDialogVisible=!0,""==this.roleUsers&&(this.roleUsersLoading=!0);var t={currentPage:this.page,pageSize:this.pageSize,menuCode:this.addForm.menuCode2,selContent:this.filtersRole.name},a=this;$.ajax({url:o+"/tSysManagement/getUserSetOrgList",type:"POST",data:t,dataType:"json",success:function(e){200==e.code&&(a.total=e.pageSize,a.roleUsers=e.data,a.roleUsersLoading=!1)},error:function(e){console.log(e)}})}},searchFiltersRole:function(){var e={currentPage:this.page,pageSize:this.pageSize,menuCode:this.addForm.menuCode2,selContent:this.filtersRole.name},t=this;$.ajax({url:o+"/tSysManagement/getUserSetOrgList",type:"POST",data:e,dataType:"json",success:function(e){200==e.code&&(t.total=e.pageSize,t.roleUsers=e.data)},error:function(e){console.log(e)}})},sureSelectedRoleUsers:function(){var e=[],t=[];$(".el-table__body-wrapper span.is-checked").each(function(){this.roleName=$(this).closest(".el-table__row").find("td:nth-child(2)").text(),e.push(this.roleName),this.rolePernrs=$(this).closest(".el-table__row").find("td:nth-child(3)").text(),t.push(this.rolePernrs)}),this.addForm.userNames=e.join(","),this.addForm.pernrs=t.join(","),this.selectRoleDialogVisible=!1},switchAllUser:function(){"all"==this.userAllSelect?(this.addForm.pernrs="all",this.addForm.userNames="全部",this.isdisabledFn=!0):(this.addForm.pernrs="",this.addForm.userNames="",this.isdisabledFn=!1)},addSubmit:function(){var e=this;this.$refs.addForm.validate(function(t){t&&e.$confirm("确认提交吗？","提示",{}).then(function(){e.addLoading=!0;var t="";t="是"==e.addForm.functionCode?"0":"1";var a={frontBack:1,menuCode:e.addForm.menuCode2.join(","),functionCode:t,pernrs:e.addForm.pernrs,userNames:e.addForm.userNames,roleDept:e.addForm.roleDept},l=e;$.ajax({url:o+"/tSysManagement/saveMenuWithUser",type:"POST",data:a,dataType:"json",success:function(e){200==e.code&&(l.addLoading=!1,l.$message({message:"添加成功",type:"success"}),l.$refs.addForm.resetFields(),l.addFormVisible=!1,l.getPermissionLists())},error:function(e){console.log("error")}})})})},handleDel:function(e){var t=this;this.$confirm("确认删除该记录吗?","提示",{type:"warning"}).then(function(){t.listLoading=!0;var a={menuCode:e.menuCode},l=t;$.ajax({url:o+"/tSysManagement/deleteTSysMenuUser",type:"POST",data:a,dataType:"json",success:function(e){200==e.code&&(l.listLoading=!1,l.$message({message:"删除成功",type:"success"}),l.getPermissionLists())},error:function(e){console.log(e)}})}).catch(function(e){console.log(e)})},handleAdd:function(){this.addFormVisible=!0;var e=this;$.ajax({url:o+"/tSysManagement/getMenuWithUserListByAdd",type:"POST",data:{frontBack:1},dataType:"json",success:function(t){200==t.code&&(e.options=t.data)},error:function(e){console.log(e)}}),$.ajax({url:o+"/tSysManagement/getFuncDeptByRoleCode",type:"POST",data:{},dataType:"json",success:function(t){200==t.code&&(e.roleCodes=t.data)},error:function(e){console.log("error")}})},selsChange:function(e){this.sels=e}},mounted:function(){this.getPermissionLists()}}},261:function(e,t,a){"use strict";function o(e,t){for(var t=t-(e+"").length,a=0;a<t;a++)e="0"+e;return e}Object.defineProperty(t,"__esModule",{value:!0});var l=/([yMdhsm])(\1*)/g;t.default={getQueryStringByName:function(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)","i"),a=window.location.search.substr(1).match(t),o="";return null!=a&&(o=a[2]),t=null,a=null,null==o||""==o||"undefined"==o?"":o},formatDate:{format:function(e,t){return t=t||"yyyy-MM-dd",t.replace(l,function(t){switch(t.charAt(0)){case"y":return o(e.getFullYear(),t.length);case"M":return o(e.getMonth()+1,t.length);case"d":return o(e.getDate(),t.length);case"w":return e.getDay()+1;case"h":return o(e.getHours(),t.length);case"m":return o(e.getMinutes(),t.length);case"s":return o(e.getSeconds(),t.length)}})},parse:function(e,t){var a=t.match(l),o=e.match(/(\d)+/g);if(a.length==o.length){for(var s=new Date(1970,0,1),r=0;r<a.length;r++){var n=parseInt(o[r]);switch(a[r].charAt(0)){case"y":s.setFullYear(n);break;case"M":s.setMonth(n-1);break;case"d":s.setDate(n);break;case"h":s.setHours(n);break;case"m":s.setMinutes(n);break;case"s":s.setSeconds(n)}}return s}return null}}}},262:function(e,t,a){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}var l=a(205),s=(o(l),a(13)),r=o(s),n=a(209),i=o(n),d=a(206),c=o(d);a(207);var u=a(210),m=o(u),p=a(204),f=o(p),h=a(141),g=o(h),v=a(139),b=o(v),_=a(140),y=o(_);a(208),r.default.prototype.$http=b.default,r.default.use(c.default),r.default.use(m.default),r.default.use(g.default);var C=new m.default({routes:y.default});new r.default({router:C,store:f.default,render:function(e){return e(i.default)}}).$mount("#app")},263:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.increment=function(e){(0,e.commit)("INCREMENT")},t.decrement=function(e){(0,e.commit)("DECREMENT")}},264:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.getCount=function(e){return e.count}},517:function(e,t){},518:function(e,t){},519:function(e,t){},520:function(e,t){},521:function(e,t){},522:function(e,t){},523:function(e,t){},524:function(e,t){},525:function(e,t){},526:function(e,t){},527:function(e,t){},537:function(e,t,a){a(525);var o=a(26)(null,a(555),"data-v-d58d95c2",null);e.exports=o.exports},538:function(e,t,a){a(524);var o=a(26)(a(252),a(554),"data-v-cf4fceb0",null);e.exports=o.exports},539:function(e,t,a){a(526);var o=a(26)(a(253),a(556),"data-v-dee03a20",null);e.exports=o.exports},540:function(e,t,a){a(523);var o=a(26)(a(254),a(553),"data-v-965ba6fc",null);e.exports=o.exports},541:function(e,t,a){a(520);var o=a(26)(a(255),a(550),"data-v-51aa8873",null);e.exports=o.exports},542:function(e,t,a){a(517);var o=a(26)(a(256),a(547),"data-v-2c550b4a",null);e.exports=o.exports},543:function(e,t,a){a(521);var o=a(26)(a(257),a(551),null,null);e.exports=o.exports},544:function(e,t,a){a(522);var o=a(26)(a(258),a(552),null,null);e.exports=o.exports},545:function(e,t,a){a(527);var o=a(26)(a(259),a(557),null,null);e.exports=o.exports},546:function(e,t,a){a(518);var o=a(26)(a(260),a(548),null,null);e.exports=o.exports},547:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"welcome"})},staticRenderFns:[]}},548:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("el-col",{staticClass:"toolbar",staticStyle:{"padding-bottom":"0px"},attrs:{span:24}},[a("el-form",{attrs:{inline:!0,model:e.filters}},[a("el-form-item",[a("el-input",{attrs:{placeholder:"姓名"},model:{value:e.filters.name,callback:function(t){e.$set(e.filters,"name",t)},expression:"filters.name"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.getPermissionLists}},[e._v("查询")])],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.handleAdd}},[e._v("添加门户权限 ")])],1)],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:e.users,"highlight-current-row":"","element-loading-text":"列表数据加载中"},on:{"selection-change":e.selsChange,"cell-click":e.openCellDetails}},[a("el-table-column",{attrs:{type:"index",width:"70",label:"序号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"menuRootName",label:"一级菜单",width:"180",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"menuName",label:"二级菜单",width:"180",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"userName",label:"用户",width:"180",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"roleCode",label:"管理单位",width:"180",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"functionCode",label:"是否排斥",width:"200",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"min-150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"danger",size:"small"},on:{click:function(a){e.handleDel(t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),a("el-dialog",{attrs:{title:"新增管理用户",visible:e.addFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.addFormVisible=t}}},[a("el-form",{ref:"addForm",attrs:{model:e.addForm,"label-width":"80px",rules:e.addFormRules}},[a("el-form-item",{attrs:{label:"菜单",prop:"menuCode2"}},[a("el-select",{attrs:{placeholder:"请选择一级菜单"},on:{change:function(t){e.indexSelect(t)}},model:{value:e.addForm.menuCode1,callback:function(t){e.$set(e.addForm,"menuCode1",t)},expression:"addForm.menuCode1"}},e._l(e.options,function(e){return a("el-option",{attrs:{value:e.menuCode,label:e.menuName}})})),e._v(" "),a("el-select",{attrs:{placeholder:"请选择二级菜单",multiple:"","collapse-tags":""},model:{value:e.addForm.menuCode2,callback:function(t){e.$set(e.addForm,"menuCode2",t)},expression:"addForm.menuCode2"}},e._l(e.selectionArr,function(e){return a("el-option",{key:e.menuCode,attrs:{value:e.menuCode,label:e.menuName}})}))],1),e._v(" "),a("el-form-item",{attrs:{label:"管理单位",prop:"roleDept"}},[a("el-select",{staticStyle:{width:"80%"},attrs:{placeholder:"请选择管理单位"},model:{value:e.addForm.roleDept,callback:function(t){e.$set(e.addForm,"roleDept",t)},expression:"addForm.roleDept"}},e._l(e.roleCodes,function(e){return a("el-option",{key:e.roleDept,attrs:{label:e.roleDept,value:e.roleDept}})}))],1),e._v(" "),a("el-form-item",{attrs:{label:"用户名称",prop:"userNames"}},[a("el-input",{staticStyle:{width:"80%"},attrs:{placeholder:"请选择角色用户","auto-complete":"off",disabled:""},model:{value:e.addForm.userNames,callback:function(t){e.$set(e.addForm,"userNames",t)},expression:"addForm.userNames"}}),e._v(" "),a("el-button",{attrs:{disabled:e.isdisabledFn},on:{click:e.getRoleUsersLists}},[e._v("选择")])],1),e._v(" "),a("el-form-item",{attrs:{label:"用户全选"}},[a("el-switch",{attrs:{"active-value":"all"},on:{change:function(t){e.switchAllUser()}},model:{value:e.userAllSelect,callback:function(t){e.userAllSelect=t},expression:"userAllSelect"}})],1),e._v(" "),a("el-form-item",{staticStyle:{display:"none"},attrs:{label:"员工号",prop:"pernrs"}},[a("el-input",{attrs:{"auto-complete":"off"},model:{value:e.addForm.pernrs,callback:function(t){e.$set(e.addForm,"pernrs",t)},expression:"addForm.pernrs"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"是否排斥",prop:"functionCode"}},[a("el-radio-group",{model:{value:e.addForm.functionCode,callback:function(t){e.$set(e.addForm,"functionCode",t)},expression:"addForm.functionCode"}},[a("el-radio",{attrs:{label:"是",value:"0"}}),e._v(" "),a("el-radio",{attrs:{label:"否",value:"1"}})],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.handleclose("addForm")}}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary",loading:e.addLoading},nativeOn:{click:function(t){return e.addSubmit(t)}}},[e._v("提交")])],1)],1),e._v(" "),a("el-dialog",{attrs:{title:"选择角色用户",visible:e.selectRoleDialogVisible,width:"40%"},on:{"update:visible":function(t){e.selectRoleDialogVisible=t}}},[[a("el-col",{staticClass:"toolbar",staticStyle:{"padding-bottom":"0px"},attrs:{span:24}},[a("el-form",{attrs:{inline:!0,model:e.filtersRole}},[a("el-form-item",[a("el-input",{attrs:{placeholder:"姓名"},model:{value:e.filtersRole.name,callback:function(t){e.$set(e.filtersRole,"name",t)},expression:"filtersRole.name"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.searchFiltersRole}},[e._v("查询")])],1)],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.roleUsersLoading,expression:"roleUsersLoading"}],staticStyle:{width:"100%"},attrs:{data:e.roleUsers,"highlight-current-row":"","element-loading-text":"用户数据加载中"}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"员工姓名",width:"150",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"pernr",label:"员工号","min-width":"150",sortable:""}})],1),e._v(" "),a("el-col",{staticClass:"toolbar",attrs:{span:24}},[a("el-pagination",{staticStyle:{float:"right"},attrs:{layout:"total, sizes, prev, pager, next, jumper","page-sizes":[10],total:e.total},on:{"current-change":e.handleRoleUsersChange}})],1)],e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.selectRoleDialogVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.sureSelectedRoleUsers}},[e._v("确 定")])],1)],2),e._v(" "),a("el-dialog",{attrs:{title:"已授权角色用户列表",visible:e.hasSelectedRoleDialogVisible,width:"40%"},on:{"update:visible":function(t){e.hasSelectedRoleDialogVisible=t}}},[[a("el-col",{staticClass:"toolbar",staticStyle:{"padding-bottom":"0px"},attrs:{span:24}},[a("el-form",{attrs:{inline:!0,model:e.selectedRole}},[a("el-form-item",[a("el-input",{attrs:{placeholder:"姓名"},model:{value:e.selectedRole.name,callback:function(t){e.$set(e.selectedRole,"name",t)},expression:"selectedRole.name"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.searchSelectedRole}},[e._v("查询")])],1)],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading"}],staticStyle:{width:"100%"},attrs:{data:e.hasSelectedRoles,"highlight-current-row":""}},[a("el-table-column",{attrs:{prop:"userName",label:"员工姓名",width:"150",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"pernr",label:"员工号",width:"150",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"min-150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"danger",size:"small"},on:{click:function(a){e.delSelectedRole(t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),a("el-col",{staticClass:"toolbar",attrs:{span:24}},[a("el-pagination",{staticStyle:{float:"right"},attrs:{layout:"total, sizes, prev, pager, next, jumper","page-sizes":[20],total:e.total},on:{"current-change":e.handleRoleUsersChange}})],1)],e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.hasSelectedRoleDialogVisible=!1}}},[e._v("取 消")])],1)],2)],1)},staticRenderFns:[]}},549:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"app"}},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view")],1)],1)},staticRenderFns:[]}},550:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("el-col",{staticClass:"toolbar",staticStyle:{"padding-bottom":"0px"},attrs:{span:24}},[a("el-form",{attrs:{inline:!0,model:e.filters}},[a("el-form-item",[a("el-input",{attrs:{placeholder:"搜索条件"},model:{value:e.filters.name,callback:function(t){e.$set(e.filters,"name",t)},expression:"filters.name"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.getUsers}},[e._v("查询")])],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.handleAdd}},[e._v("新增管理角色")])],1)],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:e.users,"highlight-current-row":""},on:{"selection-change":e.selsChange}},[a("el-table-column",{attrs:{type:"index",width:"70",label:"序号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"roleCode",label:"角色编码",width:"200",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"roleName",label:"角色名称",width:"180",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"roleDept",label:"单位",width:"180",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"min-150"},scopedSlots:e._u([{key:"default",fn:function(t){return[1!=t.row.roleType&&0!=t.row.roleType?a("el-button",{attrs:{size:"small"},on:{click:function(a){e.changeName(t.$index,t.row)}}},[e._v("更名")]):e._e(),e._v(" "),1!=t.row.roleType&&0!=t.row.roleType?a("el-button",{attrs:{type:"warning",size:"small"},on:{click:function(a){e.handleEdit(t.row)}}},[e._v("编辑")]):e._e(),e._v(" "),1!=t.row.roleType&&0!=t.row.roleType?a("el-button",{attrs:{type:"danger",size:"small"},on:{click:function(a){e.handleDel(t.row)}}},[e._v("删除")]):e._e()]}}])})],1),e._v(" "),a("el-col",{staticClass:"toolbar",attrs:{span:24}},[a("el-pagination",{staticStyle:{float:"right"},attrs:{layout:"total, sizes, prev, pager, next, jumper","page-sizes":[10],total:e.totalLists},on:{"current-change":e.handleCurrentChange}})],1),e._v(" "),a("el-dialog",{attrs:{title:"新增管理用户",visible:e.addFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.addFormVisible=t}}},[a("el-form",{ref:"addForm",attrs:{model:e.addForm,"label-width":"80px",rules:e.addFormRules}},[a("el-form-item",{attrs:{label:"角色名称",prop:"roleName"}},[a("el-input",{attrs:{placeholder:"请填写角色名称","auto-complete":"off"},model:{value:e.addForm.roleName,callback:function(t){e.$set(e.addForm,"roleName",t)},expression:"addForm.roleName"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"管理单位",prop:"roleDept"}},[a("el-input",{staticStyle:{width:"85%"},attrs:{type:"text",placeholder:"请选择管理单位",disabled:""},model:{value:e.addForm.roleDept,callback:function(t){e.$set(e.addForm,"roleDept",t)},expression:"addForm.roleDept"}}),e._v(" "),a("el-button",{on:{click:e.getManagement}},[e._v("选择")])],1),e._v(" "),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],attrs:{label:"单位编码",prop:"roleDeptCode"}},[a("el-input",{attrs:{type:"text"},model:{value:e.addForm.roleDeptCode,callback:function(t){e.$set(e.addForm,"roleDeptCode",t)},expression:"addForm.roleDeptCode"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"角色描述"}},[a("el-input",{attrs:{type:"textarea",placeholder:"请填写角色描述"},model:{value:e.addForm.roleDesc,callback:function(t){e.$set(e.addForm,"roleDesc",t)},expression:"addForm.roleDesc"}})],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{nativeOn:{click:function(t){e.addFormVisible=!1}}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary",loading:e.addLoading},nativeOn:{click:function(t){return e.addSubmit(t)}}},[e._v("提交")])],1)],1),e._v(" "),a("el-dialog",{attrs:{title:"更改分公司管理员信息",visible:e.changeNameFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.changeNameFormVisible=t}}},[a("el-form",{ref:"editForm",attrs:{model:e.editForm,"label-width":"80px",rules:e.editFormRules}},[a("el-form-item",{attrs:{prop:"roleName",label:"角色名称"}},[a("el-input",{attrs:{"auto-complete":"off"},model:{value:e.editForm.roleName,callback:function(t){e.$set(e.editForm,"roleName",t)},expression:"editForm.roleName"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"roleDept",label:"管理单位"}},[a("el-input",{staticStyle:{width:"85%"},attrs:{type:"text",disabled:""},model:{value:e.editForm.roleDept,callback:function(t){e.$set(e.editForm,"roleDept",t)},expression:"editForm.roleDept"}}),e._v(" "),a("el-button",{on:{click:e.getManagement}},[e._v("选择")])],1),e._v(" "),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],attrs:{label:"单位编码",prop:"roleDeptCode"}},[a("el-input",{attrs:{type:"text"},model:{value:e.editForm.roleDeptCode,callback:function(t){e.$set(e.editForm,"roleDeptCode",t)},expression:"editForm.roleDeptCode"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"roleDesc",label:"角色描述"}},[a("el-input",{attrs:{type:"textarea"},model:{value:e.editForm.roleDesc,callback:function(t){e.$set(e.editForm,"roleDesc",t)},expression:"editForm.roleDesc"}})],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{nativeOn:{click:function(t){e.changeNameFormVisible=!1}}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary",loading:e.editLoading},nativeOn:{click:function(t){return e.editSubmit(t)}}},[e._v("提交")])],1)],1),e._v(" "),a("el-dialog",{attrs:{title:"编辑分公司管理员信息",visible:e.editFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.editFormVisible=t}}},[a("el-form",{ref:"editForm",attrs:{model:e.editForm,"label-width":"80px",rules:e.editFormRules}},[a("el-col",{staticClass:"toolbar",attrs:{span:24}},[a("el-row",[a("el-input",{staticStyle:{width:"20%"},attrs:{placeholder:"搜索条件"},model:{value:e.filtersRole.name,callback:function(t){e.$set(e.filtersRole,"name",t)},expression:"filtersRole.name"}}),e._v(" "),a("el-button",{attrs:{icon:"el-icon-search",circle:""},on:{click:e.openCellDetails}}),e._v(" "),a("el-button",{attrs:{type:"primary",icon:"el-icon-plus",circle:""},on:{click:e.Authorization}}),e._v(" "),a("el-button",{attrs:{type:"danger",icon:"el-icon-delete",circle:""},on:{click:e.delSelectedRole}}),e._v(" "),a("el-button",{attrs:{type:"success"},on:{click:e.distributionOrganization}},[e._v("分配组织结构")])],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading"}],staticStyle:{width:"100%"},attrs:{data:e.hasSelectedRoles,"highlight-current-row":""}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{prop:"userName",label:"已授权用户姓名",width:"150",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"pernr",label:"员工号",width:"min-150",sortable:""}})],1),e._v(" "),a("el-col",{staticClass:"toolbar",attrs:{span:24}},[a("el-pagination",{staticStyle:{float:"right"},attrs:{layout:"total, sizes, prev, pager, next, jumper","page-sizes":[10],total:e.total},on:{"current-change":e.handleSelectedRoleUsersChange}})],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{nativeOn:{click:function(t){e.editFormVisible=!1}}},[e._v("取消")])],1)],1),e._v(" "),a("el-dialog",{attrs:{title:"选择管理单位","custom-class":"selectManagementDialog",visible:e.selectManagementDialogVisible,width:"50%"},on:{"update:visible":function(t){e.selectManagementDialogVisible=t}}},[[a("el-col",{staticClass:"toolbar",staticStyle:{"padding-bottom":"0px"},attrs:{span:24}},[a("el-form",{attrs:{inline:!0}},[a("el-form-item",[a("el-input",{attrs:{placeholder:"单位名称"},model:{value:e.selectManagement,callback:function(t){e.selectManagement=t},expression:"selectManagement"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.getManagement}},[e._v("查询")])],1)],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading"}],staticStyle:{width:"100%"},attrs:{data:e.managements,"highlight-current-row":""}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{prop:"persa",label:"编号",width:"150",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"name1",label:"单位名称","min-width":"150",sortable:""}})],1),e._v(" "),a("el-col",{staticClass:"toolbar",attrs:{span:24}},[a("el-pagination",{staticStyle:{float:"right"},attrs:{layout:"total, sizes, prev, pager, next, jumper","page-sizes":[10],total:e.managementTotal},on:{"current-change":function(e){}}})],1)],e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.selectManagementDialogVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.sureManagement}},[e._v("确 定")])],1)],2),e._v(" "),a("el-dialog",{attrs:{title:"选择角色用户","custom-class":"selectRoleDialog",visible:e.selectRoleDialogVisible,width:"50%"},on:{"update:visible":function(t){e.selectRoleDialogVisible=t}}},[[a("el-col",{staticClass:"toolbar",staticStyle:{"padding-bottom":"0px"},attrs:{span:24}},[a("el-form",{attrs:{inline:!0,model:e.filtersRole}},[a("el-form-item",[a("el-input",{attrs:{placeholder:"姓名"},model:{value:e.selectRoleName,callback:function(t){e.selectRoleName=t},expression:"selectRoleName"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.searchAuthorization}},[e._v("查询")])],1)],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading"}],staticStyle:{width:"100%"},attrs:{data:e.roleUsers,"highlight-current-row":""}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{prop:"sname",label:"员工姓名",width:"150",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"pernr",label:"员工号","min-width":"150",sortable:""}})],1),e._v(" "),a("el-col",{staticClass:"toolbar",attrs:{span:24}},[a("el-pagination",{staticStyle:{float:"right"},attrs:{layout:"total, sizes, prev, pager, next, jumper","page-sizes":[10],total:e.allUserstotal},on:{"current-change":e.handleRoleUsersChange}})],1)],e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.selectRoleDialogVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.sureRoleUsers}},[e._v("确 定")])],1)],2),e._v(" "),a("el-dialog",{attrs:{title:"已授权角色用户列表",visible:e.hasSelectedRoleDialogVisible,width:"40%"},on:{"update:visible":function(t){e.hasSelectedRoleDialogVisible=t}}},[[a("el-col",{staticClass:"toolbar",staticStyle:{"padding-bottom":"0px"},attrs:{span:24}},[a("el-form",{attrs:{inline:!0,model:e.filtersRole}},[a("el-form-item",[a("el-input",{attrs:{placeholder:"姓名"},model:{value:e.filtersRole.name,callback:function(t){e.$set(e.filtersRole,"name",t)},expression:"filtersRole.name"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.searchRole}},[e._v("查询")])],1)],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading"}],staticStyle:{width:"100%"},attrs:{data:e.hasSelectedRoles,"highlight-current-row":""}},[a("el-table-column",{attrs:{prop:"userName",label:"员工姓名",width:"150",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"pernr",label:"员工号",width:"150",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"min-150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"danger",size:"small"},on:{click:function(a){e.delSelectedRole(t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),a("el-col",{staticClass:"toolbar",attrs:{span:24}},[a("el-pagination",{staticStyle:{float:"right"},attrs:{layout:"total, sizes, prev, pager, next, jumper","page-sizes":[10],total:e.total},on:{"current-change":e.handleSelectedRoleUsersChange}})],1)],e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.hasSelectedRoleDialogVisible=!1}}},[e._v("取 消")])],1)],2),e._v(" "),a("el-dialog",{attrs:{title:"选择组织架构",visible:e.organizationVisible,width:"40%"},on:{"update:visible":function(t){e.organizationVisible=t}}},[a("el-tree",{ref:"tree",attrs:{data:e.treeData,"show-checkbox":"","node-key":"id","highlight-current":"",props:e.defaultProps}}),e._v(" "),a("div",{staticClass:"buttons",staticStyle:{float:"right"}},[a("el-button",{on:{click:function(t){e.organizationVisible=!1}}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submitCheckedNodes}},[e._v("确定")])],1)],1)],1)},staticRenderFns:[]}},551:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("el-col",{staticClass:"toolbar",staticStyle:{"padding-bottom":"0px"},attrs:{span:24}},[a("el-form",{attrs:{inline:!0,model:e.filters}},[a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.handleAdd}},[e._v("新增菜单")])],1)],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:e.users,"highlight-current-row":""},on:{"selection-change":e.selsChange}},[a("el-table-column",{attrs:{type:"index",width:"70",label:"序号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"menuCode",width:"180",label:"菜单标识"}}),e._v(" "),a("el-table-column",{attrs:{prop:"menuName",label:"菜单名称",width:"160",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"menuUrl",label:"菜单url",width:"180",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"parentMenuName",label:"父菜单名称",width:"180",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"menuType",label:"菜单类型",width:"160",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"frontBack",label:"菜单用途","min-width":"160",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{size:"small"},on:{click:function(a){e.handleEdit(t.$index,t.row)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"danger",size:"small"},on:{click:function(a){e.handleDel(t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),a("el-col",{staticClass:"toolbar",attrs:{span:24}},[a("el-pagination",{staticStyle:{float:"right"},attrs:{layout:"total, sizes, prev, pager, next, jumper","page-size":10,total:e.total},on:{"current-change":e.handleCurrentChange}})],1),e._v(" "),a("el-dialog",{attrs:{title:"编辑",visible:e.editFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.editFormVisible=t}}},[a("el-form",{ref:"editForm",attrs:{model:e.editForm,"label-width":"80px",rules:e.editFormRules}},[a("el-form-item",{attrs:{label:"菜单用途",prop:"frontBack"}},[a("el-radio-group",{model:{value:e.editForm.frontBack,callback:function(t){e.$set(e.editForm,"frontBack",t)},expression:"editForm.frontBack"}},[a("el-radio",{staticClass:"radio",attrs:{label:1}},[e._v("前台门户")]),e._v(" "),a("el-radio",{staticClass:"radio",attrs:{label:0}},[e._v("后台管理")])],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"菜单类型",prop:"menuType"}},[a("el-radio-group",{model:{value:e.editForm.menuType,callback:function(t){e.$set(e.editForm,"menuType",t)},expression:"editForm.menuType"}},[a("el-radio",{staticClass:"radio",attrs:{label:1}},[e._v("菜单")]),e._v(" "),a("el-radio",{staticClass:"radio",attrs:{label:2}},[e._v("目录")]),e._v(" "),a("el-radio",{staticClass:"radio",attrs:{label:3}},[e._v("按钮")])],1)],1),e._v(" "),e._e(),e._v(" "),a("el-form-item",{attrs:{label:"父级菜单",prop:"parentMenuName"}},[a("el-input",{staticStyle:{width:"80%"},attrs:{disabled:"","auto-complete":"off"},model:{value:e.editForm.parentMenuName,callback:function(t){e.$set(e.editForm,"parentMenuName",t)},expression:"editForm.parentMenuName"}}),e._v(" "),a("el-button",{attrs:{plain:!0},on:{click:function(t){e.getTreeData("edit")}}},[e._v("选择")])],1),e._v(" "),a("el-form-item",{attrs:{label:"菜单编码",prop:"menuCode"}},[a("el-input",{attrs:{"auto-complete":"off"},model:{value:e.editForm.menuCode,callback:function(t){e.$set(e.editForm,"menuCode",t)},expression:"editForm.menuCode"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"菜单名称",prop:"menuName"}},[a("el-input",{attrs:{"auto-complete":"off"},model:{value:e.editForm.menuName,callback:function(t){e.$set(e.editForm,"menuName",t)},expression:"editForm.menuName"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"菜单url",prop:"menuUrl"}},[a("el-input",{attrs:{"auto-complete":"off"},model:{value:e.editForm.menuUrl,callback:function(t){e.$set(e.editForm,"menuUrl",t)},expression:"editForm.menuUrl"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"排序号",prop:"menuSort"}},[a("el-input",{attrs:{"auto-complete":"off"},model:{value:e.editForm.menuSort,callback:function(t){e.$set(e.editForm,"menuSort",t)},expression:"editForm.menuSort"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"图标",prop:"menuImage"}},[a("el-input",{attrs:{"auto-complete":"off"},model:{value:e.editForm.menuImage,callback:function(t){e.$set(e.editForm,"menuImage",t)},expression:"editForm.menuImage"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"是否开放",prop:"isopen"}},[a("el-radio-group",{model:{value:e.editForm.isopen,callback:function(t){e.$set(e.editForm,"isopen",t)},expression:"editForm.isopen"}},[a("el-radio",{staticClass:"radio",attrs:{label:1}},[e._v("是")]),e._v(" "),a("el-radio",{staticClass:"radio",attrs:{label:0}},[e._v("否")])],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"是否窗口",prop:"isPopup"}},[a("el-radio-group",{model:{value:e.editForm.isPopup,callback:function(t){e.$set(e.editForm,"isPopup",t)},expression:"editForm.isPopup"}},[a("el-radio",{staticClass:"radio",attrs:{label:1}},[e._v("是")]),e._v(" "),a("el-radio",{staticClass:"radio",attrs:{label:0}},[e._v("否")])],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{nativeOn:{click:function(t){e.editFormVisible=!1}}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary",loading:e.editLoading},nativeOn:{click:function(t){return e.editSubmit(t)}}},[e._v("提交")])],1)],1),e._v(" "),a("el-dialog",{attrs:{title:"新增菜单项",visible:e.addFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.addFormVisible=t}}},[a("el-form",{ref:"addForm",attrs:{model:e.addForm,"label-width":"80px",rules:e.addFormRules}},[a("el-form-item",{attrs:{label:"菜单用途",prop:"frontBack"}},[a("el-radio-group",{model:{value:e.addForm.frontBack,callback:function(t){e.$set(e.addForm,"frontBack",t)},expression:"addForm.frontBack"}},[a("el-radio",{staticClass:"radio",attrs:{label:1}},[e._v("前台门户")]),e._v(" "),a("el-radio",{staticClass:"radio",attrs:{label:"0"}},[e._v("后台管理")])],1)],1),e._v(" "),e._e(),e._v(" "),a("el-form-item",{attrs:{label:"父级菜单",prop:"parentMenuName"}},[a("el-input",{staticStyle:{width:"80%"},attrs:{disabled:"","auto-complete":"off"},model:{value:e.addForm.parentMenuName,callback:function(t){e.$set(e.addForm,"parentMenuName",t)},expression:"addForm.parentMenuName"}}),e._v(" "),a("el-button",{attrs:{plain:!0},on:{click:function(t){e.getTreeData("add")}}},[e._v("选择")])],1),e._v(" "),a("el-form-item",{attrs:{label:"菜单类型",prop:"menuType"}},[a("el-radio-group",{model:{value:e.addForm.menuType,callback:function(t){e.$set(e.addForm,"menuType",t)},expression:"addForm.menuType"}},[a("el-radio",{staticClass:"radio",attrs:{label:1}},[e._v("菜单")]),e._v(" "),a("el-radio",{staticClass:"radio",attrs:{label:2}},[e._v("目录")]),e._v(" "),a("el-radio",{staticClass:"radio",attrs:{label:3}},[e._v("按钮")])],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"菜单编码",prop:"menuCode"}},[a("el-input",{attrs:{"auto-complete":"off"},model:{value:e.addForm.menuCode,callback:function(t){e.$set(e.addForm,"menuCode",t)},expression:"addForm.menuCode"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"菜单名称",prop:"menuName"}},[a("el-input",{attrs:{"auto-complete":"off"},model:{value:e.addForm.menuName,callback:function(t){e.$set(e.addForm,"menuName",t)},expression:"addForm.menuName"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"菜单url",prop:"menuUrl"}},[a("el-input",{attrs:{"auto-complete":"off"},model:{value:e.addForm.menuUrl,callback:function(t){e.$set(e.addForm,"menuUrl",t)},expression:"addForm.menuUrl"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"排序号",prop:"menuSort"}},[a("el-input",{attrs:{"auto-complete":"off"},model:{value:e.addForm.menuSort,callback:function(t){e.$set(e.addForm,"menuSort",t)},expression:"addForm.menuSort"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"图标",prop:"menuImage"}},[a("el-input",{attrs:{"auto-complete":"off"},model:{value:e.addForm.menuImage,callback:function(t){e.$set(e.addForm,"menuImage",t)},expression:"addForm.menuImage"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"是否开放",prop:"isopen"}},[a("el-radio-group",{model:{value:e.addForm.isopen,callback:function(t){e.$set(e.addForm,"isopen",t)},expression:"addForm.isopen"}},[a("el-radio",{staticClass:"radio",attrs:{label:1}},[e._v("是")]),e._v(" "),a("el-radio",{staticClass:"radio",attrs:{label:0}},[e._v("否")])],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"是否窗口",prop:"isPopup"}},[a("el-radio-group",{model:{value:e.addForm.isPopup,callback:function(t){e.$set(e.addForm,"isPopup",t)},expression:"addForm.isPopup"}},[a("el-radio",{staticClass:"radio",attrs:{label:1}},[e._v("是")]),e._v(" "),a("el-radio",{staticClass:"radio",attrs:{label:0}},[e._v("否")])],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{nativeOn:{click:function(t){e.addFormVisible=!1}}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary",loading:e.addLoading},nativeOn:{click:function(t){return e.addSubmit(t)}}},[e._v("提交")])],1)],1),e._v(" "),a("el-dialog",{attrs:{title:"选择父级菜单",visible:e.parentTreeVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.parentTreeVisible=t}}},[a("el-tree",{ref:"tree",attrs:{data:e.parentTreedata,props:e.defaultProps,"show-checkbox":"","node-key":"id","check-strictly":!0,"highlight-current":!0,"default-expand-all":"","expand-on-click-node":!1},on:{"check-change":e.checkChange,"node-click":e.nodeClick}}),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{nativeOn:{click:function(t){e.parentTreeVisible=!1}}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},nativeOn:{click:function(t){return e.parentTreeDataSubmit(t)}}},[e._v("提交")])],1)],1)],1)},staticRenderFns:[]}},552:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("el-col",{staticClass:"toolbar",staticStyle:{"padding-bottom":"0px"},attrs:{span:24}},[a("el-form",{attrs:{inline:!0,model:e.filters}},[a("el-form-item",[a("el-input",{attrs:{placeholder:"姓名"},model:{value:e.filters.name,callback:function(t){e.$set(e.filters,"name",t)},expression:"filters.name"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.getPermissionLists}},[e._v("查询")])],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.handleAdd}},[e._v("添加门户权限 ")])],1)],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:e.users,"highlight-current-row":"","element-loading-text":"列表数据加载中"},on:{"selection-change":e.selsChange,"cell-click":e.openCellDetails}},[a("el-table-column",{attrs:{type:"index",width:"70",label:"序号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"menuRootName",label:"一级菜单",width:"180",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"menuName",label:"二级菜单",width:"180",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"userName",label:"用户",width:"180",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"roleCode",label:"管理单位",width:"180",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"functionCode",label:"是否排斥",width:"200",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"min-150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"danger",size:"small"},on:{click:function(a){e.handleDel(t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),a("el-dialog",{attrs:{title:"新增管理用户",visible:e.addFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.addFormVisible=t}}},[a("el-form",{ref:"addForm",attrs:{model:e.addForm,"label-width":"80px",rules:e.addFormRules}},[a("el-form-item",{attrs:{label:"菜单",prop:"menuCode2"}},[a("el-select",{attrs:{placeholder:"请选择一级菜单"},on:{change:function(t){e.indexSelect(t)}},model:{value:e.addForm.menuCode1,callback:function(t){e.$set(e.addForm,"menuCode1",t)},expression:"addForm.menuCode1"}},e._l(e.options,function(e){return a("el-option",{attrs:{value:e.menuCode,label:e.menuName}})})),e._v(" "),a("el-select",{attrs:{placeholder:"请选择二级菜单",multiple:"","collapse-tags":""},model:{value:e.addForm.menuCode2,callback:function(t){e.$set(e.addForm,"menuCode2",t)},expression:"addForm.menuCode2"}},e._l(e.selectionArr,function(e){return a("el-option",{attrs:{value:e.menuCode,label:e.menuName}})}))],1),e._v(" "),a("el-form-item",{attrs:{label:"管理单位",prop:"roleDept"}},[a("el-select",{staticStyle:{width:"80%"},attrs:{placeholder:"请选择管理单位"},model:{value:e.addForm.roleDept,callback:function(t){e.$set(e.addForm,"roleDept",t)},expression:"addForm.roleDept"}},e._l(e.roleCodes,function(e){return a("el-option",{key:e.roleDept,attrs:{label:e.roleDept,value:e.roleDept}})}))],1),e._v(" "),a("el-form-item",{attrs:{label:"用户名称",prop:"userNames"}},[a("el-input",{staticStyle:{width:"80%"},attrs:{placeholder:"请选择角色用户","auto-complete":"off",disabled:""},model:{value:e.addForm.userNames,callback:function(t){e.$set(e.addForm,"userNames",t)},expression:"addForm.userNames"}}),e._v(" "),a("el-button",{attrs:{disabled:e.isdisabledFn},on:{click:e.getRoleUsersLists}},[e._v("选择")])],1),e._v(" "),a("el-form-item",{attrs:{label:"用户全选"}},[a("el-switch",{attrs:{"active-value":"all"},on:{change:function(t){e.switchAllUser()}},model:{value:e.userAllSelect,callback:function(t){e.userAllSelect=t},expression:"userAllSelect"}})],1),e._v(" "),a("el-form-item",{staticStyle:{display:"none"},attrs:{label:"员工号",prop:"pernrs"}},[a("el-input",{attrs:{"auto-complete":"off"},model:{value:e.addForm.pernrs,callback:function(t){e.$set(e.addForm,"pernrs",t)},expression:"addForm.pernrs"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"是否排斥",prop:"functionCode"}},[a("el-radio-group",{model:{value:e.addForm.functionCode,callback:function(t){e.$set(e.addForm,"functionCode",t)},expression:"addForm.functionCode"}},[a("el-radio",{attrs:{label:"是",value:"0"}}),e._v(" "),a("el-radio",{attrs:{label:"否",value:"1"}})],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{nativeOn:{click:function(t){return e.handleclose(t)}}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary",loading:e.addLoading},nativeOn:{click:function(t){return e.addSubmit(t)}}},[e._v("提交")])],1)],1),e._v(" "),a("el-dialog",{attrs:{title:"选择角色用户",visible:e.selectRoleDialogVisible,width:"50%"},on:{"update:visible":function(t){e.selectRoleDialogVisible=t}}},[[a("el-col",{staticClass:"toolbar",staticStyle:{"padding-bottom":"0px"},attrs:{span:24}},[a("el-form",{attrs:{inline:!0,model:e.filtersRole}},[a("el-form-item",[a("el-input",{attrs:{placeholder:"姓名"},model:{value:e.filtersRole.name,callback:function(t){e.$set(e.filtersRole,"name",t)},expression:"filtersRole.name"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.getUsersLists}},[e._v("查询")])],1)],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.roleUsersLoading,expression:"roleUsersLoading"}],staticStyle:{width:"100%"},attrs:{data:e.roleUsers,"highlight-current-row":"","element-loading-text":"用户数据加载中"}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"员工姓名",width:"150",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"pernr",label:"员工号","min-width":"150",sortable:""}})],1),e._v(" "),a("el-col",{staticClass:"toolbar",attrs:{span:24}},[a("el-pagination",{staticStyle:{float:"right"},attrs:{layout:"total, sizes, prev, pager, next, jumper","page-sizes":[10],total:e.total},on:{"current-change":e.handleRoleUsersChange}})],1)],e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.selectRoleDialogVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.sureSelectedRoleUsers()}}},[e._v("确 定")])],1)],2),e._v(" "),a("el-dialog",{attrs:{title:"已授权角色用户列表",visible:e.hasSelectedRoleDialogVisible,width:"40%"},on:{"update:visible":function(t){e.hasSelectedRoleDialogVisible=t}}},[[a("el-col",{staticClass:"toolbar",staticStyle:{"padding-bottom":"0px"},attrs:{span:24}},[a("el-form",{attrs:{inline:!0,model:e.selectedFiltersRole}},[a("el-form-item",[a("el-input",{attrs:{placeholder:"姓名"},model:{value:e.selectedFiltersRole.name,callback:function(t){e.$set(e.selectedFiltersRole,"name",t)},expression:"selectedFiltersRole.name"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(e){}}},[e._v("查询")])],1)],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading"}],staticStyle:{width:"100%"},attrs:{data:e.hasSelectedRoles,"highlight-current-row":""}},[a("el-table-column",{attrs:{prop:"userName",label:"员工姓名",width:"150",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"pernr",label:"员工号",width:"150",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"min-150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"danger",size:"small"},on:{click:function(a){e.delSelectedRole(t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),a("el-col",{staticClass:"toolbar",attrs:{span:24}},[a("el-pagination",{staticStyle:{float:"right"},attrs:{layout:"total, sizes, prev, pager, next, jumper","page-sizes":[10],total:e.total},on:{"current-change":e.selectedRoleUsersChange}})],1)],e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.hasSelectedRoleDialogVisible=!1}}},[e._v("取 消")])],1)],2)],1)},staticRenderFns:[]}},553:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("section",[e._v("\n\tmain\n")])},staticRenderFns:[]}},554:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-row",{staticClass:"container"},[a("el-col",{staticClass:"header",attrs:{span:24}},[a("el-col",{staticClass:"logo",class:e.collapsed?"logo-collapse-width":"logo-width",attrs:{span:10}},[e._v("\n\t\t\t"+e._s(e.collapsed?"":e.sysName)+"\n\t\t")]),e._v(" "),a("el-col",{attrs:{span:10}},[a("div",{staticClass:"tools",on:{click:function(t){return t.preventDefault(),e.collapse(t)}}},[a("i",{staticClass:"fa fa-align-justify"})])]),e._v(" "),a("el-col",{staticClass:"userinfo",attrs:{span:4}},[a("el-dropdown",{attrs:{trigger:"hover"}},[a("span",{staticClass:"el-dropdown-link userinfo-inner"},[a("img",{attrs:{src:this.sysUserAvatar}}),e._v(" "+e._s(e.sysUserName))]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[e._v("我的消息")]),e._v(" "),a("el-dropdown-item",[e._v("设置")]),e._v(" "),a("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.logout(t)}}},[e._v("退出登录")])],1)],1)],1)],1),e._v(" "),a("el-col",{staticClass:"main",attrs:{span:24}},[a("aside",{class:e.collapsed?"menu-collapsed":"menu-expanded"},[a("el-menu",{directives:[{name:"show",rawName:"v-show",value:!e.collapsed,expression:"!collapsed"}],staticClass:"el-menu-vertical-demo first-vertical-demo",attrs:{"default-active":e.$route.path,"unique-opened":"",router:""},on:{open:e.handleopen,close:e.handleclose,select:e.handleselect}},[e._l(e.$router.options.routes,function(t,o){return"false"==t.hidden?[t.leaf?e._e():a("el-submenu",{attrs:{index:o+""}},[a("template",{slot:"title"},[a("i",{class:t.iconCls}),e._v(e._s(t.name))]),e._v(" "),e._l(t.children,function(t){return"false"==t.hidden?a("el-menu-item",{key:t.path,attrs:{index:t.path}},[e._v(e._s(t.name))]):e._e()})],2),e._v(" "),t.leaf&&t.children.length>0?a("el-menu-item",{attrs:{index:t.children[0].path}},[a("i",{class:t.iconCls}),e._v(e._s(t.children[0].name))]):e._e()]:e._e()})],2),e._v(" "),a("ul",{directives:[{name:"show",rawName:"v-show",value:e.collapsed,expression:"collapsed"}],ref:"menuCollapsed",staticClass:"el-menu el-menu-vertical-demo collapsed"},e._l(e.$router.options.routes,function(t,o){return"false"==t.hidden?a("li",{staticClass:"el-submenu item"},[t.leaf?[a("li",{staticClass:"el-submenu"},[a("div",{staticClass:"el-submenu__title el-menu-item",class:e.$route.path==t.children[0].path?"is-active":"",staticStyle:{"padding-left":"20px",height:"56px","line-height":"56px",padding:"0 20px"},on:{click:function(a){e.$router.push(t.children[0].path)}}},[a("i",{class:t.iconCls})])])]:[a("div",{staticClass:"el-submenu__title",staticStyle:{"padding-left":"20px"},on:{mouseover:function(t){e.showMenu(o,!0)},mouseout:function(t){e.showMenu(o,!1)}}},[a("i",{class:t.iconCls})]),e._v(" "),a("ul",{staticClass:"el-menu submenu",class:"submenu-hook-"+o,on:{mouseover:function(t){e.showMenu(o,!0)},mouseout:function(t){e.showMenu(o,!1)}}},e._l(t.children,function(t){return"false"==t.hidden?a("li",{key:t.path,staticClass:"el-menu-item",class:e.$route.path==t.path?"is-active":"",staticStyle:{"padding-left":"40px"},on:{click:function(a){e.$router.push(t.path)}}},[e._v(e._s(t.name))]):e._e()}))]],2):e._e()}))],1),e._v(" "),a("section",{staticClass:"content-container"},[a("div",{staticClass:"grid-content bg-purple-light"},[a("el-col",{staticClass:"breadcrumb-container",attrs:{span:24}},[a("strong",{staticClass:"title"},[e._v(e._s(e.$route.name))]),e._v(" "),a("el-breadcrumb",{staticClass:"breadcrumb-inner",attrs:{separator:"/"}},e._l(e.$route.matched,function(t){return a("el-breadcrumb-item",{key:t.path},[e._v("\n\t\t\t\t\t\t\t"+e._s(t.name)+"\n\t\t\t\t\t\t")])}))],1),e._v(" "),a("el-col",{staticClass:"content-wrapper",attrs:{span:24}},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view")],1)],1)],1)])])],1)},staticRenderFns:[]}},555:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("p",{staticClass:"page-container"},[e._v("404 page not found")])},staticRenderFns:[]}},556:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-form",{ref:"ruleForm2",staticClass:"demo-ruleForm login-container",attrs:{model:e.ruleForm2,rules:e.rules2,"label-position":"left","label-width":"0px"}},[a("h3",{staticClass:"title"},[e._v("雨虹人力后台")]),e._v(" "),a("el-form-item",{attrs:{prop:"account"}},[a("el-input",{attrs:{type:"text","auto-complete":"off",placeholder:"账号"},model:{value:e.ruleForm2.account,callback:function(t){e.$set(e.ruleForm2,"account",t)},expression:"ruleForm2.account"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"checkPass"}},[a("el-input",{attrs:{type:"password","auto-complete":"off",placeholder:"密码"},model:{value:e.ruleForm2.checkPass,callback:function(t){e.$set(e.ruleForm2,"checkPass",t)},expression:"ruleForm2.checkPass"}})],1),e._v(" "),a("el-checkbox",{staticClass:"remember",attrs:{checked:""},model:{value:e.checked,callback:function(t){e.checked=t},expression:"checked"}},[e._v("记住密码")]),e._v(" "),a("el-form-item",{staticStyle:{width:"100%"}},[a("el-button",{staticStyle:{width:"100%"},attrs:{type:"primary",loading:e.logining},nativeOn:{click:function(t){return t.preventDefault(),e.handleSubmit2(t)}}},[e._v("登录")])],1)],1)},staticRenderFns:[]}},557:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("el-col",{staticClass:"toolbar",staticStyle:{"padding-bottom":"0px"},attrs:{span:24}},[a("el-form",{attrs:{inline:!0,model:e.filters}},[a("el-form-item",[a("el-input",{attrs:{placeholder:"姓名"},model:{value:e.filters.name,callback:function(t){e.$set(e.filters,"name",t)},expression:"filters.name"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.getUsers}},[e._v("查询")])],1)],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:e.users,"highlight-current-row":""}},[a("el-table-column",{attrs:{type:"index",width:"70",label:"序号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"pernr",width:"180",label:"员工号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"员工姓名",width:"160",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"werks",label:"人事范围",width:"180",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"dept",label:"部门",width:"180",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"plansName",label:"岗位",width:"160",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"zzhrZj",label:"职级","min-width":"160",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{size:"small"},on:{click:function(a){e.getTreeData(t.row)}}},[e._v("分配组织结构")])]}}])})],1),e._v(" "),a("el-col",{staticClass:"toolbar",attrs:{span:24}},[a("el-pagination",{staticStyle:{float:"right"},attrs:{layout:"total, sizes, prev, pager, next, jumper","page-size":10,total:e.total},on:{"current-change":e.handleCurrentChange}})],1),e._v(" "),a("el-dialog",{attrs:{title:"选择父级菜单",visible:e.parentTreeVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.parentTreeVisible=t}}},[a("el-tree",{ref:"tree",attrs:{data:e.parentTreedata,"show-checkbox":"","node-key":"id","highlight-current":"",props:e.defaultProps}}),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{nativeOn:{click:function(t){e.parentTreeVisible=!1}}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},nativeOn:{click:function(t){return e.parentTreeDataSubmit(t)}}},[e._v("提交")])],1)],1)],1)},staticRenderFns:[]}}},[262]);
//# sourceMappingURL=app.63776681ac33c7d219a8.js.map