Browse Source

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 1 year ago
parent
commit
376d964780
1 changed files with 221 additions and 224 deletions
  1. 221 224
      src/xt_pages/user/evaluationtool/Fallassessment.vue

+ 221 - 224
src/xt_pages/user/evaluationtool/Fallassessment.vue View File

@@ -162,7 +162,7 @@
162 162
                     </el-option>
163 163
                   </el-select>
164 164
                 </div>
165
-                <el-button type="primary" @click="savePatientFallssessment">确认</el-button>
165
+                <el-button type="primary" >确认</el-button>
166 166
               </div>
167 167
             </div>
168 168
             <div style="width: 49%;">
@@ -170,171 +170,199 @@
170 170
                 <div class="biaotou">
171 171
                   <span>预防措施</span>
172 172
                 </div>
173
-                <table class="table" border style="width: 100%;">
174
-                  <thead>
175
-                    <tr>
176
-                      <th style="width: 50%;">健康宣教</th>
177
-                      <th style="width: 50%;">护理措施</th>
178
-                    </tr>
179
-                  </thead>
180
-                  <tr>
181
-                    <td colspan="2" style="height: 40px;">
182
-                      <div style="width: 100%;height: 343px; overflow: auto;border: none;">
183
-                        <table class="table table2" border style="width: 100%;">
184
-                          <tr>
185
-                            <td>
186
-                              <div class="xiaojige">
187
-                                  <label><input type="checkbox" name="ball" value="volleyball" v-model="name_one"/>&nbsp;告知病人及家属病人有跌倒的危险</label>
188
-                              </div>
189
-                            </td>
190
-                            <td>
191
-                              <div class="xiaojige">
192
-                                  <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;在病人床头悬挂"防跌倒"、"防坠床"警示牌</label>
193
-                              </div>
194
-                            </td>
195
-                          </tr>
196
-                          <tr class="bg_color">
197
-                            <td>
198
-                              <div class="xiaojige">
199
-                                  <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
200
-                                    告知家属24小时陪伴,尤其在患者活动锻炼时,应有人陪伴,若离开请与值班护士联系</label>
201
-                              </div>
202
-                            </td>
203
-                            <td>
204
-                              <div class="xiaojige">
205
-                                  <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;呼叫器及用物放置病人易取处,教会使用呼叫器</label>
206
-                              </div>
207
-                            </td>
208
-                          </tr>
209
-                          <tr>
210
-                            <td>
211
-                              <div class="xiaojige">
212
-                                <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
213
-                                  告知病人及家属病人关于药物作用的注意事项
214
-                                </label>
215
-                              </div>
216
-                            </td>
217
-                            <td>
218
-                              <div class="xiaojige">
219
-                                <label><input type="checkbox" name="ball" value="volleyball" />
220
-                                  &nbsp;及时给予便器,床上(边)大小便
221
-                                </label>
222
-                              </div>
223
-                            </td>
224
-                          </tr>
225
-                          <tr class="bg_color">
226
-                            <td>
227
-                              <div class="xiaojige">
228
-                                  <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
229
-                                    穿合适的裤子,以免绊倒;穿防滑鞋</label>
230
-                              </div>
231
-                            </td>
232
-                            <td>
233
-                              <div class="xiaojige">
234
-                                <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;使用床档 </label>
235
-                                <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;使用约束带 </label>
236
-                                <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;使用助行器 </label>
237
-                              </div>
238
-                            </td>
239
-                          </tr>
240
-                          <tr>
241
-                            <td>
242
-                              <div class="xiaojige">
243
-                                <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
244
-                                  告知患者改变体位欲活动时应遵循“三步曲”,即平卧30秒→双腿下垂30秒→行走,避免突然改变体位,
245
-                                  引起体位性低血压,特别是夜间
246
-                                </label>
247
-                              </div>
248
-                            </td>
249
-                            <td>
250
-                              <div class="xiaojige">
251
-                                <label>
252
-                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;需要时协助病人上、下床
253
-                                </label>
254
-                                <label>
255
-                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;协助病人如厕
256
-                                </label>
257
-                              </div>
258
-                            </td>
259
-                          </tr>
260
-                          <tr class="bg_color">
261
-                            <td>
262
-                              <div class="xiaojige">
263
-                                <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
264
-                                  如出现双眼发黑、下肢无力、行走不稳和不能移动时,立即原地坐/蹲下或靠墙,呼叫他人帮助
265
-                                </label>
266
-                              </div>
267
-                            </td>
268
-                            <td>
269
-                              <div class="xiaojige">
270
-                                <label>
271
-                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;避免地面积水、湿滑
272
-                                </label>
273
-                                <label>
274
-                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;消除床旁及通道障碍
275
-                                </label>
276
-                              </div>
277
-                            </td>
278
-                          </tr>
279
-                          <tr>
280
-                            <td>
281
-                              <div class="xiaojige">
282
-                                <label>
283
-                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;指导病人使用病房及卫生间扶手
284
-                                </label><br>
285
-                                <label>
286
-                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;其他有关告知
287
-                                </label>
288
-                              </div>
289
-                            </td>
290
-                            <td>
291
-                              <div class="xiaojige">
292
-                                <label>
293
-                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;病床调至合适高度
294
-                                </label>
295
-                                <label>
296
-                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;及时锁上病床及轮椅的轮轴
297
-                                </label>
298
-                              </div>
299
-                            </td>
300
-                           
301
-                          </tr>
302
-                          <tr v-for="item in list">
303
-                            <td>
304
-                              <div class="xiaojige">
305
-                                <label>
306
-                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;
307
-                                   <span v-if="item.content!=undefined">{{ item.content }}</span> 
308
-                                </label>
309
-                              </div>
310
-                            </td>
311
-                            <td>
312
-                              <div class="xiaojige">
313
-                                <label>
314
-                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;
315
-                                   <span v-if="item.content_one!=undefined">{{ item.content_one }}</span> 
316
-                                </label>
317
-                              </div>
318
-                            </td>
319
-                          </tr>
320
-                        </table>
321
-                      </div>
322
-                    </td>
323
-                  </tr>
324
-                  <tr>
325
-                    <td style="">
326
-                      <div class="jian">
327
-                        <el-button type="text" @click="add">+添加</el-button>
328
-                      </div>
173
+                <div style="display: flex;">
174
+                  <div style="flex: 1;">
175
+                    <table class="table" border style="width: 100%;">
176
+                      <thead>
177
+                        <tr>
178
+                          <th style="width: 100%;">健康宣教</th>
179
+                        </tr>
180
+                      </thead>
181
+                      <tr>
182
+                        <td colspan="2" style="height: 40px;">
183
+                          <div style="width: 100%;height: 50vh; overflow: auto;border: none;">
184
+                            <table class="table table2" border style="width: 100%;">
185
+                              <tr>
186
+                                <td>
187
+                                  <div class="xiaojige">
188
+                                      <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;告知病人及家属病人有跌倒的危险</label>
189
+                                  </div>
190
+                                </td>
191
+                              </tr>
192
+                              <tr class="bg_color">
193
+                                <td>
194
+                                  <div class="xiaojige">
195
+                                      <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
196
+                                        告知家属24小时陪伴,尤其在患者活动锻炼时,应有人陪伴,若离开请与值班护士联系</label>
197
+                                  </div>
198
+                                </td>
199
+                              </tr>
200
+                              <tr>
201
+                                <td>
202
+                                  <div class="xiaojige">
203
+                                    <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
204
+                                      告知病人及家属病人关于药物作用的注意事项
205
+                                    </label>
206
+                                  </div>
207
+                                </td>
208
+                              </tr>
209
+                              <tr class="bg_color">
210
+                                <td>
211
+                                  <div class="xiaojige">
212
+                                      <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
213
+                                        穿合适的裤子,以免绊倒;穿防滑鞋</label>
214
+                                  </div>
215
+                                </td>
216
+ 
217
+                              </tr>
218
+                              <tr>
219
+                                <td>
220
+                                  <div class="xiaojige">
221
+                                    <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
222
+                                      告知患者改变体位欲活动时应遵循“三步曲”,即平卧30秒→双腿下垂30秒→行走,避免突然改变体位,
223
+                                      引起体位性低血压,特别是夜间
224
+                                    </label>
225
+                                  </div>
226
+                                </td>
227
+ 
228
+                              </tr>
229
+                              <tr class="bg_color">
230
+                                <td>
231
+                                  <div class="xiaojige">
232
+                                    <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
233
+                                      如出现双眼发黑、下肢无力、行走不稳和不能移动时,立即原地坐/蹲下或靠墙,呼叫他人帮助
234
+                                    </label>
235
+                                  </div>
236
+                                </td>
237
+                              </tr>
238
+                              <tr>
239
+                                <td>
240
+                                  <div class="xiaojige">
241
+                                    <label>
242
+                                      <input type="checkbox" name="ball" value="volleyball" />&nbsp;指导病人使用病房及卫生间扶手
243
+                                    </label><br>
244
+                                    <label>
245
+                                      <input type="checkbox" name="ball" value="volleyball" />&nbsp;其他有关告知
246
+                                    </label>
247
+                                  </div>
248
+                                </td>
249
+                              </tr>
250
+                            </table>
251
+                          </div>
252
+                        </td>
253
+                      </tr>
254
+                      <tr>
255
+                        <td style="">
256
+                          <div class="jian">
257
+                            <el-button type="text" @click="add">+添加</el-button>
258
+                          </div>
329 259
 
330
-                    </td>
331
-                    <td style="">
332
-                      <div class="jian">
333
-                        <el-button type="text" @click="addOne">+添加</el-button>
334
-                      </div>
335
-                    </td>
336
-                  </tr>
337
-                </table>
260
+                        </td>
261
+                      </tr>
262
+                    </table>
263
+                  </div>
264
+                  <div style="flex: 1;">
265
+                    <table class="table" border style="width: 100%;">
266
+                      <thead>
267
+                        <tr>
268
+                          <!-- <th style="width: 50%;">健康宣教</th> -->
269
+                          <th style="width: 100%;">护理措施</th>
270
+                        </tr>
271
+                      </thead>
272
+                      <tr>
273
+                        <td colspan="2" style="height: 40px;">
274
+                          <div style="width: 100%;height: 50vh; overflow: auto;border: none;">
275
+                            <table class="table table2" border style="width: 100%;">
276
+                              <tr>
277
+                                <td>
278
+                                  <div class="xiaojige">
279
+                                      <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;在病人床头悬挂"防跌倒"、"防坠床"警示牌</label>
280
+                                  </div>
281
+                                </td>
282
+                              </tr>
283
+                              <tr class="bg_color">
284
+                                <!-- <td>
285
+                                  <div class="xiaojige">
286
+                                      <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
287
+                                        告知家属24小时陪伴,尤其在患者活动锻炼时,应有人陪伴,若离开请与值班护士联系</label>
288
+                                  </div>
289
+                                </td> -->
290
+                                <td>
291
+                                  <div class="xiaojige">
292
+                                      <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;呼叫器及用物放置病人易取处,教会使用呼叫器</label>
293
+                                  </div>
294
+                                </td>
295
+                              </tr>
296
+                              <tr>
297
+                                <td>
298
+                                  <div class="xiaojige">
299
+                                    <label><input type="checkbox" name="ball" value="volleyball" />
300
+                                      &nbsp;及时给予便器,床上(边)大小便
301
+                                    </label>
302
+                                  </div>
303
+                                </td>
304
+                              </tr>
305
+                              <tr class="bg_color">
306
+                                <td>
307
+                                  <div class="xiaojige">
308
+                                    <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;使用床档 </label>
309
+                                    <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;使用约束带 </label>
310
+                                    <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;使用助行器 </label>
311
+                                  </div>
312
+                                </td>
313
+                              </tr>
314
+                              <tr>
315
+                                <td>
316
+                                  <div class="xiaojige">
317
+                                    <label>
318
+                                      <input type="checkbox" name="ball" value="volleyball" />&nbsp;需要时协助病人上、下床
319
+                                    </label>
320
+                                    <label>
321
+                                      <input type="checkbox" name="ball" value="volleyball" />&nbsp;协助病人如厕
322
+                                    </label>
323
+                                  </div>
324
+                                </td>
325
+                              </tr>
326
+                              <tr class="bg_color">
327
+                                <td>
328
+                                  <div class="xiaojige">
329
+                                    <label>
330
+                                      <input type="checkbox" name="ball" value="volleyball" />&nbsp;避免地面积水、湿滑
331
+                                    </label>
332
+                                    <label>
333
+                                      <input type="checkbox" name="ball" value="volleyball" />&nbsp;消除床旁及通道障碍
334
+                                    </label>
335
+                                  </div>
336
+                                </td>
337
+                              </tr>
338
+                              <tr>
339
+                                <td>
340
+                                  <div class="xiaojige">
341
+                                    <label>
342
+                                      <input type="checkbox" name="ball" value="volleyball" />&nbsp;病床调至合适高度
343
+                                    </label>
344
+                                    <label>
345
+                                      <input type="checkbox" name="ball" value="volleyball" />&nbsp;及时锁上病床及轮椅的轮轴
346
+                                    </label>
347
+                                  </div>
348
+                                </td>
349
+                              </tr>
350
+                            </table>
351
+                          </div>
352
+                        </td>
353
+                      </tr>
354
+                      <tr>
355
+                        <td style="">
356
+                          <div class="jian">
357
+                            <el-button type="text" @click="add">+添加</el-button>
358
+                          </div>
359
+                        </td>
360
+                      </tr>
361
+                    
362
+                    </table>
363
+                  </div>
364
+                </div>
365
+               
338 366
               </div>
339 367
 
340 368
               <div style="">
@@ -352,16 +380,37 @@
352 380
                     <tr>
353 381
                       <td class="start">透析间期跌倒事件</td>
354 382
                       <td>
355
-                        <div style="display: inline-block;margin-right: 10px;">
383
+                        <!-- <div style="display: inline-block;margin-right: 10px;">
356 384
                           <span>日期:</span>
357
-                          <el-input v-model="input" style="width: 120px;"></el-input>
385
+                          <el-date-picker
386
+                            v-model="pingdate"
387
+                            type="date"
388
+                            placeholder="选择日期"
389
+                            :clearable="false"
390
+                            style="width: 150px;">
391
+                          </el-date-picker>
358 392
                         </div>
359 393
                         <div class="jiange" style="display: inline-block;">
360
-
361 394
                           <span v-for="item in touxidiedao" class="rightjiange">
362
-                            <label><input type="checkbox" name="ball" value="volleyball" />&nbsp{{ item.content }}</label>
395
+                            <label><input type="checkbox" name="ball" value="volleyball" />&nbsp{{ item }}</label>
363 396
                           </span>
364
-
397
+                        </div> -->
398
+                        <div style="display: flex;">
399
+                          <div style="flex: 1;">
400
+                            <span>日期:</span>
401
+                            <el-date-picker
402
+                              v-model="pingdate"
403
+                              type="date"
404
+                              placeholder="选择日期"
405
+                              :clearable="false"
406
+                              style="width: 150px;">
407
+                            </el-date-picker>
408
+                          </div>
409
+                          <div style="flex: 1;">
410
+                            <span v-for="item in touxidiedao" style="margin-right:10px">
411
+                              <label><input type="checkbox" name="ball" value="volleyball" />&nbsp{{ item }}</label>
412
+                            </span>
413
+                          </div>
365 414
                         </div>
366 415
                       </td>
367 416
                     </tr>
@@ -393,35 +442,14 @@
393 442
             type="textarea"
394 443
             :autosize="{ minRows: 4, maxRows: 6}"
395 444
             placeholder="请输入需要添加的内容.."
396
-            v-model="text_content">
445
+            v-model="textarea2">
397 446
           </el-input>
398 447
         </span>
399 448
         <span slot="footer" class="dialog-footer">
400 449
           <el-button @click="centerDialogVisible = false">取 消</el-button>
401
-          <el-button type="primary" @click="saveCenterDialogVisible">确 定</el-button>
402
-        </span>
403
-      </el-dialog>
404
-
405
-
406
-      <el-dialog
407
-        title="添加"
408
-        :visible.sync="centerDialogVisibleOne"
409
-        width="30%"
410
-        center>
411
-        <span>
412
-          <el-input
413
-            type="textarea"
414
-            :autosize="{ minRows: 4, maxRows: 6}"
415
-            placeholder="请输入需要添加的内容.."
416
-            v-model="text_content">
417
-          </el-input>
418
-        </span>
419
-        <span slot="footer" class="dialog-footer">
420
-          <el-button @click="centerDialogVisibleOne = false">取 消</el-button>
421
-          <el-button type="primary" @click="saveCenterDialogVisibleOne">确 定</el-button>
450
+          <el-button type="primary" @click="centerDialogVisible = false">确 定</el-button>
422 451
         </span>
423 452
       </el-dialog>
424
-
425 453
       <!-- 告知书 -->
426 454
       <el-dialog
427 455
           title="内容详情"
@@ -468,19 +496,8 @@
468 496
         touxidiedao:['发生跌倒','发生坠床'],
469 497
 
470 498
         centerDialogVisible:false,
471
-        centerDialogVisibleOne:false,
472 499
         dialogVisible:false,
473 500
         textarea2:'',
474
-        name_one:"",
475
-        text_content:"",
476
-        text_content_one:"",
477
-        // list:[
478
-        //   {id:1,content:"告知病人及家属病人有跌倒的危险",is_check:false,content_one:"",is_check_one:false},
479
-        //   {id:2,content:"告知家属24小时陪伴,尤其在患者活动锻炼时,应有人陪伴,若离开请与值班护士联系",is_check:false,content_one:"",is_check_one:false},
480
-        //   {id:3,content:"告知病人及家属病人关于药物作用的注意事项",is_check:false,content_one:"",is_check_one:false}
481
-        //   {id:4,content:"告知病人及家属病人关于药物作用的注意事项",is_check:false,content_one:"",is_check_one:false}
482
-        // ]
483
-        list:[]
484 501
       }
485 502
 
486 503
     },
@@ -491,9 +508,6 @@
491 508
       add(){
492 509
         this.centerDialogVisible =true
493 510
       },
494
-      addOne(){
495
-        this.centerDialogVisibleOne = true
496
-      },
497 511
       handleCheckedCitiesChange(e){
498 512
         var ball = e.target.value
499 513
         var jiequ =(ball.split('(')[1].split('分')[0]) * 1
@@ -507,23 +521,6 @@
507 521
       },
508 522
       Historicalscore(){
509 523
         this.$router.push({path: '/patients/tumble_history'})
510
-      },
511
-      savePatientFallssessment(){
512
-         console.log("form--------",this.name_one)
513
-        savePatientFallssessment().then(response=>{
514
-
515
-        })
516
-      },
517
-      saveCenterDialogVisible(){
518
-        var obj = {}
519
-        obj.content = this.text_content
520
-        
521
-        this.list.push(obj)
522
-        this.centerDialogVisible= false
523
-        console.log("list------------",this.list)
524
-      },
525
-      saveCenterDialogVisibleOne(){
526
-
527 524
       }
528 525
     }
529 526
   }