28169 1 rok temu
rodzic
commit
286a0f01b4

+ 9 - 0
src/api/stock.js Wyświetl plik

@@ -1088,3 +1088,12 @@ export function getNewWarehouseOutInfoList(params) {
1088 1088
     params: params
1089 1089
   })
1090 1090
 }
1091
+
1092
+
1093
+export function getStockFlowOrderList(params){
1094
+  return request({
1095
+    url:"/api/stock/getstockfloworderlist",
1096
+    method:"Get",
1097
+    params:params,
1098
+  })
1099
+}

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_seventy.vue Wyświetl plik

@@ -1276,7 +1276,7 @@
1276 1276
                         </tr>
1277 1277
                         <tr>
1278 1278
                           <td width="60">时间</td>
1279
-                          <td width="60">体温(°C)</td>
1279
+                          <td width="60">透析液温度(°C)</td>
1280 1280
                           <td width="50">脉搏<br />(次/分)</td>
1281 1281
                           <td width="50">呼吸<br />(次/分)</td>
1282 1282
                           <td width="60">血压<br />(mmHg)</td>

+ 20 - 3
src/xt_pages/dialysis/details/consumable/dialysisGather.vue Wyświetl plik

@@ -122,7 +122,10 @@
122 122
              
123 123
           <el-table-column align="center" label="透析器"  v-if="gatherSetting.dialysis_dialyszers == 1">
124 124
              <template slot-scope="scope">
125
-               <span v-if="scope.row.schedule_date == timenow">{{scope.row.dialysis_prescription.dialysis_dialyszers}}</span>
125
+               <span v-if="scope.row.schedule_date == timenow">
126
+                <span v-if="scope.row.dialysis_prescription.dialysis_dialyszers!=''">{{scope.row.dialysis_prescription.dialysis_dialyszers}}</span> 
127
+                <span v-if="scope.row.dialysis_prescription.dialysis_dialyszers==''">{{scope.row.dialysis_solution.dialysis_dialyszers}}</span> 
128
+               </span>
126 129
 
127 130
                <span v-if="scope.row.schedule_date < timenow">{{scope.row.dialysis_solution.dialysis_dialyszers}}</span>
128 131
 
@@ -133,7 +136,14 @@
133 136
            <el-table-column align="center" label="灌流器"  v-if="gatherSetting.dialysis_irrigation ==1">
134 137
              <template slot-scope="scope">
135 138
 
136
-               <span v-if="scope.row.schedule_date == timenow">{{scope.row.dialysis_prescription.dialysis_irrigation}}</span>
139
+               <span v-if="scope.row.schedule_date == timenow">
140
+                 <span v-if="scope.row.dialysis_prescription.dialysis_irrigation !=''">
141
+                  {{scope.row.dialysis_prescription.dialysis_irrigation}}
142
+                 </span> 
143
+                 <span v-if="scope.row.dialysis_prescription.dialysis_irrigation ==''">
144
+                  {{scope.row.dialysis_solution.dialysis_irrigation}}
145
+                 </span> 
146
+               </span>
137 147
                <span v-if="scope.row.schedule_date < timenow">{{scope.row.dialysis_solution.dialysis_irrigation}}</span>
138 148
                <span v-if="scope.row.schedule_date > timenow">{{scope.row.dialysis_solution.dialysis_irrigation}}</span>
139 149
 
@@ -143,7 +153,14 @@
143 153
           <el-table-column align="center" label="滤过器"  v-if="gatherSetting.dialysis_strainer ==1">
144 154
              <template slot-scope="scope">
145 155
               
146
-               <span v-if="scope.row.schedule_date == timenow">{{scope.row.dialysis_prescription.dialysis_strainer}}</span>
156
+               <span v-if="scope.row.schedule_date == timenow">
157
+                <span v-if="scope.row.dialysis_prescription.dialysis_strainer!=''">
158
+                  {{scope.row.dialysis_prescription.dialysis_strainer}}
159
+                </span>
160
+                <span v-if="scope.row.dialysis_prescription.dialysis_strainer==''">
161
+                  {{ scope.row.dialysis_solution.dialysis_strainer }}
162
+                </span>
163
+               </span>
147 164
                <span v-if="scope.row.schedule_date<timenow">{{ scope.row.dialysis_solution.dialysis_strainer }}</span>
148 165
                <span v-if="scope.row.schedule_date>timenow">{{ scope.row.dialysis_solution.dialysis_strainer }}</span>
149 166
              </template>

+ 12 - 3
src/xt_pages/dialysis/details/consumable/dialysisGatherPrint.vue Wyświetl plik

@@ -92,19 +92,28 @@
92 92
                     <span v-if="item.mode_id == 35">HDF1000</span>
93 93
                  </td>
94 94
                   <td width="100" v-if="gatherSetting.dialysis_dialyszers == 1">
95
-                    <span v-if="item.schedule_date == timenow">{{item.dialysis_prescription.dialysis_dialyszers}}</span> 
95
+                    <span v-if="item.schedule_date == timenow">
96
+                      <span v-if="item.dialysis_prescription.dialysis_dialyszers!=''">{{item.dialysis_prescription.dialysis_dialyszers}}</span> 
97
+                      <span v-if="item.dialysis_prescription.dialysis_dialyszers==''">{{item.dialysis_solution.dialysis_dialyszers}}</span> 
98
+                     </span> 
96 99
                     <span v-if="item.schedule_date < timenow">{{item.dialysis_solution.dialysis_dialyszers}}</span> 
97 100
                     <span v-if="item.schedule_date > timenow">{{item.dialysis_solution.dialysis_dialyszers}}</span> 
98 101
                   </td>
99 102
                   <td width="100"  v-if="gatherSetting.dialysis_irrigation ==1">
100
-                    <span v-if="item.schedule_date == timenow">{{item.dialysis_prescription.dialysis_irrigation}}</span>
103
+                    <span v-if="item.schedule_date == timenow">
104
+                      <span v-if="item.dialysis_prescription.dialysis_irrigation!=''"> {{item.dialysis_prescription.dialysis_irrigation}}</span>
105
+                      <span v-if="item.dialysis_prescription.dialysis_irrigation==''"> {{item.dialysis_solution.dialysis_irrigation}}</span>
106
+                    </span>
101 107
 
102 108
                     <span v-if="item.schedule_date < timenow">{{item.dialysis_solution.dialysis_irrigation}}</span>
103 109
 
104 110
                     <span v-if="item.schedule_date > timenow">{{item.dialysis_solution.dialysis_irrigation}}</span>
105 111
                   </td>
106 112
                   <td width="100"  v-if="gatherSetting.dialysis_strainer ==1">
107
-                    <span v-if="item.schedule_date == timenow">{{item.dialysis_prescription.dialysis_strainer}}</span>
113
+                    <span v-if="item.schedule_date == timenow">
114
+                      <span v-if="item.dialysis_prescription.dialysis_strainer!=''">{{item.dialysis_prescription.dialysis_strainer}}</span> 
115
+                      <span v-if="item.dialysis_prescription.dialysis_strainer==''">{{item.dialysis_solution.dialysis_strainer}}</span> 
116
+                    </span>
108 117
 
109 118
                     <span v-if="item.schedule_date < timenow">{{item.dialysis_solution.dialysis_strainer}}</span>
110 119
 

+ 2 - 2
src/xt_pages/dialysis/signPrint.vue Wyświetl plik

@@ -28,7 +28,7 @@
28 28
                             规格:{{getSpecialName(it.drug_id)}} 
29 29
                             
30 30
                             </div>  
31
-                            <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
31
+                            <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
32 32
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138">执行频率:{{it.execution_frequency}}</div>  
33 33
                             <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  
34 34
                              
@@ -45,7 +45,7 @@
45 45
                             规格:{{getSpecialName(its.drug_id)}} 
46 46
                             
47 47
                             </div>  
48
-                            <div v-if=" org_id ==0 || org_id==10440 || org_id == 10478">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
48
+                            <div v-if=" org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
49 49
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138">执行频率:{{its.execution_frequency}}</div>  
50 50
                             <div>给药途径:{{its.delivery_way}}</div>  
51 51
                         </div>

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSeventy.vue Wyświetl plik

@@ -1224,7 +1224,7 @@
1224 1224
                       </tr>
1225 1225
                       <tr>
1226 1226
                         <td width="50">时间</td>
1227
-                        <td width="60">温度(°C)</td>
1227
+                        <td width="60">透析液温度(°C)</td>
1228 1228
                         <td width="50">脉搏<br />(次/分)</td>
1229 1229
                         <td width="50">呼吸<br />(次/分)</td>
1230 1230
                         <td width="65">血压<br />(mmHg)</td>

+ 16 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue Wyświetl plik

@@ -224,7 +224,7 @@
224 224
                   <div style="margin-left:70px ; display: inline-block;">
225 225
                     医师签名:
226 226
 
227
-                    <span v-if="setAdminUserES(prescription.creater) == ''">
227
+                    <!-- <span v-if="setAdminUserES(prescription.creater) == ''">
228 228
                       {{ getAdminUser(prescription.creater) }}
229 229
                     </span>
230 230
                     <img
@@ -233,7 +233,17 @@
233 233
                       :src="setAdminUserES(prescription.creater)"
234 234
                       alt
235 235
                       srcset
236
-                      v-else
236
+                      v-else -->
237
+                      <span v-if="setAdminUserES(advices[0].advice_doctor) == ''">
238
+                        {{ getAdminUser(advices[0].advice_doctor) }}
239
+                      </span>
240
+                      <img
241
+                        class="es-img"
242
+                        style="height: 30px"
243
+                        :src="setAdminUserES(advices[0].advice_doctor)"
244
+                        alt
245
+                        srcset
246
+                        v-else
237 247
                     />
238 248
                   </div>
239 249
                 </td>
@@ -654,14 +664,14 @@
654 664
                     </div>
655 665
                     <div style="display: inline-block; margin-left: 30px;">
656 666
                       医生签名:
657
-
658
-                      <span v-if="setAdminUserES(prescription.creater) == ''">
659
-                        {{ getAdminUser(prescription.creater) }}
667
+                       
668
+                      <span v-if="setAdminUserES(advices[0].advice_doctor) == ''">
669
+                        {{ getAdminUser(advices[0].advice_doctor) }}
660 670
                       </span>
661 671
                       <img
662 672
                         class="es-img"
663 673
                         style="height: 30px"
664
-                        :src="setAdminUserES(prescription.creater)"
674
+                        :src="setAdminUserES(advices[0].advice_doctor)"
665 675
                         alt
666 676
                         srcset
667 677
                         v-else

+ 2 - 2
src/xt_pages/role/admin.vue Wyświetl plik

@@ -225,12 +225,12 @@
225 225
           @click="toAutoDrug">自动生成</el-button> -->
226 226
 
227 227
 
228
-         <el-button
228
+         <!-- <el-button
229 229
           type="primary"
230 230
           size="small"
231 231
           icon="el-icon-circle-plus-outline"
232 232
           style="float:left"
233
-          @click="toAutoDiagnose">自动脚本</el-button> 
233
+          @click="toAutoDiagnose">自动脚本</el-button>  -->
234 234
      </div>
235 235
 
236 236
 

+ 26 - 0
src/xt_pages/stock/drugs/drugStockOutOrder.vue Wyświetl plik

@@ -331,6 +331,15 @@
331 331
                </tr>
332 332
             </template>
333 333
           </el-table-column>
334
+          <el-table-column label="使用患者" align="center" v-if="is_sys == 0">
335
+            <template slot-scope="scope">
336
+                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
337
+                  <td style="border-right: none; border-inline-end: none;text-align: center">
338
+                     {{getPatientName(item.patient_id)}}
339
+                  </td>
340
+               </tr>
341
+            </template>
342
+          </el-table-column>
334 343
           <el-table-column label="单价" align="center">
335 344
             <template slot-scope="scope">
336 345
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
@@ -690,6 +699,7 @@ export default {
690 699
       warehouseOutList:[],
691 700
       exportLoding:false,
692 701
       outInfoList:[],
702
+      patients:[],
693 703
     };
694 704
   },
695 705
   methods: {
@@ -745,6 +755,7 @@ export default {
745 755
           for (let i = 0; i < response.data.data.houseList.length; i++) {
746 756
             this.houseList.push(response.data.data.houseList[i]);
747 757
           }
758
+         
748 759
         }
749 760
       });
750 761
     },
@@ -791,6 +802,11 @@ export default {
791 802
           for (let i = 0; i < response.data.data.houseList.length; i++) {
792 803
             this.houseList.push(response.data.data.houseList[i]);
793 804
           }
805
+          var objOne = {id:0,name:"系统"}
806
+          this.patients.push(objOne)
807
+          for(let i=0;i<response.data.data.patients.length;i++){
808
+             this.patients.push(response.data.data.patients[i])
809
+          }
794 810
         }
795 811
       });
796 812
     },
@@ -2340,6 +2356,16 @@ export default {
2340 2356
     }
2341 2357
     return max_str + min_str;
2342 2358
   },
2359
+  getPatientName(patient_id){
2360
+      var name = ""
2361
+      console.log("patinetsowowowo",this.patients)
2362
+      for(let i=0;i<this.patients.length;i++){
2363
+         if(patient_id == this.patients[i].id){
2364
+             name = this.patients[i].name
2365
+         }
2366
+      }
2367
+      return name
2368
+    }
2343 2369
   },
2344 2370
 };
2345 2371
 </script>

+ 11 - 1
src/xt_pages/stock/stockFlow.vue Wyświetl plik

@@ -51,6 +51,8 @@
51 51
 
52 52
         <span>
53 53
           <el-button type="primary" size="small" @click="toExprot">导出</el-button>
54
+
55
+          <!-- <el-button type="primary" size="small" @click="toTongBu">同步</el-button> -->
54 56
         </span>
55 57
        
56 58
       </div>
@@ -172,7 +174,7 @@
172 174
 <script>
173 175
   import { uParseTime } from '@/utils/tools'
174 176
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
175
-  import {getStockDrugCount,getStockFlow} from "@/api/stock"
177
+  import {getStockDrugCount,getStockFlow,getStockFlowOrderList} from "@/api/stock"
176 178
   export default {
177 179
     name: 'stockIn',
178 180
     created() {
@@ -610,6 +612,14 @@
610 612
     formatJson(filterVal, jsonData) {
611 613
      return jsonData.map(v => filterVal.map(j => v[j]))
612 614
     },
615
+    toTongBu(){
616
+       var params = {
617
+         good_id:this.$route.query.id,
618
+       }
619
+      getStockFlowOrderList(params).then(response=>{
620
+
621
+      })
622
+    }
613 623
 
614 624
     }
615 625
   }

+ 27 - 0
src/xt_pages/stock/stockOutOrder.vue Wyświetl plik

@@ -322,6 +322,17 @@
322 322
                </tr>
323 323
             </template>
324 324
           </el-table-column>
325
+
326
+          <el-table-column label="使用患者" align="center" v-if="is_sys == 0">
327
+            <template slot-scope="scope">
328
+            
329
+              <tr style="background: none" v-for="(item,index) in scope.row.childOne" :key="index">
330
+                  <td style="border-right: none; border-inline-end: none;text-align: center">
331
+                    {{getPatientName(item.patient_id ) }}
332
+                  </td>
333
+               </tr>
334
+            </template>
335
+          </el-table-column>
325 336
       
326 337
           <el-table-column label="出货价" align="center">
327 338
             <template slot-scope="scope">
@@ -1073,6 +1084,7 @@ export default {
1073 1084
       flowList:[],
1074 1085
       cancelInfoList:[],
1075 1086
       exportLoding:false,
1087
+      patients:[]
1076 1088
     };
1077 1089
   },
1078 1090
   methods: {
@@ -1123,6 +1135,7 @@ export default {
1123 1135
           for (let i = 0; i < response.data.data.list.length; i++) {
1124 1136
             this.warehouseOutDate.push(response.data.data.list[i]);
1125 1137
           }
1138
+          
1126 1139
         }
1127 1140
       });
1128 1141
     },
@@ -1159,6 +1172,11 @@ export default {
1159 1172
           for (let i = 0; i < response.data.data.houselist.length; i++) {
1160 1173
             this.houselist.push(response.data.data.houselist[i]);
1161 1174
           }
1175
+          var objOne = {id:0,name:"系统"}
1176
+          this.patients.push(objOne)
1177
+          for(let i=0;i<response.data.data.patients.length;i++){
1178
+             this.patients.push(response.data.data.patients[i])
1179
+          }
1162 1180
         }
1163 1181
       });
1164 1182
     },
@@ -2422,6 +2440,15 @@ export default {
2422 2440
         }
2423 2441
       }
2424 2442
      
2443
+      return name
2444
+    },
2445
+    getPatientName(patient_id){
2446
+      var name = ""
2447
+      for(let i=0;i<this.patients.length;i++){
2448
+         if(patient_id == this.patients[i].id){
2449
+             name = this.patients[i].name
2450
+         }
2451
+      }
2425 2452
       return name
2426 2453
     }
2427 2454
   },

+ 27 - 11
src/xt_pages/stock/stockOutOrderEdit.vue Wyświetl plik

@@ -343,6 +343,7 @@
343 343
   import { deleteWarehouseOutInfo, editWarehouseoutInfo,GetAllConfig,GetAllGoodInfoByID,postSearchGoodList,getSingleOutOrderDetail,getStockBatchNumber,checkWarehouseOut,returnCheckWarehouseOut } from '@/api/stock'
344 344
   import BreadCrumb from '../components/bread-crumb'
345 345
   import StockInDialog from './Dialog/stockInDialog'
346
+import patient from '../../router/modules/patient'
346 347
 
347 348
   export default {
348 349
     components: { StockInDialog, BreadCrumb},
@@ -673,6 +674,7 @@
673 674
                 return
674 675
               }
675 676
             }
677
+            console.log("类别喔喔喔w",this.recordInfo.recordData)
676 678
             for(let i=0;i<this.recordInfo.recordData.length;i++){
677 679
 
678 680
               if(parseInt(this.recordInfo.recordData[i].count) > parseInt(this.recordInfo.recordData[i].stock_count) ){
@@ -734,6 +736,7 @@
734 736
             }
735 737
 
736 738
             console.log("paramswowowoowow",params)
739
+            
737 740
             var warehout_id = parseInt(this.$route.query.id)
738 741
            
739 742
             editWarehouseoutInfo(params, this.warehouse_out_time, warehout_id, this.$route.query.type, this.form.manufacturer, this.form.dealer,this.storehouse_id).then(response => {
@@ -892,7 +895,14 @@
892 895
         }
893 896
       getSingleOutOrderDetail(params).then(response=>{
894 897
         if(response.data.state == 1){
895
-
898
+          this.patients =[]
899
+          var obj ={id:0,name:"系统"}
900
+          this.patients.push(obj)
901
+          if(response.data.data.patients!=null){
902
+            for(let i=0;i<response.data.data.patients.length;i++){
903
+              this.patients.push(response.data.data.patients[i])
904
+            }
905
+          }
896 906
           var dealerList = response.data.data.dealerList
897 907
           this.dealerList = dealerList
898 908
           var manufacturerList = response.data.data.manufacturerList
@@ -913,27 +923,24 @@
913 923
             response.data.data.list[i].remark = response.data.data.list[i].remark
914 924
             response.data.data.list[i].buy_price = response.data.data.list[i].buy_price.toString()
915 925
             response.data.data.list[i].stock_count = response.data.data.list[i].stock_count.toString()
916
-            response.data.data.list[i].patient_id = response.data.data.list[i].patient_id
926
+          
927
+            // response.data.data.list[i].patient_id = this.getPatientName(response.data.data.list[i].patient_id)
928
+           
917 929
             if(response.data.data.list[i].dealer == 0){
918 930
                response.data.data.list[i].dealer = ""
919 931
             }
920 932
             if(response.data.data.list[i].manufacturer ==0 ){
921 933
                response.data.data.list[i].manufacturer = ""
922 934
             }
923
-            response.data.data.list[i].patient_id = response.data.data.list[i].patient_id
935
+            
924 936
             this.recordInfo.recordData.push(response.data.data.list[i])
925 937
           }
938
+          console.log("列表我我哦我o",this.recordInfo.recordData)
926 939
           this.storelist = response.data.data.storelist
927 940
           this.warehouse_out_time = this.getTime(response.data.data.out.warehouse_out_time,"{y}-{m}-{d}")
928 941
           this.storehouse_id = response.data.data.out.storehouse_id
929
-          var obj ={id:0,name:"系统"}
930
-          this.patients =[]
931
-          this.patients.push(obj)
932
-          if(response.data.data.patients!=null){
933
-            for(let i=0;i<response.data.data.patients.length;i++){
934
-              this.patients.push(response.data.data.patients[i])
935
-            }
936
-          }
942
+        
943
+         
937 944
           loading.close();
938 945
         }
939 946
       })
@@ -1035,6 +1042,15 @@
1035 1042
            loading.close()
1036 1043
          }
1037 1044
       })
1045
+    },
1046
+    getPatientName(patient_id){
1047
+      var name = ""
1048
+      for(let i=0;i<this.patients.length;i++){
1049
+         if(patient_id == this.patients[i].id){
1050
+             name = this.patients[i].name
1051
+         }
1052
+      }
1053
+      return name
1038 1054
     }
1039 1055
 
1040 1056
     },

+ 2 - 2
src/xt_pages/user/Physicalexamination.vue Wyświetl plik

@@ -2173,8 +2173,8 @@
2173 2173
           yinyang_options:[
2174 2174
             {value:1, label:"良好"},
2175 2175
             {value:2, label:"中等"},
2176
-            {value:2, label:"不良"},
2177
-            {value:2, label:"恶病质"},
2176
+            {value:3, label:"不良"},
2177
+            {value:4, label:"恶病质"},
2178 2178
 
2179 2179
           ],  shenzhi_options:[
2180 2180
             {value:1, label:"清楚"},

+ 2 - 2
src/xt_pages/workforce/remind_print_setting.vue Wyświetl plik

@@ -80,8 +80,8 @@
80 80
                    <span>{{getAnticoagulant(main_collection.dialysissolution.anticoagulant)}}</span>
81 81
                   </span>
82 82
                 </div>
83
-               <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">首剂:{{main_collection.dialysissolution.anticoagulant_shouji}}</div>
84
-                <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">维持:{{main_collection.dialysissolution.anticoagulant_weichi}}</div>
83
+               <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675||org_id ==10571">首剂:{{main_collection.dialysissolution.anticoagulant_shouji}}</div>
84
+                <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675 || org_id ==10571">维持:{{main_collection.dialysissolution.anticoagulant_weichi}}</div>
85 85
                 <div v-if="printObj.anticoagulant_zongliang == 1">
86 86
                   用量:
87 87
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">