Przeglądaj źródła

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

28169 8 miesięcy temu
rodzic
commit
380e6a21d2

+ 20 - 11
src/xt_pages/dialysis/batch_print/batch_print_order_seventynine.vue Wyświetl plik

58
                   </tr>
58
                   </tr>
59
 
59
 
60
                    <tr>
60
                    <tr>
61
-                    <td colspan="3">
61
+                    <td colspan="2">
62
                       <div style="line-height:30px;">
62
                       <div style="line-height:30px;">
63
                         上机前病情:
63
                         上机前病情:
64
                         <label-box :isChecked="record.assessment_before_dislysis.symptom_before_dialysis_other==''?true :false" showValue="无特殊"></label-box>&nbsp;
64
                         <label-box :isChecked="record.assessment_before_dislysis.symptom_before_dialysis_other==''?true :false" showValue="无特殊"></label-box>&nbsp;
66
                         <span>{{record.assessment_before_dislysis.symptom_before_dialysis_other}}</span>
66
                         <span>{{record.assessment_before_dislysis.symptom_before_dialysis_other}}</span>
67
                       </div>
67
                       </div>
68
                     </td>
68
                     </td>
69
+                    <td>
70
+                      <div style="line-height:30px;">
71
+                        BP:
72
+                        {{ record.assessment_before_dislysis.systolic_blood_pressure ? record.assessment_before_dislysis.systolic_blood_pressure : ""}} /
73
+                        {{ record.assessment_before_dislysis.diastolic_blood_pressure ? record.assessment_before_dislysis.diastolic_blood_pressure : ""}}
74
+                        mmHg
75
+                      </div>
76
+                      
77
+                    </td>
69
                   </tr>
78
                   </tr>
70
 
79
 
71
                   <tr>
80
                   <tr>
170
                   <td colspan="3">
179
                   <td colspan="3">
171
                     <div style="display: inline-block;line-height: 30px;">
180
                     <div style="display: inline-block;line-height: 30px;">
172
                       血管通路:
181
                       血管通路:
173
-                      <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id)=='内瘘'?true :false" showValue="内瘘"></label-box>&nbsp;
174
-                      <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id)=='长期静脉导管'?true :false" showValue="长期静脉导管"></label-box>&nbsp;
175
-                      <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id)=='临时静脉导管'?true :false" showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
176
-                      <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id)!='内瘘' &&
177
-                                  QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id)!='长期静脉导管' &&
178
-                                  QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id)!='临时静脉导管' &&
179
-                                  QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id)!=''?true :false" showValue="其它">
180
-                      </label-box>
182
+                      {{ record.assessment_before_dislysis.blood_access_part_id ? record.assessment_before_dislysis.blood_access_part_id :'' }}
183
+                      {{ QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id) }}
181
                     </div>&nbsp;&nbsp;
184
                     </div>&nbsp;&nbsp;
182
                     <div style="display: inline-block;line-height: 30px;">
185
                     <div style="display: inline-block;line-height: 30px;">
183
                       穿刺者:
186
                       穿刺者:
586
                 for (let index = 0; index < delghTwo; index++) {
589
                 for (let index = 0; index < delghTwo; index++) {
587
                   this.records[recordIndex].advices.push([])
590
                   this.records[recordIndex].advices.push([])
588
                 }
591
                 }
592
+                for(let i  in this.records[recordIndex].his_advices){
593
+                  this.records[recordIndex].advices.unshift(this.records[recordIndex].his_advices[i])
594
+                }
589
               }
595
               }
590
-
596
+              console.log('his_advices',this.records[recordIndex].advices);
597
+              
591
               var childMap = {}
598
               var childMap = {}
592
               for (const index in this.records[recordIndex].advices) {
599
               for (const index in this.records[recordIndex].advices) {
593
                 if (this.records[recordIndex].advices[index].parent_id == 0) {
600
                 if (this.records[recordIndex].advices[index].parent_id == 0) {
620
                 }
627
                 }
621
                 advices.push(item)
628
                 advices.push(item)
622
               }
629
               }
623
-
630
+              // advices = advices.concat(this.records[recordIndex].his_advices)
631
+              console.log('advices',advices);
632
+              
624
               var leftAdvice = []
633
               var leftAdvice = []
625
               var rightAdvice = []
634
               var rightAdvice = []
626
               var adlen = advices.length
635
               var adlen = advices.length

+ 12 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderSeventynine.vue Wyświetl plik

32
             </tr>
32
             </tr>
33
 
33
 
34
             <tr>
34
             <tr>
35
-              <td colspan="3">
35
+              <td colspan="2">
36
                 <div style="line-height:30px;">
36
                 <div style="line-height:30px;">
37
                   上机前病情:
37
                   上机前病情:
38
                   <!-- <span v-if="predialysis.symptom_before_dialysis_other==''"> -->
38
                   <!-- <span v-if="predialysis.symptom_before_dialysis_other==''"> -->
44
                   <span>{{predialysis.symptom_before_dialysis_other}}</span>
44
                   <span>{{predialysis.symptom_before_dialysis_other}}</span>
45
                 </div>
45
                 </div>
46
               </td>
46
               </td>
47
+              <td>
48
+                <div style="line-height:30px;">
49
+                  BP:
50
+                  {{ predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : ""}} /
51
+                  {{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : ""}}
52
+                  mmHg
53
+                </div>
54
+                
55
+              </td>
47
             </tr>
56
             </tr>
48
 
57
 
49
             <tr>
58
             <tr>
151
             <td colspan="3">
160
             <td colspan="3">
152
               <div style="display: inline-block;line-height: 30px;">
161
               <div style="display: inline-block;line-height: 30px;">
153
                 血管通路:
162
                 血管通路:
154
-                <!-- <label-box :isChecked="predialysis.blood_access_part_opera_name=='内瘘'?true :false" showValue="内瘘"></label-box>&nbsp;
155
-                <label-box :isChecked="predialysis.blood_access_part_opera_name=='长期静脉导管'?true :false" showValue="长期静脉导管"></label-box>&nbsp;
156
-                <label-box :isChecked="predialysis.blood_access_part_opera_name=='临时静脉导管'?true :false" showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
157
-                <label-box :isChecked="predialysis.blood_access_part_opera_name!='内瘘' &&
158
-                            predialysis.blood_access_part_opera_name!='长期静脉导管' &&
159
-                            predialysis.blood_access_part_opera_name!='临时静脉导管'?true :false" showValue="其它">
160
-                </label-box> -->
163
+          
164
+                {{ predialysis.blood_access_part_id ? predialysis.blood_access_part_id :'/' }}
161
                 {{ predialysis.blood_access_part_opera_name ? predialysis.blood_access_part_opera_name :'/' }}
165
                 {{ predialysis.blood_access_part_opera_name ? predialysis.blood_access_part_opera_name :'/' }}
162
               </div>&nbsp;&nbsp;
166
               </div>&nbsp;&nbsp;
163
               <div style="display: inline-block;line-height: 30px;">
167
               <div style="display: inline-block;line-height: 30px;">

+ 5 - 3
src/xt_pages/outpatientCharges/statementPrint.vue Wyświetl plik

22
           org_id == 10028 ||
22
           org_id == 10028 ||
23
           org_id == 10278 ||
23
           org_id == 10278 ||
24
           org_id == 10610 ||
24
           org_id == 10610 ||
25
-          org_id==10537 
25
+          org_id==10537 ||  org_id == 0
26
         "
26
         "
27
       >
27
       >
28
         <printTwo :info="info" v-if="org_id == 9990"></printTwo>
28
         <printTwo :info="info" v-if="org_id == 9990"></printTwo>
67
       <!-- 盱眙恒硕 -->
67
       <!-- 盱眙恒硕 -->
68
       <printfivetheen :info="info" v-if="org_id == 10633"></printfivetheen>
68
       <printfivetheen :info="info" v-if="org_id == 10633"></printfivetheen>
69
       <!-- 顺有好 -->
69
       <!-- 顺有好 -->
70
-      <printSixtheen :info="info" v-if="org_id == 10697 || org_id == 0"></printSixtheen>
70
+      <printSixtheen :info="info" v-if="org_id == 10697"></printSixtheen>
71
 
71
 
72
       <printOne :info="info" v-if=" org_id != 9990 &&
72
       <printOne :info="info" v-if=" org_id != 9990 &&
73
             org_id != 10138 &&
73
             org_id != 10138 &&
743
         }
743
         }
744
         if (
744
         if (
745
           this.org_id == 10138 ||
745
           this.org_id == 10138 ||
746
-          this.org_id == 10278 ||  this.org_id == 10610
746
+          this.org_id == 10278 ||  this.org_id == 10610 || this.org_id == 10537 || this.org_id == 0
747
         ) {
747
         ) {
748
           getPrivateExpenses(params).then((response) => {
748
           getPrivateExpenses(params).then((response) => {
749
             if (response.data.state == 0) {
749
             if (response.data.state == 0) {
752
               return false
752
               return false
753
             } else {
753
             } else {
754
               this.balanceAccounts = response.data.data
754
               this.balanceAccounts = response.data.data
755
+              console.log( "this.balanceAccounts")
756
+              console.log(  this.balanceAccounts)
755
               let arr = []
757
               let arr = []
756
               let obj = {
758
               let obj = {
757
                 type: 1,
759
                 type: 1,

+ 1 - 1
src/xt_pages/outpatientCharges/statementTemplate/printThree.vue Wyświetl plik

176
               <div style="display:flex;">
176
               <div style="display:flex;">
177
                   <div>姓名:<span style="display:inline-block;width:50px;">{{balanceAccounts.patient ? balanceAccounts.patient.name.indexOf('(') > -1 ? balanceAccounts.patient.name.substring(0,balanceAccounts.patient.name.indexOf('(')) : balanceAccounts.patient.name : ''}}</span>
177
                   <div>姓名:<span style="display:inline-block;width:50px;">{{balanceAccounts.patient ? balanceAccounts.patient.name.indexOf('(') > -1 ? balanceAccounts.patient.name.substring(0,balanceAccounts.patient.name.indexOf('(')) : balanceAccounts.patient.name : ''}}</span>
178
                   </div>
178
                   </div>
179
-                  <div>性别:<span style="display:inline-block;width:30px;">{{balanceAccounts.patient.gender == '1' ? '男' : '女'}}</span>
179
+                  <div>性别:<span style="display:inline-block;width:30px;">{{balanceAccounts.patient && balanceAccounts.patient.gender == '1' ? '男' : '女'}}</span>
180
                   </div>
180
                   </div>
181
                   <div>年龄:<span style="display:inline-block;width:50px;">{{balanceAccounts.patient ? balanceAccounts.patient.age : ''}}岁</span>
181
                   <div>年龄:<span style="display:inline-block;width:50px;">{{balanceAccounts.patient ? balanceAccounts.patient.age : ''}}岁</span>
182
                   </div>
182
                   </div>

+ 4 - 4
src/xt_pages/outpatientTool/components/detail.vue Wyświetl plik

31
             <el-select size="small" v-model="item_time_type" placeholder="请选择"
31
             <el-select size="small" v-model="item_time_type" placeholder="请选择"
32
                        style="width:150px;margin-left:10px;" @change="changeTimeItem">
32
                        style="width:150px;margin-left:10px;" @change="changeTimeItem">
33
               <el-option
33
               <el-option
34
-                label="结算时间"
35
-                value="1">
34
+                label="处方时间"
35
+                value="0">
36
               </el-option>
36
               </el-option>
37
               <el-option
37
               <el-option
38
-                label="处方时间"
39
-                value="2">
38
+                label="结算时间"
39
+                value="1">
40
               </el-option>
40
               </el-option>
41
             </el-select>
41
             </el-select>
42
 
42
 

+ 6 - 4
src/xt_pages/outpatientTool/components/gather.vue Wyświetl plik

28
                    style="width:150px;margin-left:10px;" @change="changeTimeItem">
28
                    style="width:150px;margin-left:10px;" @change="changeTimeItem">
29
 
29
 
30
           <el-option
30
           <el-option
31
-            label="结算时间"
32
-            value="1">
31
+            label="处方时间"
32
+            value="0">
33
           </el-option>
33
           </el-option>
34
+
34
           <el-option
35
           <el-option
35
-            label="处方时间"
36
-            value="2">
36
+            label="结算时间"
37
+            value="1">
37
           </el-option>
38
           </el-option>
39
+
38
         </el-select>
40
         </el-select>
39
         <el-date-picker
41
         <el-date-picker
40
           v-model="chargeDate"
42
           v-model="chargeDate"