LongTable.vue 46KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538
  1. <template>
  2. <!-- <div>
  3. <div class="blueBorder"></div>
  4. <div class="scrollBox">
  5. <div class="scrollTable">
  6. <div class="tableTit">
  7. <ul>
  8. <li
  9. v-for="(item, index) in [
  10. '序号',
  11. '透析模式',
  12. '透析时长',
  13. '医生',
  14. '更新日期',
  15. '操作'
  16. ]"
  17. :key="index"
  18. :value="item.value"
  19. >
  20. {{ item }}
  21. </li>
  22. </ul>
  23. </div>
  24. <div class="tableDate">
  25. <van-list v-model="loading" :finished="finished" @load="onLoad">
  26. <ul>
  27. <li
  28. v-for="(item, index) in tableDate"
  29. :key="index"
  30. :value="item.value"
  31. >
  32. <span>{{ item.no }}</span>
  33. <span>{{ item.mode_name }}</span>
  34. <span
  35. >{{ item.dialysis_duration_hour }}h
  36. {{ item.dialysis_duration_minute }}min</span
  37. >
  38. <span>{{ tranDoctor(item.registrars_id) }}</span>
  39. <span>{{ item.edate }}</span>
  40. <span @click="openEdit(index, item)">
  41. <i class="iconfont">&#xe6f7;</i>修改
  42. </span>
  43. </li>
  44. </ul>
  45. </van-list>
  46. <div class="NoData" v-show="tableDate.length == 0">
  47. <img
  48. style="margin-top: 50px; margin-bottom: 50px"
  49. src="@/assets/login/data.jpg"
  50. alt
  51. />
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. <van-popup
  57. title="透析处方"
  58. v-model="showObj.showPopup"
  59. :overlay="true"
  60. @click-overlay="popupDidHide()"
  61. >
  62. <div v-if="showObj.showForm" class="Dialog">
  63. <div class="DialogTit">
  64. <span @click="popupDidHide()" class="iconfont">&#xe6e9;</span>
  65. <h1 class="name">透析处方</h1>
  66. <span @click="commitInfo" class="success">完成</span>
  67. </div>
  68. <div class="DialogContent" id="dialogTop">
  69. <div @click="showSubMenu('mode')" class="item" ref="mode">
  70. <label class="name" for="txms">透析模式</label>
  71. <div class="content">
  72. <span class="text" id="txms">{{
  73. GetModeByModeId(dialysisSolution.mode_id)
  74. }}</span>
  75. <span class="iconfont">&#xe6f9;</span>
  76. </div>
  77. </div>
  78. <div class="item" @click="openPicker">
  79. <label class="name" for="txsc">透析时长</label>
  80. <div class="content">
  81. <span class="text" style="width: 100px">{{ timeValue }}</span>
  82. <span class="iconfont">&#xe6f9;</span>
  83. </div>
  84. </div>
  85. <div class="item">
  86. <label class="name" for="xll">血流量(ml/min)</label>
  87. <div class="content">
  88. <input
  89. type="tel"
  90. @focus="inputFocus"
  91. id="xll"
  92. v-model="dialysisSolution.blood_flow_volume"
  93. />
  94. </div>
  95. </div>
  96. <div class="item">
  97. <label class="name" for="mbcll">目标超滤量(ml)</label>
  98. <div class="content">
  99. <input
  100. type="tel"
  101. @focus="inputFocus"
  102. id="mbcll"
  103. v-model="dialysisSolution.target_ultrafiltration"
  104. />
  105. </div>
  106. </div>
  107. <div
  108. @click="showSubMenu('dialysate_formulation')"
  109. class="item"
  110. ref="dialysate_formulation"
  111. >
  112. <label class="name" for="txypf">透析液配方</label>
  113. <div class="content">
  114. <span class="text" id="txypf">{{
  115. GetDialysateFormulationById(
  116. dialysisSolution.dialysate_formulation
  117. )
  118. }}</span>
  119. <span class="iconfont">&#xe6f9;</span>
  120. </div>
  121. </div>
  122. <div
  123. @click="showSubMenu('anticoagulant')"
  124. class="item"
  125. ref="anticoagulant"
  126. >
  127. <label class="name" for="knj">抗疑剂</label>
  128. <div class="content">
  129. <span class="text" id="knj">{{
  130. GetAnticoagulantById(dialysisSolution.anticoagulant)
  131. }}</span>
  132. <span class="iconfont">&#xe6f9;</span>
  133. </div>
  134. </div>
  135. <div class="item" v-if="anticoagulant.shouji != -1">
  136. <label class="name" for="sj"
  137. >首剂({{ anticoagulant.shouji_unit }})</label
  138. >
  139. <div class="content">
  140. <input
  141. type="tel"
  142. @focus="inputFocus"
  143. id="sj"
  144. v-model="dialysisSolution.anticoagulant_shouji"
  145. :disabled="anticoagulant.shouji == 1 ? false : true"
  146. />
  147. </div>
  148. </div>
  149. <div class="item" v-if="anticoagulant.weichi != -1">
  150. <label class="name" for="wz"
  151. >维持({{ anticoagulant.weichi_unit }})</label
  152. >
  153. <div class="content">
  154. <input
  155. type="tel"
  156. @focus="inputFocus"
  157. id="wz"
  158. class="inputBox"
  159. v-model="dialysisSolution.anticoagulant_weichi"
  160. :disabled="anticoagulant.weichi == 1 ? false : true"
  161. />
  162. </div>
  163. </div>
  164. <div class="item" v-if="anticoagulant.zongliang != -1">
  165. <label class="name" for="zl">总量(mg)</label>
  166. <div class="content">
  167. <input
  168. type="tel"
  169. @focus="inputFocus"
  170. id="zl"
  171. class="inputBox"
  172. v-model="dialysisSolution.anticoagulant_zongliang"
  173. :disabled="anticoagulant.zongliang == 1 ? false : true"
  174. />
  175. </div>
  176. </div>
  177. <div class="item" v-if="anticoagulant.gaimingcheng != -1">
  178. <label class="name" for="g"
  179. >钙名称({{ anticoagulant.gaimingcheng_unit }})</label
  180. >
  181. <div class="content">
  182. <input
  183. type="text"
  184. id="g"
  185. class="inputBox"
  186. v-model="dialysisSolution.anticoagulant_gaimingcheng"
  187. :disabled="anticoagulant.gaimingcheng == 1 ? false : true"
  188. />
  189. </div>
  190. </div>
  191. <div class="item" v-if="anticoagulant.gaijiliang != -1">
  192. <label class="name" for="gjl">钙剂量</label>
  193. <div class="content">
  194. <input
  195. type="text"
  196. id="gjl"
  197. class="inputBox"
  198. v-model="dialysisSolution.anticoagulant_gaimingcheng"
  199. :disabled="anticoagulant.gaimingcheng == 1 ? false : true"
  200. />
  201. </div>
  202. </div>
  203. <div class="line"></div>
  204. <div class="item">
  205. <label class="name" for="zhy">置换量(L)</label>
  206. <div class="content">
  207. <input
  208. type="tel"
  209. @focus="inputFocus"
  210. id="zhy"
  211. v-model="dialysisSolution.replacement_total"
  212. />
  213. </div>
  214. </div>
  215. <div class="item">
  216. <label class="name" for="j">钾(mmol/L)</label>
  217. <div class="content">
  218. <input
  219. type="tel"
  220. @focus="inputFocus"
  221. id="j"
  222. v-model="dialysisSolution.kalium"
  223. />
  224. </div>
  225. </div>
  226. <div class="item">
  227. <label class="name" for="n">钠(mmol/L):</label>
  228. <div class="content">
  229. <input
  230. type="tel"
  231. @focus="inputFocus"
  232. id="n"
  233. v-model="dialysisSolution.sodium"
  234. />
  235. </div>
  236. </div>
  237. <div class="item">
  238. <label class="name" for="gg">钙(mmol/L)</label>
  239. <div class="content">
  240. <input
  241. type="tel"
  242. @focus="inputFocus"
  243. id="gg"
  244. v-model="dialysisSolution.calcium"
  245. />
  246. </div>
  247. </div>
  248. <div class="item">
  249. <label class="name" for="tsqy">碳酸氢盐(mmol/L)</label>
  250. <div class="content">
  251. <input
  252. type="tel"
  253. @focus="inputFocus"
  254. id="tsqy"
  255. v-model="dialysisSolution.bicarbonate"
  256. />
  257. </div>
  258. </div>
  259. <div class="item">
  260. <label class="name" for="ptt">葡萄糖(mmol/L)</label>
  261. <div class="content">
  262. <input
  263. type="tel"
  264. @focus="inputFocus"
  265. id="ptt"
  266. v-model="dialysisSolution.glucose"
  267. />
  268. </div>
  269. </div>
  270. <div class="line"></div>
  271. <div class="item">
  272. <label class="name" for="txyll">透析液流量(ml/min)</label>
  273. <div class="content">
  274. <input
  275. type="tel"
  276. @focus="inputFocus"
  277. id="txyll"
  278. v-model="dialysisSolution.dialysate_flow"
  279. />
  280. </div>
  281. </div>
  282. <div class="item">
  283. <label class="name" for="txywd">透析液温度(℃)</label>
  284. <div class="content">
  285. <input
  286. type="tel"
  287. @focus="inputFocus"
  288. id="txywd"
  289. v-model="dialysisSolution.dialysate_temperature"
  290. />
  291. </div>
  292. </div>
  293. <div class="item">
  294. <label class="name" for="dtl">电导率(mS/cm)</label>
  295. <div class="content">
  296. <input
  297. type="tel"
  298. @focus="inputFocus"
  299. id="dtl"
  300. v-model="dialysisSolution.conductivity"
  301. />
  302. </div>
  303. </div>
  304. <div class="line"></div>
  305. <div>
  306. <div class="item">
  307. <label class="name" for="bz">备注</label>
  308. <div class="content">
  309. <span class="text"></span>
  310. </div>
  311. </div>
  312. <textarea
  313. class="textarea"
  314. id="bz"
  315. placeholder="请输入内容"
  316. v-model="dialysisSolution.remark"
  317. @focus="lastInputFocus"
  318. @blur="lastInputBlur"
  319. ></textarea>
  320. </div>
  321. </div>
  322. </div>
  323. <check-box-sub-menu
  324. :visibility="visibility"
  325. v-on:menu-cancle="menuCancle"
  326. v-on:menu-comfirm="menuComfirm"
  327. :propsForm="propForm"
  328. ></check-box-sub-menu>
  329. <mt-datetime-picker
  330. ref="picker"
  331. type="time"
  332. hourFormat="{value}小时"
  333. minuteFormat="{value}分钟"
  334. @confirm="handleTimeConfirm"
  335. v-model="time"
  336. ></mt-datetime-picker>
  337. </van-popup>
  338. </div> -->
  339. <div class="newLongDialysis">
  340. <div>
  341. <div class="toolBox">
  342. <div class="toolOne" @click="startShow = true">
  343. <div style="display: flex;align-items: center;">
  344. {{ startTime }}
  345. <van-icon name="arrow-down" />
  346. </div>
  347. </div>
  348. <div class="toolOne" @click="endShow = true">
  349. <div style="display: flex;align-items: center;">
  350. {{ endTime }}
  351. <van-icon name="arrow-down" />
  352. </div>
  353. </div>
  354. </div>
  355. <div class="adviceBox" v-if="dialysisrecord.length > 0">
  356. <van-list
  357. v-model="loading"
  358. :finished="finished"
  359. finished-text="没有更多了"
  360. @load="onLoad"
  361. >
  362. <div class="adviceMain">
  363. <div
  364. class="adviceOne"
  365. v-for="(item, index) in dialysisrecord"
  366. :key="index"
  367. >
  368. <div class="adviceTitle">
  369. <p>{{ getTime(item.created_time) }}</p>
  370. <van-icon
  371. class="ellipsis"
  372. name="ellipsis"
  373. @click="toLongDialysis(item.id, index)"
  374. />
  375. </div>
  376. <div class="orderContent" @click="toLongDialysisDetail(item.id)">
  377. <p>透析模式:{{ item.mode_id }}</p>
  378. <p>
  379. 透析时长:{{ item.dialysis_duration_hour }}h{{
  380. item.dialysis_duration_minute
  381. }}min
  382. </p>
  383. <p>血流量(ml/min):{{ item.blood_flow_volume }}</p>
  384. <p>目标超滤量(ml):{{ item.target_ultrafiltration }}</p>
  385. <p>透析液配方(mmol/L):{{ item.dialysate_formulation }}</p>
  386. <p>
  387. 抗凝剂:
  388. <span v-if="item.anticoagulant == 1">无肝素</span>
  389. <span v-if="item.anticoagulant == 2">普通肝素</span>
  390. <span v-if="item.anticoagulant == 3">低分子肝素</span>
  391. <span v-if="item.anticoagulant == 4">阿加曲班</span>
  392. <span v-if="item.anticoagulant == 5">枸橼酸钠</span>
  393. </p>
  394. <p>
  395. 首剂:
  396. <span>{{ item.anticoagulant_shouji }}</span>
  397. <span v-if="item.anticoagulant == 1">mg</span>
  398. <span v-if="item.anticoagulant == 2">mg</span>
  399. <span v-if="item.anticoagulant == 3">iu</span>
  400. <span v-if="item.anticoagulant == 4">iu</span>
  401. <span v-if="item.anticoagulant == 5">mg</span>
  402. </p>
  403. <p>
  404. 维持:
  405. <span>{{ item.anticoagulant_weichi }}</span>
  406. <span v-if="item.anticoagulant == 1">ml</span>
  407. <span v-if="item.anticoagulant == 2">iu</span>
  408. <span v-if="item.anticoagulant == 3">iu</span>
  409. <span v-if="item.anticoagulant == 4">mg</span>
  410. <span v-if="item.anticoagulant == 5">ml</span>
  411. </p>
  412. <p>
  413. 总量:
  414. <span>{{ item.anticoagulant_zongliang }}</span>
  415. <span v-if="item.anticoagulant == 1">mg</span>
  416. <span v-if="item.anticoagulant == 2">iu</span>
  417. <span v-if="item.anticoagulant == 3">iu</span>
  418. <span v-if="item.anticoagulant == 4">mg</span>
  419. <span v-if="item.anticoagulant == 5">mg</span>
  420. </p>
  421. <p>置换量(L):{{ item.replacement_total }}</p>
  422. <p>钾(mmol/L):{{ item.kalium }}</p>
  423. <p>钠(mmol/L):{{ item.sodium }}</p>
  424. <p>钙(mmol/L):{{ item.calcium }}</p>
  425. <p>透析器/灌流器:{{ item.dialyzer_perfusion_apparatus }}</p>
  426. <p>碳酸氢盐(mmol/L):{{ item.bicarbonate }}</p>
  427. <p>葡萄糖(mmol/L):{{ item.glucose }}</p>
  428. <p>透析液流量(ml/min):{{ item.dialysate_flow }}</p>
  429. <p>透析液温度(℃):{{ item.dialysate_temperature }}</p>
  430. <p>
  431. 体液过多症状:
  432. <span v-if="item.body_fluid == 1">无</span>
  433. <span v-if="item.body_fluid == 2">下肢水肿+</span>
  434. <span v-if="item.body_fluid == 3">下肢水肿++</span>
  435. <span v-if="item.body_fluid == 4">下肢水肿+++</span>
  436. </p>
  437. <p>体液过多其他症状:{{ item.body_fluid_other }}</p>
  438. <p>
  439. 透析前使用特殊药物:{{
  440. getSpecialMedicine(item.special_medicine)
  441. }}
  442. </p>
  443. <p>使用其他特殊药物:{{ item.special_medicine_other }}</p>
  444. <p>置换液:{{ item.displace_liqui_part }}</p>
  445. <p>置换液总量(L):{{ item.displace_liqui_value }}</p>
  446. <p>血管通路:{{ getBloodAccessOption(item.blood_access) }}</p>
  447. <p>实际超滤量(L):{{ item.ultrafiltration }}</p>
  448. <div>备注:{{ item.remark }}</div>
  449. </div>
  450. <div class="all">全部</div>
  451. </div>
  452. </div>
  453. </van-list>
  454. </div>
  455. <div class="noimgBox" v-else>
  456. <img src="../../../assets/images/none.png" alt />
  457. </div>
  458. </div>
  459. <!-- <div class="add">
  460. <div style="display: flex;align-items: center;">
  461. <van-icon class="addIcon" name="add" />新增
  462. </div>
  463. </div>-->
  464. <!-- 弹出层 -->
  465. <div>
  466. <van-popup
  467. v-model="typeShow"
  468. position="bottom"
  469. :style="{ height: '40%' }"
  470. >
  471. <van-picker
  472. show-toolbar
  473. :columns="columns"
  474. @cancel="onCancel"
  475. @confirm="onConfirm"
  476. />
  477. </van-popup>
  478. <van-popup
  479. v-model="startShow"
  480. position="bottom"
  481. :style="{ height: '40%' }"
  482. >
  483. <van-datetime-picker
  484. v-model="currentDate"
  485. type="date"
  486. :min-date="minDate"
  487. :max-date="maxDate"
  488. @confirm="getstartTime"
  489. @cancel="startShow = false"
  490. />
  491. </van-popup>
  492. <van-popup v-model="endShow" position="bottom" :style="{ height: '40%' }">
  493. <van-datetime-picker
  494. v-model="currentDate"
  495. type="date"
  496. :min-date="minDate"
  497. :max-date="maxDate"
  498. @confirm="getstartTime2"
  499. @cancel="endShow = false"
  500. />
  501. </van-popup>
  502. <van-action-sheet
  503. v-model="newShow"
  504. :actions="actions"
  505. cancel-text="取消"
  506. @cancel="onCancel"
  507. @select="toDelete"
  508. />
  509. </div>
  510. </div>
  511. </template>
  512. <script>
  513. // import {
  514. // GetPatientDialysisSolutionList,
  515. // EditDialysisSolution
  516. // } from "@/api/patient";
  517. // import { parseTime } from "@/utils";
  518. // import { fetchAllAdminUsers } from "@/api/doctor";
  519. // import { getDataConfig } from "@/utils/data";
  520. // import CheckBoxSubMenu from "../dialog/subMenu/checkBoxSubMenu";
  521. // import { Toast } from "vant";
  522. // let allno = 1;
  523. // export default {
  524. // name: "LongTable",
  525. // data() {
  526. // return {
  527. // visibility: false,
  528. // loading: false,
  529. // finished: false,
  530. // queryParams: {
  531. // page: 0,
  532. // id: 0,
  533. // limit: 10
  534. // },
  535. // tableDate: [],
  536. // adminUserOptions: {},
  537. // currentIndex: -1,
  538. // showObj: {
  539. // showPopup: false,
  540. // showForm: true
  541. // },
  542. // dialysisSolution: {
  543. // id: 0,
  544. // mode: "",
  545. // mode_id: "",
  546. // mode_name: "",
  547. // dialysis_duration: "",
  548. // dialysis_duration_hour: "",
  549. // dialysis_duration_minute: "",
  550. // hemodialysis_machine: "",
  551. // perfusion_apparatus: "",
  552. // perfusion_apparatus_name: "",
  553. // blood_flow_volume: "",
  554. // dewater: "",
  555. // displace_liqui: 0,
  556. // replacement_way: "",
  557. // replacement_way_name: "",
  558. // anticoagulant: "",
  559. // anticoagulant_name: "",
  560. // anticoagulant_shouji: "",
  561. // anticoagulant_weichi: "",
  562. // anticoagulant_zongliang: "",
  563. // anticoagulant_gaimingcheng: "",
  564. // anticoagulant_gaijiliang: "",
  565. // target_ultrafiltration: "",
  566. // dialysate_formulation: "",
  567. // replacement_total: "",
  568. // kalium: "",
  569. // sodium: "",
  570. // calcium: "",
  571. // bicarbonate: "",
  572. // glucose: "",
  573. // dry_weight: "",
  574. // dialysate_flow: "",
  575. // dialysate_temperature: "",
  576. // conductivity: "",
  577. // doctor: "",
  578. // remark: ""
  579. // },
  580. // anticoagulant: {
  581. // id: 0,
  582. // name: "",
  583. // type: 1,
  584. // shouji: 1,
  585. // weichi: 1,
  586. // zongliang: 1,
  587. // gaimingcheng: -1,
  588. // gaijiliang: -1,
  589. // shouji_unit: "mg",
  590. // weichi_unit: "mg/h",
  591. // zongliang_unit: "mg",
  592. // gaimingcheng_unit: "",
  593. // gaijiliang_unit: ""
  594. // },
  595. // propForm: {
  596. // title: "",
  597. // list: [],
  598. // optionList: [],
  599. // isMultiple: 2,
  600. // result: [], //选中的值
  601. // type: 1, //用来区分不同子菜单,方便对返回值进行赋值
  602. // selectId: 0
  603. // },
  604. // modeOption: [],
  605. // dialysateFormulationOptions: [],
  606. // anticoagulantsConfit: {},
  607. // timeValue: "",
  608. // time: "03:00",
  609. // record_date: ""
  610. // };
  611. // },
  612. // methods: {
  613. // commitInfo: function() {
  614. // Toast.loading({ forbidClick: true, duration: 0 });
  615. // this.dialysisSolution.mode = this.dialysisSolution.mode_id;
  616. // EditDialysisSolution(
  617. // this.dialysisSolution.id,
  618. // this.dialysisSolution
  619. // ).then(response => {
  620. // if (response.data.state == 0) {
  621. // Toast.fail(response.data.msg);
  622. // return false;
  623. // } else {
  624. // Toast.success("修改成功");
  625. // for (const key in response.data.data.solution) {
  626. // this.tableDate[this.currentIndex][key] =
  627. // response.data.data.solution[key];
  628. // }
  629. // this.popupDidHide();
  630. // }
  631. // });
  632. // },
  633. // openEdit(index, item) {
  634. // this.currentIndex = index;
  635. // for (var key in item) {
  636. // this.dialysisSolution[key] = item[key];
  637. // }
  638. // this.timeValue =
  639. // this.dialysisSolution.dialysis_duration_hour +
  640. // "小时" +
  641. // this.dialysisSolution.dialysis_duration_minute +
  642. // "分钟";
  643. // this.time =
  644. // (this.dialysisSolution.dialysis_duration_hour >= 10
  645. // ? this.dialysisSolution.dialysis_duration_hour
  646. // : "0" + this.dialysisSolution.dialysis_duration_hour) +
  647. // ":" +
  648. // (this.dialysisSolution.dialysis_duration_minute >= 10
  649. // ? this.dialysisSolution.dialysis_duration_minute
  650. // : "0" + this.dialysisSolution.dialysis_duration_minute);
  651. // this.showObj.showPopup = true;
  652. // // document.getElementById('dialogTop').scrollTop = 200;
  653. // var dialogTop = document.querySelector("#dialogTop");
  654. // if (dialogTop != null) {
  655. // this.$nextTick(() => {
  656. // dialogTop.scrollTop = 0;
  657. // });
  658. // }
  659. // },
  660. // popupDidHide() {
  661. // this.showObj.showPopup = false;
  662. // this.visibility = false;
  663. // this.showObj.showForm = true;
  664. // },
  665. // openPicker: function() {
  666. // this.$refs.picker.open();
  667. // },
  668. // showSubMenu: function(val) {
  669. // switch (val) {
  670. // case "mode":
  671. // this.propForm.type = 1;
  672. // this.showObj.showForm = false;
  673. // this.propForm.title = "透析模式";
  674. // this.visibility = true;
  675. // this.propForm.list = [];
  676. // this.propForm.optionList = this.modeOption;
  677. // this.propForm.isMultiple = 1;
  678. // this.propForm.selectId = this.dialysisSolution.mode_id;
  679. // this.propForm.click_ref = "mode";
  680. // break;
  681. // case "anticoagulant":
  682. // this.propForm.type = 5;
  683. // this.showObj.showForm = false;
  684. // this.propForm.title = "抗疑剂";
  685. // this.visibility = true;
  686. // this.propForm.list = [];
  687. // this.propForm.optionList = this.anticoagulantsConfit;
  688. // this.propForm.isMultiple = 1;
  689. // this.propForm.selectId = this.dialysisSolution.anticoagulant;
  690. // this.propForm.click_ref = "anticoagulant";
  691. // break;
  692. // case "dialysate_formulation":
  693. // this.propForm.type = 6;
  694. // this.showObj.showForm = false;
  695. // this.propForm.title = "透析液配方";
  696. // this.visibility = true;
  697. // this.propForm.list = [];
  698. // this.propForm.optionList = this.dialysateFormulationOptions;
  699. // this.propForm.isMultiple = 1;
  700. // this.propForm.selectId = this.dialysisSolution.dialysate_formulation;
  701. // this.propForm.click_ref = "dialysate_formulation";
  702. // break;
  703. // }
  704. // },
  705. // menuCancle: function() {
  706. // this.visibility = false;
  707. // this.showObj.showForm = true;
  708. // this.$nextTick(() => {
  709. // if (
  710. // this.$refs[this.propForm.click_ref] != undefined &&
  711. // this.$refs[this.propForm.click_ref] != null
  712. // ) {
  713. // this.$refs[this.propForm.click_ref].scrollIntoView();
  714. // }
  715. // });
  716. // },
  717. // menuComfirm: function(val) {
  718. // this.visibility = false;
  719. // this.showObj.showForm = true;
  720. // this.$nextTick(() => {
  721. // if (
  722. // this.$refs[this.propForm.click_ref] != undefined &&
  723. // this.$refs[this.propForm.click_ref] != null
  724. // ) {
  725. // this.$refs[this.propForm.click_ref].scrollIntoView();
  726. // }
  727. // });
  728. // switch (val.type) {
  729. // case 1:
  730. // this.dialysisSolution.mode_id = val.selectId;
  731. // this.dialysisSolution.mode_name = this.GetModeByModeId(
  732. // this.dialysisSolution.mode_id
  733. // );
  734. // break;
  735. // case 5:
  736. // this.dialysisSolution.anticoagulant = val.selectId;
  737. // if (
  738. // typeof this.anticoagulantsConfit[val.selectId] == "undefined" ||
  739. // this.anticoagulantsConfit[val.selectId] == null
  740. // ) {
  741. // return;
  742. // }
  743. // this.anticoagulant = this.anticoagulantsConfit[val.selectId];
  744. // break;
  745. // case 6:
  746. // this.dialysisSolution.dialysate_formulation = val.selectId;
  747. // break;
  748. // }
  749. // },
  750. // handleTimeConfirm: function(val) {
  751. // val = val.replace("小时");
  752. // val = val.replace("分钟");
  753. // let timeArray = val.split(":");
  754. // if (parseInt(timeArray[0].substring(0, 1)) == 0) {
  755. // this.dialysisSolution.dialysis_duration_hour = timeArray[0].charAt(
  756. // timeArray[0].length - 1
  757. // );
  758. // } else {
  759. // this.dialysisSolution.dialysis_duration_hour = timeArray[0];
  760. // }
  761. // if (parseInt(timeArray[1].substring(0, 1)) == 0) {
  762. // this.dialysisSolution.dialysis_duration_minute = timeArray[1].charAt(
  763. // timeArray[1].length - 1
  764. // );
  765. // } else {
  766. // this.dialysisSolution.dialysis_duration_minute = timeArray[1];
  767. // }
  768. // this.timeValue =
  769. // this.dialysisSolution.dialysis_duration_hour +
  770. // "小时" +
  771. // this.dialysisSolution.dialysis_duration_minute +
  772. // "分钟";
  773. // this.dialysisSolution.dialysis_duration =
  774. // this.dialysisSolution.dialysis_duration_hour +
  775. // "." +
  776. // this.dialysisSolution.dialysis_duration_minute;
  777. // },
  778. // GetModeByModeId: function(val) {
  779. // let treatment_mode_name = "";
  780. // let treatment_mode = this.modeOption;
  781. // for (let keys in treatment_mode) {
  782. // if (treatment_mode[keys].id == val) {
  783. // treatment_mode_name = treatment_mode[keys].name;
  784. // }
  785. // }
  786. // return treatment_mode_name;
  787. // },
  788. // inputFocus: function(event) {
  789. // var input = event.target;
  790. // setTimeout(function() {
  791. // input.scrollIntoView();
  792. // }, 0);
  793. // if (input.setSelectionRange) {
  794. // setTimeout(function() {
  795. // input.setSelectionRange(0, input.value.length);
  796. // }, 0);
  797. // } else if (input.createTextRange) {
  798. // var rng = input.createTextRange();
  799. // rng.move("character", input.value.length);
  800. // rng.select();
  801. // }
  802. // },
  803. // lastInputBlur: function(event) {
  804. // var input = event.target;
  805. // setTimeout(function() {
  806. // input.style.marginBottom = "";
  807. // }, 0);
  808. // },
  809. // lastInputFocus: function(event) {
  810. // var input = event.target;
  811. // setTimeout(function() {
  812. // input.style.marginBottom = "2rem";
  813. // input.parentNode.scrollIntoView();
  814. // }, 0);
  815. // },
  816. // GetDialysateFormulationById: function(val) {
  817. // let name = "";
  818. // let dfl = this.dialysateFormulationOptions.length;
  819. // for (let index = 0; index < dfl; index++) {
  820. // if (this.dialysateFormulationOptions[index].id == val) {
  821. // name = this.dialysateFormulationOptions[index].name;
  822. // break;
  823. // }
  824. // }
  825. // return name;
  826. // },
  827. // GetAnticoagulantById: function(val) {
  828. // let anticoagulan_name = "";
  829. // let anticoagulant = this.anticoagulantsConfit;
  830. // for (let keys in anticoagulant) {
  831. // if (anticoagulant[keys].id == val) {
  832. // anticoagulan_name = anticoagulant[keys].name;
  833. // }
  834. // }
  835. // return anticoagulan_name;
  836. // },
  837. // tranDoctor(id) {
  838. // if (id in this.adminUserOptions) {
  839. // return this.adminUserOptions[id].name;
  840. // } else {
  841. // return "未知";
  842. // }
  843. // },
  844. // fetchAllAdminUsers() {
  845. // fetchAllAdminUsers().then(response => {
  846. // if (response.data.state == 1) {
  847. // var ul = response.data.data.users.length;
  848. // for (let index = 0; index < ul; index++) {
  849. // this.adminUserOptions[response.data.data.users[index].id] =
  850. // response.data.data.users[index];
  851. // }
  852. // }
  853. // });
  854. // },
  855. // onLoad() {
  856. // // 异步更新数据
  857. // this.queryParams.page++;
  858. // GetPatientDialysisSolutionList(this.queryParams).then(response => {
  859. // if (response.data.state == 1) {
  860. // var sl = response.data.data.solutions.length;
  861. // if (sl == 0) {
  862. // this.finished = true;
  863. // } else {
  864. // for (let index = 0; index < sl; index++) {
  865. // var solution = response.data.data.solutions[index];
  866. // solution.no = allno;
  867. // solution.edate = parseTime(
  868. // solution.updated_time,
  869. // "{y}-{m}-{d} {h}:{i}"
  870. // );
  871. // allno++;
  872. // this.tableDate.push(solution);
  873. // }
  874. // }
  875. // this.loading = false;
  876. // }
  877. // });
  878. // }
  879. // },
  880. // created() {
  881. // allno = 1;
  882. // this.fetchAllAdminUsers();
  883. // this.queryParams.id = this.$route.query.patient_id;
  884. // this.onLoad();
  885. // this.modeOption = this.$store.getters.treatment_mode;
  886. // this.dialysateFormulationOptions = getDataConfig(
  887. // "hemodialysis",
  888. // "dialysate_formulation"
  889. // );
  890. // this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
  891. // var date = this.$route.query && this.$route.query.date;
  892. // date *= 1000;
  893. // var newDate = new Date(date);
  894. // var y = newDate.getFullYear();
  895. // var m = newDate.getMonth() + 1;
  896. // var d = newDate.getDate();
  897. // if (isNaN(y) || isNaN(m) || isNaN(d)) {
  898. // newDate = new Date();
  899. // y = newDate.getFullYear();
  900. // m = newDate.getMonth() + 1;
  901. // d = newDate.getDate();
  902. // }
  903. // this.record_date =
  904. // y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d);
  905. // },
  906. // components: {
  907. // CheckBoxSubMenu
  908. // }
  909. // };
  910. </script>
  911. <script>
  912. import {
  913. getNewPatientId,
  914. GetLongDialysisRecord,
  915. getPatientDetail,
  916. DeleteLongDialysis
  917. } from "@/api/patient/patient";
  918. import { uParseTime } from "@/utils/tools";
  919. import Vue from "vue";
  920. import { Dialog } from "vant";
  921. const moment = require("moment");
  922. export default {
  923. props: {
  924. active: Number
  925. },
  926. data() {
  927. return {
  928. newShow: false,
  929. typeShow: false,
  930. startShow: false,
  931. endShow: false,
  932. type: "请选择",
  933. columns: [
  934. "杭州",
  935. "宁波",
  936. "温州",
  937. "嘉兴",
  938. "湖州",
  939. "杭州",
  940. "宁波",
  941. "温州",
  942. "嘉兴",
  943. "湖州"
  944. ],
  945. startTime: "请选择",
  946. endTime: "请选择",
  947. endTimes: "",
  948. minDate: new Date(1970, 0, 1),
  949. maxDate: new Date(2025, 10, 1),
  950. currentDate: new Date(),
  951. actions: [{ name: "查看全部" }, { name: "全部删除" }],
  952. loading: false,
  953. finished: false,
  954. limit: 10,
  955. page: 1,
  956. total: 0,
  957. anticoagulantsSet: {
  958. type: 1
  959. },
  960. replacementWays: null,
  961. anticoagulantsConfit: null,
  962. dialysate_formulation: [],
  963. body_fluid_option: [],
  964. special_medicine_option: [],
  965. displace_liqui_part_option: [],
  966. blood_access_option: [],
  967. dialysisrecord: [],
  968. list: [],
  969. patient_id: "",
  970. showOne: true,
  971. showTwo: false,
  972. id: 0,
  973. index: 0,
  974. newpatientid:0,
  975. date:0,
  976. patient_name:"",
  977. };
  978. },
  979. methods: {
  980. onCancel() {
  981. this.typeShow = false;
  982. },
  983. onConfirm(value) {
  984. this.type = value;
  985. this.typeShow = false;
  986. },
  987. getstartTime(value) {
  988. this.page = 1;
  989. let year = value.getFullYear();
  990. let month = value.getMonth() + 1;
  991. let day = value.getDate();
  992. if (month >= 1 && month <= 9) {
  993. month = `0${month}`;
  994. }
  995. if (day >= 1 && day <= 9) {
  996. day = `0${day}`;
  997. }
  998. this.startTime = `${year}-${month}-${day}`;
  999. this.dialysisrecord = [];
  1000. this.GetLongDialysisRecord(
  1001. this.newpatientid,
  1002. this.limit,
  1003. this.page,
  1004. this.startTime,
  1005. this.endTime
  1006. );
  1007. this.startShow = false;
  1008. },
  1009. getstartTime2(value) {
  1010. this.page = 1;
  1011. let year = value.getFullYear();
  1012. let month = value.getMonth() + 1;
  1013. let day = value.getDate();
  1014. if (month >= 1 && month <= 9) {
  1015. month = `0${month}`;
  1016. }
  1017. if (day >= 1 && day <= 9) {
  1018. day = `0${day}`;
  1019. }
  1020. this.endTime = `${year}-${month}-${day}`;
  1021. this.dialysisrecord = [];
  1022. this.GetLongDialysisRecord(
  1023. this.newpatientid,
  1024. this.limit,
  1025. this.page,
  1026. this.startTime,
  1027. this.endTime
  1028. );
  1029. this.endShow = false;
  1030. },
  1031. GetLongDialysisRecord(id, limit, page, startime, endtime) {
  1032. GetLongDialysisRecord(
  1033. id,
  1034. this.limit,
  1035. this.page,
  1036. this.startTime,
  1037. this.endTimes
  1038. ).then(response => {
  1039. if (response.data.state === 1) {
  1040. var dialysis = response.data.data.dialysisrecord;
  1041. for (let index = 0; index < dialysis.length; index++) {
  1042. if (dialysis[index].mode_id === 1) {
  1043. dialysis[index].mode_id = "HD";
  1044. }
  1045. if (dialysis[index].mode_id === 2) {
  1046. dialysis[index].mode_id = "HDF";
  1047. }
  1048. if (dialysis[index].mode_id === 3) {
  1049. dialysis[index].mode_id = "HD+HP";
  1050. }
  1051. if (dialysis[index].mode_id === 4) {
  1052. dialysis[index].mode_id = "HP";
  1053. }
  1054. if (dialysis[index].mode_id === 5) {
  1055. dialysis[index].mode_id = "HF";
  1056. }
  1057. if (dialysis[index].mode_id === 6) {
  1058. dialysis[index].mode_id = "SCUF";
  1059. }
  1060. if (dialysis[index].mode_id === 7) {
  1061. dialysis[index].mode_id = "IUF";
  1062. }
  1063. if (dialysis[index].mode_id === 8) {
  1064. dialysis[index].mode_id = "HFHD";
  1065. }
  1066. if (dialysis[index].mode_id === 9) {
  1067. dialysis[index].mode_id = "HFHD+HP";
  1068. }
  1069. if (dialysis[index].mode_id === 10) {
  1070. dialysis[index].mode_id = "PHF";
  1071. }
  1072. if (dialysis[index].mode_id === 11) {
  1073. dialysis[index].mode_id = "HFR";
  1074. }
  1075. if (dialysis[index].mode_id === 12) {
  1076. dialysis[index].mode_id = "HDF+HP";
  1077. }
  1078. if (dialysis[index].mode_id === 13) {
  1079. dialysis[index].mode_id = "CRRT";
  1080. }
  1081. if (dialysis[index].mode_id === 14) {
  1082. dialysis[index].mode_id = "腹水回输";
  1083. }
  1084. if (dialysis[index].mode_id === 15) {
  1085. dialysis[index].mode_id = "HD前置换";
  1086. }
  1087. if (dialysis[index].mode_id === 16) {
  1088. dialysis[index].mode_id = "HD后置换";
  1089. }
  1090. if (dialysis[index].mode_id === 17) {
  1091. dialysis[index].mode_id = "HDF前置换";
  1092. }
  1093. if (dialysis[index].mode_id === 18) {
  1094. dialysis[index].mode_id = "HDF后置换";
  1095. }
  1096. if (dialysis[index].dialysate_formulation === 1) {
  1097. dialysis[index].dialysate_formulation = "常规";
  1098. }
  1099. if (dialysis[index].dialysate_formulation === 2) {
  1100. dialysis[index].dialysate_formulation = "低钙";
  1101. }
  1102. if (dialysis[index].dialysate_formulation === 1) {
  1103. dialysis[index].dialysate_formulation = "高钙";
  1104. }
  1105. if (dialysis[index].dialysate_formulation === 1) {
  1106. dialysis[index].dialysate_formulation = "低钠";
  1107. }
  1108. if (dialysis[index].dialysate_formulation === 1) {
  1109. dialysis[index].dialysate_formulation = "高钠";
  1110. }
  1111. if (dialysis[index].displace_liqui_part === 0) {
  1112. dialysis[index].displace_liqui_part = "";
  1113. }
  1114. if (dialysis[index].displace_liqui_part === 1) {
  1115. dialysis[index].displace_liqui_part = "前稀释";
  1116. }
  1117. if (dialysis[index].displace_liqui_part === 2) {
  1118. dialysis[index].displace_liqui_part = "后稀释";
  1119. }
  1120. }
  1121. let arr = this.dialysisrecord;
  1122. arr.push(...dialysis);
  1123. this.dialysisrecord = arr;
  1124. console.log("长期透析处方", dialysis);
  1125. var total = response.data.data.total;
  1126. // console.log("total", total);
  1127. this.loading = false;
  1128. }
  1129. });
  1130. },
  1131. onLoad() {
  1132. setTimeout(() => {
  1133. this.page++;
  1134. if (this.page <= Math.ceil(this.total / 10)) {
  1135. this.GetLongDialysisRecord(
  1136. this.newpatientid,
  1137. this.limit,
  1138. this.page,
  1139. this.startTime,
  1140. this.endTimes
  1141. );
  1142. } else {
  1143. this.loading = false;
  1144. this.finished = true;
  1145. }
  1146. }, 1000);
  1147. },
  1148. getTime(time) {
  1149. // return uParseTime(time, "{y}-{m}-{d} {h}:{i}:{s}");
  1150. return uParseTime(time, "{y}-{m}-{d}");
  1151. },
  1152. getBloodAccessOption(id) {
  1153. for (let i = 0; i < this.blood_access_option.length; i++) {
  1154. if ((this.blood_access_option[i].id = id)) {
  1155. return this.blood_access_option[i].name;
  1156. }
  1157. }
  1158. },
  1159. getSpecialMedicine(id) {
  1160. for (let i = 0; i < this.special_medicine_option.length; i++) {
  1161. if ((this.special_medicine_option[i].id = id)) {
  1162. return this.special_medicine_option[i].name;
  1163. }
  1164. }
  1165. },
  1166. getPatientDetail() {
  1167. getPatientDetail(this.newpatientid).then(response => {
  1168. if (response.data.state === 1) {
  1169. var patientDetail = response.data.data.patientDetail;
  1170. if (patientDetail.blood_patients == 0) {
  1171. this.dialysisrecord = [];
  1172. this.showOne = false;
  1173. this.showTwo = true;
  1174. }
  1175. if (patientDetail.blood_patients == 1) {
  1176. this.showOne = true;
  1177. this.showTwo = false;
  1178. }
  1179. this.patientName = patientDetail.name;
  1180. }
  1181. });
  1182. },
  1183. toLongDialysisDetail(id) {
  1184. var patientid = this.$route.query.patient_id
  1185. this.$router.push(
  1186. "/longDialysis?id=" +
  1187. id +
  1188. "&patientid=" +
  1189. patientid+"&date="+this.date+"&patient_name="+this.patient_name
  1190. );
  1191. },
  1192. toLongDialysis(id, index) {
  1193. this.id = id;
  1194. this.index = index;
  1195. this.newShow = true;
  1196. },
  1197. toDelete(value) {
  1198. if (value.name == "查看全部") {
  1199. var patientid = this.$route.query.patient_id
  1200. this.$router.push(
  1201. "/longDialysis?id=" +
  1202. this.id +
  1203. "&patientid=" +
  1204. patientid+"&date="+this.date+"&patient_name="+this.patient_name
  1205. );
  1206. }
  1207. if (value.name == "全部删除") {
  1208. this.DeleteLongDialysis(this.id, this.index);
  1209. }
  1210. },
  1211. DeleteLongDialysis(id, index) {
  1212. Dialog.confirm({
  1213. title: "删除提示!",
  1214. message: "确认删除该条信息吗?,删除后将无法恢复!"
  1215. }).then(() => {
  1216. DeleteLongDialysis(id).then(response => {
  1217. if (response.data.state === 1) {
  1218. var msg = response.data.data.msg;
  1219. this.dialysisrecord.splice(index, 1);
  1220. this.newShow = false;
  1221. }
  1222. });
  1223. });
  1224. },
  1225. getNewPatientId(id){
  1226. getNewPatientId(id).then(response=>{
  1227. if(response.data.state == 1){
  1228. var patient = response.data.data.patient
  1229. this.newpatientid = patient.id
  1230. this.GetLongDialysisRecord(this.newpatientid);
  1231. this.onLoad()
  1232. this.getPatientDetail(this.newpatientid);
  1233. }
  1234. })
  1235. },
  1236. },
  1237. created() {
  1238. var patient_id = this.$route.query.patient_id
  1239. this.getNewPatientId(patient_id)
  1240. this.date = this.$route.query.date
  1241. this.patient_name = this.$route.query.patient_name
  1242. this.blood_access_option = this.$store.getters.blood_access;
  1243. this.anticoagulantsSet = this.$store.getters.anticoagulants_set;
  1244. this.replacementWays = this.$store.getters.replacement_ways;
  1245. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
  1246. this.blood_filters = this.$store.getters.blood_filters;
  1247. this.dialysate_formulation = this.$store.getters.dialysate_formulation;
  1248. this.body_fluid_option = this.$store.getters.body_fluid;
  1249. this.special_medicine_option = this.$store.getters.special_medicine;
  1250. this.displace_liqui_part_option = this.$store.getters.displace_liqui;
  1251. }
  1252. };
  1253. </script>
  1254. <style lang="scss" scoped>
  1255. .newLongDialysis {
  1256. height: 100%;
  1257. overflow-y: auto;
  1258. background: #fff;
  1259. padding-top:1.46rem;
  1260. .toolBox {
  1261. display: flex;
  1262. height: 1.6rem;
  1263. align-items: center;
  1264. .toolOne {
  1265. width: 3.4rem;
  1266. height: 1rem;
  1267. background: rgba(246, 246, 246, 1);
  1268. border-radius: 5px;
  1269. text-align: center;
  1270. font-size: 0.42rem;
  1271. color: #8d8d8d;
  1272. display: flex;
  1273. align-items: center;
  1274. justify-content: space-around;
  1275. margin-left: 0.42rem;
  1276. }
  1277. }
  1278. .adviceBox {
  1279. padding: 0 0.66rem;
  1280. margin-bottom: 1.6rem;
  1281. }
  1282. .adviceMain {
  1283. > div:last-child {
  1284. border: none;
  1285. }
  1286. }
  1287. .adviceOne {
  1288. // box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
  1289. border-bottom: 1px solid #e5e5e5;
  1290. padding-bottom: 0.34rem;
  1291. }
  1292. .adviceTitle {
  1293. padding-top: 0.34rem;
  1294. display: flex;
  1295. align-items: center;
  1296. justify-content: space-between;
  1297. p {
  1298. color: #000000;
  1299. font-weight: bold;
  1300. font-size: 0.5rem;
  1301. }
  1302. .ellipsis {
  1303. font-size: 0.66rem;
  1304. color: #cccccc;
  1305. }
  1306. }
  1307. .orderContent {
  1308. font-size: 0.46rem;
  1309. color: rgba(49, 50, 52, 1);
  1310. margin-top: 0.34rem;
  1311. display: flex;
  1312. flex-wrap: wrap;
  1313. p {
  1314. line-height: 0.8rem;
  1315. width: 50%;
  1316. }
  1317. }
  1318. .doctorBox {
  1319. font-size: 0.4rem;
  1320. color: rgba(152, 152, 152, 1);
  1321. line-height: 0.6rem;
  1322. display: flex;
  1323. align-items: center;
  1324. justify-content: space-between;
  1325. margin-top: 0.34rem;
  1326. }
  1327. .all {
  1328. font-size: 0.43rem;
  1329. color: #5b98ff;
  1330. margin-top: 0.34rem;
  1331. }
  1332. .noimgBox {
  1333. margin-top: 40%;
  1334. img {
  1335. width: 5rem;
  1336. height: 5rem;
  1337. margin: 0 auto;
  1338. display: block;
  1339. }
  1340. }
  1341. // .add {
  1342. // position: fixed;
  1343. // bottom: 0;
  1344. // left: 0;
  1345. // width: 100%;
  1346. // height: 2.75rem;
  1347. // background: rgba(255, 255, 255, 1);
  1348. // box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1);
  1349. // display: flex;
  1350. // align-items: center;
  1351. // justify-content: space-around;
  1352. // font-size: 0.9375rem;
  1353. // color: #979798;
  1354. // .addIcon {
  1355. // color: #5b98ff;
  1356. // font-size: 1.25rem;
  1357. // margin-right: 0.25rem;
  1358. // }
  1359. // }
  1360. .van-popup {
  1361. border-radius: 0;
  1362. transform: translate3d(0, 0, 0);
  1363. top: initial;
  1364. }
  1365. }
  1366. ::-webkit-scrollbar {
  1367. width: 0;
  1368. }
  1369. </style>
  1370. <style lang="scss">
  1371. .newLongDialysis{
  1372. .van-picker__toolbar{
  1373. height: 1.46rem;
  1374. line-height: 1.46rem;
  1375. }
  1376. .van-picker__cancel, .van-picker__confirm{
  1377. padding: 0 0.53rem;
  1378. font-size: 0.46rem;
  1379. }
  1380. .van-picker-column{
  1381. font-size: 0.53rem;
  1382. }
  1383. .van-picker-column__item{
  1384. padding: 0 0.14rem;
  1385. }
  1386. .van-action-sheet__item{
  1387. height: 1.6rem;
  1388. }
  1389. .van-action-sheet__cancel, .van-action-sheet__item{
  1390. height: 1.6rem;
  1391. font-size: 0.53rem;
  1392. line-height: 1.6rem;
  1393. }
  1394. .van-action-sheet__gap{
  1395. height: 0.26rem;
  1396. }
  1397. .van-action-sheet__cancel::before{
  1398. height: 0.26rem;
  1399. }
  1400. }
  1401. </style>
  1402. // <style style="stylesheet/scss" lang="scss" scoped>
  1403. // .textarea {
  1404. // width: 100%;
  1405. // height: 2.4rem;
  1406. // line-height: 0.6rem;
  1407. // color: $pgh-color;
  1408. // font-size: 0.28rem;
  1409. // padding-left: 0.36rem;
  1410. // border: none;
  1411. // border-bottom: 1px #e5e5e5 solid;
  1412. // }
  1413. // .tableTit {
  1414. // background: $main-color;
  1415. // color: $text-color;
  1416. // @include box-sizing;
  1417. // ul {
  1418. // @include display-flex;
  1419. // @include align-items-center;
  1420. // @include text-align;
  1421. // @include justify-content-center;
  1422. // li {
  1423. // @include flex;
  1424. // border-right: 2px #fff solid;
  1425. // font-size: 0.45rem;
  1426. // height: 1.2rem;
  1427. // line-height: 1.2rem;
  1428. // }
  1429. // &:last-child {
  1430. // border-right: none;
  1431. // }
  1432. // }
  1433. // }
  1434. // .tableDate {
  1435. // background: $text-color;
  1436. // color: $pgh-color;
  1437. // @include box-sizing;
  1438. // ul {
  1439. // li {
  1440. // font-size: 0.45rem;
  1441. // height: 1.2rem;
  1442. // line-height: 1.2rem;
  1443. // @include display-flex;
  1444. // @include align-items-center;
  1445. // @include text-align;
  1446. // @include justify-content-center;
  1447. // span {
  1448. // @include flex;
  1449. // border-right: 2px #fff solid;
  1450. // border-bottom: 2px #fff solid;
  1451. // background: #ecf5ff;
  1452. // display: inline-block;
  1453. // height: 1.2rem;
  1454. // line-height: 1.2rem;
  1455. // &:last-child {
  1456. // color: $main-color;
  1457. // }
  1458. // .iconfont {
  1459. // color: $main-color;
  1460. // font-size: 0.45rem;
  1461. // margin-right: 0.1rem;
  1462. // }
  1463. // }
  1464. // }
  1465. // &:last-child {
  1466. // border-right: none;
  1467. // }
  1468. // }
  1469. // }
  1470. // .scrollBox {
  1471. // width: 100%;
  1472. // overflow: auto;
  1473. // .scrollTable {
  1474. // width: 768px;
  1475. // }
  1476. // }
  1477. // </style>
  1478. // <style lang="scss">
  1479. // .newTable {
  1480. // .el-table td {
  1481. // padding: 0;
  1482. // }
  1483. // .el-table th {
  1484. // padding: 6px 0;
  1485. // }
  1486. // }
  1487. // </style>