webpackJsonp([21],{"+4G4":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},"+AtF":function(e,t){},"+Dip":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 1088 1024",content:''});s.a.add(r);t.default=r},"0DNV":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},"0xDb":function(e,t,n){"use strict";t.d=c,t.b=function(e,t){e=1e3*+e;var n=new Date(e),i=(Date.now()-n)/1e3;if(i<30)return"刚刚";if(i<3600)return Math.ceil(i/60)+"分钟前";if(i<86400)return Math.ceil(i/3600)+"小时前";if(i<172800)return"1天前";return t?c(e,t):n.getMonth()+1+"月"+n.getDate()+"日"+n.getHours()+"时"+n.getMinutes()+"分"},t.c=function(e){var t=e.split("?")[1];if(!t)return{};return JSON.parse('{"'+decodeURIComponent(t).replace(/"/g,'\\"').replace(/&/g,'","').replace(/=/g,'":"')+'"}')},t.a=function(e,t,n){var i=void 0,a=void 0,o=void 0,s=void 0,r=void 0,c=function c(){var l=+new Date-s;l0?i=setTimeout(c,t-l):(i=null,n||(r=e.apply(o,a),i||(o=a=null)))};return function(){for(var a=arguments.length,l=Array(a),d=0;d0&&n<10&&(n="0"+n),n||0)})}},"1T8E":function(e,t){},"2Hny":function(e,t){},"4wdf":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},"60zo":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},"798r":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 1167 1024",content:''});s.a.add(r);t.default=r},"90Fk":function(e,t,n){var i={"./404.svg":"sEM+","./bug.svg":"SVqS","./chart.svg":"RjYk","./clipboard.svg":"KO/S","./component.svg":"s2cW","./dashboard.svg":"BCGP","./documentation.svg":"zUKd","./drag.svg":"vRhf","./edit.svg":"ql+d","./email.svg":"+4G4","./emergency.svg":"GRA0","./example.svg":"OOLB","./excel.svg":"OLl3","./eye.svg":"4wdf","./form.svg":"sTIr","./guide.svg":"z74U","./icon.svg":"vUvT","./international.svg":"SBEl","./language.svg":"+Dip","./list.svg":"vuHp","./lock.svg":"FnAU","./message.svg":"G2zY","./money.svg":"ig9B","./nested.svg":"798r","./password.svg":"QjmH","./people.svg":"GPe0","./peoples.svg":"TgHK","./qq.svg":"R2jY","./screenfull.svg":"Qn9o","./shoppingCard.svg":"dNDk","./star.svg":"60zo","./tab.svg":"Jysk","./table.svg":"oSYw","./theme.svg":"hdtf","./user.svg":"VdD3","./wechat.svg":"pYJ+","./zip.svg":"0DNV"};function a(e){return n(o(e))}function o(e){var t=i[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}a.keys=function(){return Object.keys(i)},a.resolve=o,e.exports=a,a.id="90Fk"},BCGP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},FnAU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},G2zY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},G30n:function(e,t){},GBsB:function(e,t){},GPe0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},GRA0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-emergency",use:"icon-emergency-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},GYCL:function(e,t){},IcnI:function(e,t,n){"use strict";var i=n("/5sW"),a=n("NYxO"),o=n("lbHh"),s=n.n(o),r={state:{sidebar:{opened:!+s.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop",language:s.a.get("language")||"en"},mutations:{TOGGLE_SIDEBAR:function(e){e.sidebar.opened?s.a.set("sidebarStatus",1):s.a.set("sidebarStatus",0),e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1},CLOSE_SIDEBAR:function(e,t){s.a.set("sidebarStatus",1),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t},SET_LANGUAGE:function(e,t){e.language=t,s.a.set("language",t)}},actions:{toggleSideBar:function(e){(0,e.commit)("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){(0,e.commit)("CLOSE_SIDEBAR",t.withoutAnimation)},toggleDevice:function(e,t){(0,e.commit)("TOGGLE_DEVICE",t)},setLanguage:function(e,t){(0,e.commit)("SET_LANGUAGE",t)}}},c={state:{logs:[]},mutations:{ADD_ERROR_LOG:function(e,t){e.logs.push(t)}},actions:{addErrorLog:function(e,t){(0,e.commit)("ADD_ERROR_LOG",t)}}},l=n("//Fk"),d=n.n(l),u=n("YaEn");var p={state:{routers:u.b,addRouters:[]},mutations:{SET_ROUTERS:function(e,t){e.addRouters=t,e.routers=u.b.concat(t)}},actions:{GenerateRoutes:function(e,t){var n=e.commit;return new d.a(function(e){var i=t.roles,a=void 0;a=i.indexOf("admin")>=0?u.a:function e(t,n){return t.filter(function(t){return!!function(e,t){return!t.meta||!t.meta.roles||e.some(function(e){return t.meta.roles.indexOf(e)>=0})}(n,t)&&(t.children&&t.children.length&&(t.children=e(t.children,n)),!0)})}(u.a,i),n("SET_ROUTERS",a),e()})}}},m=n("Gu7T"),h=n.n(m),f=n("BO1k"),v=n.n(f),g=n("d7EF"),y=n.n(g),b=n("woOf"),w=n.n(b),x={state:{visitedViews:[],cachedViews:[]},mutations:{ADD_VISITED_VIEWS:function(e,t){e.visitedViews.some(function(e){return e.path===t.path})||(e.visitedViews.push(w()({},t,{title:t.meta.title||"no-name"})),t.meta.noCache||e.cachedViews.push(t.name))},DEL_VISITED_VIEWS:function(e,t){var n=!0,i=!1,a=void 0;try{for(var o,s=v()(e.visitedViews.entries());!(n=(o=s.next()).done);n=!0){var r=o.value,c=y()(r,2),l=c[0];if(c[1].path===t.path){e.visitedViews.splice(l,1);break}}}catch(e){i=!0,a=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw a}}var d=!0,u=!1,p=void 0;try{for(var m,h=v()(e.cachedViews);!(d=(m=h.next()).done);d=!0){var f=m.value;if(f===t.name){var g=e.cachedViews.indexOf(f);e.cachedViews.splice(g,1);break}}}catch(e){u=!0,p=e}finally{try{!d&&h.return&&h.return()}finally{if(u)throw p}}},DEL_OTHERS_VIEWS:function(e,t){var n=!0,i=!1,a=void 0;try{for(var o,s=v()(e.visitedViews.entries());!(n=(o=s.next()).done);n=!0){var r=o.value,c=y()(r,2),l=c[0];if(c[1].path===t.path){e.visitedViews=e.visitedViews.slice(l,l+1);break}}}catch(e){i=!0,a=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw a}}var d=!0,u=!1,p=void 0;try{for(var m,h=v()(e.cachedViews);!(d=(m=h.next()).done);d=!0){var f=m.value;if(f===t.name){var g=e.cachedViews.indexOf(f);e.cachedViews=e.cachedViews.slice(g,f+1);break}}}catch(e){u=!0,p=e}finally{try{!d&&h.return&&h.return()}finally{if(u)throw p}}},DEL_ALL_VIEWS:function(e){e.visitedViews=[],e.cachedViews=[]}},actions:{addVisitedViews:function(e,t){(0,e.commit)("ADD_VISITED_VIEWS",t)},delVisitedViews:function(e,t){var n=e.commit,i=e.state;return new d.a(function(e){n("DEL_VISITED_VIEWS",t),e([].concat(h()(i.visitedViews)))})},delOthersViews:function(e,t){var n=e.commit,i=e.state;return new d.a(function(e){n("DEL_OTHERS_VIEWS",t),e([].concat(h()(i.visitedViews)))})},delAllViews:function(e){var t=e.commit,n=e.state;return new d.a(function(e){t("DEL_ALL_VIEWS"),e([].concat(h()(n.visitedViews)))})}}},T=n("vLgD");function _(e){return Object(T.a)({url:"/user/info",method:"get",params:{token:e}})}var M=n("TIfe"),C={state:{user:"",status:"",code:"",token:Object(M.a)(),name:"",avatar:"",introduction:"",roles:[],setting:{articlePlatform:[]},hospitalconfig:{}},mutations:{SET_CODE:function(e,t){e.code=t},SET_TOKEN:function(e,t){e.token=t},SET_INTRODUCTION:function(e,t){e.introduction=t},SET_SETTING:function(e,t){e.setting=t},SET_STATUS:function(e,t){e.status=t},SET_NAME:function(e,t){e.name=t},SET_AVATAR:function(e,t){e.avatar=t},SET_ROLES:function(e,t){e.roles=t},SET_HOSPITALCONFIG:function(e,t){e.hospitalconfig=t}},actions:{LoginByUsername:function(e,t){var n=e.commit,i=t.username.trim();return new d.a(function(e,a){(function(e,t){var n={username:e,password:t};return Object(T.a)({url:"/login/login",method:"post",data:n})})(i,t.password).then(function(t){var i=t.data;n("SET_TOKEN",i.token),Object(M.c)(t.data.token),e()}).catch(function(e){a(e)})})},GetUserInfo:function(e){var t=e.commit,n=e.state;return new d.a(function(e,i){_(n.token).then(function(n){n.data||i("error");var a=n.data;a.roles&&a.roles.length>0?t("SET_ROLES",a.roles):i("getInfo: roles must be a non-null array !"),t("SET_NAME",a.name),t("SET_AVATAR",a.avatar),t("SET_INTRODUCTION",a.introduction),t("SET_HOSPITALCONFIG",a.hospitalconfig),e(n)}).catch(function(e){i(e)})})},LogOut:function(e){var t=e.commit,n=e.state;return new d.a(function(e,i){(n.token,Object(T.a)({url:"/login/logout",method:"post"})).then(function(){t("SET_TOKEN",""),t("SET_ROLES",[]),Object(M.b)(),e()}).catch(function(e){i(e)})})},FedLogOut:function(e){var t=e.commit;return new d.a(function(e){t("SET_TOKEN",""),Object(M.b)(),e()})},ChangeRoles:function(e,t){var n=e.commit;return new d.a(function(e){n("SET_TOKEN",t),Object(M.c)(t),_(t).then(function(t){var i=t.data;n("SET_ROLES",i.roles),n("SET_NAME",i.name),n("SET_AVATAR",i.avatar),n("SET_INTRODUCTION",i.introduction),e()})})}}},k={sidebar:function(e){return e.app.sidebar},language:function(e){return e.app.language},device:function(e){return e.app.device},visitedViews:function(e){return e.tagsView.visitedViews},cachedViews:function(e){return e.tagsView.cachedViews},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.name},introduction:function(e){return e.user.introduction},status:function(e){return e.user.status},roles:function(e){return e.user.roles},setting:function(e){return e.user.setting},hospitalconfig:function(e){return e.user.hospitalconfig},permission_routers:function(e){return e.permission.routers},addRouters:function(e){return e.permission.addRouters},errorLogs:function(e){return e.errorLog.logs}};i.default.use(a.a);var V=new a.a.Store({modules:{app:r,errorLog:c,permission:p,tagsView:x,user:C},getters:k});t.a=V},Jysk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},"KO/S":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={};n.d(i,"parseTime",function(){return H.d}),n.d(i,"formatTime",function(){return H.b}),n.d(i,"timeAgo",function(){return me}),n.d(i,"numberFormatter",function(){return he}),n.d(i,"toThousandslsFilter",function(){return fe});var a=n("fZjL"),o=n.n(a),s=n("/5sW"),r=n("mtWM"),c=n.n(r),l=(n("uMhA"),n("zL8q")),d=n.n(l),u=(n("tvR6"),n("yh13"),{render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},staticRenderFns:[]}),p=n("VU/8")({name:"App"},u,!1,null,null,null).exports,m=n("YaEn"),h=n("IcnI"),f=n("Dd8w"),v=n.n(f),g=n("TXmL"),y=n("lbHh"),b=n.n(y),w=n("wUZ8"),x=n.n(w),T=n("Vi3T"),_=n.n(T);s.default.use(g.a);var M={en:v()({},{route:{dashboard:"Dashboard",registration:"registration",register:"register",registerlist:"register list",report:"报告",localreport:"local report",remotereport:"remote report",dict:"dict",images:"PACS",consultation:"consultation",application:"application",consultationreport:"consultation report",introduction:"Introduction",documentation:"Documentation",guide:"Guide",permission:"Permission",pagePermission:"Page Permission",directivePermission:"Directive Permission",icons:"Icons",components:"Components",componentIndex:"Introduction",tinymce:"Tinymce",markdown:"Markdown",jsonEditor:"JSON Editor",dndList:"Dnd List",splitPane:"SplitPane",avatarUpload:"Avatar Upload",dropzone:"Dropzone",sticky:"Sticky",countTo:"CountTo",componentMixin:"Mixin",backToTop:"BackToTop",dragDialog:"Drag Dialog",dragKanban:"Drag Kanban",charts:"Charts",keyboardChart:"Keyboard Chart",lineChart:"Line Chart",mixChart:"Mix Chart",example:"Example",nested:"Nested Routes",menu1:"Menu 1","menu1-1":"Menu 1-1","menu1-2":"Menu 1-2","menu1-2-1":"Menu 1-2-1","menu1-2-2":"Menu 1-2-2","menu1-3":"Menu 1-3",menu2:"Menu 2",Table:"Table",dynamicTable:"Dynamic Table",dragTable:"Drag Table",inlineEditTable:"Inline Edit",complexTable:"Complex Table",treeTable:"Tree Table",customTreeTable:"Custom TreeTable",tab:"Tab",form:"Form",createArticle:"Create Article",editArticle:"Edit Article",articleList:"Article List",errorPages:"Error Pages",page401:"401",page404:"404",errorLog:"Error Log",excel:"Excel",exportExcel:"Export Excel",selectExcel:"Export Selected",uploadExcel:"Upload Excel",zip:"Zip",exportZip:"Export Zip",theme:"Theme",clipboardDemo:"Clipboard",i18n:"I18n"},registration:{search:"Search",searchplaceholder:"Please input ID or Name or Mobile"},patient:{title:"Patient",ID:"Patient ID",name:"Name",mobile:"Mobile",sex:"Sex",male:"male",Female:"female",age:"Age",birthday:"Birthday"},navbar:{logOut:"Log Out",dashboard:"Dashboard",github:"Github",screenfull:"screenfull",theme:"theme"},login:{title:"Login Form",logIn:"Log in",username:"Username",password:"Password",any:"any",thirdparty:"Or connect with",thirdpartyTips:"Can not be simulated on local, so please combine you own business simulation! ! !"},documentation:{documentation:"Documentation",github:"Github Repository"},permission:{roles:"Your roles",switchRoles:"Switch roles"},guide:{description:"The guide page is useful for some people who entered the project for the first time. You can briefly introduce the features of the project. Demo is based on ",button:"Show Guide"},components:{documentation:"Documentation",tinymceTips:"Rich text editor is a core part of management system, but at the same time is a place with lots of problems. In the process of selecting rich texts, I also walked a lot of detours. The common rich text editors in the market are basically used, and the finally chose Tinymce. See documentation for more detailed rich text editor comparisons and introductions.",dropzoneTips:"Because my business has special needs, and has to upload images to qiniu, so instead of a third party, I chose encapsulate it by myself. It is very simple, you can see the detail code in @/components/Dropzone.",stickyTips:"when the page is scrolled to the preset position will be sticky on the top.",backToTopTips1:"When the page is scrolled to the specified position, the Back to Top button appears in the lower right corner",backToTopTips2:"You can customize the style of the button, show / hide, height of appearance, height of the return. If you need a text prompt, you can use element-ui el-tooltip elements externally",imageUploadTips:"Since I was using only the vue@1 version, and it is not compatible with mockjs at the moment, I modified it myself, and if you are going to use it, it is better to use official version."},table:{dynamicTips1:"Fixed header, sorted by header order",dynamicTips2:"Not fixed header, sorted by click order",dragTips1:"The default order",dragTips2:"The after dragging order",title:"Title",importance:"Imp",type:"Type",remark:"Remark",search:"Search",add:"Add",export:"Export",reviewer:"reviewer",id:"ID",date:"Date",author:"Author",readings:"Readings",status:"Status",actions:"Actions",edit:"Edit",publish:"Publish",draft:"Draft",delete:"Delete",cancel:"Cancel",confirm:"Confirm"},errorLog:{tips:"Please click the bug icon in the upper right corner",description:"Now the management system are basically the form of the spa, it enhances the user experience, but it also increases the possibility of page problems, a small negligence may lead to the entire page deadlock. Fortunately Vue provides a way to catch handling exceptions, where you can handle errors or report exceptions.",documentation:"Document introduction"},excel:{export:"Export",selectedExport:"Export selected items",placeholder:"Please enter the file name(default excel-list)"},zip:{export:"Export",placeholder:"Please enter the file name(default file)"},theme:{change:"Theme change",documentation:"Theme documentation",tips:"Tips: It is different from the theme-pick on the navbar is two different skinning methods, each with different application scenarios. Refer to the documentation for details."},tagsView:{close:"Close",closeOthers:"Close Others",closeAll:"Close All"}},x.a),zh:v()({},{title:"远程诊断中心",comm:{query:"查询",image:"影像",report:"报告",applicationFrm:"申请单",application:"申请",actions:"操作",reject:"驳回",accept:"接受",view:"查看",editReport:"写报告",cancel:"取消",ok:"确认",content:"内容",success:"成功",rejectsuccess:"驳回成功",review:"审核",save:"保存",confirm:"确认",print:"打印",create:"创建",delete:"删除",use:"使用",templateTree:"病历模版"},route:{localsys:"本地系统",remotesys:"远程诊断",manager:"后台管理",dashboard:"首页",registration:"预约登记",register:"登记",registerlist:"登记列表",report:"写报告",localreport:"本地报告",remotereport:"工作列表",department:"申请诊断",sectionreport:"科室报告",Remotereport:"远程报告",dict:"字典",images:"影像",consultation:"会诊",application:"登记列表",consultationreport:"会诊报告",introduction:"简述",documentation:"文档",guide:"引导页",permission:"权限测试页",pagePermission:"页面权限",directivePermission:"指令权限",icons:"图标",components:"组件",componentIndex:"介绍",tinymce:"富文本编辑器",markdown:"Markdown",jsonEditor:"JSON编辑器",dndList:"列表拖拽",splitPane:"Splitpane",avatarUpload:"头像上传",dropzone:"Dropzone",sticky:"Sticky",countTo:"CountTo",componentMixin:"小组件",backToTop:"返回顶部",dragDialog:"拖拽 Dialog",dragKanban:"可拖拽看板",charts:"图表",keyboardChart:"键盘图表",lineChart:"折线图",mixChart:"混合图表",example:"综合实例",nested:"路由嵌套",menu1:"菜单1","menu1-1":"菜单1-1","menu1-2":"菜单1-2","menu1-2-1":"菜单1-2-1","menu1-2-2":"菜单1-2-2","menu1-3":"菜单1-3",menu2:"菜单2",Table:"Table",dynamicTable:"动态Table",dragTable:"拖拽Table",inlineEditTable:"Table内编辑",complexTable:"综合Table",treeTable:"树形表格",customTreeTable:"自定义树表",tab:"Tab",form:"表单",createArticle:"创建文章",editArticle:"编辑文章",articleList:"文章列表",errorPages:"错误页面",page401:"401",page404:"404",errorLog:"错误日志",excel:"Excel",exportExcel:"Export Excel",selectExcel:"Export Selected",uploadExcel:"Upload Excel",zip:"Zip",exportZip:"Export Zip",theme:"换肤",clipboardDemo:"Clipboard",i18n:"国际化"},registration:{search:"快速检索",searchplaceholder:"请输入病历号、姓名、手机号"},registrationTips:{ID:"病历号",name:"姓名",mobile:"手机号",sex:"性别",male:"男",female:"女",age:"年龄",birthday:"生日"},patient:{title:"基本信息",name:"姓名",mobile:"手机号",sex:"性别",male:"男",female:"女",age:"年龄",birthday:"生日"},exam:{title:"检查信息",patientID:"病历号",examID:"检查号",examClass:"检查类别",subClass:"检查子类",bodypart:"部位",Item:"检查项目",cost:"费用",device:"检查设备",applicationDoctor:"申请医生",applicationDatetime:"申请时间",applicationHospital:"申请医院",examDatetime:"检查时间",registDatetime:"登记时间",startDate:"开始时间",endDate:"结束时间",today:"今天",threeday:"三日",week:"一周",month:"一个月",threemonth:"三个月",emergency:"急诊",positive:"阳性",status:"检查状态",illnessDesc:"主诉",clinSym:"临床症状",clinDiag:"临床诊断",physSign:"体征",anamnesis:"既往史",familyIll:"家族史",marrital:"婚姻史",memo:"申请备注",statuslist:{register:"预约登记",exam:"检查完毕",image:"图像到达",application:"申请诊断",reject:"驳回申请",receive:"接受申请",report:"初步报告",review:"审核报告",confirm:"确认报告",all:"全部检查"},rejectDoctor:"驳回医生",rejectDatetime:"驳回时间",rejectContext:"驳回备注"},report:{parameter:"检查参数",description:"检查所见",impression:"印象",recommendation:"建议",reportHospital:"报告医院",reportDatetime:"报告时间",reportDoctor:"报告医生",reviewDatetime:"审核时间",reviewDoctor:"审核医生",confirmDatetime:"确认时间",confirmDoctor:"确认医生",positive:"阳性"},navbar:{logOut:"退出登录",dashboard:"首页",github:"项目地址",screenfull:"全屏",theme:"换肤"},login:{title:"中世康恺远程诊断",logIn:"登录",username:"账号",password:"密码",any:"随便填",thirdparty:"第三方登录",thirdpartyTips:"本地不能模拟,请结合自己业务进行模拟!!!"},documentation:{documentation:"文档",github:"Github 地址"},permission:{roles:"你的权限",switchRoles:"切换权限"},guide:{description:"引导页对于一些第一次进入项目的人很有用,你可以简单介绍下项目的功能。本 Demo 是基于",button:"打开引导"},components:{documentation:"文档",tinymceTips:"富文本是管理后台一个核心的功能,但同时又是一个有很多坑的地方。在选择富文本的过程中我也走了不少的弯路,市面上常见的富文本都基本用过了,最终权衡了一下选择了Tinymce。更详细的富文本比较和介绍见",dropzoneTips:"由于我司业务有特殊需求,而且要传七牛 所以没用第三方,选择了自己封装。代码非常的简单,具体代码你可以在这里看到 @/components/Dropzone",stickyTips:"当页面滚动到预设的位置会吸附在顶部",backToTopTips1:"页面滚动到指定位置会在右下角出现返回顶部按钮",backToTopTips2:"可自定义按钮的样式、show/hide、出现的高度、返回的位置 如需文字提示,可在外部使用Element的el-tooltip元素",imageUploadTips:"由于我在使用时它只有vue@1版本,而且和mockjs不兼容,所以自己改造了一下,如果大家要使用的话,优先还是使用官方版本。"},table:{dynamicTips1:"固定表头, 按照表头顺序排序",dynamicTips2:"不固定表头, 按照点击顺序排序",dragTips1:"默认顺序",dragTips2:"拖拽后顺序",title:"标题",importance:"重要性",type:"类型",remark:"点评",search:"搜索",add:"添加",export:"导出",reviewer:"审核人",id:"序号",date:"时间",author:"作者",readings:"阅读数",status:"状态",actions:"操作",edit:"编辑",publish:"发布",draft:"草稿",delete:"删除",cancel:"取 消",confirm:"确 定"},errorLog:{tips:"请点击右上角bug小图标",description:"现在的管理后台基本都是spa的形式了,它增强了用户体验,但同时也会增加页面出问题的可能性,可能一个小小的疏忽就导致整个页面的死锁。好在 Vue 官网提供了一个方法来捕获处理异常,你可以在其中进行错误处理或者异常上报。",documentation:"文档介绍"},excel:{export:"导出",selectedExport:"导出已选择项",placeholder:"请输入文件名(默认excel-list)"},zip:{export:"导出",placeholder:"请输入文件名(默认file)"},theme:{change:"换肤",documentation:"换肤文档",tips:"Tips: 它区别于 navbar 上的 theme-pick, 是两种不同的换肤方法,各自有不同的应用场景,具体请参考文档。"},tagsView:{close:"关闭",closeOthers:"关闭其它",closeAll:"关闭所有"}},_.a)},C=new g.a({locale:b.a.get("language")||"en",messages:M}),k={name:"svg-icon",props:{iconClass:{type:String,required:!0},className:{type:String}},computed:{iconName:function(){return"#icon-"+this.iconClass},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},V={render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{class:this.svgClass,attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":this.iconName}})])},staticRenderFns:[]};var z=n("VU/8")(k,V,!1,function(e){n("2Hny")},"data-v-7a246014",null).exports,O=n("oDqC");s.default.component("svg-icon",z);var E,S=n("90Fk"),L=(E=S).keys().map(E);O.a.generate(L),s.default.config.errorHandler=function(e,t,n,i){s.default.nextTick(function(){h.a.dispatch("addErrorLog",{err:e,vm:t,info:n,url:window.location.href}),console.error(e,n)})};var I=n("Y81h"),D=n.n(I),B=(n("UVIz"),n("TIfe"));D.a.configure({showSpinner:!1});var q=["/login","/authredirect"];m.c.beforeEach(function(e,t,n){var i,a;D.a.start(),Object(B.a)()?"/login"===e.path?(n({path:"/"}),D.a.done()):0===h.a.getters.roles.length?h.a.dispatch("GetUserInfo").then(function(t){console.log("loginInfo:",t);var i=t.data.roles;h.a.dispatch("GenerateRoutes",{roles:i}).then(function(){m.c.addRoutes(h.a.getters.addRouters),n(v()({},e,{replace:!0}))})}).catch(function(e){h.a.dispatch("FedLogOut").then(function(){l.Message.error(e||"Verification failed, please login again"),n({path:"/"})})}):(i=h.a.getters.roles,a=e.meta.roles,i.indexOf("admin")>=0||!a||i.some(function(e){return a.indexOf(e)>=0})?n():n({path:"/401",replace:!0,query:{noGoBack:!0}})):-1!==q.indexOf(e.path)?n():(n("/login"),D.a.done())}),m.c.afterEach(function(){D.a.done()});for(var A=n("zNUS"),P=n.n(A),H=n("0xDb"),R={admin:{roles:["admin"],token:"admin",introduction:"我是超级管理员",avatar:"https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif",name:"Super Admin",hospital:"长河医院",hospitalconfig:{applicationTitle:"远程诊断申请单",reportTitle:"长河医院远程诊断中心",reportSubTitle:"检查报告单"}},editor:{roles:["editor"],token:"editor",introduction:"我是编辑",avatar:"https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif",name:"Normal Editor",hospital:"长河医院",hospitalconfig:{reportTitle:"长河医院远程咨询报告单",reportSubTitle:"检查报告单"}}},j=function(e){var t=JSON.parse(e.body).username;return R[t]},Z=function(e){var t=Object(H.c)(e.url).token;return console.log("config.url",e.url),!!R[t]&&(console.log("getUserInfo",R[t]),R[t])},$=function(){return"success"},W=n("BO1k"),U=n.n(W),N=[],G=0;G<5;G++)N.push(P.a.mock({id:"@increment",timestamp:+P.a.Random.date("T"),author:"@first",reviewer:"@first",title:"@title(5, 10)",content_short:"我是测试数据",content:'我是测试数据我是测试数据

',forecast:"@float(0, 100, 2, 2)",importance:"@integer(1, 3)","type|1":["CN","US","JP","EU"],"status|1":["published","draft","deleted"],display_time:"@datetime",comment_disabled:!0,pageviews:"@integer(300, 5000)",image_uri:"https://wpimg.wallstcn.com/e4558086-631c-425c-9430-56ffb46e70b3",platforms:["a-platform"]}));for(var F=function(e){var t=Object(H.c)(e.url),n=t.importance,i=t.type,a=t.title,o=t.page,s=void 0===o?1:o,r=t.limit,c=void 0===r?20:r,l=t.sort,d=N.filter(function(e){return(!n||e.importance===+n)&&((!i||e.type===i)&&!(a&&e.title.indexOf(a)<0))});"-id"===l&&(d=d.reverse());var u=d.filter(function(e,t){return t=c*(s-1)});return{total:d.length,items:u}},Y=function(){return{pvData:[{key:"PC",pv:1024},{key:"mobile",pv:1024},{key:"ios",pv:1024},{key:"android",pv:1024}]}},K=function(e){var t=Object(H.c)(e.url).id,n=!0,i=!1,a=void 0;try{for(var o,s=U()(N);!(n=(o=s.next()).done);n=!0){var r=o.value;if(r.id===+t)return r}}catch(e){i=!0,a=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw a}}},J=function(){return{data:"success"}},X=function(){return{data:"success"}},Q=[],ee=0;ee<100;ee++)Q.push(P.a.mock({name:"@first"}));Q.push({name:"mockPan"});for(var te=function(e){var t=Object(H.c)(e.url).name;return{items:Q.filter(function(e){var n=e.name.toLowerCase();return!(t&&n.indexOf(t.toLowerCase())<0)})}},ne=[],ie=0;ie<20;ie++)ne.push(P.a.mock({order_no:"@guid()",timestamp:+P.a.Random.date("T"),username:"@name()",price:"@float(1000, 15000, 0, 2)","status|1":["success","pending"]}));for(var ae=function(){return{total:ne.length,items:ne}},oe=[{id:"1",class:"超声",modality:"US",dept:"超声科",hospitalId:"100"},{id:"2",class:"放射",modality:"DR",dept:"放射科",hospitalId:"100"},{id:"3",class:"CT",modality:"CT",dept:"CT室",hospitalId:"100"},{id:"4",class:"核磁",modality:"MR",dept:"核医学科",hospitalId:"100"}],se=function(){return{total:oe.length,items:oe}},re=[],ce=0;ce<120;ce++)re.push(P.a.mock({id:"@increment","emergency|1":["0","1"],"status|1":[4,5,6,7,8,9],name:"@cname",patientID:"@id(1000)",age:"@integer(1, 99)",sex:'@pick(["F", "M"])',examClass:'@pick(["CT", "CR", "MR", "XA", "US"])',subClass:'@pick(["头部CR", "腹部CR", "四肢CT"])',examDatetime:"@datetime",applicationDoctor:"@cname",applicationDatetime:"@datetime",applicationHospital:'@pick(["沛县人民", "山西磁县"])',reportHospital:'@pick(["徐州人民", "海南会诊中心"])',reportDoctor:"@cname",reportDatetime:"@datetime",reviewDoctor:"@cname",reviewDatetime:"@datetime",illnessDesc:'@pick(["身体不适", "腰疼", "头部难受"])',bodypart:'@pick(["四肢", "腹部", "头颅"])',device:'@pick(["GE", "西门子", "柯达"])',clinSym:'@pick(["流鼻涕", "高烧", "咳嗽"])',physSign:'@pick(["发热", "发冷", "哆嗦"])',clinDiag:'@pick(["气胸", "心脏病", "冠心病"])',anamnesis:'@pick(["气胸", "心脏病", "冠心病"])',familyIll:'@pick(["气胸", "心脏病", "冠心病"])',marrital:'@pick(["未知", "已婚", "未婚", "离异", "丧偶"])',memo:'@pick(["备注", "其他备注", "其他信息"])',studyUID:'@pick(["123.123", "123.123", null])',"positive|1":["0","1"],reject:'@pick(["信息不全", "图像不清晰", "其他"])',rejectDoctor:"@cname",rejectDatetime:"@datetime",rejectContext:"@cparagraph"}));var le=function(e){var t=Object(H.c)(e.url),n=t.page,i=void 0===n?1:n,a=t.limit,o=void 0===a?20:a,s=t.sort,r=t.positive,c=t.emergency,l=re.filter(function(e){return!(!r||e.positive===r)||(c&&e.examclass,!0)});"-id"===s&&(l=l.reverse());var d=l.filter(function(e,t){return t=o*(i-1)});return{total:l.length,items:d}},de=function(e){var t=Object(H.c)(e.url).id;return{items:re.filter(function(e){return!t||e.id===parseInt(t)})}},ue=function(e){return console.log("getList",Object(H.c)(e.url)),{data:"success"}};P.a.mock(/\/login\/login/,"post",j),P.a.mock(/\/login\/logout/,"post",$),P.a.mock(/\/user\/info\.*/,"get",Z),P.a.mock(/\/article\/list/,"get",F),P.a.mock(/\/article\/detail/,"get",K),P.a.mock(/\/article\/pv/,"get",Y),P.a.mock(/\/article\/create/,"post",J),P.a.mock(/\/article\/update/,"post",X),P.a.mock(/\/search\/user/,"get",te),P.a.mock(/\/transaction\/list/,"get",ae),P.a.mock(/\/dict\/classlist/,"get",se),P.a.mock(/\/exam\/examlist/,"get",le),P.a.mock(/\/exam\/examinfo/,"get",de),P.a.mock(/\/exam\/update/,"post",ue);P.a;function pe(e,t){return 1===e?e+t:e+t+"s"}function me(e){var t=Date.now()/1e3-Number(e);return t<3600?pe(~~(t/60)," minute"):t<86400?pe(~~(t/3600)," hour"):pe(~~(t/86400)," day")}function he(e,t){for(var n=[{value:1e18,symbol:"E"},{value:1e15,symbol:"P"},{value:1e12,symbol:"T"},{value:1e9,symbol:"G"},{value:1e6,symbol:"M"},{value:1e3,symbol:"k"}],i=0;i=n[i].value)return(e/n[i].value+.1).toFixed(t).replace(/\.0+$|(\.[0-9]*[1-9])0+$/,"$1")+n[i].symbol;return e.toString()}function fe(e){return(+e||0).toString().replace(/^-?\d+/g,function(e){return e.replace(/(?=(?!\b)(\d{3})+$)/g,",")})}c.a.defaults.withCredentials=!0,s.default.prototype.$http=c.a,s.default.use(d.a,{size:"medium",i18n:function(e,t){return C.t(e,t)}}),o()(i).forEach(function(e){s.default.filter(e,i[e])}),s.default.config.productionTip=!1,new s.default({el:"#app",router:m.c,store:h.a,i18n:C,render:function(e){return e(p)}})},OLl3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},OOLB:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},QjmH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},Qn9o:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-screenfull",use:"icon-screenfull-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},R2jY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},RjYk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},SBEl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},SVqS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},TIfe:function(e,t,n){"use strict";t.a=function(){return a.a.get(o)},t.c=function(e){return a.a.set(o,e)},t.b=function(){return a.a.remove(o)};var i=n("lbHh"),a=n.n(i),o="Admin-Token"},TgHK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},UVIz:function(e,t){},UVRO:function(e,t){},VdD3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},YaEn:function(e,t,n){"use strict";var i=n("/5sW"),a=n("/ocq"),o=n("Dd8w"),s=n.n(o),r=n("NYxO"),c={name:"hamburger",props:{isActive:{type:Boolean,default:!1},toggleClick:{type:Function,default:null}}},l={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"div-logo"},[n("div",{staticClass:"logo"},[e._v("logo\n ")]),e._v(" "),n("div",{staticClass:"logo-title",class:{"is-active":!e.isActive}},[e._v("\n "+e._s(e.$t("title"))+"\n ")])]),e._v(" "),n("div",[n("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{t:"1492500959545",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1691","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"64",height:"64"},on:{click:e.toggleClick}},[n("path",{attrs:{d:"M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z","p-id":"1692"}}),e._v(" "),n("path",{attrs:{d:"M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z","p-id":"1693"}}),e._v(" "),n("path",{attrs:{d:"M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z","p-id":"1694"}})])])])},staticRenderFns:[]};var d=n("VU/8")(c,l,!1,function(e){n("UVRO")},"data-v-092c2fda",null).exports,u={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"ris-msg",staticStyle:{cursor:"pointer"}},[t("el-badge",{staticClass:"item",attrs:{value:12}},[t("svg-icon",{attrs:{"icon-class":"message","class-name":"message-icon"}})],1)],1)},staticRenderFns:[]};var p=n("VU/8")({name:"risMsg"},u,!1,function(e){n("G30n")},"data-v-66975bdf",null).exports,m=n("I95x"),h=n.n(m),f={name:"screenfull",props:{width:{type:Number,default:22},height:{type:Number,default:22},fill:{type:String,default:"#48576a"}},data:function(){return{isFullscreen:!1}},methods:{click:function(){if(!h.a.enabled)return this.$message({message:"you browser can not work",type:"warning"}),!1;h.a.toggle()}}},v={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{on:{click:this.click}},[t("svg-icon",{staticClass:"screenfull-svg",attrs:{"icon-class":"screenfull","class-name":"screenfull-icon"}})],1)},staticRenderFns:[]},g=n("VU/8")(f,v,!1,null,null,null).exports,y=n("wAeJ"),b={name:"worknavmenu",data:function(){return{activeIndex:"1",activeIndex2:"1",backgroundColor:"#304156",activeTextColor:"rgb(64, 158, 255)"}},methods:{handleSelect:function(e,t){console.log(e,t)}}},w={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-menu",{staticClass:"el-menu-demo",attrs:{"default-active":e.activeIndex,mode:"horizontal","background-color":e.backgroundColor,"text-color":"#fff","active-text-color":e.activeTextColor},on:{select:e.handleSelect}},[n("el-menu-item",{attrs:{index:"1"}},[e._v(e._s(e.$t("route.localsys")))]),e._v(" "),n("el-menu-item",{attrs:{index:"2"}},[e._v(e._s(e.$t("route.remotesys")))]),e._v(" "),n("el-menu-item",{attrs:{index:"3"}},[e._v(e._s(e.$t("route.manager")))])],1)},staticRenderFns:[]};var x=n("VU/8")(b,w,!1,function(e){n("f0uX")},"data-v-dd1d13ee",null).exports,T={components:{Hamburger:d,msg:p,Screenfull:g,LangSelect:y.a,WorkNavMenu:x},computed:s()({},Object(r.b)(["sidebar","name","avatar"])),methods:{toggleSideBar:function(){this.$store.dispatch("toggleSideBar")},logout:function(){this.$store.dispatch("LogOut").then(function(){location.reload()})}}},_={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-menu",{staticClass:"navbar",attrs:{mode:"horizontal"}},[n("hamburger",{staticClass:"hamburger-container",attrs:{toggleClick:e.toggleSideBar,isActive:e.sidebar.opened}}),e._v(" "),n("work-nav-menu",{staticClass:"work-nav-menu"}),e._v(" "),n("div",{staticClass:"right-menu"},[n("msg",{staticClass:"international right-menu-item"}),e._v(" "),n("el-tooltip",{attrs:{effect:"dark",content:e.$t("navbar.screenfull"),placement:"bottom"}},[n("screenfull",{staticClass:"screenfull right-menu-item"})],1),e._v(" "),n("lang-select",{staticClass:"international right-menu-item"}),e._v(" "),n("el-dropdown",{staticClass:"avatar-container right-menu-item",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:e.avatar+"?imageView2/1/w/80/h/80"}}),e._v(" "),n("i",{staticClass:"el-icon-caret-bottom"})]),e._v(" "),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{attrs:{to:"/"}},[n("el-dropdown-item",[e._v("\n "+e._s(e.$t("navbar.dashboard"))+"\n ")])],1),e._v(" "),n("a",{attrs:{target:"_blank",href:"https://github.com/PanJiaChen/vue-element-admin/"}},[n("el-dropdown-item",[e._v("\n "+e._s(e.$t("navbar.github"))+"\n ")])],1),e._v(" "),n("el-dropdown-item",{attrs:{divided:""}},[n("span",{staticStyle:{display:"block"},on:{click:e.logout}},[e._v(e._s(e.$t("navbar.logOut")))])])],1)],1)],1)],1)},staticRenderFns:[]};var M=n("VU/8")(T,_,!1,function(e){n("sq8/")},"data-v-6105de15",null).exports,C=n("Gu7T"),k=n.n(C),V=n("o/zv"),z=n.n(V);function O(e){var t=this.$te("route."+e),n=this.$t("route."+e);return t?n:e}var E={name:"SidebarItem",props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return{onlyOneChild:null}},methods:{hasOneShowingChild:function(e){var t=this;return 1===e.filter(function(e){return!e.hidden&&(t.onlyOneChild=e,!0)}).length},resolvePath:function(){for(var e=arguments.length,t=Array(e),n=0;n0?n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}}):n("router-link",{key:t.name,attrs:{to:e.resolvePath(t.path)}},[n("el-menu-item",{attrs:{index:e.resolvePath(t.path)}},[t.meta&&t.meta.icon?n("svg-icon",{attrs:{"icon-class":t.meta.icon}}):e._e(),e._v(" "),t.meta&&t.meta.title?n("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.generateTitle(t.meta.title)))]):e._e()],1)],1)]})],2):n("router-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[e.onlyOneChild.meta&&e.onlyOneChild.meta.icon?n("svg-icon",{attrs:{"icon-class":e.onlyOneChild.meta.icon}}):e._e(),e._v(" "),e.onlyOneChild.meta&&e.onlyOneChild.meta.title?n("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.generateTitle(e.onlyOneChild.meta.title)))]):e._e()],1)],1)],1):e._e()},staticRenderFns:[]},L={components:{SidebarItem:n("VU/8")(E,S,!1,null,null,null).exports},computed:s()({},Object(r.b)(["permission_routers","sidebar"]),{isCollapse:function(){return!this.sidebar.opened},created:function(){console.log("this.permission_routers",this.permission_routers)}})},I={render:function(){var e=this.$createElement,t=this._self._c||e;return t("el-scrollbar",{attrs:{wrapClass:"scrollbar-wrapper"}},[t("el-menu",{attrs:{mode:"vertical","show-timeout":200,"default-active":this.$route.path,collapse:this.isCollapse,"background-color":"#304156","text-color":"#bfcbd9","active-text-color":"white"}},this._l(this.permission_routers,function(e){return t("sidebar-item",{key:e.name,attrs:{item:e,"base-path":e.path}})}))],1)},staticRenderFns:[]},D=n("VU/8")(L,I,!1,null,null,null).exports,B=n("BO1k"),q=n.n(B),A={name:"scrollPane",data:function(){return{left:0}},methods:{handleScroll:function(e){var t=e.wheelDelta||3*-e.deltaY,n=this.$refs.scrollContainer.offsetWidth,i=this.$refs.scrollWrapper.offsetWidth;t>0?this.left=Math.min(0,this.left+t):n-15-this.left&&n+i<-this.left+t-15||(this.left=-(n-(t-i)+15))}}},P={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"scrollContainer",staticClass:"scroll-container",on:{wheel:function(t){t.preventDefault(),e.handleScroll(t)}}},[n("div",{ref:"scrollWrapper",staticClass:"scroll-wrapper",style:{left:e.left+"px"}},[e._t("default")],2)])},staticRenderFns:[]};var H={components:{ScrollPane:n("VU/8")(A,P,!1,function(e){n("GYCL")},"data-v-1828d9fc",null).exports},data:function(){return{visible:!1,top:0,left:0,selectedTag:{}}},computed:{visitedViews:function(){return this.$store.state.tagsView.visitedViews}},watch:{$route:function(){this.addViewTags(),this.moveToCurrentTag()},visible:function(e){e?document.body.addEventListener("click",this.closeMenu):document.body.removeEventListener("click",this.closeMenu)}},mounted:function(){this.addViewTags()},methods:{generateTitle:O,generateRoute:function(){return!!this.$route.name&&this.$route},isActive:function(e){return e.path===this.$route.path},addViewTags:function(){var e=this.generateRoute();if(!e)return!1;this.$store.dispatch("addVisitedViews",e)},moveToCurrentTag:function(){var e=this,t=this.$refs.tag;this.$nextTick(function(){var n=!0,i=!1,a=void 0;try{for(var o,s=q()(t);!(n=(o=s.next()).done);n=!0){var r=o.value;if(r.to.path===e.$route.path){e.$refs.scrollPane.moveToTarget(r.$el);break}}}catch(e){i=!0,a=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw a}}})},closeSelectedTag:function(e){var t=this;this.$store.dispatch("delVisitedViews",e).then(function(n){if(t.isActive(e)){var i=n.slice(-1)[0];i?t.$router.push(i):t.$router.push("/")}})},closeOthersTags:function(){var e=this;this.$router.push(this.selectedTag),this.$store.dispatch("delOthersViews",this.selectedTag).then(function(){e.moveToCurrentTag()})},closeAllTags:function(){this.$store.dispatch("delAllViews"),this.$router.push("/")},openMenu:function(e,t){this.visible=!0,this.selectedTag=e;var n=this.$el.getBoundingClientRect().left;this.left=t.clientX-n+15,this.top=t.clientY},closeMenu:function(){this.visible=!1}}},R={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tags-view-container"},[n("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper"},e._l(Array.from(e.visitedViews),function(t){return n("router-link",{key:t.path,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:e.isActive(t)?"active":"",attrs:{to:t},nativeOn:{contextmenu:function(n){n.preventDefault(),e.openMenu(t,n)}}},[e._v("\n "+e._s(e.generateTitle(t.title))+"\n "),n("span",{staticClass:"el-icon-close",on:{click:function(n){n.preventDefault(),n.stopPropagation(),e.closeSelectedTag(t)}}})])})),e._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"contextmenu",style:{left:e.left+"px",top:e.top+"px"}},[n("li",{on:{click:function(t){e.closeSelectedTag(e.selectedTag)}}},[e._v(e._s(e.$t("tagsView.close")))]),e._v(" "),n("li",{on:{click:e.closeOthersTags}},[e._v(e._s(e.$t("tagsView.closeOthers")))]),e._v(" "),n("li",{on:{click:e.closeAllTags}},[e._v(e._s(e.$t("tagsView.closeAll")))])])],1)},staticRenderFns:[]};var j=n("VU/8")(H,R,!1,function(e){n("GBsB"),n("l9HB")},"data-v-dd4e491e",null).exports,Z={render:function(){var e=this.$createElement,t=this._self._c||e;return t("section",{staticClass:"app-main"},[t("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[t("keep-alive",{attrs:{include:this.cachedViews}},[t("router-view",{key:this.key})],1)],1)],1)},staticRenderFns:[]};var $=n("VU/8")({name:"AppMain",computed:{cachedViews:function(){return this.$store.state.tagsView.cachedViews},key:function(){return this.$route.fullPath}}},Z,!1,function(e){n("+AtF")},"data-v-5d0f8d64",null).exports,W=n("IcnI"),U=document.body,N={name:"rislayout",components:{Navbar:M,Sidebar:D,AppMain:$,TagsView:j},mixins:[{watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&W.a.dispatch("closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.resizeHandler)},mounted:function(){this.isMobile()&&(W.a.dispatch("toggleDevice","mobile"),W.a.dispatch("closeSideBar",{withoutAnimation:!0}))},methods:{isMobile:function(){return U.getBoundingClientRect().width-3<1024},resizeHandler:function(){if(!document.hidden){var e=this.isMobile();W.a.dispatch("toggleDevice",e?"mobile":"desktop"),e&&W.a.dispatch("closeSideBar",{withoutAnimation:!0})}}}}],computed:{sidebar:function(){return this.$store.state.app.sidebar},device:function(){return this.$store.state.app.device},classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}},methods:{handleClickOutside:function(){this.$store.dispatch("closeSideBar",{withoutAnimation:!1})}}},G={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"app-wrapper",class:this.classObj},[t("el-container",[t("Navbar",{staticClass:"header"}),this._v(" "),t("el-container",{staticClass:"main-container"},[t("sidebar",{staticClass:"sidebar-container"}),this._v(" "),t("el-container",{staticClass:"core-container"},[t("div",{staticClass:"core-main"},[t("TagsView"),this._v(" "),t("app-main")],1)])],1)],1)],1)},staticRenderFns:[]};var F=n("VU/8")(N,G,!1,function(e){n("1T8E")},null,null).exports;n.d(t,"b",function(){return Y}),n.d(t,"a",function(){return K}),i.default.use(a.a);var Y=[{path:"/login",component:function(){return Promise.all([n.e(0),n.e(7)]).then(n.bind(null,"T+/8"))},hidden:!0},{path:"/authredirect",component:function(){return n.e(19).then(n.bind(null,"+abo"))},hidden:!0},{path:"/404",component:function(){return n.e(9).then(n.bind(null,"AejC"))},hidden:!0},{path:"/401",component:function(){return n.e(11).then(n.bind(null,"eRLo"))},hidden:!0},{path:"",component:F,redirect:"dashboard",children:[{path:"dashboard",component:function(){return Promise.all([n.e(1),n.e(2)]).then(n.bind(null,"ARoL"))},name:"dashboard",meta:{title:"dashboard",icon:"dashboard",noCache:!0}}]},{path:"/documentation",component:F,redirect:"/documentation/index",children:[{path:"index",component:function(){return n.e(8).then(n.bind(null,"Uhtj"))},name:"documentation",meta:{title:"documentation",icon:"documentation",noCache:!0}}]},{path:"/department",component:F,redirect:"/department/department",children:[{path:"department",component:function(){return Promise.all([n.e(0),n.e(16)]).then(n.bind(null,"yIh8"))},name:"department",meta:{title:"department",icon:"documentation",noCache:!0}}]},{path:"/sectionreport",component:F,redirect:"/sectionreport/sectionreport",children:[{path:"sectionreport",component:function(){return Promise.all([n.e(0),n.e(15)]).then(n.bind(null,"nd/S"))},name:"sectionreport",meta:{title:"sectionreport",icon:"documentation",noCache:!0}}]},{path:"/Remotereport",component:F,redirect:"/Remotereport/Remotereport",children:[{path:"Remotereport",component:function(){return n.e(14).then(n.bind(null,"s94K"))},name:"Remotereport",meta:{title:"Remotereport",icon:"documentation",noCache:!0}}]},{path:"/application",component:F,redirect:"/application/application",children:[{path:"application",component:function(){return Promise.all([n.e(0),n.e(17)]).then(n.bind(null,"t/w2"))},name:"application",meta:{title:"application",icon:"documentation",noCache:!0}}]},{path:"/guide",component:F,redirect:"/guide/index",children:[{path:"index",component:function(){return n.e(13).then(n.bind(null,"NIBp"))},name:"guide",meta:{title:"guide",icon:"guide",noCache:!0}}]}],K=(t.c=new a.a({scrollBehavior:function(){return{y:0}},routes:Y}),[{path:"/registration",component:F,children:[{path:"index",component:function(){return Promise.all([n.e(0),n.e(3)]).then(n.bind(null,"G6rg"))},name:"registration",meta:{title:"registration",icon:"icon",noCache:!0,roles:["admin","editor"]}}]},{path:"/remotereport",component:F,children:[{path:"index",component:function(){return Promise.all([n.e(0),n.e(6)]).then(n.bind(null,"UcTs"))},name:"remotereport",meta:{title:"remotereport",icon:"icon",noCache:!0,roles:["admin","editor"]}},{path:"edit/:id(\\d+)",component:function(){return Promise.all([n.e(0),n.e(5)]).then(n.bind(null,"+qAf"))},name:"reportMain",meta:{title:"reportMain",noCache:!0},hidden:!0}]},{path:"/dict",component:F,meta:{title:"dict",icon:"icon",noCache:!0,roles:["admin","editor"]},children:[{path:"index",component:function(){return n.e(4).then(n.bind(null,"SZpN"))},name:"dict",meta:{title:"dict",icon:"icon",noCache:!0,roles:["admin","editor"]}}]},{path:"/images",component:F,children:[{path:"index",component:function(){return n.e(10).then(n.bind(null,"MPj3"))},name:"images",meta:{title:"images",icon:"icon",noCache:!0,roles:["admin","editor"]}}]},{path:"/permission",component:F,redirect:"/permission/index",alwaysShow:!0,meta:{title:"permission",icon:"lock",roles:["admin","editor"]},children:[{path:"page",component:function(){return n.e(18).then(n.bind(null,"P9Rh"))},name:"pagePermission",meta:{title:"pagePermission",roles:["admin"]}},{path:"directive",component:function(){return n.e(12).then(n.bind(null,"dy4A"))},name:"directivePermission",meta:{title:"directivePermission",roles:["editor"]}}]},{path:"*",redirect:"/404",hidden:!0}])},dNDk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-shoppingCard",use:"icon-shoppingCard-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},egqb:function(e,t){},f0uX:function(e,t){},hdtf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},ig9B:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},l9HB:function(e,t){},oDqC:function(e,t,n){"use strict";t.a={state:{iconsMap:[]},generate:function(e){this.state.iconsMap=e}}},oSYw:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},"pYJ+":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},"ql+d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},s2cW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},"sEM+":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},sTIr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 1069 1024",content:''});s.a.add(r);t.default=r},"sq8/":function(e,t){},tvR6:function(e,t){},uMhA:function(e,t){},vLgD:function(e,t,n){"use strict";var i=n("//Fk"),a=n.n(i),o=n("mtWM"),s=n.n(o),r=n("zL8q"),c=(n.n(r),n("IcnI")),l=n("TIfe"),d=s.a.create({baseURL:"https://api-sit",timeout:5e3});d.interceptors.request.use(function(e){return c.a.getters.token&&(e.headers["X-Token"]=Object(l.a)()),e},function(e){console.log(e),a.a.reject(e)}),d.interceptors.response.use(function(e){return e},function(e){return console.log("err"+e),Object(r.Message)({message:e.message,type:"error",duration:5e3}),a.a.reject(e)}),t.a=d},vRhf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},vUvT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},vuHp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r},wAeJ:function(e,t,n){"use strict";var i={render:function(){var e=this.$createElement,t=this._self._c||e;return t("el-dropdown",{staticClass:"international",attrs:{trigger:"click"},on:{command:this.handleSetLanguage}},[t("div",[t("svg-icon",{attrs:{"class-name":"international-icon","icon-class":"language"}})],1),this._v(" "),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{attrs:{command:"zh",disabled:"zh"===this.language}},[this._v("中文")]),this._v(" "),t("el-dropdown-item",{attrs:{command:"en",disabled:"en"===this.language}},[this._v("English")])],1)],1)},staticRenderFns:[]};var a=n("VU/8")({computed:{language:function(){return this.$store.getters.language}},methods:{handleSetLanguage:function(e){this.$i18n.locale=e,this.$store.dispatch("setLanguage",e),this.$message({message:"switch language success",type:"success"})}}},i,!1,function(e){n("egqb")},"data-v-f2da04d6",null);t.a=a.exports},yh13:function(e,t){},z74U:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 1117 1024",content:''});s.a.add(r);t.default=r},zUKd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Wc9H"),a=n.n(i),o=n("IaZV"),s=n.n(o),r=new a.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(r);t.default=r}},["NHnr"]);