DialysisPrintOrderSeventythree.vue 125KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312
  1. <template>
  2. <div>
  3. <el-button type="primary" @click="checkData">一键核对</el-button>
  4. <el-button type="primary" @click="toUpload">一键上传</el-button>
  5. <div id="dialysis-print-box-1" ref="pdfContent">
  6. <div
  7. id="dialysis-print-box-1-1"
  8. class="dialysis-print-order print-template-two print_page_main_content"
  9. >
  10. <div style="display: inline-block; width: 100%; text-align: center">
  11. <div
  12. class="order-yy-name"
  13. style="
  14. letter-spacing: 0;
  15. font-weight: 600;
  16. font-size: 22px;
  17. display: inline-block;
  18. "
  19. >
  20. {{ orgname }}
  21. </div>
  22. <div
  23. class="order-title"
  24. style="
  25. letter-spacing: 0;
  26. font-weight: 600;
  27. font-size: 22px;
  28. display: inline-block;
  29. "
  30. >
  31. 血液净化治疗记录单
  32. </div>
  33. </div>
  34. <div class="row">
  35. <div class="inline_block">
  36. 姓名:
  37. <div class="under_line" style="width: 50px; text-align: center">
  38. {{ patientInfo.name }}
  39. </div>
  40. </div>
  41. <div class="inline_block" style="margin-left: 10px">
  42. 性别:
  43. <div class="under_line" style="width: 30px; text-align: center">
  44. {{ patientInfo_gender_1 ? "男" : "女" }}
  45. </div>
  46. </div>
  47. <div class="inline_block" style="margin-left: 10px">
  48. 年龄:
  49. <div class="under_line" style="width: 30px; text-align: center">
  50. {{ getAge(patientInfo) }}
  51. </div>
  52. </div>
  53. <div class="inline_block">
  54. 透析号:
  55. <div class="under_line" style="width: 70px; text-align: center">
  56. {{ patientInfo.dialysis_no }}
  57. </div>
  58. </div>
  59. <div class="inline_block" v-if="receiverTreatmentAccess.condition!=1">
  60. 门诊:
  61. <div class="under_line" style="width: 30px; text-align: center">
  62. <check-box :checked="patientInfo_source_1"></check-box>
  63. </div>
  64. </div>
  65. <div class="inline_block">
  66. 病区:
  67. <div class="under_line" style="width: 70px; text-align: left">
  68. <span>{{
  69. patientInfo.DialysisSchedule.device_zone.name
  70. ? patientInfo.DialysisSchedule.device_zone.name
  71. : "/"
  72. }}</span>
  73. </div>
  74. </div>
  75. <div class="inline_block" style="margin-left: 10px;">
  76. 床号:
  77. <div class="under_line" style="width: 50px; text-align: center">
  78. <span >{{
  79. dialysisOrder &&
  80. dialysisOrder.DeviceNumber &&
  81. dialysisOrder.DeviceNumber.number.length > 0
  82. ? dialysisOrder.DeviceNumber.number
  83. : patientInfo.DialysisSchedule.device_number.number
  84. }}</span>
  85. </div>
  86. </div>
  87. <div class="inline_block" style="margin-left: 10px">
  88. 透析次数:
  89. <div class="under_line"
  90. style="width:50px; text-align: left;
  91. word-wrap: break-word;white-space: inherit;
  92. "
  93. >
  94. {{
  95. patientInfo.total_dialysis +
  96. patientInfo.user_sys_before_count
  97. ? patientInfo.total_dialysis +
  98. patientInfo.user_sys_before_count
  99. : "/"
  100. }}
  101. </div>
  102. </div>
  103. </div>
  104. <div class="row">
  105. <div class="inline_block" style="margin-left: 10px">
  106. 透析日期:
  107. <div class="under_line"
  108. style="width: 120px;text-align: left;
  109. word-wrap: break-word;white-space: inherit;"
  110. >
  111. {{ xtdate }}
  112. </div>
  113. </div>
  114. <div class="inline_block" style="margin-left: 10px">
  115. 诊断:
  116. <div
  117. class="under_line"
  118. style="
  119. width: 500px;
  120. text-align: left;
  121. word-wrap: break-word;
  122. white-space: inherit;
  123. "
  124. >
  125. {{ patientInfo.diagnose }}
  126. </div>
  127. </div>
  128. </div>
  129. <div class="row"
  130. :style="this.totollength > 13 ? 'margin-bottom:400px;' : ''"
  131. >
  132. <table class="proj_table">
  133. <tbody>
  134. <tr>
  135. <td
  136. style="letter-spacing: 5px; text-align: center; font-weight: 520;
  137. font-size: 16px; padding: 6px 8px;line-height: 30px;
  138. "
  139. >
  140. 透析前情况
  141. </td>
  142. <td
  143. style=" letter-spacing: 5px; text-align: center; font-weight: 520;
  144. font-size: 16px; padding: 6px 8px; line-height: 30px;
  145. "
  146. >
  147. 透析后情况
  148. </td>
  149. </tr>
  150. <tr>
  151. <td>
  152. <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;" >
  153. <div class="inline_block" style="flex: 0.8;">
  154. T:
  155. <div class="under_line" style="width: 40px; text-align: center"
  156. >
  157. {{
  158. predialysis.temperature ? predialysis.temperature : "/"
  159. }}
  160. </div>
  161. °C
  162. </div>
  163. <div class="inline_block" style="flex: 0.9;">
  164. P:
  165. <div class="under_line" style="width: 40px; text-align: center"
  166. >
  167. {{
  168. predialysis.pulse_frequency ? predialysis.pulse_frequency : "/"
  169. }}
  170. </div>
  171. 次/分
  172. </div>
  173. <div class="inline_block" style="flex: 0.9;">
  174. R:
  175. <div
  176. class="under_line"
  177. style="width: 40px; text-align: center"
  178. >
  179. {{
  180. predialysis.breathing_rate
  181. ? predialysis.breathing_rate
  182. : "/"
  183. }}
  184. </div>
  185. 次/分
  186. </div>
  187. <div class="inline_block" style="flex: 1.6;">
  188. BP:
  189. <div
  190. class="under_line"
  191. style="width: 40px; text-align: center"
  192. >
  193. {{
  194. predialysis.systolic_blood_pressure
  195. ? predialysis.systolic_blood_pressure
  196. : "/"
  197. }}
  198. </div>
  199. /
  200. <div
  201. class="under_line"
  202. style="width: 40px; text-align: center"
  203. >
  204. {{
  205. predialysis.diastolic_blood_pressure
  206. ? predialysis.diastolic_blood_pressure
  207. : "/"
  208. }}
  209. </div>
  210. mmHg
  211. </div>
  212. </div>
  213. <div class="row"
  214. style="padding: 2px 0; line-height: 23px; display: flex"
  215. >
  216. <div class="inline_block" style=" flex: 1">
  217. 透前症状:
  218. <div
  219. style="width: 50%; text-align: left;display: inline-block;border-bottom: 1px solid #999;"
  220. >
  221. <span v-if="predialysis&&predialysis.symptom_before_dialysis!=''">
  222. {{
  223. predialysis.symptom_before_dialysis
  224. ? predialysis.symptom_before_dialysis
  225. : "/"
  226. }}
  227. </span>
  228. <span v-if="predialysis&&predialysis.symptom_before_dialysis_other!=''">
  229. {{ predialysis.symptom_before_dialysis_other?predialysis.symptom_before_dialysis_other:"/" }}
  230. </span>
  231. <span v-if="predialysis&&predialysis.symptom_before_dialysis==''&&predialysis.symptom_before_dialysis_other==''">/</span>
  232. </div>
  233. </div>
  234. <div class="inline_block" style=" flex: 1">
  235. 跌倒评估:
  236. <div
  237. style="width: 50%; text-align: left;display: inline-block;border-bottom: 1px solid #999;"
  238. >
  239. {{ receiverTreatmentAccess.score ? receiverTreatmentAccess.score : '/' }}
  240. </div>
  241. </div>
  242. </div>
  243. <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
  244. <div class="inline_block" style="flex: 1;">
  245. 内瘘:
  246. <div class="under_line"
  247. style=" width: 70%; text-align: center;
  248. white-space: normal;
  249. "
  250. >
  251. {{
  252. predialysis.internal_fistula
  253. ? predialysis.internal_fistula
  254. : "/"
  255. }}
  256. </div>
  257. </div>
  258. <div class="inline_block" style=" flex: 1">
  259. 导管:
  260. <div
  261. style="width: 70%; text-align: left;display: inline-block;border-bottom: 1px solid #999;"
  262. >
  263. {{ predialysis.catheter ? predialysis.catheter : "/" }}
  264. </div>
  265. </div>
  266. </div>
  267. <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
  268. <div class="inline_block" style="flex: 1;">
  269. 合并症:
  270. <div class="under_line"
  271. style=" width: 50%;text-align: center; white-space: normal;"
  272. >
  273. {{ predialysis.complication ? predialysis.complication : "/" }}
  274. </div>
  275. </div>
  276. <div class="inline_block" style=" flex: 1">
  277. 备注:
  278. <div
  279. style="width: 70%; text-align: left;display: inline-block;border-bottom: 1px solid #999;"
  280. >
  281. {{ predialysis.remark }}
  282. </div>
  283. </div>
  284. </div>
  285. <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
  286. <div class="inline_block" style="flex: 1;">
  287. 干体重:
  288. <div class="under_line"
  289. style=" width: 50%; text-align: center; white-space: normal;"
  290. >
  291. {{ predialysis.dry_weight ? predialysis.dry_weight : "/"}}
  292. </div>kg
  293. </div>
  294. <div class="inline_block" style=" flex: 1">
  295. 透前体重:
  296. <div
  297. style="width: 50%; text-align: left;display: inline-block;border-bottom: 1px solid #999;"
  298. >
  299. {{ predialysis.weight_before ?
  300. parseFloat( predialysis.weight_before - predialysis.additional_weight ).toFixed(1) : "/"
  301. }}
  302. </div>kg
  303. </div>
  304. </div>
  305. <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
  306. <div class="inline_block" style="flex: 1;">
  307. 体重增加:
  308. <div
  309. class="under_line"
  310. style=" width: 50%;text-align: center;white-space: normal;"
  311. >
  312. {{ predialysis.weight_before > 0 && predialysis.dry_weight > 0 ?
  313. parseFloat(predialysis.weight_before - predialysis.dry_weight - predialysis.additional_weight).toFixed(2): "/" }}
  314. </div>kg
  315. </div>
  316. <div class="inline_block" style=" flex: 1">
  317. 预增脱水量:
  318. <div
  319. style="width: 50%; text-align: left;display: inline-block;border-bottom: 1px solid #999;"
  320. >
  321. 0
  322. </div>L
  323. </div>
  324. </div>
  325. </td>
  326. <td>
  327. <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
  328. <div class="inline_block" style="flex: 0.8">
  329. T:
  330. <div
  331. class="under_line"
  332. style="width: 50px; text-align: center"
  333. >
  334. {{
  335. afterdialysis.temperature
  336. ? afterdialysis.temperature
  337. : "/"
  338. }}
  339. </div>
  340. °C
  341. </div>
  342. <div class="inline_block" style="flex: 0.9">
  343. P:
  344. <div
  345. class="under_line"
  346. style="width: 40px; text-align: center"
  347. >
  348. {{
  349. afterdialysis.pulse_frequency
  350. ? afterdialysis.pulse_frequency
  351. : "/"
  352. }}
  353. </div>
  354. 次/分
  355. </div>
  356. <div class="inline_block" style=" flex: 0.9">
  357. R:
  358. <div
  359. class="under_line"
  360. style="width: 40px; text-align: center"
  361. >
  362. {{
  363. afterdialysis.breathing_rate
  364. ? afterdialysis.breathing_rate
  365. : "/"
  366. }}
  367. </div>
  368. 次/分
  369. </div>
  370. <div class="inline_block" style="flex: 1.6">
  371. BP:
  372. <div class="under_line" style="width: 40px; text-align: center">
  373. {{
  374. afterdialysis.systolic_blood_pressure
  375. ? afterdialysis.systolic_blood_pressure
  376. : "/"
  377. }}
  378. </div>
  379. /
  380. <div class="under_line" style="width: 50px; text-align: center">
  381. {{
  382. afterdialysis.diastolic_blood_pressure
  383. ? afterdialysis.diastolic_blood_pressure
  384. : "/"
  385. }}
  386. </div>
  387. mmHg
  388. </div>
  389. </div>
  390. <div
  391. class="row"
  392. style="padding: 2px 0; line-height: 23px; display: flex"
  393. >
  394. <div class="inline_block" style="flex: 1">
  395. 凝血程度:
  396. <div
  397. class="under_line"
  398. style="
  399. width: 150px;
  400. text-align: center;
  401. white-space: normal;
  402. "
  403. >
  404. {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
  405. </div>
  406. </div>
  407. <div class="inline_block" style="flex: 1">
  408. 透后症状:
  409. <div class="under_line" style="width: 140px;text-align: center">
  410. {{ afterdialysis.symptom_after_dialysis ? afterdialysis.symptom_after_dialysis : "/" }}
  411. </div>
  412. </div>
  413. </div>
  414. <div class="row" style="padding: 2px 0; line-height: 23px; display: flex"
  415. >
  416. <div class="inline_block" style="flex: 1">
  417. 内瘘:
  418. <div class="under_line"
  419. style="width: 70%;text-align: center;white-space: normal;"
  420. >
  421. {{
  422. afterdialysis.internal_fistula
  423. ? afterdialysis.internal_fistula
  424. : "/"
  425. }}
  426. </div>
  427. </div>
  428. <div class="inline_block" style="flex:1;">
  429. 导管:
  430. <div style="width: 70%;text-align: left;display: inline-block;border-bottom: 1px solid #999; ">
  431. {{ afterdialysis.catheter ? afterdialysis.catheter : "/" }}
  432. </div>
  433. </div>
  434. </div>
  435. <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
  436. <div class="inline_block" style="flex: 1">
  437. 并发症:
  438. <div class="under_line"
  439. style=" width: 50%; text-align: center; white-space: normal;"
  440. >
  441. {{
  442. afterdialysis.complication ? afterdialysis.complication : "/"
  443. }}
  444. </div>
  445. </div>
  446. <div class="inline_block" style="flex:1;">
  447. 实际置换量:
  448. <div style="width: 50%;text-align: left;display: inline-block;border-bottom: 1px solid #999; ">
  449. {{ afterdialysis.actual_displacement ? afterdialysis.actual_displacement : "/" }}
  450. </div>L
  451. </div>
  452. </div>
  453. <div class="row" style="padding: 2px 0; line-height: 23px; display: flex"
  454. >
  455. <div class="inline_block" style="flex: 1">
  456. 实际超滤量:
  457. <div
  458. class="under_line"
  459. style="width: 30%; text-align: center"
  460. >
  461. {{
  462. afterdialysis.actual_ultrafiltration
  463. ? afterdialysis.actual_ultrafiltration
  464. : "/"
  465. }}
  466. </div>
  467. ml
  468. </div>
  469. <div class="inline_block" style="flex: 1">
  470. 透后体重:
  471. <div
  472. class="under_line"
  473. style="width: 70px; text-align: center"
  474. >
  475. <span >
  476. {{
  477. afterdialysis.weight_after
  478. ? parseFloat(
  479. afterdialysis.weight_after -
  480. afterdialysis.additional_weight
  481. ).toFixed(1)
  482. : "/"
  483. }}
  484. </span>
  485. </div>
  486. kg
  487. </div>
  488. </div>
  489. <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
  490. <div class="inline_block" style="flex: 1">
  491. 体重减少:
  492. <div class="under_line"
  493. style="
  494. width: 50%;
  495. text-align: center;
  496. white-space: normal;
  497. "
  498. >
  499. {{
  500. afterdialysis.weight_loss ? afterdialysis.weight_loss : "/"
  501. }}
  502. </div>kg
  503. </div>
  504. <div class="inline_block" style="flex:1;">
  505. 透析中入量:
  506. <div style="width: 50%;text-align: left;display: inline-block;border-bottom: 1px solid #999; ">
  507. {{ afterdialysis.dialysis_intakes
  508. ? afterdialysis.dialysis_intakes
  509. : "/"}}
  510. </div>
  511. {{ getUnit(afterdialysis.dialysis_intakes_unit) }}
  512. </div>
  513. </div>
  514. </td>
  515. </tr>
  516. <tr>
  517. <td colspan="2"
  518. style="letter-spacing: 5px; text-align: center; font-weight: 520;
  519. font-size: 16px; padding: 6px 8px;line-height: 30px;"
  520. >
  521. 透析处方
  522. </td>
  523. </tr>
  524. <tr>
  525. <td colspan="2">
  526. <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
  527. <div class="inline_block" style="flex: 1">
  528. 处方脱水量:
  529. <div class="under_line" style="width: 50px; text-align: center">
  530. {{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "/" }}
  531. </div>L
  532. </div>
  533. <div class="inline_block" style="flex: 1">
  534. 超滤总量:
  535. <div class="under_line" style="width: 50px; text-align: center">
  536. {{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "/" }}
  537. </div>ml
  538. </div>
  539. <div class="inline_block" style="flex: 1">
  540. 透析时长:
  541. <div class="under_line" style="width: 50px; text-align: center">
  542. {{ prescription.dialysis_duration_hour ? prescription.dialysis_duration_hour : "/" }}
  543. </div>h
  544. </div>
  545. <div class="inline_block" style="flex: 1">
  546. <span >透析方式:</span>
  547. <div class="under_line"
  548. style="width: 80px; text-align: center; font-weight: 600;
  549. "
  550. >
  551. <span v-if="!prescription.mode_id">/</span>
  552. <span v-if="prescription.mode_id == 1">HD</span>
  553. <span v-if="prescription.mode_id == 2">HDF</span>
  554. <span v-if="prescription.mode_id == 3">HD+HP</span>
  555. <span v-if="prescription.mode_id == 4">HP</span>
  556. <span v-if="prescription.mode_id == 5">HF</span>
  557. <span v-if="prescription.mode_id == 6">SCUF</span>
  558. <span v-if="prescription.mode_id == 7">IUF</span>
  559. <span v-if="prescription.mode_id == 8">HFHD</span>
  560. <span v-if="prescription.mode_id == 9">HFHD+HP</span>
  561. <span v-if="prescription.mode_id == 10">PHF</span>
  562. <span v-if="prescription.mode_id == 11">HFR</span>
  563. <span v-if="prescription.mode_id == 12">HDF+HP</span>
  564. <span v-if="prescription.mode_id == 13">CRRT</span>
  565. <span v-if="prescription.mode_id == 14">腹水回输</span>
  566. <span v-if="prescription.mode_id == 15">HD前置换</span>
  567. <span v-if="prescription.mode_id == 16">HD后置换</span>
  568. <span v-if="prescription.mode_id == 17">HDF前置换</span>
  569. <span v-if="prescription.mode_id == 18">HDF后置换</span>
  570. <span v-if="prescription.mode_id == 19">IUF+HD</span>
  571. <span v-if="prescription.mode_id == 22">血浆胆红素吸附+HDF</span>
  572. <span v-if="prescription.mode_id == 23">血浆胆红素吸附</span>
  573. <span v-if="prescription.mode_id == 24">I-HDF</span>
  574. <span v-if="prescription.mode_id == 25">HD高通</span>
  575. <span v-if="prescription.mode_id == 29">PE</span>
  576. <span v-if="prescription.mode_id == 30">血浆胆红素吸附+HP</span>
  577. </div>
  578. </div>
  579. <div class="inline_block" style="flex: 1">
  580. 置换方式:
  581. <div class="under_line" style="width: 80px; text-align: center">
  582. {{
  583. getDisplaceLiquiPart(prescription.displace_liqui_part)
  584. }}
  585. </div>
  586. </div>
  587. <div class="inline_block" style="flex: 1">
  588. 置换总量:
  589. <div class="under_line" style="width: 70px; text-align: center">
  590. <span > {{
  591. prescription.displace_liqui_value
  592. ? prescription.displace_liqui_value
  593. : "/"
  594. }}
  595. </span>
  596. </div>
  597. L
  598. </div>
  599. </div>
  600. <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
  601. <div class="inline_block" style="flex: 2">
  602. 血管通路:
  603. <div class="under_line" style="width: 60%; text-align: center">
  604. {{ predialysis.blood_access_part_id }}
  605. {{ predialysis.blood_access_part_opera_name }}
  606. </div>
  607. </div>
  608. <div class="inline_block" style="flex: 1">
  609. 血流量:
  610. <div class="under_line" style="width: 50px; text-align: center">
  611. {{ prescription.blood_flow_volume ? prescription.blood_flow_volume : "/" }}
  612. </div>ml/min
  613. </div>
  614. </div>
  615. <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
  616. <div class="inline_block" style="flex: 2">
  617. 人工肾装置:
  618. <div class="under_line" style="width: 50%; text-align: center">
  619. {{prescription.dialysis_irrigation?prescription.dialysis_irrigation:""}}&nbsp;
  620. {{
  621. prescription.dialysis_dialyszers ? prescription.dialysis_dialyszers : ""
  622. }}
  623. </div>
  624. </div>
  625. <div class="inline_block" style="flex: 1">
  626. 膜面积:
  627. <div class="under_line" style="width: 50px; text-align: center">
  628. </div>㎡
  629. </div>
  630. <div class="inline_block" style="flex: 1">
  631. 膜材质:
  632. <div class="under_line" style="width: 80px; text-align: center">
  633. </div>
  634. </div>
  635. <div class="inline_block" style="flex: 1">
  636. 透析机型:
  637. <div class="under_line" style="width: 80px; text-align: center">
  638. {{ predialysis.machine_type ? predialysis.machine_type : '' }}
  639. </div>
  640. </div>
  641. <div class="inline_block" style="flex: 1">
  642. 机号:
  643. <div class="under_line" style="width: 70px; text-align: center">
  644. {{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0
  645. ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
  646. </div>
  647. </div>
  648. </div>
  649. <div class="row" style="padding: 2px 0; line-height: 23px">
  650. <div class="inline_block">
  651. 透析液配方:钾:
  652. <div
  653. class="under_line"
  654. style="width: 50px; text-align: center"
  655. >
  656. {{ prescription.kalium ? prescription.kalium : "/" }}
  657. </div>
  658. mmol/L
  659. </div>
  660. <div class="inline_block" style="margin-left: 10px">
  661. 钠:
  662. <div
  663. class="under_line"
  664. style="width: 50px; text-align: center"
  665. >
  666. {{ prescription.sodium ? prescription.sodium : "/" }}
  667. </div>
  668. mmol/L
  669. </div>
  670. <div class="inline_block" style="margin-left: 10px">
  671. 钙:
  672. <div
  673. class="under_line"
  674. style="width: 50px; text-align: center"
  675. >
  676. {{ prescription.calcium ? prescription.calcium : "/" }}
  677. </div>
  678. mmol/L
  679. </div>
  680. <div class="inline_block" style="margin-left: 10px">
  681. 碳酸氢根:
  682. <div
  683. class="under_line"
  684. style="width: 50px; text-align: center"
  685. >
  686. {{
  687. prescription.bicarbonate
  688. ? prescription.bicarbonate
  689. : "/"
  690. }}
  691. </div>
  692. mmol/L
  693. </div>
  694. <div class="inline_block" style="margin-left: 10px">
  695. 流量:
  696. <div
  697. class="under_line"
  698. style="width: 50px; text-align: center"
  699. >
  700. {{
  701. prescription.dialysate_flow
  702. ? prescription.dialysate_flow
  703. : "/"
  704. }}
  705. </div>
  706. ml/min
  707. </div>
  708. </div>
  709. <div class="row" style="padding: 2px 0; line-height: 23px">
  710. <div class="inline_block">
  711. 抗凝剂:
  712. <div
  713. class="under_line"
  714. style="width: 150px; text-align: center"
  715. >
  716. <span> {{
  717. prescription.anticoagulant_name
  718. ? prescription.anticoagulant_name
  719. : "/"
  720. }}
  721. </span>
  722. </div>
  723. </div>
  724. <div
  725. class="inline_block"
  726. style="margin-left: 20px"
  727. v-if="prescription.anticoagulant != 5"
  728. >
  729. 首剂:
  730. <div
  731. class="under_line"
  732. style="width: 50px; text-align: center"
  733. >
  734. {{
  735. prescription.anticoagulant_shouji
  736. ? prescription.anticoagulant_shouji
  737. : "/"
  738. }}
  739. </div>
  740. <span v-if="prescription.anticoagulant == 4">mg</span>
  741. <span v-if="prescription.anticoagulant == 3">iu</span>
  742. <span v-if="prescription.anticoagulant == 2">iu</span>
  743. <span v-if="prescription.anticoagulant == 1">mg</span>
  744. <span v-if="prescription.anticoagulant == 5">ml</span>
  745. <span v-if="prescription.anticoagulant == 6">iu</span>
  746. <span v-if="prescription.anticoagulant == 7">iu</span>
  747. <span v-if="prescription.anticoagulant == 8">iu</span>
  748. <span v-if="prescription.anticoagulant == 9">iu</span>
  749. <span v-if="prescription.anticoagulant == 10">iu</span>
  750. <span v-if="prescription.anticoagulant == 11">iu</span>
  751. <span v-if="prescription.anticoagulant == 13">iu</span>
  752. </div>
  753. <div class="inline_block" style="margin-left: 20px">
  754. 维持:
  755. <div
  756. v-if="prescription.anticoagulant == 1"
  757. class="under_line"
  758. style="width: 50px; text-align: center"
  759. >
  760. {{
  761. prescription.anticoagulant_weichi
  762. ? prescription.anticoagulant_weichi
  763. : "/"
  764. }}
  765. </div>
  766. <div
  767. v-if="prescription.anticoagulant != 1"
  768. class="under_line"
  769. style="width: 50px; text-align: center"
  770. >
  771. {{
  772. prescription.anticoagulant_weichi
  773. ? prescription.anticoagulant_weichi
  774. : "0"
  775. }}
  776. </div>
  777. <span v-if="prescription.anticoagulant == 5">ml/h</span>
  778. <span v-if="prescription.anticoagulant == 4">mg/h</span>
  779. <span v-if="prescription.anticoagulant == 3">iu/h</span>
  780. <span v-if="prescription.anticoagulant == 2">iu/h</span>
  781. <span v-if="prescription.anticoagulant == 1">mg/h</span>
  782. <span v-if="prescription.anticoagulant == 6">iu/h</span>
  783. <span v-if="prescription.anticoagulant == 7">iu/h</span>
  784. <span v-if="prescription.anticoagulant == 8">iu/h</span>
  785. <span v-if="prescription.anticoagulant == 9">iu/h</span>
  786. <span v-if="prescription.anticoagulant == 10">iu/h</span>
  787. <span v-if="prescription.anticoagulant == 11">iu/h</span>
  788. <span v-if="prescription.anticoagulant == 13">iu/h</span>
  789. </div>
  790. <div
  791. class="inline_block"
  792. style="margin-left: 20px"
  793. v-if="prescription.anticoagulant == 5"
  794. >
  795. 钙名称:
  796. <div
  797. class="under_line"
  798. style="width: 150px; text-align: center"
  799. >
  800. {{
  801. prescription.anticoagulant_gaimingcheng
  802. ? prescription.anticoagulant_gaimingcheng
  803. : "/"
  804. }}
  805. </div>
  806. </div>
  807. <div
  808. class="inline_block"
  809. style="margin-left: 20px"
  810. v-if="prescription.anticoagulant == 5"
  811. >
  812. 钙剂量:
  813. <div
  814. class="under_line"
  815. style="width: 50px; text-align: center"
  816. >
  817. {{
  818. prescription.anticoagulant_gaijiliang
  819. ? prescription.anticoagulant_gaijiliang
  820. : "/"
  821. }}
  822. </div>
  823. ml
  824. </div>
  825. <div
  826. class="inline_block"
  827. style="margin-left: 20px"
  828. v-if="prescription.anticoagulant != 5"
  829. >
  830. 总量:
  831. <div
  832. class="under_line"
  833. style="width: 50px; text-align: center"
  834. >
  835. {{
  836. prescription.anticoagulant_zongliang
  837. ? prescription.anticoagulant_zongliang
  838. : "/"
  839. }}
  840. </div>
  841. <span v-if="prescription.anticoagulant == 4">mg</span>
  842. <span v-if="prescription.anticoagulant == 3">iu</span>
  843. <span v-if="prescription.anticoagulant == 2">iu</span>
  844. <span v-if="prescription.anticoagulant == 1">mg</span>
  845. <span v-if="prescription.anticoagulant == 5">ml</span>
  846. <span v-if="prescription.anticoagulant == 6">iu</span>
  847. <span v-if="prescription.anticoagulant == 7">iu</span>
  848. <span v-if="prescription.anticoagulant == 8">iu</span>
  849. <span v-if="prescription.anticoagulant == 9">iu</span>
  850. <span v-if="prescription.anticoagulant == 10">iu</span>
  851. <span v-if="prescription.anticoagulant == 11">iu</span>
  852. <span v-if="prescription.anticoagulant == 13">iu</span>
  853. </div>
  854. </div>
  855. </td>
  856. </tr>
  857. <tr>
  858. <td style="padding: 0; position: relative" colspan="2">
  859. <table class="inside_table">
  860. <tbody>
  861. <tr style="line-height: 35px; padding: 8px 5px">
  862. <td colspan="7"
  863. style="letter-spacing: 5px; text-align: center;font-weight: 520;
  864. font-size: 16px; padding: 0px 8px; line-height: 30px; "
  865. >
  866. 临时医嘱
  867. </td>
  868. </tr>
  869. <tr style="line-height: 35px; padding: 8px 5px">
  870. <td style="font-size: 16px" width="10%">时间</td>
  871. <td style="font-size: 16px" colspan="2" width="45%">
  872. 医嘱内容
  873. </td>
  874. <td style="font-size: 16px" width="10%">医生签名</td>
  875. <td style="font-size: 16px" width="10%">时间</td>
  876. <td style="font-size: 16px" width="10%">执行人签名</td>
  877. </tr>
  878. <tr
  879. v-for="(advice, advice_index) in doctor_advices"
  880. :key="advice_index"
  881. >
  882. <td height="32px">
  883. <span v-if="advice.start_time">
  884. {{ getTime(advice.start_time, "{h}:{i}") }}
  885. </span>
  886. <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
  887. </td>
  888. <td
  889. height="32px"
  890. colspan="2"
  891. class="advice-name"
  892. style="padding-left: 7px"
  893. >
  894. <span v-if="advice.parent_id > 0">---></span>
  895. <span>{{ advice.advice_name }}</span>
  896. <span v-if="advice && advice.advice_desc"
  897. >({{ advice.advice_desc
  898. }}{{ advice.drug_spec_unit }})</span
  899. >
  900. <span v-if="advice.prescribing_number"
  901. >&nbsp;&nbsp; {{ advice.prescribing_number
  902. }}{{ advice.prescribing_number_unit }}</span
  903. >
  904. <span v-if="advice.single_dose != 0"
  905. >{{ advice.single_dose
  906. }}{{ advice.single_dose_unit }}</span
  907. >
  908. <span v-if="advice.parent_id == 0">{{
  909. advice.delivery_way
  910. }}</span>
  911. <span v-if="advice.parent_id == 0">{{
  912. advice.execution_frequency
  913. }}</span>
  914. <span
  915. v-if="
  916. advice.parent_id == 0 && advice.remark.length > 0
  917. "
  918. >({{ advice.remark }})</span
  919. >
  920. </td>
  921. <td height="32px">
  922. <span v-if="advice!=null && advice.advice_doctor>0">
  923. <span
  924. v-if="setAdminUserES(advice.advice_doctor) == ''"
  925. >{{ getAdminUser(advice.advice_doctor) }}
  926. </span>
  927. <img
  928. :style="{'height': org_id==10597 ? '25px':'30px'}"
  929. :src="setAdminUserES(advice.advice_doctor)"
  930. alt=""
  931. srcset=""
  932. v-else
  933. />
  934. </span>
  935. </td>
  936. <td height="32px">
  937. <span v-if="advice.execution_time">{{
  938. getTime(advice.execution_time, "{h}:{i}")
  939. }}</span>
  940. </td>
  941. <td height="32px">
  942. <span v-if="advice!=null && advice.execution_staff>0">
  943. <span
  944. v-if="setAdminUserES(advice.execution_staff) == ''"
  945. >{{ getAdminUser(advice.execution_staff) }}</span
  946. >
  947. <img
  948. :style="{'height': org_id==10597 ? '25px':'30px'}"
  949. :src="setAdminUserES(advice.execution_staff)"
  950. alt=""
  951. srcset=""
  952. v-else
  953. />
  954. </span>
  955. </td>
  956. </tr>
  957. </tbody>
  958. </table>
  959. </td>
  960. </tr>
  961. <tr>
  962. <td style="padding: 0; position: relative" colspan="2">
  963. <table class="inside_table">
  964. <tbody>
  965. <tr>
  966. <td
  967. :colspan="
  968. prescription.mode_id == 2 ||
  969. prescription.mode_id == 5
  970. ? 14: 13
  971. "
  972. style=" letter-spacing: 5px;text-align: center;
  973. font-weight: 520;font-size: 16px;
  974. padding: 0px 8px;line-height: 30px;"
  975. >
  976. 监测记录
  977. </td>
  978. </tr>
  979. <tr>
  980. <td width="50">时间</td>
  981. <td width="50">KT/V</td>
  982. <td width="50" >
  983. 动脉压<br />({{
  984. monitors[0] &&
  985. monitors[0]["venous_pressure_type"] == 2
  986. ? "kpa"
  987. : "mmHg"
  988. }})
  989. </td>
  990. <td width="50">血流量<br />(ml/min)</td>
  991. <td width="50">
  992. 静脉压(mmHg)/跨膜压(mmHg)
  993. </td>
  994. <td width="50">超滤量(ml)/超滤率(ml/h)</td>
  995. <td width="50">置换率(ml/min)/置换量(L)</td>
  996. <td width="50" >
  997. <span > 钠浓度(mmol/L)/温度°C</span>
  998. </td>
  999. <td width="50">脉搏<br />(次/分)</td>
  1000. <td width="50">呼吸<br />(次/分)</td>
  1001. <td width="65">血压<br />(mmHg)</td>
  1002. <td width="65">症状</td>
  1003. <td width="100">处理</td>
  1004. <td width="65">结果</td>
  1005. </tr>
  1006. <tr v-for="(monitor, monindex) in monitors" :key="monindex">
  1007. <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
  1008. <td>{{ monitor.ktv ? monitor.ktv : "/" }}</td>
  1009. <td>
  1010. {{monitor.arterial_pressure ? monitor.arterial_pressure : "/"}}
  1011. </td>
  1012. <td>{{monitor.blood_flow_volume ? monitor.blood_flow_volume: "/"}}</td>
  1013. <td>
  1014. {{ monitor.venous_pressure? monitor.venous_pressure : "0" }} /
  1015. {{ monitor.transmembrane_pressure? monitor.transmembrane_pressure : "0" }}
  1016. </td>
  1017. <td>
  1018. {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : '0' }} /
  1019. {{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : '0' }}
  1020. </td>
  1021. <td>
  1022. {{ monitor.replacement_rate ? monitor.replacement_rate : '0' }} /
  1023. {{ monitor.displacement_quantity ? monitor.displacement_quantity : '0' }}
  1024. </td>
  1025. <!-- 钠浓度(mmol/L)/温度°C -->
  1026. <td>
  1027. {{ monitor.sodium_concentration ? monitor.sodium_concentration : "0" }} /
  1028. {{ monitor.temperature ? monitor.temperature : '0' }}
  1029. </td>
  1030. <td>{{ monitor.pulse_frequency? monitor.pulse_frequency: ""}}</td>
  1031. <td >{{monitor.breathing_rate ? monitor.breathing_rate : ""}}</td>
  1032. <td>{{monitor.systolic_blood_pressure? monitor.systolic_blood_pressure + "/": ""}}
  1033. {{monitor.diastolic_blood_pressure? monitor.diastolic_blood_pressure: ""}}
  1034. </td>
  1035. <td>{{ monitor.symptom }}</td>
  1036. <td>
  1037. <div style=" min-height: 35px; line-height: 35px; overflow: hidden; ">
  1038. <span
  1039. style=" word-break: break-all; margin: 0; line-height: 16px;
  1040. -webkit-line-clamp: 3; overflow: visible;display: inline-block;
  1041. vertical-align: middle;height: auto; "
  1042. >
  1043. <template
  1044. v-if="
  1045. (dialysisOrder &&
  1046. monitor.operate_time ==
  1047. dialysisOrder.start_time)
  1048. "
  1049. >【开始透析】引血100ml/min
  1050. </template>
  1051. {{ monitor.end }} &nbsp;{{ monitor.dispose}}
  1052. &nbsp;
  1053. </span>
  1054. </div>
  1055. </td>
  1056. <td>{{ monitor.result }}</td>
  1057. </tr>
  1058. <tr
  1059. v-for="(monitor, monindex) in monitors2"
  1060. :key="monindex"
  1061. >
  1062. <td></td>
  1063. <td></td>
  1064. <td></td>
  1065. <td></td>
  1066. <td></td>
  1067. <td></td>
  1068. <td></td>
  1069. <td></td>
  1070. <td></td>
  1071. <td></td>
  1072. <td></td>
  1073. <td></td>
  1074. <td></td>
  1075. <td style="line-height: 16px; padding: 0px">
  1076. <div
  1077. style="
  1078. height: 40px;
  1079. line-height: 20px;
  1080. overflow: hidden;
  1081. "
  1082. >
  1083. <span
  1084. style="
  1085. word-break: break-all;
  1086. margin: 0;
  1087. line-height: 16px;
  1088. -webkit-line-clamp: 3;
  1089. overflow: visible;
  1090. display: inline-block;
  1091. vertical-align: middle;
  1092. height: auto;
  1093. "
  1094. >
  1095. </span>
  1096. </div>
  1097. </td>
  1098. </tr>
  1099. </tbody>
  1100. </table>
  1101. </td>
  1102. </tr>
  1103. </tbody>
  1104. </table>
  1105. </div>
  1106. <template v-if="this.totollength > 13">
  1107. <div style="display: inline-block; width: 100%; text-align: center">
  1108. <div
  1109. class="order-yy-name"
  1110. style="
  1111. letter-spacing: 0;
  1112. font-weight: 600;
  1113. font-size: 22px;
  1114. display: inline-block;
  1115. "
  1116. >
  1117. {{ orgname }}
  1118. </div>
  1119. <div
  1120. class="order-title"
  1121. style="
  1122. letter-spacing: 0;
  1123. font-weight: 600;
  1124. font-size: 22px;
  1125. display: inline-block;
  1126. "
  1127. >
  1128. <span >血液净化治疗记录单</span>
  1129. </div>
  1130. </div>
  1131. <div class="row">
  1132. <div class="inline_block">
  1133. 姓名:
  1134. <div class="under_line" style="width: 50px; text-align: center">
  1135. {{ patientInfo.name }}
  1136. </div>
  1137. </div>
  1138. <div class="inline_block" style="margin-left: 10px">
  1139. 性别:
  1140. <div class="under_line" style="width: 30px; text-align: center">
  1141. {{ patientInfo_gender_1 ? "男" : "女" }}
  1142. </div>
  1143. </div>
  1144. <div class="inline_block" style="margin-left: 10px">
  1145. 年龄:
  1146. <div class="under_line" style="width: 30px; text-align: center">
  1147. {{ getAge(patientInfo) }}
  1148. </div>
  1149. </div>
  1150. <div class="inline_block">
  1151. 透析号:
  1152. <div class="under_line" style="width: 70px; text-align: center">
  1153. {{ patientInfo.dialysis_no }}
  1154. </div>
  1155. </div>
  1156. <div class="inline_block" v-if="receiverTreatmentAccess.condition!=1">
  1157. 门诊:
  1158. <div class="under_line" style="width: 30px; text-align: center">
  1159. <check-box :checked="patientInfo_source_1"></check-box>
  1160. </div>
  1161. </div>
  1162. <div class="inline_block">
  1163. 病区:
  1164. <div class="under_line" style="width: 70px; text-align: left">
  1165. <span>{{
  1166. patientInfo.DialysisSchedule.device_zone.name
  1167. ? patientInfo.DialysisSchedule.device_zone.name
  1168. : "/"
  1169. }}</span>
  1170. </div>
  1171. </div>
  1172. <div class="inline_block" style="margin-left: 10px;">
  1173. 床号:
  1174. <div class="under_line" style="width: 50px; text-align: center">
  1175. <span >{{
  1176. dialysisOrder &&
  1177. dialysisOrder.DeviceNumber &&
  1178. dialysisOrder.DeviceNumber.number.length > 0
  1179. ? dialysisOrder.DeviceNumber.number
  1180. : patientInfo.DialysisSchedule.device_number.number
  1181. }}</span>
  1182. </div>
  1183. </div>
  1184. <div class="inline_block" style="margin-left: 10px">
  1185. 透析次数:
  1186. <div class="under_line"
  1187. style="width:50px; text-align: left;
  1188. word-wrap: break-word;white-space: inherit;
  1189. "
  1190. >
  1191. {{
  1192. patientInfo.total_dialysis +
  1193. patientInfo.user_sys_before_count
  1194. ? patientInfo.total_dialysis +
  1195. patientInfo.user_sys_before_count
  1196. : "/"
  1197. }}
  1198. </div>
  1199. </div>
  1200. </div>
  1201. <div class="row">
  1202. <div class="inline_block" style="margin-left: 10px">
  1203. 透析日期:
  1204. <div
  1205. class="under_line"
  1206. style="
  1207. width: 120px;
  1208. text-align: left;
  1209. word-wrap: break-word;
  1210. white-space: inherit;
  1211. "
  1212. >
  1213. {{ xtdate }}
  1214. </div>
  1215. </div>
  1216. <div class="inline_block" style="margin-left: 10px">
  1217. 诊断:
  1218. <div
  1219. class="under_line"
  1220. style="
  1221. width: 500px;
  1222. text-align: left;
  1223. word-wrap: break-word;
  1224. white-space: inherit;
  1225. "
  1226. >
  1227. {{ patientInfo.diagnose }}
  1228. </div>
  1229. </div>
  1230. </div>
  1231. </template>
  1232. <div class="row" style="margin-top: -11px; position: relative">
  1233. <table class="proj_table">
  1234. <tbody>
  1235. <tr>
  1236. <td colspan="7"
  1237. style=" letter-spacing: 5px; text-align: center;
  1238. font-weight: 520;font-size: 16px;
  1239. padding: 6px 8px;line-height: 30px;"
  1240. >
  1241. 透析后情况
  1242. </td>
  1243. </tr>
  1244. <tr>
  1245. <td colspan="7">
  1246. <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
  1247. <div class="inline_block" style="flex: 1">
  1248. 实际治疗时间:
  1249. <div
  1250. class="under_line"
  1251. style="width: 30px; text-align: center"
  1252. >
  1253. {{
  1254. afterdialysis.actual_treatment_hour
  1255. ? afterdialysis.actual_treatment_hour
  1256. : "/"
  1257. }}
  1258. </div>
  1259. h
  1260. <div
  1261. class="under_line"
  1262. style="width: 30px; text-align: center"
  1263. >
  1264. {{
  1265. afterdialysis.actual_treatment_minute
  1266. ? afterdialysis.actual_treatment_minute
  1267. : 0
  1268. }}
  1269. </div>
  1270. min
  1271. </div>
  1272. <div class="inline_block" style="flex: 2">
  1273. 透后宣教:
  1274. <div class="under_line" style="width: 70%; text-align: center">
  1275. {{ summary.mission ? summary.mission : '/' }}
  1276. </div>
  1277. </div>
  1278. </div>
  1279. <div
  1280. class="row"
  1281. style="padding: 2px 0; line-height: 23px; display: flex"
  1282. >
  1283. <div
  1284. class="inline_block"
  1285. style="flex: 1; display: inline-block"
  1286. >
  1287. 治疗小结:
  1288. <div
  1289. class="under_line"
  1290. style="
  1291. width: 860px;
  1292. line-height: 25px;
  1293. text-align: left;
  1294. margin-left: 2px;
  1295. display: inline-block;
  1296. white-space: normal;
  1297. "
  1298. >
  1299. {{
  1300. summary.dialysis_summary
  1301. ? summary.dialysis_summary
  1302. : "/"
  1303. }}
  1304. </div>
  1305. </div>
  1306. </div>
  1307. </td>
  1308. </tr>
  1309. <tr>
  1310. <td colspan="7">
  1311. <div
  1312. class="row"
  1313. style="padding: 2px 0; line-height: 23px; display: flex"
  1314. >
  1315. <div >
  1316. <div class="inline_block" style="flex: 1">
  1317. 穿刺护士:
  1318. <div
  1319. class="under_line"
  1320. style="width: 90px; text-align: center"
  1321. >
  1322. <span
  1323. style="height: 30px; display: inline-block"
  1324. v-if="
  1325. setAdminUserES(
  1326. dialysisOrder == null
  1327. ? 0
  1328. : dialysisOrder.puncture_nurse
  1329. ) == ''
  1330. "
  1331. >
  1332. {{
  1333. getAdminUser(
  1334. dialysisOrder == null
  1335. ? 0
  1336. : dialysisOrder.puncture_nurse
  1337. )
  1338. }}</span
  1339. >
  1340. <img
  1341. :style="{'height':org_id==10597 ? '25px':'35px'}"
  1342. :src="
  1343. setAdminUserES(
  1344. dialysisOrder == null
  1345. ? 0
  1346. : dialysisOrder.puncture_nurse
  1347. )
  1348. "
  1349. alt=""
  1350. srcset=""
  1351. v-else
  1352. />
  1353. </div>
  1354. </div>
  1355. </div>
  1356. <div>
  1357. <div class="inline_block" style="flex: 1">
  1358. <span>治疗护士:</span>
  1359. <div
  1360. class="under_line"
  1361. style="width: 80px; text-align: center"
  1362. >
  1363. <span
  1364. style="height: 30px; display: inline-block"
  1365. v-if="
  1366. setAdminUserES(
  1367. dialysisOrder == null
  1368. ? 0
  1369. : dialysisOrder.start_nurse
  1370. ) == ''
  1371. "
  1372. >
  1373. {{
  1374. getAdminUser(
  1375. dialysisOrder == null
  1376. ? 0
  1377. : dialysisOrder.start_nurse
  1378. )
  1379. }}</span
  1380. >
  1381. <img
  1382. :style="{'height':org_id==10597 ? '25px':'35px'}"
  1383. :src="
  1384. setAdminUserES(
  1385. dialysisOrder == null
  1386. ? 0
  1387. : dialysisOrder.start_nurse
  1388. )
  1389. "
  1390. alt=""
  1391. srcset=""
  1392. v-else
  1393. />
  1394. </div>
  1395. </div>
  1396. </div>
  1397. <div class="inline_block" style="flex: 1">
  1398. <span >核对人员:</span>
  1399. <div
  1400. class="under_line"
  1401. style="width: 80px; text-align: center"
  1402. v-if="dialysisOrder == null"
  1403. >
  1404. <span
  1405. style="height: 30px; display: inline-block"
  1406. v-if="
  1407. setAdminUserES(check == null ? 0 : check.creater) ==
  1408. ''
  1409. "
  1410. >
  1411. {{ getAdminUser(check == null ? 0 : check.creater) }}
  1412. </span>
  1413. <img
  1414. :style="{'height':org_id==10597 ? '25px':'35px'}"
  1415. :src="
  1416. setAdminUserES(check == null ? 0 : check.creater)
  1417. "
  1418. alt=""
  1419. srcset=""
  1420. v-else
  1421. />
  1422. </div>
  1423. <div
  1424. class="under_line"
  1425. style="width: 80px; text-align: center"
  1426. v-if="
  1427. dialysisOrder != null &&
  1428. dialysisOrder.start_nurse == check.modifier
  1429. "
  1430. >
  1431. <span
  1432. style="height: 30px; display: inline-block"
  1433. v-if="
  1434. setAdminUserES(check == null ? 0 : check.creater) ==
  1435. ''
  1436. "
  1437. >
  1438. {{ getAdminUser(check == null ? 0 : check.creater) }}
  1439. </span>
  1440. <img
  1441. :style="{'height':org_id==10597 ? '25px':'35px'}"
  1442. :src="
  1443. setAdminUserES(check == null ? 0 : check.creater)
  1444. "
  1445. alt=""
  1446. srcset=""
  1447. v-else
  1448. />
  1449. </div>
  1450. <div
  1451. class="under_line"
  1452. style="width: 80px; text-align: center"
  1453. v-if="
  1454. dialysisOrder != null &&
  1455. dialysisOrder.start_nurse == check.creater
  1456. "
  1457. >
  1458. <span
  1459. style="height: 30px; display: inline-block"
  1460. v-if="
  1461. setAdminUserES(
  1462. check == null ? 0 : check.modifier
  1463. ) == ''
  1464. "
  1465. >
  1466. {{ getAdminUser(check == null ? 0 : check.modifier) }}
  1467. </span>
  1468. <img
  1469. :style="{'height':org_id==10597 ? '25px':'35px'}"
  1470. :src="
  1471. setAdminUserES(check == null ? 0 : check.modifier)
  1472. "
  1473. alt=""
  1474. srcset=""
  1475. v-else
  1476. />
  1477. </div>
  1478. <div
  1479. class="under_line"
  1480. style="width: 80px; text-align: center"
  1481. v-if="
  1482. dialysisOrder != null &&
  1483. dialysisOrder.start_nurse != check.creater &&
  1484. dialysisOrder.start_nurse != check.modifier
  1485. "
  1486. >
  1487. <span
  1488. style="height: 30px; display: inline-block"
  1489. v-if="
  1490. setAdminUserES(check == null ? 0 : check.creater) ==
  1491. ''
  1492. "
  1493. >
  1494. {{ getAdminUser(check == null ? 0 : check.creater) }}
  1495. </span>
  1496. <img
  1497. :style="{'height':org_id==10597 ? '25px':'35px'}"
  1498. :src="
  1499. setAdminUserES(check == null ? 0 : check.creater)
  1500. "
  1501. alt=""
  1502. srcset=""
  1503. v-else
  1504. />
  1505. </div>
  1506. </div>
  1507. <div class="inline_block" style="flex: 1">
  1508. 下机护士:
  1509. <div
  1510. class="under_line"
  1511. style="width: 80px; text-align: center"
  1512. >
  1513. <span
  1514. style="height: 30px; display: inline-block"
  1515. v-if="
  1516. setAdminUserES(
  1517. dialysisOrder == null
  1518. ? 0
  1519. : dialysisOrder.finish_nurse
  1520. ) == ''
  1521. "
  1522. >
  1523. {{
  1524. getAdminUser(
  1525. dialysisOrder == null
  1526. ? 0
  1527. : dialysisOrder.finish_nurse
  1528. )
  1529. }}
  1530. </span>
  1531. <img
  1532. :style="{'height':org_id==10597 ? '25px':'30px'}"
  1533. :src="
  1534. setAdminUserES(
  1535. dialysisOrder == null
  1536. ? 0
  1537. : dialysisOrder.finish_nurse
  1538. )
  1539. "
  1540. alt=""
  1541. srcset=""
  1542. v-else
  1543. />
  1544. </div>
  1545. </div>
  1546. <div class="inline_block" style="flex: 1" >
  1547. 治疗医生:
  1548. <div
  1549. class="under_line"
  1550. style="width: 80px; text-align: center"
  1551. v-if="prescription&&prescription.modifier==0"
  1552. >
  1553. <span
  1554. style="height: 30px; display: inline-block"
  1555. v-if="setAdminUserES(prescription.creater) == ''"
  1556. >
  1557. {{ getAdminUser(prescription.creater) }}
  1558. </span>
  1559. <img
  1560. :style="{'height':org_id==10597 ? '25px':'35px'}"
  1561. :src="setAdminUserES(prescription.creater)"
  1562. alt=""
  1563. srcset=""
  1564. v-else
  1565. />
  1566. </div>
  1567. <div
  1568. class="under_line"
  1569. style="width: 80px; text-align: center"
  1570. v-if="prescription.modifier>0"
  1571. >
  1572. <span
  1573. style="height: 30px; display: inline-block"
  1574. v-if="setAdminUserES(prescription.modifier) == ''"
  1575. >
  1576. {{ getAdminUser(prescription.modifier) }}
  1577. </span>
  1578. <img
  1579. :style="{'height':org_id==10597 ? '25px':'35px'}"
  1580. :src="setAdminUserES(prescription.modifier)"
  1581. alt=""
  1582. srcset=""
  1583. v-else
  1584. />
  1585. </div>
  1586. </div>
  1587. </div>
  1588. </td>
  1589. </tr>
  1590. </tbody>
  1591. </table>
  1592. <!-- <div class="print-yema">1</div> -->
  1593. </div>
  1594. </div>
  1595. </div>
  1596. <!-- {{ 'dfasfdafssdfasfad',x_tdate }} -->
  1597. <div id="dialysis-print-box-1-2" class="dialysis-print-order print-template-two print_page_main_content" style="position: relative;">
  1598. <div class="order-yy-name">{{ orgname }}</div>
  1599. <div class="order_title">血液净化科医嘱及执行单</div>
  1600. <div class="row" style="margin-top: 15px">
  1601. <div class="inline_block">
  1602. 科室:
  1603. <check-box text="门诊透析" :checked="patientInfo_source_1"></check-box>
  1604. &nbsp;
  1605. <check-box text="住院" :checked="patientInfo_source_2"></check-box>
  1606. </div>
  1607. <div class="inline_block" style="margin-left: 5px;">
  1608. 住院号:
  1609. <div class="under_line" style="width: 70px;text-align: left" v-if="patientInfo.admission_number">
  1610. {{ patientInfo.admission_number }}
  1611. </div>
  1612. <div class="under_line" style="width: 70px;text-align: left" v-else>
  1613. {{ "/" }}
  1614. </div>
  1615. </div>
  1616. <div class="inline_block" style="margin-left:10px;">
  1617. 姓名:
  1618. <div class="under_line" style="width: 50px;text-align: left">
  1619. {{ patientInfo.name }}
  1620. </div>
  1621. </div>
  1622. <div class="inline_block" style="margin-left: 10px;">
  1623. 性别:
  1624. <check-box text="男" :checked="patientInfo_gender_1"></check-box>
  1625. &nbsp;
  1626. <check-box text="女" :checked="patientInfo_gender_2"></check-box>
  1627. </div>
  1628. <div class="inline_block" style="margin-left: 10px;">
  1629. 年龄:
  1630. <div class="under_line" style="width: 30px;text-align: left">
  1631. {{ getAge(patientInfo) }}
  1632. </div>
  1633. </div>
  1634. <div class="inline_block" style="margin-left: 10px;">
  1635. 诊断:
  1636. <div class="under_line" style="width:180px;text-align: left">
  1637. {{ patientInfo.diagnose }}
  1638. </div>
  1639. </div>
  1640. </div>
  1641. <table class="print-table-no">
  1642. <tbody>
  1643. <tr style="line-height: 35px; padding: 8px 5px">
  1644. <td
  1645. colspan="7"
  1646. style="
  1647. letter-spacing: 5px;
  1648. text-align: center;
  1649. font-weight: 520;
  1650. font-size: 16px;
  1651. padding: 6px 8px;
  1652. line-height: 30px;
  1653. "
  1654. >
  1655. 医嘱内容
  1656. </td>
  1657. </tr>
  1658. <tr style="line-height: 35px; padding: 8px 5px">
  1659. <td style="font-size: 16px" width="10%">时间</td>
  1660. <td style="font-size: 16px" colspan="2" width="45%">
  1661. 医嘱内容
  1662. </td>
  1663. <td style="font-size: 16px" width="10%">医生签名</td>
  1664. <!-- <td style="font-size: 16px" width="10%">核对人签名</td> -->
  1665. <td style="font-size: 16px" width="10%">执行人签名</td>
  1666. <td style="font-size: 16px" width="10%">时间</td>
  1667. </tr>
  1668. <tr
  1669. v-for="(advice, advice_index) in doctor_advices"
  1670. :key="advice_index"
  1671. >
  1672. <td height="32px">
  1673. <span v-if="advice.start_time">
  1674. {{ getTime(advice.start_time, "{h}:{i}") }}
  1675. </span>
  1676. </td>
  1677. <td
  1678. height="32px"
  1679. colspan="2"
  1680. class="advice-name"
  1681. style="padding-left: 7px"
  1682. >
  1683. <span v-if="advice.parent_id > 0">---></span>
  1684. <span>{{ advice.advice_name }}</span>
  1685. <span v-if="advice && advice.advice_desc"
  1686. >({{ advice.advice_desc
  1687. }}{{ advice.drug_spec_unit }})</span
  1688. >
  1689. <span v-if="advice.prescribing_number"
  1690. >&nbsp;&nbsp; {{ advice.prescribing_number
  1691. }}{{ advice.prescribing_number_unit }}</span
  1692. >
  1693. <span v-if="advice.single_dose != 0"
  1694. >{{ advice.single_dose
  1695. }}{{ advice.single_dose_unit }}</span
  1696. >
  1697. <span v-if="advice.parent_id == 0">{{
  1698. advice.delivery_way
  1699. }}</span>
  1700. <span v-if="advice.parent_id == 0">{{
  1701. advice.execution_frequency
  1702. }}</span>
  1703. <span
  1704. v-if="
  1705. advice.parent_id == 0 && advice.remark.length > 0
  1706. "
  1707. >({{ advice.remark }})</span
  1708. >
  1709. </td>
  1710. <td height="32px">
  1711. <!-- <span v-if> -->
  1712. <span
  1713. v-if="setAdminUserES(advice.advice_doctor) == ''"
  1714. >{{ getAdminUser(advice.advice_doctor) }}</span
  1715. >
  1716. <img
  1717. :style="{'height': org_id==10597 ? '25px':'30px'}"
  1718. :src="setAdminUserES(advice.advice_doctor)"
  1719. alt=""
  1720. srcset=""
  1721. v-else
  1722. />
  1723. <!-- </span> -->
  1724. </td>
  1725. <td height="32px">
  1726. <span
  1727. v-if="setAdminUserES(advice.execution_staff) == ''"
  1728. >{{ getAdminUser(advice.execution_staff) }}</span
  1729. >
  1730. <img
  1731. :style="{'height': org_id==10597 ? '25px':'30px'}"
  1732. :src="setAdminUserES(advice.execution_staff)"
  1733. alt=""
  1734. srcset=""
  1735. v-else
  1736. />
  1737. </td>
  1738. <td height="32px">
  1739. <span v-if="advice.execution_time">{{
  1740. getTime(advice.execution_time, "{h}:{i}")
  1741. }}</span>
  1742. </td>
  1743. </tr>
  1744. </tbody>
  1745. </table>
  1746. </div>
  1747. </div>
  1748. </template>
  1749. <script>
  1750. import CheckBox from "../batch_print/option_check_box";
  1751. import { getDialysisRecord } from "@/api/dialysis";
  1752. import { getDataConfig } from "@/utils/data";
  1753. import { jsGetAge, uParseTime } from "@/utils/tools";
  1754. import LabelBox from "../printItem/LabelBox";
  1755. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  1756. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  1757. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  1758. import print from "print-js";
  1759. import html2pdf from 'html2pdf.js'
  1760. import { UploadPrintOrder } from "@/api/role/admin"
  1761. import { HTML5_FMT } from "moment";
  1762. import html2canvas from 'html2canvas'
  1763. import { jsPDF } from 'jspdf';
  1764. export default {
  1765. name: "dialysisPrintOrderSix",
  1766. props: ["childResponse"],
  1767. // props:{
  1768. // childResponse:{
  1769. // type: Object
  1770. // }
  1771. // ,
  1772. // x_tdate:{
  1773. // type:String
  1774. // }
  1775. // },
  1776. components: {
  1777. // DialysisPrintOrderOne,
  1778. // DialysisPrintOrderTwo,
  1779. CheckBox,
  1780. LabelBox,
  1781. BreadCrumb,
  1782. },
  1783. data() {
  1784. return {
  1785. way_arr: [],
  1786. consciousness_arr: [],
  1787. appetite_arr: [],
  1788. posture_arr: [],
  1789. sick_condition_arr: [],
  1790. precaution_arr: [],
  1791. intake_arr: [],
  1792. nutrition_arr: [],
  1793. crumbs: [
  1794. { path: false, name: "透析管理" },
  1795. { path: false, name: "打印单" },
  1796. ],
  1797. operators: [],
  1798. adminUser: [],
  1799. check: {},
  1800. xtdate: "",
  1801. dialysisOrder: {
  1802. DeviceNumber: [],
  1803. },
  1804. displaceLiquiPartOptions: [],
  1805. operatorMaps: {},
  1806. complications: [
  1807. "低血压",
  1808. "高血压",
  1809. "心律失常",
  1810. "头晕",
  1811. "头痛",
  1812. "呕吐",
  1813. "抽搐",
  1814. "出血",
  1815. "心衰",
  1816. "腹痛",
  1817. ],
  1818. jilurow: 0,
  1819. advice_jilurow: 0,
  1820. loading: false,
  1821. orgname: "",
  1822. patientInfo_gender_1: false,
  1823. patientInfo_gender_2: false,
  1824. patientInfo_source_2: false,
  1825. patientInfo_source_1: false,
  1826. modeOptions: {},
  1827. replacementWays: [],
  1828. perfusionApparatus: [],
  1829. anticoagulantsConfit: {},
  1830. bloodAccessParOpera: {},
  1831. dialysateFormulationOptions: {},
  1832. totollength: 0,
  1833. queryParams: {
  1834. xtdate: "",
  1835. xtno: "",
  1836. patient_id:0,
  1837. },
  1838. patientInfo: {
  1839. birth: "",
  1840. age: "",
  1841. DialysisSchedule: {
  1842. device_number: { number: "" },
  1843. device_zone: { name: "" },
  1844. },
  1845. gender: 0,
  1846. },
  1847. predialysis: {
  1848. score: "",
  1849. internal_fistula: "",
  1850. internal_fistula_skin: "",
  1851. catheter: "",
  1852. blood_access_part_opera_name: "",
  1853. },
  1854. afterdialysis: {
  1855. complications_index: "",
  1856. },
  1857. lastafterdialysis: {},
  1858. prescription: {
  1859. dialysate_formulation_name: "",
  1860. device: {},
  1861. },
  1862. advices: [],
  1863. users: [],
  1864. monitors: [],
  1865. monitors2: [],
  1866. summary: {},
  1867. receiverTreatmentAccess: {},
  1868. org_template_info: {},
  1869. doctor_advices: [],
  1870. doctor_advices_2: [],
  1871. advice_groups: [],
  1872. advice_groups_2: [],
  1873. print_length: 0,
  1874. blood_access_part: [],
  1875. blood_access_part_opera: [],
  1876. AlPanel: {
  1877. id: 0,
  1878. name: "",
  1879. type: 1,
  1880. shouji: 2,
  1881. weichi: 2,
  1882. zongliang: 2,
  1883. gaimingcheng: -1,
  1884. gaijiliang: -1,
  1885. shouji_unit: "mg",
  1886. weichi_unit: "mg/h",
  1887. zongliang_unit: "mg",
  1888. gaimingcheng_unit: "",
  1889. gaijiliang_unit: "",
  1890. },
  1891. org_id: 0,
  1892. projectsOne: [],
  1893. };
  1894. },
  1895. methods: {
  1896. toUpload() {
  1897. let dom = document.getElementById("dialysis-print-box-1")
  1898. //调用方法下载
  1899. html2canvas(dom, {
  1900. useCORS: true, //允许跨域
  1901. allowTaint: false,
  1902. logging: false,
  1903. letterRendering: true,
  1904. ddpi: window.devicePixelRatio * 4, //将分辨率提高到特定的DPI 提高四倍
  1905. scale: 4, //按比例增加分辨率
  1906. background: '#fff',//pdf背景色为白色,默认是黑色的
  1907. }).then((canvas) => {
  1908. //返回图片dataURL,参数:图片格式和清晰度(0-1)
  1909. var pageData = canvas.toDataURL('image/jpeg', 1.0);
  1910. //方向默认竖直,尺寸ponits,格式a4[595.28,841.89]
  1911. var pdf = new jsPDF('', 'pt', 'a4');
  1912. //addImage后两个参数控制添加图片的尺寸,此处将页面高度按照a4纸宽高比列进行压缩
  1913. // pdf.addImage(pageData, 'JPEG', 0, 0, 595.28, 592.28 / canvas.width * canvas.height);
  1914. pdf.addImage(pageData, 'JPEG', 0, 0, 555.28, 592.28 / canvas.width * canvas.height);
  1915. console.log("pdf222222222222222222",pdf)
  1916. var newBase64Data = pdf.output("dataurlstring").split("base64,")[1]
  1917. // console.log("base63",newBase64Data)
  1918. const blob = this.base64ToBlob(newBase64Data, 'application/pdf');
  1919. console.log("blobwoowowowwo",blob)
  1920. this.openPdf(blob);
  1921. // var data = {
  1922. // name:newBase64Data,
  1923. // }
  1924. // UploadPrintOrder(data).then(response=>{
  1925. // if(response.data.state == 1){
  1926. // var sign = response.data.data.sign
  1927. // console.log("SIGNWWOOWWO")
  1928. // var pdfBase64 = response.data.data.pdfBase64
  1929. // console.log("pdfBase64",pdfBase64)
  1930. // this.$message.success("保存成功!")
  1931. // const blob = this.base64ToBlob(pdfBase64, 'application/pdf');
  1932. // this.openPdf(blob);
  1933. // }
  1934. // })
  1935. // this.viewPdf(newBase64Data)
  1936. //保存到pdf,名字是stone
  1937. // pdf.save('stone.pdf');
  1938. });
  1939. },
  1940. viewPdf(content) {
  1941. console.log("content",content);
  1942. const blob = this.base64ToBlob(content);
  1943. if (window.navigator && window.navigator.msSaveOrOpenBlob) {
  1944. window.navigator.msSaveOrOpenBlob(blob);
  1945. } else {
  1946. const fileURL = URL.createObjectURL(blob);
  1947. console.log("fileUlrwowowoow",fileURL)
  1948. window.open(fileURL);//打开ppf文件
  1949. }
  1950. },
  1951. compare (property) {
  1952. return function (a, b) {
  1953. var value1 = a[property]
  1954. var value2 = b[property]
  1955. return value1 - value2
  1956. }
  1957. },
  1958. openPdf(blob) {
  1959. const objectUrl = URL.createObjectURL(blob);
  1960. const a = document.createElement('a');
  1961. a.href = objectUrl;
  1962. a.target = '_blank';
  1963. a.click();
  1964. URL.revokeObjectURL(objectUrl);
  1965. },
  1966. base64ToBlob(base64Data, contentType) {
  1967. contentType = contentType || '';
  1968. const sliceSize = 1024;
  1969. const byteCharacters = window.atob(base64Data);
  1970. const bytesLength = byteCharacters.length;
  1971. const slicesCount = Math.ceil(bytesLength / sliceSize);
  1972. const byteArrays = new Array(slicesCount);
  1973. for (let sliceIndex = 0; sliceIndex < slicesCount; ++sliceIndex) {
  1974. const begin = sliceIndex * sliceSize;
  1975. const end = Math.min(begin + sliceSize, bytesLength);
  1976. const bytes = new Array(end - begin);
  1977. for (let offset = begin, i = 0; offset < end; ++i, ++offset) {
  1978. bytes[i] = byteCharacters[offset].charCodeAt(0);
  1979. }
  1980. byteArrays[sliceIndex] = new Uint8Array(bytes);
  1981. }
  1982. return new Blob(byteArrays, {
  1983. type: contentType
  1984. });
  1985. },
  1986. UploadPdf(res) {
  1987. let pdfBase64Str = res;
  1988. let title = "上传给后端的个人报告";
  1989. var myfile = this.dataURLtoFile(pdfBase64Str, title + ".pdf")
  1990. console.log("myfile",myfile)
  1991. },
  1992. // 获取当前年份,用于年龄计算
  1993. getoldAge() {
  1994. let date = new Date();
  1995. let year = date.getFullYear();
  1996. let year_d =
  1997. this.xtdate.split("-")[0] - this.patientInfo.birth.split("-")[0];
  1998. let year_m = this.xtdate.split("-")[1];
  1999. let birth_m = this.patientInfo.birth.split("-")[1];
  2000. let year_date = this.xtdate.split("-")[2];
  2001. let birth_date = this.patientInfo.birth.split("-")[2];
  2002. // console.log(year,'今年年月')
  2003. // console.log(this.xtdate.split('-'),'病人就诊年月')
  2004. console.log(this.patientInfo.birth, "病人生日");
  2005. // console.log(year_d,'year_d')
  2006. if (year_m < birth_m) {
  2007. return year_d - 1;
  2008. } else if (year_m == birth_m) {
  2009. if (year_date < birth_date) {
  2010. return year_d - 1;
  2011. } else {
  2012. return year_d;
  2013. }
  2014. } else {
  2015. return year_d;
  2016. }
  2017. },
  2018. checkData() {
  2019. if (this.receiverTreatmentAccess.way == 0) {
  2020. this.$message.error("入科方式未填");
  2021. } else if (this.predialysis.symptom_before_dialysis == "") {
  2022. this.$message.error("透前症状未填");
  2023. } else if (this.predialysis.temperature == "") {
  2024. this.$message.error("透前体温未填");
  2025. } else if (this.predialysis.pulse_frequency == "") {
  2026. this.$message.error("透前脉搏未填");
  2027. } else if (this.predialysis.breathing_rate == "") {
  2028. this.$message.error("透前呼吸频率未填");
  2029. } else if (
  2030. this.predialysis.systolic_blood_pressure == 0 ||
  2031. this.predialysis.diastolic_blood_pressure == 0
  2032. ) {
  2033. this.$message.error("透前血压未填完整");
  2034. } else if (this.predialysis.puncture_way == "") {
  2035. this.$message.error("穿刺方式未填");
  2036. } else if (this.predialysis.puncture_needle == "") {
  2037. this.$message.error("穿刺针未填");
  2038. } else if (
  2039. this.predialysis.blood_access_part_id == "" &&
  2040. this.predialysis.blood_access_part_opera_name == ""
  2041. ) {
  2042. this.$message.error("血管通路未填");
  2043. } else if (this.predialysis.internal_fistula == "") {
  2044. this.$message.error("透前内瘘未填");
  2045. } else if (this.predialysis.catheter == "") {
  2046. this.$message.error("透前导管未填");
  2047. } else if (this.prescription.mode_id == "") {
  2048. this.$message.error("透析方式未填");
  2049. } else if (
  2050. this.prescription.displace_liqui_part == 0 &&
  2051. this.prescription.mode_id == 2
  2052. ) {
  2053. this.$message.error("置换方式未填");
  2054. } else if (
  2055. this.prescription.displace_liqui_value == 0 &&
  2056. this.prescription.mode_id == 2
  2057. ) {
  2058. this.$message.error("置换量未填");
  2059. } else if (this.prescription.blood_flow_volume == 0) {
  2060. this.$message.error("血流量未填");
  2061. } else if (
  2062. this.prescription.dialysis_duration_hour == 0 &&
  2063. this.prescription.dialysis_duration_minute == 0
  2064. ) {
  2065. this.$message.error("透析时间未填");
  2066. } else if (
  2067. this.prescription.dialyzer_perfusion_apparatus == "" &&
  2068. this.prescription.dialysis_dialyszers == ""
  2069. ) {
  2070. this.$message.error("透析器未填");
  2071. } else if (this.prescription.dialysis_irrigation == "") {
  2072. this.$message.error("灌流器未填");
  2073. } else if (
  2074. this.prescription.plasma_separator == "" &&
  2075. this.org_id == 9538
  2076. ) {
  2077. this.$message.error("血浆分离器未填");
  2078. } else if (
  2079. this.prescription.bilirubin_adsorption_column == "" &&
  2080. this.org_id == 9538
  2081. ) {
  2082. this.$message.error("胆红素吸附柱未填");
  2083. } else if (this.predialysis.weight_before == 0) {
  2084. this.$message.error("透前体重未填");
  2085. } else if (this.predialysis.dry_weight == 0) {
  2086. this.$message.error("干体重未填");
  2087. } else if (this.prescription.target_ultrafiltration == 0) {
  2088. this.$message.error("计划超滤量未填");
  2089. } else if (this.prescription.calcium == 0) {
  2090. this.$message.error("钙未填");
  2091. } else if (this.prescription.sodium == 0) {
  2092. this.$message.error("钠未填");
  2093. } else if (this.prescription.kalium == 0) {
  2094. this.$message.error("钾未填");
  2095. } else if (this.prescription.bicarbonate == 0) {
  2096. this.$message.error("碳酸氢根未填");
  2097. } else if (this.prescription.dialysate_flow == 0) {
  2098. this.$message.error("透析液流量未填");
  2099. } else if (this.prescription.anticoagulant == 0) {
  2100. this.$message.error("抗凝剂未填");
  2101. } else if (
  2102. this.prescription.anticoagulant_gaimingcheng == "" &&
  2103. this.prescription.anticoagulant == 5
  2104. ) {
  2105. this.$message.error("钙名称未填");
  2106. } else if (
  2107. this.prescription.anticoagulant_gaijiliang == "" &&
  2108. this.prescription.anticoagulant == 5
  2109. ) {
  2110. this.$message.error("钙剂量未填");
  2111. } else if (this.afterdialysis.temperature == 0) {
  2112. this.$message.error("透后体温未填");
  2113. } else if (this.afterdialysis.pulse_frequency == 0) {
  2114. this.$message.error("透后脉搏未填");
  2115. } else if (this.afterdialysis.breathing_rate == 0) {
  2116. this.$message.error("透后呼吸频率未填");
  2117. } else if (
  2118. this.afterdialysis.systolic_blood_pressure == 0 ||
  2119. this.afterdialysis.diastolic_blood_pressure == 0
  2120. ) {
  2121. this.$message.error("透后血压未填完整");
  2122. } else if (
  2123. this.afterdialysis.actual_treatment_hour == 0 &&
  2124. this.afterdialysis.actual_treatment_minute == 0
  2125. ) {
  2126. this.$message.error("实际治疗时间未填");
  2127. } else if (this.afterdialysis.cruor == "") {
  2128. this.$message.error("透析器凝血未填");
  2129. } else if (this.afterdialysis.internal_fistula == "") {
  2130. this.$message.error("透后内瘘未填");
  2131. } else if (this.afterdialysis.catheter == "") {
  2132. this.$message.error("透后导管未填");
  2133. } else if (this.afterdialysis.weight_after == 0) {
  2134. this.$message.error("透后体重未填");
  2135. } else if (this.afterdialysis.weight_loss == 0) {
  2136. this.$message.error("透后体重减少未填");
  2137. } else if (this.afterdialysis.dialysis_intakes == 0) {
  2138. this.$message.error("透析中入量未填");
  2139. } else if (this.afterdialysis.actual_ultrafiltration == 0) {
  2140. this.$message.error("实际超滤量未填");
  2141. } else if (this.summary.dialysis_summary == "") {
  2142. this.$message.error("透析小结未填");
  2143. } else if (
  2144. this.dialysisOrder == null ||
  2145. this.dialysisOrder.puncture_nurse == 0
  2146. ) {
  2147. this.$message.error("穿刺护士未填");
  2148. } else if (
  2149. this.dialysisOrder == null ||
  2150. this.dialysisOrder.start_nurse == 0
  2151. ) {
  2152. this.$message.error("治疗护士未填");
  2153. } else if (this.dialysisOrder == null && this.check.creater == 0) {
  2154. this.$message.error("核对人员未填");
  2155. } else if (
  2156. this.dialysisOrder != null &&
  2157. this.dialysisOrder.start_nurse == this.check.modifier &&
  2158. this.check.creater == 0
  2159. ) {
  2160. this.$message.error("核对人员未填");
  2161. } else if (
  2162. this.dialysisOrder != null &&
  2163. this.dialysisOrder.start_nurse == this.check.creater &&
  2164. this.check.modifier == 0
  2165. ) {
  2166. this.$message.error("核对人员未填");
  2167. } else if (
  2168. this.dialysisOrder != null &&
  2169. this.dialysisOrder.start_nurse != this.check.creater &&
  2170. this.dialysisOrder.start_nurse != this.check.modifier &&
  2171. this.check.creater == 0
  2172. ) {
  2173. this.$message.error("核对人员未填");
  2174. } else if (
  2175. this.dialysisOrder == null ||
  2176. this.dialysisOrder.finish_nurse == 0
  2177. ) {
  2178. this.$message.error("下机护士未填");
  2179. } else if (this.prescription.creater == 0) {
  2180. this.$message.error("医生签名未填");
  2181. } else if (this.tableAdvice.length > 0) {
  2182. let num = 0;
  2183. this.tableAdvice.map((item) => {
  2184. if (item.id > 0 && (item.created_time || item.start_time)) {
  2185. this.users.map((it) => {
  2186. if (it.id == item.advice_doctor) {
  2187. if (it.user_type == 3) {
  2188. num++;
  2189. this.$message.closeAll();
  2190. this.$message.error("存在不是医生保存的医嘱");
  2191. } else if (
  2192. it.id == item.execution_staff &&
  2193. item.execution_staff > 0
  2194. ) {
  2195. if (it.user_type == 2) {
  2196. num++;
  2197. this.$message.closeAll();
  2198. this.$message.error("存在不是护士执行的医嘱");
  2199. }
  2200. } else if (it.id == item.checker && item.checker > 0) {
  2201. if (it.user_type == 2) {
  2202. num++;
  2203. this.$message.closeAll();
  2204. this.$message.error("存在不是护士核对的医嘱");
  2205. }
  2206. }
  2207. } else if (
  2208. it.id == item.execution_staff &&
  2209. item.execution_staff > 0
  2210. ) {
  2211. if (it.user_type == 2) {
  2212. num++;
  2213. this.$message.closeAll();
  2214. this.$message.error("存在不是护士执行的医嘱");
  2215. }
  2216. } else if (it.id == item.checker && item.checker > 0) {
  2217. if (it.user_type == 2) {
  2218. num++;
  2219. this.$message.closeAll();
  2220. this.$message.error("存在不是护士核对的医嘱");
  2221. }
  2222. }
  2223. });
  2224. }
  2225. });
  2226. if (num == 0) {
  2227. this.$message.success("核对完成");
  2228. }
  2229. } else {
  2230. this.$message.success("核对完成");
  2231. }
  2232. },
  2233. getDisplaceLiquiPart: function (val) {
  2234. let displace_liqui_part_name = "/";
  2235. const displace_liqui_part = this.displaceLiquiPartOptions;
  2236. for (let i = 0; i < displace_liqui_part.length; i++) {
  2237. if (displace_liqui_part[i].id == val) {
  2238. displace_liqui_part_name = displace_liqui_part[i].name;
  2239. }
  2240. }
  2241. return displace_liqui_part_name;
  2242. },
  2243. replacementWaysById: function (val) {
  2244. let replacementWaysname = "/";
  2245. // let vascular_access = getDataConfig('hemodialysis', 'vascular_access')
  2246. for (let i = 0; i < this.replacementWays.length; i++) {
  2247. if (this.replacementWays[i].id == val) {
  2248. replacementWaysname = this.replacementWays[i].name;
  2249. }
  2250. }
  2251. return replacementWaysname;
  2252. },
  2253. QueryPartById: function (val) {
  2254. let vascular_access_part_name = "/";
  2255. const vascular_access = getDataConfig("hemodialysis", "vascular_access");
  2256. for (let i = 0; i < vascular_access.length; i++) {
  2257. if (vascular_access[i].id == val) {
  2258. vascular_access_part_name = vascular_access[i].name;
  2259. }
  2260. }
  2261. return vascular_access_part_name;
  2262. },
  2263. getAdminUser(id) {
  2264. if (id == 0) {
  2265. return "";
  2266. }
  2267. if (id == undefined) {
  2268. return "";
  2269. }
  2270. for (let i = 0; i < this.adminUser.length; i++) {
  2271. if (this.adminUser[i].id == id) {
  2272. return this.adminUser[i].name;
  2273. }
  2274. }
  2275. },
  2276. getTime(value, temp) {
  2277. if (value == 0) {
  2278. return "";
  2279. }
  2280. if (value != undefined) {
  2281. return uParseTime(value, temp);
  2282. }
  2283. return "";
  2284. },
  2285. getUnit: function (val) {
  2286. switch (val) {
  2287. case 1:
  2288. return "g";
  2289. break;
  2290. case 2:
  2291. return "ml";
  2292. break;
  2293. case 3:
  2294. return 'kg'
  2295. break
  2296. }
  2297. },
  2298. printThisPage() {
  2299. var ptime = Math.round(new Date().getTime() / 1000);
  2300. this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
  2301. const style =
  2302. '@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}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:left;border-collapse:collapse;font-size:14px} .dialysis-print-order .under_line {display: inline-block;border-bottom: 1px solid #999;text-align:left;white-space: nowrap;width: 50%;} .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: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}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
  2303. if (this.org_template_info.template_id == 1) {
  2304. printJS({
  2305. printable: "dialysis-print-box",
  2306. type: "html",
  2307. style: style,
  2308. scanStyles: false,
  2309. });
  2310. } else if (
  2311. this.org_template_info.template_id == 2 ||
  2312. this.org_template_info.template_id == 0
  2313. ) {
  2314. printJS({
  2315. printable: "dialysis-print-box-1",
  2316. type: "html",
  2317. style: style,
  2318. scanStyles: false,
  2319. });
  2320. }
  2321. },
  2322. getNumber() {
  2323. if (this.dialysisOrder != null) {
  2324. return (
  2325. this.patientInfo.DialysisSchedule.device_zone.name +
  2326. this.dialysisOrder.DeviceNumber.number
  2327. );
  2328. } else {
  2329. return (
  2330. this.patientInfo.DialysisSchedule.device_zone.name +
  2331. this.patientInfo.DialysisSchedule.device_number.number
  2332. );
  2333. }
  2334. },
  2335. getXuserName(id) {
  2336. if (id <= 0) {
  2337. return "";
  2338. }
  2339. var name = "";
  2340. if (this.users == null || typeof this.users.length === "undefined") {
  2341. return name;
  2342. }
  2343. var leng = this.users.length;
  2344. if (leng == 0) {
  2345. return name;
  2346. }
  2347. for (let index = 0; index < leng; index++) {
  2348. if (this.users[index].id == id) {
  2349. name = this.users[index].name;
  2350. break;
  2351. }
  2352. }
  2353. return name;
  2354. },
  2355. setAdminUserES(id) {
  2356. if (id == 0) {
  2357. return "";
  2358. }
  2359. if (id in this.operatorMaps) {
  2360. return this.operatorMaps[id].url;
  2361. } else {
  2362. return "";
  2363. }
  2364. },
  2365. modeName(mode_id) {
  2366. return typeof this.modeOptions[mode_id] !== "undefined" &&
  2367. typeof this.modeOptions[mode_id].name !== "undefined"
  2368. ? this.modeOptions[mode_id].name
  2369. : "";
  2370. },
  2371. // 数据源
  2372. getDialysisRecord() {
  2373. this.loading = true;
  2374. // getDialysisRecord(this.queryParams).then(response => {
  2375. var response = this.childResponse;
  2376. if (response.data.state == 1) {
  2377. this.adminUser = response.data.data.users;
  2378. console.log('3333333wwwwww',response.data.data);
  2379. this.users = response.data.data.users;
  2380. this.patientInfo = response.data.data.patientInfo;
  2381. this.patientInfo.birth = uParseTime(
  2382. this.patientInfo.birthday,
  2383. "{y}-{m}-{d}"
  2384. );
  2385. // console.log(this.patientInfo.birth,'测试生日')
  2386. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  2387. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  2388. this.patientInfo.first_dialysis_date = uParseTime(
  2389. response.data.data.patientInfo.first_dialysis_date,
  2390. "{y}-{m}-{d}"
  2391. );
  2392. } else {
  2393. this.patientInfo.first_dialysis_date = "";
  2394. }
  2395. this.check = response.data.data.check;
  2396. this.xtdate = response.data.data.xtdate;
  2397. this.predialysis = response.data.data.PredialysisEvaluation;
  2398. console.log('透前评估', this.predialysis)
  2399. this.predialysis.blood_access_part_opera_name =
  2400. this.bloodAccessParOperaName(
  2401. this.predialysis.blood_access_part_opera_id
  2402. );
  2403. this.afterdialysis = response.data.data.AssessmentAfterDislysis;
  2404. // console.log('透后体重', this.afterdialysis)
  2405. this.lastafterdialysis = response.data.data.assessmentAfterDislysis;
  2406. // console.log("上次透后体重", this.lastafterdialysis.weight_after);
  2407. this.operators = response.data.data.operators;
  2408. // console.log("operators", this.operators);
  2409. this.dialysisOrder =
  2410. response.data.data.dialysisOrder === null
  2411. ? null
  2412. : response.data.data.dialysisOrder;
  2413. // console.log("上机233232323232", this.dialysisOrder);
  2414. if (this.operators.length > 0) {
  2415. var operatorsLen = this.operators.length;
  2416. for (var index = 0; index < operatorsLen; index++) {
  2417. this.$set(
  2418. this.operatorMaps,
  2419. this.operators[index].creator,
  2420. this.operators[index]
  2421. );
  2422. }
  2423. }
  2424. this.afterdialysis.txqnx = -1;
  2425. if (this.afterdialysis.cruor.indexOf("0度") > -1) {
  2426. this.afterdialysis.txqnx = 0;
  2427. }
  2428. if (this.afterdialysis.cruor.indexOf("Ⅰ度") > -1) {
  2429. this.afterdialysis.txqnx = 1;
  2430. }
  2431. if (this.afterdialysis.cruor.indexOf("Ⅱ度") > -1) {
  2432. this.afterdialysis.txqnx = 2;
  2433. }
  2434. if (this.afterdialysis.cruor.indexOf("Ⅲ度") > -1) {
  2435. this.afterdialysis.txqnx = 3;
  2436. }
  2437. this.afterdialysis.complications =
  2438. this.afterdialysis.complication.split(",");
  2439. this.afterdialysis.complications_other = [];
  2440. this.afterdialysis.complications_index = [];
  2441. var acllen = this.afterdialysis.complications.length;
  2442. for (let index = 0; index < acllen; index++) {
  2443. if (
  2444. this.complications.indexOf(
  2445. this.afterdialysis.complications[index]
  2446. ) >= 0
  2447. ) {
  2448. this.afterdialysis.complications_index.push(
  2449. this.afterdialysis.complications[index]
  2450. );
  2451. } else if (
  2452. this.complications.indexOf(
  2453. this.afterdialysis.complications[index]
  2454. ) < 0 &&
  2455. this.afterdialysis.complications_other.indexOf(
  2456. this.afterdialysis.complications[index]
  2457. ) < 0
  2458. ) {
  2459. this.afterdialysis.complications_other.push(
  2460. this.afterdialysis.complications[index]
  2461. );
  2462. }
  2463. }
  2464. this.afterdialysis.complications_other =
  2465. this.afterdialysis.complications_other.join(",");
  2466. this.prescription = response.data.data.dialysisPrescription;
  2467. // console.log("透析处方", this.prescription);
  2468. this.receiverTreatmentAccess =
  2469. response.data.data.receiverTreatmentAccess;
  2470. this.prescription.mode = this.modeName(this.prescription.mode_id);
  2471. var rwLen = this.replacementWays.length;
  2472. this.prescription.replacement = "";
  2473. for (let index = 0; index < rwLen; index++) {
  2474. if (
  2475. this.replacementWays[index].id == this.prescription.replacement_way
  2476. ) {
  2477. this.prescription.replacement = this.replacementWays[index].name;
  2478. break;
  2479. }
  2480. }
  2481. this.prescription.dialysate_formulation_name =
  2482. this.dialysateFormulationName(
  2483. this.prescription.dialysate_formulation
  2484. );
  2485. var paLen = this.perfusionApparatus.length;
  2486. this.prescription.perfusion_apparatus_name = "";
  2487. for (let index = 0; index < paLen; index++) {
  2488. if (
  2489. this.perfusionApparatus[index].id ==
  2490. this.prescription.perfusion_apparatus
  2491. ) {
  2492. this.prescription.perfusion_apparatus_name =
  2493. this.perfusionApparatus[index].name;
  2494. break;
  2495. }
  2496. }
  2497. var acLen = this.anticoagulantsConfit.length;
  2498. var thisALID = this.prescription.anticoagulant;
  2499. this.prescription.anticoagulant_name = "";
  2500. if (
  2501. typeof this.anticoagulantsConfit[thisALID] !== "undefined" &&
  2502. this.anticoagulantsConfit[thisALID] != null
  2503. ) {
  2504. this.prescription.anticoagulant_name =
  2505. this.anticoagulantsConfit[thisALID].name;
  2506. this.AlPanel = this.anticoagulantsConfit[thisALID];
  2507. }
  2508. this.advices = response.data.data.advices;
  2509. this.tableAdvice = response.data.data.advices;
  2510. // console.log("医嘱数据2222222222", this.advices);
  2511. this.monitors = response.data.data.monitors;
  2512. this.summary = response.data.data.summary;
  2513. this.org_template_info = response.data.data.org_template_info;
  2514. if (this.monitors.length <= 6) {
  2515. var nl = 6;
  2516. this.print_length = 6;
  2517. for (let index = 0; index < nl; index++) {
  2518. if (
  2519. this.monitors[index] == undefined ||
  2520. this.monitors[index].length <= 0
  2521. ) {
  2522. this.monitors2.push([]);
  2523. } else {
  2524. continue;
  2525. }
  2526. }
  2527. }
  2528. var tempmonitorflag = true;
  2529. for (let index = 0; index < this.monitors.length; index++) {
  2530. const monitor = this.monitors[index];
  2531. this.monitors[index].end = "";
  2532. if (Object.keys(monitor).length > 0 && index > 1) {
  2533. if (
  2534. (this.dialysisOrder &&
  2535. monitor.operate_time == this.dialysisOrder.end_time)&&(this.org_id!=10414)
  2536. ) {
  2537. this.monitors[index].end = "【结束透析】回血100ml/min";
  2538. tempmonitorflag = false;
  2539. }
  2540. if ((tempmonitorflag && index == this.monitors.length - 1)&&(this.org_id!=10414)) {
  2541. this.monitors[index].end = "【结束透析】回血100ml/min";
  2542. }
  2543. }
  2544. }
  2545. this.jilurow = this.monitors.length + 1;
  2546. this.advice_jilurow = this.advices.length + 1;
  2547. var childMap = {};
  2548. for (const index in this.advices) {
  2549. if (this.advices[index].parent_id == 0) {
  2550. continue;
  2551. }
  2552. if (!(this.advices[index].parent_id in childMap)) {
  2553. childMap[this.advices[index].parent_id] = [];
  2554. }
  2555. childMap[this.advices[index].parent_id].push(this.advices[index]);
  2556. }
  2557. var advices = [];
  2558. for (const index in this.advices) {
  2559. if (this.advices[index].parent_id > 0) {
  2560. continue;
  2561. }
  2562. var item = this.advices[index];
  2563. if (item.id in childMap) {
  2564. item.children = childMap[item.id];
  2565. } else {
  2566. item.children = [];
  2567. }
  2568. advices.push(item);
  2569. }
  2570. var leftAdvice = [];
  2571. var rightAdvice = [];
  2572. var adlen = advices.length;
  2573. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2;
  2574. for (var i = 0; i < halfLen; i++) {
  2575. leftAdvice.push(advices[i]);
  2576. rightAdvice.push(advices[i + halfLen]);
  2577. }
  2578. if (halfLen < 5) {
  2579. var nl = 5 - leftAdvice.length;
  2580. for (let index = 0; index < nl; index++) {
  2581. leftAdvice.push([]);
  2582. }
  2583. var nl = 5 - rightAdvice.length;
  2584. for (let index = 0; index < nl; index++) {
  2585. rightAdvice.push([]);
  2586. }
  2587. }
  2588. this.advices = [];
  2589. for (var i = 0; i < halfLen; i++) {
  2590. var item = [];
  2591. item.push(leftAdvice[i]);
  2592. item.push(rightAdvice[i]);
  2593. this.advices.push(item);
  2594. }
  2595. this.loading = false;
  2596. this.doctor_advices =
  2597. response.data.data.advices == null ? [] : response.data.data.advices;
  2598. for (let index = 0; index < this.doctor_advices.length; index++) {
  2599. this.doctor_advices[index]["isShow"] = 2;
  2600. }
  2601. // if (this.doctor_advices.length > 0) {
  2602. // var group = this.newAdviceGroupObject()
  2603. // var initGroupBlock = function(group, advice) {
  2604. // group.group_no = advice.groupno
  2605. // }
  2606. // for (let index = this.doctor_advices.length - 1; index >= 0; index--) {
  2607. // var new_advice_index = 0
  2608. // if ('children' in this.doctor_advices[index] && this.doctor_advices[index].children.length > 0) {
  2609. // new_advice_index = index + this.doctor_advices[index].children.length + 1
  2610. // var doctor_advice = {
  2611. // delivery_way: this.doctor_advices[index].delivery_way,
  2612. // execution_frequency: this.doctor_advices[index].execution_frequency,
  2613. // groupno: this.doctor_advices[index].groupno,
  2614. // id: this.doctor_advices[index].id,
  2615. // parent_id: this.doctor_advices[index].parent_id,
  2616. // children: this.doctor_advices[index].children,
  2617. // remark: this.doctor_advices[index].remark,
  2618. // execution_staff: this.doctor_advices[index].execution_staff,
  2619. // checker: this.doctor_advices[index].checker,
  2620. // execution_time: this.doctor_advices[index].execution_time,
  2621. // advice_doctor: this.doctor_advices[index].advice_doctor
  2622. // }
  2623. // doctor_advice['isShow'] = 1
  2624. // this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
  2625. // // this.doctor_advices.push(doctor_advice)
  2626. // }
  2627. // }
  2628. // for (let index = 0; index < this.doctor_advices.length; index++) {
  2629. // const advice = this.doctor_advices[index]
  2630. // if (advice.groupno == 0) {
  2631. // // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  2632. // if (advice.parent_id > 0) {
  2633. // if (this.advice_groups.length > 0) {
  2634. // var parent_group = this.advice_groups[
  2635. // this.advice_groups.length - 1
  2636. // ]
  2637. // if (parent_group.advices.length > 0) {
  2638. // if (parent_group.advices[0].id == advice.parent_id) {
  2639. // parent_group.advices.push(advice)
  2640. // }
  2641. // }
  2642. // }
  2643. // continue
  2644. // } else {
  2645. // if (group.group_no > 0) {
  2646. // this.advice_groups.push(group)
  2647. // group = this.newAdviceGroupObject()
  2648. // }
  2649. // initGroupBlock(group, advice)
  2650. // group.advices.push(advice)
  2651. // this.advice_groups.push(group)
  2652. // group = this.newAdviceGroupObject()
  2653. // continue
  2654. // }
  2655. // }
  2656. // if (group.group_no > 0 && group.group_no != advice.groupno) {
  2657. // this.advice_groups.push(group)
  2658. // group = this.newAdviceGroupObject()
  2659. // }
  2660. // if (group.group_no == 0) {
  2661. // initGroupBlock(group, advice)
  2662. // }
  2663. // if (group.group_no == advice.groupno) {
  2664. // group.advices.push(advice)
  2665. // }
  2666. // }
  2667. // if (group.group_no > 0) {
  2668. // // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  2669. // this.advice_groups.push(group)
  2670. // }
  2671. // }
  2672. if(this.org_id== 0 || this.org_id ==10206){
  2673. let projectsOne = [];
  2674. response.data.data.projects.map((item) => {
  2675. projectsOne.push(item);
  2676. });
  2677. this.projectsOne = projectsOne;
  2678. console.log("this.projectsOne", this.projectsOne);
  2679. }
  2680. console.log("RESWOOWOWWOOW",response.data.data.doctorAdevieInfo)
  2681. if(this.org_id ==10515 || this.org_id == 10510 || this.org_id ==10567 ){
  2682. if(response.data.data.doctorAdevieInfo!=null && response.data.data.doctorAdevieInfo.length>0){
  2683. for(let i=0;i<response.data.data.doctorAdevieInfo.length;i++){
  2684. this.doctor_advices.push(response.data.data.doctorAdevieInfo[i])
  2685. console.log("寄哪里 222")
  2686. // this.doctor_advices_2.push(response.data.data.doctorAdevieInfo[i])
  2687. }
  2688. }
  2689. console.log("医护哦我我我哦我我哦",this.doctor_advices)
  2690. let projects = [];
  2691. response.data.data.projects.map((item) => {
  2692. if (item.type == 2) {
  2693. projects.push(item);
  2694. }
  2695. });
  2696. this.projects = projects;
  2697. console.log("this.projects", this.projects);
  2698. // var objProject = {advice_name:"",start_time:"",single_dose:"",single_dose_unit:"",}
  2699. if(this.org_id!=10510 && this.org_id!=0&&this.org_id!=10206){
  2700. if(this.projects!=null && this.projects.length >0){
  2701. for(let i=0;i<this.projects.length;i++){
  2702. if(this.projects[i].type== 2){
  2703. this.projects[i].project_team_name = ""
  2704. this.projects[i].project_team_id = 0
  2705. console.log("this.projects[i].project.team",this.projects[i].project.team)
  2706. if(this.projects[i].team!= "undefined" && this.projects[i].team.id >0){
  2707. this.projects[i].project_team = this.projects[i].team.project_team
  2708. this.projects[i].project_team_id = this.projects[i].team.id
  2709. this.projects[i].start_time = this.projects[i].start_time
  2710. this.projects[i].single_dose = this.projects[i].single_dose
  2711. this.projects[i].single_dose_unit = this.projects[i].unit
  2712. this.projects[i].execution_time = this.projects[i].execution_time
  2713. this.projects[i].execution_staff= this.projects[i].execution_staff
  2714. this.projects[i].advice_name = this.projects[i].team.project_team
  2715. this.projects[i].advice_doctor = this.projects[i].doctor
  2716. this.doctor_advices.push(this.projects[i])
  2717. // this.doctor_advices_2.push(this.project[i])
  2718. }else{
  2719. this.projects[i].project_team = this.projects[i].project.project_name
  2720. this.projects[i].advice_name = this.projects[i].project.project_name
  2721. this.projects[i].start_time = this.projects[i].start_time
  2722. this.projects[i].single_dose = this.projects[i].single_dose
  2723. this.projects[i].single_dose_unit = this.projects[i].unit
  2724. this.projects[i].execution_time = this.projects[i].execution_time
  2725. this.projects[i].execution_staff= this.projects[i].execution_staff
  2726. this.projects[i].advice_doctor = this.projects[i].doctor
  2727. this.doctor_advices.push(this.projects[i])
  2728. // this.doctor_advices_2.push(this.projects[i])
  2729. }
  2730. }
  2731. }
  2732. }
  2733. }
  2734. }
  2735. console.log("时间我我我哦我我",this.doctor_advices)
  2736. if(this.org_id == 10265){
  2737. var docArr = []
  2738. if(this.doctor_advices!=null && this.doctor_advices.length>0){
  2739. for(let i=0;i<this.doctor_advices.length;i++){
  2740. if(this.doctor_advices[i].delivery_way!='口服' && this.doctor_advices[i].delivery_way!='中药口服'){
  2741. docArr.push(this.doctor_advices[i])
  2742. }
  2743. }
  2744. }
  2745. this.doctor_advices = []
  2746. this.doctor_advices = docArr
  2747. }
  2748. if (this.doctor_advices.length + this.projectsOne.length <= 6) {
  2749. var nl = 6 - (this.doctor_advices.length + this.projectsOne.length);
  2750. this.print_length = 6;
  2751. for (let index = 0; index < nl; index++) {
  2752. if (
  2753. this.projectsOne[index] == undefined ||
  2754. this.projectsOne[index].length <= 0
  2755. ) {
  2756. this.projectsOne.push([]);
  2757. } else {
  2758. continue;
  2759. }
  2760. }
  2761. }
  2762. // if (this.doctor_advices.length <= 6) {
  2763. // var nl = 6;
  2764. // this.print_length = 6;
  2765. // for (let index = 0; index < nl; index++) {
  2766. // if (
  2767. // this.doctor_advices[index] == undefined ||
  2768. // this.doctor_advices[index].length <= 0
  2769. // ) {
  2770. // this.doctor_advices.push([]);
  2771. // } else {
  2772. // continue;
  2773. // }
  2774. // }
  2775. // }
  2776. this.totollength = this.doctor_advices.length + this.monitors.length;
  2777. console.log("this.totollength",this.totollength)
  2778. if (this.totollength > 18) {
  2779. var temp_advice_length = 17 - this.monitors.length;
  2780. var doctor_advices_1 = [];
  2781. var doctor_advices_2 = [];
  2782. for (let index = 0; index < this.doctor_advices.length; index++) {
  2783. const element = this.doctor_advices[index];
  2784. if (temp_advice_length > index) {
  2785. doctor_advices_1.push(element);
  2786. } else {
  2787. doctor_advices_2.push(element);
  2788. }
  2789. }
  2790. this.doctor_advices = doctor_advices_1;
  2791. this.doctor_advices_2 = doctor_advices_2;
  2792. }
  2793. // console.log(this.advice_groups);
  2794. } else {
  2795. this.loading = false;
  2796. this.$message.error("请求数据失败");
  2797. return false;
  2798. }
  2799. // })
  2800. },
  2801. bloodAccessParOperaName(id) {
  2802. if (id in this.bloodAccessParOpera) {
  2803. return this.bloodAccessParOpera[id].name;
  2804. }
  2805. return "";
  2806. },
  2807. dialysateFormulationName(id) {
  2808. if (id in this.dialysateFormulationOptions) {
  2809. return this.dialysateFormulationOptions[id].name;
  2810. }
  2811. return "";
  2812. },
  2813. // getAge: function (val) {
  2814. // if (
  2815. // this.org_template_info.template_id == 2 ||
  2816. // this.org_template_info.template_id == 0
  2817. // ) {
  2818. // if (val.age == 0) {
  2819. // return jsGetAge(val.birth, "-");
  2820. // } else {
  2821. // return val.age;
  2822. // }
  2823. // } else {
  2824. // return this.getoldAge();
  2825. // }
  2826. // },
  2827. getAge: function(val) {
  2828. if (val.id_card_no) {
  2829. var thisLen = val.id_card_no.length
  2830. var birth = ''
  2831. if (thisLen == 15) {
  2832. birth = '19' + val.id_card_no.substr(6, 6)
  2833. } else {
  2834. birth = val.id_card_no.substr(6, 8)
  2835. }
  2836. var birthtwo =
  2837. birth.substr(0, 4) +
  2838. '-' +
  2839. birth.substr(4, 2) +
  2840. '-' +
  2841. birth.substr(6, 2)
  2842. var age = jsGetAge(birthtwo, '-')
  2843. return age
  2844. }
  2845. },
  2846. newAdviceGroupObject: function () {
  2847. return Object.assign(
  2848. {},
  2849. {
  2850. group_no: 0,
  2851. // advice_doctor: 0,
  2852. // start_time: 0,
  2853. advices: [],
  2854. // exec_staff: 0,
  2855. // exec_time: 0,
  2856. // checker: 0,
  2857. }
  2858. );
  2859. },
  2860. getFloat: function (x) {
  2861. if (x == 0) {
  2862. return "/";
  2863. }
  2864. if (x != ".") {
  2865. var f = Math.round(x * 100) / 100;
  2866. var s = f.toString();
  2867. var rs = s.indexOf(".");
  2868. if (rs <= 0) {
  2869. rs = s.length;
  2870. s += ".";
  2871. }
  2872. while (s.length <= rs + 1) {
  2873. s += "0";
  2874. }
  2875. return s;
  2876. } else {
  2877. return "0.0";
  2878. }
  2879. },
  2880. },
  2881. watch: {
  2882. "patientInfo.gender": function () {
  2883. if (this.patientInfo.gender == 1) {
  2884. this.patientInfo_gender_1 = true;
  2885. this.patientInfo_gender_2 = false;
  2886. } else if (this.patientInfo.gender == 2) {
  2887. this.patientInfo_gender_2 = true;
  2888. this.patientInfo_gender_1 = false;
  2889. } else {
  2890. this.patientInfo_gender_2 = false;
  2891. this.patientInfo_gender_1 = false;
  2892. }
  2893. },
  2894. "patientInfo.source": function () {
  2895. if (this.patientInfo.source == 1) {
  2896. this.patientInfo_source_1 = true;
  2897. this.patientInfo_source_2 = false;
  2898. } else if (this.patientInfo.source == 2) {
  2899. this.patientInfo_source_2 = true;
  2900. this.patientInfo_source_1 = false;
  2901. } else {
  2902. this.patientInfo_source_2 = false;
  2903. this.patientInfo_source_1 = false;
  2904. }
  2905. },
  2906. // "props.childResponse": function () {
  2907. // console.log('sdfasdfada',this.props.childResponse);
  2908. // }
  2909. },
  2910. created() {
  2911. console.log('dddddd',this.$parent.childResponse);
  2912. this.way_arr = getDataConfig("hemodialysis", "way");
  2913. this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
  2914. this.appetite_arr = getDataConfig("hemodialysis", "appetite");
  2915. this.posture_arr = getDataConfig("hemodialysis", "posture");
  2916. this.sick_condition_arr = getDataConfig("hemodialysis", "sick_condition");
  2917. this.precaution_arr = getDataConfig("hemodialysis", "precaution");
  2918. this.intake_arr = getDataConfig("hemodialysis", "intake");
  2919. this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
  2920. console.log('childResponse',this.childResponse);
  2921. var xtuser = this.$store.getters.xt_user;
  2922. this.orgname = xtuser.org.org_name;
  2923. // this.orgname = "遂溪方济医院";
  2924. this.modeOptions = this.$store.getters.treatment_mode;
  2925. this.replacementWays = this.$store.getters.replacement_ways;
  2926. this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
  2927. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
  2928. this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
  2929. this.blood_access_part = getDataConfig("hemodialysis", "vascular_access");
  2930. this.blood_access_part_opera = getDataConfig(
  2931. "hemodialysis",
  2932. "vascular_access_desc"
  2933. );
  2934. this.org_id = this.$store.getters.xt_user.org.id;
  2935. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  2936. var bloodAccessParOpera = getDataConfig(
  2937. "hemodialysis",
  2938. "vascular_access_desc"
  2939. );
  2940. for (var key in bloodAccessParOpera) {
  2941. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  2942. bloodAccessParOpera[key];
  2943. }
  2944. var dialysateFormulationOptions = getDataConfig(
  2945. "hemodialysis",
  2946. "dialysate_formulation"
  2947. );
  2948. for (var key in dialysateFormulationOptions) {
  2949. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  2950. dialysateFormulationOptions[key];
  2951. }
  2952. // this.getDialysisRecord();
  2953. console.log('x_tdate',this.x_tdate);
  2954. const xtdate = this.$route.query && this.$route.query.xtdate;
  2955. console.log("xtdate", xtdate);
  2956. const xtno = this.$route.query && this.$route.query.xtno;
  2957. console.log("xtno", xtno);
  2958. if (
  2959. typeof xtdate === "string" &&
  2960. xtdate.length > 0 &&
  2961. typeof xtno === "string" &&
  2962. xtno.length > 0
  2963. ) {
  2964. this.queryParams.xtdate = xtdate;
  2965. this.queryParams.xtno = xtno;
  2966. this.getDialysisRecord();
  2967. } else {
  2968. this.$message.error("参数不齐");
  2969. return false;
  2970. }
  2971. },
  2972. };
  2973. </script>
  2974. <style>
  2975. .print_page_main_content {
  2976. background-color: white;
  2977. width: 960px;
  2978. margin: 0 auto 50px;
  2979. padding: 0 0 0 0;
  2980. page-break-after: always;
  2981. }
  2982. .print_page_main_content .order-yy-name {
  2983. margin: auto;
  2984. text-align: center;
  2985. font-size: 20px;
  2986. letter-spacing: 5px;
  2987. }
  2988. .dialysis-print-order .order-title {
  2989. margin: auto;
  2990. font-weight: 600;
  2991. text-align: center;
  2992. font-size: 22px;
  2993. padding: 10px;
  2994. }
  2995. .print_page_main_content .order_title {
  2996. text-align: center;
  2997. font-size: 23px;
  2998. line-height: 50px;
  2999. font-weight: 500;
  3000. }
  3001. .row {
  3002. font-size: 14px;
  3003. line-height: 20px;
  3004. padding: 5px 0;
  3005. }
  3006. .inline_block {
  3007. display: inline-block;
  3008. }
  3009. .under_line_two {
  3010. display: inline-block;
  3011. border-bottom: 1px solid #999;
  3012. text-align: left;
  3013. white-space: nowrap;
  3014. width: 50%;
  3015. }
  3016. .under_line_two::before {
  3017. content: "\00A0";
  3018. }
  3019. .under_line_two::after {
  3020. content: "\00A0";
  3021. }
  3022. .under_line {
  3023. display: inline-block;
  3024. border-bottom: 1px solid #999;
  3025. text-align: center;
  3026. white-space: nowrap;
  3027. width: 50%;
  3028. }
  3029. .under_line2 {
  3030. display: inline-block;
  3031. border-bottom: 1px solid #999;
  3032. text-align: center;
  3033. /* white-space: nowrap; */
  3034. width: 50%;
  3035. }
  3036. .under_line::before {
  3037. content: "\00A0";
  3038. }
  3039. .under_line::after {
  3040. content: "\00A0";
  3041. }
  3042. .flex {
  3043. display: -webkit-box;
  3044. display: -moz-box;
  3045. display: -ms-flexbox;
  3046. display: -webkit-flex;
  3047. display: flex;
  3048. align-items: center;
  3049. -webkit-align-items: center;
  3050. box-align: center;
  3051. -moz-box-align: center;
  3052. -webkit-box-align: center;
  3053. text-align: center;
  3054. -webkit-justify-content: space-between;
  3055. justify-content: space-between;
  3056. -moz-box-pack: space-between;
  3057. -webkit--moz-box-pack: space-between;
  3058. box-pack: space-between;
  3059. }
  3060. .print_page_main_content .proj_table {
  3061. width: 100%;
  3062. border: 1px solid;
  3063. border-collapse: collapse;
  3064. padding: 2px;
  3065. }
  3066. .print_page_main_content .proj_table tbody tr td {
  3067. border: 1px solid;
  3068. /* text-align: center; */
  3069. font-size: 16px;
  3070. padding: 5px 0px;
  3071. line-height: 30px;
  3072. }
  3073. .print_page_main_content .proj_table .inside_table {
  3074. width: 100%;
  3075. border: hidden; /* 解决边框冲突 */
  3076. border-collapse: collapse;
  3077. }
  3078. .print_page_main_content .proj_table .inside_table tr td {
  3079. border: 1px solid;
  3080. text-align: center;
  3081. font-size: 14px;
  3082. padding: 0px 5px;
  3083. line-height: 16px;
  3084. }
  3085. .print-table-no {
  3086. width: 100%;
  3087. text-align: center;
  3088. border-collapse: collapse;
  3089. font-size: 14px;
  3090. }
  3091. .es-img {
  3092. height: 20px;
  3093. }
  3094. .advice-name {
  3095. text-align: left !important;
  3096. line-height: 16px !important;
  3097. }
  3098. .advice-children {
  3099. display: flex;
  3100. }
  3101. .margin-bottom-50 {
  3102. }
  3103. .margin-bottom-300 {
  3104. margin-bottom: 450px;
  3105. }
  3106. .margin-bottom-600 {
  3107. margin-bottom: 600px;
  3108. }
  3109. .margin-bottom-900 {
  3110. margin-bottom: 900px;
  3111. }
  3112. .print-yema {
  3113. position: absolute;
  3114. left: 50%;
  3115. }
  3116. .print-yema2 {
  3117. position: absolute;
  3118. left: 50%;
  3119. }
  3120. .print-yema3 {
  3121. position: absolute;
  3122. left: 50%;
  3123. }
  3124. .print-yema4 {
  3125. position: absolute;
  3126. left: 50%;
  3127. }
  3128. .check_box_panel .did_checke::after {
  3129. font-size: 8px;
  3130. margin-left: 2px;
  3131. margin-top: 2px;
  3132. position: absolute;
  3133. }
  3134. </style>