Kaynağa Gözat

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 1 yıl önce
ebeveyn
işleme
d5222b8037

+ 2 - 1
src/store/modules/globalConfig.js Dosyayı Görüntüle

@@ -1991,7 +1991,8 @@ const global_config = {
1991 1991
     }
1992 1992
     ],
1993 1993
 
1994
-    good_unit: [{
1994
+    good_unit: [
1995
+      {
1995 1996
       id: 1,
1996 1997
       name: '支'
1997 1998
     },

+ 14 - 13
src/xt_pages/data/components/drugs.vue Dosyayı Görüntüle

@@ -530,7 +530,7 @@
530 530
 
531 531
           val.min_number =  parseInt(val.min_number)
532 532
           console.log("Val323323232",val)
533
-          
533
+
534 534
           editBaseDrugLib(val,untit).then(response => {
535 535
             if (response.data.state == 0) {
536 536
               this.$message.error(response.data.msg);
@@ -721,7 +721,7 @@
721 721
               if(this.formValue.drug_classify == 0){
722 722
                  this.formValue.drug_classify = ""
723 723
               }
724
-             
724
+
725 725
 
726 726
 
727 727
               this.$refs.addDrugs.show(id, this.formValue)
@@ -1451,18 +1451,19 @@
1451 1451
         };
1452 1452
         console.log("params222222222",params)
1453 1453
 
1454
-        postDrugInformation(params).then(response=>{
1455
-           if(response.data.state == 1){
1456
-             var msg =  response.data.data.msg;
1457
-             this.getList();
1458
-             this.getAllManufacturer();
1459
-             this.GetAllConfig();
1460
-             this.$message.success("导入成功!")
1461 1454
 
1462
-           }else{
1463
-             this.$message.error("导入失败,请下载日志查看")
1464
-           }
1465
-        })
1455
+        // postDrugInformation(params).then(response=>{
1456
+        //    if(response.data.state == 1){
1457
+        //      var msg =  response.data.data.msg;
1458
+        //      this.getList();
1459
+        //      this.getAllManufacturer();
1460
+        //      this.GetAllConfig();
1461
+        //      this.$message.success("导入成功!")
1462
+        //
1463
+        //    }else{
1464
+        //      this.$message.error("导入失败,请下载日志查看")
1465
+        //    }
1466
+        // })
1466 1467
       },
1467 1468
       generateTxt: function(log) {
1468 1469
         var content = '';

+ 12 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Dosyayı Görüntüle

@@ -748,12 +748,23 @@
748 748
                           class="under_line"
749 749
                           style="width: 70px; text-align: center"
750 750
                         >
751
-                          {{
751
+                         
752
+
753
+                          <span v-if="org_id==10223">
754
+                              {{
755
+                            record.prescription.replacement_total
756
+                              ? record.prescription.replacement_total
757
+                              : "/"
758
+                           }}
759
+                          </span>
760
+                          <span v-if="org_id!=10223">
761
+                            {{
752 762
                             record.prescription &&
753 763
                             record.prescription.displace_liqui_value
754 764
                               ? record.prescription.displace_liqui_value
755 765
                               : "/"
756 766
                           }}
767
+                          </span>
757 768
                         </div>
758 769
                         L
759 770
                       </div>

+ 25 - 4
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Dosyayı Görüntüle

@@ -821,8 +821,8 @@
821 821
 
822 822
                     <el-col :span="8">
823 823
                         <el-form-item
824
-                                label="置换:"
825
-                                v-if="isShows('置换液')"
824
+                                label="置换方式:"
825
+                                v-if="isShows('置换液')&&this.$store.getters.xt_user.org.id != 10206"
826 826
                                 v-show="huShow"
827 827
                                 prop="displace_liqui_part"
828 828
                                 :rules="isCheckmust('置换液')"
@@ -840,6 +840,27 @@
840 840
                                 ></el-option>
841 841
                             </el-select>
842 842
                         </el-form-item>
843
+                      <el-form-item
844
+                        label="置换方式:"
845
+                        v-if="isShows('置换方式')&&this.$store.getters.xt_user.org.id == 10206"
846
+                        v-show="huShow"
847
+                        prop="displace_liqui_part"
848
+                        :rules="isCheckmust('置换方式')"
849
+                      >
850
+                        <el-select
851
+                          v-model="dialysisPrescription.displace_liqui_part"
852
+                          placeholder="请选择"
853
+                        >
854
+                          <el-option :key="0" label="请选择" :value="0"></el-option>
855
+                          <el-option
856
+                            v-for="(option, index) in displace_liqui_part_option"
857
+                            :key="index + 'u'"
858
+                            :label="option.name"
859
+                            :value="option.id"
860
+                          ></el-option>
861
+                        </el-select>
862
+                      </el-form-item>
863
+
843 864
                     </el-col>
844 865
 
845 866
                     <el-col :span="8"
@@ -2772,7 +2793,7 @@ mu
2772 2793
         if(moment().weekday() == 0){
2773 2794
            total_day ="周日"
2774 2795
         }
2775
-       
2796
+
2776 2797
         if(this.targetAdvices!=null && this.targetAdvices.length >0){
2777 2798
             for (let i = 0; i < this.targetAdvices.length; i++) {
2778 2799
               if(this.targetAdvices[i].week_day.indexOf(total_day)!=-1){
@@ -3449,7 +3470,7 @@ mu
3449 3470
                   ParamsQuery['patient'] = this.patient.id
3450 3471
                   ParamsQuery['record_date'] = this.record_date
3451 3472
                   ParamsQuery['mode'] = '1'
3452
-               
3473
+
3453 3474
                   postSoulution(ParamsQuery).then(response => {
3454 3475
                     if (response.data.state == 0) {
3455 3476
                       this.$message.error(response.data.msg)

+ 12 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Dosyayı Görüntüle

@@ -762,11 +762,18 @@
762 762
                         class="under_line"
763 763
                         style="width: 70px; text-align: center"
764 764
                       >
765
-                        {{
765
+                      <span v-if="org_id==10223"> {{
766 766
                           prescription.replacement_total
767 767
                             ? prescription.replacement_total
768 768
                             : "/"
769 769
                         }}
770
+                        </span> 
771
+                        <span v-if="org_id!=10223"> {{
772
+                          prescription.displace_liqui_value
773
+                            ? prescription.displace_liqui_value
774
+                            : "/"
775
+                        }}
776
+                        </span> 
770 777
                       </div>
771 778
                       L
772 779
                     </div>
@@ -4273,14 +4280,17 @@ export default {
4273 4280
         
4274 4281
 
4275 4282
         console.log("RESWOOWOWWOOW",response.data.data.doctorAdevieInfo)
4276
-        if(this.org_id ==10515 || this.org_id == 0){
4283
+        if(this.org_id ==10515 || this.org_id == 0 || this.org_id == 10510){
4277 4284
           if(response.data.data.doctorAdevieInfo!=null && response.data.data.doctorAdevieInfo.length>0){
4285
+            
4278 4286
             for(let i=0;i<response.data.data.doctorAdevieInfo.length;i++){
4279 4287
               this.doctor_advices.push(response.data.data.doctorAdevieInfo[i])
4288
+              console.log("寄哪里 222")
4280 4289
               // this.doctor_advices_2.push(response.data.data.doctorAdevieInfo[i])
4281 4290
             }
4282 4291
          }
4283 4292
 
4293
+        console.log("医护哦我我我哦我我哦",this.doctor_advices)
4284 4294
 
4285 4295
          let projects = [];
4286 4296
         response.data.data.projects.map((item) => {

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue Dosyayı Görüntüle

@@ -139,7 +139,7 @@
139 139
                   <span v-else-if="prescription.anticoagulant == 14">肝素钙注射液</span>
140 140
                   <span v-else-if="prescription.anticoagulant == 15">甲磺酸萘莫司他</span>
141 141
                   &nbsp; 
142
-                  <span style="width:135px;display: inline-block;" 
142
+                  <span style="width:150px;display: inline-block;" 
143 143
                   v-if=" prescription.anticoagulant != 1 && prescription.anticoagulant != 12 && prescription.anticoagulant != 5">
144 144
                     首剂: {{ prescription.anticoagulant_shouji }} 
145 145
                     <span v-if="prescription.anticoagulant == 4">mg</span>
@@ -1033,7 +1033,7 @@ export default {
1033 1033
         
1034 1034
         if(this.projects!=null && this.projects.length >0){
1035 1035
            for(let i=0;i<this.projects.length;i++){
1036
-             this.projects.sort(this.compare('execution_time'))
1036
+             this.projects.sort(this.compare('id'))
1037 1037
              if(this.projects[i].type== 2){
1038 1038
             
1039 1039
               this.projects[i].project_team_name = ""

+ 7 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue Dosyayı Görüntüle

@@ -991,6 +991,13 @@
991 991
                 <span v-if="monitor.monitor_anticoagulant == 7">低分子肝素钠</span>
992 992
                 <span v-if="monitor.monitor_anticoagulant == 8">依诺肝素</span>
993 993
                 <span v-if="monitor.monitor_anticoagulant == 9">达肝素</span>
994
+                <span v-if="monitor.monitor_anticoagulant == 10">体外抗凝</span>
995
+                <span v-if="monitor.monitor_anticoagulant == 11">那屈肝素</span>
996
+                <span v-if="monitor.monitor_anticoagulant == 12">无抗凝剂</span>
997
+                <span v-if="monitor.monitor_anticoagulant == 13">那屈肝素钙</span>
998
+                <span v-if="monitor.monitor_anticoagulant == 14">肝素钙注射液</span>
999
+                <span v-if="monitor.monitor_anticoagulant == 15">甲磺酸萘莫司他</span>
1000
+                <span v-if="monitor.monitor_anticoagulant == 16">低分子量肝素钙</span>
994 1001
                 <span v-if="monitor.monitor_anticoagulant_value!=undefined && monitor.monitor_anticoagulant_value!='' ">({{monitor.monitor_anticoagulant_value}})</span>
995 1002
               </td>
996 1003
               <td style="text-align:left;line-height:20px;">

Dosya farkı çok büyük olduğundan ihmal edildi
+ 4619 - 1289
src/xt_pages/dialysis/template/DialysisPrintOrderZero.vue


+ 11 - 0
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Dosyayı Görüntüle

@@ -2948,6 +2948,17 @@ export default {
2948 2948
             org_id: this.$store.getters.xt_user.org_id
2949 2949
 
2950 2950
           }
2951
+          if (this.activeName == 'first') {
2952
+            obj['settle_accounts_type'] = 1
2953
+          } else if (this.activeName == 'second') {
2954
+            obj['start_time'] = this.other_start_time
2955
+            obj['end_time'] = this.other_end_time
2956
+            obj['settle_accounts_type'] = 2
2957
+          } else {
2958
+            obj['start_time'] = this.other_start_time_two
2959
+            obj['end_time'] = this.other_end_time_two
2960
+            obj['settle_accounts_type'] = 2
2961
+          }
2951 2962
           axios.get("http://127.0.0.1:9532" + '/nmg/coordinate/settleAccount', {
2952 2963
             params: obj
2953 2964
           })

+ 1 - 1
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Dosyayı Görüntüle

@@ -333,7 +333,7 @@
333 333
                                       </el-table-column>
334 334
 
335 335
 <!--                                    //针对对接坐标系统的,使用坐标的库存数据-->
336
-                                    <el-table-column label="库存" width="60" v-else>
336
+                                    <el-table-column label="库存" width="60" v-if="org_id == 10206">
337 337
                                       <template slot-scope="scope">
338 338
                                         <span>{{scope.row.zuobiao_stock_num}}</span>
339 339
                                       </template>

+ 2 - 5
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue Dosyayı Görüntüle

@@ -654,8 +654,8 @@
654 654
         } else {
655 655
           let arr = []
656 656
           for (let i = 0; i < this.drugs.length; i++) {
657
-            if (this.drugs[i].drug_name.indexOf(this.search_keyword) != -1 || 
658
-            this.drugs[i].wubi.indexOf(this.search_keyword) != -1 || 
657
+            if (this.drugs[i].drug_name.indexOf(this.search_keyword) != -1 ||
658
+            this.drugs[i].wubi.indexOf(this.search_keyword) != -1 ||
659 659
             this.drugs[i].pinyin.indexOf(this.search_keyword) != -1 ||
660 660
             this.drugs[i].first_letter.indexOf(this.search_keyword) != -1) {
661 661
               arr = arr.concat(this.drugs[i])
@@ -704,12 +704,10 @@
704 704
             this.$message.error(response.data.msg)
705 705
             return false
706 706
           } else {
707
-            
708 707
             this.drugs = response.data.data.drugs
709 708
             this.allDrugs = response.data.data.drugs
710 709
             this.advices_template = response.data.data.advices_template
711 710
             this.doctors = response.data.data.doctors
712
-            console.log('cccvvvsdsd',this.drugs);
713 711
             for (let i = 0; i < this.doctors.length; i++) {
714 712
               if (this.doctors[i].user_type == 1) {
715 713
                 this.doctors.splice(i, 1)
@@ -1770,7 +1768,6 @@
1770 1768
         getHisProject().then(response => {
1771 1769
           if (response.data.state == 1) {
1772 1770
             var project = response.data.data.project
1773
-            console.log('bbbbb',response.data.data);
1774 1771
             for (let i = 0; i < project.length; i++) {
1775 1772
               let obj = {
1776 1773
                 id: project[i].id,

+ 16 - 1
src/xt_pages/role/admin.vue Dosyayı Görüntüle

@@ -25,6 +25,12 @@
25 25
         >医药师登记</el-button>
26 26
 
27 27
 
28
+        <el-button
29
+          type="primary"
30
+          size="small"
31
+          icon="el-icon-circle-plus-outline"
32
+          style="float:left"
33
+          @click="toJiaBan">加班</el-button>
28 34
        
29 35
 
30 36
          <!-- <el-button
@@ -202,6 +208,8 @@
202 208
           style="float:left"
203 209
           @click="toCheckPDFInformation">PDF验证</el-button> -->
204 210
 
211
+         
212
+
205 213
         
206 214
      </div>
207 215
     
@@ -503,7 +511,7 @@
503 511
 import { adminMainView, getAdmins, setAdminStatus,toSign,toTestOne,toTestTwo,toTestThree,toTestFour,toTestFive,toTestSeven,toTestEight,toTestNight,toTestTen,toTestElement,toTestThrityMent,saveEnterprise,getEnterPriseById,getMobileCode,savePersionEnterPrise,getPerseEnterPriseById,CreatePersionSeal,CreateNewEnterPrise,toTestThrity,toEndEnterPrise,getEnterPriseDetail
504 512
   ,CreateQianshuUserName,CreateSKDSendInformation,toSavePDFInformation,toCheckPDFInformation,getdruginfoInformation} from "@/api/role/admin";
505 513
 import { getRoles } from "@/api/role/role";
506
-
514
+import { UploadPrintOrder } from "@/api/role/admin"
507 515
 import { parseTime } from "@/utils";
508 516
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
509 517
 import AdminInfoForm from "./components/AdminInfoForm";
@@ -1153,6 +1161,13 @@ export default {
1153 1161
     //      }
1154 1162
     //   })
1155 1163
     // }
1164
+    toJiaBan(){
1165
+      UploadPrintOrder().then(response=>{
1166
+        if(response.data.state ==1){
1167
+           
1168
+        }
1169
+      })
1170
+    }
1156 1171
 
1157 1172
   },
1158 1173
   watch: {