yq1 4 주 전
부모
커밋
e8f62c8bf7

+ 1 - 1
src/xt_pages/user/Informed/components/Medicalhistory.vue 파일 보기

@@ -63,7 +63,7 @@
63 63
             地址<span class="unile2"></span> 省(市)<span class="unile2"></span>路<span class="unile2"></span>号
64 64
           </div> -->
65 65
           <div style="padding: 0 5px 10px 5px">
66
-            诊断:<span class="unile2">{{ patient.diagnose }}</span>
66
+            诊断:<span style="border-bottom: 1px solid black;">{{ patient.diagnose }}</span>
67 67
           </div>
68 68
           <!-- <div style="padding: 10px 5px">
69 69
             合并症或并发症 <span class="unile"></span>

+ 63 - 63
src/xt_pages/user/components/PatientSidebar.vue 파일 보기

@@ -204,68 +204,68 @@ export default {
204 204
             },
205 205
           ]
206 206
         },
207
-        // {
208
-        //   name: '5',
209
-        //   label: '评估工具',
210
-        //   children: [
211
-        //     {
212
-        //       name: '5-1',
213
-        //       label: '跌倒评估'
214
-        //     },
215
-        //     {
216
-        //       name: '5-2',
217
-        //       label: '小儿跌倒风险评估'
218
-        //     },
219
-        //     {
220
-        //       name: '5-3',
221
-        //       label: '压疮风险评估'
222
-        //     },
223
-        //     {
224
-        //       name: '5-4',
225
-        //       label: 'OH压疮评估'
226
-        //     },
227
-        //     {
228
-        //       name: '5-5',
229
-        //       label: '日常生活能力评估'
230
-        //     },
231
-        //     {
232
-        //       name: '5-6',
233
-        //       label: '导管脱落风险评估'
234
-        //     },
235
-        //     {
236
-        //       name: '5-7',
237
-        //       label: 'RASS及疼痛评估'
238
-        //     },
239
-        //     {
240
-        //       name: '5-8',
241
-        //       label: '营养状况评估'
242
-        //     },
243
-        //     {
244
-        //       name: '5-9',
245
-        //       label: '约束告知单'
246
-        //     },
247
-        //     {
248
-        //       name: '5-10',
249
-        //       label: '心理评估'
250
-        //     },
251
-        //     {
252
-        //       name: '5-11',
253
-        //       label: '瘙痒评估'
254
-        //     },
255
-        //     {
256
-        //       name: '5-12',
257
-        //       label: '血液透析患者评估'
258
-        //     },
259
-        //     {
260
-        //       name: '5-13',
261
-        //       label: 'Glasgow昏迷评分量表'
262
-        //     },
263
-        //     {
264
-        //       name: '5-14',
265
-        //       label: '肌力评估表'
266
-        //     },
267
-        //    ]
268
-        //  },
207
+         {
208
+          name: '5',
209
+          label: '评估工具',
210
+          children: [
211
+            {
212
+              name: '5-1',
213
+              label: '跌倒评估'
214
+            },
215
+            {
216
+              name: '5-2',
217
+              label: '小儿跌倒风险评估'
218
+            },
219
+            {
220
+              name: '5-3',
221
+              label: '压疮风险评估'
222
+            },
223
+            {
224
+              name: '5-4',
225
+              label: 'OH压疮评估'
226
+            },
227
+            {
228
+              name: '5-5',
229
+              label: '日常生活能力评估'
230
+            },
231
+            {
232
+              name: '5-6',
233
+              label: '导管脱落风险评估'
234
+            },
235
+            {
236
+              name: '5-7',
237
+              label: 'RASS及疼痛评估'
238
+            },
239
+            {
240
+              name: '5-8',
241
+              label: '营养状况评估'
242
+            },
243
+            // {
244
+            //   name: '5-9',
245
+            //   label: '约束告知单'
246
+            // },
247
+            {
248
+              name: '5-10',
249
+              label: '心理评估'
250
+            },
251
+            {
252
+              name: '5-11',
253
+              label: '瘙痒评估'
254
+            },
255
+            {
256
+              name: '5-12',
257
+              label: '血液透析患者评估'
258
+            },
259
+            {
260
+              name: '5-13',
261
+              label: 'Glasgow昏迷评分量表'
262
+            },
263
+            {
264
+              name: '5-14',
265
+              label: '肌力评估表'
266
+            },
267
+           ]
268
+         },
269 269
         {
270 270
           name: '6',
271 271
           label: '文书管理',
@@ -407,7 +407,7 @@ export default {
407 407
         if (response.data.state == 1) {
408 408
           if(this.org_id ==10191 || this.org_id == 0){
409 409
              var patients = response.data.data.patients
410
-             console.log("patients",patients)
410
+            //  console.log("patients",patients)
411 411
              for(let i=0;i<patients.length;i++){
412 412
                if(patients[i].lapseto ==1){
413 413
                 this.patientsList.push(patients[i])

+ 27 - 16
src/xt_pages/user/evaluationtool/Cathetershedding.vue 파일 보기

@@ -87,9 +87,9 @@
87 87
                           <el-select v-model="Dutynurse" placeholder="请选择" style="width:150px;">
88 88
                               <el-option
89 89
                               v-for="item in Dutynursearr"
90
-                              :key="item.id"
91
-                              :label="item.label"
92
-                              :value="item.id"
90
+                              :key="item.admin_user_id"
91
+                              :label="item.user_name"
92
+                              :value="item.admin_user_id"
93 93
                               >
94 94
                               </el-option>
95 95
                           </el-select>
@@ -126,10 +126,11 @@
126 126
                             评估人签字:
127 127
                             <el-select v-model="appraiser" placeholder="请选择" style="width: 120px;">
128 128
                                 <el-option
129
-                                v-for="item in optionsarr"
130
-                                :key="item.id"
131
-                                :label="item.label"
132
-                                :value="item.id">
129
+                                v-for="item in Dutynursearr"
130
+                                :key="item.admin_user_id"
131
+                                :label="item.user_name"
132
+                                :value="item.admin_user_id"
133
+                                >
133 134
                                 </el-option>
134 135
                             </el-select>
135 136
                         </p>
@@ -149,10 +150,10 @@
149 150
                             护士长签字:
150 151
                             <el-select v-model="hushi" placeholder="请选择" style="width: 120px;">
151 152
                                 <el-option
152
-                                v-for="item in hushiarr"
153
-                                :key="item.id"
154
-                                :label="item.label"
155
-                                :value="item.id">
153
+                                v-for="item in Dutynursearr"
154
+                                :key="item.admin_user_id"
155
+                                :label="item.user_name"
156
+                                :value="item.admin_user_id">
156 157
                                 </el-option>
157 158
                             </el-select>
158 159
                         </p>
@@ -183,7 +184,7 @@
183 184
 <script>
184 185
 import { uParseTime } from '@/utils/tools'
185 186
 import PatientSidebar from '../components/PatientSidebar.vue'
186
-import {savePatientHpressuresore} from '@/api/fallassement'
187
+import {getAllNurseList,savePatientHpressuresore} from '@/api/fallassement'
187 188
 export default {
188 189
   components:{
189 190
     PatientSidebar
@@ -205,14 +206,12 @@ export default {
205 206
       date:this.getTime(new Date()),
206 207
       Dutynurse:'',//责任护士
207 208
       // Dutynursearr:[],//责任护士数组
208
-      Dutynursearr:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
209
+      Dutynursearr:[],
209 210
       appraiser:'',
210 211
       // optionsarr:[],
211
-      optionsarr:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
212 212
       jiashu_date:this.getTime(new Date()),//家属时间
213 213
       zhuanggui:'',//转归
214 214
       hushi:'',//护理
215
-      hushiarr:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],//护理
216 215
       hushi_date:this.getTime(new Date()),//护理时间
217 216
       cuoshi_show:[],//护理措施选中数组
218 217
       Patient_info:{name:'',dialysis_no:''},
@@ -243,6 +242,7 @@ export default {
243 242
   created(){
244 243
     const id = this.$route.params && this.$route.params.id
245 244
     this.patientID = parseInt(id)
245
+    this.getAllNurseList()
246 246
   },
247 247
   methods:{
248 248
     // 选中
@@ -291,8 +291,9 @@ export default {
291 291
       }
292 292
       savePatientHpressuresore(params).then(response =>{
293 293
         if(response.data.state == 1){
294
-          console.log('111111111',response.data.data);
294
+          
295 295
           const cath = response.data.data.pedFallssessment
296
+          console.log('111111111',JSON.parse(cath.text));
296 297
           this.$message({message:'保存成功',type:'success'})
297 298
           // if(cath.text !=''){
298 299
           //   const text = JSON.parse(cath.text)
@@ -345,6 +346,16 @@ export default {
345 346
         dialysis_no:event.dialysis_no
346 347
       }
347 348
     },
349
+    // 评估人数据源
350
+    getAllNurseList(){
351
+      getAllNurseList().then(response=>{
352
+        if(response.data.state ==1){
353
+          var nurseList  = response.data.data.nurseList
354
+
355
+          this.Dutynursearr =nurseList
356
+        }
357
+      })
358
+    },
348 359
   },
349 360
   computed:{
350 361
     duct_Totalpoints(){

+ 93 - 50
src/xt_pages/user/evaluationtool/Glasgow.vue 파일 보기

@@ -15,7 +15,7 @@
15 15
               </div>
16 16
               <div style="flex:1" v-if="Glas_baoxiao">
17 17
                 <el-button type="primary" @click="Glas_save" v-if="qufen == false">保存</el-button>
18
-                <el-button type="primary" @click="Glas_save2" v-if="qufen == true && dele_id != ''">保存1</el-button>
18
+                <el-button type="primary" @click="Glas_save2" v-if="qufen == true && dele_id != ''">保存</el-button>
19 19
                 <el-button  @click="Glas_quxiao" >取消</el-button>
20 20
               </div>
21 21
 
@@ -97,14 +97,15 @@
97 97
                 <el-select v-model="Glas_pinggu" placeholder="请选择" style="width:120px;">
98 98
                     <el-option
99 99
                     v-for="item in pinggr"
100
-                    :key="item.id"
101
-                    :label="item.label"
102
-                    :value="item.id"
100
+                    :key="item.admin_user_id"
101
+                    :label="item.user_name"
102
+                    :value="item.admin_user_id"
103 103
                     >
104 104
                     </el-option>
105 105
                 </el-select>
106 106
               </div>
107 107
             </div>
108
+            <div id="ctrl-xgtlpic-mask2" class="readonly" data-text="图片操作的遮罩层" v-show="append2 == false"></div>
108 109
             <div id="ctrl-xgtlpic-mask" class="readonly" data-text="图片操作的遮罩层" v-show="append == false"></div>
109 110
             <hr style=" background-color: #DCDFE6;margin-top: 20px; height: 1px;border: none;"/>
110 111
             <div class="shuoming">
@@ -270,10 +271,12 @@ export default {
270 271
       yundong:[{value:6,label:'能按指令运动肢体(6分)',is_check:false,check:0},{value:5,label:'对刺痛能定位(5分)',is_check:false,check:0},{value:4,label:'对刺痛能躲避(4分)',is_check:false,check:0},
271 272
       {value:3,label:'刺痛肢体屈曲(3分)',is_check:false,check:0},{value:2,label:'刺痛肢体过伸(2分)',is_check:false,check:0},{value:1,label:'无反应(1分)',is_check:false,check:0}],
272 273
 
273
-      pinggr:[{id:1,label:'小米'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
274
+      pinggr:[],
274 275
       history_Glasgow:[],
275 276
 
276 277
       append:false,//显示遮罩层
278
+      append2:false,
279
+      add_open:1,//新增按钮控制条件
277 280
       Glasadd_show:true,//显示新增
278 281
       Glas_gzdayin:false,//显示编辑删除
279 282
       Glas_baoxiao:false,//显示保存
@@ -282,6 +285,7 @@ export default {
282 285
       Glas_pinggu:null,
283 286
       open_print:false,
284 287
       dele_id:'',
288
+      dele_id2:'',
285 289
       dele_dialogVisible:false,
286 290
       dayintime:this.getTime2(new Date()),
287 291
       glasgow_zong:0,
@@ -292,6 +296,7 @@ export default {
292 296
     const id = this.$route.params && this.$route.params.id
293 297
     this.patientID = parseInt(id)
294 298
     this.getlist()
299
+    this.getAllNurseList()
295 300
   },
296 301
   methods:{
297 302
     //睁眼
@@ -354,12 +359,19 @@ export default {
354 359
     },
355 360
     // 新增
356 361
     Glas_add(){
357
-      this.cancel_num=0
358
-      this.append=true
359
-      this.Glas_baoxiao=true
360
-      this.Glasadd_show =false
361
-      this.Glas_gzdayin = false
362
-      this.qufen = false
362
+      if(this.add_open ==1){
363
+        this.cancel_num=0
364
+        this.append=true
365
+        this.append2=true
366
+        this.Glas_baoxiao=true
367
+        this.Glasadd_show =false
368
+        this.Glas_gzdayin = false
369
+        this.qufen = false
370
+      }else{
371
+        this.append = false
372
+        this.append2 = false
373
+      }
374
+      
363 375
     },
364 376
     // 新增保存
365 377
     Glas_save(){
@@ -391,41 +403,22 @@ export default {
391 403
             if(response.data.state == 1){
392 404
               const Glasgow = response.data.data.pedFallssessment
393 405
               console.log('response.data.state',response.data.data.pedFallssessment);
394
-              if(Glasgow.text !=''){
395
-                var text = JSON.parse(Glasgow.text)
396
-                const arr ={
397
-                  id:Glasgow.id,
398
-                  date:text.date,
399
-                  mark:text.total,
400
-                  evaluate:this.getpinggr(text.Glas_pinggu),
401
-                  list:text
402
-                }
403
-                this.history_Glasgow.push(arr)
404
-              }
406
+              this.getlist()
407
+              // if(Glasgow.text !=''){
408
+              //   var text = JSON.parse(Glasgow.text)
409
+              //   this.dele_id2 = Glasgow.id
410
+              //   const arr ={
411
+              //     id:Glasgow.id,
412
+              //     date:text.date,
413
+              //     mark:text.total,
414
+              //     evaluate:this.getpinggr(text.Glas_pinggu),
415
+              //     list:text
416
+              //   }
417
+              //   this.history_Glasgow.push(arr)
418
+              // }
405 419
             }
406 420
         })
407
-        // console.log('1111111',params);
408
-        // const arr={
409
-        //   date:this.date,
410
-        //   mark:this.Glasgow_Totalpoints,
411
-        //   evaluate:this.Glas_pinggu
412
-        // }
413
-        // console.log('2121212',arr,params);
414
-        // this.history_Glasgow.push(arr)
415
-        // const Glalen=this.pinggr
416
-        // const historylen = this.history_Glasgow
417
-        // var pingguname =''
418
-        // for(let x=0;x<historylen.length;x++){
419
-        //   historylen[x].mark = this.Glasgow_Totalpoints
420
-        //   for(let i=0;i<Glalen.length;i++){
421
-        //     if(this.Glas_pinggu==Glalen[i].id){
422
-        //       pingguname = Glalen[i].label
423 421
 
424
-        //     }
425
-        //   }
426
-        //   historylen[x].evaluate = pingguname
427
-        //       // return historylen[x].evaluate
428
-        // }
429 422
         return this.history_Glasgow
430 423
       }
431 424
     },
@@ -482,10 +475,16 @@ export default {
482 475
       this.Glasadd_show=false
483 476
       this.cancel_num =1
484 477
       this.qufen = true
478
+      this.append2 = true
485 479
     },
486 480
     // 选中数据
487 481
     glasgow_click(row,column, event){
488
-      this.dele_id=row.id
482
+      if(row.id == 0){
483
+        this.dele_id =this.dele_id2
484
+      }else{
485
+        this.dele_id=row.id
486
+      }
487
+      
489 488
       // if(this.cancel_num == 1){
490 489
       //   this.Glasadd_show = true
491 490
       //   this.Glas_gzdayin = true
@@ -497,12 +496,13 @@ export default {
497 496
         this.Glas_gzdayin = true
498 497
         this.Glas_baoxiao = false
499 498
         this.qufen = false
500
-        // this.append2 = false
499
+        this.append2 = false
501 500
       }
502 501
       getPedPatientFallAssessmentById(this.dele_id).then(response =>{
503 502
         if(response.data.state ==1){
504 503
           const glasgow = response.data.data.fallassessment
505
-          // console.log('response.data.',response.data.data.fallassessment);
504
+        
505
+          console.log('response.data.',response.data.data.fallassessment);
506 506
           if(glasgow.text !=''){
507 507
             const text =JSON.parse(glasgow.text)
508 508
             for(let i in this.zhengyan){
@@ -566,6 +566,23 @@ export default {
566 566
               this.history_Glasgow.splice(i,1)
567 567
             }
568 568
           }
569
+          for(let i=0;i<this.zhengyan.length;i++){
570
+        
571
+            this.zhengyan[i].check =0
572
+            this.zhengyan[i].is_check = false
573
+            this.zhengyan_num = 0
574
+          }
575
+          for(let i=0;i<this.yanyu.length;i++){
576
+            this.yanyu[i].check =0
577
+            this.yanyu[i].is_check = false
578
+            this.yuyan_num = 0
579
+          }
580
+          for(let i=0;i<this.yundong.length;i++){
581
+            this.yundong[i].check =0
582
+            this.yundong[i].is_check = false
583
+            this.yundong_num = 0
584
+          }
585
+          this.Glas_pinggu = ''
569 586
         }
570 587
       })
571 588
       this.dele_dialogVisible=false
@@ -586,13 +603,14 @@ export default {
586 603
         this.Glasadd_show=true
587 604
         this.Glas_gzdayin=false
588 605
         this.Glas_baoxiao=false
589
-        
606
+        this.append2=false
590 607
       //  return this.append
591 608
       }else{
592 609
         this.Glasadd_show=true
593 610
         this.Glas_gzdayin=true
594 611
         this.Glas_baoxiao=false
595 612
         this.append=true
613
+        this.append2=false
596 614
       }
597 615
       for(let i in this.zhengyan){
598 616
         this.zhengyan[i].is_check = false
@@ -647,8 +665,8 @@ export default {
647 665
     // 评估护士
648 666
     getpinggr(id){
649 667
       for(let i in this.pinggr){
650
-        if(id == this.pinggr[i].id){
651
-          return this.pinggr[i].label
668
+        if(id == this.pinggr[i].admin_user_id){
669
+          return this.pinggr[i].user_name
652 670
         }
653 671
       }
654 672
     },
@@ -662,6 +680,9 @@ export default {
662 680
         }
663 681
       getPatientBedlist(params).then(response=>{
664 682
         if(response.data.state ==1){
683
+          if(this.history_Glasgow.length >0){
684
+            this.history_Glasgow.length =0
685
+          }
665 686
           var list = response.data.data.list
666 687
           list.forEach((item) => {
667 688
             if(item.text !=''){
@@ -681,7 +702,7 @@ export default {
681 702
           console.log('list',list);
682 703
         }
683 704
       })
684
-      return this.history_OH
705
+      return this.history_Glasgow
685 706
     },
686 707
     // 患者信息
687 708
     tranpatient(event){
@@ -691,6 +712,16 @@ export default {
691 712
         dialysis_no:event.dialysis_no
692 713
       }
693 714
     },
715
+     // 评估人数据源
716
+    getAllNurseList(){
717
+        getAllNurseList().then(response=>{
718
+          if(response.data.state ==1){
719
+            var nurseList  = response.data.data.nurseList
720
+
721
+            this.pinggr =nurseList
722
+          }
723
+        })
724
+    },
694 725
   },
695 726
   computed:{
696 727
     Glasgow_Totalpoints:{
@@ -764,6 +795,9 @@ export default {
764 795
 #ctrl-xgtlpic-mask.readonly {
765 796
   z-index: 2000;
766 797
 }
798
+#ctrl-xgtlpic-mask2.readonly {
799
+  z-index: 2000;
800
+}
767 801
 #ctrl-xgtlpic-mask {
768 802
     width: 85%;
769 803
     height: 100%;
@@ -773,6 +807,15 @@ export default {
773 807
     opacity: 0;
774 808
     z-index: -1;
775 809
 }
810
+#ctrl-xgtlpic-mask2 {
811
+    width: 50%;
812
+    height: 100%;
813
+    position: absolute;
814
+    left: 196px;
815
+    top: 131px;
816
+    opacity: 0;
817
+    z-index: -1;
818
+}
776 819
 .tables {
777 820
 
778 821
   thead th{

+ 63 - 20
src/xt_pages/user/evaluationtool/Muscleforce.vue 파일 보기

@@ -73,14 +73,15 @@
73 73
                   <el-select v-model="muscle_pinggu" placeholder="请选择" style="width:120px;">
74 74
                       <el-option
75 75
                       v-for="item in pinggr"
76
-                      :key="item.id"
77
-                      :label="item.label"
78
-                      :value="item.id"
76
+                      :key="item.admin_user_id"
77
+                      :label="item.user_name"
78
+                      :value="item.admin_user_id"
79 79
                       >
80 80
                       </el-option>
81 81
                   </el-select>
82 82
               </div>
83 83
             </div>
84
+            <div id="ctrl-xgtlpic-mask2" class="readonly" data-text="图片操作的遮罩层" v-show="append2 == false"></div>
84 85
             <div id="ctrl-xgtlpic-mask" class="readonly" data-text="图片操作的遮罩层" v-show="append == false"></div>
85 86
           </div>
86 87
           <!-- 虚线 -->
@@ -218,8 +219,9 @@ export default {
218 219
         {title:'5级',label:' 正常肌力',value:5,is_check:false,check:0},
219 220
       ],
220 221
       history_muscle:[],
221
-      pinggr:[{id:1,label:'小米'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
222
-      append:false,
222
+      pinggr:[],
223
+      append:false,//遮罩层
224
+      append2:false,
223 225
       add_open:1,
224 226
       muscle_show:true,
225 227
       baocun_quxiao:false,
@@ -227,6 +229,7 @@ export default {
227 229
       cancel_num:0,//是否点击右侧
228 230
       open_print:false,
229 231
       dele_id:'',
232
+      dele_id2:'',
230 233
       dele_dialogVisible:false,
231 234
       content:"",
232 235
       text:"",
@@ -242,6 +245,7 @@ export default {
242 245
     const id = this.$route.params && this.$route.params.id
243 246
     this.patientID = parseInt(id)
244 247
     this.getlist()
248
+    this.getAllNurseList()
245 249
   },
246 250
   methods:{
247 251
     // 选择
@@ -269,9 +273,12 @@ export default {
269 273
         this.append=true
270 274
         this.baocun_quxiao=true
271 275
         this.muscle_show =false
276
+        this.muscle_gsdayin = false
272 277
         this.qufen =false
278
+        this.append2 = true
273 279
       }else{
274 280
         this.append = false
281
+        this.append2 = false
275 282
       }
276 283
     },
277 284
     // 保存
@@ -302,16 +309,18 @@ export default {
302 309
           if(response.data.state == 1){
303 310
             console.log('response',response.data.data);
304 311
             const muscle = response.data.data.pedFallssessment
305
-            if(muscle.text !=''){
306
-              const text = JSON.parse(muscle.text)
307
-              const arr={
308
-                id:muscle.id,
309
-                date:text.date,
310
-                mark:text.total,
311
-                evaluate:this.getpinggr(text.muscle_pinggu)
312
-              }
313
-              this.history_muscle.push(arr)
314
-            }
312
+            // if(muscle.text !=''){
313
+            //   const text = JSON.parse(muscle.text)
314
+            //   this.dele_id2 = muscle.id
315
+            //   const arr={
316
+            //     id:muscle.id,
317
+            //     date:text.date,
318
+            //     mark:text.total,
319
+            //     evaluate:this.getpinggr(text.muscle_pinggu)
320
+            //   }
321
+            //   this.history_muscle.push(arr)
322
+            // }
323
+            this.getlist()
315 324
             this.$message({message:'保存成功',type:'success'})
316 325
           }
317 326
         })
@@ -361,12 +370,18 @@ export default {
361 370
     },
362 371
     // 选中右侧数据
363 372
     Muscle_click(row,column, event){
364
-      this.dele_id=row.id
373
+      if(row.id ==0){
374
+        this.dele_id=this.dele_id2 
375
+      }else{
376
+        this.dele_id=row.id
377
+      }
378
+      console.log('row.id',this.dele_id);
365 379
       this.muscle_show=true
366 380
       this.baocun_quxiao=false
367 381
       this.muscle_gsdayin=true
368 382
       this.qufen = true
369
-      getPedPatientFallAssessmentById(row.id).then(response =>{
383
+      this.append2 = false
384
+      getPedPatientFallAssessmentById(this.dele_id).then(response =>{
370 385
         if(response.data.state == 1){
371 386
           console.log('111111111',response.data.data.fallassessment); 
372 387
           const muscle = response.data.data.fallassessment
@@ -440,11 +455,13 @@ export default {
440 455
         this.muscle_show=true
441 456
         this.muscle_gsdayin=false
442 457
         this.append=false
458
+        this.append2=false
443 459
       }else{
444 460
         this.muscle_gsdayin=true
445 461
         this.muscle_show=true
446 462
         this.baocun_quxiao=false
447 463
         this.append=true
464
+        this.append2=false
448 465
       }
449 466
 
450 467
     },
@@ -455,6 +472,7 @@ export default {
455 472
       this.muscle_show=false
456 473
       this.qufen = true
457 474
       this.cancel_num=1
475
+      this.append2 = true
458 476
     },
459 477
     // 打印
460 478
     print_pingfen(){
@@ -491,8 +509,8 @@ export default {
491 509
     // 评估护士
492 510
     getpinggr(id){
493 511
       for(let i in this.pinggr){
494
-        if(id == this.pinggr[i].id){
495
-          return this.pinggr[i].label
512
+        if(id == this.pinggr[i].admin_user_id){
513
+          return this.pinggr[i].user_name
496 514
         }
497 515
       }
498 516
     },
@@ -515,6 +533,9 @@ export default {
515 533
       }
516 534
       getPatientBedlist(params).then(response =>{
517 535
         if(response.data.state ==1){
536
+          if(this.history_muscle.length >0){
537
+            this.history_muscle.length=0
538
+          }
518 539
           const list = response.data.data.list
519 540
           console.log('response.data.data.list12',list);
520 541
           list.forEach(item => {
@@ -534,7 +555,17 @@ export default {
534 555
           });
535 556
         }
536 557
       })
537
-    }
558
+    },
559
+     // 评估人数据源
560
+    getAllNurseList(){
561
+        getAllNurseList().then(response=>{
562
+          if(response.data.state ==1){
563
+            var nurseList  = response.data.data.nurseList
564
+
565
+            this.pinggr =nurseList
566
+          }
567
+        })
568
+    },
538 569
   }
539 570
 }
540 571
 </script>
@@ -586,6 +617,9 @@ export default {
586 617
 #ctrl-xgtlpic-mask.readonly {
587 618
   z-index: 2000;
588 619
 }
620
+#ctrl-xgtlpic-mask2.readonly {
621
+  z-index: 2000;
622
+}
589 623
 #ctrl-xgtlpic-mask {
590 624
     width: 85%;
591 625
     height: 100%;
@@ -595,6 +629,15 @@ export default {
595 629
     opacity: 0;
596 630
     z-index: -1;
597 631
 }
632
+#ctrl-xgtlpic-mask2 {
633
+    width: 50%;
634
+    height: 100%;
635
+    position: absolute;
636
+    left: 196px;
637
+    top: 131px;
638
+    opacity: 0;
639
+    z-index: -1;
640
+}
598 641
 .tables {
599 642
 
600 643
   thead th{

+ 105 - 109
src/xt_pages/user/evaluationtool/OHpressuresore.vue 파일 보기

@@ -17,7 +17,7 @@
17 17
 
18 18
               <div style="flex:1" v-if="baocun_open==1">
19 19
                 <el-button type="primary" @click="save_OH" v-if="this.qufen ==false">保存</el-button>
20
-                <el-button type="primary" @click="updateBedPatientList" v-if="this.qufen == true && this.dele_id !=''">保存1</el-button>
20
+                <el-button type="primary" @click="updateBedPatientList" v-if="this.qufen == true && this.dele_id !=''">保存</el-button>
21 21
                 <el-button  @click="cancel_OH" >取消</el-button>
22 22
               </div>
23 23
 
@@ -107,9 +107,9 @@
107 107
                   <el-select v-model="oh_appraiser" placeholder="请选择"  style="width:120px;">
108 108
                       <el-option
109 109
                       v-for="item in oh_pinggr"
110
-                      :key="item.id"
111
-                      :label="item.label"
112
-                      :value="item.id"
110
+                      :key="item.admin_user_id"
111
+                      :label="item.user_name"
112
+                      :value="item.admin_user_id"
113 113
                      >
114 114
                       </el-option>
115 115
                   </el-select>
@@ -303,7 +303,7 @@ export default {
303 303
       bingli:[{value:0,label:'无(0分)',check:0,is_check:false},{value:1.5,label:'轻度/中度(1.5分)',check:0,is_check:false},{value:3,label:'高度(3分)',check:0,is_check:false}],
304 304
       edema:[{value:0,label:'无(0分)',check:0,is_check:false},{value:3,label:'有(3分)',check:0,is_check:false}],
305 305
       guanjie:[{value:0,label:'无(0分)',check:0,is_check:false},{value:1,label:'有(1分)',check:0,is_check:false}],
306
-      oh_pinggr:[{id:1,label:'小米'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
306
+      oh_pinggr:[],
307 307
       checkList:[],
308 308
       checkList1:[],
309 309
       checkList2:[],
@@ -319,6 +319,7 @@ export default {
319 319
       cancel_num:0,//取消的条件
320 320
       open_print:false,
321 321
       dele_id:'',//删除的索引
322
+      dele_id2:'',
322 323
       dele_dialogVisible:false,
323 324
       oh_huli:'',//护理措施
324 325
       oh_date:this.getTime(new Date()),
@@ -432,6 +433,7 @@ export default {
432 433
         this.append = false
433 434
         this.append2 = false
434 435
       }
436
+
435 437
       // for(let i in this.tiwei){
436 438
       //   this.tiwei[i].is_check = false,
437 439
       //   this.tiwei[i].check = 0
@@ -461,6 +463,7 @@ export default {
461 463
         this.add_show=true
462 464
         this.zsgy_open=1
463 465
         this.cancel_num=1
466
+        this.append2 =false
464 467
         const data = {}
465 468
         var list =[]
466 469
         data['patient_id'] =  this.patientID
@@ -485,19 +488,21 @@ export default {
485 488
           if(response.data.state ==1){
486 489
             console.log('response.data.state',response.data);
487 490
             const item = response.data.data.pedFallssessment
488
-            var oh_text = JSON.parse(item.text)
489
-            // console.log('oh_data.text',JSON.parse(item.text));
490
-              const arr ={
491
-                id:item.id,
492
-                date:this.getTime(item.record_date),
493
-                mark:oh_text.total,
494
-                evaluate:this.getpinggr(oh_text.oh_appraiser),
495
-                list:oh_text
496
-              }
497
-              this.history_OH.push(arr)
491
+            this.getlist()
492
+            // var oh_text = JSON.parse(item.text)
493
+            // // console.log('oh_data.text',JSON.parse(item.text));
494
+            //   this.dele_id2 = item.id
495
+            //   const arr ={
496
+            //     id:item.id,
497
+            //     date:this.getTime(item.record_date),
498
+            //     mark:oh_text.total,
499
+            //     evaluate:this.getpinggr(oh_text.oh_appraiser),
500
+            //     list:oh_text
501
+            //   }
502
+            //   this.history_OH.push(arr)
498 503
           }
499 504
         })
500
-        return this.history_OH
505
+        // return this.history_OH
501 506
       }
502 507
     },
503 508
     //编辑
@@ -510,9 +515,8 @@ export default {
510 515
       this.qufen =true
511 516
     },
512 517
     // 选中数据
513
-    dele_click(row, column, event){
514
-
515
-      this.dele_id=row.id
518
+    dele_click(row, column, event){    
519
+        this.dele_id = row.id
516 520
       console.log('row',this.dele_id);
517 521
       if(this.baocun_open == 1){
518 522
         this.add_show = true
@@ -523,96 +527,63 @@ export default {
523 527
       getPedPatientFallAssessmentById(this.dele_id).then(response=>{
524 528
         if(response.data.state ==1){
525 529
           const oheditor = response.data.data.fallassessment
526
-          var editor  =JSON.parse(oheditor.text)
527
-          if(oheditor.id == row.id){
528
-            for(let i in this.tiwei){
529
-              if(editor.tiwei == this.tiwei[i].value){
530
-                this.tiwei[i].is_check = true
531
-                this.tiwei[i].check = 1
532
-                this.tiwei_num = editor.tiwei
533
-              }else{
534
-                this.tiwei[i].is_check = false
535
-                this.tiwei[i].check = 0
536
-                // this.tiwei_num = 0
537
-              }
538
-            }
539
-            for(let i in this.bingli){
540
-              if(editor.bingli == this.bingli[i].value){
541
-                this.bingli[i].is_check = true
542
-                this.bingli[i].check = 1
543
-                this.bingli_num = editor.bingli
544
-              }else{
545
-                this.bingli[i].is_check = false
546
-                this.bingli[i].check = 0
547
-                // this.bingli_num = 0
530
+          if(oheditor.text !=''){
531
+            var editor  =JSON.parse(oheditor.text)
532
+            if(oheditor.id == row.id){
533
+              for(let i in this.tiwei){
534
+                if(editor.tiwei == this.tiwei[i].value){
535
+                  this.tiwei[i].is_check = true
536
+                  this.tiwei[i].check = 1
537
+                  this.tiwei_num = editor.tiwei
538
+                }else{
539
+                  this.tiwei[i].is_check = false
540
+                  this.tiwei[i].check = 0
541
+                  // this.tiwei_num = 0
542
+                }
548 543
               }
544
+              for(let i in this.bingli){
545
+                if(editor.bingli == this.bingli[i].value){
546
+                  this.bingli[i].is_check = true
547
+                  this.bingli[i].check = 1
548
+                  this.bingli_num = editor.bingli
549
+                }else{
550
+                  this.bingli[i].is_check = false
551
+                  this.bingli[i].check = 0
552
+                  // this.bingli_num = 0
553
+                }
549 554
 
550
-            }
551
-            for(let i in this.edema){
552
-              if(editor.edema == this.edema[i].value){
553
-                this.edema[i].is_check = true
554
-                this.edema[i].check = 1
555
-                this.edema_num = editor.edema
556
-              }else{
557
-                this.edema[i].is_check = false
558
-                this.edema[i].check = 0
559
-                // this.edema_num = 0
560 555
               }
561
-            }
562
-            for(let i in this.guanjie){
563
-              if(editor.guanjie == this.guanjie[i].value){
564
-                this.guanjie[i].is_check = true
565
-                this.guanjie[i].check = 1
566
-                this.gaunjie_num = editor.guanjie
567
-              }else{
568
-                this.guanjie[i].is_check = false
569
-                this.guanjie[i].check = 0
570
-                // this.gaunjie_num = 0
556
+              for(let i in this.edema){
557
+                if(editor.edema == this.edema[i].value){
558
+                  this.edema[i].is_check = true
559
+                  this.edema[i].check = 1
560
+                  this.edema_num = editor.edema
561
+                }else{
562
+                  this.edema[i].is_check = false
563
+                  this.edema[i].check = 0
564
+                  // this.edema_num = 0
565
+                }
566
+              }
567
+              for(let i in this.guanjie){
568
+                if(editor.guanjie == this.guanjie[i].value){
569
+                  this.guanjie[i].is_check = true
570
+                  this.guanjie[i].check = 1
571
+                  this.gaunjie_num = editor.guanjie
572
+                }else{
573
+                  this.guanjie[i].is_check = false
574
+                  this.guanjie[i].check = 0
575
+                  // this.gaunjie_num = 0
576
+                }
571 577
               }
578
+              this.oh_appraiser = editor.oh_appraiser
579
+              this.oh_huli = editor.oh_huli
580
+              this.oh_date = editor.record_date
581
+              this.Totalpoints = editor.total
572 582
             }
573
-            this.oh_appraiser = editor.oh_appraiser
574
-            this.oh_huli = editor.oh_huli
575
-            this.oh_date = editor.record_date
576
-            this.Totalpoints = editor.total
583
+            console.log('data',this.Totalpoints,oheditor);
577 584
           }
578
-          console.log('data',this.Totalpoints,oheditor);
579 585
         }
580 586
       })
581
-
582
-
583
-      // for(let i in this.tiwei){
584
-      //   if(row.list.tiwei == this.tiwei[i].value){
585
-      //     this.tiwei[i].is_check = true
586
-      //     this.tiwei[i].check = 1
587
-      //   }
588
-      // }
589
-      // for(let i in this.bingli){
590
-      //   if(row.list.bingli == this.bingli[i].value){
591
-      //     this.bingli[i].is_check = true
592
-      //     this.bingli[i].check = 1
593
-      //   }
594
-      // }
595
-      // for(let i in this.edema){
596
-      //   if(row.list.edema == this.edema[i].value){
597
-      //     this.edema[i].is_check = true
598
-      //     this.edema[i].check = 1
599
-      //   }
600
-      // }
601
-      // for(let i in this.guanjie){
602
-      //   if(row.list.guanjie == this.guanjie[i].value){
603
-      //     this.guanjie[i].is_check = true
604
-      //     this.guanjie[i].check = 1
605
-      //   }
606
-      // }
607
-      // this.oh_appraiser = row.list.oh_appraiser
608
-      // this.oh_huli = row.list.oh_huli
609
-      // this.oh_date = row.list.record_date
610
-      // this.Totalpoints = row.mark
611
-      // console.log('Totalpoints',this.Totalpoints);
612
-      //row.id 为 选中当前行的id
613
-      // deletePedPatientFallassment(row.id).then(response=>{
614
-
615
-      // })
616 587
     },
617 588
     //删除
618 589
     dele_OH(){
@@ -639,13 +610,31 @@ export default {
639 610
               this.history_OH.splice(i,1)
640 611
             }
641 612
           }
613
+          this.oh_appraiser = ''
614
+          this.oh_huli = ''
615
+            for(let i in this.tiwei){
616
+                this.tiwei[i].is_check = false
617
+                this.tiwei[i].check = 0
618
+                this.tiwei_num =0
619
+            }
620
+            for(let i in this.bingli){
621
+                this.bingli[i].is_check = false
622
+                this.bingli[i].check = 0
623
+                this.bingli_num =0
624
+            }
625
+            for(let i in this.edema){
626
+             
627
+                this.edema[i].is_check = false
628
+                this.edema[i].check = 0
629
+                this.edema_num = 0
630
+            }
631
+            for(let i in this.guanjie){
632
+                this.guanjie[i].is_check = false
633
+                this.guanjie[i].check = 0
634
+                this.gaunjie_num =0
635
+            }
642 636
         }
643 637
       })
644
-      // for(let i=0;i<this.history_OH.length;i++){
645
-      //   if(this.dele_id==this.history_OH[i].id){
646
-      //     this.history_OH.splice(i,1)
647
-      //   }
648
-      // }
649 638
       this.dele_dialogVisible=false
650 639
       return this.history_OH
651 640
     },
@@ -667,10 +656,12 @@ export default {
667 656
       if(this.cancel_num==1){
668 657
         this.zsgy_open=1
669 658
         this.add_show=true
659
+        this.append2=false
670 660
       }else{
671 661
         this.zsgy_open=0
672 662
         this.add_show=true
673 663
         this.append=false
664
+        this.append2=false
674 665
         this.tiwei_num=''
675 666
         this.bingli_num=null
676 667
         this.edema_num=null
@@ -705,17 +696,18 @@ export default {
705 696
     // 评估护士
706 697
     getpinggr(id){
707 698
       for(let i in this.oh_pinggr){
708
-        if(id == this.oh_pinggr[i].id){
709
-          return this.oh_pinggr[i].label
699
+        if(id == this.oh_pinggr[i].admin_user_id){
700
+          return this.oh_pinggr[i].user_name
710 701
         }
711 702
       }
712 703
     },
704
+    // 评估数据
713 705
     getAllNurseList(){
714 706
      getAllNurseList().then(response=>{
715 707
         if(response.data.state ==1){
716 708
           var nurseList  = response.data.data.nurseList
717 709
 
718
-          this.nurseList =nurseList
710
+          this.oh_pinggr =nurseList
719 711
         }
720 712
       })
721 713
     },
@@ -729,6 +721,9 @@ export default {
729 721
         }
730 722
       getPatientBedlist(params).then(response=>{
731 723
         if(response.data.state ==1){
724
+          if(this.history_OH.length >0){
725
+            this.history_OH.length=0
726
+          }
732 727
           var list = response.data.data.list
733 728
           list.forEach((item) => {
734 729
 
@@ -811,6 +806,7 @@ export default {
811 806
   this.patientID = parseInt(id)
812 807
   console.log('this.$route.query.patient_id',this.patientID);
813 808
   this.getlist()
809
+  this.getAllNurseList()
814 810
  }
815 811
 }
816 812
 </script>

+ 13 - 2
src/xt_pages/user/evaluationtool/RassAssessment.vue 파일 보기

@@ -454,7 +454,7 @@
454 454
 import PatientSidebar from '../components/PatientSidebar.vue'
455 455
 import behavior from './behavior.vue'
456 456
 import { uParseTime } from '@/utils/tools'
457
-import {savePatientHpressuresore} from '@/api/fallassement'
457
+import {getAllNurseList,savePatientHpressuresore} from '@/api/fallassement'
458 458
 export default {
459 459
     components:{
460 460
       PatientSidebar,
@@ -480,7 +480,7 @@ export default {
480 480
             RAssdate:this.getTime(new Date()),
481 481
             rass_appraiser:'',
482 482
             Rass_num:0,//控制是rass还是LOS
483
-            rassoptions:[{admin_user_id:1,user_name:'寒千落'},{admin_user_id:2,user_name:'千仞雪'},{admin_user_id:3,user_name:'千亦雪'}],
483
+            rassoptions:[],
484 484
 
485 485
             qita_val:'',
486 486
             qita_textarea:'',
@@ -565,6 +565,7 @@ export default {
565 565
     created(){
566 566
       const id = this.$route.params && this.$route.params.id
567 567
       this.patientID = parseInt(id)
568
+      this.getAllNurseList()
568 569
     },
569 570
     methods:{
570 571
       // RASS评估表
@@ -934,6 +935,16 @@ export default {
934 935
           dialysis_no:event.dialysis_no
935 936
         }
936 937
       },
938
+      // 评估人数据源
939
+      getAllNurseList(){
940
+        getAllNurseList().then(response=>{
941
+          if(response.data.state ==1){
942
+            var nurseList  = response.data.data.nurseList
943
+
944
+            this.rassoptions =nurseList
945
+          }
946
+        })
947
+      },
937 948
     },
938 949
     computed:{
939 950
       // Pain_score(){

+ 17 - 6
src/xt_pages/user/evaluationtool/dailyLife.vue 파일 보기

@@ -177,9 +177,9 @@
177 177
                           <el-select v-model="appraiser" placeholder="请选择"  style="width:150px;">
178 178
                               <el-option
179 179
                               v-for="item in optionsarr"
180
-                              :key="item.id"
181
-                              :label="item.label"
182
-                              :value="item.id"
180
+                              :key="item.admin_user_id"
181
+                              :label="item.user_name"
182
+                              :value="item.admin_user_id"
183 183
                              >
184 184
                               </el-option>
185 185
                           </el-select>
@@ -205,7 +205,7 @@
205 205
 <script>
206 206
 import PatientSidebar from '../components/PatientSidebar.vue'
207 207
 import { uParseTime } from '@/utils/tools'
208
-import {savePatientHpressuresore} from '@/api/fallassement'
208
+import {getAllNurseList,savePatientHpressuresore} from '@/api/fallassement'
209 209
 export default {
210 210
   components:{
211 211
     PatientSidebar
@@ -229,7 +229,7 @@ export default {
229 229
       louti_val:null,
230 230
       appraiser:'',
231 231
       // optionsarr:[],
232
-      optionsarr:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
232
+      optionsarr:[],
233 233
       date:this.getTime(new Date()),
234 234
       Patient_info:{name:'',dialysis_no:''},
235 235
       jinshi:[{value:10,label:'可独立进食(10分)',is_check:false,check:0},
@@ -278,7 +278,7 @@ export default {
278 278
   created(){
279 279
     const id = this.$route.params && this.$route.params.id
280 280
     this.patientID = parseInt(id)
281
-    // this.patient_id = parseInt(id)
281
+    this.getAllNurseList()
282 282
   },
283 283
   methods:{
284 284
     jinshiclick(e,item){
@@ -517,6 +517,7 @@ export default {
517 517
               Patient_info:this.Patient_info}
518 518
         })
519 519
     },
520
+    // 患者信息
520 521
     tranpatient(event){
521 522
       console.log('event',event);
522 523
       this.Patient_info={
@@ -524,6 +525,16 @@ export default {
524 525
         dialysis_no:event.dialysis_no
525 526
       }
526 527
     },
528
+    // 评估人数据源
529
+    getAllNurseList(){
530
+      getAllNurseList().then(response=>{
531
+        if(response.data.state ==1){
532
+          var nurseList  = response.data.data.nurseList
533
+
534
+          this.optionsarr =nurseList
535
+        }
536
+      })
537
+    },
527 538
   },
528 539
   computed:{
529 540
     date_Totalpoints(){

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2829 - 737
src/xt_pages/user/evaluationtool/hemodialysis.vue


+ 15 - 6
src/xt_pages/user/evaluationtool/mindAssessment.vue 파일 보기

@@ -82,9 +82,9 @@
82 82
                             <el-select v-model="appraiser" placeholder="请选择" style="width:150px;">
83 83
                                 <el-option
84 84
                                 v-for="item in optionsarr"
85
-                                :key="item.id"
86
-                                :label="item.label"
87
-                                :value="item.id"
85
+                                :key="item.admin_user_id"
86
+                                :label="item.user_name"
87
+                                :value="item.admin_user_id"
88 88
                                 >
89 89
                                 </el-option>
90 90
                             </el-select>
@@ -102,7 +102,7 @@
102 102
 <script>
103 103
 import { uParseTime } from '@/utils/tools'
104 104
 import PatientSidebar from '../components/PatientSidebar.vue'
105
-import {savePatientHpressuresore} from '@/api/fallassement'
105
+import {getAllNurseList,savePatientHpressuresore} from '@/api/fallassement'
106 106
 export default {
107 107
   components:{
108 108
     PatientSidebar
@@ -124,7 +124,7 @@ export default {
124 124
           qingan:[{value:1,label:'有'},{value:0,label:'无'}],
125 125
           appraiser:'',
126 126
           // optionsarr:[],
127
-          optionsarr:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
127
+          optionsarr:[],
128 128
           date:this.getTime(new Date()),
129 129
           Patient_info:{name:'',dialysis_no:''},
130 130
       }
@@ -133,7 +133,7 @@ export default {
133 133
   created(){
134 134
     const id = this.$route.params && this.$route.params.id
135 135
     this.patientID = parseInt(id)
136
-    // this.patient_id = parseInt(id)
136
+    this.getAllNurseList()
137 137
   },
138 138
   methods:{
139 139
     // 历史评分
@@ -211,7 +211,16 @@ export default {
211 211
         dialysis_no:event.dialysis_no
212 212
       }
213 213
     },
214
+    // 评估人数据源
215
+    getAllNurseList(){
216
+        getAllNurseList().then(response=>{
217
+          if(response.data.state ==1){
218
+            var nurseList  = response.data.data.nurseList
214 219
 
220
+            this.optionsarr =nurseList
221
+          }
222
+        })
223
+    },
215 224
   }
216 225
 }
217 226
 </script>

+ 13 - 2
src/xt_pages/user/evaluationtool/nourishmentAssessment.vue 파일 보기

@@ -202,7 +202,7 @@
202 202
 <script>
203 203
 import PatientSidebar from '../components/PatientSidebar.vue'
204 204
 import { uParseTime } from '@/utils/tools'
205
-import {savePatientHpressuresore} from '@/api/fallassement'
205
+import {getAllNurseList,savePatientHpressuresore} from '@/api/fallassement'
206 206
 export default {
207 207
   components:{
208 208
     PatientSidebar
@@ -233,7 +233,7 @@ export default {
233 233
       yy_date:this.getTime(new Date()),
234 234
       Patient_info:{name:'',dialysis_no:''},
235 235
       yy_appraiser:'',
236
-      yy_options:[{admin_user_id:1,user_name:'寒千落'},{admin_user_id:2,user_name:'千仞雪'},{admin_user_id:3,user_name:'千亦雪'}],
236
+      yy_options:[],
237 237
       jibq_show:[],
238 238
       jibz_show:[],
239 239
       jibzz_show:[],
@@ -256,6 +256,7 @@ export default {
256 256
   created(){
257 257
     const id = this.$route.params && this.$route.params.id
258 258
     this.patientID = parseInt(id)
259
+    this.getAllNurseList()
259 260
   },
260 261
   methods:{
261 262
     // 选中分值
@@ -704,6 +705,16 @@ export default {
704 705
         dialysis_no:event.dialysis_no
705 706
       }
706 707
     },
708
+     // 评估人数据源
709
+    getAllNurseList(){
710
+        getAllNurseList().then(response=>{
711
+          if(response.data.state ==1){
712
+            var nurseList  = response.data.data.nurseList
713
+
714
+            this.yy_options =nurseList
715
+          }
716
+        })
717
+    },
707 718
   },
708 719
   computed:{
709 720
     nour_Totalpoints(){

+ 4 - 3
src/xt_pages/user/evaluationtool/pediatricFallAssessment.vue 파일 보기

@@ -198,8 +198,8 @@ export default {
198 198
       dialogVisible:false,
199 199
       text:'',
200 200
       num:1,
201
-      tumble_options:[{admin_user_id:1,user_name:'小米'},{admin_user_id:2,user_name:'小明'},{admin_user_id:3,user_name:'小红'}],
202
-      // tumble_options:[],
201
+      // tumble_options:[{admin_user_id:1,user_name:'小米'},{admin_user_id:2,user_name:'小明'},{admin_user_id:3,user_name:'小红'}],
202
+      tumble_options:[],
203 203
       tumble:'',
204 204
       date:this.getTime(new Date()),
205 205
       patient:'',
@@ -367,13 +367,14 @@ export default {
367 367
         })
368 368
       }
369 369
     },
370
+    // 评估人数据源
370 371
     getAllNurseList(){
371 372
         getAllNurseList().then(response=>{
372 373
            if(response.data.state ==1){
373 374
             console.log('response.data.data',response.data.data);
374 375
              var nurseList  = response.data.data.nurseList
375 376
 
376
-            //  this.tumble_options =nurseList
377
+             this.tumble_options =nurseList
377 378
            }
378 379
         })
379 380
     },

+ 10 - 11
src/xt_pages/user/evaluationtool/pressuresore.vue 파일 보기

@@ -229,9 +229,9 @@
229 229
                     <el-select v-model="duty" placeholder="请选择" style="width:120px;">
230 230
                         <el-option
231 231
                           v-for="item in dutyoptions"
232
-                          :key="item.id"
233
-                          :label="item.label"
234
-                          :value="item.id"
232
+                          :key="item.admin_user_id"
233
+                          :label="item.user_name"
234
+                          :value="item.admin_user_id"
235 235
                           >
236 236
                         </el-option>
237 237
                     </el-select>
@@ -291,10 +291,10 @@
291 291
                     护士长签字:
292 292
                     <el-select v-model="nurse" placeholder="请选择" style="width: 120px;">
293 293
                         <el-option
294
-                        v-for="item in nurse_options"
295
-                        :key="item.value"
296
-                        :label="item.label"
297
-                        :value="item.value">
294
+                        v-for="item in dutyoptions"
295
+                        :key="item.admin_user_id"
296
+                        :label="item.user_name"
297
+                        :value="item.admin_user_id">
298 298
                         </el-option>
299 299
                     </el-select>
300 300
                 </p>
@@ -371,13 +371,12 @@ export default {
371 371
       date:this.getTime(new Date()),
372 372
       huli_value:'',
373 373
       family_date:this.getTime(new Date()),
374
-      dutyoptions:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
374
+      dutyoptions:[],
375 375
       duty:'',
376 376
       family_member:'',
377 377
       appraiser:'',
378 378
       appraiser_date:this.getTime(new Date()),
379 379
       nurse:'',
380
-      nurse_options:[],
381 380
       nurse_date:this.getTime(new Date()),
382 381
       hulicheckarr:[],//护理措施选中
383 382
       hulicuoshi:[{id:1,label:'挂床头警示标识',hulicheck:0,is_check:false},{id:2,label:'保护受压皮肤,使用减压用具(气垫床/压疮床)',hulicheck:0,is_check:false},
@@ -456,13 +455,13 @@ export default {
456 455
         return uParseTime(val, '{y}-{m}-{d}')
457 456
         }
458 457
     },
459
-    // 评估
458
+    // 评估人数据源
460 459
     getAllNurseList(){
461 460
         getAllNurseList().then(response=>{
462 461
            if(response.data.state ==1){
463 462
              var nurseList  = response.data.data.nurseList
464 463
 
465
-             this.nurseList =nurseList
464
+             this.dutyoptions =nurseList
466 465
            }
467 466
         })
468 467
     },

+ 16 - 5
src/xt_pages/user/evaluationtool/pruritusAssessment.vue 파일 보기

@@ -105,9 +105,9 @@
105 105
               <el-select v-model="pruritus_appraiser" placeholder="请选择" style="width:150px;">
106 106
                   <el-option
107 107
                   v-for="item in pruritus_options"
108
-                  :key="item.id"
109
-                  :label="item.label"
110
-                  :value="item.id"
108
+                  :key="item.admin_user_id"
109
+                  :label="item.user_name"
110
+                  :value="item.admin_user_id"
111 111
                   >
112 112
                   </el-option>
113 113
               </el-select>
@@ -125,7 +125,7 @@
125 125
 <script>
126 126
 import PatientSidebar from '../components/PatientSidebar.vue'
127 127
 import { uParseTime } from '@/utils/tools'
128
-import {savePatientHpressuresore} from '@/api/fallassement'
128
+import {getAllNurseList,savePatientHpressuresore} from '@/api/fallassement'
129 129
 export default {
130 130
   components:{
131 131
     PatientSidebar
@@ -144,7 +144,7 @@ export default {
144 144
       radio3_points:0,
145 145
       checked_points:0,
146 146
       // pruritus_options:[],
147
-      pruritus_options:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
147
+      pruritus_options:[],
148 148
       pruritus_appraiser:'',
149 149
       pruritus_date:this.getTime(new Date()),
150 150
       buwei:[{id:1,label:'躯体',is_check:false,check:0},{id:2,label:'上肢',is_check:false,check:0},{id:3,label:'下肢',is_check:false,check:0},{id:4,label:'头皮',is_check:false,check:0},],
@@ -167,6 +167,7 @@ export default {
167 167
   created(){
168 168
     const id = this.$route.params && this.$route.params.id
169 169
     this.patientID = parseInt(id)
170
+    this.getAllNurseList()
170 171
   },
171 172
   methods:{
172 173
     // 痒的部位选项
@@ -380,6 +381,16 @@ export default {
380 381
         dialysis_no:event.dialysis_no
381 382
       }
382 383
     },
384
+    // 评估人数据源
385
+    getAllNurseList(){
386
+        getAllNurseList().then(response=>{
387
+          if(response.data.state ==1){
388
+            var nurseList  = response.data.data.nurseList
389
+
390
+            this.pruritus_options =nurseList
391
+          }
392
+        })
393
+    },
383 394
   },
384 395
   computed:{
385 396
     pruritus_Totalpoints(){

+ 17 - 4
src/xt_pages/user/history/Children_history.vue 파일 보기

@@ -353,7 +353,7 @@
353 353
 <script>
354 354
 import print from 'print-js'
355 355
 import { uParseTime } from '@/utils/tools'
356
-import {  getPedDiatricFallAssessmentList,getPedPatientFallAssessmentById,deletePedPatientFallassment,updatepatientfallassessmentById } from '@/api/fallassement'
356
+import { getAllNurseList, getPedDiatricFallAssessmentList,getPedPatientFallAssessmentById,deletePedPatientFallassment,updatepatientfallassessmentById } from '@/api/fallassement'
357 357
 export default{
358 358
   data(){
359 359
     return{
@@ -394,8 +394,8 @@ export default{
394 394
       checked:'',
395 395
       checkList:[],
396 396
       text:'',
397
-      tumble_options:[{admin_user_id:1,user_name:'小米'},{admin_user_id:2,user_name:'小明'},{admin_user_id:3,user_name:'小红'}],
398
-      // tumble_options:[],
397
+      // tumble_options:[{admin_user_id:1,user_name:'小米'},{admin_user_id:2,user_name:'小明'},{admin_user_id:3,user_name:'小红'}],
398
+      tumble_options:[],
399 399
       tumble:0,//评估人
400 400
       date:this.getTime(new Date()),//评估日期
401 401
       patient_id:0,
@@ -663,6 +663,7 @@ export default{
663 663
               this.tableData[i].mark = updatenum.total,
664 664
               this.tableData[i].time = this.getTime(updatenum.record_date),
665 665
               this.tableData[i].evaluate = this.getoptions(updatenum.admin_user_id)
666
+              this.tableData[i].list = updatenum
666 667
             }
667 668
            }
668 669
          }
@@ -743,7 +744,18 @@ export default{
743 744
           return options[i].user_name
744 745
         }
745 746
       }
746
-    }
747
+    },
748
+    // 评估人数据源
749
+    getAllNurseList(){
750
+        getAllNurseList().then(response=>{
751
+           if(response.data.state ==1){
752
+            console.log('response.data.data',response.data.data);
753
+             var nurseList  = response.data.data.nurseList
754
+
755
+             this.tumble_options =nurseList
756
+           }
757
+        })
758
+    },
747 759
   },
748 760
   computed:{
749 761
     pedia_Totalpoints:{
@@ -765,6 +777,7 @@ export default{
765 777
     this.Patient_info = this.$route.query.Patient_info
766 778
     // this.tumble_options = this.$route.query.tumble_options
767 779
     this.getPedDiatricFallAssessmentList()
780
+    this.getAllNurseList()
768 781
   }
769 782
 }
770 783
 </script>

+ 34 - 14
src/xt_pages/user/history/Pressure_history.vue 파일 보기

@@ -347,7 +347,7 @@
347 347
                 <div class="zhuangui">
348 348
                   <p style="display: inline-block; margin-right: 30px;">
349 349
                       护士长签字:
350
-                      <span style="display: inline-block; border-bottom: 1px solid black;width: 100px;">{{items.nurse}}</span>
350
+                      <span style="display: inline-block; border-bottom: 1px solid black;width: 100px;">{{getoptions(items.nurse)}}</span>
351 351
                   </p>
352 352
                   <p style="display: inline-block;">
353 353
                       日期:
@@ -588,9 +588,9 @@
588 588
                     <el-select v-model="duty" placeholder="请选择" style="width:120px;">
589 589
                         <el-option
590 590
                           v-for="item in dutyoptions"
591
-                          :key="item.id"
592
-                          :label="item.label"
593
-                          :value="item.id"
591
+                          :key="item.admin_user_id"
592
+                          :label="item.user_name"
593
+                          :value="item.admin_user_id"
594 594
                           >
595 595
                         </el-option>
596 596
                     </el-select>
@@ -647,10 +647,10 @@
647 647
                   护士长签字:
648 648
                   <el-select v-model="nurse" placeholder="请选择" style="width: 120px;">
649 649
                       <el-option
650
-                      v-for="item in nurse_options"
651
-                      :key="item.value"
652
-                      :label="item.label"
653
-                      :value="item.value">
650
+                      v-for="item in dutyoptions"
651
+                        :key="item.admin_user_id"
652
+                        :label="item.user_name"
653
+                        :value="item.admin_user_id">
654 654
                       </el-option>
655 655
                   </el-select>
656 656
               </p>
@@ -733,13 +733,13 @@ export default{
733 733
       date:this.getTime(new Date()),
734 734
       huli_value:'',
735 735
       family_date:this.getTime(new Date()),
736
-      dutyoptions:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
736
+      dutyoptions:[],
737 737
       duty:'',
738 738
       family_member:'',
739 739
       appraiser:'',
740 740
       appraiser_date:this.getTime(new Date()),
741 741
       nurse:'',
742
-      nurse_options:[],
742
+      nurse_options:[{admin_user_id:1,user_name:'寒千落'},{admin_user_id:2,user_name:'千仞雪'},{admin_user_id:3,user_name:'千亦雪'}],
743 743
       nurse_date:this.getTime(new Date()),
744 744
       hulicheckarr:[],
745 745
       patientID:0,
@@ -760,6 +760,7 @@ export default{
760 760
     this.patient_id = this.$route.query.patient_id
761 761
     this.Patient_info = this.$route.query.Patient_info
762 762
     this.getlist()
763
+    this.getAllNurseList()
763 764
   },
764 765
   methods:{
765 766
     // 返回
@@ -981,7 +982,7 @@ export default{
981 982
                 this.tableData[i].jiashu_date = text.jiashu_date,
982 983
                 this.tableData[i].appraiser = text.appraiser,
983 984
                 this.tableData[i].pingg_date = text.pingg_date,
984
-                this.tableData[i].nurse = text.nurse,
985
+                this.tableData[i].nurse = this.getnurse(text.nurse),
985 986
                 this.tableData[i].nurse_date = text.nurse_date,
986 987
                 this.tableData[i].zhuang_show = text.zhuang_show,
987 988
                 this.tableData[i].hulicuoshi = text.hulicuoshi
@@ -1062,8 +1063,17 @@ export default{
1062 1063
     getoptions(ids){
1063 1064
      const options= this.dutyoptions
1064 1065
       for(let i in options){
1065
-        if(options[i].id == ids){
1066
-          return options[i].label
1066
+        if(options[i].admin_user_id == ids){
1067
+          return options[i].user_name
1068
+        }
1069
+      }
1070
+    },
1071
+     // 护士长
1072
+    getnurse(ids){
1073
+     const options= this.nurse_options
1074
+      for(let i in options){
1075
+        if(options[i].admin_user_id == ids){
1076
+          return options[i].user_name
1067 1077
         }
1068 1078
       }
1069 1079
     },
@@ -1081,7 +1091,17 @@ export default{
1081 1091
           console.log('arr2',arr2);
1082 1092
       }
1083 1093
       return arr2
1084
-    }
1094
+    },
1095
+    // 评估人数据源
1096
+    getAllNurseList(){
1097
+      getAllNurseList().then(response=>{
1098
+          if(response.data.state ==1){
1099
+            var nurseList  = response.data.data.nurseList
1100
+
1101
+            this.dutyoptions =nurseList
1102
+          }
1103
+      })
1104
+    },
1085 1105
   },
1086 1106
   computed:{
1087 1107
     mark:{

+ 12 - 4
src/xt_pages/user/history/RASS_history.vue 파일 보기

@@ -323,7 +323,7 @@ export default{
323 323
       RAssradio:'',
324 324
       dayin:this.getTime2(new Date()),
325 325
       num:1,
326
-      rassoptions:[{admin_user_id:1,user_name:'寒千落'},{admin_user_id:2,user_name:'千仞雪'},{admin_user_id:3,user_name:'千亦雪'}],
326
+      rassoptions:[],
327 327
       tengtable:[],
328 328
       LOS:[{title:'0分', label:'清醒',value:0},{title:'1分', label:'有些昏昏欲睡,但容易唤醒',value:1},
329 329
             {title:'2分', label:'频繁发生昏昏欲睡,容易唤醒,但不能持续处于觉醒状态',value:2},
@@ -350,6 +350,7 @@ export default{
350 350
     this.Patient_info = this.$route.query.Patient_info
351 351
     this.getRass_list()
352 352
     this.getteng_list()
353
+    this.getAllNurseList()
353 354
   },
354 355
   methods:{
355 356
     // 返回
@@ -574,9 +575,16 @@ export default{
574 575
         }
575 576
       }
576 577
     },
577
-    // getqita(ids,){
578
-    //   if()
579
-    // }
578
+    // 评估人数据源
579
+    getAllNurseList(){
580
+      getAllNurseList().then(response=>{
581
+        if(response.data.state ==1){
582
+          var nurseList  = response.data.data.nurseList
583
+
584
+          this.rassoptions =nurseList
585
+        }
586
+      })
587
+    },
580 588
 
581 589
   }
582 590
 }

+ 33 - 21
src/xt_pages/user/history/daoguan_history.vue 파일 보기

@@ -177,7 +177,7 @@
177 177
                     <td rowspan="3">
178 178
                       <div style="vertical-align: top; color: black; padding: 5px;">
179 179
                         <span >
180
-                          <template v-for="item in items.huli_show">  
180
+                          <template v-for="item in items.cuoshi1">  
181 181
                             <span >                  
182 182
                               <label><input type="checkbox" v-model="item.is_check" @click="cuoshi(item)"/>&nbsp;<span>{{ item.id }}.</span>{{item.label}}</label> <br/>
183 183
                             </span> 
@@ -340,9 +340,9 @@
340 340
                 <el-select v-model="Dutynurse" placeholder="请选择" style="width:150px;">
341 341
                     <el-option
342 342
                     v-for="item in Dutynursearr"
343
-                    :key="item.id"
344
-                    :label="item.label"
345
-                    :value="item.id"
343
+                    :key="item.admin_user_id"
344
+                    :label="item.user_name"
345
+                    :value="item.admin_user_id"
346 346
                     >
347 347
                     </el-option>
348 348
                 </el-select>
@@ -379,10 +379,10 @@
379 379
                 评估人签字:
380 380
                 <el-select v-model="appraiser" placeholder="请选择" style="width: 120px;">
381 381
                     <el-option
382
-                    v-for="item in optionsarr"
383
-                    :key="item.id"
384
-                    :label="item.label"
385
-                    :value="item.id">
382
+                    v-for="item in Dutynursearr"
383
+                    :key="item.admin_user_id"
384
+                    :label="item.user_name"
385
+                    :value="item.admin_user_id">
386 386
                     </el-option>
387 387
                 </el-select>
388 388
             </p>
@@ -402,10 +402,10 @@
402 402
                 护士长签字:
403 403
                 <el-select v-model="hushi" placeholder="请选择" style="width: 120px;">
404 404
                     <el-option
405
-                    v-for="item in hushiarr"
406
-                    :key="item.id"
407
-                    :label="item.label"
408
-                    :value="item.id">
405
+                    v-for="item in Dutynursearr"
406
+                    :key="item.admin_user_id"
407
+                    :label="item.user_name"
408
+                    :value="item.admin_user_id">
409 409
                     </el-option>
410 410
                 </el-select>
411 411
             </p>
@@ -472,14 +472,14 @@ export default{
472 472
       tableData:[],
473 473
       date:this.getTime(new Date()),
474 474
       appraiser:'',
475
-      optionsarr:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
475
+      // optionsarr:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
476 476
       Dutynurse:'',//责任护士
477 477
       // Dutynursearr:[],//责任护士数组
478
-      Dutynursearr:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
478
+      Dutynursearr:[],
479 479
       jiashu_date:this.getTime(new Date()),//家属时间
480 480
       zhuanggui:'',//转归
481 481
       hushi:'',//护理
482
-      hushiarr:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],//护理
482
+      // hushiarr:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],//护理
483 483
       hushi_date:this.getTime(new Date()),//护理时间
484 484
       limit:10,
485 485
       page:1,
@@ -516,6 +516,7 @@ export default{
516 516
     this.patient_id = this.$route.query.patient_id
517 517
     this.Patient_info = this.$route.query.Patient_info
518 518
     this.getlist()
519
+    this.getAllNurseList()
519 520
   },
520 521
   methods:{
521 522
     fanhui(){
@@ -744,10 +745,11 @@ export default{
744 745
       getPatientBedlist(params).then(response =>{
745 746
         if(response.data.state == 1){
746 747
           var list = response.data.data.list
747
-          console.log('list-----',list);
748
+          
748 749
           list.forEach(item => {
749 750
             if(item.text !=''){
750 751
               const text = JSON.parse(item.text)
752
+              console.log('list-----',text);
751 753
               const arr = {
752 754
                 id:item.id,
753 755
                 radio:text.radio,
@@ -761,7 +763,7 @@ export default{
761 763
                 zhuanggui:text.zhuanggui,
762 764
                 hushi:text.hushi,
763 765
                 hushi_date:text.hushi_date,
764
-                huli_show:text.cuoshi1,
766
+                cuoshi1:text.cuoshi1,
765 767
                 appraiser:text.appraiser
766 768
               }
767 769
               this.tableData.push(arr)
@@ -775,10 +777,10 @@ export default{
775 777
     
776 778
      // 评估护士
777 779
      getoptions(ids){
778
-     const options= this.optionsarr
780
+      const options= this.Dutynursearr
779 781
       for(let i in options){
780
-        if(options[i].id == ids){
781
-          return options[i].label
782
+        if(options[i].admin_user_id == ids){
783
+          return options[i].user_name
782 784
         }
783 785
       }
784 786
     },
@@ -794,7 +796,17 @@ export default{
794 796
         var arr2 = arr.join()
795 797
       }
796 798
       return arr2
797
-    }
799
+    },
800
+    // 评估人数据源
801
+    getAllNurseList(){
802
+      getAllNurseList().then(response=>{
803
+        if(response.data.state ==1){
804
+          var nurseList  = response.data.data.nurseList
805
+
806
+          this.Dutynursearr =nurseList
807
+        }
808
+      })
809
+    },
798 810
   },
799 811
   computed:{
800 812
     duct_Totalpoints:{

+ 19 - 9
src/xt_pages/user/history/date_history.vue 파일 보기

@@ -525,9 +525,9 @@
525 525
                           <el-select v-model="appraiser" placeholder="请选择" style="width:150px;">
526 526
                               <el-option
527 527
                               v-for="item in optionsarr"
528
-                              :key="item.id"
529
-                              :label="item.label"
530
-                              :value="item.id"
528
+                              :key="item.admin_user_id"
529
+                              :label="item.user_name"
530
+                              :value="item.admin_user_id"
531 531
                               >
532 532
                               </el-option>
533 533
                           </el-select>
@@ -589,8 +589,7 @@ export default{
589 589
       row:'',
590 590
       tableData:[],
591 591
       appraiser:0,
592
-      // optionsarr:[],
593
-      optionsarr:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
592
+      optionsarr:[],
594 593
       date:this.getTime(new Date()),
595 594
       patient_id:0,
596 595
       Patient_info:{},
@@ -1138,14 +1137,24 @@ export default{
1138 1137
         }
1139 1138
     },
1140 1139
      // 评估护士
1141
-     getoptions(ids){
1140
+    getoptions(ids){
1142 1141
      const options= this.optionsarr
1143 1142
       for(let i in options){
1144
-        if(options[i].id == ids){
1145
-          return options[i].label
1143
+        if(options[i].admin_user_id == ids){
1144
+          return options[i].user_name
1146 1145
         }
1147 1146
       }
1148
-    }
1147
+    },
1148
+    // 评估人数据源
1149
+    getAllNurseList(){
1150
+      getAllNurseList().then(response=>{
1151
+        if(response.data.state ==1){
1152
+          var nurseList  = response.data.data.nurseList
1153
+
1154
+          this.optionsarr =nurseList
1155
+        }
1156
+      })
1157
+    },
1149 1158
   },
1150 1159
   computed:{
1151 1160
     date_Totalpoints:{
@@ -1165,6 +1174,7 @@ export default{
1165 1174
     this.Patient_info = this.$route.query.Patient_info
1166 1175
     // this.tumble_options = this.$route.query.tumble_options
1167 1176
     this.getlist()
1177
+    this.getAllNurseList()
1168 1178
   }
1169 1179
 }
1170 1180
 </script>

+ 18 - 7
src/xt_pages/user/history/mind_history.vue 파일 보기

@@ -199,9 +199,9 @@
199 199
               <el-select v-model="appraiser" placeholder="请选择" style="width:150px;">
200 200
                   <el-option
201 201
                   v-for="item in optionsarr"
202
-                  :key="item.id"
203
-                  :label="item.label"
204
-                  :value="item.id"
202
+                  :key="item.admin_user_id"
203
+                  :label="item.user_name"
204
+                  :value="item.admin_user_id"
205 205
                   >
206 206
                   </el-option>
207 207
               </el-select>
@@ -255,7 +255,7 @@ export default{
255 255
       qingan:[{value:1,label:'有'},{value:0,label:'无'}],
256 256
       appraiser:'',
257 257
       // optionsarr:[],
258
-      optionsarr:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
258
+      optionsarr:[],
259 259
       date:this.getTime(new Date()),
260 260
       limit:10,
261 261
       page:1,
@@ -269,6 +269,7 @@ export default{
269 269
     this.patient_id = this.$route.query.patient_id
270 270
     this.Patient_info = this.$route.query.Patient_info
271 271
     this.getlist()
272
+    this.getAllNurseList()
272 273
   },
273 274
   methods:{
274 275
     fanhui(){
@@ -490,11 +491,21 @@ export default{
490 491
     getoptions(ids){
491 492
      const options= this.optionsarr
492 493
       for(let i in options){
493
-        if(options[i].id == ids){
494
-          return options[i].label
494
+        if(options[i].admin_user_id == ids){
495
+          return options[i].user_name
495 496
         }
496 497
       }
497
-    }
498
+    },
499
+    // 评估人数据源
500
+    getAllNurseList(){
501
+        getAllNurseList().then(response=>{
502
+          if(response.data.state ==1){
503
+            var nurseList  = response.data.data.nurseList
504
+
505
+            this.optionsarr =nurseList
506
+          }
507
+        })
508
+    },
498 509
   }
499 510
 }
500 511
 </script>

+ 11 - 1
src/xt_pages/user/history/nourishment_history.vue 파일 보기

@@ -540,7 +540,7 @@ export default{
540 540
       check3:0,
541 541
       yy_date:this.getTime(new Date()),
542 542
       yy_appraiser:'',
543
-      yy_options:[{admin_user_id:1,user_name:'寒千落'},{admin_user_id:2,user_name:'千仞雪'},{admin_user_id:3,user_name:'千亦雪'}],
543
+      yy_options:[],
544 544
       jibq_show:[],
545 545
       jibz_show:[],
546 546
       jibzz_show:[],
@@ -574,6 +574,7 @@ export default{
574 574
     this.patient_id = this.$route.query.patient_id
575 575
     this.Patient_info = this.$route.query.Patient_info
576 576
     this.getlist()
577
+    this.getAllNurseList()
577 578
   },
578 579
   methods:{
579 580
     fanhui(){
@@ -1279,6 +1280,15 @@ export default{
1279 1280
         }
1280 1281
       }
1281 1282
     },
1283
+    // 评估人数据源
1284
+    getAllNurseList(){
1285
+        getAllNurseList().then(response=>{
1286
+          if(response.data.state ==1){
1287
+            var nurseList  = response.data.data.nurseList
1288
+            this.yy_options =nurseList
1289
+          }
1290
+        })
1291
+    },
1282 1292
   },
1283 1293
   computed:{
1284 1294
     nour_Totalpoints:{

+ 23 - 10
src/xt_pages/user/history/pruritus_history.vue 파일 보기

@@ -170,7 +170,9 @@
170 170
                               <label><input type="checkbox" class="check" :value="item.id" v-model="item.is_check"  @click="handleCheckedCitiesChange($event,item)"/>&nbsp;{{ item.label }}</label>
171 171
                           </span>
172 172
                           <label ><input type="checkbox" class="check" value="其他"  v-model="items.is_check1" @click="qita_click"/>
173
-                              &nbsp;其他 <el-input v-model="buwei_input" style="width: 100px;"></el-input>
173
+                              &nbsp;其他 
174
+                              <span style="border-bottom: 1px solid black;display: inline-block;width: 100px;">{{ items.buwei_input }}</span>
175
+                              <!-- <el-input v-model="buwei_input" style="width: 100px;"></el-input> -->
174 176
                           </label>
175 177
                           <label >
176 178
                             <input type="checkbox" class="checkbox" value="全身" v-model="items.is_check2" @click="quan_change"/>&nbsp;全身
@@ -326,13 +328,13 @@
326 328
 
327 329
             <div class="bottoms">
328 330
               <span>评估人:</span>
329
-              <el-select v-model="pruritus_appraiser" placeholder="请选择" >
331
+              <el-select v-model="pruritus_appraiser" placeholder="请选择" style="width:150px;">
330 332
                   <el-option
331 333
                   v-for="item in pruritus_options"
332
-                  :key="item.id"
333
-                  :label="item.label"
334
-                  :value="item.id"
335
-                  style="width:150px;">
334
+                  :key="item.admin_user_id"
335
+                  :label="item.user_name"
336
+                  :value="item.admin_user_id"
337
+                  >
336 338
                   </el-option>
337 339
               </el-select>
338 340
             </div>
@@ -389,7 +391,7 @@ export default{
389 391
       check1:0,
390 392
       is_check2:false,
391 393
       check2:0,
392
-      pruritus_options:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
394
+      pruritus_options:[],
393 395
       pruritus_appraiser:'',
394 396
       buwei_input:'',
395 397
       pruritus_date:this.getTime(new Date()),
@@ -414,6 +416,7 @@ export default{
414 416
     this.patient_id = this.$route.query.patient_id
415 417
     this.Patient_info = this.$route.query.Patient_info
416 418
     this.getlist()
419
+    this.getAllNurseList()
417 420
   },
418 421
   methods:{
419 422
     // 返回
@@ -822,8 +825,8 @@ export default{
822 825
     getoptions(ids){
823 826
      const options= this.pruritus_options
824 827
       for(let i in options){
825
-        if(options[i].id == ids){
826
-          return options[i].label
828
+        if(options[i].admin_user_id == ids){
829
+          return options[i].user_name
827 830
         }
828 831
       }
829 832
     },
@@ -863,7 +866,7 @@ export default{
863 866
     //     const val = '全身'
864 867
     //     return val
865 868
     //   }
866
-    // },
869
+    // }, pruritus_options
867 870
     getchegdu(val){
868 871
       const text = this.chengdu
869 872
       for(let i in text){
@@ -892,6 +895,16 @@ export default{
892 895
         }
893 896
       }
894 897
     },
898
+    // 评估人数据源
899
+    getAllNurseList(){
900
+        getAllNurseList().then(response=>{
901
+          if(response.data.state ==1){
902
+            var nurseList  = response.data.data.nurseList
903
+
904
+            this.pruritus_options =nurseList
905
+          }
906
+        })
907
+    },
895 908
   },
896 909
   computed:{
897 910
     pruritus_Totalpoints:{