Browse Source

Merge branch '20200710_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20200710_pc_vue_new_branch

XMLWAN 4 years ago
parent
commit
f2fab43f09

+ 5 - 4
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue View File

@@ -21,9 +21,7 @@
21 21
         >下一方
22 22
         </el-button>
23 23
       </div>
24
-      <div class="txsj">
25
-        {{getContent()}}
26
-      </div>
24
+      
27 25
 
28 26
       <!--<el-table-->
29 27
       <!--:header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"-->
@@ -80,6 +78,9 @@
80 78
         </el-row>
81 79
 
82 80
       </el-form>
81
+      <div style='margin-bottom:20px;'>
82
+        {{getContent()}}
83
+      </div>
83 84
 
84 85
       <el-table
85 86
         :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
@@ -159,7 +160,7 @@
159 160
 
160 161
       <div slot="footer" class="dialog-footer">
161 162
         <el-button @click="isLastOrNextVisible = false">取 消</el-button>
162
-        <el-button type="primary" @click="AddNewAdvice('adForm')">设为本次透析临嘱</el-button>
163
+        <el-button type="primary" @click="AddNewAdvice('adForm')">设为本次临嘱</el-button>
163 164
       </div>
164 165
     </el-dialog>
165 166
 

+ 2 - 3
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -777,15 +777,14 @@
777 777
       :modal-append-to-body="false"
778 778
       :append-to-body="true"
779 779
     >
780
-      <div style="font-size:0.6rem;padding-left:0.38rem;margin-top:0.2rem;">
781
-        <span style="font-weight: bold;color: #409eff;">开始时间:</span>
780
+      <div style='display:flex;align-items:center;'>
781
+        <span style="font-weight: bold;color: #409eff;width:80px;">开始时间:</span>
782 782
         <el-date-picker
783 783
           type="datetime"
784 784
           format="yyyy-MM-dd HH:mm"
785 785
           value-format="yyyy-MM-dd HH:mm"
786 786
           placeholder="选择时间"
787 787
           v-model="start_time"
788
-          style="width:100%;"
789 788
         ></el-date-picker>
790 789
 
791 790
         <!--<span style="display: inline-block;border: 1px solid #ccc;padding: 10px 20px;border-radius: 5px;" @click="changeStartTime">{{ advice_start_time }}</span>-->

+ 10 - 10
src/xt_pages/dialysis/details/dialog/doubleCheckDialog.vue View File

@@ -44,7 +44,7 @@
44 44
     </el-form>
45 45
 
46 46
     <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="120px">
47
-      <el-form-item label="第一核对时间:">
47
+      <el-form-item label="第一核对时间:">
48 48
         <el-time-picker
49 49
           v-model="first_check_time"
50 50
           format='HH:mm'
@@ -53,7 +53,7 @@
53 53
         </el-time-picker>
54 54
       </el-form-item>
55 55
 
56
-      <el-form-item label="第一核对人">
56
+      <el-form-item label="第一核对人">
57 57
         <el-select v-model="doubleReview.creater" placeholder="请选择核对人">
58 58
           <el-option v-for="(admin, index) in admin_users" :key="index" :value="admin.id"
59 59
                      :label="admin.name"></el-option>
@@ -61,7 +61,7 @@
61 61
       </el-form-item>
62 62
 
63 63
 
64
-      <el-form-item label="第二核对时间:">
64
+      <el-form-item label="第二核对时间:">
65 65
         <el-time-picker
66 66
           v-model="check_time"
67 67
           format='HH:mm'
@@ -70,7 +70,7 @@
70 70
         </el-time-picker>
71 71
       </el-form-item>
72 72
 
73
-      <el-form-item label="第二核对人">
73
+      <el-form-item label="第二核对人">
74 74
         <el-select v-model="doubleReview.modifier" placeholder="请选择核对人">
75 75
           <el-option v-for="(admin, index) in admin_users" :key="index" :value="admin.id"
76 76
                      :label="admin.name"></el-option>
@@ -268,7 +268,7 @@
268 268
             for (let index = 0; index < leng; index++) {
269 269
               if (this.admin_users[index].id == this.doubleReview.creater) {
270 270
                 let name = this.admin_users[index].name
271
-                desc = '首次核对人员:' + name + ' 首次核对时间:' + time
271
+                desc = '第一核对人员:' + name + ' 第一核对时间:' + time
272 272
 
273 273
                 break
274 274
               }
@@ -299,7 +299,7 @@
299 299
             for (let index = 0; index < leng; index++) {
300 300
               if (this.admin_users[index].id == this.doubleReview.modifier) {
301 301
                 let name = this.admin_users[index].name
302
-                desc = '首次核对人员:' + name + ' 首次核对时间:' + time
302
+                desc = '第一核对人员:' + name + ' 第一核对时间:' + time
303 303
 
304 304
                 break
305 305
               }
@@ -331,7 +331,7 @@
331 331
           for (let index = 0; index < leng; index++) {
332 332
             if (this.admin_users[index].id == this.doubleReview.creater) {
333 333
               let name = this.admin_users[index].name
334
-              desc = '首次核对人员:' + name + ' 首次核对时间:' + time
334
+              desc = '第一核对人员:' + name + ' 第一核对时间:' + time
335 335
 
336 336
               break
337 337
             }
@@ -366,7 +366,7 @@
366 366
             for (let index = 0; index < leng; index++) {
367 367
               if (this.admin_users[index].id == this.doubleReview.modifier) {
368 368
                 let name = this.admin_users[index].name
369
-                desc = '第二核对人员:' + name + ' 第二核对时间:' + time
369
+                desc = '第二核对人员:' + name + ' 第二核对时间:' + time
370 370
                 break
371 371
               }
372 372
             }
@@ -393,7 +393,7 @@
393 393
             for (let index = 0; index < leng; index++) {
394 394
               if (this.admin_users[index].id == this.doubleReview.creater) {
395 395
                 let name = this.admin_users[index].name
396
-                desc = '第二核对人员:' + name + ' 第二核对时间:' + time
396
+                desc = '第二核对人员:' + name + ' 第二核对时间:' + time
397 397
                 break
398 398
               }
399 399
             }
@@ -421,7 +421,7 @@
421 421
           for (let index = 0; index < leng; index++) {
422 422
             if (this.admin_users[index].id == this.doubleReview.modifier) {
423 423
               let name = this.admin_users[index].name
424
-              desc = '第二核对人员:' + name + ' 第二核对时间:' + time
424
+              desc = '第二核对人员:' + name + ' 第二核对时间:' + time
425 425
               break
426 426
             }
427 427
           }

+ 77 - 72
src/xt_pages/medicalScheduling/schedulingStatistics.vue View File

@@ -89,7 +89,7 @@
89 89
                 <line-chart :options="chart"></line-chart>
90 90
             </div>
91 91
             <div class="tableTitle">统计表</div>
92
-            <el-table class='statisticsTable' :data="tableData" height="250" border ref="tab">
92
+            <el-table class='statisticsTable' :data="tableData" height="250" border ref="tab" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}" :row-style="{ color: '#303133' }">
93 93
                 <el-table-column fixed align="center" prop="date" label="医护姓名" width="100">
94 94
                     <template slot-scope="scope">
95 95
                         <span>{{scope.row.user_name}}</span>
@@ -656,84 +656,89 @@ export default {
656 656
 
657 657
             //      this.getArrLength(this.chart.xAxis.data)
658 658
                 let tempArr = [], newArr = []
659
-                    for (let i = 0; i < scheudleTotal.length; i++) {
660
-                        if (tempArr.indexOf(scheudleTotal[i].user_name) === -1) {
661
-                            newArr.push({
662
-                                user_name: scheudleTotal[i].user_name,
663
-                                doctor_id:scheudleTotal[i].doctor_id,
664
-                                list: [{class_name:scheudleTotal[i].class_name,doctor_id:scheudleTotal[i].doctor_id,Count:scheudleTotal[i].Count}]
665
-                            })
666
-                            tempArr.push(scheudleTotal[i].user_name);
667
-                        } else {
668
-                            for (let j = 0; j < newArr.length; j++) {
669
-                                if (newArr[j].user_name == scheudleTotal[i].user_name) {
670
-                                    newArr[j].list.push({class_name:scheudleTotal[i].class_name,doctor_id:scheudleTotal[i].doctor_id,Count:scheudleTotal[i].Count})
671
-                                }
659
+                for (let i = 0; i < scheudleTotal.length; i++) {
660
+                    if (tempArr.indexOf(scheudleTotal[i].user_name) === -1) {
661
+                        newArr.push({
662
+                            user_name: scheudleTotal[i].user_name,
663
+                            doctor_id:scheudleTotal[i].doctor_id,
664
+                            list: [{class_name:scheudleTotal[i].class_name,doctor_id:scheudleTotal[i].doctor_id,Count:scheudleTotal[i].Count}]
665
+                        })
666
+                        tempArr.push(scheudleTotal[i].user_name);
667
+                    } else {
668
+                        for (let j = 0; j < newArr.length; j++) {
669
+                            if (newArr[j].user_name == scheudleTotal[i].user_name) {
670
+                                newArr[j].list.push({class_name:scheudleTotal[i].class_name,doctor_id:scheudleTotal[i].doctor_id,Count:scheudleTotal[i].Count})
672 671
                             }
673 672
                         }
674 673
                     }
674
+                }
675 675
 
676
-                    newArr.map(item => {
677
-                        list.map(it => {
678
-                            if(item.doctor_id == it.doctor_id){
679
-                                item.totalminute = it.totalminute
680
-                            }
681
-                        })
676
+                newArr.map(item => {
677
+                    list.map(it => {
678
+                        if(item.doctor_id == it.doctor_id){
679
+                            item.totalminute = it.totalminute
680
+                        }
682 681
                     })
683
-                    newArr.map(item => {
684
-                        workday.map(it => {
685
-                            if(item.doctor_id == it.doctor_id){
686
-                                item.attendance = it.Count
687
-                            }
688
-                        })
682
+                })
683
+                newArr.map(item => {
684
+                    workday.map(it => {
685
+                        if(item.doctor_id == it.doctor_id){
686
+                            item.attendance = it.Count
687
+                        }
689 688
                     })
690
-                    newArr.map(item => {
691
-                        noWorkDay.map(it => {
692
-                            if(item.doctor_id == it.doctor_id){
693
-                                item.absence = it.Count
694
-                            }
695
-                        })
689
+                })
690
+                newArr.map(item => {
691
+                    noWorkDay.map(it => {
692
+                        if(item.doctor_id == it.doctor_id){
693
+                            item.absence = it.Count
694
+                        }
696 695
                     })
697
-
698
-                    let arr = [...newArr]
699
-                    if(val == 0){
700
-                        arr.sort(this.compare('doctor_id'))
701
-                        this.doctorlist.sort(this.compare('admin_user_id'))
702
-                        this.doctorlist.forEach((item, index) => {
703
-                          if (arr[index] && item.admin_user_id == arr[index].doctor_id) {
704
-
705
-                          }else{
706
-                            arr.splice(index, 0, {user_name: item.user_name, doctor_id: item.admin_user_id, list: []})
707
-                          }
708
-                        })
709
-
710
-                        this.tableData = arr
711
-                    }else if(val == 2){
712
-                        arr.sort(this.compare('doctor_id'))
713
-                        this.doctorArr.sort(this.compare('admin_user_id'))
714
-                        this.doctorArr.forEach((item, index) => {
715
-                          if (arr[index] && item.admin_user_id == arr[index].doctor_id) {
716
-
717
-                          }else{
718
-                            arr.splice(index, 0, {user_name: item.user_name, doctor_id: item.admin_user_id, list: []})
719
-                          }
720
-                        })
721
-                       this.tableData = arr
722
-                    }else if(val == 3){
723
-                        arr.sort(this.compare('doctor_id'))
724
-                        this.nurseArr.sort(this.compare('admin_user_id'))
725
-                        this.nurseArr.forEach((item, index) => {
726
-                          if (arr[index] && item.admin_user_id == arr[index].doctor_id) {
727
-
728
-                          }else{
729
-                            arr.splice(index, 0, {user_name: item.user_name, doctor_id: item.admin_user_id, list: []})
730
-                          }
731
-                        })
732
-                        this.tableData = arr
733
-                        this.$nextTick(() => {
734
-                          this.$refs.tab.doLayout()
735
-                        })
736
-                    }
696
+                })
697
+                
698
+                let arr = [...newArr]
699
+                if(val == 0){
700
+                    arr.sort(this.compare('doctor_id'))
701
+                    this.doctorlist.sort(this.compare('admin_user_id'))
702
+                    this.doctorlist.forEach((item, index) => {
703
+                      if (arr[index] && item.admin_user_id == arr[index].doctor_id) {
704
+                    
705
+                      }else{
706
+                        arr.splice(index, 0, {user_name: item.user_name, doctor_id: item.admin_user_id, list: []})
707
+                      }
708
+                    })
709
+                    this.tableData = arr
710
+                    this.$nextTick(() => {
711
+                        this.$refs.tab.doLayout()
712
+                    }) 
713
+                }else if(val == 2){
714
+                    arr.sort(this.compare('doctor_id'))
715
+                    this.doctorArr.sort(this.compare('admin_user_id'))
716
+                    this.doctorArr.forEach((item, index) => {
717
+                      if (arr[index] && item.admin_user_id == arr[index].doctor_id) {
718
+                    
719
+                      }else{
720
+                        arr.splice(index, 0, {user_name: item.user_name, doctor_id: item.admin_user_id, list: []})
721
+                      }
722
+                    })
723
+                    this.tableData = arr
724
+                    this.$nextTick(() => {
725
+                        this.$refs.tab.doLayout()
726
+                    }) 
727
+                }else if(val == 3){
728
+                    arr.sort(this.compare('doctor_id'))
729
+                    this.nurseArr.sort(this.compare('admin_user_id'))
730
+                    this.nurseArr.forEach((item, index) => {
731
+                      if (arr[index] && item.admin_user_id == arr[index].doctor_id) {
732
+                    
733
+                      }else{
734
+                        arr.splice(index, 0, {user_name: item.user_name, doctor_id: item.admin_user_id, list: []})
735
+                      }
736
+                    })
737
+                    this.tableData = arr
738
+                    this.$nextTick(() => {
739
+                        this.$refs.tab.doLayout()
740
+                    }) 
741
+                }   
737 742
               }
738 743
             })
739 744
         },