yq1 пре 1 година
родитељ
комит
63d9dee691

+ 8 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Прегледај датотеку

@@ -381,7 +381,7 @@
381 381
                         style="width: 100px; text-align: center"
382 382
                       >
383 383
                       <span v-if="org_id==10580 || org_id==0">
384
-                        {{ dialysisOrder.puncture_needle}}
384
+                        <!-- {{ dialysisOrder.puncture_needle}} -->
385 385
                       </span>
386 386
                       <span v-if="org_id != 10580 && org_id!=0">
387 387
                         {{
@@ -404,7 +404,7 @@
404 404
                         style="width: 100px; text-align: center"
405 405
                       >
406 406
                       <span v-if="org_id==10580 || org_id==0">
407
-                        {{ dialysisOrder.puncture_needle}}
407
+                        <!-- {{ dialysisOrder.puncture_needle}} -->
408 408
                       </span>
409 409
                       <span v-if="org_id != 10580 && org_id!=0">
410 410
                         {{
@@ -1576,12 +1576,12 @@
1576 1576
                           置换量<br />(ml)
1577 1577
                         </td>
1578 1578
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">滤前压(mmHg)</td>
1579
-                        <td width="50" v-if="org_id == 9538 || org_id ==10600">KT/V</td>
1579
+                        <td width="50" v-if="org_id == 9538 || org_id ==10600 || org_id ==10629  || org_id == 0">KT/V</td>
1580 1580
                         <td width="50" v-if="org_id == 9919">在线尿素监测</td>
1581 1581
                         <td width="50" v-if="org_id == 9671">在线尿素监测</td>
1582 1582
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id== 9671">血容量<br />(L)</td>
1583
-                        <td width="50" v-if="org_id == 10490 || org_id == 0">碳酸氢钠<br />(ml)</td>
1584
-                        <td width="50" v-if="org_id == 10598 || org_id == 0">护士签名</td>
1583
+                        <td width="50" v-if="org_id == 10490 ">碳酸氢钠<br />(ml)</td>
1584
+                        <td width="50" v-if="org_id == 10598 ">护士签名</td>
1585 1585
                         <td width="200">病情变化及处理</td>
1586 1586
                       </tr>
1587 1587
 
@@ -1705,16 +1705,16 @@
1705 1705
                           </span>
1706 1706
                         </td>
1707 1707
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">{{ monitor.filter_pressure?monitor.filter_pressure:""}}</td>
1708
-                        <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671 || org_id ==10600">
1708
+                        <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671 || org_id ==10600 || org_id ==10629 || org_id ==0">
1709 1709
                           {{ monitor.ktv?monitor.ktv:"" }}
1710 1710
                         </td>
1711 1711
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id == 9671">
1712 1712
                           {{ monitor.accumulated_blood_volume? monitor.accumulated_blood_volume:"" }}
1713 1713
                         </td>
1714
-                        <td width="50" v-if="org_id ==10490 || org_id == 0">
1714
+                        <td width="50" v-if="org_id ==10490 ">
1715 1715
                           {{ monitor.dicarbonate?monitor.dicarbonate:"" }}
1716 1716
                         </td>
1717
-                        <td width="50" v-if="org_id == 10598 || org_id == 0">
1717
+                        <td width="50" v-if="org_id == 10598 ">
1718 1718
                           <span v-if="monitor.creator == 0">
1719 1719
                             <span
1720 1720
                             v-if="setAdminUserES(monitor.modify) == ''"

+ 42 - 18
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Прегледај датотеку

@@ -277,7 +277,7 @@
277 277
                                   <el-input style="width:50%;" @input="searchAction"
278 278
                                             @keyup.enter.native='searchAction'
279 279
                                             v-model.trim="search_keyword"
280
-                                            placeholder="请输入药品名字"></el-input>
280
+                                            placeholder="请输入药品名字" :clearable="true"></el-input>
281 281
                                   <el-select style="margin-left:5px;width:50%;" v-model="value" placeholder=""
282 282
                                              @change="changeKind">
283 283
                                       <el-option
@@ -393,7 +393,7 @@
393 393
                                   <el-input style="width:50%;" @input="searchProjectAction"
394 394
                                             @keyup.enter.native='searchProjectAction'
395 395
                                             v-model.trim="search_project_keyword"
396
-                                            placeholder="请输入项目名称"></el-input>
396
+                                            placeholder="请输入项目名称" :clearable="true"></el-input>
397 397
 
398 398
                                   <el-select style="float: right;width: 49%;" v-model="value" placeholder=""
399 399
                                              @change="changeClass">
@@ -1752,23 +1752,34 @@ export default {
1752 1752
       }
1753 1753
       this.$refs.additionalCharges.hide()
1754 1754
 
1755
-    }, searchProjectAction() {
1755
+    }, 
1756
+    // 项目
1757
+    searchProjectAction() {
1756 1758
       console.log('~~~~',this.search_project_keyword)
1757
-      console.log('5555',this.tabProject)
1758
-      console.log('6666',this.allProject)
1759
-      // console.log('4444',this.tabProject[1].first_letter.indexOf(this.search_project_keyword) != -1)
1759
+      const tabProjects = this.allProject
1760
+      console.log('4444',tabProjects)
1760 1761
       if (this.search_project_keyword.length == 0) {
1761 1762
         this.tabProject = this.allProject
1762 1763
       } else {
1763 1764
         let arr = []
1764
-        for (let i = 0; i < this.tabProject.length; i++) {
1765
+
1766
+        for (let i = 0; i < tabProjects.length; i++) {
1765 1767
             // console.log('4444',this.tabProject[i].first_letter.indexOf(this.search_project_keyword) != -1)
1766
-            if (this.tabProject[i].project_name.indexOf(this.search_project_keyword) != -1 ||
1767
-            this.tabProject[i].first_letter.indexOf(this.search_project_keyword) !=-1) {
1768
-              arr = arr.concat(this.tabProject[i])
1768
+            if (tabProjects[i].project_name.indexOf(this.search_project_keyword) != -1 ||
1769
+                tabProjects[i].first_letter.indexOf(this.search_project_keyword) !=-1) {
1770
+              arr = arr.concat(tabProjects[i])
1769 1771
             }
1770 1772
 
1771 1773
         }
1774
+
1775
+        // for (let i = 0; i < this.tabProject.length; i++) {
1776
+        //     // console.log('4444',this.tabProject[i].first_letter.indexOf(this.search_project_keyword) != -1)
1777
+        //     if (this.tabProject[i].project_name.indexOf(this.search_project_keyword) != -1 ||
1778
+        //     this.tabProject[i].first_letter.indexOf(this.search_project_keyword) !=-1) {
1779
+        //       arr = arr.concat(this.tabProject[i])
1780
+        //     }
1781
+
1782
+        // }
1772 1783
         this.tabProject = arr
1773 1784
         console.log('kkkk',this.tabProject);
1774 1785
       }
@@ -1788,22 +1799,34 @@ export default {
1788 1799
       }
1789 1800
 
1790 1801
     },
1802
+    // 药品
1791 1803
     searchAction() {
1804
+      const drug2 =this.allDrugs
1805
+      console.log('this.allDrugs',drug2);
1792 1806
       if (this.search_keyword.length == 0) {
1793 1807
         this.drugs = this.allDrugs
1794 1808
       } else {
1809
+       
1795 1810
         let arr = []
1796
-        for (let i = 0; i < this.drugs.length; i++) {
1797
-          if (this.drugs[i].drug_name.indexOf(this.search_keyword) != -1 ||
1798
-           this.drugs[i].wubi.indexOf(this.search_keyword) != -1 ||
1799
-           this.drugs[i].pinyin.indexOf(this.search_keyword) != -1 ||
1800
-           this.drugs[i].first_letter.indexOf(this.search_keyword) != -1
1811
+        for (let i = 0; i < drug2.length; i++) {
1812
+          if (drug2[i].drug_name.indexOf(this.search_keyword) != -1 ||
1813
+            drug2[i].wubi.indexOf(this.search_keyword) != -1 ||
1814
+            drug2[i].pinyin.indexOf(this.search_keyword) != -1 ||
1815
+            drug2[i].first_letter.indexOf(this.search_keyword) != -1
1801 1816
            ) {
1802
-            arr = arr.concat(this.drugs[i])
1817
+            arr = arr.concat(drug2[i])
1803 1818
           }
1804 1819
         }
1820
+        // for (let i = 0; i < this.drugs.length; i++) {
1821
+        //   if (this.drugs[i].drug_name.indexOf(this.search_keyword) != -1 ||
1822
+        //    this.drugs[i].wubi.indexOf(this.search_keyword) != -1 ||
1823
+        //    this.drugs[i].pinyin.indexOf(this.search_keyword) != -1 ||
1824
+        //    this.drugs[i].first_letter.indexOf(this.search_keyword) != -1
1825
+        //    ) {
1826
+        //     arr = arr.concat(this.drugs[i])
1827
+        //   }
1828
+        // }
1805 1829
         this.drugs = arr
1806
-
1807 1830
       }
1808 1831
 
1809 1832
     },
@@ -3877,6 +3900,8 @@ export default {
3877 3900
       getHisProject().then(response => {
3878 3901
         if (response.data.state == 1) {
3879 3902
           var project = response.data.data.project
3903
+          // this.tabProject = project
3904
+          console.log('zzzzzzzzzz',project);
3880 3905
           for (let i = 0; i < project.length; i++) {
3881 3906
             let obj = {
3882 3907
               id: project[i].id,
@@ -3899,7 +3924,6 @@ export default {
3899 3924
               bbx01:project[i].bbx01,
3900 3925
               zuobiao_stock_num:0,
3901 3926
               number:""
3902
-
3903 3927
             }
3904 3928
             this.tabProject.push(obj)
3905 3929
           }

+ 12 - 4
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Прегледај датотеку

@@ -6,7 +6,6 @@
6 6
     <div class="app-container" style="display:flex;flex: 1;padding: 10px 20px 0px 20px;">
7 7
       <div class="mainLeft">
8 8
 
9
-
10 9
         <el-date-picker
11 10
           v-model="record_date"
12 11
           prefix-icon="el-icon-date"
@@ -313,7 +312,17 @@
313 312
           <checkPrint ref="checkPrint" v-if="selecting_schs3.length > 0" :paramsObj='paramsObj3'
314 313
                       :newHisPatient="hisPatientInfo"></checkPrint>
315 314
         </div>
316
-
315
+        <template>
316
+          <el-button
317
+            style="float:right;"
318
+            size="small"
319
+            icon="el-icon-printer"
320
+            @click="printThisPage"
321
+            type="primary"
322
+          >打印
323
+          </el-button
324
+          >
325
+        </template>
317 326
       </el-dialog>
318 327
       <span slot="footer" class="dialog-footer">
319 328
         <el-button @click="centerDialogVisible = false">取 消</el-button>
@@ -510,7 +519,6 @@
510 519
           </div>
511 520
         </div>
512 521
       </div>
513
-
514 522
       <span slot="footer" class="dialog-footer">
515 523
         <el-button @click="startVisibility = false">取 消</el-button>
516 524
       </span>
@@ -981,7 +989,7 @@ export default {
981 989
 
982 990
           //排班
983 991
           for (let i = 0; i < response.data.data.list_two.length; i++) {
984
-            console.log('hahhahahahahahahah', response.data.data.list_two)
992
+            // console.log('hahhahahahahahahah', response.data.data.list_two)
985 993
             //未就诊
986 994
             if (response.data.data.list_two[i].prescription.length == 0 && response.data.data.list_two[i].his_patient.id == 0) {
987 995
               let obj = {

+ 9 - 12
src/xt_pages/outpatientDoctorStation/template/prinSeven.vue Прегледај датотеку

@@ -136,7 +136,7 @@
136 136
                         &nbsp;&nbsp;<span>
137 137
                           {{ it.execution_frequency }}&nbsp;{{
138 138
                             it.delivery_way
139
-                          }}&nbsp;</span>&nbsp;&nbsp;<span>{{ it.advice_desc}}</span>
139
+                          }}&nbsp;共{{ it.day}}天</span>&nbsp;&nbsp;<span>{{ it.advice_desc}}</span>
140 140
                       </template>
141 141
                     </div>
142 142
 
@@ -195,7 +195,7 @@
195 195
                         &nbsp;&nbsp;<span>
196 196
                           {{ it.execution_frequency }}&nbsp;{{
197 197
                             it.delivery_way
198
-                          }}&nbsp;</span>&nbsp;&nbsp;<span>{{ it.advice_desc}}</span>
198
+                          }}&nbsp;共{{ it.day}}天</span><span>{{ it.advice_desc}} </span>
199 199
                       </template>
200 200
                     </div>
201 201
 
@@ -558,20 +558,17 @@ export default{
558 558
     },
559 559
     getPrescriptionPrint() {
560 560
       var params = {
561
-        // patient_id:this.patient_id,
562
-        // record_date:this.record_date,
563
-        // prescription_id:this.prescription_id,
564 561
         patient_id: this.patient_id,
565 562
         record_date: this.record_date,
566 563
         prescription_id: this.prescription_id,
567 564
         ids: this.ids,
568 565
         p_type: 2,
569 566
       };
570
-      console.log("params", params);
571 567
       getPrescriptionPrint(params).then((response) => {
572 568
         if (response.data.state == 1) {
573 569
           var advicePrint = response.data.data.advicePrint;
574 570
           console.log("adviceprint9999", advicePrint);
571
+          console.log("response.data.data", response.data.data);
575 572
           this.advicePrint = advicePrint;
576 573
           this.prescriptions = advicePrint;
577 574
 
@@ -602,10 +599,10 @@ export default{
602 599
           }
603 600
         }
604 601
         
605
-          console.log('4444444',this.advicePrint);
602
+          // console.log('4444444',this.advicePrint);
606 603
         //  console.log('55555555',this.arr);
607 604
 
608
-          console.log(this.doctorList_1, "医生列表");
605
+          // console.log(this.doctorList_1, "医生列表");
609 606
           if (this.doctorList_1.length > 0) {
610 607
             var operatorsLen = this.doctorList_1.length;
611 608
             for (var index = 0; index < operatorsLen; index++) {
@@ -617,12 +614,12 @@ export default{
617 614
             }
618 615
           }
619 616
 
620
-          console.log("处方222222", this.prescriptions);
617
+          // console.log("处方222222", this.prescriptions);
621 618
           var hisPatient = response.data.data.hisPatient;
622
-          console.log("hisPatient", hisPatient);
619
+          // console.log("hisPatient", hisPatient);
623 620
           this.hisPatient = hisPatient;
624 621
           var projectlist = response.data.data.projectlist;
625
-          console.log("所有项目列表", projectlist);
622
+          // console.log("所有项目列表", projectlist);
626 623
           this.projectList = projectlist;
627 624
         }
628 625
       });
@@ -658,7 +655,7 @@ export default{
658 655
       return name;
659 656
     },
660 657
     getTotalOne(id) {
661
-      console.log('999999999',this.prescriptions);
658
+      // console.log('999999999',this.prescriptions);
662 659
       var total = 0;
663 660
       var addtotal = 0;
664 661
       var zimuyao = 0;