jurisdictionchange 1.0.13 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("jurisdictionchange",[],t):"object"==typeof exports?exports.jurisdictionchange=t():e.jurisdictionchange=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(i){if(a[i])return a[i].exports;var n=a[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var a={};return t.m=e,t.c=a,t.d=function(e,a,i){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=6)}([function(e,t){function a(e,t){var a=e[1]||"",n=e[3];if(!n)return a;if(t&&"function"==typeof btoa){var s=i(n);return[a].concat(n.sources.map(function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"})).concat([s]).join("\n")}return[a].join("\n")}function i(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var i=a(t,e);return t[2]?"@media "+t[2]+"{"+i+"}":i}).join("")},t.i=function(e,a){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},n=0;n<this.length;n++){var s=this[n][0];"number"==typeof s&&(i[s]=!0)}for(n=0;n<e.length;n++){var l=e[n];"number"==typeof l[0]&&i[l[0]]||(a&&!l[2]?l[2]=a:a&&(l[2]="("+l[2]+") and ("+a+")"),t.push(l))}},t}},function(e,t,a){function i(e){for(var t=0;t<e.length;t++){var a=e[t],i=d[a.id];if(i){i.refs++;for(var n=0;n<i.parts.length;n++)i.parts[n](a.parts[n]);for(;n<a.parts.length;n++)i.parts.push(s(a.parts[n]));i.parts.length>a.parts.length&&(i.parts.length=a.parts.length)}else{for(var l=[],n=0;n<a.parts.length;n++)l.push(s(a.parts[n]));d[a.id]={id:a.id,refs:1,parts:l}}}}function n(){var e=document.createElement("style");return e.type="text/css",h.appendChild(e),e}function s(e){var t,a,i=document.querySelector("style["+m+'~="'+e.id+'"]');if(i){if(f)return D;i.parentNode.removeChild(i)}if(S){var s=u++;i=p||(p=n()),t=l.bind(null,i,s,!1),a=l.bind(null,i,s,!0)}else i=n(),t=r.bind(null,i),a=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else a()}}function l(e,t,a,i){var n=a?"":i.css;if(e.styleSheet)e.styleSheet.cssText=v(t,n);else{var s=document.createTextNode(n),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(s,l[t]):e.appendChild(s)}}function r(e,t){var a=t.css,i=t.media,n=t.sourceMap;if(i&&e.setAttribute("media",i),g.ssrId&&e.setAttribute(m,t.id),n&&(a+="\n/*# sourceURL="+n.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),e.styleSheet)e.styleSheet.cssText=a;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(a))}}var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=a(10),d={},h=o&&(document.head||document.getElementsByTagName("head")[0]),p=null,u=0,f=!1,D=function(){},g=null,m="data-vue-ssr-id",S="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,a,n){f=a,g=n||{};var s=c(e,t);return i(s),function(t){for(var a=[],n=0;n<s.length;n++){var l=s[n],r=d[l.id];r.refs--,a.push(r)}t?(s=c(e,t),i(s)):s=[];for(var n=0;n<a.length;n++){var r=a[n];if(0===r.refs){for(var o=0;o<r.parts.length;o++)r.parts[o]();delete d[r.id]}}}};var v=function(){var e=[];return function(t,a){return e[t]=a,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e,t,a,i,n,s){var l,r=e=e||{},o=typeof e.default;"object"!==o&&"function"!==o||(l=e,r=e.default);var c="function"==typeof r?r.options:r;t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),a&&(c.functional=!0),n&&(c._scopeId=n);var d;if(s?(d=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=d):i&&(d=i),d){var h=c.functional,p=h?c.render:c.beforeCreate;h?(c._injectStyles=d,c.render=function(e,t){return d.call(t),p(e,t)}):c.beforeCreate=p?[].concat(p,d):[d]}return{esModule:l,exports:r,options:c}}},function(e,t,a){"use strict";function i(e,t){for(var a=0;a<e.length;a++)for(var i=0;i<t.length;i++)if(e[a].id==t[i].ParentID){var n={id:t[i].ID,label:t[i].RoleName,icon:"el-icon-tickets"};e[a].children.push(n)}}function n(e,t){for(var a=0;a<e.length;a++)if(e[a].ParentID==t.ID){var i={ID:e[a].ID,label:e[a].ClassName,children:[],icon:"el-icon-folder"};t.children.push(i),n(e,i)}}function s(e,t){for(var a=0;a<e.length;a++)if(t.ID==e[a].PermissionsClassID){var i={ID:e[a].ID+"l",label:e[a].PermissionsName,children:[],icon:"el-icon-tickets",PermissionsCode:e[a].PermissionsCode,PermissionsClassID:e[a].PermissionsClassID,UrpID:e[a].UrpID};t.children.push(i),e[a]={}}}var l=a(13),r=a(5);t.a={name:"Jurisdiction",data:function(){return{SwitchCheck:!1,Treeloading:!1,overs:!0,UpUserRole:!0,loading:!0,EditID:"",centerDialogNmae:"",PatientRoleID:"",activeName:"first",tableData:[],currentRow:[],TwoRow:[],ThreeRow:[],tableDataTwo:[],tableDataThree:[],falg:!1,page:0,ephemeralData:[],TreeData:[],childrenData:[],TwoTree:[],PartentData:[],seen:!1,TreeCheckData:[],DefaultData:[],DefaultExpanded:[],dialogVisible:!1,centerDialogVisible:!1,textarea:"",input:"",DelVisible:!1,roleName:"",ddID:"",str:[],counts:0,delCount:0,tt:0,TreeBolean:!1,count:0,Twocount:0,Threecount:0,Firstcount:0,PageInfo:[],select_UserName:"",select_NickName:"",CurrentPage:1}},components:{AuthorityManagement:l.a},created:function(){this.SelAll(),this.SelAllPart(),this.SelSearchUserRole()},methods:{OpenEditclassify:function(e,t){this.input=t,this.EditID=e,this.UpUserRole=!1,this.centerDialogVisible=!0,this.centerDialogNmae="修改"},EditUserRole:function(){var e=this;this.$axios.post(r.a.EditUserRole,{RoleName:this.input,ID:this.EditID}).then(function(t){e.UpUserRole=!0,e.SelSearchUserRole()})},nodeExpand:function(e){this.DefaultExpanded.push(e.ID)},nodeCollapse:function(e){this.DefaultExpanded.splice(this.DefaultExpanded.indexOf(e.ID),1)},handleClick:function(e,t){"权限管理"==e.label&&this.SelAllJurisdictionTree(),this.empty()},centerDialogVisibleClose:function(){this.input="",this.UpUserRole=!0,this.textarea="",this.centerDialogVisible=!1},empty:function(){this.activeName="first",this.DefaultExpanded=[],this.count=0,this.page=0,this.falg=!1,this.UpUserRole=!0,this.tableData=[],this.PartentData=[],this.PageInfo=[],this.TreeData=[],this.SelAll(),this.SelSearchUserRole()},headClass:function(){return"text-align: center;color:#000;font-weight:normal;padding: 6px 0;"},rowClass:function(){return"text-align: center;padding: 6px 0;"},handleCurrentChanges:function(e){this.page=10*(e-1),this.Select_select_UserNickName()},OnehandleCurrentChanges:function(e){this.page=10*(e-1),this.Select_select_UserNickName()},SelByThreecount:function(e){this.page=10*(e-1),this.SelAllPart()},SelThreeTable:function(e){this.PageInfo=[];for(var t=10*(e-1);t<10*(e-1)+9;t++)this.tableDataThree[t]&&this.PageInfo.push(this.tableDataThree[t])},handleCheckChange:function(e,t,a){1==t&&0==this.counts&&this.CilickCheckBox(e,this.ddID),0==t&&0==a&&0==this.delCount&&this.RemovePermissions(e,this.ddID)},CilickCheckBox:function(e,t){var a=this;console.log(e),this.Treeloading=!0;var i="",n="";if(e.children.length>0){if(0==this.counts)for(var s=0;s<e.children.length;s++)if(e.children[s].children.length>0)for(var l=0;l<e.children[s].children.length;l++)if(e.children[s].children[l].children.length>0)for(var o=0;o<e.children[s].children[l].children.length;o++)o==e.children[s].children[l].children[o].length-1?null==e.children[s].children[l].children[o].UrpID&&(i+=e.children[s].children[l].children[o].ID.replace("l",""),n+=e.children[s].children[l].children[o].PermissionsCode):null==e.children[s].children[l].children[o].UrpID&&(i+=e.children[s].children[l].children[o].ID.replace("l","")+",",n+=e.children[s].children[l].children[o].PermissionsCode+",");else"排班列表"==e.children[s].children[l].label||null==e.children[s].children[l].UrpID&&(i+=e.children[s].children[l].ID.replace("l","")+",",n+=e.children[s].children[l].PermissionsCode+",");else if(s==e.children[s].length-1)null==e.children[s].UrpID&&(i+=e.children[s].ID.replace("l",""),n+=e.children[s].PermissionsCode);else if(null==e.children[s].UrpID){if("排班列表"==e.children[s].label)return;i+=e.children[s].ID.replace("l","")+",",n+=e.children[s].PermissionsCode+","}}else{if("排班列表"==e.label)return void(this.Treeloading=!1);i+=e.ID.replace("l",""),n+=e.PermissionsCode,this.counts++}this.counts++,","==i.charAt(i.length-1)&&(i=i.slice(0,i.length-1)),","==n.charAt(n.length-1)&&(n=n.slice(0,n.length-1)),""!=i&&"null"!=i&&""!=n&&this.count>0?this.$axios.post(r.a.AddUserRolePermissions,{roleID:t,permissionsIDs:i,permissionsCodes:n}).then(function(e){i="",a.counts=0,a.delCount=0,a.$message({showClose:!0,message:"权限添加成功",type:"success"}),a.Treeloading=!1,a.showJdc(t)}):(this.counts=0,this.delCount=0,this.Treeloading=!1)},RemovePermissions:function(e,t){var a=this;this.Treeloading=!0;var i="";if(e.children.length>0){if(0==this.delCount)for(var n=0;n<e.children.length;n++)if(e.children[n].children.length>0)for(var s=0;s<e.children[n].children.length;s++)if(e.children[n].children[s].children.length>0)for(var l=0;l<e.children[n].children[s].children.length;l++)l==e.children[n].children[s].children[l].length-1?null!=e.children[n].children[s].children[l].UrpID&&(i+=e.children[n].children[s].children[l].UrpID,this.delCount++):null!=e.children[n].children[s].children[l].UrpID&&(i+=e.children[n].children[s].children[l].UrpID+",",this.delCount++);else"排班列表"==e.children[n].children[s].label||null!=e.children[n].children[s].UrpID&&(i+=e.children[n].children[s].UrpID+",",this.delCount++);else n==e.children[n].length-1?null!=e.children[n].UrpID&&(i+=e.children[n].UrpID,this.delCount++):null!=e.children[n].UrpID&&(i+=e.children[n].UrpID+",",this.delCount++);this.delCount++}else i+=e.UrpID,this.delCount++;","==i.charAt(i.length-1)&&(i=i.slice(0,i.length-1)),i&&"null"!=i&&this.delCount>0?this.$axios.post(r.a.DelUserRolePermissions,{rolePermissionsIDs:i}).then(function(e){a.TreeBolean=!1,a.counts=0,a.delCount=0,a.$message({showClose:!0,message:"权限删除成功",type:"success"}),a.Treeloading=!1,a.showJdc(t)}):(this.counts=0,this.delCount=0,this.Treeloading=!1)},delrole:function(e){var t=this;this.$axios.post(r.a.SoftDelUserRole,{ID:JSON.stringify(e)}).then(function(e){t.content,t.SelSearchUserRole()})},OpenDialog:function(e){this.centerDialogVisible=!0,this.centerDialogNmae="新增",this.PatientRoleID=e},addrole:function(){var e=this;void 0==this.PatientRoleID&&(this.PatientRoleID=0),"修改"==this.centerDialogNmae&&this.EditUserRole(),this.$axios.post(r.a.AddUserRole,{ParentID:this.PatientRoleID,RoleName:this.input,ExtraInfo:JSON.stringify({Remark:this.textarea}),OrganizationsID:0}).then(function(t){e.SelSearchUserRole(),e.input="",e.textarea=""}),this.centerDialogVisible=!1},AddJuri:function(){var e=this;this.$axios.post(r.a.AddUserRole,{ParentID:0,RoleName:this.input,ExtraInfo:{Remark:this.textarea}}).then(function(t){e.SelSearchUserRole(),e.input="",e.textarea=""}),this.dialogVisible=!1},mouseenter:function(e){this.$set(e,"del",!0)},mouseleave:function(e){this.$set(e,"del",!1)},PatientChildren:function(e){console.log(e)},SelAllJurisdictionTree:function(){var e=this;event.stopPropagation(),this.$axios.get(r.a.SearchRolePermissions,{params:{}}).then(function(t){e.PartentData=[];for(var a=t.data.Content.permissionsClassList,i=t.data.Content.groupPermissionsList,l=0;l<a.length;l++)0==a[l].ParentID&&e.PartentData.push({ID:a[l].ID,label:a[l].ClassName,children:[],icon:"el-icon-folder"});for(var r=0;r<e.PartentData.length;r++)n(a,e.PartentData[r]);for(var o=0;o<e.PartentData.length;o++){for(var c=0;c<e.PartentData[o].children.length;c++){if(e.PartentData[o].children[c].children.length>0)for(var d=0;d<e.PartentData[o].children[c].children.length;d++)s(i,e.PartentData[o].children[c].children[d]);else s(i,e.PartentData[o].children[c]);s(i,e.PartentData[o].children[c])}s(i,e.PartentData[o])}})},showJdc:function(e){var t=this;this.ddID=e,this.Treeloading=!0,this.SwitchCheck=!1,this.SelAllJurisdictionTree(),event.stopPropagation(),setTimeout(function(){t.$axios.get(r.a.SearchRolePermissions,{params:{roleID:e}}).then(function(e){t.DefaultData=[];for(var a=e.data.Content.groupPermissionsList,i=0;i<a.length;i++)null!=a[i].UrpID&&t.DefaultData.push(a[i].ID+"l");console.log(t.DefaultData),t.Treeloading=!1})},1e3)},setCheckedNodes:function(){for(var e=[],t=0;t<this.PartentData.length;t++)for(var a=0;a<this.PartentData[t].children.length;a++)if(this.PartentData[t].children[a].children.length>0)for(var i=0;i<length;i++);else for(var n=0;n<this.DefaultData.length;n++)this.PartentData[t].children[a].ID==this.DefaultData[n].ID&this.PartentData[t].children[a].label==this.DefaultData[n].label&&e.push({ID:this.PartentData[t].children[a].ID,label:this.PartentData[t].children[a].label});this.$refs.tree.setCheckedNodes(e)},setCheckedKeys:function(){this.$refs.tree.setCheckedKeys(this.DefaultData)},resetChecked:function(){this.$refs.tree.setCheckedKeys([])},SelSearchUserRole:function(){var e=this;this.$axios.get(r.a.SearchUserRole,{params:{page:0,rows:1e3,OrganizationsID:0}}).then(function(t){e.TreeData=[],e.ephemeralData=t.data.Content.data;for(var a=0;a<e.ephemeralData.length;a++)0==e.ephemeralData[a].ParentID&&(e.TreeData.push({id:e.ephemeralData[a].ID,label:e.ephemeralData[a].RoleName,children:[],icon:"el-icon-folder"}),e.ephemeralData[a]={});i(e.TreeData,e.ephemeralData);for(var n=0;n<e.TreeData.length;n++)0==e.TreeData[n].children.length&&(e.TreeData[n].icon="el-icon-tickets")})},close:function(){var e=this;this.$confirm("确定删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$message({type:"success",message:"删除成功!"}),e.DelUserGroupRelation()}).catch(function(){e.$message({type:"info",message:"已取消删除"})})},open:function(){var e=this;this.$confirm("确定添加角色吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$message({type:"success",message:"添加成功!"}),e.AddPart()}).catch(function(){e.$message({type:"info",message:"已取消添加"})})},AddPart:function(){var e=this;this.$axios.post(r.a.UserRoleRelation,{UserName:this.currentRow.UserName,UserRoleID:this.threeRwo.ID}).then(function(t){e.SelPartByUserName(),e.SelAllPart()})},SelUserGroupRelation:function(){var e=this;this.$axios.get(r.a.UserRoleRelation,{params:{UserName:this.currentRow.UserName}}).then(function(t){e.tableDataThree=t.data.Content})},DelUserGroupRelation:function(){var e=this;this.$axios.patch(r.a.UserRoleRelation,{ID:this.TwoRow.ID}).then(function(t){e.SelPartByUserName(),e.SelAllPart()})},SelAll:function(){var e=this;this.$axios.get(r.a.SearchUsers,{params:{rows:10,page:this.page,OrganizationsID:0}}).then(function(t){e.tableData=t.data.Content.data,e.count=t.data.Content.count,e.loading=!1})},handleCurrentChange:function(e){null==e||(this.currentRow=e,this.SelPartByUserName(),this.SelAllPart(),this.falg=!0)},threeChange:function(e){null==e||(this.threeRwo=e)},TwoChange:function(e){null==e||(this.TwoRow=e)},SelPartByUserName:function(){var e=this;this.$axios.get(r.a.UserRoleRelation,{params:{UserName:this.currentRow.UserName,OrganizationsID:0}}).then(function(t){e.PageInfo=[];for(var a=0;a<10;a++)t.data.Content[a]&&e.PageInfo.push(t.data.Content[a]);e.Twocount=t.data.Content.length,e.tableDataThree=t.data.Content})},SelAllPart:function(){var e=this;this.$axios.get(r.a.SearchUserRoleRelation,{params:{UserName:this.currentRow.UserName,page:this.page,rows:10,OrganizationsID:0}}).then(function(t){e.tableDataTwo=t.data.Content.data,e.Threecount=t.data.Content.count})},SelectQuery:function(){this.CurrentPage=1,this.page=0,this.Select_select_UserNickName()},Select_select_UserNickName:function(){var e=this;this.$axios.get(r.a.SearchUsers,{params:{NickName:this.select_NickName,UserName:this.select_UserName,rows:10,page:this.page,OrganizationsID:0}}).then(function(t){e.tableData=t.data.Content.data,e.count=t.data.Content.count,e.loading=!1})}}}},function(e,t,a){"use strict";function i(e,t){for(var a=0;a<e.length;a++)for(var i=0;i<t.length;i++)if(e[a].id==t[i].ParentID){var n={id:t[i].ID,label:t[i].RoleName,icon:"el-icon-tickets"};e[a].children.push(n)}}var n=a(5);t.a={data:function(){return{HasCount:0,AllUpId:{},AllKey:{},ShowTree:!1,initFalg:!1,DelVisible:!1,TreeBolean:!1,PartentData:[],DefaultExpanded:[],DefaultData:[],TreeData:[],ephemeralData:[],Treeloading:!1,SwitchCheck:!1,centerDialogVisible:!1,UpUserRole:!1,centerDialogNmae:"",PatientRoleID:"",input:"",textarea:"",EditID:"",counts:0,delCount:0}},mounted:function(){this.SelSearchUserRole(),this.SelAllJurisdictionTree()},methods:{handleCheckChange:function(e,t,a){var i=this,s=this.$refs.tree.getCheckedKeys(!0),l=0;for(var r in this.AllUpId)l++;for(var o={},c=0;c<s.length;c++)o[s[c]]="";console.log("添加还是删除: ",s.length>this.HasCount?"添加":"删除"),console.log("checkys",s,"角色已有权限",this.AllUpId," AllUpIdlength",this.HasCount);var d=[],h=[];if(s.length>this.HasCount){for(var p=this.$refs.tree.getCheckedNodes(),c=0;c<p.length;c++)"number"!=typeof p[c].ID&&p[c].ID.indexOf("l")>-1&&(this.AllUpId.hasOwnProperty(p[c].ID)||(console.log(c,p[c].label,p[c]),d.push(p[c].ID.split("l")[0]),h.push(p[c].PermissionsCode)));if(console.log("添加permissionsIDs",d),console.log("添加permissionsCodes",h),0==d.length||0==h.length)return"";this.$axios.post(n.a.AddUserRolePermissions,{roleID:this.ddID,permissionsIDs:d,permissionsCodes:h}).then(function(e){i.$message({showClose:!0,message:"权限添加成功",type:"success"}),i.showJdc(i.ddID)})}else{var u=[];for(var r in this.AllUpId)o.hasOwnProperty(r)||(u.push(this.AllUpId[r]),delete this.AllUpId[r]);if(console.log("删除AllUpId",this.AllUpId),console.log("删除pid",u.toString()),0==u.length)return"";this.$axios.post(n.a.DelUserRolePermissions,{rolePermissionsIDs:u.toString()}).then(function(e){i.counts=0,i.delCount=0,i.$message({showClose:!0,message:"权限删除成功",type:"success"})})}},CilickCheckBox:function(e,t){var a=this;this.Treeloading=!0;var i="",s="";if(e.children.length>0){if(0==this.counts)for(var l=0;l<e.children.length;l++)if(e.children[l].children.length>0)for(var r=0;r<e.children[l].children.length;r++)if(e.children[l].children[r].children.length>0)for(var o=0;o<e.children[l].children[r].children.length;o++)o==e.children[l].children[r].children[o].length-1?null==e.children[l].children[r].children[o].UrpID&&(i+=e.children[l].children[r].children[o].ID.replace("l",""),s+=e.children[l].children[r].children[o].PermissionsCode):null==e.children[l].children[r].children[o].UrpID&&(i+=e.children[l].children[r].children[o].ID.replace("l","")+",",s+=e.children[l].children[r].children[o].PermissionsCode+",");else"排班列表"==e.children[l].children[r].label||null==e.children[l].children[r].UrpID&&(i+=e.children[l].children[r].ID.replace("l","")+",",s+=e.children[l].children[r].PermissionsCode+",");else if(l==e.children[l].length-1)null==e.children[l].UrpID&&(i+=e.children[l].ID.replace("l",""),s+=e.children[l].PermissionsCode);else if(null==e.children[l].UrpID){if("排班列表"==e.children[l].label)return;i+=e.children[l].ID.replace("l","")+",",s+=e.children[l].PermissionsCode+","}}else{if("排班列表"==e.label)return void(this.Treeloading=!1);i+=e.ID.replace("l",""),s+=e.PermissionsCode,this.counts++}this.counts++,","==i.charAt(i.length-1)&&(i=i.slice(0,i.length-1)),","==s.charAt(s.length-1)&&(s=s.slice(0,s.length-1)),""!=i&&"null"!=i&&""!=s&&this.counts>0?this.$axios.post(n.a.AddUserRolePermissions,{roleID:t,permissionsIDs:i,permissionsCodes:s}).then(function(e){a.counts=0,a.delCount=0,a.$message({showClose:!0,message:"权限添加成功",type:"success"}),a.showJdc(a.ddID)}):(this.counts=0,this.delCount=0,this.Treeloading=!1)},RemovePermissions:function(e,t){var a=this;this.Treeloading=!0;var i="";if(e.children.length>0){if(0==this.delCount)for(var s=0;s<e.children.length;s++)if(e.children[s].children.length>0)for(var l=0;l<e.children[s].children.length;l++)if(e.children[s].children[l].children.length>0)for(var r=0;r<e.children[s].children[l].children.length;r++)r==e.children[s].children[l].children[r].length-1?null!=e.children[s].children[l].children[r].UrpID&&(i+=e.children[s].children[l].children[r].UrpID,this.delCount++):null!=e.children[s].children[l].children[r].UrpID&&(i+=e.children[s].children[l].children[r].UrpID+",",this.delCount++);else"排班列表"==e.children[s].children[l].label||null!=e.children[s].children[l].UrpID&&(i+=e.children[s].children[l].UrpID+",",this.delCount++);else s==e.children[s].length-1?(i+=e.children[s].UrpID,this.delCount++):(i+=e.children[s].UrpID+",",this.delCount++);this.delCount++}else i+=e.UrpID,this.delCount++;","==i.charAt(i.length-1)&&(i=i.slice(0,i.length-1)),i&&"null"!=i&&this.delCount>0?this.$axios.post(n.a.DelUserRolePermissions,{rolePermissionsIDs:i}).then(function(e){a.counts=0,a.delCount=0,a.$message({showClose:!0,message:"权限删除成功",type:"success"}),a.showJdc(a.ddID)}):(this.counts=0,this.delCount=0,this.Treeloading=!1)},nodeExpand:function(e){this.DefaultExpanded.push(e.ID)},nodeCollapse:function(e){this.DefaultExpanded.splice(this.DefaultExpanded.indexOf(e.ID),1)},delrole:function(e){var t=this;this.$axios.post(n.a.SoftDelUserRole,{ID:JSON.stringify(e)}).then(function(e){t.content,t.SelSearchUserRole()})},OpenEditclassify:function(e,t){this.input=t,this.EditID=e,this.UpUserRole=!1,this.centerDialogVisible=!0,this.centerDialogNmae="修改"},ParseParentData:function(e,t){for(var a=0;a<e.length;a++)if(e[a].ParentID==t.ID){var i={ID:e[a].ID,label:e[a].ClassName,children:[],icon:"el-icon-folder"};t.children.push(i),this.ParseParentData(e,i)}},ParseChildrenData:function(e,t){for(var a={},i=0;i<e.length;i++)if(e[i].hasOwnProperty("PermissionsClassID")){for(var n=0;n<t.length;n++)if(e[i].ID==t[n].PermissionsClassID&&(t[n].PermissionsName,!this.AllKey.hasOwnProperty(t[n].ID))){this.AllKey[t[n].ID]="";try{a=t[n].ExtraInfo?JSON.parse(t[n].ExtraInfo):{}}catch(e){a={}}var s={ID:t[n].ID+"l",label:t[n].PermissionsName,children:[],icon:"el-icon-tickets",PermissionsCode:t[n].PermissionsCode,Remark:a.Remark?a.Remark:"",PermissionsClassID:t[n].PermissionsClassID,UrpID:t[n].UrpID};e[i].children.push(s)}}else{for(var n=0;n<t.length;n++)if(e[i].ID==t[n].PermissionsClassID&&(t[n].PermissionsName,!this.AllKey.hasOwnProperty(t[n].ID))){this.AllKey[t[n].ID]="";try{a=t[n].ExtraInfo?JSON.parse(t[n].ExtraInfo):{}}catch(e){a={}}var s={ID:t[n].ID+"l",label:t[n].PermissionsName,children:[],icon:"el-icon-tickets",PermissionsCode:t[n].PermissionsCode,Remark:a.Remark?a.Remark:"",PermissionsClassID:t[n].PermissionsClassID,UrpID:t[n].UrpID};e[i].children.push(s)}this.ParseChildrenData(e[i].children,t)}},SelAllJurisdictionTree:function(e){var t=this;this.$axios.get(n.a.SearchRolePermissions,{params:{}}).then(function(e){t.PartentData=[];for(var a=e.data.Content.permissionsClassList,i=e.data.Content.groupPermissionsList,n=0;n<a.length;n++)0==a[n].ParentID&&t.PartentData.push({ID:a[n].ID,label:a[n].ClassName,children:[],icon:"el-icon-folder"});for(var s=0;s<t.PartentData.length;s++)t.ParseParentData(a,t.PartentData[s]);t.ParseChildrenData(t.PartentData,i),t.AllKey={},t.ShowTree=!0,console.log("PartentData",t.PartentData)})},showJdc:function(e){this.ddID=e,this.ShowTree=!1,this.Treeloading=!0,this.initFalg=!1,this.SwitchCheck=!1,this.SearchRolePermissions(e)},SearchRolePermissions:function(e){var t=this;this.$axios.get(n.a.SearchRolePermissions,{params:{roleID:e}}).then(function(e){t.DefaultData=[],t.AllUpId={};for(var a=e.data.Content.groupPermissionsList,i=(e.data.Content.permissionsClassList,0),n=0;n<a.length;n++)null!=a[n].UrpID&&-1==t.DefaultData.indexOf(a[n].ID+"l")&&(t.DefaultData.push(a[n].ID+"l"),t.AllUpId[a[n].ID+"l"]=a[n].UrpID,i++);t.HasCount=i,console.log("默认选中",t.DefaultData),console.log("已有权限的key",t.AllUpId," count",i),t.ShowTree=!0,setTimeout(function(){t.Treeloading=!1,t.initFalg=!0,t.AllKey={}},500)})},mouseenter:function(e){this.$set(e,"del",!0)},mouseleave:function(e){this.$set(e,"del",!1)},SelSearchUserRole:function(){var e=this;this.$axios.get(n.a.SearchUserRole,{params:{page:0,rows:1e3,OrganizationsID:0}}).then(function(t){e.TreeData=[],e.ephemeralData=t.data.Content.data;for(var a=0;a<e.ephemeralData.length;a++)0==e.ephemeralData[a].ParentID&&(e.TreeData.push({id:e.ephemeralData[a].ID,label:e.ephemeralData[a].RoleName,children:[],icon:"el-icon-folder"}),e.ephemeralData[a]={});i(e.TreeData,e.ephemeralData);for(var n=0;n<e.TreeData.length;n++)0==e.TreeData[n].children.length&&(e.TreeData[n].icon="el-icon-tickets")})},OpenDialog:function(e){this.centerDialogVisible=!0,this.centerDialogNmae="新增",this.PatientRoleID=e,this.input=""},centerDialogVisibleClose:function(){this.input="",this.UpUserRole=!0,this.textarea="",this.centerDialogVisible=!1},addrole:function(){var e=this;void 0==this.PatientRoleID&&(this.PatientRoleID=0),"修改"==this.centerDialogNmae&&this.EditUserRole(),this.$axios.post(n.a.AddUserRole,{ParentID:this.PatientRoleID,RoleName:this.input,ExtraInfo:JSON.stringify({Remark:this.textarea}),OrganizationsID:0}).then(function(t){e.SelSearchUserRole(),e.input="",e.textarea=""}),this.centerDialogVisible=!1},EditUserRole:function(){var e=this;this.$axios.post(n.a.EditUserRole,{RoleName:this.input,ID:this.EditID}).then(function(t){e.UpUserRole=!0,e.SelSearchUserRole()})}}}},function(e,t,a){"use strict";function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var n,s=JSON.parse(sessionStorage.getItem("ApiJson"));console.log("新版"),console.log(s),console.log(sessionStorage.getItem("ApiJson"));var l=s.UserCenterUrl,r=s.RHISCenterUrl,o=s.AssessmentUrl,c=(n={SystemName:"儿童康复综合评估软件",MainName:"欢迎使用儿童康复综合评估软件",login:l+"/api/Login",OrganizationsID:0,EvaluatePath:"{currentPath}#/estimateList",AssessmentQuery:"{currentPath}#/estimateSearch",stand:"stand",assessment:"assessment",imgurl:o+"/Resources/Scale/",ScaleItemImgUrl:o+"/Resources/Scale/",SearchTreatmentGroup:r+"/api/TreatmentGroupManage/Search",AddTreatmentGroup:r+"/api/TreatmentGroupManage/Add",EditTreatmentGroup:r+"/api/TreatmentGroupManage/Edit",DelTreatmentGroup:r+"/api/TreatmentGroupManage/SoftDel",SearchTreatmentGroupTherapeutist:r+"/api/TreatmentGroupTherapistRelation/Search",AddTreatmentGroupTherapeutist:r+"/api/TreatmentGroupTherapistRelation/Add",DelTreatmentGroupTherapeutist:r+"/api/TreatmentGroupTherapistRelation/SoftDel",SelSoftDeleteTreatmentGroup:r+"/api/TreatmentGroupManage/SearchSoftDel",RecoverySoftDeleteTreatmentGroup:r+"/api/TreatmentGroupManage/RestoreSoftDel",DelSoftDeleteTreatmentGroup:r+"/api/TreatmentGroupManage/Del",SelSoftDeleteTreatmentGroupTherapeutist:r+"/api/TreatmentGroupTherapistRelation/SearchSoftDel",RecoverySoftDeleteTreatmentGroupTherapeutist:r+"/api/TreatmentGroupTherapistRelation/RestoreSoftDel",DelSoftDeleteTreatmentGroupTherapeutist:r+"/api/TreatmentGroupTherapistRelation/Del",SelRoleUsers:l+"/api/SearchUsers/SearchRoleUsersByID",MoveUpAndDownMenuPerRel:l+"/api/MenuManage/MoveUpAndDown",SearchMenu:l+"/api/MenuManage/Search",AddMenu:l+"/api/MenuManage/Add",EditMenu:l+"/api/MenuManage/Edit",DelMenu:l+"/api/MenuManage/Del",DelMenuPerRel:l+"/api/MenuPermissionsRelation/Del",SearchMenuPerRel:l+"/api/MenuPermissionsRelation/Search",AddMenuPerRel:l+"/api/MenuPermissionsRelation/Add",EditMenuPerRel:l+"/api/MenuPermissionsRelation/Edit",AddSystemingType:l+"/api/SysSetingClass/Add",SelByquery:l+"/api/SysSetingClass/Search",Delectmes:l+"/api/SysSetingClass/Del",EditMes:l+"/api/SysSetingClass/Edit",SearchSortDelInfoTemplateTypes:l+"/api/InfoTemplateTypes/SearchSortDel",SearchSysSeting:l+"/api/SearchSysSeting",SortDelInfoTemplateTypes:l+"/api/InfoTemplateTypes/SortDel",RestoreSoftDelInfoTemplateTypes:l+"/api/InfoTemplateTypes/RestoreSoftDel",DelInfoTemplateTypes:l+"/api/InfoTemplateTypes/Del",AddInfoTemplateTypes:l+"/api/InfoTemplateTypes/Add",SearchInfoTemplateTypes:l+"/api/InfoTemplateTypes/Search",SearchInfoTemplate:l+"/api/InfoTemplate/Search",SearchInfoInfoTemplate:l+"/api/InfoTemplate/SearchInfo",AddInfoTemplate:l+"/api/InfoTemplate/Add",EditInfoTemplate:l+"/api/InfoTemplate/Edit",SearchSortDelInfoTemplate:l+"/api/InfoTemplate/SearchSortDel",SortDelInfoTemplate:l+"/api/InfoTemplate/SortDel",RestoreSoftDelInfoTemplate:l+"/api/InfoTemplate/RestoreSoftDel",DelInfoTemplate:l+"/api/InfoTemplate/Del",SoftAssessmentProgramDetail:o+"/api/SoftAssessmentProgramDetail",SearchSoftDelAssessmentHelpDocumentation:o+"/api/AssessmentHelpDocumentation/SearchSoftDel",RestoreSoftDelAssessmentHelpDocumentation:o+"/api/AssessmentHelpDocumentation/RestoreSoftDel",DelAssessmentHelpDocumentation:o+"/api/AssessmentHelpDocumentation/Del",SoftDelAssessmentHelpDocumentation:o+"/api/AssessmentHelpDocumentation/SoftDel",EditAssessmentHelpDocumentation:o+"/api/AssessmentHelpDocumentation/Edit",AddAssessmentHelpDocumentation:o+"/api/AssessmentHelpDocumentation/Add",SearchAssessmentHelpDocumentation:o+"/api/AssessmentHelpDocumentation/Search",SearchScaleDiagnosticTypingConnection:o+"/api/ScaleDiagnosticTypingConnection/Search",AddScaleDiagnosticTypingConnection:o+"/api/ScaleDiagnosticTypingConnection/Add",SortDelScaleDiagnosticTypingConnection:o+"/api/ScaleDiagnosticTypingConnection/SortDel",MoveUpAndDownScaleDiagnosticTypingConnection:o+"/api/ScaleDiagnosticTypingConnection/MoveUpAndDown",DelDefaultAssessmentPrescriptionDetail:o+"/api/DefaultAssessmentPrescriptionDetail/Del",UpDownAssessmentPrescription:o+"/api/UpDownAssessmentPrescriptionDetail",DefaultAssessmentPrescriptionDetail:o+"/api/DefaultAssessmentPrescriptionDetail",DefaultAssessmentPrescription:o+"/api/DefaultAssessmentPrescription",DelDefaultAssessmentPrescription:o+"/api/DefaultAssessmentPrescription/Del",AddDefaultAssessmentPrescriptionType:o+"/api/DefaultAssessmentPrescriptionType/Add",EditDefaultAssessmentPrescriptionType:o+"/api/DefaultAssessmentPrescriptionType/Edit",SearchDefaultAssessmentPrescriptionType:o+"/api/DefaultAssessmentPrescriptionType/Search",DelDefaultAssessmentPrescriptionType:o+"/api/DefaultAssessmentPrescriptionType/Del",SearchSoftDelDefaultAssessmentPrescriptionType:o+"/api/DefaultAssessmentPrescriptionType/SearchSoftDel",RestoreSoftDelDefaultAssessmentPrescriptionType:o+"/api/DefaultAssessmentPrescriptionType/RestoreSoftDel",SoftDelDefaultAssessmentPrescriptionType:o+"/api/DefaultAssessmentPrescriptionType/SoftDel",MoveUpAndDownDelDefaultAssessmentPrescriptionType:o+"/api/DefaultAssessmentPrescriptionType/MoveUpAndDown",PatientQuery:r+"/api/Patients",PatientEdit:r+"/api/Patients/Edit",PatientDel:r+"/api/Patients/Del",SoftPatients:r+"/api/SoftPatients",SoftPatientsDel:r+"/api/Patients/Del",SoftDel:r+"/api/SoftPatients/Del",ScaleExp:o+"/api/ScaleExp",SelICFCY:o+"/api/ICFCY",DelICFCY:o+"/api/ICFCY/Del",SoftICFCY:o+"/api/SoftICFCY",DelSoftICFCY:o+"/api/SoftICFCY/Del",ScaleICFRelations:o+"/api/ScaleICFRelations",DelScaleICFRelations:o+"/api/ScaleICFRelations/Del",AssessmentInfo:o+"/api/AssessmentInfoManage",SearchUsers:l+"/api/SearchUsers",AddPermissionsClass:l+"/api/AddPermissionsClass",EditPermissionsClass:l+"/api/EditPermissionsClass"},i(n,"EditPermissionsClass",l+"/api/EditPermissionsClass"),i(n,"SoftDelPermissionsClass",l+"/api/SoftDelPermissionsClass"),i(n,"SearchDelPermissionsDetail",l+"/api/SearchDelPermissionsDetail"),i(n,"ReStorePermissionsDetail",l+"/api/ReStorePermissionsDetail"),i(n,"DelPermissionsDetail",l+"/api/DelPermissionsDetail"),i(n,"EditPermissionsDetail",l+"/api/EditPermissionsDetail"),i(n,"SearchPermissionsClass",l+"/api/SearchPermissionsClass"),i(n,"SearchPermissionsDetail",l+"/api/SearchPermissionsDetail"),i(n,"AddPermissionsDetail",l+"/api/AddPermissionsDetail"),i(n,"SoftDelPermissionsDetail",l+"/api/SoftDelPermissionsDetail"),i(n,"AddUsers",l+"/api/AddUsers"),i(n,"SearchDelUsers",l+"/api/SearchDelUsers"),i(n,"RecoverUsers",l+"/api/RecoverUsers"),i(n,"EditSupUsers",l+"/api/EditSupUsers"),i(n,"DelUsers",l+"/api/DelUsers"),i(n,"SoftDelUsers",l+"/api/SoftDelUsers"),i(n,"SearchUserRoleRelation",l+"/api/SearchUserRoleRelation"),i(n,"UserRoleRelation",l+"/api/UserRoleRelation"),i(n,"AuditUsers",l+"/api/AuditUsers"),i(n,"UserGroupRelation",l+"/api/UserGroupRelation"),i(n,"SearchUserRole",l+"/api/SearchUserRole"),i(n,"SearchRolePermissions",l+"/api/SearchRolePermissions"),i(n,"AssessmentSearchRolePermissions",o+"/api/ScaleChartPloySearch"),i(n,"AddUserRole",l+"/api/AddUserRole"),i(n,"SoftDelUserRole",l+"/api/SoftDelUserRole"),i(n,"EditUserRole",l+"/api/EditUserRole"),i(n,"AddUserRolePermissions",l+"/api/AddUserRolePermissions"),i(n,"DelUserRolePermissions",l+"/api/DelUserRolePermissions"),i(n,"SearchSysSeting",l+"/api/SearchSysSeting"),i(n,"GetSysSeting",l+"/api/GetSysSeting"),i(n,"EditSysSeting",l+"/api/EditSysSeting"),i(n,"DelSysSeting",l+"/api/DelSysSeting"),i(n,"AddSysSeting",l+"/api/AddSysSeting"),i(n,"GetPermissionsAndSetting",l+"/api/UserAuthorization/GetPermissionsAndSetting"),i(n,"SearchScaleManager",o+"/api/SearchScaleManager"),i(n,"SelScaleDetail",o+"/api/ScaleMultilClassificationManageScaleManageView"),i(n,"DelScaleMultilClassificationManage",o+"/api/ScaleMultilClassificationManage/Del"),i(n,"AddScaleDetailRelation",o+"/api/ScaleMultilClassificationRelation"),i(n,"SoftDelScaleMultilClassificationRelation",o+"/api/SoftDelScaleMultilClassificationRelation"),i(n,"DelScaleMultilClassificationRelation",o+"/api/ScaleMultilClassificationRelation/Del"),i(n,"SearchDelScaleMultilClassificationManage",o+"/api/SearchDelScaleMultilClassificationManage"),i(n,"ScaleMultilClassificationManage",o+"/api/ScaleMultilClassificationManage"),i(n,"EditScaleMultilClassificationManage",o+"/api/ScaleMultilClassificationManage/Edit"),i(n,"Restore",o+"/api/ScaleMultilClassificationManage/Restore"),i(n,"SoftDelScaleMultilClassificationManage",o+"/api/SoftDelScaleMultilClassificationManage"),i(n,"ScaleClassificationManage",o+"/api/ScaleClassificationManage"),i(n,"ScaleDetailManage",o+"/api/ScaleDetailManage"),i(n,"ScaleItemManage",o+"/api/ScaleItemManage"),i(n,"DelScaleItemManage",o+"/api/ScaleItemManage/Del"),i(n,"DelScaleTopic",o+"/api/ScaleClassificationManage/Del"),i(n,"SearchleItemManage",o+"/api/ScaleItemITreatmentMethodManage/Search"),i(n,"AddScaleDetailManage",o+"/api/AddScaleDetailManage"),i(n,"EnditScaleDetailManage",o+"/api/EnditScaleDetailManage"),i(n,"DelScaleDetailManage",o+"/api/DelScaleDetailManage"),i(n,"AddScaleItemITreatmentMethodManage",o+"/api/ScaleItemITreatmentMethodManage/Add"),i(n,"EditScaleItemITreatmentMethodManage",o+"/api/ScaleItemITreatmentMethodManage/Edit"),i(n,"DelScaleItemITreatmentMethodManage",o+"/api/ScaleItemITreatmentMethodManage/Del"),i(n,"UpDownRowScaleDetailManage",o+"/api/UpDownRowScaleDetailManage"),i(n,"UpDownRowScaleManager",o+"/api/UpDownRowScaleManager"),i(n,"MoveUpAndDown",o+"/api/ScaleReportSeting/MoveUpAndDown"),i(n,"ScalePloyManage",o+"/api/ScalePloyManage"),i(n,"DelScalePloyManage",o+"/api/ScalePloyManage/Del"),i(n,"ScaleConversionManage",o+"/api/ScaleConversionManage"),i(n,"DelScaleConversionManage",o+"/api/ScaleConversionManage/Del"),i(n,"ScalePloyUpDown",o+"/api/ScalePloyUpDown"),i(n,"AddScaleManager",o+"/api/AddScaleManager"),i(n,"EnditScaleManager",o+"/api/EnditScaleManager"),i(n,"DelScaleManager",o+"/api/DelScaleManager"),i(n,"SoftDelScaleManager",o+"/api/DelScaleManager/SoftDel"),i(n,"RecoverScaleManager",o+"/api/RecoverScaleManager"),i(n,"DelScaleChartManage",o+"/api/ScaleChartManage/Del"),i(n,"ScaleReportSeting",o+"/api/ScaleReportSeting"),i(n,"DelScaleReportSeting",o+"/api/ScaleReportSeting/Del"),i(n,"ScaleChartManage",o+"/api/ScaleChartManage"),i(n,"ScaleImp",o+"/api/ScaleImp"),i(n,"ScaleItem",o+"/api/UploadPicturesScaleDetailManage/ScaleItem"),i(n,"ScaleDetail",o+"/api/UploadPicturesScaleDetailManage/ScaleDetail"),i(n,"AssessmentCenter","system/AssessmentCenter/AssessmentCenter.db"),i(n,"RHISCenter","system/RHISCenter/RHISCenter.db"),i(n,"UserCenter","system/UserCenter/UserDB.db"),n);t.a=c},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(7);i.a.install=function(e){return e.component(i.a.name,i.a)},t.default=i.a},function(e,t,a){"use strict";function i(e){a(8),a(11)}var n=a(3),s=a(17),l=a(2),r=i,o=l(n.a,s.a,!1,r,"data-v-db90ab12",null);t.a=o.exports},function(e,t,a){var i=a(9);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);a(1)("1bdeb5c2",i,!0,{})},function(e,t,a){t=e.exports=a(0)(!1),t.push([e.i,".AddSpan[data-v-db90ab12]{display:block;width:60px;text-align:right;line-height:30px}.DataLink[data-v-db90ab12]{margin:0 2px}.HeadHover[data-v-db90ab12]{line-height:5px;height:33px}.dialog_input .el-dialog__header[data-v-db90ab12]{background:red;border-radius:10px 10px 0 0}.dialog_input .el-input_inner[data-v-db90ab12]{height:40px}#one .el-table--enable-row-hover .el-table__body tr:hover>td[data-v-db90ab12]{background-color:#000!important}#OnePane[data-v-db90ab12]{width:100%}#one[data-v-db90ab12]{width:362px;float:left;margin:10px}#five[data-v-db90ab12]{width:440px;float:left;margin:10px}#three[data-v-db90ab12],#two[data-v-db90ab12]{width:282px;float:left;margin:10px}#four[data-v-db90ab12]{width:262px;float:left;margin:10px}.btn[data-v-db90ab12]{display:inline-block;width:7px}.custom-tree-node[data-v-db90ab12]{color:#000}.el-button--mini.is-round[data-v-db90ab12],.el-button--mini[data-v-db90ab12]{padding:3px 15px}",""])},function(e,t){e.exports=function(e,t){for(var a=[],i={},n=0;n<t.length;n++){var s=t[n],l=s[0],r=s[1],o=s[2],c=s[3],d={id:e+":"+n,css:r,media:o,sourceMap:c};i[l]?i[l].parts.push(d):a.push(i[l]={id:l,parts:[d]})}return a}},function(e,t,a){var i=a(12);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);a(1)("32437a14",i,!0,{})},function(e,t,a){t=e.exports=a(0)(!1),t.push([e.i,"#header{margin-left:10px}",""])},function(e,t,a){"use strict";function i(e){a(14)}var n=a(4),s=a(16),l=a(2),r=i,o=l(n.a,s.a,!1,r,"data-v-789dd4db",null);t.a=o.exports},function(e,t,a){var i=a(15);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);a(1)("33076c7b",i,!0,{})},function(e,t,a){t=e.exports=a(0)(!1),t.push([e.i,"#five[data-v-789dd4db],#four[data-v-789dd4db]{width:50%}.HeadHover[data-v-789dd4db]{line-height:5px;height:33px}",""])},function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{display:"flex"}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.Treeloading,expression:"Treeloading"}],attrs:{id:"four"}},[a("el-row",{staticStyle:{"text-align":"left"}},[a("el-button",{staticClass:"HeadHover",staticStyle:{margin:"5px"},attrs:{type:"primary"},on:{click:function(t){return e.OpenDialog()}}},[e._v("新增")])],1),e._v(" "),a("el-tree",{ref:"tree",attrs:{data:e.TreeData,"node-key":"id","highlight-current":""},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.node,n=t.data;return a("span",{staticClass:"custom-tree-node"},[a("span",{on:{mouseenter:function(t){return e.mouseenter(n)},mouseleave:function(t){return e.mouseleave(n)}}},[a("el-link",{attrs:{title:n.id,icon:n.icon},on:{click:function(t){return t.stopPropagation(),e.showJdc(n.id)}}},[e._v(e._s(i.label))]),e._v(" \n "),a("span",{directives:[{name:"show",rawName:"v-show",value:n.del,expression:"data.del"}]},[a("el-link",{staticClass:"DataLink",attrs:{icon:"el-icon-folder-add"},on:{click:function(t){return e.OpenDialog(n.id)}}}),e._v(" "),a("el-link",{staticClass:"DataLink",attrs:{icon:"el-icon-edit"},on:{click:function(t){return e.OpenEditclassify(n.id,n.label)}}}),e._v(" "),a("el-link",{staticClass:"DataLink",staticStyle:{color:"red"},attrs:{icon:"el-icon-delete"},on:{click:function(t){return e.delrole(n.id)}}})],1)],1)])}}])})],1),e._v(" "),e.ShowTree?a("div",{attrs:{id:"five"}},[a("div",{staticStyle:{height:"384px",overflow:"auto"}},[a("el-tree",{ref:"tree",attrs:{data:e.PartentData,"node-key":"ID","default-checked-keys":e.DefaultData,"check-strictly":e.TreeBolean,"expand-on-click-node":!0,"show-checkbox":"","highlight-current":"","default-expanded-keys":e.DefaultExpanded},on:{"node-expand":e.nodeExpand,"node-collapse":e.nodeCollapse,check:e.handleCheckChange},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.node,n=t.data;return a("span",{staticClass:"custom-tree-node"},[a("span",["el-icon-tickets"==n.icon?a("el-popover",{attrs:{placement:"top",trigger:"hover",content:n.PermissionsCode+" 备注:"+n.Remark}},[a("el-link",{attrs:{slot:"reference",icon:n.icon},slot:"reference"},[e._v(e._s(i.label)+e._s(n.Remark?n.Remark.slice(0,12):""))])],1):a("el-link",{attrs:{icon:n.icon}},[e._v(e._s(i.label))]),e._v(" \n ")],1)])}}],null,!1,2093554373)})],1)]):e._e(),e._v(" "),a("el-dialog",{staticClass:"dialog_input",staticStyle:{"border-radius":"4px"},attrs:{visible:e.centerDialogVisible,"before-close":e.centerDialogVisibleClose,width:"400px","append-to-body":""},on:{"update:visible":function(t){e.centerDialogVisible=t}}},[a("template",{slot:"title"},[a("div",[a("span",{staticStyle:{"font-size":"18px"}},[e._v(e._s(e.centerDialogNmae))])])]),e._v(" "),a("br"),e._v(" "),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:4}},[a("div",{staticStyle:{width:"100px",display:"flex","align-items":"center"}},[a("span",{staticClass:"AddSpan"},[e._v("用户组名:")])])]),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-input",{staticStyle:{width:"300px"},attrs:{placeholder:"请输入内容"},model:{value:e.input,callback:function(t){e.input=t},expression:"input"}})],1)],1),e._v(" "),a("br"),e._v(" "),e.UpUserRole?a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:4}},[a("span",{staticClass:"AddSpan"},[e._v("备注:")])]),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-input",{staticStyle:{width:"300px"},attrs:{type:"textarea",rows:2,placeholder:"请输入内容"},model:{value:e.textarea,callback:function(t){e.textarea=t},expression:"textarea"}})],1)],1):e._e(),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{staticClass:"HeadHover",attrs:{type:"primary"},on:{click:e.centerDialogVisibleClose}},[e._v("取 消")]),e._v(" "),a("el-button",{staticClass:"HeadHover",attrs:{type:"primary"},on:{click:function(t){return e.addrole()}}},[e._v("确 定")])],1)],2),e._v(" "),a("el-dialog",{staticClass:"dialog_input",attrs:{title:"提示",visible:e.DelVisible,width:"30%","append-to-body":""},on:{"update:visible":function(t){e.DelVisible=t}}},[a("br"),e._v(" "),a("span",[e._v("需要注意的是内容是默认不居中的")]),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{staticClass:"HeadHover",attrs:{type:"primary"},on:{click:function(t){e.centerDialogVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{staticClass:"HeadHover",attrs:{type:"primary"},on:{click:function(t){e.centerDialogVisible=!1}}},[e._v("确 定")])],1)])],1)},n=[],s={render:i,staticRenderFns:n};t.a=s},function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"Jurisdiction"},[a("el-tabs",{attrs:{type:"card"},on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"角色设置",name:"first",id:"OnePane"}},[a("AuthorityManagement",{ref:"AuthorityManagements"})],1),e._v(" "),a("el-tab-pane",{attrs:{label:"角色分配",name:"second",id:"OnePane"}},[a("div",{attrs:{id:"header"}},[a("el-row",{attrs:{gutter:0}},[a("el-col",{attrs:{span:4}},[a("div",{staticClass:"headerinput"},[e._v("\n 用户名: "),a("el-input",{staticClass:"inputs",staticStyle:{width:"110px"},attrs:{size:"small"},nativeOn:{keyup:function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null}},model:{value:e.select_UserName,callback:function(t){e.select_UserName=t},expression:"select_UserName"}})],1),e._v(" "),a("div",{staticClass:"headerinput"},[e._v("\n 昵称: "),a("el-input",{staticClass:"inputs",staticStyle:{width:"110px"},attrs:{size:"small"},nativeOn:{keyup:function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null}},model:{value:e.select_NickName,callback:function(t){e.select_NickName=t},expression:"select_NickName"}})],1),e._v(" "),a("div",{staticClass:"headerinput"},[a("span",[e._v(" ")]),e._v(" "),a("el-button",{staticClass:"HeadHover",attrs:{type:"primary",size:"small"},on:{click:function(t){return e.SelectQuery()}}},[e._v("查询")])],1)])],1)],1),e._v(" "),a("div",{attrs:{id:"one"}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%",height:"397px"},attrs:{data:e.tableData,"cell-style":e.rowClass,"header-cell-style":e.headClass,border:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange}},[a("el-table-column",{attrs:{prop:"UserName","show-overflow-tooltip":e.overs,label:"用户名",width:"180"}}),e._v(" "),a("el-table-column",{attrs:{prop:"NickName",label:"昵称",width:"180"}})],1),e._v(" "),a("div",{staticStyle:{width:"100%","text-align":"center"}},[a("el-pagination",{attrs:{"pager-count":5,"current-page":e.CurrentPage,layout:"prev, pager, next",total:e.count},on:{"current-change":e.OnehandleCurrentChanges,"update:currentPage":function(t){e.CurrentPage=t},"update:current-page":function(t){e.CurrentPage=t}}})],1)],1),e._v(" "),e.falg?a("div",{staticStyle:{position:"relative"},attrs:{id:"two"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.PageInfo,border:"","cell-style":e.rowClass,"header-cell-style":e.headClass,"highlight-current-row":""},on:{"current-change":e.TwoChange}},[a("el-table-column",{attrs:{prop:"RoleName",label:"角色名",width:"180"}}),e._v(" "),a("el-table-column",{attrs:{fixed:"right",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{size:"mini",type:"primary",icon:"el-icon-arrow-right"},on:{click:function(t){return e.close()}}})]}}],null,!1,890543777)})],1),e._v(" "),a("div",{staticStyle:{width:"100%","text-align":"center"}},[a("el-pagination",{staticStyle:{position:"absolute",top:"400px"},attrs:{"page-size":10,layout:"prev, pager, next",total:e.Twocount},on:{"current-change":e.SelThreeTable}})],1)],1):e._e(),e._v(" "),e.falg?a("div",{attrs:{id:"three"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableDataTwo,border:"","cell-style":e.rowClass,"header-cell-style":e.headClass,"highlight-current-row":""},on:{"current-change":e.threeChange}},[a("el-table-column",{attrs:{fixed:"left",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{size:"mini",type:"primary",icon:"el-icon-arrow-left"},on:{click:function(t){return e.open()}}})]}}],null,!1,4111958648)}),e._v(" "),a("el-table-column",{attrs:{prop:"RoleName",label:"角色名",width:"180"}})],1),e._v(" "),a("div",{staticStyle:{width:"100%","text-align":"center"}},[a("el-pagination",{attrs:{"page-size":10,layout:"prev, pager, next",total:e.Threecount},on:{"current-change":e.SelByThreecount}})],1)],1):e._e()])],1),e._v(" "),a("el-dialog",{staticClass:"dialog_input",staticStyle:{"border-radius":"4px"},attrs:{visible:e.centerDialogVisible,"before-close":e.centerDialogVisibleClose,width:"400px","append-to-body":""},on:{"update:visible":function(t){e.centerDialogVisible=t}}},[a("template",{slot:"title"},[a("div",[a("span",{staticStyle:{"font-size":"18px"}},[e._v(e._s(e.centerDialogNmae))])])]),e._v(" "),a("br"),e._v(" "),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:4}},[a("div",{staticStyle:{width:"100px",display:"flex","align-items":"center"}},[a("span",{staticClass:"AddSpan"},[e._v("用户组名:")])])]),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-input",{staticStyle:{width:"300px"},attrs:{placeholder:"请输入内容"},model:{value:e.input,callback:function(t){e.input=t},expression:"input"}})],1)],1),e._v(" "),a("br"),e._v(" "),e.UpUserRole?a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:4}},[a("span",{staticClass:"AddSpan"},[e._v("备注:")])]),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-input",{staticStyle:{width:"300px"},attrs:{type:"textarea",rows:2,placeholder:"请输入内容"},model:{value:e.textarea,callback:function(t){e.textarea=t},expression:"textarea"}})],1)],1):e._e(),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{staticClass:"HeadHover",attrs:{type:"primary"},on:{click:function(t){e.centerDialogVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{staticClass:"HeadHover",attrs:{type:"primary"},on:{click:function(t){return e.addrole()}}},[e._v("确 定")])],1)],2),e._v(" "),a("el-dialog",{staticClass:"dialog_input",attrs:{title:"提示",visible:e.DelVisible,width:"30%","append-to-body":""},on:{"update:visible":function(t){e.DelVisible=t}}},[a("br"),e._v(" "),a("span",[e._v("需要注意的是内容是默认不居中的")]),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{staticClass:"HeadHover",attrs:{type:"primary"},on:{click:function(t){e.centerDialogVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{staticClass:"HeadHover",attrs:{type:"primary"},on:{click:function(t){e.centerDialogVisible=!1}}},[e._v("确 定")])],1)])],1)},n=[],s={render:i,staticRenderFns:n};t.a=s}])});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("jurisdictionchange",[],t):"object"==typeof exports?exports.jurisdictionchange=t():e.jurisdictionchange=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(i){if(a[i])return a[i].exports;var n=a[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var a={};return t.m=e,t.c=a,t.d=function(e,a,i){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=6)}([function(e,t){function a(e,t){var a=e[1]||"",n=e[3];if(!n)return a;if(t&&"function"==typeof btoa){var s=i(n);return[a].concat(n.sources.map(function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"})).concat([s]).join("\n")}return[a].join("\n")}function i(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var i=a(t,e);return t[2]?"@media "+t[2]+"{"+i+"}":i}).join("")},t.i=function(e,a){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},n=0;n<this.length;n++){var s=this[n][0];"number"==typeof s&&(i[s]=!0)}for(n=0;n<e.length;n++){var l=e[n];"number"==typeof l[0]&&i[l[0]]||(a&&!l[2]?l[2]=a:a&&(l[2]="("+l[2]+") and ("+a+")"),t.push(l))}},t}},function(e,t,a){function i(e){for(var t=0;t<e.length;t++){var a=e[t],i=h[a.id];if(i){i.refs++;for(var n=0;n<i.parts.length;n++)i.parts[n](a.parts[n]);for(;n<a.parts.length;n++)i.parts.push(s(a.parts[n]));i.parts.length>a.parts.length&&(i.parts.length=a.parts.length)}else{for(var l=[],n=0;n<a.parts.length;n++)l.push(s(a.parts[n]));h[a.id]={id:a.id,refs:1,parts:l}}}}function n(){var e=document.createElement("style");return e.type="text/css",d.appendChild(e),e}function s(e){var t,a,i=document.querySelector("style["+m+'~="'+e.id+'"]');if(i){if(f)return D;i.parentNode.removeChild(i)}if(S){var s=u++;i=p||(p=n()),t=l.bind(null,i,s,!1),a=l.bind(null,i,s,!0)}else i=n(),t=r.bind(null,i),a=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else a()}}function l(e,t,a,i){var n=a?"":i.css;if(e.styleSheet)e.styleSheet.cssText=v(t,n);else{var s=document.createTextNode(n),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(s,l[t]):e.appendChild(s)}}function r(e,t){var a=t.css,i=t.media,n=t.sourceMap;if(i&&e.setAttribute("media",i),g.ssrId&&e.setAttribute(m,t.id),n&&(a+="\n/*# sourceURL="+n.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),e.styleSheet)e.styleSheet.cssText=a;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(a))}}var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=a(10),h={},d=o&&(document.head||document.getElementsByTagName("head")[0]),p=null,u=0,f=!1,D=function(){},g=null,m="data-vue-ssr-id",S="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,a,n){f=a,g=n||{};var s=c(e,t);return i(s),function(t){for(var a=[],n=0;n<s.length;n++){var l=s[n],r=h[l.id];r.refs--,a.push(r)}t?(s=c(e,t),i(s)):s=[];for(var n=0;n<a.length;n++){var r=a[n];if(0===r.refs){for(var o=0;o<r.parts.length;o++)r.parts[o]();delete h[r.id]}}}};var v=function(){var e=[];return function(t,a){return e[t]=a,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e,t,a,i,n,s){var l,r=e=e||{},o=typeof e.default;"object"!==o&&"function"!==o||(l=e,r=e.default);var c="function"==typeof r?r.options:r;t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),a&&(c.functional=!0),n&&(c._scopeId=n);var h;if(s?(h=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=h):i&&(h=i),h){var d=c.functional,p=d?c.render:c.beforeCreate;d?(c._injectStyles=h,c.render=function(e,t){return h.call(t),p(e,t)}):c.beforeCreate=p?[].concat(p,h):[h]}return{esModule:l,exports:r,options:c}}},function(e,t,a){"use strict";function i(e,t){for(var a=0;a<e.length;a++)for(var i=0;i<t.length;i++)if(e[a].id==t[i].ParentID){var n={id:t[i].ID,label:t[i].RoleName,icon:"el-icon-tickets"};e[a].children.push(n)}}function n(e,t){for(var a=0;a<e.length;a++)if(e[a].ParentID==t.ID){var i={ID:e[a].ID,label:e[a].ClassName,children:[],icon:"el-icon-folder"};t.children.push(i),n(e,i)}}function s(e,t){for(var a=0;a<e.length;a++)if(t.ID==e[a].PermissionsClassID){var i={ID:e[a].ID+"l",label:e[a].PermissionsName,children:[],icon:"el-icon-tickets",PermissionsCode:e[a].PermissionsCode,PermissionsClassID:e[a].PermissionsClassID,UrpID:e[a].UrpID};t.children.push(i),e[a]={}}}var l=a(13),r=a(5);t.a={name:"Jurisdiction",data:function(){return{SwitchCheck:!1,Treeloading:!1,overs:!0,UpUserRole:!0,loading:!0,EditID:"",centerDialogNmae:"",PatientRoleID:"",activeName:"first",tableData:[],currentRow:[],TwoRow:[],ThreeRow:[],tableDataTwo:[],tableDataThree:[],falg:!1,page:0,ephemeralData:[],TreeData:[],childrenData:[],TwoTree:[],PartentData:[],seen:!1,TreeCheckData:[],DefaultData:[],DefaultExpanded:[],dialogVisible:!1,centerDialogVisible:!1,textarea:"",input:"",DelVisible:!1,roleName:"",ddID:"",str:[],counts:0,delCount:0,tt:0,TreeBolean:!1,count:0,Twocount:0,Threecount:0,Firstcount:0,PageInfo:[],select_UserName:"",select_NickName:"",CurrentPage:1}},components:{AuthorityManagement:l.a},created:function(){this.SelAll(),this.SelAllPart(),this.SelSearchUserRole()},methods:{OpenEditclassify:function(e,t){this.input=t,this.EditID=e,this.UpUserRole=!1,this.centerDialogVisible=!0,this.centerDialogNmae="修改"},EditUserRole:function(){var e=this;this.$axios.post(r.a.EditUserRole,{RoleName:this.input,ID:this.EditID}).then(function(t){e.UpUserRole=!0,e.SelSearchUserRole()})},nodeExpand:function(e){this.DefaultExpanded.push(e.ID)},nodeCollapse:function(e){this.DefaultExpanded.splice(this.DefaultExpanded.indexOf(e.ID),1)},handleClick:function(e,t){"权限管理"==e.label&&this.SelAllJurisdictionTree(),this.empty()},centerDialogVisibleClose:function(){this.input="",this.UpUserRole=!0,this.textarea="",this.centerDialogVisible=!1},empty:function(){this.activeName="first",this.DefaultExpanded=[],this.count=0,this.page=0,this.falg=!1,this.UpUserRole=!0,this.tableData=[],this.PartentData=[],this.PageInfo=[],this.TreeData=[],this.SelAll(),this.SelSearchUserRole()},headClass:function(){return"text-align: center;color:#000;font-weight:normal;padding: 6px 0;"},rowClass:function(){return"text-align: center;padding: 6px 0;"},handleCurrentChanges:function(e){this.page=10*(e-1),this.Select_select_UserNickName()},OnehandleCurrentChanges:function(e){this.page=10*(e-1),this.Select_select_UserNickName()},SelByThreecount:function(e){this.page=10*(e-1),this.SelAllPart()},SelThreeTable:function(e){this.PageInfo=[];for(var t=10*(e-1);t<10*(e-1)+9;t++)this.tableDataThree[t]&&this.PageInfo.push(this.tableDataThree[t])},handleCheckChange:function(e,t,a){1==t&&0==this.counts&&this.CilickCheckBox(e,this.ddID),0==t&&0==a&&0==this.delCount&&this.RemovePermissions(e,this.ddID)},CilickCheckBox:function(e,t){var a=this;console.log(e),this.Treeloading=!0;var i="",n="";if(e.children.length>0){if(0==this.counts)for(var s=0;s<e.children.length;s++)if(e.children[s].children.length>0)for(var l=0;l<e.children[s].children.length;l++)if(e.children[s].children[l].children.length>0)for(var o=0;o<e.children[s].children[l].children.length;o++)o==e.children[s].children[l].children[o].length-1?null==e.children[s].children[l].children[o].UrpID&&(i+=e.children[s].children[l].children[o].ID.replace("l",""),n+=e.children[s].children[l].children[o].PermissionsCode):null==e.children[s].children[l].children[o].UrpID&&(i+=e.children[s].children[l].children[o].ID.replace("l","")+",",n+=e.children[s].children[l].children[o].PermissionsCode+",");else"排班列表"==e.children[s].children[l].label||null==e.children[s].children[l].UrpID&&(i+=e.children[s].children[l].ID.replace("l","")+",",n+=e.children[s].children[l].PermissionsCode+",");else if(s==e.children[s].length-1)null==e.children[s].UrpID&&(i+=e.children[s].ID.replace("l",""),n+=e.children[s].PermissionsCode);else if(null==e.children[s].UrpID){if("排班列表"==e.children[s].label)return;i+=e.children[s].ID.replace("l","")+",",n+=e.children[s].PermissionsCode+","}}else{if("排班列表"==e.label)return void(this.Treeloading=!1);i+=e.ID.replace("l",""),n+=e.PermissionsCode,this.counts++}this.counts++,","==i.charAt(i.length-1)&&(i=i.slice(0,i.length-1)),","==n.charAt(n.length-1)&&(n=n.slice(0,n.length-1)),""!=i&&"null"!=i&&""!=n&&this.count>0?this.$axios.post(r.a.AddUserRolePermissions,{roleID:t,permissionsIDs:i,permissionsCodes:n}).then(function(e){i="",a.counts=0,a.delCount=0,a.$message({showClose:!0,message:"权限添加成功",type:"success"}),a.Treeloading=!1,a.showJdc(t)}):(this.counts=0,this.delCount=0,this.Treeloading=!1)},RemovePermissions:function(e,t){var a=this;this.Treeloading=!0;var i="";if(e.children.length>0){if(0==this.delCount)for(var n=0;n<e.children.length;n++)if(e.children[n].children.length>0)for(var s=0;s<e.children[n].children.length;s++)if(e.children[n].children[s].children.length>0)for(var l=0;l<e.children[n].children[s].children.length;l++)l==e.children[n].children[s].children[l].length-1?null!=e.children[n].children[s].children[l].UrpID&&(i+=e.children[n].children[s].children[l].UrpID,this.delCount++):null!=e.children[n].children[s].children[l].UrpID&&(i+=e.children[n].children[s].children[l].UrpID+",",this.delCount++);else"排班列表"==e.children[n].children[s].label||null!=e.children[n].children[s].UrpID&&(i+=e.children[n].children[s].UrpID+",",this.delCount++);else n==e.children[n].length-1?null!=e.children[n].UrpID&&(i+=e.children[n].UrpID,this.delCount++):null!=e.children[n].UrpID&&(i+=e.children[n].UrpID+",",this.delCount++);this.delCount++}else i+=e.UrpID,this.delCount++;","==i.charAt(i.length-1)&&(i=i.slice(0,i.length-1)),i&&"null"!=i&&this.delCount>0?this.$axios.post(r.a.DelUserRolePermissions,{rolePermissionsIDs:i}).then(function(e){a.TreeBolean=!1,a.counts=0,a.delCount=0,a.$message({showClose:!0,message:"权限删除成功",type:"success"}),a.Treeloading=!1,a.showJdc(t)}):(this.counts=0,this.delCount=0,this.Treeloading=!1)},delrole:function(e){var t=this;this.$axios.post(r.a.SoftDelUserRole,{ID:JSON.stringify(e)}).then(function(e){t.content,t.SelSearchUserRole()})},OpenDialog:function(e){this.centerDialogVisible=!0,this.centerDialogNmae="新增",this.PatientRoleID=e},addrole:function(){var e=this;void 0==this.PatientRoleID&&(this.PatientRoleID=0),"修改"==this.centerDialogNmae&&this.EditUserRole(),this.$axios.post(r.a.AddUserRole,{ParentID:this.PatientRoleID,RoleName:this.input,ExtraInfo:JSON.stringify({Remark:this.textarea}),OrganizationsID:0}).then(function(t){e.SelSearchUserRole(),e.input="",e.textarea=""}),this.centerDialogVisible=!1},AddJuri:function(){var e=this;this.$axios.post(r.a.AddUserRole,{ParentID:0,RoleName:this.input,ExtraInfo:{Remark:this.textarea}}).then(function(t){e.SelSearchUserRole(),e.input="",e.textarea=""}),this.dialogVisible=!1},mouseenter:function(e){this.$set(e,"del",!0)},mouseleave:function(e){this.$set(e,"del",!1)},PatientChildren:function(e){console.log(e)},SelAllJurisdictionTree:function(){var e=this;event.stopPropagation(),this.$axios.get(r.a.SearchRolePermissions,{params:{}}).then(function(t){e.PartentData=[];for(var a=t.data.Content.permissionsClassList,i=t.data.Content.groupPermissionsList,l=0;l<a.length;l++)0==a[l].ParentID&&e.PartentData.push({ID:a[l].ID,label:a[l].ClassName,children:[],icon:"el-icon-folder"});for(var r=0;r<e.PartentData.length;r++)n(a,e.PartentData[r]);for(var o=0;o<e.PartentData.length;o++){for(var c=0;c<e.PartentData[o].children.length;c++){if(e.PartentData[o].children[c].children.length>0)for(var h=0;h<e.PartentData[o].children[c].children.length;h++)s(i,e.PartentData[o].children[c].children[h]);else s(i,e.PartentData[o].children[c]);s(i,e.PartentData[o].children[c])}s(i,e.PartentData[o])}})},showJdc:function(e){var t=this;this.ddID=e,this.Treeloading=!0,this.SwitchCheck=!1,this.SelAllJurisdictionTree(),event.stopPropagation(),setTimeout(function(){t.$axios.get(r.a.SearchRolePermissions,{params:{roleID:e}}).then(function(e){t.DefaultData=[];for(var a=e.data.Content.groupPermissionsList,i=0;i<a.length;i++)null!=a[i].UrpID&&t.DefaultData.push(a[i].ID+"l");console.log(t.DefaultData),t.Treeloading=!1})},1e3)},setCheckedNodes:function(){for(var e=[],t=0;t<this.PartentData.length;t++)for(var a=0;a<this.PartentData[t].children.length;a++)if(this.PartentData[t].children[a].children.length>0)for(var i=0;i<length;i++);else for(var n=0;n<this.DefaultData.length;n++)this.PartentData[t].children[a].ID==this.DefaultData[n].ID&this.PartentData[t].children[a].label==this.DefaultData[n].label&&e.push({ID:this.PartentData[t].children[a].ID,label:this.PartentData[t].children[a].label});this.$refs.tree.setCheckedNodes(e)},setCheckedKeys:function(){this.$refs.tree.setCheckedKeys(this.DefaultData)},resetChecked:function(){this.$refs.tree.setCheckedKeys([])},SelSearchUserRole:function(){var e=this;this.$axios.get(r.a.SearchUserRole,{params:{page:0,rows:1e3,OrganizationsID:0}}).then(function(t){e.TreeData=[],e.ephemeralData=t.data.Content.data;for(var a=0;a<e.ephemeralData.length;a++)0==e.ephemeralData[a].ParentID&&(e.TreeData.push({id:e.ephemeralData[a].ID,label:e.ephemeralData[a].RoleName,children:[],icon:"el-icon-folder"}),e.ephemeralData[a]={});i(e.TreeData,e.ephemeralData);for(var n=0;n<e.TreeData.length;n++)0==e.TreeData[n].children.length&&(e.TreeData[n].icon="el-icon-tickets")})},close:function(){var e=this;this.$confirm("确定删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$message({type:"success",message:"删除成功!"}),e.DelUserGroupRelation()}).catch(function(){e.$message({type:"info",message:"已取消删除"})})},open:function(){var e=this;this.$confirm("确定添加角色吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$message({type:"success",message:"添加成功!"}),e.AddPart()}).catch(function(){e.$message({type:"info",message:"已取消添加"})})},AddPart:function(){var e=this;this.$axios.post(r.a.UserRoleRelation,{UserName:this.currentRow.UserName,UserRoleID:this.threeRwo.ID}).then(function(t){e.SelPartByUserName(),e.SelAllPart()})},SelUserGroupRelation:function(){var e=this;this.$axios.get(r.a.UserRoleRelation,{params:{UserName:this.currentRow.UserName}}).then(function(t){e.tableDataThree=t.data.Content})},DelUserGroupRelation:function(){var e=this;this.$axios.patch(r.a.UserRoleRelation,{ID:this.TwoRow.ID}).then(function(t){e.SelPartByUserName(),e.SelAllPart()})},SelAll:function(){var e=this;this.$axios.get(r.a.SearchUsers,{params:{rows:10,page:this.page,OrganizationsID:0}}).then(function(t){e.tableData=t.data.Content.data,e.count=t.data.Content.count,e.loading=!1})},handleCurrentChange:function(e){null==e||(this.currentRow=e,this.SelPartByUserName(),this.SelAllPart(),this.falg=!0)},threeChange:function(e){null==e||(this.threeRwo=e)},TwoChange:function(e){null==e||(this.TwoRow=e)},SelPartByUserName:function(){var e=this;this.$axios.get(r.a.UserRoleRelation,{params:{UserName:this.currentRow.UserName,OrganizationsID:0}}).then(function(t){e.PageInfo=[];for(var a=0;a<10;a++)t.data.Content[a]&&e.PageInfo.push(t.data.Content[a]);e.Twocount=t.data.Content.length,e.tableDataThree=t.data.Content})},SelAllPart:function(){var e=this;this.$axios.get(r.a.SearchUserRoleRelation,{params:{UserName:this.currentRow.UserName,page:this.page,rows:10,OrganizationsID:0}}).then(function(t){e.tableDataTwo=t.data.Content.data,e.Threecount=t.data.Content.count})},SelectQuery:function(){this.CurrentPage=1,this.page=0,this.Select_select_UserNickName()},Select_select_UserNickName:function(){var e=this;this.$axios.get(r.a.SearchUsers,{params:{NickName:this.select_NickName,UserName:this.select_UserName,rows:10,page:this.page,OrganizationsID:0}}).then(function(t){e.tableData=t.data.Content.data,e.count=t.data.Content.count,e.loading=!1})}}}},function(e,t,a){"use strict";function i(e,t){for(var a=0;a<e.length;a++)for(var i=0;i<t.length;i++)if(e[a].id==t[i].ParentID){var n={id:t[i].ID,label:t[i].RoleName,icon:"el-icon-tickets"};e[a].children.push(n)}}var n=a(5);t.a={data:function(){return{HasCount:0,AllUpId:{},AllKey:{},ShowTree:!1,initFalg:!1,DelVisible:!1,TreeBolean:!1,PartentData:[],DefaultExpanded:[],DefaultData:[],TreeData:[],ephemeralData:[],Treeloading:!1,SwitchCheck:!1,centerDialogVisible:!1,UpUserRole:!1,centerDialogNmae:"",PatientRoleID:"",input:"",textarea:"",EditID:"",counts:0,delCount:0}},mounted:function(){this.SelSearchUserRole(),this.SelAllJurisdictionTree()},methods:{handleCheckChange:function(e,t,a){var i=this,s=this.$refs.tree.getCheckedKeys(!0),l=0;for(var r in this.AllUpId)l++;for(var o={},c=0;c<s.length;c++)o[s[c]]="";console.log("添加还是删除: ",s.length>this.HasCount?"添加":"删除"),console.log("checkys",s,"角色已有权限",this.AllUpId," AllUpIdlength",this.HasCount);var h=[],d=[];if(s.length>this.HasCount){for(var p=this.$refs.tree.getCheckedNodes(),c=0;c<p.length;c++)"number"!=typeof p[c].ID&&p[c].ID.indexOf("l")>-1&&(this.AllUpId.hasOwnProperty(p[c].ID)||(console.log(c,p[c].label,p[c]),h.push(p[c].ID.split("l")[0]),d.push(p[c].PermissionsCode)));if(console.log("添加permissionsIDs",h),console.log("添加permissionsCodes",d),0==h.length||0==d.length)return"";this.$axios.post(n.a.AddUserRolePermissions,{roleID:this.ddID,permissionsIDs:h,permissionsCodes:d}).then(function(e){i.$message({showClose:!0,message:"权限添加成功",type:"success"}),i.showJdc(i.ddID)})}else{var u=[];for(var r in this.AllUpId)o.hasOwnProperty(r)||(u.push(this.AllUpId[r]),delete this.AllUpId[r]);if(console.log("删除AllUpId",this.AllUpId),console.log("删除pid",u.toString()),0==u.length)return"";this.$axios.post(n.a.DelUserRolePermissions,{rolePermissionsIDs:u.toString()}).then(function(e){i.counts=0,i.delCount=0,i.$message({showClose:!0,message:"权限删除成功",type:"success"})})}},CilickCheckBox:function(e,t){var a=this;this.Treeloading=!0;var i="",s="";if(e.children.length>0){if(0==this.counts)for(var l=0;l<e.children.length;l++)if(e.children[l].children.length>0)for(var r=0;r<e.children[l].children.length;r++)if(e.children[l].children[r].children.length>0)for(var o=0;o<e.children[l].children[r].children.length;o++)o==e.children[l].children[r].children[o].length-1?null==e.children[l].children[r].children[o].UrpID&&(i+=e.children[l].children[r].children[o].ID.replace("l",""),s+=e.children[l].children[r].children[o].PermissionsCode):null==e.children[l].children[r].children[o].UrpID&&(i+=e.children[l].children[r].children[o].ID.replace("l","")+",",s+=e.children[l].children[r].children[o].PermissionsCode+",");else"排班列表"==e.children[l].children[r].label||null==e.children[l].children[r].UrpID&&(i+=e.children[l].children[r].ID.replace("l","")+",",s+=e.children[l].children[r].PermissionsCode+",");else if(l==e.children[l].length-1)null==e.children[l].UrpID&&(i+=e.children[l].ID.replace("l",""),s+=e.children[l].PermissionsCode);else if(null==e.children[l].UrpID){if("排班列表"==e.children[l].label)return;i+=e.children[l].ID.replace("l","")+",",s+=e.children[l].PermissionsCode+","}}else{if("排班列表"==e.label)return void(this.Treeloading=!1);i+=e.ID.replace("l",""),s+=e.PermissionsCode,this.counts++}this.counts++,","==i.charAt(i.length-1)&&(i=i.slice(0,i.length-1)),","==s.charAt(s.length-1)&&(s=s.slice(0,s.length-1)),""!=i&&"null"!=i&&""!=s&&this.counts>0?this.$axios.post(n.a.AddUserRolePermissions,{roleID:t,permissionsIDs:i,permissionsCodes:s}).then(function(e){a.counts=0,a.delCount=0,a.$message({showClose:!0,message:"权限添加成功",type:"success"}),a.showJdc(a.ddID)}):(this.counts=0,this.delCount=0,this.Treeloading=!1)},RemovePermissions:function(e,t){var a=this;this.Treeloading=!0;var i="";if(e.children.length>0){if(0==this.delCount)for(var s=0;s<e.children.length;s++)if(e.children[s].children.length>0)for(var l=0;l<e.children[s].children.length;l++)if(e.children[s].children[l].children.length>0)for(var r=0;r<e.children[s].children[l].children.length;r++)r==e.children[s].children[l].children[r].length-1?null!=e.children[s].children[l].children[r].UrpID&&(i+=e.children[s].children[l].children[r].UrpID,this.delCount++):null!=e.children[s].children[l].children[r].UrpID&&(i+=e.children[s].children[l].children[r].UrpID+",",this.delCount++);else"排班列表"==e.children[s].children[l].label||null!=e.children[s].children[l].UrpID&&(i+=e.children[s].children[l].UrpID+",",this.delCount++);else s==e.children[s].length-1?(i+=e.children[s].UrpID,this.delCount++):(i+=e.children[s].UrpID+",",this.delCount++);this.delCount++}else i+=e.UrpID,this.delCount++;","==i.charAt(i.length-1)&&(i=i.slice(0,i.length-1)),i&&"null"!=i&&this.delCount>0?this.$axios.post(n.a.DelUserRolePermissions,{rolePermissionsIDs:i}).then(function(e){a.counts=0,a.delCount=0,a.$message({showClose:!0,message:"权限删除成功",type:"success"}),a.showJdc(a.ddID)}):(this.counts=0,this.delCount=0,this.Treeloading=!1)},nodeExpand:function(e){this.DefaultExpanded.push(e.ID)},nodeCollapse:function(e){this.DefaultExpanded.splice(this.DefaultExpanded.indexOf(e.ID),1)},delrole:function(e){var t=this;this.$axios.post(n.a.SoftDelUserRole,{ID:JSON.stringify(e)}).then(function(e){t.content,t.SelSearchUserRole()})},OpenEditclassify:function(e,t){this.input=t,this.EditID=e,this.UpUserRole=!1,this.centerDialogVisible=!0,this.centerDialogNmae="修改"},ParseParentData:function(e,t){for(var a=0;a<e.length;a++)if(e[a].ParentID==t.ID){var i={ID:e[a].ID,label:e[a].ClassName,children:[],icon:"el-icon-folder"};t.children.push(i),this.ParseParentData(e,i)}},ParseChildrenData:function(e,t){for(var a={},i=0;i<e.length;i++)if(e[i].hasOwnProperty("PermissionsClassID")){for(var n=0;n<t.length;n++)if(e[i].ID==t[n].PermissionsClassID&&(t[n].PermissionsName,!this.AllKey.hasOwnProperty(t[n].ID))){this.AllKey[t[n].ID]="";try{a=t[n].ExtraInfo?JSON.parse(t[n].ExtraInfo):{}}catch(e){a={}}var s={ID:t[n].ID+"l",label:t[n].PermissionsName,children:[],icon:"el-icon-tickets",PermissionsCode:t[n].PermissionsCode,Remark:a.Remark?a.Remark:"",PermissionsClassID:t[n].PermissionsClassID,UrpID:t[n].UrpID};e[i].children.push(s)}}else{for(var n=0;n<t.length;n++)if(e[i].ID==t[n].PermissionsClassID&&(t[n].PermissionsName,!this.AllKey.hasOwnProperty(t[n].ID))){this.AllKey[t[n].ID]="";try{a=t[n].ExtraInfo?JSON.parse(t[n].ExtraInfo):{}}catch(e){a={}}var s={ID:t[n].ID+"l",label:t[n].PermissionsName,children:[],icon:"el-icon-tickets",PermissionsCode:t[n].PermissionsCode,Remark:a.Remark?a.Remark:"",PermissionsClassID:t[n].PermissionsClassID,UrpID:t[n].UrpID};e[i].children.push(s)}this.ParseChildrenData(e[i].children,t)}},SelAllJurisdictionTree:function(e){var t=this;this.$axios.get(n.a.SearchRolePermissions,{params:{}}).then(function(e){t.PartentData=[];for(var a=e.data.Content.permissionsClassList,i=e.data.Content.groupPermissionsList,n=0;n<a.length;n++)0==a[n].ParentID&&t.PartentData.push({ID:a[n].ID,label:a[n].ClassName,children:[],icon:"el-icon-folder"});for(var s=0;s<t.PartentData.length;s++)t.ParseParentData(a,t.PartentData[s]);t.ParseChildrenData(t.PartentData,i),t.AllKey={},t.ShowTree=!0,console.log("PartentData",t.PartentData)})},showJdc:function(e){this.ddID=e,this.ShowTree=!1,this.Treeloading=!0,this.initFalg=!1,this.SwitchCheck=!1,this.SearchRolePermissions(e)},SearchRolePermissions:function(e){var t=this;this.$axios.get(n.a.SearchRolePermissions,{params:{roleID:e}}).then(function(e){t.DefaultData=[],t.AllUpId={};for(var a=e.data.Content.groupPermissionsList,i=(e.data.Content.permissionsClassList,0),n=0;n<a.length;n++)null!=a[n].UrpID&&-1==t.DefaultData.indexOf(a[n].ID+"l")&&(t.DefaultData.push(a[n].ID+"l"),t.AllUpId[a[n].ID+"l"]=a[n].UrpID,i++);t.HasCount=i,console.log("默认选中",t.DefaultData),console.log("已有权限的key",t.AllUpId," count",i),t.ShowTree=!0,setTimeout(function(){t.Treeloading=!1,t.initFalg=!0,t.AllKey={}},500)})},mouseenter:function(e){this.$set(e,"del",!0)},mouseleave:function(e){this.$set(e,"del",!1)},SelSearchUserRole:function(){var e=this;this.$axios.get(n.a.SearchUserRole,{params:{page:0,rows:1e3,OrganizationsID:0}}).then(function(t){e.TreeData=[],e.ephemeralData=t.data.Content.data;for(var a=0;a<e.ephemeralData.length;a++)0==e.ephemeralData[a].ParentID&&(e.TreeData.push({id:e.ephemeralData[a].ID,label:e.ephemeralData[a].RoleName,children:[],icon:"el-icon-folder"}),e.ephemeralData[a]={});i(e.TreeData,e.ephemeralData);for(var n=0;n<e.TreeData.length;n++)0==e.TreeData[n].children.length&&(e.TreeData[n].icon="el-icon-tickets")})},OpenDialog:function(e){this.centerDialogVisible=!0,this.centerDialogNmae="新增",this.PatientRoleID=e,this.input=""},centerDialogVisibleClose:function(){this.input="",this.UpUserRole=!0,this.textarea="",this.centerDialogVisible=!1},addrole:function(){var e=this;void 0==this.PatientRoleID&&(this.PatientRoleID=0),"修改"==this.centerDialogNmae&&this.EditUserRole(),this.$axios.post(n.a.AddUserRole,{ParentID:this.PatientRoleID,RoleName:this.input,ExtraInfo:JSON.stringify({Remark:this.textarea}),OrganizationsID:0}).then(function(t){e.SelSearchUserRole(),e.input="",e.textarea=""}),this.centerDialogVisible=!1},EditUserRole:function(){var e=this;this.$axios.post(n.a.EditUserRole,{RoleName:this.input,ID:this.EditID}).then(function(t){e.UpUserRole=!0,e.SelSearchUserRole()})}}}},function(e,t,a){"use strict";function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var n,s=JSON.parse(sessionStorage.getItem("ApiJson"));console.log("新版"),console.log(s),console.log(sessionStorage.getItem("ApiJson"));var l=s.UserCenterUrl,r=s.RHISCenterUrl,o=s.AssessmentUrl,c=(n={SystemName:"儿童康复综合评估软件",MainName:"欢迎使用儿童康复综合评估软件",login:l+"/api/Login",OrganizationsID:0,EvaluatePath:"{currentPath}#/estimateList",AssessmentQuery:"{currentPath}#/estimateSearch",stand:"stand",assessment:"assessment",imgurl:o+"/Resources/Scale/",ScaleItemImgUrl:o+"/Resources/Scale/",SearchTreatmentGroup:r+"/api/TreatmentGroupManage/Search",AddTreatmentGroup:r+"/api/TreatmentGroupManage/Add",EditTreatmentGroup:r+"/api/TreatmentGroupManage/Edit",DelTreatmentGroup:r+"/api/TreatmentGroupManage/SoftDel",SearchTreatmentGroupTherapeutist:r+"/api/TreatmentGroupTherapistRelation/Search",AddTreatmentGroupTherapeutist:r+"/api/TreatmentGroupTherapistRelation/Add",DelTreatmentGroupTherapeutist:r+"/api/TreatmentGroupTherapistRelation/SoftDel",SelSoftDeleteTreatmentGroup:r+"/api/TreatmentGroupManage/SearchSoftDel",RecoverySoftDeleteTreatmentGroup:r+"/api/TreatmentGroupManage/RestoreSoftDel",DelSoftDeleteTreatmentGroup:r+"/api/TreatmentGroupManage/Del",SelSoftDeleteTreatmentGroupTherapeutist:r+"/api/TreatmentGroupTherapistRelation/SearchSoftDel",RecoverySoftDeleteTreatmentGroupTherapeutist:r+"/api/TreatmentGroupTherapistRelation/RestoreSoftDel",DelSoftDeleteTreatmentGroupTherapeutist:r+"/api/TreatmentGroupTherapistRelation/Del",SelRoleUsers:l+"/api/SearchUsers/SearchRoleUsersByID",MoveUpAndDownMenuPerRel:l+"/api/MenuManage/MoveUpAndDown",SearchMenu:l+"/api/MenuManage/Search",AddMenu:l+"/api/MenuManage/Add",EditMenu:l+"/api/MenuManage/Edit",DelMenu:l+"/api/MenuManage/Del",DelMenuPerRel:l+"/api/MenuPermissionsRelation/Del",SearchMenuPerRel:l+"/api/MenuPermissionsRelation/Search",AddMenuPerRel:l+"/api/MenuPermissionsRelation/Add",EditMenuPerRel:l+"/api/MenuPermissionsRelation/Edit",AddSystemingType:l+"/api/SysSetingClass/Add",SelByquery:l+"/api/SysSetingClass/Search",Delectmes:l+"/api/SysSetingClass/Del",EditMes:l+"/api/SysSetingClass/Edit",SearchSortDelInfoTemplateTypes:l+"/api/InfoTemplateTypes/SearchSortDel",SearchSysSeting:l+"/api/SearchSysSeting",SortDelInfoTemplateTypes:l+"/api/InfoTemplateTypes/SortDel",RestoreSoftDelInfoTemplateTypes:l+"/api/InfoTemplateTypes/RestoreSoftDel",DelInfoTemplateTypes:l+"/api/InfoTemplateTypes/Del",AddInfoTemplateTypes:l+"/api/InfoTemplateTypes/Add",SearchInfoTemplateTypes:l+"/api/InfoTemplateTypes/Search",SearchInfoTemplate:l+"/api/InfoTemplate/Search",SearchInfoInfoTemplate:l+"/api/InfoTemplate/SearchInfo",AddInfoTemplate:l+"/api/InfoTemplate/Add",EditInfoTemplate:l+"/api/InfoTemplate/Edit",SearchSortDelInfoTemplate:l+"/api/InfoTemplate/SearchSortDel",SortDelInfoTemplate:l+"/api/InfoTemplate/SortDel",RestoreSoftDelInfoTemplate:l+"/api/InfoTemplate/RestoreSoftDel",DelInfoTemplate:l+"/api/InfoTemplate/Del",SoftAssessmentProgramDetail:o+"/api/SoftAssessmentProgramDetail",SearchSoftDelAssessmentHelpDocumentation:o+"/api/AssessmentHelpDocumentation/SearchSoftDel",RestoreSoftDelAssessmentHelpDocumentation:o+"/api/AssessmentHelpDocumentation/RestoreSoftDel",DelAssessmentHelpDocumentation:o+"/api/AssessmentHelpDocumentation/Del",SoftDelAssessmentHelpDocumentation:o+"/api/AssessmentHelpDocumentation/SoftDel",EditAssessmentHelpDocumentation:o+"/api/AssessmentHelpDocumentation/Edit",AddAssessmentHelpDocumentation:o+"/api/AssessmentHelpDocumentation/Add",SearchAssessmentHelpDocumentation:o+"/api/AssessmentHelpDocumentation/Search",SearchScaleDiagnosticTypingConnection:o+"/api/ScaleDiagnosticTypingConnection/Search",AddScaleDiagnosticTypingConnection:o+"/api/ScaleDiagnosticTypingConnection/Add",SortDelScaleDiagnosticTypingConnection:o+"/api/ScaleDiagnosticTypingConnection/SortDel",MoveUpAndDownScaleDiagnosticTypingConnection:o+"/api/ScaleDiagnosticTypingConnection/MoveUpAndDown",DelDefaultAssessmentPrescriptionDetail:o+"/api/DefaultAssessmentPrescriptionDetail/Del",UpDownAssessmentPrescription:o+"/api/UpDownAssessmentPrescriptionDetail",DefaultAssessmentPrescriptionDetail:o+"/api/DefaultAssessmentPrescriptionDetail",DefaultAssessmentPrescription:o+"/api/DefaultAssessmentPrescription",DelDefaultAssessmentPrescription:o+"/api/DefaultAssessmentPrescription/Del",AddDefaultAssessmentPrescriptionType:o+"/api/DefaultAssessmentPrescriptionType/Add",EditDefaultAssessmentPrescriptionType:o+"/api/DefaultAssessmentPrescriptionType/Edit",SearchDefaultAssessmentPrescriptionType:o+"/api/DefaultAssessmentPrescriptionType/Search",DelDefaultAssessmentPrescriptionType:o+"/api/DefaultAssessmentPrescriptionType/Del",SearchSoftDelDefaultAssessmentPrescriptionType:o+"/api/DefaultAssessmentPrescriptionType/SearchSoftDel",RestoreSoftDelDefaultAssessmentPrescriptionType:o+"/api/DefaultAssessmentPrescriptionType/RestoreSoftDel",SoftDelDefaultAssessmentPrescriptionType:o+"/api/DefaultAssessmentPrescriptionType/SoftDel",MoveUpAndDownDelDefaultAssessmentPrescriptionType:o+"/api/DefaultAssessmentPrescriptionType/MoveUpAndDown",PatientQuery:r+"/api/Patients",PatientEdit:r+"/api/Patients/Edit",PatientDel:r+"/api/Patients/Del",SoftPatients:r+"/api/SoftPatients",SoftPatientsDel:r+"/api/Patients/Del",SoftDel:r+"/api/SoftPatients/Del",ScaleExp:o+"/api/ScaleExp",SelICFCY:o+"/api/ICFCY",DelICFCY:o+"/api/ICFCY/Del",SoftICFCY:o+"/api/SoftICFCY",DelSoftICFCY:o+"/api/SoftICFCY/Del",ScaleICFRelations:o+"/api/ScaleICFRelations",DelScaleICFRelations:o+"/api/ScaleICFRelations/Del",AssessmentInfo:o+"/api/AssessmentInfoManage",SearchUsers:l+"/api/SearchUsers",AddPermissionsClass:l+"/api/AddPermissionsClass",EditPermissionsClass:l+"/api/EditPermissionsClass"},i(n,"EditPermissionsClass",l+"/api/EditPermissionsClass"),i(n,"SoftDelPermissionsClass",l+"/api/SoftDelPermissionsClass"),i(n,"SearchDelPermissionsDetail",l+"/api/SearchDelPermissionsDetail"),i(n,"ReStorePermissionsDetail",l+"/api/ReStorePermissionsDetail"),i(n,"DelPermissionsDetail",l+"/api/DelPermissionsDetail"),i(n,"EditPermissionsDetail",l+"/api/EditPermissionsDetail"),i(n,"SearchPermissionsClass",l+"/api/SearchPermissionsClass"),i(n,"SearchPermissionsDetail",l+"/api/SearchPermissionsDetail"),i(n,"AddPermissionsDetail",l+"/api/AddPermissionsDetail"),i(n,"SoftDelPermissionsDetail",l+"/api/SoftDelPermissionsDetail"),i(n,"AddUsers",l+"/api/AddUsers"),i(n,"SearchDelUsers",l+"/api/SearchDelUsers"),i(n,"RecoverUsers",l+"/api/RecoverUsers"),i(n,"EditSupUsers",l+"/api/EditSupUsers"),i(n,"DelUsers",l+"/api/DelUsers"),i(n,"SoftDelUsers",l+"/api/SoftDelUsers"),i(n,"SearchUserRoleRelation",l+"/api/SearchUserRoleRelation"),i(n,"UserRoleRelation",l+"/api/UserRoleRelation"),i(n,"AuditUsers",l+"/api/AuditUsers"),i(n,"UserGroupRelation",l+"/api/UserGroupRelation"),i(n,"SearchUserRole",l+"/api/SearchUserRole"),i(n,"SearchRolePermissions",l+"/api/SearchRolePermissions"),i(n,"AssessmentSearchRolePermissions",o+"/api/ScaleChartPloySearch"),i(n,"AddUserRole",l+"/api/AddUserRole"),i(n,"SoftDelUserRole",l+"/api/SoftDelUserRole"),i(n,"EditUserRole",l+"/api/EditUserRole"),i(n,"AddUserRolePermissions",l+"/api/AddUserRolePermissions"),i(n,"DelUserRolePermissions",l+"/api/DelUserRolePermissions"),i(n,"SearchSysSeting",l+"/api/SearchSysSeting"),i(n,"GetSysSeting",l+"/api/GetSysSeting"),i(n,"EditSysSeting",l+"/api/EditSysSeting"),i(n,"DelSysSeting",l+"/api/DelSysSeting"),i(n,"AddSysSeting",l+"/api/AddSysSeting"),i(n,"GetPermissionsAndSetting",l+"/api/UserAuthorization/GetPermissionsAndSetting"),i(n,"SearchScaleManager",o+"/api/SearchScaleManager"),i(n,"SelScaleDetail",o+"/api/ScaleMultilClassificationManageScaleManageView"),i(n,"DelScaleMultilClassificationManage",o+"/api/ScaleMultilClassificationManage/Del"),i(n,"AddScaleDetailRelation",o+"/api/ScaleMultilClassificationRelation"),i(n,"SoftDelScaleMultilClassificationRelation",o+"/api/SoftDelScaleMultilClassificationRelation"),i(n,"DelScaleMultilClassificationRelation",o+"/api/ScaleMultilClassificationRelation/Del"),i(n,"SearchDelScaleMultilClassificationManage",o+"/api/SearchDelScaleMultilClassificationManage"),i(n,"ScaleMultilClassificationManage",o+"/api/ScaleMultilClassificationManage"),i(n,"EditScaleMultilClassificationManage",o+"/api/ScaleMultilClassificationManage/Edit"),i(n,"Restore",o+"/api/ScaleMultilClassificationManage/Restore"),i(n,"SoftDelScaleMultilClassificationManage",o+"/api/SoftDelScaleMultilClassificationManage"),i(n,"ScaleClassificationManage",o+"/api/ScaleClassificationManage"),i(n,"ScaleDetailManage",o+"/api/ScaleDetailManage"),i(n,"ScaleItemManage",o+"/api/ScaleItemManage"),i(n,"DelScaleItemManage",o+"/api/ScaleItemManage/Del"),i(n,"DelScaleTopic",o+"/api/ScaleClassificationManage/Del"),i(n,"SearchleItemManage",o+"/api/ScaleItemITreatmentMethodManage/Search"),i(n,"AddScaleDetailManage",o+"/api/AddScaleDetailManage"),i(n,"EnditScaleDetailManage",o+"/api/EnditScaleDetailManage"),i(n,"DelScaleDetailManage",o+"/api/DelScaleDetailManage"),i(n,"AddScaleItemITreatmentMethodManage",o+"/api/ScaleItemITreatmentMethodManage/Add"),i(n,"EditScaleItemITreatmentMethodManage",o+"/api/ScaleItemITreatmentMethodManage/Edit"),i(n,"DelScaleItemITreatmentMethodManage",o+"/api/ScaleItemITreatmentMethodManage/Del"),i(n,"UpDownRowScaleDetailManage",o+"/api/UpDownRowScaleDetailManage"),i(n,"UpDownRowScaleManager",o+"/api/UpDownRowScaleManager"),i(n,"MoveUpAndDown",o+"/api/ScaleReportSeting/MoveUpAndDown"),i(n,"ScalePloyManage",o+"/api/ScalePloyManage"),i(n,"DelScalePloyManage",o+"/api/ScalePloyManage/Del"),i(n,"ScaleConversionManage",o+"/api/ScaleConversionManage"),i(n,"DelScaleConversionManage",o+"/api/ScaleConversionManage/Del"),i(n,"ScalePloyUpDown",o+"/api/ScalePloyUpDown"),i(n,"AddScaleManager",o+"/api/AddScaleManager"),i(n,"EnditScaleManager",o+"/api/EnditScaleManager"),i(n,"DelScaleManager",o+"/api/DelScaleManager"),i(n,"SoftDelScaleManager",o+"/api/DelScaleManager/SoftDel"),i(n,"RecoverScaleManager",o+"/api/RecoverScaleManager"),i(n,"DelScaleChartManage",o+"/api/ScaleChartManage/Del"),i(n,"ScaleReportSeting",o+"/api/ScaleReportSeting"),i(n,"DelScaleReportSeting",o+"/api/ScaleReportSeting/Del"),i(n,"ScaleChartManage",o+"/api/ScaleChartManage"),i(n,"ScaleImp",o+"/api/ScaleImp"),i(n,"ScaleItem",o+"/api/UploadPicturesScaleDetailManage/ScaleItem"),i(n,"ScaleDetail",o+"/api/UploadPicturesScaleDetailManage/ScaleDetail"),i(n,"AssessmentCenter","system/AssessmentCenter/AssessmentCenter.db"),i(n,"RHISCenter","system/RHISCenter/RHISCenter.db"),i(n,"UserCenter","system/UserCenter/UserDB.db"),n);t.a=c},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(7);i.a.install=function(e){return e.component(i.a.name,i.a)},t.default=i.a},function(e,t,a){"use strict";function i(e){a(8),a(11)}var n=a(3),s=a(17),l=a(2),r=i,o=l(n.a,s.a,!1,r,"data-v-cfeeb752",null);t.a=o.exports},function(e,t,a){var i=a(9);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);a(1)("964be140",i,!0,{})},function(e,t,a){t=e.exports=a(0)(!1),t.push([e.i,".AddSpan[data-v-cfeeb752]{display:block;width:60px;text-align:right;line-height:30px}.DataLink[data-v-cfeeb752]{margin:0 2px}.HeadHover[data-v-cfeeb752]{line-height:5px;height:33px}.dialog_input .el-dialog__header[data-v-cfeeb752]{background:red;border-radius:10px 10px 0 0}.dialog_input .el-input_inner[data-v-cfeeb752]{height:40px}#one .el-table--enable-row-hover .el-table__body tr:hover>td[data-v-cfeeb752]{background-color:#000!important}#OnePane[data-v-cfeeb752]{width:100%}#one[data-v-cfeeb752]{width:420px;float:left;margin:10px}#five[data-v-cfeeb752]{width:440px;float:left;margin:10px}#three[data-v-cfeeb752],#two[data-v-cfeeb752]{width:282px;float:left;margin:10px}#four[data-v-cfeeb752]{width:262px;float:left;margin:10px}.btn[data-v-cfeeb752]{display:inline-block;width:7px}.custom-tree-node[data-v-cfeeb752]{color:#000}.el-button--mini.is-round[data-v-cfeeb752],.el-button--mini[data-v-cfeeb752]{padding:3px 15px}",""])},function(e,t){e.exports=function(e,t){for(var a=[],i={},n=0;n<t.length;n++){var s=t[n],l=s[0],r=s[1],o=s[2],c=s[3],h={id:e+":"+n,css:r,media:o,sourceMap:c};i[l]?i[l].parts.push(h):a.push(i[l]={id:l,parts:[h]})}return a}},function(e,t,a){var i=a(12);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);a(1)("8e995794",i,!0,{})},function(e,t,a){t=e.exports=a(0)(!1),t.push([e.i,"#header{margin-left:10px}",""])},function(e,t,a){"use strict";function i(e){a(14)}var n=a(4),s=a(16),l=a(2),r=i,o=l(n.a,s.a,!1,r,"data-v-789dd4db",null);t.a=o.exports},function(e,t,a){var i=a(15);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);a(1)("33076c7b",i,!0,{})},function(e,t,a){t=e.exports=a(0)(!1),t.push([e.i,"#five[data-v-789dd4db],#four[data-v-789dd4db]{width:50%}.HeadHover[data-v-789dd4db]{line-height:5px;height:33px}",""])},function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{display:"flex"}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.Treeloading,expression:"Treeloading"}],attrs:{id:"four"}},[a("el-row",{staticStyle:{"text-align":"left"}},[a("el-button",{staticClass:"HeadHover",staticStyle:{margin:"5px"},attrs:{type:"primary"},on:{click:function(t){return e.OpenDialog()}}},[e._v("新增")])],1),e._v(" "),a("el-tree",{ref:"tree",attrs:{data:e.TreeData,"node-key":"id","highlight-current":""},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.node,n=t.data;return a("span",{staticClass:"custom-tree-node"},[a("span",{on:{mouseenter:function(t){return e.mouseenter(n)},mouseleave:function(t){return e.mouseleave(n)}}},[a("el-link",{attrs:{title:n.id,icon:n.icon},on:{click:function(t){return t.stopPropagation(),e.showJdc(n.id)}}},[e._v(e._s(i.label))]),e._v(" \n "),a("span",{directives:[{name:"show",rawName:"v-show",value:n.del,expression:"data.del"}]},[a("el-link",{staticClass:"DataLink",attrs:{icon:"el-icon-folder-add"},on:{click:function(t){return e.OpenDialog(n.id)}}}),e._v(" "),a("el-link",{staticClass:"DataLink",attrs:{icon:"el-icon-edit"},on:{click:function(t){return e.OpenEditclassify(n.id,n.label)}}}),e._v(" "),a("el-link",{staticClass:"DataLink",staticStyle:{color:"red"},attrs:{icon:"el-icon-delete"},on:{click:function(t){return e.delrole(n.id)}}})],1)],1)])}}])})],1),e._v(" "),e.ShowTree?a("div",{attrs:{id:"five"}},[a("div",{staticStyle:{height:"384px",overflow:"auto"}},[a("el-tree",{ref:"tree",attrs:{data:e.PartentData,"node-key":"ID","default-checked-keys":e.DefaultData,"check-strictly":e.TreeBolean,"expand-on-click-node":!0,"show-checkbox":"","highlight-current":"","default-expanded-keys":e.DefaultExpanded},on:{"node-expand":e.nodeExpand,"node-collapse":e.nodeCollapse,check:e.handleCheckChange},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.node,n=t.data;return a("span",{staticClass:"custom-tree-node"},[a("span",["el-icon-tickets"==n.icon?a("el-popover",{attrs:{placement:"top",trigger:"hover",content:n.PermissionsCode+" 备注:"+n.Remark}},[a("el-link",{attrs:{slot:"reference",icon:n.icon},slot:"reference"},[e._v(e._s(i.label)+e._s(n.Remark?n.Remark.slice(0,12):""))])],1):a("el-link",{attrs:{icon:n.icon}},[e._v(e._s(i.label))]),e._v(" \n ")],1)])}}],null,!1,2093554373)})],1)]):e._e(),e._v(" "),a("el-dialog",{staticClass:"dialog_input",staticStyle:{"border-radius":"4px"},attrs:{visible:e.centerDialogVisible,"before-close":e.centerDialogVisibleClose,width:"400px","append-to-body":""},on:{"update:visible":function(t){e.centerDialogVisible=t}}},[a("template",{slot:"title"},[a("div",[a("span",{staticStyle:{"font-size":"18px"}},[e._v(e._s(e.centerDialogNmae))])])]),e._v(" "),a("br"),e._v(" "),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:4}},[a("div",{staticStyle:{width:"100px",display:"flex","align-items":"center"}},[a("span",{staticClass:"AddSpan"},[e._v("用户组名:")])])]),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-input",{staticStyle:{width:"300px"},attrs:{placeholder:"请输入内容"},model:{value:e.input,callback:function(t){e.input=t},expression:"input"}})],1)],1),e._v(" "),a("br"),e._v(" "),e.UpUserRole?a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:4}},[a("span",{staticClass:"AddSpan"},[e._v("备注:")])]),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-input",{staticStyle:{width:"300px"},attrs:{type:"textarea",rows:2,placeholder:"请输入内容"},model:{value:e.textarea,callback:function(t){e.textarea=t},expression:"textarea"}})],1)],1):e._e(),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{staticClass:"HeadHover",attrs:{type:"primary"},on:{click:e.centerDialogVisibleClose}},[e._v("取 消")]),e._v(" "),a("el-button",{staticClass:"HeadHover",attrs:{type:"primary"},on:{click:function(t){return e.addrole()}}},[e._v("确 定")])],1)],2),e._v(" "),a("el-dialog",{staticClass:"dialog_input",attrs:{title:"提示",visible:e.DelVisible,width:"30%","append-to-body":""},on:{"update:visible":function(t){e.DelVisible=t}}},[a("br"),e._v(" "),a("span",[e._v("需要注意的是内容是默认不居中的")]),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{staticClass:"HeadHover",attrs:{type:"primary"},on:{click:function(t){e.centerDialogVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{staticClass:"HeadHover",attrs:{type:"primary"},on:{click:function(t){e.centerDialogVisible=!1}}},[e._v("确 定")])],1)])],1)},n=[],s={render:i,staticRenderFns:n};t.a=s},function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"Jurisdiction"},[a("el-tabs",{attrs:{type:"card"},on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"角色设置",name:"first",id:"OnePane"}},[a("AuthorityManagement",{ref:"AuthorityManagements"})],1),e._v(" "),a("el-tab-pane",{attrs:{label:"角色分配",name:"second",id:"OnePane"}},[a("div",{attrs:{id:"header"}}),e._v(" "),a("div",{attrs:{id:"one"}},[a("el-row",{staticStyle:{display:"flex",margin:"5px 0px"},attrs:{gutter:0}},[e._v("\n 用户名: "),a("el-input",{staticClass:"inputs",staticStyle:{width:"110px"},attrs:{size:"small"},nativeOn:{keyup:function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null}},model:{value:e.select_UserName,callback:function(t){e.select_UserName=t},expression:"select_UserName"}}),e._v("\n 昵称: "),a("el-input",{staticClass:"inputs",staticStyle:{width:"110px"},attrs:{size:"small"},nativeOn:{keyup:function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null}},model:{value:e.select_NickName,callback:function(t){e.select_NickName=t},expression:"select_NickName"}}),e._v(" "),a("el-button",{staticStyle:{"margin-left":"5px"},attrs:{type:"primary",size:"small"},on:{click:function(t){return e.SelectQuery()}}},[e._v("查询")])],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%",height:"397px"},attrs:{data:e.tableData,"cell-style":e.rowClass,"header-cell-style":e.headClass,border:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange}},[a("el-table-column",{attrs:{prop:"UserName","show-overflow-tooltip":e.overs,label:"用户名",width:"180"}}),e._v(" "),a("el-table-column",{attrs:{prop:"NickName",label:"昵称"}})],1),e._v(" "),a("div",{staticStyle:{width:"100%","text-align":"center"}},[a("el-pagination",{attrs:{"pager-count":5,"current-page":e.CurrentPage,layout:"prev, pager, next",total:e.count},on:{"current-change":e.OnehandleCurrentChanges,"update:currentPage":function(t){e.CurrentPage=t},"update:current-page":function(t){e.CurrentPage=t}}})],1)],1),e._v(" "),e.falg?a("div",{staticStyle:{position:"relative"},attrs:{id:"two"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.PageInfo,border:"",height:"397","cell-style":e.rowClass,"header-cell-style":e.headClass,"highlight-current-row":""},on:{"current-change":e.TwoChange}},[a("el-table-column",{attrs:{prop:"RoleName",label:"角色名",width:"180"}}),e._v(" "),a("el-table-column",{attrs:{fixed:"right",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{size:"mini",type:"primary",icon:"el-icon-arrow-right"},on:{click:function(t){return e.close()}}})]}}],null,!1,890543777)})],1),e._v(" "),a("div",{staticStyle:{width:"100%","text-align":"center"}},[a("el-pagination",{staticStyle:{position:"absolute",top:"400px"},attrs:{"page-size":10,layout:"prev, pager, next",total:e.Twocount},on:{"current-change":e.SelThreeTable}})],1)],1):e._e(),e._v(" "),e.falg?a("div",{attrs:{id:"three"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableDataTwo,border:"",height:"397","cell-style":e.rowClass,"header-cell-style":e.headClass,"highlight-current-row":""},on:{"current-change":e.threeChange}},[a("el-table-column",{attrs:{fixed:"left",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{size:"mini",type:"primary",icon:"el-icon-arrow-left"},on:{click:function(t){return e.open()}}})]}}],null,!1,4111958648)}),e._v(" "),a("el-table-column",{attrs:{prop:"RoleName",label:"角色名",width:"180"}})],1),e._v(" "),a("div",{staticStyle:{width:"100%","text-align":"center"}},[a("el-pagination",{attrs:{"page-size":10,layout:"prev, pager, next",total:e.Threecount},on:{"current-change":e.SelByThreecount}})],1)],1):e._e()])],1),e._v(" "),a("el-dialog",{staticClass:"dialog_input",staticStyle:{"border-radius":"4px"},attrs:{visible:e.centerDialogVisible,"before-close":e.centerDialogVisibleClose,width:"400px","append-to-body":""},on:{"update:visible":function(t){e.centerDialogVisible=t}}},[a("template",{slot:"title"},[a("div",[a("span",{staticStyle:{"font-size":"18px"}},[e._v(e._s(e.centerDialogNmae))])])]),e._v(" "),a("br"),e._v(" "),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:4}},[a("div",{staticStyle:{width:"100px",display:"flex","align-items":"center"}},[a("span",{staticClass:"AddSpan"},[e._v("用户组名:")])])]),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-input",{staticStyle:{width:"300px"},attrs:{placeholder:"请输入内容"},model:{value:e.input,callback:function(t){e.input=t},expression:"input"}})],1)],1),e._v(" "),a("br"),e._v(" "),e.UpUserRole?a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:4}},[a("span",{staticClass:"AddSpan"},[e._v("备注:")])]),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-input",{staticStyle:{width:"300px"},attrs:{type:"textarea",rows:2,placeholder:"请输入内容"},model:{value:e.textarea,callback:function(t){e.textarea=t},expression:"textarea"}})],1)],1):e._e(),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{staticClass:"HeadHover",attrs:{type:"primary"},on:{click:function(t){e.centerDialogVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{staticClass:"HeadHover",attrs:{type:"primary"},on:{click:function(t){return e.addrole()}}},[e._v("确 定")])],1)],2),e._v(" "),a("el-dialog",{staticClass:"dialog_input",attrs:{title:"提示",visible:e.DelVisible,width:"30%","append-to-body":""},on:{"update:visible":function(t){e.DelVisible=t}}},[a("br"),e._v(" "),a("span",[e._v("需要注意的是内容是默认不居中的")]),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{staticClass:"HeadHover",attrs:{type:"primary"},on:{click:function(t){e.centerDialogVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{staticClass:"HeadHover",attrs:{type:"primary"},on:{click:function(t){e.centerDialogVisible=!1}}},[e._v("确 定")])],1)])],1)},n=[],s={render:i,staticRenderFns:n};t.a=s}])});
|
|
2
2
|
//# sourceMappingURL=jurisdictionchange.js.map
|