Browse Source

排序问题处理

XMLWAN 4 years ago
parent
commit
878e916570

+ 2 - 2
config/prod.env.js View File

1
 "use strict";
1
 "use strict";
2
 module.exports = {
2
 module.exports = {
3
   NODE_ENV: '"production"',
3
   NODE_ENV: '"production"',
4
-  //BASE_API: '"http://new_mobile.xt.api.sgjyun.com"'
5
-  BASE_API: '"https://api.xt.kuyicloud.com"'
4
+  BASE_API: '"http://new_mobile.xt.api.sgjyun.com"'
5
+  //BASE_API: '"https://api.xt.kuyicloud.com"'
6
   // BASE_API:'"http://localhost:9529"',
6
   // BASE_API:'"http://localhost:9529"',
7
   // BASE_API: '"http://api.xt.test.sgjyun.com"'
7
   // BASE_API: '"http://api.xt.test.sgjyun.com"'
8
   // http://api.xt.test.sgjyun.com
8
   // http://api.xt.test.sgjyun.com

+ 80 - 18
src/pages/main/dialog/AssessmentDialog.vue View File

65
           </div>
65
           </div>
66
         </div>
66
         </div>
67
 
67
 
68
-        <div class="item" ref="symptom_before_dialysis" v-if="isShow('透析机型号')">
68
+<!--        <div class="item" ref="symptom_before_dialysis" v-if="isShow('透析机型号')">-->
69
+<!--          <h2 class="name">透析机型号</h2>-->
70
+<!--          <div class="content">-->
71
+<!--            <input-->
72
+<!--              type="text"-->
73
+<!--              @click="newClick($event)"-->
74
+<!--              @focus="inputFocus"-->
75
+<!--              v-model="formValue.machine_type"-->
76
+<!--            />-->
77
+<!--          </div>-->
78
+<!--        </div>-->
79
+
80
+        <div
81
+          @click="showSubMenu('machine_type')"
82
+          class="item"
83
+          ref="machine_type"
84
+          v-if="isShow('透析机型号')"
85
+        >
69
           <h2 class="name">透析机型号</h2>
86
           <h2 class="name">透析机型号</h2>
70
           <div class="content">
87
           <div class="content">
71
-            <input
72
-              type="text"
73
-              @click="newClick($event)"
74
-              @focus="inputFocus"
75
-              v-model="formValue.machine_type"
76
-            />
88
+            <span class="text">{{DialysisModel(formValue.machine_type)}}</span>
89
+            <span class="iconfont">&#xe6f9;</span>
77
           </div>
90
           </div>
78
         </div>
91
         </div>
79
 
92
 
649
         puncture_needle: ""
662
         puncture_needle: ""
650
       },
663
       },
651
 
664
 
652
-      record_date: ""
665
+      record_date: "",
666
+      machineType: []
653
     };
667
     };
654
   },
668
   },
655
   watch: {
669
   watch: {
1333
           }
1347
           }
1334
           this.propForm.click_ref = "puncture_needle";
1348
           this.propForm.click_ref = "puncture_needle";
1335
           break;
1349
           break;
1350
+
1351
+        case "machine_type":
1352
+          this.isHasOther = 2;
1353
+          this.propForm.isShowOther = 1;
1354
+          this.propForm.type = 23;
1355
+          this.isShowDialog = false;
1356
+          this.propForm.title = "透析机型号";
1357
+          this.visibility = true;
1358
+          this.propForm.list = [];
1359
+          this.propForm.optionList = getDataConfig(
1360
+            "hemodialysis",
1361
+            "machine_type"
1362
+          );
1363
+          this.propForm.isMultiple = 1;
1364
+          this.propForm.selectId = this.formValue.machine_type;
1365
+          this.propForm.click_ref = "machine_type";
1366
+          break;
1336
       }
1367
       }
1337
     },
1368
     },
1338
     menuCancle: function() {
1369
     menuCancle: function() {
1440
         case 22:
1471
         case 22:
1441
           this.formValue.puncture_needle = val.result.join(",");
1472
           this.formValue.puncture_needle = val.result.join(",");
1442
           break;
1473
           break;
1474
+        case 23:
1475
+          this.formValue.machine_type = val.selectId;
1476
+          break;
1443
       }
1477
       }
1444
     },
1478
     },
1445
     QueryPartById: function(val) {
1479
     QueryPartById: function(val) {
1446
       let vascular_access_part_name = "";
1480
       let vascular_access_part_name = "";
1447
       let vascular_access = getDataConfig("hemodialysis", "vascular_access");
1481
       let vascular_access = getDataConfig("hemodialysis", "vascular_access");
1448
-      console.log("vascular_access", vascular_access);
1449
       for (let i = 0; i < vascular_access.length; i++) {
1482
       for (let i = 0; i < vascular_access.length; i++) {
1450
         if (vascular_access[i].id == val) {
1483
         if (vascular_access[i].id == val) {
1451
           vascular_access_part_name = vascular_access[i].name;
1484
           vascular_access_part_name = vascular_access[i].name;
1479
       }
1512
       }
1480
       return name;
1513
       return name;
1481
     },
1514
     },
1515
+    DialysisModel: function(val) {
1516
+      let name = "";
1517
+      let options = getDataConfig("hemodialysis", "machine_type");
1518
+      for (let index = 0; index < options.length; index++) {
1519
+        const option = options[index];
1520
+        if (option.id == val) {
1521
+          name = option.name;
1522
+          break;
1523
+        }
1524
+      }
1525
+      return name;
1526
+    },
1482
     commitInfo: function() {
1527
     commitInfo: function() {
1483
       let mode = 1;
1528
       let mode = 1;
1484
       Toast.loading({ forbidClick: true, duration: 0 });
1529
       Toast.loading({ forbidClick: true, duration: 0 });
1490
       // if (this.formValue.dry_weight == ""){
1535
       // if (this.formValue.dry_weight == ""){
1491
       //   this.formValue.
1536
       //   this.formValue.
1492
       // }
1537
       // }
1493
-      console.log(this.predialysis);
1494
-
1495
 
1538
 
1496
       if (this.predialysis.id > 0) {
1539
       if (this.predialysis.id > 0) {
1497
         mode = 1;
1540
         mode = 1;
1498
-        if(this.predialysis.creater == 0){
1541
+        if (this.predialysis.creater == 0) {
1499
           mode = 1;
1542
           mode = 1;
1500
-        }else{
1543
+        } else {
1501
           mode = 2;
1544
           mode = 2;
1502
           if (this.predialysis.creater != this.$store.getters.user.admin.id) {
1545
           if (this.predialysis.creater != this.$store.getters.user.admin.id) {
1503
             mode = 3;
1546
             mode = 3;
1504
           }
1547
           }
1505
         }
1548
         }
1506
       }
1549
       }
1507
-
1550
+      this.machineType = getDataConfig("hemodialysis", "machine_type");
1551
+      var arr = this.formValue;
1552
+      for (let i = 0; i < this.machineType.length; i++) {
1553
+        if (arr.machine_type == this.machineType[i].id) {
1554
+          arr.machine_type = this.machineType[i].name;
1555
+        }
1556
+      }
1557
+      this.formValue = arr;
1508
       EditAssessmentBeforeDislysis(
1558
       EditAssessmentBeforeDislysis(
1509
         this.$route.query.patient_id,
1559
         this.$route.query.patient_id,
1510
         this.record_date,
1560
         this.record_date,
1518
           } else {
1568
           } else {
1519
             Toast("提交完成");
1569
             Toast("提交完成");
1520
             this.$emit("evaluation", response.data.data.evaluation);
1570
             this.$emit("evaluation", response.data.data.evaluation);
1571
+            var obj = this.predialysis;
1572
+            var arr = getDataConfig("hemodialysis", "machine_type");
1573
+            for (let i = 0; i < arr.length; i++) {
1574
+              if (obj.machine_type == arr[i].name) {
1575
+                obj.machine_type = arr[i].id;
1576
+              }
1577
+            }
1578
+            this.formValue = obj;
1521
           }
1579
           }
1522
         })
1580
         })
1523
         .catch(error => {
1581
         .catch(error => {
1592
           }
1650
           }
1593
         })
1651
         })
1594
         .then(res => {
1652
         .then(res => {
1595
-          console.log(res);
1596
-          console.log("透前", this.patient_prop);
1597
           console.log("透前", this.predialysis);
1653
           console.log("透前", this.predialysis);
1598
           if (res.data.state == 0) {
1654
           if (res.data.state == 0) {
1599
             this.hasPermission = false;
1655
             this.hasPermission = false;
1650
     }
1706
     }
1651
     this.record_date =
1707
     this.record_date =
1652
       y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d);
1708
       y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d);
1653
-    this.formValue = this.predialysis;
1654
 
1709
 
1710
+    var obj = this.predialysis;
1711
+    var arr = getDataConfig("hemodialysis", "machine_type");
1712
+    for (let i = 0; i < arr.length; i++) {
1713
+      if (obj.machine_type == arr[i].name) {
1714
+        obj.machine_type = arr[i].id;
1715
+      }
1716
+    }
1717
+    this.formValue = obj;
1655
     if (
1718
     if (
1656
       this.predialysis.id == undefined &&
1719
       this.predialysis.id == undefined &&
1657
       this.last_predialysis.id != undefined
1720
       this.last_predialysis.id != undefined
1726
     }
1789
     }
1727
     this.hemorrhage_state = this.formValue.is_hemorrhage == 0;
1790
     this.hemorrhage_state = this.formValue.is_hemorrhage == 0;
1728
     this.data = getDataConfig("hemodialysis", "vascular_access_desc");
1791
     this.data = getDataConfig("hemodialysis", "vascular_access_desc");
1729
-    console.log("投前评估", this.data);
1730
   }
1792
   }
1731
 };
1793
 };
1732
 </script>
1794
 </script>

File diff suppressed because it is too large
+ 1332 - 1122
src/pages/main/dialog/PrescriptionDialog.vue


+ 114 - 59
src/pages/main/dialog/TreatmentDialog.vue View File

53
               :rows="5"
53
               :rows="5"
54
             ></el-input>
54
             ></el-input>
55
           </el-form-item>
55
           </el-form-item>
56
+          <div v-if="isShow('透析护理记录')">
57
+            <el-form-item label="透析护理记录:">
58
+              <el-input
59
+                class="newTextarea treatmentInput"
60
+                @focus="lastInputFocus"
61
+                @blur="lastInputBlur"
62
+                type="textarea"
63
+                v-model="dialysisSummary.nursing_record"
64
+                :rows="5"
65
+              ></el-input>
66
+            </el-form-item>
67
+         </div>
68
+         <div v-if="isShow('特殊记录')">
69
+            <el-form-item label="特殊记录:">
70
+              <el-input
71
+                class="newTextarea treatmentInput"
72
+                @focus="lastInputFocus"
73
+                @blur="lastInputBlur"
74
+                type="textarea"
75
+                v-model="dialysisSummary.special_record"
76
+                :rows="5"
77
+              ></el-input>
78
+           </el-form-item>
79
+         </div>
56
         </el-form>
80
         </el-form>
57
         <!-- <div class="button">
81
         <!-- <div class="button">
58
               <button @click="commitInfo" class="submitButton">提交</button>
82
               <button @click="commitInfo" class="submitButton">提交</button>
75
 import CheckBoxSubMenu from "./subMenu/checkBoxSubMenu";
99
 import CheckBoxSubMenu from "./subMenu/checkBoxSubMenu";
76
 import { getDataConfig } from "@/utils/data";
100
 import { getDataConfig } from "@/utils/data";
77
 
101
 
78
-import request from '@/utils/request'
102
+import request from "@/utils/request";
79
 
103
 
80
 export default {
104
 export default {
81
   name: "TreatmentDialog",
105
   name: "TreatmentDialog",
82
   data() {
106
   data() {
83
     return {
107
     return {
84
-      showTxt:'',
85
-      hasPermission:true,
108
+      showTxt: "",
109
+      hasPermission: true,
86
       isShowDialog: true,
110
       isShowDialog: true,
87
 
111
 
88
       visibility: false,
112
       visibility: false,
91
         list: [],
115
         list: [],
92
         optionList: [],
116
         optionList: [],
93
         isMultiple: 2,
117
         isMultiple: 2,
94
-        result: [], //选中的值
95
-        type: 1, //用来区分不同子菜单,方便对返回值进行赋值
118
+        result: [], // 选中的值
119
+        type: 1, // 用来区分不同子菜单,方便对返回值进行赋值
96
         selectId: 0
120
         selectId: 0
97
       },
121
       },
98
 
122
 
107
         treatNurse: "",
131
         treatNurse: "",
108
         checkStaff: "",
132
         checkStaff: "",
109
         deboardNurse: "",
133
         deboardNurse: "",
110
-        treatDoctor: ""
134
+        treatDoctor: "",
135
+        nursing_record: "",
136
+        special_record: ""
111
       },
137
       },
112
       summary: [],
138
       summary: [],
113
       summaryObj: {},
139
       summaryObj: {},
129
     }
155
     }
130
   },
156
   },
131
   created() {
157
   created() {
132
-    this.getPermission()
158
+    this.getPermission();
133
     // this.summary = this.$store.getters.summary;
159
     // this.summary = this.$store.getters.summary;
134
     this.summary = getDataConfig("summary", "summary");
160
     this.summary = getDataConfig("summary", "summary");
135
     // console.log("this.summary",this.summary)
161
     // console.log("this.summary",this.summary)
250
     },
276
     },
251
 
277
 
252
     dialysisSummarySelectChange: function(values) {
278
     dialysisSummarySelectChange: function(values) {
253
-      if(this.dialysisSummary.summaryContent == null){
254
-        this.dialysisSummary.summaryContent == ""
279
+      if (this.dialysisSummary.summaryContent == null) {
280
+        this.dialysisSummary.summaryContent == "";
255
       }
281
       }
256
 
282
 
257
       if (this.dialysisSummary.summaryContent == "") {
283
       if (this.dialysisSummary.summaryContent == "") {
267
               this.dialysisSummary.summaryContent + "," + values;
293
               this.dialysisSummary.summaryContent + "," + values;
268
           } else {
294
           } else {
269
             this.dialysisSummary.summaryContent =
295
             this.dialysisSummary.summaryContent =
270
-              this.dialysisSummary.summaryContent  + values;
296
+              this.dialysisSummary.summaryContent + values;
271
           }
297
           }
272
         }
298
         }
273
       }
299
       }
274
     },
300
     },
275
     dialysisAfterTeachSelectChange: function(values) {
301
     dialysisAfterTeachSelectChange: function(values) {
276
-      if(this.dialysisSummary.propagandaAndEducationContent == null){
277
-        this.dialysisSummary.propagandaAndEducationContent == ""
302
+      if (this.dialysisSummary.propagandaAndEducationContent == null) {
303
+        this.dialysisSummary.propagandaAndEducationContent == "";
278
       }
304
       }
279
       if (this.dialysisSummary.propagandaAndEducationContent == "") {
305
       if (this.dialysisSummary.propagandaAndEducationContent == "") {
280
         this.dialysisSummary.propagandaAndEducationContent = values;
306
         this.dialysisSummary.propagandaAndEducationContent = values;
281
       } else {
307
       } else {
282
-        if (this.dialysisSummary.propagandaAndEducationContent.indexOf(values) == -1) {
308
+        if (
309
+          this.dialysisSummary.propagandaAndEducationContent.indexOf(values) ==
310
+          -1
311
+        ) {
283
           if (
312
           if (
284
-            this.dialysisSummary.propagandaAndEducationContent.charAt(this.dialysisSummary.propagandaAndEducationContent.length - 1).indexOf("。") == -1) {
313
+            this.dialysisSummary.propagandaAndEducationContent
314
+              .charAt(
315
+                this.dialysisSummary.propagandaAndEducationContent.length - 1
316
+              )
317
+              .indexOf("。") == -1
318
+          ) {
285
             this.dialysisSummary.propagandaAndEducationContent =
319
             this.dialysisSummary.propagandaAndEducationContent =
286
               this.dialysisSummary.propagandaAndEducationContent + "," + values;
320
               this.dialysisSummary.propagandaAndEducationContent + "," + values;
287
           } else {
321
           } else {
298
       ParamsQuery["record_date"] = this.record_date;
332
       ParamsQuery["record_date"] = this.record_date;
299
       ParamsQuery["mode"] = "1";
333
       ParamsQuery["mode"] = "1";
300
 
334
 
301
-      if (this.record.id > 0){
335
+      if (this.record.id > 0) {
302
         ParamsQuery["mode"] = "2";
336
         ParamsQuery["mode"] = "2";
303
-        if(this.record.creater != this.$store.getters.user.admin.id){
337
+        if (this.record.creater != this.$store.getters.user.admin.id) {
304
           ParamsQuery["mode"] = "3";
338
           ParamsQuery["mode"] = "3";
305
         }
339
         }
306
       }
340
       }
307
 
341
 
308
-      commitTreatmentSummary(ParamsQuery).then(response => {
309
-        if (response.data.state == 0) {
310
-          Toast.fail(response.data.msg);
311
-          return false;
312
-        } else {
313
-          Toast.success("提交成功");
342
+      commitTreatmentSummary(ParamsQuery)
343
+        .then(response => {
344
+          if (response.data.state == 0) {
345
+            Toast.fail(response.data.msg);
346
+            return false;
347
+          } else {
348
+            Toast.success("提交成功");
314
 
349
 
315
-          this.$emit("did_update", response.data.data.summary);
316
-          for (const key in response.data.data.summary) {
317
-            this.record[key] = response.data.data.summary[key];
350
+            this.$emit("did_update", response.data.data.summary);
351
+            for (const key in response.data.data.summary) {
352
+              this.record[key] = response.data.data.summary[key];
353
+            }
318
           }
354
           }
319
-        }
320
-      }).catch(err => {
321
-        Toast.fail(err)
322
-      });
355
+        })
356
+        .catch(err => {
357
+          Toast.fail(err);
358
+        });
323
     },
359
     },
324
     close: function() {
360
     close: function() {
325
       this.$emit("close");
361
       this.$emit("close");
334
         });
370
         });
335
       }
371
       }
336
     },
372
     },
337
-    getPermission(){
338
-      request.get("/m/api/permission/get",{
339
-        params:{
340
-          create_url:"/m/api/dialysis/treatmentSummary?mode=1",
341
-          modify_url:"/m/api/dialysis/treatmentSummary?mode=2",
342
-          modify_other_url:"/m/api/dialysis/treatmentSummary?mode=3",
343
-          module:9
344
-        }
345
-      }).then(res => {
346
-        console.log(res)
347
-        console.log("小结",this.record)
348
-        if(res.data.state == 0){
349
-          this.hasPermission = false
350
-        }else if(res.data.state == 1){
351
-          if(this.record.id != "" && this.record.creater != 0){//有数据
352
-            if(this.record.creater == this.$store.getters.user.admin.id){//创建人是自己
353
-              if(res.data.data.is_has_modify == false){
354
-                this.hasPermission = false
355
-                this.showTxt = "你没有修改治疗小结权限"
373
+    getPermission() {
374
+      request
375
+        .get("/m/api/permission/get", {
376
+          params: {
377
+            create_url: "/m/api/dialysis/treatmentSummary?mode=1",
378
+            modify_url: "/m/api/dialysis/treatmentSummary?mode=2",
379
+            modify_other_url: "/m/api/dialysis/treatmentSummary?mode=3",
380
+            module: 9
381
+          }
382
+        })
383
+        .then(res => {
384
+          console.log(res);
385
+          console.log("小结", this.record);
386
+          if (res.data.state == 0) {
387
+            this.hasPermission = false;
388
+          } else if (res.data.state == 1) {
389
+            if (this.record.id != "" && this.record.creater != 0) {
390
+              // 有数据
391
+              if (this.record.creater == this.$store.getters.user.admin.id) {
392
+                // 创建人是自己
393
+                if (res.data.data.is_has_modify == false) {
394
+                  this.hasPermission = false;
395
+                  this.showTxt = "你没有修改治疗小结权限";
396
+                }
397
+              } else {
398
+                // 创建人不是自己
399
+                if (res.data.data.is_has_modify_other == false) {
400
+                  this.hasPermission = false;
401
+                  this.showTxt = "你没有修改他人治疗小结权限";
402
+                }
356
               }
403
               }
357
-            }else{//创建人不是自己
358
-              if(res.data.data.is_has_modify_other == false){
359
-                this.hasPermission = false
360
-                this.showTxt = "你没有修改他人治疗小结权限"
404
+            } else if (this.record.id == "" || this.record.creater == 0) {
405
+              if (res.data.data.is_has_create == false) {
406
+                this.hasPermission = false;
407
+                this.showTxt = "你没有新增治疗小结权限";
361
               }
408
               }
362
             }
409
             }
363
-          }else if(this.record.id == "" || this.record.creater == 0){
364
-            if(res.data.data.is_has_create  == false){
365
-              this.hasPermission = false
366
-              this.showTxt = "你没有新增治疗小结权限"
367
-            }
368
           }
410
           }
411
+        });
412
+    },
413
+    isShow(name) {
414
+      var filedList = this.$store.getters.user.fileds;
415
+
416
+      for (let i = 0; i < filedList.length; i++) {
417
+        if (
418
+          filedList[i].module == 6 &&
419
+          filedList[i].filed_name_cn == name &&
420
+          filedList[i].is_show == 1
421
+        ) {
422
+          return true;
369
         }
423
         }
370
-      })
424
+      }
425
+      return false;
371
     }
426
     }
372
   },
427
   },
373
 
428
 
394
     }
449
     }
395
   }
450
   }
396
 }
451
 }
397
-.warnTxt{
452
+.warnTxt {
398
   font-size: 0.5rem;
453
   font-size: 0.5rem;
399
   height: 1rem;
454
   height: 1rem;
400
   line-height: 1rem;
455
   line-height: 1rem;

+ 3 - 0
src/pages/main/template/DialysisPrintOrderSix.vue View File

304
                     <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id==18">
304
                     <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id==18">
305
                       HDF后置换
305
                       HDF后置换
306
                     </div>
306
                     </div>
307
+                     <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id==19">
308
+                     IUF+HD
309
+                    </div>
307
                   </div>
310
                   </div>
308
 
311
 
309
                   <div class="inline_block" style="margin-left:10px;flex:1;">
312
                   <div class="inline_block" style="margin-left:10px;flex:1;">

+ 19 - 2
src/pages/main/today/TodayTab.vue View File

311
 
311
 
312
 import { parseTime } from "@/utils";
312
 import { parseTime } from "@/utils";
313
 import request from "@/utils/request";
313
 import request from "@/utils/request";
314
-
314
+import { getDataConfig } from "@/utils/data";
315
 export default {
315
 export default {
316
   name: "TodayTab",
316
   name: "TodayTab",
317
   components: {
317
   components: {
405
       is_open: 0,
405
       is_open: 0,
406
       targetAdvices: [],
406
       targetAdvices: [],
407
       status: "",
407
       status: "",
408
-      patientid: 0
408
+      patientid: 0,
409
+      dialyzerPerfusionApparatus: []
409
     };
410
     };
410
   },
411
   },
411
   computed: {
412
   computed: {
883
           var patient = resp.data.patient; // 患者信息
884
           var patient = resp.data.patient; // 患者信息
884
           var schedual = resp.data.schedual; // 患者排班信息
885
           var schedual = resp.data.schedual; // 患者排班信息
885
           var prescription = resp.data.prescription; // 透析处方
886
           var prescription = resp.data.prescription; // 透析处方
887
+          this.dialyzerPerfusionApparatus = getDataConfig(
888
+            "hemodialysis",
889
+            "dialyzer_perfusion_apparatus"
890
+          );
891
+          for (let i = 0; i < this.dialyzerPerfusionApparatus.length; i++) {
892
+            if (
893
+              prescription.dialyzer_perfusion_apparatus ==
894
+              this.dialyzerPerfusionApparatus[i].name
895
+            ) {
896
+              prescription.dialyzer_perfusion_apparatus = this.dialyzerPerfusionApparatus[
897
+                i
898
+              ].id;
899
+            }
900
+          }
901
+          console.log("透析器/灌流器", this.dialyzerPerfusionApparatus);
902
+          console.log("透析处方-----", prescription);
886
           var solution = resp.data.solution; // 透析方案
903
           var solution = resp.data.solution; // 透析方案
887
           var receiver_treatment_access = resp.data.receiver_treatment_access; // 接诊评估
904
           var receiver_treatment_access = resp.data.receiver_treatment_access; // 接诊评估
888
           var predialysis_evaluation = resp.data.predialysis_evaluation; // 透前评估
905
           var predialysis_evaluation = resp.data.predialysis_evaluation; // 透前评估

+ 23 - 4
src/pages/main/today/treatmentOf.vue View File

5
       <p>{{ title }}</p>
5
       <p>{{ title }}</p>
6
       <span class="line"></span>
6
       <span class="line"></span>
7
     </h2>
7
     </h2>
8
-    <div class="plate ">
8
+    <div class="plate " style="border:none;padding-bottom:0">
9
       <ul>
9
       <ul>
10
         <li>
10
         <li>
11
           <label>透后宣教 : </label>
11
           <label>透后宣教 : </label>
16
           <span class="content">{{ dialysis_summary }}</span>
16
           <span class="content">{{ dialysis_summary }}</span>
17
         </li>
17
         </li>
18
       </ul>
18
       </ul>
19
+    </div>
20
+      <div class="plate ">
21
+      <ul>
22
+        <li>
23
+          <label>透析护理记录 : </label>
24
+          <span class="content">{{ nursing_record }}</span>
25
+        </li>
26
+        <li>
27
+          <label>特殊记录 : </label>
28
+          <span class="content">{{ special_record }}</span>
29
+        </li>
30
+      </ul>
19
     </div>
31
     </div>
20
     <!-- <div class="note">处方医生 : {{doctor}}</div> -->
32
     <!-- <div class="note">处方医生 : {{doctor}}</div> -->
21
   </div>
33
   </div>
46
       }
58
       }
47
       return this.record.mission;
59
       return this.record.mission;
48
     },
60
     },
49
-    dialysis_summary: function() {
61
+    nursing_record: function() {
62
+      if (this.record == null || this.record.id == "") {
63
+        return "";
64
+      }
65
+      return this.record.nursing_record;
66
+    },
67
+    special_record: function() {
50
       if (this.record == null || this.record.id == "") {
68
       if (this.record == null || this.record.id == "") {
51
         return "";
69
         return "";
52
       }
70
       }
53
-      return this.record.dialysis_summary;
71
+      return this.record.special_record;
54
     }
72
     }
55
   },
73
   },
56
   methods: {
74
   methods: {
62
 };
80
 };
63
 </script>
81
 </script>
64
 
82
 
65
-<style rel="stylesheet/scss" lang="scss" scoped></style>
83
+<style rel="stylesheet/scss" lang="scss" scoped>
84
+</style>

+ 15 - 0
src/store/modules/globalConfig.js View File

449
         sodium: 2,
449
         sodium: 2,
450
         calcium: 2,
450
         calcium: 2,
451
         bicarbonate: 2
451
         bicarbonate: 2
452
+      },
453
+      19: {
454
+        id: 19,
455
+        name: 'IUF+HD',
456
+        dialysis_duration: 1,
457
+        replacement_way: 2,
458
+        hemodialysis_machine: 1,
459
+        blood_filter: 2,
460
+        perfusion_apparatus: 2,
461
+        blood_flow_volume: 1,
462
+        dialysate_flow: 1,
463
+        kalium: 1,
464
+        sodium: 1,
465
+        calcium: 1,
466
+        bicarbonate: 1
452
       }
467
       }
453
     },
468
     },
454
     anticoagulants_confit: { // 抗凝剂
469
     anticoagulants_confit: { // 抗凝剂