Bladeren bron

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

XMLWAN 2 jaren geleden
bovenliggende
commit
274f634d37

+ 16 - 0
src/api/pharmacy.js Bestand weergeven

@@ -104,3 +104,19 @@ export function getcurrentname(params) {
104 104
     params: params
105 105
   })
106 106
 }
107
+//获取分区列表
108
+export function getpartitionlist(params) {
109
+  return request({
110
+    url: '/api/pharmacy/getpartitionlist',
111
+    method: 'get',
112
+    params: params
113
+  })
114
+}
115
+//获取给药途径
116
+export function routeofadministration(params) {
117
+  return request({
118
+    url: '/api/pharmacy/routeofadministration',
119
+    method: 'get',
120
+    params: params
121
+  })
122
+}

+ 324 - 6
src/xt_pages/Pharmacy/DrugDispensing.vue Bestand weergeven

@@ -49,7 +49,7 @@
49 49
 
50 50
           <el-table
51 51
             v-if="state == 1"
52
-            :height="tableHeight"
52
+            height="60vh"
53 53
             :data="waiting_drug"
54 54
             border
55 55
             style="width: 100%"
@@ -114,19 +114,49 @@
114 114
       </div>
115 115
       <div class="mainRight">
116 116
         <div class="titlelist">
117
+<!--          班次:-->
118
+<!--          <el-select v-model="shift" placeholder="请选择" @change="getdrugsdetails02">-->
119
+<!--            <el-option-->
120
+<!--              v-for="item in banshift"-->
121
+<!--              :key="item.value"-->
122
+<!--              :label="item.text"-->
123
+<!--              :value="item.value">-->
124
+<!--            </el-option>-->
125
+<!--          </el-select>-->
126
+<!--          分区:-->
127
+<!--          <el-select v-model="partition" placeholder="请选择" @change="getdrugsdetails">-->
128
+<!--            <el-option-->
129
+<!--              v-for="item in fen"-->
130
+<!--              :key="item.id"-->
131
+<!--              :label="item.name"-->
132
+<!--              :value="item.id">-->
133
+<!--            </el-option>-->
134
+<!--          </el-select>-->
135
+<!--          给药途径:-->
136
+<!--          <el-select v-model="deliveryway" placeholder="请选择" @change="getdruglist02">-->
137
+<!--            <el-option-->
138
+<!--              v-for="item in routeofadministration"-->
139
+<!--              :key="item.name"-->
140
+<!--              :label="item.name"-->
141
+<!--              :value="item.name">-->
142
+<!--            </el-option>-->
143
+<!--          </el-select>-->
144
+<!--          <el-button type="primary" @click="toExport" v-if="state == 2">导出</el-button>-->
117 145
           <!--          <el-button type="primary" @click="tt">调试</el-button>-->
118 146
           <el-button type="primary" @click="dispense" v-if="state == 1"
119 147
             >发药</el-button
120 148
           >
121 149
           <el-button type="primary" @click="toPrint">打印</el-button>
122
-          <!--          <el-button @click="tt">调试</el-button>-->
123
-          <!--          <el-button type="primary" @click="toSetting">设置</el-button>-->
150
+<!--                    <el-button @click="tt">调试</el-button>-->
151
+
124 152
         </div>
125 153
         <el-divider></el-divider>
126 154
         <div>
127 155
           <el-table
128 156
             :height="tableHeight"
129 157
             :data="tableData"
158
+            :summary-method="getSummaries"
159
+            show-summary
130 160
             border
131 161
             highlight-current-row
132 162
             style="width: 1328px"
@@ -317,6 +347,8 @@
317 347
             </el-table-column>
318 348
           </el-table>
319 349
         </div>
350
+<!--        <div style="background-color: #f5f7fa;display:flex;padding: 10px;justify-content:space-around;position:absolute;width:75.6%;margin-top: 27.5%;-->
351
+<!--"><div style="width: 40%;padding-left:3%">合计 </div> <div style="width: 40%;display: flex;justify-content:center;padding-left: 37%">{{total}}</div></div>-->
320 352
         <div style="margin-top: 25px" v-if="state == 1">
321 353
           领药人:
322 354
           <el-select v-model="admin_user_id" placeholder="请选择">
@@ -382,6 +414,8 @@ import {
382 414
   getpatientswithdrugs,
383 415
   medicinedeparture,
384 416
   getcurrentname,
417
+  getpartitionlist,
418
+  routeofadministration,
385 419
 } from "@/api/pharmacy";
386 420
 const moment = require("moment");
387 421
 export default {
@@ -417,13 +451,26 @@ export default {
417 451
       issued_drug: [], //已发药列表
418 452
       currentRow: null,
419 453
       tmp: 0,
454
+      banshift:[
455
+        {value:0,text:'全部班'},
456
+        {value:1,text:'上午'},
457
+        {value:2,text: '下午'},
458
+        {value:3,text: '晚上'}
459
+      ],
460
+      shift:0,//班次
461
+      fen:[],
462
+      partition:0,//分区
463
+      routeofadministration:[],
464
+      deliveryway:"全部",//给药途径
465
+      total:"",//合计
420 466
     };
421 467
   },
422 468
 
423 469
   methods: {
424 470
     tt() {
425
-      console.log("this.currentRow", this.currentRow);
426
-      this.$router.go(0);
471
+      console.log("this.state", this.state);
472
+      console.log("this.tableData", this.tableData);
473
+      console.log("this.deliveryway", this.deliveryway);
427 474
     },
428 475
     async fun3() {
429 476
       console.log("fun3");
@@ -455,6 +502,34 @@ export default {
455 502
         }
456 503
       });
457 504
     },
505
+    getSummaries(param) {
506
+      const { columns, data } = param;
507
+      const sums = [];
508
+      columns.forEach((column, index) => {
509
+        if (index === 0) {
510
+          sums[index] = "合计";
511
+          return;
512
+        }
513
+        console.log(data, "合计data1");
514
+        const values = data.map((item) => Number(item[column.property]));
515
+
516
+        if (!values.every((value) => isNaN(value))) {
517
+          sums[index] = values.reduce((prev, curr) => {
518
+            const value = Number(curr);
519
+            if (!isNaN(value)) {
520
+              return prev + curr;
521
+            } else {
522
+              return prev;
523
+            }
524
+          }, 0);
525
+          sums[index] += " 元";
526
+        } else {
527
+          sums[index] = "N/A";
528
+        }
529
+      });
530
+
531
+      return sums;
532
+    },
458 533
     changeTimes() {
459 534
       // alert("aa")
460 535
       // this.getdruglist();
@@ -495,6 +570,174 @@ export default {
495 570
         this.start_time
496 571
       );
497 572
     },
573
+    toExport() {
574
+      if (this.state == 1 && this.multipleSelection.length == 0) {
575
+        this.$message.error("未选择任何数据");
576
+        return;
577
+      }
578
+      if (this.state == 2 && this.tableData == null) {
579
+        this.$message.error("未选择任何数据");
580
+        return;
581
+      }
582
+      // for (let i = 0; i < this.tableData.length; i++) {
583
+      //   this.tableData[i].index = i + 1;
584
+      //   this.tableData[i].name = this.tableData[i].dose + this.tableData[i].dose_unit + "*" + this.tableData[i].min_number + this.tableData[i].min_unit +
585
+      //     "/" +
586
+      //     this.tableData[i].max_unit;
587
+      //
588
+      //   this.tableData[i].total_price = (
589
+      //     this.tableData[i].warehousing_count * this.exportList[i].price
590
+      //   ).toFixed(2);
591
+      //   for (let j = 0; j < this.manufacturerList.length; j++) {
592
+      //     if (this.exportList[i].manufacturer == this.manufacturerList[j].id) {
593
+      //       this.exportList[i].manufacturer =
594
+      //         this.manufacturerList[j].manufacturer_name;
595
+      //     }
596
+      //     if (this.exportList[i].manufacturer == 0) {
597
+      //       this.exportList[i].manufacturer = "";
598
+      //     }
599
+      //   }
600
+      //
601
+      //   for (let z = 0; z < this.dealerList.length; z++) {
602
+      //     if (this.exportList[i].dealer == this.dealerList[z].id) {
603
+      //       this.exportList[i].dealer = this.dealerList[z].dealer_name;
604
+      //     }
605
+      //     if (this.exportList[i].dealer == 0) {
606
+      //       this.exportList[i].dealer = "";
607
+      //     }
608
+      //   }
609
+      // }
610
+
611
+      if(this.state == 1){
612
+        import("@/vendor/Export2Excel").then((excel) => {
613
+          for (let i = 0; i < this.multipleSelection.length; i++) {
614
+            this.multipleSelection[i].index = i + 1;
615
+            this.multipleSelection[i].time = this.start_time
616
+            this.multipleSelection[i].yname = this.currentRow.name
617
+          }
618
+
619
+          const tHeader = [
620
+            "序号",
621
+            "时间",
622
+            "患者名称",
623
+            "药品名称",
624
+            "单次用量",
625
+            "用法",
626
+            "频率",
627
+            "天数",
628
+            "总量",
629
+            "数据来源",
630
+          ];
631
+          const filterVal = [
632
+            "index",
633
+            "time",
634
+            "name",
635
+            "yname",
636
+            "single_dosage",
637
+            "usage",
638
+            "frequency",
639
+            "days",
640
+            "total",
641
+            "data_sources",
642
+          ];
643
+
644
+          const data = this.formatJson(filterVal, this.multipleSelection);
645
+          excel.export_json_to_excel({
646
+            header: tHeader,
647
+            data,
648
+            filename: "发药单详情",
649
+          });
650
+          this.downloadLoading = false;
651
+        });
652
+      }else if(this.state == 2){
653
+        import("@/vendor/Export2Excel").then((excel) => {
654
+          for (let i = 0; i < this.tableData.length; i++) {
655
+            this.tableData[i].index = i + 1;
656
+            this.tableData[i].time = this.start_time
657
+            this.tableData[i].yname = this.currentRow.name
658
+          }
659
+
660
+          const tHeader = [
661
+            "序号",
662
+            "日期",
663
+            "患者名称",
664
+            "药品名称",
665
+            "单次用量",
666
+            "用法",
667
+            "频率",
668
+            "天数",
669
+            "总量",
670
+            "数据来源",
671
+            "领药人",
672
+          ];
673
+          const filterVal = [
674
+            "index",
675
+            "time",
676
+            "name",
677
+            "yname",
678
+            "single_dosage",
679
+            "usage",
680
+            "frequency",
681
+            "days",
682
+            "total",
683
+            "data_sources",
684
+            "people",
685
+          ];
686
+
687
+          const data = this.formatJson(filterVal, this.tableData);
688
+          excel.export_json_to_excel({
689
+            header: tHeader,
690
+            data,
691
+            filename: "发药单详情",
692
+          });
693
+          this.downloadLoading = false;
694
+        });
695
+      }else{
696
+        this.$message.error("药品状态异常");
697
+        return;
698
+      }
699
+      // import("@/vendor/Export2Excel").then((excel) => {
700
+      //   // for (let i = 0; i < this.tableData.length; i++) {
701
+      //   //   for (let j = 0; j < this.drugTypeList.length; j++) {
702
+      //   //     if (this.exportList[i].drug_type == this.drugTypeList[j].id) {
703
+      //   //       this.exportList[i].drug_type = this.drugTypeList[j].name;
704
+      //   //     }
705
+      //   //   }
706
+      //   // }
707
+      //
708
+      //   const tHeader = [
709
+      //     "序号",
710
+      //     "患者名称",
711
+      //     "单次用量",
712
+      //     "用法",
713
+      //     "频率",
714
+      //     "天数",
715
+      //     "总量",
716
+      //     "数据来源",
717
+      //   ];
718
+      //   const filterVal = [
719
+      //     "index",
720
+      //     "drug_name",
721
+      //     "drug_type",
722
+      //     "unit",
723
+      //     "batch_number",
724
+      //     "warehousing_count",
725
+      //     "price",
726
+      //     "total_price",
727
+      //   ];
728
+      //
729
+      //   const data = this.tableData;
730
+      //   excel.export_json_to_excel({
731
+      //     header: tHeader,
732
+      //     data,
733
+      //     filename: "药品入库单详情",
734
+      //   });
735
+      //   this.downloadLoading = false;
736
+      // });
737
+    },
738
+    formatJson(filterVal, jsonData) {
739
+      return jsonData.map((v) => filterVal.map((j) => v[j]));
740
+    },
498 741
     //列表选择
499 742
     handleSelectionChange(val) {
500 743
       this.multipleSelection = val;
@@ -564,10 +807,38 @@ export default {
564 807
       });
565 808
     },
566 809
     //获取药品列表
810
+    getdruglist02() {
811
+      var tps = this.currentRow.id;
812
+      this.tableData = [];
813
+      var params = {
814
+        keyword: this.keywords,
815
+        time: this.start_time,
816
+        deliveryway: this.deliveryway,
817
+      };
818
+      waitingmedicine(params).then((res) => {
819
+        if (res.data.state == 1) {
820
+          this.waiting_drug = res.data.data.list;
821
+        }
822
+      });
823
+      dispensemedicine(params).then((res) => {
824
+        if (res.data.state == 1) {
825
+          this.issued_drug = res.data.data.list;
826
+        }
827
+      });
828
+      if(this.state == 2){
829
+        this.handleCurrentChange(this.currentRow);
830
+        this.fun5(tps);
831
+      }else{
832
+        this.handleCurrentChange(this.currentRow);
833
+        this.fun4(tps);
834
+      }
835
+    },
836
+    //获取药品列表
567 837
     getdruglist() {
568 838
       var params = {
569 839
         keyword: this.keywords,
570 840
         time: this.start_time,
841
+        deliveryway: this.deliveryway,
571 842
       };
572 843
       waitingmedicine(params).then((res) => {
573 844
         if (res.data.state == 1) {
@@ -584,6 +855,7 @@ export default {
584 855
       var params = {
585 856
         keyword: this.keywords,
586 857
         time: this.start_time,
858
+        deliveryway: this.deliveryway,
587 859
       };
588 860
       await waitingmedicine(params).then((res) => {
589 861
         if (res.data.state == 1) {
@@ -633,6 +905,8 @@ export default {
633 905
     },
634 906
     handleCurrentChange(val) {
635 907
       this.currentRow = val;
908
+      console.log("currentRow",this.currentRow)
909
+      this.total = ""
636 910
       if (this.state == 1) {
637 911
         this.getdrugsdetails(0);
638 912
       }
@@ -640,15 +914,42 @@ export default {
640 914
         this.getdrugsdetails(1);
641 915
       }
642 916
     },
917
+    getdrugsdetails02(val) {
918
+      if(this.state == 1){
919
+        val = 0
920
+      }else{
921
+        val = 1
922
+      }
923
+      var params = {
924
+        drug_id: this.currentRow.id,
925
+        is_medicine: val,
926
+        time: this.start_time,
927
+        shift: this.shift,
928
+        partition: this.partition,
929
+        deliveryway: this.deliveryway,
930
+      };
931
+      getpatientswithdrugs(params).then((res) => {
932
+        if (res.data.state == 1) {
933
+          this.tableData = res.data.data.list; //列表数据
934
+          this.total = res.data.data.total;//合计
935
+        } else {
936
+          this.$message.error(res.data.msg);
937
+        }
938
+      });
939
+    },
643 940
     getdrugsdetails(val) {
644 941
       var params = {
645 942
         drug_id: this.currentRow.id,
646 943
         is_medicine: val,
647 944
         time: this.start_time,
945
+        shift: this.shift,
946
+        partition: this.partition,
947
+        deliveryway: this.deliveryway,
648 948
       };
649 949
       getpatientswithdrugs(params).then((res) => {
650 950
         if (res.data.state == 1) {
651 951
           this.tableData = res.data.data.list; //列表数据
952
+          this.total = res.data.data.total;//合计
652 953
         } else {
653 954
           this.$message.error(res.data.msg);
654 955
         }
@@ -676,6 +977,20 @@ export default {
676 977
         }
677 978
       });
678 979
     },
980
+    getrouteofadministration(){
981
+      var params = {}
982
+      routeofadministration(params).then((res) =>{
983
+        if(res.data.state == 1){
984
+          this.routeofadministration = res.data.data.list;
985
+        }
986
+      })
987
+    },
988
+    getgetpartitionlist(){
989
+      var params = {}
990
+      getpartitionlist(params).then((res) =>{
991
+        this.fen = res.data.data.list;
992
+      })
993
+    },
679 994
     getUserlist(drug_id) {
680 995
       var params = {
681 996
         start_time: this.start_time,
@@ -706,6 +1021,8 @@ export default {
706 1021
     this.getlist();
707 1022
     // this.getdruglist();
708 1023
     this.fun3();
1024
+    this.getrouteofadministration();
1025
+    this.getgetpartitionlist();
709 1026
   },
710 1027
 };
711 1028
 </script>
@@ -759,7 +1076,8 @@ export default {
759 1076
 }
760 1077
 
761 1078
 /deep/ .el-table--scrollable-x .el-table__body-wrapper {
762
-  overflow: auto;
1079
+  overflow-y: auto;
1080
+  overflow-x: hidden;
763 1081
 }
764 1082
 /deep/ .gutter {
765 1083
   width: 15px !important;

+ 99 - 3
src/xt_pages/Pharmacy/PatientDispensing.vue Bestand weergeven

@@ -53,7 +53,7 @@
53 53
           </div>
54 54
 
55 55
           <el-table
56
-            :height="tableHeight"
56
+            height="60vh"
57 57
             ref="table01"
58 58
             :data="waitmount_data"
59 59
             highlight-current-row
@@ -112,6 +112,25 @@
112 112
       </div>
113 113
       <div class="mainRight">
114 114
         <div class="titlelist">
115
+<!--          班次:-->
116
+<!--          <el-select v-model="shift" placeholder="请选择" @change="searchAction">-->
117
+<!--            <el-option-->
118
+<!--              v-for="item in banshift"-->
119
+<!--              :key="item.value"-->
120
+<!--              :label="item.text"-->
121
+<!--              :value="item.value">-->
122
+<!--            </el-option>-->
123
+<!--          </el-select>-->
124
+<!--          分区:-->
125
+<!--          <el-select v-model="partition" placeholder="请选择" @change="searchAction">-->
126
+<!--            <el-option-->
127
+<!--              v-for="item in fen"-->
128
+<!--              :key="item.id"-->
129
+<!--              :label="item.name"-->
130
+<!--              :value="item.id">-->
131
+<!--            </el-option>-->
132
+<!--          </el-select>-->
133
+<!--          <el-button type="primary" @click="toExport" v-if="state == 2">导出</el-button>-->
115 134
           <el-button type="primary" @click="dispense" v-if="state == 1"
116 135
             >发药</el-button
117 136
           >
@@ -119,7 +138,7 @@
119 138
             >退药</el-button
120 139
           >
121 140
           <el-button type="primary" @click="toPrint">打印</el-button>
122
-          <!--          <el-button @click="tiaoshi">调试</el-button>-->
141
+<!--                    <el-button @click="tiaoshi">调试</el-button>-->
123 142
           <el-button type="primary" v-if="state == 1" @click="toSetting"
124 143
             >设置</el-button
125 144
           >
@@ -243,6 +262,7 @@ import {
243 262
   getpharmacycontent,
244 263
   dispensingmedicine,
245 264
   drugwithdrawal,
265
+  getpartitionlist,
246 266
 } from "@/api/pharmacy";
247 267
 const moment = require("moment");
248 268
 export default {
@@ -272,6 +292,15 @@ export default {
272 292
       currentRow: null,
273 293
       dialogVisible: false,
274 294
       is_open: "2",
295
+      banshift:[
296
+        {value:0,text:'全部班'},
297
+        {value:1,text:'上午'},
298
+        {value:2,text: '下午'},
299
+        {value:3,text: '晚上'}
300
+        ],
301
+      shift:0,//班次
302
+      fen:[],
303
+      partition:0,//分区
275 304
     };
276 305
   },
277 306
   watch: {},
@@ -279,12 +308,21 @@ export default {
279 308
     this.init();
280 309
     this.gettodaynumber();
281 310
     this.fun3();
311
+    this.getgetpartitionlist();
282 312
     // this.getwaitmount();//fun3
283 313
     // this.selectedbydefault();
284 314
   },
285 315
   methods: {
316
+    getgetpartitionlist(){
317
+      var params = {}
318
+      getpartitionlist(params).then((res) =>{
319
+        if(res.data.state == 1){
320
+          this.fen = res.data.data.list
321
+        }
322
+      })
323
+    },
286 324
     tiaoshi() {
287
-      console.log("this.tableData", this.tableData);
325
+      console.log("this.partition", this.partition);
288 326
     },
289 327
     async fun3() {
290 328
       console.log("fun3");
@@ -344,6 +382,8 @@ export default {
344 382
       this.state = 1;
345 383
       this.tableData = null;
346 384
       this.currentRow = null;
385
+      this.partition = 0;
386
+      this.shift = 0;
347 387
     },
348 388
     testsss() {
349 389
       this.state = 1;
@@ -397,6 +437,8 @@ export default {
397 437
       var params = {
398 438
         keyword: this.keywords,
399 439
         time: this.start_time,
440
+        shift: this.shift,
441
+        partition: this.partition,
400 442
       };
401 443
       waitingdrug(params).then((res) => {
402 444
         if (res.data.state == 1) {
@@ -415,6 +457,8 @@ export default {
415 457
       var params = {
416 458
         keyword: this.keywords,
417 459
         time: this.start_time,
460
+        shift: this.shift,
461
+        partition: this.partition,
418 462
       };
419 463
       await waitingdrug(params).then((res) => {
420 464
         if (res.data.state == 1) {
@@ -460,6 +504,57 @@ export default {
460 504
         this.start_time
461 505
       );
462 506
     },
507
+    toExport() {
508
+
509
+      import("@/vendor/Export2Excel").then((excel) => {
510
+          for (let i = 0; i < this.tableData.length; i++) {
511
+            this.tableData[i].index = i + 1;
512
+            this.tableData[i].time = this.start_time
513
+            this.tableData[i].uname = this.currentRow.Name
514
+          }
515
+
516
+          const tHeader = [
517
+            "序号",
518
+            "日期",
519
+            "患者名称",
520
+            "名称",
521
+            "单次用量",
522
+            "用法",
523
+            "频率",
524
+            "天数",
525
+            "总量",
526
+            "开立医生",
527
+            "数据来源",
528
+            "备注",
529
+          ];
530
+          const filterVal = [
531
+            "index",
532
+            "time",
533
+            "uname",
534
+            "Name",
535
+            "SingleDosage",
536
+            "Usage",
537
+            "Frequency",
538
+            "Days",
539
+            "Total",
540
+            "Doctor",
541
+            "DataSources",
542
+            "Remarks",
543
+          ];
544
+
545
+          const data = this.formatJson(filterVal, this.tableData);
546
+          excel.export_json_to_excel({
547
+            header: tHeader,
548
+            data,
549
+            filename: "领药单",
550
+          });
551
+          this.downloadLoading = false;
552
+        });
553
+
554
+    },
555
+    formatJson(filterVal, jsonData) {
556
+      return jsonData.map((v) => filterVal.map((j) => v[j]));
557
+    },
463 558
 
464 559
     // 搜索患者
465 560
     searchAction() {
@@ -612,6 +707,7 @@ export default {
612 707
 
613 708
 /deep/ .el-table--scrollable-x .el-table__body-wrapper {
614 709
   overflow: auto;
710
+  overflow-x: hidden;
615 711
 }
616 712
 /deep/ .gutter {
617 713
   width: 15px !important;

+ 23 - 15
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyFour.vue Bestand weergeven

@@ -226,7 +226,7 @@
226 226
               ></label-box>
227 227
             </td>
228 228
           </tr>
229
-          <tr class="list_table_1" style="line-height:40px;">
229
+          <tr class="list_table_1" style="line-height: 40px">
230 230
             <td
231 231
               width="250"
232 232
               style="border-right: none; padding-left: 10px"
@@ -821,9 +821,11 @@
821 821
             <td v-if="advice_index === 1">体重增加量:</td>
822 822
             <td v-if="advice_index === 1">
823 823
               {{
824
-                (
825
-                  predialysis.weight_before - assessmentafter.weight_after
826
-                ).toFixed(2)
824
+                (assessmentafter.weight_after == 0
825
+                  ? 0
826
+                  : (
827
+                      predialysis.weight_before - assessmentafter.weight_after
828
+                    ).toFixed(2))
827 829
               }}kg
828 830
             </td>
829 831
             <td v-if="advice_index === 2">干体重(DW):</td>
@@ -831,9 +833,11 @@
831 833
             <td v-if="advice_index === 3">较干体重增加量:</td>
832 834
             <td v-if="advice_index === 3">
833 835
               {{
834
-                (afterdialysis.weight_after - predialysis.dry_weight).toFixed(
835
-                  2
836
-                )
836
+                afterdialysis.weight_after == 0
837
+                  ? 0
838
+                  : (
839
+                      afterdialysis.weight_after - predialysis.dry_weight
840
+                    ).toFixed(2)
837 841
               }}kg
838 842
             </td>
839 843
             <td v-if="advice_index === 4">净脱水量:</td>
@@ -847,9 +851,11 @@
847 851
             <td v-if="advice_index === 6">本次透析体重下降量:</td>
848 852
             <td v-if="advice_index === 6">
849 853
               {{
850
-                (
851
-                  predialysis.weight_before - afterdialysis.weight_after
852
-                ).toFixed(2)
854
+                afterdialysis.weight_after == 0
855
+                  ? 0
856
+                  : (
857
+                      predialysis.weight_before - afterdialysis.weight_after
858
+                    ).toFixed(2)
853 859
               }}kg
854 860
             </td>
855 861
             <td v-if="advice_index > 6"></td>
@@ -886,9 +892,11 @@
886 892
               >
887 893
                 {{
888 894
                   getAdminUser(
889
-                    prescription == null? 0: prescription.creater ? prescription.prescription_doctor: ""
890
-                     
891
-                     
895
+                    prescription == null
896
+                      ? 0
897
+                      : prescription.creater
898
+                      ? prescription.prescription_doctor
899
+                      : ""
892 900
                   )
893 901
                 }}
894 902
               </span>
@@ -901,8 +909,8 @@
901 909
                       : prescription.creater
902 910
                       ? prescription.creater
903 911
                       : ''
904
-                  ) "
905
-               
912
+                  )
913
+                "
906 914
                 alt=""
907 915
                 srcset=""
908 916
                 v-else

+ 39 - 50
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue Bestand weergeven

@@ -769,36 +769,36 @@
769 769
             <td>
770 770
               <table class="print-table" border="1" style="text-align: center">
771 771
                 <tr>
772
-                  <td style="height: 20px" width="50">
772
+                  <td style="height: 20px" width="60">
773 773
                     <p style="height: 20px; line-height: 20px">时间</p>
774 774
                   </td>
775 775
                   <td
776 776
                     style="height: 20px"
777
-                    width="100"
778
-                    v-if="org_id == 10346 || org_id == 9675"
777
+                    width="90"
778
+                    v-if="org_id == 10346 || org_id == 9675 || org_id == 0"
779 779
                   >
780 780
                     <p style="height: 20px; line-height: 20px">开嘱医生</p>
781 781
                   </td>
782
-                  <td style="height: 20px" width="420">
782
+                  <td style="height: 20px" width="344">
783 783
                     <p style="height: 20px; line-height: 20px">医嘱执行记录</p>
784 784
                   </td>
785 785
                   <td
786 786
                     style="height: 20px"
787
-                    width="100"
788
-                    v-if="org_id == 10346 || org_id == 9675"
787
+                    width="70"
788
+                    v-if="org_id == 10346 || org_id == 9675 || org_id == 0"
789 789
                   >
790 790
                     <p style="height: 20px; line-height: 20px">执行时间</p>
791 791
                   </td>
792
-                  <td style="height: 20px" width="85">
792
+                  <td style="height: 20px" width="90">
793 793
                     <p style="height: 20px; line-height: 20px">执行</p>
794 794
                   </td>
795
-                  <td style="height: 20px" width="85">
795
+                  <td style="height: 20px" width="90">
796 796
                     <p style="height: 20px; line-height: 20px">核对</p>
797 797
                   </td>
798
-                  <td style="height: 20px" width="145">
798
+                  <td style="height: 20px" width="144">
799 799
                     <p style="height: 20px; line-height: 20px">上次透后体重</p>
800 800
                   </td>
801
-                  <td style="height: 20px">
801
+                  <td style="height: 20px" width="60">
802 802
                     {{
803 803
                       patientInfo.total_dialysis +
804 804
                         patientInfo.user_sys_before_count >
@@ -819,35 +819,25 @@
819 819
             <td>
820 820
               <table class="print-table" border="1">
821 821
                 <tr>
822
-                  <td width="50">
822
+                  <td width="60">
823 823
                     {{ getTime(advice.start_time, "{h}:{i}") }}
824 824
                   </td>
825 825
                   <td
826 826
                     style="line-height: 30px"
827
-                    width="100"
828
-                    v-if="org_id == 10346 || org_id == 9675"
827
+                    width="90"
828
+                    v-if="org_id == 10346 || org_id == 9675 || org_id == 0"
829 829
                   >
830 830
                     <span v-if="setAdminUserES(advice.advice_doctor) == ''">
831 831
                       {{ getAdminUser(advice.advice_doctor) }}
832 832
                     </span>
833
-                    <span
834
-                      v-else
835
-                      style="
836
-                        display: flex;
837
-                        align-items: center;
838
-                        justify-content: space-around;
839
-                        height: 36px;
840
-                      "
841
-                    >
842
-                      <img
843
-                        style="height: 30px"
844
-                        :src="setAdminUserES(advice.advice_doctor)"
845
-                        alt
846
-                        srcset
847
-                      />
848
-                    </span>
833
+                    <img
834
+                      style="height: 30px"
835
+                      :src="setAdminUserES(advice.advice_doctor)"
836
+                      alt=""
837
+                      srcset=""
838
+                    />
849 839
                   </td>
850
-                  <td style="text-align: left; padding-left: 5px" width="415">
840
+                  <td style="text-align: left; padding-left: 5px" width="340">
851 841
                     <span v-if="advice.parent_id > 0">---></span>
852 842
                     <span>{{ advice.advice_name }}</span>
853 843
                     <span v-if="advice && advice.advice_desc"
@@ -872,15 +862,15 @@
872 862
                     <span>{{ advice.remark }}</span>
873 863
                   </td>
874 864
                   <td
875
-                    style="line-height: 30px"
876
-                    width="100"
877
-                    v-if="org_id == 10346 || org_id == 9675"
865
+                    style="line-height: 10px"
866
+                    width="70"
867
+                    v-if="org_id == 10346 || org_id == 9675 || org_id == 0"
878 868
                   >
879 869
                     <span v-if="advice.execution_time">{{
880 870
                       getTime(advice.execution_time, "{h}:{i}")
881 871
                     }}</span>
882 872
                   </td>
883
-                  <td style="line-height: 30px" width="85">
873
+                  <td style="line-height: 10px" width="90">
884 874
                     <span v-if="setAdminUserES(advice.execution_staff) == ''">{{
885 875
                       getAdminUser(advice.execution_staff)
886 876
                     }}</span>
@@ -889,10 +879,9 @@
889 879
                       :src="setAdminUserES(advice.execution_staff)"
890 880
                       alt=""
891 881
                       srcset=""
892
-                      v-else
893 882
                     />
894 883
                   </td>
895
-                  <td style="line-height: 30px" width="85">
884
+                  <td style="line-height: 30px" width="90">
896 885
                     <span v-if="setAdminUserES(advice.checker) == ''">{{
897 886
                       getAdminUser(advice.checker)
898 887
                     }}</span>
@@ -906,7 +895,7 @@
906 895
                   </td>
907 896
 
908 897
                   <td v-if="advice_index === 0" width="145">透前体重:</td>
909
-                  <td v-if="advice_index === 0">
898
+                  <td v-if="advice_index === 0" width="60">
910 899
                     {{
911 900
                       patientInfo.total_dialysis +
912 901
                         patientInfo.user_sys_before_count >
@@ -916,20 +905,20 @@
916 905
                     }}kg
917 906
                   </td>
918 907
                   <td v-if="advice_index === 1" width="145">体重增加量:</td>
919
-                  <td v-if="advice_index === 1">
908
+                  <td v-if="advice_index === 1" width="60">
920 909
                     {{
921 910
                       patientInfo.total_dialysis +
922 911
                         patientInfo.user_sys_before_count >
923
-                      0
912
+                        0 && assessmentafter.weight_after != 0
924 913
                         ? (
925 914
                             predialysis.weight_before -
926 915
                             assessmentafter.weight_after
927 916
                           ).toFixed(2)
928
-                        : "/"
917
+                        : 0
929 918
                     }}kg
930 919
                   </td>
931 920
                   <td v-if="advice_index === 2" width="145">干体重(DW):</td>
932
-                  <td v-if="advice_index === 2">
921
+                  <td v-if="advice_index === 2" width="60">
933 922
                     {{
934 923
                       patientInfo.total_dialysis +
935 924
                         patientInfo.user_sys_before_count >
@@ -939,19 +928,19 @@
939 928
                     }}kg
940 929
                   </td>
941 930
                   <td v-if="advice_index === 3" width="145">较干体重增加量:</td>
942
-                  <td v-if="advice_index === 3">
931
+                  <td v-if="advice_index === 3" width="60">
943 932
                     {{
944 933
                       patientInfo.total_dialysis +
945 934
                         patientInfo.user_sys_before_count >
946
-                      0
935
+                        0 && afterdialysis.weight_after != 0
947 936
                         ? (
948 937
                             afterdialysis.weight_after - predialysis.dry_weight
949 938
                           ).toFixed(2)
950
-                        : "/"
939
+                        : 0
951 940
                     }}kg
952 941
                   </td>
953 942
                   <td v-if="advice_index === 4" width="145">净脱水量:</td>
954
-                  <td v-if="advice_index === 4">
943
+                  <td v-if="advice_index === 4" width="60">
955 944
                     {{
956 945
                       patientInfo.total_dialysis +
957 946
                         patientInfo.user_sys_before_count >
@@ -961,7 +950,7 @@
961 950
                     }}ml
962 951
                   </td>
963 952
                   <td v-if="advice_index === 5" width="145">透后体重:</td>
964
-                  <td v-if="advice_index === 5">
953
+                  <td v-if="advice_index === 5" width="60">
965 954
                     {{
966 955
                       patientInfo.total_dialysis +
967 956
                         patientInfo.user_sys_before_count >
@@ -973,20 +962,20 @@
973 962
                   <td v-if="advice_index === 6" width="145">
974 963
                     本次透析体重下降量:
975 964
                   </td>
976
-                  <td v-if="advice_index === 6">
965
+                  <td v-if="advice_index === 6" width="60">
977 966
                     {{
978 967
                       patientInfo.total_dialysis +
979 968
                         patientInfo.user_sys_before_count >
980
-                      0
969
+                        0 && afterdialysis.weight_after != 0
981 970
                         ? (
982 971
                             predialysis.weight_before -
983 972
                             afterdialysis.weight_after
984 973
                           ).toFixed(2)
985
-                        : "/"
974
+                        : 0
986 975
                     }}kg
987 976
                   </td>
988 977
                   <td v-if="advice_index > 6" width="145"></td>
989
-                  <td v-if="advice_index > 6"></td>
978
+                  <td v-if="advice_index > 6" width="60"></td>
990 979
                 </tr>
991 980
               </table>
992 981
             </td>

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue Bestand weergeven

@@ -628,7 +628,7 @@
628 628
                   <table class="inside_table">
629 629
                     <tbody>
630 630
                       <tr>
631
-                        <td colspan="11" style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 0px 8px;line-height: 30px;">
631
+                        <td colspan="12" style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 0px 8px;line-height: 30px;">
632 632
                           监测记录
633 633
                         </td>
634 634
                       </tr>
@@ -680,7 +680,7 @@
680 680
                         </td>
681 681
                       </tr>
682 682
                       <tr>
683
-                        <td colspan="11" style="line-height:25px;text-align:left;">
683
+                        <td colspan="12" style="line-height:25px;text-align:left;">
684 684
                           医师记录:{{ summary.special_record ? summary.special_record : '' }}
685 685
                         </td>
686 686
                       </tr>

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Bestand weergeven

@@ -2083,7 +2083,7 @@
2083 2083
                           white-space: normal;
2084 2084
                         "
2085 2085
                       >
2086
-                        <!-- {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }} -->
2086
+                        {{ afterdialysis.accumulated_blood_volume ? afterdialysis.accumulated_blood_volume : "/" }}
2087 2087
                       </div>
2088 2088
                     </div>
2089 2089
                   </div>

+ 1 - 0
src/xt_pages/hospitalStation/chargeDetailManagement.vue Bestand weergeven

@@ -1776,6 +1776,7 @@ export default {
1776 1776
   height: 36px;
1777 1777
   display: flex;
1778 1778
   align-items: center;
1779
+  padding-top: 10px;
1779 1780
 }
1780 1781
 
1781 1782
 .fixedCell {

Diff onderdrukt omdat het te groot bestand
+ 525 - 421
src/xt_pages/outpatientDoctorStation/batch_delete.vue


+ 412 - 350
src/xt_pages/outpatientDoctorStation/batch_replacement.vue Bestand weergeven

@@ -3,10 +3,16 @@
3 3
   <div class="main-contain new-main-contain">
4 4
     <div class="bannar_list">
5 5
       <div class="banner_left">
6
-        <div style="width:1000px;display: flex">
6
+        <div
7
+          style="width: 1000px; display: flex; justify-content: space-evenly;"
8
+        >
7 9
           <div>
8 10
             透析模式:
9
-            <el-select v-model="modeOptions_value" placeholder="请选择" @change="getUsername">
11
+            <el-select
12
+              v-model="modeOptions_value"
13
+              placeholder="请选择"
14
+              @change="getUsername"
15
+            >
10 16
               <el-option
11 17
                 v-for="item in modeOptions"
12 18
                 :key="item.id"
@@ -75,12 +81,13 @@
75 81
 
76 82
     <div
77 83
       class="app-container"
78
-      style="display: flex; flex: 1; padding: 10px 20px 0px 20px"
84
+      style="display: flex; flex: 1; padding: 10px 10px 0px 10px"
79 85
     >
80 86
       <div class="mainLeft">
81 87
         <div>
82 88
           <el-table
83 89
             border
90
+            height="70vh"
84 91
             ref="multipleTable"
85 92
             :data="tableData"
86 93
             tooltip-effect="dark"
@@ -92,20 +99,18 @@
92 99
               color: '#606266',
93 100
             }"
94 101
           >
95
-            <el-table-column type="selection" width="55"> </el-table-column>
96
-            <el-table-column label="患者姓名" width="184">
102
+            <el-table-column type="selection" width="55" align="center">
103
+            </el-table-column>
104
+            <el-table-column label="患者姓名" width="184" align="center">
97 105
               <template slot-scope="scope">{{ scope.row.name }}</template>
98 106
             </el-table-column>
99 107
           </el-table>
100 108
         </div>
101 109
       </div>
102
-      <div class="mainRight">
110
+      <div class="mainRight" v-if="new_type == 1">
103 111
         <el-table
104
-          v-if="new_type == 1"
105 112
           :data="tableDatas"
106 113
           style="width: 100%"
107
-          :height="tableHeight"
108
-          max-height="70vh"
109 114
           border
110 115
           :row-style="{ color: '#303133' }"
111 116
           :header-cell-style="{
@@ -122,7 +127,6 @@
122 127
           >
123 128
             <template slot-scope="scope">
124 129
               <el-select
125
-                filterable
126 130
                 v-model="scope.row.drug_name"
127 131
                 placeholder="请选择"
128 132
                 @change="changeid(scope.row, scope.$index)"
@@ -233,130 +237,134 @@
233 237
           </el-table-column>
234 238
         </el-table>
235 239
       </div>
236
-      <el-table
237
-        v-if="new_type == 2"
238
-        :data="project"
239
-        style="width: 100%"
240
-        max-height="250"
241
-        border
242
-        :row-style="{ color: '#303133' }"
243
-        :header-cell-style="{
240
+      <div class="mainRight" v-if="new_type == 2">
241
+        <el-table
242
+          :data="project"
243
+          style="width: 100%"
244
+          border
245
+          :row-style="{ color: '#303133' }"
246
+          :header-cell-style="{
244 247
             backgroundColor: 'rgb(245, 247, 250)',
245 248
             color: '#606266',
246 249
           }"
247
-      >
248
-        <el-table-column fixed label="替换项目名称" width="230">
249
-          <template slot-scope="scope">
250
-            <el-select
251
-              filterable
252
-              v-model="scope.row.drug_name"
253
-              placeholder="请选择"
254
-              @change="changeid2(scope.row,scope.$index)"
255
-            >
256
-              <el-option
257
-                v-for="item in projectlist"
258
-                :key="item.id"
259
-                :label="item.name"
260
-                :value="item.id"
261
-              >
262
-              </el-option>
263
-            </el-select>
264
-          </template>
265
-        </el-table-column>
266
-        <el-table-column label="组" width="120">
267
-          <template slot-scope="scope">
268
-            {{scope.row.translate}}
269
-          </template>
270
-        </el-table-column>
271
-        <el-table-column label="单次用量" width="200">
272
-          <template slot-scope="scope">
273
-            <el-input
274
-              v-model="scope.row.single_dose"
275
-              placeholder="请输入内容"
276
-            ></el-input>
277
-            {{ scope.row.unit }}
278
-          </template>
279
-        </el-table-column>
280
-        <el-table-column label="用法" width="120">
281
-          <template slot-scope="scope">
282
-            <el-select
283
-              v-model="scope.row.delivery_way"
284
-              placeholder="请选择"
285
-            >
286
-              <el-option
287
-                v-for="item in usage"
288
-                :key="item.name"
289
-                :label="item.name"
290
-                :value="item.name"
250
+          highlight-current-row
251
+        >
252
+          <el-table-column
253
+            fixed
254
+            label="替换项目名称"
255
+            width="280"
256
+            align="center"
257
+          >
258
+            <template slot-scope="scope">
259
+              <el-select
260
+                filterable
261
+                v-model="scope.row.drug_name"
262
+                placeholder="请选择"
263
+                @change="changeid2(scope.row, scope.$index)"
291 264
               >
292
-              </el-option>
293
-            </el-select>
294
-          </template>
295
-        </el-table-column>
296
-        <el-table-column label="频率" width="120">
297
-          <template slot-scope="scope">
298
-            <el-select
299
-              v-model="scope.row.execution_frequency"
300
-              placeholder="请选择"
301
-            >
302
-              <el-option
303
-                v-for="item in frequency"
304
-                :key="item.name"
305
-                :label="item.name"
306
-                :value="item.name"
265
+                <el-option
266
+                  v-for="item in projectlist"
267
+                  :key="item.id"
268
+                  :label="item.name"
269
+                  :value="item.id"
270
+                >
271
+                </el-option>
272
+              </el-select>
273
+            </template>
274
+          </el-table-column>
275
+          <el-table-column label="组" width="120" align="center">
276
+            <template slot-scope="scope">
277
+              {{ scope.row.translate }}
278
+            </template>
279
+          </el-table-column>
280
+          <el-table-column label="单次用量" width="200" align="center">
281
+            <template slot-scope="scope">
282
+              <el-input
283
+                v-model="scope.row.single_dose"
284
+                placeholder="请输入内容"
285
+              ></el-input>
286
+              {{ scope.row.unit }}
287
+            </template>
288
+          </el-table-column>
289
+          <el-table-column label="用法" width="120" align="center">
290
+            <template slot-scope="scope">
291
+              <el-select v-model="scope.row.delivery_way" placeholder="请选择">
292
+                <el-option
293
+                  v-for="item in usage"
294
+                  :key="item.name"
295
+                  :label="item.name"
296
+                  :value="item.name"
297
+                >
298
+                </el-option>
299
+              </el-select>
300
+            </template>
301
+          </el-table-column>
302
+          <el-table-column label="频率" width="120" align="center">
303
+            <template slot-scope="scope">
304
+              <el-select
305
+                v-model="scope.row.execution_frequency"
306
+                placeholder="请选择"
307 307
               >
308
-              </el-option>
309
-            </el-select>
310
-          </template>
311
-        </el-table-column>
312
-        <el-table-column label="天数" width="110">
313
-          <template slot-scope="scope">
314
-            <el-input
315
-              v-model="scope.row.day"
316
-              placeholder="请输入"
317
-              style="width: 75px"
318
-            ></el-input>天
319
-          </template>
320
-        </el-table-column>
321
-        <el-table-column label="总量" width="200">
322
-          <template slot-scope="scope">
323
-            <el-input
324
-              v-model="scope.row.prescribing_number"
325
-              placeholder="请输入"
326
-              style="width: 75px"
327
-            ></el-input>
328
-            {{ scope.row.unit }}
329
-          </template>
330
-        </el-table-column>
331
-        <el-table-column label="单价" width="120">
332
-          <template slot-scope="scope">
333
-            <el-input v-model="scope.row.price" style="width: 80px"></el-input
334
-            >元
335
-          </template>
336
-        </el-table-column>
337
-        <el-table-column label="备注" width="120">
338
-          <template slot-scope="scope">
339
-            <el-input v-model="scope.row.remark" placeholder=""></el-input>
340
-          </template>
341
-        </el-table-column>
342
-        <!--          <el-table-column label="推送频率" width="120">-->
343
-        <!--            <template slot-scope="scope">-->
344
-        <!--              <div v-if="scope.row.frequency_type == 1">{{'每次必推'}}</div>-->
345
-        <!--              <div v-if="scope.row.frequency_type == 2">{{scope.row.day_count}}天/次</div>-->
346
-        <!--              <div v-if="scope.row.frequency_type == 3">{{scope.row.week_days}}</div>-->
347
-        <!--            </template>-->
348
-        <!--          </el-table-column>-->
349
-        <!--          <el-table-column fixed="right" label="操作" width="102">-->
350
-        <!--            <template slot-scope="scope">-->
351
-        <!--              <el-button-->
352
-        <!--                @click.native.prevent="addopen(scope.$index)"-->
353
-        <!--                type="text"-->
354
-        <!--                size="small">-->
355
-        <!--                推送-->
356
-        <!--              </el-button>-->
357
-        <!--            </template>-->
358
-        <!--          </el-table-column>-->
359
-      </el-table>
308
+                <el-option
309
+                  v-for="item in frequency"
310
+                  :key="item.name"
311
+                  :label="item.name"
312
+                  :value="item.name"
313
+                >
314
+                </el-option>
315
+              </el-select>
316
+            </template>
317
+          </el-table-column>
318
+          <el-table-column label="天数" width="110" align="center">
319
+            <template slot-scope="scope">
320
+              <el-input
321
+                v-model="scope.row.day"
322
+                placeholder="请输入"
323
+                style="width: 75px"
324
+              ></el-input
325
+              >天
326
+            </template>
327
+          </el-table-column>
328
+          <el-table-column label="总量" width="200" align="center">
329
+            <template slot-scope="scope">
330
+              <el-input
331
+                v-model="scope.row.prescribing_number"
332
+                placeholder="请输入"
333
+                style="width: 75px"
334
+              ></el-input>
335
+              {{ scope.row.unit }}
336
+            </template>
337
+          </el-table-column>
338
+          <el-table-column label="单价" width="120" align="center">
339
+            <template slot-scope="scope">
340
+              <el-input v-model="scope.row.price" style="width: 80px"></el-input
341
+              >元
342
+            </template>
343
+          </el-table-column>
344
+          <el-table-column label="备注" width="120" align="center">
345
+            <template slot-scope="scope">
346
+              <el-input v-model="scope.row.remark" placeholder=""></el-input>
347
+            </template>
348
+          </el-table-column>
349
+          <!--          <el-table-column label="推送频率" width="120">-->
350
+          <!--            <template slot-scope="scope">-->
351
+          <!--              <div v-if="scope.row.frequency_type == 1">{{'每次必推'}}</div>-->
352
+          <!--              <div v-if="scope.row.frequency_type == 2">{{scope.row.day_count}}天/次</div>-->
353
+          <!--              <div v-if="scope.row.frequency_type == 3">{{scope.row.week_days}}</div>-->
354
+          <!--            </template>-->
355
+          <!--          </el-table-column>-->
356
+          <!--          <el-table-column fixed="right" label="操作" width="102">-->
357
+          <!--            <template slot-scope="scope">-->
358
+          <!--              <el-button-->
359
+          <!--                @click.native.prevent="addopen(scope.$index)"-->
360
+          <!--                type="text"-->
361
+          <!--                size="small">-->
362
+          <!--                推送-->
363
+          <!--              </el-button>-->
364
+          <!--            </template>-->
365
+          <!--          </el-table-column>-->
366
+        </el-table>
367
+      </div>
360 368
     </div>
361 369
 
362 370
     <el-dialog
@@ -388,9 +396,9 @@
388 396
       </div>
389 397
 
390 398
       <span slot="footer" class="dialog-footer">
391
-    <el-button @click="dialogVisible = false">取 消</el-button>
392
-    <el-button type="primary" @click="">确 定</el-button>
393
-  </span>
399
+        <el-button @click="dialogVisible = false">取 消</el-button>
400
+        <el-button type="primary" @click="">确 定</el-button>
401
+      </span>
394 402
     </el-dialog>
395 403
   </div>
396 404
 </template>
@@ -414,66 +422,97 @@ export default {
414 422
       tableList: [],
415 423
       editableTabsValue: "1",
416 424
       modeOptions: {},
417
-      tableDatas:[{
418
-        id: "",
419
-        drug_name: "",
420
-        single_dose: "",
421
-        single_dose_unit: "",
422
-        delivery_way: "",
423
-        execution_frequency: "",
424
-        day: "",
425
-        prescribing_number: "",
426
-        prescribing_number_unit: "",
427
-        price: "",
428
-        remark: "",
429
-        list_1:[],
430
-        list_2:[],
431
-      },],
432
-      project:[ {
433
-        id: "",
434
-        drug_name: "",
435
-        translate:"",
436
-        single_dose: "",
437
-        unit: "",
438
-        delivery_way: "",
439
-        execution_frequency: "",
440
-        day: "",
441
-        prescribing_number: "",
442
-        price: "",
443
-        remark: "",
444
-        frequency_type:1,
445
-        day_count:"",
446
-        week_days:"",
447
-      },],//项目
425
+      tableDatas: [
426
+        {
427
+          id: "",
428
+          drug_name: "",
429
+          single_dose: "",
430
+          single_dose_unit: "",
431
+          delivery_way: "",
432
+          execution_frequency: "",
433
+          day: "",
434
+          prescribing_number: "",
435
+          prescribing_number_unit: "",
436
+          price: "",
437
+          remark: "",
438
+          list_1: [],
439
+          list_2: [],
440
+        },
441
+      ],
442
+      project: [
443
+        {
444
+          id: "",
445
+          drug_name: "",
446
+          translate: "",
447
+          single_dose: "",
448
+          unit: "",
449
+          delivery_way: "",
450
+          execution_frequency: "",
451
+          day: "",
452
+          prescribing_number: "",
453
+          price: "",
454
+          remark: "",
455
+          frequency_type: 1,
456
+          day_count: "",
457
+          week_days: "",
458
+        },
459
+      ], //项目
448 460
       tabIndex: 2,
449 461
       modeOptions_value: 1, //透析模式
450
-      multipleSelection: [],//选中的患者
451
-      tableData:[],
452
-      options:[{id:1,name:"药品"},{id:2,name:"项目"}],
453
-      options_patient:[{id:1,name:"是"},{id:2,name:"否"}],
454
-      options_2:[{id:1,name:"普通门诊"},{id:2,name:"门诊特殊病"}],
455
-      new_type:1,//新增类型
456
-      druglist:[],//药品列表
457
-      projectlist:[],//项目列表
458
-      id:"",//药品、项目、耗材
459
-      tmplist:[],//临时
460
-      unit:[{id:1,name:"g"},{id:2,name:"mg"},{id:3,name:"u"},{id:4,name:"ml"},{id:5,name:"万U"},{id:6,name:"枚"},{id:7,name:"粒"},
461
-        {id:8,name:"片"},{id:9,name:"支"},{id:10,name:"μg"},{id:11,name:"iu"},{id:12,name:"包"},{id:13,name:"袋"},{id:14,name:"万"},
462
-        {id:15,name:"万iu"},{id:16,name:"丸"},{id:17,name:"盒"},{id:18,name:"瓶"},{id:19,name:"瓶(袋)"},{id:20,name:"次"}],
463
-      usage:[],//用法
464
-      frequency:[],//频率
465
-      frequency_type:"",//周期提醒
466
-      day_count:"",//周期提醒天
467
-      week_days:[],//周期提醒星期
468
-      tabhang:0,//tab的下标
469
-      hang:0,//行数
470
-
471
-    }
462
+      multipleSelection: [], //选中的患者
463
+      tableData: [],
464
+      options: [
465
+        { id: 1, name: "药品" },
466
+        { id: 2, name: "项目" },
467
+      ],
468
+      options_patient: [
469
+        { id: 1, name: "是" },
470
+        { id: 2, name: "否" },
471
+      ],
472
+      options_2: [
473
+        { id: 1, name: "普通门诊" },
474
+        { id: 2, name: "门诊特殊病" },
475
+      ],
476
+      new_type: 1, //新增类型
477
+      druglist: [], //药品列表
478
+      projectlist: [], //项目列表
479
+      id: "", //药品、项目、耗材
480
+      tmplist: [], //临时
481
+      unit: [
482
+        { id: 1, name: "g" },
483
+        { id: 2, name: "mg" },
484
+        { id: 3, name: "u" },
485
+        { id: 4, name: "ml" },
486
+        { id: 5, name: "万U" },
487
+        { id: 6, name: "枚" },
488
+        { id: 7, name: "粒" },
489
+        { id: 8, name: "片" },
490
+        { id: 9, name: "支" },
491
+        { id: 10, name: "μg" },
492
+        { id: 11, name: "iu" },
493
+        { id: 12, name: "包" },
494
+        { id: 13, name: "袋" },
495
+        { id: 14, name: "万" },
496
+        { id: 15, name: "万iu" },
497
+        { id: 16, name: "丸" },
498
+        { id: 17, name: "盒" },
499
+        { id: 18, name: "瓶" },
500
+        { id: 19, name: "瓶(袋)" },
501
+        { id: 20, name: "次" },
502
+      ],
503
+      usage: [], //用法
504
+      frequency: [], //频率
505
+      frequency_type: "", //周期提醒
506
+      day_count: "", //周期提醒天
507
+      week_days: [], //周期提醒星期
508
+      tabhang: 0, //tab的下标
509
+      hang: 0, //行数
510
+    };
472 511
   },
473 512
   created() {
474 513
     // console.log("this.$store.getters.treatment_mode",this.$store.getters.treatment_mode)
475 514
     for (let key in this.$store.getters.treatment_mode) {
476
-      this.modeOptions[key] = this.$store.getters.treatment_mode[key]
515
+      this.modeOptions[key] = this.$store.getters.treatment_mode[key];
477 516
     }
478 517
     // console.log("this.modeOptions",this.modeOptions)
479 518
     this.getdrugconfigs();
@@ -534,27 +573,27 @@ export default {
534 573
           }
535 574
         }
536 575
       }
537
-      if (this.new_type == 1){
538
-        if(this.druglist != null){
539
-          for(let d1 = 0;d1 < this.druglist.length;d1++){
540
-            if(this.id == this.druglist[d1].id){
541
-              tmp2 = this.druglist[d1].name
576
+      if (this.new_type == 1) {
577
+        if (this.druglist != null) {
578
+          for (let d1 = 0; d1 < this.druglist.length; d1++) {
579
+            if (this.id == this.druglist[d1].id) {
580
+              tmp2 = this.druglist[d1].name;
542 581
             }
543
-            if(this.tableDatas != null){
544
-              if(this.tableDatas[0].id == this.druglist[d1].id){
545
-                tmp3 = this.druglist[d1].name
582
+            if (this.tableDatas != null) {
583
+              if (this.tableDatas[0].id == this.druglist[d1].id) {
584
+                tmp3 = this.druglist[d1].name;
546 585
               }
547 586
             }
548 587
           }
549 588
         }
550
-        if(this.druglist2 != null){
551
-          for(let d2 = 0;d2 < this.druglist2.length;d2++){
552
-            if(this.id == this.druglist2[d2].id){
553
-              tmp2 = tmp2 + this.druglist2[d2].name
589
+        if (this.druglist2 != null) {
590
+          for (let d2 = 0; d2 < this.druglist2.length; d2++) {
591
+            if (this.id == this.druglist2[d2].id) {
592
+              tmp2 = tmp2 + this.druglist2[d2].name;
554 593
             }
555
-            if(this.tableDatas != null){
556
-              if(this.tableDatas[0].id == this.druglist2[d2].id){
557
-                tmp3 = this.druglist2[d2].name
594
+            if (this.tableDatas != null) {
595
+              if (this.tableDatas[0].id == this.druglist2[d2].id) {
596
+                tmp3 = this.druglist2[d2].name;
558 597
               }
559 598
             }
560 599
           }
@@ -562,7 +601,7 @@ export default {
562 601
       }
563 602
 
564 603
       this.$confirm(
565
-        "请确定是否保存?",//注:该操作将会把所选患者的"+tmp+"透析模式中的"+tmp2+"替换为"+tmp3+",
604
+        "请确定是否保存?", //注:该操作将会把所选患者的"+tmp+"透析模式中的"+tmp2+"替换为"+tmp3+",
566 605
         "",
567 606
         {
568 607
           confirmButtonText: "确 定",
@@ -574,99 +613,107 @@ export default {
574 613
           this.$message.error("没有选中有效信息");
575 614
           return;
576 615
         }
577
-        let st = ""
578
-        for (let i = 0;i < this.multipleSelection.length;i++){
579
-          st = st + this.multipleSelection[i].id + ","
616
+        let st = "";
617
+        for (let i = 0; i < this.multipleSelection.length; i++) {
618
+          st = st + this.multipleSelection[i].id + ",";
580 619
         }
581
-        console.log("string",st)
620
+        console.log("string", st);
582 621
         let params = {
583
-          mode_id:this.modeOptions_value,
622
+          mode_id: this.modeOptions_value,
584 623
           patient_id: st,
585
-          type:this.new_type,
624
+          type: this.new_type,
586 625
           replaced: this.id,
587
-        }
626
+        };
588 627
         let data1 = {
589
-          "prescriptions": this.tableDatas
590
-        }
628
+          prescriptions: this.tableDatas,
629
+        };
591 630
         let data2 = {
592
-          "prescriptions": this.project
593
-        }
594
-        if (this.new_type == 1){
595
-          replacesavedrug(params,data1).then((res) =>{
596
-            if (res.data.state == 1){
597
-              this.$message.success('替换成功')
598
-              this.multipleSelection = []
599
-              this.tableData=[]
600
-              this.tableDatas=[{
601
-                id: "",
602
-                drug_name: "",
603
-                single_dose: "",
604
-                single_dose_unit: "",
605
-                delivery_way: "",
606
-                execution_frequency: "",
607
-                day: "",
608
-                prescribing_number: "",
609
-                prescribing_number_unit: "",
610
-                price: "",
611
-                remark: "",
612
-              },];
613
-              this.project=[ {
614
-                id: "",
615
-                drug_name: "",
616
-                translate:"",
617
-                single_dose: "",
618
-                unit: "",
619
-                delivery_way: "",
620
-                execution_frequency: "",
621
-                day: "",
622
-                prescribing_number: "",
623
-                price: "",
624
-                remark: "",
625
-                frequency_type:1,
626
-                day_count:"",
627
-                week_days:"",
628
-              },];
629
-            }else{
630
-              this.$message.error(res.data.msg)
631
+          prescriptions: this.project,
632
+        };
633
+        if (this.new_type == 1) {
634
+          replacesavedrug(params, data1).then((res) => {
635
+            if (res.data.state == 1) {
636
+              this.$message.success("替换成功");
637
+              this.multipleSelection = [];
638
+              this.tableData = [];
639
+              this.tableDatas = [
640
+                {
641
+                  id: "",
642
+                  drug_name: "",
643
+                  single_dose: "",
644
+                  single_dose_unit: "",
645
+                  delivery_way: "",
646
+                  execution_frequency: "",
647
+                  day: "",
648
+                  prescribing_number: "",
649
+                  prescribing_number_unit: "",
650
+                  price: "",
651
+                  remark: "",
652
+                },
653
+              ];
654
+              this.project = [
655
+                {
656
+                  id: "",
657
+                  drug_name: "",
658
+                  translate: "",
659
+                  single_dose: "",
660
+                  unit: "",
661
+                  delivery_way: "",
662
+                  execution_frequency: "",
663
+                  day: "",
664
+                  prescribing_number: "",
665
+                  price: "",
666
+                  remark: "",
667
+                  frequency_type: 1,
668
+                  day_count: "",
669
+                  week_days: "",
670
+                },
671
+              ];
672
+            } else {
673
+              this.$message.error(res.data.msg);
631 674
             }
632
-          })
633
-        }else{
634
-          replacesaveproject(params,data2).then((res) =>{
635
-            if (res.data.state == 1){
636
-              this.$message.success('替换成功')
637
-              this.multipleSelection = []
638
-              this.tableData=[]
639
-              this.tableDatas=[{
640
-                id: "",
641
-                drug_name: "",
642
-                single_dose: "",
643
-                single_dose_unit: "",
644
-                delivery_way: "",
645
-                execution_frequency: "",
646
-                day: "",
647
-                prescribing_number: "",
648
-                prescribing_number_unit: "",
649
-                price: "",
650
-                remark: "",
651
-              },];
652
-              this.project=[ {
653
-                id: "",
654
-                drug_name: "",
655
-                translate:"",
656
-                single_dose: "",
657
-                unit: "",
658
-                delivery_way: "",
659
-                execution_frequency: "",
660
-                day: "",
661
-                prescribing_number: "",
662
-                price: "",
663
-                remark: "",
664
-                frequency_type:1,
665
-                day_count:"",
666
-                week_days:"",
667
-              },];
668
-            }else{
669
-              this.$message.error(res.data.msg)
675
+          });
676
+        } else {
677
+          replacesaveproject(params, data2).then((res) => {
678
+            if (res.data.state == 1) {
679
+              this.$message.success("替换成功");
680
+              this.multipleSelection = [];
681
+              this.tableData = [];
682
+              this.tableDatas = [
683
+                {
684
+                  id: "",
685
+                  drug_name: "",
686
+                  single_dose: "",
687
+                  single_dose_unit: "",
688
+                  delivery_way: "",
689
+                  execution_frequency: "",
690
+                  day: "",
691
+                  prescribing_number: "",
692
+                  prescribing_number_unit: "",
693
+                  price: "",
694
+                  remark: "",
695
+                },
696
+              ];
697
+              this.project = [
698
+                {
699
+                  id: "",
700
+                  drug_name: "",
701
+                  translate: "",
702
+                  single_dose: "",
703
+                  unit: "",
704
+                  delivery_way: "",
705
+                  execution_frequency: "",
706
+                  day: "",
707
+                  prescribing_number: "",
708
+                  price: "",
709
+                  remark: "",
710
+                  frequency_type: 1,
711
+                  day_count: "",
712
+                  week_days: "",
713
+                },
714
+              ];
715
+            } else {
716
+              this.$message.error(res.data.msg);
670 717
             }
671 718
           });
672 719
         }
@@ -675,116 +722,126 @@ export default {
675 722
 
676 723
     lili() {
677 724
       // console.log("this.multipleSelection",this.multipleSelection);
678
-      console.log("this.modeOptions_value",this.modeOptions_value)
725
+      console.log("this.modeOptions_value", this.modeOptions_value);
679 726
       // console.log("this.mode",this.modeOptions_value)
680 727
       // console.log("this.projectlist2",this.projectlist2)
681 728
       // console.log("patient_value",this.patient_value)
682 729
     },
683
-    addopen(hang){
684
-      this.hang = hang
730
+    addopen(hang) {
731
+      this.hang = hang;
685 732
       //清空
686 733
       this.week_days = [];
687 734
       this.day_count = "";
688 735
       this.frequency_type = 1;
689 736
       this.dialogVisible = true;
690 737
     },
691
-    changetype(){
692
-      console.log(">>>>>>>",this.new_type)
693
-      this.id = ""
694
-      this.tableData = []
738
+    changetype() {
739
+      console.log(">>>>>>>", this.new_type);
740
+      this.id = "";
741
+      this.tableData = [];
695 742
     },
696 743
     changeid(item, index) {
697 744
       console.log("");
698 745
       item.id = item.drug_name;
699 746
       var params = {
700
-        id:item.id
701
-      }
702
-      getdrugsinformation(params).then((res) =>{
703
-        if (res.data.state == 1){
704
-          console.log("res??",res)
747
+        id: item.id,
748
+      };
749
+      getdrugsinformation(params).then((res) => {
750
+        if (res.data.state == 1) {
751
+          console.log("res??", res);
705 752
           this.tableDatas[0].single_dose = res.data.data.list[0].single_dose;
706
-          this.tableDatas[0].single_dose_unit = res.data.data.list[0].single_dose_unit;
753
+          this.tableDatas[0].single_dose_unit =
754
+            res.data.data.list[0].single_dose_unit;
707 755
           this.tableDatas[0].delivery_way = res.data.data.list[0].delivery_way;
708
-          this.tableDatas[0].execution_frequency = res.data.data.list[0].execution_frequency;
756
+          this.tableDatas[0].execution_frequency =
757
+            res.data.data.list[0].execution_frequency;
709 758
           this.tableDatas[0].day = res.data.data.list[0].drug_day;
710
-          this.tableDatas[0].prescribing_number = res.data.data.list[0].prescribing_number;
711
-          this.tableDatas[0].prescribing_number_unit = res.data.data.list[0].prescribing_number_unit;
712
-          if (res.data.data.list[0].prescribing_number_unit == res.data.data.list[0].min_unit || res.data.data.list[0].prescribing_number_unit == "" || res.data.data.list[0].prescribing_number_unit == null){
759
+          this.tableDatas[0].prescribing_number =
760
+            res.data.data.list[0].prescribing_number;
761
+          this.tableDatas[0].prescribing_number_unit =
762
+            res.data.data.list[0].prescribing_number_unit;
763
+          if (
764
+            res.data.data.list[0].prescribing_number_unit ==
765
+              res.data.data.list[0].min_unit ||
766
+            res.data.data.list[0].prescribing_number_unit == "" ||
767
+            res.data.data.list[0].prescribing_number_unit == null
768
+          ) {
713 769
             this.tableDatas[0].price = res.data.data.list[0].min_price;
714
-          }else{
770
+          } else {
715 771
             this.tableDatas[0].price = res.data.data.list[0].retail_price;
716 772
           }
717 773
           this.tableDatas[0].remark = res.data.data.list[0].remark;
718 774
           this.tableDatas[0].list_1 = res.data.data.list[0].list_1;
719 775
           this.tableDatas[0].list_2 = res.data.data.list[0].list_2;
720 776
         }
721
-      })
777
+      });
722 778
     },
723 779
     handleSelectionChange(val) {
724 780
       this.multipleSelection = val;
725 781
     },
726
-    changeid2(item,index){
727
-      item.id = item.drug_name
782
+    changeid2(item, index) {
783
+      item.id = item.drug_name;
728 784
       var params = {
729
-        id:item.id
730
-      }
731
-      getdrugsinformation(params).then((res) =>{
732
-        if (res.data.state == 1){
733
-          console.log("res??",res)
785
+        id: item.id,
786
+      };
787
+      getdrugsinformation(params).then((res) => {
788
+        if (res.data.state == 1) {
789
+          console.log("res??", res);
734 790
           this.project[0].single_dose = res.data.data.list[0].single_dose;
735 791
           this.project[0].translate = res.data.data.list[0].translate;
736 792
           this.project[0].delivery_way = res.data.data.list[0].delivery_way;
737
-          this.project[0].execution_frequency = res.data.data.list[0].execution_frequency;
793
+          this.project[0].execution_frequency =
794
+            res.data.data.list[0].execution_frequency;
738 795
           this.project[0].day = res.data.data.list[0].day;
739
-          this.project[0].prescribing_number = res.data.data.list[0].prescribing_number;
796
+          this.project[0].prescribing_number =
797
+            res.data.data.list[0].prescribing_number;
740 798
           this.project[0].unit = res.data.data.list[0].unit;
741
-          if (res.data.data.list[0].retail_price != null){
799
+          if (res.data.data.list[0].retail_price != null) {
742 800
             this.project[0].price = res.data.data.list[0].retail_price;
743
-          }else{
801
+          } else {
744 802
             this.project[0].price = res.data.data.list[0].price;
745 803
           }
746 804
 
747 805
           this.project[0].remark = res.data.data.list[0].remark;
748 806
         }
749
-      })
807
+      });
750 808
     },
751 809
     //获取配置
752
-    getdrugconfigs(){
753
-      var params = {}
754
-      replaceconfig(params).then((res) =>{
755
-        if (res.data.state == 1){
756
-          this.druglist = res.data.data.list
757
-          this.projectlist = res.data.data.list2
810
+    getdrugconfigs() {
811
+      var params = {};
812
+      replaceconfig(params).then((res) => {
813
+        if (res.data.state == 1) {
814
+          this.druglist = res.data.data.list;
815
+          this.projectlist = res.data.data.list2;
758 816
         }
759
-      })
760
-      getmodeconfigs(params).then((res) =>{
761
-        if (res.data.state == 1){
762
-          this.frequency = res.data.data.efs
763
-          this.usage = res.data.data.drugways
817
+      });
818
+      getmodeconfigs(params).then((res) => {
819
+        if (res.data.state == 1) {
820
+          this.frequency = res.data.data.efs;
821
+          this.usage = res.data.data.drugways;
764 822
         }
765
-      })
823
+      });
766 824
     },
767
-    getUsername(){
825
+    getUsername() {
768 826
       var params = {
769 827
         id: this.id,
770
-        mode: this.modeOptions_value
771
-      }
772
-      replacepeoplename(params).then((res) =>{
773
-        if (res.data.state == 1){
774
-          this.tableData = res.data.data.list
828
+        mode: this.modeOptions_value,
829
+      };
830
+      replacepeoplename(params).then((res) => {
831
+        if (res.data.state == 1) {
832
+          this.tableData = res.data.data.list;
775 833
         }
776
-      })
834
+      });
777 835
     },
778 836
     handleClose(done) {
779
-      this.$confirm('确认关闭?')
780
-        .then(_ => {
837
+      this.$confirm("确认关闭?")
838
+        .then((_) => {
781 839
           done();
782 840
         })
783
-        .catch(_ => {});
784
-    }
785
-  }
786
-
787
-}
841
+        .catch((_) => {});
842
+    },
843
+  },
844
+};
788 845
 </script>
789 846
 
790 847
 
@@ -810,7 +867,7 @@ export default {
810 867
 }
811 868
 ::v-deep .el-table__body-wrapper {
812 869
   // height: 500px;
813
-  overflow-y: scroll;
870
+  // overflow-y: scroll;
814 871
 }
815 872
 .right_contain {
816 873
   -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27),
@@ -818,11 +875,11 @@ export default {
818 875
 }
819 876
 .bannar_list {
820 877
   width: 99%;
821
-  margin-bottom: 10px;
878
+  margin-top: 20px;
822 879
   display: flex;
823 880
   justify-content: space-between;
824 881
   .banner_left {
825
-    width: 96%;
882
+    width: 100%;
826 883
     margin: 0 auto;
827 884
     display: flex;
828 885
     justify-content: space-between;
@@ -1022,7 +1079,7 @@ export default {
1022 1079
 .mainRight {
1023 1080
   margin-left: 10px;
1024 1081
   flex: 1;
1025
-  height: 100%;
1082
+  height: 70vh;
1026 1083
   display: flex;
1027 1084
   flex-direction: column;
1028 1085
   overflow-y: auto;
@@ -1039,7 +1096,8 @@ export default {
1039 1096
     }
1040 1097
 
1041 1098
     .el-table__body-wrapper {
1042
-      height: auto !important;
1099
+      max-height: 70vh;
1100
+      // overflow-y: scroll;
1043 1101
       .el-table__body {
1044 1102
         width: 100% !important;
1045 1103
       }
@@ -1048,7 +1106,11 @@ export default {
1048 1106
 }
1049 1107
 
1050 1108
 /deep/ .el-table__fixed {
1109
+  height: 101px !important;
1051 1110
   bottom: 0 !important;
1111
+  .el-table__fixed-body-wrapper {
1112
+    top: 45px !important;
1113
+  }
1052 1114
 }
1053 1115
 .mainCenter {
1054 1116
   display: flex;

+ 3 - 2
src/xt_pages/outpatientDoctorStation/modeTemplateDetail.vue Bestand weergeven

@@ -56,7 +56,8 @@
56 56
                             <prescription-template-mode-table ref="prescription_tables"
57 57
                                                          :prescription="curPrescriptions"
58 58
                                                          :preDrugs="preDrugs"
59
-                                                         :activeType="customTabIndex"></prescription-template-mode-table>
59
+                                                         :activeType="customTabIndex">
60
+                            </prescription-template-mode-table>
60 61
                         </el-tabs>
61 62
                     </div>
62 63
                 </div>
@@ -1988,7 +1989,7 @@
1988 1989
         display: flex;
1989 1990
         flex-direction: column;
1990 1991
         position: relative;
1991
-
1992
+        
1992 1993
     .el-form-item {
1993 1994
         width: 33%;
1994 1995
         margin-bottom: 14px;

+ 1 - 1
src/xt_pages/outpatientDoctorStation/prescriptionTemplate.vue Bestand weergeven

@@ -7,7 +7,7 @@
7 7
         <el-button type="primary" @click="batchAdds">批量新增</el-button>
8 8
         <el-button type="primary" @click="batchReplace">批量替换</el-button>
9 9
         <el-button type="danger" @click="batchDeletes">批量删除</el-button>
10
-        <el-button type="primary" @click="add">新增</el-button>
10
+        <el-button type="primary" @click="add" style="width:70px;">新增</el-button>
11 11
       </div>
12 12
     </div>
13 13
 

+ 1 - 1
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue Bestand weergeven

@@ -2142,7 +2142,7 @@
2142 2142
         display: flex;
2143 2143
         flex-direction: column;
2144 2144
         position: relative;
2145
-
2145
+        overflow-x: auto;
2146 2146
     .el-form-item {
2147 2147
         width: 33%;
2148 2148
         margin-bottom: 14px;

+ 4 - 0
src/xt_pages/stock/drugs/drugStockInOrder.vue Bestand weergeven

@@ -112,6 +112,7 @@
112 112
         <el-button size="small" type="primary" @click="toExport()"
113 113
           >导出</el-button
114 114
         >
115
+        <el-button @click="lili">调试</el-button>
115 116
         <div>
116 117
           <span>&nbsp;&nbsp;</span>
117 118
           <label class="title"><span class="name">审核状态</span> :</label>
@@ -997,6 +998,9 @@ export default {
997 998
       });
998 999
     },
999 1000
 
1001
+    lili(){
1002
+      console.log("exportList",this.exportList)
1003
+    },
1000 1004
     toExport() {
1001 1005
       if (this.order_id == "") {
1002 1006
         this.$message.error("请勾选入库单");