12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097 |
- <template>
- <div class="app-container ">
- <div class="order-print-btn"
- v-loading="loading"
- element-loading-text="加载中"
- element-loading-spinner="el-icon-loading"
- element-loading-background="rgba(0, 0, 0, 0.8)"
- style="width: 100%;">
- <el-button type="primary" icon="el-icon-printer" @click="printThisPage">打印</el-button>
- </div>
- <div id="dialysis-print-box">
- <div class="dialysis-print-order" >
- <div class="order-yy-name">{{orgname}}</div>
- <div class="order-title">血液净化治疗记录单</div>
- <table class="table-box" style="margin-top: 10px;">
- <tbody>
- <tr>
- <td width="50">姓 名: </td>
- <td width="90">
- <div class="under-line"> {{patientInfo.name}}</div>
- </td>
- <td width="50">性 别: </td>
- <td width="120">
- <div>
- <label for="gender_1" class="radio-lebel-box">
- <span class="radio-inner">
- <span class="radio-fang " :class="{'is-checked-radio':patientInfo_gender_1}"></span>
- <input v-model="patientInfo.gender" id="gender_1" name="gender" type="radio" class="radio-no" value="1">
- </span>
- <span> 男</span>
- </label>
-
- <label for="gender_2" class="radio-lebel-box">
- <span class="radio-inner">
- <span class="radio-fang" :class="{'is-checked-radio':patientInfo_gender_2}"></span>
- <input v-model="patientInfo.gender" id="gender_2" :checked="patientInfo.gender==2?true:false" name="gender" type="radio" class="radio-no" value="2">
- </span>
- <span> 女</span>
- </label>
- </div>
- </td>
- <td width="50">年 龄: </td>
- <td width="40">
- <div class="under-line"> {{patientInfo.age}}</div>
- </td>
- <td>岁</td>
- <td width="10"> </td>
-
- <td width="50">科 室: </td>
- <td width="150">
- <div>
- <label for="source_1" class="radio-lebel-box">
- <span class="radio-inner">
- <span class="radio-fang " :class="{'is-checked-radio':patientInfo_source_1}"></span>
- <input v-model="patientInfo.source" id="source_1" name="source" type="radio" class="radio-no" value="1">
- </span>
- <span> 门 诊 透 析</span>
- </label>
-
- <label for="source_2" class="radio-lebel-box">
- <span class="radio-inner">
- <span class="radio-fang" :class="{'is-checked-radio':patientInfo_source_2}"></span>
- <input v-model="patientInfo.source" id="source_2" :checked="patientInfo.source==2?true:false" name="source" type="radio" class="radio-no" value="2">
- </span>
- <span> 住 院</span>
- </label>
- </div>
- </td>
- <td width="100">
- <div class="under-line">{{patientInfo.DialysisSchedule.DeviceZone.name}} </div>
- </td>
- <td>科</td>
- <td width="100">
- <div class="under-line"> {{patientInfo.DialysisSchedule.DeviceNumber.number}}</div>
- </td>
- <td>床</td>
-
- </tr>
- </tbody>
- </table>
- <table class="table-box" style="margin-top: 10px;">
- <tbody>
- <tr>
- <td width="130">住院号/透析卡号: </td>
- <td width="90">
- <div class="under-line"> {{patientInfo.admission_number?patientInfo.admission_number:'无'}} /{{patientInfo.dialysis_no}}</div>
- </td>
-
- <td width="40">诊 断: </td>
- <td width="">
- <div class="under-line"> </div>
- </td>
-
- <td width="80">治 疗 日 期: </td>
- <td width="120">
- <div class="under-line"> <span>{{queryParams.xtdate}}</span></div>
- </td>
-
- </tr>
- </tbody>
- </table>
- <table class="print-table" border="1">
- <tbody>
- <tr>
- <td width="30px" class="title-box">透前评估</td>
- <td >
- <table class="table-box">
- <tbody>
- <tr>
- <td width="70">入院方式: </td>
- <td width="230">
- <div>
- <label for="receiverTreatmentAccess_way_1" class="radio-lebel-box">
- <span class="radio-inner">
- <span class="radio-fang " :class="{'is-checked-radio':receiverTreatmentAccess.way==1?true:false}"></span>
- <input v-model="receiverTreatmentAccess.way" id="receiverTreatmentAccess_way_1" name="receiverTreatmentAccess_way" type="radio" class="radio-no" value="1">
- </span>
- <span> 步行</span>
- </label>
-
- <label for="receiverTreatmentAccess_way_2" class="radio-lebel-box">
- <span class="radio-inner">
- <span class="radio-fang" :class="{'is-checked-radio':receiverTreatmentAccess.way==2?true:false}"></span>
- <input v-model="receiverTreatmentAccess.way" id="receiverTreatmentAccess_way_2" name="receiverTreatmentAccess_way" type="radio" class="radio-no" value="2">
- </span>
- <span> 扶行</span>
- </label>
-
- <label for="receiverTreatmentAccess_way_3" class="radio-lebel-box">
- <span class="radio-inner">
- <span class="radio-fang" :class="{'is-checked-radio':receiverTreatmentAccess.way==3?true:false}"></span>
- <input v-model="receiverTreatmentAccess.way" id="receiverTreatmentAccess_way_3" name="receiverTreatmentAccess_way" type="radio" class="radio-no" value="3">
- </span>
- <span> 轮椅</span>
- </label>
-
- <label for="receiverTreatmentAccess_way_4" class="radio-lebel-box">
- <span class="radio-inner">
- <span class="radio-fang" :class="{'is-checked-radio':receiverTreatmentAccess.way==4?true:false}"></span>
- <input v-model="receiverTreatmentAccess.way" id="receiverTreatmentAccess_way_4" name="receiverTreatmentAccess_way" type="radio" class="radio-no" value="4">
- </span>
- <span> 平车</span>
- </label>
- </div>
- </td>
-
- <td ></td>
- <td width="50">意识: </td>
- <td width="180">
- <div>
- <label for="receiverTreatmentAccess_consciousness_1" class="radio-lebel-box">
- <span class="radio-inner">
- <span class="radio-fang " :class="{'is-checked-radio':receiverTreatmentAccess.consciousness==1?true:false}"></span>
- <input v-model="receiverTreatmentAccess.consciousness" id="receiverTreatmentAccess_consciousness_1" name="receiverTreatmentAccess_consciousness" type="radio" class="radio-no" value="1">
- </span>
- <span> 清醒</span>
- </label>
-
- <label for="receiverTreatmentAccess_consciousness_2" class="radio-lebel-box">
- <span class="radio-inner">
- <span class="radio-fang" :class="{'is-checked-radio':receiverTreatmentAccess.consciousness==2?true:false}"></span>
- <input v-model="receiverTreatmentAccess.consciousness" id="receiverTreatmentAccess_consciousness_2" name="receiverTreatmentAccess_consciousness" type="radio" class="radio-no" value="2">
- </span>
- <span> 嗜睡</span>
- </label>
-
- <label for="receiverTreatmentAccess_consciousness_3" class="radio-lebel-box">
- <span class="radio-inner">
- <span class="radio-fang" :class="{'is-checked-radio':receiverTreatmentAccess.consciousness==3?true:false}"></span>
- <input v-model="receiverTreatmentAccess.consciousness" id="receiverTreatmentAccess_consciousness_3" name="receiverTreatmentAccess_consciousness" type="radio" class="radio-no" value="3">
- </span>
- <span> 昏迷</span>
- </label>
- </div>
- </td>
- <td ></td>
- <td width="50">体温: </td>
- <td width="100">
- <div class="under-line"> {{predialysis.temperature}}</div>
- </td>
- <td width="30">℃</td>
- </tr>
- </tbody>
- </table>
-
- <table class="table-box">
- <tbody>
- <tr>
- <td width="40">体位: </td>
- <td width="400">
- <div>
- <label for="" class="radio-lebel-box">
- <span class="radio-inner">
- <span class="radio-fang " ></span>
- <input type="radio" class="radio-no" value="1">
- </span>
- <span> 自动体位</span>
- </label>
-
- <label for="" class="radio-lebel-box">
- <span class="radio-inner">
- <span class="radio-fang " ></span>
- <input type="radio" class="radio-no" value="1">
- </span>
- <span> 平卧位</span>
- </label>
-
- <label for="" class="radio-lebel-box">
- <span class="radio-inner">
- <span class="radio-fang " ></span>
- <input type="radio" class="radio-no" value="1">
- </span>
- <span> 半卧位</span>
- </label>
-
- <label for="" class="radio-lebel-box">
- <span class="radio-inner">
- <span class="radio-fang " ></span>
- <input type="radio" class="radio-no" value="1">
- </span>
- <span> 端坐位</span>
- </label>
-
- <label for="" class="radio-lebel-box">
- <span class="radio-inner">
- <span class="radio-fang " ></span>
- <input type="radio" class="radio-no" value="1">
- </span>
- <span> 躁动不安</span>
- </label>
-
-
- </div>
- </td>
-
- <td ></td>
- </tr>
- </tbody>
- </table>
- <table class="print-table">
- <tbody>
- <tr>
- <td width="55%">
- <table class="table-box">
- <tbody>
- <tr>
- <td width="90">透析间期:</td>
- <td>
- <div class="under-line"> {{predialysis.dialysis_interphase}}</div>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- <td>
- <table class="table-box">
- <tbody>
- <tr>
- <td width="90">透前症状:</td>
- <td>
- <div class="under-line"> {{predialysis.symptom_before_dialysis}}</div>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- <tr>
- <td>
- <table class="table-box">
- <tbody>
- <tr>
- <td width="60">内瘘:</td>
- <td>
- <div class="under-line"> {{predialysis.internal_fistula}}</div>
- </td>
-
- </tr>
- </tbody>
- </table>
- </td>
- <td>
- <table class="table-box">
- <tbody>
- <tr>
- <td width="60">导管:</td>
- <td>
- <div class="under-line"> {{predialysis.catheter}}</div>
- </td>
-
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- <tr>
- <td>
- <table class="table-box">
- <tbody>
- <tr>
- <td width="75">合并症:</td>
- <td>
- <div class="under-line"> {{predialysis.complication}}</div>
- </td>
-
- </tr>
- </tbody>
- </table>
- </td>
- <td>
- <table class="table-box">
- <tbody>
- <tr>
- <td width="110">前次透析后:</td>
- <td width="">
- <div class="under-line"> {{predialysis.last_post_dialysis}}</div>
- </td>
- <td width="20"></td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- <tr>
- <td>
- <table class="table-box">
- <tbody>
- <tr>
- <td width="90">透前称重:</td>
- <td width="">
- <div class="under-line"> {{predialysis.weight_before}}</div>
- </td>
- <td width="20">kg</td>
- <td width="30"></td>
- </tr>
- </tbody>
- </table>
- </td>
- <td>
- <table class="table-box">
- <tbody>
- <tr>
- <td width="90">附加物重:</td>
- <td width="">
- <div class="under-line"> {{predialysis.additional_weight}}</div>
- </td>
- <td width="20">kg</td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
- <table class="print-table" border="1">
- <tbody>
- <tr>
- <td class="title-box">透析后评估</td>
- </tr>
- <tr>
- <td style="padding-bottom:15px;">
- <table class="table-box">
- <tbody>
- <tr>
- <td width="20">BP</td>
- <td width="">
- <div class="under-line"> {{afterdialysis.systolic_blood_pressure}}/{{afterdialysis.diastolic_blood_pressure}}</div>
- </td>
- <td width="20">mmHg</td>
- <td width="30"></td>
-
- <td width="13">T</td>
- <td width="">
- <div class="under-line"> {{afterdialysis.temperature}}</div>
- </td>
- <td width="30">℃</td>
- <td width="30"></td>
- <td width="13">R</td>
- <td width="">
- <div class="under-line"> {{afterdialysis.breathing_rate}}</div>
- </td>
- <td width="60">次/分</td>
- </tr>
- </tbody>
- </table>
- <table class="print-table">
- <tbody>
- <tr>
- <td width="50%">
- <table class="table-box">
- <tbody>
- <tr>
- <td width="100">实际超滤量:</td>
- <td width="">
- <div class="under-line"> {{afterdialysis.actual_ultrafiltration}}</div>
- </td>
- <td width="20">ml</td>
- <td width="30"></td>
- </tr>
- </tbody>
- </table>
- </td>
- <td>
- <table class="table-box">
- <tbody>
- <tr>
- <td width="100">实际置换量:</td>
- <td width="">
- <div class="under-line"> {{afterdialysis.actual_displacement}}</div>
- </td>
- <td width="20">L</td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- <tr>
- <td width="50%">
- <table class="table-box">
- <tbody>
- <tr>
- <td width="60">凝血:</td>
- <td>
- <div class="under-line"> {{afterdialysis.cruor}}</div>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- <td>
- <table class="table-box">
- <tbody>
- <tr>
- <td width="90">透后症状:</td>
- <td>
- <div class="under-line"> {{afterdialysis.symptom_after_dialysis}}</div>
- </td>
-
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- <tr>
-
- <td>
- <table class="table-box">
- <tbody>
- <tr>
- <td width="60">内瘘:</td>
- <td>
- <div class="under-line"> {{afterdialysis.internal_fistula}}</div>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- <td>
- <table class="table-box">
- <tbody>
- <tr>
- <td width="60">导管:</td>
- <td>
- <div class="under-line"> {{afterdialysis.catheter}}</div>
- </td>
-
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- <tr>
- <td>
- <table class="table-box">
- <tbody>
- <tr>
- <td width="75">并发症:</td>
- <td>
- <div class="under-line"> {{afterdialysis.complication}}</div>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- <td>
- <table class="table-box">
- <tbody>
- <tr>
- <td width="150">实际治疗时间:</td>
- <td>
- <div class="under-line"> {{afterdialysis.actual_treatment_hour}} h {{afterdialysis.actual_treatment_minute}} min </div>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
-
- <table class="print-table" border="1">
- <tbody>
- <tr>
- <td width="50%" class="title-box">透析处方</td>
- </tr>
- <tr>
- <td style="padding-bottom:15px;">
- <table class="table-box">
- <tbody>
- <tr>
- <td width="90">透析方式:</td>
- <td width="">
- <div class="under-line"> {{prescription.mode}}</div>
- </td>
- <td width="100">处方脱水量:</td>
- <td width="">
- <div class="under-line"> {{prescription.dewater_amount}}</div>
- </td>
- <td width="20">L</td>
- <td width="90">透析时长:</td>
- <td width="">
- <div class="under-line"> {{prescription.dialysis_duration}}</div>
- </td>
- <td width="20">h</td>
- <td width=""> </td>
- <td width="90">置换方式:</td>
- <td width="">
- <div class="under-line"> {{prescription.replacement}}</div>
- </td>
- <td width=""> </td>
- <td width="100">置换总量:</td>
- <td width="">
- <div class="under-line"> {{prescription.replacement_total}}</div>
- </td>
- <td width="30">L</td>
- </tr>
- </tbody>
- </table>
- <table class="table-box">
- <tbody>
- <tr>
- <td width="75">透析器:</td>
- <td width="">
- <div class="under-line"> {{prescription.perfusion_apparatus_name}}</div>
- </td>
- <td width="20"></td>
- <td width="60">机号:</td>
- <td width="">
- <div class="under-line"> {{prescription.device.name}}</div>
- </td>
- <td width=""></td>
- </tr>
- </tbody>
- </table>
- <table class="table-box">
- <tbody>
- <tr>
- <td width="75">血流量:</td>
- <td width="60">
- <div class="under-line"> {{prescription.blood_flow_volume}}</div>
- </td>
- <td width="90">ml/min</td>
- <td width=""></td>
-
- <td width="60">抗凝剂</td>
- <td width="">
- <div class="under-line"> {{prescription.anticoagulant}}</div>
- </td>
- <td width=""> </td>
-
- <template v-if="AlPanel.shouji != -1">
- <td width="40">首剂</td>
- <td width="">
- <div class="under-line"> {{prescription.anticoagulant_shouji}}</div>
- </td>
- <td width="">{{AlPanel.shouji_unit}}</td>
- </template>
-
- <template v-if="AlPanel.weichi != -1">
- <td width="40">维持</td>
- <td width="">
- <div class="under-line"> {{prescription.anticoagulant_weichi}}</div>
- </td>
- <td width="">{{AlPanel.weichi_unit}}</td>
- </template>
-
- <template v-if="AlPanel.zongliang != -1">
- <td width="40">总量</td>
- <td width="">
- <div class="under-line"> {{prescription.anticoagulant_zongliang}}</div>
- </td>
- <td width="">{{AlPanel.zongliang_unit}}</td>
- </template>
-
- <template v-if="AlPanel.gaimingcheng != -1">
- <td width="60">钙名称</td>
- <td width="">
- <div class="under-line"> {{prescription.anticoagulant_gaimingcheng}}</div>
- </td>
- <td width=""></td>
- </template>
-
- <template v-if="AlPanel.gaijiliang != -1">
- <td width="40">剂量</td>
- <td width="">
- <div class="under-line"> {{prescription.anticoagulant_gaijiliang}}</div>
- </td>
- <td>{{AlPanel.gaijiliang_unit}}</td>
- </template>
- </tr>
- </tbody>
- </table>
- <table class="table-box">
- <tbody>
- <tr>
- <td width="100">透析液配方:</td>
- <td width="18">钾</td>
- <td width="">
- <div class="under-line"> {{prescription.kalium}}</div>
- </td>
- <td width="75">mmol/L</td>
- <td width="18">钠</td>
- <td width="">
- <div class="under-line"> {{prescription.sodium}}</div>
- </td>
- <td width="75">mmol/L</td>
- <td width="18">钙</td>
- <td width="">
- <div class="under-line"> {{prescription.calcium}}</div>
- </td>
- <td width="75">mmol/L</td>
- <td width="75">碳酸氢根</td>
- <td width="">
- <div class="under-line"> {{prescription.bicarbonate}}</div>
- </td>
- <td width="75">mmol/L</td>
-
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
-
- <table class="print-table" border="1">
- <tbody>
- <tr>
- <td class="title-box">临时医嘱</td>
- </tr>
- </tbody>
- </table>
- <table class="print-table-no" border="1" count="0">
- <tbody>
- <tr>
- <td width="100">时间</td>
- <td>医嘱内容</td>
- <td width="75">医生签名</td>
- <td width="75">执行时间</td>
- <td width="75">执行人员</td>
- <td width="75">核对人员</td>
- </tr>
- <tr v-for="advice in advices" :key="advice.id">
- <td> {{advice.start_time | parseTime('{y}-{m}-{d} {h}:{i}')}}</td>
- <td>
- <span v-if="advice.parent_id>0">└</span>
- <span >{{advice.advice_name }}</span>
- <span >{{advice.advice_desc}}</span>
- <span v-if="advice.single_dose">{{advice.single_dose}}{{advice.single_dose_unit}}</span>
- <span v-if="advice.prescribing_number">{{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
- <span >{{advice.delivery_way}}</span>
- <span >{{advice.execution_frequency}}</span>
- </td>
- <td>{{getXuserName(advice.advice_doctor)}}</td>
- <td><span v-if="advice.execution_time!=0" >{{advice.execution_time| parseTime('{y}-{m}-{d} {h}:{i}:{s}')}}</span></td>
- <td><span v-if="advice.parent_id==0" >{{getXuserName(advice.execution_staff)}}</span></td>
- <td><span v-if="advice.parent_id==0" >{{getXuserName(advice.checker)}}</span>
- </td>
- </tr>
- </tbody>
- </table>
- <table class="print-table" border="1">
- <tbody>
- <tr>
- <td class="title-box">监测记录</td>
- </tr>
- </tbody>
- </table>
- <table class="print-table-no" border="1" count="0">
- <tbody>
- <tr>
- <td >时间</td>
- <td >血压<font size="2">(mmHg)</font></td>
- <td >脉率<font size="2">(次/分)</font></td>
- <td >呼吸<font size="2">(次/分)</font></td>
- <td >血流量<font size="2">(ml/min)</font></td>
- <td >静脉压<font size="2">(mmHg)</font></td>
- <td >跨膜压<font size="2">(mmHg)</font></td>
- <td >超滤量<font size="2"> (ml/h)</font></td>
- <td >钠浓度<font size="2"> (mmol/L)</font></td>
- <td >透析液温度<font size="2"> (℃)</font></td>
- <td >置换率<font size="2"> (ml/min)</font></td>
- <td >置换量<font size="2"> (L)</font></td>
-
- <td width="" style="min-width:45px;">病情变化</td>
- <td width="" style="min-width:120px;">处理</td>
- <td width="" style="min-width:45px;">结果</td>
- </tr>
- <tr v-for="monitor in monitors" :key="monitor.id">
- <td> {{monitor.monitoring_date | parseTime('{y}-{m}-{d}')}} {{monitor.monitoring_time}}</td>
- <td> {{monitor.systolic_blood_pressure}} / {{monitor.diastolic_blood_pressure}}</td>
- <td> {{monitor.pulse_frequency}}</td>
- <td> {{monitor.breathing_rate}}</td>
- <td> {{monitor.blood_flow_volume}}</td>
- <td> {{monitor.venous_pressure}}</td>
- <td> {{monitor.transmembrane_pressure}}</td>
- <td> {{monitor.ultrafiltration_volume}}</td>
- <td> {{monitor.sodium_concentration}}</td>
- <td> {{monitor.dialysate_temperature}}</td>
- <td> {{monitor.replacement_rate}}</td>
- <td> {{monitor.displacement_quantity}}</td>
- <td> {{monitor.symptom}}</td>
- <td> {{monitor.dispose}}</td>
- <td> {{monitor.result}}</td>
- </tr>
- </tbody>
- </table>
-
- <table class="print-table" border="1">
- <tbody>
- <tr>
- <td class="title-box">治疗小结</td>
- </tr>
- <tr>
- <td style="padding-bottom:15px;">
- <table class="table-box">
- <tbody>
- <tr>
- <td width="75">透后宣教:</td>
- <td width="">
- <div class="under-line" style="text-align:left;"> {{summary.mission}}</div>
- </td>
- <td width=""></td>
- </tr>
- </tbody>
- </table>
- <table class="table-box">
- <tbody>
- <tr>
- <td width="75">治疗小结</td>
- <td width="">
- <div class="under-line" style="text-align:left;"> {{summary.dialysis_summary}}</div>
- </td>
- </tr>
- </tbody>
- </table>
- <!-- <table class="table-box">
- <tbody>
- <tr>
- <td width="75">
- 换药护士
- </td>
- <td width="90">
- <div class="under-line"> </div>
- </td>
- <td width=""></td>
- <td width="75">治疗护士</td>
- <td width="90">
- <div class="under-line"> </div>
- </td>
- <td width=""></td>
- <td width="75">核对人员</td>
- <td width="90">
- <div class="under-line"> </div>
- </td>
- <td width=""></td>
- <td width="75">下机护士</td>
- <td width="90">
- <div class="under-line"> </div>
- </td>
- <td width=""></td>
- <td width="75">治疗医生</td>
- <td width="90">
- <div class="under-line"> </div>
- </td>
- </tr>
- </tbody>
- </table> -->
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </template>
-
- <script>
- import {getDialysisRecord} from '@/api/dialysis';
- import {
- jsGetAge,
- uParseTime
- } from "@/utils/tools";
- import print from "print-js";
-
- export default {
- name:'dialysisPrintOrder',
- data(){
- return {
- loading:false,
- orgname:'',
- patientInfo_gender_1:false,
- patientInfo_gender_2:false,
- patientInfo_source_2:false,
- patientInfo_source_1:false,
- modeOptions:{},
- replacementWays: [],
- perfusionApparatus: [],
- anticoagulantsConfit: {},
-
- queryParams:{
- xtdate:'',
- xtno:'',
- },
- patientInfo:{
- birth:'',
- age:'',
- DialysisSchedule:{
- DeviceNumber:{},
- DeviceZone:{},
- },
- gender:0
- },
- predialysis:{},
- afterdialysis:{},
- prescription:{
- device:{},
- },
- advices:[],
- users:[],
- monitors:[],
- summary:{},
- receiverTreatmentAccess:{},
-
-
- AlPanel:{id:0, name:"", type:1, shouji:2, weichi:2, zongliang:2, gaimingcheng:-1, gaijiliang:-1, shouji_unit:"mg", weichi_unit:"mg/h", zongliang_unit:"mg", gaimingcheng_unit:"", gaijiliang_unit:""},
-
- }
- },
- methods:{
- printThisPage(){
- var ptime = Math.round(new Date().getTime() / 1000);
- this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}');
-
- const style = '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{margin-top:10px;width:100%;line-height:20px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:35px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:20px;border:1px solid #666;letter-spacing:10px}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}';
-
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false
- });
- },
-
- getXuserName(id){
- if (id<=0) {
- return "";
- }
- var name = "";
- if (this.users==null || typeof(this.users.length) == "undefined") {
- return name;
- }
- var leng = this.users.length;
- if (leng==0) {
- return name;
- }
- for (let index = 0; index < leng; index++) {
- if (this.users[index].id == id) {
- name = this.users[index].name;
- break;
- }
- }
- return name;
- },
- modeName(mode_id) {
- return typeof(this.modeOptions[mode_id]) != 'undefined' && typeof(this.modeOptions[mode_id].name) != 'undefined'?this.modeOptions[mode_id].name:'';
- },
- getDialysisRecord(){
- getDialysisRecord(this.queryParams).then(response=>{
- if(response.data.state==1) {
- this.users = response.data.data.users;
- this.patientInfo = response.data.data.patientInfo;
- this.patientInfo.birth = uParseTime(this.patientInfo.birthday, '{y}-{m}-{d}');
- this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-');
- if (response.data.data.patientInfo.first_dialysis_date !=0) {
- this.patientInfo.first_dialysis_date = uParseTime(response.data.data.patientInfo.first_dialysis_date, '{y}-{m}-{d}');
- }else {
- this.patientInfo.first_dialysis_date = '';
- }
-
- this.predialysis = response.data.data.PredialysisEvaluation;
- this.afterdialysis = response.data.data.AssessmentAfterDislysis;
- this.prescription = response.data.data.dialysisPrescription;
- this.receiverTreatmentAccess = response.data.data.receiverTreatmentAccess;
-
- this.prescription.mode = this.modeName(this.prescription.mode_id);
- var rwLen = this.replacementWays.length;
- this.prescription.replacement = "";
- for (let index = 0; index < rwLen; index++) {
- if(this.replacementWays[index].id == this.prescription.replacement_way) {
- this.prescription.replacement = this.replacementWays[index].name;
- break;
- }
- }
-
-
- var paLen = this.perfusionApparatus.length;
- this.prescription.perfusion_apparatus_name = "";
- for (let index = 0; index < paLen; index++) {
- if(this.perfusionApparatus[index].id == this.prescription.perfusion_apparatus) {
- this.prescription.perfusion_apparatus_name = this.perfusionApparatus[index].name;
- break;
- }
- }
-
- var acLen = this.anticoagulantsConfit.length;
- var thisALID = this.prescription.anticoagulant;
- this.prescription.anticoagulant = "";
-
- if (typeof(this.anticoagulantsConfit[thisALID]) != 'undefined' && this.anticoagulantsConfit[thisALID] != null) {
- this.prescription.anticoagulant = this.anticoagulantsConfit[thisALID].name;
- this.AlPanel = this.anticoagulantsConfit[thisALID];
- }
-
- this.advices = response.data.data.advices;
- this.monitors = response.data.data.monitors;
- this.summary = response.data.data.summary;
-
-
- }else {
- this.$message.error("请求数据失败");
- return false;
- }
-
- });
- }
- },
- watch:{
- "patientInfo.gender":function () {
-
- if (this.patientInfo.gender == 1) {
- this.patientInfo_gender_1 = true;
- this.patientInfo_gender_2 = false;
- } else if (this.patientInfo.gender == 2) {
- this.patientInfo_gender_2 = true;
- this.patientInfo_gender_1 = false;
- }else {
- this.patientInfo_gender_2 = false;
- this.patientInfo_gender_1 = false;
- }
- },
- "patientInfo.source":function () {
-
- if (this.patientInfo.source == 1) {
- this.patientInfo_source_1 = true;
- this.patientInfo_source_2 = false;
- } else if (this.patientInfo.source == 2) {
- this.patientInfo_source_2 = true;
- this.patientInfo_source_1 = false;
- }else {
-
- this.patientInfo_source_2 = false;
- this.patientInfo_source_1 = false;
- }
- }
-
-
- },
- created(){
- var xtuser = this.$store.getters.xt_user;
- // this.orgname = xtuser.org.org_name;
- this.orgname = "遂溪方济医院";
- this.modeOptions = this.$store.getters.treatment_mode;
- this.replacementWays = this.$store.getters.replacement_ways;
- this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
- this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
-
- const xtdate = this.$route.query && this.$route.query.xtdate;
- const xtno = this.$route.query && this.$route.query.xtno;
- if (typeof(xtdate)=="string" && xtdate.length>0 && typeof(xtno)=="string" && xtno.length>0){
- this.queryParams.xtdate = xtdate;
- this.queryParams.xtno = xtno;
- this.getDialysisRecord();
- }else {
- this.$message.error("参数不齐");
- return false;
- }
- }
-
- }
- </script>
-
- <style >
- .dialysis-print-order{
- width:960px; margin:0 auto
- }
-
- .dialysis-print-order .order-yy-name{
- margin: auto;
- text-align: center;
- font-size: 20px;
- letter-spacing: 5px;
- }
- .dialysis-print-order .order-title{
- margin: auto;
- font-weight: 600;
- text-align: center;
- font-size: 22px;
- padding: 10px 20px 20px 20px;
- }
- .dialysis-print-order .table-box {
-
- width: 100%;
- line-height: 20px;
- font-size: 14px;
- }
- .dialysis-print-order .print-table {
- width: 100%;
- text-align: center;
- border-collapse: collapse;
- line-height: 35px;
- font-size: 14px;
- }
- .dialysis-print-order .print-table-no {
- width: 100%;
- text-align: center;
- border-collapse: collapse;
- font-size: 14px;
- }
- .dialysis-print-order .under-line {
- border-bottom: 1px solid #999;
- width: 95%;
- text-align: center;
- margin-left: 2px;
- }
- .dialysis-print-order .title-box{
- text-align: center;
- font-size: 16px;
- border: 1px solid #666;
- }
- .dialysis-print-order .radio-lebel-box {
- font-weight: 400;
- cursor: pointer;
- }
- .dialysis-print-order .radio-no {
- opacity: 0;
- outline: none;
- position: absolute;
- margin: 0;
- width: 0;
- height: 0;
- z-index: -1;
- }
- .dialysis-print-order .radio-inner {
- white-space: nowrap;
- cursor: pointer;
- outline: none;
- display: inline-block;
- line-height: 1;
- position: relative;
- vertical-align: middle;
- }
- .dialysis-print-order .radio-fang {
- display: inline-block;
- position: relative;
- border: 1px solid #000;
- box-sizing: border-box;
- width: 14px;
- height: 14px;
- background-color: #fff;
- z-index: 1;
- transition: border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46);
- }
- .dialysis-print-order .is-checked-radio::after {
- content: "√";
- font-size: 15px;
- }
- </style>
|