You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
637 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["about"],{"0029":function(A,t,e){},"028d":function(A,t,e){},"03da":function(A,t,e){"use strict";e.r(t);var a=function(){var A=this,t=A._self._c;return t("div",{staticStyle:{"flex-direction":"row"}},[t("div",{staticClass:"create-box-container"},[t("router-view",{staticClass:"create-box-content"})],1)])},i=[],s=e("d374"),n=e("ed3b"),r=e("0f7e"),o={components:{Step:s["a"]},data(){return{current:0}},methods:{async showModal(){const A=this.$createElement,t={param:{}};let e=await Object(r["I"])(t);const{code:a,msg:i,data:s}=e;200===a?(this.qrCode=s.path,n["a"].info({title:"扫码录入病人信息",content:A("div",{style:"width:180px;overflow:hidden; margin:30px auto 0;"},[A("img",{attrs:{src:this.qrCode},style:"transform:scale(2);"})]),okText:"确定",onOk(){}})):this.$message.error(i||"二维码获取失败")}}},l=o,c=(e("1f27"),e("2877")),d=Object(c["a"])(l,a,i,!1,null,"12d02363",null);t["default"]=d.exports},"03f1":function(A,t,e){},"0501":function(A,t,e){"use strict";e("5cc5")},"0720":function(A,t,e){"use strict";var a=function(){var A=this,t=A._self._c;return t("div",[A.scaleData?t("div",{staticClass:"box-card"},[t("div",{staticClass:"card-header"},[t("div",{staticClass:"card-header-left"},[t("h1",[A._v(A._s(A.scaleData.name))]),t("div",{staticClass:"div-details",on:{click:function(t){return A.routerJump(A.scaleData.code)}}},[A._v(" 查看详情 ")])]),["MMSE","MoCA","ADL","(MOCA量表)","YYLC","BNT","BNT-15","AVLT","AVLT-H","LBD","SZGD","DST","ADAS-Cog 14"].includes(A.scaleData.code)?t("div",{staticClass:"card-header-right"},[t("div",{staticClass:"div-derive cardRig-but",on:{click:function(t){return A.handleCodeExport(A.scaleData)}}},[t("i",{staticClass:"el-icon-upload2"}),A._v("导出 ")]),t("div",{staticClass:"div-print cardRig-but",on:{click:function(t){return A.handlePrinting(A.scaleData)}}},[t("i",{staticClass:"el-icon-printer"}),A._v(" 打印 ")])]):A._e()]),"MMSE"==A.scaleData.code?t("div",{staticClass:"div-numbox"},[t("el-row",{staticStyle:{display:"flex","flex-wrap":"wrap"}},[A._l(A.scaleData.subReport,(function(e,a){return t("el-col",{key:a,attrs:{span:6}},[t("div",{staticClass:"col-header col-item"},[A._v(" "+A._s(e.name)+" ")]),t("div",{staticClass:"col-num col-item"},[A._v(" "+A._s(e.score)+" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.totalScore-0>0,expression:"row.totalScore - 0 > 0"}]},[A._v("/")]),A._v(" "+A._s(e.totalScore-0>0?e.totalScore:"")+" ")])])})),t("el-col",{attrs:{span:6}},[t("div",{staticClass:"col-header col-item"},[A._v("总分")]),t("div",{staticClass:"col-num col-item"},[A._v(" "+A._s(A.scaleData.score)+" "),t("span",{directives:[{name:"show",rawName:"v-show",value:A.scaleData.totalScore-0>0,expression:"scaleData.totalScore - 0 > 0"}]},[A._v("/")]),A._v(" "+A._s(A.scaleData.totalScore-0>0?A.scaleData.totalScore:"")+" ")])])],2),t("div",{staticClass:"col-tips"},[A._v(" "+A._s(A.scaleData.description)+" ")])],1):"MoCA"==A.scaleData.code?t("div",{staticClass:"div-numbox"},[t("el-row",{staticStyle:{display:"flex","flex-wrap":"wrap"}},[A._l(A.scaleData.subReport,(function(e,a){return t("el-col",{key:a,attrs:{span:6}},[t("div",{staticClass:"col-header col-item"},[A._v(" "+A._s(e.name)+" ")]),t("div",{staticClass:"col-num col-item"},["YCHY"==e.code?t("div",[t("div",{staticStyle:{"font-size":"16px","border-right":"1px solid #e1e9f1",padding:"0 16px","margin-right":"16px"}},[t("div",[A._v(" 分类提示 "+A._s(A.getScore(e,"FLTS").score||0)+"个 ")]),t("div",[A._v(" 多选提示 "+A._s(A.getScore(e,"DXTS").score||0)+"个 ")])])]):A._e(),A._v(" "+A._s(e.score)+" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.totalScore-0>0,expression:"row.totalScore - 0 > 0"}]},[A._v("/")]),A._v(" "+A._s(e.totalScore-0>0?e.totalScore:"")+" ")])])})),t("el-col",{attrs:{span:6}},[t("div",{staticClass:"col-header col-item"},[A._v("总分")]),t("div",{staticClass:"col-num col-item"},[A._v(" "+A._s(A.scaleData.score)+" "),t("span",{directives:[{name:"show",rawName:"v-show",value:A.scaleData.totalScore-0>0,expression:"scal
/**!
* Sortable 1.10.2
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/
function a(A){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"===typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},a(A)}function i(A,t,e){return t in A?Object.defineProperty(A,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):A[t]=e,A}function s(){return s=Object.assign||function(A){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(A[a]=e[a])}return A},s.apply(this,arguments)}function n(A){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{},a=Object.keys(e);"function"===typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(e).filter((function(A){return Object.getOwnPropertyDescriptor(e,A).enumerable})))),a.forEach((function(t){i(A,t,e[t])}))}return A}function r(A,t){if(null==A)return{};var e,a,i={},s=Object.keys(A);for(a=0;a<s.length;a++)e=s[a],t.indexOf(e)>=0||(i[e]=A[e]);return i}function o(A,t){if(null==A)return{};var e,a,i=r(A,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(A);for(a=0;a<s.length;a++)e=s[a],t.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(A,e)&&(i[e]=A[e])}return i}function l(A){return c(A)||d(A)||u()}function c(A){if(Array.isArray(A)){for(var t=0,e=new Array(A.length);t<A.length;t++)e[t]=A[t];return e}}function d(A){if(Symbol.iterator in Object(A)||"[object Arguments]"===Object.prototype.toString.call(A))return Array.from(A)}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance")}e.r(t),e.d(t,"MultiDrag",(function(){return Tt})),e.d(t,"Sortable",(function(){return zA})),e.d(t,"Swap",(function(){return Ft}));var p="1.10.2";function h(A){if("undefined"!==typeof window&&window.navigator)return!!navigator.userAgent.match(A)}var g=h(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),f=h(/Edge/i),B=h(/firefox/i),m=h(/safari/i)&&!h(/chrome/i)&&!h(/android/i),v=h(/iP(ad|od|hone)/i),w=h(/chrome/i)&&h(/android/i),C={capture:!1,passive:!1};function b(A,t,e){A.addEventListener(t,e,!g&&C)}function y(A,t,e){A.removeEventListener(t,e,!g&&C)}function Q(A,t){if(t){if(">"===t[0]&&(t=t.substring(1)),A)try{if(A.matches)return A.matches(t);if(A.msMatchesSelector)return A.msMatchesSelector(t);if(A.webkitMatchesSelector)return A.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function U(A){return A.host&&A!==document&&A.host.nodeType?A.host:A.parentNode}function F(A,t,e,a){if(A){e=e||document;do{if(null!=t&&(">"===t[0]?A.parentNode===e&&Q(A,t):Q(A,t))||a&&A===e)return A;if(A===e)break}while(A=U(A))}return null}var x,I=/\s+/g;function S(A,t,e){if(A&&t)if(A.classList)A.classList[e?"add":"remove"](t);else{var a=(" "+A.className+" ").replace(I," ").replace(" "+t+" "," ");A.className=(a+(e?" "+t:"")).replace(I," ")}}function _(A,t,e){var a=A&&A.style;if(a){if(void 0===e)return document.defaultView&&document.defaultView.getComputedStyle?e=document.defaultView.getComputedStyle(A,""):A.currentStyle&&(e=A.currentStyle),void 0===t?e:e[t];t in a||-1!==t.indexOf("webkit")||(t="-webkit-"+t),a[t]=e+("string"===typeof e?"":"px")}}function D(A,t){var e="";if("string"===typeof A)e=A;else do{var a=_(A,"transform");a&&"none"!==a&&(e=a+" "+e)}while(!t&&(A=A.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(e)}function H(A,t,e){if(A){var a=A.getElementsByTagName(t),i=0,s=a.length;if(e)for(;i<s;i++)e(a[i],i);return a}return[]}function E(){var A=document.scrollingElement;return A||document.documentElement}function k(A,t,e,a,i){if(A.getBoundingClientRect||A===window){var s,n,r,o,l,c,d;if(A!==window&&A!==E()?(s=A.getBoundingClientRect(),n=s.top,r=s.left,o=s.bottom,l=s.right,c=s.height,d=s.width):(n=0,r=0,o=window.innerHeight,l=window.innerWidth,c=window.innerHeight,d=window.innerWidth),(t||e)&&A!==window&&(i=i||A.parentNode,!g))do{if(i&&i.getBoundingClientRect&&("none"!==_(i,"transform")||e&&"static"!==_(i,"position"))){var u=i.getBoundingClientRect();n-=u.top+parseInt(_(i,"border-top-
/*!
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
* Released under MIT License
*/
(function(t,e){A.exports=e()})(0,(function(){"use strict";
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var A=function(t,e){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,t){A.__proto__=t}||function(A,t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(A[e]=t[e])},A(t,e)};function t(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function a(){this.constructor=t}A(t,e),t.prototype=null===e?Object.create(e):(a.prototype=e.prototype,new a)}var e=function(){return e=Object.assign||function(A){for(var t,e=1,a=arguments.length;e<a;e++)for(var i in t=arguments[e],t)Object.prototype.hasOwnProperty.call(t,i)&&(A[i]=t[i]);return A},e.apply(this,arguments)};function a(A,t,e,a){function i(A){return A instanceof e?A:new e((function(t){t(A)}))}return new(e||(e=Promise))((function(e,s){function n(A){try{o(a.next(A))}catch($t){s($t)}}function r(A){try{o(a["throw"](A))}catch($t){s($t)}}function o(A){A.done?e(A.value):i(A.value).then(n,r)}o((a=a.apply(A,t||[])).next())}))}function i(A,t){var e,a,i,s,n={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:r(0),throw:r(1),return:r(2)},"function"===typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function r(A){return function(t){return o([A,t])}}function o(s){if(e)throw new TypeError("Generator is already executing.");while(n)try{if(e=1,a&&(i=2&s[0]?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;switch(a=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return n.label++,{value:s[1],done:!1};case 5:n.label++,a=s[1],s=[0];continue;case 7:s=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){n=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(6===s[0]&&n.label<i[1]){n.label=i[1],i=s;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(s);break}i[2]&&n.ops.pop(),n.trys.pop();continue}s=t.call(A,n)}catch($t){s=[6,$t],a=0}finally{e=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function s(A,t,e){if(e||2===arguments.length)for(var a,i=0,s=t.length;i<s;i++)!a&&i in t||(a||(a=Array.prototype.slice.call(t,0,i)),a[i]=t[i]);return A.concat(a||t)}for(var n=function(){function A(A,t,e,a){this.left=A,this.top=t,this.width=e,this.height=a}return A.prototype.add=function(t,e,a,i){return new A(this.left+t,this.top+e,this.width+a,this.height+i)},A.fromClientRect=function(t,e){return new A(e.left+t.windowBounds.left,e.top+t.windowBounds.top,e.width,e.height)},A.fromDOMRectList=function(t,e){var a=Array.from(e).find((function(A){return 0!==A.width}));return a?new A(a.left+t.windowBounds.left,a.top+t.windowBounds.top,a.width,a.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A}(),r=function(A,t){return n.fromClientRect(A,t.getBoundingClientRect())},o=function(A){var t=A.body,e=A.documentElement;if(!t||!e)throw new Error("Unable to get document size");var a=Math.max(Math.max(t.scrollWidth,e.scrollWidth),Math.max(t.offsetWidth,e.offsetWidth),Math.max(t.clientWidth,e.clientWidth)),i=Math.max(Math.max(t.scrollHeight,e.scrollHeight),Math.max(t.offsetHeight,e.offsetHeight),Math.max(t.clientHeight,e.clientHeight));return new n(0,0,a,i)},l=function(A){var t=[],e=0,a=A.length;while(e<a){var i=A.charCodeAt(e++);if(i>=55296&&i<=56319&&e<a){var s=A.charCodeAt(e++);56320===(64512&s)?t.push(((1023&i)<<10)+(1023&s)+65536):(t.push(i),e--)}else t.push(i)}return t},c=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var e=A.length;if(!e)return"";var a=[],i=-1,s="";while(++i<e){var n=A[i];n<=65535?a.push(n):(n-=65536,a.push(55296+(n>>10),n%1024+56320)),(i+1===e||a.length>16384)&&(s+=String.fromCharCode.apply(String,a),a.length=0)}return s},d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u="undefined"===typeof Uint8Array?[]:new Uint8Array(256),p=0;p<d.length;p++)u[d.charCodeAt(p)]=p;for(var h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijkl