Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xj-hospital/homepage

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xj-hospital/homepage - npm Package Compare versions

Comparing version 1.0.90 to 1.0.91

2

index.js

@@ -1,1 +0,1 @@

(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("_vmm_html"),require("Vue")):"function"===typeof define&&define.amd?define(["_vmm_html","Vue"],t):"object"===typeof exports?exports["main"]=t(require("_vmm_html"),require("Vue")):e["main"]=t(e["_vmm_html"],e["Vue"])})("undefined"!==typeof self?self:this,(function(e,t){return function(e){var t={};function a(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}return a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(n,i,function(t){return e[t]}.bind(null,i));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s="576d")}({"034f":function(e,t,a){"use strict";var n=a("ba7e"),i=a.n(n);i.a},"0418":function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"App-Header"},[a("div",{staticClass:"line-1"},[a("img",{attrs:{src:"/modules/@xj-hospital/homepage/img/logo.png",alt:""}}),a("div",{staticClass:"right"},[a("div",{staticClass:"icon"},[a("Icon",{attrs:{type:"md-notifications",size:"33"}}),a("div",{staticClass:"pot"},[e._v("99")])],1),a("div",{staticClass:"head"},[a("Icon",{attrs:{type:"md-person",size:"30"}})],1)])])])},i=[],r=a("42a3"),o=a.n(r),s=a("9224"),c=a("b50c");o.a.logger(s["name"]+":Home");var d=Vue.extend({data(){return{}},components:{tabs:c["a"]},async created(){}}),l=d,u=(a("77b8"),a("6ffd")),p=Object(u["a"])(l,n,i,!1,null,"191eae18",null);t["a"]=p.exports},"1e1a":function(e,t,a){var n=a("6369");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("b6f6").default;i("55c15fae",n,!0,{sourceMap:!1,shadowMode:!1})},2978:function(e,t,a){var n=a("f98f");t=n(!1),t.push([e.i,".panel[data-v-592c4b94]{padding:0 20px;align-items:center}.panel[data-v-592c4b94],.panel-left[data-v-592c4b94]{display:flex;justify-content:space-between}.panel-left[data-v-592c4b94]{height:140px;flex-direction:column;align-items:flex-start;text-align:left;color:#888}.panel-left[data-v-592c4b94]>:last-child{display:flex;flex-direction:column}.panel-left>:last-child span[data-v-592c4b94]{font-size:36px;color:#444}.panel-right[data-v-592c4b94]{display:flex;flex-direction:column;justify-content:center;align-items:flex-end;border-radius:7px}",""]),e.exports=t},"3eac":function(e,t,a){"use strict";var n=a("1e1a"),i=a.n(n);i.a},"42a3":function(t,a){t.exports=e},"576d":function(e,t,a){"use strict";if(a.r(t),"undefined"!==typeof window){var n=window.document.currentScript,i=a("9e74");n=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var r=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);r&&(a.p=r[1])}var o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app",staticStyle:{position:"relative"}},[e.spinShow?a("div",{staticClass:"cover",staticStyle:{"z-index":"99"},attrs:{size:"large",fix:""}},[a("div",{staticClass:"loader"},[e._v("Loading...")])]):e._e(),a("Header",{directives:[{name:"show",rawName:"v-show",value:e.userId,expression:"userId"}],staticClass:"g1"}),a("HomeTabs",{staticClass:"g2",style:e.userId?"":"height: 100%;",attrs:{isShowHeader:!!e.userId,PageIndex:e.pageIndex,TList:e.tlist},on:{"change-tab":e.changeTab}},[a("transition",{attrs:{name:"page"}},[a("router-view",{staticClass:"router-view"})],1)],1)],1)},s=[],c=a("9ab4"),d=a("42a3"),l=a.n(d),u=a("8bbf"),p=a.n(u),f=a("9224");l.a.logger(f["name"]+":main");const m=new p.a({data(){return{menu:{},venueGroup:[],userInfo:{},devicesPartMent:[]}},computed:{},methods:{setMenu(e,t){this.menu={firstMenu:e,secondMenu:t}},getMenu(){return this.menu}},created(){return Object(c["a"])(this,void 0,void 0,(function*(){}))}});var h=m,v=a("0418"),b=a("b50c");const g=l.a.logger(f.name+":App");var x=p.a.extend({components:{HomeTabs:b["a"],Header:v["a"]},data:()=>({isLineMenu:!0,activeMenu:void 0,userInfo:{},isCollapsed:!1,pkg:f,menuConfig:{"用户":{index:99,icon:"md-person"},"系统配置":{index:100,icon:"ios-cog"},"软件包":{index:100,icon:"ios-appstore"}},readyState:!1,spinShow:!0,model:"",venueCheck:0,canVenueCheck:!1,dataCheck:0,canDataCheck:!1,newNoti:0,canDeviceBorrow:!1,tlist:[{title:"首页",url:"/"},{title:"患者管理",url:"/xj-hospital-patient-management/patient-mgt"},{title:"课题管理",url:"/mshow-3-data-center/topic-manager"},{title:"数据中心",url:"/mshow-3-data-center/data-center"},{title:"数据字典",url:"/mshow-3-data-center/cell-dict"}],pageIndex:0}),computed:{isLogin(){return!0},rotateIcon(){return["menu-icon",this.isCollapsed?"rotate-icon":""]},userId(){return l.a.project.sessions.user?l.a.project.sessions.user._id:void 0},username(){return l.a.project.sessions.user?l.a.project.sessions.user.name:void 0},activeMenu(){return h.menu?h.menu:""}},methods:{logout(){this.model=""},initUserWatch(){return Object(c["a"])(this,void 0,void 0,(function*(){try{const e=yield l.a.project.loadExternalModule("@xj-hospital/basic-user");if(!e)throw Error("load undefine");g.warn("hello`````````````````````````"),this.readyState=!0,yield e.permissions.check_musemu_sso(),yield e.permissions.userWatch_PC("pc-login")}catch(e){setTimeout(()=>{this.initUserWatch()},50)}}))},initTab(){if(this.userId){const e=location.href.split("#")[1].split("?")[0];let t=this.tlist.findIndex(t=>t.url===e);this.pageIndex=-1===t?0:t}},changeTab(e){e.url&&l.a.router.push(e.url)}},created(){return Object(c["a"])(this,void 0,void 0,(function*(){yield this.initUserWatch(),this.spinShow=!1,this.initTab()}))},mounted(){}}),y=x,w=(a("034f"),a("3eac"),a("6ffd")),_=Object(w["a"])(y,o,s,!1,null,"93125c48",null),C=_.exports;const j=l.a.logger(f["name"]+":main");l.a.project.loadVueDir(f["name"],a("9328")),new C({router:l.a.router}).$mount("#app"),j.debug("start ...");const S={breadcrumb:h};window[f["name"].replace(/[@\/-]/g,"_")]=S;var M=S;t["default"]=M},6369:function(e,t,a){var n=a("f98f");t=n(!1),t.push([e.i,".grid[data-v-93125c48]{display:grid;grid-template-columns:repeat(6,1fr);grid-template-rows:68px calc(100vh - 68px);width:100vw;height:100vh}.g1[data-v-93125c48]{grid-row:1;height:68px}.g1[data-v-93125c48],.g2[data-v-93125c48]{grid-column:1/span 6;box-sizing:border-box;width:100%}.g2[data-v-93125c48]{height:calc(100vh - 68px);grid-row:2;overflow:hidden}.loader[data-v-93125c48]{font-size:20px;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load-effect-data-v-93125c48 1s linear infinite;animation:load-effect-data-v-93125c48 1s linear infinite}.cover[data-v-93125c48]{position:absolute;width:100vw;height:100vh;display:flex;justify-content:center;align-items:center}@-webkit-keyframes load-effect-data-v-93125c48{0%{box-shadow:-3em 2em 0 .5em #b8db9a,0 2em 0 0 #b8db9a,3em 2em 0 -.5em #b8db9a}25%{box-shadow:-3em 2em 0 0 #b8db9a,0 2em 0 -.5em #b8db9a,3em 2em 0 0 #b8db9a}50%{box-shadow:-3em 2em 0 -.5em #b8db9a,0 2em 0 0 #b8db9a,3em 2em 0 .5em #b8db9a}75%{box-shadow:-3em 2em 0 0 #b8db9a,0 2em 0 .5em #b8db9a,3em 2em 0 0 #b8db9a}to{box-shadow:-3em 2em 0 .5em #b8db9a,0 2em 0 0 #b8db9a,3em 2em 0 -.5em #b8db9a}}@keyframes load-effect-data-v-93125c48{0%{box-shadow:-3em 2em 0 .5em #b8db9a,0 2em 0 0 #b8db9a,3em 2em 0 -.5em #b8db9a}25%{box-shadow:-3em 2em 0 0 #b8db9a,0 2em 0 -.5em #b8db9a,3em 2em 0 0 #b8db9a}50%{box-shadow:-3em 2em 0 -.5em #b8db9a,0 2em 0 0 #b8db9a,3em 2em 0 .5em #b8db9a}75%{box-shadow:-3em 2em 0 0 #b8db9a,0 2em 0 .5em #b8db9a,3em 2em 0 0 #b8db9a}to{box-shadow:-3em 2em 0 .5em #b8db9a,0 2em 0 0 #b8db9a,3em 2em 0 -.5em #b8db9a}}.router-view[data-v-93125c48]{height:100%;width:100%;overflow:scroll;position:relative}",""]),e.exports=t},"6ffd":function(e,t,a){"use strict";function n(e,t,a,n,i,r,o,s){var c,d="function"===typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=a,d._compiled=!0),n&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),o?(c=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(o)},d._ssrRegister=c):i&&(c=s?function(){i.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(d.functional){d._injectStyles=c;var l=d.render;d.render=function(e,t){return c.call(t),l(e,t)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:d}}a.d(t,"a",(function(){return n}))},"77b8":function(e,t,a){"use strict";var n=a("d67b"),i=a.n(n);i.a},"79cb":function(e,t,a){"use strict";var n=a("98b8"),i=a.n(n);i.a},"7cde":function(e,t,a){"use strict";var n=a("acea"),i=a.n(n);i.a},"8bbf":function(e,a){e.exports=t},"8c73":function(e,t,a){var n=a("f98f");t=n(!1),t.push([e.i,".main[data-v-6710cd51]{display:grid;grid-template-rows:repeat(6,1fr);grid-template-columns:repeat(5,1fr);gap:20px;padding:20px;background:#f5f5f5}.main>div[data-v-6710cd51]{background:#fff;border-radius:7px;box-shadow:0 0 3px #eee}.g1[data-v-6710cd51]{grid-row:1/span 2}.g2[data-v-6710cd51]{grid-row:1/span 3;grid-column:4/span 2}.g3[data-v-6710cd51]{grid-row:3/span 4;grid-column:1/span 3}.g4[data-v-6710cd51]{grid-row:4/span 3;grid-column:4/span 2}",""]),e.exports=t},9224:function(e){e.exports=JSON.parse('{"name":"@xj-hospital/homepage","version":"1.0.90","description":"首页","moduleType":"html","distFiles":["index.js"],"debugFiles":["js/chunk-vendors.js","js/app.js"],"types":"./types/src/main.d.ts","jslib":"@vmm/jslib","scripts":{"serve":"vue-cli-service serve","build":"./build.sh"},"dependencies":{"@vmm/html":"^1.0.174","@vmm/ui":"^1.0.36","view-design":"^4.0.2","vue":"^2.6.10"},"devDependencies":{"@types/lodash.kebabcase":"^4.1.6","@vmm/api":"^1.0.7","@vmm/jslib":"^1.0.72","@vue/cli-plugin-typescript":"^4.0.5","@vue/cli-service":"^4.0.5","lodash.kebabcase":"^4.1.1","moment":"^2.27.0","tsconfig-paths-webpack-plugin":"^3.2.0","typescript":"^3.6.4","vue-template-compiler":"^2.6.10"},"license":"MIT","optionalDependencies":{}}')},9328:function(e,t,a){var n={"./Home.vue":"bb51"};function i(e){var t=r(e);return a(t)}function r(e){if(!a.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=r,e.exports=i,i.id="9328"},"96c5":function(e,t,a){"use strict";var n=a("d803"),i=a.n(n);i.a},"98b8":function(e,t,a){var n=a("8c73");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("b6f6").default;i("7d37146a",n,!0,{sourceMap:!1,shadowMode:!1})},"9ab4":function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));function n(e,t,a,n){function i(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,r){function o(e){try{c(n.next(e))}catch(t){r(t)}}function s(e){try{c(n["throw"](e))}catch(t){r(t)}}function c(e){e.done?a(e.value):i(e.value).then(o,s)}c((n=n.apply(e,t||[])).next())}))}},"9e74":function(e,t,a){var n,i,r;(function(a,o){i=[],n=o,r="function"===typeof n?n.apply(t,i):n,void 0===r||(e.exports=r)})("undefined"!==typeof self&&self,(function(){function e(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(u){var e,t,a,n=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,i=/@([^@]*):(\d+):(\d+)\s*$/gi,r=n.exec(u.stack)||i.exec(u.stack),o=r&&r[1]||!1,s=r&&r[2]||!1,c=document.location.href.replace(document.location.hash,""),d=document.getElementsByTagName("script");o===c&&(e=document.documentElement.outerHTML,t=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),a=e.replace(t,"$1").trim());for(var l=0;l<d.length;l++){if("interactive"===d[l].readyState)return d[l];if(d[l].src===o)return d[l];if(o===c&&d[l].innerHTML&&d[l].innerHTML.trim()===a)return d[l]}return null}}return e}))},acea:function(e,t,a){var n=a("d08b");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("b6f6").default;i("4bd1a088",n,!0,{sourceMap:!1,shadowMode:!1})},b50c:function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"container"},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowHeader,expression:"isShowHeader"}],staticClass:"tab-h"},[a("div",{staticClass:"Tabs"},e._l(e.tabIndexes,(function(t,n){return a("div",{key:t.value,ref:"tab-"+n,refInFor:!0,staticClass:"tab",style:"width: "+e.getWidth(t.title.length)+"px;",on:{click:function(t){e.current=n}}},[e._v(e._s(t.title))])})),0),a("div",{staticClass:"home-divider"},[a("div",{staticClass:"underline",style:"width:"+e.getSliderWidth(e.tabIndexes[e.current].title.length)+"px; margin-left:"+e.getLeft()+"px;"})])]),a("div",{staticClass:"display-page"},[e._t("default")],2)])},i=[],r=a("8bbf"),o=a.n(r),s=o.a.component("Home-Tabs",{props:{TList:Array,PageIndex:Number,isShowHeader:Boolean},data(){return{tabIndexes:[],current:0}},computed:{},watch:{current(){this.$emit("change-tab",this.tabIndexes[this.current])},PageIndex(){this.current=this.PageIndex}},methods:{getLeft(){let e=0;for(let t=0;t<this.current;t++)e+=this.tabIndexes[t].width+6;return e+3},getSliderWidth(e){return this.getWidth(e)},getWidth(e){return 15*e+20}},mounted(){},created(){let e=[];this.TList&&(e=this.TList),this.tabIndexes=e.map(e=>(e.width=this.getWidth(e.title.length),e))}}),c=s,d=(a("7cde"),a("6ffd")),l=Object(d["a"])(c,n,i,!1,null,"205ca375",null);t["a"]=l.exports},b6f6:function(e,t,a){"use strict";function n(e,t){for(var a=[],n={},i=0;i<t.length;i++){var r=t[i],o=r[0],s=r[1],c=r[2],d=r[3],l={id:e+":"+i,css:s,media:c,sourceMap:d};n[o]?n[o].parts.push(l):a.push(n[o]={id:o,parts:[l]})}return a}a.r(t),a.d(t,"default",(function(){return m}));var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)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 r={},o=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,d=!1,l=function(){},u=null,p="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function m(e,t,a,i){d=a,u=i||{};var o=n(e,t);return h(o),function(t){for(var a=[],i=0;i<o.length;i++){var s=o[i],c=r[s.id];c.refs--,a.push(c)}t?(o=n(e,t),h(o)):o=[];for(i=0;i<a.length;i++){c=a[i];if(0===c.refs){for(var d=0;d<c.parts.length;d++)c.parts[d]();delete r[c.id]}}}}function h(e){for(var t=0;t<e.length;t++){var a=e[t],n=r[a.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](a.parts[i]);for(;i<a.parts.length;i++)n.parts.push(b(a.parts[i]));n.parts.length>a.parts.length&&(n.parts.length=a.parts.length)}else{var o=[];for(i=0;i<a.parts.length;i++)o.push(b(a.parts[i]));r[a.id]={id:a.id,refs:1,parts:o}}}}function v(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function b(e){var t,a,n=document.querySelector("style["+p+'~="'+e.id+'"]');if(n){if(d)return l;n.parentNode.removeChild(n)}if(f){var i=c++;n=s||(s=v()),t=x.bind(null,n,i,!1),a=x.bind(null,n,i,!0)}else n=v(),t=y.bind(null,n),a=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else a()}}var g=function(){var e=[];return function(t,a){return e[t]=a,e.filter(Boolean).join("\n")}}();function x(e,t,a,n){var i=a?"":n.css;if(e.styleSheet)e.styleSheet.cssText=g(t,i);else{var r=document.createTextNode(i),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(r,o[t]):e.appendChild(r)}}function y(e,t){var a=t.css,n=t.media,i=t.sourceMap;if(n&&e.setAttribute("media",n),u.ssrId&&e.setAttribute(p,t.id),i&&(a+="\n/*# sourceURL="+i.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=a;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(a))}}},ba7e:function(e,t,a){var n=a("d1be");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("b6f6").default;i("936ac870",n,!0,{sourceMap:!1,shadowMode:!1})},bb51:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"main",attrs:{pic:"blue.png"}},[a("Panel",{staticClass:"g1",attrs:{isHideEnter:!1,pic:"blue.png"}},[a("template",{slot:"content"},[a("span",[e._v("2")]),e._v(" 个 ")]),a("template",{slot:"header"},[a("h2",[e._v("课题")])])],2),a("Panel",{staticClass:"g1",attrs:{isHideEnter:!1,pic:"pink.png"}},[a("template",{slot:"content"},[a("span",[e._v("15")]),e._v(" 待审核 ")]),a("template",{slot:"header"},[a("h2",[e._v("审核")])])],2),a("Panel",{staticClass:"g1",attrs:{pic:"orange.png",isHideEnter:!0}},[a("template",{slot:"content"},[a("div")]),a("template",{slot:"header"},[a("h2",[e._v("统计")])])],2),a("div",{staticClass:"g2"}),a("patient",{staticClass:"g3"}),a("noti",{staticClass:"g4"})],1)},i=[],r=a("42a3"),o=a.n(r),s=a("9224"),c=a("0418"),d=a("b50c"),l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"panel"},[a("div",{staticClass:"panel-left"},[e._t("header",[a("h1",[e._v("标题")])]),a("div",[a("div",[e._t("content",[a("span",[e._v("高亮")]),e._v("内容 ")])],2),a("div",[e.isHideEnter?e._e():a("Icon",{staticStyle:{"font-size":"28px"},attrs:{type:"ios-arrow-dropright-circle"}})],1)])],2),a("div",{staticClass:"panel-right"},[a("img",{attrs:{src:e.getUrl(e.pic||"blue.png"),alt:""}})])])},u=[],p=a("9ab4"),f=a("8bbf"),m=a.n(f);o.a.logger(s["name"]+":Home");var h=m.a.extend({data(){return{}},props:{isHideEnter:Boolean,pic:String},components:{},methods:{getUrl(e){return"/modules/@xj-hospital/homepage/img/"+e}},created(){return Object(p["a"])(this,void 0,void 0,(function*(){}))}}),v=h,b=(a("96c5"),a("6ffd")),g=Object(b["a"])(v,l,u,!1,null,"592c4b94",null),x=g.exports;o.a.logger(s["name"]+":Home");var y=Vue.extend({title:"首页",name:"Home",icon:"ios-home-outline",type:"page",data(){return{}},components:{tabs:d["a"],Header:c["a"],Panel:x,noti:()=>o.a.project.vueComponent("@xj-hospital/notification","notiList"),patient:()=>o.a.project.vueComponent("@xj-hospital/patient-management","patientMgtSimple")},async created(){}}),w=y,_=(a("79cb"),Object(b["a"])(w,n,i,!1,null,"6710cd51",null));t["default"]=_.exports},cd32:function(e,t,a){var n=a("f98f");t=n(!1),t.push([e.i,".line-1[data-v-191eae18]{display:flex;justify-content:space-between}.line-1>img[data-v-191eae18]{width:390px;height:48px}.App-Header[data-v-191eae18]{padding:10px;margin:auto}.icon[data-v-191eae18]{position:relative}.pot[data-v-191eae18]{height:20px;width:20px;background:#e22605;position:absolute;right:0;top:0;border-radius:10px;border:2px solid #fff;color:#fff;font-size:9px}.head[data-v-191eae18],.pot[data-v-191eae18]{display:flex;justify-content:center;align-items:center}.head[data-v-191eae18]{padding:3px;border-radius:30px;border:1px solid #f5f0f0;box-shadow:0 0 3px #e0e0e0;flex-shrink:0;width:38px;height:38px}.right[data-v-191eae18]{display:flex;justify-content:space-around;align-items:center;width:100px;height:48px}",""]),e.exports=t},d08b:function(e,t,a){var n=a("f98f");t=n(!1),t.push([e.i,".container[data-v-205ca375]{margin:0;height:100%;text-align:center}.Tabs[data-v-205ca375]{display:inline-flex;color:#6f6f6f}.tab[data-v-205ca375]{padding:5px 10px;margin:0 3px;background:#fff;box-sizing:border-box;font-size:15px;font-weight:bolder;text-align:center}.home-divider[data-v-205ca375]{height:2px;background-color:#f0f0f0;display:inline-flex}.underline[data-v-205ca375]{transition:.5s;height:2px;background-color:#589d60}.display-page[data-v-205ca375]{height:calc(100% - 33px);overflow:hidden}.pages[data-v-205ca375]{display:flex;flex-direction:row;transition:margin-left .5s}.pages[data-v-205ca375],.pages>div[data-v-205ca375]{height:100%;width:100%;flex-shrink:0}.pages>div[data-v-205ca375]{background:#f5f5f5}.tab-h[data-v-205ca375]{display:flex;flex-direction:column;display:inline-flex}",""]),e.exports=t},d1be:function(e,t,a){var n=a("f98f");t=n(!1),t.push([e.i,".app,body,html{width:100%;height:100%;overflow-x:hidden}.table-t{font-size:18px;font-weight:700;letter-spacing:5px;color:#65a571}",""]),e.exports=t},d67b:function(e,t,a){var n=a("cd32");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("b6f6").default;i("546136cf",n,!0,{sourceMap:!1,shadowMode:!1})},d803:function(e,t,a){var n=a("2978");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("b6f6").default;i("013a8cbe",n,!0,{sourceMap:!1,shadowMode:!1})},f98f:function(e,t,a){"use strict";function n(e,t){var a=e[1]||"",n=e[3];if(!n)return a;if(t&&"function"===typeof btoa){var r=i(n),o=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[a].concat(o).concat([r]).join("\n")}return[a].join("\n")}function i(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(a," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a=n(t,e);return t[2]?"@media ".concat(t[2]," {").concat(a,"}"):a})).join("")},t.i=function(e,a,n){"string"===typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var r=0;r<this.length;r++){var o=this[r][0];null!=o&&(i[o]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);n&&i[c[0]]||(a&&(c[2]?c[2]="".concat(a," and ").concat(c[2]):c[2]=a),t.push(c))}},t}}})}));
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("_vmm_html"),require("Vue")):"function"===typeof define&&define.amd?define(["_vmm_html","Vue"],t):"object"===typeof exports?exports["main"]=t(require("_vmm_html"),require("Vue")):e["main"]=t(e["_vmm_html"],e["Vue"])})("undefined"!==typeof self?self:this,(function(e,t){return function(e){var t={};function a(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}return a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(n,i,function(t){return e[t]}.bind(null,i));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s="576d")}({"034f":function(e,t,a){"use strict";var n=a("38bf"),i=a.n(n);i.a},"0418":function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"App-Header"},[a("div",{staticClass:"line-1"},[a("img",{attrs:{src:"/modules/@xj-hospital/homepage/img/logo.png",alt:""}}),a("div",{staticClass:"right"},[a("div",{staticClass:"icon"},[a("Icon",{attrs:{type:"md-notifications",size:"33"}}),a("div",{staticClass:"pot"},[e._v("99")])],1),a("div",{staticClass:"head"},[a("Icon",{attrs:{type:"md-person",size:"30"}})],1)])])])},i=[],r=a("42a3"),o=a.n(r),s=a("9224"),d=a("b50c");o.a.logger(s["name"]+":Home");var c=Vue.extend({data(){return{}},components:{tabs:d["a"]},async created(){}}),l=c,u=(a("77b8"),a("0782")),p=Object(u["a"])(l,n,i,!1,null,"191eae18",null);t["a"]=p.exports},"0782":function(e,t,a){"use strict";function n(e,t,a,n,i,r,o,s){var d,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=a,c._compiled=!0),n&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),o?(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(o)},c._ssrRegister=d):i&&(d=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),d)if(c.functional){c._injectStyles=d;var l=c.render;c.render=function(e,t){return d.call(t),l(e,t)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,d):[d]}return{exports:e,options:c}}a.d(t,"a",(function(){return n}))},"17a9":function(e,t,a){var n=a("85dd");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("b6f6").default;i("403f75c5",n,!0,{sourceMap:!1,shadowMode:!1})},"1a39":function(e,t,a){var n=a("6d8e");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("b6f6").default;i("3ebe0b19",n,!0,{sourceMap:!1,shadowMode:!1})},"340d":function(e,t,a){var n=a("505a");t=n(!1),t.push([e.i,".app,body,html{width:100%;height:100%;overflow-x:hidden}.table-t{font-size:18px;font-weight:700;letter-spacing:5px;color:#65a571}",""]),e.exports=t},"38bf":function(e,t,a){var n=a("340d");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("b6f6").default;i("2bd19b88",n,!0,{sourceMap:!1,shadowMode:!1})},"3aac":function(e,t,a){var n=a("505a");t=n(!1),t.push([e.i,".line-1[data-v-191eae18]{display:flex;justify-content:space-between}.line-1>img[data-v-191eae18]{width:390px;height:48px}.App-Header[data-v-191eae18]{padding:10px;margin:auto}.icon[data-v-191eae18]{position:relative}.pot[data-v-191eae18]{height:20px;width:20px;background:#e22605;position:absolute;right:0;top:0;border-radius:10px;border:2px solid #fff;color:#fff;font-size:9px}.head[data-v-191eae18],.pot[data-v-191eae18]{display:flex;justify-content:center;align-items:center}.head[data-v-191eae18]{padding:3px;border-radius:30px;border:1px solid #f5f0f0;box-shadow:0 0 3px #e0e0e0;flex-shrink:0;width:38px;height:38px}.right[data-v-191eae18]{display:flex;justify-content:space-around;align-items:center;width:100px;height:48px}",""]),e.exports=t},"42a3":function(t,a){t.exports=e},"505a":function(e,t,a){"use strict";function n(e,t){var a=e[1]||"",n=e[3];if(!n)return a;if(t&&"function"===typeof btoa){var r=i(n),o=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[a].concat(o).concat([r]).join("\n")}return[a].join("\n")}function i(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(a," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a=n(t,e);return t[2]?"@media ".concat(t[2]," {").concat(a,"}"):a})).join("")},t.i=function(e,a,n){"string"===typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var r=0;r<this.length;r++){var o=this[r][0];null!=o&&(i[o]=!0)}for(var s=0;s<e.length;s++){var d=[].concat(e[s]);n&&i[d[0]]||(a&&(d[2]?d[2]="".concat(a," and ").concat(d[2]):d[2]=a),t.push(d))}},t}},"576d":function(e,t,a){"use strict";if(a.r(t),"undefined"!==typeof window){var n=window.document.currentScript,i=a("9e74");n=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var r=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);r&&(a.p=r[1])}var o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app",staticStyle:{position:"relative"}},[e.spinShow?a("div",{staticClass:"cover",staticStyle:{"z-index":"99"},attrs:{size:"large",fix:""}},[a("div",{staticClass:"loader"},[e._v("Loading...")])]):e._e(),a("Header",{directives:[{name:"show",rawName:"v-show",value:e.userId,expression:"userId"}],staticClass:"g1"}),a("HomeTabs",{staticClass:"g2",style:e.userId?"":"height: 100%;",attrs:{isShowHeader:!!e.userId,PageIndex:e.pageIndex,TList:e.tlist},on:{"change-tab":e.changeTab}},[a("transition",{attrs:{name:"page"}},[a("router-view",{staticClass:"router-view"})],1)],1)],1)},s=[],d=a("9ab4"),c=a("42a3"),l=a.n(c),u=a("8bbf"),p=a.n(u),f=a("9224");l.a.logger(f["name"]+":main");const m=new p.a({data(){return{menu:{},venueGroup:[],userInfo:{},devicesPartMent:[]}},computed:{},methods:{setMenu(e,t){this.menu={firstMenu:e,secondMenu:t}},getMenu(){return this.menu}},created(){return Object(d["a"])(this,void 0,void 0,(function*(){}))}});var h=m,v=a("0418"),b=a("b50c");const g=l.a.logger(f.name+":App");var x=p.a.extend({components:{HomeTabs:b["a"],Header:v["a"]},data:()=>({isLineMenu:!0,activeMenu:void 0,userInfo:{},isCollapsed:!1,pkg:f,menuConfig:{"用户":{index:99,icon:"md-person"},"系统配置":{index:100,icon:"ios-cog"},"软件包":{index:100,icon:"ios-appstore"}},readyState:!1,spinShow:!0,model:"",venueCheck:0,canVenueCheck:!1,dataCheck:0,canDataCheck:!1,newNoti:0,canDeviceBorrow:!1,tlist:[{title:"首页",url:"/"},{title:"患者管理",url:"/xj-hospital-patient-management/patient-mgt"},{title:"课题管理",url:"/mshow-3-data-center/topic-manager"},{title:"数据中心",url:"/mshow-3-data-center/data-center"},{title:"数据字典",url:"/mshow-3-data-center/cell-dict"}],pageIndex:0}),computed:{isLogin(){return!0},rotateIcon(){return["menu-icon",this.isCollapsed?"rotate-icon":""]},userId(){return l.a.project.sessions.user?l.a.project.sessions.user._id:void 0},username(){return l.a.project.sessions.user?l.a.project.sessions.user.name:void 0},activeMenu(){return h.menu?h.menu:""}},watch:{$route(e,t){const{isCheck:a}=this.$route.query;a&&this.initTab()}},methods:{logout(){this.model=""},initUserWatch(){return Object(d["a"])(this,void 0,void 0,(function*(){try{const e=yield l.a.project.loadExternalModule("@xj-hospital/basic-user");if(!e)throw Error("load undefine");g.warn("hello`````````````````````````"),this.readyState=!0,yield e.permissions.check_musemu_sso(),yield e.permissions.userWatch_PC("pc-login")}catch(e){setTimeout(()=>{this.initUserWatch()},50)}}))},initTab(){if(this.userId){const e=location.href.split("#")[1].split("?")[0];let t=this.tlist.findIndex(t=>t.url===e);this.pageIndex=-1===t?0:t}},changeTab(e){e.url&&l.a.router.push(e.url)}},created(){return Object(d["a"])(this,void 0,void 0,(function*(){yield this.initUserWatch(),this.spinShow=!1,this.initTab()}))},mounted(){}}),y=x,w=(a("034f"),a("8249"),a("0782")),_=Object(w["a"])(y,o,s,!1,null,"0f83b372",null),C=_.exports;const j=l.a.logger(f["name"]+":main");l.a.project.loadVueDir(f["name"],a("9328")),new C({router:l.a.router}).$mount("#app"),j.debug("start ...");const S={breadcrumb:h};window[f["name"].replace(/[@\/-]/g,"_")]=S;var M=S;t["default"]=M},"5c59":function(e,t,a){"use strict";var n=a("6578"),i=a.n(n);i.a},"5ea6":function(e,t,a){var n=a("3aac");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("b6f6").default;i("0d600262",n,!0,{sourceMap:!1,shadowMode:!1})},6578:function(e,t,a){var n=a("97a9");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("b6f6").default;i("5bdbdb2e",n,!0,{sourceMap:!1,shadowMode:!1})},"6d8e":function(e,t,a){var n=a("505a");t=n(!1),t.push([e.i,".grid[data-v-0f83b372]{display:grid;grid-template-columns:repeat(6,1fr);grid-template-rows:68px calc(100vh - 68px);width:100vw;height:100vh}.g1[data-v-0f83b372]{grid-row:1;height:68px}.g1[data-v-0f83b372],.g2[data-v-0f83b372]{grid-column:1/span 6;box-sizing:border-box;width:100%}.g2[data-v-0f83b372]{height:calc(100vh - 68px);grid-row:2;overflow:hidden}.loader[data-v-0f83b372]{font-size:20px;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load-effect-data-v-0f83b372 1s linear infinite;animation:load-effect-data-v-0f83b372 1s linear infinite}.cover[data-v-0f83b372]{position:absolute;width:100vw;height:100vh;display:flex;justify-content:center;align-items:center}@-webkit-keyframes load-effect-data-v-0f83b372{0%{box-shadow:-3em 2em 0 .5em #b8db9a,0 2em 0 0 #b8db9a,3em 2em 0 -.5em #b8db9a}25%{box-shadow:-3em 2em 0 0 #b8db9a,0 2em 0 -.5em #b8db9a,3em 2em 0 0 #b8db9a}50%{box-shadow:-3em 2em 0 -.5em #b8db9a,0 2em 0 0 #b8db9a,3em 2em 0 .5em #b8db9a}75%{box-shadow:-3em 2em 0 0 #b8db9a,0 2em 0 .5em #b8db9a,3em 2em 0 0 #b8db9a}to{box-shadow:-3em 2em 0 .5em #b8db9a,0 2em 0 0 #b8db9a,3em 2em 0 -.5em #b8db9a}}@keyframes load-effect-data-v-0f83b372{0%{box-shadow:-3em 2em 0 .5em #b8db9a,0 2em 0 0 #b8db9a,3em 2em 0 -.5em #b8db9a}25%{box-shadow:-3em 2em 0 0 #b8db9a,0 2em 0 -.5em #b8db9a,3em 2em 0 0 #b8db9a}50%{box-shadow:-3em 2em 0 -.5em #b8db9a,0 2em 0 0 #b8db9a,3em 2em 0 .5em #b8db9a}75%{box-shadow:-3em 2em 0 0 #b8db9a,0 2em 0 .5em #b8db9a,3em 2em 0 0 #b8db9a}to{box-shadow:-3em 2em 0 .5em #b8db9a,0 2em 0 0 #b8db9a,3em 2em 0 -.5em #b8db9a}}.router-view[data-v-0f83b372]{height:100%;width:100%;overflow:scroll;position:relative}",""]),e.exports=t},"77b8":function(e,t,a){"use strict";var n=a("5ea6"),i=a.n(n);i.a},8249:function(e,t,a){"use strict";var n=a("1a39"),i=a.n(n);i.a},"82d8":function(e,t,a){var n=a("505a");t=n(!1),t.push([e.i,".panel[data-v-592c4b94]{padding:0 20px;align-items:center}.panel[data-v-592c4b94],.panel-left[data-v-592c4b94]{display:flex;justify-content:space-between}.panel-left[data-v-592c4b94]{height:140px;flex-direction:column;align-items:flex-start;text-align:left;color:#888}.panel-left[data-v-592c4b94]>:last-child{display:flex;flex-direction:column}.panel-left>:last-child span[data-v-592c4b94]{font-size:36px;color:#444}.panel-right[data-v-592c4b94]{display:flex;flex-direction:column;justify-content:center;align-items:flex-end;border-radius:7px}",""]),e.exports=t},"85dd":function(e,t,a){var n=a("505a");t=n(!1),t.push([e.i,".home-tab-container[data-v-6afd7a22]{margin:0;height:100%;text-align:center}.home-tabs[data-v-6afd7a22]{display:inline-flex;color:#6f6f6f}.home-tab[data-v-6afd7a22]{padding:5px 10px;margin:0 3px;background:#fff;box-sizing:border-box;font-size:15px;font-weight:bolder;text-align:center}.home-divider[data-v-6afd7a22]{height:2px;background-color:#f0f0f0;display:inline-flex}.underline[data-v-6afd7a22]{transition:.5s;height:2px;background-color:#589d60}.display-page[data-v-6afd7a22]{height:calc(100% - 33px);overflow:hidden}.pages[data-v-6afd7a22]{display:flex;flex-direction:row;transition:margin-left .5s}.pages[data-v-6afd7a22],.pages>div[data-v-6afd7a22]{height:100%;width:100%;flex-shrink:0}.pages>div[data-v-6afd7a22]{background:#f5f5f5}.home-tab-h[data-v-6afd7a22]{display:flex;flex-direction:column;display:inline-flex}",""]),e.exports=t},"8bbf":function(e,a){e.exports=t},9224:function(e){e.exports=JSON.parse('{"name":"@xj-hospital/homepage","version":"1.0.91","description":"首页","moduleType":"html","distFiles":["index.js"],"debugFiles":["js/chunk-vendors.js","js/app.js"],"types":"./types/src/main.d.ts","jslib":"@vmm/jslib","scripts":{"serve":"vue-cli-service serve","build":"./build.sh"},"dependencies":{"@vmm/html":"^1.0.174","@vmm/ui":"^1.0.36","view-design":"^4.0.2","vue":"^2.6.10"},"devDependencies":{"@types/lodash.kebabcase":"^4.1.6","@vmm/api":"^1.0.7","@vmm/jslib":"^1.0.72","@vue/cli-plugin-typescript":"^4.0.5","@vue/cli-service":"^4.0.5","lodash.kebabcase":"^4.1.1","moment":"^2.27.0","tsconfig-paths-webpack-plugin":"^3.2.0","typescript":"^3.6.4","vue-template-compiler":"^2.6.10"},"license":"MIT","optionalDependencies":{}}')},9328:function(e,t,a){var n={"./Home.vue":"bb51"};function i(e){var t=r(e);return a(t)}function r(e){if(!a.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=r,e.exports=i,i.id="9328"},"96c5":function(e,t,a){"use strict";var n=a("d411"),i=a.n(n);i.a},"97a9":function(e,t,a){var n=a("505a");t=n(!1),t.push([e.i,".main[data-v-57996f3a]{display:grid;grid-template-rows:repeat(6,1fr);grid-template-columns:repeat(5,1fr);gap:20px;padding:20px;background:#f5f5f5}.main>div[data-v-57996f3a]{background:#fff;border-radius:7px;box-shadow:0 0 3px #eee}.g1[data-v-57996f3a]{grid-row:1/span 2}.g2[data-v-57996f3a]{grid-row:1/span 3;grid-column:4/span 2}.g3[data-v-57996f3a]{grid-row:3/span 4;grid-column:1/span 3}.g4[data-v-57996f3a]{grid-row:4/span 3;grid-column:4/span 2}",""]),e.exports=t},"9ab4":function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));function n(e,t,a,n){function i(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,r){function o(e){try{d(n.next(e))}catch(t){r(t)}}function s(e){try{d(n["throw"](e))}catch(t){r(t)}}function d(e){e.done?a(e.value):i(e.value).then(o,s)}d((n=n.apply(e,t||[])).next())}))}},"9e74":function(e,t,a){var n,i,r;(function(a,o){i=[],n=o,r="function"===typeof n?n.apply(t,i):n,void 0===r||(e.exports=r)})("undefined"!==typeof self&&self,(function(){function e(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(u){var e,t,a,n=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,i=/@([^@]*):(\d+):(\d+)\s*$/gi,r=n.exec(u.stack)||i.exec(u.stack),o=r&&r[1]||!1,s=r&&r[2]||!1,d=document.location.href.replace(document.location.hash,""),c=document.getElementsByTagName("script");o===d&&(e=document.documentElement.outerHTML,t=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),a=e.replace(t,"$1").trim());for(var l=0;l<c.length;l++){if("interactive"===c[l].readyState)return c[l];if(c[l].src===o)return c[l];if(o===d&&c[l].innerHTML&&c[l].innerHTML.trim()===a)return c[l]}return null}}return e}))},b50c:function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"home-tab-container"},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowHeader,expression:"isShowHeader"}],staticClass:"home-tab-h"},[a("div",{staticClass:"home-tabs"},e._l(e.tabIndexes,(function(t,n){return a("div",{key:t.value,ref:"tab-"+n,refInFor:!0,staticClass:"home-tab",style:"width: "+e.getWidth(t.title.length)+"px;",on:{click:function(t){e.current=n}}},[e._v(e._s(t.title))])})),0),a("div",{staticClass:"home-divider"},[a("div",{staticClass:"underline",style:"width:"+e.getSliderWidth(e.tabIndexes[e.current].title.length)+"px; margin-left:"+e.getLeft()+"px;"})])]),a("div",{staticClass:"display-page"},[e._t("default")],2)])},i=[],r=a("8bbf"),o=a.n(r),s=o.a.component("Home-Tabs",{props:{TList:Array,PageIndex:Number,isShowHeader:Boolean},data(){return{tabIndexes:[],current:0}},computed:{},watch:{current(){this.$emit("change-tab",this.tabIndexes[this.current])},PageIndex(){this.current=this.PageIndex}},methods:{getLeft(){let e=0;for(let t=0;t<this.current;t++)e+=this.tabIndexes[t].width+6;return e+3},getSliderWidth(e){return this.getWidth(e)},getWidth(e){return 15*e+20}},mounted(){},created(){let e=[];this.TList&&(e=this.TList),this.tabIndexes=e.map(e=>(e.width=this.getWidth(e.title.length),e))}}),d=s,c=(a("eb7f"),a("0782")),l=Object(c["a"])(d,n,i,!1,null,"6afd7a22",null);t["a"]=l.exports},b6f6:function(e,t,a){"use strict";function n(e,t){for(var a=[],n={},i=0;i<t.length;i++){var r=t[i],o=r[0],s=r[1],d=r[2],c=r[3],l={id:e+":"+i,css:s,media:d,sourceMap:c};n[o]?n[o].parts.push(l):a.push(n[o]={id:o,parts:[l]})}return a}a.r(t),a.d(t,"default",(function(){return m}));var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)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 r={},o=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,d=0,c=!1,l=function(){},u=null,p="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function m(e,t,a,i){c=a,u=i||{};var o=n(e,t);return h(o),function(t){for(var a=[],i=0;i<o.length;i++){var s=o[i],d=r[s.id];d.refs--,a.push(d)}t?(o=n(e,t),h(o)):o=[];for(i=0;i<a.length;i++){d=a[i];if(0===d.refs){for(var c=0;c<d.parts.length;c++)d.parts[c]();delete r[d.id]}}}}function h(e){for(var t=0;t<e.length;t++){var a=e[t],n=r[a.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](a.parts[i]);for(;i<a.parts.length;i++)n.parts.push(b(a.parts[i]));n.parts.length>a.parts.length&&(n.parts.length=a.parts.length)}else{var o=[];for(i=0;i<a.parts.length;i++)o.push(b(a.parts[i]));r[a.id]={id:a.id,refs:1,parts:o}}}}function v(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function b(e){var t,a,n=document.querySelector("style["+p+'~="'+e.id+'"]');if(n){if(c)return l;n.parentNode.removeChild(n)}if(f){var i=d++;n=s||(s=v()),t=x.bind(null,n,i,!1),a=x.bind(null,n,i,!0)}else n=v(),t=y.bind(null,n),a=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else a()}}var g=function(){var e=[];return function(t,a){return e[t]=a,e.filter(Boolean).join("\n")}}();function x(e,t,a,n){var i=a?"":n.css;if(e.styleSheet)e.styleSheet.cssText=g(t,i);else{var r=document.createTextNode(i),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(r,o[t]):e.appendChild(r)}}function y(e,t){var a=t.css,n=t.media,i=t.sourceMap;if(n&&e.setAttribute("media",n),u.ssrId&&e.setAttribute(p,t.id),i&&(a+="\n/*# sourceURL="+i.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=a;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(a))}}},bb51:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"main",attrs:{pic:"blue.png"}},[a("Panel",{staticClass:"g1",attrs:{isHideEnter:!1,pic:"blue.png"}},[a("template",{slot:"content"},[a("span",[e._v("2")]),e._v(" 个 ")]),a("template",{slot:"header"},[a("h2",[e._v("课题")])])],2),a("Panel",{staticClass:"g1",attrs:{isHideEnter:!1,pic:"pink.png"}},[a("template",{slot:"content"},[a("span",[e._v("15")]),e._v(" 待审核 ")]),a("template",{slot:"header"},[a("h2",[e._v("审核")])])],2),a("Panel",{staticClass:"g1",attrs:{pic:"orange.png",isHideEnter:!0}},[a("template",{slot:"content"},[a("div")]),a("template",{slot:"header"},[a("h2",[e._v("统计")])])],2),a("div",{staticClass:"g2"}),a("patient",{staticClass:"g3"}),a("noti",{staticClass:"g4"})],1)},i=[],r=a("42a3"),o=a.n(r),s=a("9224"),d=a("0418"),c=a("b50c"),l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"panel"},[a("div",{staticClass:"panel-left"},[e._t("header",[a("h1",[e._v("标题")])]),a("div",[a("div",[e._t("content",[a("span",[e._v("高亮")]),e._v("内容 ")])],2),a("div",[e.isHideEnter?e._e():a("Icon",{staticStyle:{"font-size":"28px"},attrs:{type:"ios-arrow-dropright-circle"}})],1)])],2),a("div",{staticClass:"panel-right"},[a("img",{attrs:{src:e.getUrl(e.pic||"blue.png"),alt:""}})])])},u=[],p=a("9ab4"),f=a("8bbf"),m=a.n(f);o.a.logger(s["name"]+":Home");var h=m.a.extend({data(){return{}},props:{isHideEnter:Boolean,pic:String},components:{},methods:{getUrl(e){return"/modules/@xj-hospital/homepage/img/"+e}},created(){return Object(p["a"])(this,void 0,void 0,(function*(){}))}}),v=h,b=(a("96c5"),a("0782")),g=Object(b["a"])(v,l,u,!1,null,"592c4b94",null),x=g.exports;o.a.logger(s["name"]+":Home");var y=Vue.extend({title:"首页",name:"Home",icon:"ios-home-outline",type:"page",data(){return{}},components:{tabs:c["a"],Header:d["a"],Panel:x,noti:()=>o.a.project.vueComponent("@xj-hospital/notification","notiList"),patient:()=>o.a.project.vueComponent("@xj-hospital/patient-management","patientMgtSimple")},async created(){}}),w=y,_=(a("5c59"),Object(b["a"])(w,n,i,!1,null,"57996f3a",null));t["default"]=_.exports},d411:function(e,t,a){var n=a("82d8");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("b6f6").default;i("233b54be",n,!0,{sourceMap:!1,shadowMode:!1})},eb7f:function(e,t,a){"use strict";var n=a("17a9"),i=a.n(n);i.a}})}));
{
"name": "@xj-hospital/homepage",
"version": "1.0.90",
"version": "1.0.91",
"description": "首页",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc