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

templateSummary.vue 73KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913
  1. <template>
  2. <div class="patient-container">
  3. <patient-sidebar :id="patient_id" defaultActive="1-9"></patient-sidebar>
  4. <div v-loading="loading">
  5. <div class="patient-app-container advice-container app-container">
  6. <div>
  7. <span style="margin-left: 10px;float:right;">
  8. <el-button type="primary" icon="el-icon-circle-plus-outline" size="small"
  9. @click="show_dialog = true">新增</el-button>
  10. <el-button type="primary" icon="el-icon-edit-outline" size="small"
  11. @click="showEdit">修改</el-button>
  12. <el-button type="primary" icon="el-icon-printer" size="small"
  13. @click="print">打印</el-button>
  14. <el-button size="small" type="danger" @click="deleteAction">删除</el-button>
  15. </span>
  16. </div>
  17. <!--<div></div>-->
  18. <div class="cell clearfix">
  19. <label class="title"><span class="name">日期查询</span> : </label>
  20. <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
  21. type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
  22. value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
  23. <span class="">-</span>
  24. <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
  25. type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
  26. value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
  27. </div>
  28. <div class="record">
  29. <el-row :gutter="15">
  30. <el-col :span="10">
  31. <el-table :header-cell-style="{
  32. backgroundColor: 'rgb(245, 247, 250)',
  33. color: '#606266'
  34. }"
  35. :row-style="{ color: '#303133' }" ref="inspection_table" :data="inspectionList"
  36. border highlight-current-row @current-change="changeCurrentRecordTwo"
  37. @selection-change="selectSummary"
  38. :row-class-name="tableRow"
  39. >
  40. <el-table-column type="selection" width="60" align="center"></el-table-column>
  41. <el-table-column label="阶段小结名称" align="center">
  42. <template slot-scope="scope">
  43. {{scope.row.title}}
  44. </template>
  45. </el-table-column>
  46. <el-table-column label="记录时间" align="center">
  47. <template slot-scope="scope">
  48. {{getTime(scope.row.record_time)}}
  49. </template>
  50. </el-table-column>
  51. <el-table-column label="记录医生" align="center">
  52. <template slot-scope="scope">
  53. {{getDoctor(scope.row.admin_user_id)}}
  54. </template>
  55. </el-table-column>
  56. </el-table>
  57. </el-col>
  58. <el-col :span="14">
  59. <div class="record_content_panel">
  60. <div style="background-color:rgb(245, 247, 250)" class="title">阶段小结内容</div>
  61. <div style="padding:10px;border-bottom:1px solid #DCDFE6;">阶段小结时间:<span v-if="editObj.record_time!=''">{{getTime(editObj.record_time)}}</span></div>
  62. <!-- <div style="padding: 10px 10px 0;">阶段小结概要:</div>
  63. <div style="padding:10px;border-bottom:1px solid #DCDFE6;">
  64. <span style="margin-right:10px;line-height:30px;">干体重(kg):{{editObj.dry_weight}}</span>
  65. <span style="margin-right:10px;line-height:30px;">共透析:{{editObj.dialysis_count}}次</span>
  66. <span style="margin-right:10px;line-height:30px;">HD:{{editObj.hd_count}}次</span>
  67. <br>
  68. <span style="margin-right:10px;line-height:30px;">HDF:{{editObj.hdf_count}}次</span>
  69. <span style="margin-right:10px;line-height:30px;">HP:{{editObj.hp_count}}次</span>
  70. <span style="margin-right:10px;line-height:30px;">其他:{{editObj.other_count}}次</span>
  71. <br>
  72. <span style="margin-right:10px;line-height:30px;">透析器:{{editObj.dialzer_apparatus}}</span>
  73. <span style="margin-right:10px;line-height:30px;">灌流器:{{editObj.perfusion_apparatus}}</span>
  74. <span style="margin-right:10px;line-height:30px;">抗凝剂:
  75. <span> {{getAnticoagulant(editObj.anticoagulant)}}</span>
  76. </span>
  77. <span style="margin-right:10px;line-height:30px;">透析液:(钾:{{editObj.kalium}} 钙:{{editObj.autunite}} Na:{{editObj.natrium}})</span>
  78. <br>
  79. <span style="margin-right:10px;line-height:30px;">每次透析:<span v-if="editObj.hour!=''"> {{editObj.hour}}小时</span>
  80. <span v-if="editObj.minute!=0">{{editObj.minute}}分</span></span>
  81. <span style="margin-right:10px;line-height:30px;">透前体重(kg):{{editObj.befor_weight}}</span>
  82. <span style="margin-right:10px;line-height:30px;">透后体重(kg):{{editObj.after_weight}}</span>
  83. <br>
  84. <span style="margin-right:10px;line-height:30px;">透前血压(mmHg):{{editObj.befor_pressure}}</span>
  85. <span style="margin-right:10px;line-height:30px;">透后血压(mmHg):{{editObj.after_pressure}}</span>
  86. </div> -->
  87. <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">阶段小结总结:
  88. <span v-html="editObj.template_summary_content"></span>
  89. </div>
  90. <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">阶段小结化验结果:
  91. <div>
  92. <div v-for="item in editObj.template_inspection_content">
  93. <p style="font-weight: bold;margin: 10px 0;">{{ item.project_name }} 检查日期:{{getTime(item.arr[0].inspect_date)}}</p>
  94. <div style="display:flex;flex-wrap: wrap;">
  95. <div v-for="it in item.arr" style="width:33%;margin-bottom:5px;">
  96. {{ it.item_name }} <span v-if="it.unit!=''">[{{it.unit}}]</span>:
  97. {{it.inspect_value}}
  98. <span v-if="parseInt(it.inspect_value) < parseInt(it.range_min)">
  99. </span>
  100. <span v-if="parseInt(it.inspect_value) > parseInt(it.range_max)">
  101. </span>
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. </div>
  107. <!-- <div style="padding:10px;line-height:20px;">阶段小结个体化透析方案:
  108. <span v-html="editObj.template_plan_content"></span>
  109. </div> -->
  110. </div>
  111. </el-col>
  112. </el-row>
  113. </div>
  114. </div>
  115. <el-dialog title="新增阶段小结" width="80%" top="5vh" :visible.sync="show_dialog">
  116. <div>
  117. <div class="new_record_form">
  118. <div class="cell clearfix">
  119. <el-form :model="form" ref="form">
  120. <el-row :gutter="24">
  121. <el-col :span="20">
  122. <el-form-item label="阶段小结名称:">
  123. <el-input v-model="form.title"></el-input>
  124. </el-form-item>
  125. </el-col>
  126. </el-row>
  127. <!-- <el-row :gutter="24">
  128. <el-col :span="8">
  129. <el-form-item label="阶段小结时间:">
  130. <el-date-picker
  131. @change="changeStartYear"
  132. v-model="form.start_year"
  133. type="year"
  134. value-format="yyyy"
  135. placeholder="选择年">
  136. </el-date-picker>
  137. </el-form-item>
  138. </el-col>
  139. <el-col :span="8">
  140. <el-form-item>
  141. <el-radio-group v-model="form.radio">
  142. <el-radio :label="1" >月份</el-radio>
  143. <el-radio :label="2" >季度</el-radio>
  144. </el-radio-group>
  145. </el-form-item>
  146. </el-col>
  147. <el-col :span="8" v-if="form.radio == 1">
  148. <el-form-item>
  149. <el-date-picker
  150. @change="changeStartMonth"
  151. value-format="MM"
  152. v-model="form.start_month"
  153. type="month"
  154. placeholder="选择月">
  155. </el-date-picker>
  156. </el-form-item>
  157. </el-col>
  158. <el-col :span="8" v-if="form.radio == 2">
  159. <el-form-item>
  160. <el-select v-model="form.quarter" placeholder="请选择" @change="changeQuarter">
  161. <el-option
  162. v-for="item in timeType"
  163. :key="item.id"
  164. :label="item.name"
  165. :value="item.id">
  166. </el-option>
  167. </el-select>
  168. </el-form-item>
  169. </el-col>
  170. </el-row> -->
  171. </el-form>
  172. </div>
  173. <div class="cell clearfix" style="margin-top: 10px">
  174. <!-- <label class="title"><span class="name">阶段小结摘要</span> : </label> -->
  175. <el-form>
  176. <!-- <el-row :gutter="24">
  177. <el-col :span="8">
  178. <el-form-item label="干体重">
  179. <el-input v-model="form.dry_weight"></el-input>
  180. </el-form-item>
  181. </el-col>
  182. <el-col :span="8">
  183. <el-form-item label="共透析(次)">
  184. <el-input v-model="form.dialysis_count"></el-input>
  185. </el-form-item>
  186. </el-col>
  187. <el-col :span="8">
  188. <el-form-item label="HD(次)">
  189. <el-input v-model="form.hd_count"></el-input>
  190. </el-form-item>
  191. </el-col>
  192. </el-row>
  193. <el-row :gutter="24">
  194. <el-col :span="8">
  195. <el-form-item label="HDF(次)">
  196. <el-input v-model="form.hdf_count"></el-input>
  197. </el-form-item>
  198. </el-col>
  199. <el-col :span="8">
  200. <el-form-item label="HP(次)">
  201. <el-input v-model="form.hp_count"></el-input>
  202. </el-form-item>
  203. </el-col>
  204. <el-col :span="8">
  205. <el-form-item label="其他(次)">
  206. <el-input v-model="form.other_count"></el-input>
  207. </el-form-item>
  208. </el-col>
  209. </el-row>
  210. <el-row :gutter="24">
  211. <el-col :span="8">
  212. <el-form-item label="透析器">
  213. <el-input v-model="form.dialzer_apparatus" @focus="showInnerDialog('7')"></el-input>
  214. </el-form-item>
  215. </el-col>
  216. <el-col :span="8">
  217. <el-form-item label="灌流器">
  218. <el-input v-model="form.perfusion_apparatus" @focus="showInnerDialog('8')"></el-input>
  219. </el-form-item>
  220. </el-col>
  221. <el-col :span="8">
  222. <el-form-item label="抗凝剂">
  223. <el-select v-model="form.anticoagulant" placeholder="请选择" style="width:100%;">
  224. <el-option :key="0" label="请选择" :value="0"></el-option>
  225. <el-option v-for="(item, index) in anticoagulantList" :label="item.name" :key="index + 'e'"
  226. :value="item.id"></el-option>
  227. </el-select>
  228. </el-form-item>
  229. </el-col>
  230. </el-row>
  231. <div>透析液</div>
  232. <el-row :gutter="24">
  233. <el-col :span="8">
  234. <el-form-item label="钾">
  235. <el-input v-model="form.kalium"></el-input>
  236. </el-form-item>
  237. </el-col>
  238. <el-col :span="8">
  239. <el-form-item label="钙">
  240. <el-input v-model="form.autunite"></el-input>
  241. </el-form-item>
  242. </el-col>
  243. <el-col :span="8">
  244. <el-form-item label="钠">
  245. <el-input v-model="form.natrium"></el-input>
  246. </el-form-item>
  247. </el-col>
  248. </el-row>
  249. <div>透析时长</div>
  250. <el-row :gutter="24">
  251. <el-col :span="8">
  252. <el-form-item label="时">
  253. <el-input v-model="form.hour"></el-input>
  254. </el-form-item>
  255. </el-col>
  256. <el-col :span="8">
  257. <el-form-item label="分">
  258. <el-input v-model="form.minute"></el-input>
  259. </el-form-item>
  260. </el-col>
  261. </el-row>
  262. <el-row :gutter="24">
  263. <el-col :span="8">
  264. <el-form-item label="透前体重(kg)">
  265. <el-input v-model="form.befor_weight"></el-input>
  266. </el-form-item>
  267. </el-col>
  268. <el-col :span="8">
  269. <el-form-item label="透后体重(kg)">
  270. <el-input v-model="form.after_weight"></el-input>
  271. </el-form-item>
  272. </el-col>
  273. </el-row>
  274. <el-row :gutter="24">
  275. <el-col :span="8">
  276. <el-form-item label="透前血压(mmHg)">
  277. <el-input v-model="form.befor_pressure"></el-input>
  278. </el-form-item>
  279. </el-col>
  280. <el-col :span="8">
  281. <el-form-item label="透后血压(mmHg)">
  282. <el-input v-model="form.after_pressure"></el-input>
  283. </el-form-item>
  284. </el-col>
  285. </el-row> -->
  286. <el-row>
  287. <label class="title"><span class="name">阶段小结总结</span> : </label>
  288. <el-select v-model="form.template_summary_id" placeholder="请选择" @change="changeSummary">
  289. <el-option
  290. v-for="item in summaryList"
  291. :key="item.value"
  292. :label="item.content"
  293. :value="item.value">
  294. </el-option>
  295. </el-select>
  296. <keep-alive>
  297. <editor ref="edit_neditor"
  298. id="edit_editor1"
  299. style="width: 800px"
  300. v-bind:r_content="form.template_summary_content">
  301. </editor>
  302. </keep-alive>
  303. <!-- <el-input style="margin:10px 0;" type="textarea" autosize v-model="form.template_summary_content"></el-input> -->
  304. </el-row>
  305. <!-- <el-row>
  306. <label class="title"><span class="name">阶段小结个体化透析方案</span> : </label>
  307. <el-select v-model="form.template_plan_id" placeholder="请选择" @change="changeTempalte">
  308. <el-option
  309. v-for="item in planList"
  310. :key="item.value"
  311. :label="item.content"
  312. :value="item.value">
  313. </el-option>
  314. </el-select>
  315. <keep-alive>
  316. <editor ref="edit_neditorOne"
  317. id="edit_editor"
  318. style="width: 800px"
  319. v-bind:r_content="form.template_plan_content">
  320. </editor>
  321. </keep-alive>
  322. </el-row> -->
  323. <el-row>
  324. <label class="title"><span class="name">阶段小结化验结果</span> : </label>
  325. <el-button type="primary" @click="toInspection">选择检验检查</el-button>
  326. <div class="borderBox">
  327. <div v-for="item in form.template_inspection_content">
  328. <p>{{ item.project_name }}</p>
  329. <div style="display:flex;flex-wrap: wrap;">
  330. <div v-for="it in item.arr" style="width:33%;">
  331. {{ it.item_name }} <span v-if="it.unit!=''"> [{{it.unit}}] </span>:
  332. {{it.inspect_value}}
  333. <span v-if="parseInt(it.inspect_value) < parseInt(it.range_min)">
  334. </span>
  335. <span v-if="parseInt(it.inspect_value) > parseInt(it.range_max)">
  336. </span>
  337. </div>
  338. </div>
  339. </div>
  340. </div>
  341. </el-row>
  342. <el-row style="margin:10px 0 0;">
  343. <el-col :span="8">
  344. <el-form-item label="记录医生">
  345. <el-select v-model="form.admin_user_id" placeholder="请选择">
  346. <el-option
  347. v-for="item in docList"
  348. :key="item.admin_user_id"
  349. :label="item.user_name"
  350. :value="item.admin_user_id">
  351. </el-option>
  352. </el-select>
  353. </el-form-item>
  354. </el-col>
  355. <el-col :span="8">
  356. <el-form-item label="记录时间">
  357. <el-date-picker
  358. v-model="form.record_time"
  359. type="datetime"
  360. value-format="yyyy-MM-dd HH:mm:ss"
  361. placeholder="选择日期时间">
  362. </el-date-picker>
  363. </el-form-item>
  364. </el-col>
  365. </el-row>
  366. </el-form>
  367. </div>
  368. <div style="text-align: right; padding-right: 0px; padding-top: 10px; padding-bottom: 10px;">
  369. <el-button @click="show_dialog = false">取消</el-button>
  370. <el-button type="primary" @click="saveCreation()">保存
  371. </el-button>
  372. </div>
  373. </div>
  374. </div>
  375. </el-dialog>
  376. <!-- 编辑阶段小结 -->
  377. <el-dialog title="编辑阶段小结" width="80%" top="5vh" :visible.sync="edit_show_dialog">
  378. <div>
  379. <div class="new_record_form">
  380. <div class="cell clearfix">
  381. <el-form :model="form" ref="form">
  382. <el-row :gutter="24">
  383. <el-col :span="20">
  384. <el-form-item label="阶段小结名称:">
  385. <el-input v-model="form.title"></el-input>
  386. </el-form-item>
  387. </el-col>
  388. </el-row>
  389. <!-- <el-row :gutter="24">
  390. <el-col :span="8">
  391. <el-form-item label="阶段小结时间:">
  392. <el-date-picker
  393. v-model="form.start_year"
  394. type="year"
  395. value-format="yyyy-MM-dd"
  396. placeholder="选择年">
  397. </el-date-picker>
  398. </el-form-item>
  399. </el-col>
  400. <el-col :span="8">
  401. <el-form-item>
  402. <el-radio-group v-model="form.radio">
  403. <el-radio :label="1" >月份</el-radio>
  404. <el-radio :label="2" >季度</el-radio>
  405. </el-radio-group>
  406. </el-form-item>
  407. </el-col>
  408. <el-col :span="8" v-if="form.radio == 1">
  409. <el-form-item>
  410. <el-date-picker
  411. @change="changeStartMonth"
  412. value-format="MM"
  413. v-model="form.start_month"
  414. type="month"
  415. placeholder="选择月">
  416. </el-date-picker>
  417. </el-form-item>
  418. </el-col>
  419. <el-col :span="8" v-if="form.radio == 2">
  420. <el-form-item>
  421. <el-select v-model="form.quarter" placeholder="请选择" @change="changeQuarter">
  422. <el-option
  423. v-for="item in timeType"
  424. :key="item.id"
  425. :label="item.name"
  426. :value="item.id">
  427. </el-option>
  428. </el-select>
  429. </el-form-item>
  430. </el-col>
  431. </el-row> -->
  432. </el-form>
  433. </div>
  434. <div class="cell clearfix" style="margin-top: 10px">
  435. <!-- <label class="title"><span class="name">阶段小结摘要</span> : </label> -->
  436. <el-form>
  437. <!-- <el-row :gutter="24">
  438. <el-col :span="8">
  439. <el-form-item label="干体重">
  440. <el-input v-model="form.dry_weight"></el-input>
  441. </el-form-item>
  442. </el-col>
  443. <el-col :span="8">
  444. <el-form-item label="共透析(次)">
  445. <el-input v-model="form.dialysis_count"></el-input>
  446. </el-form-item>
  447. </el-col>
  448. <el-col :span="8">
  449. <el-form-item label="HD(次)">
  450. <el-input v-model="form.hd_count"></el-input>
  451. </el-form-item>
  452. </el-col>
  453. </el-row> -->
  454. <!-- <el-row :gutter="24">
  455. <el-col :span="8">
  456. <el-form-item label="HDF(次)">
  457. <el-input v-model="form.hdf_count"></el-input>
  458. </el-form-item>
  459. </el-col>
  460. <el-col :span="8">
  461. <el-form-item label="HP(次)">
  462. <el-input v-model="form.hp_count"></el-input>
  463. </el-form-item>
  464. </el-col>
  465. <el-col :span="8">
  466. <el-form-item label="其他(次)">
  467. <el-input v-model="form.other_count"></el-input>
  468. </el-form-item>
  469. </el-col>
  470. </el-row> -->
  471. <!-- <el-row :gutter="24">
  472. <el-col :span="8">
  473. <el-form-item label="透析器">
  474. <el-input v-model="form.dialzer_apparatus" @focus="showInnerDialog('7')"></el-input>
  475. </el-form-item>
  476. </el-col>
  477. <el-col :span="8">
  478. <el-form-item label="灌流器">
  479. <el-input v-model="form.perfusion_apparatus" @focus="showInnerDialog('8')"></el-input>
  480. </el-form-item>
  481. </el-col>
  482. <el-col :span="8">
  483. <el-form-item label="抗凝剂">
  484. <el-select v-model="form.anticoagulant" placeholder="请选择" style="width:100%;">
  485. <el-option :key="0" label="请选择" :value="0"></el-option>
  486. <el-option v-for="(item, index) in anticoagulantList" :label="item.name" :key="index + 'e'"
  487. :value="item.id"></el-option>
  488. </el-select>
  489. </el-form-item>
  490. </el-col>
  491. </el-row> -->
  492. <!-- <div>透析液</div>
  493. <el-row :gutter="24">
  494. <el-col :span="8">
  495. <el-form-item label="钾">
  496. <el-input v-model="form.kalium"></el-input>
  497. </el-form-item>
  498. </el-col>
  499. <el-col :span="8">
  500. <el-form-item label="钙">
  501. <el-input v-model="form.autunite"></el-input>
  502. </el-form-item>
  503. </el-col>
  504. <el-col :span="8">
  505. <el-form-item label="钠">
  506. <el-input v-model="form.natrium"></el-input>
  507. </el-form-item>
  508. </el-col>
  509. </el-row> -->
  510. <!-- <div>透析时长</div>
  511. <el-row :gutter="24">
  512. <el-col :span="8">
  513. <el-form-item label="时">
  514. <el-input v-model="form.hour"></el-input>
  515. </el-form-item>
  516. </el-col>
  517. <el-col :span="8">
  518. <el-form-item label="分">
  519. <el-input v-model="form.minute"></el-input>
  520. </el-form-item>
  521. </el-col>
  522. </el-row> -->
  523. <!-- <el-row :gutter="24">
  524. <el-col :span="8">
  525. <el-form-item label="透前体重(kg)">
  526. <el-input v-model="form.befor_weight"></el-input>
  527. </el-form-item>
  528. </el-col>
  529. <el-col :span="8">
  530. <el-form-item label="透后体重(kg)">
  531. <el-input v-model="form.after_weight"></el-input>
  532. </el-form-item>
  533. </el-col>
  534. </el-row> -->
  535. <!-- <el-row :gutter="24">
  536. <el-col :span="8">
  537. <el-form-item label="透前血压(mmHg)">
  538. <el-input v-model="form.befor_pressure"></el-input>
  539. </el-form-item>
  540. </el-col>
  541. <el-col :span="8">
  542. <el-form-item label="透后血压(mmHg)">
  543. <el-input v-model="form.after_pressure"></el-input>
  544. </el-form-item>
  545. </el-col>
  546. </el-row> -->
  547. <el-row>
  548. <label class="title"><span class="name">阶段小结总结</span> : </label>
  549. <el-select v-model="form.template_summary_id" placeholder="请选择" @change="changeSummaryOne">
  550. <el-option
  551. v-for="item in summaryList"
  552. :key="item.value"
  553. :label="item.content"
  554. :value="item.value">
  555. </el-option>
  556. </el-select>
  557. <keep-alive>
  558. <editor ref="edit_neditor"
  559. id="edit_editor2"
  560. style="width: 800px"
  561. v-bind:r_content="form.template_summary_content">
  562. </editor>
  563. </keep-alive>
  564. <!-- <el-input style="margin:10px 0;" type="textarea" autosize v-model="form.template_summary_content"></el-input> -->
  565. </el-row>
  566. <!-- <el-row>
  567. <label class="title"><span class="name">阶段小结个体化透析方案</span> : </label>
  568. <el-select v-model="form.template_plan_id" placeholder="请选择" @change="changeTempalte">
  569. <el-option
  570. v-for="item in planList"
  571. :key="item.value"
  572. :label="item.content"
  573. :value="item.value">
  574. </el-option>
  575. </el-select>
  576. <keep-alive>
  577. <editor ref="editorOne"
  578. id="edit_editor"
  579. style="width: 800px"
  580. v-bind:r_content="form.template_plan_content">
  581. </editor>
  582. </keep-alive>
  583. </el-row> -->
  584. <el-row>
  585. <label class="title"><span class="name">阶段小结化验结果</span> : </label>
  586. <el-button type="primary" @click="toInspection">选择检验检查</el-button>
  587. <div class="borderBox">
  588. <div v-for="item in form.template_inspection_content">
  589. <p>{{ item.project_name }}</p>
  590. <div style="display:flex;flex-wrap: wrap;">
  591. <div v-for="it in item.arr" style="width:33%;">
  592. {{ it.item_name }} <span v-if="it.unit!=''"> [{{it.unit}}] </span>:
  593. {{it.inspect_value}}
  594. <span v-if="parseInt(it.inspect_value) < parseInt(it.range_min)">
  595. </span>
  596. <span v-if="parseInt(it.inspect_value) > parseInt(it.range_max)">
  597. </span>
  598. </div>
  599. </div>
  600. </div>
  601. </div>
  602. </el-row>
  603. <el-row style="margin-top:10px;">
  604. <el-col :span="8">
  605. <el-form-item label="记录医生">
  606. <el-select v-model="form.admin_user_id" placeholder="请选择">
  607. <el-option
  608. v-for="item in docList"
  609. :key="item.admin_user_id"
  610. :label="item.user_name"
  611. :value="item.admin_user_id">
  612. </el-option>
  613. </el-select>
  614. </el-form-item>
  615. </el-col>
  616. <el-col :span="8">
  617. <el-form-item label="记录时间">
  618. <el-date-picker
  619. v-model="form.record_time"
  620. type="datetime"
  621. value-format="yyyy-MM-dd HH:mm:ss"
  622. placeholder="选择日期时间">
  623. </el-date-picker>
  624. </el-form-item>
  625. </el-col>
  626. </el-row>
  627. </el-form>
  628. </div>
  629. <div style="text-align: right; padding-right: 0px; padding-top: 10px; padding-bottom: 10px;">
  630. <el-button @click="edit_show_dialog = false">取消</el-button>
  631. <el-button type="primary" @click="editCreation()">保存
  632. </el-button>
  633. </div>
  634. </div>
  635. </div>
  636. </el-dialog>
  637. <el-dialog
  638. title="提示"
  639. :visible.sync="dialogVisibleInspection"
  640. width="80%"
  641. >
  642. <span>
  643. <el-form>
  644. <el-row>
  645. <el-form-item>
  646. <span>选择检验检查时间:</span>
  647. <div>
  648. <el-form-item
  649. label="时间:"
  650. prop="startYear"
  651. style="width:100%;"
  652. >
  653. <el-date-picker
  654. @change="changeYear"
  655. v-model="startYear"
  656. class="timePicker"
  657. type="month"
  658. placeholder=""
  659. format="yyyy-MM"
  660. value-format="yyyy-MM">
  661. </el-date-picker>
  662. </el-form-item>
  663. <!-- <el-form-item label="月份:"
  664. prop="startYear"
  665. style="width:100%;">
  666. <el-date-picker
  667. v-model="startMonth"
  668. type="month"
  669. format="MM"
  670. value-format="MM"
  671. placeholder="请选择">
  672. </el-date-picker>
  673. </el-form-item> -->
  674. </div>
  675. </el-form-item>
  676. </el-row>
  677. <el-row>
  678. <span>选择检验检查项目:</span>
  679. <div class="record">
  680. <el-row :gutter="15">
  681. <el-col :span="10">
  682. <el-table :header-cell-style="{
  683. backgroundColor: 'rgb(245, 247, 250)',
  684. color: '#606266'
  685. }"
  686. :row-style="{ color: '#303133' }"
  687. ref="single_table"
  688. :data="tableList"
  689. border highlight-current-row
  690. @current-change="changeCurrentRecord"
  691. @selection-change="selectionChangeOne"
  692. :row-class-name="tableRow"
  693. @row-click="onRowClick"
  694. >
  695. <el-table-column type="selection" width="60" align="center"></el-table-column>
  696. <el-table-column label="检验项目" align="center">
  697. <template slot-scope="scope">
  698. {{scope.row.project_name}}
  699. </template>
  700. </el-table-column>
  701. </el-table>
  702. </el-col>
  703. <el-col :span="14">
  704. <div class="record_content_panel">
  705. <el-table :header-cell-style="{
  706. backgroundColor: 'rgb(245, 247, 250)',
  707. color: '#606266'
  708. }"
  709. :row-style="{ color: '#303133' }" :data="tableData"
  710. border highlight-current-row @current-change="didChangeCurrentRecord"
  711. @selection-change="selectionChange"
  712. :row-class-name="tableRow"
  713. >
  714. <el-table-column label="检验项目" align="center">
  715. <template slot-scope="scope">
  716. {{scope.row.item_name}}
  717. </template>
  718. </el-table-column>
  719. <el-table-column label="结果" align="center">
  720. <template slot-scope="scope">
  721. {{scope.row.inspect_value}}
  722. <span v-if="parseInt(scope.row.inspect_value) < parseInt(scope.row.range_min)">
  723. </span>
  724. <span v-if="parseInt(scope.row.inspect_value) > parseInt(scope.row.range_max)">
  725. </span>
  726. </template>
  727. </el-table-column>
  728. <el-table-column label="参考值" align="center">
  729. <template slot-scope="scope">
  730. {{scope.row.range_min}} ~ {{scope.row.range_max}}
  731. </template>
  732. </el-table-column>
  733. <el-table-column label="单位" align="center">
  734. <template slot-scope="scope">
  735. {{scope.row.unit}}
  736. </template>
  737. </el-table-column>
  738. </el-table>
  739. </div>
  740. </el-col>
  741. </el-row>
  742. </div>
  743. </el-row>
  744. </el-form>
  745. </span>
  746. <span slot="footer" class="dialog-footer">
  747. <el-button @click="dialogVisibleInspection = false">取 消</el-button>
  748. <el-button type="primary" @click="toContent">确 定</el-button>
  749. </span>
  750. </el-dialog>
  751. <multi-select-box
  752. :propsForm="InnerDialogProps"
  753. v-on:dialog-comfirm="innerDialogComfirm"
  754. v-on:dialog-cancle="innerDialogCancle"
  755. ></multi-select-box>
  756. </div>
  757. </div>
  758. <!-- </div> -->
  759. </template>
  760. <script>
  761. import PatientSidebar from './components/PatientSidebar'
  762. import Editor from '@/components/Editor'
  763. import { getInitDataList,getInspectionMajorItem,getInspectionDetail,getInspectionItemList,saveCreation,getTemplateSummaryList,getTemplateSummaryDetail,UpdateTemplateSummary,deleteSummary } from '@/api/patient'
  764. import { parseTime } from '@/utils'
  765. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  766. import { uParseTime } from '@/utils/tools'
  767. import { getDataConfig } from '@/utils/data'
  768. import multiSelectBox from '../dialysis/details/dialog/MultiSelectBox'
  769. import MsgTip from '../dialysis/details/dialog/MsgTip'
  770. const moment = require('moment')
  771. export default {
  772. name: 'templateSummary',
  773. components: {
  774. PatientSidebar,
  775. BreadCrumb,
  776. Editor,
  777. MsgTip,
  778. multiSelectBox,
  779. },
  780. data() {
  781. return {
  782. InnerDialogProps: {
  783. values: [],
  784. visibility: false,
  785. isShowTextArea: true,
  786. customContent: '',
  787. titles: '',
  788. type: '' // 不同弹框类型,用来匹配数据
  789. },
  790. loading: false,
  791. title: '',
  792. patient_id: 0,
  793. date: [],
  794. start_time: '',
  795. end_time: '',
  796. course_of_disease_time: '',
  797. records: [],
  798. doctors: [],
  799. current_select_record: null,
  800. show_dialog: false,
  801. show_edit_dialog: false,
  802. uploading_new_record: false,
  803. templates: this.$store.getters.configlist.course_disease,
  804. select_template: '',
  805. new_content: '',
  806. edit_new_content: '',
  807. edit_course_of_disease_time: '',
  808. selectingRows: [],
  809. table_current_index: -1,
  810. edit_current_id: 0,
  811. edit_title: '',
  812. value:'',
  813. form:{
  814. id:0,
  815. title:"",
  816. start_year:new Date(),
  817. start_month:new Date(),
  818. radio:1,
  819. quarter:1,
  820. dry_weight:"",
  821. dialysis_count:"",
  822. hd_count:"",
  823. hdf_count:"",
  824. hp_count:"",
  825. other_count:"",
  826. dialzer_apparatus:"",
  827. perfusion_apparatus:"",
  828. anticoagulant:"",
  829. kalium:"",
  830. autunite:"",
  831. natrium:"",
  832. hour:"",
  833. minute:"",
  834. befor_weight:"",
  835. after_weight:"",
  836. befor_pressure:"",
  837. after_pressure:"",
  838. template_summary_id:"",
  839. template_summary_content:"",
  840. template_plan_id:"",
  841. template_inspection_id:0,
  842. template_inspection_content:"",
  843. admin_user_id:this.$store.getters.xt_user.user.id,
  844. record_time: moment().locale('zh-cn').format('YYYY-MM-DD HH:mm:ss'),
  845. patient_id:"",
  846. start_time:"",
  847. end_time:"",
  848. template_plan_content:"",
  849. },
  850. timeType:[
  851. {id:1,name:"第一季度"},
  852. {id:2,name:"第二季度"},
  853. {id:3,name:"第三季度"},
  854. {id:4,name:"第四季度"},
  855. ],
  856. monthType:[
  857. {id:1,name:"一月"},
  858. {id:2,name:"二月"},
  859. {id:3,name:"三月"},
  860. {id:4,name:"四月"},
  861. {id:5,name:"五月"},
  862. {id:6,name:"六月"},
  863. {id:7,name:"七月"},
  864. {id:8,name:"八月"},
  865. {id:9,name:"九月"},
  866. {id:10,name:"十月"},
  867. {id:11,name:"十一月"},
  868. {id:12,name:"十二月"},
  869. ],
  870. options:[],
  871. dialogVisibleInspection:false,
  872. editDialogVisible:false,
  873. edit_show_dialog:false,
  874. InspectionMajor:[],
  875. other_start_time:"",
  876. startYear:moment(new Date()).endOf('month').subtract('month', +1).endOf('month').format("YYYY-MM-DD") ,
  877. // startMonth:(new Date().getMonth - 1).toString(),
  878. tableList:[],
  879. tableData:[],
  880. inspectDataList:[],
  881. projectList:[],
  882. docList:[],
  883. inspectionList:[],
  884. editObj:{},
  885. anticoagulantList:[],
  886. dialyzerPerfusionApparatus:[],
  887. irrigations:[],
  888. dialyzerList:[],
  889. irrigationList:[],
  890. stockType:[],
  891. summaryList:[],
  892. planList:[],
  893. projectStr:"",
  894. projectIndate:"",
  895. start_year:"2021",
  896. start_month:"",
  897. start_date: moment(new Date()).startOf("month").format("YYYY-MM-DD"),
  898. end_date: moment(new Date()).endOf('month').format("YYYY-MM-DD"),
  899. ids:"",
  900. lastYear:new moment().subtract(1,'months').date(1).format("YYYY-MM-DD"),
  901. }
  902. },
  903. created() {
  904. console.log("this.$store.getters.xt_user.user.id",this.$store.getters.xt_user.user.id)
  905. this.patient_id = this.$route.params && this.$route.params.id
  906. var now = new Date()
  907. this.date = [now.getTime() - (7 * 24 * 60 * 60 * 1000), now.getTime()]
  908. var nowDate = new Date()
  909. var nowYear = nowDate.getFullYear()
  910. var nowMonth = nowDate.getMonth() + 1
  911. var nowDay = nowDate.getDate()
  912. this.end_time =
  913. nowYear +
  914. '-' +
  915. (nowMonth < 10 ? '0' + nowMonth : nowMonth) +
  916. '-' +
  917. (nowDay < 10 ? '0' + nowDay : nowDay)
  918. nowDate.setMonth(nowDate.getMonth() - 1)
  919. nowYear = nowDate.getFullYear()
  920. nowMonth = nowDate.getMonth() + 1
  921. nowDay = nowDate.getDate()
  922. this.start_time =
  923. nowYear +
  924. '-' +
  925. (nowMonth < 10 ? '0' + nowMonth : nowMonth) +
  926. '-' +
  927. (nowDay < 10 ? '0' + nowDay : nowDay)
  928. this.other_start_time = nowYear +'-' +(nowMonth < 10 ? '0' + nowMonth : nowMonth) +'-' + (nowDay < 10 ? '0' + nowDay : nowDay)
  929. var anticoagulantsConfitOne = this.$store.getters.anticoagulants_confit
  930. const arrFour = []
  931. Object.keys(anticoagulantsConfitOne).map((item, index) => {
  932. if (index != 2) {
  933. arrFour.push(anticoagulantsConfitOne[item])
  934. }
  935. })
  936. this.anticoagulantList = arrFour
  937. console.log("抗凝剂量",this.anticoagulantList)
  938. var endtime= moment(new Date()).endOf('month').subtract('month', +1).endOf('month').format("YYYY-MM-DD")
  939. console.log("endtime",endtime)
  940. this.getlist()
  941. this.getInspectionMajor()
  942. this.getTemplateSummaryList()
  943. },
  944. methods: {
  945. getTime(val) {
  946. console.log("val2322332322323223",val)
  947. if(val == "" || val == undefined){
  948. return ""
  949. }else {
  950. return uParseTime(val, '{y}-{m}-{d}')
  951. }
  952. },
  953. getTimeTwo(val) {
  954. if(val == ""){
  955. return ""
  956. }else {
  957. return uParseTime(val, '{y}-{m}-{d} {h}:{i}:{s}')
  958. }
  959. },
  960. getTimeOne(val) {
  961. if(val < 0){
  962. return ""
  963. }
  964. if(val == ""){
  965. return ""
  966. }else {
  967. return uParseTime(val, '{m}')
  968. }
  969. },
  970. showEdit(){
  971. this.getCurrentRecordDetailOne()
  972. },
  973. onRowClick(){
  974. },
  975. didChangeCurrentRecord(){
  976. },
  977. changeCurrentRecord(val){
  978. this.getInspectionDetai(val)
  979. },
  980. selectionChangeOne(val){
  981. // console.log("hhhhhhhhh",val)
  982. this.getInspectionItemList(val)
  983. },
  984. startTimeChange(val){
  985. console.log("val",val)
  986. this.start_time = val
  987. this.getTemplateSummaryList()
  988. },
  989. endTimeChange(val){
  990. this.end_time = val
  991. this.getTemplateSummaryList()
  992. },
  993. print(){
  994. this.$router.push({path:"/patient/patient/templateSummary/print?id="+this.form.id})
  995. },
  996. tableRow(){
  997. },
  998. getQuarter(year,quarter){
  999. var start_time = ""
  1000. if(quarter == 1){
  1001. }
  1002. },
  1003. didSelectionChange(){
  1004. },
  1005. changeCurrentRecordTwo(val){
  1006. console.log("val232232",val.id)
  1007. this.form.id = val.id
  1008. this.getCurrentRecordDetail(val.id)
  1009. },
  1010. changeCurrentRecordOne(){
  1011. },
  1012. getlist(){
  1013. var params={
  1014. start_year:this.getTime(this.form.start_year),
  1015. start_month:this.getTime(this.form.start_month),
  1016. quarter:this.form.quarter,
  1017. patient_id:this.patient_id,
  1018. start_time:this.start_date,
  1019. end_time:this.end_date,
  1020. }
  1021. // console.log("世纪时间",params)
  1022. console.log(moment(moment(2020 + '-01-01').toDate()).quarter(2).format("YYYY-MM-DD"))
  1023. getInitDataList(params).then(response=>{
  1024. if(response.data.state == 1){
  1025. var prescription_list = response.data.data.prescription_list
  1026. this.form.dialzer_apparatus = prescription_list.dialysis_dialyszers
  1027. this.form.perfusion_apparatus = prescription_list.dialysis_irrigation
  1028. this.form.anticoagulant = prescription_list.anticoagulant
  1029. this.form.hour = prescription_list.dialysis_duration_hour
  1030. this.form.minute = prescription_list.dialysis_duration_minute
  1031. this.form.kalium = prescription_list.kalium
  1032. this.form.natrium = prescription_list.sodium
  1033. this.form.autunite = prescription_list.calcium
  1034. var beforlist = response.data.data.beforlist
  1035. // console.log("透前数据565665565656",beforlist)
  1036. this.form.befor_weight = beforlist.weight_before
  1037. this.form.dry_weight = beforlist.dry_weight
  1038. var afterlist = response.data.data.after_list
  1039. // console.log("透后数据232332323232",afterlist)
  1040. this.form.after_weight = afterlist.weight_after
  1041. this.form.after_pressure = afterlist.systolic_blood_pressure + "/"+afterlist.diastolic_blood_pressure
  1042. this.form.befor_pressure = beforlist.systolic_blood_pressure +"/"+beforlist.diastolic_blood_pressure
  1043. var modelist = response.data.data.modelist
  1044. console.log("modelist",modelist)
  1045. var docList = response.data.data.docList
  1046. // console.log("doctlist",docList)
  1047. this.docList = docList
  1048. var stockType = response.data.data.stockType
  1049. var arr = []
  1050. var arrTwo = []
  1051. for(let i=0;i<stockType.length;i++){
  1052. if(stockType[i].stock_attribute == 2){
  1053. arr.push(stockType[i])
  1054. }
  1055. if(stockType[i].stock_attribute == 3){
  1056. arrTwo.push(stockType[i])
  1057. }
  1058. }
  1059. var dialyzator = []
  1060. var irrigation = []
  1061. for(let i=0;i<arr.length;i++){
  1062. for(let j=0;j<arr[i].GoodInfo.length;j++){
  1063. dialyzator.push(arr[i].GoodInfo[j])
  1064. }
  1065. }
  1066. this.dialyzerList = dialyzator
  1067. // console.log("arrtt2323232332232323",arrTwo)
  1068. for(let i=0;i<arrTwo.length;i++){
  1069. for(let j=0;j<arrTwo[i].GoodInfo.length;j++){
  1070. irrigation.push(arrTwo[i].GoodInfo[j])
  1071. }
  1072. }
  1073. this.irrigationList = irrigation
  1074. // console.log("透析器233223",this.dialyzerList)
  1075. // console.log("灌流器323323223",this.irrigationList)
  1076. var count = ""
  1077. var total_count = 0
  1078. for(let i=0;i<modelist.length;i++){
  1079. total_count += modelist[i].count
  1080. if(modelist[i].mode_id == 1){
  1081. this.form.hd_count = modelist[i].count
  1082. }
  1083. if(modelist[i].mode_id == 2){
  1084. this.form.hdf_count = modelist[i].count
  1085. }
  1086. if(modelist[i].mode_id == 4){
  1087. this.form.hp_count = modelist[i].count
  1088. }
  1089. if(modelist[i].mode_id!=1&&modelist[i].mode_id!=2 && modelist[i].mode_id!=4){
  1090. count += modelist[i].count
  1091. }
  1092. }
  1093. this.form.other_count = count
  1094. this.form.dialysis_count = total_count
  1095. // console.log("modelist",modelist)
  1096. var summaryList = response.data.data.summaryList
  1097. // console.log("summaryList",summaryList)
  1098. this.summaryList = summaryList
  1099. var planList = response.data.data.planList
  1100. // console.log("planlist",planList)
  1101. this.planList = planList
  1102. }
  1103. })
  1104. },
  1105. toInspection(){
  1106. this.dialogVisibleInspection = true
  1107. },
  1108. //获取大项数据来源
  1109. getInspectionMajor(){
  1110. console.log("start_year",this.startYear)
  1111. var params = {
  1112. other_start_time:this.startYear,
  1113. patient_id:this.patient_id,
  1114. last_time:this.lastYear,
  1115. }
  1116. console.log("开始数据",params)
  1117. getInspectionMajorItem(params).then(response=>{
  1118. if(response.data.state == 1){
  1119. var list = response.data.data.list
  1120. console.log("列表23232232323",list)
  1121. // this.$refs.single_table.setCurrentRow(list[0])
  1122. this.tableList = list
  1123. }
  1124. })
  1125. },
  1126. //获取小项的值
  1127. getInspectionDetai(val){
  1128. var params = {
  1129. project_id:val.project_id,
  1130. patient_id:val.patient_id,
  1131. inspect_date:val.inspect_date,
  1132. }
  1133. // console.log("param2233233223",params)
  1134. getInspectionDetail(params).then(response=>{
  1135. if(response.data.state ==1){
  1136. var list = response.data.data.list
  1137. // console.log("详情222",list)
  1138. this.tableData = list
  1139. }
  1140. })
  1141. },
  1142. selectionChange(val){
  1143. // console.log("val233223",val)
  1144. selectionChange().then(response=>{
  1145. })
  1146. },
  1147. getInspectionItemList(val){
  1148. this.projectList = []
  1149. this.inspectDataList = []
  1150. for(let i=0;i<val.length;i++){
  1151. this.projectList.push(val[i].project_id)
  1152. this.inspectDataList.push(val[i].inspect_date)
  1153. }
  1154. },
  1155. toContent(){
  1156. var str = this.projectList.join(",")
  1157. this.projectStr = str
  1158. var inspe_date = this.inspectDataList.join(",")
  1159. this.projectIndate = inspe_date
  1160. var params = {
  1161. ids:str,
  1162. inspect_date:inspe_date,
  1163. patient_id:this.patient_id,
  1164. }
  1165. // console.log("params",params)
  1166. getInspectionItemList(params).then(response=>{
  1167. if(response.data.state == 1){
  1168. var list = response.data.data.list
  1169. let arr = this.unique(list,'project_name')
  1170. // console.log("选择检验检查",arr)
  1171. this.form.template_inspection_content = arr
  1172. this.dialogVisibleInspection = false
  1173. }
  1174. })
  1175. },
  1176. saveCreation(){
  1177. if (this.form.dry_weight == ""){
  1178. this.form.dry_weight = 0
  1179. }
  1180. if (this.form.dialysis_count == ""){
  1181. this.form.dialysis_count = 0
  1182. }
  1183. if (this.form.hd_count == ""){
  1184. this.form.hd_count = 0
  1185. }
  1186. if (this.form.hdf_count == ""){
  1187. this.form.hdf_count = 0
  1188. }
  1189. if (this.form.hp_count == ""){
  1190. this.form.hp_count = 0
  1191. }
  1192. if (this.form.other_count == ""){
  1193. this.form.other_count = 0
  1194. }
  1195. if (this.form.kalium == ""){
  1196. this.form.kalium = 0
  1197. }
  1198. if (this.form.autunite == ""){
  1199. this.form.autunite = 0
  1200. }
  1201. if (this.form.natrium == ""){
  1202. this.form.natrium = 0
  1203. }
  1204. if (this.form.hour == ""){
  1205. this.form.hour = 0
  1206. }
  1207. if (this.form.minute == ""){
  1208. this.form.minute = 0
  1209. }
  1210. if(this.form.befor_weight == ""){
  1211. this.form.befor_weight = 0
  1212. }
  1213. if(this.form.after_weight == ""){
  1214. this.form.after_weight = 0
  1215. }
  1216. if(this.form.befor_pressure == ""){
  1217. this.form.befor_pressure = 0
  1218. }
  1219. if(this.form.template_plan_id == ""){
  1220. this.form.template_plan_id = 0
  1221. }
  1222. if(this.form.template_summary_id == ""){
  1223. this.form.template_summary_id = 0
  1224. }
  1225. var year = this.form.start_year+"-"+"01"+"-"+"01"
  1226. console.log("年",year)
  1227. var month = this.form.start_year+"-"+this.form.start_month+"-"+"01"
  1228. console.log("月",this.$refs)
  1229. var params = {
  1230. title:this.form.title,
  1231. dry_weight:this.form.dry_weight.toString(),
  1232. dialysis_count:parseInt(this.form.dialysis_count),
  1233. hd_count:parseInt(this.form.hd_count),
  1234. hdf_count:parseInt(this.form.hdf_count),
  1235. hp_count:parseInt(this.form.hp_count),
  1236. other_count:parseInt(this.form.other_count),
  1237. dialzer_apparatus:this.form.dialzer_apparatus,
  1238. perfusion_apparatus:this.form.perfusion_apparatus,
  1239. anticoagulant:this.form.anticoagulant,
  1240. kalium:this.form.kalium.toString(),
  1241. autunite:this.form.autunite.toString(),
  1242. natrium:this.form.natrium.toString(),
  1243. hour:parseInt(this.form.hour),
  1244. minute:parseInt(this.form.minute),
  1245. befor_weight:this.form.befor_weight.toString(),
  1246. after_weight:this.form.after_weight.toString(),
  1247. befor_pressure:this.form.befor_pressure,
  1248. template_plan_content:"",
  1249. admin_user_id:this.form.admin_user_id,
  1250. record_time:this.form.record_time,
  1251. after_pressure:this.form.after_pressure,
  1252. template_summary_id:this.form.template_summary_id,
  1253. template_summary_content:this.$refs.edit_neditor.content,
  1254. template_plan_id:this.form.template_plan_id,
  1255. template_inspection_id:this.form.template_inspection_id,
  1256. patient_id:parseInt(this.patient_id),
  1257. project_id:this.projectStr,
  1258. inspect_date:this.projectIndate,
  1259. start_year:year,
  1260. start_month:month,
  1261. radio:this.form.radio,
  1262. }
  1263. console.log("parawm232323223",params)
  1264. saveCreation(params).then(response=>{
  1265. if(response.data.state ==1){
  1266. var summary = response.data.data.summary
  1267. // console.log("summary",summary)
  1268. this.getTemplateSummaryList()
  1269. this.$message.success("保存成功!");
  1270. this.show_dialog = false
  1271. this.form.title = ""
  1272. this.form.dry_weight = ""
  1273. this.form.dialysis_count =""
  1274. this.form.hd_count= ""
  1275. this.form.hdf_count = ""
  1276. this.form.hp_count = ""
  1277. this.form.other_count =""
  1278. this.form.dialzer_apparatus = ""
  1279. this.form.perfusion_apparatus = ""
  1280. this.form.anticoagulant = ""
  1281. this.form.kalium = ""
  1282. this.form.autunite = ""
  1283. this.form.natrium = ""
  1284. this.form.hour =""
  1285. this.form.minute = ""
  1286. this.form.befor_weight = ""
  1287. this.form.after_weight = ""
  1288. this.form.befor_pressure = ""
  1289. this.form.template_summary_content = ""
  1290. this.form.template_plan_content = ""
  1291. this.form.template_inspection_content = ""
  1292. this.from.after_pressure = ""
  1293. this.form.template_summary_id = ""
  1294. this.form.template_plan_id = ""
  1295. this.form.template_inspection_id = ""
  1296. }
  1297. })
  1298. },
  1299. getTemplateSummaryList(){
  1300. var params = {
  1301. patient_id:this.patient_id,
  1302. start_time:this.start_time,
  1303. end_time:this.end_time,
  1304. }
  1305. console.log("param2222",params)
  1306. getTemplateSummaryList(params).then(response=>{
  1307. if(response.data.state ==1){
  1308. var list = response.data.data.list
  1309. this.inspectionList = list
  1310. this.$refs.inspection_table.setCurrentRow(this.inspectionList[0])
  1311. if (list.length > 0) {
  1312. this.getCurrentRecordDetail(this.inspectionList[0].id)
  1313. }
  1314. }
  1315. })
  1316. },
  1317. getCurrentRecordDetail(id){
  1318. var params = {
  1319. id:id
  1320. }
  1321. getTemplateSummaryDetail(params).then(response=>{
  1322. if(response.data.state == 1){
  1323. var list = response.data.data.list
  1324. var inspectlist = response.data.data.inspectlist
  1325. console.log("inspectlist2322332",list)
  1326. let arr = this.unique(inspectlist,'project_name')
  1327. console.log("hhh23h2323223223232323",arr)
  1328. list.template_inspection_content = arr
  1329. this.editObj = list
  1330. }
  1331. })
  1332. },
  1333. getTime(val) {
  1334. if(val < 0){
  1335. return ""
  1336. }
  1337. if(val == ""){
  1338. return ""
  1339. }else {
  1340. return uParseTime(val, '{y}-{m}-{d}')
  1341. }
  1342. },
  1343. showInnerDialog: function(val) {
  1344. this.InnerDialogProps.visibility = true
  1345. switch (val) {
  1346. case '7': // 透析器
  1347. for(let i=0;i<this.dialyzerList.length;i++){
  1348. this.dialyzerList[i].name = this.dialyzerList[i].specification_name
  1349. }
  1350. this.InnerDialogProps.values = this.dialyzerList
  1351. this.InnerDialogProps.titles = '透析器'
  1352. this.InnerDialogProps.type = 'dialyzers'
  1353. this.InnerDialogProps.selected = this.form.dialzer_apparatus
  1354. this.InnerDialogProps.isShowTextArea = false
  1355. break
  1356. case '8':
  1357. for(let i=0;i<this.irrigationList.length;i++){
  1358. this.irrigationList[i].name = this.irrigationList[i].specification_name
  1359. }
  1360. this.InnerDialogProps.values = this.irrigationList
  1361. this.InnerDialogProps.titles = '灌流器'
  1362. this.InnerDialogProps.type = 'irrigations'
  1363. this.InnerDialogProps.selected = this.form.perfusion_apparatus
  1364. this.InnerDialogProps.isShowTextArea = false
  1365. break
  1366. }
  1367. },
  1368. innerDialogComfirm: function(val) {
  1369. this.InnerDialogProps.visibility = false
  1370. switch (val.type) {
  1371. case 'dialyzers':
  1372. this.form.dialzer_apparatus = val.value.join(',')
  1373. break
  1374. case 'irrigations':
  1375. this.form.perfusion_apparatus = val.value.join(',')
  1376. break
  1377. }
  1378. },
  1379. innerDialogCancle: function() {
  1380. this.InnerDialogProps.visibility = false
  1381. },
  1382. getCurrentRecordDetailOne(){
  1383. var params = {
  1384. id:this.form.id
  1385. }
  1386. getTemplateSummaryDetail(params).then(response=>{
  1387. if(response.data.state == 1){
  1388. var list = response.data.data.list
  1389. var inspectlist = response.data.data.inspectlist
  1390. console.log("详情232332233223232323",list)
  1391. let arr = this.unique(inspectlist,'project_name')
  1392. this.form.template_inspection_content = arr
  1393. this.edit_show_dialog = true
  1394. this.form.title = list.title
  1395. this.form.id = list.id
  1396. this.form.admin_user_id = list.admin_user_id
  1397. this.form.after_pressure = list.after_pressure
  1398. this.form.after_weight = list.after_weight
  1399. this.form.anticoagulant = list.anticoagulant
  1400. this.form.autunite = list.autunite
  1401. this.form.befor_pressure = list.befor_pressure
  1402. if( list.befor_weight == 0){
  1403. this.form.befor_weight = ""
  1404. }else{
  1405. this.form.befor_weight = list.befor_weight
  1406. }
  1407. if(list.dialysis_count == 0){
  1408. this.form.dialysis_count = ""
  1409. }else{
  1410. this.form.dialysis_count = list.dialysis_count
  1411. }
  1412. this.form.dialzer_apparatus = list.dialzer_apparatus
  1413. this.form.dry_weight = list.dry_weight
  1414. this.form.hd_count= list.hd_count
  1415. this.form.hdf_count= list.hdf_count
  1416. this.form.hour = list.hour
  1417. this.form.hp_count = list.hp_count
  1418. this.form.kalium= list.kalium
  1419. this.form.minute = list.minute
  1420. this.form.natrium =list.natrium
  1421. this.form.perfusion_apparatus= list.perfusion_apparatus
  1422. this.form.other_count = list.other_count
  1423. this.form.record_time = this.getTimeTwo(list.record_time)
  1424. console.log("时间232233232",list.record_time)
  1425. if(list.template_inspection_id == 0){
  1426. list.template_inspection_id = ""
  1427. }else{
  1428. this.form.template_inspection_id = list.template_inspection_id
  1429. }
  1430. this.form.template_plan_content = list.template_plan_content
  1431. if(list.template_plan_id == 0){
  1432. this.form.template_plan_id = ""
  1433. }else{
  1434. this.form.template_plan_id = list.template_plan_id
  1435. }
  1436. this.form.template_summary_content =list.template_summary_content
  1437. if(list.template_summary_id == 0){
  1438. this.form.template_summary_id = ""
  1439. }else{
  1440. this.form.template_summary_id = list.template_summary_id
  1441. }
  1442. this.projectIndate = list.inspect_date
  1443. this.projectStr = list.project_id
  1444. }
  1445. })
  1446. },
  1447. changeSummary(){
  1448. for(let i=0;i<this.summaryList.length;i++){
  1449. if(this.form.template_summary_id == this.summaryList[i].value){
  1450. this.form.template_summary_content = this.summaryList[i].content
  1451. }
  1452. }
  1453. },
  1454. changeSummaryOne(){
  1455. for(let i=0;i<this.summaryList.length;i++){
  1456. if(this.form.template_summary_id == this.summaryList[i].value){
  1457. this.form.template_summary_content = this.summaryList[i].content
  1458. }
  1459. }
  1460. },
  1461. changeTempalte(){
  1462. for(let i=0;i<this.planList.length;i++){
  1463. if(this.form.template_plan_id == this.planList[i].value){
  1464. this.form.template_plan_content = this.planList[i].content
  1465. }
  1466. }
  1467. },
  1468. editCreation(){
  1469. if(this.form.template_summary_id == ""){
  1470. this.form.template_summary_id = 0
  1471. }
  1472. if(this.form.template_inspection_id == ""){
  1473. this.form.template_inspection_id = 0
  1474. }
  1475. if(this.form.template_plan_id == ""){
  1476. this.form.template_plan_id = 0
  1477. }
  1478. if(this.form.dialysis_count == ""){
  1479. this.form.dialysis_count = 0
  1480. }
  1481. var params = {
  1482. id:this.form.id,
  1483. title:this.form.title,
  1484. dry_weight:this.form.dry_weight.toString(),
  1485. dialysis_count:parseInt(this.form.dialysis_count),
  1486. hd_count:parseInt(this.form.hd_count),
  1487. hdf_count:parseInt(this.form.hdf_count),
  1488. hp_count:parseInt(this.form.hp_count),
  1489. other_count:parseInt(this.form.other_count),
  1490. dialzer_apparatus:this.form.dialzer_apparatus,
  1491. perfusion_apparatus:this.form.perfusion_apparatus,
  1492. anticoagulant:this.form.anticoagulant,
  1493. kalium:this.form.kalium.toString(),
  1494. autunite:this.form.autunite.toString(),
  1495. natrium:this.form.natrium.toString(),
  1496. hour:parseInt(this.form.hour),
  1497. minute:parseInt(this.form.minute),
  1498. befor_weight:this.form.befor_weight.toString(),
  1499. after_weight:this.form.after_weight.toString(),
  1500. befor_pressure:this.form.befor_pressure,
  1501. // template_summary_content:this.form.template_summary_content,
  1502. // template_plan_content:this.form.template_plan_content,
  1503. template_plan_content:"",
  1504. template_summary_content:this.$refs.edit_neditor.content,
  1505. admin_user_id:this.form.admin_user_id,
  1506. record_time:this.form.record_time,
  1507. after_pressure:this.form.after_pressure,
  1508. template_summary_id:this.form.template_summary_id,
  1509. template_plan_id:this.form.template_plan_id,
  1510. template_inspection_id:this.form.template_inspection_id,
  1511. patient_id:parseInt(this.patient_id),
  1512. project_id:this.projectStr,
  1513. inspect_date:this.projectIndate,
  1514. }
  1515. console.log("parawm232323223",params)
  1516. UpdateTemplateSummary(params).then(response=>{
  1517. if(response.data.state == 1){
  1518. var list = response.data.data.list
  1519. this.$message.success("保存成功")
  1520. this.edit_show_dialog = false
  1521. this.getTemplateSummaryList()
  1522. }
  1523. })
  1524. },
  1525. unique(data, key) {
  1526. let lastData = [];
  1527. data.forEach(item => {
  1528. let status = lastData.some(project_name => project_name[key] == item[key]);
  1529. if (!status) {
  1530. let obj = {
  1531. project_name:'',
  1532. arr:[]
  1533. }
  1534. obj.project_name = item.project_name
  1535. obj.arr.push(item);
  1536. lastData.push(obj);
  1537. } else {
  1538. lastData.forEach((project_name, index) => {
  1539. if (project_name[key] === item[key]) {
  1540. project_name.arr.push(item);
  1541. }
  1542. });
  1543. }
  1544. });
  1545. return lastData;
  1546. },
  1547. getDoctor(id){
  1548. var user_name = ""
  1549. for(let i=0;i<this.docList.length;i++){
  1550. if(id == this.docList[i].admin_user_id){
  1551. user_name = this.docList[i].user_name
  1552. }
  1553. }
  1554. return user_name
  1555. },
  1556. changeStartYear(){
  1557. this.form.title = ""
  1558. this.form.dry_weight = ""
  1559. this.form.dialysis_count =""
  1560. this.form.hd_count= ""
  1561. this.form.hdf_count = ""
  1562. this.form.hp_count = ""
  1563. this.form.other_count =""
  1564. this.form.dialzer_apparatus = ""
  1565. this.form.perfusion_apparatus = ""
  1566. this.form.anticoagulant = ""
  1567. this.form.kalium = ""
  1568. this.form.autunite = ""
  1569. this.form.natrium = ""
  1570. this.form.hour =""
  1571. this.form.minute = ""
  1572. this.form.befor_weight = ""
  1573. this.form.after_weight = ""
  1574. this.form.befor_pressure = ""
  1575. this.form.template_summary_content = ""
  1576. this.form.template_plan_content = ""
  1577. this.form.template_inspection_content = ""
  1578. this.from.after_pressure = ""
  1579. this.form.template_summary_id = ""
  1580. this.form.template_plan_id = ""
  1581. this.form.template_inspection_id = ""
  1582. this.start_year = this.form.start_year
  1583. console.log("年份",this.form.start_year)
  1584. console.log("月份",this.getTimeOne(this.form.start_month))
  1585. var start = this.form.start_year + "-" + this.getTimeOne(this.form.start_month) + "-"+"01"
  1586. var end = this.form.start_year + "-" + this.getTimeOne(this.form.start_month) + "-"+"30"
  1587. this.start_date = start
  1588. this.end_date = end
  1589. this.getlist()
  1590. },
  1591. changeStartMonth(){
  1592. this.form.title = ""
  1593. this.form.dry_weight = ""
  1594. this.form.dialysis_count =""
  1595. this.form.hd_count= ""
  1596. this.form.hdf_count = ""
  1597. this.form.hp_count = ""
  1598. this.form.other_count =""
  1599. this.form.dialzer_apparatus = ""
  1600. this.form.perfusion_apparatus = ""
  1601. this.form.anticoagulant = ""
  1602. this.form.kalium = ""
  1603. this.form.autunite = ""
  1604. this.form.natrium = ""
  1605. this.form.hour =""
  1606. this.form.minute = ""
  1607. this.form.befor_weight = ""
  1608. this.form.after_weight = ""
  1609. this.form.befor_pressure = ""
  1610. this.form.template_summary_content = ""
  1611. this.form.template_plan_content = ""
  1612. this.form.template_inspection_content = ""
  1613. this.form.after_pressure = ""
  1614. this.form.template_summary_id = ""
  1615. this.form.template_plan_id = ""
  1616. this.form.template_inspection_id = ""
  1617. console.log("sart",this.form.start_month)
  1618. var end = ""
  1619. if(this.form.start_month == "02"){
  1620. end = this.start_year +"-"+ this.form.start_month + "-"+"28"
  1621. }else{
  1622. end = this.start_year +"-"+ this.form.start_month + "-"+"30"
  1623. }
  1624. var start = this.start_year +"-"+ this.form.start_month+"-"+"01"
  1625. this.start_date = start
  1626. this.end_date = end
  1627. console.log("开始时间",this.start_date)
  1628. console.log("结束时间",this.end_date)
  1629. this.getlist()
  1630. },
  1631. changeQuarter(val){
  1632. this.form.title = ""
  1633. this.form.dry_weight = ""
  1634. this.form.dialysis_count =""
  1635. this.form.hd_count= ""
  1636. this.form.hdf_count = ""
  1637. this.form.hp_count = ""
  1638. this.form.other_count =""
  1639. this.form.dialzer_apparatus = ""
  1640. this.form.perfusion_apparatus = ""
  1641. this.form.anticoagulant = ""
  1642. this.form.kalium = ""
  1643. this.form.autunite = ""
  1644. this.form.natrium = ""
  1645. this.form.hour =""
  1646. this.form.minute = ""
  1647. this.form.befor_weight = ""
  1648. this.form.after_weight = ""
  1649. this.form.befor_pressure = ""
  1650. this.form.template_summary_content = ""
  1651. this.form.template_plan_content = ""
  1652. this.form.template_inspection_content = ""
  1653. this.form.after_pressure = ""
  1654. this.form.template_summary_id = ""
  1655. this.form.template_plan_id = ""
  1656. this.form.template_inspection_id = ""
  1657. if(val == 1){
  1658. this.start_date = this.start_year+"-"+"01"+"-"+"01"
  1659. this.end_date = this.start_year +"-"+"03"+"-"+"31"
  1660. }
  1661. if(val == 2){
  1662. this.start_date = this.start_year +"-"+ "04"+"-"+"01"
  1663. this.end_date = this.start_year +"-"+ "06"+"-"+"30"
  1664. }
  1665. if(val == 3){
  1666. this.start_date = this.start_year +"-"+ "07"+"-"+"01"
  1667. this.end_date = this.start_year +"-"+ "09"+"-"+"30"
  1668. }
  1669. if(val == 4){
  1670. this.start_date = this.start_year +"-"+ "09"+"-"+"01"
  1671. this.end_date = this.start_year +"-"+ "12"+"-"+"31"
  1672. }
  1673. this.getlist()
  1674. },
  1675. getAnticoagulant(id){
  1676. var name = ""
  1677. for(let i=0;i<this.anticoagulantList.length;i++){
  1678. if(id == this.anticoagulantList[i].id){
  1679. name = this.anticoagulantList[i].name
  1680. }
  1681. }
  1682. return name
  1683. },
  1684. changeYear(val){
  1685. console.log("val2323323223",val)
  1686. if(val == "2021-02"){
  1687. this.startYear = val+"-" + "28"
  1688. }else if(val == "2021-08"){
  1689. this.startYear = val+"-" + "31"
  1690. }else if(val == "2021-10"){
  1691. this.startYear = val+"-" + "31"
  1692. }else if(val == "2021-12"){
  1693. this.startYear = val+"-" + "31"
  1694. }else{
  1695. this.startYear = val+"-" + "30"
  1696. }
  1697. this.lastYear = val+"-"+"01"
  1698. this.getInspectionMajor()
  1699. },
  1700. selectSummary(val){
  1701. console.log("val23232",val)
  1702. var arr = []
  1703. for( let i=0;i<val.length;i++){
  1704. arr.push(val[i].id)
  1705. }
  1706. var str = arr.join(",")
  1707. console.log("str",str)
  1708. this.ids = str
  1709. },
  1710. deleteAction(){
  1711. if(this.ids == ""){
  1712. this.$message.error("请勾选需要删除的数据")
  1713. return
  1714. }
  1715. this.$confirm('确认删除这条记录?', '删除记录', {
  1716. confirmButtonText: '确定',
  1717. cancelButtonText: '取消',
  1718. type: 'warning'
  1719. }).then(() => {
  1720. let params = {
  1721. ids: this.ids,
  1722. }
  1723. console.log("params2323",params)
  1724. deleteSummary(params).then(response => {
  1725. if (response.data.state == 0) {
  1726. this.$message.error(response.data.msg)
  1727. return false
  1728. } else {
  1729. var msg =response.data.data.msg
  1730. this.getTemplateSummaryList()
  1731. }
  1732. })
  1733. })
  1734. .catch(() => {
  1735. })
  1736. }
  1737. },
  1738. // watch: {
  1739. // inspectionList: function() {
  1740. // this.$nextTick(function() {
  1741. // this.$refs.inspection_table.setCurrentRow(this.inspectionList[0])
  1742. // })
  1743. // },
  1744. // },
  1745. }
  1746. </script>
  1747. <style rel="stylesheet/css" lang="scss" scoped>
  1748. .borderBox{
  1749. border: 1px solid #DCDFE6;
  1750. padding: 10px;
  1751. margin-top: 10px;
  1752. border-radius: 4px;
  1753. p{
  1754. font-weight: bold;
  1755. font-size: 20px;
  1756. margin: 10px 0;
  1757. }
  1758. }
  1759. .container {
  1760. margin-left: 180px;
  1761. padding: 20px;
  1762. background: #fff;
  1763. min-height: calc(100vh - 173px);
  1764. margin-bottom: 15px;
  1765. .record {
  1766. padding-top: 20px;
  1767. }
  1768. }
  1769. .record_content_panel {
  1770. border-width: 1px;
  1771. border-style: solid;
  1772. border-color: #ebeef5;
  1773. min-height: 200px;
  1774. .title {
  1775. font-size: 14px;
  1776. font-weight: 500;
  1777. color: #909399;
  1778. line-height: 44px;
  1779. height: 44px;
  1780. text-align: center;
  1781. border-bottom-width: 1px;
  1782. border-bottom-style: solid;
  1783. border-bottom-color: #ebeef5;
  1784. }
  1785. .content {
  1786. padding: 12px 15px;
  1787. font-size: 15px;
  1788. color: gray;
  1789. line-height: 22px;
  1790. }
  1791. }
  1792. .new_record_form {
  1793. /*/ / padding: 10 px, 25 px;*/
  1794. .textarea_panel {
  1795. margin-top: 10px;
  1796. }
  1797. }
  1798. </style>
  1799. <style>
  1800. .el-table td,
  1801. .el-table th.is-leaf,
  1802. .el-table--border,
  1803. .el-table--group {
  1804. border-color: #d0d3da;
  1805. }
  1806. .el-table--border::after,
  1807. .el-table--group::after,
  1808. .el-table::before {
  1809. background-color: #d0d3da;
  1810. }
  1811. .el-select-dropdown {
  1812. max-width: 1000px !important;
  1813. }
  1814. </style>