Ver código fonte

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 1 ano atrás
pai
commit
982e4dffee

+ 11 - 11
src/router/modules/patient.js Ver arquivo

579
       noCache: true
579
       noCache: true
580
     }
580
     }
581
   },
581
   },
582
-  {//知情同意书
583
-    path: '/patients/patient/:id/Informedconsent',
584
-    component: () => import('@/xt_pages/user/Informed/Informedconsent'),
585
-    hidden: true,
586
-    is_menu: false,
587
-    name: 'Informedconsent',
588
-    meta: {
589
-      title: 'Informedconsent',
590
-      noCache: true
591
-    }
592
-  },
582
+  // {//知情同意书
583
+  //   path: '/patients/patient/:id/Informedconsent',
584
+  //   component: () => import('@/xt_pages/user/Informed/Informedconsent'),
585
+  //   hidden: true,
586
+  //   is_menu: false,
587
+  //   name: 'Informedconsent',
588
+  //   meta: {
589
+  //     title: 'Informedconsent',
590
+  //     noCache: true
591
+  //   }
592
+  // },
593
   // {//血管通路图 pruritus_history
593
   // {//血管通路图 pruritus_history
594
   //   path: '/patients/patient/:id/angiogram',
594
   //   path: '/patients/patient/:id/angiogram',
595
   //   component: () => import('@/xt_pages/user/angiogram'),
595
   //   component: () => import('@/xt_pages/user/angiogram'),

+ 50 - 0
src/xt_pages/dialysis/details/index.vue Ver arquivo

107
               height="500"
107
               height="500"
108
               border
108
               border
109
               style="width: 100%">
109
               style="width: 100%">
110
+              <el-table-column
111
+                prop="date"
112
+                label="床号"
113
+                width="50"
114
+                >
115
+                <template slot-scope="scope">
116
+                  {{ scope.row.device_number.number }}
117
+                </template>
118
+              </el-table-column>
110
               <el-table-column
119
               <el-table-column
111
                 prop="date"
120
                 prop="date"
112
                 label="患者"
121
                 label="患者"
188
               height="500"
197
               height="500"
189
               border
198
               border
190
               style="width: 100%">
199
               style="width: 100%">
200
+              <el-table-column
201
+                prop="date"
202
+                label="床号"
203
+                width="50"
204
+                >
205
+                <template slot-scope="scope">
206
+                  {{ scope.row.device_number.number }}
207
+                </template>
208
+              </el-table-column>
191
               <el-table-column
209
               <el-table-column
192
                 prop="date"
210
                 prop="date"
193
                 label="患者"
211
                 label="患者"
2017
           patientArr.map(item => {
2035
           patientArr.map(item => {
2018
             newArr.push(...item.schedules)
2036
             newArr.push(...item.schedules)
2019
           })
2037
           })
2038
+         
2039
+        
2040
+          console.log("newArrwowowowowoowwowo",newArr)
2020
           this.tableData = newArr
2041
           this.tableData = newArr
2021
           this.getData()
2042
           this.getData()
2022
 
2043
 
2173
           })
2194
           })
2174
           newArr.sort(this.compare('created_time'))
2195
           newArr.sort(this.compare('created_time'))
2175
         }
2196
         }
2197
+
2198
+        if(this.org_id ==10579 || this.org_id == 0){
2199
+          if(newArr!=null && newArr.length>0){
2200
+            for(let i=0;i<newArr.length;i++){
2201
+              newArr[i].sort =0
2202
+              newArr[i].sort =newArr[i].device_number.sort
2203
+            }
2204
+          }
2205
+
2206
+          newArr.sort(function(a, b) {
2207
+           return a.sort - b.sort;
2208
+          });
2209
+        }
2210
+       
2211
+
2176
         // console.log('排序',newArr)
2212
         // console.log('排序',newArr)
2177
         this.tableData = newArr
2213
         this.tableData = newArr
2178
         const name = this.$route.query.patient_name
2214
         const name = this.$route.query.patient_name
2337
           })
2373
           })
2338
           newArr.sort(this.compare('created_time'))
2374
           newArr.sort(this.compare('created_time'))
2339
         }
2375
         }
2376
+      
2377
+        if(this.org_id == 0 || this.org_id == 10579){
2378
+          if(newArr!=null && newArr.length>0){
2379
+            for(let i=0;i<newArr.length;i++){
2380
+              newArr[i].sort =0
2381
+              newArr[i].sort =newArr[i].device_number.sort
2382
+            }
2383
+          }
2384
+
2385
+          newArr.sort(function(a, b) {
2386
+           return a.sort - b.sort;
2387
+          });
2388
+        }
2389
+       
2340
         this.tableData1 = newArr
2390
         this.tableData1 = newArr
2341
         const name = this.$route.query.patient_name
2391
         const name = this.$route.query.patient_name
2342
         this.tableData1.map((item, index) => {
2392
         this.tableData1.map((item, index) => {

+ 38 - 35
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Ver arquivo

4305
 
4305
 
4306
         // var objProject = {advice_name:"",start_time:"",single_dose:"",single_dose_unit:"",}
4306
         // var objProject = {advice_name:"",start_time:"",single_dose:"",single_dose_unit:"",}
4307
       
4307
       
4308
-        if(this.projects!=null && this.projects.length >0){
4309
-           for(let i=0;i<this.projects.length;i++){
4310
-             if(this.projects[i].type== 2){
4311
-            
4312
-              this.projects[i].project_team_name = ""
4313
-              this.projects[i].project_team_id = 0
4314
-              console.log("this.projects[i].project.team",this.projects[i].project.team)
4315
-              if(this.projects[i].team!= "undefined" && this.projects[i].team.id >0){
4316
-                this.projects[i].project_team = this.projects[i].team.project_team
4317
-                this.projects[i].project_team_id = this.projects[i].team.id
4318
-                this.projects[i].start_time = this.projects[i].start_time
4319
-                this.projects[i].single_dose = this.projects[i].single_dose
4320
-                this.projects[i].single_dose_unit = this.projects[i].unit
4321
-                this.projects[i].execution_time = this.projects[i].execution_time
4322
-                this.projects[i].execution_staff= this.projects[i].execution_staff 
4323
-                this.projects[i].advice_name =  this.projects[i].team.project_team
4324
-                this.projects[i].advice_doctor = this.projects[i].doctor
4308
+        if(this.org_id!=0){
4309
+            if(this.projects!=null && this.projects.length >0){
4310
+             for(let i=0;i<this.projects.length;i++){
4311
+              if(this.projects[i].type== 2){
4312
+              
4313
+                this.projects[i].project_team_name = ""
4314
+                this.projects[i].project_team_id = 0
4315
+                console.log("this.projects[i].project.team",this.projects[i].project.team)
4316
+                if(this.projects[i].team!= "undefined" && this.projects[i].team.id >0){
4317
+                  this.projects[i].project_team = this.projects[i].team.project_team
4318
+                  this.projects[i].project_team_id = this.projects[i].team.id
4319
+                  this.projects[i].start_time = this.projects[i].start_time
4320
+                  this.projects[i].single_dose = this.projects[i].single_dose
4321
+                  this.projects[i].single_dose_unit = this.projects[i].unit
4322
+                  this.projects[i].execution_time = this.projects[i].execution_time
4323
+                  this.projects[i].execution_staff= this.projects[i].execution_staff 
4324
+                  this.projects[i].advice_name =  this.projects[i].team.project_team
4325
+                  this.projects[i].advice_doctor = this.projects[i].doctor
4326
+                
4327
+                
4328
+                  this.doctor_advices.push(this.projects[i])
4329
+                  // this.doctor_advices_2.push(this.project[i])
4330
+                }else{
4331
+                  this.projects[i].project_team = this.projects[i].project.project_name
4332
+                  this.projects[i].advice_name = this.projects[i].project.project_name
4333
+                  this.projects[i].start_time = this.projects[i].start_time
4334
+                  this.projects[i].single_dose = this.projects[i].single_dose
4335
+                  this.projects[i].single_dose_unit = this.projects[i].unit
4336
+                  this.projects[i].execution_time = this.projects[i].execution_time
4337
+                  this.projects[i].execution_staff= this.projects[i].execution_staff 
4338
+                  this.projects[i].advice_doctor = this.projects[i].doctor
4339
+                  this.doctor_advices.push(this.projects[i])
4340
+                  // this.doctor_advices_2.push(this.projects[i])
4341
+                }
4325
               
4342
               
4326
-               
4327
-                this.doctor_advices.push(this.projects[i])
4328
-                // this.doctor_advices_2.push(this.project[i])
4329
-              }else{
4330
-                this.projects[i].project_team = this.projects[i].project.project_name
4331
-                this.projects[i].advice_name = this.projects[i].project.project_name
4332
-                this.projects[i].start_time = this.projects[i].start_time
4333
-                this.projects[i].single_dose = this.projects[i].single_dose
4334
-                this.projects[i].single_dose_unit = this.projects[i].unit
4335
-                this.projects[i].execution_time = this.projects[i].execution_time
4336
-                this.projects[i].execution_staff= this.projects[i].execution_staff 
4337
-                this.projects[i].advice_doctor = this.projects[i].doctor
4338
-                this.doctor_advices.push(this.projects[i])
4339
-                // this.doctor_advices_2.push(this.projects[i])
4340
               }
4343
               }
4341
-             
4342
-             }
4343
-             
4344
-           }
4344
+              
4345
+            }
4346
+          }
4345
         }
4347
         }
4348
+      
4346
          
4349
          
4347
         }
4350
         }
4348
       
4351
       

+ 62 - 62
src/xt_pages/user/components/PatientSidebar.vue Ver arquivo

203
             },
203
             },
204
           ]
204
           ]
205
         },
205
         },
206
-        // {
207
-        //   name: '5',
208
-        //   label: '评估工具',
209
-        //   children: [
210
-        //     {
211
-        //       name: '5-1',
212
-        //       label: '跌倒评估'
213
-        //     },
214
-        //     {
215
-        //       name: '5-2',
216
-        //       label: '小儿跌倒风险评估'
217
-        //     },
218
-        //     {
219
-        //       name: '5-3',
220
-        //       label: '压疮风险评估'
221
-        //     },
222
-        //     {
223
-        //       name: '5-4',
224
-        //       label: 'OH压疮评估'
225
-        //     },
226
-        //     {
227
-        //       name: '5-5',
228
-        //       label: '日常生活能力评估'
229
-        //     },
230
-        //     {
231
-        //       name: '5-6',
232
-        //       label: '导管脱落风险评估'
233
-        //     },
234
-        //     {
235
-        //       name: '5-7',
236
-        //       label: 'RASS及疼痛评估'
237
-        //     },
238
-        //     {
239
-        //       name: '5-8',
240
-        //       label: '营养状况评估'
241
-        //     },
242
-        //     {
243
-        //       name: '5-9',
244
-        //       label: '约束告知单'
245
-        //     },
246
-        //     {
247
-        //       name: '5-10',
248
-        //       label: '心理评估'
249
-        //     },
250
-        //     {
251
-        //       name: '5-11',
252
-        //       label: '瘙痒评估'
253
-        //     },
254
-        //     {
255
-        //       name: '5-12',
256
-        //       label: '血液透析患者评估'
257
-        //     },
258
-        //     {
259
-        //       name: '5-13',
260
-        //       label: 'Glasgow昏迷评分量表'
261
-        //     },
262
-        //     {
263
-        //       name: '5-14',
264
-        //       label: '肌力评估表'
265
-        //     },
266
-        //   ]
267
-        // },
206
+        {
207
+          name: '5',
208
+          label: '评估工具',
209
+          children: [
210
+            {
211
+              name: '5-1',
212
+              label: '跌倒评估'
213
+            },
214
+            {
215
+              name: '5-2',
216
+              label: '小儿跌倒风险评估'
217
+            },
218
+            {
219
+              name: '5-3',
220
+              label: '压疮风险评估'
221
+            },
222
+            {
223
+              name: '5-4',
224
+              label: 'OH压疮评估'
225
+            },
226
+            {
227
+              name: '5-5',
228
+              label: '日常生活能力评估'
229
+            },
230
+            {
231
+              name: '5-6',
232
+              label: '导管脱落风险评估'
233
+            },
234
+            {
235
+              name: '5-7',
236
+              label: 'RASS及疼痛评估'
237
+            },
238
+            {
239
+              name: '5-8',
240
+              label: '营养状况评估'
241
+            },
242
+            {
243
+              name: '5-9',
244
+              label: '约束告知单'
245
+            },
246
+            {
247
+              name: '5-10',
248
+              label: '心理评估'
249
+            },
250
+            {
251
+              name: '5-11',
252
+              label: '瘙痒评估'
253
+            },
254
+            {
255
+              name: '5-12',
256
+              label: '血液透析患者评估'
257
+            },
258
+            {
259
+              name: '5-13',
260
+              label: 'Glasgow昏迷评分量表'
261
+            },
262
+            {
263
+              name: '5-14',
264
+              label: '肌力评估表'
265
+            },
266
+          ]
267
+        },
268
         {
268
         {
269
           name: '6',
269
           name: '6',
270
           label: '文书管理',
270
           label: '文书管理',