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
09e12ebea9

+ 1 - 1
src/xt_pages/user/Informed/components/Medicalhistory.vue View File

63
             地址<span class="unile2"></span> 省(市)<span class="unile2"></span>路<span class="unile2"></span>号
63
             地址<span class="unile2"></span> 省(市)<span class="unile2"></span>路<span class="unile2"></span>号
64
           </div> -->
64
           </div> -->
65
           <div style="padding: 0 5px 10px 5px">
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
           </div>
67
           </div>
68
           <!-- <div style="padding: 10px 5px">
68
           <!-- <div style="padding: 10px 5px">
69
             合并症或并发症 <span class="unile"></span>
69
             合并症或并发症 <span class="unile"></span>

+ 35 - 35
src/xt_pages/user/components/PatientSidebar.vue View File

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

+ 27 - 16
src/xt_pages/user/evaluationtool/Cathetershedding.vue View File

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

+ 93 - 50
src/xt_pages/user/evaluationtool/Glasgow.vue View File

15
               </div>
15
               </div>
16
               <div style="flex:1" v-if="Glas_baoxiao">
16
               <div style="flex:1" v-if="Glas_baoxiao">
17
                 <el-button type="primary" @click="Glas_save" v-if="qufen == false">保存</el-button>
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
                 <el-button  @click="Glas_quxiao" >取消</el-button>
19
                 <el-button  @click="Glas_quxiao" >取消</el-button>
20
               </div>
20
               </div>
21
 
21
 
97
                 <el-select v-model="Glas_pinggu" placeholder="请选择" style="width:120px;">
97
                 <el-select v-model="Glas_pinggu" placeholder="请选择" style="width:120px;">
98
                     <el-option
98
                     <el-option
99
                     v-for="item in pinggr"
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
                     </el-option>
104
                     </el-option>
105
                 </el-select>
105
                 </el-select>
106
               </div>
106
               </div>
107
             </div>
107
             </div>
108
+            <div id="ctrl-xgtlpic-mask2" class="readonly" data-text="图片操作的遮罩层" v-show="append2 == false"></div>
108
             <div id="ctrl-xgtlpic-mask" class="readonly" data-text="图片操作的遮罩层" v-show="append == false"></div>
109
             <div id="ctrl-xgtlpic-mask" class="readonly" data-text="图片操作的遮罩层" v-show="append == false"></div>
109
             <hr style=" background-color: #DCDFE6;margin-top: 20px; height: 1px;border: none;"/>
110
             <hr style=" background-color: #DCDFE6;margin-top: 20px; height: 1px;border: none;"/>
110
             <div class="shuoming">
111
             <div class="shuoming">
270
       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
       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
       {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
       {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
       history_Glasgow:[],
275
       history_Glasgow:[],
275
 
276
 
276
       append:false,//显示遮罩层
277
       append:false,//显示遮罩层
278
+      append2:false,
279
+      add_open:1,//新增按钮控制条件
277
       Glasadd_show:true,//显示新增
280
       Glasadd_show:true,//显示新增
278
       Glas_gzdayin:false,//显示编辑删除
281
       Glas_gzdayin:false,//显示编辑删除
279
       Glas_baoxiao:false,//显示保存
282
       Glas_baoxiao:false,//显示保存
282
       Glas_pinggu:null,
285
       Glas_pinggu:null,
283
       open_print:false,
286
       open_print:false,
284
       dele_id:'',
287
       dele_id:'',
288
+      dele_id2:'',
285
       dele_dialogVisible:false,
289
       dele_dialogVisible:false,
286
       dayintime:this.getTime2(new Date()),
290
       dayintime:this.getTime2(new Date()),
287
       glasgow_zong:0,
291
       glasgow_zong:0,
292
     const id = this.$route.params && this.$route.params.id
296
     const id = this.$route.params && this.$route.params.id
293
     this.patientID = parseInt(id)
297
     this.patientID = parseInt(id)
294
     this.getlist()
298
     this.getlist()
299
+    this.getAllNurseList()
295
   },
300
   },
296
   methods:{
301
   methods:{
297
     //睁眼
302
     //睁眼
354
     },
359
     },
355
     // 新增
360
     // 新增
356
     Glas_add(){
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
     Glas_save(){
377
     Glas_save(){
391
             if(response.data.state == 1){
403
             if(response.data.state == 1){
392
               const Glasgow = response.data.data.pedFallssessment
404
               const Glasgow = response.data.data.pedFallssessment
393
               console.log('response.data.state',response.data.data.pedFallssessment);
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
         return this.history_Glasgow
422
         return this.history_Glasgow
430
       }
423
       }
431
     },
424
     },
482
       this.Glasadd_show=false
475
       this.Glasadd_show=false
483
       this.cancel_num =1
476
       this.cancel_num =1
484
       this.qufen = true
477
       this.qufen = true
478
+      this.append2 = true
485
     },
479
     },
486
     // 选中数据
480
     // 选中数据
487
     glasgow_click(row,column, event){
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
       // if(this.cancel_num == 1){
488
       // if(this.cancel_num == 1){
490
       //   this.Glasadd_show = true
489
       //   this.Glasadd_show = true
491
       //   this.Glas_gzdayin = true
490
       //   this.Glas_gzdayin = true
497
         this.Glas_gzdayin = true
496
         this.Glas_gzdayin = true
498
         this.Glas_baoxiao = false
497
         this.Glas_baoxiao = false
499
         this.qufen = false
498
         this.qufen = false
500
-        // this.append2 = false
499
+        this.append2 = false
501
       }
500
       }
502
       getPedPatientFallAssessmentById(this.dele_id).then(response =>{
501
       getPedPatientFallAssessmentById(this.dele_id).then(response =>{
503
         if(response.data.state ==1){
502
         if(response.data.state ==1){
504
           const glasgow = response.data.data.fallassessment
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
           if(glasgow.text !=''){
506
           if(glasgow.text !=''){
507
             const text =JSON.parse(glasgow.text)
507
             const text =JSON.parse(glasgow.text)
508
             for(let i in this.zhengyan){
508
             for(let i in this.zhengyan){
566
               this.history_Glasgow.splice(i,1)
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
       this.dele_dialogVisible=false
588
       this.dele_dialogVisible=false
586
         this.Glasadd_show=true
603
         this.Glasadd_show=true
587
         this.Glas_gzdayin=false
604
         this.Glas_gzdayin=false
588
         this.Glas_baoxiao=false
605
         this.Glas_baoxiao=false
589
-        
606
+        this.append2=false
590
       //  return this.append
607
       //  return this.append
591
       }else{
608
       }else{
592
         this.Glasadd_show=true
609
         this.Glasadd_show=true
593
         this.Glas_gzdayin=true
610
         this.Glas_gzdayin=true
594
         this.Glas_baoxiao=false
611
         this.Glas_baoxiao=false
595
         this.append=true
612
         this.append=true
613
+        this.append2=false
596
       }
614
       }
597
       for(let i in this.zhengyan){
615
       for(let i in this.zhengyan){
598
         this.zhengyan[i].is_check = false
616
         this.zhengyan[i].is_check = false
647
     // 评估护士
665
     // 评估护士
648
     getpinggr(id){
666
     getpinggr(id){
649
       for(let i in this.pinggr){
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
         }
680
         }
663
       getPatientBedlist(params).then(response=>{
681
       getPatientBedlist(params).then(response=>{
664
         if(response.data.state ==1){
682
         if(response.data.state ==1){
683
+          if(this.history_Glasgow.length >0){
684
+            this.history_Glasgow.length =0
685
+          }
665
           var list = response.data.data.list
686
           var list = response.data.data.list
666
           list.forEach((item) => {
687
           list.forEach((item) => {
667
             if(item.text !=''){
688
             if(item.text !=''){
681
           console.log('list',list);
702
           console.log('list',list);
682
         }
703
         }
683
       })
704
       })
684
-      return this.history_OH
705
+      return this.history_Glasgow
685
     },
706
     },
686
     // 患者信息
707
     // 患者信息
687
     tranpatient(event){
708
     tranpatient(event){
691
         dialysis_no:event.dialysis_no
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
   computed:{
726
   computed:{
696
     Glasgow_Totalpoints:{
727
     Glasgow_Totalpoints:{
764
 #ctrl-xgtlpic-mask.readonly {
795
 #ctrl-xgtlpic-mask.readonly {
765
   z-index: 2000;
796
   z-index: 2000;
766
 }
797
 }
798
+#ctrl-xgtlpic-mask2.readonly {
799
+  z-index: 2000;
800
+}
767
 #ctrl-xgtlpic-mask {
801
 #ctrl-xgtlpic-mask {
768
     width: 85%;
802
     width: 85%;
769
     height: 100%;
803
     height: 100%;
773
     opacity: 0;
807
     opacity: 0;
774
     z-index: -1;
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
 .tables {
819
 .tables {
777
 
820
 
778
   thead th{
821
   thead th{

+ 63 - 20
src/xt_pages/user/evaluationtool/Muscleforce.vue View File

73
                   <el-select v-model="muscle_pinggu" placeholder="请选择" style="width:120px;">
73
                   <el-select v-model="muscle_pinggu" placeholder="请选择" style="width:120px;">
74
                       <el-option
74
                       <el-option
75
                       v-for="item in pinggr"
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
                       </el-option>
80
                       </el-option>
81
                   </el-select>
81
                   </el-select>
82
               </div>
82
               </div>
83
             </div>
83
             </div>
84
+            <div id="ctrl-xgtlpic-mask2" class="readonly" data-text="图片操作的遮罩层" v-show="append2 == false"></div>
84
             <div id="ctrl-xgtlpic-mask" class="readonly" data-text="图片操作的遮罩层" v-show="append == false"></div>
85
             <div id="ctrl-xgtlpic-mask" class="readonly" data-text="图片操作的遮罩层" v-show="append == false"></div>
85
           </div>
86
           </div>
86
           <!-- 虚线 -->
87
           <!-- 虚线 -->
218
         {title:'5级',label:' 正常肌力',value:5,is_check:false,check:0},
219
         {title:'5级',label:' 正常肌力',value:5,is_check:false,check:0},
219
       ],
220
       ],
220
       history_muscle:[],
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
       add_open:1,
225
       add_open:1,
224
       muscle_show:true,
226
       muscle_show:true,
225
       baocun_quxiao:false,
227
       baocun_quxiao:false,
227
       cancel_num:0,//是否点击右侧
229
       cancel_num:0,//是否点击右侧
228
       open_print:false,
230
       open_print:false,
229
       dele_id:'',
231
       dele_id:'',
232
+      dele_id2:'',
230
       dele_dialogVisible:false,
233
       dele_dialogVisible:false,
231
       content:"",
234
       content:"",
232
       text:"",
235
       text:"",
242
     const id = this.$route.params && this.$route.params.id
245
     const id = this.$route.params && this.$route.params.id
243
     this.patientID = parseInt(id)
246
     this.patientID = parseInt(id)
244
     this.getlist()
247
     this.getlist()
248
+    this.getAllNurseList()
245
   },
249
   },
246
   methods:{
250
   methods:{
247
     // 选择
251
     // 选择
269
         this.append=true
273
         this.append=true
270
         this.baocun_quxiao=true
274
         this.baocun_quxiao=true
271
         this.muscle_show =false
275
         this.muscle_show =false
276
+        this.muscle_gsdayin = false
272
         this.qufen =false
277
         this.qufen =false
278
+        this.append2 = true
273
       }else{
279
       }else{
274
         this.append = false
280
         this.append = false
281
+        this.append2 = false
275
       }
282
       }
276
     },
283
     },
277
     // 保存
284
     // 保存
302
           if(response.data.state == 1){
309
           if(response.data.state == 1){
303
             console.log('response',response.data.data);
310
             console.log('response',response.data.data);
304
             const muscle = response.data.data.pedFallssessment
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
             this.$message({message:'保存成功',type:'success'})
324
             this.$message({message:'保存成功',type:'success'})
316
           }
325
           }
317
         })
326
         })
361
     },
370
     },
362
     // 选中右侧数据
371
     // 选中右侧数据
363
     Muscle_click(row,column, event){
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
       this.muscle_show=true
379
       this.muscle_show=true
366
       this.baocun_quxiao=false
380
       this.baocun_quxiao=false
367
       this.muscle_gsdayin=true
381
       this.muscle_gsdayin=true
368
       this.qufen = true
382
       this.qufen = true
369
-      getPedPatientFallAssessmentById(row.id).then(response =>{
383
+      this.append2 = false
384
+      getPedPatientFallAssessmentById(this.dele_id).then(response =>{
370
         if(response.data.state == 1){
385
         if(response.data.state == 1){
371
           console.log('111111111',response.data.data.fallassessment); 
386
           console.log('111111111',response.data.data.fallassessment); 
372
           const muscle = response.data.data.fallassessment
387
           const muscle = response.data.data.fallassessment
440
         this.muscle_show=true
455
         this.muscle_show=true
441
         this.muscle_gsdayin=false
456
         this.muscle_gsdayin=false
442
         this.append=false
457
         this.append=false
458
+        this.append2=false
443
       }else{
459
       }else{
444
         this.muscle_gsdayin=true
460
         this.muscle_gsdayin=true
445
         this.muscle_show=true
461
         this.muscle_show=true
446
         this.baocun_quxiao=false
462
         this.baocun_quxiao=false
447
         this.append=true
463
         this.append=true
464
+        this.append2=false
448
       }
465
       }
449
 
466
 
450
     },
467
     },
455
       this.muscle_show=false
472
       this.muscle_show=false
456
       this.qufen = true
473
       this.qufen = true
457
       this.cancel_num=1
474
       this.cancel_num=1
475
+      this.append2 = true
458
     },
476
     },
459
     // 打印
477
     // 打印
460
     print_pingfen(){
478
     print_pingfen(){
491
     // 评估护士
509
     // 评估护士
492
     getpinggr(id){
510
     getpinggr(id){
493
       for(let i in this.pinggr){
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
       }
533
       }
516
       getPatientBedlist(params).then(response =>{
534
       getPatientBedlist(params).then(response =>{
517
         if(response.data.state ==1){
535
         if(response.data.state ==1){
536
+          if(this.history_muscle.length >0){
537
+            this.history_muscle.length=0
538
+          }
518
           const list = response.data.data.list
539
           const list = response.data.data.list
519
           console.log('response.data.data.list12',list);
540
           console.log('response.data.data.list12',list);
520
           list.forEach(item => {
541
           list.forEach(item => {
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
 </script>
571
 </script>
586
 #ctrl-xgtlpic-mask.readonly {
617
 #ctrl-xgtlpic-mask.readonly {
587
   z-index: 2000;
618
   z-index: 2000;
588
 }
619
 }
620
+#ctrl-xgtlpic-mask2.readonly {
621
+  z-index: 2000;
622
+}
589
 #ctrl-xgtlpic-mask {
623
 #ctrl-xgtlpic-mask {
590
     width: 85%;
624
     width: 85%;
591
     height: 100%;
625
     height: 100%;
595
     opacity: 0;
629
     opacity: 0;
596
     z-index: -1;
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
 .tables {
641
 .tables {
599
 
642
 
600
   thead th{
643
   thead th{

+ 105 - 109
src/xt_pages/user/evaluationtool/OHpressuresore.vue View File

17
 
17
 
18
               <div style="flex:1" v-if="baocun_open==1">
18
               <div style="flex:1" v-if="baocun_open==1">
19
                 <el-button type="primary" @click="save_OH" v-if="this.qufen ==false">保存</el-button>
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
                 <el-button  @click="cancel_OH" >取消</el-button>
21
                 <el-button  @click="cancel_OH" >取消</el-button>
22
               </div>
22
               </div>
23
 
23
 
107
                   <el-select v-model="oh_appraiser" placeholder="请选择"  style="width:120px;">
107
                   <el-select v-model="oh_appraiser" placeholder="请选择"  style="width:120px;">
108
                       <el-option
108
                       <el-option
109
                       v-for="item in oh_pinggr"
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
                       </el-option>
114
                       </el-option>
115
                   </el-select>
115
                   </el-select>
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}],
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
       edema:[{value:0,label:'无(0分)',check:0,is_check:false},{value:3,label:'有(3分)',check:0,is_check:false}],
304
       edema:[{value:0,label:'无(0分)',check:0,is_check:false},{value:3,label:'有(3分)',check:0,is_check:false}],
305
       guanjie:[{value:0,label:'无(0分)',check:0,is_check:false},{value:1,label:'有(1分)',check:0,is_check:false}],
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
       checkList:[],
307
       checkList:[],
308
       checkList1:[],
308
       checkList1:[],
309
       checkList2:[],
309
       checkList2:[],
319
       cancel_num:0,//取消的条件
319
       cancel_num:0,//取消的条件
320
       open_print:false,
320
       open_print:false,
321
       dele_id:'',//删除的索引
321
       dele_id:'',//删除的索引
322
+      dele_id2:'',
322
       dele_dialogVisible:false,
323
       dele_dialogVisible:false,
323
       oh_huli:'',//护理措施
324
       oh_huli:'',//护理措施
324
       oh_date:this.getTime(new Date()),
325
       oh_date:this.getTime(new Date()),
432
         this.append = false
433
         this.append = false
433
         this.append2 = false
434
         this.append2 = false
434
       }
435
       }
436
+
435
       // for(let i in this.tiwei){
437
       // for(let i in this.tiwei){
436
       //   this.tiwei[i].is_check = false,
438
       //   this.tiwei[i].is_check = false,
437
       //   this.tiwei[i].check = 0
439
       //   this.tiwei[i].check = 0
461
         this.add_show=true
463
         this.add_show=true
462
         this.zsgy_open=1
464
         this.zsgy_open=1
463
         this.cancel_num=1
465
         this.cancel_num=1
466
+        this.append2 =false
464
         const data = {}
467
         const data = {}
465
         var list =[]
468
         var list =[]
466
         data['patient_id'] =  this.patientID
469
         data['patient_id'] =  this.patientID
485
           if(response.data.state ==1){
488
           if(response.data.state ==1){
486
             console.log('response.data.state',response.data);
489
             console.log('response.data.state',response.data);
487
             const item = response.data.data.pedFallssessment
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
       this.qufen =true
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
       console.log('row',this.dele_id);
520
       console.log('row',this.dele_id);
517
       if(this.baocun_open == 1){
521
       if(this.baocun_open == 1){
518
         this.add_show = true
522
         this.add_show = true
523
       getPedPatientFallAssessmentById(this.dele_id).then(response=>{
527
       getPedPatientFallAssessmentById(this.dele_id).then(response=>{
524
         if(response.data.state ==1){
528
         if(response.data.state ==1){
525
           const oheditor = response.data.data.fallassessment
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
     dele_OH(){
589
     dele_OH(){
639
               this.history_OH.splice(i,1)
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
       this.dele_dialogVisible=false
638
       this.dele_dialogVisible=false
650
       return this.history_OH
639
       return this.history_OH
651
     },
640
     },
667
       if(this.cancel_num==1){
656
       if(this.cancel_num==1){
668
         this.zsgy_open=1
657
         this.zsgy_open=1
669
         this.add_show=true
658
         this.add_show=true
659
+        this.append2=false
670
       }else{
660
       }else{
671
         this.zsgy_open=0
661
         this.zsgy_open=0
672
         this.add_show=true
662
         this.add_show=true
673
         this.append=false
663
         this.append=false
664
+        this.append2=false
674
         this.tiwei_num=''
665
         this.tiwei_num=''
675
         this.bingli_num=null
666
         this.bingli_num=null
676
         this.edema_num=null
667
         this.edema_num=null
705
     // 评估护士
696
     // 评估护士
706
     getpinggr(id){
697
     getpinggr(id){
707
       for(let i in this.oh_pinggr){
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
     getAllNurseList(){
705
     getAllNurseList(){
714
      getAllNurseList().then(response=>{
706
      getAllNurseList().then(response=>{
715
         if(response.data.state ==1){
707
         if(response.data.state ==1){
716
           var nurseList  = response.data.data.nurseList
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
         }
721
         }
730
       getPatientBedlist(params).then(response=>{
722
       getPatientBedlist(params).then(response=>{
731
         if(response.data.state ==1){
723
         if(response.data.state ==1){
724
+          if(this.history_OH.length >0){
725
+            this.history_OH.length=0
726
+          }
732
           var list = response.data.data.list
727
           var list = response.data.data.list
733
           list.forEach((item) => {
728
           list.forEach((item) => {
734
 
729
 
811
   this.patientID = parseInt(id)
806
   this.patientID = parseInt(id)
812
   console.log('this.$route.query.patient_id',this.patientID);
807
   console.log('this.$route.query.patient_id',this.patientID);
813
   this.getlist()
808
   this.getlist()
809
+  this.getAllNurseList()
814
  }
810
  }
815
 }
811
 }
816
 </script>
812
 </script>

+ 13 - 2
src/xt_pages/user/evaluationtool/RassAssessment.vue View File

454
 import PatientSidebar from '../components/PatientSidebar.vue'
454
 import PatientSidebar from '../components/PatientSidebar.vue'
455
 import behavior from './behavior.vue'
455
 import behavior from './behavior.vue'
456
 import { uParseTime } from '@/utils/tools'
456
 import { uParseTime } from '@/utils/tools'
457
-import {savePatientHpressuresore} from '@/api/fallassement'
457
+import {getAllNurseList,savePatientHpressuresore} from '@/api/fallassement'
458
 export default {
458
 export default {
459
     components:{
459
     components:{
460
       PatientSidebar,
460
       PatientSidebar,
480
             RAssdate:this.getTime(new Date()),
480
             RAssdate:this.getTime(new Date()),
481
             rass_appraiser:'',
481
             rass_appraiser:'',
482
             Rass_num:0,//控制是rass还是LOS
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
             qita_val:'',
485
             qita_val:'',
486
             qita_textarea:'',
486
             qita_textarea:'',
565
     created(){
565
     created(){
566
       const id = this.$route.params && this.$route.params.id
566
       const id = this.$route.params && this.$route.params.id
567
       this.patientID = parseInt(id)
567
       this.patientID = parseInt(id)
568
+      this.getAllNurseList()
568
     },
569
     },
569
     methods:{
570
     methods:{
570
       // RASS评估表
571
       // RASS评估表
934
           dialysis_no:event.dialysis_no
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
     computed:{
949
     computed:{
939
       // Pain_score(){
950
       // Pain_score(){

+ 17 - 6
src/xt_pages/user/evaluationtool/dailyLife.vue View File

177
                           <el-select v-model="appraiser" placeholder="请选择"  style="width:150px;">
177
                           <el-select v-model="appraiser" placeholder="请选择"  style="width:150px;">
178
                               <el-option
178
                               <el-option
179
                               v-for="item in optionsarr"
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
                               </el-option>
184
                               </el-option>
185
                           </el-select>
185
                           </el-select>
205
 <script>
205
 <script>
206
 import PatientSidebar from '../components/PatientSidebar.vue'
206
 import PatientSidebar from '../components/PatientSidebar.vue'
207
 import { uParseTime } from '@/utils/tools'
207
 import { uParseTime } from '@/utils/tools'
208
-import {savePatientHpressuresore} from '@/api/fallassement'
208
+import {getAllNurseList,savePatientHpressuresore} from '@/api/fallassement'
209
 export default {
209
 export default {
210
   components:{
210
   components:{
211
     PatientSidebar
211
     PatientSidebar
229
       louti_val:null,
229
       louti_val:null,
230
       appraiser:'',
230
       appraiser:'',
231
       // optionsarr:[],
231
       // optionsarr:[],
232
-      optionsarr:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
232
+      optionsarr:[],
233
       date:this.getTime(new Date()),
233
       date:this.getTime(new Date()),
234
       Patient_info:{name:'',dialysis_no:''},
234
       Patient_info:{name:'',dialysis_no:''},
235
       jinshi:[{value:10,label:'可独立进食(10分)',is_check:false,check:0},
235
       jinshi:[{value:10,label:'可独立进食(10分)',is_check:false,check:0},
278
   created(){
278
   created(){
279
     const id = this.$route.params && this.$route.params.id
279
     const id = this.$route.params && this.$route.params.id
280
     this.patientID = parseInt(id)
280
     this.patientID = parseInt(id)
281
-    // this.patient_id = parseInt(id)
281
+    this.getAllNurseList()
282
   },
282
   },
283
   methods:{
283
   methods:{
284
     jinshiclick(e,item){
284
     jinshiclick(e,item){
517
               Patient_info:this.Patient_info}
517
               Patient_info:this.Patient_info}
518
         })
518
         })
519
     },
519
     },
520
+    // 患者信息
520
     tranpatient(event){
521
     tranpatient(event){
521
       console.log('event',event);
522
       console.log('event',event);
522
       this.Patient_info={
523
       this.Patient_info={
524
         dialysis_no:event.dialysis_no
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
   computed:{
539
   computed:{
529
     date_Totalpoints(){
540
     date_Totalpoints(){

File diff suppressed because it is too large
+ 2829 - 737
src/xt_pages/user/evaluationtool/hemodialysis.vue


+ 15 - 6
src/xt_pages/user/evaluationtool/mindAssessment.vue View File

82
                             <el-select v-model="appraiser" placeholder="请选择" style="width:150px;">
82
                             <el-select v-model="appraiser" placeholder="请选择" style="width:150px;">
83
                                 <el-option
83
                                 <el-option
84
                                 v-for="item in optionsarr"
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
                                 </el-option>
89
                                 </el-option>
90
                             </el-select>
90
                             </el-select>
102
 <script>
102
 <script>
103
 import { uParseTime } from '@/utils/tools'
103
 import { uParseTime } from '@/utils/tools'
104
 import PatientSidebar from '../components/PatientSidebar.vue'
104
 import PatientSidebar from '../components/PatientSidebar.vue'
105
-import {savePatientHpressuresore} from '@/api/fallassement'
105
+import {getAllNurseList,savePatientHpressuresore} from '@/api/fallassement'
106
 export default {
106
 export default {
107
   components:{
107
   components:{
108
     PatientSidebar
108
     PatientSidebar
124
           qingan:[{value:1,label:'有'},{value:0,label:'无'}],
124
           qingan:[{value:1,label:'有'},{value:0,label:'无'}],
125
           appraiser:'',
125
           appraiser:'',
126
           // optionsarr:[],
126
           // optionsarr:[],
127
-          optionsarr:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
127
+          optionsarr:[],
128
           date:this.getTime(new Date()),
128
           date:this.getTime(new Date()),
129
           Patient_info:{name:'',dialysis_no:''},
129
           Patient_info:{name:'',dialysis_no:''},
130
       }
130
       }
133
   created(){
133
   created(){
134
     const id = this.$route.params && this.$route.params.id
134
     const id = this.$route.params && this.$route.params.id
135
     this.patientID = parseInt(id)
135
     this.patientID = parseInt(id)
136
-    // this.patient_id = parseInt(id)
136
+    this.getAllNurseList()
137
   },
137
   },
138
   methods:{
138
   methods:{
139
     // 历史评分
139
     // 历史评分
211
         dialysis_no:event.dialysis_no
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
 </script>
226
 </script>

+ 13 - 2
src/xt_pages/user/evaluationtool/nourishmentAssessment.vue View File

202
 <script>
202
 <script>
203
 import PatientSidebar from '../components/PatientSidebar.vue'
203
 import PatientSidebar from '../components/PatientSidebar.vue'
204
 import { uParseTime } from '@/utils/tools'
204
 import { uParseTime } from '@/utils/tools'
205
-import {savePatientHpressuresore} from '@/api/fallassement'
205
+import {getAllNurseList,savePatientHpressuresore} from '@/api/fallassement'
206
 export default {
206
 export default {
207
   components:{
207
   components:{
208
     PatientSidebar
208
     PatientSidebar
233
       yy_date:this.getTime(new Date()),
233
       yy_date:this.getTime(new Date()),
234
       Patient_info:{name:'',dialysis_no:''},
234
       Patient_info:{name:'',dialysis_no:''},
235
       yy_appraiser:'',
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
       jibq_show:[],
237
       jibq_show:[],
238
       jibz_show:[],
238
       jibz_show:[],
239
       jibzz_show:[],
239
       jibzz_show:[],
256
   created(){
256
   created(){
257
     const id = this.$route.params && this.$route.params.id
257
     const id = this.$route.params && this.$route.params.id
258
     this.patientID = parseInt(id)
258
     this.patientID = parseInt(id)
259
+    this.getAllNurseList()
259
   },
260
   },
260
   methods:{
261
   methods:{
261
     // 选中分值
262
     // 选中分值
704
         dialysis_no:event.dialysis_no
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
   computed:{
719
   computed:{
709
     nour_Totalpoints(){
720
     nour_Totalpoints(){

+ 4 - 3
src/xt_pages/user/evaluationtool/pediatricFallAssessment.vue View File

198
       dialogVisible:false,
198
       dialogVisible:false,
199
       text:'',
199
       text:'',
200
       num:1,
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
       tumble:'',
203
       tumble:'',
204
       date:this.getTime(new Date()),
204
       date:this.getTime(new Date()),
205
       patient:'',
205
       patient:'',
367
         })
367
         })
368
       }
368
       }
369
     },
369
     },
370
+    // 评估人数据源
370
     getAllNurseList(){
371
     getAllNurseList(){
371
         getAllNurseList().then(response=>{
372
         getAllNurseList().then(response=>{
372
            if(response.data.state ==1){
373
            if(response.data.state ==1){
373
             console.log('response.data.data',response.data.data);
374
             console.log('response.data.data',response.data.data);
374
              var nurseList  = response.data.data.nurseList
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
     },

+ 45 - 187
src/xt_pages/user/evaluationtool/pressuresore.vue View File

162
                   <tbody>
162
                   <tbody>
163
                     <tr>
163
                     <tr>
164
                       <td rowspan="6" style="position: relative;vertical-align: top;">
164
                       <td rowspan="6" style="position: relative;vertical-align: top;">
165
-                        <div class="jiange">
166
-                          <label><input name="ball" type="checkbox" v-model="first_check"/>&nbsp;挂床头警示标识</label></br>
167
-                          <label><input name="ball" type="checkbox" v-model="two_check"/>&nbsp;保护受压皮肤,使用减压用具(气垫床/压疮床)</label></br>
168
-                          <label><input name="ball" type="checkbox" v-model="three_check"/>&nbsp;定时翻身,移动避免拖拉</label></br>
169
-                          <label><input name="ball" type="checkbox" v-model="four_check"/>&nbsp;加强营养</label></br>
170
-                          <label><input name="ball" type="checkbox" v-model="five_check"/>&nbsp;保持被衣物清洁舒适</label></br>
171
-                          <label><input name="ball" type="checkbox" v-model="six_check"/>&nbsp;其他</label></br>
172
-                        </div>
173
                         <div class="jiange" v-for="item in hulicuoshi" >
165
                         <div class="jiange" v-for="item in hulicuoshi" >
174
                           <label><input name="ball" type="checkbox" v-model="item.is_check" @click="huli_check(item)" />&nbsp;{{ item.label }}</label>
166
                           <label><input name="ball" type="checkbox" v-model="item.is_check" @click="huli_check(item)" />&nbsp;{{ item.label }}</label>
175
                         </div>
167
                         </div>
236
                   <td class="start">
228
                   <td class="start">
237
                     <el-select v-model="duty" placeholder="请选择" style="width:120px;">
229
                     <el-select v-model="duty" placeholder="请选择" style="width:120px;">
238
                         <el-option
230
                         <el-option
239
-                          v-for="item in nurseList"
231
+                          v-for="item in dutyoptions"
240
                           :key="item.admin_user_id"
232
                           :key="item.admin_user_id"
241
                           :label="item.user_name"
233
                           :label="item.user_name"
242
                           :value="item.admin_user_id"
234
                           :value="item.admin_user_id"
269
             <div class="zhuangui">
261
             <div class="zhuangui">
270
               <span>转归:</span>
262
               <span>转归:</span>
271
               <div style="display: inline-block;position: relative;top: 0px;">
263
               <div style="display: inline-block;position: relative;top: 0px;">
272
-                <span style="display: inline-block;margin-right: 10px;">
273
-                  <label><input type="checkbox" v-model="first_lapeso"/>出院</label>
274
-                  <label><input type="checkbox" v-model="two_lapeso" />死亡</label>
275
-                  <label><input type="checkbox" v-model="three_lapeso"/>其他</label>
264
+                <!-- <el-checkbox-group v-model="checkList">
265
+                  <el-checkbox v-for="item in zhuangui" :label="item.value" :key="item.id" :value="item.id"></el-checkbox>
266
+                </el-checkbox-group> -->
267
+                <span v-for="item in zhuangui" style="display: inline-block;margin-right: 10px;">
268
+                  <label><input type="checkbox" v-model="item.is_check" @click="zhuangcheck(item)" />{{ item.value }}</label>
276
                 </span>
269
                 </span>
277
               </div>
270
               </div>
278
             </div>
271
             </div>
296
               <div class="zhuangui">
289
               <div class="zhuangui">
297
                 <p style="display: inline-block; margin-right: 30px;">
290
                 <p style="display: inline-block; margin-right: 30px;">
298
                     护士长签字:
291
                     护士长签字:
299
-                    <el-input v-model="nurse" style="width:120px;"></el-input>
292
+                    <el-select v-model="nurse" placeholder="请选择" style="width: 120px;">
293
+                        <el-option
294
+                        v-for="item in dutyoptions"
295
+                        :key="item.admin_user_id"
296
+                        :label="item.user_name"
297
+                        :value="item.admin_user_id">
298
+                        </el-option>
299
+                    </el-select>
300
                 </p>
300
                 </p>
301
                 <p style="display: inline-block;">
301
                 <p style="display: inline-block;">
302
                     日期:
302
                     日期:
347
 <script>
347
 <script>
348
 import PatientSidebar from '../components/PatientSidebar'
348
 import PatientSidebar from '../components/PatientSidebar'
349
 import { uParseTime } from '@/utils/tools'
349
 import { uParseTime } from '@/utils/tools'
350
-import {getAllNurseList,savePatientBraden } from '@/api/fallassement'
350
+import {getAllNurseList,savePatientHpressuresore } from '@/api/fallassement'
351
 export default {
351
 export default {
352
    components:{
352
    components:{
353
     PatientSidebar
353
     PatientSidebar
377
       appraiser:'',
377
       appraiser:'',
378
       appraiser_date:this.getTime(new Date()),
378
       appraiser_date:this.getTime(new Date()),
379
       nurse:'',
379
       nurse:'',
380
-      nurse_options:[],
381
       nurse_date:this.getTime(new Date()),
380
       nurse_date:this.getTime(new Date()),
382
       hulicheckarr:[],//护理措施选中
381
       hulicheckarr:[],//护理措施选中
383
-      hulicuoshi:[],
382
+      hulicuoshi:[{id:1,label:'挂床头警示标识',hulicheck:0,is_check:false},{id:2,label:'保护受压皮肤,使用减压用具(气垫床/压疮床)',hulicheck:0,is_check:false},
383
+      {id:3,label:'定时翻身,移动避免拖拉',hulicheck:0,is_check:false},{id:4,label:'加强营养',hulicheck:0,is_check:false},
384
+      {id:5,label:'保持被衣物清洁舒适',hulicheck:0,is_check:false},{id:6,label:'其他',hulicheck:0,is_check:false}],
384
       nurseList:[],
385
       nurseList:[],
385
       zhuang_show:'',
386
       zhuang_show:'',
386
       Patient_info:{name:'',dialysis_no:''},
387
       Patient_info:{name:'',dialysis_no:''},
387
-      first_check:false,
388
-      two_check:false,
389
-      three_check:false,
390
-      four_check:false,
391
-      five_check:false,
392
-      six_check:false,
393
-      first_lapeso:"",
394
-      two_lapeso:"",
395
-      three_lapeso:"",
396
     }
388
     }
397
    },
389
    },
398
    methods:{
390
    methods:{
435
     yachaunghistory(){
427
     yachaunghistory(){
436
       this.$router.push({
428
       this.$router.push({
437
         path: '/patients/Pressure_history',
429
         path: '/patients/Pressure_history',
438
-        query:{patient_id:this.patientID
439
-        }
430
+        query:{patient_id:this.patientID,
431
+              Patient_info:this.Patient_info}
440
       })
432
       })
441
     },
433
     },
442
     // 转归
434
     // 转归
463
         return uParseTime(val, '{y}-{m}-{d}')
455
         return uParseTime(val, '{y}-{m}-{d}')
464
         }
456
         }
465
     },
457
     },
466
-    // 评估
458
+    // 评估人数据源
467
     getAllNurseList(){
459
     getAllNurseList(){
468
         getAllNurseList().then(response=>{
460
         getAllNurseList().then(response=>{
469
            if(response.data.state ==1){
461
            if(response.data.state ==1){
470
              var nurseList  = response.data.data.nurseList
462
              var nurseList  = response.data.data.nurseList
471
 
463
 
472
-             this.nurseList =nurseList
464
+             this.dutyoptions =nurseList
473
            }
465
            }
474
         })
466
         })
475
     },
467
     },
476
     // 确认
468
     // 确认
477
     Pressuresore(){
469
     Pressuresore(){
478
-      
479
-       var is_first_lapeso= 2
480
-       if(this.first_lapeso == true){
481
-           is_first_lapeso =1
482
-       }
483
-       if(this.first_lapeso == false){
484
-           is_first_lapeso =2
485
-       }
486
-
487
-       var is_two_lapeso= 2
488
-       if(this.two_lapeso == true){
489
-          is_two_lapeso =1
490
-       }
491
-       if(this.two_lapeso == false){
492
-          is_two_lapeso =2
493
-       }
494
-
495
-       var is_three_lapeso = 2
496
-       if(this.three_lapeso == true){
497
-          is_three_lapeso =1
498
-       }
499
-       if(this.three_lapeso == false){
500
-         is_three_lapeso =2
501
-       }
502
-
503
-
504
-       var is_first_check =2
505
-
506
-       if(this.first_check == true){
507
-          is_first_check = 1
508
-       }else{
509
-        is_first_check =2
510
-       }
511
-
512
-       var is_two_check =2
513
-       if(this.two_check == true){
514
-          is_two_check = 1
515
-       }else{
516
-          is_two_check =2
517
-       }
518
-
519
-       var is_three_check =2
520
-       if(this.three_check == true){
521
-          is_three_check = 1
522
-       }else{
523
-         is_three_check =2
524
-       }
525
-
526
-       var is_four_check =2
527
-       if(this.four_check == true){
528
-          is_four_check = 1
529
-       }else{
530
-         is_four_check =2
531
-       }
532
-
533
-       var is_five_check =2
534
-       if(this.five_check == true){
535
-          is_five_check = 1
536
-       }else{
537
-         is_first_check =2
538
-       }
539
-
540
-       var is_six_check =2
541
-       if(this.six_check == true){
542
-          is_six_check = 1
543
-       }else{
544
-         is_six_check =2
545
-       }
546
-
547
-      if(this.hulicuoshi!=null && this.hulicuoshi.length>0){
548
-         for(let i=0;i<this.hulicuoshi.length;i++){
549
-           this.hulicuoshi[i].is_check_status=2
550
-           if(this.hulicuoshi[i].is_check == true){
551
-            this.hulicuoshi[i].is_check_status=1
552
-           }
553
-           if(this.hulicuoshi[i].is_check == false){
554
-            this.hulicuoshi[i].is_check_status=2
555
-           }
556
-         }
557
-      } 
558
-
559
-      if(this.ganzhi>0){
560
-        this.ganzhi = parseInt(this.ganzhi)
561
-      }else{
562
-        this.ganzhi =0
563
-      }
564
-
565
-      if(this.shidu>0){
566
-        this.shidu = parseInt(this.shidu)
567
-      }else{
568
-        this.shidu =0
569
-      }
570
-
571
-      if(this.huodong>0){
572
-        this.huodong = parseInt(this.huodong)
573
-      }else{
574
-        this.huodong =0
575
-      }
576
-
577
-      if(this.yidong>0){
578
-        this.yidong = parseInt(this.yidong)
579
-      }else{
580
-        this.yidong =0
581
-      }
582
-
583
-      if(this.yingyang>0){
584
-        this.yingyang = parseInt(this.yingyang)
585
-      }else{
586
-        this.yingyang =0
587
-      }
588
-
589
-
590
-      if(this.mocha>0){
591
-        this.mocha = parseInt(this.mocha)
592
-      }else{
593
-        this.mocha =0
594
-      }
595
-      var obj = {}
596
-      var newArr =[]
597
-      console.log("护理措施",this.hulicuoshi)
598
-      if(this.hulicuoshi!=null && this.hulicuoshi.length>0){
599
-        for(let i=0;i<this.hulicuoshi.length;i++){
600
-           obj.hulicheck = this.hulicuoshi[i].is_check
601
-           obj.is_check = this.hulicuoshi[i].is_check
602
-           obj.is_check_status = this.hulicuoshi[i].is_check_status
603
-           obj.label = this.hulicuoshi[i].label
604
-           newArr.push(obj)
605
-        }
606
-      }
607
-      console.log("hhahha",this.hulicuoshi)
608
-      var strarr = JSON.stringify(this.hulicuoshi)
470
+      const data = {}
471
+      var list = []
472
+      data['date'] = this.date
473
+      data['ganzhi'] = this.ganzhi
474
+      data['shidu'] = this.shidu
475
+      data['huodong'] = this.huodong
476
+      data['yidong'] = this.yidong
477
+      data['yingyang'] = this.yingyang
478
+      data['mocha'] = this.mocha
479
+      data['mark'] = this.mark
480
+      data['duty'] = this.duty
481
+      data['jiashu'] = this.family_member
482
+      data['jiashu_date'] = this.family_date
483
+      data['appraiser'] = this.appraiser
484
+      data['pingg_date'] = this.appraiser_date
485
+      data['nurse'] = this.nurse
486
+      data['nurse_date'] = this.nurse_date
487
+      data['zhuang_show'] = this.zhuang_show
488
+      data['hulicuoshi'] = this.hulicheckarr
489
+      list.push(data)
609
       var params={
490
       var params={
610
         patient_id:this.patientID,
491
         patient_id:this.patientID,
611
         record_date:this.date,
492
         record_date:this.date,
612
-        list:newArr,
613
-        first_pingfen:this.ganzhi,
614
-        two_pingfen:this.shidu,
615
-        three_pingfen:this.huodong,
616
-        four_pingfen:this.yidong,
617
-        five_pingfen:this.yingyang,
618
-        six_pingfen:this.mocha,
619
-        total:this.mark,
620
-        admin_user_id:this.duty,
621
-        famaliy_sign:this.family_member,
622
-        first_lapeso:is_first_lapeso,
623
-        two_lapeso:is_two_lapeso,
624
-        three_lapeso:is_three_lapeso,
625
-        ping_sign:this.appraiser,
626
-        ping_date:this.appraiser_date,
627
-        leader_sign:this.nurse,
628
-        leader_date:this.nurse_date,
629
-        list:strarr,
630
-        first_check:is_first_check,
631
-        two_check:is_two_check,
632
-        three_check:is_three_check,
633
-        four_check:is_four_check,
634
-        five_check:is_five_check,
635
-        six_check:is_six_check
493
+        is_type:1,
494
+        list:list,
636
       }
495
       }
637
       console.log('params----',params);
496
       console.log('params----',params);
638
-     
639
-      savePatientBraden(params).then(response=>{
497
+      savePatientHpressuresore(params).then(response=>{
640
         if(response.data.state == 1){
498
         if(response.data.state == 1){
641
           const save = response.data.data.pedFallssessment
499
           const save = response.data.data.pedFallssessment
642
           console.log('pedFallssessment',save);
500
           console.log('pedFallssessment',save);

+ 16 - 5
src/xt_pages/user/evaluationtool/pruritusAssessment.vue View File

105
               <el-select v-model="pruritus_appraiser" placeholder="请选择" style="width:150px;">
105
               <el-select v-model="pruritus_appraiser" placeholder="请选择" style="width:150px;">
106
                   <el-option
106
                   <el-option
107
                   v-for="item in pruritus_options"
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
                   </el-option>
112
                   </el-option>
113
               </el-select>
113
               </el-select>
125
 <script>
125
 <script>
126
 import PatientSidebar from '../components/PatientSidebar.vue'
126
 import PatientSidebar from '../components/PatientSidebar.vue'
127
 import { uParseTime } from '@/utils/tools'
127
 import { uParseTime } from '@/utils/tools'
128
-import {savePatientHpressuresore} from '@/api/fallassement'
128
+import {getAllNurseList,savePatientHpressuresore} from '@/api/fallassement'
129
 export default {
129
 export default {
130
   components:{
130
   components:{
131
     PatientSidebar
131
     PatientSidebar
144
       radio3_points:0,
144
       radio3_points:0,
145
       checked_points:0,
145
       checked_points:0,
146
       // pruritus_options:[],
146
       // pruritus_options:[],
147
-      pruritus_options:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
147
+      pruritus_options:[],
148
       pruritus_appraiser:'',
148
       pruritus_appraiser:'',
149
       pruritus_date:this.getTime(new Date()),
149
       pruritus_date:this.getTime(new Date()),
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},],
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
   created(){
167
   created(){
168
     const id = this.$route.params && this.$route.params.id
168
     const id = this.$route.params && this.$route.params.id
169
     this.patientID = parseInt(id)
169
     this.patientID = parseInt(id)
170
+    this.getAllNurseList()
170
   },
171
   },
171
   methods:{
172
   methods:{
172
     // 痒的部位选项
173
     // 痒的部位选项
380
         dialysis_no:event.dialysis_no
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
   computed:{
395
   computed:{
385
     pruritus_Totalpoints(){
396
     pruritus_Totalpoints(){

+ 17 - 4
src/xt_pages/user/history/Children_history.vue View File

353
 <script>
353
 <script>
354
 import print from 'print-js'
354
 import print from 'print-js'
355
 import { uParseTime } from '@/utils/tools'
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
 export default{
357
 export default{
358
   data(){
358
   data(){
359
     return{
359
     return{
394
       checked:'',
394
       checked:'',
395
       checkList:[],
395
       checkList:[],
396
       text:'',
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
       tumble:0,//评估人
399
       tumble:0,//评估人
400
       date:this.getTime(new Date()),//评估日期
400
       date:this.getTime(new Date()),//评估日期
401
       patient_id:0,
401
       patient_id:0,
663
               this.tableData[i].mark = updatenum.total,
663
               this.tableData[i].mark = updatenum.total,
664
               this.tableData[i].time = this.getTime(updatenum.record_date),
664
               this.tableData[i].time = this.getTime(updatenum.record_date),
665
               this.tableData[i].evaluate = this.getoptions(updatenum.admin_user_id)
665
               this.tableData[i].evaluate = this.getoptions(updatenum.admin_user_id)
666
+              this.tableData[i].list = updatenum
666
             }
667
             }
667
            }
668
            }
668
          }
669
          }
743
           return options[i].user_name
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
   computed:{
760
   computed:{
749
     pedia_Totalpoints:{
761
     pedia_Totalpoints:{
765
     this.Patient_info = this.$route.query.Patient_info
777
     this.Patient_info = this.$route.query.Patient_info
766
     // this.tumble_options = this.$route.query.tumble_options
778
     // this.tumble_options = this.$route.query.tumble_options
767
     this.getPedDiatricFallAssessmentList()
779
     this.getPedDiatricFallAssessmentList()
780
+    this.getAllNurseList()
768
   }
781
   }
769
 }
782
 }
770
 </script>
783
 </script>

File diff suppressed because it is too large
+ 259 - 481
src/xt_pages/user/history/Pressure_history.vue


+ 12 - 4
src/xt_pages/user/history/RASS_history.vue View File

323
       RAssradio:'',
323
       RAssradio:'',
324
       dayin:this.getTime2(new Date()),
324
       dayin:this.getTime2(new Date()),
325
       num:1,
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
       tengtable:[],
327
       tengtable:[],
328
       LOS:[{title:'0分', label:'清醒',value:0},{title:'1分', label:'有些昏昏欲睡,但容易唤醒',value:1},
328
       LOS:[{title:'0分', label:'清醒',value:0},{title:'1分', label:'有些昏昏欲睡,但容易唤醒',value:1},
329
             {title:'2分', label:'频繁发生昏昏欲睡,容易唤醒,但不能持续处于觉醒状态',value:2},
329
             {title:'2分', label:'频繁发生昏昏欲睡,容易唤醒,但不能持续处于觉醒状态',value:2},
350
     this.Patient_info = this.$route.query.Patient_info
350
     this.Patient_info = this.$route.query.Patient_info
351
     this.getRass_list()
351
     this.getRass_list()
352
     this.getteng_list()
352
     this.getteng_list()
353
+    this.getAllNurseList()
353
   },
354
   },
354
   methods:{
355
   methods:{
355
     // 返回
356
     // 返回
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 View File

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

+ 19 - 9
src/xt_pages/user/history/date_history.vue View File

525
                           <el-select v-model="appraiser" placeholder="请选择" style="width:150px;">
525
                           <el-select v-model="appraiser" placeholder="请选择" style="width:150px;">
526
                               <el-option
526
                               <el-option
527
                               v-for="item in optionsarr"
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
                               </el-option>
532
                               </el-option>
533
                           </el-select>
533
                           </el-select>
589
       row:'',
589
       row:'',
590
       tableData:[],
590
       tableData:[],
591
       appraiser:0,
591
       appraiser:0,
592
-      // optionsarr:[],
593
-      optionsarr:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
592
+      optionsarr:[],
594
       date:this.getTime(new Date()),
593
       date:this.getTime(new Date()),
595
       patient_id:0,
594
       patient_id:0,
596
       Patient_info:{},
595
       Patient_info:{},
1138
         }
1137
         }
1139
     },
1138
     },
1140
      // 评估护士
1139
      // 评估护士
1141
-     getoptions(ids){
1140
+    getoptions(ids){
1142
      const options= this.optionsarr
1141
      const options= this.optionsarr
1143
       for(let i in options){
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
   computed:{
1159
   computed:{
1151
     date_Totalpoints:{
1160
     date_Totalpoints:{
1165
     this.Patient_info = this.$route.query.Patient_info
1174
     this.Patient_info = this.$route.query.Patient_info
1166
     // this.tumble_options = this.$route.query.tumble_options
1175
     // this.tumble_options = this.$route.query.tumble_options
1167
     this.getlist()
1176
     this.getlist()
1177
+    this.getAllNurseList()
1168
   }
1178
   }
1169
 }
1179
 }
1170
 </script>
1180
 </script>

+ 18 - 7
src/xt_pages/user/history/mind_history.vue View File

199
               <el-select v-model="appraiser" placeholder="请选择" style="width:150px;">
199
               <el-select v-model="appraiser" placeholder="请选择" style="width:150px;">
200
                   <el-option
200
                   <el-option
201
                   v-for="item in optionsarr"
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
                   </el-option>
206
                   </el-option>
207
               </el-select>
207
               </el-select>
255
       qingan:[{value:1,label:'有'},{value:0,label:'无'}],
255
       qingan:[{value:1,label:'有'},{value:0,label:'无'}],
256
       appraiser:'',
256
       appraiser:'',
257
       // optionsarr:[],
257
       // optionsarr:[],
258
-      optionsarr:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
258
+      optionsarr:[],
259
       date:this.getTime(new Date()),
259
       date:this.getTime(new Date()),
260
       limit:10,
260
       limit:10,
261
       page:1,
261
       page:1,
269
     this.patient_id = this.$route.query.patient_id
269
     this.patient_id = this.$route.query.patient_id
270
     this.Patient_info = this.$route.query.Patient_info
270
     this.Patient_info = this.$route.query.Patient_info
271
     this.getlist()
271
     this.getlist()
272
+    this.getAllNurseList()
272
   },
273
   },
273
   methods:{
274
   methods:{
274
     fanhui(){
275
     fanhui(){
490
     getoptions(ids){
491
     getoptions(ids){
491
      const options= this.optionsarr
492
      const options= this.optionsarr
492
       for(let i in options){
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
 </script>
511
 </script>

+ 11 - 1
src/xt_pages/user/history/nourishment_history.vue View File

540
       check3:0,
540
       check3:0,
541
       yy_date:this.getTime(new Date()),
541
       yy_date:this.getTime(new Date()),
542
       yy_appraiser:'',
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
       jibq_show:[],
544
       jibq_show:[],
545
       jibz_show:[],
545
       jibz_show:[],
546
       jibzz_show:[],
546
       jibzz_show:[],
574
     this.patient_id = this.$route.query.patient_id
574
     this.patient_id = this.$route.query.patient_id
575
     this.Patient_info = this.$route.query.Patient_info
575
     this.Patient_info = this.$route.query.Patient_info
576
     this.getlist()
576
     this.getlist()
577
+    this.getAllNurseList()
577
   },
578
   },
578
   methods:{
579
   methods:{
579
     fanhui(){
580
     fanhui(){
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
   computed:{
1293
   computed:{
1284
     nour_Totalpoints:{
1294
     nour_Totalpoints:{

+ 23 - 10
src/xt_pages/user/history/pruritus_history.vue View File

170
                               <label><input type="checkbox" class="check" :value="item.id" v-model="item.is_check"  @click="handleCheckedCitiesChange($event,item)"/>&nbsp;{{ item.label }}</label>
170
                               <label><input type="checkbox" class="check" :value="item.id" v-model="item.is_check"  @click="handleCheckedCitiesChange($event,item)"/>&nbsp;{{ item.label }}</label>
171
                           </span>
171
                           </span>
172
                           <label ><input type="checkbox" class="check" value="其他"  v-model="items.is_check1" @click="qita_click"/>
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
                           </label>
176
                           </label>
175
                           <label >
177
                           <label >
176
                             <input type="checkbox" class="checkbox" value="全身" v-model="items.is_check2" @click="quan_change"/>&nbsp;全身
178
                             <input type="checkbox" class="checkbox" value="全身" v-model="items.is_check2" @click="quan_change"/>&nbsp;全身
326
 
328
 
327
             <div class="bottoms">
329
             <div class="bottoms">
328
               <span>评估人:</span>
330
               <span>评估人:</span>
329
-              <el-select v-model="pruritus_appraiser" placeholder="请选择" >
331
+              <el-select v-model="pruritus_appraiser" placeholder="请选择" style="width:150px;">
330
                   <el-option
332
                   <el-option
331
                   v-for="item in pruritus_options"
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
                   </el-option>
338
                   </el-option>
337
               </el-select>
339
               </el-select>
338
             </div>
340
             </div>
389
       check1:0,
391
       check1:0,
390
       is_check2:false,
392
       is_check2:false,
391
       check2:0,
393
       check2:0,
392
-      pruritus_options:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
394
+      pruritus_options:[],
393
       pruritus_appraiser:'',
395
       pruritus_appraiser:'',
394
       buwei_input:'',
396
       buwei_input:'',
395
       pruritus_date:this.getTime(new Date()),
397
       pruritus_date:this.getTime(new Date()),
414
     this.patient_id = this.$route.query.patient_id
416
     this.patient_id = this.$route.query.patient_id
415
     this.Patient_info = this.$route.query.Patient_info
417
     this.Patient_info = this.$route.query.Patient_info
416
     this.getlist()
418
     this.getlist()
419
+    this.getAllNurseList()
417
   },
420
   },
418
   methods:{
421
   methods:{
419
     // 返回
422
     // 返回
822
     getoptions(ids){
825
     getoptions(ids){
823
      const options= this.pruritus_options
826
      const options= this.pruritus_options
824
       for(let i in options){
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
     //     const val = '全身'
866
     //     const val = '全身'
864
     //     return val
867
     //     return val
865
     //   }
868
     //   }
866
-    // },
869
+    // }, pruritus_options
867
     getchegdu(val){
870
     getchegdu(val){
868
       const text = this.chengdu
871
       const text = this.chengdu
869
       for(let i in text){
872
       for(let i in text){
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
   computed:{
909
   computed:{
897
     pruritus_Totalpoints:{
910
     pruritus_Totalpoints:{