XMLWAN 3 years ago
parent
commit
4e87f3002e

+ 3 - 2
src/api/advice.js View File

@@ -212,13 +212,14 @@ export function DeleteAdviceTemplate(id, template_id, parent_id) {
212 212
   });
213 213
 }
214 214
 
215
-export function postAdviceTemplate(params, name, advice_type) {
215
+export function postAdviceTemplate(params, name,sort, advice_type) {
216 216
   return request({
217 217
     url:
218 218
       "/api/advicetemplate/create?template_name=" +
219 219
       name +
220 220
       "&advice_type=" +
221
-      advice_type,
221
+      advice_type
222
+      +"&sort="+sort,
222 223
     method: "post",
223 224
     data: params
224 225
   });

+ 47 - 19
src/xt_pages/data/druguseTemplate.vue View File

@@ -129,7 +129,6 @@
129 129
                 prop="amount1"
130 130
                 align="center"
131 131
                 label="药品规格">
132
-                <!-- {{drugDesc(scope.row)}} -->
133 132
                 <template slot-scope="scope">
134 133
                   <span v-if="scope.row.advice_desc">{{scope.row.advice_desc}}{{scope.row.drug_spec_unit}}</span>
135 134
                 </template>
@@ -189,6 +188,13 @@
189 188
                 </template>
190 189
               </el-table-column>
191 190
 
191
+             <el-table-column prop="blood_flow_volume" align="center" label="排序">
192
+                <template slot-scope="scope">
193
+                  <span v-if="scope.row.sort == 0"></span>
194
+                  <span v-if="scope.row.sort!=0">{{scope.row.sort}}</span>
195
+                </template>
196
+              </el-table-column>
197
+
192 198
               <el-table-column
193 199
                 align="center"
194 200
                 label="操作"
@@ -228,7 +234,9 @@
228 234
                   <el-form-item label="模版名称" style="width: 300px" prop="name">
229 235
                     <el-input v-model="form.name"></el-input>
230 236
                   </el-form-item>
231
-
237
+                 <el-form-item label="排序" style="width: 300px" prop="name">
238
+                    <el-input v-model="form.sort" v-type="number"></el-input>
239
+                  </el-form-item>
232 240
                   <el-form-item label="模版类型" prop="advice_type">
233 241
                     <el-radio-group v-model="form.advice_type">
234 242
                       <el-radio :label="0">临时</el-radio>
@@ -711,11 +719,15 @@
711 719
             <!--增删改查都请求网络类型的dialog-->
712 720
             <el-dialog title="编辑医嘱模版" :visible.sync="templateTableTwoVisible" width="800px">
713 721
               <div>
714
-                <!--<el-form ref="form" :model="form" :rule="formRules" label-width="100px">-->
715
-                <!--<el-form-item label="模版名称" style="width: 300px" prop="name">-->
716
-                <!--<el-input v-model="form.name" ></el-input>-->
717
-                <!--</el-form-item>-->
718
-                <!--</el-form>-->
722
+                <el-form ref="form" :model="form" :rule="formRules" label-width="100px">
723
+                  <el-form-item label="模版名称" style="width: 300px" prop="name">
724
+                    <el-input v-model="form.name" ></el-input>
725
+                  </el-form-item>
726
+
727
+                   <el-form-item label="排序" style="width: 300px" prop="name">
728
+                    <el-input v-model="form.sort" ></el-input>
729
+                   </el-form-item>
730
+                </el-form>
719 731
 
720 732
 
721 733
                 <div class="txsj" style="text-align: center;margin-bottom: 30px">
@@ -1448,8 +1460,8 @@
1448 1460
         },
1449 1461
         form: {
1450 1462
           name: '',
1451
-          advice_type: 0
1452
-
1463
+          advice_type: 0,
1464
+          sort:"",
1453 1465
         },
1454 1466
         drugwayForm: {
1455 1467
           name: '',
@@ -1669,11 +1681,11 @@
1669 1681
         const params = {
1670 1682
           'data': this.adviceTableData
1671 1683
         }
1672
-
1684
+       
1673 1685
         let name = encodeURIComponent(this.form.name)
1674 1686
         console.log("params",params)
1675
-
1676
-        postAdviceTemplate(params, name, this.form.advice_type).then(response => {
1687
+        let sort = this.form.sort
1688
+        postAdviceTemplate(params, name,sort, this.form.advice_type).then(response => {
1677 1689
 
1678 1690
           if (response.data.state == 0) {
1679 1691
             this.$message.error(response.data.msg)
@@ -1691,6 +1703,7 @@
1691 1703
                 }
1692 1704
                 object['name'] = template.name
1693 1705
                 object['isNoSub'] = 2
1706
+                object['sort'] = template.sort
1694 1707
                 this.adviceTemplates.unshift(object)
1695 1708
               }
1696 1709
             }
@@ -2145,6 +2158,7 @@
2145 2158
                 object['name'] = response.data.data.advice_templates[i].name
2146 2159
                 object['isNoSub'] = 1
2147 2160
                 object['template_id'] = response.data.data.advice_templates[i].id
2161
+                object['sort'] = response.data.data.advice_templates[i].sort
2148 2162
                 this.adviceTemplates.push(object)
2149 2163
               }
2150 2164
 
@@ -2158,13 +2172,15 @@
2158 2172
                   }
2159 2173
                   object['isNoSub'] = 2
2160 2174
                   object['name'] = response.data.data.advice_templates[i].name
2175
+                  object['sort'] = response.data.data.advice_templates[i].sort
2161 2176
                   this.adviceTemplates.push(object)
2177
+
2178
+
2162 2179
                 }
2163 2180
               }
2164 2181
             }
2165
-
2166
-            console.log(this.adviceTemplates)
2167
-
2182
+             this.adviceTemplates.sort(this.sortData)
2183
+             console.log("列表",this.adviceTemplates)
2168 2184
             // 处理单元格合并的数据
2169 2185
             this.handleSpanTempArr()
2170 2186
           }
@@ -2462,7 +2478,8 @@
2462 2478
             return 'success-row'
2463 2479
           }
2464 2480
         }
2465
-      }, cellMouseEnter: function(row, column, cell, event) {
2481
+      }, 
2482
+      cellMouseEnter: function(row, column, cell, event) {
2466 2483
         if (column.label == '模版名称') {
2467 2484
           this.sameRowArr.forEach((arr, i) => {
2468 2485
             if (arr.indexOf(row.index) != -1) {
@@ -2678,25 +2695,33 @@
2678 2695
         this.sameRowArr = sameRowArr
2679 2696
       },
2680 2697
        handleUpdateAdviceTemplate(row, index) {
2698
+       
2681 2699
         this.current_template_id = row.template_id
2682 2700
         this.current_template_name = row.name
2683 2701
         this.form.name = row.name
2684 2702
         this.form.advice_type = row.advice_type
2703
+        if(row.sort == 0){
2704
+          row.sort = ""
2705
+        }else{
2706
+          this.form.sort = row.sort
2707
+        }
2685 2708
         this.templateTableTwoVisible = true
2686 2709
         this.adviceTableDataTwo = []
2710
+      
2687 2711
         for (let i = 0; i < this.adviceTemplates.length; i++) {
2688 2712
           if (this.adviceTemplates[i].template_id == row.template_id) {
2689 2713
             this.adviceTableDataTwo.push(this.adviceTemplates[i])
2690 2714
           }
2691 2715
         }
2716
+        this.getAdviceConfig()
2692 2717
       },
2693 2718
       modifyTemplateName() {
2694 2719
         const params = {
2695 2720
           template_name: this.form.name,
2696
-          template_id: this.current_template_id
2721
+          template_id: this.current_template_id,
2722
+          sort:this.form.sort,
2697 2723
         }
2698
-        console.log("params---",params)
2699
-
2724
+      
2700 2725
         updateTemplateName(params).then(response => {
2701 2726
           if (response.data.state == 0) {
2702 2727
             this.$message.error(response.data.msg)
@@ -2918,6 +2943,9 @@
2918 2943
         console.log('results',results)
2919 2944
         cb(results);
2920 2945
       },
2946
+     sortData(a, b) {
2947
+       return a.sort - b.sort
2948
+     }
2921 2949
     }
2922 2950
   }
2923 2951
 </script>

+ 165 - 0
src/xt_pages/data/printTemplate/schedulePrint.vue View File

@@ -0,0 +1,165 @@
1
+<template>
2
+    <div
3
+      v-loading="loading"
4
+      element-loading-text="服务器处理数据中,请稍候......."
5
+      element-loading-spinner="el-icon-loading"
6
+      element-loading-background="rgba(0, 0, 0, 0.8)"
7
+    >
8
+    <p style="margin-top: 10px;margin-bottom: 30px">
9
+        请选择你需要打印的排班打印单样式
10
+    </p>
11
+    <el-row :gutter="20" type="flex" justify="center">
12
+        <el-col :span="6" style="text-align: center">
13
+        <div
14
+            @click="imgClick('https://kuyi.shengws.com/tempSchedule1.jpg')"
15
+        >
16
+            <el-tooltip
17
+            class="item"
18
+            effect="dark"
19
+            :hide-after="2000"
20
+            content="点击查看大图"
21
+            placement="top-start"
22
+            >
23
+         
24
+            <el-image
25
+                style="width: 200px; height: 200px"
26
+                :src="require('@/assets/home/111.jpg')"
27
+            ></el-image>
28
+
29
+            </el-tooltip>
30
+        </div>
31
+        <el-radio v-model="radio" label="1" @change="change">模版一</el-radio>
32
+        </el-col>
33
+        <el-col
34
+        :span="6"
35
+        style="margin-left: 100px;margin-right: 100px;text-align: center"
36
+        >
37
+        <div
38
+            @click="imgClick('https://kuyi.shengws.com/tempSchedule2.jpg')"
39
+
40
+        >
41
+            <el-tooltip
42
+            class="item"
43
+            effect="dark"
44
+            content="点击查看大图"
45
+            placement="top-start"
46
+            :hide-after="2000"
47
+            >
48
+          
49
+
50
+            <el-image
51
+                style="width: 200px; height: 200px"
52
+                :src="require('@/assets/home/222.jpg')"
53
+            ></el-image>
54
+            </el-tooltip>
55
+        </div>
56
+        <el-radio v-model="radio" label="2" @change="change">模版二</el-radio
57
+        >
58
+        </el-col>
59
+    </el-row>
60
+   
61
+
62
+
63
+      <el-image-viewer
64
+        v-if="showViewer"
65
+        :on-close="closeViewer"
66
+        :url-list="imgs"
67
+      ></el-image-viewer>
68
+
69
+    </div>
70
+  </div>
71
+</template>
72
+
73
+<script>
74
+import BreadCrumb from "@/xt_pages/components/bread-crumb";
75
+import ElImageViewer from 'element-ui/packages/image/src/image-viewer'
76
+import { getScheduleTemplate, postScheduleTemplate } from "@/api/schedule";
77
+import store from "@/store";
78
+
79
+export default {
80
+  name: "printTemplate",
81
+  components: { ElImageViewer, BreadCrumb },
82
+  data() {
83
+    return {
84
+      showViewer:false,
85
+      crumbs: [
86
+        { path: false, name: "管理中心" },
87
+        { path: "data/print", name: "打印模版" }
88
+      ],
89
+      imgUrl_One: require("@/assets/home/111.jpg"),
90
+      imgUrl_Two: require("@/assets/home/222.jpg"),
91
+   
92
+
93
+      imgs:[],
94
+
95
+      imgs_one: ["https://kuyi.shengws.com/template1.png"],
96
+      imgs_two: ["https://kuyi.shengws.com/template2.png"],
97
+      delay: 500,
98
+      radio: 0,
99
+      tempRadio: 0,
100
+      loading: false
101
+    };
102
+  },
103
+  methods: {
104
+    imgClick(val){
105
+      this.imgs = []
106
+      this.imgs.push(val)
107
+      this.showViewer = true
108
+
109
+    },
110
+    closeViewer() {
111
+      this.showViewer = false
112
+    },
113
+    change: function(val) {
114
+       var params = {
115
+            template_id:val
116
+        }
117
+     postScheduleTemplate(params).then(response=>{
118
+         if(response.data.state == 1){
119
+            var template = response.data.data.template
120
+            this.$message.success("保存成功!")
121
+            this.getlist()
122
+         }   
123
+      })
124
+    },
125
+    getlist(){
126
+       getScheduleTemplate().then(response=>{
127
+          if(response.data.state == 1){
128
+            var template = response.data.data.template
129
+            console.log("template222222",template)
130
+            if(template.template_id == 0){
131
+               this.radio = "1"
132
+            }
133
+            if(template.template_id!=0){
134
+               this.radio = template.template_id.toString()
135
+            }
136
+           
137
+          }
138
+       })
139
+    }
140
+  },
141
+  created() {
142
+    this.getlist()
143
+  }
144
+};
145
+</script>
146
+
147
+<style scoped>
148
+.el-row {
149
+  margin-bottom: 20px;
150
+
151
+  & :last-child {
152
+    margin-bottom: 0;
153
+  }
154
+}
155
+.el-col {
156
+  border-radius: 4px;
157
+}
158
+</style>
159
+<style lang="scss">
160
+.app-print {
161
+  .el-radio__label {
162
+    padding-left: 10px;
163
+  }
164
+}
165
+</style>

+ 1 - 0
src/xt_pages/dialysis/PatientBox.vue View File

@@ -551,6 +551,7 @@ export default {
551 551
           this.getLongAdvice()
552 552
         } else {
553 553
           this.$message.error(resp.msg);
554
+         
554 555
         }
555 556
 
556 557
         if (this.lastDialysisPrescribe != null) {

+ 5 - 0
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

@@ -344,6 +344,11 @@
344 344
           <span class="content">{{this.prescription.plasma_separator}}</span>
345 345
         </li>
346 346
 
347
+       <li v-if="isShow('胆红素吸附柱')">
348
+          <label>胆红素吸附柱: </label>
349
+          <span class="content">{{this.prescription.bilirubin_adsorption_column}}</span>
350
+        </li>
351
+
347 352
       </ul>
348 353
     </div>
349 354
     <div style="color:#34495e;margin: 12px 100px 0 100px;">备注: <span style="color:#409eff;">{{ note }}</span></div>

+ 6 - 0
src/xt_pages/dialysis/details/assessmentBefore.vue View File

@@ -363,6 +363,12 @@
363 363
           <span class="content">{{this.record.estimated_food_intake}}</span>
364 364
           <span class="unit"></span>
365 365
         </li>
366
+
367
+       <li v-if="isShow('透析期间血压')">
368
+          <label>透析期间血压: </label>
369
+          <span class="content">{{this.record.blood_pressure_during_dialysis}}</span>
370
+          <span class="unit"></span>
371
+        </li>
366 372
        
367 373
       </ul>
368 374
     </div>

+ 7 - 0
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue View File

@@ -570,6 +570,12 @@
570 570
              <el-input v-model="assessmentBeforeDislysis.estimated_food_intake"></el-input>
571 571
             </el-form-item>
572 572
           </el-col>
573
+
574
+         <el-col :span="8">
575
+            <el-form-item label="透析期间血压:" v-if="isShow('透析期间血压')">
576
+             <el-input v-model="assessmentBeforeDislysis.blood_pressure_during_dialysis"></el-input>
577
+            </el-form-item>
578
+          </el-col>
573 579
          
574 580
           <el-col :span="24">
575 581
             <el-form-item label="备注: ">
@@ -738,6 +744,7 @@
738 744
           pre_dialysis_drugs:"",
739 745
           period:"",
740 746
           estimated_food_intake:"",
747
+          blood_pressure_during_dialysis:"",
741 748
         },
742 749
 
743 750
         InnerDialogProps: {

+ 30 - 3
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -402,6 +402,14 @@
402 402
              </el-form-item>
403 403
           </el-col>
404 404
 
405
+         
406
+         <el-col :span="8" v-if="isShows('胆红素吸附柱')">
407
+             <el-form-item label="胆红素吸附柱:">
408
+                  <el-input v-model="dialysisPrescription.bilirubin_adsorption_column" @focus="showInnerDialog('10')"></el-input>
409
+             </el-form-item>
410
+         </el-col>
411
+
412
+
405 413
           <el-col :span="8" v-if="isShows('体液过多症状')">
406 414
             <el-form-item label="体液过多症状:">
407 415
               <el-select
@@ -1076,6 +1084,7 @@
1076 1084
           single_water:"",
1077 1085
           replacement_flow:"",
1078 1086
           plasma_separator:"",
1087
+          bilirubin_adsorption_column:"",
1079 1088
         },
1080 1089
 
1081 1090
         anticoagulant: {
@@ -1101,6 +1110,7 @@
1101 1110
         dialyzers:[],
1102 1111
         illnessList:[],
1103 1112
         plasmaSeparatorList:[],
1113
+        bilirubinAdsorptionColumn:[],
1104 1114
       }
1105 1115
     },
1106 1116
     methods: {
@@ -1194,6 +1204,16 @@
1194 1204
             this.InnerDialogProps.selected = this.dialysisPrescription.plasma_separator
1195 1205
             this.InnerDialogProps.isShowTextArea = false
1196 1206
             break
1207
+
1208
+           case '10': // 胆红素吸附柱
1209
+
1210
+           
1211
+            this.InnerDialogProps.values = this.bilirubinAdsorptionColumn
1212
+            this.InnerDialogProps.titles = '胆红素吸附柱'
1213
+            this.InnerDialogProps.type = 'bilirubin_adsorption_column'
1214
+            this.InnerDialogProps.selected = this.dialysisPrescription.bilirubin_adsorption_column
1215
+            this.InnerDialogProps.isShowTextArea = false
1216
+            break
1197 1217
         }
1198 1218
       },
1199 1219
       innerDialogComfirm: function(val) {
@@ -1214,6 +1234,9 @@
1214 1234
           case 'plasma_separator':
1215 1235
           this.dialysisPrescription.plasma_separator = val.value.join(',')
1216 1236
           break
1237
+          case 'bilirubin_adsorption_column':
1238
+          this.dialysisPrescription.bilirubin_adsorption_column = val.value.join(',')
1239
+          break
1217 1240
         }
1218 1241
       },
1219 1242
       innerDialogCancle: function() {
@@ -1665,7 +1688,8 @@
1665 1688
         return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
1666 1689
       },
1667 1690
       show(pre,schedual,last,his_is_open) {
1668
-        
1691
+        console.log("pre222222",pre)
1692
+       
1669 1693
         if(his_is_open == 1){
1670 1694
           this.is_open = 0
1671 1695
         }
@@ -3602,10 +3626,13 @@
3602 3626
       }
3603 3627
     },
3604 3628
     created(){
3629
+      
3605 3630
       this.illnessList = getDataConfig('hemodialysis','illness')
3606
-      console.log("列表22222222222",this.illnessList)
3631
+      
3607 3632
       this.plasmaSeparatorList = getDataConfig('hemodialysis','plasma_separator')
3608
-      console.log("列表333333333",this.plasmaSeparatorList)
3633
+      
3634
+      this.bilirubinAdsorptionColumn = getDataConfig('hemodialysis','bilirubin_adsorption_column')
3635
+
3609 3636
     }
3610 3637
   }
3611 3638
 </script>

+ 10 - 0
src/xt_pages/dialysis/details/index.vue View File

@@ -985,6 +985,13 @@ export default {
985 985
             if (prescription.body_fluid == -2) {
986 986
               prescription.body_fluid = 0
987 987
             }
988
+            if(prescription.bilirubin_adsorption_column == 0){
989
+               prescription.bilirubin_adsorption_column  = ""
990
+            }
991
+
992
+             if(prescription.plasma_separator == 0){
993
+               prescription.plasma_separator  = ""
994
+            }
988 995
           }
989 996
 
990 997
           var solution = resp.data.solution // 透析方案
@@ -997,6 +1004,9 @@ export default {
997 1004
             if (predialysis_evaluation.blood_access_part_id == -2) {
998 1005
               predialysis_evaluation.blood_access_part_id = 0
999 1006
             }
1007
+            if(predialysis_evaluation.blood_pressure_during_dialysis == 0){
1008
+              predialysis_evaluation.blood_pressure_during_dialysis = ""
1009
+            }
1000 1010
           }
1001 1011
           var doctor_advices = resp.data.doctor_advices // 临时医嘱
1002 1012
 

+ 1 - 1
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue View File

@@ -2,7 +2,7 @@
2 2
   <div id="dialysis-print-box-1">
3 3
     <div id="dialysis-print-box-1-1" :class="(this.monitors.length > 8 && this.print_length == 8) || (this.monitors.length > 9 && this.print_length == 9) ? 'margin-bottom-900 dialysis-print-order print-template-two print_page_main_content' : 'margin-bottom-50 dialysis-print-order print-template-two print_page_main_content'">
4 4
       <div class="order-yy-name">{{ orgname }}</div>
5
-      <div class="order-title">血液净化专科护理记录单</div>
5
+      <div class="order-title">血液净化透析治疗记录单</div>
6 6
       <div class="row">
7 7
         <div class="inline_block">
8 8
           科室:

+ 5 - 3
src/xt_pages/outpatientDoctorStation/components/dialysisIndex.vue View File

@@ -536,7 +536,7 @@ export default {
536 536
         if (resp.state == 1) {
537 537
           var patient = resp.data.patient // 患者信息
538 538
           var schedual = resp.data.schedual // 患者排班信息
539
-          console.log("排班22222222222",schedual)
539
+         
540 540
           var prescription = resp.data.prescription // 透析处方
541 541
           if (prescription != null) {
542 542
             if (prescription.body_fluid == -2) {
@@ -545,7 +545,7 @@ export default {
545 545
           }
546 546
 
547 547
           var solution = resp.data.solution // 透析方案
548
-          console.log("透析方案22223333333333",solution)
548
+         
549 549
           var receiver_treatment_access = resp.data.receiver_treatment_access // 接诊评估
550 550
 
551 551
           var predialysis_evaluation = resp.data.predialysis_evaluation // 透前评估
@@ -739,7 +739,9 @@ export default {
739 739
           }
740 740
           this.device_number_map = device_number_map
741 741
         } else {
742
-          this.$message.error(resp.msg)
742
+         // this.$message.error(resp.msg)
743
+          console.log("报错提示")
744
+          this.$message.error("该患者今日未排班,无法使用此模块,请先排班!")
743 745
         }
744 746
 
745 747
         if (this.lastDialysisPrescribe != null) {

+ 1 - 4
src/xt_pages/stock/stockQuery.vue View File

@@ -151,10 +151,7 @@
151 151
         <el-table-column label="剩余库存" align="center">
152 152
           <template slot-scope="scope">
153 153
             <span>{{
154
-              stockInCount(scope.row) -
155
-                salesReturnCount(scope.row) -
156
-                stockOutCount(scope.row) +
157
-                cancelStockCount(scope.row)
154
+              stockInCount(scope.row)- stockOutCount(scope.row) + cancelStockCount(scope.row)
158 155
             }}</span>
159 156
           </template>
160 157
         </el-table-column>

+ 25 - 3
src/xt_pages/user/dialysisSolution.vue View File

@@ -518,6 +518,13 @@
518 518
              </el-form-item>
519 519
          </el-col>
520 520
 
521
+
522
+        <el-col :span="8" v-if="isShows('血浆分离器')">
523
+             <el-form-item label="血浆分离器:">
524
+               <el-input v-model="addPlan.bilirubin_adsorption_column" @focus="showInnerDialog('9')"></el-input>
525
+             </el-form-item>
526
+         </el-col>
527
+
521 528
           <el-col :span="8" v-if="isShows('目标KT/V')">
522 529
             <el-form-item label="目标KT/V">
523 530
               <el-input v-model="addPlan.target_ktv"></el-input>
@@ -718,6 +725,7 @@ export default {
718 725
         dialysis_dialyszers:'',
719 726
         dialysis_irrigation:'',
720 727
         plasma_separator:"",
728
+        bilirubin_adsorption_column:"",
721 729
       },
722 730
       childPlan: {
723 731
         mode: '',
@@ -846,7 +854,8 @@ export default {
846 854
      dialyzers:[],
847 855
      dialysis_dialyszers:'',
848 856
      dialysis_irrigation:"",
849
-     plasmaSeparatorList:[]
857
+     plasmaSeparatorList:[],
858
+     bilirubinAdsorptionColumn:[],
850 859
     }
851 860
   },
852 861
   watch: {
@@ -934,6 +943,15 @@ export default {
934 943
           this.InnerDialogProps.selected = this.addPlan.plasma_separator
935 944
           this.InnerDialogProps.isShowTextArea = false
936 945
 
946
+          break
947
+         case '9':
948
+         
949
+          this.InnerDialogProps.values = this.bilirubinAdsorptionColumn
950
+          this.InnerDialogProps.titles = '胆红素吸附柱'
951
+          this.InnerDialogProps.type = 'bilirubin_adsorption_column'
952
+          this.InnerDialogProps.selected = this.addPlan.bilirubin_adsorption_column
953
+          this.InnerDialogProps.isShowTextArea = false
954
+
937 955
           break
938 956
       }
939 957
     },
@@ -952,7 +970,9 @@ export default {
952 970
           break
953 971
         case 'plasma_separator':
954 972
           this.addPlan.plasma_separator = val.value.join(',')
955
-          console.log("333333",this.addPlan.plasma_separator)
973
+          break
974
+        case 'bilirubin_adsorption_column':
975
+          this.addPlan.bilirubin_adsorption_column = val.value.join(',')
956 976
           break
957 977
       }
958 978
     },
@@ -1399,6 +1419,7 @@ export default {
1399 1419
 
1400 1420
       this.addPlan.dialyzer_perfusion_apparatus = row.dialyzer_perfusion_apparatus.toString()
1401 1421
       this.addPlan.plasma_separator = row.plasma_separator.toString()
1422
+      this.addPlan.bilirubin_adsorption_column = row.bilirubin_adsorption_column.toString()
1402 1423
       this.addPlan.dialysis_irrigation = row.dialysis_irrigation
1403 1424
       this.addPlan.dialysis_dialyszers = row.dialysis_dialyszers
1404 1425
       this.dialysis_irrigation = row.dialysis_irrigation
@@ -1498,6 +1519,7 @@ export default {
1498 1519
         dialysis_duration_minute: '30',
1499 1520
         created_time:"",
1500 1521
         plasma_separator:"",
1522
+        bilirubin_adsorption_column:"",
1501 1523
       }
1502 1524
       this.addPlanTypeChange()
1503 1525
 
@@ -1837,7 +1859,7 @@ export default {
1837 1859
       'dialyzer_perfusion_apparatus'
1838 1860
     )
1839 1861
     this.plasmaSeparatorList = getDataConfig('hemodialysis','plasma_separator')
1840
-    
1862
+    this.bilirubinAdsorptionColumn = getDataConfig('hemodialysis','bilirubin_adsorption_column')
1841 1863
     this.queryParams.id = this.patientID
1842 1864
     // this.fetchAllDoctorAndNurse();
1843 1865
 

+ 21 - 21
src/xt_pages/workforce/scheduleTablePrint.vue View File

@@ -678,7 +678,7 @@ export default {
678 678
                           }
679 679
 
680 680
                          //礼拜三晚上
681
-                         if(this.scheduleCountList[j].schedule_week == 3 && this.scheduleCountList[j].schedule_type == 2){
681
+                         if(this.scheduleCountList[j].schedule_week == 3 && this.scheduleCountList[j].schedule_type == 3){
682 682
                             
683 683
                               newArr[i].Wed_N.patient = this.scheduleCountList[j].Count
684 684
                           }
@@ -686,76 +686,76 @@ export default {
686 686
 
687 687
 
688 688
                         //礼拜四上午
689
-                         if(this.scheduleCountList[j].schedule_week == 3 && this.scheduleCountList[j].schedule_type == 1){
689
+                         if(this.scheduleCountList[j].schedule_week == 4 && this.scheduleCountList[j].schedule_type == 1){
690 690
                             
691
-                              newArr[i].Thurs_A.patient = this.scheduleCountList[j].Count
691
+                              newArr[i].Thurs_M.patient = this.scheduleCountList[j].Count
692 692
                           } 
693 693
 
694 694
                          //礼拜四下午
695
-                         if(this.scheduleCountList[j].schedule_week == 3 && this.scheduleCountList[j].schedule_type == 2){
695
+                         if(this.scheduleCountList[j].schedule_week == 4 && this.scheduleCountList[j].schedule_type == 2){
696 696
                             
697
-                              newArr[i].Thurs_M.patient = this.scheduleCountList[j].Count
697
+                              newArr[i].Thurs_A.patient = this.scheduleCountList[j].Count
698 698
                           }
699 699
 
700 700
                          //礼拜四晚上
701
-                         if(this.scheduleCountList[j].schedule_week == 3 && this.scheduleCountList[j].schedule_type == 2){
701
+                         if(this.scheduleCountList[j].schedule_week == 4 && this.scheduleCountList[j].schedule_type == 3){
702 702
                             
703 703
                               newArr[i].Thurs_N.patient = this.scheduleCountList[j].Count
704 704
                           }
705 705
 
706 706
 
707 707
                         //礼拜五上午
708
-                         if(this.scheduleCountList[j].schedule_week == 3 && this.scheduleCountList[j].schedule_type == 1){
708
+                         if(this.scheduleCountList[j].schedule_week == 5 && this.scheduleCountList[j].schedule_type == 1){
709 709
                             
710
-                              newArr[i].Fri_A.patient = this.scheduleCountList[j].Count
710
+                              newArr[i].Fri_M.patient = this.scheduleCountList[j].Count
711 711
                           } 
712 712
 
713 713
                          //礼拜五下午
714
-                         if(this.scheduleCountList[j].schedule_week == 3 && this.scheduleCountList[j].schedule_type == 2){
714
+                         if(this.scheduleCountList[j].schedule_week == 5 && this.scheduleCountList[j].schedule_type == 2){
715 715
                             
716
-                              newArr[i].Fri_M.patient = this.scheduleCountList[j].Count
716
+                              newArr[i].Fri_A.patient = this.scheduleCountList[j].Count
717 717
                           }
718 718
 
719 719
                          //礼拜五晚上
720
-                         if(this.scheduleCountList[j].schedule_week == 3 && this.scheduleCountList[j].schedule_type == 2){
720
+                         if(this.scheduleCountList[j].schedule_week == 5 && this.scheduleCountList[j].schedule_type == 3){
721 721
                             
722 722
                               newArr[i].Fri_N.patient = this.scheduleCountList[j].Count
723 723
                           }
724 724
 
725 725
 
726 726
                         //礼拜六上午
727
-                         if(this.scheduleCountList[j].schedule_week == 3 && this.scheduleCountList[j].schedule_type == 1){
727
+                         if(this.scheduleCountList[j].schedule_week == 6 && this.scheduleCountList[j].schedule_type == 1){
728 728
                             
729
-                              newArr[i].Sat_A.patient = this.scheduleCountList[j].Count
729
+                              newArr[i].Sat_M.patient = this.scheduleCountList[j].Count
730 730
                           } 
731 731
 
732 732
                          //礼拜六下午
733
-                         if(this.scheduleCountList[j].schedule_week == 3 && this.scheduleCountList[j].schedule_type == 2){
733
+                         if(this.scheduleCountList[j].schedule_week == 6 && this.scheduleCountList[j].schedule_type == 2){
734 734
                             
735
-                              newArr[i].Sat_M.patient = this.scheduleCountList[j].Count
735
+                              newArr[i].Sat_A.patient = this.scheduleCountList[j].Count
736 736
                           }
737 737
 
738 738
                          //礼拜六晚上
739
-                         if(this.scheduleCountList[j].schedule_week == 3 && this.scheduleCountList[j].schedule_type == 2){
739
+                         if(this.scheduleCountList[j].schedule_week == 6 && this.scheduleCountList[j].schedule_type == 3){
740 740
                             
741 741
                               newArr[i].Sat_N.patient = this.scheduleCountList[j].Count
742 742
                           }
743 743
                          
744 744
 
745 745
                           //礼拜日上午
746
-                         if(this.scheduleCountList[j].schedule_week == 3 && this.scheduleCountList[j].schedule_type == 1){
746
+                         if(this.scheduleCountList[j].schedule_week == 7 && this.scheduleCountList[j].schedule_type == 1){
747 747
                             
748
-                              newArr[i].Sun_A.patient = this.scheduleCountList[j].Count
748
+                              newArr[i].Sun_M.patient = this.scheduleCountList[j].Count
749 749
                           } 
750 750
 
751 751
                          //礼拜日下午
752
-                         if(this.scheduleCountList[j].schedule_week == 3 && this.scheduleCountList[j].schedule_type == 2){
752
+                         if(this.scheduleCountList[j].schedule_week == 7 && this.scheduleCountList[j].schedule_type == 2){
753 753
                             
754
-                              newArr[i].Sun_M.patient = this.scheduleCountList[j].Count
754
+                              newArr[i].Sun_A.patient = this.scheduleCountList[j].Count
755 755
                           }
756 756
 
757 757
                          //礼拜日晚上
758
-                         if(this.scheduleCountList[j].schedule_week == 3 && this.scheduleCountList[j].schedule_type == 2){
758
+                         if(this.scheduleCountList[j].schedule_week == 7 && this.scheduleCountList[j].schedule_type == 3){
759 759
                             
760 760
                               newArr[i].Sun_N.patient = this.scheduleCountList[j].Count
761 761
                           }