28169 пре 3 недеља
родитељ
комит
931da8b7d9

+ 1 - 1
.idea/shelf/Uncommitted_changes_before_Update_at_2023_4_26_15_16_[Changes]/AssessmentAfterDislysis.vue Прегледај датотеку

@@ -601,7 +601,7 @@
601 601
             </el-form-item>
602 602
        </el-col>
603 603
        <el-col :span="8" v-if="isShow('累计血容量')">
604
-            <el-form-item label="累计血容量(L):"  label-width="150px" :prop="isName('累计血容量')" :rules="isCheckmust('累计血容量')">
604
+            <el-form-item label="透析血容量(L):"  label-width="150px" :prop="isName('透析血容量')" :rules="isCheckmust('透析血容量')">
605 605
               <el-input v-model="form.accumulated_blood_volume"></el-input>
606 606
             </el-form-item>
607 607
         </el-col>

+ 9 - 0
src/api/patient.js Прегледај датотеку

@@ -1093,4 +1093,13 @@ export function getPatientCriticalOneList(params){
1093 1093
     method:"get",
1094 1094
     params:params,
1095 1095
   })
1096
+}
1097
+
1098
+export function deleteSolution(id,params){
1099
+  
1100
+  return request({
1101
+    url:"/api/patient/deletesolution?id="+id,
1102
+    method:"Get",
1103
+    params:params,
1104
+  })
1096 1105
 }

+ 1 - 1
src/api/stock.js Прегледај датотеку

@@ -121,7 +121,7 @@ export function GetGoodType(params) {
121 121
 }
122 122
 
123 123
 export function createGoodInfo(params) {
124
-  console.log('prams', params)
124
+
125 125
   return request({
126 126
     url: '/api/stock/good/info/create',
127 127
     method: 'post',

+ 2 - 2
src/xt_pages/data/components/consumables.vue Прегледај датотеку

@@ -1576,8 +1576,8 @@
1576 1576
          }
1577 1577
          console.log("hhhadhh233323232",this.goodInfo.goodInfoData)
1578 1578
 
1579
-         const tHeader = ['耗材名称','耗材种类','耗材类型','医保等级','规格型号','生产厂商','单位','零价','库存警戒','经销商','最新进价','医保编码','社保目录编码','批准文号','医保等级']
1580
-         const filterVal = ['good_name', 'good_kind_name','good_type_name','medical_insurance_level_name','specification_name','manufacturer_name','packing_unit','packing_price','stock_warn_count','dealer_name','buy_price','medical_insurance_number','social_security_directory_code','number','medical_insurance_level']
1579
+         const tHeader = ['耗材名称','耗材种类','耗材类型','医保等级','规格型号','生产厂商','单位','零价','库存警戒','经销商','最新进价','医保编码','社保目录编码','批准文号','医保等级',"注册编码"]
1580
+         const filterVal = ['good_name', 'good_kind_name','good_type_name','medical_insurance_level_name','specification_name','manufacturer_name','packing_unit','packing_price','stock_warn_count','dealer_name','buy_price','medical_insurance_number','social_security_directory_code','number','medical_insurance_level','register_number']
1581 1581
 
1582 1582
          const data = this.formatJson(filterVal,this.goodInfo.goodInfoData)
1583 1583
 

+ 20 - 3
src/xt_pages/data/components/drugs.vue Прегледај датотеку

@@ -1533,7 +1533,7 @@
1533 1533
 
1534 1534
 
1535 1535
          console.log("this.table",this.list)
1536
-
1536
+         
1537 1537
          for(let i=0;i<this.list.length;i++){
1538 1538
           for(let j=0;j<this.drugCategoryList.length;j++){
1539 1539
               if(this.list[i].drug_category == this.drugCategoryList[j].value){
@@ -1566,11 +1566,28 @@
1566 1566
 
1567 1567
              }
1568 1568
            }
1569
+           
1569 1570
           this.list[i].specification_name = this.list[i].dose + this.list[i].dose_unit + this.list[i].min_number + this.list[i].min_unit + "/"+this.list[i].max_unit
1571
+
1572
+          if(this.list[i].is_special_diseases == 1 ){
1573
+             this.list[i].is_special_diseases_name ="是"
1574
+          }
1575
+
1576
+          if(this.list[i].is_special_diseases == 2 ||this.list[i].is_special_diseases == 0  ){
1577
+             this.list[i].is_special_diseases_name ="否"
1578
+          }
1579
+
1580
+          if(this.list[i].lmt_used_flag == 1 ){
1581
+             this.list[i].lmt_used_flag_name ="是"
1582
+          }
1583
+
1584
+          if(this.list[i].lmt_used_flag == 2 ||this.list[i].lmt_used_flag == 0  ){
1585
+             this.list[i].lmt_used_flag_name ="否"
1586
+          }
1570 1587
          }
1571 1588
 
1572
-         const tHeader = ['药品名称','药品规格','剂量','剂量单位','拆零','拆零单位','包装单位','药品类型','库存警戒','产地','药品剂型','拆零零售价','包装零售价','进货价','药物分类','默认单次用量','默认单次用量单位','生产厂商','经销商','医保编码','社保目录编码','批准文号','医保等级']
1573
-         const filterVal = ['drug_name', 'specification_name','dose','dose_unit','min_number','min_unit','max_unit','drug_category_name','drug_stock_limit','drug_origin_place','drug_dosage_form_name','min_price','retail_price','last_price','drug_classify_name','drug_dose','drug_dose_unit_name','manufacturer_name','dealer_name','medical_insurance_number','social_security_directory_code','number','medical_insurance_level']
1589
+         const tHeader = ['药品名称','药品规格','剂量','剂量单位','拆零','拆零单位','包装单位','药品类型','库存警戒','产地','药品剂型','拆零零售价','包装零售价','进货价','药物分类','默认单次用量','默认单次用量单位','生产厂商','经销商','医保编码','社保目录编码','批准文号','医保等级','是否特病目录','限制性用药']
1590
+         const filterVal = ['drug_name', 'specification_name','dose','dose_unit','min_number','min_unit','max_unit','drug_category_name','drug_stock_limit','drug_origin_place','drug_dosage_form_name','min_price','retail_price','last_price','drug_classify_name','drug_dose','drug_dose_unit_name','manufacturer_name','dealer_name','medical_insurance_number','social_security_directory_code','number','medical_insurance_level','is_special_diseases_name','lmt_used_flag_name']
1574 1591
 
1575 1592
          const data = this.formatJson(filterVal,this.list)
1576 1593
 

+ 2 - 7
src/xt_pages/dialysis/batch_print/batch_print_order_fiftynine.vue Прегледај датотеку

@@ -916,9 +916,7 @@
916 916
                             record.assessment_before_dislysis.weight_before
917 917
                               ? parseFloat(
918 918
                                   record.assessment_before_dislysis
919
-                                    .weight_before -
920
-                                    record.assessment_before_dislysis
921
-                                      .additional_weight
919
+                                    .weight_before
922 920
                                 ).toFixed(1)
923 921
                               : "/"
924 922
                           }}
@@ -2047,10 +2045,7 @@
2047 2045
                             record.assessment_after_dislysis &&
2048 2046
                             record.assessment_after_dislysis.weight_after
2049 2047
                               ? parseFloat(
2050
-                                  record.assessment_after_dislysis
2051
-                                    .weight_after -
2052
-                                    record.assessment_before_dislysis
2053
-                                      .additional_weight
2048
+                                  record.assessment_after_dislysis.weight_after
2054 2049
                                 ).toFixed(1)
2055 2050
                               : "/"
2056 2051
                           }}

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Прегледај датотеку

@@ -1005,7 +1005,7 @@
1005 1005
                       style="padding: 2px 0; line-height: 23px; display: flex"
1006 1006
                     >
1007 1007
                       <div class="inline_block" style="flex: 1"
1008
-                        v-if="org_id!=10440 && org_id!=0  && org_id!=10469 && org_id!=10490 && org_id!=10478 && org_id!=10495 && org_id!=10510 && org_id!=10460 && org_id!=10585 && org_id!=10567 && org_id!=10624">
1008
+                        v-if="org_id!=10440 && org_id!=0  && org_id!=10469 && org_id!=10490 && org_id!=10478 && org_id!=10495 && org_id!=10510 && org_id!=10460 && org_id!=10585 && org_id!=10567 && org_id!=10624 && org_id!=10290">
1009 1009
                         上次透后体重:
1010 1010
                         <div
1011 1011
                           class="under_line"
@@ -1031,7 +1031,7 @@
1031 1031
                       </div>
1032 1032
 
1033 1033
                       <div class="inline_block" style="flex: 1"
1034
-                        v-if="(org_id==10440 ||  org_id ==0 || org_id==10469 || org_id==10490 || org_id==10478  || org_id==10495 || org_id == 10460 || org_id ==10624 || org_i==10624)&& org_id!=10510">
1034
+                        v-if="(org_id==10440 ||  org_id ==0 || org_id==10469 || org_id==10490 || org_id==10478  || org_id==10495 || org_id == 10460 || org_id ==10624 || org_id==10624 || org_id == 10290)&& org_id!=10510">
1035 1035
                         上次透后体重:
1036 1036
                         <div
1037 1037
                           class="under_line"

+ 1 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_twelve.vue Прегледај датотеку

@@ -214,6 +214,7 @@
214 214
                       <span style="width:50px;display: inline-block;">{{
215 215
                         record.prescription.anticoagulant_zongliang &&
216 216
                         (record.prescription.anticoagulant == 6 ||
217
+                        record.prescription.anticoagulant == 3 ||
217 218
                           record.prescription.anticoagulant == 7)
218 219
                           ? record.prescription.anticoagulant_zongliang
219 220
                           : ""

+ 2 - 2
src/xt_pages/dialysis/details/assessmentAfter.vue Прегледај датотеку

@@ -325,8 +325,8 @@
325 325
           <span class="content" >{{ this.record.pip_coagulation}}</span>
326 326
         </li>
327 327
        <li v-if="isShow('累计血容量')">
328
-          <label>累计血容量: </label>
329
-          <span class="content" >{{ this.record.accumulated_blood_volume}}</span>
328
+          <label>透析血容量: </label>
329
+          <span class="content" >{{ this.record.accumulated_blood_volume}}L</span>
330 330
         </li>
331 331
 
332 332
         <li v-if="isShow('输液量')">

+ 2 - 2
src/xt_pages/dialysis/details/index.vue Прегледај датотеку

@@ -449,7 +449,7 @@
449 449
 
450 450
                 </div>
451 451
                 <div class="printCell" style="display:flex;">
452
-                  <span style="display: block;width: 45%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}
452
+                  <span style="display: block;width: 45%;">目标脱水量:{{ main_collection.prescription.target_ultrafiltration }}
453 453
                     <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10138 || $store.getters.xt_user.org.id == 10460">ml</span>
454 454
                     <span v-else>L</span>
455 455
                   </span>
@@ -528,7 +528,7 @@
528 528
                   </span>
529 529
                 </div>
530 530
                 <div class="printCell" style="display:flex;"  v-if="org_id==10598 || org_id == 0">
531
-                  <span style="display: block;width: 45%;">目标脱水量:{{main_collection.prescription.prescription_water}}
531
+                  <span style="display: block;width: 45%;">处方脱水量:{{main_collection.prescription.prescription_water}}
532 532
                     <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10460">ml</span>
533 533
                      <span v-else>L</span>
534 534
                   </span> 

+ 2 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyNine.vue Прегледај датотеку

@@ -852,8 +852,7 @@
852 852
                         {{
853 853
                           predialysis.weight_before
854 854
                             ? parseFloat(
855
-                                predialysis.weight_before -
856
-                                  predialysis.additional_weight
855
+                                predialysis.weight_before
857 856
                               ).toFixed(1)
858 857
                             : "/"
859 858
                         }}
@@ -1924,12 +1923,7 @@
1924 1923
                         style="width: 70px; text-align: center"
1925 1924
                       >
1926 1925
                         {{
1927
-                          afterdialysis.weight_after
1928
-                            ? parseFloat(
1929
-                                afterdialysis.weight_after -
1930
-                                  afterdialysis.additional_weight
1931
-                              ).toFixed(1)
1932
-                            : "/"
1926
+                          afterdialysis.weight_after? parseFloat(afterdialysis.weight_after).toFixed(1): "/"
1933 1927
                         }}
1934 1928
                       </div>
1935 1929
                       kg

+ 8 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Прегледај датотеку

@@ -2538,7 +2538,7 @@
2538 2538
               </div>
2539 2539
              
2540 2540
             </div>
2541
-            <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10460">
2541
+            <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10460&&org_id!=10624">
2542 2542
               诊断:
2543 2543
               <div
2544 2544
                 class="under_line"
@@ -2914,11 +2914,16 @@
2914 2914
                         class="under_line"
2915 2915
                         style="width: 70px; text-align: center"
2916 2916
                       >
2917
-                        {{
2917
+                        <span v-if="org_id!=10598">{{
2918 2918
                           afterdialysis.weight_loss
2919 2919
                             ? afterdialysis.weight_loss
2920 2920
                             : "/"
2921
-                        }}
2921
+                           }}
2922
+                         </span>
2923
+                         <span v-if="org_id ==10598"> 
2924
+                          {{(predialysis.weight_before - afterdialysis.weight_after).toFixed(2)}}
2925
+                         </span>
2926
+                      
2922 2927
                       </div>
2923 2928
                       kg
2924 2929
                     </div>

+ 14 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSixty.vue Прегледај датотеку

@@ -1962,6 +1962,20 @@
1962 1962
                       ml
1963 1963
                     </div>
1964 1964
                   </div>
1965
+                  <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1966
+                    透析血容量:
1967
+                      <div
1968
+                        class="under_line"
1969
+                        style="width: 70px; text-align: center"
1970
+                      >
1971
+                        {{
1972
+                          afterdialysis.accumulated_blood_volume
1973
+                            ? afterdialysis.accumulated_blood_volume
1974
+                            : "/"
1975
+                        }}
1976
+                        L
1977
+                   </div>
1978
+                  </div>
1965 1979
                   <div
1966 1980
                     class="row"
1967 1981
                     style="padding: 2px 0; line-height: 23px; display: flex"

+ 32 - 32
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Прегледај датотеку

@@ -1996,21 +1996,21 @@ export default {
1996 1996
                 if (prescription.pre_time == 0) {
1997 1997
                   if (this.schedule.schedule_type == 1) {
1998 1998
                     if (this.org_id == 10028) {
1999
-                      preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
1999
+                      preTime = this.record_date + ' ' + '6:30'
2000 2000
                     } else if(this.org_id == 10206  || this.org_id == 0){
2001 2001
                       preTime = this.record_date + ' ' + '6:00'
2002 2002
                     } else {
2003
-                      preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
2003
+                      preTime = this.record_date + ' ' + '7:00'
2004 2004
 
2005 2005
                     }
2006 2006
                   } else if (this.schedule.schedule_type == 2) {
2007 2007
                      if(this.org_id == 10206  || this.org_id == 0 ){
2008 2008
                       preTime = this.record_date + ' ' + '10:30'
2009 2009
                     }else{
2010
-                     preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
2010
+                     preTime = this.record_date + ' ' + '11:00'
2011 2011
                    }
2012 2012
                   } else if (this.schedule.schedule_type == 3) {
2013
-                    preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
2013
+                    preTime = this.record_date + ' ' + '17:00'
2014 2014
                   }
2015 2015
                   // preTime = nowTime
2016 2016
                 } else {
@@ -2165,11 +2165,11 @@ export default {
2165 2165
                 if (this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
2166 2166
                   if (this.schedule.schedule_type == 1) {
2167 2167
                     if (this.org_id == 10028) {
2168
-                      preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
2168
+                      preTime = this.record_date + ' ' + '6:30'
2169 2169
                     } else if(this.org_id == 10206  || this.org_id == 0) {
2170 2170
                       preTime = this.record_date+ ' ' + '6:00'
2171 2171
                     } else {
2172
-                      preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
2172
+                      preTime = this.record_date + ' ' + '7:00'
2173 2173
 
2174 2174
                     }
2175 2175
                     // preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
@@ -2177,10 +2177,10 @@ export default {
2177 2177
                     if(this.org_id == 10206  || this.org_id == 0){
2178 2178
                       preTime = this.record_date + ' ' + '6:00'
2179 2179
                     }else {
2180
-                      preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
2180
+                      preTime = this.record_date + ' ' + '11:00'
2181 2181
                     }
2182 2182
                   } else if (this.schedule.schedule_type == 3) {
2183
-                    preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
2183
+                    preTime = this.record_date + ' ' + '17:00'
2184 2184
                   }
2185 2185
                 }
2186 2186
 
@@ -2501,11 +2501,11 @@ export default {
2501 2501
                       if (prescription.pre_time == 0) {
2502 2502
                         if (this.schedule.schedule_type == 1) {
2503 2503
                           if (this.org_id == 10028) {
2504
-                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
2504
+                            preTime = this.record_date + ' ' + '6:30'
2505 2505
                           } else if(this.org_id == 10206 || this.org_id == 0){
2506 2506
                             preTime = this.record_date + ' ' + '6:00'
2507 2507
                           } else {
2508
-                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
2508
+                            preTime = this.record_date + ' ' + '7:00'
2509 2509
 
2510 2510
                           }
2511 2511
                           // preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
@@ -2513,10 +2513,10 @@ export default {
2513 2513
                           if(this.org_id == 10206  || this.org_id == 0){
2514 2514
                             preTime = this.record_date + ' ' + '10:30'
2515 2515
                           }else{
2516
-                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
2516
+                            preTime = this.record_date + ' ' + '11:00'
2517 2517
                           }
2518 2518
                         } else if (this.schedule.schedule_type == 3) {
2519
-                          preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
2519
+                          preTime = this.record_date + ' ' + '17:00'
2520 2520
                         }
2521 2521
                       } else {
2522 2522
                         preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
@@ -2672,11 +2672,11 @@ export default {
2672 2672
                       if ( this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
2673 2673
                         if (this.schedule.schedule_type == 1) {
2674 2674
                           if (this.org_id == 10028) {
2675
-                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
2675
+                            preTime = this.record_date + ' ' + '6:30'
2676 2676
                           } else if(this.org_id == 10206  || this.org_id == 0){
2677 2677
                             preTime = this.record_date + ' ' + '6:00'
2678 2678
                           } else {
2679
-                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
2679
+                            preTime = this.record_date + ' ' + '7:00'
2680 2680
 
2681 2681
                           }
2682 2682
                           // preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
@@ -2685,11 +2685,11 @@ export default {
2685 2685
                             preTime =this.record_date + ' ' + '10:30'
2686 2686
                           }else{
2687 2687
 
2688
-                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
2688
+                            preTime = this.record_date + ' ' + '11:00'
2689 2689
 
2690 2690
                           }
2691 2691
                         } else if (this.schedule.schedule_type == 3) {
2692
-                          preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
2692
+                          preTime = this.record_date + ' ' + '17:00'
2693 2693
                         }
2694 2694
                       }
2695 2695
 
@@ -4226,13 +4226,13 @@ export default {
4226 4226
                       if (prescription.pre_time == 0) {
4227 4227
                         if (this.schedule.schedule_type == 1) {
4228 4228
                           if (this.org_id == 10028) {
4229
-                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
4229
+                            preTime = this.record_date + ' ' + '6:30'
4230 4230
                           } else if(this.org_id == 10206 || this.org_id == 0){
4231 4231
 
4232 4232
                             preTime = this.record_date + ' ' + '6:00'
4233 4233
 
4234 4234
                           } else {
4235
-                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
4235
+                            preTime = this.record_date + ' ' + '7:00'
4236 4236
 
4237 4237
                           }
4238 4238
                           // preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
@@ -4241,10 +4241,10 @@ export default {
4241 4241
                             preTime = this.record_date + ' ' + '10:30'
4242 4242
 
4243 4243
                           }else {
4244
-                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
4244
+                            preTime = this.record_date + ' ' + '11:00'
4245 4245
                           }
4246 4246
                         } else if (this.schedule.schedule_type == 3) {
4247
-                          preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
4247
+                          preTime = this.record_date + ' ' + '17:00'
4248 4248
                         }
4249 4249
                       } else {
4250 4250
                         preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
@@ -4399,21 +4399,21 @@ export default {
4399 4399
                       if (this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
4400 4400
                         if (this.schedule.schedule_type == 1) {
4401 4401
                           if (this.org_id == 10028) {
4402
-                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
4402
+                            preTime = this.record_date + ' ' + '6:30'
4403 4403
                           } else if(this.org_id == 10206  || this.org_id == 0){
4404 4404
                             preTime = this.record_date+ ' ' + '6:00'
4405 4405
                           } else {
4406
-                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
4406
+                            preTime = this.record_date + ' ' + '7:00'
4407 4407
                           }
4408 4408
                           // preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
4409 4409
                         } else if (this.schedule.schedule_type == 2) {
4410 4410
                           if(this.org_id == 10206  || this.org_id == 0){
4411 4411
                             preTime = this.record_date + ' ' + '10:30'
4412 4412
                           }else{
4413
-                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
4413
+                            preTime = this.record_date + ' ' + '11:00'
4414 4414
                           }
4415 4415
                         } else if (this.schedule.schedule_type == 3) {
4416
-                          preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
4416
+                          preTime = this.record_date + ' ' + '17:00'
4417 4417
                         }
4418 4418
                       }
4419 4419
 
@@ -4912,22 +4912,22 @@ export default {
4912 4912
                         // preTime = nowTime
4913 4913
                         if (this.schedule.schedule_type == 1) {
4914 4914
                           if (this.org_id == 10028) {
4915
-                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
4915
+                            preTime = this.record_date + ' ' + '6:30'
4916 4916
                           } else if(this.org_id == 10206 || this.org_id == 0){
4917 4917
                             preTime = this.record_date + ' ' + '6:00'
4918 4918
                           } else {
4919
-                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
4919
+                            preTime = this.record_date + ' ' + '7:00'
4920 4920
                           }
4921 4921
                           // preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
4922 4922
                         } else if (this.schedule.schedule_type == 2) {
4923 4923
                           if(this.org_id == 10206  || this.org_id == 0){
4924 4924
                             preTime =this.record_date + ' ' + '10:30'
4925 4925
                           }else{
4926
-                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
4926
+                            preTime = this.record_date + ' ' + '11:00'
4927 4927
 
4928 4928
                           }
4929 4929
                         } else if (this.schedule.schedule_type == 3) {
4930
-                          preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
4930
+                          preTime = this.record_date + ' ' + '17:00'
4931 4931
                         }
4932 4932
                       } else {
4933 4933
                         preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
@@ -5083,11 +5083,11 @@ export default {
5083 5083
                       if ( this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
5084 5084
                         if (this.schedule.schedule_type == 1) {
5085 5085
                           if (this.org_id == 10028) {
5086
-                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
5086
+                            preTime = this.record_date + ' ' + '6:30'
5087 5087
                           } else if(this.org_id == 10206 ||  this.org_id == 0){
5088 5088
                             preTime = this.record_date + ' ' + '6:00'
5089 5089
                           } else {
5090
-                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
5090
+                            preTime = this.record_date + ' ' + '7:00'
5091 5091
                           }
5092 5092
                           // preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
5093 5093
                         } else if (this.schedule.schedule_type == 2) {
@@ -5095,10 +5095,10 @@ export default {
5095 5095
                             preTime = this.record_date + ' ' + '10:30'
5096 5096
 
5097 5097
                           }else{
5098
-                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
5098
+                            preTime = this.record_date + ' ' + '11:00'
5099 5099
                           }
5100 5100
                         } else if (this.schedule.schedule_type == 3) {
5101
-                          preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
5101
+                          preTime = this.record_date + ' ' + '17:00'
5102 5102
                         }
5103 5103
                       }
5104 5104
 

+ 1 - 1
src/xt_pages/stock/stockFlow.vue Прегледај датотеку

@@ -52,7 +52,7 @@
52 52
         <span>
53 53
           <el-button type="primary" size="small" @click="toExprot">导出</el-button>
54 54
 
55
-          <!-- <el-button type="primary" size="small" @click="toTongBu">同步</el-button> -->
55
+          <el-button type="primary" size="small" @click="toTongBu">同步</el-button>
56 56
         </span>
57 57
        
58 58
       </div>

+ 1 - 1
src/xt_pages/user/courseOfDisease.vue Прегледај датотеку

@@ -851,7 +851,7 @@
851 851
       // nowMonth = nowDate.getMonth() + 1
852 852
       // nowDay = nowDate.getDate()
853 853
       // this.start_time = nowYear +'-' +(nowMonth < 10 ? '0' + nowMonth : nowMonth) +'-' +(nowDay < 10 ? '0' + nowDay : nowDay)
854
-      this.start_time = moment().month(moment().month() - 1).startOf('month').format('YYYY-MM-DD');
854
+      this.start_time = moment().month(moment().month() - 6).startOf('month').format('YYYY-MM-DD');
855 855
       console.log("start_time",this.start_time)
856 856
       this.end_time = moment().endOf('month').format('YYYY-MM-DD');
857 857
       console.log("end_time",this.end_time)

+ 36 - 1
src/xt_pages/user/dialysisSolution.vue Прегледај датотеку

@@ -124,6 +124,21 @@
124 124
               </el-button>
125 125
             </el-tooltip>
126 126
 
127
+            <el-tooltip
128
+                class="item"
129
+                effect="dark"
130
+                content="删除"
131
+                placement="top"
132
+              >
133
+                <el-button
134
+                  size="small"
135
+                  type="danger"
136
+                  icon="el-icon-delete"
137
+                  @click="deleteSolution(scope.$index, scope.row)"
138
+                   删除
139
+                ></el-button>
140
+               </el-tooltip>
141
+
127 142
           </template>
128 143
         </el-table-column>
129 144
       </el-table>
@@ -954,7 +969,8 @@
954 969
     editDialysisSolutionDetail,
955 970
     editPatientDialysisSolution,
956 971
     findePatientDialysisLongSolutions,
957
-    getDialysisSolutionDetailList
972
+    getDialysisSolutionDetailList,
973
+    deleteSolution
958 974
   } from '@/api/patient'
959 975
 
960 976
   import { getSystemPrescription } from '@/api/config'
@@ -2688,6 +2704,25 @@
2688 2704
           }
2689 2705
         }
2690 2706
         return name
2707
+      },
2708
+      deleteSolution(index,row){
2709
+          this.$confirm('确认删除吗?', '删除', {
2710
+            confirmButtonText: '确 定',
2711
+            cancelButtonText: '取 消',
2712
+            type: 'warning'
2713
+         }).then(() => {
2714
+          deleteSolution(row.id).then(response => {
2715
+              if (response.data.state == 1) {
2716
+                  var msg = response.data.data.msg
2717
+                  this.$message.success("删除成功")
2718
+                  this.FindePatientDialysisLongSolutions()
2719
+              } else {
2720
+                  this.$message.error("药品已经出库不能删除")
2721
+              }
2722
+            })
2723
+          })
2724
+          .catch(() => {
2725
+          }) 
2691 2726
       }
2692 2727
     },
2693 2728
     created() {