血透系统pad前端

MonitDialog.vue 43KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169
  1. <template>
  2. <div>
  3. <div v-loading="loading">
  4. <div class="Dialog" v-show="listPanel">
  5. <div class="DialogTit">
  6. <span class="iconfont" @click="close()">&#xe6e9;</span>
  7. <h1 class="name">透析监测</h1>
  8. <span class="success">&nbsp;</span>
  9. </div>
  10. <div style="width:100%;background: #fff;">
  11. <div class="yzNav" style="width:80%">
  12. <span @click="openForm()">新增监测</span>
  13. <span @click="openEidtForm()">修改监测</span>
  14. <span @click="deleteForm()">删除监测</span>
  15. </div>
  16. </div>
  17. <div class="DialogContent choose" id="dialogTop">
  18. <div style="width:100%;overflow:hildden;">
  19. <table class="table" style="">
  20. <tr @click="selectRow(-1, null)">
  21. <th v-if="isShow('监测时间')" width="60px">时间</th>
  22. <th v-if="isShow('血压')" width="60px">血压(mmHg)</th>
  23. <th v-if="isShow('脉搏')" width="50px">脉搏(次/分)</th>
  24. <th v-if="isShow('体温')" width="50px">体温(℃)</th>
  25. <th v-if="isShow('呼吸频率')" width="80px">呼吸频率(次/分)</th>
  26. <th v-if="isShow('血流量')" width="70px">血流量(ml/min)</th>
  27. <th width="76px">静脉压/动脉压(mmHg)</th>
  28. <th v-if="isShow('跨膜压')" width="70px">跨膜压(mmHg)</th>
  29. <th v-if="isShow('超滤量') && template_id ==6" width="60px">超滤量(ml)</th>
  30. <th v-if="isShow('超滤量') && template_id !=6" width="60px">超滤量(L)</th>
  31. <th v-if="isShow('钠浓度')" width="82px">钠浓度(mmol/L)</th>
  32. <th v-if="isShow('透析液温度')" width="82px">透析液温度(℃)</th>
  33. <th v-if="isShow('置换率') && template_id ==6" width="92px">置换率(ml/min)</th>
  34. <th v-if="isShow('置换率') && template_id !=6" width="92px">置换率(L/h)</th>
  35. <th v-if="isShow('置换量') && template_id ==6" width="50px">置换量(ml)</th>
  36. <th v-if="isShow('置换量') && template_id !=6" width="50px">置换量(L)</th>
  37. <th v-if="isShow('电导度')" width="50px">电导度(mS/m)</th>
  38. <th v-if="isShow('置换液流量')" width="50px">置换液流量(ml/h)</th>
  39. <th v-if="isShow('病情变化')" width="92px">病情变化</th>
  40. <th v-if="isShow('处理')" width="92px">处理</th>
  41. <th v-if="isShow('结果')" width="92px">结果</th>
  42. </tr>
  43. <tr v-for="(item,index) in monitorRecords" :key="index" :value="item.value"
  44. @click="selectRow(index, item)" :class="index==currentIndex?rowClass:''">
  45. <td v-if="isShow('监测时间')">{{parseTime(item.operate_time, '{y}-{m}-{d} {h}:{i}')}}</td>
  46. <td v-if="isShow('血压')">
  47. {{item.systolic_blood_pressure?item.systolic_blood_pressure:''}}/{{item.diastolic_blood_pressure?item.diastolic_blood_pressure:''}}
  48. </td>
  49. <td v-if="isShow('脉搏')">{{item.pulse_frequency?item.pulse_frequency:''}}</td>
  50. <td v-if="isShow('体温')">{{item.temperature?item.temperature:''}}</td>
  51. <td v-if="isShow('呼吸频率')">{{item.breathing_rate?item.breathing_rate:''}}</td>
  52. <td v-if="isShow('血流量')">{{item.blood_flow_volume?item.blood_flow_volume:''}}</td>
  53. <td>
  54. {{item.venous_pressure?item.venous_pressure:''}}/{{item.arterial_pressure?item.arterial_pressure:''}}
  55. </td>
  56. <td v-if="isShow('跨膜压')">{{item.transmembrane_pressure?item.transmembrane_pressure:''}}</td>
  57. <td v-if="isShow('超滤量')">{{item.ultrafiltration_volume?item.ultrafiltration_volume:''}}</td>
  58. <td v-if="isShow('钠浓度')">{{item.sodium_concentration?item.sodium_concentration:''}}</td>
  59. <td v-if="isShow('透析液温度')">{{item.dialysate_temperature?item.dialysate_temperature:''}}</td>
  60. <td v-if="isShow('置换率')">{{item.replacement_rate?item.replacement_rate:''}}</td>
  61. <td v-if="isShow('置换量')">{{item.displacement_quantity?item.displacement_quantity:''}}</td>
  62. <td v-if="isShow('电导度')">{{item.conductivity?item.conductivity:''}}</td>
  63. <td v-if="isShow('置换液流量')">{{item.displacement_flow_quantity?item.displacement_flow_quantity:''}}</td>
  64. <td v-if="isShow('病情变化')">{{item.symptom}}</td>
  65. <td v-if="isShow('处理')">{{item.dispose}}</td>
  66. <td v-if="isShow('结果')">{{item.result}}</td>
  67. </tr>
  68. </table>
  69. </div>
  70. </div>
  71. </div>
  72. <div class="Dialog" v-show="formPanel">
  73. <div class="DialogTit">
  74. <div class="back" @click="formPanel=false;listPanel=true;"><span class="iconfont">&#xe720; </span>返回</div>
  75. <h1 class="name">{{formTitle}}</h1>
  76. <span class="success" v-if="form.id>0" @click="submitEditAction()">保存</span>
  77. <span class="success" v-else @click="submitAction()">保存</span>
  78. </div>
  79. <div class="DialogContent choose">
  80. <div class="content">
  81. <div class="cell" v-if="isShow('监测时间')">
  82. <label>监测时间</label>
  83. <input type="text" class="inputBox" @click="chooseTime()"
  84. :value="parseTime(this.form.operate_time, '{y}-{m}-{d} {h}:{i}')" readonly>
  85. </div>
  86. <div class="cell" v-if="isShow('收缩压')">
  87. <label>收缩压(mmHg)</label>
  88. <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox"
  89. v-model="form.systolic_bp">
  90. </div>
  91. <div class="cell" v-if="isShow('舒张压')">
  92. <label>舒张压(mmHg)</label>
  93. <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox"
  94. v-model="form.diastolic_bp">
  95. </div>
  96. <div class="cell" v-if="isShow('脉搏')">
  97. <label>脉搏(次/分)</label>
  98. <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox"
  99. v-model="form.pulse_frequency">
  100. </div>
  101. <div class="cell" v-if="isShow('体温')">
  102. <label>体温(℃)</label>
  103. <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox"
  104. v-model="form.temperature">
  105. </div>
  106. <div class="cell" v-if="isShow('呼吸频率')">
  107. <label>呼吸频率(次/分)</label>
  108. <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox"
  109. v-model="form.breathing_rated">
  110. </div>
  111. <div class="cell" v-if="isShow('血流量')">
  112. <label>血流量(ml/min)</label>
  113. <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox"
  114. v-model="form.blood_flow_volume">
  115. </div>
  116. <div class="cell">
  117. <label>静脉压(mmHg)</label>
  118. <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.venous_pressure" style="width:60%">
  119. <button class="typeButton" style="width:30%;padding: 0.18rem 0; color: #fff; background: #409eff;border-radius:5px" @click="venousPressureChange(1)" >转换</button>
  120. </div>
  121. <div class="cell" v-if="isShow('跨膜压')">
  122. <label>跨膜压(mmHg)</label>
  123. <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.transmembrane_pressure" style="width:60%">
  124. <button class="typeButton" style="width:30%;padding: 0.18rem 0; color: #fff; background: #409eff;border-radius:5px" @click="venousPressureChange(2)" >转换</button>
  125. </div>
  126. <div class="cell" v-if="isShow('超滤量')">
  127. <label v-if="template_id == 6">超滤量(ml)</label>
  128. <label v-else>超滤量(L)</label>
  129. <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox"
  130. v-model="form.ultrafiltration_volume">
  131. </div>
  132. <div class="cell" v-if="isShow('超滤率')">
  133. <label v-if="template_id == 6">超滤率(ml/h)</label>
  134. <label v-else>超滤率(L/h)</label>
  135. <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox"
  136. v-model="form.ultrafiltration_rate">
  137. </div>
  138. <div class="cell">
  139. <label>动脉压(mmHg)</label>
  140. <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.arterial_pressure" style="width:60%">
  141. <button class="typeButton" style="width:30%;padding: 0.18rem 0; color: #fff; background: #409eff;border-radius:5px" @click="venousPressureChange(3)" >转换</button>
  142. </div>
  143. <div class="cell" v-if="isShow('透析液温度')">
  144. <label>透析液温度(℃)</label>
  145. <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox"
  146. v-model="form.dialysate_temperature">
  147. </div>
  148. <div class="cell" v-if="isShow('钠浓度')">
  149. <label>钠浓度(mmol/L)</label>
  150. <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox"
  151. v-model="form.sodium_concentration">
  152. </div>
  153. <div class="cell" v-if="isShow('置换率')">
  154. <label v-if="template_id == 6">置换率(ml/min)</label>
  155. <label v-else>置换率(L/h)</label>
  156. <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox"
  157. v-model="form.replacement_rate">
  158. </div>
  159. <div class="cell" v-if="isShow('置换量')">
  160. <label v-if="template_id == 6">置换量(ml)</label>
  161. <label v-else>置换量(L)</label>
  162. <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox"
  163. v-model="form.displacement_quantity">
  164. </div>
  165. <div class="cell" v-if="isShow('电导度')">
  166. <label>电导度(mS/m)</label>
  167. <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox"
  168. v-model="form.conductivity">
  169. </div>
  170. <div class="cell" v-if="isShow('置换液流量')">
  171. <label>置换液流量(ml/h)</label>
  172. <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox"
  173. v-model="form.displacement_flow_quantity">
  174. </div>
  175. <div class="cell width" v-if="isShow('KT/V')">
  176. <label>KT/V(在线)</label>
  177. <!-- <input type="text" class="inputBox" v-model="form.ktv"> -->
  178. <textarea @focus="inputFocus" class="inputBox" style="width: 100%;" :rows="4"
  179. v-model="form.ktv"></textarea>
  180. </div>
  181. <div class="cell width" v-if="isShow('病情变化')">
  182. <label>病情变化</label>
  183. <input type="text" class="inputBox" style="width: 100%;margin-bottom:5px;" v-model="form.symptom" readonly
  184. placeholder="选择 " @click="showSubMenu('symptom')">
  185. <textarea @focus="inputFocus" class="inputBox" style="width: 100%;" :rows="4"
  186. v-model="form.symptom"></textarea>
  187. </div>
  188. <div class="cell width" v-if="isShow('处理')">
  189. <label>处理</label>
  190. <!-- <input type="text" class="inputBox" v-model="form.dispose"> -->
  191. <input type="text" class="inputBox" style="width: 100%;margin-bottom:5px;" v-model="form.dispose" readonly
  192. placeholder="选择" @click="showSubMenu('dispose')">
  193. <textarea @focus="inputFocus" class="inputBox" style="width: 100%;" :rows="4"
  194. v-model="form.dispose"></textarea>
  195. </div>
  196. <div class="cell width" v-if="isShow('结果')">
  197. <label>结果</label>
  198. <!-- <input type="text" class="inputBox" v-model="form.result"> -->
  199. <input type="text" class="inputBox" style="width: 100%;margin-bottom:5px;" v-model="form.result" readonly
  200. placeholder="选择" @click="showSubMenu('result')">
  201. <textarea @focus="lastInputFocus" @blur="lastInputBlur" class="inputBox" style="width: 100%;" :rows="4"
  202. v-model="form.result"></textarea>
  203. </div>
  204. <div class="cell width">
  205. <label>监测人:</label>
  206. <span class="doctor">{{doctor}}</span>
  207. </div>
  208. </div>
  209. </div>
  210. </div>
  211. </div>
  212. <mt-datetime-picker
  213. ref="picker"
  214. type="datetime"
  215. @confirm="handleConfirm"
  216. v-model="pickertime">
  217. </mt-datetime-picker>
  218. <check-box-sub-menu :visibility="visibility" v-on:menu-cancle="menuCancle" v-on:menu-comfirm="menuComfirm"
  219. :propsForm="propForm"></check-box-sub-menu>
  220. </div>
  221. </template>
  222. <script>
  223. import {addMonitorRecord, deleteMonitorRecord, editMonitorRecord, GetMonitor, GetMonitorToday} from '@/api/dialysis'
  224. import {parseTime} from '@/utils'
  225. import {Dialog, Toast} from 'vant'
  226. import CheckBoxSubMenu from './subMenu/checkBoxSubMenu'
  227. import {getDataConfig} from '@/utils/data'
  228. export default {
  229. name: 'MonitDialog',
  230. props: {
  231. monitor_records: {
  232. type: Array
  233. },
  234. patient: {
  235. type: Object
  236. },
  237. order: {
  238. type: Object
  239. },
  240. last_monitor_record: {
  241. type: Object
  242. }
  243. },
  244. data () {
  245. return {
  246. loading: false,
  247. formTitle: '新增监测',
  248. formPanel: false,
  249. listPanel: true,
  250. tableDate: [],
  251. monitorRecords: this.monitor_records,
  252. pickertime: new Date(),
  253. monitor_time_str: '',
  254. // monitor_date_str: "",
  255. currentIndex: -1,
  256. currentRow: null,
  257. rowClass: 'row-class-active',
  258. template_id: 0,
  259. visibility: false,
  260. today_last_monitor_record: {},
  261. propForm: {
  262. title: '',
  263. list: [],
  264. optionList: [],
  265. isMultiple: 2,
  266. result: [], // 选中的值
  267. type: 1, // 用来区分不同子菜单,方便对返回值进行赋值
  268. selectId: 0
  269. },
  270. form: {
  271. // patient_id: 0,
  272. // order_id: 0,
  273. monitor_date: 0,
  274. // monitor_time: "00:00",
  275. operate_time: 0,
  276. pulse_frequency: '', // 脉率
  277. breathing_rated: '', // 呼吸频率
  278. systolic_bp: '', // 收缩压
  279. diastolic_bp: '', // 舒张压
  280. blood_flow_volume: '', // 血流量
  281. venous_pressure: '', // 静脉压
  282. arterial_pressure: '', // 动脉压
  283. transmembrane_pressure: '', // 跨膜压
  284. ultrafiltration_rate: '', // 超滤率
  285. ultrafiltration_volume: '', // 超滤量
  286. sodium_concentration: '', // 钠浓度
  287. dialysate_temperature: '', // 透析液温度
  288. temperature: '', // 体温
  289. replacement_rate: '', // 置换率
  290. displacement_quantity: '', // 置换量
  291. conductivity: '',
  292. displacement_flow_quantity: '',
  293. ktv: '', // KT/V(在线)
  294. symptom: '', // 症状
  295. dispose: '', // 处理
  296. result: '', // 结果
  297. monitoring_nurse: this.$store.getters.user.user.id // 监测人
  298. },
  299. doctor: this.$store.getters.user.user.user_name
  300. }
  301. },
  302. created () {
  303. var date = this.$route.query && this.$route.query.date
  304. this.template_id = this.$store.getters.user.template_info.template_id
  305. // date *= 1000;
  306. // var newDate = new Date(date);
  307. // var cDate = new Date();
  308. // var y = newDate.getFullYear();
  309. // var m = newDate.getMonth() + 1;
  310. // var d = newDate.getDate();
  311. // if (isNaN(y) || isNaN(m) || isNaN(d)) {
  312. // // newDate = new Date();
  313. // y = cDate.getFullYear();
  314. // m = cDate.getMonth() + 1;
  315. // d = cDate.getDate();
  316. // }
  317. // var h = cDate.getHours();
  318. // var mi = cDate.getMinutes();
  319. // var pickertime = (h < 10 ? "0" + h : h) + ":" + (mi < 10 ? "0" + mi : mi);
  320. // var monitor_date_str =
  321. // y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d);
  322. // this.form.monitor_date = Math.round(
  323. // new Date(monitor_date_str + " 00:00:00").getTime() / 1000
  324. // );
  325. // this.form.monitor_date = parseInt((new Date(date.getFullYear, date.getMonth, date.getDate, 0, 0, 0, 0)).getTime()) //parseTime(date, "{y}-{m}-{d}") + " 00:00:00"
  326. this.form.monitor_date = date
  327. this.form.operate_time = this.pickertime.getTime()
  328. },
  329. methods: {
  330. venousPressureChange (type) {
  331. if (type == 1) {
  332. this.form.venous_pressure =Math.ceil(Math.round(this.form.venous_pressure * 7.5))
  333. } else if (type == 2) {
  334. this.form.transmembrane_pressure = Math.ceil(Math.round(this.form.transmembrane_pressure * 7.5))
  335. } else {
  336. this.form.arterial_pressure = Math.ceil(Math.round(this.form.arterial_pressure * 7.5))
  337. }
  338. },
  339. isShow (name) {
  340. var filedList = this.$store.getters.user.fileds
  341. for (let i = 0; i < filedList.length; i++) {
  342. if (filedList[i].module == 4 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
  343. return true
  344. }
  345. }
  346. return false
  347. },
  348. getLastRecordTody () {
  349. let params = {
  350. patient_id: this.patient.id
  351. }
  352. GetMonitorToday(params).then(rs => {
  353. var resp = rs.data.data
  354. this.today_last_monitor_record = resp.monitor
  355. // this.form.operate_time = Date.parse(new Date())
  356. this.form.operate_time = resp.monitor.operate_time ? (resp.monitor.operate_time + 3600) * 1000 : Date.parse(new Date())
  357. this.form.pulse_frequency = '' // this.last_monitor_record.pulse_frequency;
  358. this.form.breathing_rated = resp.monitor.breathing_rate ? resp.monitor.breathing_rate : ''
  359. this.form.systolic_bp = '' // this.last_monitor_record.systolic_blood_pressure;
  360. this.form.diastolic_bp = '' // this.last_monitor_record.diastolic_blood_pressure;
  361. this.form.blood_flow_volume = resp.monitor.blood_flow_volume ? resp.monitor.blood_flow_volume : ''
  362. this.form.venous_pressure = ''// this.last_monitor_record.venous_pressure;
  363. this.form.arterial_pressure = '' // this.last_monitor_record.arterial_pressure;
  364. this.form.transmembrane_pressure = '' // this.last_monitor_record.transmembrane_pressure;
  365. this.form.ultrafiltration_rate = resp.monitor.ultrafiltration_rate ? resp.monitor.ultrafiltration_rate : ''
  366. this.form.ultrafiltration_volume = resp.monitor.ultrafiltration_volume ? resp.monitor.ultrafiltration_volume : ''
  367. this.form.sodium_concentration = resp.monitor.sodium_concentration ? resp.monitor.sodium_concentration : ''
  368. this.form.dialysate_temperature = resp.monitor.dialysate_temperature ? resp.monitor.dialysate_temperature : ''
  369. this.form.temperature = resp.monitor.temperature ? resp.monitor.temperature : ''
  370. this.form.replacement_rate = resp.monitor.replacement_rate ? resp.monitor.replacement_rate : ''
  371. this.form.displacement_quantity = '' // this.last_monitor_record.displacement_quantity;
  372. this.form.conductivity = ''
  373. this.form.displacement_flow_quantity = ''
  374. this.form.ktv = '' // this.last_monitor_record.ktv;
  375. this.form.symptom = ''// this.last_monitor_record.symptom;
  376. this.form.dispose = '' // this.last_monitor_record.dispose;
  377. this.form.result = '' // this.last_monitor_record.result;
  378. this.form.id = -1
  379. console.log(this.form)
  380. })
  381. },
  382. getLastRecord () {
  383. let params = {
  384. patient_id: this.patient.id
  385. }
  386. GetMonitor(params).then(rs => {
  387. var resp = rs.data
  388. if (resp.state == 1) {
  389. var monitor = resp.data.monitor
  390. if (monitor.systolic_blood_pressure == 0) {
  391. this.form.systolic_bp = ''
  392. } else {
  393. this.form.systolic_bp = monitor.systolic_blood_pressure
  394. }
  395. if (monitor.diastolic_blood_pressure == 0) {
  396. this.form.diastolic_bp = ''
  397. } else {
  398. this.form.diastolic_bp = monitor.diastolic_blood_pressure
  399. }
  400. if (monitor.pulse_frequency == 0) {
  401. this.form.pulse_frequency = ''
  402. } else {
  403. this.form.pulse_frequency = monitor.pulse_frequency
  404. }
  405. if (monitor.breathing_rate == 0) {
  406. this.form.breathing_rated = ''
  407. } else {
  408. this.form.breathing_rated = monitor.breathing_rate
  409. }
  410. if (monitor.blood_flow_volume == 0) {
  411. this.form.blood_flow_volume = ''
  412. } else {
  413. this.form.blood_flow_volume = monitor.blood_flow_volume
  414. }
  415. if (monitor.venous_pressure == 0) {
  416. this.form.venous_pressure = ''
  417. } else {
  418. this.form.venous_pressure = monitor.venous_pressure
  419. }
  420. if (monitor.arterial_pressure == 0) {
  421. this.form.arterial_pressure = ''
  422. } else {
  423. this.form.arterial_pressure = monitor.arterial_pressure
  424. }
  425. if (monitor.transmembrane_pressure == 0) {
  426. this.form.transmembrane_pressure = ''
  427. } else {
  428. this.form.transmembrane_pressure = monitor.transmembrane_pressure
  429. }
  430. if (monitor.ultrafiltration_rate == 0) {
  431. this.form.ultrafiltration_rate = ''
  432. } else {
  433. this.form.ultrafiltration_rate = monitor.ultrafiltration_rate
  434. }
  435. if (monitor.ultrafiltration_volume == 0) {
  436. this.form.ultrafiltration_volume = ''
  437. } else {
  438. this.form.ultrafiltration_volume = monitor.ultrafiltration_volume
  439. }
  440. if (monitor.sodium_concentration == 0) {
  441. this.form.sodium_concentration = ''
  442. } else {
  443. this.form.sodium_concentration = monitor.sodium_concentration
  444. }
  445. if (monitor.dialysate_temperature == 0) {
  446. this.form.dialysate_temperature = ''
  447. } else {
  448. this.form.dialysate_temperature = monitor.dialysate_temperature
  449. }
  450. if (monitor.temperature == 0) {
  451. this.form.temperature = ''
  452. } else {
  453. this.form.temperature = monitor.temperature
  454. }
  455. if (monitor.replacement_rate == 0) {
  456. this.form.replacement_rate = ''
  457. } else {
  458. this.form.replacement_rate = monitor.replacement_rate
  459. }
  460. if (monitor.displacement_quantity == 0) {
  461. this.form.displacement_quantity = ''
  462. } else {
  463. this.form.displacement_quantity = monitor.displacement_quantity
  464. }
  465. if (monitor.conductivity == 0) {
  466. this.form.conductivity = ''
  467. } else {
  468. this.form.conductivity = monitor.conductivity
  469. }
  470. if (monitor.displacement_flow_quantity == 0) {
  471. this.form.displacement_flow_quantity = ''
  472. } else {
  473. this.form.displacement_flow_quantity = monitor.displacement_flow_quantity
  474. }
  475. this.form.ktv = monitor.ktv
  476. this.form.symptom = monitor.symptom
  477. this.form.dispose = monitor.dispose
  478. this.form.result = monitor.result
  479. this.form.operate_time = new Date(
  480. monitor.operate_time * 1000
  481. ).getTime()
  482. this.form.id = -1
  483. }
  484. })
  485. },
  486. selectRow (index, row) {
  487. this.currentIndex = index
  488. this.currentRow = row
  489. },
  490. inputFocus: function (event) {
  491. var input = event.target
  492. setTimeout(function () {
  493. input.parentNode.scrollIntoView()
  494. }, 0)
  495. // if (input.setSelectionRange) {
  496. // setTimeout(function () {
  497. // input.setSelectionRange(0, input.value.length);
  498. // }, 0);
  499. // } else if (input.createTextRange) {
  500. // var rng = input.createTextRange();
  501. // rng.move('character', input.value.length);
  502. // rng.select();
  503. // }
  504. },
  505. lastInputFocus: function (event) {
  506. var input = event.target
  507. setTimeout(function () {
  508. input.style.marginBottom = '2rem'
  509. input.parentNode.scrollIntoView()
  510. }, 0)
  511. },
  512. lastInputBlur: function (event) {
  513. var input = event.target
  514. setTimeout(function () {
  515. input.style.marginBottom = ''
  516. }, 0)
  517. },
  518. close: function () {
  519. this.$emit('close')
  520. },
  521. setRecords (records) {
  522. this.monitorRecords = records
  523. },
  524. parseTime (time, layout) {
  525. return parseTime(time, layout)
  526. },
  527. addRecords (records) {
  528. this.tableDate.push(...records)
  529. },
  530. deleteForm () {
  531. if (this.currentIndex < 0 || this.currentRow == null) {
  532. Toast.fail('请先选择要删除的记录')
  533. return false
  534. }
  535. Dialog.confirm({
  536. title: '删除监测记录',
  537. message: '是否删除该监测记录'
  538. })
  539. .then(() => {
  540. let params = {
  541. record_id: this.currentRow.id,
  542. patient_id: this.patient.id
  543. }
  544. deleteMonitorRecord(params).then(rs => {
  545. var resp = rs.data
  546. if (resp.state == 1) {
  547. var recordId = resp.data.record_id
  548. this.$emit('did_delete_monitor', recordId)
  549. Toast.success('删除成功')
  550. } else {
  551. Toast.fail(resp.msg)
  552. }
  553. })
  554. })
  555. .catch(() => {
  556. })
  557. },
  558. handleConfirm (time) {
  559. this.form.operate_time = time.getTime()
  560. // var timeMap = time.split(":");
  561. // this.form.monitor_time = time;
  562. // this.monitor_time_str =
  563. // parseTime(this.form.monitor_date, "{y}-{m}-{d}") +
  564. // " " +
  565. // this.form.monitor_time;
  566. // this.monitor_time_str = this.handleTime(time);
  567. // this.form.monitor_time = parseTime(time, "{h}:{i}")
  568. // this.form.monitor_date = Math.round(new Date(parseTime(time, "{y}-{m}-{d}") + " 00:00:00").getTime()/1000);
  569. },
  570. handleTime (time) {
  571. var year = time.getFullYear()
  572. var month = time.getMonth() + 1
  573. var day = time.getDate()
  574. var hour = time.getHours()
  575. var minute = time.getMinutes()
  576. if (month < 10) {
  577. month = '0' + month
  578. }
  579. if (day < 10) {
  580. day = '0' + day
  581. }
  582. if (hour < 10) {
  583. hour = '0' + hour
  584. }
  585. if (minute < 10) {
  586. minute = '0' + minute
  587. }
  588. return year + '-' + month + '-' + day + ' ' + hour + ':' + minute + ':00'
  589. },
  590. chooseTime () {
  591. this.$refs.picker.open()
  592. },
  593. openEidtForm () {
  594. if (this.currentIndex < 0 || this.currentRow == null) {
  595. Toast.fail('请先选择要修改的记录')
  596. return false
  597. }
  598. this.formTitle = '修改监测'
  599. this.formPanel = true
  600. this.listPanel = false
  601. // console.log("this.currentRow", this.currentRow);
  602. if (this.currentRow.systolic_blood_pressure == 0) {
  603. this.form.systolic_bp = ''
  604. } else {
  605. this.form.systolic_bp = this.currentRow.systolic_blood_pressure
  606. }
  607. if (this.currentRow.diastolic_blood_pressure == 0) {
  608. this.form.diastolic_bp = ''
  609. } else {
  610. this.form.diastolic_bp = this.currentRow.diastolic_blood_pressure
  611. }
  612. if (this.currentRow.pulse_frequency == 0) {
  613. this.form.pulse_frequency = ''
  614. } else {
  615. this.form.pulse_frequency = this.currentRow.pulse_frequency
  616. }
  617. if (this.currentRow.breathing_rate == 0) {
  618. this.form.breathing_rated = ''
  619. } else {
  620. this.form.breathing_rated = this.currentRow.breathing_rate
  621. }
  622. if (this.currentRow.blood_flow_volume == 0) {
  623. this.form.blood_flow_volume = ''
  624. } else {
  625. this.form.blood_flow_volume = this.currentRow.blood_flow_volume
  626. }
  627. if (this.currentRow.venous_pressure == 0) {
  628. this.form.venous_pressure = ''
  629. } else {
  630. this.form.venous_pressure = this.currentRow.venous_pressure
  631. }
  632. if (this.currentRow.arterial_pressure == 0) {
  633. this.form.arterial_pressure = ''
  634. } else {
  635. this.form.arterial_pressure = this.currentRow.arterial_pressure
  636. }
  637. if (this.currentRow.transmembrane_pressure == 0) {
  638. this.form.transmembrane_pressure = ''
  639. } else {
  640. this.form.transmembrane_pressure = this.currentRow.transmembrane_pressure
  641. }
  642. if (this.currentRow.ultrafiltration_rate == 0) {
  643. this.form.ultrafiltration_rate = ''
  644. } else {
  645. this.form.ultrafiltration_rate = this.currentRow.ultrafiltration_rate
  646. }
  647. if (this.currentRow.ultrafiltration_volume == 0) {
  648. this.form.ultrafiltration_volume = ''
  649. } else {
  650. this.form.ultrafiltration_volume = this.currentRow.ultrafiltration_volume
  651. }
  652. if (this.currentRow.sodium_concentration == 0) {
  653. this.form.sodium_concentration = ''
  654. } else {
  655. this.form.sodium_concentration = this.currentRow.sodium_concentration
  656. }
  657. if (this.currentRow.dialysate_temperature == 0) {
  658. this.form.dialysate_temperature = ''
  659. } else {
  660. this.form.dialysate_temperature = this.currentRow.dialysate_temperature
  661. }
  662. if (this.currentRow.temperature == 0) {
  663. this.form.temperature = ''
  664. } else {
  665. this.form.temperature = this.currentRow.temperature
  666. }
  667. if (this.currentRow.replacement_rate == 0) {
  668. this.form.replacement_rate = ''
  669. } else {
  670. this.form.replacement_rate = this.currentRow.replacement_rate
  671. }
  672. if (this.currentRow.displacement_quantity == 0) {
  673. this.form.displacement_quantity = ''
  674. } else {
  675. this.form.displacement_quantity = this.currentRow.displacement_quantity
  676. }
  677. if (this.currentRow.conductivity == 0) {
  678. this.form.conductivity = ''
  679. } else {
  680. this.form.conductivity = this.currentRow.conductivity
  681. }
  682. if (this.currentRow.displacement_flow_quantity == 0) {
  683. this.form.displacement_flow_quantity = ''
  684. } else {
  685. this.form.displacement_flow_quantity = this.currentRow.displacement_flow_quantity
  686. }
  687. if (this.currentRow.ktv == 0) {
  688. this.form.ktv = ''
  689. } else {
  690. this.form.ktv = this.currentRow.ktv
  691. }
  692. this.form.symptom = this.currentRow.symptom
  693. this.form.dispose = this.currentRow.dispose
  694. this.form.result = this.currentRow.result
  695. this.form.id = this.currentRow.id
  696. this.form.operate_time = this.currentRow.operate_time * 1000
  697. // this.monitor_time_str =
  698. // parseTime(this.form.monitor_date, "{y}-{m}-{d}") +
  699. // " " +
  700. // this.form.monitor_time;
  701. },
  702. openForm () {
  703. this.formTitle = '新增监测'
  704. this.formPanel = true
  705. this.listPanel = false
  706. // if(this.monitor_time_str == "") {
  707. var date = this.$route.query && this.$route.query.date
  708. date *= 1000
  709. var newDate = new Date(date)
  710. var y = newDate.getFullYear()
  711. var m = newDate.getMonth() + 1
  712. var d = newDate.getDate()
  713. var record_date =
  714. y + '/' + (m < 10 ? '0' + m : m) + '/' + (d < 10 ? '0' + d : d)
  715. this.form.monitor_date = new Date(record_date + ' 00:00:00').getTime() / 1000
  716. var nowTime = new Date()
  717. // this.form.monitor_time = parseTime(nowTime, "{h}:{i}");
  718. // this.monitor_time_str = this.handleTime(nowTime);
  719. // this.monitor_time_str = record_date + " " + this.form.monitor_time;
  720. this.getLastRecordTody()
  721. // }
  722. },
  723. submitEditAction: function () {
  724. this.loading = true
  725. Toast.loading({forbidClick: true, duration: 0})
  726. var params = {}
  727. params.patient_id = this.patient.id
  728. params.order_id = this.order == null ? 0 : this.order.id
  729. params.date = this.form.monitor_date
  730. // params.time = this.form.monitor_time;
  731. params.operate_time = parseInt(this.form.operate_time / 1000)
  732. params.pulse_frequency = this.form.pulse_frequency
  733. params.breathing_rated = this.form.breathing_rated
  734. params.systolic_bp = this.form.systolic_bp
  735. params.diastolic_bp = this.form.diastolic_bp
  736. params.blood_flow_volume = this.form.blood_flow_volume
  737. params.venous_pressure = this.form.venous_pressure
  738. params.arterial_pressure = this.form.arterial_pressure
  739. params.transmembrane_pressure = this.form.transmembrane_pressure
  740. params.ultrafiltration_rate = this.form.ultrafiltration_rate
  741. params.ultrafiltration_volume = this.form.ultrafiltration_volume
  742. params.sodium_concentration = this.form.sodium_concentration
  743. params.dialysate_temperature = this.form.dialysate_temperature
  744. params.temperature = this.form.temperature
  745. params.replacement_rate = this.form.replacement_rate
  746. params.displacement_quantity = this.form.displacement_quantity
  747. params.ktv = this.form.ktv
  748. params.conductivity = this.form.conductivity
  749. params.symptom = this.form.symptom
  750. params.dispose = this.form.dispose
  751. params.result = this.form.result
  752. params.monitoring_nurse = this.form.monitoring_nurse
  753. params.displacement_flow_quantity = this.form.displacement_flow_quantity
  754. params.id = this.form.id
  755. editMonitorRecord(params).then(rs => {
  756. var resp = rs.data
  757. if (resp.state == 1) {
  758. this.loading = false
  759. var monitor = resp.data.monitor
  760. this.$emit('did_edit_monitor', monitor)
  761. this.selectRow(-1, null)
  762. this.form.pulse_frequency = ''
  763. this.form.breathing_rated = ''
  764. this.form.systolic_bp = ''
  765. this.form.diastolic_bp = ''
  766. this.form.blood_flow_volume = ''
  767. this.form.venous_pressure = ''
  768. this.form.arterial_pressure = ''
  769. this.form.transmembrane_pressure = ''
  770. this.form.ultrafiltration_rate = ''
  771. this.form.ultrafiltration_volume = ''
  772. this.form.sodium_concentration = ''
  773. this.form.dialysate_temperature = ''
  774. this.form.temperature = ''
  775. this.form.replacement_rate = ''
  776. this.form.displacement_quantity = ''
  777. this.form.ktv = ''
  778. this.form.symptom = ''
  779. this.form.dispose = ''
  780. this.form.result = ''
  781. this.form.conductivity = ''
  782. this.form.displacement_flow_quantity = ''
  783. this.form.id = -1
  784. Toast.success('修改成功')
  785. this.formPanel = false
  786. this.listPanel = true
  787. } else {
  788. this.loading = false
  789. Toast.fail(resp.msg)
  790. }
  791. })
  792. },
  793. submitAction: function () {
  794. this.loading = true
  795. Toast.loading({forbidClick: true, duration: 0})
  796. var params = {}
  797. params.patient_id = this.patient.id
  798. params.order_id = this.order == null ? 0 : this.order.id
  799. params.date = this.form.monitor_date
  800. params.operate_time = parseInt(this.form.operate_time / 1000)
  801. params.pulse_frequency = this.form.pulse_frequency
  802. params.breathing_rated = this.form.breathing_rated
  803. params.systolic_bp = this.form.systolic_bp
  804. params.diastolic_bp = this.form.diastolic_bp
  805. params.blood_flow_volume = this.form.blood_flow_volume
  806. params.venous_pressure = this.form.venous_pressure
  807. params.arterial_pressure = this.form.arterial_pressure
  808. params.transmembrane_pressure = this.form.transmembrane_pressure
  809. params.ultrafiltration_rate = this.form.ultrafiltration_rate
  810. params.ultrafiltration_volume = this.form.ultrafiltration_volume
  811. params.sodium_concentration = this.form.sodium_concentration
  812. params.dialysate_temperature = this.form.dialysate_temperature
  813. params.temperature = this.form.temperature
  814. params.replacement_rate = this.form.replacement_rate
  815. params.displacement_quantity = this.form.displacement_quantity
  816. params.conductivity = this.form.conductivity
  817. params.displacement_flow_quantity = this.form.displacement_flow_quantity
  818. params.ktv = this.form.ktv
  819. params.symptom = this.form.symptom
  820. params.dispose = this.form.dispose
  821. params.result = this.form.result
  822. params.monitoring_nurse = this.form.monitoring_nurse
  823. addMonitorRecord(params)
  824. .then(rs => {
  825. var resp = rs.data
  826. if (resp.state == 1) {
  827. this.loading = false
  828. var monitor = resp.data.monitor
  829. this.$emit('did_add_monitor', monitor)
  830. // this.monitor_records.unshift(monitor)
  831. // this.monitor_records= this.quickSort(this.monitor_records,"operate_time",false)
  832. this.form.pulse_frequency = ''
  833. this.form.breathing_rated = ''
  834. this.form.systolic_bp = ''
  835. this.form.diastolic_bp = ''
  836. this.form.blood_flow_volume = ''
  837. this.form.venous_pressure = ''
  838. this.form.arterial_pressure = ''
  839. this.form.transmembrane_pressure = ''
  840. this.form.ultrafiltration_rate = ''
  841. this.form.ultrafiltration_volume = ''
  842. this.form.sodium_concentration = ''
  843. this.form.dialysate_temperature = ''
  844. this.form.temperature = ''
  845. this.form.replacement_rate = ''
  846. this.form.displacement_quantity = ''
  847. this.form.ktv = ''
  848. this.form.symptom = ''
  849. this.form.dispose = ''
  850. this.form.result = ''
  851. this.form.conductivity = ''
  852. this.form.displacement_flow_quantity = ''
  853. // this.last_monitor_record.sodium_concentration =
  854. // monitor.sodium_concentration
  855. // this.last_monitor_record.dialysate_temperature =
  856. // monitor.dialysate_temperature
  857. Toast.success('新增成功')
  858. this.formPanel = false
  859. this.listPanel = true
  860. } else {
  861. this.loading = false
  862. Toast.fail(resp.msg)
  863. }
  864. })
  865. .catch(err => {
  866. this.loading = false
  867. Toast.fail(err)
  868. })
  869. },
  870. showSubMenu: function (val) {
  871. switch (val) {
  872. case 'symptom':
  873. this.propForm.type = 1
  874. this.formPanel = false
  875. this.propForm.title = '病情变化'
  876. this.visibility = true
  877. this.propForm.list = getDataConfig('hemodialysis', 'symptoms')
  878. this.propForm.optionList = []
  879. this.propForm.isMultiple = 2
  880. if (this.form.symptom.length > 0) {
  881. this.propForm.result = this.form.symptom.split(',')
  882. } else {
  883. this.propForm.result = []
  884. }
  885. break
  886. case 'dispose':
  887. this.propForm.type = 2
  888. this.formPanel = false
  889. this.propForm.title = '处理'
  890. this.visibility = true
  891. this.propForm.list = getDataConfig('hemodialysis', 'deals')
  892. this.propForm.optionList = []
  893. this.propForm.isMultiple = 2
  894. if (this.form.dispose.length > 0) {
  895. this.propForm.result = this.form.dispose.split(',')
  896. } else {
  897. this.propForm.result = []
  898. }
  899. break
  900. case 'result':
  901. this.propForm.type = 3
  902. this.formPanel = false
  903. this.propForm.title = '结果'
  904. this.visibility = true
  905. this.propForm.list = getDataConfig('hemodialysis', 'results')
  906. this.propForm.optionList = []
  907. this.propForm.isMultiple = 2
  908. if (this.form.result.length > 0) {
  909. this.propForm.result = this.form.result.split(',')
  910. } else {
  911. this.propForm.result = []
  912. }
  913. break
  914. }
  915. },
  916. menuCancle: function () {
  917. this.visibility = false
  918. this.formPanel = true
  919. },
  920. menuComfirm: function (val) {
  921. this.visibility = false
  922. this.formPanel = true
  923. switch (val.type) {
  924. case 1:
  925. this.form.symptom = val.result.join(',')
  926. break
  927. case 2:
  928. this.form.dispose = val.result.join(',')
  929. break
  930. case 3:
  931. this.form.result = val.result.join(',')
  932. break
  933. }
  934. },
  935. open: function () {
  936. this.listPanel = true
  937. this.formPanel = false
  938. this.visibility = false
  939. this.$refs.picker.close()
  940. var dialogTop = document.querySelector('#dialogTop')
  941. if (dialogTop != null) {
  942. this.$nextTick(() => {
  943. dialogTop.scrollTop = 0
  944. })
  945. }
  946. },
  947. parseTime: function (time, format) {
  948. return parseTime(time, format)
  949. },
  950. quickSort (arr, name, snum) {
  951. // 如果数组<=1,则直接返回
  952. if (arr.length <= 1) {
  953. return arr
  954. }
  955. var pivotIndex = Math.floor(arr.length / 2)
  956. // 找基准,并把基准从原数组删除
  957. var pivot = arr.splice(pivotIndex, 1)[0]
  958. var middleNum = pivot[name]
  959. // 定义左右数组
  960. var left = []
  961. var right = []
  962. // 比基准小的放在left,比基准大的放在right
  963. if (snum) {
  964. for (var i = 0; i < arr.length; i++) {
  965. if (arr[i][name] <= middleNum) {
  966. left.push(arr[i])
  967. } else {
  968. right.push(arr[i])
  969. }
  970. }
  971. } else {
  972. for (var i = 0; i < arr.length; i++) {
  973. if (arr[i][name] <= middleNum) {
  974. left.push(arr[i])
  975. } else {
  976. right.push(arr[i])
  977. }
  978. }
  979. }
  980. // 递归,返回所需数组
  981. return this.quickSort(left, name, snum).concat(
  982. [pivot],
  983. this.quickSort(right, name, snum)
  984. )
  985. }
  986. },
  987. components: {
  988. CheckBoxSubMenu
  989. }
  990. }
  991. </script>
  992. <style style="stylesheet/scss" lang="scss" scoped>
  993. .DialogContent {
  994. .content {
  995. .cell {
  996. float: left;
  997. width: 4.8rem;
  998. margin: 0.35rem 0 0 0.5rem !important;
  999. label {
  1000. display: block;
  1001. height: 0.55rem;
  1002. line-height: 0.55rem;
  1003. color: $pgh-color;
  1004. font-size: 0.45rem;
  1005. margin-bottom: 0.2rem;
  1006. }
  1007. select {
  1008. width: 100%;
  1009. padding: 0.2rem 0;
  1010. border: 1px $border-color solid;
  1011. border-radius: 2px;
  1012. padding-left: 5px;
  1013. }
  1014. .inputBox {
  1015. border: 1px $border-color solid;
  1016. border-radius: 2px;
  1017. padding: 0.18rem 0;
  1018. padding-left: 5px;
  1019. width: 100%;
  1020. @media only screen and (min-width: 500px) {
  1021. height: 60px;
  1022. line-height: 60px;
  1023. font-size: 0.45rem;
  1024. }
  1025. }
  1026. .typeButton{
  1027. height: 38px;
  1028. line-height: 38px;
  1029. font-size: 0.45rem;
  1030. padding: 0 !important;
  1031. @media only screen and (min-width: 500px) {
  1032. height: 60px;
  1033. line-height: 60px;
  1034. font-size: 0.45rem;
  1035. padding: 0 !important;
  1036. }
  1037. }
  1038. .input_focus {
  1039. margin-bottom: 2rem;
  1040. }
  1041. .textarea {
  1042. width: 100%;
  1043. height: 1.22rem;
  1044. border: 1px $border-color solid;
  1045. border-radius: 2px;
  1046. padding-left: 5px;
  1047. }
  1048. }
  1049. .width {
  1050. width: 95%;
  1051. @include box-sizing;
  1052. label {
  1053. display: inline-block;
  1054. }
  1055. button {
  1056. background: $main-color;
  1057. color: #fff;
  1058. border-radius: 6px;
  1059. width: 3.1rem;
  1060. height: 0.9rem;
  1061. line-height: 0.9rem;
  1062. text-align: center;
  1063. margin: 0 0 0.9rem 0;
  1064. }
  1065. }
  1066. .center {
  1067. text-align: center;
  1068. }
  1069. }
  1070. }
  1071. .row-class-active > td {
  1072. background: #badcff !important;
  1073. }
  1074. .doctor{
  1075. font-size: 0.45rem;
  1076. }
  1077. </style>
  1078. <style lang="scss">
  1079. .el-table td {
  1080. padding: 0;
  1081. }
  1082. .el-table th {
  1083. padding: 6px 0;
  1084. }
  1085. </style>