소스 검색

添加新功能

csx 4 년 전
부모
커밋
82a992f142

+ 1 - 1
build/cdn.json 파일 보기

@@ -1,3 +1,3 @@
1 1
 {
2
-  "version": "1.1.354"
2
+  "version": "1.1.366"
3 3
 }

+ 1 - 1
src/pages/main/WaitingArea.vue 파일 보기

@@ -138,7 +138,7 @@ export default {
138 138
       cur_zone_selected: 0,
139 139
       networkStates: true,
140 140
       scheduals: [],
141
-
141
+      timer:null,
142 142
       zone_options: [{ value: 0, text: '全部分区' }],
143 143
       zone_scheduals: [],
144 144
 

+ 177 - 113
src/pages/main/dialog/AcceptsDialog.vue 파일 보기

@@ -13,50 +13,66 @@
13 13
           label-width="130px"
14 14
         >
15 15
           <el-form-item label="入室方式: " v-if="isShow('入室方式')">
16
-            <el-radio v-model="receiveTreatmentAsses.way" label="1"
17
-              >步行</el-radio
18
-            >
19
-            <el-radio v-model="receiveTreatmentAsses.way" label="2"
20
-              >扶行</el-radio
21
-            >
22
-            <el-radio v-model="receiveTreatmentAsses.way" label="3"
23
-              >轮椅</el-radio
24
-            >
25
-            <el-radio v-model="receiveTreatmentAsses.way" label="4"
26
-              >平车</el-radio
27
-            >
16
+            <el-radio v-for="(item,index) in way_arr" :key="index"
17
+                      :label="item.id" v-model="receiveTreatmentAsses.way">{{item.name}}
18
+            </el-radio>
19
+
20
+
21
+            <!--<el-radio v-model="receiveTreatmentAsses.way" label="1"-->
22
+              <!--&gt;步行</el-radio-->
23
+            <!--&gt;-->
24
+            <!--<el-radio v-model="receiveTreatmentAsses.way" label="2"-->
25
+              <!--&gt;扶行</el-radio-->
26
+            <!--&gt;-->
27
+            <!--<el-radio v-model="receiveTreatmentAsses.way" label="3"-->
28
+              <!--&gt;轮椅</el-radio-->
29
+            <!--&gt;-->
30
+            <!--<el-radio v-model="receiveTreatmentAsses.way" label="4"-->
31
+              <!--&gt;平车</el-radio-->
32
+            <!--&gt;-->
28 33
             <!--</el-radio-group>-->
29 34
           </el-form-item>
30 35
           <el-form-item label="病人意识: " v-if="isShow('病人意识')">
31
-            <el-radio v-model="receiveTreatmentAsses.consciousness" label="1"
32
-              >清醒</el-radio
33
-            >
34
-            <el-radio v-model="receiveTreatmentAsses.consciousness" label="2"
35
-              >嗜睡</el-radio
36
-            >
37
-            <el-radio v-model="receiveTreatmentAsses.consciousness" label="3"
38
-              >昏迷</el-radio
39
-            >
40
-            <el-radio v-model="receiveTreatmentAsses.consciousness" label="4"
41
-              >模糊</el-radio
42
-            >
36
+            <!--<el-radio v-model="receiveTreatmentAsses.consciousness" label="1"-->
37
+              <!--&gt;清醒</el-radio-->
38
+            <!--&gt;-->
39
+            <!--<el-radio v-model="receiveTreatmentAsses.consciousness" label="2"-->
40
+              <!--&gt;嗜睡</el-radio-->
41
+            <!--&gt;-->
42
+            <!--<el-radio v-model="receiveTreatmentAsses.consciousness" label="3"-->
43
+              <!--&gt;昏迷</el-radio-->
44
+            <!--&gt;-->
45
+            <!--<el-radio v-model="receiveTreatmentAsses.consciousness" label="4"-->
46
+              <!--&gt;模糊</el-radio-->
47
+            <!--&gt;-->
48
+            <el-radio v-for="(item,index) in consciousness_arr" :key="index"
49
+                      :label="item.id" v-model="receiveTreatmentAsses.consciousness">{{item.name}}
50
+            </el-radio>
51
+
52
+
53
+
43 54
           </el-form-item>
44 55
           <el-form-item label="病人食欲: " v-if="isShow('病人食欲')">
45
-            <el-radio v-model="receiveTreatmentAsses.appetite" label="1"
46
-              >正常</el-radio
47
-            >
48
-            <el-radio v-model="receiveTreatmentAsses.appetite" label="2"
49
-              >减退</el-radio
50
-            >
51
-            <el-radio v-model="receiveTreatmentAsses.appetite" label="3"
52
-              >恶心</el-radio
53
-            >
54
-            <el-radio v-model="receiveTreatmentAsses.appetite" label="4"
55
-              >呕吐</el-radio
56
-            >
57
-            <el-radio v-model="receiveTreatmentAsses.appetite" label="5"
58
-              >腹泻</el-radio
59
-            >
56
+            <!--<el-radio v-model="receiveTreatmentAsses.appetite" label="1"-->
57
+              <!--&gt;正常</el-radio-->
58
+            <!--&gt;-->
59
+            <!--<el-radio v-model="receiveTreatmentAsses.appetite" label="2"-->
60
+              <!--&gt;减退</el-radio-->
61
+            <!--&gt;-->
62
+            <!--<el-radio v-model="receiveTreatmentAsses.appetite" label="3"-->
63
+              <!--&gt;恶心</el-radio-->
64
+            <!--&gt;-->
65
+            <!--<el-radio v-model="receiveTreatmentAsses.appetite" label="4"-->
66
+              <!--&gt;呕吐</el-radio-->
67
+            <!--&gt;-->
68
+            <!--<el-radio v-model="receiveTreatmentAsses.appetite" label="5"-->
69
+              <!--&gt;腹泻</el-radio-->
70
+            <!--&gt;-->
71
+
72
+            <el-radio v-for="(item,index) in appetite_arr" :key="index"
73
+                      :label="item.id" v-model="receiveTreatmentAsses.appetite">{{item.name}}
74
+            </el-radio>
75
+
60 76
           </el-form-item>
61 77
           <el-form-item label="病人情况: " v-if="isShow('病人情况')">
62 78
             <el-radio v-model="receiveTreatmentAsses.condition" label="1"
@@ -69,33 +85,52 @@
69 85
               >手术期</el-radio
70 86
             >
71 87
           </el-form-item>
88
+
89
+          <el-form-item
90
+            label-width="110dp"
91
+            label="住院号 : "
92
+            v-if="receiveTreatmentAsses.condition == '1'"
93
+          >
94
+            <el-input
95
+              class="illnessInput"
96
+              v-model="receiveTreatmentAsses.admission_number"
97
+            ></el-input>
98
+          </el-form-item>
99
+
100
+
72 101
           <el-form-item label="体位: " v-if="isShow('体位')">
73
-            <el-radio v-model="receiveTreatmentAsses.posture" label="1"
74
-              >自动体位</el-radio
75
-            >
76
-            <el-radio v-model="receiveTreatmentAsses.posture" label="2"
77
-              >平卧位</el-radio
78
-            >
79
-            <el-radio v-model="receiveTreatmentAsses.posture" label="3"
80
-              >半卧位</el-radio
81
-            >
82
-            <el-radio v-model="receiveTreatmentAsses.posture" label="4"
83
-              >端坐位</el-radio
84
-            >
85
-            <el-radio v-model="receiveTreatmentAsses.posture" label="5"
86
-              >躁动不安</el-radio
87
-            >
102
+            <!--<el-radio v-model="receiveTreatmentAsses.posture" label="1"-->
103
+              <!--&gt;自动体位</el-radio-->
104
+            <!--&gt;-->
105
+            <!--<el-radio v-model="receiveTreatmentAsses.posture" label="2"-->
106
+              <!--&gt;平卧位</el-radio-->
107
+            <!--&gt;-->
108
+            <!--<el-radio v-model="receiveTreatmentAsses.posture" label="3"-->
109
+              <!--&gt;半卧位</el-radio-->
110
+            <!--&gt;-->
111
+            <!--<el-radio v-model="receiveTreatmentAsses.posture" label="4"-->
112
+              <!--&gt;端坐位</el-radio-->
113
+            <!--&gt;-->
114
+            <!--<el-radio v-model="receiveTreatmentAsses.posture" label="5"-->
115
+              <!--&gt;躁动不安</el-radio-->
116
+            <!--&gt;-->
117
+            <el-radio v-for="(item,index) in posture_arr" :key="index"
118
+                      :label="item.id" v-model="receiveTreatmentAsses.posture">{{item.name}}
119
+            </el-radio>
88 120
           </el-form-item>
89 121
           <el-form-item label="病情: " v-if="isShow('病情')">
90
-            <el-radio v-model="receiveTreatmentAsses.sick_condition" label="1"
91
-              >一般</el-radio
92
-            >
93
-            <el-radio v-model="receiveTreatmentAsses.sick_condition" label="2"
94
-              >严重</el-radio
95
-            >
96
-            <el-radio v-model="receiveTreatmentAsses.sick_condition" label="3"
97
-              >危</el-radio
98
-            >
122
+            <!--<el-radio v-model="receiveTreatmentAsses.sick_condition" label="1"-->
123
+              <!--&gt;一般</el-radio-->
124
+            <!--&gt;-->
125
+            <!--<el-radio v-model="receiveTreatmentAsses.sick_condition" label="2"-->
126
+              <!--&gt;严重</el-radio-->
127
+            <!--&gt;-->
128
+            <!--<el-radio v-model="receiveTreatmentAsses.sick_condition" label="3"-->
129
+              <!--&gt;危</el-radio-->
130
+            <!--&gt;-->
131
+            <el-radio v-for="(item,index) in sick_condition_arr" :key="index"
132
+                      :label="item.id" v-model="receiveTreatmentAsses.sick_condition">{{item.name}}
133
+            </el-radio>
99 134
           </el-form-item>
100 135
           <el-form-item
101 136
             label-width="110dp"
@@ -139,18 +174,22 @@
139 174
             label="跌倒风险预防措施: "
140 175
             v-if="isShow('跌倒风险预防措施')"
141 176
           >
142
-            <el-radio v-model="receiveTreatmentAsses.precaution" label="1"
143
-              >镇定剂</el-radio
144
-            >
145
-            <el-radio v-model="receiveTreatmentAsses.precaution" label="2"
146
-              >约束带</el-radio
147
-            >
148
-            <el-radio v-model="receiveTreatmentAsses.precaution" label="3"
149
-              >床栏</el-radio
150
-            >
151
-            <el-radio v-model="receiveTreatmentAsses.precaution" label="4"
152
-              >加强宣教</el-radio
153
-            >
177
+            <!--<el-radio v-model="receiveTreatmentAsses.precaution" label="1"-->
178
+              <!--&gt;镇定剂</el-radio-->
179
+            <!--&gt;-->
180
+            <!--<el-radio v-model="receiveTreatmentAsses.precaution" label="2"-->
181
+              <!--&gt;约束带</el-radio-->
182
+            <!--&gt;-->
183
+            <!--<el-radio v-model="receiveTreatmentAsses.precaution" label="3"-->
184
+              <!--&gt;床栏</el-radio-->
185
+            <!--&gt;-->
186
+            <!--<el-radio v-model="receiveTreatmentAsses.precaution" label="4"-->
187
+              <!--&gt;加强宣教</el-radio-->
188
+            <!--&gt;-->
189
+
190
+            <el-radio v-for="(item,index) in precaution_arr" :key="index"
191
+                      :label="item.id" v-model="receiveTreatmentAsses.precaution">{{item.name}}
192
+            </el-radio>
154 193
           </el-form-item>
155 194
           <el-form-item
156 195
             label-width="110dp"
@@ -164,20 +203,15 @@
164 203
           </el-form-item>
165 204
 
166 205
           <el-form-item label="摄入量: " v-if="isShow('摄入量')">
167
-            <el-radio v-model="receiveTreatmentAsses.intake" label="1"
168
-              >正常</el-radio
169
-            >
170
-            <el-radio v-model="receiveTreatmentAsses.intake" label="2"
171
-              >减少</el-radio
172
-            >
206
+            <el-radio v-for="(item,index) in intake_arr" :key="index"
207
+                      :label="item.id" v-model="receiveTreatmentAsses.intake">{{item.name}}
208
+            </el-radio>
173 209
           </el-form-item>
174 210
           <el-form-item label="营养状况: " v-if="isShow('营养状况')">
175
-            <el-radio v-model="receiveTreatmentAsses.nutrition" label="1"
176
-              >正常</el-radio
177
-            >
178
-            <el-radio v-model="receiveTreatmentAsses.nutrition" label="2"
179
-              >营养不良</el-radio
180
-            >
211
+            <el-radio v-for="(item,index) in nutrition_arr" :key="index"
212
+                      :label="item.id" v-model="receiveTreatmentAsses.nutrition">{{item.name}}
213
+            </el-radio>
214
+
181 215
           </el-form-item>
182 216
           <el-form-item label="心理评估: " v-if="isShow('心理评估')">
183 217
             <el-radio
@@ -229,11 +263,21 @@
229 263
 <script>
230 264
 import { commitAcceptsAssessment, getLastAccepts } from "@/api/dialysis";
231 265
 import { Toast } from "vant";
266
+import { getDataConfig } from '@/utils/data'
232 267
 
233 268
 export default {
234 269
   name: "AcceptsDialog",
235 270
   data() {
236 271
     return {
272
+      way_arr: [],
273
+      consciousness_arr: [],
274
+      appetite_arr: [],
275
+      posture_arr: [],
276
+      sick_condition_arr: [],
277
+      precaution_arr: [],
278
+      intake_arr: [],
279
+      nutrition_arr: [],
280
+
237 281
       receiveTreatmentAsses: {
238 282
         way: "1",
239 283
         consciousness: "1",
@@ -250,7 +294,10 @@ export default {
250 294
         score: "",
251 295
         psychological_other: "",
252 296
         precaution: "1",
253
-        precaution_other: ""
297
+        precaution_other: "",
298
+        admission_number:'',
299
+
300
+
254 301
       },
255 302
       patient: {
256 303
         id: 0
@@ -267,6 +314,16 @@ export default {
267 314
     }
268 315
   },
269 316
   created() {
317
+    this.way_arr = getDataConfig('hemodialysis', 'way')
318
+    this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
319
+    this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
320
+    this.posture_arr = getDataConfig('hemodialysis', 'posture')
321
+    this.sick_condition_arr = getDataConfig('hemodialysis', 'sick_condition')
322
+    this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
323
+    this.intake_arr = getDataConfig('hemodialysis', 'intake')
324
+    this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
325
+
326
+
270 327
     if (this.accepts == null || this.accepts.id == "") {
271 328
       let ParamsQuery = {};
272 329
       ParamsQuery["patient"] = this.$route.query.patient_id;
@@ -276,18 +333,18 @@ export default {
276 333
         } else {
277 334
           for (const key in response.data.data.receiveTreatmentAsses) {
278 335
             this.accepts[key] = response.data.data.receiveTreatmentAsses[key];
279
-            this.receiveTreatmentAsses.way = this.accepts.way + "";
336
+            this.receiveTreatmentAsses.way = this.accepts.way;
280 337
             this.receiveTreatmentAsses.consciousness =
281
-              this.accepts.consciousness + "";
282
-            this.receiveTreatmentAsses.appetite = this.accepts.appetite + "";
338
+              this.accepts.consciousness;
339
+            this.receiveTreatmentAsses.appetite = this.accepts.appetite ;
283 340
             this.receiveTreatmentAsses.condition = this.accepts.condition + "";
284
-            this.receiveTreatmentAsses.posture = this.accepts.posture + "";
341
+            this.receiveTreatmentAsses.posture = this.accepts.posture;
285 342
             this.receiveTreatmentAsses.sick_condition =
286
-              this.accepts.sick_condition + "";
343
+              this.accepts.sick_condition;
287 344
             this.receiveTreatmentAsses.danger_level =
288 345
               this.accepts.danger_level + "";
289
-            this.receiveTreatmentAsses.intake = this.accepts.intake + "";
290
-            this.receiveTreatmentAsses.nutrition = this.accepts.nutrition + "";
346
+            this.receiveTreatmentAsses.intake = this.accepts.intake;
347
+            this.receiveTreatmentAsses.nutrition = this.accepts.nutrition;
291 348
             this.receiveTreatmentAsses.psychological_assessment =
292 349
               this.accepts.psychological_assessment + "";
293 350
             this.receiveTreatmentAsses.psychological_assessment_other = this.accepts.psychological_assessment_other;
@@ -296,8 +353,10 @@ export default {
296 353
             this.receiveTreatmentAsses.psychological_other = this.accepts.psychological_other;
297 354
 
298 355
             this.receiveTreatmentAsses.precaution =
299
-              this.accepts.precaution + "";
356
+              this.accepts.precaution;
300 357
             this.receiveTreatmentAsses.precaution_other = this.accepts.precaution_other;
358
+            this.receiveTreatmentAsses.admission_number = this.accepts.admission_number;
359
+
301 360
           }
302 361
         }
303 362
       }).catch(error => {
@@ -320,7 +379,9 @@ export default {
320 379
         this.accepts.psychological_other == "" &&
321 380
         this.accepts.precaution == 0 &&
322 381
         this.accepts.precaution_other == "" &&
323
-        this.accepts.score == ""
382
+        this.accepts.score == ""&&
383
+        this.accepts.admission_number == ""
384
+
324 385
       ) {
325 386
         let ParamsQuery = {};
326 387
         ParamsQuery["patient"] = this.$route.query.patient_id;
@@ -330,20 +391,20 @@ export default {
330 391
           } else {
331 392
             for (const key in response.data.data.receiveTreatmentAsses) {
332 393
               this.accepts[key] = response.data.data.receiveTreatmentAsses[key];
333
-              this.receiveTreatmentAsses.way = this.accepts.way + "";
394
+              this.receiveTreatmentAsses.way = this.accepts.way;
334 395
               this.receiveTreatmentAsses.consciousness =
335
-                this.accepts.consciousness + "";
336
-              this.receiveTreatmentAsses.appetite = this.accepts.appetite + "";
396
+                this.accepts.consciousness;
397
+              this.receiveTreatmentAsses.appetite = this.accepts.appetite;
337 398
               this.receiveTreatmentAsses.condition =
338 399
                 this.accepts.condition + "";
339
-              this.receiveTreatmentAsses.posture = this.accepts.posture + "";
400
+              this.receiveTreatmentAsses.posture = this.accepts.posture;
340 401
               this.receiveTreatmentAsses.sick_condition =
341
-                this.accepts.sick_condition + "";
402
+                this.accepts.sick_condition;
342 403
               this.receiveTreatmentAsses.danger_level =
343 404
                 this.accepts.danger_level + "";
344
-              this.receiveTreatmentAsses.intake = this.accepts.intake + "";
405
+              this.receiveTreatmentAsses.intake = this.accepts.intake;
345 406
               this.receiveTreatmentAsses.nutrition =
346
-                this.accepts.nutrition + "";
407
+                this.accepts.nutrition ;
347 408
               this.receiveTreatmentAsses.psychological_assessment =
348 409
                 this.accepts.psychological_assessment + "";
349 410
               this.receiveTreatmentAsses.psychological_assessment_other =
@@ -352,25 +413,27 @@ export default {
352 413
               this.receiveTreatmentAsses.sick_condition_other = this.accepts.sick_condition_other;
353 414
 
354 415
               this.receiveTreatmentAsses.precaution =
355
-                this.accepts.precaution + "";
416
+                this.accepts.precaution;
356 417
               this.receiveTreatmentAsses.precaution_other = this.accepts.precaution_other;
357 418
               this.receiveTreatmentAsses.psychological_other = this.accepts.psychological_other;
419
+              this.receiveTreatmentAsses.admission_number = this.accepts.admission_number;
420
+
358 421
             }
359 422
           }
360 423
         });
361 424
       } else {
362
-        this.receiveTreatmentAsses.way = this.accepts.way + "";
425
+        this.receiveTreatmentAsses.way = this.accepts.way;
363 426
         this.receiveTreatmentAsses.consciousness =
364
-          this.accepts.consciousness + "";
365
-        this.receiveTreatmentAsses.appetite = this.accepts.appetite + "";
427
+          this.accepts.consciousness;
428
+        this.receiveTreatmentAsses.appetite = this.accepts.appetite ;
366 429
         this.receiveTreatmentAsses.condition = this.accepts.condition + "";
367
-        this.receiveTreatmentAsses.posture = this.accepts.posture + "";
430
+        this.receiveTreatmentAsses.posture = this.accepts.posture;
368 431
         this.receiveTreatmentAsses.sick_condition =
369
-          this.accepts.sick_condition + "";
432
+          this.accepts.sick_condition;
370 433
         this.receiveTreatmentAsses.danger_level =
371 434
           this.accepts.danger_level + "";
372
-        this.receiveTreatmentAsses.intake = this.accepts.intake + "";
373
-        this.receiveTreatmentAsses.nutrition = this.accepts.nutrition + "";
435
+        this.receiveTreatmentAsses.intake = this.accepts.intake ;
436
+        this.receiveTreatmentAsses.nutrition = this.accepts.nutrition;
374 437
         this.receiveTreatmentAsses.psychological_assessment =
375 438
           this.accepts.psychological_assessment + "";
376 439
         this.receiveTreatmentAsses.psychological_assessment_other =
@@ -378,9 +441,10 @@ export default {
378 441
         this.receiveTreatmentAsses.score = this.accepts.score;
379 442
         this.receiveTreatmentAsses.sick_condition_other = this.accepts.sick_condition_other;
380 443
 
381
-        this.receiveTreatmentAsses.precaution = this.accepts.precaution + "";
444
+        this.receiveTreatmentAsses.precaution = this.accepts.precaution;
382 445
         this.receiveTreatmentAsses.precaution_other = this.accepts.precaution_other;
383 446
         this.receiveTreatmentAsses.psychological_other = this.accepts.psychological_other;
447
+        this.receiveTreatmentAsses.admission_number = this.accepts.admission_number;
384 448
       }
385 449
     }
386 450
 

+ 225 - 187
src/pages/main/template/DialysisPrintOrderFive.vue 파일 보기

@@ -50,10 +50,12 @@
50 50
               <div class="row" style="padding: 2px 0;line-height:19px;">
51 51
                 <div class="inline_block">
52 52
                   入科方式:
53
-                  <check-box text="步行" :checked="receiverTreatmentAccess.way==1?true:false"></check-box>
54
-                  <check-box text="扶行" :checked="receiverTreatmentAccess.way==2?true:false"></check-box>
55
-                  <check-box text="轮椅" :checked="receiverTreatmentAccess.way==3?true:false"></check-box>
56
-                  <check-box text="平车" :checked="receiverTreatmentAccess.way==4?true:false"></check-box>
53
+                  <check-box v-for="item,index in way_arr" :key="index" :text="item.name" :checked="receiverTreatmentAccess.way==item.id?true:false"></check-box>
54
+
55
+                  <!--<check-box text="步行" :checked="receiverTreatmentAccess.way==1?true:false"></check-box>-->
56
+                  <!--<check-box text="扶行" :checked="receiverTreatmentAccess.way==2?true:false"></check-box>-->
57
+                  <!--<check-box text="轮椅" :checked="receiverTreatmentAccess.way==3?true:false"></check-box>-->
58
+                  <!--<check-box text="平车" :checked="receiverTreatmentAccess.way==4?true:false"></check-box>-->
57 59
                 </div>
58 60
                 <div class="inline_block" style="margin-left: 30px;">
59 61
                   体温:
@@ -65,7 +67,7 @@
65 67
                 <div class="inline_block" style="margin-left: 30px;">
66 68
                   血压:
67 69
                   <div class="under_line" style="width: 50px;text-align: left">
68
-                   {{predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:''}}/{{predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:''}}
70
+                    {{predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:''}}/{{predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:''}}
69 71
                   </div>
70 72
                 </div>
71 73
 
@@ -84,10 +86,12 @@
84 86
               <div class="row" style="padding: 2px 0;line-height:19px;">
85 87
                 <div class="inline_block" >
86 88
                   意识:
87
-                  <check-box text="清醒" :checked="receiverTreatmentAccess.consciousness==1?true:false"></check-box>
88
-                  <check-box text="嗜睡" :checked="receiverTreatmentAccess.consciousness==2?true:false"></check-box>
89
-                  <check-box text="昏迷" :checked="receiverTreatmentAccess.consciousness==3?true:false"></check-box>
90
-                  <check-box text="模糊" :checked="receiverTreatmentAccess.consciousness==4?true:false"></check-box>
89
+                  <check-box v-for="item,index in consciousness_arr" :key="index" :text="item.name" :checked="receiverTreatmentAccess.consciousness==item.id?true:false"></check-box>
90
+
91
+                  <!--<check-box text="清醒" :checked="receiverTreatmentAccess.consciousness==1?true:false"></check-box>-->
92
+                  <!--<check-box text="嗜睡" :checked="receiverTreatmentAccess.consciousness==2?true:false"></check-box>-->
93
+                  <!--<check-box text="昏迷" :checked="receiverTreatmentAccess.consciousness==3?true:false"></check-box>-->
94
+                  <!--<check-box text="模糊" :checked="receiverTreatmentAccess.consciousness==4?true:false"></check-box>-->
91 95
 
92 96
                 </div>
93 97
                 <div class="inline_block"  style="margin-left: 5px;">
@@ -179,6 +183,12 @@
179 183
                   <check-box text="感染" :checked="predialysis.ductus_arantii.indexOf('感染')>-1?true:false"></check-box>
180 184
                   <check-box text="破损" :checked="predialysis.ductus_arantii.indexOf('破损')>-1?true:false"></check-box>
181 185
                 </div>
186
+                <div class="inline_block">
187
+                  其它:
188
+                  <div class="under_line" style="width: 100px;text-align: left">
189
+                    <span>{{predialysis.ductus_arantii_other}}</span>
190
+                  </div>
191
+                </div>
182 192
               </div>
183 193
               <div class="row" style="padding: 2px 0;line-height:19px;">
184 194
                 <div class="inline_block">
@@ -215,9 +225,11 @@
215 225
                 </div>
216 226
                 <div class="inline_block">
217 227
                   病情:
218
-                  <check-box text="一般" :checked="receiverTreatmentAccess.sick_condition == 1?true:false"></check-box>
219
-                  <check-box text="重" :checked="receiverTreatmentAccess.sick_condition == 2?true:false"></check-box>
220
-                  <check-box text="危" :checked="receiverTreatmentAccess.sick_condition == 3?true:false"></check-box>
228
+                  <check-box v-for="item, index in sick_condition_arr" :key="index"  :text="item.name" :checked="receiverTreatmentAccess.sick_condition == item.id?true:false"></check-box>
229
+
230
+                  <!--<check-box text="一般" :checked="receiverTreatmentAccess.sick_condition == 1?true:false"></check-box>-->
231
+                  <!--<check-box text="重" :checked="receiverTreatmentAccess.sick_condition == 2?true:false"></check-box>-->
232
+                  <!--<check-box text="危" :checked="receiverTreatmentAccess.sick_condition == 3?true:false"></check-box>-->
221 233
                   <div class="inline_block">
222 234
                     其它:
223 235
                     <div class="under_line" style="width: 100px;text-align: left">
@@ -233,18 +245,24 @@
233 245
               <div class="row" style="padding: 2px 0;line-height:19px;">
234 246
                 <div class="inline_block">
235 247
                   营养状况评估:&nbsp;食欲:
236
-                  <check-box text="正常" :checked="receiverTreatmentAccess.appetite == 1?true:false"></check-box>
237
-                  <check-box text="下降" :checked="receiverTreatmentAccess.appetite == 2?true:false"></check-box>
248
+                  <check-box v-for="item, index in appetite_arr" :key="item.id" :text="item.name" :checked="receiverTreatmentAccess.appetite == item.id?true:false"></check-box>
249
+
250
+                  <!--<check-box text="正常" :checked="receiverTreatmentAccess.appetite == 1?true:false"></check-box>-->
251
+                  <!--<check-box text="下降" :checked="receiverTreatmentAccess.appetite == 2?true:false"></check-box>-->
238 252
                 </div>
239 253
                 <div class="inline_block">
240 254
                   &emsp; 摄入量:
241
-                  <check-box text="正常" :checked="receiverTreatmentAccess.intake == 1?true:false"></check-box>
242
-                  <check-box text="减少" :checked="receiverTreatmentAccess.intake == 2?true:false"></check-box>
255
+                  <check-box v-for="item, index in intake_arr" :key="index" :text="item.name" :checked="receiverTreatmentAccess.intake == item.id?true:false"></check-box>
256
+
257
+                  <!--<check-box text="正常" :checked="receiverTreatmentAccess.intake == 1?true:false"></check-box>-->
258
+                  <!--<check-box text="减少" :checked="receiverTreatmentAccess.intake == 2?true:false"></check-box>-->
243 259
                 </div>
244 260
                 <div class="inline_block">
245 261
                   &emsp;营养状况:
246
-                  <check-box text="正常" :checked="receiverTreatmentAccess.nutrition == 1?true:false"></check-box>
247
-                  <check-box text="营养不良" :checked="receiverTreatmentAccess.nutrition == 2?true:false"></check-box>
262
+                  <check-box v-for="item, index in nutrition_arr" :key="index" :text="item.name" :checked="receiverTreatmentAccess.nutrition == item.id?true:false"></check-box>
263
+
264
+                  <!--<check-box text="正常" :checked="receiverTreatmentAccess.nutrition == 1?true:false"></check-box>-->
265
+                  <!--<check-box text="营养不良" :checked="receiverTreatmentAccess.nutrition == 2?true:false"></check-box>-->
248 266
                 </div>
249 267
               </div>
250 268
               <div class="row" style="padding: 2px 0; line-height:19px;">
@@ -289,60 +307,60 @@
289 307
             <td style="padding: 0; position: relative;" colspan="2">
290 308
               <table class="inside_table">
291 309
                 <tbody>
292
-                  <tr><td colspan="12" style="font-size:16px;padding: 6px 8px;line-height: 30px;text-align:left;">二、透析中护理记录:</td></tr>
293
-                  <tr>
294
-                    <td width="100">时间</td>
295
-                    <td width="30">T<br>C°</td>
296
-                    <td width="30">P<br/>次/分</td>
297
-                    <td width="30">R<br/>次/分</td>
298
-                    <td width="100">BP<br/>mmHg</td>
299
-                    <td width="60">静脉压/动脉压<br/>mmHg</td>
300
-                    <td width="80">血流量<br/>ml/min</td>
301
-                    <td width="90">超滤量累计L</td>
302
-                    <td width="90">置换液流量ml/h</td>
303
-                    <td width="80">钠浓度<br/>mmol/L</td>
304
-                    <td width="240">病情特殊情况处理<br/>及专科护理措施记录</td>
305
-                    <td  width="100">护士签名</td>
306
-                  </tr>
307
-
308
-                  <tr v-if="this.predialysis.systolic_blood_pressure != 0&&this.predialysis.diastolic_blood_pressure != 0||this.predialysis.remark.length > 0 || predialysis.pulse_frequency != 0 || predialysis.breathing_rate != 0 || predialysis.temperature != 0">
309
-                    <td>{{'透析前'}}</td>
310
-                    <td>{{predialysis.temperature?predialysis.temperature:''}}</td>
311
-                    <td>{{predialysis.pulse_frequency?predialysis.pulse_frequency:''}}</td>
312
-                    <td>{{predialysis.breathing_rate?predialysis.breathing_rate:''}}</td>
313
-                    <td>{{predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:''}}/{{predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:''}}</td>
314
-
315
-                    <td>{{''}}/{{''}}</td>
316
-                    <td>{{''}}</td>
317
-                    <td>{{''}}</td>
318
-                    <td>{{''}}</td>
319
-                    <td>{{''}}</td>
320
-                    <td style="line-height:16px;padding:0px;"> <div style="height:48px;line-height:48px; overflow:hidden;"><span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;"> {{predialysis.remark}}</span></div></td>
321
-                    <td>
322
-                      <span v-if="setAdminUserES(predialysis.creater) == ''">{{getAdminUser(predialysis.creater)}}</span>
323
-                      <img class="es-img" :src="setAdminUserES(predialysis.creater)"  alt="" srcset="" v-else>
324
-                    </td>
325
-                  </tr>
326
-
327
-
328
-                  <tr v-for="(monitor,index) in monitors" :key="index">
329
-                    <td>{{getTime(monitor.operate_time,'{h}:{i}')}}</td>
330
-                    <td>{{monitor.temperature?monitor.temperature:''}}</td>
331
-                    <td>{{monitor.pulse_frequency?monitor.pulse_frequency:''}}</td>
332
-                    <td>{{monitor.breathing_rate?monitor.breathing_rate:''}}</td>
333
-                    <td>{{monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:''}}/{{monitor.diastolic_blood_pressure?monitor.diastolic_blood_pressure:''}}</td>
334
-                    <td>{{monitor.venous_pressure?monitor.venous_pressure:''}}/{{monitor.arterial_pressure?monitor.arterial_pressure:''}}</td>
335
-                    <td>{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
336
-                    <td>{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:'/'}}</td>
337
-                    <td>{{monitor.displacement_flow_quantity?monitor.displacement_flow_quantity:''}}</td>
338
-                    <td>{{monitor.sodium_concentration?monitor.sodium_concentration:''}}</td>
339
-
340
-                    <td style="line-height:16px;padding:0px;"><div style="height:48px;line-height:48px; overflow:hidden;"><span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">{{monitor.symptom}}  &nbsp;{{monitor.dispose}} &nbsp;{{monitor.result}} </span> </div></td>
341
-                    <td>
342
-                      <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">{{getAdminUser(monitor.monitoring_nurse)}}</span>
343
-                      <img class="es-img" :src="setAdminUserES(monitor.monitoring_nurse)"  alt="" srcset="" v-else>
344
-                    </td>
345
-                  </tr>
310
+                <tr><td colspan="12" style="font-size:16px;padding: 6px 8px;line-height: 30px;text-align:left;">二、透析中护理记录:</td></tr>
311
+                <tr>
312
+                  <td width="100">时间</td>
313
+                  <td width="30">T<br>C°</td>
314
+                  <td width="30">P<br/>次/分</td>
315
+                  <td width="30">R<br/>次/分</td>
316
+                  <td width="100">BP<br/>mmHg</td>
317
+                  <td width="60">静脉压/动脉压<br/>mmHg</td>
318
+                  <td width="80">血流量<br/>ml/min</td>
319
+                  <td width="90">超滤量累计L</td>
320
+                  <td width="90">置换液流量ml/h</td>
321
+                  <td width="80">钠浓度<br/>mmol/L</td>
322
+                  <td width="240">病情特殊情况处理<br/>及专科护理措施记录</td>
323
+                  <td  width="100">护士签名</td>
324
+                </tr>
325
+
326
+                <tr v-if="this.predialysis.systolic_blood_pressure != 0&&this.predialysis.diastolic_blood_pressure != 0||this.predialysis.remark.length > 0 || predialysis.pulse_frequency != 0 || predialysis.breathing_rate != 0 || predialysis.temperature != 0">
327
+                  <td>{{'透析前'}}</td>
328
+                  <td>{{predialysis.temperature?predialysis.temperature:''}}</td>
329
+                  <td>{{predialysis.pulse_frequency?predialysis.pulse_frequency:''}}</td>
330
+                  <td>{{predialysis.breathing_rate?predialysis.breathing_rate:''}}</td>
331
+                  <td>{{predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:''}}/{{predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:''}}</td>
332
+
333
+                  <td>{{''}}/{{''}}</td>
334
+                  <td>{{''}}</td>
335
+                  <td>{{''}}</td>
336
+                  <td>{{''}}</td>
337
+                  <td>{{''}}</td>
338
+                  <td style="line-height:16px;padding:0px;"> <div style="height:48px;line-height:48px; overflow:hidden;"><span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;"> {{predialysis.remark}}</span></div></td>
339
+                  <td>
340
+                    <span v-if="setAdminUserES(predialysis.creater) == ''">{{getAdminUser(predialysis.creater)}}</span>
341
+                    <img class="es-img" :src="setAdminUserES(predialysis.creater)"  alt="" srcset="" v-else>
342
+                  </td>
343
+                </tr>
344
+
345
+
346
+                <tr v-for="(monitor,index) in monitors" :key="index">
347
+                  <td>{{getTime(monitor.operate_time,'{h}:{i}')}}</td>
348
+                  <td>{{monitor.temperature?monitor.temperature:''}}</td>
349
+                  <td>{{monitor.pulse_frequency?monitor.pulse_frequency:''}}</td>
350
+                  <td>{{monitor.breathing_rate?monitor.breathing_rate:''}}</td>
351
+                  <td>{{monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:''}}/{{monitor.diastolic_blood_pressure?monitor.diastolic_blood_pressure:''}}</td>
352
+                  <td>{{monitor.venous_pressure?monitor.venous_pressure:''}}/{{monitor.arterial_pressure?monitor.arterial_pressure:''}}</td>
353
+                  <td>{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
354
+                  <td>{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:'/'}}</td>
355
+                  <td>{{monitor.displacement_flow_quantity?monitor.displacement_flow_quantity:''}}</td>
356
+                  <td>{{monitor.sodium_concentration?monitor.sodium_concentration:''}}</td>
357
+
358
+                  <td style="line-height:16px;padding:0px;"><div style="height:48px;line-height:48px; overflow:hidden;"><span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">{{monitor.symptom}}  &nbsp;{{monitor.dispose}} &nbsp;{{monitor.result}} </span> </div></td>
359
+                  <td>
360
+                    <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">{{getAdminUser(monitor.monitoring_nurse)}}</span>
361
+                    <img class="es-img" :src="setAdminUserES(monitor.monitoring_nurse)"  alt="" srcset="" v-else>
362
+                  </td>
363
+                </tr>
346 364
                 </tbody>
347 365
               </table>
348 366
               <div v-if="(this.monitors.length > 8 && this.print_length == 8) || (this.monitors.length > 9 && this.print_length == 9)"  class="print-yema">1</div>
@@ -485,7 +503,7 @@
485 503
                 </div>
486 504
 
487 505
                 <div class="inline_block" style="margin-left:30px;">
488
-                 透析期间进食:
506
+                  透析期间进食:
489 507
                   <check-box text="无" :checked="afterdialysis.is_eat == 1?true:false"></check-box>
490 508
                   <check-box text="有" :checked="afterdialysis.is_eat == 2?true:false"></check-box>
491 509
                 </div>
@@ -765,11 +783,11 @@
765 783
             </div>
766 784
             <div class="row" style="padding: 2px 0;line-height:24px;">
767 785
               <div class="inline_block">
768
-                  透析器型号:
769
-                  <div class="under_line" style="width: 100px;text-align: left">
770
-                    {{prescription.dialyzer_perfusion_apparatus}}
771
-                  </div>
786
+                透析器型号:
787
+                <div class="under_line" style="width: 100px;text-align: left">
788
+                  {{prescription.dialyzer_perfusion_apparatus}}
772 789
                 </div>
790
+              </div>
773 791
               <div class="inline_block" style="margin-left:20px;">
774 792
                 透析前使用特殊药物:
775 793
                 <check-box text="无" :checked="prescription.special_medicine==1?true:false"></check-box>
@@ -918,66 +936,66 @@
918 936
         </tr>
919 937
         </tbody>
920 938
       </table>
921
-       <table class="print-table-no" border="1"  count="0" :style="this.advice_groups_2.length > 0 ? 'margin-bottom:350px;margin-top: -1px;position: relative;':'margin-top: -1px;position: relative;'">
939
+      <table class="print-table-no" border="1"  count="0" :style="this.advice_groups_2.length > 0 ? 'margin-bottom:350px;margin-top: -1px;position: relative;':'margin-top: -1px;position: relative;'">
922 940
         <tbody>
923
-          <tr style="line-height:35px;padding:8px 5px;">
924
-            <td colspan="7" style="font-size: 18px">医嘱</td>
925
-          </tr>
926
-          <tr style="line-height:35px;padding:8px 5px;">
927
-            <td colspan="4" style="font-size: 16px">开医嘱</td>
928
-            <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
929
-          </tr>
930
-          <tr style="line-height:35px;padding:8px 5px;">
931
-            <td style="font-size: 16px" width="10%">时间</td>
932
-            <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
933
-            <td style="font-size: 16px" width="10%">医生签名</td>
934
-            <td style="font-size: 16px" width="10%">核对人签名</td>
935
-            <td style="font-size: 16px" width="10%">执行人签名</td>
936
-            <td style="font-size: 16px" width="10%">时间</td>
937
-          </tr>
938
-          <template v-for="(group, group_index) in advice_groups" >
939
-            <tr v-for="(advice, advice_index) in group.advices" :key="advice_index" >
940
-              <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
941
+        <tr style="line-height:35px;padding:8px 5px;">
942
+          <td colspan="7" style="font-size: 18px">医嘱</td>
943
+        </tr>
944
+        <tr style="line-height:35px;padding:8px 5px;">
945
+          <td colspan="4" style="font-size: 16px">开医嘱</td>
946
+          <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
947
+        </tr>
948
+        <tr style="line-height:35px;padding:8px 5px;">
949
+          <td style="font-size: 16px" width="10%">时间</td>
950
+          <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
951
+          <td style="font-size: 16px" width="10%">医生签名</td>
952
+          <td style="font-size: 16px" width="10%">核对人签名</td>
953
+          <td style="font-size: 16px" width="10%">执行人签名</td>
954
+          <td style="font-size: 16px" width="10%">时间</td>
955
+        </tr>
956
+        <template v-for="(group, group_index) in advice_groups" >
957
+          <tr v-for="(advice, advice_index) in group.advices" :key="advice_index" >
958
+            <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
941 959
                   <span v-if="advice.start_time">
942 960
                     {{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}
943 961
                   </span>
944
-                <span v-else>&nbsp;<br/>&nbsp;</span>
945
-              </td>
946
-              <td height="60px" class="advice-name" style="padding-left:7px;" :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2" v-if="advice.isShow == 2">
947
-                <span >{{advice.advice_name }}</span>
948
-                <span>{{advice.advice_desc}}</span>
949
-                <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
950
-                <span  v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
951
-                <span v-if="advice.parent_id == 0  && advice.children.length == 0">{{advice.delivery_way}}</span>
952
-                <span v-if="advice.parent_id == 0  && advice.children.length == 0">{{advice.execution_frequency}}</span>
953
-                <span v-if="advice.parent_id == 0 && advice.children &&  advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
954
-              </td>
955
-              <td colspan="2" height="60px" style="text-align: center" v-else >
956
-                <span>{{advice.delivery_way}}</span>
957
-                <span>{{advice.execution_frequency}}</span>
958
-                <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
959
-              </td>
960
-              <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td>
961
-              <td height="60px">
962
-                <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{getAdminUser(advice.advice_doctor)}}</span>
963
-                <img class="es-img" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else>
964
-              </td>
965
-              <td height="60px">
966
-                <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
967
-                <img class="es-img" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
968
-              </td>
969
-              <td height="60px">
970
-                <span v-if="setAdminUserES(advice.execution_staff) == ''">{{getAdminUser(advice.execution_staff)}}</span>
971
-                <img class="es-img" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else>
972
-              </td>
973
-              <td height="60px">
974
-                <span v-if="advice.execution_time">{{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}}</span>
975
-              </td>
976
-            </tr>
977
-          </template>
978
-          <tr v-if="this.advice_groups_2.length == 0">
979
-              <td colspan="7" style="text-align:left;">特殊纪录:</td>
962
+              <span v-else>&nbsp;<br/>&nbsp;</span>
963
+            </td>
964
+            <td height="60px" class="advice-name" style="padding-left:7px;" :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2" v-if="advice.isShow == 2">
965
+              <span >{{advice.advice_name }}</span>
966
+              <span>{{advice.advice_desc}}</span>
967
+              <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
968
+              <span  v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
969
+              <span v-if="advice.parent_id == 0  && advice.children.length == 0">{{advice.delivery_way}}</span>
970
+              <span v-if="advice.parent_id == 0  && advice.children.length == 0">{{advice.execution_frequency}}</span>
971
+              <span v-if="advice.parent_id == 0 && advice.children &&  advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
972
+            </td>
973
+            <td colspan="2" height="60px" style="text-align: center" v-else >
974
+              <span>{{advice.delivery_way}}</span>
975
+              <span>{{advice.execution_frequency}}</span>
976
+              <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
977
+            </td>
978
+            <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td>
979
+            <td height="60px">
980
+              <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{getAdminUser(advice.advice_doctor)}}</span>
981
+              <img class="es-img" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else>
982
+            </td>
983
+            <td height="60px">
984
+              <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
985
+              <img class="es-img" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
986
+            </td>
987
+            <td height="60px">
988
+              <span v-if="setAdminUserES(advice.execution_staff) == ''">{{getAdminUser(advice.execution_staff)}}</span>
989
+              <img class="es-img" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else>
990
+            </td>
991
+            <td height="60px">
992
+              <span v-if="advice.execution_time">{{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}}</span>
993
+            </td>
980 994
           </tr>
995
+        </template>
996
+        <!-- <tr v-if="this.advice_groups_2.length == 0">
997
+            <td colspan="7" style="text-align:left;">特殊纪录:</td>
998
+        </tr> -->
981 999
         </tbody>
982 1000
         <div class="print-yema4">1</div>
983 1001
       </table>
@@ -1025,64 +1043,64 @@
1025 1043
 
1026 1044
           <table class="print-table-no" border="1"  count="0">
1027 1045
             <tbody>
1028
-              <tr style="line-height:35px;padding:8px 5px;">
1029
-                <td colspan="7" style="font-size: 18px">医嘱</td>
1030
-              </tr>
1031
-              <tr style="line-height:35px;padding:8px 5px;">
1032
-                <td colspan="4" style="font-size: 16px">开医嘱</td>
1033
-                <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
1034
-              </tr>
1035
-              <tr style="line-height:35px;padding:8px 5px;">
1036
-                <td style="font-size: 16px" width="10%">时间</td>
1037
-                <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
1038
-                <td style="font-size: 16px" width="10%">医生签名</td>
1039
-                <td style="font-size: 16px" width="10%">核对人签名</td>
1040
-                <td style="font-size: 16px" width="10%">执行人签名</td>
1041
-                <td style="font-size: 16px" width="10%">时间</td>
1042
-              </tr>
1043
-              <template v-for="(group, group_index) in advice_groups_2" >
1044
-                <tr v-for="(advice, advice_index) in group.advices" :key="advice_index" >
1045
-                  <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
1046
+            <tr style="line-height:35px;padding:8px 5px;">
1047
+              <td colspan="7" style="font-size: 18px">医嘱</td>
1048
+            </tr>
1049
+            <tr style="line-height:35px;padding:8px 5px;">
1050
+              <td colspan="4" style="font-size: 16px">开医嘱</td>
1051
+              <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
1052
+            </tr>
1053
+            <tr style="line-height:35px;padding:8px 5px;">
1054
+              <td style="font-size: 16px" width="10%">时间</td>
1055
+              <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
1056
+              <td style="font-size: 16px" width="10%">医生签名</td>
1057
+              <td style="font-size: 16px" width="10%">核对人签名</td>
1058
+              <td style="font-size: 16px" width="10%">执行人签名</td>
1059
+              <td style="font-size: 16px" width="10%">时间</td>
1060
+            </tr>
1061
+            <template v-for="(group, group_index) in advice_groups_2" >
1062
+              <tr v-for="(advice, advice_index) in group.advices" :key="advice_index" >
1063
+                <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
1046 1064
                       <span v-if="advice.start_time">
1047 1065
                         {{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}
1048 1066
                       </span>
1049
-                    <span v-else>&nbsp;<br/>&nbsp;</span>
1050
-                  </td>
1051
-                  <td height="60px" class="advice-name" style="padding-left:7px;" :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2" v-if="advice.isShow == 2">
1052
-                    <span >{{advice.advice_name }}</span>
1053
-                    <span>{{advice.advice_desc}}</span>
1054
-                    <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
1055
-                    <span  v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
1056
-                    <span v-if="advice.parent_id == 0  && advice.children.length == 0">{{advice.delivery_way}}</span>
1057
-                    <span v-if="advice.parent_id == 0  && advice.children.length == 0">{{advice.execution_frequency}}</span>
1058
-                    <span v-if="advice.parent_id == 0 && advice.children &&  advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
1059
-                  </td>
1060
-                  <td colspan="2" height="60px" style="text-align: center" v-else >
1061
-                    <span>{{advice.delivery_way}}</span>
1062
-                    <span>{{advice.execution_frequency}}</span>
1063
-                    <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
1064
-                  </td>
1065
-                  <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td>
1066
-                  <td height="60px">
1067
-                    <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{getAdminUser(advice.advice_doctor)}}</span>
1068
-                    <img class="es-img" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else>
1069
-                  </td>
1070
-                  <td height="60px">
1071
-                    <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
1072
-                    <img class="es-img" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
1073
-                  </td>
1074
-                  <td height="60px">
1075
-                    <span v-if="setAdminUserES(advice.execution_staff) == ''">{{getAdminUser(advice.execution_staff)}}</span>
1076
-                    <img class="es-img" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else>
1077
-                  </td>
1078
-                  <td height="60px">
1079
-                    <span v-if="advice.execution_time">{{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}}</span>
1080
-                  </td>
1081
-                </tr>
1082
-              </template>
1083
-              <!-- <tr >
1084
-                  <td colspan="7" style="text-align:left;">特殊纪录:</td>
1085
-              </tr> -->
1067
+                  <span v-else>&nbsp;<br/>&nbsp;</span>
1068
+                </td>
1069
+                <td height="60px" class="advice-name" style="padding-left:7px;" :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2" v-if="advice.isShow == 2">
1070
+                  <span >{{advice.advice_name }}</span>
1071
+                  <span>{{advice.advice_desc}}</span>
1072
+                  <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
1073
+                  <span  v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
1074
+                  <span v-if="advice.parent_id == 0  && advice.children.length == 0">{{advice.delivery_way}}</span>
1075
+                  <span v-if="advice.parent_id == 0  && advice.children.length == 0">{{advice.execution_frequency}}</span>
1076
+                  <span v-if="advice.parent_id == 0 && advice.children &&  advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
1077
+                </td>
1078
+                <td colspan="2" height="60px" style="text-align: center" v-else >
1079
+                  <span>{{advice.delivery_way}}</span>
1080
+                  <span>{{advice.execution_frequency}}</span>
1081
+                  <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
1082
+                </td>
1083
+                <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td>
1084
+                <td height="60px">
1085
+                  <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{getAdminUser(advice.advice_doctor)}}</span>
1086
+                  <img class="es-img" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else>
1087
+                </td>
1088
+                <td height="60px">
1089
+                  <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
1090
+                  <img class="es-img" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
1091
+                </td>
1092
+                <td height="60px">
1093
+                  <span v-if="setAdminUserES(advice.execution_staff) == ''">{{getAdminUser(advice.execution_staff)}}</span>
1094
+                  <img class="es-img" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else>
1095
+                </td>
1096
+                <td height="60px">
1097
+                  <span v-if="advice.execution_time">{{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}}</span>
1098
+                </td>
1099
+              </tr>
1100
+            </template>
1101
+            <!-- <tr >
1102
+                <td colspan="7" style="text-align:left;">特殊纪录:</td>
1103
+            </tr> -->
1086 1104
             </tbody>
1087 1105
           </table>
1088 1106
           <div class="print-yema4">2</div>
@@ -1093,6 +1111,7 @@
1093 1111
 
1094 1112
 </template>
1095 1113
 
1114
+
1096 1115
 <script>
1097 1116
   // import CheckBox from 'option_check_box'
1098 1117
   import { getDialysisRecord } from '@/api/dialysis'
@@ -1114,6 +1133,14 @@
1114 1133
     },
1115 1134
     data() {
1116 1135
       return {
1136
+        way_arr: [],
1137
+        consciousness_arr: [],
1138
+        appetite_arr: [],
1139
+        posture_arr: [],
1140
+        sick_condition_arr: [],
1141
+        precaution_arr: [],
1142
+        intake_arr: [],
1143
+        nutrition_arr: [],
1117 1144
         crumbs: [
1118 1145
           { path: false, name: '透析管理' },
1119 1146
           { path: false, name: '打印单' }
@@ -1704,6 +1731,17 @@
1704 1731
 
1705 1732
     },
1706 1733
     created() {
1734
+
1735
+      this.way_arr = getDataConfig('hemodialysis', 'way')
1736
+      this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
1737
+      this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
1738
+      this.posture_arr = getDataConfig('hemodialysis', 'posture')
1739
+      this.sick_condition_arr = getDataConfig('hemodialysis', 'sick_condition')
1740
+      this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
1741
+      this.intake_arr = getDataConfig('hemodialysis', 'intake')
1742
+      this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
1743
+
1744
+
1707 1745
       var xtuser = this.$store.getters.user;
1708 1746
       this.orgname = xtuser.org.org_name;
1709 1747
       // this.orgname = "遂溪方济医院";

+ 59 - 30
src/pages/main/template/DialysisPrintOrderOne.vue 파일 보기

@@ -68,27 +68,31 @@
68 68
                     <td width="70">入院方式:</td>
69 69
                     <td width="240">
70 70
                       <div>
71
-                        <label-box :isChecked='receiverTreatmentAccess.way==1?true:false' showValue='步行'></label-box>
72
-                        &nbsp;
73
-                        <label-box :isChecked='receiverTreatmentAccess.way==2?true:false' showValue='扶行'></label-box>
74
-                        &nbsp;
75
-                        <label-box :isChecked='receiverTreatmentAccess.way==3?true:false' showValue='轮椅'></label-box>
76
-                        &nbsp;
77
-                        <label-box :isChecked='receiverTreatmentAccess.way==4?true:false' showValue='平车'></label-box>
71
+                        <label-box v-for="(item, index) in way_arr" :key="index" :isChecked='receiverTreatmentAccess.way==item.id?true:false' :showValue='item.name'></label-box>
72
+
73
+                        <!--<label-box :isChecked='receiverTreatmentAccess.way==1?true:false' showValue='步行'></label-box>-->
74
+                        <!--&nbsp;-->
75
+                        <!--<label-box :isChecked='receiverTreatmentAccess.way==2?true:false' showValue='扶行'></label-box>-->
76
+                        <!--&nbsp;-->
77
+                        <!--<label-box :isChecked='receiverTreatmentAccess.way==3?true:false' showValue='轮椅'></label-box>-->
78
+                        <!--&nbsp;-->
79
+                        <!--<label-box :isChecked='receiverTreatmentAccess.way==4?true:false' showValue='平车'></label-box>-->
78 80
                       </div>
79 81
                     </td>
80 82
                     <td width="50">意识:</td>
81 83
                     <td width="220">
82 84
                       <div>
83
-                        <label-box :isChecked='receiverTreatmentAccess.consciousness==1?true:false'
84
-                                   showValue='清醒'></label-box>
85
-                        &nbsp;
86
-                        <label-box :isChecked='receiverTreatmentAccess.consciousness==2?true:false'
87
-                                   showValue='嗜睡'></label-box>
88
-                        <label-box :isChecked='receiverTreatmentAccess.consciousness==3?true:false'
89
-                                   showValue='昏迷'></label-box>
90
-                        <label-box :isChecked='receiverTreatmentAccess.consciousness==4?true:false'
91
-                                   showValue='模糊'></label-box>
85
+                        <label-box v-for="(item, index) in consciousness_arr" :key="index" :isChecked='receiverTreatmentAccess.consciousness==item.id?true:false' :showValue='item.name'></label-box>
86
+
87
+                        <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==1?true:false'-->
88
+                                   <!--showValue='清醒'></label-box>-->
89
+                        <!--&nbsp;-->
90
+                        <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==2?true:false'-->
91
+                                   <!--showValue='嗜睡'></label-box>-->
92
+                        <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==3?true:false'-->
93
+                                   <!--showValue='昏迷'></label-box>-->
94
+                        <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==4?true:false'-->
95
+                                   <!--showValue='模糊'></label-box>-->
92 96
                       </div>
93 97
                     </td>
94 98
                     <td width="10"></td>
@@ -109,20 +113,22 @@
109 113
                     <td width="40">体位:</td>
110 114
                     <td width="400">
111 115
                       <div>
112
-                        <label-box :isChecked='receiverTreatmentAccess.posture==1?true:false'
113
-                                   showValue='自动体位'></label-box>
114
-                        &nbsp;
115
-                        <label-box :isChecked='receiverTreatmentAccess.posture==2?true:false'
116
-                                   showValue='平卧位'></label-box>
117
-                        &nbsp;
118
-                        <label-box :isChecked='receiverTreatmentAccess.posture==3?true:false'
119
-                                   showValue='半卧位'></label-box>
120
-                        &nbsp;
121
-                        <label-box :isChecked='receiverTreatmentAccess.posture==4?true:false'
122
-                                   showValue='端坐位'></label-box>
123
-                        &nbsp;
124
-                        <label-box :isChecked='receiverTreatmentAccess.posture==5?true:false'
125
-                                   showValue='躁动不安'></label-box>
116
+                        <label-box v-for="(item, index) in posture_arr" :key="index" :isChecked='receiverTreatmentAccess.posture==item.id?true:false' :showValue='item.name'></label-box>
117
+
118
+                        <!--<label-box :isChecked='receiverTreatmentAccess.posture==1?true:false'-->
119
+                                   <!--showValue='自动体位'></label-box>-->
120
+                        <!--&nbsp;-->
121
+                        <!--<label-box :isChecked='receiverTreatmentAccess.posture==2?true:false'-->
122
+                                   <!--showValue='平卧位'></label-box>-->
123
+                        <!--&nbsp;-->
124
+                        <!--<label-box :isChecked='receiverTreatmentAccess.posture==3?true:false'-->
125
+                                   <!--showValue='半卧位'></label-box>-->
126
+                        <!--&nbsp;-->
127
+                        <!--<label-box :isChecked='receiverTreatmentAccess.posture==4?true:false'-->
128
+                                   <!--showValue='端坐位'></label-box>-->
129
+                        <!--&nbsp;-->
130
+                        <!--<label-box :isChecked='receiverTreatmentAccess.posture==5?true:false'-->
131
+                                   <!--showValue='躁动不安'></label-box>-->
126 132
                         &nbsp;
127 133
                       </div>
128 134
                     </td>
@@ -1034,6 +1040,17 @@
1034 1040
     },
1035 1041
     data() {
1036 1042
       return {
1043
+
1044
+        way_arr: [],
1045
+        consciousness_arr: [],
1046
+        appetite_arr: [],
1047
+        posture_arr: [],
1048
+        sick_condition_arr: [],
1049
+        precaution_arr: [],
1050
+        intake_arr: [],
1051
+        nutrition_arr: [],
1052
+
1053
+
1037 1054
         crumbs: [
1038 1055
           { path: false, name: '透析管理' },
1039 1056
           { path: false, name: '打印单' }
@@ -1494,6 +1511,18 @@
1494 1511
 
1495 1512
     },
1496 1513
     created() {
1514
+
1515
+      this.way_arr = getDataConfig('hemodialysis', 'way')
1516
+      this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
1517
+      this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
1518
+      this.posture_arr = getDataConfig('hemodialysis', 'posture')
1519
+      this.sick_condition_arr = getDataConfig('hemodialysis', 'sick_condition')
1520
+      this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
1521
+      this.intake_arr = getDataConfig('hemodialysis', 'intake')
1522
+      this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
1523
+
1524
+
1525
+
1497 1526
       var xtuser = this.$store.getters.user;
1498 1527
       this.orgname = xtuser.org.org_name;
1499 1528
       // this.orgname = "遂溪方济医院";

+ 38 - 10
src/pages/main/template/DialysisPrintOrderSix.vue 파일 보기

@@ -57,11 +57,12 @@
57 57
       <div class="row" >
58 58
         <div class="inline_block" >
59 59
           入科方式:
60
-          <div class="under_line" v-if="receiverTreatmentAccess.way==0" style="width: 180px;text-align: left">  </div>
61
-          <div class="under_line" v-if="receiverTreatmentAccess.way==1" style="width: 180px;text-align: left">步行 </div>
62
-          <div class="under_line" v-if="receiverTreatmentAccess.way==2" style="width: 180px;text-align: left">扶行 </div>
63
-          <div class="under_line" v-if="receiverTreatmentAccess.way==3" style="width: 180px;text-align: left">轮椅 </div>
64
-          <div class="under_line" v-if="receiverTreatmentAccess.way==4" style="width: 180px;text-align: left">平车 </div>
60
+          <div
61
+            v-for="item,index in way_arr"
62
+            class="under_line"
63
+            v-if="receiverTreatmentAccess.way == item.id"
64
+            style="width: 180px;text-align: left"
65
+          >{{item.name}}</div>
65 66
         </div>
66 67
         <div class="inline_block" style="margin-left: 10px;">
67 68
           诊断:
@@ -605,11 +606,17 @@
605 606
         <div class="row" >
606 607
           <div class="inline_block" >
607 608
             入科方式:
608
-            <div class="under_line" v-if="receiverTreatmentAccess.way==0" style="width: 180px;text-align: left">  </div>
609
-            <div class="under_line" v-if="receiverTreatmentAccess.way==1" style="width: 180px;text-align: left">步行 </div>
610
-            <div class="under_line" v-if="receiverTreatmentAccess.way==2" style="width: 180px;text-align: left">扶行 </div>
611
-            <div class="under_line" v-if="receiverTreatmentAccess.way==3" style="width: 180px;text-align: left">轮椅 </div>
612
-            <div class="under_line" v-if="receiverTreatmentAccess.way==4" style="width: 180px;text-align: left">平车 </div>
609
+            <div
610
+              v-for="item,index in way_arr"
611
+              class="under_line"
612
+              v-if="receiverTreatmentAccess.way == item.id"
613
+              style="width: 180px;text-align: left"
614
+            >{{item.name}}</div>
615
+            <!--<div class="under_line" v-if="receiverTreatmentAccess.way==0" style="width: 180px;text-align: left">  </div>-->
616
+            <!--<div class="under_line" v-if="receiverTreatmentAccess.way==1" style="width: 180px;text-align: left">步行 </div>-->
617
+            <!--<div class="under_line" v-if="receiverTreatmentAccess.way==2" style="width: 180px;text-align: left">扶行 </div>-->
618
+            <!--<div class="under_line" v-if="receiverTreatmentAccess.way==3" style="width: 180px;text-align: left">轮椅 </div>-->
619
+            <!--<div class="under_line" v-if="receiverTreatmentAccess.way==4" style="width: 180px;text-align: left">平车 </div>-->
613 620
           </div>
614 621
           <div class="inline_block" style="margin-left: 10px;">
615 622
             诊断:
@@ -826,6 +833,17 @@
826 833
     },
827 834
      data() {
828 835
       return {
836
+        way_arr: [],
837
+        consciousness_arr: [],
838
+        appetite_arr: [],
839
+        posture_arr: [],
840
+        sick_condition_arr: [],
841
+        precaution_arr: [],
842
+        intake_arr: [],
843
+        nutrition_arr: [],
844
+
845
+
846
+
829 847
         crumbs: [
830 848
           { path: false, name: '透析管理' },
831 849
           { path: false, name: '打印单' }
@@ -1418,6 +1436,16 @@
1418 1436
 
1419 1437
     },
1420 1438
     created() {
1439
+      this.way_arr = getDataConfig('hemodialysis', 'way')
1440
+      this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
1441
+      this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
1442
+      this.posture_arr = getDataConfig('hemodialysis', 'posture')
1443
+      this.sick_condition_arr = getDataConfig('hemodialysis', 'sick_condition')
1444
+      this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
1445
+      this.intake_arr = getDataConfig('hemodialysis', 'intake')
1446
+      this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
1447
+
1448
+
1421 1449
       var xtuser = this.$store.getters.user
1422 1450
       this.orgname = xtuser.org.org_name
1423 1451
       // this.orgname = "遂溪方济医院";

+ 58 - 20
src/pages/main/template/DialysisPrintOrderTwo.vue 파일 보기

@@ -50,10 +50,12 @@
50 50
               <div class="row" style="padding: 2px 0;line-height:19px;">
51 51
                 <div class="inline_block">
52 52
                   入科方式:
53
-                  <check-box text="步行" :checked="receiverTreatmentAccess.way==1?true:false"></check-box>
54
-                  <check-box text="扶行" :checked="receiverTreatmentAccess.way==2?true:false"></check-box>
55
-                  <check-box text="轮椅" :checked="receiverTreatmentAccess.way==3?true:false"></check-box>
56
-                  <check-box text="平车" :checked="receiverTreatmentAccess.way==4?true:false"></check-box>
53
+                  <check-box v-for="item,index in way_arr" :key="index" :text="item.name" :checked="receiverTreatmentAccess.way==item.id?true:false"></check-box>
54
+
55
+                  <!--<check-box text="步行" :checked="receiverTreatmentAccess.way==1?true:false"></check-box>-->
56
+                  <!--<check-box text="扶行" :checked="receiverTreatmentAccess.way==2?true:false"></check-box>-->
57
+                  <!--<check-box text="轮椅" :checked="receiverTreatmentAccess.way==3?true:false"></check-box>-->
58
+                  <!--<check-box text="平车" :checked="receiverTreatmentAccess.way==4?true:false"></check-box>-->
57 59
                 </div>
58 60
                 <div class="inline_block" style="margin-left: 5px;">
59 61
                   透析频次:
@@ -74,10 +76,12 @@
74 76
               <div class="row" style="padding: 2px 0;line-height:19px;">
75 77
                 <div class="inline_block" >
76 78
                   意识:
77
-                  <check-box text="清醒" :checked="receiverTreatmentAccess.consciousness==1?true:false"></check-box>
78
-                  <check-box text="嗜睡" :checked="receiverTreatmentAccess.consciousness==2?true:false"></check-box>
79
-                  <check-box text="昏迷" :checked="receiverTreatmentAccess.consciousness==3?true:false"></check-box>
80
-                  <check-box text="模糊" :checked="receiverTreatmentAccess.consciousness==4?true:false"></check-box>
79
+                  <check-box v-for="item,index in consciousness_arr" :key="index" :text="item.name" :checked="receiverTreatmentAccess.consciousness==item.id?true:false"></check-box>
80
+
81
+                  <!--<check-box text="清醒" :checked="receiverTreatmentAccess.consciousness==1?true:false"></check-box>-->
82
+                  <!--<check-box text="嗜睡" :checked="receiverTreatmentAccess.consciousness==2?true:false"></check-box>-->
83
+                  <!--<check-box text="昏迷" :checked="receiverTreatmentAccess.consciousness==3?true:false"></check-box>-->
84
+                  <!--<check-box text="模糊" :checked="receiverTreatmentAccess.consciousness==4?true:false"></check-box>-->
81 85
                 </div>
82 86
                 <div class="inline_block"  >
83 87
                   活动性出血:
@@ -173,9 +177,11 @@
173 177
                 </div>
174 178
                 <div class="inline_block">
175 179
                   病情:
176
-                  <check-box text="一般" :checked="receiverTreatmentAccess.sick_condition == 1?true:false"></check-box>
177
-                  <check-box text="重" :checked="receiverTreatmentAccess.sick_condition == 2?true:false"></check-box>
178
-                  <check-box text="危" :checked="receiverTreatmentAccess.sick_condition == 3?true:false"></check-box>
180
+                  <check-box v-for="item, index in sick_condition_arr" :key="index"  :text="item.name" :checked="receiverTreatmentAccess.sick_condition == item.id?true:false"></check-box>
181
+
182
+                  <!--<check-box text="一般" :checked="receiverTreatmentAccess.sick_condition == 1?true:false"></check-box>-->
183
+                  <!--<check-box text="重" :checked="receiverTreatmentAccess.sick_condition == 2?true:false"></check-box>-->
184
+                  <!--<check-box text="危" :checked="receiverTreatmentAccess.sick_condition == 3?true:false"></check-box>-->
179 185
                 </div>
180 186
               </div>
181 187
             </td>
@@ -196,18 +202,24 @@
196 202
               <div class="row" style="padding: 2px 0;line-height:19px;">
197 203
                 <div class="inline_block">
198 204
                   营养状况评估:&nbsp;食欲:
199
-                  <check-box text="正常" :checked="receiverTreatmentAccess.appetite == 1?true:false"></check-box>
200
-                  <check-box text="下降" :checked="receiverTreatmentAccess.appetite == 2?true:false"></check-box>
205
+                  <check-box v-for="item, index in appetite_arr" :key="item.id" :text="item.name" :checked="receiverTreatmentAccess.appetite == item.id?true:false"></check-box>
206
+
207
+                  <!--<check-box text="正常" :checked="receiverTreatmentAccess.appetite == 1?true:false"></check-box>-->
208
+                  <!--<check-box text="下降" :checked="receiverTreatmentAccess.appetite == 2?true:false"></check-box>-->
201 209
                 </div>
202 210
                 <div class="inline_block">
203 211
                   &emsp; 摄入量:
204
-                  <check-box text="正常" :checked="receiverTreatmentAccess.intake == 1?true:false"></check-box>
205
-                  <check-box text="减少" :checked="receiverTreatmentAccess.intake == 2?true:false"></check-box>
212
+                  <check-box v-for="item, index in intake_arr" :key="index" :text="item.name" :checked="receiverTreatmentAccess.intake == item.id?true:false"></check-box>
213
+
214
+                  <!--<check-box text="正常" :checked="receiverTreatmentAccess.intake == 1?true:false"></check-box>-->
215
+                  <!--<check-box text="减少" :checked="receiverTreatmentAccess.intake == 2?true:false"></check-box>-->
206 216
                 </div>
207 217
                 <div class="inline_block">
208 218
                   &emsp;营养状况:
209
-                  <check-box text="正常" :checked="receiverTreatmentAccess.nutrition == 1?true:false"></check-box>
210
-                  <check-box text="营养不良" :checked="receiverTreatmentAccess.nutrition == 2?true:false"></check-box>
219
+                  <check-box v-for="item, index in nutrition_arr" :key="index" :text="item.name" :checked="receiverTreatmentAccess.nutrition == item.id?true:false"></check-box>
220
+
221
+                  <!--<check-box text="正常" :checked="receiverTreatmentAccess.nutrition == 1?true:false"></check-box>-->
222
+                  <!--<check-box text="营养不良" :checked="receiverTreatmentAccess.nutrition == 2?true:false"></check-box>-->
211 223
                 </div>
212 224
               </div>
213 225
               <div class="row" style="padding: 2px 0; line-height:19px;">
@@ -668,9 +680,11 @@
668 680
                 </div>
669 681
                 <div class="inline_block">
670 682
                   病情:
671
-                  <check-box text="一般" :checked="receiverTreatmentAccess.sick_condition == 1?true:false"></check-box>
672
-                  <check-box text="重" :checked="receiverTreatmentAccess.sick_condition == 2?true:false"></check-box>
673
-                  <check-box text="危" :checked="receiverTreatmentAccess.sick_condition == 3?true:false"></check-box>
683
+                  <check-box v-for="item, index in sick_condition_arr" :key="index"  :text="item.name" :checked="receiverTreatmentAccess.sick_condition == item.id?true:false"></check-box>
684
+
685
+                  <!--<check-box text="一般" :checked="receiverTreatmentAccess.sick_condition == 1?true:false"></check-box>-->
686
+                  <!--<check-box text="重" :checked="receiverTreatmentAccess.sick_condition == 2?true:false"></check-box>-->
687
+                  <!--<check-box text="危" :checked="receiverTreatmentAccess.sick_condition == 3?true:false"></check-box>-->
674 688
                 </div>
675 689
               </div>
676 690
               <div class="row" style="padding: 2px 0;line-height:24px;">
@@ -1061,6 +1075,18 @@
1061 1075
         bloodAccessParOpera: {},
1062 1076
         dialysateFormulationOptions: {},
1063 1077
 
1078
+
1079
+        way_arr: [],
1080
+        consciousness_arr: [],
1081
+        appetite_arr: [],
1082
+        posture_arr: [],
1083
+        sick_condition_arr: [],
1084
+        precaution_arr: [],
1085
+        intake_arr: [],
1086
+        nutrition_arr: [],
1087
+
1088
+
1089
+
1064 1090
         queryParams: {
1065 1091
           xtdate: '',
1066 1092
           xtno: ''
@@ -1624,6 +1650,18 @@
1624 1650
 
1625 1651
     },
1626 1652
     created() {
1653
+
1654
+      this.way_arr = getDataConfig('hemodialysis', 'way')
1655
+      this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
1656
+      this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
1657
+      this.posture_arr = getDataConfig('hemodialysis', 'posture')
1658
+      this.sick_condition_arr = getDataConfig('hemodialysis', 'sick_condition')
1659
+      this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
1660
+      this.intake_arr = getDataConfig('hemodialysis', 'intake')
1661
+      this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
1662
+
1663
+
1664
+
1627 1665
       var xtuser = this.$store.getters.user;
1628 1666
       this.orgname = xtuser.org.org_name;
1629 1667
       // this.orgname = "遂溪方济医院";

+ 119 - 98
src/pages/main/today/acceptsAssessment.vue 파일 보기

@@ -15,6 +15,16 @@
15 15
           <label>病人情况 :</label>
16 16
           <span class="content">{{ condition }}</span>
17 17
         </li>
18
+
19
+        <li
20
+          v-if="this.record.condition == 1"
21
+        >
22
+          <label>住院号:</label>
23
+          <span class="content">{{
24
+            this.record.admission_number
25
+          }}</span>
26
+        </li>
27
+
18 28
         <li v-if="isShow('病人意识')">
19 29
           <label>病人意识 :</label>
20 30
           <span class="content">{{ consciousness }}</span>
@@ -51,7 +61,7 @@
51 61
 
52 62
         <li v-if="isShow('跌倒风险预防措施')">
53 63
           <label>跌倒风险预防措施:</label>
54
-          <span class="content">{{ precautions }}</span>
64
+          <span class="content">{{ precaution }}</span>
55 65
         </li>
56 66
 
57 67
         <li v-if="isShow('其他跌倒风险预防措施')">
@@ -98,72 +108,39 @@
98 108
 </template>
99 109
 
100 110
 <script>
101
-export default {
111
+  import { getDataConfig } from '@/utils/data'
112
+
113
+  export default {
102 114
   name: "AcceptsAssessment",
103 115
   data() {
104 116
     return {
105 117
       title: "接诊评估 ",
106 118
 
107
-      ways: {
108
-        "1": "步行",
109
-        "2": "扶行",
110
-        "3": "轮椅",
111
-        "4": "平车"
112
-      },
119
+      ways: [],
113 120
       conditions: {
114
-        "1": "住院",
115
-        "2": "门诊",
116
-        "3": "手术期"
117
-      },
118
-      consciousnesses: {
119
-        "1": "清醒",
120
-        "2": "嗜睡",
121
-        "3": "昏迷",
122
-        "4": "模糊"
123
-      },
124
-      appetites: {
125
-        "1": "正常",
126
-        "2": "减退",
127
-        "3": "恶心",
128
-        "4": "呕吐",
129
-        "5": "腹泻"
130
-      },
131
-      postures: {
132
-        "1": "自动体位",
133
-        "2": "平卧位",
134
-        "3": "半卧位",
135
-        "4": "端坐位",
136
-        "5": "躁动不安"
137
-      },
138
-      sick_condition: {
139
-        "1": "一般",
140
-        "2": "重",
141
-        "3": "危"
121
+        '1': '住院',
122
+        '2': '门诊',
123
+        '3': '手术期'
142 124
       },
125
+      consciousnesses:[],
126
+      appetites: [],
127
+      postures: [],
128
+      sick_condition:[],
143 129
       danger_level: {
144
-        "1": "无",
145
-        "2": "低风险",
146
-        "3": "中度风险",
147
-        "4": "高风险"
148
-      },
149
-      intake: {
150
-        "1": "正常",
151
-        "2": "减少"
152
-      },
153
-      nutrition: {
154
-        "1": "正常",
155
-        "2": "营养不良"
130
+        '1': '无',
131
+        '2': '低风险',
132
+        '3': '中度风险',
133
+        '4': '高风险'
134
+
156 135
       },
136
+      intake:[],
137
+      nutrition: [],
157 138
       psychological_assessment: {
158
-        "1": "正常",
159
-        "2": "异常"
139
+        '1': '正常',
140
+        '2': '异常'
160 141
       },
161
-      precautionss: {
162
-        "1": "镇定剂",
163
-        "2": "约束带",
164
-        "3": "床栏",
165
-        "4": "加强宣教"
166
-      }
142
+      precautions:[],
143
+
167 144
     };
168 145
   },
169 146
   props: {
@@ -173,12 +150,17 @@ export default {
173 150
   },
174 151
   computed: {
175 152
     way: function() {
176
-      if (this.record == null || this.record.id == "") {
177
-        return "";
153
+      if (this.record.id == 0) {
154
+        return ''
178 155
       } else {
179
-        return this.ways[this.record.way] == undefined
180
-          ? ""
181
-          : this.ways[this.record.way] + "";
156
+        // return this.ways[this.record.way] == undefined ? '' : (this.ways[this.record.way] + '')
157
+
158
+        for (let i = 0; i < this.ways.length; i++){
159
+          if (this.record.way == this.ways[i].id){
160
+            return this.ways[i].name
161
+
162
+          }
163
+        }
182 164
       }
183 165
     },
184 166
     condition: function() {
@@ -191,39 +173,56 @@ export default {
191 173
       }
192 174
     },
193 175
     consciousness: function() {
194
-      if (this.record == null || this.record.id == "") {
195
-        return "";
176
+      if (this.record.id == 0) {
177
+        return ''
196 178
       } else {
197
-        return this.consciousnesses[this.record.consciousness] == undefined
198
-          ? ""
199
-          : this.consciousnesses[this.record.consciousness] + "";
179
+        for (let i = 0; i < this.consciousnesses.length; i++){
180
+          if (this.record.consciousness == this.consciousnesses[i].id){
181
+            return this.consciousnesses[i].name
182
+
183
+          }
184
+        }
185
+        // return this.consciousnesses[this.record.consciousness] == undefined ? '' : this.consciousnesses[this.record.consciousness] + ''
200 186
       }
201 187
     },
202 188
     appetite: function() {
203
-      if (this.record == null || this.record.id == "") {
204
-        return "";
189
+      if (this.record.id == 0) {
190
+        return ''
205 191
       } else {
206
-        return this.appetites[this.record.appetite] == undefined
207
-          ? ""
208
-          : this.appetites[this.record.appetite] + "";
192
+        // return this.appetites[this.record.appetite] == undefined ? '' : this.appetites[this.record.appetite] + ''
193
+        for (let i = 0; i < this.appetites.length; i++){
194
+          if (this.record.appetite == this.appetites[i].id){
195
+            return this.appetites[i].name
196
+
197
+          }
198
+        }
209 199
       }
210 200
     },
211 201
     posture: function() {
212
-      if (this.record == null || this.record.id == "") {
213
-        return "";
202
+      if (this.record.id == 0) {
203
+        return ''
214 204
       } else {
215
-        return this.postures[this.record.posture] == undefined
216
-          ? ""
217
-          : this.postures[this.record.posture] + "";
205
+        // return this.postures[this.record.posture] == undefined ? '' : this.postures[this.record.posture] + ''
206
+
207
+        for (let i = 0; i < this.postures.length; i++){
208
+          if (this.record.posture == this.postures[i].id){
209
+            return this.postures[i].name
210
+
211
+          }
212
+        }
218 213
       }
219 214
     },
220 215
     sickCondition: function() {
221
-      if (this.record == null || this.record.id == "") {
222
-        return "";
216
+      if (this.record == null || this.record.id == '') {
217
+        return ''
223 218
       } else {
224
-        return this.sick_condition[this.record.sick_condition] == undefined
225
-          ? ""
226
-          : this.sick_condition[this.record.sick_condition] + "";
219
+        for (let i = 0; i < this.sick_condition.length; i++){
220
+          if (this.record.sick_condition == this.sick_condition[i].id){
221
+            return this.sick_condition[i].name
222
+
223
+          }
224
+        }
225
+        // return this.sick_condition[this.record.sick_condition] == undefined ? '' : this.sick_condition[this.record.sick_condition] + ''
227 226
       }
228 227
     },
229 228
     dangerLevel: function() {
@@ -235,31 +234,42 @@ export default {
235 234
           : this.danger_level[this.record.danger_level] + "";
236 235
       }
237 236
     },
238
-    precautions: function() {
239
-      if (this.record == null || this.record.id == "") {
240
-        return "";
237
+    precaution: function() {
238
+      if (this.record.id == 0) {
239
+        return ''
241 240
       } else {
242
-        return this.precautionss[this.record.precaution] == undefined
243
-          ? ""
244
-          : this.precautionss[this.record.precaution] + "";
241
+        for (let i = 0; i < this.precautions.length; i++){
242
+          if (this.record.precaution == this.precautions[i].id){
243
+            return this.precautions[i].name
244
+
245
+          }
246
+        }
245 247
       }
246 248
     },
247 249
     intakes: function() {
248
-      if (this.record == null || this.record.id == "") {
249
-        return "";
250
+      if (this.record == null || this.record.id == '') {
251
+        return ''
250 252
       } else {
251
-        return this.intake[this.record.intake] == undefined
252
-          ? ""
253
-          : this.intake[this.record.intake] + "";
253
+        for (let i = 0; i < this.intake.length; i++){
254
+          if (this.record.intake == this.intake[i].id){
255
+            return this.intake[i].name
256
+
257
+          }
258
+        }
259
+        // return this.intake[this.record.intake] == undefined ? '' : this.intake[this.record.intake] + ''
254 260
       }
255 261
     },
256 262
     nutritions: function() {
257
-      if (this.record == null || this.record.id == "") {
258
-        return "";
263
+      if (this.record == null || this.record.id == '') {
264
+        return ''
259 265
       } else {
260
-        return this.nutrition[this.record.nutrition] == undefined
261
-          ? ""
262
-          : this.nutrition[this.record.nutrition] + "";
266
+        for (let i = 0; i < this.nutrition.length; i++){
267
+          if (this.record.nutrition == this.nutrition[i].id){
268
+            return this.nutrition[i].name
269
+
270
+          }
271
+        }
272
+        // return this.nutrition[this.record.nutrition] == undefined ? '' : this.nutrition[this.record.nutrition] + ''
263 273
       }
264 274
     },
265 275
     psychologicalAssessment: function() {
@@ -291,7 +301,18 @@ export default {
291 301
       }
292 302
       return false;
293 303
     }
294
-  }
304
+  },  created(){
305
+    this.ways = getDataConfig('hemodialysis', 'way')
306
+    this.consciousnesses = getDataConfig('hemodialysis', 'consciousness')
307
+    this.appetites = getDataConfig('hemodialysis', 'appetite')
308
+    this.postures = getDataConfig('hemodialysis', 'posture')
309
+    this.sick_condition = getDataConfig('hemodialysis', 'sick_condition')
310
+    this.precautions = getDataConfig('hemodialysis', 'precaution')
311
+    this.intake = getDataConfig('hemodialysis', 'intake')
312
+    this.nutrition = getDataConfig('hemodialysis', 'nutrition')
313
+
314
+
315
+  },
295 316
 };
296 317
 </script>
297 318