<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d1cbea0c"],{"28a5":function(e,t,a){"use strict";var i=a("aae3"),s=a("cb7c"),n=a("ebd6"),r=a("0390"),o=a("9def"),d=a("5f1b"),h=a("520a"),u=a("79e5"),l=Math.min,c=[].push,m="split",v="length",f="lastIndex",g=4294967295,p=!u((function(){RegExp(g,"y")}));a("214f")("split",2,(function(e,t,a,u){var y;return y="c"=="abbc"[m](/(b)*/)[1]||4!="test"[m](/(?:)/,-1)[v]||2!="ab"[m](/(?:ab)*/)[v]||4!="."[m](/(.?)(.?)/)[v]||"."[m](/()()/)[v]&gt;1||""[m](/.?/)[v]?function(e,t){var s=String(this);if(void 0===e&amp;&amp;0===t)return[];if(!i(e))return a.call(s,e,t);var n,r,o,d=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),l=0,m=void 0===t?g:t&gt;&gt;&gt;0,p=new RegExp(e.source,u+"g");while(n=h.call(p,s)){if(r=p[f],r&gt;l&amp;&amp;(d.push(s.slice(l,n.index)),n[v]&gt;1&amp;&amp;n.index&lt;s[v]&amp;&amp;c.apply(d,n.slice(1)),o=n[0][v],l=r,d[v]&gt;=m))break;p[f]===n.index&amp;&amp;p[f]++}return l===s[v]?!o&amp;&amp;p.test("")||d.push(""):d.push(s.slice(l)),d[v]&gt;m?d.slice(0,m):d}:"0"[m](void 0,0)[v]?function(e,t){return void 0===e&amp;&amp;0===t?[]:a.call(this,e,t)}:a,[function(a,i){var s=e(this),n=void 0==a?void 0:a[t];return void 0!==n?n.call(a,s,i):y.call(String(s),a,i)},function(e,t){var i=u(y,e,this,t,y!==a);if(i.done)return i.value;var h=s(e),c=String(this),m=n(h,RegExp),v=h.unicode,f=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(p?"y":"g"),b=new m(p?h:"^(?:"+h.source+")",f),k=void 0===t?g:t&gt;&gt;&gt;0;if(0===k)return[];if(0===c.length)return null===d(b,c)?[c]:[];var E=0,z=0,A=[];while(z&lt;c.length){b.lastIndex=p?z:0;var S,R=d(b,p?c:c.slice(z));if(null===R||(S=l(o(b.lastIndex+(p?0:z)),c.length))===E)z=r(c,z,v);else{if(A.push(c.slice(E,z)),A.length===k)return A;for(var w=1;w&lt;=R.length-1;w++)if(A.push(R[w]),A.length===k)return A;z=E=S}}return A.push(c.slice(E)),A}]}))},5911:function(e,t,a){},"72dd":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("div",[t("Modal",{attrs:{width:"360"},model:{value:e.delstatus,callback:function(t){e.delstatus=t},expression:"delstatus"}},[t("p",{staticStyle:{color:"#f60","text-align":"center"},attrs:{slot:"header"},slot:"header"},[t("Icon",{attrs:{type:"information-circled"}}),t("span",[e._v("åˆ&nbsp;é™¤ç¡®è®¤")])],1),t("div",{staticStyle:{"text-align":"center"}},[t("p",[e._v("æ˜¯å¦ç»§ç»­åˆ&nbsp;é™¤ï¼Ÿ")])]),t("div",{attrs:{slot:"footer"},slot:"footer"},[t("Button",{attrs:{type:"error",size:"large",long:"",loading:e.modal_loading},on:{click:e.deletes}},[e._v("åˆ&nbsp;é™¤")])],1)]),e.listshow?t("div",{staticClass:"listinfo"},[t("div",{staticClass:"titles"},[e._v(" æ–°å†&nbsp;ç–«è‹—æŽ¥ç§è¡¨ "),t("Button",{staticStyle:{float:"right","margin-right":"20px"},attrs:{type:"primary"},on:{click:e.addHl}},[e._v("æ·»åŠ&nbsp;è®°å½•")])],1),t("Table",{attrs:{columns:e.columns1,data:e.tableData}})],1):e._e()],1)},s=[],n=(a("7f7f"),a("ac6a"),a("bc3a")),r=a.n(n),o=(a("1146"),a("784f"),a("0a21"),{name:"yiMiaoList",data:function(){var e=this;return{tableData:[],name:"",Idnumber:"",docId:"",oldsernumber:0,tiemsernumber:0,feelsernumber:0,delstatus:!1,modal_loading:!1,comprehensivesernumber:0,oldser:["","","","","","","","","","","","","","",""],tiemser:["","","","","","","",""],feelser:["","","",""],comprehensiveser:["","","","","","","","","","","",""],listshow:!0,radio:"1",sex:0,birthday:"",Maritalstatus:0,Livingsituation:0,Evaluationtime:0,fillins:0,columns1:[{title:"è¯„ä¼°æ—¶é—´",key:"Createtimes",align:"center"},{title:"åç§°",key:"name",align:"center"},{title:"èº«ä»½è¯å·",key:"idnumber",align:"center"},{title:"æ“ä½œ",align:"center",render:function(t,a){return t("div",[t("Button",{props:{type:"success",size:"small"},on:{click:function(t){e.getnursingservice(a.row.recordid)}}},"ä¿®æ”¹"),t("Button",{props:{type:"error",size:"small"},style:{marginLeft:"5px"},on:{click:function(t){e.dels(e.token,a.row.recordid)}}},"åˆ&nbsp;é™¤")])}}],oldstatuser:!1,teamid:"",oldstatus:!1,Mentalstatus:!1,feelstatus:!1,comprehensive:!1,others:"",savedata:{Assessmenttype:"",Abilitygrade:"",Richangshenghuoid:"",Jingshenzhuangtaiid:"",Ganzhijueid:"",Sufferfrom:"",Sufferid:"",Levelcareneed:"",Evaluatorid:"",Signature:"",Opinion:"",Name:"",Sex:"1",Age:"",Idnumber:"",gotype:"1",Adress:"",Registeredplace:"",Maritalstatus:0,Livingsituation:0,Agentname:"",Relation:"",Agentadress:"",Agentphone:"",Birthday:"",Phone:"",Evaluationtime:"",options:""},fillin:[{value:0,name:"æœ¬äºº"},{value:1,name:"ä»£ç†"}],marriages:[{value:0,name:"æœªå©š",checked:!0},{value:1,name:"å·²å©š",checked:!1},{value:2,name:"ä¸§å¶",checked:!1},{value:3,name:"ç¦»å©š",checked:!1}],lives:[{value:0,name:"ä¸Žå­å¥³åŒä½",checked:!0},{value:1,name:"ä¸Žäº²å‹åŒä½",checked:!1},{value:2,name:"å­¤å¯¡",checked:!1},{value:3,name:"ç‹¬å±…",checked:!1},{value:4,name:"ä¸Žé…å¶åŒä½",checked:!1}],sexList:[{value:"0",label:"ä¸è¯¦"},{value:"1",label:"ç”·"},{value:"2",label:"å¥³"}],token:"",idnumber:"",Name:"",recordids:""}},methods:{getodlNus:function(e){var t="https://api.lotusdata.com/publicHealth/v1/vaccination-record/list?key&amp;recordid&amp;userid="+this.recordids+"&amp;offset=0&amp;limit=10",a=this;r.a.get(t,{headers:{Authorization:e}}).then((function(e){if(console.log(e,777),0==e.data.code){var t=null==e.data.data?[]:e.data.data;t.forEach((function(e){e.Createtimes=e.Createdate.slice(0,10),e.idnumber=e.idnumber,e.name=e.name,e.phone=e.phone})),a.tableData=t}}))},getnursingservice:function(e){this.$router.push({name:"addYiMiao",query:{idnumber:this.idnumber,teamid:this.teamid,rid:e,wid:this.recordids,name:this.Name}})},saveoldser:function(){var e=this,t=this.oldser,a=this.savedata.Residentsid,i="https://api.lotusdata.com/homedoctor/elderly/v1/abilityscale",s=this,n={Elderyid:this.savedata.Elderyid,Residentsid:a,Evaluatorid:this.savedata.Evaluatorid,Score:this.oldsernumber,Choiceof:JSON.stringify(t),Assessmentype:"1",Remark:"è€å¹´äººæ—¥å¸¸ç”Ÿæ´»æ´»åŠ¨èƒ½åŠ›"};t.forEach((function(t,a){if(""===t)throw e.$message.error("ç¬¬"+(a+1)+"é¢˜æœªè¿›è¡Œå¡«å†™"),new Error("ç»ˆæ­¢å¾ªçŽ¯")})),""==this.savedata.Richangshenghuoid||void 0!=this.savedata.Richangshenghuoid?r.a.post(i,n,{headers:{Authorization:this.token}}).then((function(e){s.$message.success("ä¿å­˜æˆåŠŸ")})):(i="https://api.lotusdata.com/homedoctor/elderly/v1/abilityscale/"+this.savedata.Richangshenghuoid,r.a.put(i,n,{headers:{Authorization:this.token}}).then((function(e){s.$message.success("ä¿®æ”¹æˆåŠŸ")})))},savetiemser:function(){var e=this,t=this.tiemser,a=(this.savedata.Residentsid,"https://api.lotusdata.com/homedoctor/elderly/v1/abilityscale"),i=this,s={Elderyid:this.savedata.Elderyid,Residentsid:this.savedata.Residentsid,Evaluatorid:this.savedata.Evaluatorid,Score:this.tiemsernumber,Choiceof:JSON.stringify(t),Assessmentype:"2",Remark:"ç²¾ç¥žçŠ¶æ€ä¸Žç¤¾ä¼šå‚ä¸Žèƒ½åŠ›è¯„åˆ†è¡¨"};t.forEach((function(t,a){if(""==t)throw e.$message.error("ç¬¬"+(a+1)+"é¢˜æœªè¿›è¡Œå¡«å†™"),new Error("ç»ˆæ­¢å¾ªçŽ¯")})),""==this.savedata.Jingshenzhuangtaiid||void 0!=this.savedata.Jingshenzhuangtaiid?r.a.post(a,s,{headers:{Authorization:this.token}}).then((function(e){i.$message.success("ä¿å­˜æˆåŠŸ")})):(a="https://api.lotusdata.com/homedoctor/elderly/v1/abilityscale/"+this.savedata.Jingshenzhuangtaiid,r.a.put(a,s,{headers:{Authorization:this.token}}).then((function(e){i.$message.success("ä¿®æ”¹æˆåŠŸ")})))},saveGanzhijueid:function(){var e=this,t=this.feelser,a=(this.savedata.Residentsid,"https://api.lotusdata.com/homedoctor/elderly/v1/abilityscale"),i=this,s={Elderyid:this.savedata.Elderyid,Residentsid:this.savedata.Residentsid,Evaluatorid:this.savedata.Evaluatorid,Score:this.feelsernumber,Choiceof:JSON.stringify(t),Assessmentype:"3",Remark:"æ„ŸçŸ¥è§‰ä¸Žæ²Ÿé€šèƒ½åŠ›è¯„åˆ†è¡¨"};t.forEach((function(t,a){if(""==t)throw e.$message.error("ç¬¬"+(a+1)+"é¢˜æœªè¿›è¡Œå¡«å†™"),new Error("ç»ˆæ­¢å¾ªçŽ¯")})),""==this.savedata.Ganzhijueid||void 0!=this.savedata.Ganzhijueid?r.a.post(a,s,{headers:{Authorization:this.token}}).then((function(e){i.$message.success("ä¿å­˜æˆåŠŸ")})):(a="https://api.lotusdata.com/homedoctor/elderly/v1/abilityscale/"+this.savedata.Ganzhijueid,r.a.put(a,s,{headers:{Authorization:this.token}}).then((function(e){i.$message.success("ä¿®æ”¹æˆåŠŸ")})))},saveSufferid:function(){var e=this,t=this.comprehensiveser,a=(this.savedata.Residentsid,"https://api.lotusdata.com/homedoctor/elderly/v1/abilityscale"),i=this,s={Elderyid:this.savedata.Elderyid,Residentsid:this.savedata.Residentsid,Evaluatorid:this.savedata.Evaluatorid,Score:"",Choiceof:JSON.stringify(t),Assessmentype:"4",Remark:this.others};t.forEach((function(t,a){if(""==t&amp;&amp;11!=a)throw e.$message.error("ç¬¬"+(a+1)+"é¢˜æœªè¿›è¡Œå¡«å†™"),new Error("ç»ˆæ­¢å¾ªçŽ¯")})),""==this.savedata.Jingshenzhuangtaiid||void 0!=this.savedata.Jingshenzhuangtaiid?r.a.post(a,s,{headers:{Authorization:this.token}}).then((function(e){0==e.data.code&amp;&amp;i.$message.success("ä¿å­˜æˆåŠŸ")})):(a="https://api.lotusdata.com/homedoctor/elderly/v1/abilityscale/"+this.savedata.Jingshenzhuangtaiid,r.a.put(a,s,{headers:{Authorization:this.token}}).then((function(e){i.$message.success("ä¿®æ”¹æˆåŠŸ")})))},changetable:function(e){if(0==e){var t=this.savedata.Richangshenghuoid,a=this,i="https://api.lotusdata.com/homedoctor/elderly/v1/abilityscale/"+t;""==t||r.a.get(i,{headers:{Authorization:this.token}}).then((function(e){if(0==e.data.code){var t=e.data.data.Choiceof,i=0;t=JSON.parse(t),t.forEach((function(e){i+=e})),a.oldsernumber=i,a.oldser=t}}))}else if(1==e){var s=this.savedata.Jingshenzhuangtaiid;a=this,i="https://api.lotusdata.com/homedoctor/elderly/v1/abilityscale/"+s;""==s||r.a.get(i,{headers:{Authorization:this.token}}).then((function(e){if(0==e.data.code){var t=e.data.data.Choiceof,i=0;t=JSON.parse(t),t.forEach((function(e){i+=e})),a.tiemsernumber=i,a.tiemser=t}}))}else if(2==e){var n=this.savedata.Ganzhijueid;if(""==n);else{n=this.savedata.Ganzhijueid,a=this,i="https://api.lotusdata.com/homedoctor/elderly/v1/abilityscale/"+n;""==n||r.a.get(i,{headers:{Authorization:this.token}}).then((function(e){if(0==e.data.code){var t=e.data.data.Choiceof,i=0;t=JSON.parse(t),t.forEach((function(e){i+=e})),a.feelsernumber=i,a.feelser=t}}))}}else if(3==e){var o=this.savedata.Sufferfrom;o=this.savedata.Sufferfrom,a=this,this.others,i="https://api.lotusdata.com/homedoctor/elderly/v1/abilityscale/"+o;""==o||r.a.get(i,{headers:{Authorization:this.token}}).then((function(e){if(0==e.data.code){var t=e.data.data.Choiceof,i=0;t=JSON.parse(t),t.forEach((function(e){i+=e})),a.comprehensivesernumber=i,a.others=t[11],t[11]="",a.comprehensiveser=t}}))}},getoldNumber:function(){var e=this.oldser,t=0;e.forEach((function(e){""==e||(t+=e)})),this.oldsernumber=t},gettiemsernumber:function(){var e=this.tiemser,t=0;e.forEach((function(e){""==e||(t+=e)})),this.tiemsernumber=t},getfeelsernumber:function(){var e=this.feelser,t=0;e.forEach((function(e){""==e||(t+=e)})),this.feelsernumber=t},getcomprehensivesernumber:function(){var e=this.comprehensiveser,t=0;e.forEach((function(e){""==e||(t+=e)})),this.comprehensivesernumber=t},saveBasicInfo:function(){var e=this.savedata,t=this;this.systoken;e.Evaluatorid=this.docId,""!=e.Phone?""!=e.Idnumber?e.Age&lt;65?t.$message.error("è€å¹´äººæœåŠ¡éœ€è¦åˆ°è¾¾65å²"):18==e.Idnumber.length?""!=e.Name||t.$message.error("å§“åä¸èƒ½ä¸ºç©º"):t.$message.error("èº«ä»½è¯å·æ&nbsp;¼å¼ä¸è§„èŒƒ"):t.$message.error("èº«ä»½è¯å·ä¸èƒ½ä¸ºç©º"):t.$message.error("æ‰‹æœºå·ä¸èƒ½ä¸ºç©º")},getinfo:function(e){var t="https://api.lotusdata.com/homedoctor/elderly/v1/careneeds/"+e,a=this;r.a.get(t,{headers:{Authorization:this.token}}).then((function(e){if(0==e.data.code){var t=e.data.data;null==t?a.savedata={Assessmenttype:"",Abilitygrade:"",Richangshenghuoid:"",Jingshenzhuangtaiid:"",Ganzhijueid:"",Sufferfrom:"",Sufferid:"",Levelcareneed:"",Evaluatorid:"",Signature:"",Opinion:"",Name:"",Sex:"1",Age:"",Idnumber:"",gotype:"1",Adress:"",Registeredplace:"",Maritalstatus:0,Livingsituation:0,Agentname:"",Relation:"",Agentadress:"",Agentphone:"",Birthday:"",Phone:"",Evaluationtime:"",options:""}:(a.savedata=t,""!=t.Richangshenghuoid&amp;&amp;a.changetable(0),""!=t.Jingshenzhuangtaiid&amp;&amp;a.changetable(1),""!=t.Ganzhijueid&amp;&amp;a.changetable(2),""!=t.Jingshenzhuangtaiid&amp;&amp;a.changetable(3))}}))},addHl:function(){this.$router.push({name:"addYiMiao",query:{idnumber:this.idnumber,teamid:this.teamid,name:this.Name,wid:this.recordids,recordid:""}})},dels:function(e,t){var a=t;this.rid=a,this.delstatus=!0},deletes:function(){this.modal_loading=!0;var e=this.rid,t=this,a="https://api.lotusdata.com/publicHealth/v1/vaccination-record/delete?recordid="+e;r.a.delete(a,{headers:{Authorization:this.token}}).then((function(e){0==e.data.code&amp;&amp;(t.modal_loading=!1,t.getodlNus(t.token),t.delstatus=!1,t.$message.error("åˆ&nbsp;é™¤æˆåŠŸï¼ï¼"))}))},getSystoken:function(){var e=this,t="https://auth.lotusdata.com/v1/login/token",a={username:"system@akso.com",password:"123123",usertype:"system",refreshtoken:"0"};r.a.post(t,a,"").then((function(t){if(0==t.data.code){var a="JWT "+t.data.data;localStorage.setItem("vToken",a),e.token=a}}))}},mounted:function(){var e=this;this.$nextTick((function(){e.docId=localStorage.getItem("myId"),e.token=localStorage.getItem("vToken"),e.recordids=e.$route.query.recordid,e.idnumber=e.$route.query.idnumber,e.teamid=e.$route.query.teamid,e.Name=e.$route.query.name,e.listshow=!0,e.tableData=[],e.getodlNus(e.token)}))}}),d=o,h=(a("87d1"),a("2877")),u=Object(h["a"])(d,i,s,!1,null,"7a6302b8",null);t["default"]=u.exports},"87d1":function(e,t,a){"use strict";a("5911")},aae3:function(e,t,a){var i=a("d3f4"),s=a("2d95"),n=a("2b4c")("match");e.exports=function(e){var t;return i(e)&amp;&amp;(void 0!==(t=e[n])?!!t:"RegExp"==s(e))}}}]);</pre></body></html>