Selaa lähdekoodia

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 10 kuukautta sitten
vanhempi
commit
e4f4417aa2

+ 2 - 2
src/xt_pages/outpatientCharges/listPrint.vue Näytä tiedosto

@@ -14,12 +14,12 @@
14 14
     </template>
15 15
 
16 16
     <div class='dialysisPage' style="padding-top:40px;">
17
-      <printOne v-if=" org_id != 10106&&org_id != 10215&&org_id != 10265 && org_id!=9675 && org_id!=10485  " :list="list" :patient="patient" :order="order" :admin="admin"></printOne>
17
+      <printOne v-if=" org_id != 10106&&org_id != 10215&&org_id != 10265 && org_id!=9675 && org_id!=10485 &&org_id !=0 " :list="list" :patient="patient" :order="order" :admin="admin"></printOne>
18 18
       <printTwo v-if="org_id == 10106 && this.paramsObj.balance_accounts_type != 2" :info="info" :order_infos="order_infos" :p_admin="p_admin" :charge_admin="charge_admin"></printTwo>
19 19
       <print-three v-if="org_id == 10106 && this.paramsObj.balance_accounts_type == 2" :info="info" :order_infos="order_infos" :p_admin="p_admin" :charge_admin="charge_admin"></print-three>
20 20
 <!--      <list-print-two v-if="org_id == 10215 || org_id==9675" :list="list" :patient="patient" :order="order" :admin="admin"></list-print-two>-->
21 21
      <list-print-three v-if="org_id == 10215 || org_id==9675  || org_id ==10485" :list="list" :patient="patient" :order="order" :admin="admin"></list-print-three>
22
-      <print-two10265  v-if="org_id == 10265  " :list="list" :patient="patient" :order="order" :admin="admin" :hospital_record="hospital_record"></print-two10265>
22
+      <print-two10265  v-if="org_id == 10265 || org_id ==0 " :list="list" :patient="patient" :order="order" :admin="admin" :hospital_record="hospital_record"></print-two10265>
23 23
     </div>
24 24
   </div>
25 25
 </template>

+ 4 - 4
src/xt_pages/outpatientCharges/listTemplate/printTwo10265.vue Näytä tiedosto

@@ -15,12 +15,12 @@
15 15
             ></TR>
16 16
           
17 17
           <TR>
18
-            <TD colspan="1">个人编码:{{ order.psn_no }}</TD>
19
-            <TD>住院号:{{ order.mdtrt_id }}</TD>
20
-            <TD>姓名:{{ order.psn_name }}</TD>
21
-            <TD>性别:{{ patient.gender == 1 ? "男" : "女" }}</TD>
18
+            <TD colspan="2">个人编码:{{ order.psn_no }}</TD>
19
+            <TD colspan="2">住院号:{{ order.mdtrt_id }}</TD>
22 20
           </TR>
23 21
           <TR>
22
+            <TD>姓名:{{ order.psn_name }}</TD>
23
+            <TD>性别:{{ patient.gender == 1 ? "男" : "女" }}</TD>
24 24
             <TD> 入院科室:血液透析室 </TD>
25 25
             <TD> 出院科室:血液透析室 </TD>
26 26
           </TR>

+ 27 - 3
src/xt_pages/outpatientDoctorStation/batch_print_checkTemplate/printOne.vue Näytä tiedosto

@@ -16,7 +16,19 @@
16 16
           :key="index"
17 17
       >
18 18
         <img style="width:100%;height:80px" v-if="org_id == 10138 " src="https://kuyi.shengws.com/bailin/bltotle.jpg" alt="">
19
-        <img style="width:100%;height:80px" v-if="org_id == 10278 || org_id==0" src="https://kuyi.shengws.com/beierlog.png" alt="">
19
+        <img style="width:100%;height:80px" v-if="org_id == 10278" src="https://kuyi.shengws.com/beierlog.png" alt="">
20
+        <span v-if="org_id == 10610 ">
21
+          <img
22
+            src="@/assets/img/penggang_top.jpg"
23
+            style="width: 100%;height:80px"
24
+            alt=""
25
+        /></span>
26
+        <span v-if="org_id == 10537 ||org_id ==0">
27
+          <img
28
+            src="	https://kuyi.shengws.com/xuwenshou.jpg"
29
+            style="width: 100%;height:80px"
30
+            alt=""/>
31
+        </span>
20 32
         <div class="printTitle">检验申请单</div>
21 33
 
22 34
         <div style="border: 1px solid #000;margin-bottom: 10px;">
@@ -133,8 +145,20 @@
133 145
           </div>
134 146
         </div>
135 147
 
136
-        <img style="width:100%;" v-if="org_id == 10138 || org_id == 0" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">
148
+        <img style="width:100%;" v-if="org_id == 10138" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">
137 149
         <img style="width:100%;" v-if="org_id == 10278" src="https://kuyi.shengws.com/bailinbeier.png" alt="">
150
+        <span v-if="org_id == 10610 ">
151
+            <img
152
+              src="@/assets/img/penggang_bottom.jpg"
153
+              style="width: 100%;height:80px"
154
+              alt=""
155
+        /></span>
156
+        <span v-if="org_id == 10537 ||org_id ==0">
157
+        <img
158
+          src="@/assets/img/xuwendizhi.jpg"
159
+          style="width: 100%;height:80px"
160
+          alt=""
161
+        /></span>
138 162
       </div>
139 163
 
140 164
     </div>
@@ -142,7 +166,7 @@
142 166
 </template>
143 167
 <script>
144 168
 import { uParseTime } from '@/utils/tools'
145
-import { getAllDoctorList } from '@/api/project/project'
169
+import { getAllDoctorList,getPrescriptionPrint } from '@/api/project/project'
146 170
 import { getInitData } from '@/api/his/his'
147 171
 
148 172
 export default {

+ 24 - 0
src/xt_pages/outpatientDoctorStation/batch_print_template/batchPrintThree.vue Näytä tiedosto

@@ -20,6 +20,18 @@
20 20
               style="width: 100%"
21 21
               alt=""
22 22
             /></span>
23
+            <span v-if="org_id == 10610 ">
24
+              <img
25
+                src="@/assets/img/penggang_top.jpg"
26
+                style="width: 100%"
27
+                alt=""
28
+            /></span>
29
+            <span v-if="org_id == 10537 ||org_id ==0">
30
+              <img
31
+                src="	https://kuyi.shengws.com/xuwenshou.jpg"
32
+                style="width: 100%"
33
+                alt=""/>
34
+            </span>
23 35
           <div class="printTitle">
24 36
             处方笺
25 37
             <span
@@ -232,6 +244,18 @@
232 244
             style="width: 100%"
233 245
             alt=""
234 246
           /></span>
247
+          <span v-if="org_id == 10610 ">
248
+            <img
249
+              src="@/assets/img/penggang_bottom.jpg"
250
+              style="width: 100%"
251
+              alt=""
252
+          /></span>
253
+          <span v-if="org_id == 10537 ||org_id ==0">
254
+          <img
255
+            src="@/assets/img/xuwendizhi.jpg"
256
+            style="width: 100%"
257
+            alt=""
258
+          /></span>
235 259
           <!-- <div class="doctorBox">
236 260
               <p>医师:{{item.doctor?item.doctor:""}}</p>
237 261
               <p>日期:{{getTime(item.ctime)?getTime(item.ctime):""}}</p>

+ 1 - 1
src/xt_pages/outpatientDoctorStation/batch_print_template/index.vue Näytä tiedosto

@@ -13,7 +13,7 @@
13 13
       </template> -->
14 14
 
15 15
     <div class='dialysisPage' style="padding-top:40px;">
16
-      <div v-if="org_id != 10138 && org_id != 10278 && org_id != 0">
16
+      <div v-if="org_id != 10138 && org_id != 10278 && org_id != 10610 &&org_id != 10537 && org_id != 0">
17 17
         <printOne v-if="org_id != 10215" :printData="printData"  :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :doctorPorject="doctorPorject" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
18 18
 <!--        <batch-print-two v-if="org_id == 10088 || org_id == 0" :printData="printData"  :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :doctorPorject="doctorPorject" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></batch-print-two>-->
19 19
 <!--        <print-six v-if="org_id == 10088 || org_id == 0" :printData="printData"  :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :doctorPorject="doctorPorject" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></print-six>-->

+ 2 - 2
src/xt_pages/outpatientDoctorStation/batch_print_treatTemplate/index.vue Näytä tiedosto

@@ -13,9 +13,9 @@
13 13
       </template> -->
14 14
 
15 15
       <div class='dialysisPage' style="padding-top:40px;">
16
-        <printOne v-if="org_id != 10138 && org_id != 10278 && org_id != 0" :printData="printData" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
16
+        <printOne v-if="org_id != 10138 && org_id != 10278 && org_id != 10610 &&org_id != 10537 && org_id != 0" :printData="printData" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
17 17
 <!--        <printTwo v-else :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printTwo>-->
18
-        <treat-batch-print v-if="org_id == 10138 || org_id == 10278 || org_id == 0"   :printData="printData" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></treat-batch-print>
18
+        <treat-batch-print v-if="org_id == 10138 || org_id == 10278 || org_id == 10610 || org_id == 10537 || org_id == 0"   :printData="printData" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></treat-batch-print>
19 19
       </div>
20 20
   </div>
21 21
 </template>

+ 24 - 0
src/xt_pages/outpatientDoctorStation/batch_print_treatTemplate/treatBatchPrint.vue Näytä tiedosto

@@ -22,6 +22,18 @@
22 22
           style="width: 100%"
23 23
           alt=""
24 24
         /></span>
25
+        <span v-if="org_id == 10610 ">
26
+          <img
27
+            src="@/assets/img/penggang_top.jpg"
28
+            style="width: 100%"
29
+            alt=""
30
+        /></span>
31
+        <span v-if="org_id == 10537 ||org_id ==0">
32
+          <img
33
+            src="	https://kuyi.shengws.com/xuwenshou.jpg"
34
+            style="width: 100%"
35
+            alt=""/>
36
+        </span>
25 37
       <div class="printTitle">
26 38
         治疗单
27 39
         <span
@@ -210,6 +222,18 @@
210 222
         style="width: 100%"
211 223
         alt=""
212 224
       /></span>
225
+      <span v-if="org_id == 10610 ">
226
+        <img
227
+          src="@/assets/img/penggang_bottom.jpg"
228
+          style="width: 100%"
229
+          alt=""
230
+      /></span>
231
+      <span v-if="org_id == 10537 ||org_id ==0">
232
+      <img
233
+        src="@/assets/img/xuwendizhi.jpg"
234
+        style="width: 100%"
235
+        alt=""
236
+      /></span>
213 237
       <div style="page-break-after: always"></div>
214 238
 
215 239
     </div>

+ 7 - 1
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Näytä tiedosto

@@ -3779,6 +3779,7 @@ export default {
3779 3779
                     retail_price: temp3[b].drug.retail_price.toString(),
3780 3780
                     remark: '',
3781 3781
                     day: '1',
3782
+                    is_medicine:0,
3782 3783
                     prescribing_number: temp3[b].prescribing_number,
3783 3784
                     single_dose_unit: temp3[b].drug.drug_dose_unit,
3784 3785
                     prescribing_number_unit: temp3[b].drug.prescribing_number_unit,
@@ -3844,6 +3845,7 @@ export default {
3844 3845
                     prescribing_number_unit: temp[b].prescribing_number_unit,
3845 3846
                     medical_insurance_number: temp[b].medical_insurance_number,
3846 3847
                     drug: temp[b],
3848
+                    is_medicine:0,
3847 3849
                     groupno: index + temp_index,
3848 3850
                     hosp_appr_flag: '1',
3849 3851
                     execution_state: 2
@@ -3959,6 +3961,8 @@ export default {
3959 3961
                   retail_price: temp3[b].drug.retail_price.toString(),
3960 3962
                   remark: '',
3961 3963
                   day: '1',
3964
+                  is_medicine:0,
3965
+
3962 3966
                   prescribing_number: temp3[b].prescribing_number,
3963 3967
                   single_dose_unit: temp3[b].drug.drug_dose_unit,
3964 3968
                   prescribing_number_unit: temp3[b].drug.prescribing_number_unit,
@@ -4030,7 +4034,9 @@ export default {
4030 4034
                   drug: temp[b],
4031 4035
                   groupno: index + temp_index,
4032 4036
                   hosp_appr_flag: '1',
4033
-                  execution_state: 2
4037
+                  execution_state: 2,
4038
+                  is_medicine:0,
4039
+
4034 4040
 
4035 4041
                 }
4036 4042
                 if (obj.prescribing_number == 0 || obj.prescribing_number.length == 0) {

+ 12 - 13
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue Näytä tiedosto

@@ -82,7 +82,7 @@
82 82
                                   style="width:50%" placeholder=""></el-input>
83 83
                         <!-- <div> {{scope.row.prescribing_number_unit}}</div> -->
84 84
                         <el-select :disabled="scope.row.is_medicine == 1" v-model="scope.row.prescribing_number_unit" placeholder="请选择" style="width:50%;"
85
-                                   @change="getPrescribingNumberUnit(scope.row)">
85
+                                   @change="getPrescribingNumberUnit(scope)">
86 86
                             <el-option :label="scope.row.drug.min_unit" :value="scope.row.drug.min_unit"></el-option>
87 87
                             <el-option :label="scope.row.drug.max_unit"
88 88
                                        v-if="scope.row.drug.min_unit != scope.row.drug.max_unit"
@@ -372,8 +372,7 @@
372 372
         })
373 373
 
374 374
       }, deleteDrug: function(index, row) {
375
-        console.log(row)
376
-        if (row.is_medicine == 1){
375
+        if (row.hasOwnProperty('is_medicine')&&row.is_medicine == 1){
377 376
           this.$message.error('该处方包含已发药的药品,无法删除')
378 377
           return
379 378
         }
@@ -526,11 +525,11 @@
526 525
 
527 526
       },
528 527
       getAllChangeTwo(scope) {
529
-        console.log("战国阿道夫阿道夫阿道夫",scope)
530
-        if (scope.row.is_medicine == 1){
531
-          this.$message.error('该处方包含已发药的药品,无法修改')
532
-          return
533
-        }
528
+        // console.log("战国阿道夫阿道夫阿道夫",scope)
529
+        // if (scope.row.hasOwnProperty('is_medicine')&&scope.row.is_medicine == 1){
530
+        //   this.$message.error('该处方包含已发药的药品,无法修改')
531
+        //   return
532
+        // }
534 533
         if(this.$store.getters.xt_user.org_id != 10206) {
535 534
           console.log('yyyyyyyy',scope);
536 535
           if (scope.row.drug.min_unit == scope.row.single_dose_unit) {
@@ -575,7 +574,7 @@
575 574
       },
576 575
 
577 576
       getPrescribingNumberUnit(scope) {
578
-        if (scope.row.is_medicine == 1){
577
+        if (scope.row.hasOwnProperty('is_medicine')&&scope.row.is_medicine == 1){
579 578
           this.$message.error('该处方包含已发药的药品,无法修改')
580 579
           return
581 580
         }
@@ -609,10 +608,10 @@
609 608
         }
610 609
       },
611 610
       changePrescribingNumber(scope) {
612
-        if (scope.row.is_medicine == 1){
613
-          this.$message.error('该处方包含已发药的药品,无法修改')
614
-          return
615
-        }
611
+        // if (scope.row.hasOwnProperty('is_medicine')&&scope.row.is_medicine == 1){
612
+        //   this.$message.error('该处方包含已发药的药品,无法修改')
613
+        //   return
614
+        // }
616 615
         //  var max_number = 0
617 616
         //  if(scope.row.prescribing_number_unit == scope.row.drug.max_unit){
618 617
         //     max_number = parseInt(scope.row.prescribing_number) * scope.row.drug.min_number