소스 검색

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

csx 2 년 전
부모
커밋
9a19b2af72
51개의 변경된 파일5713개의 추가작업 그리고 1734개의 파일을 삭제
  1. 107 0
      src/api/batch/batch.js
  2. 2 2
      src/api/data.js
  3. 16 0
      src/api/pharmacy.js
  4. 16 0
      src/router/modules/hisTool.js
  5. 9 7
      src/store/modules/xt_user.js
  6. 329 6
      src/xt_pages/Pharmacy/DrugDispensing.vue
  7. 122 3
      src/xt_pages/Pharmacy/PatientDispensing.vue
  8. 2 2
      src/xt_pages/data/components/dialysisAfter.vue
  9. 2 2
      src/xt_pages/data/components/dialysisBefore.vue
  10. 4 2
      src/xt_pages/data/components/dialysisComputer.vue
  11. 2 2
      src/xt_pages/data/components/dialysisMonitor.vue
  12. 142 5
      src/xt_pages/data/components/dialysisOff.vue
  13. 2 2
      src/xt_pages/data/components/dialysisPrescription.vue
  14. 2 2
      src/xt_pages/data/components/dialysisSummary.vue
  15. 2 2
      src/xt_pages/data/components/doubleCheck.vue
  16. 2 2
      src/xt_pages/data/components/receiveTreatmentAsses.vue
  17. 3 2
      src/xt_pages/data/showConfig.vue
  18. 13 13
      src/xt_pages/device/components/partition_dialog.vue
  19. 4 0
      src/xt_pages/dialysis/details/assessmentAfter.vue
  20. 9 2
      src/xt_pages/dialysis/details/assessmentBefore.vue
  21. 9 0
      src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue
  22. 9 0
      src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue
  23. 12 11
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  24. 105 56
      src/xt_pages/dialysis/details/dialog/finish_dialog.vue
  25. 14 7
      src/xt_pages/dialysis/details/dialog/monitor_dialog.vue
  26. 2 2
      src/xt_pages/dialysis/details/dialysisMonitoring.vue
  27. 1 0
      src/xt_pages/dialysis/dialysisPrintOrder.vue
  28. 3 3
      src/xt_pages/dialysis/schedualPatient.vue
  29. 23 15
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyFour.vue
  30. 1 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyOne.vue
  31. 42 51
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue
  32. 4 4
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue
  33. 2 8
      src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue
  34. 1 1
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  35. 1 0
      src/xt_pages/hospitalStation/chargeDetailManagement.vue
  36. 6 2
      src/xt_pages/hospitalStation/components/deskPrescription.vue
  37. 4 4
      src/xt_pages/hospitalStation/components/prescriptionTable.vue
  38. 19 14
      src/xt_pages/management/components/RepairForm.vue
  39. 828 0
      src/xt_pages/outpatientDoctorStation/batch_delete.vue
  40. 1240 260
      src/xt_pages/outpatientDoctorStation/batch_mode_template.vue
  41. 1337 0
      src/xt_pages/outpatientDoctorStation/batch_replacement.vue
  42. 10 5
      src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue
  43. 22 13
      src/xt_pages/outpatientDoctorStation/components/prescriptionTemplateTable.vue
  44. 7 7
      src/xt_pages/outpatientDoctorStation/modeTemplate.vue
  45. 3 2
      src/xt_pages/outpatientDoctorStation/modeTemplateDetail.vue
  46. 579 493
      src/xt_pages/outpatientDoctorStation/prescriptionTemplate.vue
  47. 3 1
      src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue
  48. 6 6
      src/xt_pages/sign/components/beforeDialysisCalling.vue
  49. 4 0
      src/xt_pages/stock/drugs/drugStockInOrder.vue
  50. 29 22
      src/xt_pages/user/dialysisSolution.vue
  51. 597 690
      src/xt_pages/workforce/components/template_table.vue

+ 107 - 0
src/api/batch/batch.js 파일 보기

1
+import request from '@/utils/request'
2
+
3
+export function prescriptiontemplate(params,data) {
4
+  return request({
5
+    url: '/api/his/addstemplate',
6
+    method: 'post',
7
+    data:data,
8
+    params:params,
9
+  })
10
+}
11
+export function replacesavedrug(params,data) {
12
+  return request({
13
+    url: '/api/his/replacesavedrug',
14
+    method: 'post',
15
+    data:data,
16
+    params:params,
17
+  })
18
+}
19
+export function replacesaveproject(params,data) {
20
+  return request({
21
+    url: '/api/his/replacesaveproject',
22
+    method: 'post',
23
+    data:data,
24
+    params:params,
25
+  })
26
+}
27
+
28
+export function getdialysismodename(query) {
29
+  return request({
30
+    url: '/api/his/getdialysismodename',
31
+    method: 'get',
32
+    params: query
33
+  })
34
+}
35
+
36
+export function getdrugsname(query) {
37
+  return request({
38
+    url: '/api/his/getdrugsname',
39
+    method: 'get',
40
+    params: query
41
+  })
42
+}
43
+
44
+export function getmodeconfigs(query) {
45
+  return request({
46
+    url: '/api/his/getmodeconfigs',
47
+    method: 'get',
48
+    params: query
49
+  })
50
+}
51
+
52
+//根据id获取药品耗材项目基本信息
53
+export function getdrugsinformation(query) {
54
+  return request({
55
+    url: '/api/his/getdrugsinformation',
56
+    method: 'get',
57
+    params: query
58
+  })
59
+}
60
+//替换——获取患者名字
61
+export function replacepeoplename(query) {
62
+  return request({
63
+    url: '/api/his/replacepeoplename',
64
+    method: 'get',
65
+    params: query
66
+  })
67
+}
68
+//替换——配置
69
+export function replaceconfig(query) {
70
+  return request({
71
+    url: '/api/his/replaceconfig',
72
+    method: 'get',
73
+    params: query
74
+  })
75
+}
76
+//批量删除——药品
77
+export function deletedrugsbatch(query) {
78
+  return request({
79
+    url: '/api/his/deletedrugsbatch',
80
+    method: 'get',
81
+    params: query
82
+  })
83
+}
84
+//批量删除——项目
85
+export function batchdeleteitems(query) {
86
+  return request({
87
+    url: '/api/his/batchdeleteitems',
88
+    method: 'get',
89
+    params: query
90
+  })
91
+}
92
+//根据患者id、透析模式获取处方模板信息
93
+export function ptemplateinformation(query) {
94
+  return request({
95
+    url: '/api/his/ptemplateinformation',
96
+    method: 'get',
97
+    params: query
98
+  })
99
+}
100
+//删除一条记录
101
+export function deleteone(query) {
102
+  return request({
103
+    url: '/api/his/deleteone',
104
+    method: 'get',
105
+    params: query
106
+  })
107
+}

+ 2 - 2
src/api/data.js 파일 보기

43
   })
43
   })
44
 }
44
 }
45
 
45
 
46
-export function updateFieldIsShow(id, is_show) {
46
+export function updateFieldIsShow(id, is_show, is_write) {
47
   return request({
47
   return request({
48
-    url: '/api/filed/show?id=' + id + '&is_show=' + is_show,
48
+    url: '/api/filed/show?id=' + id + '&is_show=' + is_show + '&is_write=' + is_write,
49
     method: 'post'
49
     method: 'post'
50
   })
50
   })
51
 }
51
 }

+ 16 - 0
src/api/pharmacy.js 파일 보기

104
     params: params
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
+}

+ 16 - 0
src/router/modules/hisTool.js 파일 보기

26
       hidden: true,
26
       hidden: true,
27
       is_menu: false
27
       is_menu: false
28
     },
28
     },
29
+    {
30
+      path: '/hisTool/batchDelete',
31
+      component: () => import('@/xt_pages/outpatientDoctorStation/batch_delete'),
32
+      name: 'batchDelete',
33
+      meta: { title: 'batchDelete', noCache: true },
34
+      hidden: true,
35
+      is_menu: false
36
+    },
37
+    {
38
+      path: '/hisTool/batchReplacement',
39
+      component: () => import('@/xt_pages/outpatientDoctorStation/batch_replacement'),
40
+      name: 'batchReplacement',
41
+      meta: { title: 'batchReplacement', noCache: true },
42
+      hidden: true,
43
+      is_menu: false
44
+    },
29
     {
45
     {
30
       path: '/hisTool/modeTemplateDetail',
46
       path: '/hisTool/modeTemplateDetail',
31
       component: () => import('@/xt_pages/outpatientDoctorStation/modeTemplateDetail'),
47
       component: () => import('@/xt_pages/outpatientDoctorStation/modeTemplateDetail'),

+ 9 - 7
src/store/modules/xt_user.js 파일 보기

11
     zone_selected: 0,
11
     zone_selected: 0,
12
     patient_state_selected: 0,
12
     patient_state_selected: 0,
13
     treat_state_selected: 0,
13
     treat_state_selected: 0,
14
-    selected_date:new Date(),
14
+    selected_date: new Date(),
15
     app_id: 0,
15
     app_id: 0,
16
     user: {
16
     user: {
17
       id: 0,
17
       id: 0,
55
     urlfors: [],
55
     urlfors: [],
56
     fileds: [],
56
     fileds: [],
57
 
57
 
58
-    //监测的搜索状态
58
+    // 监测的搜索状态
59
     search_mode: 1,
59
     search_mode: 1,
60
-    //监测的搜索值
61
-    search_value:''
60
+    // 监测的搜索值
61
+    search_value: ''
62
   },
62
   },
63
 
63
 
64
   mutations: {
64
   mutations: {
65
-    SET_SEARCH_VALUE:(state, search_value) => {
65
+    SET_SEARCH_VALUE: (state, search_value) => {
66
       state.search_value = search_value
66
       state.search_value = search_value
67
     },
67
     },
68
-    SET_SEARCH_MODE:(state, search_mode) => {
68
+    SET_SEARCH_MODE: (state, search_mode) => {
69
       state.search_mode = search_mode
69
       state.search_mode = search_mode
70
     },
70
     },
71
     SET_SCHEDULE_TYPE_SELECTED: (state, schedule_type_selected) => {
71
     SET_SCHEDULE_TYPE_SELECTED: (state, schedule_type_selected) => {
380
     }) {
380
     }) {
381
       commit('CLEAR_USER_INFO')
381
       commit('CLEAR_USER_INFO')
382
       removeAdminUserInfoCache()
382
       removeAdminUserInfoCache()
383
-    }, updateFiledConfigList({ commit }, object) {
383
+    },
384
+    updateFiledConfigList({ commit }, object) {
384
       var oldFiledList = getFiledConfigList()
385
       var oldFiledList = getFiledConfigList()
385
       console.log('oldFiledList', oldFiledList)
386
       console.log('oldFiledList', oldFiledList)
386
       var infoJSON = JSON.parse(oldFiledList)
387
       var infoJSON = JSON.parse(oldFiledList)
389
         for (let i = 0; i < infoJSON.length; i++) {
390
         for (let i = 0; i < infoJSON.length; i++) {
390
           if (infoJSON[i].id == object.id) {
391
           if (infoJSON[i].id == object.id) {
391
             infoJSON[i].is_show = object.is_show
392
             infoJSON[i].is_show = object.is_show
393
+            infoJSON[i].is_write = object.is_write
392
           }
394
           }
393
         }
395
         }
394
 
396
 

+ 329 - 6
src/xt_pages/Pharmacy/DrugDispensing.vue 파일 보기

49
 
49
 
50
           <el-table
50
           <el-table
51
             v-if="state == 1"
51
             v-if="state == 1"
52
-            :height="tableHeight"
52
+            height="60vh"
53
             :data="waiting_drug"
53
             :data="waiting_drug"
54
             border
54
             border
55
             style="width: 100%"
55
             style="width: 100%"
114
       </div>
114
       </div>
115
       <div class="mainRight">
115
       <div class="mainRight">
116
         <div class="titlelist">
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
           <!--          <el-button type="primary" @click="tt">调试</el-button>-->
145
           <!--          <el-button type="primary" @click="tt">调试</el-button>-->
118
           <el-button type="primary" @click="dispense" v-if="state == 1"
146
           <el-button type="primary" @click="dispense" v-if="state == 1"
119
             >发药</el-button
147
             >发药</el-button
120
           >
148
           >
121
           <el-button type="primary" @click="toPrint">打印</el-button>
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
         </div>
152
         </div>
125
         <el-divider></el-divider>
153
         <el-divider></el-divider>
126
         <div>
154
         <div>
127
           <el-table
155
           <el-table
128
             :height="tableHeight"
156
             :height="tableHeight"
129
             :data="tableData"
157
             :data="tableData"
158
+            :summary-method="getSummaries"
159
+            show-summary
130
             border
160
             border
131
             highlight-current-row
161
             highlight-current-row
132
             style="width: 1328px"
162
             style="width: 1328px"
317
             </el-table-column>
347
             </el-table-column>
318
           </el-table>
348
           </el-table>
319
         </div>
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
         <div style="margin-top: 25px" v-if="state == 1">
352
         <div style="margin-top: 25px" v-if="state == 1">
321
           领药人:
353
           领药人:
322
           <el-select v-model="admin_user_id" placeholder="请选择">
354
           <el-select v-model="admin_user_id" placeholder="请选择">
382
   getpatientswithdrugs,
414
   getpatientswithdrugs,
383
   medicinedeparture,
415
   medicinedeparture,
384
   getcurrentname,
416
   getcurrentname,
417
+  getpartitionlist,
418
+  routeofadministration,
385
 } from "@/api/pharmacy";
419
 } from "@/api/pharmacy";
386
 const moment = require("moment");
420
 const moment = require("moment");
387
 export default {
421
 export default {
417
       issued_drug: [], //已发药列表
451
       issued_drug: [], //已发药列表
418
       currentRow: null,
452
       currentRow: null,
419
       tmp: 0,
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
   methods: {
469
   methods: {
424
     tt() {
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
     async fun3() {
475
     async fun3() {
429
       console.log("fun3");
476
       console.log("fun3");
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
     changeTimes() {
533
     changeTimes() {
459
       // alert("aa")
534
       // alert("aa")
460
       // this.getdruglist();
535
       // this.getdruglist();
495
         this.start_time
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
     handleSelectionChange(val) {
742
     handleSelectionChange(val) {
500
       this.multipleSelection = val;
743
       this.multipleSelection = val;
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
     getdruglist() {
837
     getdruglist() {
568
       var params = {
838
       var params = {
569
         keyword: this.keywords,
839
         keyword: this.keywords,
570
         time: this.start_time,
840
         time: this.start_time,
841
+        deliveryway: this.deliveryway,
571
       };
842
       };
572
       waitingmedicine(params).then((res) => {
843
       waitingmedicine(params).then((res) => {
573
         if (res.data.state == 1) {
844
         if (res.data.state == 1) {
584
       var params = {
855
       var params = {
585
         keyword: this.keywords,
856
         keyword: this.keywords,
586
         time: this.start_time,
857
         time: this.start_time,
858
+        deliveryway: this.deliveryway,
587
       };
859
       };
588
       await waitingmedicine(params).then((res) => {
860
       await waitingmedicine(params).then((res) => {
589
         if (res.data.state == 1) {
861
         if (res.data.state == 1) {
633
     },
905
     },
634
     handleCurrentChange(val) {
906
     handleCurrentChange(val) {
635
       this.currentRow = val;
907
       this.currentRow = val;
908
+      console.log("currentRow",this.currentRow)
909
+      this.total = ""
636
       if (this.state == 1) {
910
       if (this.state == 1) {
637
         this.getdrugsdetails(0);
911
         this.getdrugsdetails(0);
638
       }
912
       }
640
         this.getdrugsdetails(1);
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
     getdrugsdetails(val) {
940
     getdrugsdetails(val) {
941
+      if(this.state == 1){
942
+        val = 0
943
+      }else{
944
+        val = 1
945
+      }
644
       var params = {
946
       var params = {
645
         drug_id: this.currentRow.id,
947
         drug_id: this.currentRow.id,
646
         is_medicine: val,
948
         is_medicine: val,
647
         time: this.start_time,
949
         time: this.start_time,
950
+        shift: this.shift,
951
+        partition: this.partition,
952
+        deliveryway: this.deliveryway,
648
       };
953
       };
649
       getpatientswithdrugs(params).then((res) => {
954
       getpatientswithdrugs(params).then((res) => {
650
         if (res.data.state == 1) {
955
         if (res.data.state == 1) {
651
           this.tableData = res.data.data.list; //列表数据
956
           this.tableData = res.data.data.list; //列表数据
957
+          this.total = res.data.data.total;//合计
652
         } else {
958
         } else {
653
           this.$message.error(res.data.msg);
959
           this.$message.error(res.data.msg);
654
         }
960
         }
676
         }
982
         }
677
       });
983
       });
678
     },
984
     },
985
+    getrouteofadministration(){
986
+      var params = {}
987
+      routeofadministration(params).then((res) =>{
988
+        if(res.data.state == 1){
989
+          this.routeofadministration = res.data.data.list;
990
+        }
991
+      })
992
+    },
993
+    getgetpartitionlist(){
994
+      var params = {}
995
+      getpartitionlist(params).then((res) =>{
996
+        this.fen = res.data.data.list;
997
+      })
998
+    },
679
     getUserlist(drug_id) {
999
     getUserlist(drug_id) {
680
       var params = {
1000
       var params = {
681
         start_time: this.start_time,
1001
         start_time: this.start_time,
706
     this.getlist();
1026
     this.getlist();
707
     // this.getdruglist();
1027
     // this.getdruglist();
708
     this.fun3();
1028
     this.fun3();
1029
+    this.getrouteofadministration();
1030
+    this.getgetpartitionlist();
709
   },
1031
   },
710
 };
1032
 };
711
 </script>
1033
 </script>
759
 }
1081
 }
760
 
1082
 
761
 /deep/ .el-table--scrollable-x .el-table__body-wrapper {
1083
 /deep/ .el-table--scrollable-x .el-table__body-wrapper {
762
-  overflow: auto;
1084
+  overflow-y: auto;
1085
+  overflow-x: hidden;
763
 }
1086
 }
764
 /deep/ .gutter {
1087
 /deep/ .gutter {
765
   width: 15px !important;
1088
   width: 15px !important;

+ 122 - 3
src/xt_pages/Pharmacy/PatientDispensing.vue 파일 보기

53
           </div>
53
           </div>
54
 
54
 
55
           <el-table
55
           <el-table
56
-            :height="tableHeight"
56
+            height="60vh"
57
             ref="table01"
57
             ref="table01"
58
             :data="waitmount_data"
58
             :data="waitmount_data"
59
             highlight-current-row
59
             highlight-current-row
112
       </div>
112
       </div>
113
       <div class="mainRight">
113
       <div class="mainRight">
114
         <div class="titlelist">
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
           <el-button type="primary" @click="dispense" v-if="state == 1"
134
           <el-button type="primary" @click="dispense" v-if="state == 1"
116
             >发药</el-button
135
             >发药</el-button
117
           >
136
           >
119
             >退药</el-button
138
             >退药</el-button
120
           >
139
           >
121
           <el-button type="primary" @click="toPrint">打印</el-button>
140
           <el-button type="primary" @click="toPrint">打印</el-button>
122
-          <!--          <el-button @click="tiaoshi">调试</el-button>-->
141
+<!--                    <el-button @click="tiaoshi">调试</el-button>-->
123
           <el-button type="primary" v-if="state == 1" @click="toSetting"
142
           <el-button type="primary" v-if="state == 1" @click="toSetting"
124
             >设置</el-button
143
             >设置</el-button
125
           >
144
           >
243
   getpharmacycontent,
262
   getpharmacycontent,
244
   dispensingmedicine,
263
   dispensingmedicine,
245
   drugwithdrawal,
264
   drugwithdrawal,
265
+  getpartitionlist,
246
 } from "@/api/pharmacy";
266
 } from "@/api/pharmacy";
247
 const moment = require("moment");
267
 const moment = require("moment");
248
 export default {
268
 export default {
272
       currentRow: null,
292
       currentRow: null,
273
       dialogVisible: false,
293
       dialogVisible: false,
274
       is_open: "2",
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
   watch: {},
306
   watch: {},
279
     this.init();
308
     this.init();
280
     this.gettodaynumber();
309
     this.gettodaynumber();
281
     this.fun3();
310
     this.fun3();
311
+    this.getgetpartitionlist();
282
     // this.getwaitmount();//fun3
312
     // this.getwaitmount();//fun3
283
     // this.selectedbydefault();
313
     // this.selectedbydefault();
284
   },
314
   },
285
   methods: {
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
     tiaoshi() {
324
     tiaoshi() {
287
-      console.log("this.tableData", this.tableData);
325
+      console.log("this.shift", this.shift);
326
+      console.log("this.partition", this.partition);
327
+      console.log("this.waitmount_data", this.waitmount_data);
328
+      console.log("this.alreadmount_data", this.alreadmount_data);
329
+      console.log("this.waitmount", this.waitmount);
330
+      console.log("this.alreadmount", this.alreadmount);
288
     },
331
     },
289
     async fun3() {
332
     async fun3() {
290
       console.log("fun3");
333
       console.log("fun3");
344
       this.state = 1;
387
       this.state = 1;
345
       this.tableData = null;
388
       this.tableData = null;
346
       this.currentRow = null;
389
       this.currentRow = null;
390
+      this.partition = 0;
391
+      this.shift = 0;
347
     },
392
     },
348
     testsss() {
393
     testsss() {
349
       this.state = 1;
394
       this.state = 1;
397
       var params = {
442
       var params = {
398
         keyword: this.keywords,
443
         keyword: this.keywords,
399
         time: this.start_time,
444
         time: this.start_time,
445
+        shift: this.shift,
446
+        partition: this.partition,
400
       };
447
       };
401
       waitingdrug(params).then((res) => {
448
       waitingdrug(params).then((res) => {
402
         if (res.data.state == 1) {
449
         if (res.data.state == 1) {
403
           this.waitmount_data = res.data.data.list;
450
           this.waitmount_data = res.data.data.list;
451
+          if(this.shift != 0 || this.partition != 0){
452
+            if(this.waitmount_data == null){
453
+              this.waitmount = 0
454
+            }else{
455
+              this.waitmount = this.waitmount_data.length
456
+            }
457
+          }
404
         }
458
         }
405
       });
459
       });
406
       issueddrugs(params).then((res) => {
460
       issueddrugs(params).then((res) => {
407
         if (res.data.state == 1) {
461
         if (res.data.state == 1) {
408
           this.alreadmount_data = res.data.data.list;
462
           this.alreadmount_data = res.data.data.list;
463
+          if(this.shift != 0 || this.partition != 0){
464
+            if (this.alreadmount_data == null){
465
+              this.alreadmount = 0
466
+            }else{
467
+              this.alreadmount = this.alreadmount_data.length
468
+            }
469
+          }
409
         }
470
         }
410
       });
471
       });
411
     },
472
     },
415
       var params = {
476
       var params = {
416
         keyword: this.keywords,
477
         keyword: this.keywords,
417
         time: this.start_time,
478
         time: this.start_time,
479
+        shift: this.shift,
480
+        partition: this.partition,
418
       };
481
       };
419
       await waitingdrug(params).then((res) => {
482
       await waitingdrug(params).then((res) => {
420
         if (res.data.state == 1) {
483
         if (res.data.state == 1) {
460
         this.start_time
523
         this.start_time
461
       );
524
       );
462
     },
525
     },
526
+    toExport() {
527
+
528
+      import("@/vendor/Export2Excel").then((excel) => {
529
+          for (let i = 0; i < this.tableData.length; i++) {
530
+            this.tableData[i].index = i + 1;
531
+            this.tableData[i].time = this.start_time
532
+            this.tableData[i].uname = this.currentRow.Name
533
+          }
534
+
535
+          const tHeader = [
536
+            "序号",
537
+            "日期",
538
+            "患者名称",
539
+            "名称",
540
+            "单次用量",
541
+            "用法",
542
+            "频率",
543
+            "天数",
544
+            "总量",
545
+            "开立医生",
546
+            "数据来源",
547
+            "备注",
548
+          ];
549
+          const filterVal = [
550
+            "index",
551
+            "time",
552
+            "uname",
553
+            "Name",
554
+            "SingleDosage",
555
+            "Usage",
556
+            "Frequency",
557
+            "Days",
558
+            "Total",
559
+            "Doctor",
560
+            "DataSources",
561
+            "Remarks",
562
+          ];
563
+
564
+          const data = this.formatJson(filterVal, this.tableData);
565
+          excel.export_json_to_excel({
566
+            header: tHeader,
567
+            data,
568
+            filename: "领药单",
569
+          });
570
+          this.downloadLoading = false;
571
+        });
572
+
573
+    },
574
+    formatJson(filterVal, jsonData) {
575
+      return jsonData.map((v) => filterVal.map((j) => v[j]));
576
+    },
463
 
577
 
464
     // 搜索患者
578
     // 搜索患者
465
     searchAction() {
579
     searchAction() {
466
       this.tableData = null;
580
       this.tableData = null;
467
       this.getwaitmount();
581
       this.getwaitmount();
582
+      if(this.shift != 0 || this.partition != 0){
583
+      }else{
584
+        this.gettodaynumber();
585
+      }
468
     },
586
     },
469
 
587
 
470
     // 药品发药
588
     // 药品发药
612
 
730
 
613
 /deep/ .el-table--scrollable-x .el-table__body-wrapper {
731
 /deep/ .el-table--scrollable-x .el-table__body-wrapper {
614
   overflow: auto;
732
   overflow: auto;
733
+  overflow-x: hidden;
615
 }
734
 }
616
 /deep/ .gutter {
735
 /deep/ .gutter {
617
   width: 15px !important;
736
   width: 15px !important;

+ 2 - 2
src/xt_pages/data/components/dialysisAfter.vue 파일 보기

89
         type: "warning"
89
         type: "warning"
90
       })
90
       })
91
         .then(() => {
91
         .then(() => {
92
-          updateFieldIsShow(row.id, 2).then(response => {
92
+          updateFieldIsShow(row.id, 2,0).then(response => {
93
             if (response.data.state == 1) {
93
             if (response.data.state == 1) {
94
               let params = {
94
               let params = {
95
                 id: response.data.data.id,
95
                 id: response.data.data.id,
113
         type: "warning"
113
         type: "warning"
114
       })
114
       })
115
         .then(() => {
115
         .then(() => {
116
-          updateFieldIsShow(row.id, 1).then(response => {
116
+          updateFieldIsShow(row.id, 1,1).then(response => {
117
             if (response.data.state == 1) {
117
             if (response.data.state == 1) {
118
               let params = {
118
               let params = {
119
                 id: response.data.data.id,
119
                 id: response.data.data.id,

+ 2 - 2
src/xt_pages/data/components/dialysisBefore.vue 파일 보기

77
           cancelButtonText: '取 消',
77
           cancelButtonText: '取 消',
78
           type: 'warning'
78
           type: 'warning'
79
         }).then(() => {
79
         }).then(() => {
80
-          updateFieldIsShow(row.id, 2).then(response => {
80
+          updateFieldIsShow(row.id, 2,0).then(response => {
81
             if (response.data.state == 1) {
81
             if (response.data.state == 1) {
82
               const params = {
82
               const params = {
83
                 id: response.data.data.id,
83
                 id: response.data.data.id,
103
           cancelButtonText: '取 消',
103
           cancelButtonText: '取 消',
104
           type: 'warning'
104
           type: 'warning'
105
         }).then(() => {
105
         }).then(() => {
106
-          updateFieldIsShow(row.id, 1).then(response => {
106
+          updateFieldIsShow(row.id, 1,1).then(response => {
107
             if (response.data.state == 1) {
107
             if (response.data.state == 1) {
108
               const params = {
108
               const params = {
109
                 id: response.data.data.id,
109
                 id: response.data.data.id,

+ 4 - 2
src/xt_pages/data/components/dialysisComputer.vue 파일 보기

30
         </template>
30
         </template>
31
       </el-table-column>
31
       </el-table-column>
32
 
32
 
33
+   
34
+
33
       <el-table-column label="操作" align="center">
35
       <el-table-column label="操作" align="center">
34
         <template slot-scope="scope">
36
         <template slot-scope="scope">
35
           <el-tooltip
37
           <el-tooltip
89
           type: "warning"
91
           type: "warning"
90
         })
92
         })
91
           .then(() => {
93
           .then(() => {
92
-            updateFieldIsShow(row.id, 2).then(response => {
94
+            updateFieldIsShow(row.id, 2,0).then(response => {
93
               if (response.data.state == 1) {
95
               if (response.data.state == 1) {
94
                 let params = {
96
                 let params = {
95
                   id: response.data.data.id,
97
                   id: response.data.data.id,
113
           type: "warning"
115
           type: "warning"
114
         })
116
         })
115
           .then(() => {
117
           .then(() => {
116
-            updateFieldIsShow(row.id, 1).then(response => {
118
+            updateFieldIsShow(row.id, 1,1).then(response => {
117
               if (response.data.state == 1) {
119
               if (response.data.state == 1) {
118
                 let params = {
120
                 let params = {
119
                   id: response.data.data.id,
121
                   id: response.data.data.id,

+ 2 - 2
src/xt_pages/data/components/dialysisMonitor.vue 파일 보기

89
         type: "warning"
89
         type: "warning"
90
       })
90
       })
91
         .then(() => {
91
         .then(() => {
92
-          updateFieldIsShow(row.id, 2).then(response => {
92
+          updateFieldIsShow(row.id, 2,0).then(response => {
93
             if (response.data.state == 1) {
93
             if (response.data.state == 1) {
94
               let params = {
94
               let params = {
95
                 id: response.data.data.id,
95
                 id: response.data.data.id,
113
         type: "warning"
113
         type: "warning"
114
       })
114
       })
115
         .then(() => {
115
         .then(() => {
116
-          updateFieldIsShow(row.id, 1).then(response => {
116
+          updateFieldIsShow(row.id, 1,1).then(response => {
117
             if (response.data.state == 1) {
117
             if (response.data.state == 1) {
118
               let params = {
118
               let params = {
119
                 id: response.data.data.id,
119
                 id: response.data.data.id,

+ 142 - 5
src/xt_pages/data/components/dialysisOff.vue 파일 보기

30
         </template>
30
         </template>
31
       </el-table-column>
31
       </el-table-column>
32
 
32
 
33
+      <el-table-column align="center" label="是否必填">
34
+        <template slot-scope="scope">
35
+          <span v-if="scope.row.is_write == 1">是</span>
36
+          <span v-if="scope.row.is_write == 0">否</span>
37
+        </template>
38
+      </el-table-column>
39
+
33
       <el-table-column label="操作" align="center">
40
       <el-table-column label="操作" align="center">
34
         <template slot-scope="scope">
41
         <template slot-scope="scope">
35
-          <el-tooltip
42
+            <el-button
43
+              v-if="scope.row.is_show == 1"
44
+              size="small"
45
+              type="danger"
46
+              icon="el-icon-remove-outline"
47
+              @click="handleHide(scope.$index, scope.row)"
48
+            >
49
+            </el-button>
50
+            <el-button
51
+              v-if="scope.row.is_write == 1"
52
+              size="small"
53
+              type="danger"
54
+              icon="el-icon-remove-outline"
55
+              @click="handleHideOne(scope.$index, scope.row)"
56
+            >
57
+            </el-button>
58
+
59
+             <el-button
60
+              v-if="scope.row.is_show == 2"
61
+              size="small"
62
+              type="primary"
63
+              icon="el-icon-view"
64
+              @click="handleShow(scope.$index, scope.row)"
65
+            >
66
+            </el-button>
67
+            <el-button
68
+              v-if="scope.row.is_write == 0"
69
+              size="small"
70
+              type="primary"
71
+              icon="el-icon-view"
72
+              @click="handleShowOne(scope.$index, scope.row)"
73
+            >
74
+            </el-button>
75
+          <!-- <el-tooltip
36
             class="item"
76
             class="item"
37
             effect="dark"
77
             effect="dark"
38
             content="不展示"
78
             content="不展示"
48
             </el-button>
88
             </el-button>
49
           </el-tooltip>
89
           </el-tooltip>
50
 
90
 
91
+           <el-tooltip
92
+            class="item"
93
+            effect="dark"
94
+            content="不必填"
95
+            placement="top"
96
+            v-if="scope.row.is_write == 1"
97
+          >
98
+            <el-button
99
+              size="small"
100
+              type="danger"
101
+              icon="el-icon-remove-outline"
102
+              @click="handleHideOne(scope.$index, scope.row)"
103
+            >
104
+            </el-button>
105
+          </el-tooltip>
106
+
51
           <el-tooltip
107
           <el-tooltip
52
             class="item"
108
             class="item"
53
             effect="dark"
109
             effect="dark"
62
               @click="handleShow(scope.$index, scope.row)"
118
               @click="handleShow(scope.$index, scope.row)"
63
             >
119
             >
64
             </el-button>
120
             </el-button>
121
+           
65
           </el-tooltip>
122
           </el-tooltip>
123
+
124
+           <el-tooltip
125
+            class="item"
126
+            effect="dark"
127
+            content="必填"
128
+            placement="top"
129
+            v-if="scope.row.is_write == 2"
130
+          >
131
+            <el-button
132
+              size="small"
133
+              type="primary"
134
+              icon="el-icon-view"
135
+              @click="handleShowOne(scope.$index, scope.row)"
136
+            >
137
+            </el-button>
138
+           
139
+          </el-tooltip> -->
66
         </template>
140
         </template>
67
       </el-table-column>
141
       </el-table-column>
68
     </el-table>
142
     </el-table>
81
       type: Array
155
       type: Array
82
     }
156
     }
83
   },
157
   },
158
+  data(){
159
+    return {
160
+    is_show:2,
161
+    is_write:0,
162
+   }
163
+  },
84
   methods: {
164
   methods: {
85
     handleHide: function(index, row) {
165
     handleHide: function(index, row) {
86
       this.$confirm("是否将该字段设为不可见?", "提示", {
166
       this.$confirm("是否将该字段设为不可见?", "提示", {
89
         type: "warning"
169
         type: "warning"
90
       })
170
       })
91
         .then(() => {
171
         .then(() => {
92
-          updateFieldIsShow(row.id, 2).then(response => {
172
+          updateFieldIsShow(row.id, 2,row.is_write).then(response => {
93
             if (response.data.state == 1) {
173
             if (response.data.state == 1) {
174
+              this.is_show = response.data.data.is_show
94
               let params = {
175
               let params = {
95
                 id: response.data.data.id,
176
                 id: response.data.data.id,
96
-                is_show: response.data.data.is_show
177
+                is_show: response.data.data.is_show,
178
+                is_write:response.data.data.is_write,
179
+              };
180
+              store.dispatch("updateFiledConfigList", params).then(() => {});
181
+              this.$emit("change", params);
182
+            }
183
+          });
184
+          this.$message({
185
+            type: "success",
186
+            message: "设置成功!"
187
+          });
188
+        })
189
+        .catch(() => {});
190
+    },
191
+    handleHideOne: function(index, row) {
192
+      this.$confirm("是否将该字段设为不必填?", "提示", {
193
+        confirmButtonText: "确 定",
194
+        cancelButtonText: "取 消",
195
+        type: "warning"
196
+      })
197
+        .then(() => {
198
+          updateFieldIsShow(row.id,row.is_show,0).then(response => {
199
+          
200
+            if (response.data.state == 1) {
201
+              this.is_write = response.data.data.is_write
202
+              let params = {
203
+                id: response.data.data.id,
204
+                is_show: response.data.data.is_show,
205
+                is_write:response.data.data.is_write,
97
               };
206
               };
98
               store.dispatch("updateFiledConfigList", params).then(() => {});
207
               store.dispatch("updateFiledConfigList", params).then(() => {});
99
               this.$emit("change", params);
208
               this.$emit("change", params);
112
         cancelButtonText: "取 消",
221
         cancelButtonText: "取 消",
113
         type: "warning"
222
         type: "warning"
114
       }).then(() => {
223
       }).then(() => {
115
-          updateFieldIsShow(row.id, 1).then(response => {
224
+          updateFieldIsShow(row.id, 1,row.is_write).then(response => {
225
+            if (response.data.state == 1) {
226
+              this.is_show = response.data.data.is_show
227
+              let params = {
228
+                id: response.data.data.id,
229
+                is_show: response.data.data.is_show,
230
+                is_write:response.data.data.is_write,
231
+              };
232
+              store.dispatch("updateFiledConfigList", params).then(() => {});
233
+              this.$emit("change", params);
234
+            }
235
+          });
236
+          this.$message({
237
+            type: "success",
238
+            message: "设置成功!"
239
+          });
240
+        })
241
+        .catch(() => {});
242
+    },
243
+    handleShowOne: function(index, row) {
244
+      this.$confirm("是否将该字段设为必填?", "提示", {
245
+        confirmButtonText: "确 定",
246
+        cancelButtonText: "取 消",
247
+        type: "warning"
248
+      }).then(() => {
249
+         
250
+          updateFieldIsShow(row.id,row.is_show,1).then(response => {
116
             if (response.data.state == 1) {
251
             if (response.data.state == 1) {
252
+              this.is_write = response.data.data.is_write
117
               let params = {
253
               let params = {
118
                 id: response.data.data.id,
254
                 id: response.data.data.id,
119
-                is_show: response.data.data.is_show
255
+                is_show: response.data.data.is_show,
256
+                is_write:response.data.data.is_write,
120
               };
257
               };
121
               store.dispatch("updateFiledConfigList", params).then(() => {});
258
               store.dispatch("updateFiledConfigList", params).then(() => {});
122
               this.$emit("change", params);
259
               this.$emit("change", params);

+ 2 - 2
src/xt_pages/data/components/dialysisPrescription.vue 파일 보기

89
         type: "warning"
89
         type: "warning"
90
       })
90
       })
91
         .then(() => {
91
         .then(() => {
92
-          updateFieldIsShow(row.id, 2).then(response => {
92
+          updateFieldIsShow(row.id, 2,0).then(response => {
93
             if (response.data.state == 1) {
93
             if (response.data.state == 1) {
94
               let params = {
94
               let params = {
95
                 id: response.data.data.id,
95
                 id: response.data.data.id,
113
         type: "warning"
113
         type: "warning"
114
       })
114
       })
115
         .then(() => {
115
         .then(() => {
116
-          updateFieldIsShow(row.id, 1).then(response => {
116
+          updateFieldIsShow(row.id, 1,1).then(response => {
117
             if (response.data.state == 1) {
117
             if (response.data.state == 1) {
118
               let params = {
118
               let params = {
119
                 id: response.data.data.id,
119
                 id: response.data.data.id,

+ 2 - 2
src/xt_pages/data/components/dialysisSummary.vue 파일 보기

89
         type: "warning"
89
         type: "warning"
90
       })
90
       })
91
         .then(() => {
91
         .then(() => {
92
-          updateFieldIsShow(row.id, 2).then(response => {
92
+          updateFieldIsShow(row.id, 2,0).then(response => {
93
             if (response.data.state == 1) {
93
             if (response.data.state == 1) {
94
               let params = {
94
               let params = {
95
                 id: response.data.data.id,
95
                 id: response.data.data.id,
113
         type: "warning"
113
         type: "warning"
114
       })
114
       })
115
         .then(() => {
115
         .then(() => {
116
-          updateFieldIsShow(row.id, 1).then(response => {
116
+          updateFieldIsShow(row.id, 1,1).then(response => {
117
             if (response.data.state == 1) {
117
             if (response.data.state == 1) {
118
               let params = {
118
               let params = {
119
                 id: response.data.data.id,
119
                 id: response.data.data.id,

+ 2 - 2
src/xt_pages/data/components/doubleCheck.vue 파일 보기

89
         type: "warning"
89
         type: "warning"
90
       })
90
       })
91
         .then(() => {
91
         .then(() => {
92
-          updateFieldIsShow(row.id, 2).then(response => {
92
+          updateFieldIsShow(row.id, 2,0).then(response => {
93
             if (response.data.state == 1) {
93
             if (response.data.state == 1) {
94
               let params = {
94
               let params = {
95
                 id: response.data.data.id,
95
                 id: response.data.data.id,
112
         cancelButtonText: "取 消",
112
         cancelButtonText: "取 消",
113
         type: "warning"
113
         type: "warning"
114
       }).then(() => {
114
       }).then(() => {
115
-          updateFieldIsShow(row.id, 1).then(response => {
115
+          updateFieldIsShow(row.id, 1,1).then(response => {
116
             if (response.data.state == 1) {
116
             if (response.data.state == 1) {
117
               let params = {
117
               let params = {
118
                 id: response.data.data.id,
118
                 id: response.data.data.id,

+ 2 - 2
src/xt_pages/data/components/receiveTreatmentAsses.vue 파일 보기

88
         type: "warning"
88
         type: "warning"
89
       })
89
       })
90
         .then(() => {
90
         .then(() => {
91
-          updateFieldIsShow(row.id, 2).then(response => {
91
+          updateFieldIsShow(row.id, 2,0).then(response => {
92
             if (response.data.state == 1) {
92
             if (response.data.state == 1) {
93
               let params = {
93
               let params = {
94
                 id: response.data.data.id,
94
                 id: response.data.data.id,
112
         type: "warning"
112
         type: "warning"
113
       })
113
       })
114
         .then(() => {
114
         .then(() => {
115
-          updateFieldIsShow(row.id, 1).then(response => {
115
+          updateFieldIsShow(row.id, 1,1).then(response => {
116
             if (response.data.state == 1) {
116
             if (response.data.state == 1) {
117
               let params = {
117
               let params = {
118
                 id: response.data.data.id,
118
                 id: response.data.data.id,

+ 3 - 2
src/xt_pages/data/showConfig.vue 파일 보기

175
       }
175
       }
176
     },
176
     },
177
     changeDialysisOffData:function(object){
177
     changeDialysisOffData:function(object){
178
-
178
+    
179
      for (let i = 0; i < this.dialysis_off_data.length; i++) {
179
      for (let i = 0; i < this.dialysis_off_data.length; i++) {
180
         if (this.dialysis_off_data[i].id == object.id) {
180
         if (this.dialysis_off_data[i].id == object.id) {
181
           this.dialysis_off_data[i].is_show = object.is_show;
181
           this.dialysis_off_data[i].is_show = object.is_show;
182
+          this.dialysis_off_data[i].is_write = object.is_write
182
         }
183
         }
183
       }
184
       }
184
     }
185
     }
186
   },
187
   },
187
   created() {
188
   created() {
188
     var filedList = store.getters.xt_user.fileds;
189
     var filedList = store.getters.xt_user.fileds;
189
-    
190
+    console.log("地址32323232232332322我噢",filedList)
190
   
191
   
191
     for (let i = 0; i < filedList.length; i++) {
192
     for (let i = 0; i < filedList.length; i++) {
192
       switch (filedList[i].module) {
193
       switch (filedList[i].module) {

+ 13 - 13
src/xt_pages/device/components/partition_dialog.vue 파일 보기

10
                         <el-table-column prop="name" label="分区名称" align="center"></el-table-column>
10
                         <el-table-column prop="name" label="分区名称" align="center"></el-table-column>
11
                         <el-table-column prop="type" label="分区类型" align="center"></el-table-column>
11
                         <el-table-column prop="type" label="分区类型" align="center"></el-table-column>
12
                         <!-- <el-table-column prop="amount" label="机号数量" align="center"></el-table-column> -->
12
                         <!-- <el-table-column prop="amount" label="机号数量" align="center"></el-table-column> -->
13
-                        <el-table-column label="操作" align="center"> 
13
+                        <el-table-column label="操作" align="center">
14
                             <template slot-scope="scope">
14
                             <template slot-scope="scope">
15
                                 <el-button type="primary" icon="el-icon-edit" size="small" @click="modifyZoneAt(scope.row)"></el-button>
15
                                 <el-button type="primary" icon="el-icon-edit" size="small" @click="modifyZoneAt(scope.row)"></el-button>
16
 
16
 
22
                                         <el-button size="mini" @click="scope.row.willDelete = false">取消</el-button>
22
                                         <el-button size="mini" @click="scope.row.willDelete = false">取消</el-button>
23
                                     </div>
23
                                     </div>
24
                                 </el-popover> -->
24
                                 </el-popover> -->
25
-                            </template>  
25
+                            </template>
26
                         </el-table-column>
26
                         </el-table-column>
27
                     </el-table>
27
                     </el-table>
28
                 </el-tab-pane>
28
                 </el-tab-pane>
34
                         <el-table-column prop="zone_name" label="所属分区" align="center"></el-table-column>
34
                         <el-table-column prop="zone_name" label="所属分区" align="center"></el-table-column>
35
                         <el-table-column prop="group_name" label="所属分组" align="center"></el-table-column>
35
                         <el-table-column prop="group_name" label="所属分组" align="center"></el-table-column>
36
                         <!-- <el-table-column prop="amount" label="机号数量" align="center"></el-table-column> -->
36
                         <!-- <el-table-column prop="amount" label="机号数量" align="center"></el-table-column> -->
37
-                        <el-table-column label="操作" align="center"> 
37
+                        <el-table-column label="操作" align="center">
38
                             <template slot-scope="scope">
38
                             <template slot-scope="scope">
39
                                 <el-button type="primary" icon="el-icon-edit" size="small" @click="modifyDeviceNumberAt(scope.row)"></el-button>
39
                                 <el-button type="primary" icon="el-icon-edit" size="small" @click="modifyDeviceNumberAt(scope.row)"></el-button>
40
 
40
 
46
                                     </div>
46
                                     </div>
47
                                     <el-button type="danger" slot="reference"  icon="el-icon-delete" size="mini">删除</el-button>
47
                                     <el-button type="danger" slot="reference"  icon="el-icon-delete" size="mini">删除</el-button>
48
                                 </el-popover> -->
48
                                 </el-popover> -->
49
-                            </template>  
49
+                            </template>
50
                         </el-table-column>
50
                         </el-table-column>
51
                     </el-table>
51
                     </el-table>
52
                 </el-tab-pane>
52
                 </el-tab-pane>
68
                                     </div>
68
                                     </div>
69
                                     <el-button type="danger" slot="reference" icon="el-icon-delete" size="mini">删除</el-button>
69
                                     <el-button type="danger" slot="reference" icon="el-icon-delete" size="mini">删除</el-button>
70
                                 </el-popover> -->
70
                                 </el-popover> -->
71
-                            </template>  
71
+                            </template>
72
                         </el-table-column>
72
                         </el-table-column>
73
                     </el-table>
73
                     </el-table>
74
                 </el-tab-pane>
74
                 </el-tab-pane>
75
             </el-tabs>
75
             </el-tabs>
76
-            
76
+
77
             <!-- <span slot="footer" class="dialog-footer">
77
             <!-- <span slot="footer" class="dialog-footer">
78
-                <el-button type="primary" @click="visible = false">保 存</el-button>            
78
+                <el-button type="primary" @click="visible = false">保 存</el-button>
79
                 <el-button @click="visible = false">取 消</el-button>
79
                 <el-button @click="visible = false">取 消</el-button>
80
             </span> -->
80
             </span> -->
81
         </el-dialog>
81
         </el-dialog>
273
                                 this.$message.error(resp.msg)
273
                                 this.$message.error(resp.msg)
274
                             }
274
                             }
275
                         })
275
                         })
276
-                        
276
+
277
                     } else {
277
                     } else {
278
                         modifyZone(this.zone_form.id, this.zone_form.name, this.zone_form.type).then(rs => {
278
                         modifyZone(this.zone_form.id, this.zone_form.name, this.zone_form.type).then(rs => {
279
                             var resp = rs.data
279
                             var resp = rs.data
293
                             }
293
                             }
294
                         })
294
                         })
295
                     }
295
                     }
296
-                    
296
+
297
                 } else {
297
                 } else {
298
                     return false
298
                     return false
299
                 }
299
                 }
314
                                 this.$message.error(resp.msg)
314
                                 this.$message.error(resp.msg)
315
                             }
315
                             }
316
                         })
316
                         })
317
-                        
317
+
318
                     } else {
318
                     } else {
319
                         modifyGroup(this.group_form.id, this.group_form.name).then(rs => {
319
                         modifyGroup(this.group_form.id, this.group_form.name).then(rs => {
320
                             var resp = rs.data
320
                             var resp = rs.data
333
                             }
333
                             }
334
                         })
334
                         })
335
                     }
335
                     }
336
-                    
336
+
337
                 } else {
337
                 } else {
338
                     return false
338
                     return false
339
                 }
339
                 }
354
                                 this.$message.error(resp.msg)
354
                                 this.$message.error(resp.msg)
355
                             }
355
                             }
356
                         })
356
                         })
357
-                        
357
+
358
                     } else {
358
                     } else {
359
                         modifyDeviceNumber(this.number_form.id, this.number_form.number, this.number_form.zone, this.number_form.group).then(rs => {
359
                         modifyDeviceNumber(this.number_form.id, this.number_form.number, this.number_form.zone, this.number_form.group).then(rs => {
360
                             var resp = rs.data
360
                             var resp = rs.data
375
                             }
375
                             }
376
                         })
376
                         })
377
                     }
377
                     }
378
-                    
378
+
379
                 } else {
379
                 } else {
380
                     return false
380
                     return false
381
                 }
381
                 }

+ 4 - 0
src/xt_pages/dialysis/details/assessmentAfter.vue 파일 보기

324
           <label>管路凝血: </label>
324
           <label>管路凝血: </label>
325
           <span class="content" >{{ this.record.pip_coagulation}}</span>
325
           <span class="content" >{{ this.record.pip_coagulation}}</span>
326
         </li>
326
         </li>
327
+       <li v-if="isShow('累计血容量')">
328
+          <label>累计血容量: </label>
329
+          <span class="content" >{{ this.record.accumulated_blood_volume}}</span>
330
+        </li>
327
       </ul>
331
       </ul>
328
     </div>
332
     </div>
329
     <!-- <div class="note">
333
     <!-- <div class="note">

+ 9 - 2
src/xt_pages/dialysis/details/assessmentBefore.vue 파일 보기

5
     </h2>
5
     </h2>
6
     <div class="plate ">
6
     <div class="plate ">
7
       <ul>
7
       <ul>
8
-        <li v-if="isShow('透前重')">
9
-          <label>透前重 : </label>
8
+        <li v-if="isShow('透前重')">
9
+          <label>透前重 : </label>
10
           <span class="content" v-if="weight_before != '0'">{{
10
           <span class="content" v-if="weight_before != '0'">{{
11
             weight_before
11
             weight_before
12
           }}</span>
12
           }}</span>
13
           <span class="unit" v-if="weight_before != '0'">kg</span>
13
           <span class="unit" v-if="weight_before != '0'">kg</span>
14
         </li>
14
         </li>
15
 
15
 
16
+        <li v-if="isShow('透前体重备注')">
17
+          <label>透前体重备注 : </label>
18
+          <span class="content">
19
+            {{this.record.weight_befor_remake}}
20
+          </span>
21
+        </li>
22
+
16
         <li v-if="isShow('干体重')">
23
         <li v-if="isShow('干体重')">
17
           <label>干体重 : </label>
24
           <label>干体重 : </label>
18
           <span class="content" v-if="dry_weight != '0'">{{ dry_weight }}</span>
25
           <span class="content" v-if="dry_weight != '0'">{{ dry_weight }}</span>

+ 9 - 0
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue 파일 보기

614
               <el-input v-model="form.after_urea"></el-input>
614
               <el-input v-model="form.after_urea"></el-input>
615
             </el-form-item>
615
             </el-form-item>
616
        </el-col>
616
        </el-col>
617
+       <el-col :span="8" v-if="isShow('累计血容量')">
618
+            <el-form-item label="累计血容量(L):"  label-width="150px">
619
+              <el-input v-model="form.accumulated_blood_volume"></el-input>
620
+            </el-form-item>
621
+        </el-col>
617
         <el-col :span="24" v-if="isShow('KT/V')">
622
         <el-col :span="24" v-if="isShow('KT/V')">
618
             <el-form-item label="KT/V:">
623
             <el-form-item label="KT/V:">
619
               <el-input type="textarea" :rows="4" v-model="form.ktv"></el-input>
624
               <el-input type="textarea" :rows="4" v-model="form.ktv"></el-input>
620
             </el-form-item>
625
             </el-form-item>
621
         </el-col>
626
         </el-col>
627
+
628
+      
622
       </el-form>
629
       </el-form>
623
 
630
 
624
 
631
 
793
         fallrisk:"",
800
         fallrisk:"",
794
         machine_run:"",
801
         machine_run:"",
795
         after_urea:"",
802
         after_urea:"",
803
+        accumulated_blood_volume:"",
796
       },
804
       },
797
       lapseList:[],
805
       lapseList:[],
798
       leaveOfficeMethod:[],
806
       leaveOfficeMethod:[],
1013
       data["machine_run"] = this.form.machine_run
1021
       data["machine_run"] = this.form.machine_run
1014
       data["after_urea"] = this.form.after_urea
1022
       data["after_urea"] = this.form.after_urea
1015
       data["pip_coagulation"] = this.form.pip_coagulation
1023
       data["pip_coagulation"] = this.form.pip_coagulation
1024
+      data["accumulated_blood_volume"] = this.form.accumulated_blood_volume
1016
       console.log("Paramsquery",data)
1025
       console.log("Paramsquery",data)
1017
 
1026
 
1018
       postAssessmentAfterDislysis(ParamsQuery, data)
1027
       postAssessmentAfterDislysis(ParamsQuery, data)

+ 9 - 0
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue 파일 보기

29
             </el-form-item>
29
             </el-form-item>
30
           </el-col>
30
           </el-col>
31
 
31
 
32
+          <el-col :span="8">
33
+            <el-form-item label="透前体重备注:" v-if="isShow('透前体重备注')">
34
+              <el-input v-model="assessmentBeforeDislysis.weight_befor_remake"></el-input>
35
+            </el-form-item>
36
+          </el-col>
37
+
32
           <el-col :span="8">
38
           <el-col :span="8">
33
             <el-form-item label="干体重(kg):"
39
             <el-form-item label="干体重(kg):"
34
                           v-if="isShow('干体重')">
40
                           v-if="isShow('干体重')">
553
               <el-input v-model="assessmentBeforeDislysis.suction" @focus="showInnerDialog('20')"></el-input>
559
               <el-input v-model="assessmentBeforeDislysis.suction" @focus="showInnerDialog('20')"></el-input>
554
             </el-form-item>
560
             </el-form-item>
555
           </el-col>
561
           </el-col>
562
+
563
+ 
556
          
564
          
557
           <el-col :span="24">
565
           <el-col :span="24">
558
             <el-form-item label="备注: ">
566
             <el-form-item label="备注: ">
725
           blood_pressure_during_dialysis:"",
733
           blood_pressure_during_dialysis:"",
726
           urea_befor:"",
734
           urea_befor:"",
727
           suction:"",
735
           suction:"",
736
+          weight_befor_remake:"",
728
         },
737
         },
729
 
738
 
730
         InnerDialogProps: {
739
         InnerDialogProps: {

+ 12 - 11
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 파일 보기

196
 
196
 
197
                     <el-col :span="8" v-if="anticoagulant.shouji != -1 && isShows('首剂')">
197
                     <el-col :span="8" v-if="anticoagulant.shouji != -1 && isShows('首剂')">
198
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.template_id!=54">
198
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.template_id!=54">
199
-                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.org_id != 10346">
199
+                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387">
200
                             <el-form-item
200
                             <el-form-item
201
                                     v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9987'
201
                                     v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9987'
202
                                     :label="'首剂(' + anticoagulant.shouji_unit + ') : '">
202
                                     :label="'首剂(' + anticoagulant.shouji_unit + ') : '">
207
                             </el-form-item>
207
                             </el-form-item>
208
 
208
 
209
                             <el-form-item
209
                             <el-form-item
210
-                                    v-if='dialysisPrescription.anticoagulant == 2 && this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.org_id == 10346 && dialysisPrescription.anticoagulant == 2'
210
+                                    v-if='dialysisPrescription.anticoagulant == 2 && this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10387 && dialysisPrescription.anticoagulant == 2'
211
                                     :label="'首剂(mg) : '">
211
                                     :label="'首剂(mg) : '">
212
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
212
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
213
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
213
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
256
 
256
 
257
                     <el-col :span="8" v-if="anticoagulant.weichi != -1 && isShows('维持')">
257
                     <el-col :span="8" v-if="anticoagulant.weichi != -1 && isShows('维持')">
258
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 ">
258
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 ">
259
-                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346">
259
+                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387">
260
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
260
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
261
                                           v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9987  && this.$store.getters.xt_user.template_info.org_id != 54">
261
                                           v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9987  && this.$store.getters.xt_user.template_info.org_id != 54">
262
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
262
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
265
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
265
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
266
                             </el-form-item>
266
                             </el-form-item>
267
                             <el-form-item :label="'维持(mg/h) : '"
267
                             <el-form-item :label="'维持(mg/h) : '"
268
-                                          v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.org_id == 54 ||  this.$store.getters.xt_user.template_info.org_id == 10346">
268
+                                          v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.org_id == 54 ||  this.$store.getters.xt_user.template_info.org_id == 10346 ||  this.$store.getters.xt_user.template_info.org_id == 10387">
269
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
269
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
270
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
270
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
271
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
271
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
308
 
308
 
309
                     <el-col :span="8" v-if="anticoagulant.zongliang != -1 && isShows('总量')">
309
                     <el-col :span="8" v-if="anticoagulant.zongliang != -1 && isShows('总量')">
310
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157">
310
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157">
311
-                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346">
311
+                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387">
312
                             <el-form-item
312
                             <el-form-item
313
-                                    v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38  && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346'
313
+                                    v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38  && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387'
314
                                     :label="'总量(' + anticoagulant.zongliang_unit + ') : '">
314
                                     :label="'总量(' + anticoagulant.zongliang_unit + ') : '">
315
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
315
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
316
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
316
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
318
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
318
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
319
                             </el-form-item>
319
                             </el-form-item>
320
                             <el-form-item
320
                             <el-form-item
321
-                                    v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38||  this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.template_id == 54 || this.$store.getters.xt_user.template_info.org_id == 10346'
321
+                                    v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38||  this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.template_id == 54 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10387'
322
                                     :label="'总量(mg) : '">
322
                                     :label="'总量(mg) : '">
323
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
323
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
324
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
324
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
2204
                 return
2204
                 return
2205
               }
2205
               }
2206
             }
2206
             }
2207
-            if(this.dialysisPrescription.mode_id!=2 && this.dialysisPrescription.mode_id!=5 && this.dialysisPrescription.mode_id!=12){
2208
-                this.dialysisPrescription.displace_liqui_part = 0
2209
-                this.dialysisPrescription.displace_liqui_value = 0
2210
-            } 
2207
+            
2211
           }
2208
           }
2209
+          if(this.dialysisPrescription.mode_id!=2 && this.dialysisPrescription.mode_id!=5 && this.dialysisPrescription.mode_id!=12){
2210
+            this.dialysisPrescription.displace_liqui_part = 0
2211
+            this.dialysisPrescription.displace_liqui_value = 0
2212
+          } 
2212
 
2213
 
2213
           this.is_pre = 1
2214
           this.is_pre = 1
2214
 
2215
 

+ 105 - 56
src/xt_pages/dialysis/details/dialog/finish_dialog.vue 파일 보기

4
       <!-- <div class="txsj">
4
       <!-- <div class="txsj">
5
       </div> -->
5
       </div> -->
6
       <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
6
       <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
7
-      <el-form :model="form" label-width="100px">
7
+      <el-form :model="form" label-width="100px"  :rules="drugdicRules"  ref="form">
8
         <el-form-item label="下机护士">
8
         <el-form-item label="下机护士">
9
           <el-select v-model="form.nurse_id" :disabled="!(dialysis_order.id != 0)">
9
           <el-select v-model="form.nurse_id" :disabled="!(dialysis_order.id != 0)">
10
             <el-option v-for="(admin, index) in admins" :key="index" :value="admin.id" :label="admin.name"></el-option>
10
             <el-option v-for="(admin, index) in admins" :key="index" :value="admin.id" :label="admin.name"></el-option>
28
               <el-radio :label="2">无</el-radio>
28
               <el-radio :label="2">无</el-radio>
29
            </el-radio-group>
29
            </el-radio-group>
30
         </el-form-item>
30
         </el-form-item>
31
-        
31
+
32
         <el-form-item label="内瘘: " v-if="isShowFiled('内瘘')">
32
         <el-form-item label="内瘘: " v-if="isShowFiled('内瘘')">
33
             <el-input v-model="form.internal_fistula" readonly  @focus="showInnerDialog('7')" style="width:200px"></el-input>
33
             <el-input v-model="form.internal_fistula" readonly  @focus="showInnerDialog('7')" style="width:200px"></el-input>
34
         </el-form-item>
34
         </el-form-item>
35
 
35
 
36
-    
36
+
37
         <el-form-item label="导管: " v-if="isShowFiled('导管')">
37
         <el-form-item label="导管: " v-if="isShowFiled('导管')">
38
           <el-input v-model="form.catheter" @focus="showInnerDialog('4')" style="width:200px"></el-input>
38
           <el-input v-model="form.catheter" @focus="showInnerDialog('4')" style="width:200px"></el-input>
39
         </el-form-item>
39
         </el-form-item>
45
             readonly
45
             readonly
46
             @focus="showInnerDialog('1')"
46
             @focus="showInnerDialog('1')"
47
           ></el-input>
47
           ></el-input>
48
-       </el-form-item> 
48
+       </el-form-item>
49
 
49
 
50
         <el-form-item>
50
         <el-form-item>
51
-          <el-button v-if="(dialysis_order.id != 0 && dialysis_order.stage == 1)" @click="submit" :loading="loading"
51
+          <el-button v-if="(dialysis_order.id != 0 && dialysis_order.stage == 1)" @click="submit('form')" :loading="loading"
52
                      type="primary">执行下机
52
                      type="primary">执行下机
53
           </el-button>
53
           </el-button>
54
           <el-button
54
           <el-button
55
             v-if="dialysis_order.stage == 2 "
55
             v-if="dialysis_order.stage == 2 "
56
-            type="primary" @click="modifyFinish">修改下机
56
+            type="primary" @click="modifyFinish('form')">修改下机
57
           </el-button>
57
           </el-button>
58
         </el-form-item>
58
         </el-form-item>
59
-        
59
+
60
 
60
 
61
 
61
 
62
       </el-form>
62
       </el-form>
114
         },
114
         },
115
         catheter: [],
115
         catheter: [],
116
         cruorOptions: [],
116
         cruorOptions: [],
117
+        drugdicRules: {
118
+         internal_fistula: [{ required: true, message: "请选择内瘘" }]
119
+        },
120
+        required:false,
117
       }
121
       }
118
     },
122
     },
119
     props: {
123
     props: {
165
     methods: {
169
     methods: {
166
        isShowFiled(name) {
170
        isShowFiled(name) {
167
         var filedList = store.getters.xt_user.fileds
171
         var filedList = store.getters.xt_user.fileds
168
-       
169
         for (let i = 0; i < filedList.length; i++) {
172
         for (let i = 0; i < filedList.length; i++) {
170
           if (filedList[i].module == 9 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
173
           if (filedList[i].module == 9 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
171
             return true
174
             return true
172
           }
175
           }
176
+          if (filedList[i].module == 9 && filedList[i].filed_name_cn == name && filedList[i].is_write == 1) {
177
+             this.required = true
178
+          }
173
         }
179
         }
180
+        this.required = false
181
+        return false
182
+      },
183
+      isWrite(name){
184
+        var filedList = store.getters.xt_user.fileds
185
+        for (let i = 0; i < filedList.length; i++) {
186
+          if (filedList[i].module == 9 && filedList[i].filed_name_cn == name && filedList[i].is_write == 1) {
187
+            return true
188
+          }
189
+        }
190
+        
174
         return false
191
         return false
175
       },
192
       },
176
       show: function(record) {
193
       show: function(record) {
193
         if(this.$route.query.patient_id){
210
         if(this.$route.query.patient_id){
194
           this.patient_id = this.$route.query.patient_id
211
           this.patient_id = this.$route.query.patient_id
195
         }
212
         }
196
-        
213
+
197
         this.schedule_date = this.$route.query.date
214
         this.schedule_date = this.$route.query.date
198
 
215
 
199
         if (this.dialysis_order.id == 0) {
216
         if (this.dialysis_order.id == 0) {
250
       hide: function() {
267
       hide: function() {
251
         this.visible = false
268
         this.visible = false
252
       },
269
       },
253
-      modifyFinish:function(){
254
-        let ParamsQuery = {};
255
-        ParamsQuery["id"] = this.dialysis_order.id;
256
-        ParamsQuery["nurse"] = this.form.nurse_id;
257
-        ParamsQuery["end_time"] = this.end_time;
258
-        ParamsQuery["mode"] = "2"
259
-        ParamsQuery["puncture_point_haematoma"] = paseInt(this.form.puncture_point_haematoma)
260
-        ParamsQuery["internal_fistula"] = this.form.internal_fistula
261
-        ParamsQuery["catheter"] = this.form.catheter
262
-        ParamsQuery["cruor"] = this.form.cruor
263
-        if(this.dialysis_order.finish_creator  != this.$store.getters.xt_user.user.id){
264
-          ParamsQuery["mode"] = "3"
265
-        }
266
-        PostModifyFinishDialysis(ParamsQuery).then(response => {
267
-          if (response.data.state == 0) {
268
-            this.$message.error(response.data.msg)
269
-
270
-            return false;
271
-          } else {
272
-            this.$message.success("修改成功")
273
-            var record = this.dialysis_order;
274
-            for (const key in response.data.data.dialysis_order) {
275
-              this.$set(record, key, response.data.data.dialysis_order[key]);
270
+      modifyFinish:function(formName){
271
+        this.$refs[formName].validate(valid=>{
272
+          if(valid){
273
+            if(this.isWrite("内瘘") == true && this.form.internal_fistula == ""){
274
+              this.$message.error("请选择内瘘")
275
+              return
276
+             }
277
+            if(this.isWrite("导管") == true && this.form.catheter == ""){
278
+              this.$message.error("请选择导管")
279
+              return
280
+             }
281
+            if(this.isWrite("透析器凝血") == true && this.form.cruor == ""){
282
+              this.$message.error("请选择透析器凝血")
283
+              return
284
+             }
285
+            let ParamsQuery = {};
286
+            ParamsQuery["id"] = this.dialysis_order.id;
287
+            ParamsQuery["nurse"] = this.form.nurse_id;
288
+            ParamsQuery["end_time"] = this.end_time;
289
+            ParamsQuery["mode"] = "2"
290
+            ParamsQuery["puncture_point_haematoma"] = parseInt(this.form.puncture_point_haematoma)
291
+            ParamsQuery["internal_fistula"] = this.form.internal_fistula
292
+            ParamsQuery["catheter"] = this.form.catheter
293
+            ParamsQuery["cruor"] = this.form.cruor
294
+            if(this.dialysis_order.finish_creator  != this.$store.getters.xt_user.user.id){
295
+              ParamsQuery["mode"] = "3"
276
             }
296
             }
277
-            console.log(response.data.data.after)
278
-            this.$emit('assessmentAfterDislysis', response.data.data.after)
279
-          }
280
-        });
281
-
297
+            PostModifyFinishDialysis(ParamsQuery).then(response => {
298
+              if (response.data.state == 0) {
299
+                this.$message.error(response.data.msg)
282
 
300
 
301
+                return false;
302
+              } else {
303
+                this.$message.success("修改成功")
304
+                var record = this.dialysis_order;
305
+                for (const key in response.data.data.dialysis_order) {
306
+                  this.$set(record, key, response.data.data.dialysis_order[key]);
307
+                }
308
+                console.log(response.data.data.after)
309
+                this.$emit('assessmentAfterDislysis', response.data.data.after)
310
+              }
311
+            });
312
+          }
313
+        })
283
       },
314
       },
284
-      submit: function() {
285
-        this.loading = true
286
-        let mode = "1"
287
-        finishDialysis(this.patient_id,this.schedule_date ? parseTime(this.schedule_date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}'), this.end_time, this.form.nurse_id,mode,parseInt(this.form.puncture_point_haematoma),this.form.internal_fistula,this.form.catheter,this.form.cruor).then(rs => {
288
-          this.loading = false
289
-          var resp = rs.data
290
-          if (resp.state == 1) {
291
-            var dialysis_order = resp.data.dialysis_order
292
-            var this_order = this.dialysis_order
293
-            for (const key in dialysis_order) {
294
-              this.$set(this_order, key, dialysis_order[key])
295
-            }
296
-            let orgId = parseInt(sessionStorage.getItem("org_id"));
297
-            this.hide()
298
-            this.$emit('assessmentAfterDislysis', resp.data.assessmentAfterDislysis)
315
+      submit: function(formName) {
316
+        
317
+        this.$refs[formName].validate(valid=>{
318
+          if(valid){
319
+             if(this.isWrite("内瘘") == true && this.form.internal_fistula == ""){
320
+              this.$message.error("请选择内瘘")
321
+              return
322
+             }
323
+            if(this.isWrite("导管") == true && this.form.catheter == ""){
324
+              this.$message.error("请选择导管")
325
+              return
326
+             }
327
+            if(this.isWrite("透析器凝血") == true && this.form.cruor == ""){
328
+              this.$message.error("请选择透析器凝血")
329
+              return
330
+             }
331
+             this.loading = true
332
+             let mode = "1"
333
+            finishDialysis(this.patient_id,this.schedule_date ? parseTime(this.schedule_date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}'), this.end_time, this.form.nurse_id,mode,parseInt(this.form.puncture_point_haematoma),this.form.internal_fistula,this.form.catheter,this.form.cruor).then(rs => {
334
+              this.loading = false
335
+              var resp = rs.data
336
+              if (resp.state == 1) {
337
+                var dialysis_order = resp.data.dialysis_order
338
+                var this_order = this.dialysis_order
339
+                for (const key in dialysis_order) {
340
+                  this.$set(this_order, key, dialysis_order[key])
341
+                }
342
+                let orgId = parseInt(sessionStorage.getItem("org_id"));
343
+                this.hide()
344
+                this.$emit('assessmentAfterDislysis', resp.data.assessmentAfterDislysis)
299
 
345
 
300
-          } else {
301
-            this.$message.error(resp.msg)
346
+              } else {
347
+                this.$message.error(resp.msg)
348
+              }
349
+            })
302
           }
350
           }
303
         })
351
         })
352
+    
304
       }, getTime(value, temp) {
353
       }, getTime(value, temp) {
305
         if (value != undefined) {
354
         if (value != undefined) {
306
           return parseTime(value, temp)
355
           return parseTime(value, temp)
364
             this.InnerDialogProps.selected = this.form.cruor
413
             this.InnerDialogProps.selected = this.form.cruor
365
             this.InnerDialogProps.isShowTextArea = false
414
             this.InnerDialogProps.isShowTextArea = false
366
             break
415
             break
367
-          
416
+
368
         }
417
         }
369
       },
418
       },
370
       innerDialogComfirm: function(val) {
419
       innerDialogComfirm: function(val) {
383
       },
432
       },
384
       innerDialogCancle: function() {
433
       innerDialogCancle: function() {
385
         this.InnerDialogProps.visibility = false
434
         this.InnerDialogProps.visibility = false
386
-      }, 
435
+      },
387
     }
436
     }
388
   }
437
   }
389
 </script>
438
 </script>

+ 14 - 7
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue 파일 보기

707
             align="center"
707
             align="center"
708
             label="累计血容量(ml)"
708
             label="累计血容量(ml)"
709
             width="100"
709
             width="100"
710
-            v-if="isShow('累计血容量') && template_id != 41"
710
+            v-if="isShow('累计血容量') && template_id != 41 && org_id != 9538 && org_id != 9671"
711
           >
711
           >
712
              <template slot-scope="scope">
712
              <template slot-scope="scope">
713
               {{ scope.row.accumulated_blood_volume }}
713
               {{ scope.row.accumulated_blood_volume }}
718
             align="center"
718
             align="center"
719
             label="累计血容量(L)"
719
             label="累计血容量(L)"
720
             width="100"
720
             width="100"
721
-            v-if="isShow('累计血容量') && template_id == 41"
721
+            v-if="isShow('累计血容量') && (template_id == 41  || org_id == 9538 || org_id == 9671)"
722
           >
722
           >
723
             <template slot-scope="scope">
723
             <template slot-scope="scope">
724
               {{ scope.row.accumulated_blood_volume }}
724
               {{ scope.row.accumulated_blood_volume }}
1384
             </el-form-item>
1384
             </el-form-item>
1385
           </el-col>
1385
           </el-col>
1386
 
1386
 
1387
-          <el-col :span="8" v-if="isShow('累计血容量') && template_id == 41">
1387
+          <el-col :span="8" v-if="isShow('累计血容量') && (template_id == 41 || org_id == 9671 || org_id == 9538)">
1388
             <el-form-item label="累计血容量(L):">
1388
             <el-form-item label="累计血容量(L):">
1389
               <el-input v-model="form.accumulated_blood_volume"></el-input>
1389
               <el-input v-model="form.accumulated_blood_volume"></el-input>
1390
             </el-form-item>
1390
             </el-form-item>
1391
           </el-col>
1391
           </el-col>
1392
-         
1393
-          <el-col :span="8" v-if="isShow('累计血容量') && template_id  != 41">
1392
+
1393
+          <el-col :span="8" v-if="isShow('累计血容量') && (template_id  != 41 && template_id !=9671 && template_id!=9538)">
1394
             <el-form-item label="累计血容量(ml):">
1394
             <el-form-item label="累计血容量(ml):">
1395
               <el-input v-model="form.accumulated_blood_volume"></el-input>
1395
               <el-input v-model="form.accumulated_blood_volume"></el-input>
1396
             </el-form-item>
1396
             </el-form-item>
1553
 
1553
 
1554
       <div slot="footer" class="dialog-footer" v-show="edit">
1554
       <div slot="footer" class="dialog-footer" v-show="edit">
1555
         <el-button @click="cancelEditAction">取 消</el-button>
1555
         <el-button @click="cancelEditAction">取 消</el-button>
1556
-        <el-button type="primary" @click="submitAction">保 存</el-button>
1556
+        <el-button :loading="loading" type="primary"  @click="submitAction">保 存</el-button>
1557
       </div>
1557
       </div>
1558
       <!--</div>-->
1558
       <!--</div>-->
1559
     </el-dialog>
1559
     </el-dialog>
1576
   name: "MonitorDialog",
1576
   name: "MonitorDialog",
1577
   data() {
1577
   data() {
1578
     return {
1578
     return {
1579
+      loading: false,
1579
       is_has_create: true,
1580
       is_has_create: true,
1580
       is_has_modify: true,
1581
       is_has_modify: true,
1581
       is_has_modify_other: true,
1582
       is_has_modify_other: true,
1685
     // this.form.monitoring_time = parseTime(new Date(), "{h}:{i}")
1686
     // this.form.monitoring_time = parseTime(new Date(), "{h}:{i}")
1686
     this.form.operate_time = new Date().getTime();
1687
     this.form.operate_time = new Date().getTime();
1687
     var symptoms = getDataConfig("hemodialysis", "symptoms");
1688
     var symptoms = getDataConfig("hemodialysis", "symptoms");
1688
-    
1689
+
1689
     this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
1690
     this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
1690
     //console.log("抗凝剂",this.anticoagulantsConfit)
1691
     //console.log("抗凝剂",this.anticoagulantsConfit)
1691
     this.bloodPressureMmonitoringSite = getDataConfig(
1692
     this.bloodPressureMmonitoringSite = getDataConfig(
1803
     },
1804
     },
1804
 
1805
 
1805
     newRecordAction: function () {
1806
     newRecordAction: function () {
1807
+      console.log("111111111")
1806
       this.setEditMonitor(null);
1808
       this.setEditMonitor(null);
1807
       this.$refs.table.setCurrentRow(null);
1809
       this.$refs.table.setCurrentRow(null);
1808
       console.log(this.dispose_options,'oop')
1810
       console.log(this.dispose_options,'oop')
1953
         return;
1955
         return;
1954
       }
1956
       }
1955
       this.creator = this.table_current_row.creator;
1957
       this.creator = this.table_current_row.creator;
1958
+      console.log("22222222222")
1956
       this.setEditMonitor(this.table_current_row);
1959
       this.setEditMonitor(this.table_current_row);
1957
       this.$refs.table.setCurrentRow(null);
1960
       this.$refs.table.setCurrentRow(null);
1958
       this.edit = true;
1961
       this.edit = true;
1959
       this.isAdd = false;
1962
       this.isAdd = false;
1960
     },
1963
     },
1961
     cancelEditAction: function () {
1964
     cancelEditAction: function () {
1965
+      console.log("3333333333")
1962
       this.setEditMonitor(null);
1966
       this.setEditMonitor(null);
1963
       this.$refs.table.setCurrentRow(null);
1967
       this.$refs.table.setCurrentRow(null);
1964
       this.edit = false;
1968
       this.edit = false;
2127
 
2131
 
2128
     submitAction: function () {
2132
     submitAction: function () {
2129
       // TODO loading
2133
       // TODO loading
2134
+      this.loading = true
2135
+      console.log("aaaa")
2130
       var is_new = this.form.id;
2136
       var is_new = this.form.id;
2131
       this.form.operate_time = parseInt(this.form.operate_time / 1000);
2137
       this.form.operate_time = parseInt(this.form.operate_time / 1000);
2132
       this.form.systolic_bp =
2138
       this.form.systolic_bp =
2419
           }
2425
           }
2420
         }
2426
         }
2421
       );
2427
       );
2428
+      this.loading = false
2422
     },
2429
     },
2423
 
2430
 
2424
     symptomTextareaBlur: function () {
2431
     symptomTextareaBlur: function () {

+ 2 - 2
src/xt_pages/dialysis/details/dialysisMonitoring.vue 파일 보기

33
           <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
33
           <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
34
           <th v-if="isShow('抗凝剂')" width="92px">抗凝剂</th>
34
           <th v-if="isShow('抗凝剂')" width="92px">抗凝剂</th>
35
           <th v-if="isShow('累计血容量')" width="92px">累计血容量 
35
           <th v-if="isShow('累计血容量')" width="92px">累计血容量 
36
-            <span v-if="template_id !=41">(ml)</span>
37
-            <span v-if="template_id == 41">(L)</span>
36
+            <span v-if="template_id !=41 && org_id!=9671 && org_id!=9538">(ml)</span>
37
+            <span v-if="template_id == 41 || org_id == 9671 || org_id == 9538">(L)</span>
38
           </th>
38
           </th>
39
           <th v-if="isShow('血容量')" width="92px">血容量(L)</th>
39
           <th v-if="isShow('血容量')" width="92px">血容量(L)</th>
40
           <th v-if="isShow('血温监测')" width="92px">血温监测</th>
40
           <th v-if="isShow('血温监测')" width="92px">血温监测</th>

+ 1 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue 파일 보기

1797
           style: style12,
1797
           style: style12,
1798
           scanStyles: false,
1798
           scanStyles: false,
1799
         });
1799
         });
1800
+        
1800
       }else if (
1801
       }else if (
1801
         this.org_template_info.template_id == 54
1802
         this.org_template_info.template_id == 54
1802
       ) {
1803
       ) {

+ 3 - 3
src/xt_pages/dialysis/schedualPatient.vue 파일 보기

87
           <div v-if="zone_schedule.schedules.length > 0 && patientStateVal != 1" style="font-size:16px;font-weight: bold;color: #34495e;margin-right:10px;line-height:30px;">{{zone_schedule.zone_name}}</div>
87
           <div v-if="zone_schedule.schedules.length > 0 && patientStateVal != 1" style="font-size:16px;font-weight: bold;color: #34495e;margin-right:10px;line-height:30px;">{{zone_schedule.zone_name}}</div>
88
           <patient-box :schedules="zone_schedule.schedules" :patientStateVal='patientStateVal' :selected_date="selected_date" style="flex:1"></patient-box>
88
           <patient-box :schedules="zone_schedule.schedules" :patientStateVal='patientStateVal' :selected_date="selected_date" style="flex:1"></patient-box>
89
         </div>
89
         </div>
90
-        
90
+
91
         <div class="NoData" v-show="filtedSchedules.length == 0">
91
         <div class="NoData" v-show="filtedSchedules.length == 0">
92
           <img src="@/assets/img/data.jpg" alt="">
92
           <img src="@/assets/img/data.jpg" alt="">
93
         </div>
93
         </div>
392
         this.websocket.onmessage = e => {
392
         this.websocket.onmessage = e => {
393
           let res = JSON.parse(e.data);
393
           let res = JSON.parse(e.data);
394
           // let res = re.data;
394
           // let res = re.data;
395
-          console.log('res3333333333',res)
395
+          console.log('res333adasda3333333',res)
396
           if(res.channel == 'queue/join'){
396
           if(res.channel == 'queue/join'){
397
             let timeType = null
397
             let timeType = null
398
             if(this.schedule_type_selected == 1){
398
             if(this.schedule_type_selected == 1){
423
                 }
423
                 }
424
             }
424
             }
425
             this.fisrtQueueInfo = fisrtQueueInfo
425
             this.fisrtQueueInfo = fisrtQueueInfo
426
-            
426
+
427
             // this.fisrtQueueInfo = res.data.fisrtQueueInfo
427
             // this.fisrtQueueInfo = res.data.fisrtQueueInfo
428
             let arr = res.data.patientQueueList.data
428
             let arr = res.data.patientQueueList.data
429
             let waitingCalledArr = []
429
             let waitingCalledArr = []

+ 23 - 15
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyFour.vue 파일 보기

226
               ></label-box>
226
               ></label-box>
227
             </td>
227
             </td>
228
           </tr>
228
           </tr>
229
-          <tr class="list_table_1" style="line-height:40px;">
229
+          <tr class="list_table_1" style="line-height: 40px">
230
             <td
230
             <td
231
               width="250"
231
               width="250"
232
               style="border-right: none; padding-left: 10px"
232
               style="border-right: none; padding-left: 10px"
821
             <td v-if="advice_index === 1">体重增加量:</td>
821
             <td v-if="advice_index === 1">体重增加量:</td>
822
             <td v-if="advice_index === 1">
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
               }}kg
829
               }}kg
828
             </td>
830
             </td>
829
             <td v-if="advice_index === 2">干体重(DW):</td>
831
             <td v-if="advice_index === 2">干体重(DW):</td>
831
             <td v-if="advice_index === 3">较干体重增加量:</td>
833
             <td v-if="advice_index === 3">较干体重增加量:</td>
832
             <td v-if="advice_index === 3">
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
               }}kg
841
               }}kg
838
             </td>
842
             </td>
839
             <td v-if="advice_index === 4">净脱水量:</td>
843
             <td v-if="advice_index === 4">净脱水量:</td>
847
             <td v-if="advice_index === 6">本次透析体重下降量:</td>
851
             <td v-if="advice_index === 6">本次透析体重下降量:</td>
848
             <td v-if="advice_index === 6">
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
               }}kg
859
               }}kg
854
             </td>
860
             </td>
855
             <td v-if="advice_index > 6"></td>
861
             <td v-if="advice_index > 6"></td>
886
               >
892
               >
887
                 {{
893
                 {{
888
                   getAdminUser(
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
               </span>
902
               </span>
901
                       : prescription.creater
909
                       : prescription.creater
902
                       ? prescription.creater
910
                       ? prescription.creater
903
                       : ''
911
                       : ''
904
-                  ) "
905
-               
912
+                  )
913
+                "
906
                 alt=""
914
                 alt=""
907
                 srcset=""
915
                 srcset=""
908
                 v-else
916
                 v-else

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyOne.vue 파일 보기

573
                           {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure + "/" : "" }}
573
                           {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure + "/" : "" }}
574
                           {{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }}
574
                           {{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }}
575
                         </td>
575
                         </td>
576
-                        <td>{{ monitor.monitor_temperature ? monitor.monitor_temperature : "" }}</td>
576
+                        <td>{{ monitor.temperature ? monitor.temperature : "" }}</td>
577
                         <td>{{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }}</td>
577
                         <td>{{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }}</td>
578
                         <td>{{ monitor.breathing_rate ? monitor.breathing_rate : "" }}</td>
578
                         <td>{{ monitor.breathing_rate ? monitor.breathing_rate : "" }}</td>
579
                         <td>{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}
579
                         <td>{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}

+ 42 - 51
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue 파일 보기

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

+ 4 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue 파일 보기

425
                     <div class="inline_block" style="flex:1;">
425
                     <div class="inline_block" style="flex:1;">
426
                       置换方式:
426
                       置换方式:
427
                       <div class="under_line" style="width: 60px;text-align: center">
427
                       <div class="under_line" style="width: 60px;text-align: center">
428
-                        {{ getDisplaceLiquiPart(prescription.displace_liqui_part) }}
428
+                        <span v-if="prescription.mode_id != 2 && prescription.mode_id!=5 && prescription.mode_id!=12"> {{ getDisplaceLiquiPart(prescription.displace_liqui_part) }} </span>
429
                       </div>
429
                       </div>
430
                     </div>
430
                     </div>
431
                     <div class="inline_block" style="flex:1;">
431
                     <div class="inline_block" style="flex:1;">
432
                       置换总量:
432
                       置换总量:
433
                       <div class="under_line" style="width: 50px;text-align: center">
433
                       <div class="under_line" style="width: 50px;text-align: center">
434
-                        {{ prescription.displace_liqui_value ? prescription.displace_liqui_value : "/" }}
434
+                         <span v-if="prescription.mode_id != 2 && prescription.mode_id!=5 && prescription.mode_id!=12"> {{ prescription.displace_liqui_value ? prescription.displace_liqui_value : "/" }}</span>
435
                       </div>
435
                       </div>
436
                       L
436
                       L
437
                     </div>
437
                     </div>
628
                   <table class="inside_table">
628
                   <table class="inside_table">
629
                     <tbody>
629
                     <tbody>
630
                       <tr>
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
                         </td>
633
                         </td>
634
                       </tr>
634
                       </tr>
680
                         </td>
680
                         </td>
681
                       </tr>
681
                       </tr>
682
                       <tr>
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
                           医师记录:{{ summary.special_record ? summary.special_record : '' }}
684
                           医师记录:{{ summary.special_record ? summary.special_record : '' }}
685
                         </td>
685
                         </td>
686
                       </tr>
686
                       </tr>

+ 2 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue 파일 보기

674
                         class="under_line"
674
                         class="under_line"
675
                         style="width: 100px; text-align: center"
675
                         style="width: 100px; text-align: center"
676
                       >
676
                       >
677
-                        {{
678
-                          getDisplaceLiquiPart(prescription.displace_liqui_part)
679
-                        }}
677
+                       <span v-if="prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12">{{getDisplaceLiquiPart(prescription.displace_liqui_part)}}</span> 
680
                       </div>
678
                       </div>
681
                     </div>
679
                     </div>
682
                     <div
680
                     <div
688
                         class="under_line"
686
                         class="under_line"
689
                         style="width: 70px; text-align: center"
687
                         style="width: 70px; text-align: center"
690
                       >
688
                       >
691
-                        {{
692
-                          prescription.displace_liqui_value
693
-                            ? prescription.displace_liqui_value
694
-                            : "/"
695
-                        }}
689
+                       <span v-if="prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12">{{ prescription.displace_liqui_value ? prescription.displace_liqui_value: "/"}} </span> 
696
                       </div>
690
                       </div>
697
                       L
691
                       L
698
                     </div>
692
                     </div>

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue 파일 보기

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

+ 1 - 0
src/xt_pages/hospitalStation/chargeDetailManagement.vue 파일 보기

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

+ 6 - 2
src/xt_pages/hospitalStation/components/deskPrescription.vue 파일 보기

365
                   <el-input style="width:50%;" @input="searchProjectAction"
365
                   <el-input style="width:50%;" @input="searchProjectAction"
366
                             @keyup.enter.native='searchProjectAction'
366
                             @keyup.enter.native='searchProjectAction'
367
                             v-model.trim="search_project_keyword"
367
                             v-model.trim="search_project_keyword"
368
-                            placeholder="请输入项目名称"></el-input>
368
+                            placeholder="请输入项目名称"></el-input><!--住院工作站-->
369
 
369
 
370
                   <el-select style="float: right;width: 49%;" v-model="value" placeholder=""
370
                   <el-select style="float: right;width: 49%;" v-model="value" placeholder=""
371
                              @change="changeClass">
371
                              @change="changeClass">
667
   methods: {
667
   methods: {
668
 
668
 
669
     changeClass(id) {
669
     changeClass(id) {
670
+      console.log("asdaff,id",id)
671
+      console.log("asdaff,this.value",this.value)
672
+      console.log("asdaff,this.allProject",this.allProject)
670
       this.tabProject = []
673
       this.tabProject = []
671
       if (id == 0) {
674
       if (id == 0) {
672
         this.tabProject = this.allProject
675
         this.tabProject = this.allProject
673
       } else {
676
       } else {
674
         for (let i = 0; i < this.allProject.length; i++) {
677
         for (let i = 0; i < this.allProject.length; i++) {
675
-          if (this.allProject[i].cost_classify == id) {
678
+          if (this.allProject[i].project.cost_classify == id) {
676
             this.tabProject.push(this.allProject[i])
679
             this.tabProject.push(this.allProject[i])
677
           }
680
           }
678
         }
681
         }
679
       }
682
       }
683
+
680
     },
684
     },
681
     setMonthPrescription(month_prescriptions) {
685
     setMonthPrescription(month_prescriptions) {
682
       console.log('~~~~~~~~')
686
       console.log('~~~~~~~~')

+ 4 - 4
src/xt_pages/hospitalStation/components/prescriptionTable.vue 파일 보기

471
               this.$message.error(scope.row.drug_name + '库存不足')
471
               this.$message.error(scope.row.drug_name + '库存不足')
472
             }
472
             }
473
           }
473
           }
474
-         
474
+
475
         } else {
475
         } else {
476
           if(scope.row.drug.is_user!=1){
476
           if(scope.row.drug.is_user!=1){
477
             if ((parseInt(scope.row.prescribing_number) * scope.row.drug.min_number) > scope.row.drug.sum_count) {
477
             if ((parseInt(scope.row.prescribing_number) * scope.row.drug.min_number) > scope.row.drug.sum_count) {
478
               this.$message.error(scope.row.drug_name + '库存不足')
478
               this.$message.error(scope.row.drug_name + '库存不足')
479
             }
479
             }
480
           }
480
           }
481
-        
481
+
482
           // scope.row.retail_price = scope.row.drug.retail_price * scope.row.prescribing_number
482
           // scope.row.retail_price = scope.row.drug.retail_price * scope.row.prescribing_number
483
         }
483
         }
484
 
484
 
521
               this.$message.error(scope.row.drug_name + '库存不足')
521
               this.$message.error(scope.row.drug_name + '库存不足')
522
            }
522
            }
523
           }
523
           }
524
-        
524
+
525
         } else {
525
         } else {
526
           if(scope.row.drug.is_user!=1){
526
           if(scope.row.drug.is_user!=1){
527
             if ((parseInt(scope.row.prescribing_number) * scope.row.drug.min_number) > scope.row.drug.sum_count) {
527
             if ((parseInt(scope.row.prescribing_number) * scope.row.drug.min_number) > scope.row.drug.sum_count) {
528
               this.$message.error(scope.row.drug_name + '库存不足')
528
               this.$message.error(scope.row.drug_name + '库存不足')
529
             }
529
             }
530
           }
530
           }
531
-         
531
+
532
         }
532
         }
533
       },
533
       },
534
       getProjectSingleDose(scope) {
534
       getProjectSingleDose(scope) {

+ 19 - 14
src/xt_pages/management/components/RepairForm.vue 파일 보기

35
         ></el-date-picker>
35
         ></el-date-picker>
36
       </el-col>
36
       </el-col>
37
       <el-col :span="2">
37
       <el-col :span="2">
38
-        <el-button @click="queryRepair()">查询</el-button>
38
+        <el-button style="background-color:#409eff;color: #DCDFE6" @click="queryRepair()">查询</el-button>
39
       </el-col>
39
       </el-col>
40
     </el-row>
40
     </el-row>
41
     <el-row style="display: flex;align-items: center;">
41
     <el-row style="display: flex;align-items: center;">
406
         </el-row>
406
         </el-row>
407
       </el-form>
407
       </el-form>
408
       <span slot="footer" class="dialog-footer">
408
       <span slot="footer" class="dialog-footer">
409
+<!--        <button @click="lili">调试</button>-->
409
         <el-button @click="dialogVisible = false">取 消</el-button>
410
         <el-button @click="dialogVisible = false">取 消</el-button>
410
         <el-button type="primary" @click="UpdateRepair('guaForm')"
411
         <el-button type="primary" @click="UpdateRepair('guaForm')"
411
           >保存</el-button
412
           >保存</el-button
482
       limit: 10,
483
       limit: 10,
483
       page: 1,
484
       page: 1,
484
       total: 0,
485
       total: 0,
485
-      filename: ""
486
     };
486
     };
487
   },
487
   },
488
   methods: {
488
   methods: {
489
+    lili(){
490
+      console.log("this.guaForm",this.guaForm)
491
+    },
489
     changeCheck() {
492
     changeCheck() {
490
       this.$refs.multipleTable.clearSelection();
493
       this.$refs.multipleTable.clearSelection();
491
       if (this.checkAllStatus) {
494
       if (this.checkAllStatus) {
655
       window.location.href = this.guaForm.images;
658
       window.location.href = this.guaForm.images;
656
     },
659
     },
657
     UpdateRepair(formName) {
660
     UpdateRepair(formName) {
661
+      console.log("formName",formName)
662
+      console.log("this.guaForm",this.guaForm)
658
       this.$refs[formName].validate(valid => {
663
       this.$refs[formName].validate(valid => {
659
-        this.guaForm.start_time = uParseTime(
660
-          this.guaForm.start_time,
661
-          "{y}-{m}-{d} {h}:{i}"
662
-        );
663
-        this.guaForm.arrive_time = uParseTime(
664
-          this.guaForm.arrive_time,
665
-          "{y}-{m}-{d} {h}:{i}"
666
-        );
667
-        this.guaForm.finish_time = uParseTime(
668
-          this.guaForm.finish_time,
669
-          "{y}-{m}-{d} {h}:{i}"
670
-        );
664
+        // this.guaForm.start_time = uParseTime(
665
+        //   this.guaForm.start_time,
666
+        //   "{y}-{m}-{d} {h}:{i}"
667
+        // );
668
+        // this.guaForm.arrive_time = uParseTime(
669
+        //   this.guaForm.arrive_time,
670
+        //   "{y}-{m}-{d} {h}:{i}"
671
+        // );
672
+        // this.guaForm.finish_time = uParseTime(
673
+        //   this.guaForm.finish_time,
674
+        //   "{y}-{m}-{d} {h}:{i}"
675
+        // );
671
 
676
 
672
         if (this.guaForm.failure_stage === "") {
677
         if (this.guaForm.failure_stage === "") {
673
           this.guaForm.failure_stage = 0;
678
           this.guaForm.failure_stage = 0;

+ 828 - 0
src/xt_pages/outpatientDoctorStation/batch_delete.vue 파일 보기

1
+<template>
2
+  <!--批量删除-->
3
+  <div class="main-contain">
4
+    <div class="app-container">
5
+    <div class="bannar_list">
6
+      <div class="banner_left">
7
+        <div>
8
+          透析模式:
9
+          <el-select
10
+            v-model="modeOptions_value"
11
+            placeholder="请选择"
12
+            @change="getUsername"
13
+          >
14
+            <el-option
15
+              v-for="item in modeOptions"
16
+              :key="item.id"
17
+              :label="item.name"
18
+              :value="item.id"
19
+            >
20
+            </el-option>
21
+          </el-select>
22
+        </div>
23
+        <div>
24
+          删除类型:
25
+          <el-select
26
+            v-model="new_type"
27
+            placeholder="请选择"
28
+            @change="changetype"
29
+          >
30
+            <el-option
31
+              v-for="item in options"
32
+              :key="item.id"
33
+              :label="item.name"
34
+              :value="item.id"
35
+            >
36
+            </el-option>
37
+          </el-select>
38
+        </div>
39
+        <div v-if="new_type == 1">
40
+          请输入需要删除的药品:
41
+          <el-select
42
+            filterable
43
+            v-model="id"
44
+            placeholder="请选择"
45
+            @change="getUsername"
46
+          >
47
+            <el-option
48
+              v-for="item in druglist"
49
+              :key="item.id"
50
+              :label="item.name"
51
+              :value="item.id"
52
+            >
53
+            </el-option>
54
+          </el-select>
55
+        </div>
56
+        <div v-if="new_type == 2">
57
+          请输入需要删除的项目:
58
+          <el-select
59
+            filterable
60
+            v-model="id"
61
+            placeholder="请选择"
62
+            @change="getUsername"
63
+          >
64
+            <el-option
65
+              v-for="item in projectlist"
66
+              :key="item.id"
67
+              :label="item.name"
68
+              :value="item.id"
69
+            >
70
+            </el-option>
71
+          </el-select>
72
+        </div>
73
+      </div>
74
+
75
+      <!--        <button @click="lili">调试</button>-->
76
+      <el-button type="primary" @click="save">保存</el-button>
77
+    </div>
78
+
79
+    <el-container>
80
+      <div class="left_table" style="width: 211px;height: 70vh;border: 1px solid #DCDFE6;box-shadow: 0 2px 4px 0 rgb(0 0 0 / 12%), 0 0 6px 0 rgb(0 0 0 / 4%);">
81
+        <el-table
82
+          border
83
+          height="70vh"
84
+          ref="multipleTable"
85
+          :data="tableData"
86
+          tooltip-effect="dark"
87
+          style="width: 100%;"
88
+          @selection-change="handleSelectionChange"
89
+          @current-change="test"
90
+          :row-style="{ color: '#303133' }"
91
+          :header-cell-style="{
92
+            backgroundColor: 'rgb(245, 247, 250)',
93
+            color: '#606266',
94
+          }"
95
+        >
96
+          <el-table-column type="selection" width="55" align="center"> </el-table-column>
97
+          <el-table-column label="患者姓名" width="155" align="center">
98
+            <template slot-scope="scope">{{ scope.row.name }}</template>
99
+          </el-table-column>
100
+        </el-table>
101
+      </div>
102
+
103
+      <el-main>
104
+        <el-tabs type="border-card" v-if="isshow == 1 && list.length > 0" style="min-height: 70vh;">
105
+        <el-tab-pane
106
+          v-for="(item, index) in list"
107
+          :key="index"
108
+          :label="'处方' + (index + 1)"
109
+          :name="index"
110
+        >
111
+          <el-table
112
+            v-if="item.advices.length > 0"
113
+            :data="item.advices"
114
+            style="width: 100%"
115
+            max-height="250"
116
+            border
117
+            :row-style="{ color: '#303133' }"
118
+            :header-cell-style="{
119
+              backgroundColor: 'rgb(245, 247, 250)',
120
+              color: '#606266',
121
+            }"
122
+          >
123
+            <el-table-column fixed label="药品名称" width="230" align="center">
124
+              <template slot-scope="scope">
125
+                {{ scope.row.advice_name }}
126
+              </template>
127
+            </el-table-column>
128
+            <el-table-column label="单次用量" width="200" align="center">
129
+              <template slot-scope="scope">
130
+                {{ scope.row.single_dose }}{{ scope.row.single_dose_unit }}
131
+              </template>
132
+            </el-table-column>
133
+            <el-table-column label="用法" width="120" align="center">
134
+              <template slot-scope="scope">
135
+                {{ scope.row.delivery_way }}
136
+              </template>
137
+            </el-table-column>
138
+            <el-table-column label="频率" width="120" align="center">
139
+              <template slot-scope="scope">
140
+                {{ scope.row.execution_frequency }}
141
+              </template>
142
+            </el-table-column>
143
+            <el-table-column label="天数" width="110" align="center">
144
+              <template slot-scope="scope"> {{ scope.row.day }}天 </template>
145
+            </el-table-column>
146
+            <el-table-column label="总量" width="200" align="center">
147
+              <template slot-scope="scope">
148
+                {{ scope.row.prescribing_number
149
+                }}{{ scope.row.prescribing_number_unit }}
150
+              </template>
151
+            </el-table-column>
152
+            <el-table-column label="单价" width="120" align="center">
153
+              <template slot-scope="scope"> {{ scope.row.price }}元 </template>
154
+            </el-table-column>
155
+            <el-table-column label="备注" width="120" align="center">
156
+              <template slot-scope="scope">
157
+                {{ scope.row.remark }}
158
+              </template>
159
+            </el-table-column>
160
+            <el-table-column label="操作" width="120" align="center">
161
+              <template slot-scope="scope">
162
+                <el-button
163
+                  @click.native.prevent="delects(scope.$index, scope, item)"
164
+                  type="danger"
165
+                  size="small"
166
+                >
167
+                  删除
168
+                </el-button>
169
+              </template>
170
+            </el-table-column>
171
+          </el-table>
172
+
173
+          <el-table
174
+            v-if="item.project.length > 0"
175
+            :data="item.project"
176
+            style="width: 100%"
177
+            max-height="250"
178
+            border
179
+            :row-style="{ color: '#303133' }"
180
+            :header-cell-style="{
181
+              backgroundColor: 'rgb(245, 247, 250)',
182
+              color: '#606266',
183
+            }"
184
+          >
185
+            <el-table-column fixed label="项目名称" width="230" align="center">
186
+              <template slot-scope="scope">
187
+                <div v-if="scope.row.type == 2">
188
+                  {{ scope.row.project.project_name }}
189
+                </div>
190
+                <div v-if="scope.row.type == 3">
191
+                  {{ scope.row.good_info.good_name }}
192
+                </div>
193
+              </template>
194
+            </el-table-column>
195
+            <el-table-column label="组" width="120" align="center">
196
+              <template slot-scope="scope">
197
+                <div v-if="scope.row.type == 2">
198
+                  {{ scope.row.project.translate }}
199
+                </div>
200
+                <div v-if="scope.row.type == 3">
201
+                  {{ scope.row.good_info.translate }}
202
+                </div>
203
+              </template>
204
+            </el-table-column>
205
+            <el-table-column label="单次用量" width="120" align="center">
206
+              <template slot-scope="scope">
207
+                {{ scope.row.single_dose }}
208
+                {{ scope.row.unit }}
209
+              </template>
210
+            </el-table-column>
211
+            <el-table-column label="用法" width="120" align="center">
212
+              <template slot-scope="scope">
213
+                {{ scope.row.delivery_way }}
214
+              </template>
215
+            </el-table-column>
216
+            <el-table-column label="频率" width="120" align="center">
217
+              <template slot-scope="scope">
218
+                {{ scope.row.execution_frequency }}
219
+              </template>
220
+            </el-table-column>
221
+            <el-table-column label="天数" width="110" align="center">
222
+              <template slot-scope="scope"> {{ scope.row.day }}天 </template>
223
+            </el-table-column>
224
+            <el-table-column label="总量" width="100" align="center">
225
+              <template slot-scope="scope">
226
+                {{ scope.row.count }}
227
+                {{ scope.row.unit }}
228
+              </template>
229
+            </el-table-column>
230
+            <el-table-column label="单价" width="120" align="center">
231
+              <template slot-scope="scope"> {{ scope.row.price }}元 </template>
232
+            </el-table-column>
233
+            <el-table-column label="备注" width="120" align="center">
234
+              <template slot-scope="scope">
235
+                {{ scope.row.remark }}
236
+              </template>
237
+            </el-table-column>
238
+            <el-table-column label="推送频率" width="120" align="center">
239
+              <template slot-scope="scope">
240
+                <div v-if="scope.row.frequency_type == 1">
241
+                  {{ "每次必推" }}
242
+                </div>
243
+                <div v-if="scope.row.frequency_type == 2">
244
+                  {{ scope.row.day_count }}天/次
245
+                </div>
246
+                <div v-if="scope.row.frequency_type == 3">
247
+                  {{ scope.row.week_days }}
248
+                </div>
249
+              </template>
250
+            </el-table-column>
251
+            <el-table-column fixed="right" label="操作" width="102" align="center">
252
+              <template slot-scope="scope">
253
+                <el-button
254
+                  @click.native.prevent="delects(scope.$index, scope, item)"
255
+                  type="danger"
256
+                  size="small"
257
+                >
258
+                  删除
259
+                </el-button>
260
+              </template>
261
+            </el-table-column>
262
+          </el-table>
263
+        </el-tab-pane>
264
+      </el-tabs>
265
+      </el-main>
266
+      
267
+    </el-container>
268
+  
269
+  </div>
270
+  </div>
271
+</template>
272
+<script>
273
+import { gethisusertoalive } from "@/api/deposit";
274
+import {
275
+  getdrugsinformation,
276
+  replacepeoplename,
277
+  replaceconfig,
278
+  deletedrugsbatch,
279
+  batchdeleteitems,
280
+  getmodeconfigs,
281
+  ptemplateinformation,
282
+  deleteone,
283
+} from "@/api/batch/batch";
284
+
285
+export default {
286
+  data() {
287
+    return {
288
+      dialogVisible: false,
289
+      tableList: [],
290
+      editableTabsValue: "1",
291
+      modeOptions: {},
292
+      tableDatas: [
293
+        {
294
+          id: "",
295
+          drug_name: "",
296
+          single_dose: "",
297
+          single_dose_unit: "",
298
+          delivery_way: "",
299
+          execution_frequency: "",
300
+          day: "",
301
+          prescribing_number: "",
302
+          prescribing_number_unit: "",
303
+          price: "",
304
+          remark: "",
305
+        },
306
+      ], //药品
307
+      project: [
308
+        {
309
+          id: "",
310
+          drug_name: "",
311
+          translate: "",
312
+          single_dose: "",
313
+          unit: "",
314
+          delivery_way: "",
315
+          execution_frequency: "",
316
+          day: "",
317
+          prescribing_number: "",
318
+          price: "",
319
+          remark: "",
320
+          frequency_type: 1,
321
+          day_count: "",
322
+          week_days: "",
323
+        },
324
+      ], //项目
325
+      tabIndex: 2,
326
+      modeOptions_value: 1, //透析模式
327
+      multipleSelection: [], //选中的患者
328
+      tableData: [],
329
+      options: [
330
+        { id: 1, name: "药品" },
331
+        { id: 2, name: "项目" },
332
+      ],
333
+      options_patient: [
334
+        { id: 1, name: "是" },
335
+        { id: 2, name: "否" },
336
+      ],
337
+      options_2: [
338
+        { id: 1, name: "普通门诊" },
339
+        { id: 2, name: "门诊特殊病" },
340
+      ],
341
+      new_type: 1, //新增类型
342
+      druglist: [], //药品列表
343
+      projectlist: [], //项目列表
344
+      id: "", //药品、项目、耗材
345
+      tmplist: [], //临时
346
+      unit: [
347
+        { id: 1, name: "g" },
348
+        { id: 2, name: "mg" },
349
+        { id: 3, name: "u" },
350
+        { id: 4, name: "ml" },
351
+        { id: 5, name: "万U" },
352
+        { id: 6, name: "枚" },
353
+        { id: 7, name: "粒" },
354
+        { id: 8, name: "片" },
355
+        { id: 9, name: "支" },
356
+        { id: 10, name: "μg" },
357
+        { id: 11, name: "iu" },
358
+        { id: 12, name: "包" },
359
+        { id: 13, name: "袋" },
360
+        { id: 14, name: "万" },
361
+        { id: 15, name: "万iu" },
362
+        { id: 16, name: "丸" },
363
+        { id: 17, name: "盒" },
364
+        { id: 18, name: "瓶" },
365
+        { id: 19, name: "瓶(袋)" },
366
+        { id: 20, name: "次" },
367
+      ],
368
+      usage: [], //用法
369
+      frequency: [], //频率
370
+      frequency_type: "", //周期提醒
371
+      day_count: "", //周期提醒天
372
+      week_days: [], //周期提醒星期
373
+      tabhang: 0, //tab的下标
374
+      hang: 0, //行数
375
+      list: [],
376
+      isshow: 0, //是否显示处方
377
+      tmpid: 0,
378
+    };
379
+  },
380
+  created() {
381
+    // console.log("this.$store.getters.treatment_mode",this.$store.getters.treatment_mode)
382
+    for (let key in this.$store.getters.treatment_mode) {
383
+      this.modeOptions[key] = this.$store.getters.treatment_mode[key];
384
+    }
385
+    // console.log("this.modeOptions",this.modeOptions)
386
+    this.getdrugconfigs();
387
+    this.isshow = 0;
388
+    this.tmpid = 0;
389
+  },
390
+  methods: {
391
+    save() {
392
+      var tmp = this.modeOptions[this.modeOptions_value].name;
393
+      var tmp2 = "";
394
+      if (this.druglist != null) {
395
+        for (let i = 0; i < this.druglist.length; i++) {
396
+          if (this.id == this.druglist[i].id) {
397
+            tmp2 = this.druglist[i].name;
398
+          }
399
+        }
400
+      }
401
+      if (this.projectlist != null) {
402
+        for (let j = 0; j < this.projectlist.length; j++) {
403
+          if (this.id == this.projectlist[j].id) {
404
+            tmp2 = this.projectlist[j].name;
405
+          }
406
+        }
407
+      }
408
+      this.$confirm(
409
+        "请确定是否删除?", //注:该操作将会把所选患者的"+tmp+"透析模式中的"+tmp2+"进行删除,
410
+        "",
411
+        {
412
+          confirmButtonText: "确 定",
413
+          cancelButtonText: "取 消",
414
+          type: "warning",
415
+        }
416
+      ).then(() => {
417
+        if (this.multipleSelection.length == 0) {
418
+          this.$message.error("没有选中有效信息");
419
+          return;
420
+        }
421
+        let st = "";
422
+        for (let i = 0; i < this.multipleSelection.length; i++) {
423
+          st = st + this.multipleSelection[i].id + ",";
424
+        }
425
+        console.log("string", st);
426
+        let params = {
427
+          mode_id: this.modeOptions_value,
428
+          patient_id: st,
429
+          type: this.new_type,
430
+          replaced: this.id,
431
+        };
432
+        if (this.new_type == 1) {
433
+          deletedrugsbatch(params).then((res) => {
434
+            if (res.data.state == 1) {
435
+              this.$message.success("删除成功");
436
+              this.getUsername();
437
+            } else {
438
+              this.$message.error(res.data.msg);
439
+            }
440
+          });
441
+        } else {
442
+          batchdeleteitems(params).then((res) => {
443
+            if (res.data.state == 1) {
444
+              this.$message.success("删除成功");
445
+              this.getUsername();
446
+            } else {
447
+              this.$message.error(res.data.msg);
448
+            }
449
+          });
450
+        }
451
+      });
452
+    },
453
+    test(val) {
454
+      console.log("val?:", val);
455
+      this.tmpid = val.id;
456
+      var params = {
457
+        mode_id: this.modeOptions_value,
458
+        patient_id: val.id,
459
+      };
460
+      ptemplateinformation(params).then((res) => {
461
+        if (res.data.state == 1) {
462
+          this.list = res.data.data.list;
463
+          this.isshow = 1;
464
+        }
465
+      });
466
+    },
467
+    lili() {
468
+      console.log("this.list", this.list);
469
+      console.log("this.multipleSelection", this.multipleSelection);
470
+      // console.log("this.mode",this.modeOptions_value)
471
+      // console.log("this.projectlist2",this.projectlist2)
472
+      // console.log("patient_value",this.patient_value)
473
+    },
474
+    delects(hang, sc, item) {
475
+      this.$confirm("删除后不可恢复,是否确认删除?", "删除", {
476
+        confirmButtonText: "确定",
477
+        cancelButtonText: "取消",
478
+        type: "warning",
479
+      })
480
+        .then(() => {
481
+          var params = {
482
+            type: item.type, //1药品2项目
483
+            id: sc.row.id,
484
+          };
485
+          var params2 = {
486
+            mode_id: this.modeOptions_value,
487
+            patient_id: this.tmpid,
488
+          };
489
+          deleteone(params).then((res) => {
490
+            if (res.data.state == 1) {
491
+              this.$message.success("删除成功");
492
+              ptemplateinformation(params2).then((res) => {
493
+                if (res.data.state == 1) {
494
+                  this.list = res.data.data.list;
495
+                  this.isshow = 1;
496
+                }
497
+              });
498
+            }
499
+          });
500
+        })
501
+        .catch(() => {
502
+          this.$message({
503
+            type: 'success',
504
+            message: "已取消删除",
505
+          });
506
+        });
507
+      // console.log("hang",hang)
508
+      // console.log("sc",sc)
509
+      // console.log("item",item)
510
+    },
511
+    changetype() {
512
+      console.log(">>>>>>>", this.new_type);
513
+      this.id = "";
514
+      this.tableData = [];
515
+    },
516
+    changeid(item, index) {
517
+      item.id = item.drug_name;
518
+      var params = {
519
+        id: item.id,
520
+      };
521
+      getdrugsinformation(params).then((res) => {
522
+        if (res.data.state == 1) {
523
+          console.log("res??", res);
524
+          this.tableDatas[0].single_dose = res.data.data.list[0].single_dose;
525
+          this.tableDatas[0].single_dose_unit =
526
+            res.data.data.list[0].single_dose_unit;
527
+          this.tableDatas[0].delivery_way = res.data.data.list[0].delivery_way;
528
+          this.tableDatas[0].execution_frequency =
529
+            res.data.data.list[0].execution_frequency;
530
+          this.tableDatas[0].day = res.data.data.list[0].drug_day;
531
+          this.tableDatas[0].prescribing_number =
532
+            res.data.data.list[0].prescribing_number;
533
+          this.tableDatas[0].prescribing_number_unit =
534
+            res.data.data.list[0].prescribing_number_unit;
535
+          this.tableDatas[0].price = res.data.data.list[0].retail_price;
536
+          this.tableDatas[0].remark = res.data.data.list[0].remark;
537
+        }
538
+      });
539
+    },
540
+    handleSelectionChange(val) {
541
+      this.multipleSelection = val;
542
+    },
543
+    changeid2(item, index) {
544
+      item.id = item.drug_name;
545
+      var params = {
546
+        id: item.id,
547
+      };
548
+      getdrugsinformation(params).then((res) => {
549
+        if (res.data.state == 1) {
550
+          console.log("res??", res);
551
+          this.project[0].single_dose = res.data.data.list[0].single_dose;
552
+          this.project[0].translate = res.data.data.list[0].translate;
553
+          this.project[0].delivery_way = res.data.data.list[0].delivery_way;
554
+          this.project[0].execution_frequency =
555
+            res.data.data.list[0].execution_frequency;
556
+          this.project[0].day = res.data.data.list[0].day;
557
+          this.project[0].prescribing_number =
558
+            res.data.data.list[0].prescribing_number;
559
+          this.project[0].unit = res.data.data.list[0].unit;
560
+          this.project[0].price = res.data.data.list[0].retail_price;
561
+          this.project[0].remark = res.data.data.list[0].remark;
562
+        }
563
+      });
564
+    },
565
+    //获取配置
566
+    getdrugconfigs() {
567
+      var params = {};
568
+      replaceconfig(params).then((res) => {
569
+        if (res.data.state == 1) {
570
+          this.druglist = res.data.data.list;
571
+          this.projectlist = res.data.data.list2;
572
+        }
573
+      });
574
+      getmodeconfigs(params).then((res) => {
575
+        if (res.data.state == 1) {
576
+          this.frequency = res.data.data.efs;
577
+          this.usage = res.data.data.drugways;
578
+        }
579
+      });
580
+    },
581
+    getUsername() {
582
+      var params = {
583
+        id: this.id,
584
+        mode: this.modeOptions_value,
585
+      };
586
+      replacepeoplename(params).then((res) => {
587
+        if (res.data.state == 1) {
588
+          this.tableData = res.data.data.list;
589
+        }
590
+      });
591
+    },
592
+    handleClose(done) {
593
+      this.$confirm("确认关闭?")
594
+        .then((_) => {
595
+          done();
596
+        })
597
+        .catch((_) => {});
598
+    },
599
+  },
600
+};
601
+</script>
602
+
603
+
604
+
605
+<style lang="scss" scoped>
606
+::v-deep .el-tabs__content {
607
+  padding: 8px;
608
+}
609
+
610
+/deep/ .el-table__fixed {
611
+  bottom: 0px !important;
612
+}
613
+.app-container {
614
+  padding: 10px;
615
+  background: #f6f8f9;
616
+}
617
+::v-deep .el-table__body-wrapper {
618
+  height: 500px;
619
+  overflow-y: scroll;
620
+
621
+}
622
+.bannar_list {
623
+  margin-bottom: 10px;
624
+  display: flex;
625
+  justify-content: space-between;
626
+  .banner_left {
627
+    width: 960px;
628
+    display: flex;
629
+    justify-content: space-around;
630
+    div {
631
+      white-space: nowrap;
632
+      font-size: 14px;
633
+      color: #606266;
634
+    }
635
+  }
636
+}
637
+.left_table{
638
+  /deep/ .el-table{
639
+    .el-table__body-wrapper{
640
+      overflow-x: hidden;
641
+    }
642
+  }
643
+}
644
+.frequence {
645
+  text-align: center;
646
+}
647
+/deep/ .el-button--small {
648
+  padding: 9px 6px;
649
+}
650
+.zone {
651
+  //  margin-left: 30px;
652
+  //  text-align: left;
653
+  width: 70px;
654
+  display: inline-block;
655
+  color: #606266;
656
+}
657
+.disinfect {
658
+  position: relative;
659
+  .newButton {
660
+    // position: absolute;
661
+    // right: 2%;
662
+    // top:4px;
663
+    // z-index: 9;
664
+    margin-bottom: 10px;
665
+    margin-left: 90%;
666
+  }
667
+}
668
+.disinfectOne {
669
+  position: relative;
670
+  .newButtonOne {
671
+    position: absolute;
672
+    right: 0;
673
+    top: -10;
674
+    z-index: 18;
675
+  }
676
+}
677
+.but {
678
+  width: 200px;
679
+  height: 50px;
680
+  // border: solid 1px red;
681
+  margin-left: 77%;
682
+}
683
+.clearn {
684
+  width: 460px;
685
+  height: 50px;
686
+  // border:solid 1px red;
687
+  margin-left: 650px;
688
+}
689
+
690
+.zClass {
691
+  width: 200px;
692
+  height: 200px;
693
+  // border:solid 1px red;
694
+  margin-left: 450px;
695
+  margin-top: 200px;
696
+}
697
+.warn {
698
+  color: red;
699
+  font-size: 14px;
700
+  width: 100%;
701
+  display: inline-block;
702
+  margin-left: 96px;
703
+}
704
+
705
+.userbutton {
706
+  margin-bottom: 10px;
707
+  margin-left: 82%;
708
+}
709
+</style>
710
+<style lang="scss" >
711
+.a {
712
+  margin-bottom: 10px;
713
+  margin-top: 6px;
714
+}
715
+
716
+.b {
717
+  .el-button {
718
+    margin-left: 90%;
719
+    margin-bottom: 10px;
720
+  }
721
+}
722
+
723
+.stoppage {
724
+  .el-form-item__label {
725
+    width: 190px;
726
+  }
727
+}
728
+.st {
729
+  .el-form-item__label {
730
+    width: -10px;
731
+  }
732
+}
733
+.main {
734
+  position: relative;
735
+  .newButtonOne {
736
+    position: absolute;
737
+    right: 0;
738
+    z-index: 2;
739
+  }
740
+}
741
+
742
+.elbutton {
743
+  // border: solid 1px red;
744
+  height: 50px;
745
+  width: 400px;
746
+  margin-left: 650px;
747
+}
748
+// .el-form-item__label {
749
+//   width: 130px;
750
+//   font-size: 14px;
751
+// }
752
+.el-form-item__error {
753
+  margin-left: 130px;
754
+}
755
+
756
+.el-upload-list__item-name {
757
+  color: #606266;
758
+  display: block;
759
+  margin-right: 40px;
760
+  overflow: hidden;
761
+  padding-left: 4px;
762
+  text-overflow: ellipsis;
763
+  transition: color 0.3s;
764
+  white-space: nowrap;
765
+}
766
+.el-main {
767
+  padding-top: 0px;
768
+  padding-left: 18px;
769
+  padding-right: 0px;
770
+  .el-tabs{
771
+    .el-tabs__content{
772
+      padding: 12px;
773
+      .el-table .el-table__header-wrapper table{
774
+        width: 100% !important;
775
+      }
776
+      .el-table .el-table__body-wrapper table{
777
+        width: 100% !important;
778
+      }
779
+    }
780
+  }
781
+}
782
+
783
+.newMain {
784
+  .el-form-item__label {
785
+    width: 104px;
786
+  }
787
+}
788
+.newDisinfectOne {
789
+  .el-input--prefix .el-input__inner {
790
+    // padding-left: 15px;
791
+    padding-right: 0px !important;
792
+  }
793
+}
794
+.stoppage {
795
+  .el-form-item__label {
796
+    width: 18%;
797
+  }
798
+}
799
+.newItem {
800
+  .el-form-item__label {
801
+    width: 130px;
802
+  }
803
+}
804
+.formItem {
805
+  .el-form-item__label {
806
+    width: 104px;
807
+    line-height: 30px;
808
+  }
809
+}
810
+.newname {
811
+  .el-form-item__label {
812
+    width: 60px;
813
+  }
814
+}
815
+::-webkit-scrollbar {
816
+  height: 20px;
817
+}
818
+
819
+.el-table td .cell {
820
+  padding: 0 5px !important;
821
+}
822
+.addTab {
823
+  position: absolute;
824
+  right: 8px;
825
+  top: 3px;
826
+  z-index: 20;
827
+}
828
+</style>

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1240 - 260
src/xt_pages/outpatientDoctorStation/batch_mode_template.vue


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1337 - 0
src/xt_pages/outpatientDoctorStation/batch_replacement.vue


+ 10 - 5
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue 파일 보기

667
     methods: {
667
     methods: {
668
 
668
 
669
       changeClass(id) {
669
       changeClass(id) {
670
+        console.log("asdaff,id",id)
671
+        console.log("asdaff,this.value",this.value)
672
+        console.log("asdaff,this.allProject",this.allProject)
670
         this.tabProject = []
673
         this.tabProject = []
671
         if (id == 0) {
674
         if (id == 0) {
672
           this.tabProject = this.allProject
675
           this.tabProject = this.allProject
673
         } else {
676
         } else {
674
           for (let i = 0; i < this.allProject.length; i++) {
677
           for (let i = 0; i < this.allProject.length; i++) {
675
-            if (this.allProject[i].cost_classify == id) {
678
+            if (this.allProject[i].project.cost_classify == id) {
676
               this.tabProject.push(this.allProject[i])
679
               this.tabProject.push(this.allProject[i])
677
             }
680
             }
678
           }
681
           }
1818
       },
1821
       },
1819
 
1822
 
1820
       tabclickEvent(val) {
1823
       tabclickEvent(val) {
1821
-
1824
+        console.log("li3333333333333li")
1822
         for (let i = 0; i < this.prescriptions.length; i++) {
1825
         for (let i = 0; i < this.prescriptions.length; i++) {
1823
           if (this.prescriptions[i].name == val.name) {
1826
           if (this.prescriptions[i].name == val.name) {
1824
             this.prescription_id = this.prescriptions[i].id
1827
             this.prescription_id = this.prescriptions[i].id
2154
       },
2157
       },
2155
 
2158
 
2156
       moreState(tab, event) {
2159
       moreState(tab, event) {
2160
+        console.log("li222222222")
2157
         if (tab == 'more') {
2161
         if (tab == 'more') {
2158
           return false
2162
           return false
2159
         }
2163
         }
2160
-      }, open_three() {
2164
+      },
2165
+      open_three() {
2161
         for (let i = 0; i < this.prescriptions.length; i++) {
2166
         for (let i = 0; i < this.prescriptions.length; i++) {
2162
           for (let b = 0; b < this.prescriptions[i].advices.length; b++) {
2167
           for (let b = 0; b < this.prescriptions[i].advices.length; b++) {
2163
             if (this.prescriptions[i].advices[b].prescribing_number == 0 || this.prescriptions[i].advices[b].prescribing_number == '') {
2168
             if (this.prescriptions[i].advices[b].prescribing_number == 0 || this.prescriptions[i].advices[b].prescribing_number == '') {
2654
       },
2659
       },
2655
       addTab(targetName) {
2660
       addTab(targetName) {
2656
 
2661
 
2657
-        console.log("this.prescriptions",this.prescriptions)
2662
+        console.log("this.prescriptionsaaaaaa",this.prescriptions)
2658
         for(let i = 0; i < this.prescriptions.length; i++){
2663
         for(let i = 0; i < this.prescriptions.length; i++){
2659
           if (this.prescriptions[i].is_medicine_status) {
2664
           if (this.prescriptions[i].is_medicine_status) {
2660
             this.$message.error('处方中包含已发药处方,无法新增')
2665
             this.$message.error('处方中包含已发药处方,无法新增')
2741
 
2746
 
2742
       },
2747
       },
2743
       removeTab(targetName) {
2748
       removeTab(targetName) {
2744
-
2749
+        console.log("1111111111111111")
2745
         if (this.curPrescriptions.order_status == 2 || this.curPrescriptions.order_status == 5 || this.curPrescriptions.is_medicine_status) {
2750
         if (this.curPrescriptions.order_status == 2 || this.curPrescriptions.order_status == 5 || this.curPrescriptions.is_medicine_status) {
2746
           this.$message.error('该处方已经结算或者记账或者已发药,无法删除')
2751
           this.$message.error('该处方已经结算或者记账或者已发药,无法删除')
2747
           return
2752
           return

+ 22 - 13
src/xt_pages/outpatientDoctorStation/components/prescriptionTemplateTable.vue 파일 보기

4
         <el-table v-if="prescription.advices && prescription.advices.length > 0" :data="prescription.advices" border
4
         <el-table v-if="prescription.advices && prescription.advices.length > 0" :data="prescription.advices" border
5
                   style="width: 99%;" :row-style="{ color: '#303133' }"
5
                   style="width: 99%;" :row-style="{ color: '#303133' }"
6
                   :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
6
                   :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
7
-            <el-table-column align="center" width="70" label="序号">
7
+            <el-table-column align="center" width="50" label="序号">
8
                 <template slot-scope="scope">
8
                 <template slot-scope="scope">
9
                     <div style="display:flex;align-items:center;">
9
                     <div style="display:flex;align-items:center;">
10
                         <el-input v-model="scope.row.groupno" placeholder=""></el-input>
10
                         <el-input v-model="scope.row.groupno" placeholder=""></el-input>
11
                     </div>
11
                     </div>
12
                 </template>
12
                 </template>
13
             </el-table-column>
13
             </el-table-column>
14
-            <el-table-column align="center" prop="drug_name" label="名称">
14
+            <el-table-column align="center" prop="drug_name" label="名称"  width="297" >
15
                 <template slot-scope="scope"><span :title="scope.row.drug_name">{{ scope.row.drug_name }}</span>
15
                 <template slot-scope="scope"><span :title="scope.row.drug_name">{{ scope.row.drug_name }}</span>
16
                 </template>
16
                 </template>
17
             </el-table-column>
17
             </el-table-column>
18
 
18
 
19
-          <el-table-column align="center" prop="single_dose" width="120" label="单次用量">
19
+          <el-table-column align="center" prop="single_dose" width="150" label="单次用量">
20
             <template slot-scope="scope">
20
             <template slot-scope="scope">
21
               <div style="display:flex;align-items:center;">
21
               <div style="display:flex;align-items:center;">
22
                 <el-input v-model="scope.row.single_dose" @input="getAllChange(scope)"
22
                 <el-input v-model="scope.row.single_dose" @input="getAllChange(scope)"
32
               </div>
32
               </div>
33
             </template>
33
             </template>
34
           </el-table-column>
34
           </el-table-column>
35
-            <el-table-column align="center" prop="delivery_way" width="100" label="用法">
35
+            <el-table-column align="center" prop="delivery_way" width="110" label="用法">
36
                 <template slot-scope="scope">
36
                 <template slot-scope="scope">
37
                     <el-select v-model="scope.row.delivery_way" placeholder="请选择">
37
                     <el-select v-model="scope.row.delivery_way" placeholder="请选择">
38
                         <el-option
38
                         <el-option
44
                     </el-select>
44
                     </el-select>
45
                 </template>
45
                 </template>
46
             </el-table-column>
46
             </el-table-column>
47
-            <el-table-column align="center" prop="execution_frequency" width="100" label="频率">
47
+            <el-table-column align="center" prop="execution_frequency" width="110" label="频率">
48
                 <template slot-scope="scope">
48
                 <template slot-scope="scope">
49
                     <el-select v-model="scope.row.execution_frequency" placehold er="请选择" @change="getAllChange(scope)">
49
                     <el-select v-model="scope.row.execution_frequency" placehold er="请选择" @change="getAllChange(scope)">
50
                         <el-option
50
                         <el-option
58
             </el-table-column>
58
             </el-table-column>
59
 
59
 
60
 
60
 
61
-            <el-table-column align="center" prop="day" width="70" label="天数">
61
+            <el-table-column align="center" prop="day" width="90" label="天数">
62
                 <template slot-scope="scope">
62
                 <template slot-scope="scope">
63
                     <div style="display:flex;align-items:center;">
63
                     <div style="display:flex;align-items:center;">
64
                         <el-input v-model="scope.row.day" @input="getAllChange(scope)" placeholder=""></el-input>
64
                         <el-input v-model="scope.row.day" @input="getAllChange(scope)" placeholder=""></el-input>
83
                     </div>
83
                     </div>
84
                 </template>
84
                 </template>
85
             </el-table-column>
85
             </el-table-column>
86
-            <el-table-column align="center" prop="retail_price" width="80" label="单价">
86
+            <el-table-column align="center" prop="retail_price" width="100" label="单价">
87
                 <template slot-scope="scope">
87
                 <template slot-scope="scope">
88
                     <div style="display:flex;align-items:center;">
88
                     <div style="display:flex;align-items:center;">
89
                         <el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>
89
                         <el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>
92
 
92
 
93
                 </template>
93
                 </template>
94
             </el-table-column>
94
             </el-table-column>
95
-            <el-table-column align="center" prop="remark" width="50" label="备注">
95
+            <el-table-column align="center" prop="remark" width="100" label="备注">
96
                 <template slot-scope="scope">
96
                 <template slot-scope="scope">
97
                     <el-input v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>
97
                     <el-input v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>
98
                 </template>
98
                 </template>
99
             </el-table-column>
99
             </el-table-column>
100
 
100
 
101
-            <el-table-column align="center" prop="remark" width="50" label="推送频率">
101
+            <el-table-column align="center" prop="remark" width="80" label="推送频率">
102
                 <template slot-scope="scope">
102
                 <template slot-scope="scope">
103
                     <div v-if="scope.row.frequency_type == 1">{{'每次必推'}}</div>
103
                     <div v-if="scope.row.frequency_type == 1">{{'每次必推'}}</div>
104
                     <div v-if="scope.row.frequency_type == 2">{{scope.row.day_count}}天/次</div>
104
                     <div v-if="scope.row.frequency_type == 2">{{scope.row.day_count}}天/次</div>
108
             </el-table-column>
108
             </el-table-column>
109
 
109
 
110
 
110
 
111
-            <el-table-column align="center" width="100" prop="name" label="操作">
111
+            <el-table-column align="center" width="140" prop="name" label="操作">
112
                 <template slot-scope="scope">
112
                 <template slot-scope="scope">
113
                     <!--<i class="el-icon-delete" @click="deleteDrug(scope.$index, scope.row)"></i>-->
113
                     <!--<i class="el-icon-delete" @click="deleteDrug(scope.$index, scope.row)"></i>-->
114
                     <el-button size="mini" type="primary" @click="handleEdit(scope.row,scope.$index)">推送</el-button>
114
                     <el-button size="mini" type="primary" @click="handleEdit(scope.row,scope.$index)">推送</el-button>
120
         <el-table v-if="prescription.project &&prescription.project.length > 0" :data="prescription.project" border
120
         <el-table v-if="prescription.project &&prescription.project.length > 0" :data="prescription.project" border
121
                   style="width: 99%;" :row-style="{ color: '#303133' }"
121
                   style="width: 99%;" :row-style="{ color: '#303133' }"
122
                   :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
122
                   :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
123
-            <el-table-column align="center" type="index" width="40" label="序号"></el-table-column>
123
+            <el-table-column align="center" width="40" label="序号">
124
+              <template slot-scope="scope">
125
+                {{scope.$index+1}}
126
+              </template>
127
+            </el-table-column>
124
             <el-table-column align="center" prop="project_name" label="名称">
128
             <el-table-column align="center" prop="project_name" label="名称">
125
                 <template slot-scope="scope"><span :title="scope.row.project_name">{{ scope.row.project_name }}</span>
129
                 <template slot-scope="scope"><span :title="scope.row.project_name">{{ scope.row.project_name }}</span>
126
                 </template>
130
                 </template>
136
                         <el-input v-model="scope.row.single_dose" @input="getProjectSingleDose(scope)"
140
                         <el-input v-model="scope.row.single_dose" @input="getProjectSingleDose(scope)"
137
                                   placeholder=""></el-input>
141
                                   placeholder=""></el-input>
138
                         <div>{{scope.row.unit}}</div>
142
                         <div>{{scope.row.unit}}</div>
143
+                      <div v-if="scope.row.unit == ''">{{scope.row.good_info.default_count_unit}}</div>
139
                     </div>
144
                     </div>
140
 
145
 
141
                 </template>
146
                 </template>
170
                     <div style="display:flex;align-items:center;">
175
                     <div style="display:flex;align-items:center;">
171
                         <el-input v-model="scope.row.total" style="width:60%" placeholder=""></el-input>
176
                         <el-input v-model="scope.row.total" style="width:60%" placeholder=""></el-input>
172
                         <div>{{scope.row.unit}}</div>
177
                         <div>{{scope.row.unit}}</div>
173
-
178
+                      <div v-if="scope.row.unit == ''">{{scope.row.good_info.default_count_unit}}</div>
174
                     </div>
179
                     </div>
175
                 </template>
180
                 </template>
176
             </el-table-column>
181
             </el-table-column>
355
         this.templateFormVisible = true
360
         this.templateFormVisible = true
356
 
361
 
357
 
362
 
363
+      },
364
+      lili(data){
365
+        console.log("data",this.prescription)
366
+
358
       },
367
       },
359
       createFilter(queryString) {
368
       createFilter(queryString) {
360
         return (restaurant) => {
369
         return (restaurant) => {
413
           }
422
           }
414
         })
423
         })
415
 
424
 
416
-      }, 
425
+      },
417
       deleteDrug: function(row, index) {
426
       deleteDrug: function(row, index) {
418
 
427
 
419
         this.$confirm('药品删除后不可恢复,是否确认删除', '删除', {
428
         this.$confirm('药品删除后不可恢复,是否确认删除', '删除', {

+ 7 - 7
src/xt_pages/outpatientDoctorStation/modeTemplate.vue 파일 보기

87
     },
87
     },
88
     methods: {
88
     methods: {
89
       searchAction() {
89
       searchAction() {
90
-      
90
+
91
       },
91
       },
92
       handleSizeChange(val) {
92
       handleSizeChange(val) {
93
         this.limit = val
93
         this.limit = val
94
-      
94
+
95
       },
95
       },
96
       getTime(val, temp) {
96
       getTime(val, temp) {
97
         if (val != 0) {
97
         if (val != 0) {
114
 
114
 
115
            this.templates = modeTeplate
115
            this.templates = modeTeplate
116
          }
116
          }
117
-       })   
117
+       })
118
       },
118
       },
119
       handleCurrentChange(row){
119
       handleCurrentChange(row){
120
         this.mode_id = row.id
120
         this.mode_id = row.id
126
           if(id == this.tablelist[i].id){
126
           if(id == this.tablelist[i].id){
127
             mode_name = this.tablelist[i].name
127
             mode_name = this.tablelist[i].name
128
           }
128
           }
129
-        } 
129
+        }
130
         return mode_name
130
         return mode_name
131
       },
131
       },
132
       deleteModeTemplate(row,index) {
132
       deleteModeTemplate(row,index) {
152
        jumpDetail(row) {
152
        jumpDetail(row) {
153
         this.$router.push('/hisTool/modeTemplateDetail?id=' + row.id + '&patient_id=' + this.patient_id + '&patient_name=' + this.patient_name +"&modes="+this.mode_str)
153
         this.$router.push('/hisTool/modeTemplateDetail?id=' + row.id + '&patient_id=' + this.patient_id + '&patient_name=' + this.patient_name +"&modes="+this.mode_str)
154
       },
154
       },
155
-      batchAdd(){
156
-        this.$router.push("/hisTool/batchTemplate")
157
-      }
155
+      // batchAdd(){
156
+      //   this.$router.push("/hisTool/batchTemplate")
157
+      // }
158
     },
158
     },
159
     created() {
159
     created() {
160
       this.tablelist =  Object.values(this.$store.getters.treatment_mode)
160
       this.tablelist =  Object.values(this.$store.getters.treatment_mode)

+ 3 - 2
src/xt_pages/outpatientDoctorStation/modeTemplateDetail.vue 파일 보기

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

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 579 - 493
src/xt_pages/outpatientDoctorStation/prescriptionTemplate.vue


+ 3 - 1
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue 파일 보기

1288
           this.showOne = true
1288
           this.showOne = true
1289
           this.showTwo = false
1289
           this.showTwo = false
1290
           this.$nextTick(() => {
1290
           this.$nextTick(() => {
1291
+            console.log("lilili1111111111111111111111111111111111111111111",this.prescriptions[this.prescriptions.length - 1])
1291
             this.$refs.prescription_tables.setNewData(this.prescriptions[this.prescriptions.length - 1])
1292
             this.$refs.prescription_tables.setNewData(this.prescriptions[this.prescriptions.length - 1])
1292
           })
1293
           })
1293
           this.customTabIndex = 1
1294
           this.customTabIndex = 1
1299
           this.showTwo = true
1300
           this.showTwo = true
1300
           this.showOne = false
1301
           this.showOne = false
1301
           this.$nextTick(() => {
1302
           this.$nextTick(() => {
1303
+            console.log("lilili1111111111111111111111111111111111111111111",this.prescriptions[this.prescriptions.length - 1])
1302
             this.$refs.prescription_tables.setNewData(this.prescriptions[this.prescriptions.length - 1])
1304
             this.$refs.prescription_tables.setNewData(this.prescriptions[this.prescriptions.length - 1])
1303
           })
1305
           })
1304
           this.customTabIndex = 2
1306
           this.customTabIndex = 2
2140
         display: flex;
2142
         display: flex;
2141
         flex-direction: column;
2143
         flex-direction: column;
2142
         position: relative;
2144
         position: relative;
2143
-
2145
+        overflow-x: auto;
2144
     .el-form-item {
2146
     .el-form-item {
2145
         width: 33%;
2147
         width: 33%;
2146
         margin-bottom: 14px;
2148
         margin-bottom: 14px;

+ 6 - 6
src/xt_pages/sign/components/beforeDialysisCalling.vue 파일 보기

116
         websocketSend(data) {
116
         websocketSend(data) {
117
             try {
117
             try {
118
                 this.websocket.send(JSON.stringify(data))
118
                 this.websocket.send(JSON.stringify(data))
119
-                
119
+
120
             } catch (error) {
120
             } catch (error) {
121
                 this.showError = true;
121
                 this.showError = true;
122
                 this.showIndex = 4;
122
                 this.showIndex = 4;
128
             this.websocket.onmessage = e => {
128
             this.websocket.onmessage = e => {
129
                 let res = JSON.parse(e.data);
129
                 let res = JSON.parse(e.data);
130
                 // let res = re.data;
130
                 // let res = re.data;
131
-                console.log('res3333333333',res)
132
-                
131
+                console.log('res3333ssss333333',res)
132
+
133
                     if(res.channel == 'queue/join'){
133
                     if(res.channel == 'queue/join'){
134
                         if(res.data.type == 3){
134
                         if(res.data.type == 3){
135
                             let fisrtQueueInfo = []
135
                             let fisrtQueueInfo = []
237
                         }
237
                         }
238
                         this.fisrtQueueInfo = fisrtQueueInfo
238
                         this.fisrtQueueInfo = fisrtQueueInfo
239
                     }
239
                     }
240
-                
240
+
241
             }
241
             }
242
         },
242
         },
243
         handleStateChange: function(index) {
243
         handleStateChange: function(index) {
249
             //         if(item.schedule_type == 1){
249
             //         if(item.schedule_type == 1){
250
             //             newArr.push(item)
250
             //             newArr.push(item)
251
             //         }
251
             //         }
252
-            //     }) 
252
+            //     })
253
             //     this.waitingCalledAm = newArr
253
             //     this.waitingCalledAm = newArr
254
             // }else if(index == 1){
254
             // }else if(index == 1){
255
             //     let arr = this.waitingCalledPm
255
             //     let arr = this.waitingCalledPm
258
             //         if(item.schedule_type == 2){
258
             //         if(item.schedule_type == 2){
259
             //             newArr.push(item)
259
             //             newArr.push(item)
260
             //         }
260
             //         }
261
-            //     }) 
261
+            //     })
262
             //     this.waitingCalledPm = newArr
262
             //     this.waitingCalledPm = newArr
263
             // }
263
             // }
264
             if(index == 2){
264
             if(index == 2){

+ 4 - 0
src/xt_pages/stock/drugs/drugStockInOrder.vue 파일 보기

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

+ 29 - 22
src/xt_pages/user/dialysisSolution.vue 파일 보기

286
               ></el-input>
286
               ></el-input>
287
             </el-form-item>
287
             </el-form-item>
288
             </div>
288
             </div>
289
-            
289
+
290
           </el-col>
290
           </el-col>
291
           <el-col
291
           <el-col
292
             :span="8"
292
             :span="8"
397
               ></el-input>
397
               ></el-input>
398
             </el-form-item>
398
             </el-form-item>
399
           </el-col>
399
           </el-col>
400
-         
400
+
401
 
401
 
402
           <el-col :span="8" v-if="isShows('钾')">
402
           <el-col :span="8" v-if="isShows('钾')">
403
             <el-form-item label="钾(mmol/L): " prop="kalium">
403
             <el-form-item label="钾(mmol/L): " prop="kalium">
895
         epo:"",
895
         epo:"",
896
         epo_count:"",
896
         epo_count:"",
897
         max_ultrafiltration_rate:"",
897
         max_ultrafiltration_rate:"",
898
-        
898
+
899
       },
899
       },
900
       childPlan: {
900
       childPlan: {
901
         mode: '',
901
         mode: '',
1063
          this.addPlan.anticoagulant_zongliang = ""
1063
          this.addPlan.anticoagulant_zongliang = ""
1064
          this.addPlan.anticoagulant_zongliang = parseInt(this.addPlan.anticoagulant_shouji) + parseInt(this.addPlan.anticoagulant_weichi)
1064
          this.addPlan.anticoagulant_zongliang = parseInt(this.addPlan.anticoagulant_shouji) + parseInt(this.addPlan.anticoagulant_weichi)
1065
       }
1065
       }
1066
-      
1066
+
1067
     },
1067
     },
1068
     'addPlan.anticoagulant_weichi': function() {
1068
     'addPlan.anticoagulant_weichi': function() {
1069
       this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(
1069
       this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(
1401
                 type: 'success',
1401
                 type: 'success',
1402
                 duration: 2000
1402
                 duration: 2000
1403
               })
1403
               })
1404
-              
1404
+
1405
               this.dialogFormVisible = false
1405
               this.dialogFormVisible = false
1406
               this.tableData[this.current_index].doctor =
1406
               this.tableData[this.current_index].doctor =
1407
                 response.data.data.solution.doctor
1407
                 response.data.data.solution.doctor
1486
           this.addPlan.dialysis_dialyszers = this.dialysis_dialyszers
1486
           this.addPlan.dialysis_dialyszers = this.dialysis_dialyszers
1487
           this.addPlan.dialysis_irrigation = this.dialysis_irrigation
1487
           this.addPlan.dialysis_irrigation = this.dialysis_irrigation
1488
           this.addPlan.mode_id = parseInt(this.addPlan.mode_id)
1488
           this.addPlan.mode_id = parseInt(this.addPlan.mode_id)
1489
+          if(this.addPlan.mode_id!=2 && this.addPlan.mode_id!=5&&this.addPlan.mode_id!=12){
1490
+            this.addPlan.displace_liqui_part = 0
1491
+            this.addPlan.displace_liqui_value = 0
1492
+          }
1489
           editPatientDialysisSolution(this.patientID,this.addPlan.id,this.addPlan, mode).then(response => {
1493
           editPatientDialysisSolution(this.patientID,this.addPlan.id,this.addPlan, mode).then(response => {
1490
             if (response.data.state == 0) {
1494
             if (response.data.state == 0) {
1491
               this.$message.error(response.data.msg)
1495
               this.$message.error(response.data.msg)
1519
       })
1523
       })
1520
     },
1524
     },
1521
     submitNewSolution(formName) {
1525
     submitNewSolution(formName) {
1522
-
1526
+       if(this.addPlan.mode_id!=2 && this.addPlan.mode_id!=5&&this.addPlan.mode_id!=12){
1527
+          this.addPlan.displace_liqui_part = 0
1528
+          this.addPlan.displace_liqui_value = 0
1529
+       }
1523
       this.addPlan.anticoagulant_zongliang = this.addPlan.anticoagulant_zongliang.toString()
1530
       this.addPlan.anticoagulant_zongliang = this.addPlan.anticoagulant_zongliang.toString()
1524
       this.$refs[formName].validate(valid => {
1531
       this.$refs[formName].validate(valid => {
1525
         if (valid) {
1532
         if (valid) {
1569
       this.fetchPatientDialysisSolutions()
1576
       this.fetchPatientDialysisSolutions()
1570
     },
1577
     },
1571
     openEdit(index, row) {
1578
     openEdit(index, row) {
1572
-      console.log("ro2333333",row)
1579
+      console.log("ro233344433344444444",row)
1573
       this.current_index = index
1580
       this.current_index = index
1574
       this.addPlan.id = row.id
1581
       this.addPlan.id = row.id
1575
       this.addPlan.mode = row.mode_id
1582
       this.addPlan.mode = row.mode_id
1595
       if(row.blood_flow_volume!="" || row.blood_flow_volume!=undefined){
1602
       if(row.blood_flow_volume!="" || row.blood_flow_volume!=undefined){
1596
         this.addPlan.blood_flow_volume = row.blood_flow_volume.toString()
1603
         this.addPlan.blood_flow_volume = row.blood_flow_volume.toString()
1597
       }
1604
       }
1598
-     
1605
+
1599
       if (row.anticoagulant == 3) {
1606
       if (row.anticoagulant == 3) {
1600
         this.addPlan.anticoagulant = '低分子肝素'
1607
         this.addPlan.anticoagulant = '低分子肝素'
1601
       }
1608
       }
1614
       if(row.target_ultrafiltration!="" || row.target_ultrafiltration!=undefined){
1621
       if(row.target_ultrafiltration!="" || row.target_ultrafiltration!=undefined){
1615
         this.addPlan.target_ultrafiltration = row.target_ultrafiltration.toString()
1622
         this.addPlan.target_ultrafiltration = row.target_ultrafiltration.toString()
1616
       }
1623
       }
1617
-   
1624
+
1618
 
1625
 
1619
       this.addPlan.dialysis_duration = parseFloat(row.dialysis_duration_hour) + parseFloat((row.dialysis_duration_minute / 60).toFixed(2))
1626
       this.addPlan.dialysis_duration = parseFloat(row.dialysis_duration_hour) + parseFloat((row.dialysis_duration_minute / 60).toFixed(2))
1620
       this.addPlan.dialysis_duration_hour = row.dialysis_duration_hour
1627
       this.addPlan.dialysis_duration_hour = row.dialysis_duration_hour
1643
       if(row.calcium!=""||row.calcium!=undefined){
1650
       if(row.calcium!=""||row.calcium!=undefined){
1644
          this.addPlan.calcium = row.calcium.toString()
1651
          this.addPlan.calcium = row.calcium.toString()
1645
       }
1652
       }
1646
-     
1653
+
1647
      if(row.bicarbonate!=""||  row.bicarbonate!=undefined){
1654
      if(row.bicarbonate!=""||  row.bicarbonate!=undefined){
1648
        this.addPlan.bicarbonate = row.bicarbonate.toString()
1655
        this.addPlan.bicarbonate = row.bicarbonate.toString()
1649
      }
1656
      }
1660
     if(row.conductivity!="" ||row.conductivity!=undefined ){
1667
     if(row.conductivity!="" ||row.conductivity!=undefined ){
1661
        this.addPlan.conductivity = row.conductivity.toString()
1668
        this.addPlan.conductivity = row.conductivity.toString()
1662
     }
1669
     }
1663
-     
1664
-    
1670
+
1671
+
1665
       this.addPlan.remark = row.remark
1672
       this.addPlan.remark = row.remark
1666
 
1673
 
1667
       this.addPlan.hemodialysis_pipelines  = row.hemodialysis_pipelines
1674
       this.addPlan.hemodialysis_pipelines  = row.hemodialysis_pipelines
1669
       if(row.hemodialysis_pipelines_count!="" || row.hemodialysis_pipelines_count!=undefined){
1676
       if(row.hemodialysis_pipelines_count!="" || row.hemodialysis_pipelines_count!=undefined){
1670
         this.addPlan.hemodialysis_pipelines_count  = row.hemodialysis_pipelines_count.toString()
1677
         this.addPlan.hemodialysis_pipelines_count  = row.hemodialysis_pipelines_count.toString()
1671
       }
1678
       }
1672
-     
1679
+
1673
       this.addPlan.puncture_needle  = row.puncture_needle
1680
       this.addPlan.puncture_needle  = row.puncture_needle
1674
 
1681
 
1675
       if(row.puncture_needle_count!=null || row.puncture_needle_count!=undefined){
1682
       if(row.puncture_needle_count!=null || row.puncture_needle_count!=undefined){
1676
         this.addPlan.puncture_needle_count = row.puncture_needle_count.toString()
1683
         this.addPlan.puncture_needle_count = row.puncture_needle_count.toString()
1677
       }
1684
       }
1678
-     
1685
+
1679
       this.addPlan.epo  = row.epo
1686
       this.addPlan.epo  = row.epo
1680
 
1687
 
1681
       if(row.epo_count!="" || row.epo_count!=undefined){
1688
       if(row.epo_count!="" || row.epo_count!=undefined){
1682
         this.addPlan.epo_count  = row.epo_count.toString()
1689
         this.addPlan.epo_count  = row.epo_count.toString()
1683
       }
1690
       }
1684
-    
1691
+
1685
       if(row.dialyzer_perfusion_apparatus!="" ||  row.dialyzer_perfusion_apparatus!=undefined){
1692
       if(row.dialyzer_perfusion_apparatus!="" ||  row.dialyzer_perfusion_apparatus!=undefined){
1686
          this.addPlan.dialyzer_perfusion_apparatus = row.dialyzer_perfusion_apparatus.toString()
1693
          this.addPlan.dialyzer_perfusion_apparatus = row.dialyzer_perfusion_apparatus.toString()
1687
       }
1694
       }
1688
       if(row.plasma_separator!="" || row.plasma_separator!=undefined){
1695
       if(row.plasma_separator!="" || row.plasma_separator!=undefined){
1689
         this.addPlan.plasma_separator = row.plasma_separator.toString()
1696
         this.addPlan.plasma_separator = row.plasma_separator.toString()
1690
       }
1697
       }
1691
-     
1698
+
1692
       if(row.bilirubin_adsorption_column!="" || row.bilirubin_adsorption_column!=undefined){
1699
       if(row.bilirubin_adsorption_column!="" || row.bilirubin_adsorption_column!=undefined){
1693
          this.addPlan.bilirubin_adsorption_column = row.bilirubin_adsorption_column.toString()
1700
          this.addPlan.bilirubin_adsorption_column = row.bilirubin_adsorption_column.toString()
1694
       }
1701
       }
1695
-    
1702
+
1696
       this.addPlan.dialysis_irrigation = row.dialysis_irrigation
1703
       this.addPlan.dialysis_irrigation = row.dialysis_irrigation
1697
       this.addPlan.dialysis_dialyszers = row.dialysis_dialyszers
1704
       this.addPlan.dialysis_dialyszers = row.dialysis_dialyszers
1698
       this.dialysis_irrigation = row.dialysis_irrigation
1705
       this.dialysis_irrigation = row.dialysis_irrigation
1717
       if(row.body_fluid_other!=''|| row.body_fluid_other!=undefined){
1724
       if(row.body_fluid_other!=''|| row.body_fluid_other!=undefined){
1718
         this.addPlan.body_fluid_other = row.body_fluid_other.toString()
1725
         this.addPlan.body_fluid_other = row.body_fluid_other.toString()
1719
       }
1726
       }
1720
-     
1727
+
1721
       this.addPlan.special_medicine = row.special_medicine
1728
       this.addPlan.special_medicine = row.special_medicine
1722
       if(row.special_medicine_other!=""||row.special_medicine_other!=undefined){
1729
       if(row.special_medicine_other!=""||row.special_medicine_other!=undefined){
1723
         this.addPlan.special_medicine_other = row.special_medicine_other.toString()
1730
         this.addPlan.special_medicine_other = row.special_medicine_other.toString()
1724
       }
1731
       }
1725
-   
1732
+
1726
       this.addPlan.displace_liqui_part = row.displace_liqui_part
1733
       this.addPlan.displace_liqui_part = row.displace_liqui_part
1727
       if(row.displace_liqui_value!=''||row.displace_liqui_value!=undefined){
1734
       if(row.displace_liqui_value!=''||row.displace_liqui_value!=undefined){
1728
         this.addPlan.displace_liqui_value = row.displace_liqui_value.toString()
1735
         this.addPlan.displace_liqui_value = row.displace_liqui_value.toString()
1730
       if(row.ultrafiltration!='' ||  row.ultrafiltration!=undefined){
1737
       if(row.ultrafiltration!='' ||  row.ultrafiltration!=undefined){
1731
         this.addPlan.ultrafiltration = row.ultrafiltration.toString()
1738
         this.addPlan.ultrafiltration = row.ultrafiltration.toString()
1732
       }
1739
       }
1733
-     
1740
+
1734
       this.addPlan.blood_access = row.blood_access
1741
       this.addPlan.blood_access = row.blood_access
1735
 
1742
 
1736
       this.addPlan.registrars_id = row.registrars_id
1743
       this.addPlan.registrars_id = row.registrars_id
1749
     },
1756
     },
1750
     isShows(name) {
1757
     isShows(name) {
1751
       var filedList = store.getters.xt_user.fileds
1758
       var filedList = store.getters.xt_user.fileds
1752
-      
1759
+
1753
       for (let i = 0; i < filedList.length; i++) {
1760
       for (let i = 0; i < filedList.length; i++) {
1754
         if (
1761
         if (
1755
           filedList[i].module == 1 &&
1762
           filedList[i].module == 1 &&
2196
     this.plasmaSeparatorList = getDataConfig('hemodialysis','plasma_separator')
2203
     this.plasmaSeparatorList = getDataConfig('hemodialysis','plasma_separator')
2197
     this.bilirubinAdsorptionColumn = getDataConfig('hemodialysis','bilirubin_adsorption_column')
2204
     this.bilirubinAdsorptionColumn = getDataConfig('hemodialysis','bilirubin_adsorption_column')
2198
     this.queryParams.id = this.patientID
2205
     this.queryParams.id = this.patientID
2199
-  
2206
+
2200
 
2207
 
2201
   }
2208
   }
2202
 }
2209
 }

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 597 - 690
src/xt_pages/workforce/components/template_table.vue