RassAssessment.vue 37KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706
  1. <template>
  2. <div class="patient-container">
  3. <patient-sidebar :id="patientID" defaultActive="5-7"></patient-sidebar>
  4. <div>
  5. <div class="patient-app-container advice-container app-container">
  6. <div class='content_top' style="width: 100%;margin-bottom: 20px;">
  7. <div style="font-size: 20px;">RASS评估表</div>
  8. <div>
  9. <el-button @click="RASShistory">历史评分</el-button>
  10. </div>
  11. </div>
  12. <div class='content_top'>
  13. <div style="width:29%">
  14. <table class="table" border="1" style="width: 100%;">
  15. <thead>
  16. <tr>
  17. <th style="width: 180px; text-align: left;margin-left: 5px;">LOS评分</th>
  18. </tr>
  19. </thead>
  20. <tbody>
  21. <tr v-for="(item, index) in LOS" :key="index" :style="{'background':(index==0 || index % 2==0) ?'rgb(243, 240, 240)':'white'}">
  22. <td style="padding: 5px;">
  23. <div class="rightjiange" style="position: relative;">
  24. <label style="">
  25. <input type="radio" name="ball" :value="item.value" @change="handleCheckedCitiesChange"/>
  26. <div style="display: inline-block;">{{ item.title }}</div>&nbsp;
  27. <div :style="{'display': 'inline-block','position': 'absolute','top':index ==2 ? '-8px':'0px'}">
  28. {{ item.value }}
  29. </div>
  30. </label>
  31. </div>
  32. </td>
  33. </tr>
  34. </tbody>
  35. </table>
  36. </div>
  37. <div style="width:70%">
  38. <table class="table" border="1" style="width: 100%;">
  39. <thead>
  40. <tr>
  41. <th colspan="2">RASS评分</th>
  42. </tr>
  43. </thead>
  44. <tbody>
  45. <tr >
  46. <td>
  47. <table class="table" border="1" style="width: 100%;border-collapse: collapse;">
  48. <tr class="bg_color" v-for="(item,index) in RASS" :key="index"
  49. :style="{'background':(index==0 || index % 2==0) ?'rgb(243, 240, 240)':'white'}">
  50. <td>
  51. <div class="rightjiange" style="position: relative;">
  52. <label style="">
  53. <input type="radio" name="ball" :value="item.value" @change="handleCheckedCitiesChange"/>
  54. <div style="display: inline-block;">{{ item.title }}</div>&nbsp;
  55. <div :style="{'display': 'inline-block','position': 'absolute','top':index !=0 ? '-8px':'0px','overflow': 'auto','height': '30px'}">
  56. {{ item.value }}
  57. </div>
  58. </label>
  59. </div>
  60. </td>
  61. </tr>
  62. </table>
  63. </td>
  64. <td>
  65. <table class="table" border="1" style="width: 100%;border-collapse: collapse;">
  66. <tr v-for="(item,index) in RASS1" :key="index"
  67. :style="{'background':(index==0 || index % 2==0) ?'rgb(243, 240, 240)':'white'}">
  68. <td>
  69. <div class="rightjiange" style="position: relative;">
  70. <label style="">
  71. <input type="radio" name="ball" :value="item.value2" @change="handleCheckedCitiesChange"/>
  72. <div style="display: inline-block;">{{ item.title2 }}</div>&nbsp;
  73. <div :style="{'display': 'inline-block','position': 'absolute','top':index !=0 && index !=1 ? '-8px':'0px','overflow': 'auto','height': '30px'}">
  74. {{ item.value2 }}
  75. </div>
  76. </label>
  77. </div>
  78. </td>
  79. </tr>
  80. </table>
  81. </td>
  82. </tr>
  83. </tbody>
  84. </table>
  85. </div>
  86. </div>
  87. <div class="content_top" style="margin: 10px 0px;">
  88. <div>
  89. <div class="bottoms">
  90. <span>总分:</span>
  91. <el-input v-model="RASS_Totalpoints" style="width: 100px;"></el-input>分
  92. </div>
  93. <div class="bottoms">
  94. <span>评估日期:</span>
  95. <el-date-picker
  96. v-model="value1"
  97. type="date"
  98. placeholder="选择日期"
  99. :clearable="false"
  100. style="width: 150px;">
  101. </el-date-picker>
  102. </div>
  103. <div class="bottoms">
  104. <span>评估人:</span>
  105. <el-select v-model="value" placeholder="请选择" >
  106. <el-option
  107. v-for="item in options"
  108. :key="item.value"
  109. :label="item.label"
  110. :value="item.value"
  111. style="width:150px;">
  112. </el-option>
  113. </el-select>
  114. </div>
  115. </div>
  116. <div style="margin:5px 10px;">
  117. <el-button type="primary">确认</el-button>
  118. </div>
  119. </div>
  120. <hr style="height:1px;border:none;border-top:1px dashed #DCDFE6;margin-bottom: 10px;"/>
  121. <div style=" font-size: 18px;margin-bottom: 10px;">
  122. <span>疼痛评估</span>
  123. </div>
  124. <div>
  125. <table class="table" border="1" style="width: 100%;">
  126. <thead>
  127. <tr>
  128. <th style="width: 180px; text-align: left; padding-left: 5px;">疼痛评估工具</th>
  129. </tr>
  130. </thead>
  131. <tr>
  132. <td>
  133. <div class="jiange">
  134. <el-radio-group v-model="radio">
  135. <el-radio v-for="(item,index ) in RassGJ" :label="item" :key="index">{{ item }}</el-radio>
  136. </el-radio-group>
  137. </div>
  138. </td>
  139. </tr>
  140. <tr>
  141. <div style="">
  142. <div style="vertical-align: middle;" v-if="radio=='NRS'">
  143. <div style="display: flex; height: 160px;align-items: center;">
  144. <span style="width:38px;height:22px;line-height:22px;margin-left:40px;"></span>
  145. <div style="flex: 1;height: 22px;position: relative;border-bottom: 2px solid #333; top: -8px;">
  146. <span :class="NRS_val == 0 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:0" @click="click_NRS(0)">
  147. <span class="ttpg-nrs-score">0</span>
  148. </span>
  149. <span :class="NRS_val == 1 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:10%" @click="click_NRS(1)">
  150. <span class="ttpg-nrs-score">1</span>
  151. </span>
  152. <span :class="NRS_val == 2 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:20%" @click="click_NRS(2)">
  153. <span class="ttpg-nrs-score">2</span>
  154. </span>
  155. <span :class="NRS_val == 3 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:30%" @click="click_NRS(3)">
  156. <span class="ttpg-nrs-score">3</span>
  157. </span>
  158. <span :class="NRS_val == 4 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:40%" @click="click_NRS(4)">
  159. <span class="ttpg-nrs-score">4</span>
  160. </span>
  161. <span :class="NRS_val == 5 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:50%" @click="click_NRS(5)">
  162. <span class="ttpg-nrs-score">5</span>
  163. </span>
  164. <span :class="NRS_val == 6 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:60%" @click="click_NRS(6)">
  165. <span class="ttpg-nrs-score">6</span>
  166. </span>
  167. <span :class="NRS_val == 7 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:70%" @click="click_NRS(7)">
  168. <span class="ttpg-nrs-score">7</span>
  169. </span>
  170. <span :class="NRS_val == 8 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:80%" @click="click_NRS(8)">
  171. <span class="ttpg-nrs-score">8</span>
  172. </span>
  173. <span :class="NRS_val == 9 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:90%" @click="click_NRS(9)">
  174. <span class="ttpg-nrs-score">9</span>
  175. </span>
  176. <span :class="NRS_val == 10 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="right:0 ;" @click="click_NRS(10)">
  177. <span class="ttpg-nrs-score">10</span>
  178. </span>
  179. </div>
  180. <span style="width:38px;height:22px;line-height:22px;margin-right:40px;"></span>
  181. </div>
  182. </div>
  183. <div style="vertical-align: middle;" v-else-if="radio=='表情法'">
  184. <div style="display: flex;flex-wrap: wrap;padding:20px;">
  185. <!-- <div style="flex:1;text-align: center;">
  186. <div>
  187. <img src="@/assets/evaluate/a.png" alt="">
  188. </div>
  189. <span>
  190. <input type="radio" value="0" class="wxpg-check" id="ttpggj-type-b0" name="ttpggj-bqf">
  191. <label >无疼痛</label>
  192. </span>
  193. </div> -->
  194. <div style="flex:1;text-align: center;" v-for="(item,index) in biaoqing" :key="index">
  195. <div >
  196. <img :src="item.imgs" alt="">
  197. </div>
  198. <span>
  199. <!-- <el-radio :label="item.text" :value="item.value" :key="index" style="color: black;" ></el-radio> -->
  200. <!-- <label >
  201. <input type="radio" :value="item.value" name="ttpggj-bqf" @click="radioclick($event,item.value)">
  202. {{item.text}}</label> -->
  203. <el-radio-group v-model="radio1" @change="radioclick($event,item.value)">
  204. <el-radio :label="item.text" :value="item.value" :key="index" style="color: black;" >
  205. </el-radio>
  206. </el-radio-group>
  207. </span>
  208. </div>
  209. </div>
  210. </div>
  211. <div style="" v-else-if="radio=='视觉模拟法'">
  212. <div style="display: flex; height: 160px;align-items: center;">
  213. <span style="width:38px;height:22px;line-height:22px;margin-left:40px;">无痛</span>
  214. <div style="flex: 1;height: 22px;position: relative;border-bottom: 2px solid #333; top: -8px;">
  215. <span :class="shijue_val == 0 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:0" @click="clickspan(0)">
  216. <span class="ttpg-nrs-score">0</span>
  217. </span>
  218. <span :class="shijue_val==1 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:10%" @click="clickspan(1)">
  219. <span class="ttpg-nrs-score">1</span>
  220. </span>
  221. <span :class="shijue_val==2 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:20%" @click="clickspan(2)">
  222. <span class="ttpg-nrs-score">2</span>
  223. </span>
  224. <span :class="shijue_val==3 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:30%" @click="clickspan(3)">
  225. <span class="ttpg-nrs-score">3</span>
  226. </span>
  227. <span :class="shijue_val==4 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:40%" @click="clickspan(4)">
  228. <span class="ttpg-nrs-score">4</span>
  229. </span>
  230. <span :class="shijue_val==5 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:50%" @click="clickspan(5)">
  231. <span class="ttpg-nrs-score">5</span>
  232. </span>
  233. <span :class="shijue_val==6 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:60%" @click="clickspan(6)">
  234. <span class="ttpg-nrs-score">6</span>
  235. </span>
  236. <span :class="shijue_val==7 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:70%" @click="clickspan(7)">
  237. <span class="ttpg-nrs-score">7</span>
  238. </span>
  239. <span :class="shijue_val==8 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:80%" @click="clickspan(8)">
  240. <span class="ttpg-nrs-score">8</span>
  241. </span>
  242. <span :class="shijue_val==9 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="left:90%" @click="clickspan(9)">
  243. <span class="ttpg-nrs-score">9</span>
  244. </span>
  245. <span :class="shijue_val==10 ? 'tszs-nrs-tag active' : 'tszs-nrs-tag'" style="right:0 ;" @click="clickspan(10)">
  246. <span class="ttpg-nrs-score">10</span>
  247. </span>
  248. </div>
  249. <span style="width:38px;height:22px;line-height:22px;margin-right:40px;margin-left: 3px;">最痛</span>
  250. </div>
  251. </div>
  252. <div style="vertical-align: middle;" v-else-if="radio=='语言描述法'">
  253. <div style="line-height: 160px;margin: auto;width: 900px;">
  254. <el-radio-group v-model="radio1" @change="yuyanchange">
  255. <el-radio v-for="(item,index ) in yuyan" :label="item.label" :key="index" style="color: black;" >
  256. </el-radio>
  257. </el-radio-group>
  258. </div>
  259. </div>
  260. <div style="vertical-align: middle;" v-else-if="radio=='行为学评估量表'">
  261. <behavior ref="Behavior" @submit="behav"></behavior>
  262. </div>
  263. <div style="width: 40%;margin-left: 15%;" v-else-if="radio=='其他'">
  264. <el-input
  265. type="textarea"
  266. :autosize="{minRows: 8, maxRows: 10}"
  267. placeholder="请输入内容"
  268. v-model="textarea1">
  269. </el-input>
  270. </div>
  271. </div>
  272. <div style="margin:0px 0px 10px 10%;">
  273. <div class="bottoms">
  274. <span>疼痛评分:</span>
  275. <el-input v-model="Pain_score" style="width: 100px;"></el-input>分
  276. </div>
  277. <div class="bottoms">
  278. <span>处理后疼痛:</span>
  279. <el-input v-model="input" placeholder="请输入内容" style="width: 100px;"></el-input>分
  280. </div>
  281. <div class="bottoms">
  282. <span>患者状态:</span>
  283. <el-input v-model="input" placeholder="请输入内容" style="width: 150px;"></el-input>
  284. </div>
  285. </div>
  286. </tr>
  287. </table>
  288. </div>
  289. <div class="content_top" style="margin: 20px 0px;width: 100%;">
  290. <div style="width: 49%; ">
  291. <p class="biaotou">疼痛部位</p>
  292. <table class="table" border="1" style="width: 100%;">
  293. <thead>
  294. <tr>
  295. <th style="width: 130px;">项目</th>
  296. <th style="">症状</th>
  297. </tr>
  298. </thead>
  299. <tbody>
  300. <tr class="bg_color">
  301. <td class="start">疼痛性质</td>
  302. <td>
  303. <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
  304. <span class="ttbwzz-type-a" v-for="item in xingzhi" :key="item">
  305. <label for="">
  306. <input type="checkbox" name="ball" value="volleyball" />&nbsp;{{ item }}
  307. </label>
  308. </span>
  309. <label for="" style="font-size: 15px;">
  310. <input type="checkbox" name="ball" value="volleyball" />&nbsp;其他:
  311. <el-input v-model="input" placeholder="" style="width: 190px;"></el-input>
  312. </label>
  313. </div>
  314. </td>
  315. </tr>
  316. <tr>
  317. <td class="start">疼痛伴随症状</td>
  318. <td>
  319. <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
  320. <span class="ttbwzz-type-a" v-for="item in tengtzz" :key="item">
  321. <label for="">
  322. <input type="checkbox" name="ball" value="volleyball" />&nbsp;{{ item }}
  323. </label>
  324. </span>
  325. <label for="" style="font-size: 15px;">
  326. <input type="checkbox" name="ball" value="volleyball" />&nbsp;其他:
  327. <el-input v-model="input" placeholder="" style="width: 190px;"></el-input>
  328. </label>
  329. </div>
  330. </td>
  331. </tr>
  332. <tr class="bg_color">
  333. <td class="start">疼痛对活动影响</td>
  334. <td>
  335. <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
  336. <span class="ttbwzz-type-a" v-for="item in huodongyx" :key="item">
  337. <label for="">
  338. <input type="checkbox" name="ball" value="volleyball" />&nbsp;{{ item }}
  339. </label>
  340. </span>
  341. </div>
  342. </td>
  343. </tr>
  344. <tr>
  345. <td class="start">止痛药不良反应</td>
  346. <td>
  347. <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
  348. <span class="ttbwzz-type-a" v-for="item in zhitong" :key="item">
  349. <label for="">
  350. <input type="checkbox" name="ball" value="volleyball" />&nbsp;{{ item }}
  351. </label>
  352. </span>
  353. <label for="" style="font-size: 15px;">
  354. <input type="checkbox" name="ball" value="volleyball" />&nbsp;其他:
  355. <el-input v-model="input" placeholder="" style="width: 190px;"></el-input>
  356. </label>
  357. </div>
  358. </td>
  359. </tr>
  360. </tbody>
  361. </table>
  362. </div>
  363. <div style="width: 49%;">
  364. <p class="biaotou">护理处置</p>
  365. <table class="table" border="1" style="width: 100%;">
  366. <thead>
  367. <tr>
  368. <th>护理处置方式</th>
  369. </tr>
  370. </thead>
  371. <tbody>
  372. <tr class="bg_color">
  373. <td>
  374. <div style="display: flex;">
  375. <span style="width:100px;padding-left:16px;margin-top:4px;height:30px;line-height:30px;font-size: 15px;">
  376. 处置方式:
  377. </span>
  378. <div style="flex:1;display: flex;flex-wrap: wrap;padding:4px;">
  379. <span class="ttbwzz-type-a" v-for="item in chuzhifs" :key="item">
  380. <label for="">
  381. <input type="checkbox" name="ball" value="volleyball" />&nbsp;{{ item }}
  382. </label>
  383. </span>
  384. </div>
  385. </div>
  386. </td>
  387. </tr>
  388. <tr>
  389. <td style="padding-left: 16px;">
  390. <span class="rightjiange">
  391. <label for="">
  392. <input type="checkbox" name="ball" value="volleyball" />&nbsp;遵医嘱使用
  393. </label>
  394. </span>
  395. </td>
  396. </tr>
  397. <tr class="bg_color">
  398. <td style="padding-left: 16px;">
  399. <span class="rightjiange">
  400. <label for="">
  401. <input type="checkbox" name="ball" value="volleyball" />&nbsp;静脉镇痛
  402. </label>
  403. </span>
  404. </td>
  405. </tr>
  406. <tr>
  407. <td style="padding-left: 16px;">
  408. <span class="rightjiange">
  409. <label for="">
  410. <input type="checkbox" name="ball" value="volleyball" />&nbsp;阿片类药物非自控镇痛给药
  411. </label>
  412. </span>
  413. </td>
  414. </tr>
  415. <tr class="bg_color">
  416. <td style="padding-left: 16px;">
  417. <span class="rightjiange">
  418. <label for="">
  419. <input type="checkbox" name="ball" value="volleyball" />&nbsp;硬膜外镇痛
  420. </label>
  421. </span>
  422. </td>
  423. </tr>
  424. <tr>
  425. <td style="padding-left: 16px;">
  426. <span class="rightjiange">
  427. <label for="">
  428. <input type="checkbox" name="ball" value="volleyball" />&nbsp;神经阻滞镇痛
  429. </label>
  430. </span>
  431. </td>
  432. </tr>
  433. </tbody>
  434. </table>
  435. </div>
  436. </div>
  437. <div class="content_top" style="margin-bottom: 10px ;">
  438. <div>
  439. <div class="bottoms">
  440. <span>评估日期:</span>
  441. <el-date-picker
  442. v-model="value1"
  443. type="date"
  444. placeholder="选择日期"
  445. :clearable="false"
  446. style="width: 150px;">
  447. </el-date-picker>
  448. </div>
  449. <div class="bottoms">
  450. <span>评估人:</span>
  451. <el-select v-model="value" placeholder="请选择" >
  452. <el-option
  453. v-for="item in options"
  454. :key="item.value"
  455. :label="item.label"
  456. :value="item.value"
  457. style="width:150px;">
  458. </el-option>
  459. </el-select>
  460. </div>
  461. </div>
  462. <div style="margin:5px 10px;">
  463. <el-button type="primary">确认</el-button>
  464. </div>
  465. </div>
  466. </div>
  467. </div>
  468. </div>
  469. </template>
  470. <script>
  471. import PatientSidebar from '../components/PatientSidebar.vue'
  472. import behavior from './behavior.vue'
  473. export default {
  474. components:{
  475. PatientSidebar,
  476. behavior
  477. },
  478. data(){
  479. return{
  480. patientID:0,
  481. radio:'NRS',
  482. radio1:'',
  483. input:'',
  484. value1:'',
  485. value:'',
  486. textarea1:'',
  487. radio_val:null,
  488. yuyan_val:null,
  489. options:[],
  490. RASS_Totalpoints:'',
  491. behav_val:null,
  492. // shijue:'',
  493. shijue_val:null,
  494. NRS_val:null,
  495. // Pain_score:0
  496. LOS:[{title:'0分', value:'清醒'},{title:'1分', value:'有些昏昏欲睡,但容易唤醒'},
  497. {title:'2分', value:'频繁发生昏昏欲睡,容易唤醒,但不能持续处于觉醒状态'},
  498. {title:'3分', value:'无意识,无法唤醒'},{title:'S分', value:'正常意识,容易唤醒'}
  499. ],
  500. RASS:[{title:'-5分', value:'无法唤醒,对声音或物理刺激均无反应'},
  501. {title:'-4分', value:'深度镇静,对声音刺激无反应,但对物理刺激有运动或睁眼反应'},
  502. {title:'-3分', value:'中度镇静,对声音刺激有活动或睁眼动作(但无目光接触)'},
  503. {title:'-2分', value:'轻度镇静,对于声音刺激可以有简短的目光接触的觉醒,<10s'},
  504. {title:'-1分', value:'困倦的昏昏欲睡的,不完全觉醒但能保持觉醒状态,对于声音刺激眼睛可以睁开或有目光接触≥10s'},
  505. ],
  506. RASS1:[{title2:'0分', value2:'警觉的平静的'},
  507. {title2:'+1分', value2:'不安的焦虑的:焦虑但无强烈的攻击行为'},
  508. {title2:'+2分', value2:'焦虑的激动的:经常性的无目的活动,人机对抗'},
  509. {title2:'+3分', value2:'非常焦虑激动的:牵拉或拔除管道,容易焦虑不安'},
  510. {title2:'+4分', value2:'好斗的好战的:过于好斗,有暴力倾向,对医护人员有攻击行为'},
  511. ],
  512. RassGJ:['NRS','表情法','视觉模拟法','语言描述法','行为学评估量表','其他'],
  513. yuyan:[{label:'0无痛',value:0},{label:'1微痛',value:1},{label:'2一般',value:2},{label:'4中度疼痛',value:4},{label:'6中重度疼痛',value:6},{label:'8重度疼痛',value:8},{label:'10无法忍受',value:10}],
  514. biaoqing:[{imgs:require('@/assets/evaluate/a.png'),text:'无疼痛',value:0},{imgs:require('@/assets/evaluate/b.png'),text:'有一点疼痛',value:2},
  515. {imgs:require('@/assets/evaluate/c.png'),text:'轻微疼痛',value:4},{imgs:require('@/assets/evaluate/d.png'),text:'疼痛明显',value:6},
  516. {imgs:require('@/assets/evaluate/e.png'),text:'疼痛较严重',value:8},{imgs:require('@/assets/evaluate/f.png'),text:'剧烈疼痛',value:10},
  517. ],
  518. xingzhi:['宫缩痛','持续固定痛','跳痛','刺痛','刀割痛','锐痛',
  519. '痉挛痛','绞痛','热灼痛','撕裂痛','钻顶样痛','触痛',
  520. '酸痛','闷痛','胀痛','牵拉样痛','游走痛','难以描述'
  521. ],
  522. tengtzz:['无','头晕','恶心、呕吐','疲软乏力','气促、心慌'],
  523. huodongyx:['不影响','改变体位时疼痛明显','影响睡眠','影响休息','影响活动'],
  524. zhitong:['恶心','呕吐','便秘','尿潴留','皮肤瘙痒','呼吸抑制'],
  525. chuzhifs:['通知医生','卧床休息,舒适体位摆放','保持环境安静','冷敷','热敷','理疗','针灸','拒绝治疗','入睡','滴定开始']
  526. }
  527. },
  528. created(){
  529. console.log('asdfasdfasdfasssdfas',this.radio);
  530. },
  531. methods:{
  532. handleCheckedCitiesChange(e){
  533. console.log('11111',e.target.value);
  534. const lent = this.LOS
  535. const len = this.RASS
  536. const len2=this.RASS1
  537. for(let i=0;i<lent.length;i++){
  538. if(e.target.value == lent[i].value ){
  539. this.RASS_Totalpoints=lent[i].title.split('分')[0]
  540. }
  541. }
  542. for(let y=0;y<len.length;y++){
  543. if(e.target.value == len[y].value ){
  544. console.log('2222',len[y].title.split('分')[0]);
  545. this.RASS_Totalpoints = len[y].title.split('分')[0]
  546. }
  547. }
  548. for(let y=0;y<len2.length;y++){
  549. if(e.target.value == len2[y].value2 ){
  550. this.RASS_Totalpoints = len2[y].title2.split('分')[0]
  551. }
  552. }
  553. },
  554. radioclick(e,value){
  555. console.log('2222',e,value);
  556. if(e == this.radio1){
  557. this.radio_val =value
  558. }
  559. },
  560. yuyanchange(e){
  561. console.log('11111',e);
  562. console.log('22222',this.radio1);
  563. const yuyan =e.replace(/[^\d]/g, " ");
  564. if(e == this.radio1){
  565. this.yuyan_val = yuyan
  566. }
  567. },
  568. behav(data){
  569. this.behav_val = data
  570. },
  571. clickspan(val){
  572. console.log('00000',this.shijue);
  573. // this.shijue = val
  574. this.shijue_val =val
  575. console.log('00000',val);
  576. },
  577. click_NRS(val){
  578. this.NRS_val = val
  579. },
  580. // 历史评分
  581. RASShistory(){
  582. this.$router.push({path: '/patients/RASS_history'})
  583. }
  584. },
  585. computed:{
  586. Pain_score(){
  587. // for(let i=0;i<this.RassGJ.length;i++){
  588. // if()
  589. // }
  590. if(this.radio == 'NRS'){
  591. return this.NRS_val
  592. }
  593. else if(this.radio == '表情法'){
  594. return this.radio_val
  595. }else if(this.radio == '视觉模拟法' ){
  596. return this.shijue_val
  597. }else if(this.radio == '语言描述法' ){
  598. return this.yuyan_val
  599. }else if(this.radio == '行为学评估量表'){
  600. return this.behav_val
  601. // this.$refs.behavior.getTotalpoints()
  602. }
  603. }
  604. }
  605. }
  606. </script>
  607. <style lang="scss" scoped>
  608. .content_top{
  609. display: flex;
  610. justify-content: space-between;
  611. }
  612. .table{
  613. border: 1px solid #DCDFE6;
  614. border-collapse:collapse;
  615. border-spacing: 0;
  616. thead th{
  617. background: #0077ff9f;
  618. color: white;
  619. text-align: center;
  620. height: 40px;
  621. }
  622. tbody td{
  623. height: 40px;
  624. }
  625. .start{
  626. text-align: center;
  627. }
  628. .bing{
  629. width: 50%;
  630. padding: 5px;
  631. }
  632. .bg_color{
  633. background: rgb(243, 240, 240);
  634. }
  635. .jiange{
  636. margin-left: 20px;
  637. color: black;
  638. line-height: 40px;
  639. }
  640. .rightjiange{
  641. font-size: 15px;
  642. }
  643. .ttbwzz-type-a {
  644. min-width: 80px;
  645. margin-right: 30px;
  646. padding: 5px 0px;
  647. font-size: 15px;
  648. }
  649. input{
  650. -webkit-appearance: checkbox;
  651. }
  652. }
  653. .bottoms{
  654. display: inline-block;
  655. margin-left: 10px;
  656. margin-top: 5px;
  657. }
  658. .biaotou{
  659. font-size: 18px;
  660. margin-bottom: 10px;
  661. color: #0077ff9f;
  662. // background-color: '#409eff';
  663. }
  664. .ttpg-nrs-score {
  665. position: absolute;
  666. top: -40px;
  667. height: 40px;
  668. line-height: 40px;
  669. width: 20px;
  670. left: -5px;
  671. text-align: center;
  672. }
  673. .tszs-nrs-tag{
  674. width: 16px;
  675. height: 16px;
  676. border: 2px solid #333;
  677. border-radius: 50%;
  678. background: #fff;
  679. position: absolute;
  680. top: 13px;
  681. cursor: pointer;
  682. }
  683. .active{
  684. background: #f8c409;
  685. }
  686. </style>