| 1 |
- var C=(u,e,r)=>new Promise((t,c)=>{var f=i=>{try{n(r.next(i))}catch(E){c(E)}},p=i=>{try{n(r.throw(i))}catch(E){c(E)}},n=i=>i.done?t(i.value):Promise.resolve(i.value).then(f,p);n((r=r.apply(u,e)).next())});import{a as T,B as v}from"./index.9da0d1c7.js";import{f as W}from"./busHospitalConfigApi.7ecc8807.js";import{B as z}from"./BasicForm.d58d202f.js";import{u as O}from"./useForm.e55162bc.js";import{r as g,j as Q,a as M,f4 as H,o as q,Q as N,x as V,i as Y,h as B,R as $,G,c7 as S,bR as J}from"./index.ae52ebae.js";import{d as b}from"./busConstantApi.27f88676.js";import{a as K}from"./busEvalApi.d04f35f3.js";const R={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10"},A={0:"0",1:"1",2:"2",3:"3"},h={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5"},U=[{field:"evalInfo",label:"\u8BC4\u4EF7\u4FE1\u606F",component:"Divider",componentProps:{style:"font-size: 18px;font-weight: bold;"}},{field:"evaluator",label:"\u8BC4\u4EF7\u4EBA",colProps:{span:12},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6216\u8005\u8F93\u5165\u8BC4\u4EF7\u4EBA",trigger:"blur"}],component:"ApiSelect",componentProps:({formModel:u})=>({placeholder:"\u8BF7\u9009\u62E9\u8BC4\u4EF7\u4EBA\u5458",showSearch:!0,notFoundContent:null,filterOption:!0,onSearch:e=>{e&&(u.evaluator=e)},api:b,params:{size:500,includes:["id","name"],wheres:[{column:"reviewer",termType:"eq",type:"and",value:!0}]},labelField:"name",valueField:"name",resultField:"records"})},{field:"evaluateTime",label:"\u8BC4\u4EF7\u65F6\u95F4",colProps:{span:12},component:"DatePicker",required:!0,componentProps:{placeholder:"\u8BF7\u8F93\u5165\u521B\u5EFA\u65F6\u95F4",format:"YYYY-MM-DD HH:mm:ss",showTime:{format:"HH:mm:ss"}}},{field:"remark",label:"\u8BC4\u4EF7\u5907\u6CE8",colProps:{span:22},component:"Input"},{field:"LifeInfo",label:"\u751F\u547D\u4F53\u5F81",component:"Divider",componentProps:{style:"font-size: 18px;font-weight: bold;"}},{field:"shrinkPressure",label:"\u6536\u7F29\u538B",component:"InputNumber",colProps:{span:12},componentProps:{placeholder:"\u8BF7\u8F93\u5165\u6536\u7F29\u538B",addonAfter:"mmHg",style:"width:200px",min:0,max:200,step:1}},{field:"diastensPressure",label:"\u8212\u5F20\u538B",component:"InputNumber",colProps:{span:12},componentProps:{placeholder:"\u8BF7\u8F93\u5165\u8212\u5F20\u538B",addonAfter:"mmHg",style:"width:200px",min:0,max:200,step:1}},{field:"breathRate",label:"\u547C\u5438\u9891\u7387",component:"InputNumber",colProps:{span:12},componentProps:{placeholder:"\u8BF7\u8F93\u5165\u547C\u5438\u9891\u7387",addonAfter:"bpm",style:"width:200px",min:0,max:200,step:1}},{field:"heartRate",label:"\u5FC3 \u7387",component:"InputNumber",colProps:{span:12},componentProps:{placeholder:"\u8BF7\u8F93\u5165\u5FC3\u7387",addonAfter:"bpm",style:"width:200px",min:0,max:200,step:1}},{field:"bloodOxygenSaturation",label:"SPO2(%)",component:"InputNumber",colProps:{span:12},componentProps:{placeholder:"\u8BF7\u8F93\u5165SPO2(%)",addonAfter:"%",style:"width:200px",step:1,max:100,min:0}},{field:"fetalHeartRate",label:"\u80CE \u5FC3",component:"InputNumber",colProps:{span:12},componentProps:{placeholder:"\u8BF7\u8F93\u5165\u80CE\u5FC3",addonAfter:"bpm",style:"width:200px",step:1,max:200,min:0}},{field:"evalScoreInfo",label:"\u8BC4\u5206\u60C5\u51B5",component:"Divider",componentProps:{style:"font-size: 18px;font-weight: bold;"}},{field:"score1",label:"\u75BC\u75DB\u8BC4\u5206",subLabel:"(NRS\u8BC4\u5206\u6CD5\uFF1A0\uFF1A\u65E0\u75DB\uFF1B 1-3\uFF1A\u8F7B\u5EA6\u75BC\u75DB\uFF0C\u4E0D\u5F71\u54CD\u7761\u7720...",helpMessage:["(NRS\u8BC4\u5206\u6CD5\uFF1A0\uFF1A\u65E0\u75DB\uFF1B 1-3\uFF1A\u8F7B\u5EA6\u75BC\u75DB\uFF0C\u4E0D\u5F71\u54CD\u7761\u7720\uFF1B 4-6\uFF1A\u4E2D\u5EA6\u75BC\u75DB\uFF0C\u5F71\u54CD\u7761\u7720\uFF0C\u4F46\u4ECD\u53EF\u7761\u7720\uFF1B 7-10\uFF1A\u91CD\u5EA6\u75BC\u75DB\uFF0C\u4E0D\u80FD\u7761\u7720\uFF1B \uFF09"],component:"Divider",componentProps:{style:"font-size: 16px;"}},{field:"statics",label:"\u9759\u6001 ",component:"Slider",componentProps:{dots:!0,max:10,min:0,step:1,marks:R,tipFormatter:u=>{let e=u+"";return u==0?e+="\uFF1A\u65E0\u75DB":u>=1&&u<=3?e+="\uFF1A\u8F7B\u5EA6\u75BC\u75DB\uFF0C\u4E0D\u5F71\u54CD\u7761\u7720":u>=4&&u<=6?e+="\uFF1A\u4E2D\u5EA6\u75BC\u75DB\uFF0C\u5F71\u54CD\u7761\u7720\uFF0C\u4F46\u4ECD\u53EF\u7761\u7720":u>=7&&u<=10&&(e+="\uFF1A\u91CD\u5EA6\u75BC\u75DB\uFF0C\u4E0D\u80FD\u7761\u7720"),e}}},{field:"activity",label:"\u52A8\u6001",component:"Slider",componentProps:{dots:!0,max:10,min:0,step:1,marks:R,tipFormatter:u=>{let e=u+"";return u===0?e+="\uFF1A\u65E0\u75DB":u>=1&&u<=3?e+="\uFF1A\u8F7B\u5EA6\u75BC\u75DB\uFF0C\u4E0D\u5F71\u54CD\u7761\u7720":u>=4&&u<=6?e+="\uFF1A\u4E2D\u5EA6\u75BC\u75DB\uFF0C\u5F71\u54CD\u7761\u7720\uFF0C\u4F46\u4ECD\u53EF\u7761\u7720":u>=7&&u<=10&&(e+="\uFF1A\u91CD\u5EA6\u75BC\u75DB\uFF0C\u4E0D\u80FD\u7761\u7720"),e}}},{field:"score2",label:"\u9547\u9759\u8BC4\u5206",subLabel:" (0\uFF1A\u6E05\u9192\uFF1B 1\uFF1A\u6709\u4E9B\u660F\u660F\u6B32\u7761\uFF0C\u4F46\u6613\u5524\u9192\uFF1B 2\uFF1A\u9891\u9891\u53D1\u751F...",helpMessage:["(0\uFF1A\u6E05\u9192\uFF1B 1\uFF1A\u6709\u4E9B\u660F\u660F\u6B32\u7761\uFF0C\u4F46\u6613\u5524\u9192\uFF1B 2\uFF1A\u9891\u9891\u53D1\u751F\u660F\u660F\u6B32\u7761\uFF0C\u4F46\u4E0D\u80FD\u6301\u7EED\u5904\u4E8E\u89C9\u9192\u72B6\u6001\uFF1B 3\uFF1A\u96BE\u4EE5\u5524\u9192\uFF0C\u4E0D\u80FD\u5904\u4E8E\u89C9\u9192\u72B6\u6001\uFF1B \uFF09"],component:"Divider",componentProps:{style:"font-size: 16px;"}},{field:"calm",label:"\u8BC4\u5206 ",component:"Slider",colProps:{style:"width:50%"},componentProps:{dots:!0,max:3,min:0,step:1,marks:A,tipFormatter:u=>{let e=u+"";return u===0?e+="\uFF1A\u6E05\u9192":u===1?e+="\uFF1A\u6709\u4E9B\u660F\u660F\u6B32\u7761\uFF0C\u4F46\u6613\u5524\u9192":u===2?e+="\uFF1A\u9891\u9891\u53D1\u751F\u660F\u660F\u6B32\u7761\uFF0C\u4F46\u4E0D\u80FD\u6301\u7EED\u5904\u4E8E\u89C9\u9192\u72B6\u6001":u===3&&(e+="\uFF1A\u96BE\u4EE5\u5524\u9192\uFF0C\u4E0D\u80FD\u5904\u4E8E\u89C9\u9192\u72B6\u6001"),e}}},{field:"score3",label:"\u56DB\u80A2\u808C\u529B\u8BC4\u5206",subLabel:" (0\uFF1A\u5B8C\u5168\u762B\u75EA\uFF0C\u6D4B\u4E0D\u5230\u808C\u8089\u6536\u7F29\uFF1B 1\uFF1A\u4EC5\u6D4B\u5230\u808C\u8089\u6536...",helpMessage:["(0\uFF1A\u5B8C\u5168\u762B\u75EA\uFF0C\u6D4B\u4E0D\u5230\u808C\u8089\u6536\u7F29\uFF1B 1\uFF1A\u4EC5\u6D4B\u5230\u808C\u8089\u6536\u7F29\uFF0C\u4F46\u4E0D\u80FD\u4EA7\u751F\u52A8\u4F5C\uFF1B 2\uFF1A\u80A2\u4F53\u80FD\u5728\u5E8A\u4E0A\u5E73\u884C\u79FB\u52A8\uFF0C\u4F46\u4E0D\u80FD\u62B5\u6297\u81EA\u8EAB\u91CD\u529B\uFF0C\u5373\u4E0D\u80FD\u62AC\u79BB\u5E8A\uFF1B 3\uFF1A\u80A2\u4F53\u53EF\u4EE5\u514B\u670D\u5730\u5FC3\u5F15\u529B\uFF0C\u80FD\u62AC\u79BB\u5E8A\u9762\uFF0C\u4F46\u4E0D\u80FD\u62B5\u6297\u963B\u529B\uFF1B 4\uFF1A\u80A2\u4F53\u80FD\u505A\u5BF9\u6297\u5916\u754C\u963B\u529B\u7684\u8FD0\u52A8\uFF0C\u4F46\u4E0D\u5B8C\u5168\uFF1B 5\uFF1A\u808C\u529B\u6B63\u5E38\uFF1B \uFF09"],component:"Divider",componentProps:{style:"font-size: 16px;"}},{field:"leftArm",label:"\u5DE6\u4E0A\u80A2",component:"Slider",colProps:{style:"width:60%"},componentProps:{dots:!0,max:5,min:0,step:1,marks:h,tipFormatter:u=>{let e=u+"";return u===0?e+="\uFF1A\u5B8C\u5168\u762B\u75EA\uFF0C\u6D4B\u4E0D\u5230\u808C\u8089\u6536\u7F29":u===1?e+="\uFF1A\u4EC5\u6D4B\u5230\u808C\u8089\u6536\u7F29\uFF0C\u4F46\u4E0D\u80FD\u4EA7\u751F\u52A8\u4F5C":u===2?e+="\uFF1A\u80A2\u4F53\u80FD\u5728\u5E8A\u4E0A\u5E73\u884C\u79FB\u52A8\uFF0C\u4F46\u4E0D\u80FD\u62B5\u6297\u81EA\u8EAB\u91CD\u529B\uFF0C\u5373\u4E0D\u80FD\u62AC\u79BB\u5E8A":u===3?e+="\uFF1A\u80A2\u4F53\u53EF\u4EE5\u514B\u670D\u5730\u5FC3\u5F15\u529B\uFF0C\u80FD\u62AC\u79BB\u5E8A\u9762\uFF0C\u4F46\u4E0D\u80FD\u62B5\u6297\u963B\u529B":u===4?e+="\uFF1A\u80A2\u4F53\u80FD\u505A\u5BF9\u6297\u5916\u754C\u963B\u529B\u7684\u8FD0\u52A8\uFF0C\u4F46\u4E0D\u5B8C\u5168":u===5&&(e+="\uFF1A\u808C\u529B\u6B63\u5E38"),e}}},{field:"rightArm",label:"\u53F3\u4E0A\u80A2",component:"Slider",colProps:{style:"width:60%"},componentProps:{dots:!0,max:5,min:0,step:1,marks:h,tipFormatter:u=>{let e=u+"";return u===0?e+="\uFF1A\u5B8C\u5168\u762B\u75EA\uFF0C\u6D4B\u4E0D\u5230\u808C\u8089\u6536\u7F29":u===1?e+="\uFF1A\u4EC5\u6D4B\u5230\u808C\u8089\u6536\u7F29\uFF0C\u4F46\u4E0D\u80FD\u4EA7\u751F\u52A8\u4F5C":u===2?e+="\uFF1A\u80A2\u4F53\u80FD\u5728\u5E8A\u4E0A\u5E73\u884C\u79FB\u52A8\uFF0C\u4F46\u4E0D\u80FD\u62B5\u6297\u81EA\u8EAB\u91CD\u529B\uFF0C\u5373\u4E0D\u80FD\u62AC\u79BB\u5E8A":u===3?e+="\uFF1A\u80A2\u4F53\u53EF\u4EE5\u514B\u670D\u5730\u5FC3\u5F15\u529B\uFF0C\u80FD\u62AC\u79BB\u5E8A\u9762\uFF0C\u4F46\u4E0D\u80FD\u62B5\u6297\u963B\u529B":u===4?e+="\uFF1A\u80A2\u4F53\u80FD\u505A\u5BF9\u6297\u5916\u754C\u963B\u529B\u7684\u8FD0\u52A8\uFF0C\u4F46\u4E0D\u5B8C\u5168":u===5&&(e+="\uFF1A\u808C\u529B\u6B63\u5E38"),e}}},{field:"leftLeg",label:"\u5DE6\u4E0B\u80A2",component:"Slider",colProps:{style:"width:60%"},componentProps:{dots:!0,max:5,min:0,step:1,marks:h,tipFormatter:u=>{let e=u+"";return u===0?e+="\uFF1A\u5B8C\u5168\u762B\u75EA\uFF0C\u6D4B\u4E0D\u5230\u808C\u8089\u6536\u7F29":u===1?e+="\uFF1A\u4EC5\u6D4B\u5230\u808C\u8089\u6536\u7F29\uFF0C\u4F46\u4E0D\u80FD\u4EA7\u751F\u52A8\u4F5C":u===2?e+="\uFF1A\u80A2\u4F53\u80FD\u5728\u5E8A\u4E0A\u5E73\u884C\u79FB\u52A8\uFF0C\u4F46\u4E0D\u80FD\u62B5\u6297\u81EA\u8EAB\u91CD\u529B\uFF0C\u5373\u4E0D\u80FD\u62AC\u79BB\u5E8A":u===3?e+="\uFF1A\u80A2\u4F53\u53EF\u4EE5\u514B\u670D\u5730\u5FC3\u5F15\u529B\uFF0C\u80FD\u62AC\u79BB\u5E8A\u9762\uFF0C\u4F46\u4E0D\u80FD\u62B5\u6297\u963B\u529B":u===4?e+="\uFF1A\u80A2\u4F53\u80FD\u505A\u5BF9\u6297\u5916\u754C\u963B\u529B\u7684\u8FD0\u52A8\uFF0C\u4F46\u4E0D\u5B8C\u5168":u===5&&(e+="\uFF1A\u808C\u529B\u6B63\u5E38"),e}}},{field:"rightLeg",label:"\u53F3\u4E0B\u80A2",component:"Slider",colProps:{style:"width:60%"},componentProps:{dots:!0,max:5,min:0,step:1,marks:h,tipFormatter:u=>{let e=u+"";return u===0?e+="\uFF1A\u5B8C\u5168\u762B\u75EA\uFF0C\u6D4B\u4E0D\u5230\u808C\u8089\u6536\u7F29":u===1?e+="\uFF1A\u4EC5\u6D4B\u5230\u808C\u8089\u6536\u7F29\uFF0C\u4F46\u4E0D\u80FD\u4EA7\u751F\u52A8\u4F5C":u===2?e+="\uFF1A\u80A2\u4F53\u80FD\u5728\u5E8A\u4E0A\u5E73\u884C\u79FB\u52A8\uFF0C\u4F46\u4E0D\u80FD\u62B5\u6297\u81EA\u8EAB\u91CD\u529B\uFF0C\u5373\u4E0D\u80FD\u62AC\u79BB\u5E8A":u===3?e+="\uFF1A\u80A2\u4F53\u53EF\u4EE5\u514B\u670D\u5730\u5FC3\u5F15\u529B\uFF0C\u80FD\u62AC\u79BB\u5E8A\u9762\uFF0C\u4F46\u4E0D\u80FD\u62B5\u6297\u963B\u529B":u===4?e+="\uFF1A\u80A2\u4F53\u80FD\u505A\u5BF9\u6297\u5916\u754C\u963B\u529B\u7684\u8FD0\u52A8\uFF0C\u4F46\u4E0D\u5B8C\u5168":u===5&&(e+="\uFF1A\u808C\u529B\u6B63\u5E38"),e}}},{field:"score4",label:"\u6076\u5FC3\u5455\u5410",subLabel:" (0\uFF1A\u65E0\u6076\u5FC3\u5455\u5410\uFF1B 1\uFF1A\u4EC5\u6076\u5FC3\uFF1B 2\uFF1A\u6709\u5455\u5410\uFF1B \uFF09",helpMessage:["(0\uFF1A\u65E0\u6076\u5FC3\u5455\u5410\uFF1B 1\uFF1A\u4EC5\u6076\u5FC3\uFF1B 2\uFF1A\u6709\u5455\u5410\uFF1B \uFF09"],component:"Divider",componentProps:{style:"font-size: 16px;"}},{field:"nauseaVomit",label:"\u8BC4\u5206 ",component:"Slider",colProps:{style:"width:30%"},componentProps:{dots:!0,max:2,min:0,step:1,marks:g({0:"0",1:"1",2:"2"}),tipFormatter:u=>{let e=u+"";return u===0?e+="\uFF1A\u65E0\u6076\u5FC3\u5455\u5410":u===1?e+="\uFF1A\u4EC5\u6076\u5FC3":u===2&&(e+="\uFF1A\u6709\u5455\u5410"),e}}},{field:"score5",label:"\u7619\u75D2\u8BC4\u5206",subLabel:" (0\uFF1A\u65E0\u7619\u75D2\uFF1B 1\uFF1A\u8F7B\u5EA6\u7619\u75D2\uFF1B 2\uFF1A\u4E2D\u5EA6\u7619\u75D2\uFF0C\u9891\u6293\u6320\uFF1B 3...",helpMessage:["(0\uFF1A\u65E0\u7619\u75D2\uFF1B 1\uFF1A\u8F7B\u5EA6\u7619\u75D2\uFF1B 2\uFF1A\u4E2D\u5EA6\u7619\u75D2\uFF0C\u9891\u6293\u6320\uFF1B 3\uFF1A\u91CD\u5EA6\u7619\u75D2\uFF0C\u70E6\u8E81\u7684\u6293\u6320\uFF1B \uFF09"],component:"Divider",componentProps:{style:"font-size: 16px;"}},{field:"itch",label:"\u8BC4\u5206 ",component:"Slider",colProps:{style:"width:40%"},componentProps:{dots:!0,max:3,min:0,step:1,marks:A,tipFormatter:u=>{let e=u+"";return u===0?e+="\uFF1A\u65E0\u7619\u75D2":u===1?e+="\uFF1A\u8F7B\u5EA6\u7619\u75D2":u===2?e+="\uFF1A\u4E2D\u5EA6\u7619\u75D2\uFF0C\u9891\u6293\u6320":u===3&&(e+="\uFF1A\u91CD\u5EA6\u7619\u75D2\uFF0C\u70E6\u8E81\u7684\u6293\u6320"),e}}},{field:"score6",label:"\u7729\u6655\u8BC4\u5206",subLabel:"(0\uFF1A\u65E0\u7729\u6655\uFF1B 1\uFF1A\u8F7B\u5EA6\u7729\u6655\uFF0C\u6301\u7EED<30min\uFF1B 2\uFF1A\u4E2D\u5EA6\u7729\u6655...",helpMessage:["(0\uFF1A\u65E0\u7729\u6655\uFF1B 1\uFF1A\u8F7B\u5EA6\u7729\u6655\uFF0C\u6301\u7EED<30min\uFF1B 2\uFF1A\u4E2D\u5EA6\u7729\u6655\uFF0C\u6301\u7EED30min-2h\uFF1B 3\uFF1A\u91CD\u5EA6\u7729\u6655\uFF0C\u611F\u89C9\u4E0D\u80FD\u6D3B\u52A8\uFF0C\u6216\u6D3B\u52A8\u540E\u52A0\u91CD\uFF0C\u6301\u7EED>2h\uFF1B \uFF09"],component:"Divider",componentProps:{style:"font-size: 16px;"}},{field:"vertigo",label:"\u8BC4\u5206 ",component:"Slider",colProps:{style:"width:40%"},componentProps:{dots:!0,max:3,min:0,step:1,marks:A,tipFormatter:u=>{let e=u+"";return u===0?e+="\uFF1A\u65E0\u7729\u6655":u===1?e+="\uFF1A\u8F7B\u5EA6\u7729\u6655\uFF0C\u6301\u7EED<30min":u===2?e+="\uFF1A\u4E2D\u5EA6\u7729\u6655\uFF0C\u6301\u7EED30min-2h":u===3&&(e+="\uFF1A\u91CD\u5EA6\u7729\u6655\uFF0C\u611F\u89C9\u4E0D\u80FD\u6D3B\u52A8\uFF0C\u6216\u6D3B\u52A8\u540E\u52A0\u91CD\uFF0C\u6301\u7EED>2h"),e}}},{field:"score7",label:"\u54BD\u5589\u75BC\u75DB\u8BC4\u5206",subLabel:"(0\uFF1A\u65E0\u54BD\u5589\u75BC\u75DB\uFF1B 1\uFF1A\u541E\u54BD\u6D3B\u52A8\u65F6\uFF0C\u7A0D\u6709\u75BC\u75DB\uFF0C\u80FD\u8FDB\u996E...",helpMessage:["(0\uFF1A\u65E0\u54BD\u5589\u75BC\u75DB\uFF1B 1\uFF1A\u541E\u54BD\u6D3B\u52A8\u65F6\uFF0C\u7A0D\u6709\u75BC\u75DB\uFF0C\u80FD\u8FDB\u996E\u8FDB\u98DF\uFF1B 2\uFF1A\u541E\u54BD\u6D3B\u52A8\u65F6\uFF0C\u75BC\u75DB\u660E\u663E\uFF0C\u8FDB\u996E\u8FDB\u98DF\u56F0\u96BE\uFF1B 3\uFF1A\u65E0\u541E\u54BD\u6D3B\u52A8\u65F6\u4ECD\u6709\u75BC\u75DB\uFF1B \uFF09"],component:"Divider",componentProps:{style:"font-size: 16px;"}},{field:"soreThroat",label:"\u8BC4\u5206 ",component:"Slider",colProps:{style:"width:40%"},componentProps:{dots:!0,max:3,min:0,step:1,marks:A,tipFormatter:u=>{let e=u+"";return u===0?e+="\uFF1A\u65E0\u54BD\u5589\u75BC\u75DB":u===1?e+="\uFF1A\u541E\u54BD\u6D3B\u52A8\u65F6\uFF0C\u7A0D\u6709\u75BC\u75DB\uFF0C\u80FD\u8FDB\u996E\u8FDB\u98DF":u===2?e+="\uFF1A\u541E\u54BD\u6D3B\u52A8\u65F6\uFF0C\u75BC\u75DB\u660E\u663E\uFF0C\u8FDB\u996E\u8FDB\u98DF\u56F0\u96BE":u===3&&(e+="\uFF1A\u65E0\u541E\u54BD\u6D3B\u52A8\u65F6\u4ECD\u6709\u75BC\u75DB"),e}}},{field:"score8",label:"\u5C3F\u6F74\u7559",subLabel:"(0\uFF1A\u65E0\u5C3F\u6F74\u7559\uFF1B 1\uFF1A\u6392\u5C3F\u65F6\u95F4\u7A0D\u5EF6\u957F\uFF1B 2\uFF1A\u6392\u5C3F\u660E\u663E\u56F0\u96BE\uFF0C\u5C3F...",helpMessage:["(0\uFF1A\u65E0\u5C3F\u6F74\u7559\uFF1B 1\uFF1A\u6392\u5C3F\u65F6\u95F4\u7A0D\u5EF6\u957F\uFF1B 2\uFF1A\u6392\u5C3F\u660E\u663E\u56F0\u96BE\uFF0C\u5C3F\u6DB2\u6210\u6EF4\u72B6\uFF1B 3\uFF1A\u4E0D\u80FD\u81EA\u884C\u6392\u5C3F\uFF0C\u9700\u7559\u7F6E\u5BFC\u5C3F\u7BA1\uFF1B \uFF09"],component:"Divider",componentProps:{style:"font-size: 16px;"}},{field:"uroschesis",label:"\u8BC4\u5206 ",component:"Slider",colProps:{style:"width:40%"},componentProps:{dots:!0,max:3,min:0,step:1,marks:A,tipFormatter:u=>{let e=u+"";return u===0?e+="\uFF1A\u65E0\u5C3F\u6F74\u7559":u===1?e+="\uFF1A\u6392\u5C3F\u65F6\u95F4\u7A0D\u5EF6\u957F":u===2?e+="\uFF1A\u6392\u5C3F\u660E\u663E\u56F0\u96BE\uFF0C\u5C3F\u6DB2\u6210\u6EF4\u72B6":u===3&&(e+="\uFF1A\u4E0D\u80FD\u81EA\u884C\u6392\u5C3F\uFF0C\u9700\u7559\u7F6E\u5BFC\u5C3F\u7BA1"),e}}},{field:"score9",label:"\u547C\u5438\u6291\u5236",component:"Divider",componentProps:{style:"font-size: 16px;"}},{field:"breathDepression",label:" ",component:"RadioGroup",componentProps:{options:[{label:"\u65E0",value:"0"},{label:"\u6709",value:"1"}]}},{field:"score10",label:"\u58F0\u97F3\u5636\u54D1",component:"Divider",componentProps:{style:"font-size: 16px;"}},{field:"hoarseness",label:" ",component:"RadioGroup",componentProps:{options:[{label:"\u65E0",value:"0"},{label:"\u6709",value:"1"}]}},{field:"score11",label:"\u8BA4\u77E5\u969C\u788D",component:"Divider",componentProps:{style:"font-size: 16px;"}},{field:"cognitionObstacle",label:" ",component:"RadioGroup",componentProps:{options:[{label:"\u65E0",value:"0"},{label:"\u6709",value:"1"}]}},{field:"score12",label:"\u6EE1\u610F\u5EA6",subLabel:"(0\uFF1A\u6EE1\u610F\uFF1B 1\uFF1A\u8F83\u6EE1\u610F\uFF1B 2\uFF1A\u4E0D\u6EE1\u610F\uFF1B \uFF09",helpMessage:["(0\uFF1A\u6EE1\u610F\uFF1B 1\uFF1A\u8F83\u6EE1\u610F\uFF1B 2\uFF1A\u4E0D\u6EE1\u610F\uFF1B \uFF09"],component:"Divider",componentProps:{style:"font-size: 16px;"}},{field:"satisfaction",label:"\u8BC4\u5206 ",component:"Slider",colProps:{style:"width:30%"},componentProps:{dots:!0,max:2,min:0,step:1,marks:g({0:"0",1:"1",2:"2"}),tipFormatter:u=>{let e=u+"";return u===0?e+="\uFF1A\u6EE1\u610F":u===1?e+="\uFF1A\u8F83\u6EE1\u610F":u===2&&(e+="\uFF1A\u4E0D\u6EE1\u610F"),e}}}];const X=M({__name:"EvalDrawer",emits:["beforeClose","register"],setup(u,{emit:e}){const{createMessage:r}=G(),t={clinicId:null,deviceId:null,patientCode:null,patientId:null,infusion:null},[c,{setDrawerProps:f,closeDrawer:p}]=T(o=>C(this,null,function*(){t.clinicId=o.clinicId,t.deviceId=o.deviceId,t.patientCode=o.patientCode,t.infusion=o.infusionId,t.patientId=o.patientId,yield y();const a=new Date,m=H(a);D({leftArm:5,rightArm:5,leftLeg:5,rightLeg:5,evalScoreInfo:0,statics:0,activity:0,calm:0,nauseaVomit:0,itch:0,vertigo:0,soreThroat:0,uroschesis:0,breathDepression:"0",hoarseness:"0",cognitionObstacle:"0",satisfaction:0,evaluateTime:m,evaluator:null,LifeInfo:null,shrinkPressure:null,diastensPressure:null,breathRate:null,heartRate:null,bloodOxygenSaturation:null,fetalHeartRate:null})})),[n,{validate:i,updateSchema:E,setFieldsValue:D}]=O({labelWidth:100,schemas:U,showActionButtonGroup:!1,actionColOptions:{span:23}});function w(){return C(this,null,function*(){try{f({confirmLoading:!0});const o=yield i();t.clinicId!=null&&(o.clinicId=t.clinicId),t.deviceId!=null&&(o.deviceId=t.deviceId),t.patientCode!=null&&(o.patientCode=t.patientCode),t.infusion!=null&&(o.infusionId=t.infusion),t.patientId!=null&&(o.patientId=t.patientId),yield K(o),r.success("\u8BC4\u4EF7\u6210\u529F\uFF01"),p()}finally{f({confirmLoading:!1}),e("beforeClose")}})}function P(){e("beforeClose")}function y(){return C(this,null,function*(){const a=yield W({size:1,wheres:[{column:"type",value:1,termType:"eq"}]});if(a&&a.records.length){const s=a.records[0].config,F=[];for(const d in s)s[d]!=0&&d!="interval"&&d!="remindTime"&&F.push(d);E([{field:"shrinkPressure",ifShow:!!(F&&F.includes("shrinkPressure"))},{field:"diastensPressure",ifShow:!!(F&&F.includes("diastensPressure"))},{field:"breathRate",ifShow:!!(F&&F.includes("breathRate"))},{field:"heartRate",ifShow:!!(F&&F.includes("heartRate"))},{field:"bloodOxygenSaturation",ifShow:!!(F&&F.includes("bloodOxygenSaturation"))},{field:"fetalHeartRate",ifShow:!!(F&&F.includes("fetalHeartRate"))},{field:"score1",ifShow:!!(F&&(F.includes("statics")||F.includes("activity")))},{field:"statics",ifShow:!!(F&&F.includes("statics"))},{field:"activity",ifShow:!!(F&&F.includes("activity"))},{field:"score2",ifShow:!!(F&&F.includes("calm"))},{field:"calm",ifShow:!!(F&&F.includes("calm"))},{field:"score3",ifShow:!!(F&&(F.includes("leftArm")||F.includes("rightArm")||F.includes("leftLeg")||F.includes("rightLeg")))},{field:"leftArm",ifShow:!!(F&&F.includes("leftArm"))},{field:"rightArm",ifShow:!!(F&&F.includes("rightArm"))},{field:"leftLeg",ifShow:!!(F&&F.includes("leftLeg"))},{field:"rightLeg",ifShow:!!(F&&F.includes("rightLeg"))},{field:"score4",ifShow:!!(F&&F.includes("nauseaVomit"))},{field:"nauseaVomit",ifShow:!!(F&&F.includes("nauseaVomit"))},{field:"score5",ifShow:!!(F&&F.includes("itch"))},{field:"itch",ifShow:!!(F&&F.includes("itch"))},{field:"score6",ifShow:!!(F&&F.includes("vertigo"))},{field:"vertigo",ifShow:!!(F&&F.includes("vertigo"))},{field:"score7",ifShow:!!(F&&F.includes("soreThroat"))},{field:"soreThroat",ifShow:!!(F&&F.includes("soreThroat"))},{field:"score8",ifShow:!!(F&&F.includes("uroschesis"))},{field:"uroschesis",ifShow:!!(F&&F.includes("uroschesis"))},{field:"score9",ifShow:!!(F&&F.includes("breathDepression"))},{field:"breathDepression",ifShow:!!(F&&F.includes("breathDepression"))},{field:"score10",ifShow:!!(F&&F.includes("hoarseness"))},{field:"hoarseness",ifShow:!!(F&&F.includes("hoarseness"))},{field:"score11",ifShow:!!(F&&F.includes("cognitionObstacle"))},{field:"cognitionObstacle",ifShow:!!(F&&F.includes("cognitionObstacle"))},{field:"score12",ifShow:!!(F&&F.includes("satisfaction"))},{field:"satisfaction",ifShow:!!(F&&F.includes("satisfaction"))}])}})}return(o,a)=>(q(),N(B(v),$(o.$attrs,{onRegister:B(c),showFooter:!0,closable:!0,title:"\u9547\u75DB\u8BC4\u4EF7",onOk:w,onClose:P,width:"40%"}),{default:V(()=>[Y(B(z),{onRegister:B(n)},null,8,["onRegister"])]),_:1},16,["onRegister"]))}});var lu=Q(X,[["__scopeId","data-v-92a76d3c"]]);const Z=[{field:"evalInfo",label:"\u8BF7\u586B\u5199\u4FE1\u606F",component:"Divider",componentProps:{style:"font-size: 18px;font-weight: bold;"}},{field:"undoBy",label:"\u64A4\u6CF5\u4EBA\uFF1A",colProps:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6216\u8005\u8F93\u5165\u64A4\u6CF5\u4EBA",trigger:"blur"}],component:"ApiSelect",componentProps:({formModel:u})=>({placeholder:"\u8BF7\u9009\u62E9\u64A4\u6CF5\u4EBA\u5458",showSearch:!0,notFoundContent:null,filterOption:!0,onSearch:e=>{e&&(u.undoBy=e)},api:b,params:{size:500,includes:["id","name"],wheres:[{column:"reviewer",termType:"eq",type:"and",value:!0}]},labelField:"name",valueField:"name",resultField:"records"})},{field:"destroyer",label:"\u9500\u6BC1\u4EBA\uFF1A",colProps:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6216\u8005\u8F93\u5165\u9500\u6BC1\u4EBA",trigger:"blur"}],component:"ApiSelect",componentProps:({formModel:u})=>({placeholder:"\u8BF7\u9009\u62E9\u9500\u6BC1\u4EBA\u5458",showSearch:!0,notFoundContent:null,filterOption:!0,onSearch:e=>{e&&(u.destroyer=e)},api:b,params:{size:500,includes:["id","name"],wheres:[{column:"reviewer",termType:"eq",type:"and",value:!0}]},labelField:"name",valueField:"name",resultField:"records"})},{field:"witnesses",label:"\u89C1\u8BC1\u4EBA\uFF1A",colProps:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6216\u8005\u8F93\u5165\u89C1\u8BC1\u4EBA",trigger:"blur"}],component:"ApiSelect",componentProps:({formModel:u})=>({placeholder:"\u8BF7\u9009\u62E9\u89C1\u8BC1\u4EBA\u5458",showSearch:!0,notFoundContent:null,filterOption:!0,onSearch:e=>{e&&(u.witnesses=e)},api:b,params:{size:500,includes:["id","name"],wheres:[{column:"reviewer",termType:"eq",type:"and",value:!0}]},labelField:"name",valueField:"name",resultField:"records"})},{field:"undoTime",label:"\u64A4\u6CF5\u65F6\u95F4\uFF1A",colProps:{span:12},component:"DatePicker",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u64A4\u6CF5\u65F6\u95F4",trigger:"blur"}],componentProps:{placeholder:"\u8BF7\u8F93\u5165\u521B\u5EFA\u65F6\u95F4",format:"YYYY-MM-DD HH:mm:ss",showTime:{format:"HH:mm:ss"}}}];function ru(u){return S.post({url:"/device/manual/no_page",params:u})}function j(u){return S.post({url:`/bus/patient/do/${u==null?void 0:u.monitorType}/finished`,params:u})}function au(){return S.post({url:"/device/manual/stats/time"})}const Bu=M({__name:"EndRunDrawer",emits:["beforeClose","register","success"],setup(u,{emit:e}){const{hasPermission:r}=J(),{createMessage:t}=G(),c=g("\u7ED3\u675F\u7BA1\u7406");let f=g(!1);const p=[],n=[],i=[],[E,{setDrawerProps:D,closeDrawer:w}]=T(s=>C(this,null,function*(){var x,I,k,_,L;const F=new Date,d=H(F);if(a({undoTime:d}),s.record.length,f=s==null?void 0:s.monitorType,s!=null&&s.configs&&(s==null||s.configs,s.configs&&o([{field:"undoBy",rules:[{required:((x=s==null?void 0:s.configs)==null?void 0:x.undoByCheck)===1,message:"\u8BF7\u9009\u62E9\u6216\u8005\u8F93\u5165\u89C1\u8BC1\u4EBA",trigger:"blur"}]},{field:"destroyer",rules:[{required:((I=s==null?void 0:s.configs)==null?void 0:I.destroyerCheck)===1,message:"\u8BF7\u9009\u62E9\u6216\u8005\u8F93\u5165\u89C1\u8BC1\u4EBA",trigger:"blur"}]},{field:"witnesses",rules:[{required:((k=s==null?void 0:s.configs)==null?void 0:k.witnessesCheck)===1,message:"\u8BF7\u9009\u62E9\u6216\u8005\u8F93\u5165\u89C1\u8BC1\u4EBA",trigger:"blur"}]}])),((_=s==null?void 0:s.record)==null?void 0:_.length)>0){c.value=`\u7ED3\u675F\u7BA1\u7406 (\u5DF2\u9009\u62E9${(L=s==null?void 0:s.record)==null?void 0:L.length}\u9879)`;for(const l of s==null?void 0:s.record)p.push(l==null?void 0:l.clinicId),n.push(l==null?void 0:l.patientCode),i.push(l==null?void 0:l.patientId)}})),[P,{validate:y,updateSchema:o,setFieldsValue:a}]=O({labelWidth:100,schemas:Z,showActionButtonGroup:!1,actionColOptions:{span:23}});function m(){return C(this,null,function*(){if(!r(["bus:eval:add"])){t.warning("\u8BF7\u6C42\u672A\u6388\u6743\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458");return}try{D({confirmLoading:!0});const s=yield y(),F={clinicIds:p||void 0,patientCodes:n||void 0,patientIds:i||void 0,undo:{destroyer:s.destroyer,undoBy:s.undoBy,undoTime:s.undoTime,witnesses:s.witnesses},monitorType:f};yield j(F),t.success("\u7ED3\u675F\u7BA1\u7406\u6210\u529F\uFF01"),e("success"),e("beforeClose"),w()}finally{D({confirmLoading:!1})}})}return(s,F)=>(q(),N(B(v),$(s.$attrs,{onRegister:B(E),showFooter:!0,closable:!0,title:c.value,onOk:m,width:"30%"}),{default:V(()=>[Y(B(z),{onRegister:B(P)},null,8,["onRegister"])]),_:1},16,["onRegister","title"]))}});export{lu as E,Bu as _,ru as f,au as g};
|