Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

PatientDetail.vue 69KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036
  1. <template>
  2. <div class="app-container ">
  3. <el-dialog
  4. title="查看传染病检查结果"
  5. :visible.sync="dialogFormVisible"
  6. width="1000px"
  7. id="user-inspection-form"
  8. >
  9. <el-form :model="form" ref="form" label-position="top">
  10. <el-row>
  11. <el-col :span="1">&nbsp;</el-col>
  12. <template v-for="(item, index) in form.formItem">
  13. <el-col :span="7" :key="index">
  14. <el-form-item
  15. :label="item.item_name"
  16. v-if="item.range_type == 1"
  17. :key="item.item_id"
  18. :prop="'formItem.' + index + '.value'"
  19. >
  20. <el-input
  21. placeholder="请填入"
  22. v-model="item.value"
  23. style="width:95%"
  24. type="number"
  25. disabled
  26. >
  27. <template slot="append">{{ item.unit }}</template>
  28. </el-input>
  29. </el-form-item>
  30. <el-form-item
  31. :label="item.item_name"
  32. v-else
  33. :key="item.item_id"
  34. :prop="'formItem.' + index + '.value'"
  35. >
  36. <el-select
  37. v-model="item.value"
  38. placeholder="请选择"
  39. style="width:95%"
  40. disabled
  41. >
  42. <el-option
  43. v-for="(optionItem, oidex) in item.select_options"
  44. :key="oidex"
  45. :label="optionItem"
  46. :value="optionItem"
  47. >
  48. </el-option>
  49. </el-select>
  50. </el-form-item>
  51. </el-col>
  52. <el-col :span="1" :key="'form-col' + index">&nbsp;</el-col>
  53. </template>
  54. </el-row>
  55. </el-form>
  56. <div slot="footer" class="dialog-footer">
  57. <el-button @click="dialogFormVisible = false">关闭</el-button>
  58. </div>
  59. </el-dialog>
  60. <el-form
  61. ref="form"
  62. :rules="rules"
  63. :model="form"
  64. label-width="134px"
  65. class="clearfix"
  66. id="patient-info"
  67. >
  68. <div style="float:right;z-index:8;position: absolute;right: 16px;">
  69. <el-button
  70. size="small"
  71. type="primary"
  72. @click="printCard()"
  73. style="margin:0 6px 6px 0;z-index:1;"
  74. >打印签到卡</el-button
  75. >
  76. <el-button
  77. size="small"
  78. :disabled="$store.getters.xt_user.subscibe.state == 3 ? true : false"
  79. type="primary"
  80. @click="$router.push('/patients/patient/' + patientID + '/edit')"
  81. style="margin:0 0 6px 0;z-index:1;"
  82. >修改</el-button
  83. >
  84. <el-button
  85. size="small"
  86. type="primary"
  87. @click="printThisInfo()"
  88. style="margin:0 6px 6px 0;z-index:1;"
  89. >打印</el-button
  90. >
  91. </div>
  92. <div class="dataTitle">一般资料</div>
  93. <el-row>
  94. <el-col :span="20">
  95. <el-row :gutter="10">
  96. <el-col :span="8">
  97. <el-form-item label="姓名 : " class="is-required" prop="name">
  98. <el-input v-model="form.name" disabled></el-input>
  99. </el-form-item>
  100. </el-col>
  101. <el-col :span="8" style="height:59px;">
  102. <el-form-item label="性别 : " class="is-required" prop="gender">
  103. <el-radio-group v-model="form.gender">
  104. <el-radio
  105. v-for="item in sexOptions"
  106. :key="item.value"
  107. :label="item.value"
  108. :value="item.value"
  109. disabled
  110. >{{ item.label }}</el-radio
  111. >
  112. </el-radio-group>
  113. </el-form-item>
  114. </el-col>
  115. <el-col :span="8">
  116. <el-form-item
  117. label="身份证号 : "
  118. class="is-required"
  119. prop="idCardNo"
  120. >
  121. <el-input v-model="form.idCardNo" disabled></el-input>
  122. </el-form-item>
  123. </el-col>
  124. <el-col :span="8" style="height:59px;">
  125. <el-form-item label="年龄 : " class="is-required" prop="age">
  126. <el-input v-model="form.age" disabled></el-input>
  127. </el-form-item>
  128. </el-col>
  129. <el-col :span="8">
  130. <el-form-item label="透析号 : " class="is-required">
  131. <el-input
  132. disabled
  133. v-model="form.dialysisNo"
  134. placeholder="填写或自动生成"
  135. style="width:110px;float:left;margin-right: 1%;"
  136. ></el-input>
  137. <el-button disabled type="primary">自动生成</el-button>
  138. </el-form-item>
  139. </el-col>
  140. <el-col :span="8">
  141. <el-form-item
  142. label="出生日期 : "
  143. class="is-required"
  144. prop="birth"
  145. >
  146. <el-date-picker
  147. v-model="form.birth"
  148. type="date"
  149. disabled
  150. placeholder="选择日期"
  151. :suffix-icon="'el-icon-menu'"
  152. format="yyyy-MM-dd"
  153. value-format="yyyy-MM-dd"
  154. ></el-date-picker>
  155. </el-form-item>
  156. </el-col>
  157. <el-col :span="8">
  158. <el-form-item
  159. label="首次肾脏治疗时间 : "
  160. label-width="150px"
  161. class="is-required"
  162. prop="birth"
  163. >
  164. <el-date-picker
  165. v-model="form.firstDialysisDate"
  166. type="date"
  167. disabled
  168. placeholder="选择日期"
  169. :suffix-icon="'el-icon-menu'"
  170. format="yyyy-MM-dd"
  171. value-format="yyyy-MM-dd"
  172. ></el-date-picker>
  173. </el-form-item>
  174. </el-col>
  175. <el-col :span="8">
  176. <el-form-item label="本人电话: " class="is-required" prop="phone">
  177. <el-input
  178. v-model="form.phone"
  179. maxlength="20"
  180. disabled
  181. ></el-input>
  182. </el-form-item>
  183. </el-col>
  184. <el-col :span="8">
  185. <el-form-item label="家属姓名: ">
  186. <el-input
  187. v-model="form.contact_name"
  188. maxlength="20"
  189. disabled
  190. ></el-input>
  191. </el-form-item>
  192. </el-col>
  193. <el-col :span="8">
  194. <el-form-item label="家属电话: " prop="homeTelephone">
  195. <el-input
  196. v-model="form.homeTelephone"
  197. maxlength="20"
  198. disabled
  199. ></el-input>
  200. </el-form-item>
  201. </el-col>
  202. <el-col :span="8" style="height:59px;">
  203. <el-form-item
  204. label="患者来源 : "
  205. class="is-required"
  206. prop="source"
  207. >
  208. <el-radio-group v-model="form.source">
  209. <el-radio
  210. v-for="item in sourceOptions"
  211. :key="item.value"
  212. :label="item.value"
  213. :value="item.value"
  214. disabled
  215. >{{ item.label }}</el-radio
  216. >
  217. </el-radio-group>
  218. </el-form-item>
  219. </el-col>
  220. <el-col :span="8" style="height:59px;">
  221. <el-form-item
  222. label="治疗状态(转归) : "
  223. class="is-required"
  224. prop="lapseto"
  225. >
  226. <el-radio-group v-model="form.lapseto">
  227. <el-radio
  228. v-for="item in lapsetoOptions"
  229. :key="item.value"
  230. :label="item.value"
  231. :value="item.value"
  232. disabled
  233. >{{ item.label }}</el-radio
  234. >
  235. </el-radio-group>
  236. </el-form-item>
  237. </el-col>
  238. <el-col :span="24">
  239. <el-form-item label="传染病 : " required prop="is_infectious">
  240. <el-radio-group v-model="form.is_infectious" disabled >
  241. <el-radio :label="1">阴性</el-radio>
  242. <el-radio :label="2">阳性</el-radio>
  243. </el-radio-group>
  244. <el-checkbox-group
  245. v-model="form.contagions"
  246. v-if="form.is_infectious == '2'"
  247. disabled
  248. >
  249. <el-checkbox
  250. v-for="item in contagionList"
  251. v-if="item.type == 2"
  252. :label="item.id"
  253. :key="item.id"
  254. name="contagions"
  255. :value="item.id"
  256. >{{ item.name }}
  257. </el-checkbox>
  258. </el-checkbox-group>
  259. </el-form-item>
  260. </el-col>
  261. <!--<el-col :span="16" >-->
  262. <!--<el-form-item label="检查结果日期 : " >-->
  263. <!--<el-date-picker v-model="form.record_date" type="date" placeholder="选择日期" :suffix-icon="'el-icon-menu'"-->
  264. <!--format="yyyy-MM-dd"-->
  265. <!--style="width: 200px;"-->
  266. <!--value-format="yyyy-MM-dd"></el-date-picker>-->
  267. <!--&lt;!&ndash;<el-button type="primary" @click="recordCheck()">录入检验检查</el-button>&ndash;&gt;-->
  268. <!--</el-form-item>-->
  269. <!--</el-col>-->
  270. <el-col :span="16">
  271. <el-form-item label="检查结果日期 : ">
  272. <!--<el-date-picker v-model="form.record_date" type="date" placeholder="选择日期" :suffix-icon="'el-icon-menu'"-->
  273. <!--format="yyyy-MM-dd"-->
  274. <!--style="width: 200px;"-->
  275. <!--disabled-->
  276. <!--value-format="yyyy-MM-dd" v-if="isEdit"></el-date-picker>-->
  277. <el-date-picker
  278. v-model="form.record_date"
  279. type="date"
  280. placeholder="选择日期"
  281. :suffix-icon="'el-icon-menu'"
  282. format="yyyy-MM-dd"
  283. disabled
  284. style="width: 200px;"
  285. value-format="yyyy-MM-dd"
  286. ></el-date-picker>
  287. <el-button type="primary" @click="showInspectDialog()"
  288. >查看检验检查</el-button
  289. >
  290. </el-form-item>
  291. </el-col>
  292. <el-col :span="24">
  293. <el-form-item label="传染病周期提醒: ">
  294. <el-radio-group
  295. v-model="form.remind_cycle"
  296. @change="changeCycle()"
  297. disabled
  298. >
  299. <el-radio :label="1">一月一次</el-radio>
  300. <el-radio :label="2">两月一次</el-radio>
  301. <el-radio :label="3">三月一次</el-radio>
  302. <el-radio :label="4">半年一次</el-radio>
  303. <el-radio :label="5">一年一次</el-radio>
  304. </el-radio-group>
  305. </el-form-item>
  306. </el-col>
  307. <el-col :span="24">
  308. <el-form-item label="诊断 : " prop="diagnose">
  309. <!-- <textarea v-model="form.diagnose" class="textarea" disabled></textarea> -->
  310. <el-input
  311. type="textarea"
  312. :rows="3"
  313. v-model="form.diagnose"
  314. resize="none"
  315. placeholder=""
  316. readonly
  317. ></el-input>
  318. </el-form-item>
  319. </el-col>
  320. <el-col :span="8">
  321. <el-form-item label="民族 : " prop="nation">
  322. <el-input
  323. v-model="form.nation"
  324. maxlength="30"
  325. disabled
  326. ></el-input>
  327. </el-form-item>
  328. </el-col>
  329. <el-col :span="8">
  330. <el-form-item label="籍贯 : " prop="native_place">
  331. <el-input
  332. v-model="form.native_place"
  333. maxlength="30"
  334. disabled
  335. ></el-input>
  336. </el-form-item>
  337. </el-col>
  338. <el-col :span="8">
  339. <el-form-item label="家庭住址 : " prop="homeAddress">
  340. <el-input v-model="form.homeAddress" disabled></el-input>
  341. </el-form-item>
  342. </el-col>
  343. <div v-show="!generic_info_fold">
  344. <el-col :span="8">
  345. <el-form-item label="别名 : " prop="alias">
  346. <el-input v-model="form.alias" disabled></el-input>
  347. </el-form-item>
  348. </el-col>
  349. <el-col :span="8">
  350. <el-form-item label="身高(cm) : " prop="height">
  351. <el-input
  352. maxlength="5"
  353. v-model="form.height"
  354. disabled
  355. ></el-input>
  356. </el-form-item>
  357. </el-col>
  358. <el-col :span="8">
  359. <el-form-item label="婚姻状况 : " prop="maritalStatus">
  360. <el-select
  361. v-model="form.maritalStatus"
  362. placeholder="请选择婚姻状况"
  363. disabled
  364. >
  365. <el-option
  366. v-for="item in maritalOptions"
  367. :key="item.id"
  368. :label="item.name"
  369. :value="item.id"
  370. />
  371. </el-select>
  372. </el-form-item>
  373. </el-col>
  374. <el-col :span="8">
  375. <el-form-item label="子女情况(个) : " prop="children">
  376. <el-input
  377. maxlength="5"
  378. v-model="form.children"
  379. disabled
  380. ></el-input>
  381. </el-form-item>
  382. <!-- <el-form-item label=" " style="float:left;" label-width="30px" >
  383. </el-form-item> -->
  384. </el-col>
  385. <el-col :span="8">
  386. <el-form-item label="住院(门诊)号 : " prop="admissionNumber">
  387. <el-input v-model="form.admissionNumber" disabled></el-input>
  388. </el-form-item>
  389. </el-col>
  390. <el-col :span="8">
  391. <el-form-item label="医保类型 : " prop="reimbursementWayID">
  392. <el-select v-model="form.reimbursementWayID" disabled>
  393. <el-option
  394. v-for="item in wayOptions"
  395. :key="item.id"
  396. :label="item.name"
  397. :value="item.id"
  398. />
  399. </el-select>
  400. </el-form-item>
  401. </el-col>
  402. <el-col :span="8">
  403. <el-form-item label="医保号 : " prop="healthCareNo">
  404. <el-input v-model="form.healthCareNo" disabled></el-input>
  405. </el-form-item>
  406. </el-col>
  407. <el-col :span="8">
  408. <el-form-item label="教育程度 : " prop="educationOptions">
  409. <el-select v-model="form.education" disabled>
  410. <el-option
  411. v-for="item in educationOptions"
  412. :key="item.id"
  413. :label="item.name"
  414. :value="item.id"
  415. />
  416. </el-select>
  417. </el-form-item>
  418. </el-col>
  419. <el-col :span="8">
  420. <el-form-item label="固定电话 : ">
  421. <el-input
  422. v-model="form.tell_phone"
  423. maxlength="20"
  424. disabled
  425. ></el-input>
  426. </el-form-item>
  427. </el-col>
  428. <el-col :span="8">
  429. <el-form-item label="费别 : ">
  430. <el-select v-model="form.expense_kind" disabled>
  431. <el-option
  432. v-for="item in expenseOptions"
  433. :key="item.id"
  434. :label="item.name"
  435. :value="item.id"
  436. />
  437. </el-select>
  438. </el-form-item>
  439. </el-col>
  440. <el-col :span="8">
  441. <el-form-item label="透析龄(月): ">
  442. <el-input v-model="form.dialysis_age" disabled></el-input>
  443. </el-form-item>
  444. </el-col>
  445. <el-col :span="8">
  446. <el-form-item label="亲友电话: " prop="relative_phone">
  447. <el-input
  448. v-model="form.relative_phone"
  449. maxlength="20"
  450. disabled
  451. ></el-input>
  452. </el-form-item>
  453. </el-col>
  454. <el-col :span="8">
  455. <el-form-item label="亲友关系: " prop="relative_relations">
  456. <el-input
  457. v-model="form.relative_relations"
  458. maxlength="20"
  459. disabled
  460. ></el-input>
  461. </el-form-item>
  462. </el-col>
  463. <el-col :span="8">
  464. <el-form-item label="职业 : " prop="profession">
  465. <el-select v-model="form.profession" disabled>
  466. <el-option
  467. v-for="item in professionOptions"
  468. :key="item.id"
  469. :label="item.name"
  470. :value="item.id"
  471. />
  472. </el-select>
  473. </el-form-item>
  474. </el-col>
  475. <el-col :span="8">
  476. <el-form-item label="工作单位 : " prop="work">
  477. <el-input v-model="form.work" disabled></el-input>
  478. </el-form-item>
  479. </el-col>
  480. <el-col :span="8">
  481. <el-form-item label="单位地址 : " prop="unit_address">
  482. <el-input v-model="form.unit_address" disabled></el-input>
  483. </el-form-item>
  484. </el-col>
  485. </div>
  486. <el-col :span="8">
  487. <el-form-item>
  488. <el-button
  489. type="text"
  490. @click="generic_info_fold = !generic_info_fold"
  491. >{{ generic_info_fold ? "更多资料" : "收起"
  492. }}<i class="el-icon--right" :class="generic_fold_icon"></i
  493. ></el-button>
  494. </el-form-item>
  495. </el-col>
  496. </el-row>
  497. </el-col>
  498. <el-col :span="4" align="center">
  499. <img
  500. width="146px"
  501. height="146px"
  502. v-if="form.avatar"
  503. :src="form.avatar"
  504. class="avatar"
  505. />
  506. <el-form-item prop="avatar">
  507. <el-input
  508. v-model="form.avatar"
  509. type="hidden"
  510. placeholder=""
  511. ></el-input>
  512. </el-form-item>
  513. </el-col>
  514. </el-row>
  515. <div class="dataTitle">治疗信息</div>
  516. <el-row :gutter="24">
  517. <el-col :span="12">
  518. <el-form-item label="主诉 : " prop="patient_complains">
  519. <el-input
  520. type="textarea"
  521. :rows="3"
  522. v-model="form.patient_complains"
  523. resize="none"
  524. placeholder=""
  525. readonly
  526. ></el-input>
  527. </el-form-item>
  528. </el-col>
  529. <el-col :span="12">
  530. <el-form-item label="现病史 : " prop="present_history">
  531. <el-input
  532. type="textarea"
  533. :rows="3"
  534. v-model="form.present_history"
  535. resize="none"
  536. placeholder=""
  537. readonly
  538. ></el-input>
  539. </el-form-item>
  540. </el-col>
  541. <el-col :span="12">
  542. <el-form-item label="既往史 : " prop="past_history">
  543. <el-input
  544. type="textarea"
  545. :rows="3"
  546. v-model="form.past_history"
  547. resize="none"
  548. placeholder=""
  549. readonly
  550. ></el-input>
  551. </el-form-item>
  552. </el-col>
  553. <el-col>
  554. <el-form-item label="体格检查">
  555. <el-input v-model="form.temperature" style="width: 200px;" disabled>
  556. <template slot="prepend"
  557. >体温:</template
  558. >
  559. <template slot="append"
  560. >℃</template
  561. >
  562. </el-input>
  563. <el-input v-model="form.pulse" style="width: 220px;" disabled>
  564. <template slot="prepend"
  565. >脉搏:
  566. </template>
  567. <template slot="append"
  568. >次/分</template
  569. >
  570. </el-input>
  571. <el-input v-model="form.respiratory" style="width: 220px;" disabled>
  572. <template slot="prepend"
  573. >呼吸:
  574. </template>
  575. <template slot="append"
  576. >次/分</template
  577. >
  578. </el-input>
  579. </el-form-item>
  580. </el-col>
  581. <el-col>
  582. <el-form-item>
  583. <el-input v-model="form.sbp" style="width: 240px;" disabled>
  584. <template slot="prepend"
  585. >收缩压:</template
  586. >
  587. <template slot="append"
  588. >mmHg</template
  589. >
  590. </el-input>
  591. <el-input v-model="form.dbp" style="width: 240px;" disabled>
  592. <template slot="prepend"
  593. >舒张压:</template
  594. >
  595. <template slot="append"
  596. >mmHg</template
  597. >
  598. </el-input>
  599. </el-form-item>
  600. </el-col>
  601. <el-col :span="24">
  602. <el-form-item label="" prop="remark">
  603. <!-- <textarea v-model="form.remark" class="textarea" disabled></textarea> -->
  604. <el-input
  605. type="textarea"
  606. :rows="3"
  607. v-model="form.remark"
  608. resize="none"
  609. placeholder=""
  610. readonly
  611. ></el-input>
  612. </el-form-item>
  613. </el-col>
  614. <el-col :span="8">
  615. <el-form-item label="" prop="sch_remark">
  616. <!-- <textarea v-model="form.remark" class="textarea" disabled></textarea> -->
  617. <el-input
  618. type="textarea"
  619. :rows="3"
  620. v-model="form.sch_remark"
  621. resize="none"
  622. placeholder=""
  623. readonly
  624. ></el-input>
  625. </el-form-item>
  626. </el-col>
  627. <el-col :span="24">
  628. <el-form-item label="慢性病 : " prop="diseases">
  629. <el-checkbox-group v-model="form.diseases">
  630. <el-checkbox
  631. v-for="item in checkDisease"
  632. :label="item.id"
  633. :key="item.id"
  634. :value="item.id"
  635. disabled
  636. >{{ item.name }}</el-checkbox
  637. >
  638. </el-checkbox-group>
  639. </el-form-item>
  640. </el-col>
  641. </el-row>
  642. <div v-show="!treat_info_fold">
  643. <el-col :span="6">
  644. <el-form-item
  645. label="本院首次透析 : "
  646. prop="is_hospital_first_dialysis"
  647. >
  648. <el-radio-group v-model="form.is_hospital_first_dialysis">
  649. <el-radio
  650. v-for="item in isHospitalFirstDialysisOptions"
  651. :key="item.value"
  652. :label="item.value"
  653. :value="item.value"
  654. disabled
  655. >{{ item.label }}</el-radio
  656. >
  657. </el-radio-group>
  658. </el-form-item>
  659. </el-col>
  660. <el-col :span="6">
  661. <el-form-item
  662. label="系统前透析次数 : "
  663. prop="first_dialysis_hospital"
  664. >
  665. <el-input v-model="form.user_sys_before_count" disabled></el-input>
  666. </el-form-item>
  667. </el-col>
  668. <el-col :span="6">
  669. <el-form-item label="首次诊治日期 : ">
  670. <el-date-picker
  671. v-model="form.first_treatment_date"
  672. type="date"
  673. disabled
  674. format="yyyy-MM-dd"
  675. value-format="yyyy-MM-dd"
  676. ></el-date-picker>
  677. </el-form-item>
  678. </el-col>
  679. <el-col :span="6">
  680. <el-form-item label="首次透析医院 : " prop="first_dialysis_hospital">
  681. <el-input
  682. v-model="form.first_dialysis_hospital"
  683. disabled
  684. ></el-input>
  685. </el-form-item>
  686. </el-col>
  687. <el-col :span="24">
  688. <el-form-item label="透析之前情况 : " prop="predialysis_condition">
  689. <el-checkbox-group v-model="form.predialysis_condition">
  690. <el-checkbox
  691. v-for="item in predialysisConditionOptions"
  692. :label="item.label"
  693. :key="item.value"
  694. :value="item.label"
  695. disabled
  696. >{{ item.label }}</el-checkbox
  697. >
  698. </el-checkbox-group>
  699. </el-form-item> </el-col
  700. ><el-col :span="6">
  701. <el-form-item
  702. label="本院前透析频率 : "
  703. prop="pre_hospital_dialysis_frequency"
  704. >
  705. <el-input
  706. v-model="form.pre_hospital_dialysis_frequency"
  707. disabled
  708. ></el-input>
  709. </el-form-item>
  710. </el-col>
  711. <el-col :span="6">
  712. <el-form-item
  713. label="本院前透析次数 : "
  714. prop="pre_hospital_dialysis_times"
  715. >
  716. <el-input
  717. v-model="form.pre_hospital_dialysis_times"
  718. disabled
  719. ></el-input>
  720. </el-form-item>
  721. </el-col>
  722. <el-col :span="6">
  723. <el-form-item
  724. label="本院首次透析 : "
  725. prop="hospital_first_dialysis_date"
  726. >
  727. <el-date-picker
  728. v-model="form.hospital_first_dialysis_date"
  729. type="date"
  730. format="yyyy-MM-dd"
  731. value-format="yyyy-MM-dd"
  732. disabled
  733. ></el-date-picker>
  734. </el-form-item>
  735. </el-col>
  736. </div>
  737. <el-col :span="24">
  738. <el-form-item>
  739. <el-button type="text" @click="treat_info_fold = !treat_info_fold"
  740. >{{ treat_info_fold ? "更多治疗信息" : "收起"
  741. }}<i class="el-icon--right" :class="treat_fold_icon"></i
  742. ></el-button>
  743. </el-form-item>
  744. </el-col>
  745. <el-col :span="24">
  746. <el-form-item label="登记人员 : ">
  747. <span>{{ form.registrars }} </span>
  748. </el-form-item>
  749. </el-col>
  750. </el-form>
  751. <div style="display:none;">
  752. <div id="print-info-box">
  753. <div class="print_main_content">
  754. <div class="order_title">{{ orgname }} 血液透析门诊病历</div>
  755. <div>
  756. <table>
  757. <thead>
  758. <!-- 用 thead 规定好宽度 -->
  759. <tr v-show="false">
  760. <td width="5%"></td>
  761. <td width="10%"></td>
  762. <td width="5%"></td>
  763. <td width="10%"></td>
  764. <td width="5%"></td>
  765. <td width="10%"></td>
  766. <td width="5%"></td>
  767. <td width="30%"></td>
  768. </tr>
  769. </thead>
  770. <tbody>
  771. <tr>
  772. <td valign="top"><div class="td_proj_title">姓名</div></td>
  773. <td valign="top">
  774. <div class="td_proj_content">{{ patientPrint.name }}</div>
  775. </td>
  776. <td valign="top"><div class="td_proj_title">性别</div></td>
  777. <td valign="top">
  778. <div class="td_proj_content">{{ patientPrint.gender }}</div>
  779. </td>
  780. <td valign="top"><div class="td_proj_title">年龄</div></td>
  781. <td valign="top">
  782. <div class="td_proj_content">{{ patientPrint.age }}岁</div>
  783. </td>
  784. <td valign="top"><div class="td_proj_title">籍贯</div></td>
  785. <td valign="top">
  786. <div class="td_proj_content td_align_left">
  787. {{ patientPrint.native_place }}
  788. </div>
  789. </td>
  790. </tr>
  791. <tr>
  792. <td valign="top"><div class="td_proj_title">职业</div></td>
  793. <td valign="top">
  794. <div class="td_proj_content">
  795. {{ patientPrint.profession }}
  796. </div>
  797. </td>
  798. <td valign="top"><div class="td_proj_title">婚姻</div></td>
  799. <td valign="top">
  800. <div class="td_proj_content">
  801. {{ patientPrint.marital_status }}
  802. </div>
  803. </td>
  804. <td valign="top"><div class="td_proj_title">透析号</div></td>
  805. <td valign="top">
  806. <div class="td_proj_content">
  807. {{ patientPrint.dialysis_no }}
  808. </div>
  809. </td>
  810. <td valign="top">
  811. <div class="td_proj_title">身份证号</div>
  812. </td>
  813. <td valign="top">
  814. <div class="td_proj_content td_align_left">
  815. {{ patientPrint.id_card_no }}
  816. </div>
  817. </td>
  818. </tr>
  819. <tr>
  820. <td valign="top"><div class="td_proj_title">民族</div></td>
  821. <td valign="top">
  822. <div class="td_proj_content">{{ patientPrint.nation }}</div>
  823. </td>
  824. <td valign="top"><div class="td_proj_title">电话</div></td>
  825. <td valign="top" colspan="3">
  826. <div class="td_proj_content td_align_left">
  827. {{ patientPrint.phone }}
  828. </div>
  829. </td>
  830. <td valign="top">
  831. <div class="td_proj_title">备用电话</div>
  832. </td>
  833. <td valign="top">
  834. <div class="td_proj_content td_align_left">
  835. {{ patientPrint.home_telephone }}
  836. </div>
  837. </td>
  838. </tr>
  839. <tr>
  840. <td><div class="td_proj_title">地址</div></td>
  841. <td colspan="7">
  842. <div class="td_proj_content td_align_left">
  843. {{ patientPrint.home_address }}
  844. </div>
  845. </td>
  846. </tr>
  847. <tr>
  848. <td><div class="td_proj_title">主诉</div></td>
  849. <td colspan="7">
  850. <div
  851. class="td_proj_content td_align_left"
  852. v-html="patientPrint.patient_complains"
  853. ></div>
  854. </td>
  855. </tr>
  856. <tr>
  857. <td>
  858. <div class="td_proj_title">现<br />病<br />史</div>
  859. </td>
  860. <td colspan="7">
  861. <div
  862. class="td_proj_content td_align_left"
  863. v-html="patientPrint.present_history"
  864. ></div>
  865. </td>
  866. </tr>
  867. <tr>
  868. <td>
  869. <div class="td_proj_title">既<br />往<br />史</div>
  870. </td>
  871. <td colspan="7">
  872. <div
  873. class="td_proj_content td_align_left"
  874. v-html="patientPrint.past_history"
  875. ></div>
  876. </td>
  877. </tr>
  878. <tr>
  879. <td colspan="8"><div class="td_proj_title">体格检查</div></td>
  880. </tr>
  881. <tr>
  882. <td colspan="8">
  883. <div class="td_proj_title">
  884. T
  885. {{
  886. patientPrint.temperature
  887. }}℃&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; P
  888. {{
  889. patientPrint.pulse
  890. }}次/分&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; R
  891. {{
  892. patientPrint.respiratory
  893. }}次/分&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BP
  894. {{ patientPrint.sbp }}/{{ patientPrint.dbp }} mmHg
  895. </div>
  896. </td>
  897. </tr>
  898. <tr>
  899. <td colspan="8">
  900. <div
  901. class="td_proj_content td_align_left"
  902. v-html="patientPrint.remark"
  903. ></div>
  904. </td>
  905. </tr>
  906. <tr>
  907. <td>
  908. <div class="td_proj_title">传<br />染<br />病</div>
  909. </td>
  910. <td colspan="7">
  911. <div class="td_proj_content td_align_left">
  912. {{ patientPrint.contagions }}
  913. </div>
  914. </td>
  915. </tr>
  916. <tr>
  917. <td>
  918. <div class="td_proj_title">诊<br />断</div>
  919. </td>
  920. <td colspan="7">
  921. <div
  922. class="td_proj_content td_align_left"
  923. v-html="patientPrint.diagnose"
  924. ></div>
  925. </td>
  926. </tr>
  927. </tbody>
  928. </table>
  929. <div class="print_footnote_panel">
  930. <div class="proj">
  931. <span class="proj_title">日期:</span>
  932. <!-- {{ getTime(patientPrint.created_time) }} -->
  933. </div>
  934. <div class="proj"><span class="proj_title">医生签名:</span></div>
  935. </div>
  936. </div>
  937. </div>
  938. </div>
  939. </div>
  940. <div hidden="hidden">
  941. <div id="print-card-info">
  942. <div
  943. class="order_title"
  944. align="center"
  945. style="margin-bottom:20px;font-size:35px"
  946. >
  947. 签到卡
  948. </div>
  949. <div align="center" style="margin-bottom:4px;font-size:25px">
  950. 姓名:<span>&nbsp;&nbsp;{{ patientPrint.name }}</span
  951. ><br />
  952. </div>
  953. <div align="center" style="margin-bottom:20px;font-size:25px">
  954. 透析号:<span>&nbsp;&nbsp;{{ patientPrint.dialysis_no }}</span>
  955. </div>
  956. <div>
  957. <div id="qrcode" align="center"></div>
  958. </div>
  959. </div>
  960. </div>
  961. </div>
  962. </template>
  963. <script>
  964. import { getDataConfig } from "@/utils/data";
  965. import { getToken } from "@/api/qiniu";
  966. import {
  967. getFileExtension,
  968. isCardNo,
  969. jsGetAge,
  970. isPositiveInteger,
  971. dialysisAge,
  972. uParseTime
  973. } from "@/utils/tools";
  974. import {
  975. generateDialysisNo,
  976. createPatient,
  977. editPatient,
  978. fetchPatient
  979. } from "@/api/patient";
  980. import { fetchAllDoctorAndNurse, fetchAllAdminUsers } from "@/api/doctor";
  981. import { getZones } from "@/api/device/device";
  982. import print from "print-js";
  983. import QRCode from "qrcodejs2";
  984. import { Base64 } from "js-base64";
  985. import { parse } from "path";
  986. const defaultForm = {
  987. avatar: "",
  988. patientType: "",
  989. dialysisNo: "",
  990. admissionNumber: "",
  991. source: "",
  992. lapseto: "",
  993. partition: "",
  994. bed: "",
  995. name: "",
  996. gender: "",
  997. nation: "",
  998. native_place: "",
  999. maritalStatus: "",
  1000. idCardNo: "",
  1001. birth: "",
  1002. age: "",
  1003. reimbursementWayID: "",
  1004. healthCareNo: "",
  1005. healthCareDueDate: "",
  1006. height: "",
  1007. blood: "",
  1008. rh: "",
  1009. healthCareDueAlertDate: "",
  1010. education: "",
  1011. profession: "",
  1012. phone: "",
  1013. homeTelephone: "",
  1014. homeAddress: "",
  1015. work: "",
  1016. receivingDate: "",
  1017. firstDialysisDate: "",
  1018. dialysisAge: "",
  1019. induction: "",
  1020. initial: "",
  1021. dialysisTotal: "",
  1022. contagions: [],
  1023. doctor: "",
  1024. nurse: "",
  1025. assessment: "",
  1026. diseases: [],
  1027. diagnose: "",
  1028. registrars: "",
  1029. patient_complains: "",
  1030. present_history: "",
  1031. past_history: "",
  1032. temperature: "",
  1033. pulse: "",
  1034. respiratory: "",
  1035. sbp: "",
  1036. dbp: "",
  1037. record_date: "",
  1038. response_result: "",
  1039. is_infectious: "",
  1040. formItem: [],
  1041. tell_phone: "",
  1042. first_treatment_date: "",
  1043. dialysis_age: "",
  1044. expense_kind: "",
  1045. contact_name: "",
  1046. sch_remark:"",
  1047. };
  1048. export default {
  1049. name: "patientDetail",
  1050. components: {},
  1051. data() {
  1052. return {
  1053. expenseOptions: [
  1054. { id: 1, name: "基本医保" },
  1055. { id: 2, name: "新农合" },
  1056. { id: 3, name: "自费医疗" },
  1057. { id: 4, name: "公费医疗" },
  1058. { id: 5, name: "商业保险" },
  1059. { id: 6, name: "军队医疗" },
  1060. { id: 7, name: "其他" }
  1061. ],
  1062. generic_info_fold: true,
  1063. treat_info_fold: true,
  1064. dialogFormVisible: false,
  1065. orgname: "",
  1066. adminusername: "",
  1067. form: Object.assign({}, defaultForm),
  1068. formSubmit: true,
  1069. submitMethod: "",
  1070. uploadData: { token: "", key: "" },
  1071. dialogImageUrl: "",
  1072. qiniuDomain: "https://images.shengws.com/",
  1073. dialogVisible: false,
  1074. typeOptions: null,
  1075. styleOptions: null,
  1076. sourceOptions: [{ value: 1, label: "门诊" }, { value: 2, label: "住院" }],
  1077. lapsetoOptions: [
  1078. { value: 1, label: "留治" },
  1079. { value: 2, label: "转出" }
  1080. ],
  1081. partitionOptions: [],
  1082. sexOptions: [{ value: 1, label: "男" }, { value: 2, label: "女" }],
  1083. isHospitalFirstDialysisOptions: [
  1084. { value: 1, label: "是" },
  1085. { value: 2, label: "否" }
  1086. ],
  1087. predialysisConditionOptions: [
  1088. { value: 1, label: "腹膜透析" },
  1089. { value: 2, label: "肾移植" }
  1090. ],
  1091. maritalOptions: null,
  1092. wayOptions: null,
  1093. educationOptions: null,
  1094. professionOptions: null,
  1095. inductionOptions: null,
  1096. doctorOptions: null,
  1097. nurseOptions: null,
  1098. adminUserOptions: [],
  1099. infections: [],
  1100. rhOptions: null,
  1101. checkDisease: null,
  1102. contagionList: null,
  1103. loading: null,
  1104. patientID: 0,
  1105. patientPrint: {},
  1106. print_time: "",
  1107. rules: {
  1108. contagions: [{ type: "array", required: false, trigger: "change" }],
  1109. avatar: [{ required: true, message: "请上传头像", trigger: "blur" }],
  1110. patientType: [
  1111. { required: true, message: "请选择患者类型", trigger: "blur" }
  1112. ],
  1113. dialysisNo: [
  1114. { required: true, message: "请填写透析号", trigger: "blur" }
  1115. ],
  1116. admissionNumber: [
  1117. { required: true, message: "请填写住院(门诊)号", trigger: "blur" }
  1118. ],
  1119. source: [
  1120. { required: true, message: "请选择患者来源", trigger: "blur" }
  1121. ],
  1122. lapseto: [
  1123. { required: true, message: "请选择治疗状态", trigger: "blur" }
  1124. ],
  1125. name: [{ required: true, message: "请填写姓名", trigger: "blur" }],
  1126. gender: [{ required: true, message: "请选择性别", trigger: "blur" }],
  1127. idCardNo: [
  1128. { required: true, message: "请填写身份证号", trigger: "blur" }
  1129. ],
  1130. birth: [{ required: true, message: "请填写生日", trigger: "blur" }]
  1131. }
  1132. };
  1133. },
  1134. computed: {
  1135. generic_fold_icon: function() {
  1136. return this.generic_info_fold ? "el-icon-arrow-down" : "el-icon-arrow-up";
  1137. },
  1138. treat_fold_icon: function() {
  1139. return this.treat_info_fold ? "el-icon-arrow-down" : "el-icon-arrow-up";
  1140. }
  1141. },
  1142. created() {
  1143. this.styleOptions = this.$store.getters.patient_types;
  1144. // this.partitionOptions = this.$store.getters.partitions;
  1145. this.maritalOptions = getDataConfig("patient", "marital_options");
  1146. this.wayOptions = getDataConfig("patient", "reimbursement_ways");
  1147. this.typeOptions = this.$store.getters.blood_types;
  1148. this.rhOptions = this.$store.getters.rh;
  1149. this.educationOptions = getDataConfig("patient", "education_types");
  1150. this.professionOptions = getDataConfig("patient", "profession_options");
  1151. this.inductionOptions = this.$store.getters.induction_options;
  1152. this.contagionList = this.$store.getters.contagions;
  1153. this.checkDisease = this.$store.getters.disease;
  1154. var xtuser = this.$store.getters.xt_user;
  1155. this.orgname = xtuser.org.org_name;
  1156. this.adminusername = xtuser.user.user_name;
  1157. this.fetchAllAdminUsers();
  1158. const id = this.$route.params && this.$route.params.id;
  1159. this.patientID = parseInt(id);
  1160. if (isNaN(this.patientID) || this.patientID <= 0) {
  1161. console.log("patient detail not had id");
  1162. this.$notify.error({
  1163. title: "错误",
  1164. message: "无效的id"
  1165. });
  1166. this.$router.push("/patients/patients");
  1167. }
  1168. this.fetchPatient(id);
  1169. this.getZones();
  1170. var ptime = Math.round(new Date().getTime() / 1000);
  1171. // this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}');
  1172. },
  1173. methods: {
  1174. getTime(val) {
  1175. return uParseTime(val, "{y}年{m}月{d}日");
  1176. },
  1177. printThisInfo() {
  1178. var ptime = Math.round(new Date().getTime() / 1000);
  1179. this.print_time = uParseTime(ptime, "{y}年{m}月{d}日");
  1180. const style =
  1181. "@media print { .print_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0; } .print_main_content .order_title { text-align: center; font-size: 23px; line-height: 50px; font-weight: 500; } .print_main_content table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } .print_main_content table tbody tr td { border: 1px solid; text-align: center; padding: 10px 8px; } .td_proj_title { font-size: 18px; line-height: 25px; font-weight: 500; } .td_proj_content { font-size: 18px; line-height: 25px; } .td_align_left { text-align: left; } .print_footnote_panel { font-size: 17px; line-height: 40px; } .print_footnote_panel .proj { display: inline-block; width: 49%; } .print_footnote_panel .proj .proj_title { font-weight: 500;} }";
  1182. setTimeout(() => {
  1183. printJS({
  1184. printable: "print-info-box",
  1185. type: "html",
  1186. style: style,
  1187. scanStyles: false
  1188. });
  1189. }, 1);
  1190. },
  1191. getZones() {
  1192. getZones().then(response => {
  1193. if (response.data.state === 1) {
  1194. this.partitionOptions = response.data.data.zones;
  1195. }
  1196. });
  1197. },
  1198. fetchPatient(id) {
  1199. fetchPatient(id)
  1200. .then(response => {
  1201. console.log(response.data.data);
  1202. if (response.data.state === 1) {
  1203. this.$emit("tran-patient-info", response.data.data.patient);
  1204. var patietInfo = response.data.data.patient;
  1205. console.log("触发了吗无222222",patietInfo)
  1206. this.form.avatar = patietInfo.avatar;
  1207. this.form.name = patietInfo.name;
  1208. this.form.alias = patietInfo.alias;
  1209. this.form.lapseto = patietInfo.lapseto;
  1210. this.form.idCardNo = patietInfo.id_card_no;
  1211. this.form.dialysisNo = patietInfo.dialysis_no;
  1212. this.form.gender = patietInfo.gender;
  1213. this.form.is_infectious = patietInfo.is_infectious;
  1214. // this.form.record_date = patietInfo.is_infectious
  1215. this.form.response_result = patietInfo.response_result;
  1216. this.form.remind_cycle = patietInfo.remind_cycle;
  1217. if(patietInfo.is_infectious == 1){
  1218. this.form.remind_cycle = 0
  1219. }
  1220. console.log("222222",this.form.remind_cycle)
  1221. this.form.user_sys_before_count = patietInfo.user_sys_before_count;
  1222. this.infections = response.data.data.infections;
  1223. this.form.formItem = this.infections;
  1224. if (this.infections != null) {
  1225. if (this.infections.length > 0) {
  1226. this.form.record_date = uParseTime(
  1227. this.infections[0].inspect_date,
  1228. "{y}-{m}-{d}"
  1229. );
  1230. const select_options = ["阴性", "阳性", "弱阳性"];
  1231. for (let i = 0; i < this.infections.length; i++) {
  1232. this.infections[i]["select_options"] = select_options;
  1233. this.infections[i]["value"] = this.infections[
  1234. i
  1235. ].inspect_value;
  1236. }
  1237. }
  1238. }
  1239. if (patietInfo.gender === 1 || patietInfo.gender === 2) {
  1240. this.form.gender = patietInfo.gender;
  1241. }
  1242. this.form.nation = patietInfo.nation;
  1243. this.form.native_place = patietInfo.native_place;
  1244. this.form.birth = uParseTime(patietInfo.birthday, "{y}-{m}-{d}");
  1245. this.form.firstDialysisDate = uParseTime(
  1246. patietInfo.first_dialysis_date,
  1247. "{y}-{m}-{d}"
  1248. );
  1249. this.form.height = patietInfo.height + "";
  1250. // this.form.age = jsGetAge(this.form.birth, "-");
  1251. if (patietInfo.marital_status > 0) {
  1252. this.form.maritalStatus = patietInfo.marital_status;
  1253. }
  1254. this.form.children = patietInfo.children;
  1255. this.form.admissionNumber = patietInfo.admission_number;
  1256. if (patietInfo.reimbursement_way_id > 0) {
  1257. this.form.reimbursementWayID = patietInfo.reimbursement_way_id;
  1258. }
  1259. this.form.healthCareNo = patietInfo.health_care_no;
  1260. this.form.phone = patietInfo.phone;
  1261. this.form.homeTelephone = patietInfo.home_telephone;
  1262. this.form.relative_phone = patietInfo.relative_phone;
  1263. this.form.relative_relations = patietInfo.relative_relations;
  1264. this.form.homeAddress = patietInfo.home_address;
  1265. this.form.work = patietInfo.work_unit;
  1266. this.form.unit_address = patietInfo.unit_address;
  1267. if (patietInfo.age == 0) {
  1268. this.form.age = jsGetAge(this.form.birth, "-");
  1269. } else {
  1270. this.form.age = patietInfo.age;
  1271. }
  1272. if (patietInfo.profession > 0) {
  1273. this.form.profession = patietInfo.profession;
  1274. }
  1275. if (patietInfo.education_level > 0) {
  1276. this.form.education = patietInfo.education_level;
  1277. }
  1278. if (patietInfo.source === 1 || patietInfo.source === 2) {
  1279. this.form.source = patietInfo.source;
  1280. }
  1281. if (patietInfo.lapseto === 1 || patietInfo.lapseto === 2) {
  1282. this.form.lapseto = patietInfo.lapseto;
  1283. }
  1284. if (
  1285. patietInfo.is_hospital_first_dialysis === 1 ||
  1286. patietInfo.is_hospital_first_dialysis === 2
  1287. ) {
  1288. this.form.is_hospital_first_dialysis =
  1289. patietInfo.is_hospital_first_dialysis;
  1290. }
  1291. if (patietInfo.first_dialysis_date !== 0) {
  1292. this.form.firstDialysisDate = uParseTime(
  1293. patietInfo.first_dialysis_date,
  1294. "{y}-{m}-{d}"
  1295. );
  1296. }
  1297. this.form.first_dialysis_hospital =
  1298. patietInfo.first_dialysis_hospital;
  1299. if (patietInfo.predialysis_condition.length > 0) {
  1300. this.form.predialysis_condition = patietInfo.predialysis_condition.split(
  1301. ","
  1302. );
  1303. }
  1304. this.form.pre_hospital_dialysis_frequency =
  1305. patietInfo.pre_hospital_dialysis_frequency;
  1306. this.form.pre_hospital_dialysis_times =
  1307. patietInfo.pre_hospital_dialysis_times;
  1308. if (patietInfo.hospital_first_dialysis_date !== 0) {
  1309. this.form.hospital_first_dialysis_date = uParseTime(
  1310. patietInfo.hospital_first_dialysis_date,
  1311. "{y}-{m}-{d}"
  1312. );
  1313. }
  1314. this.form.contagions = response.data.data.contagions;
  1315. this.form.diseases = response.data.data.diseases;
  1316. this.form.remark = patietInfo.remark;
  1317. this.form.sch_remark = patietInfo.sch_remark;
  1318. this.form.diagnose = patietInfo.diagnose;
  1319. this.form.patient_complains = patietInfo.patient_complains;
  1320. this.form.present_history = patietInfo.present_history;
  1321. this.form.past_history = patietInfo.past_history;
  1322. this.form.temperature = patietInfo.temperature;
  1323. this.form.pulse = patietInfo.pulse;
  1324. this.form.respiratory = patietInfo.respiratory;
  1325. this.form.sbp = patietInfo.sbp;
  1326. this.form.dbp = patietInfo.dbp;
  1327. this.form.contact_name = patietInfo.contact_name;
  1328. this.form.tell_phone = patietInfo.tell_phone;
  1329. this.form.dialysis_age = patietInfo.dialysis_age;
  1330. if (patietInfo.expense_kind == 0) {
  1331. this.form.expense_kind = "";
  1332. } else {
  1333. this.form.expense_kind = patietInfo.expense_kind;
  1334. }
  1335. this.form.first_treatment_date = uParseTime(
  1336. patietInfo.first_treatment_date,
  1337. "{y}-{m}-{d}"
  1338. );
  1339. // this.form.initial = patietInfo.initial_dialysis + "";
  1340. // this.form.dialysisTotal = patietInfo.total_dialysis + "";
  1341. // this.form.assessment = patietInfo.evaluate;
  1342. // if (patietInfo.patient_type > 0) {
  1343. // this.form.patientType = patietInfo.patient_type;
  1344. // }
  1345. // if (patietInfo.partition_id > 0) {
  1346. // this.form.partition = patietInfo.partition_id;
  1347. // }
  1348. // if (patietInfo.bed_id > 0) {
  1349. // this.form.bed = patietInfo.bed_id;
  1350. // }
  1351. // this.form.healthCareDueDate = uParseTime(
  1352. // patietInfo.health_care_due_date,
  1353. // "{y}-{m}-{d}"
  1354. // );
  1355. // if (patietInfo.blood_type > 0) {
  1356. // this.form.blood = patietInfo.blood_type;
  1357. // }
  1358. // if (patietInfo.rh > 0) {
  1359. // this.form.rh = patietInfo.rh;
  1360. // }
  1361. // this.form.healthCareDueAlertDate = uParseTime(
  1362. // patietInfo.health_care_due_alert_date,
  1363. // "{y}-{m}-{d}"
  1364. // );
  1365. // this.form.receivingDate = uParseTime(
  1366. // patietInfo.receiving_date,
  1367. // "{y}-{m}-{d}"
  1368. // );
  1369. // this.form.dialysisAge = dialysisAge(
  1370. // this.form.firstDialysisDate,
  1371. // "-"
  1372. // );
  1373. // if (patietInfo.induction_period > 0) {
  1374. // this.form.induction = patietInfo.induction_period;
  1375. // }
  1376. // if (patietInfo.attending_doctor_id > 0) {
  1377. // this.form.doctor = patietInfo.attending_doctor_id;
  1378. // }
  1379. // if (patietInfo.head_nurse_id > 0) {
  1380. // this.form.nurse = patietInfo.head_nurse_id;
  1381. // }
  1382. // if (patietInfo.registrars_id > 0) {
  1383. // this.form.registrars = patietInfo.registrars_id;
  1384. // }
  1385. var contagionsArr = response.data.data.contagions;
  1386. var diseasesArr = response.data.data.diseases;
  1387. this.patientPrint = patietInfo;
  1388. var sourceLen = this.sourceOptions.length;
  1389. for (let index = 0; index < sourceLen; index++) {
  1390. if (this.sourceOptions[index].value === patietInfo.source) {
  1391. this.patientPrint.source = this.sourceOptions[index].label;
  1392. break;
  1393. }
  1394. }
  1395. var styleLen = this.styleOptions.length;
  1396. for (let index = 0; index < styleLen; index++) {
  1397. if (this.styleOptions[index].id === patietInfo.patient_type) {
  1398. this.patientPrint.patient_type = this.styleOptions[index].name;
  1399. break;
  1400. }
  1401. }
  1402. var partitionLen = this.partitionOptions.length;
  1403. for (let index = 0; index < partitionLen; index++) {
  1404. if (this.partitionOptions[index].id === patietInfo.partition_id) {
  1405. this.patientPrint.partition_id = this.partitionOptions[
  1406. index
  1407. ].name;
  1408. break;
  1409. }
  1410. }
  1411. this.patientPrint.bed_id =
  1412. patietInfo.bed_id > 0 ? patietInfo.bed_id : "";
  1413. if (patietInfo.gender === 1) {
  1414. this.patientPrint.gender = "男";
  1415. } else if (patietInfo.gender === 2) {
  1416. this.patientPrint.gender = "女";
  1417. } else {
  1418. this.patientPrint.gender = "";
  1419. }
  1420. var maritalLen = this.maritalOptions.length;
  1421. console.log(maritalLen);
  1422. for (let index = 0; index < maritalLen; index++) {
  1423. if (
  1424. this.maritalOptions[index].id ==
  1425. response.data.data.patient.marital_status
  1426. ) {
  1427. this.patientPrint.marital_status = this.maritalOptions[
  1428. index
  1429. ].name;
  1430. }
  1431. }
  1432. this.patientPrint.birthday = uParseTime(
  1433. patietInfo.birthday,
  1434. "{y}-{m}-{d}"
  1435. );
  1436. this.patientPrint.age = jsGetAge(this.patientPrint.birthday, "-");
  1437. this.patientPrint.patient_complains = patietInfo.patient_complains.replace(
  1438. /\n/g,
  1439. "<br/>"
  1440. );
  1441. this.patientPrint.present_history = patietInfo.present_history.replace(
  1442. /\n/g,
  1443. "<br/>"
  1444. );
  1445. this.patientPrint.past_history = patietInfo.past_history.replace(
  1446. /\n/g,
  1447. "<br/>"
  1448. );
  1449. this.patientPrint.remark = patietInfo.remark.replace(
  1450. /\n/g,
  1451. "<br/>"
  1452. );
  1453. this.patientPrint.sch_remark = patietInfo.sch_remark.replace(
  1454. /\n/g,
  1455. "<br/>"
  1456. );
  1457. this.patientPrint.diagnose = patietInfo.diagnose.replace(
  1458. /\n/g,
  1459. "<br/>"
  1460. );
  1461. if (typeof patietInfo.temperature === "number") {
  1462. this.patientPrint.temperature = patietInfo.temperature.toFixed(1);
  1463. }
  1464. if (patietInfo.reimbursement_way_id > 0) {
  1465. var wayLen = this.wayOptions.length;
  1466. for (let index = 0; index < wayLen; index++) {
  1467. if (
  1468. this.wayOptions[index].id === patietInfo.reimbursement_way_id
  1469. ) {
  1470. this.patientPrint.reimbursement_way_id = this.wayOptions[
  1471. index
  1472. ].name;
  1473. break;
  1474. }
  1475. }
  1476. } else {
  1477. this.patientPrint.reimbursement_way_id = "";
  1478. }
  1479. if (patietInfo.health_care_due_date !== 0) {
  1480. this.patientPrint.health_care_due_date = uParseTime(
  1481. patietInfo.health_care_due_date,
  1482. "{y}-{m}-{d}"
  1483. );
  1484. } else {
  1485. this.patientPrint.health_care_due_date = "";
  1486. }
  1487. if (patietInfo.blood_type > 0) {
  1488. var typeLen = this.typeOptions.length;
  1489. for (let index = 0; index < typeLen; index++) {
  1490. if (this.typeOptions[index].id === patietInfo.blood_type) {
  1491. this.patientPrint.blood_type = this.typeOptions[index].name;
  1492. break;
  1493. }
  1494. }
  1495. } else {
  1496. this.patientPrint.blood_type = "";
  1497. }
  1498. if (patietInfo.rh > 0) {
  1499. var rhLen = this.rhOptions.length;
  1500. for (let index = 0; index < rhLen; index++) {
  1501. if (this.rhOptions[index].id === patietInfo.rh) {
  1502. this.patientPrint.rh = this.rhOptions[index].name;
  1503. break;
  1504. }
  1505. }
  1506. } else {
  1507. this.patientPrint.rh = "";
  1508. }
  1509. if (patietInfo.health_care_due_alert_date !== 0) {
  1510. this.patientPrint.health_care_due_alert_date = uParseTime(
  1511. patietInfo.health_care_due_alert_date,
  1512. "{y}-{m}-{d}"
  1513. );
  1514. } else {
  1515. this.patientPrint.health_care_due_alert_date = "";
  1516. }
  1517. if (patietInfo.education_level > 0) {
  1518. var eLen = this.educationOptions.length;
  1519. for (let index = 0; index < eLen; index++) {
  1520. if (
  1521. this.educationOptions[index].id === patietInfo.education_level
  1522. ) {
  1523. this.patientPrint.education_level = this.educationOptions[
  1524. index
  1525. ].name;
  1526. break;
  1527. }
  1528. }
  1529. } else {
  1530. this.patientPrint.education_level = "";
  1531. }
  1532. if (patietInfo.profession > 0) {
  1533. var eLen = this.professionOptions.length;
  1534. for (let index = 0; index < eLen; index++) {
  1535. if (
  1536. this.professionOptions[index].id === patietInfo.profession
  1537. ) {
  1538. this.patientPrint.profession = this.professionOptions[
  1539. index
  1540. ].name;
  1541. break;
  1542. }
  1543. }
  1544. } else {
  1545. this.patientPrint.profession = "";
  1546. }
  1547. if (patietInfo.receiving_date !== 0) {
  1548. this.patientPrint.receiving_date = uParseTime(
  1549. patietInfo.receiving_date,
  1550. "{y}-{m}-{d}"
  1551. );
  1552. } else {
  1553. this.patientPrint.receiving_date = "";
  1554. }
  1555. if (patietInfo.first_dialysis_date !== 0) {
  1556. this.patientPrint.first_dialysis_date = uParseTime(
  1557. patietInfo.first_dialysis_date,
  1558. "{y}-{m}-{d}"
  1559. );
  1560. this.patientPrint.dialysis_age = dialysisAge(
  1561. this.patientPrint.first_dialysis_date
  1562. );
  1563. } else {
  1564. this.patientPrint.first_dialysis_date = "";
  1565. this.patientPrint.dialysis_age = "";
  1566. }
  1567. if (patietInfo.induction_period > 0) {
  1568. var eLen = this.inductionOptions.length;
  1569. for (let index = 0; index < eLen; index++) {
  1570. if (
  1571. this.inductionOptions[index].id ===
  1572. patietInfo.induction_period
  1573. ) {
  1574. this.patientPrint.induction_period = this.inductionOptions[
  1575. index
  1576. ].name;
  1577. break;
  1578. }
  1579. }
  1580. } else {
  1581. this.patientPrint.induction_period = "";
  1582. }
  1583. if (patietInfo.attending_doctor_id > 0) {
  1584. var eLen = this.adminUserOptions.length;
  1585. for (let index = 0; index < eLen; index++) {
  1586. if (
  1587. this.adminUserOptions[index].id ===
  1588. patietInfo.attending_doctor_id
  1589. ) {
  1590. this.patientPrint.attending_doctor_id = this.adminUserOptions[
  1591. index
  1592. ].name;
  1593. break;
  1594. }
  1595. }
  1596. } else {
  1597. this.patientPrint.attending_doctor_id = "";
  1598. }
  1599. if (patietInfo.head_nurse_id > 0) {
  1600. var eLen = this.adminUserOptions.length;
  1601. for (let index = 0; index < eLen; index++) {
  1602. if (
  1603. this.adminUserOptions[index].id === patietInfo.head_nurse_id
  1604. ) {
  1605. this.patientPrint.head_nurse_id = this.adminUserOptions[
  1606. index
  1607. ].name;
  1608. break;
  1609. }
  1610. }
  1611. } else {
  1612. this.patientPrint.head_nurse_id = "";
  1613. }
  1614. if (contagionsArr.length > 0) {
  1615. var contagionsIdArr = {};
  1616. var alen = contagionsArr.length;
  1617. for (let index = 0; index < alen; index++) {
  1618. contagionsIdArr[contagionsArr[index]] = 1;
  1619. }
  1620. var printContagions = [];
  1621. var clen = this.contagionList.length;
  1622. for (let index = 0; index < clen; index++) {
  1623. if (this.contagionList[index].id in contagionsIdArr) {
  1624. printContagions.push(this.contagionList[index].name);
  1625. }
  1626. }
  1627. this.patientPrint.contagions = printContagions.join("、");
  1628. } else {
  1629. this.patientPrint.contagions = "无";
  1630. }
  1631. if (diseasesArr.length > 0) {
  1632. var diseasesIdArr = {};
  1633. var alen = diseasesArr.length;
  1634. for (let index = 0; index < alen; index++) {
  1635. diseasesIdArr[diseasesArr[index]] = 1;
  1636. }
  1637. var printDisease = [];
  1638. var clen = this.checkDisease.length;
  1639. for (let index = 0; index < clen; index++) {
  1640. if (this.checkDisease[index].id in diseasesIdArr) {
  1641. printDisease.push(this.checkDisease[index].name);
  1642. }
  1643. }
  1644. this.patientPrint.diseases = printDisease.join("、");
  1645. } else {
  1646. this.patientPrint.diseases = "";
  1647. }
  1648. if (patietInfo.registrars_id > 0) {
  1649. var eLen = this.adminUserOptions.length;
  1650. for (let index = 0; index < eLen; index++) {
  1651. if (
  1652. this.adminUserOptions[index].id === patietInfo.registrars_id
  1653. ) {
  1654. this.patientPrint.registrars = this.adminUserOptions[
  1655. index
  1656. ].name;
  1657. this.form.registrars = this.adminUserOptions[index].name;
  1658. break;
  1659. }
  1660. }
  1661. } else {
  1662. this.patientPrint.registrars = "";
  1663. }
  1664. if (patietInfo.hospital_first_dialysis_date !== 0) {
  1665. this.patientPrint.hospital_first_dialysis_date = uParseTime(
  1666. patietInfo.hospital_first_dialysis_date,
  1667. "{y}-{m}-{d}"
  1668. );
  1669. } else {
  1670. this.patientPrint.hospital_first_dialysis_date = "";
  1671. }
  1672. this.checkIdCardNo();
  1673. } else {
  1674. console.log("patient get err state");
  1675. this.$notify.error({
  1676. title: "错误",
  1677. message: "网络异常"
  1678. });
  1679. this.$router.push("/patients/patients");
  1680. }
  1681. // this.postForm = response.data
  1682. // // Just for test
  1683. // this.postForm.title += ` Article Id:${this.postForm.id}`
  1684. // this.postForm.content_short += ` Article Id:${this.postForm.id}`
  1685. })
  1686. .catch(err => {
  1687. console.log("patient get err", err);
  1688. this.$notify.error({
  1689. title: "错误",
  1690. message: "网络异常"
  1691. });
  1692. this.$router.push("/patients/patients");
  1693. });
  1694. },
  1695. fetchAllDoctorAndNurse() {
  1696. fetchAllDoctorAndNurse().then(response => {
  1697. if (response.data.state === 1) {
  1698. this.doctorOptions = response.data.data.doctors;
  1699. this.nurseOptions = response.data.data.nursers;
  1700. }
  1701. });
  1702. },
  1703. fetchAllAdminUsers() {
  1704. fetchAllAdminUsers().then(response => {
  1705. if (response.data.state === 1) {
  1706. this.adminUserOptions = response.data.data.users;
  1707. }
  1708. });
  1709. },
  1710. printCard() {
  1711. var ptime = Math.round(new Date().getTime() / 1000);
  1712. this.print_time = uParseTime(ptime, "{y}年{m}月{d}日");
  1713. const style =
  1714. "@media print { .print_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0; } .print_main_content .order_title { text-align: center; font-size: 23px; line-height: 50px; font-weight: 500; } .print_main_content table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } .print_main_content table tbody tr td { border: 1px solid; text-align: center; padding: 10px 8px; } .td_proj_title { font-size: 18px; line-height: 25px; font-weight: 500; } .td_proj_content { font-size: 18px; line-height: 25px; } .td_align_left { text-align: left; } .print_footnote_panel { font-size: 17px; line-height: 40px; } .print_footnote_panel .proj { display: inline-block; width: 49%; } .print_footnote_panel .proj .proj_title { font-weight: 500;} }";
  1715. setTimeout(() => {
  1716. printJS({
  1717. printable: "print-card-info",
  1718. type: "html",
  1719. style: style,
  1720. scanStyles: false
  1721. });
  1722. }, 1);
  1723. var patientID = this.patientPrint.id;
  1724. var name = this.patientPrint.name;
  1725. var gender = this.patientPrint.gender;
  1726. if (gender === 1) {
  1727. gender = "男";
  1728. }
  1729. if (gender === 2) {
  1730. gender = "女";
  1731. }
  1732. var idCardNo = this.patientPrint.id_card_no;
  1733. var dialysisNo = this.patientPrint.dialysis_no;
  1734. var phone = this.patientPrint.phone;
  1735. var healthCareNo = this.patientPrint.health_care_no;
  1736. // Base64加密
  1737. var epatientID = this.Base64.encode(patientID);
  1738. var ename = this.Base64.encode(name);
  1739. var egender = this.Base64.encode(gender);
  1740. var eidCardNo = this.Base64.encode(idCardNo);
  1741. var edialysisNo = this.Base64.encode(dialysisNo);
  1742. var ephone = this.Base64.encode(phone);
  1743. var eheathCareNo = this.Base64.encode(healthCareNo);
  1744. console.log(
  1745. "id号:" + epatientID,
  1746. "姓名:" + ename,
  1747. "性别:" + egender,
  1748. "身份证:" + eidCardNo,
  1749. "透析号:" + edialysisNo,
  1750. "电话:" + ephone,
  1751. "社保号:" + eheathCareNo
  1752. );
  1753. // var params =new Object();
  1754. // params.id = this.patientPrint.id
  1755. // params.name = this.patientPrint.name;
  1756. // this.$options.methods.qrcode(epatientID, ename, egender, eidCardNo, edialysisNo, ephone, eheathCareNo)// 调用生成二维码的方法
  1757. this.$options.methods.qrcode(
  1758. patientID,
  1759. name,
  1760. gender,
  1761. idCardNo,
  1762. dialysisNo,
  1763. phone,
  1764. healthCareNo
  1765. );
  1766. // this.$options.methods.qrcode(params)
  1767. },
  1768. showInspectDialog() {
  1769. this.dialogFormVisible = true;
  1770. },
  1771. qrcode(patientID, name, gender, idCardNo, dialysisNo, phone, healthCareNo) {
  1772. document.getElementById("qrcode").innerHTML = "";
  1773. new QRCode("qrcode", {
  1774. width: 200,
  1775. height: 200,
  1776. text:
  1777. "user_id:" +
  1778. patientID +
  1779. "," +
  1780. "name:" +
  1781. name +
  1782. "," +
  1783. "dialysis_no:" +
  1784. dialysisNo +
  1785. "," +
  1786. "gender:" +
  1787. gender +
  1788. "," +
  1789. "idcard_no:" +
  1790. idCardNo +
  1791. "," +
  1792. "phone:" +
  1793. phone +
  1794. "," +
  1795. "healthcare_no:" +
  1796. healthCareNo
  1797. });
  1798. },
  1799. checkIdCardNo() {
  1800. if (!isCardNo(this.form.idCardNo)) {
  1801. this.$message.error("身份证号码信息有误!");
  1802. this.form.birth = "";
  1803. return false;
  1804. }
  1805. var thisLen = this.form.idCardNo.length;
  1806. var birth = "";
  1807. if (thisLen == 15) {
  1808. birth = "19" + this.form.idCardNo.substr(6, 6);
  1809. } else {
  1810. birth = this.form.idCardNo.substr(6, 8);
  1811. }
  1812. this.form.birth =
  1813. birth.substr(0, 4) +
  1814. "-" +
  1815. birth.substr(4, 2) +
  1816. "-" +
  1817. birth.substr(6, 2);
  1818. this.form.age = jsGetAge(this.form.birth, "-");
  1819. }
  1820. // qrcode(params){
  1821. // new QRCode('qrcode',{
  1822. // width:200,
  1823. // height:200,
  1824. // text:params,
  1825. // })
  1826. // }
  1827. }
  1828. };
  1829. </script>
  1830. <style rel="stylesheet/scss" lang="scss" scoped>
  1831. .uploadHead {
  1832. margin-top: 25%;
  1833. }
  1834. .uploadHeadBtn {
  1835. width: 148px;
  1836. margin-top: 10px;
  1837. }
  1838. .el-form {
  1839. .el-col-6,
  1840. .el-col-8 {
  1841. width: 360px;
  1842. height: 59px !important;
  1843. }
  1844. .el-form-item {
  1845. // margin-bottom: 17px !important;
  1846. .el-select {
  1847. width: 100%;
  1848. }
  1849. .el-date-editor.el-input {
  1850. width: 100%;
  1851. }
  1852. .textarea {
  1853. width: 100%;
  1854. height: 70px;
  1855. border-color: #dcdfe6;
  1856. padding: 5px;
  1857. }
  1858. }
  1859. }
  1860. // #print-info-box .info_print {
  1861. // width: 920px;
  1862. // margin: 0 auto !important;
  1863. // position: relative;
  1864. // top: 0;
  1865. // left: 0;
  1866. // padding: 20px 30px;
  1867. // }
  1868. // #print-info-box .box-title {
  1869. // text-align: center;
  1870. // font-weight: 600;
  1871. // font-size: 30px;
  1872. // line-height: 80px;
  1873. // margin-bottom: 20px;
  1874. // }
  1875. // #print-info-box .unit-title {
  1876. // text-align: center;
  1877. // line-height: 40px;
  1878. // font-size: 20px;
  1879. // font-weight: 400;
  1880. // padding-top: 10px;
  1881. // /* border: 1px solid #333; */
  1882. // }
  1883. // #print-info-box .unit-box {
  1884. // padding: 15px;
  1885. // }
  1886. // #print-info-box .unit-box-item {
  1887. // display: flex;
  1888. // align-items: center;
  1889. // justify-content: space-between;
  1890. // padding: 4px 1em;
  1891. // }
  1892. // #print-info-box .unit-box-item-col3 {
  1893. // width: 30%;
  1894. // display: flex;
  1895. // padding: 4px 0;
  1896. // }
  1897. // #print-info-box .unit-box-item-col4 {
  1898. // width: 23%;
  1899. // display: flex;
  1900. // padding: 4px 0;
  1901. // }
  1902. // #print-info-box .item-value {
  1903. // flex: 1;
  1904. // border-bottom: 1px solid #333;
  1905. // }
  1906. </style>
  1907. <style scoped>
  1908. /* 打印表格的样式 */
  1909. .print_main_content {
  1910. background-color: white;
  1911. width: 960px;
  1912. margin: 0 auto;
  1913. padding: 0 0 20px 0;
  1914. }
  1915. .print_main_content .order_title {
  1916. text-align: center;
  1917. font-size: 23px;
  1918. line-height: 50px;
  1919. font-weight: 500;
  1920. }
  1921. .print_main_content table {
  1922. width: 100%;
  1923. border: 1px solid;
  1924. border-collapse: collapse;
  1925. padding: 2px;
  1926. }
  1927. .print_main_content table tbody tr td {
  1928. border: 1px solid;
  1929. text-align: center;
  1930. /* font-size: 17px; */
  1931. padding: 10px 8px;
  1932. }
  1933. .td_proj_title {
  1934. font-size: 18px;
  1935. line-height: 25px;
  1936. font-weight: 500;
  1937. }
  1938. .td_proj_content {
  1939. font-size: 18px;
  1940. line-height: 25px;
  1941. }
  1942. .td_align_left {
  1943. text-align: left;
  1944. }
  1945. .print_footnote_panel {
  1946. font-size: 17px;
  1947. line-height: 40px;
  1948. }
  1949. .print_footnote_panel .proj {
  1950. display: inline-block;
  1951. width: 49%;
  1952. }
  1953. .print_footnote_panel .proj .proj_title {
  1954. font-weight: 500;
  1955. }
  1956. .el-select-dropdown {
  1957. z-index: 998 !important;
  1958. }
  1959. </style>