28169 8 månader sedan
förälder
incheckning
fe72814a49

+ 26 - 0
src/api/doctorSchedule.js Visa fil

@@ -180,4 +180,30 @@ export function DeleteStaffScheduleById(id,params){
180 180
     methods:"get",
181 181
     params:params
182 182
   })
183
+}
184
+
185
+export function saveStafScheduleRemark(params){
186
+  return request({
187
+    url:"/api/staff/savescheduleremark",
188
+    methods:"get",
189
+    params:params,
190
+  })
191
+}
192
+
193
+export function changeStaffRmark(params){
194
+
195
+  return request({
196
+    url:"/api/staff/changestaffremark",
197
+    methods:"Get",
198
+    params:params,
199
+  })
200
+}
201
+
202
+export function getStaffScheduleRemarkList(params){
203
+ 
204
+  return request({
205
+    url:"/api/staff/getstaffscheduleremarklist",
206
+    methods:"get",
207
+    params:params,
208
+  })
183 209
 }

+ 13 - 13
src/xt_pages/dialysis/batch_print/batch_print_order_seventyfive.vue Visa fil

@@ -156,7 +156,7 @@
156 156
                 <span v-if="record.dialysis_order.dialysis_strainer!='' && record.dialysis_order.dialysis_strainer!=0"> /{{ record.dialysis_order.dialysis_strainer ?  record.dialysis_order.dialysis_strainer : ""}}</span>
157 157
                 </div>
158 158
               </div>
159
-              
159
+
160 160
             </div>
161 161
             <!-- 治疗方式 -->
162 162
             <div class="row" style="display: flex;">
@@ -516,10 +516,10 @@
516 516
                   style="width: 100px; text-align: center"
517 517
                 >
518 518
                   <span v-if="record.assessment_before_dislysis.systolic_blood_pressure !='' &&  record.assessment_before_dislysis.diastolic_blood_pressure !=''">
519
-                      {{ record.assessment_before_dislysis.systolic_blood_pressure ? 
520
-                         record.assessment_before_dislysis.systolic_blood_pressure : ""}} 
519
+                      {{ record.assessment_before_dislysis.systolic_blood_pressure ?
520
+                         record.assessment_before_dislysis.systolic_blood_pressure : ""}}
521 521
                         /
522
-                      {{ record.assessment_before_dislysis.diastolic_blood_pressure ? 
522
+                      {{ record.assessment_before_dislysis.diastolic_blood_pressure ?
523 523
                          record.assessment_before_dislysis.diastolic_blood_pressure : ""}}
524 524
                   </span>
525 525
                   <span v-else>未测</span>
@@ -553,7 +553,7 @@
553 553
                 </div>
554 554
                 kg
555 555
               </div>
556
-              
556
+
557 557
             </div>
558 558
             <!-- 医嘱脱水量 -->
559 559
             <div class="row" style="display: flex;">
@@ -572,7 +572,7 @@
572 572
                 <div
573 573
                   class="under_line"
574 574
                   style="width: 80px; text-align: center"
575
-                > 
575
+                >
576 576
                 <span style="height: 30px;display: inline-block;"></span>
577 577
                   {{ record.prescription.dialysis_duration_hour?record.prescription.dialysis_duration_hour:'0'}} h
578 578
                   {{ record.prescription.dialysis_duration_minute?record.prescription.dialysis_duration_minute:'0' }}min
@@ -824,10 +824,10 @@
824 824
                       {{monitor_record.diastolic_blood_pressure ? monitor_record.diastolic_blood_pressure : "未测"}}
825 825
                     </span>
826 826
                     <span v-else>未测</span> -->
827
-                    {{monitor_record.monitor_systolic_blood_pressure_one ? monitor_record.monitor_systolic_blood_pressure_one : "未测"}} 
827
+                    {{monitor_record.monitor_systolic_blood_pressure_one ? monitor_record.monitor_systolic_blood_pressure_one : "未测"}}
828 828
                     <span v-if="monitor_record.monitor_systolic_blood_pressure_one!=''&&monitor_record.monitor_systolic_blood_pressure_one>0">/{{monitor_record.monitor_diastolic_blood_pressure_one ? monitor_record.monitor_diastolic_blood_pressure_one : "未测"}} </span>
829 829
                   </td>
830
-                  <td width="50">{{ monitor_record.pulse_frequency_one ? monitor_record.pulse_frequency_one : "未测" }}</td>
830
+                  <td width="50">{{ monitor_record.monitor_pulse_frequency_one ? monitor_record.monitor_pulse_frequency_one : "未测" }}</td>
831 831
                   <td width="50">{{monitor_record.arterial_pressure_one ? monitor_record.arterial_pressure_one: "/"}}</td>
832 832
                   <td width="50">{{monitor_record.venous_pressure_one ? monitor_record.venous_pressure_one : "/"}}</td>
833 833
                   <td width="50">{{monitor_record.transmembrane_pressure_one ? monitor_record.transmembrane_pressure_one : "/"}}</td>
@@ -845,7 +845,7 @@
845 845
                     </span>  -->
846 846
 
847 847
                     {{ monitor_record.ultrafiltration_rate_one?monitor_record.ultrafiltration_rate_one:"/" }}
848
-                    
848
+
849 849
                   </td>
850 850
                   <td width="50">
851 851
                     <!-- <span v-if="j == 0">
@@ -859,7 +859,7 @@
859 859
                     </span>  -->
860 860
 
861 861
                     {{ monitor_record.ultrafiltration_volume_one?monitor_record.ultrafiltration_volume_one:"/" }}
862
-                    
862
+
863 863
                   </td>
864 864
 
865 865
                   <td width="65">
@@ -874,7 +874,7 @@
874 874
                     </span>  -->
875 875
 
876 876
                     {{ monitor_record.heparin_one?monitor_record.heparin_one:"/" }}
877
-                    
877
+
878 878
                   </td>
879 879
                   <td width="200">
880 880
                     <template
@@ -963,7 +963,7 @@
963 963
               </div>
964 964
               <div class="inline_block" style="flex: 1">
965 965
                 核对人员:
966
-               
966
+
967 967
                 <div
968 968
                   class="under_line"
969 969
                   style="width: 80px; text-align: center"
@@ -1190,7 +1190,7 @@
1190 1190
                   {{ record.summer&&record.summer.dialysis_summary.length>0 ? record.summer.dialysis_summary : ""}}
1191 1191
                 </span>
1192 1192
               </div>
1193
-             
1193
+
1194 1194
             </div>
1195 1195
             <div style="height: 20px;text-align: right;padding-right:30%;">
1196 1196
               医生签名:

+ 7 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight.vue Visa fil

@@ -2323,11 +2323,17 @@
2323 2323
                           class="under_line"
2324 2324
                           style="width: 70px; text-align: center"
2325 2325
                         >
2326
-                          {{
2326
+                          <!-- {{
2327 2327
                             record.assessment_after_dislysis &&
2328 2328
                             record.assessment_after_dislysis.weight_loss
2329 2329
                               ? record.assessment_after_dislysis.weight_loss
2330 2330
                               : "/"
2331
+                          }} -->
2332
+                          {{
2333
+                            record.assessment_after_dislysis &&
2334
+                            (record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after).toFixed(2)
2335
+                              ?(record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after).toFixed(2)
2336
+                              : "/"
2331 2337
                           }}
2332 2338
                         </div>
2333 2339
                         kg

+ 10 - 1
src/xt_pages/dialysis/bloodPresssWatch.vue Visa fil

@@ -670,10 +670,14 @@
670 670
           width="100"
671 671
         ></el-table-column>
672 672
 
673
-        <el-table-column label="透前血压(kg)" align="center" width="120" prop="pressure_name">
673
+        <el-table-column label="透前血压(mmHg)" align="center" width="130" prop="pressure_name">
674 674
 
675 675
         </el-table-column>
676 676
 
677
+        <el-table-column label="透后血压(mmHg)" align="center" width="130" prop="after_pressure_name">
678
+
679
+       </el-table-column>
680
+
677 681
         <el-table-column
678 682
           prop="dry_weight"
679 683
           label="干体重(kg)"
@@ -2472,6 +2476,11 @@ export default {
2472 2476
                }
2473 2477
               }
2474 2478
 
2479
+              if (response.data.data.schedule[i].assessment_after_dislysis != null) {
2480
+                SchedualPatientsTable["after_pressure_name"] =response.data.data.schedule[i].assessment_after_dislysis.systolic_blood_pressure+"/"+ response.data.data.schedule[i].assessment_after_dislysis.diastolic_blood_pressure;
2481
+              }
2482
+
2483
+
2475 2484
 
2476 2485
               this.SchedualPatientsTableData.push(SchedualPatientsTable);
2477 2486
               // console.log("wode数据",(-100).toString())

+ 1 - 1
src/xt_pages/dialysis/details/assessmentAfter.vue Visa fil

@@ -40,7 +40,7 @@
40 40
         <li v-if="isShow('实际置换量')">
41 41
           <label>实际置换量 : </label>
42 42
           <span class="content">{{ actual_displacement }}</span>
43
-          <span class="unit" v-if="this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21">ml</span>
43
+          <span class="unit" v-if="this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 78 ">ml</span>
44 44
           <span class="unit" v-else>L</span>
45 45
         </li>
46 46
         <li v-if="isShow('压迫后内瘘震颤')">

+ 19 - 3
src/xt_pages/dialysis/details/consumable/dialysisGood.vue Visa fil

@@ -75,7 +75,8 @@
75 75
         </el-table-column>
76 76
         <el-table-column  align="center"  width="100" label="透析机号">
77 77
          <template slot-scope="scope">
78
-             {{scope.row.device_number.zone.name}}  {{scope.row.device_number.number}}
78
+            <span v-if="org_id!=0&&org_id!=10702">{{scope.row.device_number.zone.name}} </span>  
79
+            {{scope.row.device_number.number}}
79 80
            </template>
80 81
         </el-table-column>
81 82
         <el-table-column  align="center"  width="80" label="姓名">
@@ -659,7 +660,15 @@
659 660
         getPatientDialysisSolutionGroupList(this.query).then(response=>{
660 661
            if(response.data.state == 1){
661 662
              var list = response.data.data.list
662
-
663
+             console.log("list================",list)
664
+             if(list!=null &&list.length>0){
665
+                for(let i=0;i<list.length;i++){
666
+                  list[i].sort = 0
667
+                  list[i].sort = list[i].device_number.sort
668
+                }
669
+      
670
+              }
671
+             list.sort(this.compare('sort'))
663 672
              var total = response.data.data.total
664 673
              this.total = total
665 674
              var goodType = response.data.data.goodType
@@ -2177,7 +2186,14 @@
2177 2186
           this.$message.success("更新成功!")
2178 2187
         }
2179 2188
       })
2180
-    }
2189
+    },
2190
+    compare(p) { //这是比较函数
2191
+        return function (m, n) {
2192
+          var a = m[p];
2193
+          var b = n[p];
2194
+          return a - b; //升序
2195
+        }
2196
+    },
2181 2197
    }
2182 2198
   }
2183 2199
 </script>

+ 24 - 3
src/xt_pages/dialysis/details/consumable/dialysisGoodPrint.vue Visa fil

@@ -37,7 +37,10 @@
37 37
               <tbody>
38 38
                <tr v-for="(item,i) in tableData" :key="i">
39 39
                 <td>{{i+1}}</td>
40
-                <td> {{item.device_number.zone.name}} {{item.device_number.number}}</td>
40
+                <td>
41
+                  <span v-if="org_id!=0&&org_id!=10702"> {{item.device_number.zone.name}} </span>
42
+                   {{item.device_number.number}}
43
+                  </td>
41 44
                  <td>{{item.patient.name}}</td>
42 45
                 <td>{{item.patient.dialysis_no}}</td>
43 46
                 <td v-for="(it,index) in rowList" :key="index">
@@ -70,7 +73,9 @@
70 73
               <tbody>
71 74
                <tr v-for="(item,i) in tableData" :key="i">
72 75
                 <td>{{i+1}}</td>
73
-                <td> {{item.device_number.zone.name}} {{item.device_number.number}}</td>
76
+                <td> <span v-if="org_id!=0&&org_id!=10702">{{item.device_number.zone.name}} </span>
77
+                   {{item.device_number.number}}
78
+                  </td>
74 79
                  <td>{{item.patient.name}}</td>
75 80
                 <td>{{item.patient.dialysis_no}}</td>
76 81
                 <td v-for="(it,index) in typeList" :key="index">
@@ -128,12 +133,14 @@
128 133
         displace_liqui_part_option:[],
129 134
         blood_access_option:[],
130 135
         hemodialysisPipelinesOptions:[],
136
+        org_id:0
131 137
       }
132 138
     },
133 139
     components: {
134 140
       BreadCrumb
135 141
     },
136 142
     created() {
143
+      this.org_id = this.$store.getters.xt_user.org.id
137 144
        this.dialysate_formulation =  getDataConfig(  
138 145
             'hemodialysis',
139 146
             'dialysate_formulation'
@@ -165,7 +172,14 @@
165 172
       getPatientDialysisSolutionGroupList(params).then(response=>{
166 173
         if(response.data.state == 1){
167 174
             var list = response.data.data.list
168
-            
175
+            if(list!=null &&list.length>0){
176
+                for(let i=0;i<list.length;i++){
177
+                  list[i].sort = 0
178
+                  list[i].sort = list[i].device_number.sort
179
+                }
180
+      
181
+              }
182
+            list.sort(this.compare('sort'))
169 183
             var total = response.data.data.total
170 184
             this.total = total
171 185
             var goodType = response.data.data.goodType
@@ -621,6 +635,13 @@
621 635
       }
622 636
       return name
623 637
     },
638
+    compare(p) { //这是比较函数
639
+        return function (m, n) {
640
+          var a = m[p];
641
+          var b = n[p];
642
+          return a - b; //升序
643
+        }
644
+    },
624 645
     }
625 646
   }
626 647
 </script>

+ 1 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Visa fil

@@ -453,7 +453,7 @@
453 453
         <el-row :gutter="20"> -->
454 454
 
455 455
         <el-col :span="8" v-if="isShow('实际置换量')">
456
-          <el-form-item v-if="this.template_id == 20 || this.template_id == 21" label="实际置换量(ml): " :prop="isName('实际置换量')" :rules="isCheckmust('实际置换量')">
456
+          <el-form-item v-if="this.template_id == 20 || this.template_id == 21 || this.org_id ==10702" label="实际置换量(ml): " :prop="isName('实际置换量')" :rules="isCheckmust('实际置换量')">
457 457
             <el-input v-model="form.actual_displacement"></el-input>
458 458
           </el-form-item>
459 459
           <el-form-item v-else label="实际置换量(L): " :prop="isName('实际置换量')" :rules="isCheckmust('实际置换量')">

+ 1 - 1
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue Visa fil

@@ -1749,7 +1749,7 @@ export default {
1749 1749
           }
1750 1750
       }
1751 1751
 
1752
-      if(this.$store.getters.xt_user.org.id == 10579  || this.$store.getters.xt_user.org.id == 10585 || this.$store.getters.xt_user.org.id == 10587 || this.$store.getters.xt_user.org.id == 10597 || this.$store.getters.xt_user.org.id == 10551 || this.$store.getters.xt_user.org.id == 10679 || this.$store.getters.xt_user.org.id == 10693 ||  this.$store.getters.xt_user.org.id == 10694){
1752
+      if(this.$store.getters.xt_user.org.id == 10579  || this.$store.getters.xt_user.org.id == 10585 || this.$store.getters.xt_user.org.id == 10587 || this.$store.getters.xt_user.org.id == 10597 || this.$store.getters.xt_user.org.id == 10551 || this.$store.getters.xt_user.org.id == 10679 || this.$store.getters.xt_user.org.id == 10693 ||  this.$store.getters.xt_user.org.id == 10694 || this.$store.getters.xt_user.org.id == 10702){
1753 1753
         var date = new Date()
1754 1754
           var year = date.getFullYear()
1755 1755
           var month = date.getMonth() + 1

+ 24 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Visa fil

@@ -2950,6 +2950,28 @@ mu
2950 2950
             var hours = date.getHours()
2951 2951
             var minites = date.getMinutes()
2952 2952
 
2953
+            if (month < 10) {
2954
+              month = '0' + month
2955
+            }
2956
+            if (day < 10) {
2957
+              day = '0' + day
2958
+            }
2959
+            if (hours < 10) {
2960
+              hours = '0' + hours
2961
+            }
2962
+            if (minites < 10) {
2963
+              minites = '0' + minites
2964
+            }
2965
+            this.start_time = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
2966
+           }else if (this.$store.getters.xt_user.org.id == 10702){
2967
+            var date = new Date()
2968
+            var year = date.getFullYear()
2969
+            var month = date.getMonth() + 1
2970
+            var day = date.getDate()
2971
+
2972
+            var hours = date.getHours()
2973
+            var minites = date.getMinutes()
2974
+
2953 2975
             if (month < 10) {
2954 2976
               month = '0' + month
2955 2977
             }
@@ -5413,11 +5435,11 @@ mu
5413 5435
         if(this.$store.getters.xt_user.template_info.org_id==10702){
5414 5436
           if(this.predialysis!=undefined){
5415 5437
           if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
5416
-            this.dialysisPrescription.target_ultrafiltration = this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight
5438
+            this.dialysisPrescription.target_ultrafiltration = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)
5417 5439
           }
5418 5440
           console.log("hahhahahahhah",this.dialysisPrescription.prescription_water)
5419 5441
           if(this.dialysisPrescription.prescription_water==0 || this.dialysisPrescription.prescription_water==""){
5420
-            this.dialysisPrescription.prescription_water = this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight
5442
+            this.dialysisPrescription.prescription_water = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)
5421 5443
           }
5422 5444
         }
5423 5445
         }

+ 32 - 2
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Visa fil

@@ -1522,13 +1522,13 @@
1522 1522
               >
1523 1523
             </el-form-item>
1524 1524
           </el-col>
1525
-
1525
+<!-- 
1526 1526
           <el-col :span="8" v-if="isShow('血流量')">
1527 1527
             <el-form-item label="血流量(ml/min):" :prop="isName('血流量')"
1528 1528
               :rules="isCheckmust('血流量')">
1529 1529
               <el-input v-model="form.blood_flow_volume"></el-input>
1530 1530
             </el-form-item>
1531
-          </el-col>
1531
+          </el-col> -->
1532 1532
 
1533 1533
           <el-col :span="8" v-if="isShow('动脉压1')">
1534 1534
             <el-form-item
@@ -3083,6 +3083,36 @@ export default {
3083 3083
         this.form.dehydration = "";
3084 3084
         this.form.heparin_amount = "";
3085 3085
         this.form.filter_pressure =""
3086
+        this.form.ultrafiltration_rate_one = ""
3087
+        this.form.heparin_one = ""
3088
+        this.form.monitor_systolic_blood_pressure_one = ""
3089
+        this.form.monitor_diastolic_blood_pressure_one = ""
3090
+        this.form.monitor_pulse_frequency_one = ""
3091
+        this.form.blood_flow_volume_one = "",
3092
+        this.form.venous_pressure_one = ""
3093
+        this.form.arterial_pressure_one = ""
3094
+        this.form.transmembrane_pressure_one = ""
3095
+        this.form.ultrafiltration_volume_one = ""
3096
+        this.form.sodium_concentration_one =""
3097
+        this.form.dialysate_temperature_one=""
3098
+        this.form.replacement_rate_one  = ""
3099
+        this.form.displacement_quantity_one = ""
3100
+        this.form.ktv_one = ""
3101
+        this.form.urr_one = ""
3102
+        this.form.conductivity_one= ""
3103
+        this.form.displacement_flow_quantity_one=""
3104
+        this.form.blood_oxygen_saturation_one = ""
3105
+        this.form.dialysate_flow_one  = ""
3106
+        this.form.blood_sugar_one =""
3107
+        this.form.monitor_temperature_one = ""
3108
+        this.form.pulse_frequency_one = ""
3109
+        this.form.blood_temperature_one = ""
3110
+        this.form.urea_monitoring_one = ""
3111
+        this.form.blood_thickness_one = ""
3112
+        this.form.blood_monitor_one = ""
3113
+        this.form.replacement_speed_one=""
3114
+        this.form.dicarbonate_one  = ""
3115
+        this.form.accumulated_blood_volume_one = ""
3086 3116
       } else {
3087 3117
         (this.form.id = monitor.id),
3088 3118
           // this.form.operate_date = monitor.operate_date

+ 19 - 1
src/xt_pages/dialysis/details/index.vue Visa fil

@@ -114,6 +114,15 @@
114 114
               height="500"
115 115
               border
116 116
               style="width: 100%">
117
+              <el-table-column
118
+                prop="date"
119
+                label="序号"
120
+                width="30"
121
+                >
122
+                <template slot-scope="scope"  text-align="center">
123
+                  {{ scope.$index +1 }}
124
+                </template>
125
+              </el-table-column>
117 126
               <el-table-column
118 127
                 prop="date"
119 128
                 label="床号"
@@ -207,6 +216,15 @@
207 216
               height="500"
208 217
               border
209 218
               style="width: 100%">
219
+              <el-table-column
220
+                prop="date"
221
+                label="序号"
222
+                width="30"
223
+                >
224
+                <template slot-scope="scope"  text-align="center">
225
+                  {{ scope.$index +1 }}
226
+                </template>
227
+              </el-table-column>
210 228
               <el-table-column
211 229
                 prop="date"
212 230
                 label="床号"
@@ -2544,7 +2562,7 @@ export default {
2544 2562
           newArr.sort(this.compare('created_time'))
2545 2563
         }
2546 2564
 
2547
-        if(this.org_id ==10579 || this.org_id == 0 || this.org_id ==10587 || this.org_id ==10571 || this.org_id ==10679){
2565
+        if(this.org_id ==10579 || this.org_id == 0 || this.org_id ==10587 || this.org_id ==10571 || this.org_id ==10679 || this.org_id==10702){
2548 2566
           if(newArr!=null && newArr.length>0){
2549 2567
             for(let i=0;i<newArr.length;i++){
2550 2568
               newArr[i].sort =0

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue Visa fil

@@ -2159,11 +2159,12 @@
2159 2159
                         class="under_line"
2160 2160
                         style="width: 60px; text-align: center"
2161 2161
                       >
2162
-                        {{
2162
+                        <!-- {{
2163 2163
                           afterdialysis.weight_loss
2164 2164
                             ? afterdialysis.weight_loss
2165 2165
                             : "/"
2166
-                        }}
2166
+                        }} -->
2167
+                        {{(predialysis.weight_before - afterdialysis.weight_after).toFixed(2)}}
2167 2168
                       </div>
2168 2169
                       kg
2169 2170
                     </div>

+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderseventyfive.vue Visa fil

@@ -140,10 +140,10 @@
140 140
 
141 141
                     /{{dialysisOrder.dialysis_strainer ? dialysisOrder.dialysis_strainer : "" }}
142 142
                 </span>
143
-              
143
+
144 144
               </div>
145 145
             </div>
146
-          
146
+
147 147
           </div>
148 148
           <!-- 治疗方式 -->
149 149
           <div class="row" style="display: flex;">
@@ -562,7 +562,7 @@
562 562
                   <span>{{ monitor.monitor_systolic_blood_pressure_one ? monitor.monitor_systolic_blood_pressure_one : "未测" }}</span>
563 563
                   <span v-if="monitor.monitor_diastolic_blood_pressure_one!=''&&monitor.monitor_diastolic_blood_pressure_one>0">/{{ monitor.monitor_diastolic_blood_pressure_one ? monitor.monitor_diastolic_blood_pressure_one : "未测" }}</span>
564 564
                 </td>
565
-                <td width="50">{{ monitor.pulse_frequency_one ? monitor.pulse_frequency_one : "未测" }}</td>
565
+                <td width="50">{{ monitor.monitor_pulse_frequency_one ? monitor.monitor_pulse_frequency_one : "未测" }}</td>
566 566
                 <td width="50">{{monitor.arterial_pressure_one ? monitor.arterial_pressure_one: "/"}}</td>
567 567
                 <td width="50">{{monitor.venous_pressure_one ? monitor.venous_pressure_one : "/"}}</td>
568 568
                 <td width="50">{{monitor.transmembrane_pressure_one ? monitor.transmembrane_pressure_one : "/"}}</td>

+ 94 - 5
src/xt_pages/medicalScheduling/index.vue Visa fil

@@ -221,7 +221,18 @@
221 221
                                 </div>
222 222
                             </template>
223 223
                         </el-table-column>
224
+
225
+                        <el-table-column prop="name" :label="'备注'" style="width:14%" align="center">
226
+                             <template slot-scope="scope">
227
+                              <div  @click="toDialog(scope.row)">
228
+                                  <el-input  placeholder="请输入内容" v-model="scope.row.remark"></el-input>
229
+                               </div>
230
+                            </template>
231
+                        </el-table-column>
232
+                      
224 233
                     </el-table>
234
+
235
+                    <div> 备注: <el-input type="textarea"  placeholder="请输入内容"v-model="remark" style="min-height:200px" @input="changeStaffRmark"></el-input></div>
225 236
                 </div>
226 237
                 <div class="classBox">
227 238
                     <div class="classTitle">班种</div>
@@ -393,13 +404,27 @@
393 404
                 <el-button type="primary" @click="exportList">确 定</el-button>
394 405
             </span>
395 406
         </el-dialog>     -->
407
+
408
+
409
+        <el-dialog
410
+            title="设置备注"
411
+            :visible.sync="dialogVisible"
412
+            width="40%">
413
+            <span>
414
+              <el-input v-model="content" type="textarea"></el-input>
415
+            </span>
416
+            <span slot="footer" class="dialog-footer">
417
+                <el-button @click="dialogVisible = false">取 消</el-button>
418
+                <el-button type="primary" @click="saveDialog">确 定</el-button>
419
+            </span>
420
+        </el-dialog>
396 421
     </div>
397 422
 </template>
398 423
 
399 424
 <script>
400 425
 const moment = require('moment')
401 426
 import BreadCrumb from '@/xt_pages/components/bread-crumb'
402
-import { getDoctorList,getScheduleList,addSchedule,getStaffScheduleList,getNextWeekList,getScheduleByDoctorId,toSearchScheduleList,DeleteStaffSchedule,copyStaffSchedule,UpdateContinusSchedule,SaveNurseSort,SaveIsSchedule,DeleteStaffScheduleById } from '@/api/doctorSchedule'
427
+import { getDoctorList,getScheduleList,addSchedule,getStaffScheduleList,getNextWeekList,getScheduleByDoctorId,toSearchScheduleList,DeleteStaffSchedule,copyStaffSchedule,UpdateContinusSchedule,SaveNurseSort,SaveIsSchedule,DeleteStaffScheduleById,saveStafScheduleRemark,getStaffScheduleRemarkList,changeStaffRmark } from '@/api/doctorSchedule'
403 428
 import { constants } from 'crypto'
404 429
 export default {
405 430
     components:{
@@ -466,7 +491,11 @@ export default {
466 491
            exportDialogVisible:false,
467 492
            month_time:"",
468 493
            name:'',
469
-           column_lie:''
494
+           column_lie:'',
495
+           remark:"",
496
+           dialogVisible:false,
497
+           content:"",
498
+           staffObj:{}
470 499
         }
471 500
     },
472 501
     methods:{
@@ -927,7 +956,8 @@ export default {
927 956
                                 user_type:staffList[i].doctor_type,
928 957
                                 is_sort:staffList[i].is_sort,
929 958
                                 sort:staffList[i].sort,
930
-                                list: [{class_name:staffList[i].class_name,admin_user_id:staffList[i].admin_user_id,schedule_week:staffList[i].schedule_week,user_type:staffList[i].doctor_type,class_attributes:staffList[i].class_attributesk,id:staffList[i].id}]
959
+                                list: [{class_name:staffList[i].class_name,admin_user_id:staffList[i].admin_user_id,schedule_week:staffList[i].schedule_week,user_type:staffList[i].doctor_type,class_attributes:staffList[i].class_attributesk,id:staffList[i].id}],
960
+                                remark:staffList[i].remark
931 961
                             })
932 962
                             tempArr.push(staffList[i].user_name);
933 963
                         } else {
@@ -2103,7 +2133,61 @@ export default {
2103 2133
        },
2104 2134
        leavemouse(row, column, cell, event){
2105 2135
         this.name=''
2106
-       }
2136
+       },
2137
+       toDialog(row){
2138
+         this.dialogVisible = true
2139
+         this.staffObj = row
2140
+         this.content = ""
2141
+         this.content = row.remark
2142
+       },
2143
+       saveDialog(){
2144
+       
2145
+           var data = {
2146
+             admin_user_id:this.staffObj.admin_user_id,
2147
+             start_time:this.getTimestamp(this.weekDayArr[0]),
2148
+             end_time:this.getTimestamp(this.weekDayArr[6]),
2149
+             content:this.content,
2150
+           }
2151
+           console.log("params",data)
2152
+         saveStafScheduleRemark(data).then(response=>{
2153
+            if(response.data.state == 1){
2154
+              var msg = response.data.data.msg
2155
+              this.getStaffScheduleList()
2156
+              this.dialogVisible = false
2157
+
2158
+            }
2159
+         })
2160
+       },
2161
+       changeStaffRmark(){
2162
+         console.log("val000000000000000000",this.remark)
2163
+           var params = {
2164
+            content:this.remark,
2165
+            start_time:this.getTimestamp(this.weekDayArr[0]),
2166
+            end_time:this.getTimestamp(this.weekDayArr[6])
2167
+           }
2168
+         changeStaffRmark(params).then(response=>{
2169
+           if(response.data.state == 1){
2170
+             var msg = response.data.data.msg
2171
+             this.getStaffScheduleRemarkList()
2172
+           }
2173
+         })
2174
+       },
2175
+       getStaffScheduleRemarkList(){
2176
+        var params = {
2177
+            start_time:this.getTimestamp(this.weekDayArr[0]),
2178
+            end_time:this.getTimestamp(this.weekDayArr[6])
2179
+           }
2180
+           console.log("params=====",params)
2181
+           getStaffScheduleRemarkList(params).then(response=>{
2182
+              if(response.data.state==1){
2183
+               var scheduleRemark =  response.data.data.scheduleRemark
2184
+               console.log("scheduleRemark",scheduleRemark)
2185
+
2186
+               this.remark = scheduleRemark.remark
2187
+               console.log("haaaaaaaaaaaaaaaaaaa",this.remark)
2188
+              }
2189
+           })
2190
+       } 
2107 2191
     },
2108 2192
     created(){
2109 2193
         //获取医护人员
@@ -2111,6 +2195,8 @@ export default {
2111 2195
         //获取班种班种
2112 2196
         this.getScheduleList()
2113 2197
 
2198
+       
2199
+
2114 2200
         let year = new Date().getFullYear()
2115 2201
         let month = new Date().getMonth() + 1
2116 2202
         let date = new Date().getDate()
@@ -2118,6 +2204,8 @@ export default {
2118 2204
         this.todayDate=this.formatDate(new Date())
2119 2205
         this.setDate(new Date())
2120 2206
 
2207
+
2208
+
2121 2209
         for (var i = 0; i <= 9; i++) {
2122 2210
             this.setDate1(this.addDate(this.currentDate, 7))
2123 2211
         }
@@ -2141,7 +2229,8 @@ export default {
2141 2229
         }
2142 2230
       var now = moment().locale('zh-cn').format('YYYY-MM-DD 00:00:00')
2143 2231
       this.timeNow = this.getTimestamp(now)
2144
-
2232
+     
2233
+      this.getStaffScheduleRemarkList()
2145 2234
 
2146 2235
     }
2147 2236
 }

+ 26 - 3
src/xt_pages/medicalScheduling/medical_print.vue Visa fil

@@ -33,6 +33,7 @@
33 33
                                     <td width="120">加班<br /></td>
34 34
                                     <td width="120">累计<br/>时数<br /></td>
35 35
                                     <td width="120">公休<br /></td>
36
+                                    <td width="120">备注<br /></td>
36 37
                                 </tr>
37 38
                             </thead>
38 39
                             <tbody>
@@ -49,9 +50,13 @@
49 50
                                     <td></td>
50 51
                                     <td></td>
51 52
                                     <td></td>
53
+                                    <td>{{ item.remark }}</td>
52 54
                                 </tr>
53 55
                             </tbody>
54 56
                         </table>
57
+                        <div style="margin-top: 20px;">
58
+                          备注:{{ remark }}
59
+                        </div>
55 60
                     </div>
56 61
                 </div>
57 62
             </div>
@@ -62,7 +67,7 @@
62 67
 <script>
63 68
 import BreadCrumb from '@/xt_pages/components/bread-crumb'
64 69
 import print from 'print-js'
65
-import { getDoctorList,getScheduleByDoctorId } from '@/api/doctorSchedule'
70
+import { getDoctorList,getScheduleByDoctorId,getStaffScheduleRemarkList } from '@/api/doctorSchedule'
66 71
 export default {
67 72
     components:{
68 73
         BreadCrumb
@@ -89,7 +94,8 @@ export default {
89 94
           typevalue:0,
90 95
           
91 96
           doctorTableData:[],
92
-          nurseTableData:[]
97
+          nurseTableData:[],
98
+          remark:""
93 99
         }
94 100
     },
95 101
     methods:{
@@ -350,7 +356,8 @@ export default {
350 356
                     user_type:staffList[i].doctor_type,
351 357
                     is_sort:staffList[i].is_sort,
352 358
                     sort:staffList[i].sort,
353
-                    list: [{class_name:staffList[i].class_name,admin_user_id:staffList[i].admin_user_id,schedule_week:staffList[i].schedule_week,user_type:staffList[i].doctor_type,class_attributes:staffList[i].class_attributes}]
359
+                    list: [{class_name:staffList[i].class_name,admin_user_id:staffList[i].admin_user_id,schedule_week:staffList[i].schedule_week,user_type:staffList[i].doctor_type,class_attributes:staffList[i].class_attributes}],
360
+                    remark: staffList[i].remark,
354 361
                   })
355 362
                   tempArr.push(staffList[i].user_name);
356 363
                 } else {
@@ -554,6 +561,21 @@ export default {
554 561
             return value2 - value1;
555 562
         }
556 563
       },
564
+      getStaffScheduleRemarkList(){
565
+          var params = {
566
+            start_time:this.start_time,
567
+            end_time:this.end_time,
568
+         }
569
+       
570
+        getStaffScheduleRemarkList(params).then(response=>{
571
+             if(response.data.state==1){
572
+               var scheduleRemark =  response.data.data.scheduleRemark
573
+              
574
+               this.remark = scheduleRemark.remark
575
+               
576
+              }
577
+           })
578
+       } 
557 579
     },
558 580
     created(){
559 581
       var starttime =  this.$route.query.starttime
@@ -565,6 +587,7 @@ export default {
565 587
       
566 588
       //获取该机构所有医护人员
567 589
       this.getDoctorList()
590
+      this.getStaffScheduleRemarkList()
568 591
     }
569 592
 }
570 593
 </script>

+ 4 - 2
src/xt_pages/stock/detail/stockOutDetail.vue Visa fil

@@ -195,7 +195,7 @@
195 195
       <el-pagination
196 196
         @size-change="handleSizeChange"
197 197
         @current-change="handleCurrentChange"
198
-        :page-sizes="[10, 50, 100,1000,1500,3000,5000,8000,10000]"
198
+        :page-sizes="[10, 50, 100,1000,1500,3000,5000,8000,10000,12000,15000,20000]"
199 199
         :page-size="10"
200 200
         background
201 201
         style="margin-top:20px;float: right"
@@ -874,6 +874,8 @@ export default {
874 874
           this.tableOut[i].packing_price = this.tableOut[i].buy_price
875 875
         }else if(this.orgId == 10265){
876 876
           this.tableOut[i].total_price = (this.getMySelfCount(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
877
+        }else if(this.orgId == 10445){
878
+          this.tableOut[i].total_price = (this.getMySelfCount(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
877 879
         }else if(this.orgId == 10215){
878 880
           this.tableOut[i].total_price = (this.getMySelfCount(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
879 881
         }else if(this.orgId == 10210){
@@ -908,7 +910,7 @@ export default {
908 910
           this.tableOut[i].total_price = (this.getStockCount(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
909 911
         }
910 912
 
911
-        if(this.orgId  == 10265 || this.orgId ==10215 || this.orgId == 9919 || this.orgId == 9671 || this.orgId == 10402 || this.orgId==10138 || this.orgId==10278||this.orgId==10537||this.orgId==10610||this.orgId==0){
913
+        if(this.orgId  == 10265 || this.orgId ==10215 || this.orgId == 9919 || this.orgId == 9671 || this.orgId == 10402 || this.orgId==10138 || this.orgId==10278||this.orgId==10537||this.orgId==10610||this.orgId==0 || this.org_id==10445){
912 914
 
913 915
          this.tableOut[i].out_count = this.getMySelfCount(this.tableOut[i].good_id)
914 916
         }

+ 13 - 13
src/xt_permission.js Visa fil

@@ -12,19 +12,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
12 12
 
13 13
 router.beforeEach((to, from, next) => {
14 14
   // 线上注释
15
-  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-    store.dispatch('VerifyConfigList', []).then(() => {
17
-      next()
18
-    })
19
-  }
20
-  if (store.getters.permission_routers === undefined) {
21
-    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-      next()
23
-    })
24
-  } else {
25
-    next()
26
-  }
27
-  return
15
+  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+  //   store.dispatch('VerifyConfigList', []).then(() => {
17
+  //     next()
18
+  //   })
19
+  // }
20
+  // if (store.getters.permission_routers === undefined) {
21
+  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+  //     next()
23
+  //   })
24
+  // } else {
25
+  //   next()
26
+  // }
27
+  // return
28 28
   // 线上注释
29 29
   NProgress.start()
30 30
   // console.log(store.getters.current_role_urls.indexOf(to.path))