浏览代码

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

陈少旭 1年前
父节点
当前提交
7d773cf58d

+ 11 - 11
src/router/modules/patient.js 查看文件

326
     }
326
     }
327
   },
327
   },
328
 
328
 
329
-  // {//评估工具/跌倒评估
330
-  //   path: '/patients/patient/:id/Fallassessment',
331
-  //   component: () => import('@/xt_pages/user/evaluationtool/Fallassessment'),
332
-  //   hidden: true,
333
-  //   is_menu: false,
334
-  //   name: 'Fallassessment',
335
-  //   meta: {
336
-  //     title: 'firstDiseasePrint',
337
-  //     noCache: true
338
-  //   }
339
-  // },
329
+  { //评估工具/跌倒评估
330
+    path: '/patients/patient/:id/Fallassessment',
331
+    component: () => import('@/xt_pages/user/evaluationtool/Fallassessment'),
332
+    hidden: true,
333
+    is_menu: false,
334
+    name: 'Fallassessment',
335
+    meta: {
336
+      title: 'firstDiseasePrint',
337
+      noCache: true
338
+    }
339
+  },
340
   // {//小儿跌倒风险评估
340
   // {//小儿跌倒风险评估
341
   //   path: '/patients/patient/:id/pediatricFallAssessment',
341
   //   path: '/patients/patient/:id/pediatricFallAssessment',
342
   //   component: () => import('@/xt_pages/user/evaluationtool/pediatricFallAssessment'),
342
   //   component: () => import('@/xt_pages/user/evaluationtool/pediatricFallAssessment'),

+ 8 - 8
src/xt_pages/device/airDisinfectTwo.vue 查看文件

1020
                     </el-form-item>
1020
                     </el-form-item>
1021
 
1021
 
1022
                     <el-form-item label="消毒科室" label-width="110px" required prop="department">
1022
                     <el-form-item label="消毒科室" label-width="110px" required prop="department">
1023
-                        <el-select v-model="form.department" placeholder="请选择">
1023
+                        <el-select v-model="form.department" placeholder="请选择" >
1024
                           <el-option
1024
                           <el-option
1025
                           v-for="(item,index) in disinfectionOfficeList"
1025
                           v-for="(item,index) in disinfectionOfficeList"
1026
                           :key="index"
1026
                           :key="index"
1539
         changeStore(val){
1539
         changeStore(val){
1540
          
1540
          
1541
           this.getNewAirDisinfectList()  
1541
           this.getNewAirDisinfectList()  
1542
-        },  
1543
-      AddCard(){
1544
-        getAirDisinfectLongTime(this.storey).then(response=>{
1542
+        }, 
1543
+        changeStorey(val){
1544
+          console.log("val2o2o2o",val)
1545
+          getAirDisinfectLongTime(val).then(response=>{
1545
           if(response.data.state == 1){
1546
           if(response.data.state == 1){
1546
             var list = response.data.data.list
1547
             var list = response.data.data.list
1547
-           
1548
             var first_total_time = 0
1548
             var first_total_time = 0
1549
             var sencond_total_time = 0
1549
             var sencond_total_time = 0
1550
             var third_total_time = 0
1550
             var third_total_time = 0
1571
             this.last_total_time = last_total_time
1571
             this.last_total_time = last_total_time
1572
            
1572
            
1573
           }
1573
           }
1574
-          this.dialogFormVisible =  true
1575
-          
1576
-        
1577
          }
1574
          }
1578
         })
1575
         })
1576
+        }, 
1577
+      AddCard(){
1578
+        this.dialogFormVisible =  true
1579
       },
1579
       },
1580
       AddCardOne(){
1580
       AddCardOne(){
1581
         getAirDisinfectWayLongTime(this.form.department).then(response=>{
1581
         getAirDisinfectWayLongTime(this.form.department).then(response=>{

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight.vue 查看文件

1522
                                 {{
1522
                                 {{
1523
                               monitor_record.ultrafiltration_volume
1523
                               monitor_record.ultrafiltration_volume
1524
                                 ? monitor_record.ultrafiltration_volume
1524
                                 ? monitor_record.ultrafiltration_volume
1525
-                                : ""
1525
+                                : "0"
1526
                             }}
1526
                             }}
1527
                             </span>
1527
                             </span>
1528
                           </td>
1528
                           </td>

+ 1 - 1
src/xt_pages/dialysis/details/DialysisPrescription.vue 查看文件

624
 
624
 
625
         <li v-if="isShow('冲洗量')">
625
         <li v-if="isShow('冲洗量')">
626
           <label>Ns冲洗量(ml): </label>
626
           <label>Ns冲洗量(ml): </label>
627
-          <span class="content">{{this.prescription.chaptalization}}</span>
627
+          <span class="content">{{this.prescription.warsh_count}}</span>
628
         </li>
628
         </li>
629
 
629
 
630
        
630
        

+ 6 - 6
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

1116
                 </el-row>
1116
                 </el-row>
1117
                 <el-row>
1117
                 <el-row>
1118
                   <el-col :span="8">
1118
                   <el-col :span="8">
1119
-                  <el-form-item label="Ns冲洗量(ml):" :prop="isName('冲洗量')" v-if="isShow('冲洗量') && dialysisPrescription.anticoagulant == 1">
1119
+                  <el-form-item label="Ns冲洗量(ml):" :prop="isName('冲洗量')" v-if="isShows('冲洗量') && dialysisPrescription.anticoagulant == 1">
1120
                     <el-input v-model="dialysisPrescription.warsh_count"></el-input>
1120
                     <el-input v-model="dialysisPrescription.warsh_count"></el-input>
1121
                   </el-form-item>
1121
                   </el-form-item>
1122
                 </el-col>
1122
                 </el-col>
1123
 
1123
 
1124
                 <el-col :span="8">
1124
                 <el-col :span="8">
1125
-                  <el-form-item label="q(h):" :prop="isName('冲洗时间')" v-if="isShow('冲洗时间') && dialysisPrescription.anticoagulant == 1">
1125
+                  <el-form-item label="q(h):" :prop="isName('冲洗时间')" v-if="isShows('冲洗时间') && dialysisPrescription.anticoagulant == 1">
1126
                     <el-input v-model="dialysisPrescription.washing_time"></el-input>
1126
                     <el-input v-model="dialysisPrescription.washing_time"></el-input>
1127
                   </el-form-item>
1127
                   </el-form-item>
1128
                 </el-col>
1128
                 </el-col>
4161
               // 长期处方不为空
4161
               // 长期处方不为空
4162
               if (key != 'target_ultrafiltration' && key != 'niprocart' && key != 'target_ultrafiltration' && key != 'jms' && key != 'fistula_needle_set' && key != 'fistula_needle_set_16'
4162
               if (key != 'target_ultrafiltration' && key != 'niprocart' && key != 'target_ultrafiltration' && key != 'jms' && key != 'fistula_needle_set' && key != 'fistula_needle_set_16'
4163
                 && key != 'hemoperfusion' && key != 'dialyser_sterilised' && key != 'filtryzer' && key != 'target_ktv' && key != 'dialyzers'
4163
                 && key != 'hemoperfusion' && key != 'dialyser_sterilised' && key != 'filtryzer' && key != 'target_ktv' && key != 'dialyzers'
4164
-                && key != 'injector' && key != 'bloodlines' && key != 'tubing_hemodialysis' && key != 'package' && key != 'a_liquid') {
4164
+                && key != 'injector' && key != 'bloodlines' && key != 'tubing_hemodialysis' && key != 'package' && key != 'a_liquid'&& key != 'remark') {
4165
                 this.dialysisPrescription[key] =
4165
                 this.dialysisPrescription[key] =
4166
                   response.data.data.solution[key]
4166
                   response.data.data.solution[key]
4167
               }
4167
               }
4181
               for (const key in response.data.data.prescription) {
4181
               for (const key in response.data.data.prescription) {
4182
                 if (key != 'target_ultrafiltration' && key != 'niprocart' && key != 'target_ultrafiltration' && key != 'jms' && key != 'fistula_needle_set' && key != 'fistula_needle_set_16'
4182
                 if (key != 'target_ultrafiltration' && key != 'niprocart' && key != 'target_ultrafiltration' && key != 'jms' && key != 'fistula_needle_set' && key != 'fistula_needle_set_16'
4183
                   && key != 'hemoperfusion' && key != 'dialyser_sterilised' && key != 'filtryzer' && key != 'target_ktv' && key != 'dialyzers'
4183
                   && key != 'hemoperfusion' && key != 'dialyser_sterilised' && key != 'filtryzer' && key != 'target_ktv' && key != 'dialyzers'
4184
-                  && key != 'injector' && key != 'bloodlines' && key != 'tubing_hemodialysis' && key != 'package' && key != 'a_liquid') {
4184
+                  && key != 'injector' && key != 'bloodlines' && key != 'tubing_hemodialysis' && key != 'package' && key != 'a_liquid' && key != 'remark') {
4185
                   this.dialysisPrescription[key] =
4185
                   this.dialysisPrescription[key] =
4186
                     response.data.data.prescription[key]
4186
                     response.data.data.prescription[key]
4187
                 }
4187
                 }
4191
               for (const key in response.data.data.system_prescription) {
4191
               for (const key in response.data.data.system_prescription) {
4192
                 if (key != 'target_ultrafiltration' && key != 'niprocart' && key != 'target_ultrafiltration' && key != 'jms' && key != 'fistula_needle_set' && key != 'fistula_needle_set_16'
4192
                 if (key != 'target_ultrafiltration' && key != 'niprocart' && key != 'target_ultrafiltration' && key != 'jms' && key != 'fistula_needle_set' && key != 'fistula_needle_set_16'
4193
                   && key != 'hemoperfusion' && key != 'dialyser_sterilised' && key != 'filtryzer' && key != 'target_ktv' && key != 'dialyzers'
4193
                   && key != 'hemoperfusion' && key != 'dialyser_sterilised' && key != 'filtryzer' && key != 'target_ktv' && key != 'dialyzers'
4194
-                  && key != 'injector' && key != 'bloodlines' && key != 'tubing_hemodialysis' && key != 'package' && key != 'a_liquid') {
4194
+                  && key != 'injector' && key != 'bloodlines' && key != 'tubing_hemodialysis' && key != 'package' && key != 'a_liquid' && key != 'remark') {
4195
                   this.dialysisPrescription[key] =
4195
                   this.dialysisPrescription[key] =
4196
                     response.data.data.system_prescription[key]
4196
                     response.data.data.system_prescription[key]
4197
                 }
4197
                 }
4202
                 // 临时处方为空
4202
                 // 临时处方为空
4203
                 if (key != 'target_ultrafiltration' && key != 'niprocart' && key != 'target_ultrafiltration' && key != 'jms' && key != 'fistula_needle_set' && key != 'fistula_needle_set_16'
4203
                 if (key != 'target_ultrafiltration' && key != 'niprocart' && key != 'target_ultrafiltration' && key != 'jms' && key != 'fistula_needle_set' && key != 'fistula_needle_set_16'
4204
                   && key != 'hemoperfusion' && key != 'dialyser_sterilised' && key != 'filtryzer' && key != 'target_ktv' && key != 'dialyzers'
4204
                   && key != 'hemoperfusion' && key != 'dialyser_sterilised' && key != 'filtryzer' && key != 'target_ktv' && key != 'dialyzers'
4205
-                  && key != 'injector' && key != 'bloodlines' && key != 'tubing_hemodialysis' && key != 'package' && key != 'a_liquid') {
4205
+                  && key != 'injector' && key != 'bloodlines' && key != 'tubing_hemodialysis' && key != 'package' && key != 'a_liquid' && key != 'remark') {
4206
                   this.dialysisPrescription[key] = ''
4206
                   this.dialysisPrescription[key] = ''
4207
                 }
4207
                 }
4208
               }
4208
               }

+ 42 - 5
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue 查看文件

75
             </template>
75
             </template>
76
           </el-table-column>
76
           </el-table-column>
77
 
77
 
78
+          <el-table-column
79
+            align="center"
80
+            label="拒测血压"
81
+            width="110"
82
+            v-if="isShow('拒测血压')"
83
+          >
84
+            <template slot-scope="scope">
85
+              {{
86
+                scope.row.is_pressure
87
+                  ? scope.row.is_pressure
88
+                  : ""
89
+              }}
90
+            </template>
91
+          </el-table-column>
92
+
78
           <el-table-column
93
           <el-table-column
79
             prop="pulse_frequency"
94
             prop="pulse_frequency"
80
             align="center"
95
             align="center"
1660
             </el-form-item>
1675
             </el-form-item>
1661
           </el-col>
1676
           </el-col>
1662
 
1677
 
1678
+
1679
+          <el-col :span="24" v-if="isShow('拒测血压')">
1680
+            <el-form-item label="拒测血压:" :prop="isName('拒测血压')">
1681
+              <el-select v-model="form.is_pressure" placeholder="请选择">
1682
+                <el-option
1683
+                  v-for="item in pressureList"
1684
+                  :key="item.id"
1685
+                  :label="item.name"
1686
+                  :value="item.name">
1687
+                </el-option>
1688
+              </el-select>
1689
+            </el-form-item>
1690
+          </el-col>
1691
+
1663
           <!-- </el-row>
1692
           <!-- </el-row>
1664
 
1693
 
1665
           <el-row :gutter="20"> -->
1694
           <el-row :gutter="20"> -->
1676
               <el-input type="textarea" :rows="4" v-model="form.urr"></el-input>
1705
               <el-input type="textarea" :rows="4" v-model="form.urr"></el-input>
1677
             </el-form-item>
1706
             </el-form-item>
1678
           </el-col>
1707
           </el-col>
1708
+
1709
+
1710
+
1679
           <!-- </el-row>
1711
           <!-- </el-row>
1680
 
1712
 
1681
           <el-row :gutter="20"> -->
1713
           <el-row :gutter="20"> -->
1911
         filter_pressure:"",
1943
         filter_pressure:"",
1912
         replacement_speed:"",
1944
         replacement_speed:"",
1913
         dicarbonate:"",
1945
         dicarbonate:"",
1946
+        is_pressure:"",
1914
       },
1947
       },
1915
 
1948
 
1916
       table_current_row: null,
1949
       table_current_row: null,
1929
       complicationList: [],
1962
       complicationList: [],
1930
       infoDialogVisible:false,
1963
       infoDialogVisible:false,
1931
       selected_date:"",
1964
       selected_date:"",
1932
-      remark:""
1965
+      remark:"",
1966
+      pressureList:[
1967
+        {id:1,name:"是"},
1968
+        {id:2,name:"否"}
1969
+      ]
1933
     };
1970
     };
1934
   },
1971
   },
1935
   props: {
1972
   props: {
2481
         : "";
2518
         : "";
2482
         this.form.replacement_speed = monitor.replacement_speed?monitor.replacement_speed:""
2519
         this.form.replacement_speed = monitor.replacement_speed?monitor.replacement_speed:""
2483
         this.form.dicarbonate = monitor.dicarbonate?monitor.dicarbonate:""
2520
         this.form.dicarbonate = monitor.dicarbonate?monitor.dicarbonate:""
2521
+        this.form.is_pressure = monitor.is_pressure
2484
         // 设置三个下拉框的值,直接调用事件偷懒
2522
         // 设置三个下拉框的值,直接调用事件偷懒
2485
         this.symptomTextareaBlur();
2523
         this.symptomTextareaBlur();
2486
         this.disposeTextareaBlur();
2524
         this.disposeTextareaBlur();
2631
           ? 0
2669
           ? 0
2632
           : parseFloat(this.form.replacement_speed);
2670
           : parseFloat(this.form.replacement_speed);
2633
 
2671
 
2634
-          this.form.dicarbonate =
2635
-        parseFloat(this.form.dicarbonate) == NaN
2636
-          ? 0
2637
-          : parseFloat(this.form.dicarbonate);
2672
+       this.form.dicarbonate =parseFloat(this.form.dicarbonate) == NaN ? 0: parseFloat(this.form.dicarbonate);
2673
+       this.form.is_pressure = this.form.is_pressure
2674
+
2638
       let mode = "1";
2675
       let mode = "1";
2639
       if (this.form.id > 0) {
2676
       if (this.form.id > 0) {
2640
         mode = "2";
2677
         mode = "2";

+ 2 - 0
src/xt_pages/dialysis/details/dialysisMonitoring.vue 查看文件

9
           <th v-if="isShow('监测时间')" width="124px">时间</th>
9
           <th v-if="isShow('监测时间')" width="124px">时间</th>
10
           <th v-if="isShow('体温')" width="72px">体温(℃)</th>
10
           <th v-if="isShow('体温')" width="72px">体温(℃)</th>
11
           <th v-if="isShow('血压')" width="72px">血压(mmHg)</th>
11
           <th v-if="isShow('血压')" width="72px">血压(mmHg)</th>
12
+          <th v-if="isShow('拒测血压')" width="72px">拒测血压</th>
12
           <th v-if="isShow('脉搏')" width="80px">脉搏(次/分)</th>
13
           <th v-if="isShow('脉搏')" width="80px">脉搏(次/分)</th>
13
           <th v-if="isShow('呼吸频率')" width="110px">呼吸频率(次/分)</th>
14
           <th v-if="isShow('呼吸频率')" width="110px">呼吸频率(次/分)</th>
14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
55
           <td v-if="isShow('监测时间')"> {{ parseTime(monitor.operate_time, "{y}-{m}-{d} {h}:{i}") }} </td>
56
           <td v-if="isShow('监测时间')"> {{ parseTime(monitor.operate_time, "{y}-{m}-{d} {h}:{i}") }} </td>
56
           <td v-if="isShow('体温')"> {{ monitor.temperature ? monitor.temperature : "" }} </td>
57
           <td v-if="isShow('体温')"> {{ monitor.temperature ? monitor.temperature : "" }} </td>
57
           <td v-if="isShow('血压')"> {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/{{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }} </td>
58
           <td v-if="isShow('血压')"> {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/{{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }} </td>
59
+          <th v-if="isShow('拒测血压')" width="72px">{{ monitor.is_pressure }}</th>
58
           <td v-if="isShow('脉搏')"> {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }} </td>
60
           <td v-if="isShow('脉搏')"> {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }} </td>
59
           <td v-if="isShow('呼吸频率')"> {{ monitor.breathing_rate ? monitor.breathing_rate : "" }} </td>
61
           <td v-if="isShow('呼吸频率')"> {{ monitor.breathing_rate ? monitor.breathing_rate : "" }} </td>
60
           <td> {{ monitor.venous_pressure ? monitor.venous_pressure : "" }} /{{ monitor.arterial_pressure ? monitor.arterial_pressure : "" }}  </td>
62
           <td> {{ monitor.venous_pressure ? monitor.venous_pressure : "" }} /{{ monitor.arterial_pressure ? monitor.arterial_pressure : "" }}  </td>

+ 2 - 0
src/xt_pages/dialysis/doctorAdvicePrintOne.vue 查看文件

53
                             <span v-if="schedule.mode_id == 13">(CRRT)</span>
53
                             <span v-if="schedule.mode_id == 13">(CRRT)</span>
54
                             <span v-if="schedule.mode_id == 14">(腹水回输)</span>
54
                             <span v-if="schedule.mode_id == 14">(腹水回输)</span>
55
                             <span v-if="schedule.mode_id == 24">I-HDF</span>
55
                             <span v-if="schedule.mode_id == 24">I-HDF</span>
56
+                            </br>
57
+                            <span v-if="schedule.prescription.anticoagulant==1" style="color:red">无肝素</span>
56
                             </td>
58
                             </td>
57
                           
59
                           
58
                    
60
                    

+ 5 - 0
src/xt_pages/dialysis/newDoctorAdvice.vue 查看文件

212
             <span v-if="scope.row.mode_id == 13">(CRRT)</span>
212
             <span v-if="scope.row.mode_id == 13">(CRRT)</span>
213
             <span v-if="scope.row.mode_id == 14">(腹水回输)</span>
213
             <span v-if="scope.row.mode_id == 14">(腹水回输)</span>
214
             <span v-if="scope.row.mode_id == 24">I-HDF</span>
214
             <span v-if="scope.row.mode_id == 24">I-HDF</span>
215
+            </br>
216
+
217
+            <span v-if="scope.row.anticoagulant == 1" style="color:red">无肝素</span>
215
           </template>
218
           </template>
216
         </el-table-column>
219
         </el-table-column>
217
         <el-table-column  label="分区床位" width="100">
220
         <el-table-column  label="分区床位" width="100">
1057
                        it.dialyzer_perfusion_apparatus = item.prescription.dialyzer_perfusion_apparatus
1060
                        it.dialyzer_perfusion_apparatus = item.prescription.dialyzer_perfusion_apparatus
1058
                        it.dialysis_dialyszers = item.prescription.dialysis_dialyszers
1061
                        it.dialysis_dialyszers = item.prescription.dialysis_dialyszers
1059
                        it.dialysis_irrigation = item.prescription.dialysis_irrigation
1062
                        it.dialysis_irrigation = item.prescription.dialysis_irrigation
1063
+                       it.anticoagulant = item.prescription.anticoagulant
1060
                     }
1064
                     }
1061
                     it.schedule_type = item.schedule_type
1065
                     it.schedule_type = item.schedule_type
1062
                     it.zoneId = item.device_number.zone.id
1066
                     it.zoneId = item.device_number.zone.id
1155
                        it.dialyzer_perfusion_apparatus = item.prescription.dialyzer_perfusion_apparatus
1159
                        it.dialyzer_perfusion_apparatus = item.prescription.dialyzer_perfusion_apparatus
1156
                        it.dialysis_dialyszers = item.prescription.dialysis_dialyszers
1160
                        it.dialysis_dialyszers = item.prescription.dialysis_dialyszers
1157
                        it.dialysis_irrigation = item.prescription.dialysis_irrigation
1161
                        it.dialysis_irrigation = item.prescription.dialysis_irrigation
1162
+                       it.anticoagulant = item.prescription.anticoagulant
1158
                     }
1163
                     }
1159
                     it.schedule_type = item.schedule_type
1164
                     it.schedule_type = item.schedule_type
1160
                     it.zoneId = item.device_number.zone.id
1165
                     it.zoneId = item.device_number.zone.id

+ 1 - 1
src/xt_pages/dialysis/signPrint.vue 查看文件

13
                 <div v-for="(item, index) in list" :key="index">
13
                 <div v-for="(item, index) in list" :key="index">
14
                     <div class="signPrint" v-for="it in item.parent_advice" style="page-break-after: always;">
14
                     <div class="signPrint" v-for="it in item.parent_advice" style="page-break-after: always;">
15
                        
15
                        
16
-                        <div v-if="org_id!=10278">分区/床位号:{{item.device_number.zone.name}}/{{item.device_number.number}}</div>  
16
+                        <div>分区/床位号:{{item.device_number.zone.name}}/{{item.device_number.number}}</div>  
17
                         <div>姓名:{{item.patient.name}}</div>  
17
                         <div>姓名:{{item.patient.name}}</div>  
18
 
18
 
19
                         <div>
19
                         <div>

文件差异内容过多而无法显示
+ 279 - 408
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue


+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFour.vue 查看文件

303
                           <td width="60" style="height:20px;line-height:20px">超滤量<br />ml</td>
303
                           <td width="60" style="height:20px;line-height:20px">超滤量<br />ml</td>
304
                           <td width="60" style="height:20px;line-height:20px">透析液温度</td>
304
                           <td width="60" style="height:20px;line-height:20px">透析液温度</td>
305
                           <td width="60" style="height:20px;line-height:20px">电导度<br />ms/cm</td>
305
                           <td width="60" style="height:20px;line-height:20px">电导度<br />ms/cm</td>
306
-                          <td width="60" style="height:20px;line-height:20px">体温<br />C°</td>
306
+                          <td width="60" style="height:20px;line-height:20px">血流量<br />ml/min</td>
307
                           <td width="">病情变化及处理</td>
307
                           <td width="">病情变化及处理</td>
308
                           <td width="60" style="height:20px;line-height:20px">签名</td>
308
                           <td width="60" style="height:20px;line-height:20px">签名</td>
309
                       </tr>
309
                       </tr>
323
                           <td>&nbsp;{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}</td>
323
                           <td>&nbsp;{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}</td>
324
                           <td>&nbsp;{{monitor.dialysate_temperature ? monitor.dialysate_temperature : ''}}</td>
324
                           <td>&nbsp;{{monitor.dialysate_temperature ? monitor.dialysate_temperature : ''}}</td>
325
                           <td>&nbsp;{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
325
                           <td>&nbsp;{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
326
-                          <td>&nbsp;{{ monitor.temperature ? monitor.temperature : "" }}</td>
326
+                          <td>&nbsp;{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}</td>
327
                           <td style="text-align:left;padding-left:10px;">
327
                           <td style="text-align:left;padding-left:10px;">
328
                               <div style="line-height:20px;text-align: left;display: inline-block;">
328
                               <div style="line-height:20px;text-align: left;display: inline-block;">
329
                                   &nbsp;{{ monitor.symptom }}{{ monitor.dispose }}{{ monitor.result }}
329
                                   &nbsp;{{ monitor.symptom }}{{ monitor.dispose }}{{ monitor.result }}

+ 13 - 11
src/xt_pages/hospitalStation/components/deskPrescription.vue 查看文件

1567
 
1567
 
1568
     }, searchProjectAction() {
1568
     }, searchProjectAction() {
1569
       console.log('~~~~')
1569
       console.log('~~~~')
1570
-      console.log(this.allProject)
1571
-      console.log(this.allProject)
1570
+      
1571
+      // console.log(this.allProject)
1572
 
1572
 
1573
 
1573
 
1574
       if (this.search_project_keyword.length == 0) {
1574
       if (this.search_project_keyword.length == 0) {
1577
       } else {
1577
       } else {
1578
         let arr = []
1578
         let arr = []
1579
         for (let i = 0; i < this.allProject.length; i++) {
1579
         for (let i = 0; i < this.allProject.length; i++) {
1580
-          if (this.allProject[i].project_name.indexOf(this.search_project_keyword) != -1) {
1581
-            arr = arr.concat(this.allProject[i])
1582
-          }
1580
+
1581
+            if (this.allProject[i].project_name.indexOf(this.search_project_keyword) != -1) {
1582
+              arr = arr.concat(this.allProject[i])
1583
+            }
1584
+          
1583
         }
1585
         }
1584
         this.tabProject = arr
1586
         this.tabProject = arr
1585
-
1586
       }
1587
       }
1587
 
1588
 
1588
     }, searchProjectTeamAction() {
1589
     }, searchProjectTeamAction() {
1606
       } else {
1607
       } else {
1607
         let arr = []
1608
         let arr = []
1608
         for (let i = 0; i < this.drugs.length; i++) {
1609
         for (let i = 0; i < this.drugs.length; i++) {
1609
-          if (this.drugs[i].drug_name.indexOf(this.search_keyword) != -1 || this.drugs[i].wubi.indexOf(this.search_keyword) != -1 || this.drugs[i].pinyin.indexOf(this.search_keyword) != -1) {
1610
+          if (this.drugs[i].drug_name.indexOf(this.search_keyword) != -1 || 
1611
+          this.drugs[i].wubi.indexOf(this.search_keyword) != -1 || 
1612
+          this.drugs[i].pinyin.indexOf(this.search_keyword) != -1 ||
1613
+          this.drugs[i].first_letter.indexOf(this.search_keyword) != -1) {
1610
             arr = arr.concat(this.drugs[i])
1614
             arr = arr.concat(this.drugs[i])
1611
           }
1615
           }
1612
         }
1616
         }
3427
               total: project[i].total,
3431
               total: project[i].total,
3428
               is_special_diseases: project[i].disease_directory,
3432
               is_special_diseases: project[i].disease_directory,
3429
               project: project[i],
3433
               project: project[i],
3430
-              stock_count: 0
3434
+              stock_count: 0,
3435
+              first_letter:project[i].first_letter
3431
             }
3436
             }
3432
 
3437
 
3433
             this.tabProject.push(obj)
3438
             this.tabProject.push(obj)
3465
 
3470
 
3466
           this.allProject = this.tabProject
3471
           this.allProject = this.tabProject
3467
 
3472
 
3468
-
3469
-
3470
-
3471
         }
3473
         }
3472
       })
3474
       })
3473
 
3475
 

+ 14 - 5
src/xt_pages/hospitalStation/doctorDesk.vue 查看文件

40
               </div>
40
               </div>
41
 
41
 
42
               <div class="mainCell" style="margin-bottom:10px;">
42
               <div class="mainCell" style="margin-bottom:10px;">
43
-                  <el-input size="small" placeholder="请输入姓名或就诊号"
44
-                            v-model="search_input" class="filter-item"/>
43
+                  <el-input size="small" placeholder="请输入姓名或就诊号" @input="searchAction"
44
+                    @keyup.enter.native='searchAction' v-model="search_input" class="filter-item"/>
45
                   <el-button size="small" style="margin-left:10px;" class="filter-item" type="primary"
45
                   <el-button size="small" style="margin-left:10px;" class="filter-item" type="primary"
46
                              @click="searchAction">
46
                              @click="searchAction">
47
                       搜索
47
                       搜索
556
         switch (this.radio) {
556
         switch (this.radio) {
557
           case 0:
557
           case 0:
558
             let arr4 = []
558
             let arr4 = []
559
+            // console.log('3333',this.all_data);
559
             for (let i = 0; i < this.all_data.length; i++) {
560
             for (let i = 0; i < this.all_data.length; i++) {
560
-              if (this.all_data[i].name.indexOf(this.search_input) != -1 || this.all_data[i].his_patient.number.indexOf(this.search_input) != -1) {
561
+              if (this.all_data[i].name.indexOf(this.search_input) != -1 || 
562
+              this.all_data[i].his_patient.number.indexOf(this.search_input) != -1 ||
563
+              this.all_data[i].first_letter.indexOf(this.search_input) != -1) {
561
                 arr4 = arr4.concat(this.all_data[i])
564
                 arr4 = arr4.concat(this.all_data[i])
562
               }
565
               }
563
             }
566
             }
565
             break
568
             break
566
           case 2:
569
           case 2:
567
             let arr2 = []
570
             let arr2 = []
571
+            // console.log('4444',this.all_data);
568
             for (let i = 0; i < this.all_data.length; i++) {
572
             for (let i = 0; i < this.all_data.length; i++) {
569
-              if (this.all_data[i].name.indexOf(this.search_input) != -1 || this.all_data[i].his_patient.number.indexOf(this.search_input) != -1) {
573
+              if (this.all_data[i].name.indexOf(this.search_input) != -1 || 
574
+                  this.all_data[i].his_patient.number.indexOf(this.search_input) != -1 ||
575
+                  this.all_data[i].first_letter.indexOf(this.search_input) != -1) {
570
                 arr2 = arr2.concat(this.all_data[i])
576
                 arr2 = arr2.concat(this.all_data[i])
571
               }
577
               }
572
             }
578
             }
575
             break
581
             break
576
           case 1:
582
           case 1:
577
             let arr3 = []
583
             let arr3 = []
584
+            // console.log('5555',this.all_data);
578
             for (let i = 0; i < this.all_data.length; i++) {
585
             for (let i = 0; i < this.all_data.length; i++) {
579
-              if (this.all_data[i].name.indexOf(this.search_input) != -1 || this.all_data[i].his_patient.number.indexOf(this.search_input) != -1) {
586
+              if (this.all_data[i].name.indexOf(this.search_input) != -1 || 
587
+              this.all_data[i].his_patient.number.indexOf(this.search_input) != -1 || 
588
+              this.all_data[i].first_letter.indexOf(this.search_input) != -1) {
580
                 arr3 = arr3.concat(this.all_data[i])
589
                 arr3 = arr3.concat(this.all_data[i])
581
               }
590
               }
582
             }
591
             }

+ 12 - 22
src/xt_pages/management/components/ManageForm.vue 查看文件

34
             </el-form-item>
34
             </el-form-item>
35
           </el-col>
35
           </el-col>
36
 
36
 
37
-          <!-- <el-col :span="8">
37
+          <el-col :span="8">
38
             <el-form-item
38
             <el-form-item
39
               label="分区:"
39
               label="分区:"
40
-              v-show="bedShow"
40
+              v-show="bedShowTwo"
41
               required
41
               required
42
               prop="zone_id"
42
               prop="zone_id"
43
             >
43
             >
50
                 ></el-option>
50
                 ></el-option>
51
               </el-select>
51
               </el-select>
52
             </el-form-item>
52
             </el-form-item>
53
-          </el-col> -->
53
+          </el-col>
54
 
54
 
55
           <el-col :span="8">
55
           <el-col :span="8">
56
             <el-form-item
56
             <el-form-item
494
           this.deviceType = zones;
494
           this.deviceType = zones;
495
           var numbers = response.data.data.numbers;
495
           var numbers = response.data.data.numbers;
496
           var devicenumber = response.data.data.devicenumber;
496
           var devicenumber = response.data.data.devicenumber;
497
-          // console.log('devicenumber$', devicenumber)
498
-          // var device = [{ bed_id: 0, bed_number: '请选择' }]
499
-          // for (let index = 0; index < devicenumber.length; index++) {
500
-          // const item = devicenumber[index]
501
-          // device.push({ bed_id: item.bed_id, bed_number: item.bed_number })
502
-          // }
497
+         
503
           this.bedNumber = devicenumber;
498
           this.bedNumber = devicenumber;
504
         }
499
         }
505
       });
500
       });
603
         }
598
         }
604
         arr1.push(obj.id);
599
         arr1.push(obj.id);
605
       });
600
       });
606
-      // console.log('arrr1', arr1)
601
+     
607
       this.form.treat_type = arr1;
602
       this.form.treat_type = arr1;
608
 
603
 
609
       var device_type = this.form.device_type;
604
       var device_type = this.form.device_type;
621
       var machine_statuss = parseInt(machine_status);
616
       var machine_statuss = parseInt(machine_status);
622
       this.form.machine_status = machine_statuss;
617
       this.form.machine_status = machine_statuss;
623
 
618
 
624
-      console.log("购买日期", this.form.buy_date);
619
+
625
 
620
 
626
       if (this.form.Disinfection_mode === "") {
621
       if (this.form.Disinfection_mode === "") {
627
         this.form.Disinfection_mode = 0;
622
         this.form.Disinfection_mode = 0;
714
         }
709
         }
715
         arr1.push(obj.id);
710
         arr1.push(obj.id);
716
       });
711
       });
717
-      // console.log('arrr1', arr1)
712
+     
718
       this.form.treat_type = arr1;
713
       this.form.treat_type = arr1;
719
 
714
 
720
       var device_type = this.form.device_type;
715
       var device_type = this.form.device_type;
732
       var machine_statuss = parseInt(machine_status);
727
       var machine_statuss = parseInt(machine_status);
733
       this.form.machine_status = machine_statuss;
728
       this.form.machine_status = machine_statuss;
734
 
729
 
735
-      // if (this.form.bed_number === '') {
736
-      //  this.form.bed_number = 0
737
-      // }
738
-      // var bed_numbers = this.form.bed_number
739
-      // var bed_numberss = parseInt(bed_numbers)
740
-      // this.form.bed_number = bed_numberss
741
-      console.log("购买日期", this.form.buy_date);
730
+ 
742
 
731
 
743
       if (this.form.Disinfection_mode === "") {
732
       if (this.form.Disinfection_mode === "") {
744
         this.form.Disinfection_mode = 0;
733
         this.form.Disinfection_mode = 0;
824
          this.form.zone_id = 0
813
          this.form.zone_id = 0
825
       }
814
       }
826
     
815
     
827
-      console.log("form23232wo",this.form)
816
+    
817
+    
828
       this.$refs[formName].validate(valid => {
818
       this.$refs[formName].validate(valid => {
829
         if (valid) {
819
         if (valid) {
830
           SaveManageInfoTwo(this.form, this.forms.beds).then(response => {
820
           SaveManageInfoTwo(this.form, this.forms.beds).then(response => {
831
             if (response.data.state === 1) {
821
             if (response.data.state === 1) {
832
               var add = response.data.data.addmacher;
822
               var add = response.data.data.addmacher;
833
-              console.log("add", add);
823
+          
834
               this.dialogVisible = false;
824
               this.dialogVisible = false;
835
               this.$message.success("保存成功");
825
               this.$message.success("保存成功");
836
               this.getAllSubregion();
826
               this.getAllSubregion();
845
       getAllMode().then(response => {
835
       getAllMode().then(response => {
846
         var mode = response.data.data.mode;
836
         var mode = response.data.data.mode;
847
         this.deviceMode = mode;
837
         this.deviceMode = mode;
848
-        console.log("mode", mode);
838
+       
849
       });
839
       });
850
     },
840
     },
851
     delManageInfo(){
841
     delManageInfo(){

+ 32 - 18
src/xt_pages/management/home.vue 查看文件

340
                                    </el-form-item>
340
                                    </el-form-item>
341
                                </el-col>
341
                                </el-col>
342
                              </el-row>
342
                              </el-row>
343
+                             <el-row>
344
+                              <el-col :span="7">
345
+                                   <el-form-item label="分区">
346
+                                    <el-select style="width:135px" v-model="form.zone_id" :disabled="disableFour">
347
+                                      <el-option
348
+                                        v-for="item in this.bedZone"
349
+                                        :key="item.id"
350
+                                        :label="item.name"
351
+                                        :value="item.id"
352
+                                      ></el-option>
353
+                                    </el-select>
354
+                                   </el-form-item>
355
+                               </el-col>
356
+                             </el-row>
343
                              <el-row>
357
                              <el-row>
344
                                <el-col :span="7">
358
                                <el-col :span="7">
345
                                  <el-form-item label="设备名称:" required prop="device_name">
359
                                  <el-form-item label="设备名称:" required prop="device_name">
3355
       getAllSubregion() {
3369
       getAllSubregion() {
3356
         getAllSubregion().then(response => {
3370
         getAllSubregion().then(response => {
3357
           var zones = response.data.data.zones
3371
           var zones = response.data.data.zones
3358
-          console.log("zones",zones)
3372
+       
3359
           this.deviceType = zones
3373
           this.deviceType = zones
3360
           var numbers = response.data.data.numbers
3374
           var numbers = response.data.data.numbers
3361
 
3375
 
3440
         this.tabIndex = index
3454
         this.tabIndex = index
3441
       },
3455
       },
3442
       handleCurrentChange(val) {
3456
       handleCurrentChange(val) {
3443
-        console.log("val3223323223",val)
3457
+      
3444
         // 通过设备型号区分质量控制
3458
         // 通过设备型号区分质量控制
3445
         this.device_type = val.device_type
3459
         this.device_type = val.device_type
3446
         this.unitType = val.unit_type
3460
         this.unitType = val.unit_type
3464
        
3478
        
3465
       },
3479
       },
3466
       toParent(){
3480
       toParent(){
3467
-        console.log("处方23322332")
3481
+      
3468
         this.$refs.childSix.getlist()
3482
         this.$refs.childSix.getlist()
3469
       },
3483
       },
3470
       getAutoData(id) {
3484
       getAutoData(id) {
3478
         getMachineDetailById(id).then(response => {
3492
         getMachineDetailById(id).then(response => {
3479
           if (response.data.state === 1) {
3493
           if (response.data.state === 1) {
3480
             var addmacher = response.data.data.addmacher
3494
             var addmacher = response.data.data.addmacher
3481
-            console.log("addmacher",addmacher)
3495
+         
3482
             var warning = response.data.data.warning
3496
             var warning = response.data.data.warning
3483
 
3497
 
3484
             var time = this.getTimestamp(this.userform.date) - warning.stime
3498
             var time = this.getTimestamp(this.userform.date) - warning.stime
3786
         if (this.form.zone_id === '') {
3800
         if (this.form.zone_id === '') {
3787
           this.form.zone_id = 0
3801
           this.form.zone_id = 0
3788
         }
3802
         }
3803
+        if( this.form.zone_id >0){
3804
+          this.form.zone_id = parseInt(this.form.zone_id)
3805
+        }
3806
+     
3789
 
3807
 
3790
         this.$refs[formName].validate(valid => {
3808
         this.$refs[formName].validate(valid => {
3791
           if (valid) {
3809
           if (valid) {
3900
         getAllPlan().then(response => {
3918
         getAllPlan().then(response => {
3901
           if (response.data.state === 1) {
3919
           if (response.data.state === 1) {
3902
             var plan = response.data.data.plan
3920
             var plan = response.data.data.plan
3903
-            console.log("plan=====",plan )
3904
             for (let index = 0; index < plan.length; index++) {
3921
             for (let index = 0; index < plan.length; index++) {
3905
               if (plan[index].time === 1) {
3922
               if (plan[index].time === 1) {
3906
                 plan[index].time = '周一'
3923
                 plan[index].time = '周一'
4040
         getAllPlanDetail(unit_type).then(response => {
4057
         getAllPlanDetail(unit_type).then(response => {
4041
           if (response.data.state === 1) {
4058
           if (response.data.state === 1) {
4042
             var plandetail = response.data.data.plandetail
4059
             var plandetail = response.data.data.plandetail
4043
-            console.log("plandetail",plandetail)
4060
+           
4044
             for (let index = 0; index < plandetail.length; index++) {
4061
             for (let index = 0; index < plandetail.length; index++) {
4045
               if (plandetail[index].time === 1) {
4062
               if (plandetail[index].time === 1) {
4046
                 plandetail[index].time = '周一'
4063
                 plandetail[index].time = '周一'
4435
       },
4452
       },
4436
 
4453
 
4437
       SaveInformation(formName) {
4454
       SaveInformation(formName) {
4438
-        // if (this.userform.classtype === '') {
4439
-        //   this.userform.classtype = 0
4440
-        // }
4441
-        console.log("form233232322323",this.userform.classtype)
4455
+     
4442
         if(this.userform.classtype!=""){
4456
         if(this.userform.classtype!=""){
4443
           var classtypes = this.userform.classtype
4457
           var classtypes = this.userform.classtype
4444
           var classtype = parseInt(classtypes)
4458
           var classtype = parseInt(classtypes)
4558
         }
4572
         }
4559
         this.userform.user_total = parseInt(this.userform.user_total)
4573
         this.userform.user_total = parseInt(this.userform.user_total)
4560
 
4574
 
4561
-        console.log("user_form",this.userform)
4575
+
4562
 
4576
 
4563
         this.$refs[formName].validate((valid) => {
4577
         this.$refs[formName].validate((valid) => {
4564
           if (valid) {
4578
           if (valid) {
4778
            this.qualityForm.modifications = parseInt(this.qualityForm.modifications)
4792
            this.qualityForm.modifications = parseInt(this.qualityForm.modifications)
4779
          }
4793
          }
4780
 
4794
 
4781
-        console.log("3333333",this.qualityForm)
4795
+      
4782
 
4796
 
4783
         this.$refs[formName].validate(response => {
4797
         this.$refs[formName].validate(response => {
4784
           SaveBacteria(this.equimentid, this.qualityForm).then(response => {
4798
           SaveBacteria(this.equimentid, this.qualityForm).then(response => {
5124
         getTimeBeteen(id, todayTime).then(response => {
5138
         getTimeBeteen(id, todayTime).then(response => {
5125
           if (response.data.state === 1) {
5139
           if (response.data.state === 1) {
5126
             var timedata = response.data.data.timeData
5140
             var timedata = response.data.data.timeData
5127
-            // console.log("timedata----------------------",timedata)
5141
+           
5128
             if (timedata.length === 0) {
5142
             if (timedata.length === 0) {
5129
               this.warnShow = false
5143
               this.warnShow = false
5130
             }
5144
             }
5173
             this.userform.bed_number = ''
5187
             this.userform.bed_number = ''
5174
             var change = response.data.data.change
5188
             var change = response.data.data.change
5175
             this.bedNumberTwo = change
5189
             this.bedNumberTwo = change
5176
-            // console.log('change', change)
5190
+          
5177
           }
5191
           }
5178
         })
5192
         })
5179
       },
5193
       },
5254
             saveOxygenates(this.equimentid, this.qualityFormFour).then(response => {
5268
             saveOxygenates(this.equimentid, this.qualityFormFour).then(response => {
5255
               if (response.data.state === 1) {
5269
               if (response.data.state === 1) {
5256
                 var oxygenates = response.data.data.oxygenates
5270
                 var oxygenates = response.data.data.oxygenates
5257
-                console.log("oxygenates",oxygenates)
5271
+                
5258
                 this.$message.success('保存成功')
5272
                 this.$message.success('保存成功')
5259
                 this.qualityFormFour.specimenb = ''
5273
                 this.qualityFormFour.specimenb = ''
5260
                 this.qualityFormFour.concentrate_noc = ''
5274
                 this.qualityFormFour.concentrate_noc = ''
5298
             saveHardWater(this.equimentid, this.qualityFormFive).then(response => {
5312
             saveHardWater(this.equimentid, this.qualityFormFive).then(response => {
5299
               if (response.data.state === 1) {
5313
               if (response.data.state === 1) {
5300
                 var hadwater = response.data.data.hadwater
5314
                 var hadwater = response.data.data.hadwater
5301
-                console.log("hadwater",hadwater)
5315
+            
5302
                 this.$message.success('保存成功')
5316
                 this.$message.success('保存成功')
5303
                 this.qualityFormFive.specimenb = ''
5317
                 this.qualityFormFive.specimenb = ''
5304
                 this.qualityFormFive.concentrate_noc = ''
5318
                 this.qualityFormFive.concentrate_noc = ''
5341
             saveWater(this.equimentid, this.qualityFormSix).then(response => {
5355
             saveWater(this.equimentid, this.qualityFormSix).then(response => {
5342
               if (response.data.state === 1) {
5356
               if (response.data.state === 1) {
5343
                 var deviceWater = response.data.data.deviceWater
5357
                 var deviceWater = response.data.data.deviceWater
5344
-                console.log("deviceWater",deviceWater)
5358
+              
5345
                 this.$message.success('保存成功')
5359
                 this.$message.success('保存成功')
5346
                 this.qualityFormSix.specimenb = ''
5360
                 this.qualityFormSix.specimenb = ''
5347
                 this.qualityFormSix.concentrate_noc = ''
5361
                 this.qualityFormSix.concentrate_noc = ''
5386
             saveDevicePH(this.equimentid, this.qualityFormSeven).then(response => {
5400
             saveDevicePH(this.equimentid, this.qualityFormSeven).then(response => {
5387
               if (response.data.state === 1) {
5401
               if (response.data.state === 1) {
5388
                 var devicePh = response.data.data.devicePh
5402
                 var devicePh = response.data.data.devicePh
5389
-                console.log("devicePh",devicePh)
5403
+             
5390
                 this.$message.success('保存成功')
5404
                 this.$message.success('保存成功')
5391
                 this.qualityFormSeven.specimenb = ''
5405
                 this.qualityFormSeven.specimenb = ''
5392
                 this.qualityFormSeven.concentrate_noc = ''
5406
                 this.qualityFormSeven.concentrate_noc = ''

+ 13 - 1
src/xt_pages/management/index.vue 查看文件

124
         </el-table-column>
124
         </el-table-column>
125
 
125
 
126
         <el-table-column label="分区" align="center">
126
         <el-table-column label="分区" align="center">
127
-          <template slot-scope="scope">{{ scope.row.name }}</template>
127
+          <template slot-scope="scope">
128
+            <span v-if="scope.row.device_type!='水处理机'"> {{ scope.row.name }}</span> 
129
+            <span v-if="scope.row.device_type=='水处理机'"> {{getZoneName(scope.row.zone_id)  }}</span> 
130
+          </template>
128
         </el-table-column>
131
         </el-table-column>
129
 
132
 
130
         <el-table-column label="机位号" align="center">
133
         <el-table-column label="机位号" align="center">
416
           this.$message.success("保存成功!")
419
           this.$message.success("保存成功!")
417
         }
420
         }
418
       })
421
       })
422
+    },
423
+    getZoneName(val){
424
+     var zone_name= ""
425
+     for(let i=0;i<this.zones.length;i++){
426
+       if(val == this.zones[i].id){
427
+          zone_name = this.zones[i].name
428
+       }
429
+     }
430
+     return zone_name
419
     }
431
     }
420
   },
432
   },
421
   created() {
433
   created() {

+ 16 - 10
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue 查看文件

1588
       this.$refs.additionalCharges.hide()
1588
       this.$refs.additionalCharges.hide()
1589
 
1589
 
1590
     }, searchProjectAction() {
1590
     }, searchProjectAction() {
1591
-      console.log('~~~~')
1592
-      console.log(this.allProject)
1593
-
1591
+      console.log('~~~~',this.search_project_keyword)
1592
+      // console.log(this.allProject)
1594
       if (this.search_project_keyword.length == 0) {
1593
       if (this.search_project_keyword.length == 0) {
1595
         this.tabProject = this.allProject
1594
         this.tabProject = this.allProject
1596
 
1595
 
1597
       } else {
1596
       } else {
1598
         let arr = []
1597
         let arr = []
1599
         for (let i = 0; i < this.allProject.length; i++) {
1598
         for (let i = 0; i < this.allProject.length; i++) {
1600
-          if (this.allProject[i].project_name.indexOf(this.search_project_keyword) != -1) {
1601
-            arr = arr.concat(this.allProject[i])
1602
-          }
1599
+         
1600
+            if (this.allProject[i].project_name.indexOf(this.search_project_keyword) != -1) {
1601
+              arr = arr.concat(this.allProject[i])
1602
+            }
1603
+          
1603
         }
1604
         }
1604
         this.tabProject = arr
1605
         this.tabProject = arr
1605
-
1606
+        console.log('kkkk',this.tabProject);
1606
       }
1607
       }
1607
 
1608
 
1608
     }, searchProjectTeamAction() {
1609
     }, searchProjectTeamAction() {
1626
       } else {
1627
       } else {
1627
         let arr = []
1628
         let arr = []
1628
         for (let i = 0; i < this.drugs.length; i++) {
1629
         for (let i = 0; i < this.drugs.length; i++) {
1629
-          if (this.drugs[i].drug_name.indexOf(this.search_keyword) != -1 || this.drugs[i].wubi.indexOf(this.search_keyword) != -1 || this.drugs[i].pinyin.indexOf(this.search_keyword) != -1) {
1630
+          if (this.drugs[i].drug_name.indexOf(this.search_keyword) != -1 ||
1631
+           this.drugs[i].wubi.indexOf(this.search_keyword) != -1 || 
1632
+           this.drugs[i].pinyin.indexOf(this.search_keyword) != -1 ||
1633
+           this.drugs[i].first_letter.indexOf(this.search_keyword) != -1
1634
+           ) {
1630
             arr = arr.concat(this.drugs[i])
1635
             arr = arr.concat(this.drugs[i])
1631
           }
1636
           }
1632
         }
1637
         }
3531
               is_special_diseases: project[i].disease_directory,
3536
               is_special_diseases: project[i].disease_directory,
3532
               project: project[i],
3537
               project: project[i],
3533
               stock_count:0,
3538
               stock_count:0,
3539
+              first_letter:project[i].first_letter
3534
             }
3540
             }
3535
-
3541
+            // console.log('hhhhh',obj);
3536
             this.tabProject.push(obj)
3542
             this.tabProject.push(obj)
3537
           }
3543
           }
3538
 
3544
 
3569
           }
3575
           }
3570
 
3576
 
3571
           this.allProject = this.tabProject
3577
           this.allProject = this.tabProject
3572
-
3578
+          // console.log('cccc',this.allProject);
3573
         }
3579
         }
3574
       })
3580
       })
3575
 
3581
 

+ 50 - 19
src/xt_pages/outpatientDoctorStation/doctorDesk.vue 查看文件

830
     },
830
     },
831
 
831
 
832
     searchAction() {
832
     searchAction() {
833
+      
833
       if (this.search_input.length == 0) {
834
       if (this.search_input.length == 0) {
834
         switch (this.radio) {
835
         switch (this.radio) {
835
           case 0:
836
           case 0:
843
             break
844
             break
844
         }
845
         }
845
       } else {
846
       } else {
846
-
847
+        console.log('5555',this.radio);
847
         switch (this.radio) {
848
         switch (this.radio) {
848
           case 0:
849
           case 0:
849
             let arr = []
850
             let arr = []
850
             for (let i = 0; i < this.all_data.length; i++) {
851
             for (let i = 0; i < this.all_data.length; i++) {
851
-              if (this.all_data[i].name.indexOf(this.search_input) != -1 || this.all_data[i].number.indexOf(this.search_input) != -1) {
852
+              if (this.all_data[i].name.indexOf(this.search_input) != -1 ||
853
+               this.all_data[i].number.indexOf(this.search_input) != -1 ||
854
+               this.all_data[i].first_letter.indexOf(this.search_input) != -1) {
852
                 arr = arr.concat(this.all_data[i])
855
                 arr = arr.concat(this.all_data[i])
853
                 console.log(arr)
856
                 console.log(arr)
854
               }
857
               }
858
             break
861
             break
859
           case 2:
862
           case 2:
860
             let arr2 = []
863
             let arr2 = []
864
+           
861
             for (let i = 0; i < this.cure_data.length; i++) {
865
             for (let i = 0; i < this.cure_data.length; i++) {
862
-              if (this.cure_data[i].name.indexOf(this.search_input) != -1 || this.cure_data[i].number.indexOf(this.search_input) != -1) {
866
+              if (this.cure_data[i].name.indexOf(this.search_input) != -1 || 
867
+              this.cure_data[i].number.indexOf(this.search_input) != -1 ||
868
+              this.cure_data[i].first_letter.indexOf(this.search_input) != -1) {
869
+                console.log('2222',this.cure_data);
863
                 arr2 = arr2.concat(this.cure_data[i])
870
                 arr2 = arr2.concat(this.cure_data[i])
864
               }
871
               }
865
             }
872
             }
867
 
874
 
868
             break
875
             break
869
           case 1:
876
           case 1:
877
+            console.log("wowowoowowow",this.un_cure_data)
870
             let arr3 = []
878
             let arr3 = []
879
+            console.log('3333',this.un_cure_data);
871
             for (let i = 0; i < this.un_cure_data.length; i++) {
880
             for (let i = 0; i < this.un_cure_data.length; i++) {
872
-              if (this.un_cure_data[i].name.indexOf(this.search_input) != -1 || this.un_cure_data[i].number.indexOf(this.search_input) != -1) {
873
-                arr3 = arr3.concat(this.un_cure_data[i])
881
+              if(this.un_cure_data[i].first_letter!=undefined){
882
+                if (this.un_cure_data[i].name.indexOf(this.search_input) != -1 || 
883
+                this.un_cure_data[i].number.indexOf(this.search_input) != -1 ||
884
+                this.un_cure_data[i].first_letter.indexOf(this.search_input) != -1) {
885
+                  arr3 = arr3.concat(this.un_cure_data[i])
886
+                }
874
               }
887
               }
888
+              
875
             }
889
             }
876
             this.un_cure_data = arr3
890
             this.un_cure_data = arr3
877
             break
891
             break
902
                   name: response.data.data.list[i].his_patient[b].name,
916
                   name: response.data.data.list[i].his_patient[b].name,
903
                   number: response.data.data.list[i].his_patient[b].number,
917
                   number: response.data.data.list[i].his_patient[b].number,
904
                   id: response.data.data.list[i].id,
918
                   id: response.data.data.list[i].id,
905
-                  his_patient_id: response.data.data.list[i].his_patient[b].id
919
+                  his_patient_id: response.data.data.list[i].his_patient[b].id,
920
+                  first_letter:response.data.data.list[i].first_letter
906
                 }
921
                 }
907
                 this.un_cure_data.push(obj)
922
                 this.un_cure_data.push(obj)
923
+                console.log('vvvvv',this.un_cure_data);
908
               }
924
               }
909
               //已就诊
925
               //已就诊
910
               if (response.data.data.list[i].his_patient[b].prescription.length > 0) {
926
               if (response.data.data.list[i].his_patient[b].prescription.length > 0) {
912
                   name: response.data.data.list[i].his_patient[b].name,
928
                   name: response.data.data.list[i].his_patient[b].name,
913
                   number: response.data.data.list[i].his_patient[b].number,
929
                   number: response.data.data.list[i].his_patient[b].number,
914
                   id: response.data.data.list[i].id,
930
                   id: response.data.data.list[i].id,
915
-                  his_patient_id: response.data.data.list[i].his_patient[b].id
931
+                  his_patient_id: response.data.data.list[i].his_patient[b].id,
932
+                  first_letter:response.data.data.list[i].first_letter
916
                 }
933
                 }
917
                 this.cure_data.push(obj)
934
                 this.cure_data.push(obj)
918
               }
935
               }
921
 
938
 
922
           //排班
939
           //排班
923
           for (let i = 0; i < response.data.data.list_two.length; i++) {
940
           for (let i = 0; i < response.data.data.list_two.length; i++) {
941
+            console.log("hahhahahahahahahah",response.data.data.list_two)
924
             //未就诊
942
             //未就诊
925
             if (response.data.data.list_two[i].prescription.length == 0 && response.data.data.list_two[i].his_patient.id == 0) {
943
             if (response.data.data.list_two[i].prescription.length == 0 && response.data.data.list_two[i].his_patient.id == 0) {
926
               let obj = {
944
               let obj = {
927
                 name: response.data.data.list_two[i].name,
945
                 name: response.data.data.list_two[i].name,
928
                 number: response.data.data.list_two[i].his_patient.number,
946
                 number: response.data.data.list_two[i].his_patient.number,
929
                 id: response.data.data.list_two[i].id,
947
                 id: response.data.data.list_two[i].id,
930
-                his_patient_id: response.data.data.list_two[i].his_patient.id
948
+                his_patient_id: response.data.data.list_two[i].his_patient.id,
949
+                first_letter:response.data.data.list_two[i].first_letter
931
               }
950
               }
932
               this.un_cure_data.push(obj)
951
               this.un_cure_data.push(obj)
952
+              // console.log('aaaaa',this.un_cure_data);
933
             }
953
             }
934
 
954
 
935
             //已就诊
955
             //已就诊
938
                 name: response.data.data.list_two[i].name,
958
                 name: response.data.data.list_two[i].name,
939
                 number: response.data.data.list_two[i].his_patient.number,
959
                 number: response.data.data.list_two[i].his_patient.number,
940
                 id: response.data.data.list_two[i].id,
960
                 id: response.data.data.list_two[i].id,
941
-                his_patient_id: response.data.data.list_two[i].his_patient.id
961
+                his_patient_id: response.data.data.list_two[i].his_patient.id,
962
+                first_letter:response.data.data.list_two[i].first_letter
942
               }
963
               }
943
               this.cure_data.push(obj)
964
               this.cure_data.push(obj)
944
             }
965
             }
945
           }
966
           }
946
-
967
+          // console.log('gggg',this.un_cure_data);
947
           this.all_data = this.all_data.concat(this.cure_data)
968
           this.all_data = this.all_data.concat(this.cure_data)
948
           this.all_data = this.all_data.concat(this.un_cure_data)
969
           this.all_data = this.all_data.concat(this.un_cure_data)
949
 
970
 
966
               this.getPatientInfo(this.un_cure_data[0])
987
               this.getPatientInfo(this.un_cure_data[0])
967
 
988
 
968
             } else if (this.radio == 2) {
989
             } else if (this.radio == 2) {
969
-
970
               this.$refs.tab.setCurrentRow(this.cure_data[0])
990
               this.$refs.tab.setCurrentRow(this.cure_data[0])
971
               this.oldCurrentRow = this.cure_data[0]
991
               this.oldCurrentRow = this.cure_data[0]
972
               this.getPatientInfo(this.cure_data[0])
992
               this.getPatientInfo(this.cure_data[0])
1000
                   name: response.data.data.list[i].his_patient[b].name,
1020
                   name: response.data.data.list[i].his_patient[b].name,
1001
                   number: response.data.data.list[i].his_patient[b].number,
1021
                   number: response.data.data.list[i].his_patient[b].number,
1002
                   id: response.data.data.list[i].id,
1022
                   id: response.data.data.list[i].id,
1003
-                  his_patient_id: response.data.data.list[i].his_patient[b].id
1023
+                  his_patient_id: response.data.data.list[i].his_patient[b].id,
1024
+                  first_letter:response.data.data.list[i].first_letter
1004
                 }
1025
                 }
1005
                 this.un_cure_data.push(obj)
1026
                 this.un_cure_data.push(obj)
1006
               }
1027
               }
1010
                   name: response.data.data.list[i].his_patient[b].name,
1031
                   name: response.data.data.list[i].his_patient[b].name,
1011
                   number: response.data.data.list[i].his_patient[b].number,
1032
                   number: response.data.data.list[i].his_patient[b].number,
1012
                   id: response.data.data.list[i].id,
1033
                   id: response.data.data.list[i].id,
1013
-                  his_patient_id: response.data.data.list[i].his_patient[b].id
1034
+                  his_patient_id: response.data.data.list[i].his_patient[b].id,
1035
+                  first_letter:response.data.data.list[i].first_letter
1014
                 }
1036
                 }
1015
                 this.cure_data.push(obj)
1037
                 this.cure_data.push(obj)
1016
               }
1038
               }
1025
                 name: response.data.data.list_two[i].name,
1047
                 name: response.data.data.list_two[i].name,
1026
                 number: response.data.data.list_two[i].his_patient.number,
1048
                 number: response.data.data.list_two[i].his_patient.number,
1027
                 id: response.data.data.list_two[i].id,
1049
                 id: response.data.data.list_two[i].id,
1028
-                his_patient_id: response.data.data.list_two[i].his_patient.id
1050
+                his_patient_id: response.data.data.list_two[i].his_patient.id,
1051
+                first_letter:response.data.data.list_two[i].first_letter
1029
               }
1052
               }
1030
               this.un_cure_data.push(obj)
1053
               this.un_cure_data.push(obj)
1031
             }
1054
             }
1036
                 name: response.data.data.list_two[i].name,
1059
                 name: response.data.data.list_two[i].name,
1037
                 number: response.data.data.list_two[i].his_patient.number,
1060
                 number: response.data.data.list_two[i].his_patient.number,
1038
                 id: response.data.data.list_two[i].id,
1061
                 id: response.data.data.list_two[i].id,
1039
-                his_patient_id: response.data.data.list_two[i].his_patient.id
1062
+                his_patient_id: response.data.data.list_two[i].his_patient.id,
1063
+                first_letter:response.data.data.list_two[i].first_letter
1040
               }
1064
               }
1041
               this.cure_data.push(obj)
1065
               this.cure_data.push(obj)
1042
             }
1066
             }
1488
           this.$message.error(response.data.msg)
1512
           this.$message.error(response.data.msg)
1489
           return false
1513
           return false
1490
         } else {
1514
         } else {
1515
+          console.log("getSchedulePatientList",response.data.data.list_two)
1491
           //排班
1516
           //排班
1492
           for (let i = 0; i < response.data.data.list_two.length; i++) {
1517
           for (let i = 0; i < response.data.data.list_two.length; i++) {
1493
             //未就诊
1518
             //未就诊
1496
                 name: response.data.data.list_two[i].name,
1521
                 name: response.data.data.list_two[i].name,
1497
                 number: response.data.data.list_two[i].his_patient.number,
1522
                 number: response.data.data.list_two[i].his_patient.number,
1498
                 id: response.data.data.list_two[i].id,
1523
                 id: response.data.data.list_two[i].id,
1499
-                his_patient_id: response.data.data.list_two[i].his_patient.id
1524
+                his_patient_id: response.data.data.list_two[i].his_patient.id,
1525
+                first_letter:response.data.data.list_two[i].first_letter
1500
               }
1526
               }
1527
+              console.log('6666',obj);
1501
               this.un_cure_data.push(obj)
1528
               this.un_cure_data.push(obj)
1502
             }
1529
             }
1503
 
1530
 
1507
                 name: response.data.data.list_two[i].name,
1534
                 name: response.data.data.list_two[i].name,
1508
                 number: response.data.data.list_two[i].his_patient.number,
1535
                 number: response.data.data.list_two[i].his_patient.number,
1509
                 id: response.data.data.list_two[i].id,
1536
                 id: response.data.data.list_two[i].id,
1510
-                his_patient_id: response.data.data.list_two[i].his_patient.id
1537
+                his_patient_id: response.data.data.list_two[i].his_patient.id,
1538
+                first_letter:response.data.data.list_two[i].first_letter
1511
               }
1539
               }
1512
               this.cure_data.push(obj)
1540
               this.cure_data.push(obj)
1513
             }
1541
             }
1522
                   name: response.data.data.list[i].his_patient[b].name,
1550
                   name: response.data.data.list[i].his_patient[b].name,
1523
                   number: response.data.data.list[i].his_patient[b].number,
1551
                   number: response.data.data.list[i].his_patient[b].number,
1524
                   id: response.data.data.list[i].id,
1552
                   id: response.data.data.list[i].id,
1525
-                  his_patient_id: response.data.data.list[i].his_patient[b].id
1553
+                  his_patient_id: response.data.data.list[i].his_patient[b].id,
1554
+                  first_letter:response.data.data.list[i].first_letter
1526
                 }
1555
                 }
1556
+                console.log('8888',obj);
1527
                 this.un_cure_data.push(obj)
1557
                 this.un_cure_data.push(obj)
1528
               }
1558
               }
1529
               //已就诊
1559
               //已就诊
1532
                   name: response.data.data.list[i].his_patient[b].name,
1562
                   name: response.data.data.list[i].his_patient[b].name,
1533
                   number: response.data.data.list[i].his_patient[b].number,
1563
                   number: response.data.data.list[i].his_patient[b].number,
1534
                   id: response.data.data.list[i].id,
1564
                   id: response.data.data.list[i].id,
1535
-                  his_patient_id: response.data.data.list[i].his_patient[b].id
1565
+                  his_patient_id: response.data.data.list[i].his_patient[b].id,
1566
+                  first_letter:response.data.data.list[i].first_letter
1536
                 }
1567
                 }
1537
                 this.cure_data.push(obj)
1568
                 this.cure_data.push(obj)
1538
               }
1569
               }

+ 3 - 1
src/xt_pages/role/admin.vue 查看文件

192
           size="small"
192
           size="small"
193
           icon="el-icon-circle-plus-outline"
193
           icon="el-icon-circle-plus-outline"
194
           style="float:left"
194
           style="float:left"
195
-          @click="toSendInformaton">生成PDF</el-button> -->
195
+          @click="toSavePDFInformation">生成PDF</el-button> -->
196
      </div>
196
      </div>
197
     
197
     
198
       
198
       
1057
     toSavePDFInformation(){
1057
     toSavePDFInformation(){
1058
       toSavePDFInformation().then(response=>{
1058
       toSavePDFInformation().then(response=>{
1059
          if(response.data.data == 1){
1059
          if(response.data.data == 1){
1060
+          var information =  response.data.data.information
1060
 
1061
 
1062
+           var orderId = response.data.data.orderId
1061
          }
1063
          }
1062
       })
1064
       })
1063
     }
1065
     }

+ 128 - 1
src/xt_pages/stock/drugs/drugStockFlow.vue 查看文件

49
             </el-option>
49
             </el-option>
50
         </el-select>
50
         </el-select>
51
         
51
         
52
+        <span>
53
+          <el-button type="primary" size="small" @click="toExprot">导出</el-button>
54
+        </span>
52
         
55
         
53
       </div>
56
       </div>
54
       
57
       
597
         }
600
         }
598
       }
601
       }
599
       return max_str + min_str;
602
       return max_str + min_str;
600
-     }
603
+     },
604
+
605
+     toExprot(){
606
+      import('@/vendor/Export2Excel').then(excel => { 
607
+         
608
+        console.log("tableList",this.tableList)
609
+
610
+        if(this.tableList!=null && this.tableList.length>0){
611
+          for(let i=0;i<this.tableList.length;i++){
612
+
613
+              this.tableList[i].index = i+1
614
+             if(this.tableList[i].consumable_type == 1){
615
+               this.tableList[i].consumable_type_name = "手动入库"
616
+             }
617
+             if(this.tableList[i].consumable_type == 2){
618
+               this.tableList[i].consumable_type_name = "手动出库"
619
+             }
620
+             if(this.tableList[i].consumable_type == 3){
621
+               this.tableList[i].consumable_type_name = "自动出库"
622
+             }
623
+             if(this.tableList[i].consumable_type == 4){
624
+               this.tableList[i].consumable_type_name = "手动退库"
625
+             }
626
+             if(this.tableList[i].consumable_type == 5){
627
+               this.tableList[i].consumable_type_name = "报损数量"
628
+             }
629
+             if(this.tableList[i].consumable_type == 7){
630
+               this.tableList[i].consumable_type_name = "自动退库"
631
+             }
632
+             if(this.tableList[i].consumable_type == 10){
633
+               this.tableList[i].consumable_type_name = "盘盈"
634
+             }
635
+             if(this.tableList[i].consumable_type == 11){
636
+               this.tableList[i].consumable_type_name = "盘亏"
637
+             }
638
+             if(this.tableList[i].consumable_type == 12){
639
+               this.tableList[i].consumable_type_name = "调拨出库"
640
+             }
641
+             if(this.tableList[i].consumable_type == 13){
642
+               this.tableList[i].consumable_type_name = "调拨入库"
643
+             }
644
+             if(this.tableList[i].consumable_type == 15){
645
+               this.tableList[i].consumable_type_name = "结算出库"
646
+             }
647
+
648
+        
649
+            if(this.tableList[i].consumable_type == 1){
650
+              this.tableList[i].order_number = this.tableList[i].warehousing_order
651
+            }
652
+            if(this.tableList[i].consumable_type == 2){
653
+              this.tableList[i].order_number = this.tableList[i].warehouse_out_order_number
654
+            }
655
+            if(this.tableList[i].consumable_type == 3){
656
+              this.tableList[i].order_number = this.tableList[i].warehouse_out_order_number
657
+            }
658
+            if(this.tableList[i].consumable_type == 4 || this.tableList[i].consumable_type == 7){
659
+              this.tableList[i].order_number = this.tableList[i].cancel_order_number
660
+            }
661
+            if(this.tableList[i].consumable_type == 10){
662
+              this.tableList[i].order_number = this.tableList[i].warehouse_out_order_number
663
+            }
664
+            if(this.tableList[i].consumable_type == 11){
665
+              this.tableList[i].order_number = this.tableList[i].warehouse_out_order_number
666
+            }
667
+            if(this.tableList[i].consumable_type == 12){
668
+              this.tableList[i].order_number = this.tableList[i].warehouse_out_order_number
669
+            }
670
+            if(this.tableList[i].consumable_type == 13){
671
+              this.tableList[i].order_number = this.tableList[i].warehousing_order
672
+            }
673
+            if(this.tableList[i].consumable_type == 15){
674
+              this.tableList[i].order_number = this.tableList[i].warehouse_out_order_number
675
+            }
676
+
677
+            this.tableList[i].record_time = this.getTime(this.tableList[i].ctime)
678
+          
679
+            this.tableList[i].storehouse_name = this.getHouseName(this.tableList[i].storehouse_id)
680
+
681
+
682
+            
683
+            if(this.tableList[i].consumable_type!=2 && this.tableList[i].consumable_type!=3 && this.tableList[i].consumable_type!=5 &&  this.tableList[i].consumable_type != 7){
684
+              this.tableList[i].coutn_unit = (this.tableList[i].count.toString()) +this.tableList[i].max_unit
685
+            }
686
+            if(this.tableList[i].consumable_type == 2 ||this.tableList[i].consumable_type == 3 || this.tableList[i].consumable_type == 5 ||  this.tableList[i].consumable_type ==7  && (parseInt(this.tableList[i].count/this.tableList[i].BaseDrugLib.min_number) >0)){
687
+              this.tableList[i].coutn_unit = (parseInt(this.tableList[i].count/this.tableList[i].BaseDrugLib.min_number)).toString() +  this.tableList[i].BaseDrugLib.max_unit
688
+            }
689
+            if(this.tableList[i].consumable_type == 2 ||this.tableList[i].consumable_type == 3 || this.tableList[i].consumable_type == 5 ||  this.tableList[i].consumable_type ==7  && (this.tableList[i].count%this.tableList[i].BaseDrugLib.min_number >0)){
690
+              this.tableList[i].coutn_unit = (parseInt(this.tableList[i].count%this.tableList[i].BaseDrugLib.min_number)).toString() +  this.tableList[i].BaseDrugLib.min_unit
691
+            }
692
+
693
+            if(this.tableList[i].price>0){
694
+              this.tableList[i].total_price = this.tableList[i].price
695
+            }
696
+            if(this.tableList[i].price == 0){
697
+              this.tableList[i].total_price = this.getPrice(this.tableList[i].drug_id)
698
+            }
699
+
700
+            this.tableList[i].expire_date_name = this.getTime(this.tableList[i].expire_date,"{y}-{h}-{d}")
701
+            this.tableList[i].manufacturer_name = this.getManufacturer( this.tableList[i].manufacturer)
702
+            this.tableList[i].patient_name = this.getPatientName(this.tableList[i].patient_id) 
703
+            this.tableList[i].over_count_name = this.getDrugCount(this.tableList[i].over_count,this.tableList[i].BaseDrugLib.max_unit,this.tableList[i].BaseDrugLib.min_unit,this.tableList[i].BaseDrugLib.min_number)
704
+
705
+          }
706
+        }
707
+      
708
+       
709
+        const multiHeader =['序号','出入库方式','出入库单据编码','操作日期','仓库名称','数量','单价','有效期','使用人','剩余库存']
710
+      
711
+        const filterVal = ['index', 'consumable_type_name', 'order_number', 'record_time', 'storehouse_name', 'coutn_unit', 'total_price', 'expire_date_name','patient_name','over_count_name']
712
+        
713
+
714
+        const data = this.formatJson(filterVal, this.tableList) 
715
+        console.log("datawoowow",data)
716
+         
717
+      
718
+         excel.export_json_to_excel({
719
+           header: multiHeader,
720
+           data,
721
+           filename: '药品流水'
722
+         })
723
+       })
724
+    },
725
+    formatJson(filterVal, jsonData) {
726
+     return jsonData.map(v => filterVal.map(j => v[j]))
727
+    },
601
     }
728
     }
602
   }
729
   }
603
 </script>
730
 </script>

+ 115 - 1
src/xt_pages/stock/stockFlow.vue 查看文件

48
               :value="item.id">
48
               :value="item.id">
49
             </el-option>
49
             </el-option>
50
         </el-select>
50
         </el-select>
51
+
52
+        <span>
53
+          <el-button type="primary" size="small" @click="toExprot">导出</el-button>
54
+        </span>
55
+       
51
       </div>
56
       </div>
52
       
57
       
53
        <el-table
58
        <el-table
490
           }
495
           }
491
        }
496
        }
492
        return name
497
        return name
493
-     }
498
+     },
499
+     toExprot(){
500
+      import('@/vendor/Export2Excel').then(excel => { 
501
+         
502
+        console.log("tableList",this.tableList)
503
+
504
+        if(this.tableList!=null && this.tableList.length>0){
505
+          for(let i=0;i<this.tableList.length;i++){
506
+              this.tableList[i].index = i+1
507
+             if(this.tableList[i].consumable_type == 1){
508
+               this.tableList[i].consumable_type_name = "手动入库"
509
+             }
510
+             if(this.tableList[i].consumable_type == 2){
511
+               this.tableList[i].consumable_type_name = "手动出库"
512
+             }
513
+             if(this.tableList[i].consumable_type == 3){
514
+               this.tableList[i].consumable_type_name = "自动出库"
515
+             }
516
+             if(this.tableList[i].consumable_type == 4){
517
+               this.tableList[i].consumable_type_name = "手动退库"
518
+             }
519
+             if(this.tableList[i].consumable_type == 7){
520
+               this.tableList[i].consumable_type_name = "自动退库"
521
+             }
522
+             if(this.tableList[i].consumable_type == 10){
523
+               this.tableList[i].consumable_type_name = "盘盈"
524
+             }
525
+             if(this.tableList[i].consumable_type == 11){
526
+               this.tableList[i].consumable_type_name = "盘亏"
527
+             }
528
+             if(this.tableList[i].consumable_type == 12){
529
+               this.tableList[i].consumable_type_name = "调拨出库"
530
+             }
531
+             if(this.tableList[i].consumable_type == 13){
532
+               this.tableList[i].consumable_type_name = "调拨入库"
533
+             }
534
+             if(this.tableList[i].consumable_type == 15){
535
+               this.tableList[i].consumable_type_name = "结算出库"
536
+             }
537
+
538
+            if(this.tableList[i].consumable_type == 1){
539
+              this.tableList[i].order_number = this.tableList[i].warehousing_order
540
+            }
541
+            if(this.tableList[i].consumable_type == 2){
542
+              this.tableList[i].order_number = this.tableList[i].warehouse_out_order_number
543
+            }
544
+            if(this.tableList[i].consumable_type == 3){
545
+              this.tableList[i].order_number = this.tableList[i].warehouse_out_order_number
546
+            }
547
+            if(this.tableList[i].consumable_type == 5){
548
+              this.tableList[i].order_number = this.tableList[i].warehouse_out_order_number
549
+            }
550
+            if(this.tableList[i].consumable_type == 12){
551
+              this.tableList[i].order_number = this.tableList[i].warehouse_out_order_number
552
+            }
553
+            if(this.tableList[i].consumable_type == 15){
554
+              this.tableList[i].order_number = this.tableList[i].warehouse_out_order_number
555
+            }
556
+            if(this.tableList[i].consumable_type == 4 || this.tableList[i].consumable_type == 7){
557
+              this.tableList[i].order_number = this.tableList[i].cancel_order_number
558
+            }
559
+            if(this.tableList[i].consumable_type == 7){
560
+              this.tableList[i].order_number = this.tableList[i].cancel_order_number
561
+            }
562
+
563
+            if(this.tableList[i].consumable_type == 11|| this.tableList[i].consumable_type == 13 ||this.tableList[i].consumable_type == 10 ){
564
+              this.tableList[i].warehousing_order = this.tableList[i].warehousing_order
565
+            }
566
+          
567
+
568
+            this.tableList[i].record_time = this.getTime(this.tableList[i].ctime)
569
+          
570
+            this.tableList[i].storehouse_name = this.getHouseName(this.tableList[i].storehouse_id)
571
+          
572
+            this.tableList[i].coutn_unit = (this.tableList[i].count.toString()) +this.packing_unit
573
+
574
+            if(this.tableList[i].price>0){
575
+              this.tableList[i].total_price = this.tableList[i].price
576
+            }
577
+            if(this.tableList[i].price == 0){
578
+              this.tableList[i].total_price = this.tableList[i].packing_price
579
+            }
580
+
581
+            this.tableList[i].expire_date_name = this.getTime(this.tableList[i].expire_date,"{y}-{h}-{d}")
582
+            this.tableList[i].manufacturer_name = this.getManufacturer( this.tableList[i].manufacturer)
583
+            this.tableList[i].patient_name = this.getPatientName(this.tableList[i].patient_id) 
584
+
585
+          }
586
+        }
587
+      
588
+       
589
+        const multiHeader =['序号','出入库方式','出入库单据编码','操作日期','仓库名称','数量','单价','有效期','生产商','使用人','剩余库存']
590
+      
591
+        const filterVal = ['index', 'consumable_type_name', 'order_number', 'record_time', 'storehouse_name', 'coutn_unit', 'total_price', 'expire_date_name','manufacturer_name','patient_name','over_count']
592
+        
593
+
594
+        const data = this.formatJson(filterVal, this.tableList) 
595
+        console.log("datawoowow",data)
596
+
597
+         excel.export_json_to_excel({
598
+           header: multiHeader,
599
+           data,
600
+           filename: '耗材流水'
601
+         })
602
+       })
603
+    },
604
+    formatJson(filterVal, jsonData) {
605
+     return jsonData.map(v => filterVal.map(j => v[j]))
606
+    },
607
+
494
     }
608
     }
495
   }
609
   }
496
 </script>
610
 </script>

文件差异内容过多而无法显示
+ 304 - 470
src/xt_pages/workforce/Patientshift.vue


+ 182 - 23
src/xt_pages/workforce/scheduleTablePrintTwo.vue 查看文件

49
                   <span v-if="item.Mon_M.patient_id">
49
                   <span v-if="item.Mon_M.patient_id">
50
                     <span>{{ item.Mon_M.patient }} </span><br/>
50
                     <span>{{ item.Mon_M.patient }} </span><br/>
51
                     <span >{{ item.Mon_M.mode_name }}</span><br/>
51
                     <span >{{ item.Mon_M.mode_name }}</span><br/>
52
-                    <span v-show="showflag">{{item.Mon_M.dialysis_machine_name}}</span>
52
+                    <span v-if="org_id==10469 || org_id ==0">{{getAnticoagulant(item.Mon_M.anticoagulant)}}</span><br/>
53
+                    <span v-show="showflag">{{item.Mon_M.dialysis_machine_name}}
54
+                   
55
+                    </span>
53
                   </span>
56
                   </span>
54
                 </td>
57
                 </td>
55
                 <td style="min-width:50px;" v-if="first_day == 1">
58
                 <td style="min-width:50px;" v-if="first_day == 1">
56
                   <span v-if="item.Mon_A.patient_id">
59
                   <span v-if="item.Mon_A.patient_id">
57
                     <span>{{ item.Mon_A.patient }} </span><br/>
60
                     <span>{{ item.Mon_A.patient }} </span><br/>
58
                     <span >{{ item.Mon_A.mode_name }}</span><br/>
61
                     <span >{{ item.Mon_A.mode_name }}</span><br/>
59
-                    <span v-show="showflag">{{item.Mon_A.dialysis_machine_name}}</span>
62
+                     <span v-if="org_id==10469 || org_id == 0">{{getAnticoagulant(item.Mon_A.anticoagulant)  }}</span>
63
+                    <span v-show="showflag">{{item.Mon_A.dialysis_machine_name}}
64
+                     
65
+                    </span>
60
                   </span>
66
                   </span>
61
                 </td>
67
                 </td>
62
                 <td style="min-width:50px;" v-if="first_day == 1">
68
                 <td style="min-width:50px;" v-if="first_day == 1">
63
                     <span v-if="item.Mon_N.patient_id">
69
                     <span v-if="item.Mon_N.patient_id">
64
                         <span>{{ item.Mon_N.patient }} </span><br/>
70
                         <span>{{ item.Mon_N.patient }} </span><br/>
65
                         <span >{{ item.Mon_N.mode_name }}</span><br/>
71
                         <span >{{ item.Mon_N.mode_name }}</span><br/>
66
-                        <span v-show="showflag">{{item.Mon_N.dialysis_machine_name}}</span>
72
+                        <span v-if="org_id ==10469 || org_id == 0">{{getAnticoagulant(item.Mon_N.anticoagulant)  }}</span>
73
+                        <span v-show="showflag">{{item.Mon_N.dialysis_machine_name}}
74
+                         
75
+                        </span>
67
                     </span>
76
                     </span>
68
                 </td>
77
                 </td>
69
                 <td style="min-width:50px;"  v-if="second_day == 2">
78
                 <td style="min-width:50px;"  v-if="second_day == 2">
70
                     <span v-if="item.Tue_M.patient_id">
79
                     <span v-if="item.Tue_M.patient_id">
71
                         <span>{{ item.Tue_M.patient }} </span><br/>
80
                         <span>{{ item.Tue_M.patient }} </span><br/>
72
                         <span >{{ item.Tue_M.mode_name }}</span><br/>
81
                         <span >{{ item.Tue_M.mode_name }}</span><br/>
73
-                        <span v-show="showflag">{{item.Tue_M.dialysis_machine_name}}</span>
82
+                        <span v-if="org_id==0||org_id==10469">{{getAnticoagulant(item.Tue_M.anticoagulant )  }}</span><br/>
83
+                        <span v-show="showflag">{{item.Tue_M.dialysis_machine_name}}
84
+                         
85
+                        </span>
74
                     </span>
86
                     </span>
75
                 </td>
87
                 </td>
76
                 <td style="min-width:50px;"  v-if="second_day == 2">
88
                 <td style="min-width:50px;"  v-if="second_day == 2">
77
                     <span v-if="item.Tue_A.patient_id">
89
                     <span v-if="item.Tue_A.patient_id">
78
                       <span>{{ item.Tue_A.patient }} </span><br/>
90
                       <span>{{ item.Tue_A.patient }} </span><br/>
79
                         <span >{{ item.Tue_A.mode_name }}</span><br/>
91
                         <span >{{ item.Tue_A.mode_name }}</span><br/>
80
-                        <span v-show="showflag">{{item.Tue_A.dialysis_machine_name}}</span>
92
+                        <span v-if="org_id ==0||org_id == 10469">{{ getAnticoagulant(item.Tue_A.anticoagulant)}}</span>
93
+                        <span v-show="showflag">{{item.Tue_A.dialysis_machine_name}}
94
+                         
95
+                        </span>
81
 
96
 
82
                     </span>
97
                     </span>
83
                 </td>
98
                 </td>
85
                     <span v-if="item.Tue_N.patient_id">
100
                     <span v-if="item.Tue_N.patient_id">
86
                       <span>{{ item.Tue_N.patient }} </span><br/>
101
                       <span>{{ item.Tue_N.patient }} </span><br/>
87
                         <span >{{ item.Tue_N.mode_name }}</span><br/>
102
                         <span >{{ item.Tue_N.mode_name }}</span><br/>
88
-                        <span v-show="showflag">{{item.Tue_N.dialysis_machine_name}}</span>
103
+                        <span v-if="org_id==0||org_id ==10469">{{getAnticoagulant(item.Tue_N.anticoagulant)  }}</span>
104
+                        <span v-show="showflag">{{item.Tue_N.dialysis_machine_name}}
105
+                          
106
+                        </span>
89
                     </span>
107
                     </span>
90
                 </td>
108
                 </td>
91
                 <td style="min-width:50px;" v-if="three_day == 3">
109
                 <td style="min-width:50px;" v-if="three_day == 3">
92
                     <span v-if="item.Wed_M.patient_id">
110
                     <span v-if="item.Wed_M.patient_id">
93
                       <span>{{ item.Wed_M.patient }} </span><br/>
111
                       <span>{{ item.Wed_M.patient }} </span><br/>
94
                         <span >{{ item.Wed_M.mode_name }}</span><br/>
112
                         <span >{{ item.Wed_M.mode_name }}</span><br/>
95
-                        <span v-show="showflag">{{item.Wed_M.dialysis_machine_name}}</span>
113
+                        <span v-if="org_id == 0 || org_id ==10469">{{getAnticoagulant(item.Wed_M.anticoagulant)  }}</span><br/>
114
+                        <span v-show="showflag">{{item.Wed_M.dialysis_machine_name}}
115
+                          
116
+                        </span>
96
                     </span>
117
                     </span>
97
                 </td>
118
                 </td>
98
                 <td style="min-width:50px;" v-if="three_day == 3">
119
                 <td style="min-width:50px;" v-if="three_day == 3">
99
                     <span v-if="item.Wed_A.patient_id">
120
                     <span v-if="item.Wed_A.patient_id">
100
                       <span>{{ item.Wed_A.patient }} </span><br/>
121
                       <span>{{ item.Wed_A.patient }} </span><br/>
101
                         <span >{{ item.Wed_A.mode_name }}</span><br/>
122
                         <span >{{ item.Wed_A.mode_name }}</span><br/>
102
-                        <span v-show="showflag">{{item.Wed_A.dialysis_machine_name}}</span>
123
+                        <span v-if="org_id ==0||org_id ==10469">{{getAnticoagulant(item.Wed_A.anticoagulant)}}</span>
124
+                        <span v-show="showflag">{{item.Wed_A.dialysis_machine_name}}
125
+                         
126
+                        </span>
103
                     </span>
127
                     </span>
104
                 </td>
128
                 </td>
105
                 <td style="min-width:50px;" v-if="three_day == 3">
129
                 <td style="min-width:50px;" v-if="three_day == 3">
106
                     <span v-if="item.Wed_N.patient_id">
130
                     <span v-if="item.Wed_N.patient_id">
107
                       <span>{{ item.Wed_N.patient }} </span><br/>
131
                       <span>{{ item.Wed_N.patient }} </span><br/>
108
                         <span >{{ item.Wed_N.mode_name }}</span><br/>
132
                         <span >{{ item.Wed_N.mode_name }}</span><br/>
109
-                        <span v-show="showflag">{{item.Wed_N.dialysis_machine_name}}</span>
133
+                        <span v-if="org_id ==0 || org_id ==10469">{{ getAnticoagulant(item.Wed_N.anticoagulant) }}</span>
134
+                        <span v-show="showflag">{{item.Wed_N.dialysis_machine_name}}
135
+                         
136
+                        </span>
110
                     </span>
137
                     </span>
111
                 </td>
138
                 </td>
112
                 <td style="min-width:50px;" v-if="four_day == 4">
139
                 <td style="min-width:50px;" v-if="four_day == 4">
113
                     <span v-if="item.Thurs_M.patient_id">
140
                     <span v-if="item.Thurs_M.patient_id">
114
                       <span>{{ item.Thurs_M.patient }} </span><br/>
141
                       <span>{{ item.Thurs_M.patient }} </span><br/>
115
                         <span >{{ item.Thurs_M.mode_name }}</span><br/>
142
                         <span >{{ item.Thurs_M.mode_name }}</span><br/>
116
-                        <span v-show="showflag">{{item.Thurs_M.dialysis_machine_name}}</span>
143
+                        <span v-if="org_id == 0||org_id ==10469">{{ getAnticoagulant(item.Thurs_M.anticoagulant) }}</span>
144
+                        <span v-show="showflag">{{item.Thurs_M.dialysis_machine_name}}
145
+                         
146
+                        </span>
117
                     </span>
147
                     </span>
118
                 </td>
148
                 </td>
119
                 <td style="min-width:50px;" v-if="four_day == 4">
149
                 <td style="min-width:50px;" v-if="four_day == 4">
120
                     <span v-if="item.Thurs_A.patient_id">
150
                     <span v-if="item.Thurs_A.patient_id">
121
                       <span>{{ item.Thurs_A.patient }} </span><br/>
151
                       <span>{{ item.Thurs_A.patient }} </span><br/>
122
                         <span >{{ item.Thurs_A.mode_name }}</span><br/>
152
                         <span >{{ item.Thurs_A.mode_name }}</span><br/>
123
-                        <span v-show="showflag">{{item.Thurs_A.dialysis_machine_name}}</span>
153
+                        <span v-if="org_id ==0||org_id ==10469">{{getAnticoagulant(item.Thurs_A.anticoagulant) }}</span> 
154
+
155
+                        <span v-show="showflag">{{item.Thurs_A.dialysis_machine_name}}
156
+                        
157
+                        </span>
124
                     </span>
158
                     </span>
125
                 </td>
159
                 </td>
126
                 <td style="min-width:50px;" v-if="four_day == 4">
160
                 <td style="min-width:50px;" v-if="four_day == 4">
127
                     <span v-if="item.Thurs_N.patient_id">
161
                     <span v-if="item.Thurs_N.patient_id">
128
                       <span>{{ item.Thurs_N.patient }} </span><br/>
162
                       <span>{{ item.Thurs_N.patient }} </span><br/>
129
                         <span >{{ item.Thurs_N.mode_name }}</span><br/>
163
                         <span >{{ item.Thurs_N.mode_name }}</span><br/>
130
-                        <span v-show="showflag">{{item.Thurs_N.dialysis_machine_name}}</span>
164
+                        <span v-if="org_id ==0 || org_id ==10469" >{{ getAnticoagulant(item.Thurs_N.anticoagulant) }}</span> 
165
+                        <span v-show="showflag">{{item.Thurs_N.dialysis_machine_name}}
166
+                         
167
+                        </span>
131
                     </span>
168
                     </span>
132
                 </td>
169
                 </td>
133
                 <td style="min-width:50px;" v-if="five_day == 5">
170
                 <td style="min-width:50px;" v-if="five_day == 5">
134
                     <span v-if="item.Fri_M.patient_id">
171
                     <span v-if="item.Fri_M.patient_id">
135
                       <span>{{ item.Fri_M.patient }} </span><br/>
172
                       <span>{{ item.Fri_M.patient }} </span><br/>
136
                         <span >{{ item.Fri_M.mode_name }}</span><br/>
173
                         <span >{{ item.Fri_M.mode_name }}</span><br/>
137
-                        <span v-show="showflag">{{item.Fri_M.dialysis_machine_name}}</span>
174
+                        <span v-if="org_id ==0||org_id ==10469">{{ getAnticoagulant(item.Fri_M.anticoagulant) }} </span><br/>
175
+                        <span v-show="showflag">{{item.Fri_M.dialysis_machine_name}}
176
+                          
177
+                        </span>
138
                     </span>
178
                     </span>
139
                 </td>
179
                 </td>
140
                 <td style="min-width:50px;" v-if="five_day == 5">
180
                 <td style="min-width:50px;" v-if="five_day == 5">
141
                     <span v-if="item.Fri_A.patient_id">
181
                     <span v-if="item.Fri_A.patient_id">
142
                       <span>{{ item.Fri_A.patient }} </span><br/>
182
                       <span>{{ item.Fri_A.patient }} </span><br/>
143
                         <span >{{ item.Fri_A.mode_name }}</span><br/>
183
                         <span >{{ item.Fri_A.mode_name }}</span><br/>
144
-                        <span v-show="showflag">{{item.Fri_A.dialysis_machine_name}}</span>
184
+                        <span v-if="org_id ==0||org_id ==10469">{{ getAnticoagulant(item.Fri_A.anticoagulant) }}</span> 
185
+                        <span v-show="showflag">{{item.Fri_A.dialysis_machine_name}}
186
+                          
187
+                        </span>
145
                     </span>
188
                     </span>
146
                 </td>
189
                 </td>
147
                 <td style="min-width:50px;" v-if="five_day == 5">
190
                 <td style="min-width:50px;" v-if="five_day == 5">
148
                     <span v-if="item.Fri_N.patient_id">
191
                     <span v-if="item.Fri_N.patient_id">
149
                       <span>{{ item.Fri_N.patient }} </span><br/>
192
                       <span>{{ item.Fri_N.patient }} </span><br/>
150
                         <span >{{ item.Fri_N.mode_name }}</span><br/>
193
                         <span >{{ item.Fri_N.mode_name }}</span><br/>
151
-                        <span v-show="showflag">{{item.Fri_N.dialysis_machine_name}}</span>
194
+                        <span v-if="org_id == 0||org_id ==10469">{{getAnticoagulant(item.Fri_N.anticoagulant)  }}</span>
195
+                        <span v-show="showflag">{{item.Fri_N.dialysis_machine_name}}
196
+                          
197
+                        </span>
152
                     </span>
198
                     </span>
153
                 </td>
199
                 </td>
154
                 <td style="min-width:50px;" v-if="six_day == 6">
200
                 <td style="min-width:50px;" v-if="six_day == 6">
155
                     <span v-if="item.Sat_M.patient_id">
201
                     <span v-if="item.Sat_M.patient_id">
156
                       <span>{{ item.Sat_M.patient }} </span><br/>
202
                       <span>{{ item.Sat_M.patient }} </span><br/>
157
                         <span >{{ item.Sat_M.mode_name }}</span><br/>
203
                         <span >{{ item.Sat_M.mode_name }}</span><br/>
158
-                        <span v-show="showflag">{{item.Sat_M.dialysis_machine_name}}</span>
204
+                        <span v-if="org_id ==0 || org_id ==10469">{{ getAnticoagulant(item.Sat_M.anticoagulant) }}</span> 
205
+                        <span v-show="showflag">{{item.Sat_M.dialysis_machine_name}}
206
+                         
207
+                        </span>
159
                     </span>
208
                     </span>
160
                 </td>
209
                 </td>
161
                 <td style="min-width:50px;" v-if="six_day == 6">
210
                 <td style="min-width:50px;" v-if="six_day == 6">
162
                     <span v-if="item.Sat_A.patient_id">
211
                     <span v-if="item.Sat_A.patient_id">
163
                       <span>{{ item.Sat_A.patient }} </span><br/>
212
                       <span>{{ item.Sat_A.patient }} </span><br/>
164
                         <span >{{ item.Sat_A.mode_name }}</span><br/>
213
                         <span >{{ item.Sat_A.mode_name }}</span><br/>
165
-                        <span v-show="showflag">{{item.Sat_A.dialysis_machine_name}}</span>
214
+                        <span v-if="org_id ==0||org_id ==10469">{{ getAnticoagulant(item.Sat_A.anticoagulant) }}</span> 
215
+                        <span v-show="showflag">{{item.Sat_A.dialysis_machine_name}}
216
+                          
217
+                        </span>
166
                     </span>
218
                     </span>
167
                 </td>
219
                 </td>
168
                 <td style="min-width:50px;" v-if="six_day == 6">
220
                 <td style="min-width:50px;" v-if="six_day == 6">
169
                     <span v-if="item.Sat_N.patient_id">
221
                     <span v-if="item.Sat_N.patient_id">
170
                       <span>{{ item.Sat_N.patient }} </span><br/>
222
                       <span>{{ item.Sat_N.patient }} </span><br/>
171
                         <span >{{ item.Sat_N.mode_name }}</span><br/>
223
                         <span >{{ item.Sat_N.mode_name }}</span><br/>
172
-                        <span v-show="showflag">{{item.Sat_N.dialysis_machine_name}}</span>
224
+                        <span v-if="org_id ==0||org_id ==10469">{{ getAnticoagulant(item.Sat_N.anticoagulant) }}</span> 
225
+                        <span v-show="showflag">{{item.Sat_N.dialysis_machine_name}}
226
+                         
227
+                        </span>
173
                     </span>
228
                     </span>
174
                 </td>
229
                 </td>
175
                 <td style="min-width:50px;" v-if="seven_day == 7">
230
                 <td style="min-width:50px;" v-if="seven_day == 7">
176
                     <span v-if="item.Sun_M.patient_id">
231
                     <span v-if="item.Sun_M.patient_id">
177
                       <span>{{ item.Sun_M.patient }} </span><br/>
232
                       <span>{{ item.Sun_M.patient }} </span><br/>
178
                         <span >{{ item.Sun_M.mode_name }}</span><br/>
233
                         <span >{{ item.Sun_M.mode_name }}</span><br/>
179
-                        <span v-show="showflag">{{item.Sun_M.dialysis_machine_name}}</span>
234
+                        <span v-if="org_id ==0||org_id ==10469">{{ getAnticoagulant(item.Sun_M.anticoagulant) }}</span>
235
+                        <span v-show="showflag">{{item.Sun_M.dialysis_machine_name}}
236
+                         
237
+                        </span>
180
                     </span>
238
                     </span>
181
                 </td>
239
                 </td>
182
                 <td style="min-width:50px;" v-if="seven_day == 7">
240
                 <td style="min-width:50px;" v-if="seven_day == 7">
183
                     <span v-if="item.Sun_A.patient_id">
241
                     <span v-if="item.Sun_A.patient_id">
184
                       <span>{{ item.Sun_A.patient }} </span><br/>
242
                       <span>{{ item.Sun_A.patient }} </span><br/>
185
                         <span >{{ item.Sun_A.mode_name }}</span><br/>
243
                         <span >{{ item.Sun_A.mode_name }}</span><br/>
186
-                        <span v-show="showflag">{{item.Sun_A.dialysis_machine_name}}</span>
244
+                        <span v-if="org_id ==0 || org_id ==10469">{{getAnticoagulant(item.Sun_A.anticoagulant)}}</span>
245
+                        <span v-show="showflag">{{item.Sun_A.dialysis_machine_name}}
246
+                         
247
+                        </span>
187
 
248
 
188
                     </span>
249
                     </span>
189
                 </td>
250
                 </td>
191
                     <span v-if="item.Sun_N.patient_id">
252
                     <span v-if="item.Sun_N.patient_id">
192
                       <span>{{ item.Sun_N.patient }} </span><br/>
253
                       <span>{{ item.Sun_N.patient }} </span><br/>
193
                         <span >{{ item.Sun_N.mode_name }}</span><br/>
254
                         <span >{{ item.Sun_N.mode_name }}</span><br/>
194
-                        <span v-show="showflag">{{item.Sun_N.dialysis_machine_name}}</span>
255
+                        <span v-if="org_id ==0||org_id ==10469">{{ getAnticoagulant(item.Sun_N.anticoagulant ) }}</span>
256
+                        <span v-show="showflag">{{item.Sun_N.dialysis_machine_name}}
257
+                          
258
+                        </span>
195
                     </span>
259
                     </span>
196
                 </td>
260
                 </td>
197
                 <!-- <td>{{item.total}}</td> -->
261
                 <!-- <td>{{item.total}}</td> -->
243
            five_day:0,
307
            five_day:0,
244
            six_day:0,
308
            six_day:0,
245
            seven_day:0,
309
            seven_day:0,
310
+           org_id:0
246
         }
311
         }
247
     },
312
     },
248
     created(){
313
     created(){
314
+        this.org_id = this.$store.getters.xt_user.org.id
249
         this.getAllZones()
315
         this.getAllZones()
250
         this.modeOptions = this.$store.getters.treatment_mode;
316
         this.modeOptions = this.$store.getters.treatment_mode;
251
         this.partition_id = this.$route.query.partition_id
317
         this.partition_id = this.$route.query.partition_id
375
                               patient: '',
441
                               patient: '',
376
                               type:1,
442
                               type:1,
377
                             dialysis_machine_name:"",
443
                             dialysis_machine_name:"",
444
+                            anticoagulant:"",
378
                           },
445
                           },
379
                           Mon_A: {
446
                           Mon_A: {
380
                               schedule_id: 0,
447
                               schedule_id: 0,
384
                               patient: '',
451
                               patient: '',
385
                               type:1,
452
                               type:1,
386
                             dialysis_machine_name:"",
453
                             dialysis_machine_name:"",
454
+                            anticoagulant:""
387
 
455
 
388
                           },
456
                           },
389
                           Mon_N: {
457
                           Mon_N: {
394
                               patient: '',
462
                               patient: '',
395
                               type:1,
463
                               type:1,
396
                             dialysis_machine_name:"",
464
                             dialysis_machine_name:"",
465
+                            anticoagulant:""
397
 
466
 
398
                           },
467
                           },
399
                           Tue_M: {
468
                           Tue_M: {
404
                               patient: '',
473
                               patient: '',
405
                               type:1,
474
                               type:1,
406
                             dialysis_machine_name:"",
475
                             dialysis_machine_name:"",
476
+                            anticoagulant:""
407
 
477
 
408
                           },
478
                           },
409
                           Tue_A: {
479
                           Tue_A: {
414
                               patient: '',
484
                               patient: '',
415
                               type:1,
485
                               type:1,
416
                             dialysis_machine_name:"",
486
                             dialysis_machine_name:"",
487
+                            anticoagulant:""
417
 
488
 
418
 
489
 
419
                           },
490
                           },
425
                               patient: '',
496
                               patient: '',
426
                               type:1,
497
                               type:1,
427
                             dialysis_machine_name:"",
498
                             dialysis_machine_name:"",
499
+                            anticoagulant:""
428
 
500
 
429
                           },
501
                           },
430
                           Wed_M: {
502
                           Wed_M: {
435
                               patient: '',
507
                               patient: '',
436
                               type:1,
508
                               type:1,
437
                             dialysis_machine_name:"",
509
                             dialysis_machine_name:"",
510
+                            anticoagulant:""
438
 
511
 
439
                           },
512
                           },
440
                           Wed_A: {
513
                           Wed_A: {
445
                               patient: '',
518
                               patient: '',
446
                               type:1,
519
                               type:1,
447
                             dialysis_machine_name:"",
520
                             dialysis_machine_name:"",
521
+                            anticoagulant:""
448
 
522
 
449
                           },
523
                           },
450
                           Wed_N: {
524
                           Wed_N: {
455
                               patient: '',
529
                               patient: '',
456
                               type:1,
530
                               type:1,
457
                             dialysis_machine_name:"",
531
                             dialysis_machine_name:"",
532
+                            anticoagulant:""
458
 
533
 
459
                           },
534
                           },
460
                           Thurs_M: {
535
                           Thurs_M: {
465
                               patient: '',
540
                               patient: '',
466
                               type:1,
541
                               type:1,
467
                             dialysis_machine_name:"",
542
                             dialysis_machine_name:"",
543
+                            anticoagulant:""
468
 
544
 
469
                           },
545
                           },
470
                           Thurs_A: {
546
                           Thurs_A: {
475
                               patient: '',
551
                               patient: '',
476
                               type:1,
552
                               type:1,
477
                             dialysis_machine_name:"",
553
                             dialysis_machine_name:"",
554
+                            anticoagulant:""
478
 
555
 
479
                           },
556
                           },
480
                           Thurs_N: {
557
                           Thurs_N: {
485
                               patient: '',
562
                               patient: '',
486
                               type:1,
563
                               type:1,
487
                             dialysis_machine_name:"",
564
                             dialysis_machine_name:"",
565
+                            anticoagulant:""
488
 
566
 
489
                           },
567
                           },
490
                           Fri_M: {
568
                           Fri_M: {
495
                               patient: '',
573
                               patient: '',
496
                               type:1,
574
                               type:1,
497
                             dialysis_machine_name:"",
575
                             dialysis_machine_name:"",
576
+                            anticoagulant:""
498
 
577
 
499
                           },
578
                           },
500
                           Fri_A: {
579
                           Fri_A: {
505
                               patient: '',
584
                               patient: '',
506
                               type:1,
585
                               type:1,
507
                             dialysis_machine_name:"",
586
                             dialysis_machine_name:"",
587
+                            anticoagulant:""
508
 
588
 
509
                           },
589
                           },
510
                           Fri_N: {
590
                           Fri_N: {
515
                               patient: '',
595
                               patient: '',
516
                               type:1,
596
                               type:1,
517
                             dialysis_machine_name:"",
597
                             dialysis_machine_name:"",
598
+                            anticoagulant:""
518
 
599
 
519
                           },
600
                           },
520
                           Sat_M: {
601
                           Sat_M: {
525
                               patient: '',
606
                               patient: '',
526
                               type:1,
607
                               type:1,
527
                             dialysis_machine_name:"",
608
                             dialysis_machine_name:"",
609
+                            anticoagulant:""
528
 
610
 
529
                           },
611
                           },
530
                           Sat_A: {
612
                           Sat_A: {
535
                               patient: '',
617
                               patient: '',
536
                               type:1,
618
                               type:1,
537
                             dialysis_machine_name:"",
619
                             dialysis_machine_name:"",
620
+                            anticoagulant:""
538
 
621
 
539
                           },
622
                           },
540
                           Sat_N: {
623
                           Sat_N: {
545
                               patient: '',
628
                               patient: '',
546
                               type:1,
629
                               type:1,
547
                             dialysis_machine_name:"",
630
                             dialysis_machine_name:"",
631
+                            anticoagulant:""
548
 
632
 
549
                           },
633
                           },
550
                           Sun_A: {
634
                           Sun_A: {
555
                               patient: '',
639
                               patient: '',
556
                               type:1,
640
                               type:1,
557
                             dialysis_machine_name:"",
641
                             dialysis_machine_name:"",
642
+                            anticoagulant:""
558
 
643
 
559
                           },
644
                           },
560
                           Sun_N: {
645
                           Sun_N: {
565
                               patient: '',
650
                               patient: '',
566
                               type:1,
651
                               type:1,
567
                             dialysis_machine_name:"",
652
                             dialysis_machine_name:"",
653
+                            anticoagulant:""
568
 
654
 
569
                           },
655
                           },
570
                           Sun_M: {
656
                           Sun_M: {
575
                               patient: '',
661
                               patient: '',
576
                               type:1,
662
                               type:1,
577
                             dialysis_machine_name:"",
663
                             dialysis_machine_name:"",
664
+                            anticoagulant:""
578
 
665
 
579
                           },
666
                           },
580
                           total: 0
667
                           total: 0
635
                           patient: "",
722
                           patient: "",
636
                           type:1,
723
                           type:1,
637
                         dialysis_machine_name:"",
724
                         dialysis_machine_name:"",
725
+                        anticoagulant:"",
638
 
726
 
639
                       };
727
                       };
640
                       that.scheduleZone[index].Mon_A = {
728
                       that.scheduleZone[index].Mon_A = {
644
                           patient: "",
732
                           patient: "",
645
                           type:1,
733
                           type:1,
646
                         dialysis_machine_name:"",
734
                         dialysis_machine_name:"",
735
+                        anticoagulant:"",
647
 
736
 
648
                       };
737
                       };
649
                       that.scheduleZone[index].Mon_N = {
738
                       that.scheduleZone[index].Mon_N = {
653
                           patient: "",
742
                           patient: "",
654
                           type:1,
743
                           type:1,
655
                         dialysis_machine_name:"",
744
                         dialysis_machine_name:"",
745
+                        anticoagulant:"",
656
 
746
 
657
                       };
747
                       };
658
                       that.scheduleZone[index].Tue_M = {
748
                       that.scheduleZone[index].Tue_M = {
662
                           patient: "",
752
                           patient: "",
663
                           type:1,
753
                           type:1,
664
                         dialysis_machine_name:"",
754
                         dialysis_machine_name:"",
755
+                        anticoagulant:"",
665
 
756
 
666
                       };
757
                       };
667
                       that.scheduleZone[index].Tue_A = {
758
                       that.scheduleZone[index].Tue_A = {
671
                           patient: "",
762
                           patient: "",
672
                           type:1,
763
                           type:1,
673
                         dialysis_machine_name:"",
764
                         dialysis_machine_name:"",
765
+                        anticoagulant:"",
674
 
766
 
675
                       };
767
                       };
676
                       that.scheduleZone[index].Tue_N = {
768
                       that.scheduleZone[index].Tue_N = {
680
                           patient: "",
772
                           patient: "",
681
                           type:1,
773
                           type:1,
682
                         dialysis_machine_name:"",
774
                         dialysis_machine_name:"",
775
+                        anticoagulant:"",
683
 
776
 
684
                       };
777
                       };
685
                       that.scheduleZone[index].Wed_M = {
778
                       that.scheduleZone[index].Wed_M = {
689
                           patient: "",
782
                           patient: "",
690
                           type:1,
783
                           type:1,
691
                         dialysis_machine_name:"",
784
                         dialysis_machine_name:"",
785
+                        anticoagulant:"",
692
 
786
 
693
                       };
787
                       };
694
                       that.scheduleZone[index].Wed_A = {
788
                       that.scheduleZone[index].Wed_A = {
698
                           patient: "",
792
                           patient: "",
699
                           type:1,
793
                           type:1,
700
                         dialysis_machine_name:"",
794
                         dialysis_machine_name:"",
795
+                        anticoagulant:"",
701
 
796
 
702
                       };
797
                       };
703
                       that.scheduleZone[index].Wed_N = {
798
                       that.scheduleZone[index].Wed_N = {
707
                           patient: "",
802
                           patient: "",
708
                           type:1,
803
                           type:1,
709
                         dialysis_machine_name:"",
804
                         dialysis_machine_name:"",
805
+                        anticoagulant:"",
710
 
806
 
711
                       };
807
                       };
712
                       that.scheduleZone[index].Thurs_M = {
808
                       that.scheduleZone[index].Thurs_M = {
716
                           patient: "",
812
                           patient: "",
717
                           type:1,
813
                           type:1,
718
                         dialysis_machine_name:"",
814
                         dialysis_machine_name:"",
815
+                        anticoagulant:"",
719
 
816
 
720
                       };
817
                       };
721
                       that.scheduleZone[index].Thurs_A = {
818
                       that.scheduleZone[index].Thurs_A = {
725
                           patient: "",
822
                           patient: "",
726
                           type:1,
823
                           type:1,
727
                         dialysis_machine_name:"",
824
                         dialysis_machine_name:"",
825
+                        anticoagulant:"",
728
 
826
 
729
                       };
827
                       };
730
                       that.scheduleZone[index].Thurs_N = {
828
                       that.scheduleZone[index].Thurs_N = {
734
                           patient: "",
832
                           patient: "",
735
                           type:1,
833
                           type:1,
736
                         dialysis_machine_name:"",
834
                         dialysis_machine_name:"",
835
+                        anticoagulant:"",
737
 
836
 
738
                       };
837
                       };
739
                       that.scheduleZone[index].Fri_M = {
838
                       that.scheduleZone[index].Fri_M = {
743
                           patient: "",
842
                           patient: "",
744
                           type:1,
843
                           type:1,
745
                         dialysis_machine_name:"",
844
                         dialysis_machine_name:"",
845
+                        anticoagulant:"",
746
 
846
 
747
                       };
847
                       };
748
                       that.scheduleZone[index].Fri_A = {
848
                       that.scheduleZone[index].Fri_A = {
752
                           patient: "",
852
                           patient: "",
753
                           type:1,
853
                           type:1,
754
                         dialysis_machine_name:"",
854
                         dialysis_machine_name:"",
855
+                        anticoagulant:"",
755
 
856
 
756
                       };
857
                       };
757
                       that.scheduleZone[index].Fri_N = {
858
                       that.scheduleZone[index].Fri_N = {
761
                           patient: "",
862
                           patient: "",
762
                           type:1,
863
                           type:1,
763
                         dialysis_machine_name:"",
864
                         dialysis_machine_name:"",
865
+                        anticoagulant:"",
764
 
866
 
765
                       };
867
                       };
766
                       that.scheduleZone[index].Sat_M = {
868
                       that.scheduleZone[index].Sat_M = {
770
                           patient: "",
872
                           patient: "",
771
                           type:1,
873
                           type:1,
772
                         dialysis_machine_name:"",
874
                         dialysis_machine_name:"",
875
+                        anticoagulant:"",
773
 
876
 
774
                       };
877
                       };
775
                       that.scheduleZone[index].Sat_A = {
878
                       that.scheduleZone[index].Sat_A = {
779
                           patient: "",
882
                           patient: "",
780
                           type:1,
883
                           type:1,
781
                         dialysis_machine_name:"",
884
                         dialysis_machine_name:"",
885
+                        anticoagulant:"",
782
 
886
 
783
                       };
887
                       };
784
                       that.scheduleZone[index].Sat_N = {
888
                       that.scheduleZone[index].Sat_N = {
788
                           patient: "",
892
                           patient: "",
789
                           type:1,
893
                           type:1,
790
                         dialysis_machine_name:"",
894
                         dialysis_machine_name:"",
895
+                        anticoagulant:"",
791
 
896
 
792
                       };
897
                       };
793
                       that.scheduleZone[index].Sun_A = {
898
                       that.scheduleZone[index].Sun_A = {
797
                           patient: "",
902
                           patient: "",
798
                           type:1,
903
                           type:1,
799
                         dialysis_machine_name:"",
904
                         dialysis_machine_name:"",
905
+                        anticoagulant:"",
800
 
906
 
801
                       };
907
                       };
802
                       that.scheduleZone[index].Sun_N = {
908
                       that.scheduleZone[index].Sun_N = {
806
                           patient: "",
912
                           patient: "",
807
                           type:1,
913
                           type:1,
808
                         dialysis_machine_name:"",
914
                         dialysis_machine_name:"",
915
+                        anticoagulant:"",
809
 
916
 
810
                       };
917
                       };
811
                       that.scheduleZone[index].Sun_M = {
918
                       that.scheduleZone[index].Sun_M = {
815
                           patient: "",
922
                           patient: "",
816
                           type:1,
923
                           type:1,
817
                         dialysis_machine_name:"",
924
                         dialysis_machine_name:"",
925
+                        anticoagulant:"",
818
 
926
 
819
 
927
 
820
                       };
928
                       };
840
                                       patient_id: schedule.patient_id,
948
                                       patient_id: schedule.patient_id,
841
                                       patient: schedule.patient,
949
                                       patient: schedule.patient,
842
                                       patient_contagions: schedule.patient_contagions,
950
                                       patient_contagions: schedule.patient_contagions,
843
-                                        dialysis_machine_name: schedule.dialysis_machine_name,
844
-                                        mode_name:typeof that.modeOptions[schedule.mode_id] ==="undefined"? "": that.modeOptions[schedule.mode_id].name
951
+                                      dialysis_machine_name: schedule.dialysis_machine_name,
952
+                                      mode_name:typeof that.modeOptions[schedule.mode_id] ==="undefined"? "": that.modeOptions[schedule.mode_id].name,
953
+                                      anticoagulant:schedule.dialysissolution.anticoagulant
845
                                       };
954
                                       };
846
                                       that.scheduleZone[index].total += 1;
955
                                       that.scheduleZone[index].total += 1;
847
 
956
 
1222
           return this.Screencasting =false
1331
           return this.Screencasting =false
1223
         }
1332
         }
1224
         
1333
         
1334
+      },
1335
+      getAnticoagulant(val){
1336
+        var name= ""
1337
+        if(val == 1){
1338
+          name ="无肝素"
1339
+        }
1340
+        if(val == 2){
1341
+          name ="普通肝素"
1342
+        }
1343
+        if(val == 3){
1344
+          name ="低分子肝素"
1345
+        }
1346
+        if(val == 4){
1347
+          name ="阿加曲班"
1348
+        }
1349
+        if(val == 5){
1350
+          name ="枸橼酸钠"
1351
+        }
1352
+        if(val == 6){
1353
+          name ="低分子肝素钙"
1354
+        }
1355
+        if(val == 7){
1356
+          name ="低分子肝素钠"
1357
+        }
1358
+        if(val == 8){
1359
+          name ="依诺肝素"
1360
+        }
1361
+        if(val == 9){
1362
+          name ="达肝素"
1363
+        }
1364
+        if(val == 10){
1365
+          name ="体外抗凝"
1366
+        }
1367
+        if(val == 11){
1368
+          name ="那屈肝素"
1369
+        }
1370
+        if(val == 12){
1371
+          name ="无抗凝剂"
1372
+        }
1373
+        if(val == 13){
1374
+          name ="那屈肝素钙"
1375
+        }
1376
+        if(val == 14){
1377
+          name ="肝素钙注射液"
1378
+        }
1379
+        if(val == 15){
1380
+          name ="甲磺酸萘莫司他"
1381
+        }
1382
+
1383
+        return name
1225
       }
1384
       }
1226
     }
1385
     }
1227
 }
1386
 }