Browse Source

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

陈少旭 1 year ago
parent
commit
1418a5c172

+ 15 - 4
src/xt_pages/device/objectTableDisinfectTwo.vue View File

@@ -1094,14 +1094,19 @@
1094 1094
                                 <td>楼层</td>
1095 1095
                                 <td>湿化瓶<br/>500mg/l含氯制剂</td>
1096 1096
                                 <td>负责人</td>
1097
+                                <td width="40">检查合格<br/></td>
1097 1098
                                 <td>止血带<br/>500mg/l含氯制剂</td>
1098 1099
                                 <td>负责人</td>
1099
-                                <td>医疗垃圾桶<br/>1000mg/l含氯制剂</td>
1100
+                                <td width="40">检查合格<br/></td>
1101
+                                <td>医疗垃圾桶<br/>1000mg/l含<br/>氯制剂</td>
1100 1102
                                 <td>负责人</td>
1101
-                                <td>体温计<br/>75%酒精<br/>浸泡</td>
1103
+                                <td width="40">检查合格<br/></td>
1104
+                                <td>体温计<br/>75%酒精浸泡</td>
1102 1105
                                 <td>负责人</td>
1103
-                                <td>体温枪<br/>75%酒精<br/>擦拭</td>
1106
+                                <td width="40">检查合格<br/></td>
1107
+                                <td>体温枪<br/>75%酒精擦拭</td>
1104 1108
                                 <td>负责人</td>
1109
+                                <td width="40">检查合格<br/></td>
1105 1110
                                
1106 1111
                             </tr>
1107 1112
 
@@ -1117,6 +1122,9 @@
1117 1122
                                     <img style="height:30px;" :src="setAdminUserES(item.last_creator?item.last_creator:item.last_creator)" alt="" srcset="">
1118 1123
                                 </span>   
1119 1124
                                 </td>
1125
+
1126
+                                <td>是<br/></td>
1127
+
1120 1128
                                 <td>{{getTimeTwo(item.sencond_start_time) }} - {{getTimeTwo( item.sencond_end_time) }}</td>
1121 1129
                                 <td>
1122 1130
                                  <span v-if="setAdminUserES(item.sencond_creator?item.sencond_creator:item.sencond_creator) == ''">
@@ -1126,6 +1134,7 @@
1126 1134
                                     <img style="height:30px;" :src="setAdminUserES(item.sencond_creator?item.sencond_creator:item.sencond_creator)" alt="" srcset="">
1127 1135
                                 </span>   
1128 1136
                                 </td>
1137
+                                <td>是<br/></td>
1129 1138
                                 <td>{{getTimeTwo(item.third_start_time) }} - {{getTimeTwo(item.third_end_time)  }}</td>
1130 1139
                                 <td>
1131 1140
                                     <span v-if="setAdminUserES(item.third_creator?item.third_creator:item.third_creator) == ''">
@@ -1135,6 +1144,8 @@
1135 1144
                                     <img style="height:30px;" :src="setAdminUserES(item.third_creator?item.third_creator:item.third_creator)" alt="" srcset="">
1136 1145
                                 </span>   
1137 1146
                                 </td>
1147
+
1148
+                                <td>是<br/></td>
1138 1149
                                 <td>{{getTimeTwo(item.fourth_start_time)  }} - {{getTimeTwo(item.fourth_end_time)  }}</td>
1139 1150
                                 <td>
1140 1151
                                     <span v-if="setAdminUserES(item.fourth_creator?item.fourth_creator:item.fourth_creator) == ''">
@@ -1153,7 +1164,7 @@
1153 1164
                                     <img style="height:30px;" :src="setAdminUserES(item.last_creator?item.last_creator:item.last_creator)" alt="" srcset="">
1154 1165
                                 </span>   
1155 1166
                                 </td>
1156
-                              
1167
+                                <td>是<br/></td>
1157 1168
                             </tr>
1158 1169
                          </table>   
1159 1170
 

+ 1 - 2
src/xt_pages/dialysis/details/consumable/dialysisGood.vue View File

@@ -20,8 +20,7 @@
20 20
                       :editable="false" :clearable="false" style="width: 196px;margin-right:10px;" type="date"
21 21
                       format="yyyy-MM-dd"
22 22
                       value-format="yyyy-MM-dd"
23
-                      placeholder="选择日期时间" align="right"
24
-                      :picker-options="pickerOptions"></el-date-picker>
23
+                      placeholder="选择日期时间" align="right"></el-date-picker>
25 24
       <el-input size="small" style="width: 180px;" @keyup.enter.native='searchAction' v-model.trim="search_input"
26 25
                 class="filter-item" v-model="query.keywords"/>
27 26
       <el-button size="small" class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>

+ 1 - 1
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue View File

@@ -21,7 +21,7 @@
21 21
                       format="yyyy-MM-dd"
22 22
                       value-format="yyyy-MM-dd"
23 23
                       placeholder="选择日期时间" align="right"
24
-                      :picker-options="pickerOptions"></el-date-picker>
24
+                      ></el-date-picker>
25 25
       <el-input size="small" style="width: 180px;" @keyup.enter.native='searchAction' v-model.trim="search_input"
26 26
                 class="filter-item" v-model="query.keywords"/>
27 27
       <el-button size="small" class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>

+ 24 - 9
src/xt_pages/dialysis/details/consumable/dialysisParameterPrint.vue View File

@@ -237,13 +237,15 @@
237 237
         dialysisSett:{},
238 238
         total_one:0,
239 239
         total_two:0,
240
-        total_three:0
240
+        total_three:0,
241
+        org_id:'',
241 242
       }
242 243
     },
243 244
     components: {
244 245
       BreadCrumb
245 246
     },
246 247
     created() {
248
+      this.org_id = this.$store.getters.xt_user.org.id
247 249
       this.displace_liqui_part_option = this.$store.getters.displace_liqui
248 250
       this.blood_access_option  = getDataConfig('hemodialysis', 'vascular_access_desc')
249 251
       this.getlist()
@@ -309,14 +311,27 @@
309 311
         }
310 312
      },
311 313
       printAction: function() {
312
-        const style = '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 0px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 14px; padding: 0px 5px; } .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
313
-        printJS({
314
-          printable: 'print_content',
315
-          type: 'html',
316
-          documentTitle: '  ',
317
-          style: style,
318
-          scanStyles: false
319
-       })
314
+        if(this.org_id != 10495 && this.org_id != 0){
315
+          const style = '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 0px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 14px; padding: 0px 5px; } .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
316
+          printJS({
317
+            printable: 'print_content',
318
+            type: 'html',
319
+            documentTitle: '  ',
320
+            style: style,
321
+            scanStyles: false
322
+          })
323
+        }else{
324
+          // const style = '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 0px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 14px; padding: 0px 5px; } .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
325
+          const style = '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 20px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 18px; padding: 10px 5px; } .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
326
+          printJS({
327
+            printable: 'print_content',
328
+            type: 'html',
329
+            documentTitle: '  ',
330
+            style: style,
331
+            scanStyles: false
332
+          })
333
+        }
334
+        
320 335
       },
321 336
       getAnticoagualnt(id){
322 337
        var name = ""

+ 3 - 3
src/xt_pages/stock/stockOutOrderEdit.vue View File

@@ -717,7 +717,7 @@
717 717
               "storehouse_id":parseInt(this.storehouse_id),
718 718
             }
719 719
 
720
-
720
+            console.log("paramswowowoowow",params)
721 721
             var warehout_id = parseInt(this.$route.query.id)
722 722
            
723 723
             editWarehouseoutInfo(params, this.warehouse_out_time, warehout_id, this.$route.query.type, this.form.manufacturer, this.form.dealer,this.storehouse_id).then(response => {
@@ -835,13 +835,13 @@
835 835
             
836 836
               
837 837
             if( val.first_xt_warehouse_info!=null&&val.first_xt_warehouse_info.expiry_date >0){
838
-              this.recordInfo.recordData[i].expiry_date = this.getTime(val.first_xt_warehouse_info.expiry_date)
838
+              this.recordInfo.recordData[i].expiry_date = this.getTime(val.first_xt_warehouse_info.expiry_date,"{y}-{m}-{d}")
839 839
             }else{
840 840
               this.recordInfo.recordData[i].expiry_date = ""
841 841
             }
842 842
 
843 843
             if( val.first_xt_warehouse_info!=null&&val.first_xt_warehouse_info.product_date >0){
844
-              this.recordInfo.recordData[i].product_date = this.getTime(val.first_xt_warehouse_info.product_date)
844
+              this.recordInfo.recordData[i].product_date = this.getTime(val.first_xt_warehouse_info.product_date,"{y}-{m}-{d}")
845 845
             }else{
846 846
               this.recordInfo.recordData[i].product_date = ""
847 847
             }