Browse Source

7月5日杨青

杨青 1 year ago
parent
commit
d9909293fa

File diff suppressed because it is too large
+ 0 - 113
.idea/shelf/Uncommitted_changes_before_Update_at_2023_5_30_16_44_[Changes]/shelved.patch


+ 1 - 1
src/api/patient.js View File

@@ -755,7 +755,7 @@ export function getPatientDialysisInfor(params){
755 755
 
756 756
 export function getContextScheduleList(params){
757 757
   return request({
758
-    url:"/api/patient/getcontextschedulelist",
758
+    url:"/api/patient/getcontextschedulelistone",
759 759
     method:"get",
760 760
     params:params
761 761
   })

+ 20 - 3
src/xt_pages/Dialysisanalysis/albumin/albuminall.vue View File

@@ -55,6 +55,10 @@
55 55
       <el-table
56 56
         :data="tableData"
57 57
         border
58
+        :header-cell-style="{
59
+          backgroundColor: 'rgb(245, 247, 250)',
60
+          color: '#606266'
61
+        }"
58 62
         style="width: 100%;">
59 63
         <el-table-column
60 64
           prop="name"
@@ -429,12 +433,25 @@ export default {
429 433
               {
430 434
                 type: 'pie',
431 435
                 label: {
432
-                  show: true,
433
-                  formatter: '{b} : {d}% ({c})'
436
+                  normal : {
437
+                    formatter: '{b}:{c}: ({d}%)',
438
+                    textStyle : {
439
+                        fontWeight : 'normal',
440
+                        fontSize : 15,
441
+                        color : "black"
442
+                    }
443
+                  }
434 444
                   // b代表名称,c代表对应值,d代表百分比"{b} : {d}% ({c})"
435 445
                 },
436 446
                 radius: '65%', //饼图半径
437
-                data: this.pieData
447
+                data: this.pieData,
448
+                itemStyle : {
449
+                  emphasis: {
450
+                      shadowBlur: 10,
451
+                      shadowOffsetX: 0,
452
+                      shadowColor: 'rgba(0, 0, 0, 0.5)'
453
+                  }
454
+                }
438 455
               }
439 456
             ]
440 457
           }

+ 20 - 3
src/xt_pages/Dialysisanalysis/bloodPhosphorus/phosphorusall.vue View File

@@ -55,6 +55,10 @@
55 55
       <el-table
56 56
         :data="tableData"
57 57
         border
58
+        :header-cell-style="{
59
+          backgroundColor: 'rgb(245, 247, 250)',
60
+          color: '#606266'
61
+        }"
58 62
         style="width: 100%;">
59 63
         <el-table-column
60 64
           prop="name"
@@ -508,12 +512,25 @@ export default {
508 512
               {
509 513
                 type: 'pie',
510 514
                 label: {
511
-                  show: true,
512
-                  formatter: '{b} : {d}% ({c})'
515
+                  normal : {
516
+                    formatter: '{b}:{c}: ({d}%)',
517
+                    textStyle : {
518
+                        fontWeight : 'normal',
519
+                        fontSize : 15,
520
+                        color : "black"
521
+                    }
522
+                  }
513 523
                   // b代表名称,c代表对应值,d代表百分比"{b} : {d}% ({c})"
514 524
                 },
515 525
                 radius: '65%', //饼图半径
516
-                data: this.pieData
526
+                data: this.pieData,
527
+                itemStyle : {
528
+                  emphasis: {
529
+                      shadowBlur: 10,
530
+                      shadowOffsetX: 0,
531
+                      shadowColor: 'rgba(0, 0, 0, 0.5)'
532
+                  }
533
+                }
517 534
               }
518 535
             ]
519 536
           }

+ 20 - 3
src/xt_pages/Dialysisanalysis/bloodPotassium/potassiumall.vue View File

@@ -55,6 +55,10 @@
55 55
       <el-table
56 56
         :data="tableData"
57 57
         border
58
+        :header-cell-style="{
59
+          backgroundColor: 'rgb(245, 247, 250)',
60
+          color: '#606266'
61
+        }"
58 62
         style="width: 100%;">
59 63
         <el-table-column
60 64
           prop="name"
@@ -428,12 +432,25 @@ export default {
428 432
               {
429 433
                 type: 'pie',
430 434
                 label: {
431
-                  show: true,
432
-                  formatter: '{b} : {d}% ({c})'
435
+                  normal : {
436
+                    formatter: '{b}:{c}: ({d}%)',
437
+                    textStyle : {
438
+                        fontWeight : 'normal',
439
+                        fontSize : 15,
440
+                        color : "black"
441
+                    }
442
+                  }
433 443
                   // b代表名称,c代表对应值,d代表百分比"{b} : {d}% ({c})"
434 444
                 },
435 445
                 radius: '65%', //饼图半径
436
-                data: this.pieData
446
+                data: this.pieData,
447
+                itemStyle : {
448
+                  emphasis: {
449
+                      shadowBlur: 10,
450
+                      shadowOffsetX: 0,
451
+                      shadowColor: 'rgba(0, 0, 0, 0.5)'
452
+                  }
453
+                }
437 454
               }
438 455
             ]
439 456
           }

+ 20 - 3
src/xt_pages/Dialysisanalysis/calcium/calciumall.vue View File

@@ -55,6 +55,10 @@
55 55
       <el-table
56 56
         :data="tableData"
57 57
         border
58
+        :header-cell-style="{
59
+          backgroundColor: 'rgb(245, 247, 250)',
60
+          color: '#606266'
61
+        }"
58 62
         style="width: 100%;">
59 63
         <el-table-column
60 64
           prop="name"
@@ -429,12 +433,25 @@ export default {
429 433
               {
430 434
                 type: 'pie',
431 435
                 label: {
432
-                  show: true,
433
-                  formatter: '{b} : {d}% ({c})'
436
+                  normal : {
437
+                    formatter: '{b}:{c}: ({d}%)',
438
+                    textStyle : {
439
+                        fontWeight : 'normal',
440
+                        fontSize : 15,
441
+                        color : "black"
442
+                    }
443
+                  }
434 444
                   // b代表名称,c代表对应值,d代表百分比"{b} : {d}% ({c})"
435 445
                 },
436 446
                 radius: '65%', //饼图半径
437
-                data: this.pieData
447
+                data: this.pieData,
448
+                itemStyle : {
449
+                  emphasis: {
450
+                      shadowBlur: 10,
451
+                      shadowOffsetX: 0,
452
+                      shadowColor: 'rgba(0, 0, 0, 0.5)'
453
+                  }
454
+                }
438 455
               }
439 456
             ]
440 457
           }

+ 20 - 3
src/xt_pages/Dialysisanalysis/hemoglobin/hemoglobinall.vue View File

@@ -55,6 +55,10 @@
55 55
       <el-table
56 56
         :data="tableData"
57 57
         border
58
+        :header-cell-style="{
59
+          backgroundColor: 'rgb(245, 247, 250)',
60
+          color: '#606266'
61
+        }"
58 62
         style="width: 100%;">
59 63
         <el-table-column
60 64
           prop="name"
@@ -508,12 +512,25 @@ export default {
508 512
               {
509 513
                 type: 'pie',
510 514
                 label: {
511
-                  show: true,
512
-                  formatter: '{b} : {d}% ({c})'
515
+                  normal : {
516
+                    formatter: '{b}:{c}: ({d}%)',
517
+                    textStyle : {
518
+                        fontWeight : 'normal',
519
+                        fontSize : 15,
520
+                        color : "black"
521
+                    }
522
+                  }
513 523
                   // b代表名称,c代表对应值,d代表百分比"{b} : {d}% ({c})"
514 524
                 },
515 525
                 radius: '65%', //饼图半径
516
-                data: this.pieData
526
+                data: this.pieData,
527
+                itemStyle : {
528
+                  emphasis: {
529
+                      shadowBlur: 10,
530
+                      shadowOffsetX: 0,
531
+                      shadowColor: 'rgba(0, 0, 0, 0.5)'
532
+                  }
533
+                }
517 534
               }
518 535
             ]
519 536
           }

+ 20 - 4
src/xt_pages/Dialysisanalysis/otherIndicators/otherall.vue View File

@@ -73,6 +73,10 @@
73 73
             :data="tableData"
74 74
             :show-summary = true
75 75
             border
76
+            :header-cell-style="{
77
+              backgroundColor: 'rgb(245, 247, 250)',
78
+              color: '#606266'
79
+            }"
76 80
             style="width: 100%;">
77 81
                 <el-table-column
78 82
                     prop="date"
@@ -82,7 +86,6 @@
82 86
                 </el-table-column>
83 87
                 <el-table-column
84 88
                     prop="name"
85
-
86 89
                     label="人数"
87 90
                     >
88 91
                 </el-table-column>
@@ -181,12 +184,25 @@ export default{
181 184
           {
182 185
             type: "pie",
183 186
             label: {
184
-              show: true,
185
-              formatter:"{b} : {d}% ({c})"
187
+              normal : {
188
+                formatter: '{b}:{c}: ({d}%)',
189
+                textStyle : {
190
+                    fontWeight : 'normal',
191
+                    fontSize : 15,
192
+                    color : "black"
193
+                }
194
+              }
186 195
               // b代表名称,c代表对应值,d代表百分比"{b} : {d}% ({c})"
187 196
             },
188 197
             radius: "65%", //饼图半径
189
-            data: this.pieData
198
+            data: this.pieData,
199
+            itemStyle : {
200
+              emphasis: {
201
+                  shadowBlur: 10,
202
+                  shadowOffsetX: 0,
203
+                  shadowColor: 'rgba(0, 0, 0, 0.5)'
204
+              }
205
+            }
190 206
           }
191 207
         ]
192 208
       };

+ 21 - 3
src/xt_pages/Dialysisanalysis/platelets/plateletsall.vue View File

@@ -55,6 +55,10 @@
55 55
       <el-table
56 56
         :data="tableData"
57 57
         border
58
+        :header-cell-style="{
59
+          backgroundColor: 'rgb(245, 247, 250)',
60
+          color: '#606266'
61
+        }"
58 62
         style="width: 100%;">
59 63
         <el-table-column
60 64
           prop="name"
@@ -65,6 +69,7 @@
65 69
         </el-table-column>
66 70
         <el-table-column
67 71
           prop="count"
72
+          align="center"
68 73
           label="人数"
69 74
         >
70 75
         </el-table-column>
@@ -427,12 +432,25 @@ export default {
427 432
               {
428 433
                 type: 'pie',
429 434
                 label: {
430
-                  show: true,
431
-                  formatter: '{b} : {d}% ({c})'
435
+                  normal : {
436
+                    formatter: '{b}:{c}: ({d}%)',
437
+                    textStyle : {
438
+                        fontWeight : 'normal',
439
+                        fontSize : 15,
440
+                        color : "black"
441
+                    }
442
+                  }
432 443
                   // b代表名称,c代表对应值,d代表百分比"{b} : {d}% ({c})"
433 444
                 },
434 445
                 radius: '65%', //饼图半径
435
-                data: this.pieData
446
+                data: this.pieData,
447
+                itemStyle : {
448
+                  emphasis: {
449
+                      shadowBlur: 10,
450
+                      shadowOffsetX: 0,
451
+                      shadowColor: 'rgba(0, 0, 0, 0.5)'
452
+                  }
453
+                }
436 454
               }
437 455
             ]
438 456
           }

+ 23 - 3
src/xt_pages/Dialysisanalysis/qualitycontrol/totalSstatistics.vue View File

@@ -55,6 +55,10 @@
55 55
       <el-table
56 56
         :data="tableData"
57 57
         border
58
+        :header-cell-style="{
59
+          backgroundColor: 'rgb(245, 247, 250)',
60
+          color: '#606266'
61
+        }"
58 62
         style="width: 100%;">
59 63
         <el-table-column
60 64
           prop="name"
@@ -64,6 +68,7 @@
64 68
         </el-table-column>
65 69
         <el-table-column
66 70
           prop="count"
71
+          align="center"
67 72
           label="人数"
68 73
         >
69 74
         </el-table-column>
@@ -428,12 +433,25 @@ export default {
428 433
               {
429 434
                 type: 'pie',
430 435
                 label: {
431
-                  show: true,
432
-                  formatter: '{b} : {d}% ({c})'
436
+                  normal : {
437
+                    formatter: '{b}:{c}: ({d}%)',
438
+                    textStyle : {
439
+                        fontWeight : 'normal',
440
+                        fontSize : 15,
441
+                        color : "black"
442
+                    }
443
+                  }
433 444
                   // b代表名称,c代表对应值,d代表百分比"{b} : {d}% ({c})"
434 445
                 },
435 446
                 radius: '65%', //饼图半径
436
-                data: this.pieData
447
+                data: this.pieData,
448
+                itemStyle : {
449
+                  emphasis: {
450
+                      shadowBlur: 10,
451
+                      shadowOffsetX: 0,
452
+                      shadowColor: 'rgba(0, 0, 0, 0.5)'
453
+                  }
454
+                }
437 455
               }
438 456
             ]
439 457
           }
@@ -669,5 +687,7 @@ export default {
669 687
   display: flex;
670 688
   justify-content: space-around;
671 689
   color: #1e5feb;
690
+  
672 691
 }
692
+
673 693
 </style>

+ 0 - 3
src/xt_pages/dialysis/details/dialog/treatmentSummaryDialog.vue View File

@@ -569,9 +569,6 @@ export default {
569 569
 
570 570
       }
571 571
   
572
-
573
-    
574
-     
575 572
      
576 573
      var doc_str = ""
577 574
       console.log("医嘱2333333333333",this.predialysis_evaluation)

+ 27 - 6
src/xt_pages/dialysis/dialysisFlow.vue View File

@@ -143,7 +143,9 @@
143 143
           :label="item.name"
144 144
         >
145 145
           <template slot-scope="scope">
146
-            <span>{{getModeFinish(scope.row.dialysis_finish,item.id)}}</span>
146
+            <span :class="edtf(scope.row.dialysis_finish,item.id) ? 'lv' : 'hong' ">
147
+              {{getModeFinish(scope.row.dialysis_finish,item.id)}}
148
+            </span>
147 149
           </template>
148 150
 
149 151
         </el-table-column>
@@ -317,8 +319,6 @@
317 319
                 </span>
318 320
            </template>
319 321
          </el-table-column> -->
320
-  
321
-
322 322
         </el-table>
323 323
   
324 324
         <el-pagination
@@ -473,7 +473,7 @@
473 473
         complicationList: [],
474 474
         template_id:0,
475 475
         org_id:0,
476
-  
476
+        names:'',
477 477
       };
478 478
     },
479 479
     created() {
@@ -778,14 +778,27 @@
778 778
       var name = "×"
779 779
        if(val!=null){
780 780
          for(let i=0;i<val.length;i++){
781
+        
781 782
             if(val[i].module == id){
782 783
                name = "√"
783 784
             }
784 785
          }
785 786
        }
787
+     
786 788
        return name
787
-     }
788
-      
789
+     },
790
+      edtf(val,id){
791
+        var name
792
+        if(val!=null){
793
+         for(let i=0;i<val.length;i++){
794
+          
795
+            if(val[i].module == id){
796
+               name = "√"
797
+            }
798
+         }
799
+       }
800
+       return name
801
+      }
789 802
       
790 803
     },
791 804
     components: {
@@ -883,6 +896,14 @@
883 896
     width: 20px;
884 897
     height: 20px;
885 898
   }
899
+  .hong{
900
+    color: red;
901
+    font-size: 18px;
902
+  }
903
+  .lv{
904
+    color: rgb(26, 240, 115);
905
+    font-size: 18px;
906
+  }
886 907
   </style>
887 908
   <style scoped>
888 909
    /* 合并表格线样式 */

+ 455 - 163
src/xt_pages/sign/Contextowner.vue View File

@@ -38,8 +38,6 @@
38 38
             </el-row>
39 39
             <div class="page_lineUp">
40 40
                 <div class="lineUpTitle">
41
-                    <!-- <div>{{ this.$store.getters.xt_user.org.org_name }}<span>&nbsp;&nbsp;温馨提示:请注意排队叫号,依次叫号就诊上机,谢谢配合</span></div>
42
-                    <div>{{ newdate }}&nbsp;&nbsp;{{ time }}</div> -->
43 41
                 </div>
44 42
                 <div class="lineUpMain">
45 43
                     <div class="lineUpMainLeft">
@@ -48,83 +46,21 @@
48 46
                             <p style="width:10%">姓名</p>
49 47
                             <p style="width:14%">透析号</p>
50 48
                             <p style="width:55%">透析时间</p>
51
-
49
+                            
52 50
                         </div>
53
-                        <!-- <div class="lineUpList">
54
-                            <div class="lineUpListOne" v-for="(item,index) in lineUpList" :key="index">
55
-                                <p style="width:12%" v-if="$store.getters.xt_user.org.id !=0 && $store.getters.xt_user.org.id!=10440">
56
-                                    <span v-if="item.schedule_type == 1">上午</span>
57
-                                    <span v-if="item.schedule_type == 2">下午</span>
58
-                                    <span v-if="item.schedule_type == 3">晚上</span>
59
-                                    {{ item.queue_no }}号
60
-                                </p>
61
-                                <p style="width:14%">{{ item.patient_name }}</p>
62
-                                <p style="width:14%" v-if="$store.getters.xt_user.org.id !=0 && $store.getters.xt_user.org.id !=10440">{{ item.dialysis_no }}</p>
63
-                                <p style="width:14%">{{ item.partition_name + item.bed_name }}</p>
64
-                                <p style="width:14%">
65
-                                    <span v-if="item.status == 1">待接诊</span>
66
-                                    <span v-if="item.status == 2">接诊中</span>
67
-                                    <span v-if="item.status == 3">待上机</span>
68
-                                    <span v-if="item.status == 4">透析中</span>
69
-                                    <span v-if="item.status == 5">已下机</span>
70
-                                </p>
71
-                                <p style="width:14%">{{ item.start_time ? getDates(item.start_time) : '--' }}</p>
72
-                                <p style="width:16%">{{ item.end_time && item.start_time ? getDates(item.end_time) : '--' }}</p>
73
-                            </div>
74
-                        </div> -->
75
-                    </div>
76
-                    <!-- <div class="callingBox">
77
-                        <div :class="(queueConfig.jzjhyc == 1 && queueConfig.sjjhyc == 0) ? 'callingBoxLeft1' : 'callingBoxLeft'" v-if="queueConfig.jzjhyc == 1">
78
-                            <div class="callingTitle"><span style="margin: 0 auto;">接<br />诊<br />叫<br />号</span></div>
79
-                            <div style="flex: 1;justify-content: space-between;display: flex;flex-direction: column;">
80
-                                <div class="callingTop" style="margin-bottom:10px;">
81
-                                    <div class="callingTopTip"><span style="margin: 0 auto;">正在<br />接诊</span></div>
82
-                                    <div class="callingContent">
83
-                                        <div>
84
-                                            <p><span v-for="(item,index) in (receivingPatient || '').slice(0,3)" :key="index">{{ item.patient_name }}、</span></p>
85
-                                            <p><span v-for="(item,index) in (receivingPatient || '').slice(3,6)" :key="index">{{ item.patient_name }}、</span></p>
86
-                                        </div>
87
-                                    </div>
88
-                                </div>
89
-                                <div class="callingTop" style="border-radius: 0 0 15px 0;">
90
-                                    <div class="callingTopTip"><span style="margin: 0 auto;">等待<br />接诊</span></div>
91
-                                    <div class="callingContent">
92
-                                        <div>
93
-                                            <p><span v-for="(item,index) in (waitDoctorList || '').slice(0,3)" :key="index">{{ item.patient_name }}、</span></p>
94
-                                            <p><span v-for="(item,index) in (waitDoctorList || '').slice(3,6)" :key="index">{{ item.patient_name }}、</span></p>
95
-                                        </div>
96
-                                    </div>
97
-                                </div>
98
-                            </div>
99
-                        </div>
100
-                        <div :class="(queueConfig.jzjhyc == 0 && queueConfig.sjjhyc == 1) ? 'callingBoxLeft1' : 'callingBoxLeft'" v-if="queueConfig.sjjhyc == 1">
101
-                            <div class="callingTitle newCallingTitle"><span style="margin: 0 auto;">上<br />机<br />叫<br />号</span></div>
102
-                            <div style="flex: 1;justify-content: space-between;display: flex;flex-direction: column;">
103
-                                <div class="callingTop" style="margin-bottom:10px;">
104
-                                    <div class="callingTopTip newCallingTopTip"><span style="margin: 0 auto;">正在<br />叫号</span></div>
105
-                                    <div class="callingContent newCallingContent">
106
-                                        <div>
107
-                                            <p><span v-for="(item,index) in (upPatientList || '').slice(0,3)" :key="index">{{ item.patient_name }}、</span></p>
108
-                                            <p><span v-for="(item,index) in (upPatientList || '').slice(3,6)" :key="index">{{ item.patient_name }}、</span></p>
109
-                                        </div>
110
-                                    </div>
111
-                                </div>
112
-                                <div class="callingTop" style="border-radius: 0 0 15px 0;">
113
-                                    <div class="callingTopTip newCallingTopTip"><span style="margin: 0 auto;">等待<br />叫号</span></div>
114
-                                    <div class="callingContent newCallingContent">
115
-                                        <div>
116
-                                            <p><span v-for="(item,index) in (receivingPatient || '').slice(0,3)" :key="index">{{ item.patient_name }}、</span></p>
117
-                                            <p><span v-for="(item,index) in (receivingPatient || '').slice(3,6)" :key="index">{{ item.patient_name }}、</span></p>
118
-                                        </div>
119
-                                    </div>
120
-                                </div>
121
-                            </div>
51
+                    </div> 
52
+                    <div class="lineUpList">
53
+                        <div class="lineUpListOne" v-for="(item,index) in lineUpList" :key="index">
54
+                            <p style="width:12%" > {{ index+1 }} </p>
55
+                            <p style="width:14%">{{ getPatientName(item.patient_id)}}</p>
56
+                            <p style="width:14%">{{ getDialysisNo(item.patient_id) }}</p>
57
+                            <p style="width:55%">{{getContent(item.child) }}</p>
122 58
                         </div>
123
-                    </div> -->
124
-                </div>
125
-
59
+                    </div>
60
+                </div> 
61
+                
126 62
              </div>
127
-
63
+        
128 64
         </div>
129 65
         <div class="app-container">
130 66
             <div class="page_lineUp">
@@ -142,31 +78,28 @@
142 78
                         </div>
143 79
                         <div class="lineUpList">
144 80
                             <div class="lineUpListOne" v-for="(item,index) in lineUpList" :key="index">
145
-                                <p style="width:12%" > {{ item.xuhao }} </p>
146
-                                <p style="width:14%">{{ item.name }}</p>
147
-                                <p style="width:14%">{{ item.toux }}</p>
148
-                                <p style="width:55%">{{ item.touxtime }}</p>
149
-
150
-                                <!-- <p style="width:14%">{{ item.patient_name }}</p>
151
-                                <p style="width:14%">{{ item.partition_name + item.bed_name }}</p>
152
-                                <p style="width:14%">{{ item.start_time ? getDates(item.start_time) : '--' }}</p>
153
-                                <p style="width:16%">{{ item.end_time && item.start_time ? getDates(item.end_time) : '--' }}</p> -->
81
+                                <p style="width:12%" > {{ index+1 }} </p>
82
+                                <p style="width:14%">{{ getPatientName(item.patient_id)}}</p>
83
+                                <p style="width:14%">{{ getDialysisNo(item.patient_id) }}</p>
84
+                                <p style="width:55%">{{getContent(item.child) }}</p>
154 85
                             </div>
155 86
                         </div>
156
-                    </div>
157
-
87
+                    </div> 
88
+                    
158 89
                 </div>
159
-
90
+                
160 91
             </div>
161
-
92
+             
162 93
         </div>
163 94
     </div>
164 95
 </template>
165 96
 
166 97
 <script>
98
+import {getContextScheduleList} from "@/api/patient"
167 99
 const moment = require('moment')
168 100
 import BreadCrumb from "../components/bread-crumb";
169 101
 import screenfull from "screenfull";
102
+import { uParseTime } from '@/utils/tools'
170 103
 export default {
171 104
     components:{
172 105
         BreadCrumb
@@ -180,20 +113,7 @@ export default {
180 113
             ],
181 114
             dialogTableVisible:false,
182 115
             showSetting: false,
183
-            lineUpList:[
184
-                {xuhao:1,name:'张三',toux:1001,touxtime:'07-05 周一上午 HD 8号床  周三上午HD 9号床 周六上午HD 9号床'},
185
-                {xuhao:2,name:'李四',toux:1002,touxtime:'07-05 周一上午 HD 8号床  周三上午HD 9号床 周六上午HD 9号床'},
186
-                // {xuhao:3,name:'王五',toux:1003,touxtime:'2023-07-03'},
187
-                // {xuhao:4,name:'赵六',toux:1004,touxtime:'2023-07-03'},
188
-                // {xuhao:1,name:'肖雪',toux:1001,touxtime:'2023-07-03'},
189
-                // {xuhao:2,name:'小舞',toux:1002,touxtime:'2023-07-03'},
190
-                // {xuhao:3,name:'小明',toux:1003,touxtime:'2023-07-03'},
191
-                // {xuhao:4,name:'小红',toux:1004,touxtime:'2023-07-03'},
192
-                // {xuhao:1,name:'小雪',toux:1001,touxtime:'2023-07-03'},
193
-                // {xuhao:2,name:'小王',toux:1002,touxtime:'2023-07-03'},
194
-                // {xuhao:3,name:'小爱同学',toux:1003,touxtime:'2023-07-03'},
195
-                // {xuhao:4,name:'小亦',toux:1004,touxtime:'2023-07-03'},
196
-            ],
116
+            lineUpList:[],
197 117
             count:0,
198 118
             page:1,
199 119
             timer:null,
@@ -212,8 +132,13 @@ export default {
212 132
 
213 133
             voice:true,
214 134
             a:1,
215
-            newTimes:null
216
-
135
+            newTimes:null,
136
+            limit:6,
137
+            page:1,
138
+            total:0,
139
+            patientList:[],
140
+            deviceNumberList:[],
141
+            schedule:[],
217 142
         }
218 143
     },
219 144
     computed: {
@@ -222,6 +147,7 @@ export default {
222 147
         },
223 148
     },
224 149
     created(){
150
+        this.getlist()
225 151
         if(sessionStorage.getItem('lineUpKey') != null){
226 152
             if(sessionStorage.getItem('lineUpKey') == 1){
227 153
                 this.dialogTableVisible = true
@@ -264,67 +190,51 @@ export default {
264 190
                 }
265 191
             }, 1000);
266 192
         }
267
-        // this.websocketMess();
193
+       
268 194
     },
269 195
     mounted(){
270
-
271
-        // this.timer = setInterval(() => {
272
-        //     if(this.page < Math.ceil(this.count / 6)){
273
-        //         console.log('执行',Math.ceil(this.count / 6),this.page)
274
-        //         this.page++
275
-        //         let obj = {
276
-        //             cmd: "queue/queuelist",
277
-        //             data: {page:this.page,size:6,sort:0}
278
-        //         };
279
-        //         this.websocketSend(obj)
280
-        //         setTimeout(() => {
281
-        //             this.websocketMess();
282
-        //         }, 1000);
283
-        //     }
284
-        //     else{
285
-        //         console.log('执行22223333')
286
-        //         this.page = 1
287
-        //         let a = {
288
-        //             cmd: "queue/queuelist",
289
-        //             data: {page:this.page,size:6,sort:0}
290
-        //         };
291
-        //         this.websocketSend(a)
292
-        //         setTimeout(() => {
293
-        //             // this.websocketMess();
294
-        //             this.lineUpList
295
-        //         }, 1000);
296
-
297
-        //     }
298
-        //     console.log('切换时间',this.queueConfig)
299
-        // }, 1000 * parseInt(this.queueConfig.qhsj));
300
-        // this.timerID = setInterval(() => {
301
-        //     this.updateTime()
302
-        // }, 1000);
303
-        // this.newTimes = setInterval(() => {
304
-        //     // this.reload()
305
-        //     console.log('1222222333333333');
306
-        //     sessionStorage.setItem('lineUpKey',1);
307
-        //     window.location.reload()
308
-        // }, 1000 * 60 * 30);
196
+        
197
+        this.timer = setInterval(() => {
198
+            if(this.page < Math.ceil(this.count / 6)){
199
+                console.log('执行',Math.ceil(this.count / 6),this.page)
200
+                this.page++
201
+                 this.getlist()
202
+                setTimeout(() => {
203
+                    this.websocketMess();
204
+                }, 1000);
205
+            }
206
+            else{
207
+                console.log('执行22223333')
208
+                this.page = 1
209
+                this.getlist()
210
+                setTimeout(() => {
211
+                    // this.websocketMess();
212
+                    this.lineUpList
213
+                }, 1000);
214
+                
215
+            }
216
+            console.log('切换时间',this.queueConfig)
217
+        }, 1000 * parseInt(this.queueConfig.qhsj));
218
+        this.timerID = setInterval(() => {
219
+            this.updateTime()
220
+        }, 1000);
221
+        this.newTimes = setInterval(() => {
222
+            // this.reload()
223
+            console.log('1222222333333333');
224
+            sessionStorage.setItem('lineUpKey',1);
225
+            window.location.reload()
226
+        }, 1000 * 60 * 30);
309 227
     },
310 228
     beforeDestroy(){
311 229
         clearInterval(this.timer);// 清除定时器
312 230
         this.timer = null
313 231
         clearInterval(this.timerID);
314 232
         this.timerID = null;// 清除定时器
315
-        // clearInterval(this.newTimes);  // 清除定时器
316
-        // this.newTimes = null
317 233
         let unObj = {
318 234
             cmd:'queue/unjoin',
319 235
             data:{type:2}
320 236
         }
321 237
         this.websocketSend(unObj)
322
-        // this.timer = null;
323
-        // let obj = {
324
-        //     cmd: "queue/join",
325
-        //     data: {type:1},
326
-        // };
327
-        // this.websocketSend(obj)
328 238
     },
329 239
     methods:{
330 240
         websocketSend(data) {
@@ -342,7 +252,7 @@ export default {
342 252
                 let res = JSON.parse(e.data);
343 253
                 // let res = re.data;
344 254
                 console.log('res',res)
345
-
255
+                
346 256
                     if(res.channel == 'queue/join'){
347 257
                         if(res.data.type == 2){
348 258
                             this.queueConfig = res.data.queueConfig
@@ -373,7 +283,7 @@ export default {
373 283
                         console.log(999999999999,res.data)
374 284
                         let second = res.data.second
375 285
                         let newType = res.data.type
376
-
286
+                    
377 287
                         console.log('执行几次',this.voiceNum)
378 288
                         if(this.voice == true){
379 289
                             this.patient_id = res.data.patientInfo.patient_id
@@ -392,7 +302,7 @@ export default {
392 302
                                     this.voicePrompt(res.data.callVolUrl)
393 303
                                 }else{
394 304
                                     this.voiceNum = 1;
395
-                                    this.voice = true
305
+                                    this.voice = true 
396 306
                                     let obj = {
397 307
                                         cmd: "queue/callreturn",
398 308
                                         data: {patient_id:this.patient_id,type:newType},
@@ -410,13 +320,13 @@ export default {
410 320
                         }
411 321
                     }else if(res.channel == 'updateCallList'){
412 322
                         this.receivingPatient = res.data.queue_list
413
-
323
+                        
414 324
                     }else if(res.channel == 'updateWaitCallList'){
415 325
                         this.waitDoctorList = res.data.queue_list
416 326
                     }else if(res.channel == 'updateUpCallList'){
417 327
                         this.upPatientList = res.data.queue_list
418 328
                     }
419
-
329
+                
420 330
                 // else if(res.channel == "patientQueueInfo"){
421 331
                 //     this.queueInfo = res.data.queueInfo
422 332
                 //     let obj = {
@@ -424,7 +334,7 @@ export default {
424 334
                 //         data: {page:1,size:10}
425 335
                 //     };
426 336
                 //     this.websocketSend(obj)
427
-
337
+                    
428 338
                 // }
429 339
             }
430 340
         },
@@ -473,7 +383,389 @@ export default {
473 383
         },
474 384
         getDates(time){
475 385
             return moment(time * 1000).format('HH:mm:ss')
476
-        }
386
+        },
387
+        getlist(){
388
+            var params = {
389
+              limit:this.limit,
390
+              page:this.page,
391
+              start_time:"2023-07-03",
392
+              end_time:"2023-07-09"
393
+            }
394
+          getContextScheduleList(params).then(response=>{
395
+             if(response.data.state ==1){
396
+               var schedule = response.data.data.schedule
397
+               
398
+               this.lineUpList = schedule
399
+               var list = response.data.data.list
400
+               console.log("list232322323",list)
401
+               for(let i=0;i<schedule.length;i++){
402
+                  if(schedule[i].mode_id ==1){
403
+                    schedule[i].mode_name = "HD"
404
+                  }
405
+                  if(schedule[i].mode_id ==2){
406
+                    schedule[i].mode_name = "HDF"
407
+                  }
408
+                  if(schedule[i].mode_id ==3){
409
+                    schedule[i].mode_name = "HD+HP"
410
+                  }
411
+
412
+                  if(schedule[i].mode_id ==4){
413
+                    schedule[i].mode_name = "HP"
414
+                  }
415
+
416
+                  if(schedule[i].mode_id ==5){
417
+                    schedule[i].mode_name = "HF"
418
+                  }
419
+
420
+                  
421
+                  if(schedule[i].mode_id ==6){
422
+                    schedule[i].mode_name = "SCUF"
423
+                  }
424
+
425
+                  if(schedule[i].mode_id ==7){
426
+                    schedule[i].mode_name = "IUF"
427
+                  }
428
+
429
+                  if(schedule[i].mode_id ==8){
430
+                    schedule[i].mode_name = "HFHD"
431
+                  }
432
+
433
+                  if(schedule[i].mode_id ==9){
434
+                    schedule[i].mode_name = "HFHD+HP"
435
+                  }
436
+                  
437
+                  if(schedule[i].mode_id ==10){
438
+                    schedule[i].mode_name = "PHF"
439
+                  }
440
+
441
+                  if(schedule[i].mode_id ==11){
442
+                    schedule[i].mode_name = "HFR"
443
+                  }
444
+
445
+                  if(schedule[i].mode_id ==12){
446
+                    schedule[i].mode_name = "HDF+HP"
447
+                  }
448
+
449
+                  if(schedule[i].mode_id ==13){
450
+                    schedule[i].mode_name = "CRRT"
451
+                  }
452
+
453
+                  if(schedule[i].mode_id ==14){
454
+                    schedule[i].mode_name = "腹水回输"
455
+                  }
456
+
457
+                  if(schedule[i].mode_id ==15){
458
+                    schedule[i].mode_name = "IUF+HD"
459
+                  }
460
+
461
+                  if(schedule[i].mode_id ==19){
462
+                    schedule[i].mode_name = "IUF+HD"
463
+                  }
464
+
465
+                  if(schedule[i].mode_id ==20){
466
+                    schedule[i].mode_name = "UF"
467
+                  }
468
+                  if(schedule[i].mode_id ==21){
469
+                    schedule[i].mode_name = "HD+"
470
+                  }
471
+
472
+                  if(schedule[i].mode_id ==22){
473
+                    schedule[i].mode_name = "血浆胆红素吸附+HDF"
474
+                  }
475
+
476
+                  if(schedule[i].mode_id ==23){
477
+                    schedule[i].mode_name = "血浆胆红素吸附"
478
+                  }
479
+
480
+                  if(schedule[i].mode_id ==24){
481
+                    schedule[i].mode_name = "I-HDF"
482
+                  }
483
+
484
+                  if(schedule[i].mode_id ==25){
485
+                    schedule[i].mode_name = "HD高通"
486
+                  }
487
+
488
+                  if(schedule[i].mode_id ==26){
489
+                    schedule[i].mode_name = "CVVH"
490
+                  }
491
+
492
+                  if(schedule[i].mode_id ==27){
493
+                    schedule[i].mode_name = "CVVHD"
494
+                  }
495
+
496
+                  if(schedule[i].mode_id ==28){
497
+                    schedule[i].mode_name = "CVVHDF"
498
+                  }
499
+                  
500
+                  if(schedule[i].mode_id ==29){
501
+                    schedule[i].mode_name = "PE"
502
+                  }
503
+
504
+                  if(schedule[i].mode_id ==30){
505
+                    schedule[i].mode_name = "血浆胆红素吸附+HP"
506
+                  }
507
+
508
+                  if(schedule[i].mode_id ==31){
509
+                    schedule[i].mode_name = "HPD"
510
+                  }
511
+
512
+                  if(schedule[i].mode_id ==32){
513
+                    schedule[i].mode_name = "HDP"
514
+                  }
515
+
516
+
517
+
518
+
519
+
520
+                  if(schedule[i].schedule_week ==1){
521
+                    schedule[i].schedule_week_name = "周一"
522
+                  }
523
+                  if(schedule[i].schedule_week ==2){
524
+                    schedule[i].schedule_week_name = "周二"
525
+                  }
526
+                  if(schedule[i].schedule_week ==3){
527
+                    schedule[i].schedule_week_name = "周三"
528
+                  }
529
+                  if(schedule[i].schedule_week ==4){
530
+                    schedule[i].schedule_week_name = "周四"
531
+                  }
532
+                  if(schedule[i].schedule_week ==5){
533
+                    schedule[i].schedule_week_name = "周五"
534
+                  }
535
+                  if(schedule[i].schedule_week ==6){
536
+                    schedule[i].schedule_week_name = "周六"
537
+                  }
538
+                  if(schedule[i].schedule_week ==7){
539
+                    schedule[i].schedule_week_name = "周日"
540
+                  }
541
+
542
+                  if(schedule[i].schedule_type ==1){
543
+                    schedule[i].schedule_type_name = "上午"
544
+                  }
545
+                  if(schedule[i].schedule_type ==2){
546
+                    schedule[i].schedule_type_name = "下午"
547
+                  }
548
+                  if(schedule[i].schedule_type ==3){
549
+                    schedule[i].schedule_type_name = "晚上"
550
+                  }
551
+                
552
+                  schedule[i].child = []
553
+                 for(let j=0;j<list.length;j++){
554
+                    
555
+                    if(schedule[i].patient_id == list[j].patient_id){
556
+                       schedule[i].child.push(list[j])
557
+                    }
558
+                 }
559
+               } 
560
+               console.log("schedule",schedule)
561
+               this.schedule = schedule
562
+             
563
+               var total = response.data.data.total
564
+               console.log("total+23323223",total)
565
+               var patients =  response.data.data.patients
566
+               console.log("patinets",patients)
567
+               this.patientList = patients
568
+
569
+               this.deviceNumberList =  response.data.data.devicenumber
570
+
571
+
572
+             }
573
+          })  
574
+        },
575
+        getPatientName(patient_id){
576
+          var name = ""
577
+          for(let i=0;i<this.patientList.length;i++){
578
+            if(patient_id == this.patientList[i].id){
579
+               name = this.patientList[i].name
580
+            }
581
+          }
582
+          return name
583
+        },
584
+        getDialysisNo(patient_id){
585
+          var dialysis_no = ""
586
+          for(let i=0;i<this.patientList.length;i++){
587
+            if(patient_id == this.patientList[i].id){
588
+                dialysis_no = this.patientList[i].dialysis_no
589
+            }
590
+          }
591
+          return dialysis_no
592
+        },
593
+        getContent(schedule){
594
+          var str = ""
595
+          if(schedule!=null && schedule.length >0){
596
+            for(let i=0;i<schedule.length;i++){
597
+                schedule[i].bed_number = this.getNumberName(schedule[i].bed_id)
598
+                if(schedule[i].mode_id ==1){
599
+                    schedule[i].mode_name = "HD"
600
+                  }
601
+                  if(schedule[i].mode_id ==2){
602
+                    schedule[i].mode_name = "HDF"
603
+                  }
604
+                  if(schedule[i].mode_id ==3){
605
+                    schedule[i].mode_name = "HD+HP"
606
+                  }
607
+
608
+                  if(schedule[i].mode_id ==4){
609
+                    schedule[i].mode_name = "HP"
610
+                  }
611
+
612
+                  if(schedule[i].mode_id ==5){
613
+                    schedule[i].mode_name = "HF"
614
+                  }
615
+
616
+                  
617
+                  if(schedule[i].mode_id ==6){
618
+                    schedule[i].mode_name = "SCUF"
619
+                  }
620
+
621
+                  if(schedule[i].mode_id ==7){
622
+                    schedule[i].mode_name = "IUF"
623
+                  }
624
+
625
+                  if(schedule[i].mode_id ==8){
626
+                    schedule[i].mode_name = "HFHD"
627
+                  }
628
+
629
+                  if(schedule[i].mode_id ==9){
630
+                    schedule[i].mode_name = "HFHD+HP"
631
+                  }
632
+                  
633
+                  if(schedule[i].mode_id ==10){
634
+                    schedule[i].mode_name = "PHF"
635
+                  }
636
+
637
+                  if(schedule[i].mode_id ==11){
638
+                    schedule[i].mode_name = "HFR"
639
+                  }
640
+
641
+                  if(schedule[i].mode_id ==12){
642
+                    schedule[i].mode_name = "HDF+HP"
643
+                  }
644
+
645
+                  if(schedule[i].mode_id ==13){
646
+                    schedule[i].mode_name = "CRRT"
647
+                  }
648
+
649
+                  if(schedule[i].mode_id ==14){
650
+                    schedule[i].mode_name = "腹水回输"
651
+                  }
652
+
653
+                  if(schedule[i].mode_id ==15){
654
+                    schedule[i].mode_name = "IUF+HD"
655
+                  }
656
+
657
+                  if(schedule[i].mode_id ==19){
658
+                    schedule[i].mode_name = "IUF+HD"
659
+                  }
660
+
661
+                  if(schedule[i].mode_id ==20){
662
+                    schedule[i].mode_name = "UF"
663
+                  }
664
+                  if(schedule[i].mode_id ==21){
665
+                    schedule[i].mode_name = "HD+"
666
+                  }
667
+
668
+                  if(schedule[i].mode_id ==22){
669
+                    schedule[i].mode_name = "血浆胆红素吸附+HDF"
670
+                  }
671
+
672
+                  if(schedule[i].mode_id ==23){
673
+                    schedule[i].mode_name = "血浆胆红素吸附"
674
+                  }
675
+
676
+                  if(schedule[i].mode_id ==24){
677
+                    schedule[i].mode_name = "I-HDF"
678
+                  }
679
+
680
+                  if(schedule[i].mode_id ==25){
681
+                    schedule[i].mode_name = "HD高通"
682
+                  }
683
+
684
+                  if(schedule[i].mode_id ==26){
685
+                    schedule[i].mode_name = "CVVH"
686
+                  }
687
+
688
+                  if(schedule[i].mode_id ==27){
689
+                    schedule[i].mode_name = "CVVHD"
690
+                  }
691
+
692
+                  if(schedule[i].mode_id ==28){
693
+                    schedule[i].mode_name = "CVVHDF"
694
+                  }
695
+                  
696
+                  if(schedule[i].mode_id ==29){
697
+                    schedule[i].mode_name = "PE"
698
+                  }
699
+
700
+                  if(schedule[i].mode_id ==30){
701
+                    schedule[i].mode_name = "血浆胆红素吸附+HP"
702
+                  }
703
+
704
+                  if(schedule[i].mode_id ==31){
705
+                    schedule[i].mode_name = "HPD"
706
+                  }
707
+
708
+                  if(schedule[i].mode_id ==32){
709
+                    schedule[i].mode_name = "HDP"
710
+                  }
711
+
712
+
713
+                  if(schedule[i].schedule_week ==1){
714
+                    schedule[i].schedule_week_name = "周一"
715
+                  }
716
+                  if(schedule[i].schedule_week ==2){
717
+                    schedule[i].schedule_week_name = "周二"
718
+                  }
719
+                  if(schedule[i].schedule_week ==3){
720
+                    schedule[i].schedule_week_name = "周三"
721
+                  }
722
+                  if(schedule[i].schedule_week ==4){
723
+                    schedule[i].schedule_week_name = "周四"
724
+                  }
725
+                  if(schedule[i].schedule_week ==5){
726
+                    schedule[i].schedule_week_name = "周五"
727
+                  }
728
+                  if(schedule[i].schedule_week ==6){
729
+                    schedule[i].schedule_week_name = "周六"
730
+                  }
731
+                  if(schedule[i].schedule_week ==7){
732
+                    schedule[i].schedule_week_name = "周日"
733
+                  }
734
+
735
+                  if(schedule[i].schedule_type ==1){
736
+                    schedule[i].schedule_type_name = "上午"
737
+                  }
738
+                  if(schedule[i].schedule_type ==2){
739
+                    schedule[i].schedule_type_name = "下午"
740
+                  }
741
+                  if(schedule[i].schedule_type ==3){
742
+                    schedule[i].schedule_type_name = "晚上"
743
+                  }
744
+                
745
+              str += " "+this.getTime(schedule[i].schedule_date)+" "+schedule[i].schedule_week_name + " " +schedule[i].schedule_type_name +" " + schedule[i].mode_name+"," 
746
+            }
747
+          }
748
+          return str
749
+        },
750
+        getTime(val) {
751
+         if(val < 0){
752
+           return ""
753
+         }
754
+         if(val == ""){
755
+          return ""
756
+         }else {
757
+          return uParseTime(val, '{m}-{d}')
758
+         }
759
+      },
760
+      getNumberName(id){
761
+         var number = ""
762
+         for(let i=0;i<this.deviceNumberList.length;i++){
763
+           if(id == this.deviceNumberList[i].bed_id){
764
+             number = this.deviceNumberList[i].bed_number
765
+           }
766
+         }
767
+         return number
768
+      }
477 769
     }
478 770
 }
479 771
 </script>
@@ -505,7 +797,7 @@ export default {
505 797
         border-radius: 15px;
506 798
         display: flex;
507 799
         flex-direction: column;
508
-
800
+        
509 801
     }
510 802
     .lineUpMainLeftTitle{
511 803
         // display: flex;
@@ -539,13 +831,13 @@ export default {
539 831
         .lineUpListOne{
540 832
             height:16%;
541 833
             padding: 0.5%;
542
-            //
834
+            // 
543 835
             // display: flex;
544 836
             // justify-content: space-between;
545 837
             align-items: center;
546 838
             color:#1C6895;
547 839
             >p{
548
-
840
+                
549 841
                 width:25%;
550 842
                 text-align: center;
551 843
                 display: inline-block;

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

@@ -203,68 +203,68 @@ export default {
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 269
       name:""
270 270
     }
@@ -326,44 +326,45 @@ export default {
326 326
         this.$router.push({path:'/patients/inspection_check?id='+this.id})
327 327
       } else if(name == '4-3'){
328 328
         this.$router.push({path:'/patients/ktv?id='+this.id})
329
-      } else if (name == '5-1') {
330
-        this.$router.push({
331
-          path: '/patients/patient/'+ this.id +'/Fallassessment'
332
-        })
333
-      } else if (name == '5-2') {
334
-        this.$router.push({
335
-          path: '/patients/patient/' + this.id + '/pediatricFallAssessment'
336
-        })
337
-      } else if (name == '5-3') {
338
-        this.$router.push({
339
-          path: '/patients/patient/' + this.id + '/pressuresore'
340
-        })
341
-      } else if (name == '5-4') {
342
-        this.$router.push({
343
-          path: '/patients/patient/' + this.id + '/OHpressuresore'
344
-        })
345
-      } else if (name == '5-5'){
346
-        this.$router.push({path:'/patients/patient/'+this.id+'/dailyLife'})
347
-      } else if (name == '5-6'){
348
-        this.$router.push({path:'/patients/patient/'+this.id+'/Cathetershedding'})
349
-      } else if (name == '5-7'){
350
-        this.$router.push({path:'/patients/patient/'+this.id+'/RassAssessment'})
351
-      } else if(name == '5-8'){
352
-        this.$router.push({path:'/patients/patient/'+this.id+'/nourishmentAssessment'})
353
-      } else if(name == '5-9'){
354
-        this.$router.push({path:'/patients/patient/'+this.id+'/Constraintnotification'})
355
-      } else if(name == '5-10'){
356
-        this.$router.push({ path: '/patients/patient/' + this.id+'/mindAssessment'})
357
-      } else if(name == '5-11'){
358
-        this.$router.push({path:'/patients/patient/' + this.id+'/pruritusAssessment'})
359
-
360
-      } else if(name == '5-12'){
361
-        this.$router.push({path:'/patients/patient/' + this.id+'/hemodialysis'})
362
-      } else if(name == '5-13'){
363
-        this.$router.push({path:'/patients/patient/' + this.id+'/Glasgow'})
364
-      } else if(name == '5-14'){
365
-        this.$router.push({path:'/patients/patient/' + this.id+'/Muscleforce'})
366 329
       } 
330
+      // else if (name == '5-1') {
331
+      //   this.$router.push({
332
+      //     path: '/patients/patient/'+ this.id +'/Fallassessment'
333
+      //   })
334
+      // } else if (name == '5-2') {
335
+      //   this.$router.push({
336
+      //     path: '/patients/patient/' + this.id + '/pediatricFallAssessment'
337
+      //   })
338
+      // } else if (name == '5-3') {
339
+      //   this.$router.push({
340
+      //     path: '/patients/patient/' + this.id + '/pressuresore'
341
+      //   })
342
+      // } else if (name == '5-4') {
343
+      //   this.$router.push({
344
+      //     path: '/patients/patient/' + this.id + '/OHpressuresore'
345
+      //   })
346
+      // } else if (name == '5-5'){
347
+      //   this.$router.push({path:'/patients/patient/'+this.id+'/dailyLife'})
348
+      // } else if (name == '5-6'){
349
+      //   this.$router.push({path:'/patients/patient/'+this.id+'/Cathetershedding'})
350
+      // } else if (name == '5-7'){
351
+      //   this.$router.push({path:'/patients/patient/'+this.id+'/RassAssessment'})
352
+      // } else if(name == '5-8'){
353
+      //   this.$router.push({path:'/patients/patient/'+this.id+'/nourishmentAssessment'})
354
+      // } else if(name == '5-9'){
355
+      //   this.$router.push({path:'/patients/patient/'+this.id+'/Constraintnotification'})
356
+      // } else if(name == '5-10'){
357
+      //   this.$router.push({ path: '/patients/patient/' + this.id+'/mindAssessment'})
358
+      // } else if(name == '5-11'){
359
+      //   this.$router.push({path:'/patients/patient/' + this.id+'/pruritusAssessment'})
360
+
361
+      // } else if(name == '5-12'){
362
+      //   this.$router.push({path:'/patients/patient/' + this.id+'/hemodialysis'})
363
+      // } else if(name == '5-13'){
364
+      //   this.$router.push({path:'/patients/patient/' + this.id+'/Glasgow'})
365
+      // } else if(name == '5-14'){
366
+      //   this.$router.push({path:'/patients/patient/' + this.id+'/Muscleforce'})
367
+      // } 
367 368
     },
368 369
     changePatient(value) {
369 370
       console.log(value)

+ 240 - 41
src/xt_pages/user/evaluationtool/Fallassessment.vue View File

@@ -30,66 +30,84 @@
30 30
                     <tr class="bg_color">
31 31
                       <td class="start">年龄</td>
32 32
                       <td>
33
-                        <el-checkbox-group v-model="checkList">
34
-                          <el-checkbox label="≥65岁(1分)"></el-checkbox>
35
-                          <el-checkbox label="<5(1分)"></el-checkbox>
36
-                        </el-checkbox-group>
33
+                        <div class="jiange">
34
+                          <span v-for="item in nianlin" class="rightjiange">
35
+                            <label><input type="checkbox" name="ball" value="volleyball" />&nbsp{{ item }}</label>
36
+                          </span>
37
+                        </div>
38
+                          
37 39
                       </td>
38 40
                     </tr>
39 41
                     <tr>
40 42
                       <td class="start">既往史</td>
41 43
                       <td>
42
-                        <el-checkbox-group v-model="checkList">
43
-                          <el-checkbox v-for="item in jiwnag" :label="item" :key="item"></el-checkbox>
44
-                        </el-checkbox-group>
44
+                        <div class="jiange">
45
+                          <span v-for="item in jiwnag" class="rightjiange">
46
+                            <label><input type="checkbox" name="ball" value="volleyball" />&nbsp{{ item }}</label>
47
+                          </span>
48
+                        </div>
45 49
                       </td>
46 50
                     </tr>
47 51
                     <tr class="bg_color">
48 52
                       <td class="start">意识状态</td>
49 53
                       <td>
50
-                        <el-checkbox-group v-model="checkList">
51
-                          <el-checkbox v-for="item in yishizt" :label="item" :key="item"></el-checkbox>
52
-                        </el-checkbox-group>
54
+                        <div class="jiange">
55
+                          <span v-for="item in yishizt" class="rightjiange">
56
+                            <label><input type="checkbox" name="ball" value="volleyball" />&nbsp{{ item }}</label>
57
+                          </span>
58
+                        </div>
53 59
                       </td>
54 60
                     </tr>
55 61
                     <tr>
56 62
                       <td class="start">感官</td>
57 63
                       <td>
58
-                        <el-checkbox-group v-model="checkList">
59
-                          <el-checkbox v-for="item in ganguan" :label="item" :key="item"></el-checkbox>
60
-                        </el-checkbox-group>
64
+                        <div class="jiange">
65
+                          <span v-for="item in ganguan" class="rightjiange">
66
+                            <label><input type="checkbox" name="ball" value="volleyball" />&nbsp{{ item }}</label>
67
+                          </span>
68
+                        </div>
61 69
                       </td>
62 70
                     </tr>
63 71
                     <tr class="bg_color">
64 72
                       <td class="start">身体状况</td>
65 73
                       <td>
66
-                        <el-checkbox-group v-model="checkList">
67
-                          <el-checkbox v-for="item in shentizk" :label="item" :key="item"></el-checkbox>
68
-                        </el-checkbox-group>
74
+                        <div class="jiange">
75
+                          <span v-for="item in shentizk" class="rightjiange">
76
+                            <label><input type="checkbox" name="ball" value="volleyball" />&nbsp{{ item }}</label>
77
+                          </span>
78
+                        </div>
69 79
                       </td>
70 80
                     </tr>
71 81
                     <tr>
72 82
                       <td class="start">使用药物</td>
73 83
                       <td>
74
-                        <el-checkbox-group v-model="checkList">
75
-                          <el-checkbox v-for="item in syyaowu" :label="item" :key="item"></el-checkbox>
76
-                        </el-checkbox-group>
84
+                        <div class="jiange">
85
+                          <span v-for="item in syyaowu" class="rightjiange">
86
+                            <label><input type="checkbox" name="ball" value="volleyball" />&nbsp{{ item }}</label>
87
+                          </span>
88
+                        </div>
77 89
                       </td>
78 90
                     </tr>
79 91
                     <tr class="bg_color">
80 92
                       <td class="start">排泄</td>
81 93
                       <td>
82
-                        <el-checkbox-group v-model="checkList">
83
-                          <el-checkbox v-for="item in paixie" :label="item" :key="item"></el-checkbox>
84
-                        </el-checkbox-group>
94
+                        <div class="jiange">
95
+                          <span v-for="item in paixie" class="rightjiange">
96
+                            <label><input type="checkbox" name="ball" value="volleyball" />&nbsp{{ item }}</label>
97
+                          </span>
98
+                        </div>
99
+                        
85 100
                       </td>
86 101
                     </tr>
87 102
                     <tr>
88 103
                       <td class="start">自理能力</td>
89 104
                       <td>
90
-                        <el-checkbox-group v-model="checkList">
91
-                          <el-checkbox v-for="item in zilinl" :label="item" :key="item"></el-checkbox>
92
-                        </el-checkbox-group>
105
+                        <div class="jiange">
106
+                          <span v-for="item in zilinl" class="rightjiange">
107
+                            <label><input type="checkbox" name="ball" value="volleyball" />&nbsp{{ item }}</label>
108
+                          </span>
109
+                        </div>
110
+                        
93 111
                       </td>
94 112
                     </tr>
95 113
                   </tbody>
@@ -111,9 +129,11 @@
111 129
                     <tr>
112 130
                       <td class="start">预防效果</td>
113 131
                       <td>
114
-                        <el-checkbox-group v-model="checkList">
115
-                          <el-checkbox v-for="item in xiaoguo" :label="item" :key="item"></el-checkbox>
116
-                        </el-checkbox-group>
132
+                        <div class="jiange">
133
+                          <span v-for="item in xiaoguo" class="rightjiange">
134
+                            <label><input type="checkbox" name="ball" value="volleyball" />&nbsp{{ item }}</label>
135
+                          </span>
136
+                        </div>
117 137
                       </td>
118 138
                     </tr>
119 139
                   </tbody>
@@ -153,15 +173,148 @@
153 173
                 <table class="table" border style="width: 100%;">
154 174
                   <thead>
155 175
                     <tr>
156
-                      <th>健康宣教</th>
157
-                      <th>护理措施</th>
176
+                      <th style="width: 50%;">健康宣教</th>
177
+                      <th style="width: 50%;">护理措施</th>
158 178
                     </tr>
159 179
                   </thead>
160
-                  <tbody>
161
-                    <tr>
162
-                      <td></td>
163
-                    </tr>
164
-                  </tbody>
180
+                  <tr>
181
+                    <td colspan="2" style="height: 40px;">
182
+                      <div style="width: 100%;height: 343px; overflow: auto;border: none;">
183
+                        <table class="table table2" border style="width: 100%;">
184
+                          <tr>
185
+                            <td>
186
+                              <div class="xiaojige">
187
+                                  <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;告知病人及家属病人有跌倒的危险</label>
188
+                              </div>
189
+                            </td>
190
+                            <td>
191
+                              <div class="xiaojige">
192
+                                  <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;在病人床头悬挂"防跌倒"、"防坠床"警示牌</label>
193
+                              </div>
194
+                            </td>
195
+                          </tr>
196
+                          <tr class="bg_color">
197
+                            <td>
198
+                              <div class="xiaojige">
199
+                                  <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
200
+                                    告知家属24小时陪伴,尤其在患者活动锻炼时,应有人陪伴,若离开请与值班护士联系</label>
201
+                              </div>
202
+                            </td>
203
+                            <td>
204
+                              <div class="xiaojige">
205
+                                  <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;呼叫器及用物放置病人易取处,教会使用呼叫器</label>
206
+                              </div>
207
+                            </td>
208
+                          </tr>
209
+                          <tr>
210
+                            <td>
211
+                              <div class="xiaojige">
212
+                                <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
213
+                                  告知病人及家属病人关于药物作用的注意事项
214
+                                </label>
215
+                              </div>
216
+                            </td>
217
+                            <td>
218
+                              <div class="xiaojige">
219
+                                <label><input type="checkbox" name="ball" value="volleyball" />
220
+                                  &nbsp;及时给予便器,床上(边)大小便
221
+                                </label>
222
+                              </div>
223
+                            </td>
224
+                          </tr>
225
+                          <tr class="bg_color">
226
+                            <td>
227
+                              <div class="xiaojige">
228
+                                  <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
229
+                                    穿合适的裤子,以免绊倒;穿防滑鞋</label>
230
+                              </div>
231
+                            </td>
232
+                            <td>
233
+                              <div class="xiaojige">
234
+                                <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;使用床档 </label>
235
+                                <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;使用约束带 </label>
236
+                                <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;使用助行器 </label>
237
+                              </div>
238
+                            </td>
239
+                          </tr>
240
+                          <tr>
241
+                            <td>
242
+                              <div class="xiaojige">
243
+                                <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
244
+                                  告知患者改变体位欲活动时应遵循“三步曲”,即平卧30秒→双腿下垂30秒→行走,避免突然改变体位,
245
+                                  引起体位性低血压,特别是夜间
246
+                                </label>
247
+                              </div>
248
+                            </td>
249
+                            <td>
250
+                              <div class="xiaojige">
251
+                                <label>
252
+                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;需要时协助病人上、下床  
253
+                                </label>
254
+                                <label>
255
+                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;协助病人如厕
256
+                                </label>
257
+                              </div>
258
+                            </td>
259
+                          </tr>
260
+                          <tr class="bg_color">
261
+                            <td>
262
+                              <div class="xiaojige">
263
+                                <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
264
+                                  如出现双眼发黑、下肢无力、行走不稳和不能移动时,立即原地坐/蹲下或靠墙,呼叫他人帮助
265
+                                </label>
266
+                              </div>
267
+                            </td>
268
+                            <td>
269
+                              <div class="xiaojige">
270
+                                <label>
271
+                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;避免地面积水、湿滑  
272
+                                </label>
273
+                                <label>
274
+                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;消除床旁及通道障碍
275
+                                </label>
276
+                              </div>
277
+                            </td>
278
+                          </tr>
279
+                          <tr>
280
+                            <td>
281
+                              <div class="xiaojige">
282
+                                <label>
283
+                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;指导病人使用病房及卫生间扶手
284
+                                </label><br>
285
+                                <label>
286
+                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;其他有关告知
287
+                                </label>
288
+                              </div>
289
+                            </td>
290
+                            <td>
291
+                              <div class="xiaojige">
292
+                                <label>
293
+                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;病床调至合适高度
294
+                                </label>
295
+                                <label>
296
+                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;及时锁上病床及轮椅的轮轴
297
+                                </label>
298
+                              </div>
299
+                            </td>
300
+                          </tr>
301
+                        </table>
302
+                      </div>
303
+                    </td> 
304
+                  </tr>        
305
+                  <tr>
306
+                    <td style="">
307
+                      <div class="jian">
308
+                        <el-button type="text" @click="add">+添加</el-button>
309
+                      </div>
310
+                      
311
+                    </td>
312
+                    <td style="">
313
+                      <div class="jian">
314
+                        <el-button type="text" @click="add">+添加</el-button>
315
+                      </div>
316
+                    </td>
317
+                  </tr>       
165 318
                 </table>
166 319
               </div>
167 320
 
@@ -184,10 +337,12 @@
184 337
                           <span>日期:</span>
185 338
                           <el-input v-model="input" style="width: 120px;"></el-input>
186 339
                         </div>
187
-                        <div style="display: inline-block;">
188
-                          <el-checkbox-group v-model="checkList">
189
-                            <el-checkbox v-for="item in touxidiedao" :label="item" :key="item"></el-checkbox>
190
-                          </el-checkbox-group>
340
+                        <div class="jiange" style="display: inline-block;">
341
+                          
342
+                          <span v-for="item in touxidiedao" class="rightjiange">
343
+                            <label><input type="checkbox" name="ball" value="volleyball" />&nbsp{{ item }}</label>
344
+                          </span>
345
+                       
191 346
                         </div>
192 347
                       </td>
193 348
                     </tr>
@@ -208,6 +363,25 @@
208 363
 
209 364
         </div>
210 365
       </div> 
366
+      <!-- 添加弹窗页面 -->
367
+      <el-dialog
368
+        title="添加"
369
+        :visible.sync="centerDialogVisible"
370
+        width="30%"
371
+        center>
372
+        <span>
373
+          <el-input
374
+            type="textarea"
375
+            :autosize="{ minRows: 4, maxRows: 6}"
376
+            placeholder="请输入需要添加的内容.."
377
+            v-model="textarea2">
378
+          </el-input>
379
+        </span>
380
+        <span slot="footer" class="dialog-footer">
381
+          <el-button @click="centerDialogVisible = false">取 消</el-button>
382
+          <el-button type="primary" @click="centerDialogVisible = false">确 定</el-button>
383
+        </span>
384
+      </el-dialog>
211 385
     </div>
212 386
   </template>
213 387
 
@@ -228,6 +402,7 @@
228 402
           input:'',
229 403
           options:[],
230 404
           checkList:[],
405
+          nianlin:['≥65岁(1分)','<5(1分)'],
231 406
           jiwnag:['有跌倒史(2分)','有坠床史(2分)','晕厥(2分)','低血压(2分)'],
232 407
           yishizt:['烦躁(4分)','谵妄(3分)','嗜睡(2分)','模糊(2分)','痴呆(2分)','昏迷(1分)'],
233 408
           ganguan:['头晕(4分)','视觉障碍(2分)','听力障碍(2分)'],
@@ -237,6 +412,9 @@
237 412
           zilinl:['无(4分)','部分(3分)'],
238 413
           xiaoguo:['未发生跌倒','发生跌倒','发生坠床'],
239 414
           touxidiedao:['发生跌倒','发生坠床'],
415
+
416
+          centerDialogVisible:false,
417
+          textarea2:'',
240 418
         }
241 419
         
242 420
       },
@@ -245,6 +423,9 @@
245 423
 
246 424
       },
247 425
       methods: {
426
+        add(){
427
+          this.centerDialogVisible =true
428
+        }
248 429
       }
249 430
     }
250 431
   </script>
@@ -281,7 +462,13 @@
281 462
         }
282 463
         .jiange{
283 464
             margin-left: 20px;
284
-            color: black;
465
+            // color: black;
466
+        }
467
+        .xiaojige{
468
+          margin-left: 10px;
469
+        }
470
+        .rightjiange{
471
+          margin-right: 40px;
285 472
         }
286 473
         input{
287 474
             -webkit-appearance: checkbox;
@@ -297,7 +484,19 @@
297 484
       color: #0077ff9f;
298 485
       // background-color: '#409eff';
299 486
     }
300
-    
487
+    ::-webkit-scrollbar {
488
+        width: 5px;
489
+    }
490
+    ::-webkit-scrollbar-track {
491
+        /*background black*/
492
+        border-radius: 5px;
493
+        background-color: white;
494
+    }
495
+    .table2 tr td{
496
+      width: 50%;
497
+      height: 40px;
498
+      padding: 5px;
499
+    }
301 500
 
302 501
   </style>
303 502
   

+ 14 - 12
src/xt_pages/user/inspection.vue View File

@@ -168,18 +168,20 @@
168 168
               <template v-for="(item, index) in items">
169 169
                 <el-col :span="7" :key="index">
170 170
                   <div style=" margin: 5px;">
171
-                    <el-row>
172
-                      <el-col :span="8" style="width: 100%;height: 100%;" >
173
-                        <div @click="imgClicks(item.value)">
174
-                          <el-tooltip
175
-                            class="item"
176
-                            effect="dark"
177
-                            :hide-after="2000"
178
-                            content="点击查看大图"
179
-                            placement="top-start"
180
-                            >
181
-                              <img :src="item.value" alt="">
182
-                            </el-tooltip>
171
+                    <el-row :gutter="20">
172
+                      <el-col :span="8" style="width: 100%;height: 150px;">
173
+                        <div style="width: 100%;height: 150px;" >
174
+                          <div @click="imgClicks(item.value)">
175
+                            <el-tooltip
176
+                              class="item"
177
+                              effect="dark"
178
+                              :hide-after="2000"
179
+                              content="点击查看大图"
180
+                              placement="top-start"
181
+                              >
182
+                                <img style="width: 300px;height: 150px;" :src="item.value" alt="">
183
+                              </el-tooltip>
184
+                          </div>
183 185
                         </div>
184 186
                       </el-col>
185 187
                     </el-row>

+ 2 - 3
src/xt_pages/workforce/scheduleTablePrint.vue View File

@@ -225,11 +225,10 @@
225 225
                     </span>
226 226
                 </td>
227 227
                 <td style="min-width:180px;" v-if="$route.query.week_date =='周二'">
228
-                    <span v-if="item.Tue_M.patient_id">
229
-                        
228
+                    <p v-if="item.Tue_M.patient_id">
230 229
                         <span>{{ item.Tue_M.patient }}</span>
231 230
                         <span>{{ item.Tue_M.mode_name }}</span>
232
-                    </span>
231
+                    </p>
233 232
                 </td>
234 233
                 <td style="min-width:180px;" v-if="$route.query.week_date =='周二'">
235 234
                     <span v-if="item.Tue_A.patient_id ">