Browse Source

518合并代码

XMLWAN 2 years ago
parent
commit
57cd1b5930

+ 10 - 4
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue View File

1021
               this.showAdviceForm = false
1021
               this.showAdviceForm = false
1022
               this.showAdvicePanel = true
1022
               this.showAdvicePanel = true
1023
               var advice = response.data.data.advice
1023
               var advice = response.data.data.advice
1024
+              console.log("advic323323232323232",advice)
1024
               this.doctor_advices[this.currentIndex].drug_spec = advice.drug_spec
1025
               this.doctor_advices[this.currentIndex].drug_spec = advice.drug_spec
1025
               this.doctor_advices[this.currentIndex].drug_spec_unit =
1026
               this.doctor_advices[this.currentIndex].drug_spec_unit =
1026
                 advice.drug_spec_unit
1027
                 advice.drug_spec_unit
1382
           return false
1383
           return false
1383
         }
1384
         }
1384
         let mode = '1'
1385
         let mode = '1'
1385
-
1386
+       console.log("sry2332322332",this.src_type)
1386
        if(this.src_type == ""){
1387
        if(this.src_type == ""){
1387
           this.form.way = 1
1388
           this.form.way = 1
1388
        }
1389
        }
1409
               this.currentRow = null
1410
               this.currentRow = null
1410
               this.setCurrent()
1411
               this.setCurrent()
1411
               this.hideForm()
1412
               this.hideForm()
1413
+              console.log("子药23223332323332",this.form.parent_id)
1414
+              console.log("232322332323232",this.form.parent_id)
1415
+           
1412
               if (this.form.parent_id > 0) {
1416
               if (this.form.parent_id > 0) {
1413
                 var spliceIndex = -1
1417
                 var spliceIndex = -1
1414
                 for (let index = this.doctor_advices.length - 1; ; index--) {
1418
                 for (let index = this.doctor_advices.length - 1; ; index--) {
1420
                     break
1424
                     break
1421
                   }
1425
                   }
1422
                 }
1426
                 }
1427
+                console.log("spliceIndex233232323232",spliceIndex)
1423
                 if (spliceIndex > -1) {
1428
                 if (spliceIndex > -1) {
1424
                   spliceIndex += 1
1429
                   spliceIndex += 1
1425
                   if (spliceIndex === this.doctor_advices.length) {
1430
                   if (spliceIndex === this.doctor_advices.length) {
1431
                       this.doctor_advices.push(swapData[index])
1436
                       this.doctor_advices.push(swapData[index])
1432
                     }
1437
                     }
1433
                   }
1438
                   }
1439
+                 
1440
+                  console.log("doctore_advic4233232323232",this.doctor_advices)
1434
                 }
1441
                 }
1435
               } else {
1442
               } else {
1436
                 this.doctor_advices.unshift(response.data.data.advice)
1443
                 this.doctor_advices.unshift(response.data.data.advice)
1437
               }
1444
               }
1438
               return false
1445
               return false
1439
             }
1446
             }
1440
-          })
1441
-          .catch(v => {
1447
+          }).catch(v => {
1442
             this.loading = false
1448
             this.loading = false
1443
           })
1449
           })
1444
         // location. reload()
1450
         // location. reload()
1445
-        this.getDialysisScheduleDetail()
1451
+       // this.getDialysisScheduleDetail()
1446
 
1452
 
1447
       }
1453
       }
1448
       ,
1454
       ,

+ 1 - 1
src/xt_pages/outpatientTool/components/gatherStatistics.vue View File

331
             dataInfo[item_id].child.push(item)
331
             dataInfo[item_id].child.push(item)
332
           })
332
           })
333
           let arr = Object.values(dataInfo) 
333
           let arr = Object.values(dataInfo) 
334
-          
334
+          console.log("中欧地区3323323223322332322323323232",arr)
335
           for(let i=0;i<arr.length;i++){
335
           for(let i=0;i<arr.length;i++){
336
             for(let j=0;j<arr[i].child.length;j++){
336
             for(let j=0;j<arr[i].child.length;j++){
337
                if(arr[i].advice_id >0){
337
                if(arr[i].advice_id >0){

+ 4 - 4
src/xt_pages/outpatientTool/detailPrint.vue View File

11
         <div>患者姓名:{{ patient.name }}</div>
11
         <div>患者姓名:{{ patient.name }}</div>
12
         <div>性别:{{ patient.gender == 1 ? "男" : "女" }}</div>
12
         <div>性别:{{ patient.gender == 1 ? "男" : "女" }}</div>
13
         <div>结算类别:
13
         <div>结算类别:
14
-          {{ getType(his_patient.balance_accounts_type) }}
14
+          <!-- {{ getType(his_patient.balance_accounts_type) }} -->
15
           {{getType(his_record_patient.balance_accounts_type)}}
15
           {{getType(his_record_patient.balance_accounts_type)}}
16
         </div>
16
         </div>
17
         <div style="min-width:300px;">发票号码:{{order.fa_piao_number}}</div>
17
         <div style="min-width:300px;">发票号码:{{order.fa_piao_number}}</div>
18
       </div>
18
       </div>
19
       <div class="listInfo">
19
       <div class="listInfo">
20
         <div>住院/门诊号:
20
         <div>住院/门诊号:
21
-          {{his_patient.number}}
21
+          <!-- {{his_patient.number}} -->
22
           {{his_record_patient.ipt_otp_no}}
22
           {{his_record_patient.ipt_otp_no}}
23
         </div>
23
         </div>
24
         <div>科室:
24
         <div>科室:
25
-          {{ getDepartment(his_patient.departments) }}
25
+          <!-- {{ getDepartment(his_patient.departments) }} -->
26
           {{ getDepartment(his_record_patient.departments) }}
26
           {{ getDepartment(his_record_patient.departments) }}
27
         </div>
27
         </div>
28
         <div style="min-width:350px;">就诊流水号:
28
         <div style="min-width:350px;">就诊流水号:
29
-          {{ his_patient.number }}
29
+          <!-- {{ his_patient.number }} -->
30
           {{his_record_patient.number}}
30
           {{his_record_patient.number}}
31
         </div>
31
         </div>
32
       </div>
32
       </div>

+ 4 - 2
src/xt_pages/outpatientTool/gatherPrint.vue View File

9
             <div>医疗机构名称:{{$store.getters.xt_user.org.org_name}}</div>
9
             <div>医疗机构名称:{{$store.getters.xt_user.org.org_name}}</div>
10
         </div>
10
         </div>
11
         <div class="listInfo">
11
         <div class="listInfo">
12
-            <div>科别:{{getDepartment(his_patient.departments)}}
12
+            <div>科别:
13
+              <!-- {{getDepartment(his_patient.departments)}} -->
13
               {{getDepartment(his_record_patient.departments)}}
14
               {{getDepartment(his_record_patient.departments)}}
14
             </div>
15
             </div>
15
             <div>床号:<span v-if="schedule.length > 0">{{getBedName(schedule[0].bed_id)}}</span></div>
16
             <div>床号:<span v-if="schedule.length > 0">{{getBedName(schedule[0].bed_id)}}</span></div>
16
-            <div>门诊号:{{his_patient.number}}
17
+            <div>门诊号:
18
+               <!-- {{his_patient.number}} -->
17
                {{his_record_patient.ipt_otp_no}}
19
                {{his_record_patient.ipt_otp_no}}
18
             </div>
20
             </div>
19
             <div>姓名:{{patient.name}}</div>
21
             <div>姓名:{{patient.name}}</div>

+ 4 - 2
src/xt_pages/outpatientTool/gatherPrintInvoice.vue View File

15
         <table class="listTable" table border rules=none cellspacing=0 align=center>
15
         <table class="listTable" table border rules=none cellspacing=0 align=center>
16
             <tr>
16
             <tr>
17
                 <td>姓名:{{patient.name}}</td>
17
                 <td>姓名:{{patient.name}}</td>
18
-                <td>科室:{{getDepartment(his_patient.departments)}}
19
-                         {{ getDepartment(his_record_patient.departments) }}
18
+                <td>科室:
19
+                    <!-- {{getDepartment(his_patient.departments)}} -->
20
+
21
+                   {{ getDepartment(his_record_patient.departments) }}
20
                 </td>
22
                 </td>
21
                 <td></td>
23
                 <td></td>
22
             </tr>
24
             </tr>