Browse Source

批量打印

XMLWAN 4 years ago
parent
commit
b9412cb24f

+ 4 - 2
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -143,6 +143,7 @@
143 143
             v-if="
144 144
               isShow('超滤量') &&
145 145
                 (template_id == 6 ||
146
+                  template_id == 9 ||
146 147
                   template_id == 10 ||
147 148
                   template_id == 11 ||
148 149
                   template_id == 12 ||
@@ -178,6 +179,7 @@
178 179
             v-if="
179 180
               isShow('超滤量') &&
180 181
                 template_id != 6 &&
182
+                template_id !=9 &&
181 183
                 template_id != 10 &&
182 184
                 template_id != 11 &&
183 185
                 template_id != 12 &&
@@ -509,7 +511,7 @@
509 511
 
510 512
           <el-col
511 513
             :span="8"
512
-            v-if=" isShow('超滤量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 29 || template_id == 30 || org_id == 9555) " >
514
+            v-if=" isShow('超滤量') && (template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 29 || template_id == 30 || org_id == 9555) " >
513 515
             <el-form-item label="超滤量(ml):">
514 516
               <el-input v-model="form.ultrafiltration_volume"></el-input>
515 517
             </el-form-item>
@@ -517,7 +519,7 @@
517 519
 
518 520
           <el-col
519 521
             :span="8"
520
-            v-if=" isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id!=27 && template_id!=29 && template_id!=30 && org_id !=9555" >
522
+            v-if=" isShow('超滤量') && template_id != 6 && template_id !=9 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id!=27 && template_id!=29 && template_id!=30 && org_id !=9555" >
521 523
             <el-form-item label="超滤量(L):">
522 524
               <el-input v-model="form.ultrafiltration_volume"></el-input>
523 525
             </el-form-item>

+ 2 - 2
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

@@ -14,8 +14,8 @@
14 14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15 15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16 16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || this.$store.getters.xt_user.template_info.org_id == 9555)" width="76px" > 超滤量(ml)</th>
18
-          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
17
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || this.$store.getters.xt_user.template_info.org_id == 9555)" width="76px" > 超滤量(ml)</th>
18
+          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
19 19
           <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30)" width="50px"> 超滤率 <br />(ml/h) </th>
20 20
           <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30" width="50px"> 超滤率 <br />(L/h) </th>
21 21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>

+ 12 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue View File

@@ -789,6 +789,8 @@
789 789
           <td width="80" style="line-height:20px">TMP<br />{{monitors[0] && monitors[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}</td>
790 790
           <td width="60" style="line-height:20px">血流量<br />ml/min</td>
791 791
           <td width="60" style="line-height:20px">电导度<br />mS/cm</td>
792
+          <td width="60" v-if="org_id  == 10032" style="line-height:20px">超滤量<br />ml</td>
793
+          <td width="60" v-if="org_id  == 10032" style="line-height:20px">透析液温度<br />℃</td>
792 794
           <!-- <td width="60">钠浓度<br/>mmol/L</td>
793 795
         <td width="80">透析液温度<br/>℃</td>
794 796
         <td width="60">置换率<br/>ml/min</td> -->
@@ -836,6 +838,12 @@
836 838
           </td>
837 839
           <td>
838 840
             &nbsp;{{ monitor.conductivity ? monitor.conductivity : "" }}
841
+          </td>
842
+           <td v-if="org_id  == 10032">
843
+            &nbsp;{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
844
+          </td>
845
+           <td v-if="org_id  == 10032">
846
+            &nbsp;{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}
839 847
           </td>
840 848
           <!-- <td>&nbsp;{{monitor.sodium_concentration}}</td>
841 849
         <td>&nbsp;{{monitor.dialysate_temperature}}</td>
@@ -843,6 +851,7 @@
843 851
           <td>
844 852
             &nbsp;{{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
845 853
           </td>
854
+         
846 855
         </tr>
847 856
         </tbody>
848 857
       </table>
@@ -1740,7 +1749,8 @@ export default {
1740 1749
         doctorForm: {
1741 1750
           doctor: '',
1742 1751
           url: ''
1743
-        }
1752
+        },
1753
+        org_id:0,
1744 1754
       }
1745 1755
   },
1746 1756
     methods: {
@@ -2296,6 +2306,7 @@ export default {
2296 2306
     created() {
2297 2307
       var xtuser = this.$store.getters.xt_user
2298 2308
       this.orgname = xtuser.org.org_name
2309
+      this.org_id = xtuser.org.id
2299 2310
       // this.orgname = "遂溪方济医院";
2300 2311
       this.modeOptions = this.$store.getters.treatment_mode
2301 2312
       this.replacementWays = this.$store.getters.replacement_ways

+ 7 - 1
src/xt_pages/outpatientDoctorStation/components/deskRecord.vue View File

@@ -104,7 +104,8 @@
104 104
           style="width:100%;"
105 105
           v-model="start_time"
106 106
           type="date"
107
-          placeholder="选择日期">
107
+          placeholder="选择日期"
108
+           :picker-options="pickerOptions0">
108 109
         </el-date-picker>
109 110
       </el-form-item>
110 111
       <el-form-item label="" prop="name" style="width:49%;">
@@ -274,6 +275,11 @@
274 275
         //   family_history:"",
275 276
 
276 277
         // },
278
+          pickerOptions0: {
279
+          disabledDate(time) {
280
+            return time.getTime() < Date.now() - 8.64e7;
281
+          }
282
+        },
277 283
         formValue:{
278 284
           temperature:"",
279 285
           blood_sugar:"",

+ 1 - 1
src/xt_pages/outpatientRegistration/registrationHistory.vue View File

@@ -102,7 +102,7 @@
102 102
                 </el-table-column>
103 103
                 <el-table-column align="center" prop="name" label="操作" width="180">
104 104
                     <template slot-scope="scope">
105
-                      <el-button size="mini" type="primary" v-if="scope.row.is_return == 1 && scope.row.record_date < startUnix" :disabled="true">已过号</el-button> 
105
+                      <el-button size="mini" type="primary" v-if="scope.row.record_date < startUnix" :disabled="true">已过号</el-button> 
106 106
                       <el-button size="mini" type="primary" v-if="scope.row.is_return == 1 && scope.row.record_date >= startUnix" @click ="toReturnPatient(scope.row.id)">退号</el-button> 
107 107
                       <el-button size="mini" type="primary" v-if="scope.row.is_return == 2" :disabled="true">已退号</el-button>
108 108
                       <el-button size="mini" type="primary" v-if="scope.row.is_return == 3" >已就诊</el-button>  

+ 9 - 5
src/xt_pages/stock/stockOutOrder.vue View File

@@ -121,6 +121,7 @@
121 121
 
122 122
         <el-table-column label="操作" align="center" width="300px">
123 123
           <template slot-scope="scope">
124
+           
124 125
             <el-tooltip
125 126
               class="item"
126 127
               effect="dark"
@@ -129,8 +130,8 @@
129 130
             >
130 131
               <el-button
131 132
                 size="small"
132
-                type="primary"
133
-                icon="el-icon-search"
133
+                type="warning"
134
+                icon="el-icon-document"
134 135
                 @click="handleSearch(scope.row.id)"
135 136
               >
136 137
               </el-button>
@@ -695,6 +696,8 @@ export default {
695 696
     
696 697
     //新增
697 698
     handleSearch(id){ 
699
+      this.warehousingOutInfo.info = []
700
+      this.warehousingOutInfo.warehousingOutData = []
698 701
       this.GetOrderDetailOne(id)
699 702
       this.dialogVisible = true
700 703
     },
@@ -713,8 +716,9 @@ export default {
713 716
             for (let i = 0; i < response.data.data.list.length; i++) {
714 717
               this.warehousingOutInfo.warehousingOutData.push(response.data.data.list[i])
715 718
             }
719
+
716 720
             this.warehousingOutInfo.info = response.data.data.info
717
-            this.handleSpanTempArr()
721
+            // this.handleSpanTempArr()
718 722
           }
719 723
         })
720 724
      }, 
@@ -747,6 +751,7 @@ export default {
747 751
       }, 
748 752
 
749 753
     jump(id){
754
+      this.userList = []
750 755
       this.GetOrderDetail(id)
751 756
      
752 757
     },
@@ -755,7 +760,7 @@ export default {
755 760
         const params = {
756 761
           'id': order_id
757 762
         }
758
-        console.log("params 0---------",params)
763
+      
759 764
         getWarehouseOutUser(params).then(response => {
760 765
           if (response.data.state == 0) {
761 766
             this.$message.error(response.data.msg)
@@ -764,7 +769,6 @@ export default {
764 769
             var total = 0
765 770
             for (let i = 0; i < response.data.data.list.length; i++) {
766 771
               var obj = response.data.data.list[i]
767
-              console.log("obj---------",obj)
768 772
               obj['is_total'] = 0
769 773
               this.userList.push(obj)
770 774
               total = total + response.data.data.list[i].count