28169 4 mesi fa
parent
commit
d2b0c51a79

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Vedi File

@@ -1748,7 +1748,7 @@
1748 1748
                           置换液的速度<br />(ml/h)
1749 1749
                           </td>
1750 1750
                           <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
1751
-                          <td width="50" v-if=" org_id ==0 || org_id ==10489">超滤率<br />(ml/h)</td>
1751
+                          <td width="50" v-if=" org_id ==0 || org_id ==10489 || org_id == 10735">超滤率<br />(ml/h)</td>
1752 1752
                           <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id!=10600 && org_id!=10683">超滤量<br />
1753 1753
                             <span v-if="org_id!=10471"> (ml)</span>
1754 1754
                             <span v-if="org_id==10471">L</span>
@@ -1989,7 +1989,7 @@
1989 1989
                           <td width="50" v-if="org_id == 10375"><br />
1990 1990
                             {{ monitor_record.replacement_rate?monitor_record.replacement_rate:"0" }}
1991 1991
                           </td>
1992
-                          <td width="50" v-if="org_id == 10489 || org_id ==0"><br />
1992
+                          <td width="50" v-if="org_id == 10489 || org_id ==0 || org_id == 10735"><br />
1993 1993
 
1994 1994
                                    {{
1995 1995
                                      monitor_record.ultrafiltration_rate

+ 1 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Vedi File

@@ -3025,7 +3025,7 @@ mu
3025 3025
             }
3026 3026
            }else if(this.$store.getters.xt_user.org.id == 10735){
3027 3027
               if (schedual.schedule_type == 1) {
3028
-              this.start_time = year + '-' + month + '-' + day + ' ' + '6:30'
3028
+              this.start_time = year + '-' + month + '-' + day + ' ' + '6:00'
3029 3029
             } else if (schedual.schedule_type == 2) {
3030 3030
               this.start_time = year + '-' + month + '-' + day + ' ' + '11:00'
3031 3031
             } else if (schedual.schedule_type == 3) {

+ 2 - 2
src/xt_pages/dialysis/doctorAdviceStaticPrint.vue Vedi File

@@ -141,7 +141,7 @@
141 141
                   let { advice_name } = item
142 142
                   if (!dataInfo[advice_name]) {
143 143
                     dataInfo[advice_name] = {
144
-                      advice_name:item.advice_name,
144
+                      advice_name:item.advice_name.replace(/\s+/g, ''),
145 145
                       child: [],
146 146
                       count:0,
147 147
                       drug_id:item.drug_id,
@@ -157,7 +157,7 @@
157 157
                 if(arr.length > 0){
158 158
                   for(let i=0;i<doctorList.length;i++){
159 159
                     for(let j=0;j<arr.length;j++){
160
-                      if(doctorList[i].advice_name == arr[j].advice_name){
160
+                      if(doctorList[i].advice_name.replace(/\s+/g, '') == arr[j].advice_name){
161 161
                           arr[j].child.push(doctorList[i])
162 162
                       }
163 163
                     }

+ 4 - 4
src/xt_pages/dialysis/newDoctorAdvice.vue Vedi File

@@ -55,9 +55,9 @@
55 55
             <el-button type="primary" @click="toSeachOne">搜索</el-button>
56 56
           </div>
57 57
           <div style="flex: 1;text-align: right;">
58
-            <el-button type="primary" size="small" @click="toStatic" v-if="org_id!=0  && org_id!=10340">药品统计</el-button>
58
+            <el-button type="primary" size="small" @click="toStatic" v-if="org_id!=10340">药品统计</el-button>
59 59
 
60
-            <el-button type="primary" size="small" @click="toStaticOne" v-if="org_id == 0 || org_id==10340">药品统计</el-button>
60
+            <el-button type="primary" size="small" @click="toStaticOne" v-if="org_id==10340">药品统计</el-button>
61 61
             <el-button type="primary" size="small" @click="toStaticThree">药品月统计</el-button>
62 62
 
63 63
             <el-button type="primary" size="small" @click="toStaticTwo">耗材统计</el-button>
@@ -2081,7 +2081,7 @@ export default {
2081 2081
                   let { advice_name } = item
2082 2082
                   if (!dataInfo[advice_name]) {
2083 2083
                     dataInfo[advice_name] = {
2084
-                      advice_name:item.advice_name,
2084
+                      advice_name:item.advice_name.replace(/\s+/g, ''),
2085 2085
                       child: [],
2086 2086
                       count:0,
2087 2087
                       drug_id:item.drug_id,
@@ -2098,7 +2098,7 @@ export default {
2098 2098
                 if(arr.length > 0){
2099 2099
                   for(let i=0;i<doctorList.length;i++){
2100 2100
                     for(let j=0;j<arr.length;j++){
2101
-                      if(doctorList[i].advice_name == arr[j].advice_name){
2101
+                      if(doctorList[i].advice_name.replace(/\s+/g, '') == arr[j].advice_name){
2102 2102
                           arr[j].child.push(doctorList[i])
2103 2103
                       }
2104 2104
                     }

+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Vedi File

@@ -1841,7 +1841,7 @@
1841 1841
                         </td>
1842 1842
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1843 1843
                         <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
1844
-                        <td width="50" v-if="org_id ==10489">超滤率<br/>(ml/h)</td>
1844
+                        <td width="50" v-if="org_id ==10489 || org_id == 10735 || org_id == 0">超滤率<br/>(ml/h)</td>
1845 1845
                         <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 10600&& org_id != 10683">
1846 1846
                           超滤量<br />
1847 1847
                          <span v-if="org_id == 10471">L</span>
@@ -1970,7 +1970,7 @@
1970 1970
                         <td v-if="org_id == 10375"><br />
1971 1971
                           {{ monitor.replacement_rate? monitor.replacement_rate: ""}}
1972 1972
                         </td>
1973
-                        <td v-if="org_id == 10489 "><br />
1973
+                        <td v-if="org_id == 10489 || org_id == 10735 || org_id == 0"><br />
1974 1974
                           {{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: ""}}
1975 1975
                         </td>
1976 1976
                         <td v-if="org_id!=10600 && org_id!=10644  && org_id!=10683">
@@ -5431,7 +5431,7 @@ export default {
5431 5431
               tempmonitorflag = false;
5432 5432
             }
5433 5433
             if ((tempmonitorflag && index == this.monitors.length - 1)&&(this.org_id!=10414)) {
5434
-              if(this.org_id!=10683){
5434
+              if(this.org_id!=10683 && this.org_id!=0  && this.org_id!=10644){
5435 5435
                 this.monitors[index].end = "【结束透析】";
5436 5436
               }
5437 5437
             }

+ 4 - 0
src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue Vedi File

@@ -304,6 +304,10 @@ export default {
304 304
     return total
305 305
    },
306 306
    GetDrugOverOnePrice(totalone,totaltwo,totalthree,min_number,min_unit,max_unit){
307
+
308
+    console.log("hahhahha",totalone)
309
+    console.log("totaltwo",totaltwo)
310
+    console.log("totalthree",totalthree)
307 311
       var total = 0
308 312
       
309 313
       total = (totalone + totaltwo - totalthree).toFixed(2)

+ 9 - 2
src/xt_pages/stock/query/purchaseNewStockQuery.vue Vedi File

@@ -308,7 +308,7 @@ export default {
308 308
               if(this.org_id ==10697){
309 309
                list[i].addStockMoney = list[i].buy_price 
310 310
                 list[i].saleStockMoney = (list[i].buy_price *list[i].stockAdd).toFixed(2)
311
-              }else if(this.org_id == 0 || this.org_id == 10164){
311
+              }else if(this.org_id == 0 || this.org_id == 10644){
312 312
                 list[i].addStockMoney = "/"
313 313
                 list[i].saleStockMoney = this.getWarehouseInfoOnePrice(list[i].StartFlowWarehouseInfo,list[i].WareStartEndStockInventoryProfit).toFixed(2)
314 314
               } else{
@@ -321,9 +321,13 @@ export default {
321 321
               if(this.org_id == 10697){
322 322
                 list[i].stockOutprice = list[i].packing_price
323 323
                 list[i].saleOutMoney = (list[i].packing_price * list[i].outStock).toFixed(2)
324
-              }else if(this.org_id == 0 || this.org_id == 10164){
324
+              }else if(this.org_id == 0 || this.org_id == 10644){
325 325
                 list[i].stockOutprice = "/"
326 326
                 list[i].saleOutMoney = this.getWarehosueOutInfoPrice(list[i].WarehouseOutInfoStart,list[i].WareStartEndStockInventoryLosses,list[i].StartEndCancelFLowInfo)
327
+                if(list[i].saleOutMoney == "NaN"){
328
+                  list[i].saleOutMoney = ""
329
+                }
330
+                console.log("list[i].saleOutMoney",list[i].saleOutMoney)
327 331
               }else{
328 332
                 list[i].stockOutprice = "/"
329 333
                 list[i].saleOutMoney = "/"
@@ -350,6 +354,9 @@ export default {
350 354
                 list[i].overMoney = (list[i].packing_price*list[i].overStock).toFixed(2)
351 355
               }else if(this.org_id == 0 || this.org_id ==10644){
352 356
                 list[i].overPrice = "/"
357
+                console.log("stockMoney-00000000000000",list[i].stockMoney)
358
+                console.log("saleStockMoney-00000000000000",list[i].saleStockMoney)
359
+                console.log("saleOutMoney-00000000000000",list[i].saleOutMoney)
353 360
                 list[i].overMoney = (parseFloat(list[i].stockMoney)  + parseFloat(list[i].saleStockMoney) - parseFloat(list[i].saleOutMoney)).toFixed(2)
354 361
                 // console.log("hahahha",list[i].overMoney)
355 362
               }else{

+ 8 - 3
src/xt_pages/stock/query/purchaseNewStockQueryPrint.vue Vedi File

@@ -201,9 +201,10 @@ export default {
201 201
                     if(this.org_id == 0 || this.org_id ==10697){
202 202
                         list[i].addStockMoney = list[i].buy_price 
203 203
                         list[i].saleStockMoney = (list[i].buy_price *list[i].stockAdd).toFixed(2)
204
-                    }else if(this.org_id == 0 || this.org_id == 10164){
204
+                    }else if(this.org_id == 0 || this.org_id == 10644){
205 205
                       list[i].addStockMoney = "/"
206 206
                       list[i].saleStockMoney = this.getWarehouseInfoOnePrice(list[i].StartFlowWarehouseInfo,list[i].WareStartEndStockInventoryProfit).toFixed(2)
207
+                     
207 208
                     }else{
208 209
                         list[i].addStockMoney = "/"
209 210
                         list[i].saleStockMoney = "/"
@@ -216,9 +217,10 @@ export default {
216 217
                     if(this.org_id == 0 || this.org_id == 10697){
217 218
                       list[i].stockOutprice = list[i].packing_price
218 219
                       list[i].saleOutMoney = (list[i].packing_price * list[i].outStock).toFixed(2)
219
-                    }else if(this.org_id == 0 || this.org_id == 10164){
220
+                    }else if(this.org_id == 0 || this.org_id == 10644){
220 221
                       list[i].addStockMoney = "/"
221 222
                       list[i].saleStockMoney = this.getWarehouseInfoOnePrice(list[i].StartFlowWarehouseInfo,list[i].WareStartEndStockInventoryProfit).toFixed(2)
223
+                      
222 224
                     }else{
223 225
                       list[i].stockOutprice = "/"
224 226
                       list[i].saleOutMoney = "/"
@@ -233,9 +235,12 @@ export default {
233 235
                     if(this.org_id == 0 || this.org_id ==10697){
234 236
                       list[i].overPrice = list[i].packing_price
235 237
                       list[i].overMoney = (list[i].packing_price*list[i].overStock).toFixed(2)
236
-                     }else if(this.org_id == 0 || this.org_id == 10164){
238
+                     }else if(this.org_id == 0 || this.org_id == 10644){
237 239
                       list[i].stockOutprice = "/"
238 240
                       list[i].saleOutMoney = this.getWarehosueOutInfoPrice(list[i].WarehouseOutInfoStart,list[i].WareStartEndStockInventoryLosses,list[i].StartEndCancelFLowInfo)
241
+                      if(list[i].saleOutMoney == "NaN"){
242
+                        list[i].saleOutMoney = ""
243
+                      }
239 244
                      }else{
240 245
                         list[i].overPrice = "/"
241 246
                         list[i].overMoney = "/"

+ 13 - 10
src/xt_pages/user/courseOfDisease_new.vue Vedi File

@@ -248,7 +248,7 @@
248 248
           <div v-show="AuToShow">
249 249
             <text_content @new_content="newcontent" :patient="patient" :prescriptionList="prescriptionList" :berforList="berforList" 
250 250
             :monitorList="monitorList" :dryweightList="dryweightList" :inpectionList="inpectionList" :dialysisOrderList="dialysisOrderList" 
251
-            :start_date="start_date" :end_date="end_date" :patient_id="patient_id" :num="num"></text_content>
251
+            :start_date="start_date" :end_date="end_date" :patient_id="patient_id" :num="num" :longAdvice="longAdvice"></text_content>
252 252
           </div>
253 253
         </div>
254 254
 
@@ -340,9 +340,9 @@
340 340
         template_id:0,
341 341
         title:"",
342 342
         templateList:[],
343
-        tab:[{id:1,name:'人促红注射液',type:'长期医嘱',start:'2024-12-04',dosage:"3000iu",pinlv:'一周三次',status:''},
344
-            {id:2,name:'人促红注射液2',type:'长期医嘱',start:'2024-12-05',dosage:"3000iu",pinlv:'一周三次',status:''}, 
345
-        ],
343
+        // tab:[{id:1,name:'人促红注射液',type:'长期医嘱',start:'2024-12-04',dosage:"3000iu",pinlv:'一周三次',status:''},
344
+        //     {id:2,name:'人促红注射液2',type:'长期医嘱',start:'2024-12-05',dosage:"3000iu",pinlv:'一周三次',status:''}, 
345
+        // ],
346 346
         prescriptionList:[],
347 347
         berforList:[],
348 348
         monitorList:[],
@@ -352,7 +352,8 @@
352 352
         patient:{},
353 353
         AuToShow:false,
354 354
 
355
-        num:22222222
355
+        num:"",
356
+        longAdvice:[]
356 357
       //   name:"",
357 358
       //  gander:"",
358 359
       //  age:0,
@@ -567,8 +568,8 @@
567 568
       auto_click(){
568 569
         this.start_date = this.getFirstDayOfWeek(new Date())
569 570
         this.end_date = this.getTime(new Date())
570
-        // this.getAutoPatientContent()
571
-        this.auto_dialog = true
571
+        this.getAutoPatientContent()
572
+        // this.auto_dialog = true
572 573
       },
573 574
       autotext_click(){
574 575
         
@@ -1246,7 +1247,7 @@
1246 1247
             
1247 1248
             this.patient = {}
1248 1249
             var patient = response.data.data.patient
1249
-            console.log("patinet-=================",patient)
1250
+           
1250 1251
             if(patient.gender == 1){
1251 1252
                patient.gender_name = "男"
1252 1253
             }
@@ -1254,8 +1255,7 @@
1254 1255
                patient.gender_name = "女"
1255 1256
             }
1256 1257
 
1257
-           this.patient2 = patient
1258
-           console.log('this.patient2',this.patient2);
1258
+           this.patient = patient
1259 1259
             var dialysisOrderList =response.data.data.dialysisOrder
1260 1260
             
1261 1261
             var total_count = 0
@@ -1404,7 +1404,10 @@
1404 1404
             
1405 1405
            
1406 1406
            var longAdvice = response.data.data.longAdvice
1407
+           console.log("longAdvice-------------------------",longAdvice)
1408
+           this.longAdvice = longAdvice
1407 1409
 
1410
+            this.auto_dialog  =  true
1408 1411
 
1409 1412
             // const contents = `<table border="1" class="table" style="border-collapse: collapse;width: 100%;">
1410 1413
             //   <tr>

+ 1 - 0
src/xt_pages/user/firstDiseasePrint.vue Vedi File

@@ -49,6 +49,7 @@
49 49
 
50 50
             </div>
51 51
           </div>
52
+           <span style="font-size:20px">主诉内容:</span>
52 53
             <div class="inline_block" style="margin-left: 30px">
53 54
                    <div v-html="hosDetail.main_content"> </div>
54 55
             </div>

File diff suppressed because it is too large
+ 773 - 972
src/xt_pages/user/text_content.vue