yq1 11 months ago
parent
commit
c42f00f811

+ 7 - 6
src/xt_pages/user/evaluationtool/Cathetershedding.vue View File

83
                       </div>
83
                       </div>
84
 
84
 
85
                       <div class="bottoms">
85
                       <div class="bottoms">
86
-                          <span>评估人:</span>
87
-                          <el-select v-model="appraiser" placeholder="请选择" >
86
+                          <span>责任护士:</span>
87
+                          <el-select v-model="Dutynurse" placeholder="请选择" >
88
                               <el-option
88
                               <el-option
89
-                              v-for="item in optionsarr"
89
+                              v-for="item in Dutynursearr"
90
                               :key="item.value"
90
                               :key="item.value"
91
                               :label="item.label"
91
                               :label="item.label"
92
                               :value="item.value"
92
                               :value="item.value"
202
       input:'',
202
       input:'',
203
       value:'',
203
       value:'',
204
       date:this.getTime(new Date()),
204
       date:this.getTime(new Date()),
205
+      Dutynurse:'',//责任护士
206
+      Dutynursearr:[],//责任护士数组
205
       appraiser:'',
207
       appraiser:'',
206
       optionsarr:[],
208
       optionsarr:[],
207
       jiashu_date:this.getTime(new Date()),//家属时间
209
       jiashu_date:this.getTime(new Date()),//家属时间
259
         duct_Totalpoints:this.duct_Totalpoints,
261
         duct_Totalpoints:this.duct_Totalpoints,
260
         hulicuoshi:this.hulicuoshi,
262
         hulicuoshi:this.hulicuoshi,
261
         date:this.date,//评估时间
263
         date:this.date,//评估时间
262
-        appraiser:this.appraiser,
263
-        optionsarr:this.optionsarr,//评估数组
264
+        Dutynurse:this.Dutynurse,//责任护士
265
+        appraiser:this.appraiser,//评估人
264
         jiashu_date:this.jiashu_date,
266
         jiashu_date:this.jiashu_date,
265
         zhuanggui:this.zhuanggui,
267
         zhuanggui:this.zhuanggui,
266
         hushi:this.hushi,
268
         hushi:this.hushi,
267
-        hushiarr:this.hushiarr,
268
         hushi_date:this.hushi_date,
269
         hushi_date:this.hushi_date,
269
         patientID:this.patientID
270
         patientID:this.patientID
270
       }
271
       }

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

272
         this.cancel_num=1
272
         this.cancel_num=1
273
 
273
 
274
         var params={
274
         var params={
275
-          shuju:this.shuju,
275
+          shuju:this.Mus_Totalpoints,
276
           Mus_Totalpoints:this.Mus_Totalpoints,
276
           Mus_Totalpoints:this.Mus_Totalpoints,
277
           content:this.content,
277
           content:this.content,
278
           date:this.date,
278
           date:this.date,

+ 5 - 4
src/xt_pages/user/evaluationtool/OHpressuresore.vue View File

422
         this.cancel_num=1
422
         this.cancel_num=1
423
         var params={
423
         var params={
424
           patientID:this.patientID,
424
           patientID:this.patientID,
425
-          tiwei:this.tiwei,
426
-          bingli:this.bingli,
427
-          edema:this.edema,
428
-          guanjie:this.guanjie,
425
+          tiwei:this.tiwei_num,
426
+          bingli:this.bingli_num,
427
+          edema:this.edema_num,
428
+          guanjie:this.gaunjie_num,
429
           oh_huli:this.oh_huli,
429
           oh_huli:this.oh_huli,
430
           oh_date:this.oh_date,
430
           oh_date:this.oh_date,
431
           oh_appraiser:this.oh_appraiser,
431
           oh_appraiser:this.oh_appraiser,
432
           Totalpoints:this.Totalpoints
432
           Totalpoints:this.Totalpoints
433
         }
433
         }
434
+        console.log('params-----',params);
434
       savePatientHpressuresore(params).then(response=>{
435
       savePatientHpressuresore(params).then(response=>{
435
 
436
 
436
       })
437
       })

+ 10 - 11
src/xt_pages/user/evaluationtool/dailyLife.vue View File

456
     // 确认
456
     // 确认
457
     lifeclick(){
457
     lifeclick(){
458
       var params={
458
       var params={
459
-        jinshi:this.jinshi,
460
-        xizao:this.xizao,
461
-        xiushi:this.xiushi,
462
-        chuanyi:this.chuanyi,
463
-        dabian:this.dabian,
464
-        xioabian:this.xioabian,
465
-        ruce:this.ruce,
466
-        chuangyi:this.chuangyi,
467
-        pingdi:this.pingdi,
468
-        louti:this.louti,
459
+        jinshi:this.jinshi_val,
460
+        xizao:this.xizao_val,
461
+        xiushi:this.xiushi_val,
462
+        chuanyi:this.chuanyi_val,
463
+        dabian:this.dabian_val,
464
+        xioabian:this.xiaobian_val,
465
+        ruce:this.ruce_val,
466
+        chuangyi:this.chuangyi_val,
467
+        pingdi:this.paingdi_val,
468
+        louti:this.louti_val,
469
         patientID:this.patientID,
469
         patientID:this.patientID,
470
         appraiser:this.appraiser,//评估人
470
         appraiser:this.appraiser,//评估人
471
-        optionsarr:this.optionsarr,//评估人数组
472
         date:this.date,
471
         date:this.date,
473
         date_Totalpoints:this.date_Totalpoints
472
         date_Totalpoints:this.date_Totalpoints
474
       }
473
       }

+ 25 - 13
src/xt_pages/user/evaluationtool/mindAssessment.vue View File

34
                             <td>
34
                             <td>
35
                                 <div class="jiange">
35
                                 <div class="jiange">
36
                                     <el-radio-group v-model="radio1">
36
                                     <el-radio-group v-model="radio1">
37
-                                        <el-radio v-for="(item,index ) in qingan" :label="item" :key="index" style="color: black;font-size: 15px;">{{ item }}</el-radio>
37
+                                        <el-radio v-for="(item,index ) in qingan" :label="item.value" :key="index" style="color: black;font-size: 15px;">{{ item.label }}</el-radio>
38
                                     </el-radio-group>
38
                                     </el-radio-group>
39
                                 </div>
39
                                 </div>
40
                             </td>                           
40
                             </td>                           
44
                             <td>
44
                             <td>
45
                                 <div  class="jiange">
45
                                 <div  class="jiange">
46
                                     <el-radio-group v-model="radio2">
46
                                     <el-radio-group v-model="radio2">
47
-                                    <el-radio v-for="(item,index ) in qingan" :label="item" :key="index" style="color: black;font-size: 15px;">{{ item }}</el-radio>
47
+                                    <el-radio v-for="(item,index ) in qingan" :label="item.value" :key="index" style="color: black;font-size: 15px;">{{ item.label }}</el-radio>
48
                                     </el-radio-group>
48
                                     </el-radio-group>
49
                                 </div>
49
                                 </div>
50
                             </td>
50
                             </td>
54
                             <td>
54
                             <td>
55
                                 <div  class="jiange">
55
                                 <div  class="jiange">
56
                                     <el-radio-group v-model="radio3">
56
                                     <el-radio-group v-model="radio3">
57
-                                        <el-radio v-for="(item,index ) in qingan" :label="item" :key="index" style="color: black;font-size: 15px;">{{ item }}</el-radio>
57
+                                        <el-radio v-for="(item,index ) in qingan" :label="item.value" :key="index" style="color: black;font-size: 15px;">{{ item.label }}</el-radio>
58
                                     </el-radio-group>
58
                                     </el-radio-group>
59
                                 </div>
59
                                 </div>
60
                             </td>
60
                             </td>
116
           options:[],
116
           options:[],
117
           value:'',
117
           value:'',
118
           value1:'',
118
           value1:'',
119
-          xinli:[{label:'配合治疗',is_check:false,check:0},{label:'担忧',is_check:false,check:0},{label:'烦躁',is_check:false,check:0},
120
-          {label:'抵触情绪',is_check:false,check:0},{label:'拒绝治疗',is_check:false,check:0},{label:'坐立不安',is_check:false,check:0},
121
-          {label:'怪异行为',is_check:false,check:0},{label:'其他',is_check:false,check:0},],
122
-          qingan:['有','无'],
119
+          xinlishow:[],
120
+          xinli:[{id:1,label:'配合治疗',is_check:false,check:0},{id:2,label:'担忧',is_check:false,check:0},{id:3,label:'烦躁',is_check:false,check:0},
121
+          {id:4,label:'抵触情绪',is_check:false,check:0},{id:5,label:'拒绝治疗',is_check:false,check:0},{id:6,label:'坐立不安',is_check:false,check:0},
122
+          {id:7,label:'怪异行为',is_check:false,check:0},{id:8,label:'其他',is_check:false,check:0},],
123
+          qingan:[{value:1,label:'有'},{value:0,label:'无'}],
123
           appraiser:'',
124
           appraiser:'',
124
           optionsarr:[],
125
           optionsarr:[],
125
           date:this.getTime(new Date())
126
           date:this.getTime(new Date())
133
     },
134
     },
134
     xinliclick(item){
135
     xinliclick(item){
135
       for(let i in this.xinli){
136
       for(let i in this.xinli){
136
-        if(item.is_check ==false){
137
           if(item.label==this.xinli[i].label){
137
           if(item.label==this.xinli[i].label){
138
-            this.xinli[i].check=1
138
+            if(item.check == 0){
139
+              this.xinli[i].check=1
140
+              this.xinli[i].is_check = true
141
+              this.xinlishow.push(item.id)
142
+            }else{
143
+              this.xinli[i].check = 0
144
+              this.xinli[i].is_check = false
145
+              if(this.xinlishow.length>0){
146
+                for(let j in this.xinlishow){
147
+                  if(item.id == this.xinlishow[j]){
148
+                    let index = this.xinlishow.indexOf(this.xinlishow[j]);
149
+                    this.xinlishow.splice(index,1)
150
+                  }
151
+                }
152
+              }
153
+            }
139
           }
154
           }
140
-        }
141
       }
155
       }
142
-      console.log(this.xinli);
143
     },
156
     },
144
     // 确认
157
     // 确认
145
     mindclick(){
158
     mindclick(){
149
         radio3:this.radio3,
162
         radio3:this.radio3,
150
         date:this.date,
163
         date:this.date,
151
         appraiser:this.appraiser,
164
         appraiser:this.appraiser,
152
-        optionsarr:this.optionsarr,
153
-        xinli:this.xinli,
165
+        xinli:this.xinlishow,
154
       }
166
       }
155
     },
167
     },
156
     // 转换时间
168
     // 转换时间

+ 24 - 12
src/xt_pages/user/history/mind_history.vue View File

151
                 <td>
151
                 <td>
152
                     <div class="jiange">
152
                     <div class="jiange">
153
                         <el-radio-group v-model="radio1">
153
                         <el-radio-group v-model="radio1">
154
-                            <el-radio v-for="(item,index ) in qingan" :label="item" :key="index" style="color: black;font-size: 15px;">{{ item }}</el-radio>
154
+                            <el-radio v-for="(item,index ) in qingan" :label="item.value" :key="index" style="color: black;font-size: 15px;">{{ item.label }}</el-radio>
155
                         </el-radio-group>
155
                         </el-radio-group>
156
                     </div>
156
                     </div>
157
                 </td>
157
                 </td>
161
                 <td>
161
                 <td>
162
                     <div  class="jiange">
162
                     <div  class="jiange">
163
                         <el-radio-group v-model="radio2">
163
                         <el-radio-group v-model="radio2">
164
-                        <el-radio v-for="(item,index ) in qingan" :label="item" :key="index" style="color: black;font-size: 15px;">{{ item }}</el-radio>
164
+                        <el-radio v-for="(item,index ) in qingan" :label="item.value" :key="index" style="color: black;font-size: 15px;">{{ item.label }}</el-radio>
165
                         </el-radio-group>
165
                         </el-radio-group>
166
                     </div>
166
                     </div>
167
                 </td>
167
                 </td>
171
                 <td>
171
                 <td>
172
                     <div  class="jiange">
172
                     <div  class="jiange">
173
                         <el-radio-group v-model="radio3">
173
                         <el-radio-group v-model="radio3">
174
-                            <el-radio v-for="(item,index ) in qingan" :label="item" :key="index" style="color: black;font-size: 15px;">{{ item }}</el-radio>
174
+                            <el-radio v-for="(item,index ) in qingan" :label="item.value" :key="index" style="color: black;font-size: 15px;">{{ item.label }}</el-radio>
175
                         </el-radio-group>
175
                         </el-radio-group>
176
                     </div>
176
                     </div>
177
                 </td>
177
                 </td>
247
       options:[],
247
       options:[],
248
       value:'',
248
       value:'',
249
       value1:'',
249
       value1:'',
250
-      xinli:[{label:'配合治疗',is_check:false,check:0},{label:'担忧',is_check:false,check:0},{label:'烦躁',is_check:false,check:0},
251
-          {label:'抵触情绪',is_check:false,check:0},{label:'拒绝治疗',is_check:false,check:0},{label:'坐立不安',is_check:false,check:0},
252
-          {label:'怪异行为',is_check:false,check:0},{label:'其他',is_check:false,check:0},],
253
-      qingan:['有','无',],
250
+      xinli:[{id:1,label:'配合治疗',is_check:false,check:0},{id:2,label:'担忧',is_check:false,check:0},{id:3,label:'烦躁',is_check:false,check:0},
251
+          {id:4,label:'抵触情绪',is_check:false,check:0},{id:5,label:'拒绝治疗',is_check:false,check:0},{id:6,label:'坐立不安',is_check:false,check:0},
252
+          {id:7,label:'怪异行为',is_check:false,check:0},{id:8,label:'其他',is_check:false,check:0},],
253
+      qingan:[{value:1,label:'有'},{value:0,label:'无'}],
254
       appraiser:'',
254
       appraiser:'',
255
       optionsarr:[],
255
       optionsarr:[],
256
       date:this.getTime(new Date())
256
       date:this.getTime(new Date())
295
       }
295
       }
296
       this.delete_centerDialogVisible=false
296
       this.delete_centerDialogVisible=false
297
     },
297
     },
298
-    // 确认
298
+    // 心理
299
     xinliclick(item){
299
     xinliclick(item){
300
       for(let i in this.xinli){
300
       for(let i in this.xinli){
301
-        if(item.is_check ==false){
302
           if(item.label==this.xinli[i].label){
301
           if(item.label==this.xinli[i].label){
303
-            this.xinli[i].check=1
302
+            if(item.check == 0){
303
+              this.xinli[i].check=1
304
+              this.xinli[i].is_check = true
305
+              this.xinlishow.push(item.id)
306
+            }else{
307
+              this.xinli[i].check = 0
308
+              this.xinli[i].is_check = false
309
+              if(this.xinlishow.length>0){
310
+                for(let j in this.xinlishow){
311
+                  if(item.id == this.xinlishow[j]){
312
+                    let index = this.xinlishow.indexOf(this.xinlishow[j]);
313
+                    this.xinlishow.splice(index,1)
314
+                  }
315
+                }
316
+              }
317
+            }
304
           }
318
           }
305
-        }
306
       }
319
       }
307
-      console.log(this.xinli);
308
     },
320
     },
309
     // 确认
321
     // 确认
310
     mindclick(){
322
     mindclick(){