Ver código fonte

批量打印

XMLWAN 4 anos atrás
pai
commit
b9412cb24f

+ 4 - 2
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Ver arquivo

143
             v-if="
143
             v-if="
144
               isShow('超滤量') &&
144
               isShow('超滤量') &&
145
                 (template_id == 6 ||
145
                 (template_id == 6 ||
146
+                  template_id == 9 ||
146
                   template_id == 10 ||
147
                   template_id == 10 ||
147
                   template_id == 11 ||
148
                   template_id == 11 ||
148
                   template_id == 12 ||
149
                   template_id == 12 ||
178
             v-if="
179
             v-if="
179
               isShow('超滤量') &&
180
               isShow('超滤量') &&
180
                 template_id != 6 &&
181
                 template_id != 6 &&
182
+                template_id !=9 &&
181
                 template_id != 10 &&
183
                 template_id != 10 &&
182
                 template_id != 11 &&
184
                 template_id != 11 &&
183
                 template_id != 12 &&
185
                 template_id != 12 &&
509
 
511
 
510
           <el-col
512
           <el-col
511
             :span="8"
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
             <el-form-item label="超滤量(ml):">
515
             <el-form-item label="超滤量(ml):">
514
               <el-input v-model="form.ultrafiltration_volume"></el-input>
516
               <el-input v-model="form.ultrafiltration_volume"></el-input>
515
             </el-form-item>
517
             </el-form-item>
517
 
519
 
518
           <el-col
520
           <el-col
519
             :span="8"
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
             <el-form-item label="超滤量(L):">
523
             <el-form-item label="超滤量(L):">
522
               <el-input v-model="form.ultrafiltration_volume"></el-input>
524
               <el-input v-model="form.ultrafiltration_volume"></el-input>
523
             </el-form-item>
525
             </el-form-item>

+ 2 - 2
src/xt_pages/dialysis/details/dialysisMonitoring.vue Ver arquivo

14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
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
           <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>
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
           <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>
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
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>

+ 12 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue Ver arquivo

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

+ 7 - 1
src/xt_pages/outpatientDoctorStation/components/deskRecord.vue Ver arquivo

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

+ 1 - 1
src/xt_pages/outpatientRegistration/registrationHistory.vue Ver arquivo

102
                 </el-table-column>
102
                 </el-table-column>
103
                 <el-table-column align="center" prop="name" label="操作" width="180">
103
                 <el-table-column align="center" prop="name" label="操作" width="180">
104
                     <template slot-scope="scope">
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
                       <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> 
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
                       <el-button size="mini" type="primary" v-if="scope.row.is_return == 2" :disabled="true">已退号</el-button>
107
                       <el-button size="mini" type="primary" v-if="scope.row.is_return == 2" :disabled="true">已退号</el-button>
108
                       <el-button size="mini" type="primary" v-if="scope.row.is_return == 3" >已就诊</el-button>  
108
                       <el-button size="mini" type="primary" v-if="scope.row.is_return == 3" >已就诊</el-button>  

+ 9 - 5
src/xt_pages/stock/stockOutOrder.vue Ver arquivo

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