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

Muscleforce.vue 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. <template>
  2. <div class="patient-container">
  3. <patient-sidebar :id="patientID" defaultActive="5-14"></patient-sidebar>
  4. <div>
  5. <div class="patient-app-container advice-container app-container">
  6. <div class="content_top">
  7. <!-- 左 -->
  8. <div style="width: 58%;">
  9. <div style="margin-bottom: 20px;"><el-button type="primary">新增</el-button></div>
  10. <div style="font-size: 20px;margin-bottom: 20px;">肌力评估表</div>
  11. <div style="width: 100%;">
  12. <table class="table" border="1" style="width: 100%;">
  13. <thead>
  14. <tr>
  15. <th style="width: 150px;">级别</th>
  16. <th>分值</th>
  17. </tr>
  18. </thead>
  19. <!-- <tbody>
  20. <tr class="bg_color">
  21. <td class="start">0级</td>
  22. <td>
  23. <div class="jiange">
  24. <label style="font-size: 15px;"><input type="checkbox" name="ball" value="volleyball"/>&nbsp; 肌肉完全不收缩</label>
  25. </div>
  26. </td>
  27. </tr>
  28. <tr>
  29. <td class="start">1级</td>
  30. <td>
  31. <div class="jiange">
  32. <label style="font-size: 15px;"><input type="checkbox" name="ball" value="volleyball" />&nbsp; 可见肌肉收缩但无肢体运动</label>
  33. </div>
  34. </td>
  35. </tr>
  36. <tr class="bg_color">
  37. <td class="start">2级</td>
  38. <td>
  39. <div class="jiange">
  40. <label style="font-size: 15px;"><input type="checkbox" name="ball" value="volleyball"/>
  41. &nbsp;肢体能在床上移动,但不能抬离床面,即不能对抗地心引力
  42. </label>
  43. </div>
  44. </td>
  45. </tr>
  46. <tr >
  47. <td class="start">3级</td>
  48. <td>
  49. <div class="jiange">
  50. <label style="font-size: 15px;"><input type="checkbox" name="ball" value="volleyball" />
  51. &nbsp;肢体能抬离床面,克服地心引力做随意运动,但不能对抗外加阻力
  52. </label>
  53. </div>
  54. </td>
  55. </tr>
  56. <tr class="bg_color">
  57. <td class="start">4级</td>
  58. <td>
  59. <div class="jiange">
  60. <label style="font-size: 15px;"><input type="checkbox" name="ball" value="volleyball" />
  61. &nbsp;能在一般的外加阻力下作运动,但力量较正常弱
  62. </label>
  63. </div>
  64. </td>
  65. </tr>
  66. <tr>
  67. <td class="start">5级</td>
  68. <td>
  69. <div class="jiange">
  70. <label style="font-size: 15px;"><input type="checkbox" name="ball" value="volleyball" />
  71. &nbsp;正常肌力
  72. </label>
  73. </div>
  74. </td>
  75. </tr>
  76. </tbody> -->
  77. <tbody>
  78. <tr v-for="(item,index) in shuju" :key="index" :style="{'background':(index==0 || index % 2==0) ?'rgb(243, 240, 240)':'white'}">
  79. <td class="start">{{ item.title }}</td>
  80. <td>
  81. <div class="jiange">
  82. <label style="font-size: 15px;"><input type="checkbox" name="ball" :value="item.value" @change="handleCheckedCitiesChange"/>&nbsp;{{ item.value }}</label>
  83. </div>
  84. </td>
  85. </tr>
  86. </tbody>
  87. </table>
  88. </div>
  89. <div style="vertical-align: top; margin: 10px 0px; position: relative;">
  90. <span style="position: relative; top: -55px;">护理措施:</span>
  91. <div style="margin-top: 20px;display: inline-block; width: 90%;">
  92. <el-input maxlength="200" type = "textarea" :rows="3" v-model="input" placeholder="输入护理措施,200字以内" ></el-input>
  93. </div>
  94. </div>
  95. <div>
  96. <div class="bottoms">
  97. <span>级别:</span>
  98. <el-input v-model="Mus_Totalpoints" style="width: 100px;"></el-input>级
  99. </div>
  100. <div class="bottoms">
  101. <span>评估日期:</span>
  102. <el-date-picker
  103. v-model="value1"
  104. type="date"
  105. placeholder="选择日期"
  106. :clearable="false"
  107. style="width: 150px;">
  108. </el-date-picker>
  109. </div>
  110. <div class="bottoms">
  111. <span>评估人:</span>
  112. <el-select v-model="value" placeholder="请选择" >
  113. <el-option
  114. v-for="item in options"
  115. :key="item.value"
  116. :label="item.label"
  117. :value="item.value"
  118. style="width:150px;">
  119. </el-option>
  120. </el-select>
  121. </div>
  122. </div>
  123. </div>
  124. <!-- 虚线 -->
  125. <div style="height: 100vh; width: 1px; border-left:1px dashed #DCDFE6 ;"></div>
  126. <!-- 右 -->
  127. <div style="width: 38%;">
  128. <div style="font-size: 20px; margin-bottom: 20px;">评估历史记录</div>
  129. <div style="width: 100%;">
  130. <el-table
  131. :data="tableData"
  132. stripe
  133. border
  134. :header-cell-style="{
  135. background: '#0077ff9f',color:'white'}"
  136. style="width: 100%">
  137. <el-table-column
  138. prop="date"
  139. label="评估日期"
  140. width="180">
  141. </el-table-column>
  142. <el-table-column
  143. prop="name"
  144. label="总分"
  145. >
  146. </el-table-column>
  147. <el-table-column
  148. prop="name"
  149. label="评估人"
  150. >
  151. </el-table-column>
  152. </el-table>
  153. </div>
  154. </div>
  155. </div>
  156. </div>
  157. </div>
  158. </div>
  159. </template>
  160. <script>
  161. import PatientSidebar from '../components/PatientSidebar.vue'
  162. export default {
  163. components:{
  164. PatientSidebar
  165. },
  166. data(){
  167. return{
  168. patientID:0,
  169. checkList:'',
  170. checkList1:'',
  171. checkList2:'',
  172. value1:'',
  173. value:'',
  174. input:'',
  175. Mus_Totalpoints:'',
  176. options:[],
  177. tableData:[],
  178. shuju:[
  179. {title:'0级',value:'肌肉完全不收缩'},
  180. {title:'1级',value:'可见肌肉收缩但无肢体运动'},
  181. {title:'2级',value:'肢体能在床上移动,但不能抬离床面,即不能对抗地心引力'},
  182. {title:'3级',value:'肢体能抬离床面,克服地心引力做随意运动,但不能对抗外加阻力'},
  183. {title:'4级',value:'能在一般的外加阻力下作运动,但力量较正常弱'},
  184. {title:'5级',value:' 正常肌力'},
  185. ]
  186. }
  187. },
  188. methods:{
  189. handleCheckedCitiesChange(e){
  190. for(let i=0;i<this.shuju.length;i++){
  191. if(e.target.value == this.shuju[i].value ){
  192. const arr= (this.shuju[i].title.split('级')[0])
  193. if(e.target.checked == true){
  194. this.Mus_Totalpoints = arr
  195. }else{
  196. this.Mus_Totalpoints =0
  197. }
  198. console.log('33333',arr);
  199. }
  200. }
  201. }
  202. }
  203. }
  204. </script>
  205. <style lang="scss" scoped>
  206. .content_top{
  207. display: flex;
  208. justify-content: space-between;
  209. }
  210. .bottoms{
  211. display: inline-block;
  212. margin-left: 10px;
  213. margin-top: 5px;
  214. }
  215. .shuoming p{
  216. margin-top: 5px;
  217. color: rgb(167, 165, 165);
  218. }
  219. .table{
  220. border: 1px solid #DCDFE6;
  221. border-collapse:collapse;
  222. border-spacing: 0;
  223. thead th{
  224. background: #0077ff9f;
  225. color: white;
  226. text-align: center;
  227. height: 40px;
  228. }
  229. tbody td{
  230. height: 40px;
  231. }
  232. .start{
  233. text-align: center;
  234. }
  235. .bing{
  236. width: 150px;
  237. text-align: center;
  238. }
  239. .bg_color{
  240. background: rgb(243, 240, 240);
  241. }
  242. .jiange{
  243. margin: 5px 0px 5px 20px;
  244. color: black;
  245. }
  246. input{
  247. -webkit-appearance: checkbox;
  248. }
  249. }
  250. </style>