Browse Source

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

yq1 1 year ago
parent
commit
472e27166b
25 changed files with 1264 additions and 1120 deletions
  1. 16 1
      src/xt_pages/data/components/addDrugs.vue
  2. 15 1
      src/xt_pages/data/components/addProject.vue
  3. 13 0
      src/xt_pages/data/components/consumables.vue
  4. 4 0
      src/xt_pages/data/components/drugs.vue
  5. 23 1
      src/xt_pages/data/components/editProject.vue
  6. 2 0
      src/xt_pages/data/components/project.vue
  7. 10 5
      src/xt_pages/data/druguse.vue
  8. 11 2
      src/xt_pages/data/druguseTemplate.vue
  9. 2 2
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  10. 2 2
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  11. 16 1
      src/xt_pages/outpatientCharges/components/registerDialog.vue
  12. 2 2
      src/xt_pages/outpatientCharges/invoicePrint.vue
  13. 2 1
      src/xt_pages/outpatientCharges/listPrint.vue
  14. 17 0
      src/xt_pages/outpatientCharges/listTemplate/printOne.vue
  15. 2 2
      src/xt_pages/outpatientCharges/outpatientChargesManagement.vue
  16. 2 1
      src/xt_pages/outpatientCharges/statementTemplate/print10191.vue
  17. 3 1
      src/xt_pages/outpatientCharges/statementTemplate/printOne.vue
  18. 3 1
      src/xt_pages/outpatientCharges/statementTemplate/printSix.vue
  19. 3 1
      src/xt_pages/outpatientCharges/statementTemplate/privateChargePrint.vue
  20. 2 1
      src/xt_pages/outpatientCharges/summary.vue
  21. 0 6
      src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue
  22. 1 1
      src/xt_pages/outpatientDoctorStation/print.vue
  23. 47 40
      src/xt_pages/role/admin.vue
  24. 1041 1038
      src/xt_pages/role/components/AdminInfoForm.vue
  25. 25 10
      src/xt_pages/stock/Dialog/goodInfoDailog.vue

+ 16 - 1
src/xt_pages/data/components/addDrugs.vue View File

@@ -270,6 +270,14 @@
270 270
                       <el-form-item label="省编码 : " prop="provinces_code">
271 271
                         <el-input v-model="form.provinces_code" style="width:160px;" placeholder=""
272 272
                                   maxlength="30"></el-input>
273
+                      </el-form-item>
274
+                      <el-form-item label="bbx01 : " prop="bbx01">
275
+                        <el-input v-model="form.bbx01" style="width:160px;" placeholder=""
276
+                                  maxlength="30"></el-input>
277
+                      </el-form-item>
278
+                      <el-form-item label="bby01 : " prop="bbx01">
279
+                        <el-input v-model="form.bby01" style="width:160px;" placeholder=""
280
+                                  maxlength="30"></el-input>
273 281
                       </el-form-item>
274 282
                         <el-form-item label="生产厂商 : " prop="manufacturer">
275 283
 
@@ -622,6 +630,8 @@
622 630
           sum_count:"",
623 631
           sum_in_count:"",
624 632
           is_pharmacy:1,//是否通过药房发药
633
+          bbx01:"",
634
+          bby01:"",
625 635
         },
626 636
 
627 637
         rules: {
@@ -866,6 +876,8 @@
866 876
       hide() {
867 877
         // this.clear()
868 878
         this.form.social_security_directory_code = ''
879
+
880
+
869 881
         this.form.prescription_mark = ''
870 882
         this.form.record_date = ''
871 883
         this.form.drug_remark = ''
@@ -938,7 +950,7 @@
938 950
         form['total'] = this.form.total
939 951
         form['min_number'] = this.form.min_number
940 952
         form["drug_day"] = this.form.drug_day
941
-        form['dose'] = this.form.dose,
953
+        form['dose'] = this.form.dose
942 954
         form['dose_unit'] = this.form.dose_unit
943 955
         form['min_price'] = this.form.min_price
944 956
         form['prescribing_number_unit'] = this.form.prescribing_number_unit
@@ -947,6 +959,9 @@
947 959
         form['sum_count'] = this.form.sum_count
948 960
         form['sum_in_count'] = this.form.sum_in_count
949 961
         form['is_pharmacy'] = this.form.is_pharmacy
962
+        form['bbx01'] = this.form.bbx01
963
+        form['bby01'] = this.form.bby01
964
+
950 965
         return form
951 966
       },
952 967
       getlist() {

+ 15 - 1
src/xt_pages/data/components/addProject.vue View File

@@ -149,6 +149,13 @@
149 149
                             <el-input v-model="form.social_security_directory_code" style="width:180px"></el-input>
150 150
                          </el-form-item>
151 151
 
152
+                      <el-form-item label="bbx01" >
153
+                        <el-input v-model="form.bbx01" style="width:180px"></el-input>
154
+                      </el-form-item>
155
+                      <el-form-item label="bby01" >
156
+                        <el-input v-model="form.bby01" style="width:180px"></el-input>
157
+                      </el-form-item>
158
+
152 159
                         <el-form-item label="备案日期:" >
153 160
                             <el-date-picker
154 161
                                 value-format="yyyy-MM-dd"
@@ -305,6 +312,8 @@ export default {
305 312
               social_security_directory_code:"",
306 313
               record_date:"",
307 314
               is_print:"",
315
+              bbx01:"",
316
+              bby01:"",
308 317
             },
309 318
             rules: {
310 319
                 project_name: [{ required: true, message: '请填写项目名称', trigger: 'blur'  }],
@@ -400,7 +409,9 @@ export default {
400 409
                     specail_project:this.form.specail_project,
401 410
                     social_security_directory_code:this.form.social_security_directory_code,
402 411
                     record_date:this.form.record_date,
403
-                    is_print:parseInt(this.form.is_print) 
412
+                    is_print:parseInt(this.form.is_print),
413
+                   bbx01:this.form.bbx01,
414
+                   bby01:this.form.bby01,
404 415
                }
405 416
              console.log("params222222",params)
406 417
               saveProject(params).then(response=>{
@@ -440,6 +451,9 @@ export default {
440 451
                    this.form.social_security_directory_code = ""
441 452
                    this.form.record_date = ""
442 453
                    this.form.specail_project = ""
454
+                   this.form.bbx01 = ""
455
+                   this.form.bby01 = ""
456
+
443 457
                  }else {
444 458
                     this.$message.error("项目名称已存在!")
445 459
                  }

+ 13 - 0
src/xt_pages/data/components/consumables.vue View File

@@ -336,6 +336,8 @@
336 336
               is_user:"2",
337 337
               number:"",
338 338
               is_warehouse:"1",
339
+              bbx01:"",
340
+              bby01:""
339 341
             },
340 342
             isVisibility: false,
341 343
           }
@@ -713,6 +715,12 @@
713 715
 
714 716
             this.goodInfo.goodInfoDialog.formValue.social_security_directory_code = response.data.data.goodInfo.social_security_directory_code;
715 717
 
718
+
719
+            this.goodInfo.goodInfoDialog.formValue.bbx01 = response.data.data.goodInfo.bbx01;
720
+            this.goodInfo.goodInfoDialog.formValue.bby01 = response.data.data.goodInfo.bby01;
721
+
722
+
723
+
716 724
             if(response.data.data.production_type<=0){
717 725
                this.goodInfo.goodInfoDialog.production_type = ''
718 726
             }else{
@@ -731,6 +739,11 @@
731 739
             this.goodInfo.goodInfoDialog.formValue.default_count_unit = response.data.data.goodInfo.default_count_unit
732 740
             this.goodInfo.goodInfoDialog.formValue.register_number = response.data.data.goodInfo.register_number
733 741
 
742
+            this.goodInfo.goodInfoDialog.formValue.bbx01 = response.data.data.goodInfo.bbx01
743
+            this.goodInfo.goodInfoDialog.formValue.bby01 = response.data.data.goodInfo.bby01
744
+
745
+
746
+
734 747
             this.goodInfo.goodInfoDialog.formValue.number = response.data.data.goodInfo.number
735 748
 
736 749
             this.goodInfo.goodInfoDialog.formValue.is_user = response.data.data.goodInfo.is_user.toString()

+ 4 - 0
src/xt_pages/data/components/drugs.vue View File

@@ -330,6 +330,8 @@
330 330
           drug_day:"",//默认开药天数,
331 331
           total:"",
332 332
           is_user:"",
333
+          bbx01:"",
334
+          bby01:"",
333 335
         },
334 336
         tempFormValue: {
335 337
           drug_name: '',//药品名称
@@ -390,6 +392,8 @@
390 392
           drug_day:"",//默认开药天数
391 393
           total:"",
392 394
           is_user:"",
395
+          bbx01:"",
396
+          bby01:"",
393 397
         },
394 398
 
395 399
         current_id: 0,

+ 23 - 1
src/xt_pages/data/components/editProject.vue View File

@@ -149,6 +149,13 @@
149 149
                             <el-input v-model="form.social_security_directory_code" style="width:180px"></el-input>
150 150
                          </el-form-item>
151 151
 
152
+                      <el-form-item label="bbx01" >
153
+                        <el-input v-model="form.bbx01" style="width:180px"></el-input>
154
+                      </el-form-item>
155
+                      <el-form-item label="bby01" >
156
+                        <el-input v-model="form.bby01" style="width:180px"></el-input>
157
+                      </el-form-item>
158
+
152 159
                         <el-form-item label="备案日期:" >
153 160
                             <el-date-picker
154 161
                                 value-format="yyyy-MM-dd"
@@ -311,6 +318,8 @@ export default {
311 318
               social_security_directory_code:"",
312 319
               record_date:"",
313 320
               is_print:"",
321
+              bbx01:"",
322
+              bby01:"",
314 323
             },
315 324
             rules: {
316 325
                 project_name: [{ required: true, message: '请填写项目名称', trigger: 'blur'  }],
@@ -429,13 +438,24 @@ export default {
429 438
               if(projecDetail.social_security_directory_code == 0){
430 439
                 this.form.social_security_directory_code = ""
431 440
               }
441
+
442
+              this.form.bbx01 = projecDetail.bbx01
443
+              if(projecDetail.bbx01 == 0){
444
+                this.form.bbx01 = ""
445
+              }
446
+
447
+              this.form.bby01 = projecDetail.bby01
448
+              if(projecDetail.bby01 == 0){
449
+                this.form.bby01 = ""
450
+              }
451
+
432 452
               this.form.record_date = this.getTime(projecDetail.record_date)
433 453
               if(projecDetail.is_print == 0){
434 454
                 this.form.is_print = ""
435 455
               }else{
436 456
                 this.form.is_print = projecDetail.is_print
437 457
               }
438
-             
458
+
439 459
             }
440 460
          })
441 461
        },
@@ -478,6 +498,8 @@ export default {
478 498
                      specail_project:this.form.specail_project,
479 499
                     social_security_directory_code:this.form.social_security_directory_code,
480 500
                     record_date:this.form.record_date,
501
+                    bbx01:this.form.bbx01,
502
+                    bby01: this.form.bby01,
481 503
                     is_print:parseInt(this.form.is_print)
482 504
                }
483 505
 

+ 2 - 0
src/xt_pages/data/components/project.vue View File

@@ -111,6 +111,8 @@
111 111
                    {{scope.row.medical_code}}
112 112
                 </template>
113 113
             </el-table-column>
114
+
115
+
114 116
             <el-table-column label="状态" width="60" align="center">
115 117
                 <template slot-scope="scope">
116 118
                   <span v-if="scope.row.medical_status ==0"></span>

+ 10 - 5
src/xt_pages/data/druguse.vue View File

@@ -449,6 +449,7 @@ export default {
449 449
       drugdics: [],
450 450
       adviceTemplates:[],
451 451
       drugways: [],
452
+
452 453
       executionFrequencyOptions: [],
453 454
       drugdicRules: {
454 455
         name: [{ required: true, message: "请填写医嘱名称" }]
@@ -483,7 +484,8 @@ export default {
483 484
       },
484 485
       drugwayForm: {
485 486
         name: "",
486
-        id: 0
487
+        id: 0,
488
+        code:"",
487 489
       },
488 490
       efForm: {
489 491
         name: "",
@@ -767,17 +769,20 @@ export default {
767 769
     handleCreateDrugWay() {
768 770
       this.drugwayForm = {
769 771
         name: "",
770
-        id: 0
772
+        id: 0,
773
+        code:"",
771 774
       };
772 775
       this.drugwayFormVisible = true;
773 776
       this.dialogTitle = "新增给药途径";
774 777
       this.isEdit = false;
775 778
     },
776 779
     handleUpdateDrugWay(row, index) {
780
+      console.log(row)
777 781
       this.currentIndex = index;
778 782
       this.drugwayForm = {
779 783
         name: row.name,
780
-        id: row.id
784
+        id: row.id,
785
+        code:row.code,
781 786
       };
782 787
 
783 788
       this.drugwayFormVisible = true;
@@ -804,8 +809,8 @@ export default {
804 809
                   this.resetForm(formName);
805 810
                   var drugway = response.data.data.drugway;
806 811
                   this.drugways[this.currentIndex].name = drugway.name;
807
-                  this.drugways[this.currentIndex].updated_time =
808
-                    drugway.updated_time;
812
+                  this.drugways[this.currentIndex].code = drugway.code;
813
+                  this.drugways[this.currentIndex].updated_time = drugway.updated_time;
809 814
                   this.currentIndex = -1;
810 815
                   return false;
811 816
                 }

+ 11 - 2
src/xt_pages/data/druguseTemplate.vue View File

@@ -1181,6 +1181,9 @@
1181 1181
                 <el-form-item label="给药途径 :" required prop="name">
1182 1182
                   <el-input v-model="drugwayForm.name" placeholder="给药途径"></el-input>
1183 1183
                 </el-form-item>
1184
+                <el-form-item label="编码 :" required prop="name">
1185
+                  <el-input v-model="drugwayForm.code" placeholder="给药途径编码"></el-input>
1186
+                </el-form-item>
1184 1187
               </el-form>
1185 1188
               <div slot="footer" class="dialog-footer">
1186 1189
                 <el-button @click="drugwayFormVisible = false">取消</el-button>
@@ -1442,7 +1445,8 @@
1442 1445
         },
1443 1446
         drugwayForm: {
1444 1447
           name: '',
1445
-          id: 0
1448
+          id: 0,
1449
+          code:"",
1446 1450
         },
1447 1451
         efForm: {
1448 1452
           name: '',
@@ -1979,6 +1983,7 @@
1979 1983
       handleCreateDrugWay() {
1980 1984
         this.drugwayForm = {
1981 1985
           name: '',
1986
+          code:'',
1982 1987
           id: 0
1983 1988
         }
1984 1989
         this.drugwayFormVisible = true
@@ -1987,10 +1992,12 @@
1987 1992
       },
1988 1993
 
1989 1994
       handleUpdateDrugWay(row, index) {
1995
+        console.log(row.code)
1990 1996
         this.currentIndex = index
1991 1997
         this.drugwayForm = {
1992 1998
           name: row.name,
1993
-          id: row.id
1999
+          id: row.id,
2000
+          code:row.code
1994 2001
         }
1995 2002
 
1996 2003
         this.drugwayFormVisible = true
@@ -2013,6 +2020,8 @@
2013 2020
                     this.resetForm(formName)
2014 2021
                     var drugway = response.data.data.drugway
2015 2022
                     this.drugways[this.currentIndex].name = drugway.name
2023
+                    this.drugways[this.currentIndex].code = drugway.code
2024
+
2016 2025
                     this.drugways[this.currentIndex].updated_time =
2017 2026
                       drugway.updated_time
2018 2027
                     this.currentIndex = -1

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

@@ -750,14 +750,14 @@
750 750
                         >
751 751
                          
752 752
 
753
-                          <span v-if="org_id==10265">
753
+                          <span v-if="org_id==10206">
754 754
                               {{
755 755
                             record.prescription.replacement_total
756 756
                               ? record.prescription.replacement_total
757 757
                               : "/"
758 758
                            }}
759 759
                           </span>
760
-                          <span v-if="org_id!=10265">
760
+                          <span v-if="org_id!=10206">
761 761
                             {{
762 762
                             record.prescription &&
763 763
                             record.prescription.displace_liqui_value

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -762,13 +762,13 @@
762 762
                         class="under_line"
763 763
                         style="width: 70px; text-align: center"
764 764
                       >
765
-                      <span v-if="org_id ==10265"> {{
765
+                      <span v-if="org_id ==10206"> {{
766 766
                           prescription.replacement_total
767 767
                             ? prescription.replacement_total
768 768
                             : "/"
769 769
                         }}
770 770
                         </span> 
771
-                        <span v-if="org_id!=10265"> {{
771
+                        <span v-if="org_id!=10206"> {{
772 772
                           prescription.displace_liqui_value
773 773
                             ? prescription.displace_liqui_value
774 774
                             : "/"

+ 16 - 1
src/xt_pages/outpatientCharges/components/registerDialog.vue View File

@@ -885,6 +885,7 @@
885 885
         this.form.age = ''
886 886
         this.form.id_card = ''
887 887
         this.form.register = ''
888
+
888 889
         this.form.doctor = ''
889 890
         this.form.department = ''
890 891
         this.form.registration_fee = ''
@@ -905,8 +906,22 @@
905 906
         if (departments.length > 0) {
906 907
           this.form.department = departments[0].id
907 908
         }
909
+        console.log("11231231231223233432423dddd312")
908 910
         if (doctors.length > 0) {
909
-          this.form.doctor = doctors[0].admin_user_id
911
+          if(this.$store.getters.xt_user.org_id == 10318 || this.$store.getters.xt_user.org_id == 0){
912
+            console.log("~~~~~~~")
913
+            this.form.doctor = 3127
914
+
915
+          }else{
916
+            console.log("-----------")
917
+
918
+            this.form.doctor = doctors[0].admin_user_id
919
+
920
+          }
921
+        }else{
922
+          console.log("~~~~~~~")
923
+          this.form.doctor = 3127
924
+
910 925
         }
911 926
 
912 927
         // this.form.name = patientInfo.name

+ 2 - 2
src/xt_pages/outpatientCharges/invoicePrint.vue View File

@@ -13,8 +13,8 @@
13 13
     <div class="app-container" style="padding-top:40px;" v-if="org_id != 10217 && org_id != 10485 && org_id != 10375 "><!--&& org_id != 10188 && org_id != 0-->
14 14
         <div class='dialysisPage'>
15 15
           <div v-if="org_id != 10106 && org_id != 10215 && org_id != 4 && org_id != 10188 && org_id != 10217 && org_id != 10387&& org_id != 10210 && org_id != 10387 && org_id != 10480 && org_id != 0" >
16
-            <printOne v-if="org_id != 10088" :paramsObj="invoiceParams"></printOne>
17
-            <printThree v-if="org_id == 10088 " :paramsObj="invoiceParams"></printThree>
16
+            <printOne v-if="org_id != 10088 && org_id != 10510" :paramsObj="invoiceParams"></printOne>
17
+            <printThree v-if="org_id == 10088 || org_id == 10510 " :paramsObj="invoiceParams"></printThree>
18 18
           </div>
19 19
           <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
20 20
           <printFour v-if="org_id == 10215 || org_id == 4 " :paramsObj="invoiceParams"></printFour>

+ 2 - 1
src/xt_pages/outpatientCharges/listPrint.vue View File

@@ -172,11 +172,11 @@
172 172
                 if (infos.advice && infos.advice.id == 0 && infos.project && infos.project.id > 0) {
173 173
                   obj['p_time'] = this.getTimes(infos.project.prescription.ctime)
174 174
                   obj['feedetl_sn'] = infos.feedetl_sn
175
+                  obj['type'] = infos.chrgitm_lv
175 176
 
176 177
                   if(infos.project.type == 2){
177 178
                     obj['name'] = infos.project.project.project_name
178 179
                     obj['code'] = infos.project.project.medical_code
179
-
180 180
                     obj['spec'] = ''
181 181
                     obj['unit'] =  infos.project.project.unit
182 182
                     obj['is_total']= 0
@@ -193,6 +193,7 @@
193 193
 
194 194
                 }
195 195
                 if (infos.advice && infos.advice.id > 0 && infos.project && infos.project.id == 0) {
196
+                  obj['type'] = infos.chrgitm_lv
196 197
                   obj['p_time'] = this.getTimes(infos.advice.prescription.ctime)
197 198
                   obj['name'] = infos.advice.drug.drug_name
198 199
                   obj['code'] = infos.advice.drug.medical_insurance_number

+ 17 - 0
src/xt_pages/outpatientCharges/listTemplate/printOne.vue View File

@@ -25,6 +25,9 @@
25 25
                 <td style="width:10%">单价(元)</td>
26 26
                 <td style="width:6%">数量</td>
27 27
                 <td style="width:10%">金额(元)</td>
28
+              <td v-if="$store.getters.xt_user.org_id == 10318 || $store.getters.xt_user.org_id == 0 " style="width:10%">医保类型</td>
29
+
30
+
28 31
             </tr>
29 32
             <tr v-for="item in list.slice(index * 15,(index * 15) + pageArr[index])">
30 33
                 <td style="width:15%">{{item.p_time}}</td>
@@ -35,6 +38,8 @@
35 38
                 <td style="width:10%">{{item.price}}</td>
36 39
                 <td style="width:6%">{{item.count}}{{item.unit}}</td>
37 40
                 <td style="width:10%">{{(item.price * item.count).toFixed(2)}}</td>
41
+              <td v-if="$store.getters.xt_user.org_id == 10318 || $store.getters.xt_user.org_id == 0 " style="width:10%">{{getMedicineInsuranceKind(item.type)}}</td>
42
+
38 43
             </tr>
39 44
         </table>
40 45
         <div class="tableBottom">
@@ -89,6 +94,18 @@
89 94
     //     this.getPage()
90 95
     // },
91 96
     methods:{
97
+      getMedicineInsuranceKind(type){
98
+        switch (type) {
99
+          case "01":
100
+            return '甲类';
101
+          case "02":
102
+            return '乙类';
103
+          case "03":
104
+            return '自费';
105
+            break;
106
+        }
107
+
108
+      },
92 109
       getNowTime: function () {
93 110
         let dateTime
94 111
         let yy = new Date().getFullYear()

+ 2 - 2
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -3211,7 +3211,7 @@ export default {
3211 3211
         }
3212 3212
 
3213 3213
         if (this.hisPatientInfo.id_card_type == 1) {
3214
-          if (this.hisPatientInfo.balance_accounts_type != 2 && this.$store.getters.xt_user.org_id != 10088 && this.$store.getters.xt_user.org_id != 10106 && this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 && this.$store.getters.xt_user.org_id != 10191 && this.$store.getters.xt_user.org_id !=  10318 && this.$store.getters.xt_user.org_id !=  10210) {
3214
+          if (this.hisPatientInfo.balance_accounts_type != 2 && this.$store.getters.xt_user.org_id != 10510 && this.$store.getters.xt_user.org_id != 10088 && this.$store.getters.xt_user.org_id != 10106 && this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 && this.$store.getters.xt_user.org_id != 10191 && this.$store.getters.xt_user.org_id !=  10318 && this.$store.getters.xt_user.org_id !=  10210) {
3215 3215
             this.pwdFormVisible = true
3216 3216
             this.pwd = ''
3217 3217
           } else {
@@ -3306,7 +3306,7 @@ export default {
3306 3306
           })
3307 3307
         }
3308 3308
       } else if (index == 6) {
3309
-        if (this.$store.getters.xt_user.org_id == 0 || this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10138 || this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 10088 || this.$store.getters.xt_user.org_id == 10278) {
3309
+        if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10138 || this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 10088 || this.$store.getters.xt_user.org_id == 10278) {
3310 3310
           this.$refs.register9504.show()
3311 3311
         } else {
3312 3312
           this.$refs.register.show(this.doctors, this.department)

+ 2 - 1
src/xt_pages/outpatientCharges/statementTemplate/print10191.vue View File

@@ -5,7 +5,8 @@
5 5
 
6 6
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10191">福建省社会医疗保险医疗费用结算单</div>
7 7
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10088">广水源生堂社会医疗保险医疗费用结算单</div>
8
-    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id != 10387 && this.$store.getters.xt_user.org_id != 10191 && this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 &&this.$store.getters.xt_user.org_id != 10088">广东省社会医疗保险医疗费用结算单</div>
8
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10510">湖北省社会医疗保险医疗费用结算单</div>
9
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id != 10387 && this.$store.getters.xt_user.org_id != 10191 && this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 &&this.$store.getters.xt_user.org_id != 10088 &&this.$store.getters.xt_user.org_id != 10510">广东省社会医疗保险医疗费用结算单</div>
9 10
 
10 11
     <table class="statementTable" border="1">
11 12
       <tr>

+ 3 - 1
src/xt_pages/outpatientCharges/statementTemplate/printOne.vue View File

@@ -5,7 +5,9 @@
5 5
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10375">广西省社会医疗保险医疗费用结算单</div>
6 6
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10191">福建省社会医疗保险医疗费用结算单</div>
7 7
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10088">广水源生堂社会医疗保险医疗费用结算单</div>
8
-    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id != 10375 && this.$store.getters.xt_user.org_id != 10387 && this.$store.getters.xt_user.org_id != 10191 && this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 &&this.$store.getters.xt_user.org_id != 10088">广东省社会医疗保险医疗费用结算单</div>
8
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10510">湖北省社会医疗保险医疗费用结算单</div>
9
+
10
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id != 10375 && this.$store.getters.xt_user.org_id != 10387 && this.$store.getters.xt_user.org_id != 10191 && this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 &&this.$store.getters.xt_user.org_id != 10088 &&this.$store.getters.xt_user.org_id != 10510">广东省社会医疗保险医疗费用结算单</div>
9 11
 
10 12
     <table class="statementTable" border="1">
11 13
       <tr>

+ 3 - 1
src/xt_pages/outpatientCharges/statementTemplate/printSix.vue View File

@@ -2,7 +2,9 @@
2 2
   <div id="statement-print" class="statement-print">
3 3
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10188 || this.$store.getters.xt_user.org_id == 10217">江苏省社会医疗保险医疗费用结算单</div>
4 4
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10088">广水源生堂社会医疗保险医疗费用结算单</div>
5
-    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 &&this.$store.getters.xt_user.org_id != 10088">广东省社会医疗保险医疗费用结算单</div>
5
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10510">湖北省社会医疗保险医疗费用结算单</div>
6
+
7
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 &&this.$store.getters.xt_user.org_id != 10088 &&this.$store.getters.xt_user.org_id != 10510">广东省社会医疗保险医疗费用结算单</div>
6 8
 
7 9
     <table class="statementTable" border="1">
8 10
       <tr>

+ 3 - 1
src/xt_pages/outpatientCharges/statementTemplate/privateChargePrint.vue View File

@@ -2,10 +2,12 @@
2 2
   <div id="statement-print" class="statement-print">
3 3
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10188 || this.$store.getters.xt_user.org_id == 10217">江苏省社会医疗保险医疗费用结算单</div>
4 4
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10088">广水源生堂社会医疗保险医疗费用结算单</div>
5
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10510">湖北省社会医疗保险医疗费用结算单</div>
6
+
5 7
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10375">广西省社会医疗保险医疗费用结算单</div>
6 8
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10515">湖南省社会医疗保险医疗费用结算单</div>
7 9
 
8
-    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id != 10515 && this.$store.getters.xt_user.org_id != 10375 && this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 &&this.$store.getters.xt_user.org_id != 10088">广东省社会医疗保险医疗费用结算单</div>
10
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id != 10515 && this.$store.getters.xt_user.org_id != 10375 && this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 &&this.$store.getters.xt_user.org_id != 10088 &&this.$store.getters.xt_user.org_id != 10510">广东省社会医疗保险医疗费用结算单</div>
9 11
 
10 12
     <table class="statementTable" border="1">
11 13
       <tr>

+ 2 - 1
src/xt_pages/outpatientCharges/summary.vue View File

@@ -214,7 +214,7 @@
214 214
         </el-table-column>
215 215
         <el-table-column align="center" width="90" prop="name" label="实收金额">
216 216
           <template slot-scope="scope">{{
217
-              scope.row.reality_price.toFixed(2)
217
+              scope.row.medfee_sumamt.toFixed(2)
218 218
             }}
219 219
           </template>
220 220
         </el-table-column>
@@ -2819,6 +2819,7 @@ export default {
2819 2819
       });
2820 2820
 
2821 2821
 
2822
+
2822 2823
     },
2823 2824
     export_detail_ten_three(){
2824 2825
       exportOrderInfo().then((response) => {

+ 0 - 6
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue View File

@@ -1687,12 +1687,9 @@
1687 1687
                   }
1688 1688
 
1689 1689
                 }
1690
-
1691
-
1692 1690
                 //项目
1693 1691
                 for (let b = 0; b < prescription.project.length; b++) {
1694 1692
                   if(prescription.project!=null && (prescription.project[b].good_info.good_status.startsWith('停用') == false )) {
1695
-
1696 1693
                     if (this.org_id == 10206 || this.org_id == 0) {
1697 1694
                       let obj = {
1698 1695
                         id: prescription.project[b].id,
@@ -1766,13 +1763,10 @@
1766 1763
                         tempProject.push(obj)
1767 1764
 
1768 1765
                       }
1769
-
1770 1766
                     }
1771 1767
                   }
1772 1768
                 }
1773
-
1774 1769
                 // var preTime = nowTime
1775
-
1776 1770
                 let index = i + 1
1777 1771
                 let obj = {
1778 1772
                   id: prescription.id,

+ 1 - 1
src/xt_pages/outpatientDoctorStation/print.vue View File

@@ -28,7 +28,7 @@
28 28
         </prinSeven>
29 29
 
30 30
         <printFour
31
-          v-if="org_id == 10088 || org_id == 0"
31
+          v-if="org_id == 10088 || org_id == 0 || org_id == 10510"
32 32
           v-bind:childResponse="childResponse"
33 33
           :advicePrint="advicePrint"
34 34
           :ids="ids"

+ 47 - 40
src/xt_pages/role/admin.vue View File

@@ -2,7 +2,7 @@
2 2
   <div class="main-contain">
3 3
     <div class="position">
4 4
       <bread-crumb :crumbs="crumbs"></bread-crumb>
5
-     
5
+
6 6
        <div>
7 7
 
8 8
         <!-- <el-button
@@ -63,7 +63,7 @@
63 63
           icon="el-icon-circle-plus-outline"
64 64
           style="float:left"
65 65
           @click="toTestFour">添加企业成员</el-button>
66
-         
66
+
67 67
           <el-button
68 68
           type="primary"
69 69
           size="small"
@@ -85,7 +85,7 @@
85 85
           style="float:left"
86 86
           @click="toTestSeven">添加合同签署人</el-button> -->
87 87
 
88
-        <!-- <el-button 
88
+        <!-- <el-button
89 89
           type="primary"
90 90
           size="small"
91 91
           icon="el-icon-circle-plus-outline"
@@ -95,7 +95,7 @@
95 95
            短信验证码
96 96
           </el-button>  -->
97 97
 
98
-         
98
+
99 99
          <!-- <el-button
100 100
           type="primary"
101 101
           size="small"
@@ -144,7 +144,7 @@
144 144
           @click="toTestSeven">添加合同签署人</el-button>
145 145
 
146 146
 
147
-          <el-button 
147
+          <el-button
148 148
           type="primary"
149 149
           size="small"
150 150
           icon="el-icon-circle-plus-outline"
@@ -182,17 +182,17 @@
182 182
           icon="el-icon-circle-plus-outline"
183 183
           style="float:left"
184 184
           @click="toEnd">结束签署</el-button> -->
185
-           
186 185
 
187
-        
186
+
187
+
188 188
          <!-- <el-button
189 189
           type="primary"
190 190
           size="small"
191 191
           icon="el-icon-circle-plus-outline"
192 192
           style="float:left"
193 193
           @click="toSendInformaton">发送短信验证码</el-button>  -->
194
-       
195
-          
194
+
195
+
196 196
           <!--<el-button
197 197
           type="primary"
198 198
           size="small"
@@ -208,12 +208,12 @@
208 208
           style="float:left"
209 209
           @click="toCheckPDFInformation">PDF验证</el-button> -->
210 210
 
211
-         
212 211
 
213
-        
212
+
213
+
214 214
      </div>
215
-    
216
-      
215
+
216
+
217 217
     </div>
218 218
     <div class="app-container">
219 219
       <el-table
@@ -228,19 +228,26 @@
228 228
         :data="admins"
229 229
         v-loading="is_loading_admins"
230 230
         @selection-change="handleSelectionChange"
231
-      > 
231
+      >
232 232
         <el-table-column
233 233
               align="center"
234 234
               type="selection"
235 235
               width="55">
236
-        </el-table-column>  
236
+        </el-table-column>
237 237
         <el-table-column
238 238
           label="用户名"
239 239
           prop="user_name"
240 240
           min-width="160"
241 241
           align="center"
242 242
         ></el-table-column>
243
-        <el-table-column label="医保医师编码" prop="doctor_number" min-width="160" align="center">
243
+        <el-table-column v-if="this.$store.getters.xt_user.org_id != 10206" label="医保医师编码" prop="doctor_number" min-width="160" align="center">
244
+          <template slot-scope="scope">
245
+            <span v-if="scope.row.doctor_number== 0"></span>
246
+            <span v-if="scope.row.doctor_number!= 0">{{scope.row.doctor_number}}</span>
247
+          </template>
248
+        </el-table-column>
249
+
250
+        <el-table-column  v-if="this.$store.getters.xt_user.org_id == 10206" label="员工ID" prop="doctor_number" min-width="160" align="center">
244 251
           <template slot-scope="scope">
245 252
             <span v-if="scope.row.doctor_number== 0"></span>
246 253
             <span v-if="scope.row.doctor_number!= 0">{{scope.row.doctor_number}}</span>
@@ -287,8 +294,8 @@
287 294
         </el-table-column>
288 295
         <el-table-column label="操作" width="240" align="center">
289 296
           <template slot-scope="scope">
290
-           
291
-             
297
+
298
+
292 299
            <!-- <span>
293 300
               <el-button type="primary" size="small" @click="toRenZhen(scope.row.user_id,scope.row.user_name)">
294 301
                     <span>CA个人认证</span>
@@ -306,7 +313,7 @@
306 313
                     <span>创建个人印章</span>
307 314
               </el-button>
308 315
             </span>  -->
309
-<!-- 
316
+<!--
310 317
             <span>
311 318
               <el-button type="primary" size="small" @click="toShouQuan(scope.row.user_id,scope.row.user_name)">
312 319
                     <span>创建企业印章</span>
@@ -391,7 +398,7 @@
391 398
       :visible.sync="dialogVisible"
392 399
       width="50%">
393 400
       <span>
394
-        
401
+
395 402
         <el-form>
396 403
           <el-row>
397 404
             <el-col>
@@ -431,7 +438,7 @@
431 438
                </el-form-item>
432 439
             </el-col>
433 440
 
434
-           
441
+
435 442
             <el-col>
436 443
                <el-form-item label="法定代表人:">
437 444
                  <el-input style="width:200px" v-model="form.legal_person_name" placeholder="请输入统一社会信息代码"></el-input>
@@ -465,10 +472,10 @@
465 472
       :visible.sync="persionDialogVisible"
466 473
       width="50%">
467 474
       <span>
468
-        
475
+
469 476
         <el-form>
470 477
           <el-row>
471
-          
478
+
472 479
             <el-col>
473 480
                <el-form-item label="姓名:">
474 481
                  <el-input style="width:200px" v-model="personForm.display_name" placeholder="请输入姓名"></el-input>
@@ -487,7 +494,7 @@
487 494
                </el-form-item>
488 495
             </el-col>
489 496
 
490
-           
497
+
491 498
             <el-col>
492 499
                <el-form-item label="验证码:">
493 500
                  <el-input style="width:100px" v-model="form.code" placeholder="请输入验证码"></el-input>
@@ -566,7 +573,7 @@ export default {
566 573
     AdminInfoForm
567 574
   },
568 575
   created: function() {
569
-     
576
+
570 577
     this.local_user_id = this.$store.getters.xt_user.user.id;
571 578
     let page = 1;
572 579
     this.getRoles(page);
@@ -655,7 +662,7 @@ export default {
655 662
           console.log(resp);
656 663
           if (resp.state === 1) {
657 664
              var admindata = resp.data.admins
658
-          
665
+
659 666
             this.admins.push(...admindata);
660 667
             this.admin_total_count = resp.data.total_count;
661 668
           } else {
@@ -768,7 +775,7 @@ export default {
768 775
           ids.push(this.selectDrug[index].user_id);
769 776
           idMap[this.selectDrug[index].user_id] = this.selectDrug[index].user_id;
770 777
         }
771
-        
778
+
772 779
         var idss = ids.join(',')
773 780
         let params = {
774 781
           ids:idss,
@@ -802,13 +809,13 @@ export default {
802 809
            "is_mark":is_mark,
803 810
            "admin_user_id":this.$store.getters.xt_user.user.id
804 811
         }
805
-        
812
+
806 813
          axios.get('http://127.0.0.1:9532/sz/api/medical/get',{params:params}).then(function(response) {
807 814
           if (response.data.state == 0) {
808 815
                that.$message.error(response.data.data.msg)
809 816
                return false
810 817
             } else {
811
-             
818
+
812 819
               if(response.data.data.msg == ""){
813 820
                   that.$message.success("登记成功!")
814 821
                   that.adminMainView()
@@ -928,7 +935,7 @@ export default {
928 935
     },
929 936
 
930 937
     saveEnterprise(){
931
-      
938
+
932 939
         var params = {
933 940
           id:this.form.id,
934 941
           org_type:parseInt(this.form.org_type),
@@ -965,7 +972,7 @@ export default {
965 972
       })
966 973
     },
967 974
     toRenZhen(admin_user_id,user_name){
968
-       
975
+
969 976
       getPerseEnterPriseById(admin_user_id).then(response=>{
970 977
         if(response.data.state== 1){
971 978
           var lastPerson =  response.data.data.lastPerson
@@ -978,7 +985,7 @@ export default {
978 985
         }
979 986
       })
980 987
 
981
-   
988
+
982 989
     },
983 990
     getCode(){
984 991
         var params = {
@@ -991,7 +998,7 @@ export default {
991 998
           console.log("sign",sign)
992 999
           this.$message.success("发送成功!")
993 1000
         }
994
-      }) 
1001
+      })
995 1002
     },
996 1003
     savePersonEnterprise(){
997 1004
         var params = {
@@ -1053,16 +1060,16 @@ export default {
1053 1060
         }
1054 1061
       })
1055 1062
     },
1056
-   
1063
+
1057 1064
     toQianShu(admin_user_id){
1058
-       
1065
+
1059 1066
       CreateQianshuUserName(admin_user_id).then(response=>{
1060 1067
          if(response.data.state==1){
1061 1068
           var sign =  response.data.data.sign
1062 1069
           var userId =  response.data.data.userId
1063 1070
           this.$message.success("签署成功!")
1064 1071
          }
1065
-      }) 
1072
+      })
1066 1073
     },
1067 1074
 
1068 1075
     toSendInformaton(){
@@ -1078,9 +1085,9 @@ export default {
1078 1085
       toSavePDFInformation().then(response=>{
1079 1086
          if(response.data.state == 1){
1080 1087
           var information =  response.data.data.information
1081
-           
1088
+
1082 1089
            var orderId = response.data.data.orderId
1083
-           
1090
+
1084 1091
           //  var base64Img = 'data:image/png;base64'+","+orderId
1085 1092
           //  console.log("base64Img",base64Img)
1086 1093
           //  var imgFile = this.base64ImgtoFile(base64Img)
@@ -1157,14 +1164,14 @@ export default {
1157 1164
     // toDrugInfo(){
1158 1165
     //   getdruginfoInformation().then(response=>{
1159 1166
     //      if(response.data.state==1){
1160
-           
1167
+
1161 1168
     //      }
1162 1169
     //   })
1163 1170
     // }
1164 1171
     toJiaBan(){
1165 1172
       UploadPrintOrder().then(response=>{
1166 1173
         if(response.data.state ==1){
1167
-           
1174
+
1168 1175
         }
1169 1176
       })
1170 1177
     }

File diff suppressed because it is too large
+ 1041 - 1038
src/xt_pages/role/components/AdminInfoForm.vue


+ 25 - 10
src/xt_pages/stock/Dialog/goodInfoDailog.vue View File

@@ -114,6 +114,14 @@
114 114
               <el-input v-model="form.provinces_code" style="width:160px;" placeholder=""
115 115
                         ></el-input>
116 116
             </el-form-item>
117
+            <el-form-item label="bbx01 : " prop="bbx01">
118
+              <el-input v-model="form.bbx01" style="width:160px;" placeholder=""
119
+              ></el-input>
120
+            </el-form-item>
121
+            <el-form-item label="bby01 : " prop="bby01">
122
+              <el-input v-model="form.bby01" style="width:160px;" placeholder=""
123
+              ></el-input>
124
+            </el-form-item>
117 125
             <el-form-item label="是否特病目录:" prop="is_special_diseases">
118 126
               <el-select v-model="form.is_special_diseases" style="width:160px;" placeholder="请选择">
119 127
                 <el-option
@@ -198,7 +206,7 @@
198 206
             <el-form-item label="注册编码:" >
199 207
               <el-input v-model="form.register_number" style="width:180px"></el-input>
200 208
             </el-form-item>
201
-            
209
+
202 210
             <el-form-item label="是否零用:">
203 211
 
204 212
               <el-select v-model="form.is_user" style="width:160px" filterable placeholder="请选择" @change="changeUse">
@@ -210,7 +218,7 @@
210 218
                   </el-option>
211 219
               </el-select>
212 220
              </el-form-item>
213
-           
221
+
214 222
             <el-form-item label="是否自动出库:" v-if="form.is_user == 1">
215 223
               <el-select v-model="form.is_warehouse" style="width:160px" filterable placeholder="请选择">
216 224
                   <el-option
@@ -221,13 +229,13 @@
221 229
                   </el-option>
222 230
               </el-select>
223 231
              </el-form-item>
224
- 
225
-          
232
+
233
+
226 234
             <el-form-item label="批准文号:" >
227 235
               <el-input v-model="form.number" style="width:180px"></el-input>
228 236
             </el-form-item>
229 237
 
230
-   
238
+
231 239
 
232 240
 
233 241
             <el-form-item label="备注 : " prop="name" style="width:100%;">
@@ -403,6 +411,8 @@
403 411
           is_user:"2",
404 412
           number:"",
405 413
           is_warehouse:"1",
414
+          bbx01:"",
415
+          bby01:"",
406 416
         },
407 417
 
408 418
         rules: {
@@ -472,7 +482,7 @@
472 482
       },
473 483
       show(id,form) {
474 484
          console.log("form",this.form)
475
-        
485
+
476 486
         if(form!=undefined){
477 487
           this.unitList = []
478 488
           var arr =  getDataConfig('hemodialysis','units')
@@ -537,6 +547,8 @@
537 547
               min_unit:"",
538 548
               total:"",
539 549
               is_user:"",
550
+            bbx01:"",
551
+            bby01:"",
540 552
             }
541 553
           this.good_status = []
542 554
           for (let key in tempform) {
@@ -632,6 +644,9 @@
632 644
         form["is_user"] = this.form.is_user
633 645
         form["number"] = this.form.number
634 646
         form["is_warehouse"] = this.form.is_warehouse
647
+        form["bbx01"] = this.form.bbx01
648
+        form["bby01"] = this.form.bby01
649
+
635 650
         return form
636 651
       }, changeSelected: function(val) {
637 652
         console.log(val)
@@ -705,7 +720,7 @@
705 720
         }
706 721
       },
707 722
      changeDefaultCountUnit(val){
708
-      
723
+
709 724
        this.form.default_count_unit = ''
710 725
         this.form.default_count_unit = val
711 726
       },
@@ -718,9 +733,9 @@
718 733
     },
719 734
     watch: {
720 735
       visible(val) {
721
-       
736
+
722 737
         this.form = this.formValue
723
-       
738
+
724 739
         this.good_unit = this.formValue.good_unit
725 740
 
726 741
         if (this.isCreated == 1) {
@@ -729,7 +744,7 @@
729 744
       }
730 745
     },
731 746
     created(){
732
-      
747
+
733 748
       this.getlist()
734 749
       //获取所有经销商
735 750
       this.GetAllConfig()