XMLWAN 3 years ago
parent
commit
4e87f3002e

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

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

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

129
                 prop="amount1"
129
                 prop="amount1"
130
                 align="center"
130
                 align="center"
131
                 label="药品规格">
131
                 label="药品规格">
132
-                <!-- {{drugDesc(scope.row)}} -->
133
                 <template slot-scope="scope">
132
                 <template slot-scope="scope">
134
                   <span v-if="scope.row.advice_desc">{{scope.row.advice_desc}}{{scope.row.drug_spec_unit}}</span>
133
                   <span v-if="scope.row.advice_desc">{{scope.row.advice_desc}}{{scope.row.drug_spec_unit}}</span>
135
                 </template>
134
                 </template>
189
                 </template>
188
                 </template>
190
               </el-table-column>
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
               <el-table-column
198
               <el-table-column
193
                 align="center"
199
                 align="center"
194
                 label="操作"
200
                 label="操作"
228
                   <el-form-item label="模版名称" style="width: 300px" prop="name">
234
                   <el-form-item label="模版名称" style="width: 300px" prop="name">
229
                     <el-input v-model="form.name"></el-input>
235
                     <el-input v-model="form.name"></el-input>
230
                   </el-form-item>
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
                   <el-form-item label="模版类型" prop="advice_type">
240
                   <el-form-item label="模版类型" prop="advice_type">
233
                     <el-radio-group v-model="form.advice_type">
241
                     <el-radio-group v-model="form.advice_type">
234
                       <el-radio :label="0">临时</el-radio>
242
                       <el-radio :label="0">临时</el-radio>
711
             <!--增删改查都请求网络类型的dialog-->
719
             <!--增删改查都请求网络类型的dialog-->
712
             <el-dialog title="编辑医嘱模版" :visible.sync="templateTableTwoVisible" width="800px">
720
             <el-dialog title="编辑医嘱模版" :visible.sync="templateTableTwoVisible" width="800px">
713
               <div>
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
                 <div class="txsj" style="text-align: center;margin-bottom: 30px">
733
                 <div class="txsj" style="text-align: center;margin-bottom: 30px">
1448
         },
1460
         },
1449
         form: {
1461
         form: {
1450
           name: '',
1462
           name: '',
1451
-          advice_type: 0
1452
-
1463
+          advice_type: 0,
1464
+          sort:"",
1453
         },
1465
         },
1454
         drugwayForm: {
1466
         drugwayForm: {
1455
           name: '',
1467
           name: '',
1669
         const params = {
1681
         const params = {
1670
           'data': this.adviceTableData
1682
           'data': this.adviceTableData
1671
         }
1683
         }
1672
-
1684
+       
1673
         let name = encodeURIComponent(this.form.name)
1685
         let name = encodeURIComponent(this.form.name)
1674
         console.log("params",params)
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
           if (response.data.state == 0) {
1690
           if (response.data.state == 0) {
1679
             this.$message.error(response.data.msg)
1691
             this.$message.error(response.data.msg)
1691
                 }
1703
                 }
1692
                 object['name'] = template.name
1704
                 object['name'] = template.name
1693
                 object['isNoSub'] = 2
1705
                 object['isNoSub'] = 2
1706
+                object['sort'] = template.sort
1694
                 this.adviceTemplates.unshift(object)
1707
                 this.adviceTemplates.unshift(object)
1695
               }
1708
               }
1696
             }
1709
             }
2145
                 object['name'] = response.data.data.advice_templates[i].name
2158
                 object['name'] = response.data.data.advice_templates[i].name
2146
                 object['isNoSub'] = 1
2159
                 object['isNoSub'] = 1
2147
                 object['template_id'] = response.data.data.advice_templates[i].id
2160
                 object['template_id'] = response.data.data.advice_templates[i].id
2161
+                object['sort'] = response.data.data.advice_templates[i].sort
2148
                 this.adviceTemplates.push(object)
2162
                 this.adviceTemplates.push(object)
2149
               }
2163
               }
2150
 
2164
 
2158
                   }
2172
                   }
2159
                   object['isNoSub'] = 2
2173
                   object['isNoSub'] = 2
2160
                   object['name'] = response.data.data.advice_templates[i].name
2174
                   object['name'] = response.data.data.advice_templates[i].name
2175
+                  object['sort'] = response.data.data.advice_templates[i].sort
2161
                   this.adviceTemplates.push(object)
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
             this.handleSpanTempArr()
2185
             this.handleSpanTempArr()
2170
           }
2186
           }
2462
             return 'success-row'
2478
             return 'success-row'
2463
           }
2479
           }
2464
         }
2480
         }
2465
-      }, cellMouseEnter: function(row, column, cell, event) {
2481
+      }, 
2482
+      cellMouseEnter: function(row, column, cell, event) {
2466
         if (column.label == '模版名称') {
2483
         if (column.label == '模版名称') {
2467
           this.sameRowArr.forEach((arr, i) => {
2484
           this.sameRowArr.forEach((arr, i) => {
2468
             if (arr.indexOf(row.index) != -1) {
2485
             if (arr.indexOf(row.index) != -1) {
2678
         this.sameRowArr = sameRowArr
2695
         this.sameRowArr = sameRowArr
2679
       },
2696
       },
2680
        handleUpdateAdviceTemplate(row, index) {
2697
        handleUpdateAdviceTemplate(row, index) {
2698
+       
2681
         this.current_template_id = row.template_id
2699
         this.current_template_id = row.template_id
2682
         this.current_template_name = row.name
2700
         this.current_template_name = row.name
2683
         this.form.name = row.name
2701
         this.form.name = row.name
2684
         this.form.advice_type = row.advice_type
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
         this.templateTableTwoVisible = true
2708
         this.templateTableTwoVisible = true
2686
         this.adviceTableDataTwo = []
2709
         this.adviceTableDataTwo = []
2710
+      
2687
         for (let i = 0; i < this.adviceTemplates.length; i++) {
2711
         for (let i = 0; i < this.adviceTemplates.length; i++) {
2688
           if (this.adviceTemplates[i].template_id == row.template_id) {
2712
           if (this.adviceTemplates[i].template_id == row.template_id) {
2689
             this.adviceTableDataTwo.push(this.adviceTemplates[i])
2713
             this.adviceTableDataTwo.push(this.adviceTemplates[i])
2690
           }
2714
           }
2691
         }
2715
         }
2716
+        this.getAdviceConfig()
2692
       },
2717
       },
2693
       modifyTemplateName() {
2718
       modifyTemplateName() {
2694
         const params = {
2719
         const params = {
2695
           template_name: this.form.name,
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
         updateTemplateName(params).then(response => {
2725
         updateTemplateName(params).then(response => {
2701
           if (response.data.state == 0) {
2726
           if (response.data.state == 0) {
2702
             this.$message.error(response.data.msg)
2727
             this.$message.error(response.data.msg)
2918
         console.log('results',results)
2943
         console.log('results',results)
2919
         cb(results);
2944
         cb(results);
2920
       },
2945
       },
2946
+     sortData(a, b) {
2947
+       return a.sort - b.sort
2948
+     }
2921
     }
2949
     }
2922
   }
2950
   }
2923
 </script>
2951
 </script>

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

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
           this.getLongAdvice()
551
           this.getLongAdvice()
552
         } else {
552
         } else {
553
           this.$message.error(resp.msg);
553
           this.$message.error(resp.msg);
554
+         
554
         }
555
         }
555
 
556
 
556
         if (this.lastDialysisPrescribe != null) {
557
         if (this.lastDialysisPrescribe != null) {

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

344
           <span class="content">{{this.prescription.plasma_separator}}</span>
344
           <span class="content">{{this.prescription.plasma_separator}}</span>
345
         </li>
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
       </ul>
352
       </ul>
348
     </div>
353
     </div>
349
     <div style="color:#34495e;margin: 12px 100px 0 100px;">备注: <span style="color:#409eff;">{{ note }}</span></div>
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
           <span class="content">{{this.record.estimated_food_intake}}</span>
363
           <span class="content">{{this.record.estimated_food_intake}}</span>
364
           <span class="unit"></span>
364
           <span class="unit"></span>
365
         </li>
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
       </ul>
373
       </ul>
368
     </div>
374
     </div>

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

570
              <el-input v-model="assessmentBeforeDislysis.estimated_food_intake"></el-input>
570
              <el-input v-model="assessmentBeforeDislysis.estimated_food_intake"></el-input>
571
             </el-form-item>
571
             </el-form-item>
572
           </el-col>
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
           <el-col :span="24">
580
           <el-col :span="24">
575
             <el-form-item label="备注: ">
581
             <el-form-item label="备注: ">
738
           pre_dialysis_drugs:"",
744
           pre_dialysis_drugs:"",
739
           period:"",
745
           period:"",
740
           estimated_food_intake:"",
746
           estimated_food_intake:"",
747
+          blood_pressure_during_dialysis:"",
741
         },
748
         },
742
 
749
 
743
         InnerDialogProps: {
750
         InnerDialogProps: {

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

402
              </el-form-item>
402
              </el-form-item>
403
           </el-col>
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
           <el-col :span="8" v-if="isShows('体液过多症状')">
413
           <el-col :span="8" v-if="isShows('体液过多症状')">
406
             <el-form-item label="体液过多症状:">
414
             <el-form-item label="体液过多症状:">
407
               <el-select
415
               <el-select
1076
           single_water:"",
1084
           single_water:"",
1077
           replacement_flow:"",
1085
           replacement_flow:"",
1078
           plasma_separator:"",
1086
           plasma_separator:"",
1087
+          bilirubin_adsorption_column:"",
1079
         },
1088
         },
1080
 
1089
 
1081
         anticoagulant: {
1090
         anticoagulant: {
1101
         dialyzers:[],
1110
         dialyzers:[],
1102
         illnessList:[],
1111
         illnessList:[],
1103
         plasmaSeparatorList:[],
1112
         plasmaSeparatorList:[],
1113
+        bilirubinAdsorptionColumn:[],
1104
       }
1114
       }
1105
     },
1115
     },
1106
     methods: {
1116
     methods: {
1194
             this.InnerDialogProps.selected = this.dialysisPrescription.plasma_separator
1204
             this.InnerDialogProps.selected = this.dialysisPrescription.plasma_separator
1195
             this.InnerDialogProps.isShowTextArea = false
1205
             this.InnerDialogProps.isShowTextArea = false
1196
             break
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
       innerDialogComfirm: function(val) {
1219
       innerDialogComfirm: function(val) {
1214
           case 'plasma_separator':
1234
           case 'plasma_separator':
1215
           this.dialysisPrescription.plasma_separator = val.value.join(',')
1235
           this.dialysisPrescription.plasma_separator = val.value.join(',')
1216
           break
1236
           break
1237
+          case 'bilirubin_adsorption_column':
1238
+          this.dialysisPrescription.bilirubin_adsorption_column = val.value.join(',')
1239
+          break
1217
         }
1240
         }
1218
       },
1241
       },
1219
       innerDialogCancle: function() {
1242
       innerDialogCancle: function() {
1665
         return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
1688
         return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
1666
       },
1689
       },
1667
       show(pre,schedual,last,his_is_open) {
1690
       show(pre,schedual,last,his_is_open) {
1668
-        
1691
+        console.log("pre222222",pre)
1692
+       
1669
         if(his_is_open == 1){
1693
         if(his_is_open == 1){
1670
           this.is_open = 0
1694
           this.is_open = 0
1671
         }
1695
         }
3602
       }
3626
       }
3603
     },
3627
     },
3604
     created(){
3628
     created(){
3629
+      
3605
       this.illnessList = getDataConfig('hemodialysis','illness')
3630
       this.illnessList = getDataConfig('hemodialysis','illness')
3606
-      console.log("列表22222222222",this.illnessList)
3631
+      
3607
       this.plasmaSeparatorList = getDataConfig('hemodialysis','plasma_separator')
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
 </script>
3638
 </script>

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

985
             if (prescription.body_fluid == -2) {
985
             if (prescription.body_fluid == -2) {
986
               prescription.body_fluid = 0
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
           var solution = resp.data.solution // 透析方案
997
           var solution = resp.data.solution // 透析方案
997
             if (predialysis_evaluation.blood_access_part_id == -2) {
1004
             if (predialysis_evaluation.blood_access_part_id == -2) {
998
               predialysis_evaluation.blood_access_part_id = 0
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
           var doctor_advices = resp.data.doctor_advices // 临时医嘱
1011
           var doctor_advices = resp.data.doctor_advices // 临时医嘱
1002
 
1012
 

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

2
   <div id="dialysis-print-box-1">
2
   <div id="dialysis-print-box-1">
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'">
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
       <div class="order-yy-name">{{ orgname }}</div>
4
       <div class="order-yy-name">{{ orgname }}</div>
5
-      <div class="order-title">血液净化专科护理记录单</div>
5
+      <div class="order-title">血液净化透析治疗记录单</div>
6
       <div class="row">
6
       <div class="row">
7
         <div class="inline_block">
7
         <div class="inline_block">
8
           科室:
8
           科室:

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

536
         if (resp.state == 1) {
536
         if (resp.state == 1) {
537
           var patient = resp.data.patient // 患者信息
537
           var patient = resp.data.patient // 患者信息
538
           var schedual = resp.data.schedual // 患者排班信息
538
           var schedual = resp.data.schedual // 患者排班信息
539
-          console.log("排班22222222222",schedual)
539
+         
540
           var prescription = resp.data.prescription // 透析处方
540
           var prescription = resp.data.prescription // 透析处方
541
           if (prescription != null) {
541
           if (prescription != null) {
542
             if (prescription.body_fluid == -2) {
542
             if (prescription.body_fluid == -2) {
545
           }
545
           }
546
 
546
 
547
           var solution = resp.data.solution // 透析方案
547
           var solution = resp.data.solution // 透析方案
548
-          console.log("透析方案22223333333333",solution)
548
+         
549
           var receiver_treatment_access = resp.data.receiver_treatment_access // 接诊评估
549
           var receiver_treatment_access = resp.data.receiver_treatment_access // 接诊评估
550
 
550
 
551
           var predialysis_evaluation = resp.data.predialysis_evaluation // 透前评估
551
           var predialysis_evaluation = resp.data.predialysis_evaluation // 透前评估
739
           }
739
           }
740
           this.device_number_map = device_number_map
740
           this.device_number_map = device_number_map
741
         } else {
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
         if (this.lastDialysisPrescribe != null) {
747
         if (this.lastDialysisPrescribe != null) {

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

151
         <el-table-column label="剩余库存" align="center">
151
         <el-table-column label="剩余库存" align="center">
152
           <template slot-scope="scope">
152
           <template slot-scope="scope">
153
             <span>{{
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
             }}</span>
155
             }}</span>
159
           </template>
156
           </template>
160
         </el-table-column>
157
         </el-table-column>

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

518
              </el-form-item>
518
              </el-form-item>
519
          </el-col>
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
           <el-col :span="8" v-if="isShows('目标KT/V')">
528
           <el-col :span="8" v-if="isShows('目标KT/V')">
522
             <el-form-item label="目标KT/V">
529
             <el-form-item label="目标KT/V">
523
               <el-input v-model="addPlan.target_ktv"></el-input>
530
               <el-input v-model="addPlan.target_ktv"></el-input>
718
         dialysis_dialyszers:'',
725
         dialysis_dialyszers:'',
719
         dialysis_irrigation:'',
726
         dialysis_irrigation:'',
720
         plasma_separator:"",
727
         plasma_separator:"",
728
+        bilirubin_adsorption_column:"",
721
       },
729
       },
722
       childPlan: {
730
       childPlan: {
723
         mode: '',
731
         mode: '',
846
      dialyzers:[],
854
      dialyzers:[],
847
      dialysis_dialyszers:'',
855
      dialysis_dialyszers:'',
848
      dialysis_irrigation:"",
856
      dialysis_irrigation:"",
849
-     plasmaSeparatorList:[]
857
+     plasmaSeparatorList:[],
858
+     bilirubinAdsorptionColumn:[],
850
     }
859
     }
851
   },
860
   },
852
   watch: {
861
   watch: {
934
           this.InnerDialogProps.selected = this.addPlan.plasma_separator
943
           this.InnerDialogProps.selected = this.addPlan.plasma_separator
935
           this.InnerDialogProps.isShowTextArea = false
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
           break
955
           break
938
       }
956
       }
939
     },
957
     },
952
           break
970
           break
953
         case 'plasma_separator':
971
         case 'plasma_separator':
954
           this.addPlan.plasma_separator = val.value.join(',')
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
           break
976
           break
957
       }
977
       }
958
     },
978
     },
1399
 
1419
 
1400
       this.addPlan.dialyzer_perfusion_apparatus = row.dialyzer_perfusion_apparatus.toString()
1420
       this.addPlan.dialyzer_perfusion_apparatus = row.dialyzer_perfusion_apparatus.toString()
1401
       this.addPlan.plasma_separator = row.plasma_separator.toString()
1421
       this.addPlan.plasma_separator = row.plasma_separator.toString()
1422
+      this.addPlan.bilirubin_adsorption_column = row.bilirubin_adsorption_column.toString()
1402
       this.addPlan.dialysis_irrigation = row.dialysis_irrigation
1423
       this.addPlan.dialysis_irrigation = row.dialysis_irrigation
1403
       this.addPlan.dialysis_dialyszers = row.dialysis_dialyszers
1424
       this.addPlan.dialysis_dialyszers = row.dialysis_dialyszers
1404
       this.dialysis_irrigation = row.dialysis_irrigation
1425
       this.dialysis_irrigation = row.dialysis_irrigation
1498
         dialysis_duration_minute: '30',
1519
         dialysis_duration_minute: '30',
1499
         created_time:"",
1520
         created_time:"",
1500
         plasma_separator:"",
1521
         plasma_separator:"",
1522
+        bilirubin_adsorption_column:"",
1501
       }
1523
       }
1502
       this.addPlanTypeChange()
1524
       this.addPlanTypeChange()
1503
 
1525
 
1837
       'dialyzer_perfusion_apparatus'
1859
       'dialyzer_perfusion_apparatus'
1838
     )
1860
     )
1839
     this.plasmaSeparatorList = getDataConfig('hemodialysis','plasma_separator')
1861
     this.plasmaSeparatorList = getDataConfig('hemodialysis','plasma_separator')
1840
-    
1862
+    this.bilirubinAdsorptionColumn = getDataConfig('hemodialysis','bilirubin_adsorption_column')
1841
     this.queryParams.id = this.patientID
1863
     this.queryParams.id = this.patientID
1842
     // this.fetchAllDoctorAndNurse();
1864
     // this.fetchAllDoctorAndNurse();
1843
 
1865
 

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

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
                               newArr[i].Wed_N.patient = this.scheduleCountList[j].Count
683
                               newArr[i].Wed_N.patient = this.scheduleCountList[j].Count
684
                           }
684
                           }
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
                               newArr[i].Thurs_N.patient = this.scheduleCountList[j].Count
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
                               newArr[i].Fri_N.patient = this.scheduleCountList[j].Count
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
                               newArr[i].Sat_N.patient = this.scheduleCountList[j].Count
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
                               newArr[i].Sun_N.patient = this.scheduleCountList[j].Count
760
                               newArr[i].Sun_N.patient = this.scheduleCountList[j].Count
761
                           }
761
                           }