张保健 5 лет назад
Родитель
Сommit
d238f4cb87

+ 38 - 6
src/pages/main/dialog/AssessmentDialog.vue Просмотреть файл

@@ -182,12 +182,15 @@
182 182
           </div>
183 183
         </div>
184 184
 
185
-        <div
186
-          @click="showSubMenu('internal_fistula')"
187
-          class="item"
188
-          ref="internal_fistula"
189
-          v-if="isShow('内瘘')"
190
-        >
185
+        <div @click="showSubMenu('humor_excessive_symptom_info')" class="item"  ref="humor_excessive_symptom_info"  v-if="isShow('体液过多症状')" >
186
+          <h2 class="name">体液过多症状</h2>
187
+          <div class="content">
188
+            <span class="text" style="width: 100px">{{QueryHumorById(formValue.humor_excessive_symptom)}}</span>
189
+            <span class="iconfont">&#xe6f9;</span>
190
+          </div>
191
+        </div>
192
+
193
+        <div @click="showSubMenu('internal_fistula')" class="item"  ref="internal_fistula"  v-if="isShow('内瘘')" >
191 194
           <h2 class="name">内瘘</h2>
192 195
           <div class="content">
193 196
             <span class="text" style="width: 100px">{{formValue.internal_fistula}}</span>
@@ -621,6 +624,7 @@ export default {
621 624
         remark: '',
622 625
         blood_access_part_id: '',
623 626
         blood_access_part_opera_id: '',
627
+        humor_excessive_symptom: '',
624 628
         internal_fistula: '',
625 629
         internal_fistula_skin: '',
626 630
         is_hemorrhage: 0,
@@ -1027,6 +1031,21 @@ export default {
1027 1031
           this.propForm.click_ref = 'vascular_access_desc'
1028 1032
           break
1029 1033
 
1034
+        case 'humor_excessive_symptom_info':
1035
+          this.isHasOther = 2
1036
+          this.propForm.isShowOther = 1
1037
+
1038
+          this.propForm.type = 24
1039
+          this.isShowDialog = false
1040
+          this.propForm.title = '体液过多症状'
1041
+          this.visibility = true
1042
+          this.propForm.list = []
1043
+          this.propForm.optionList = getDataConfig('hemodialysis', 'humor_excessive_symptom')
1044
+          this.propForm.isMultiple = 1
1045
+          this.propForm.selectId = this.formValue.humor_excessive_symptom
1046
+          this.propForm.click_ref = 'humor_excessive_symptom_info'
1047
+          break
1048
+
1030 1049
         case 'internal_fistula':
1031 1050
           this.propForm.result = []
1032 1051
           this.isHasOther = 2
@@ -1460,7 +1479,20 @@ export default {
1460 1479
         case 23:
1461 1480
           this.formValue.machine_type = val.selectId
1462 1481
           break
1482
+        case 24:
1483
+          this.formValue.humor_excessive_symptom = val.selectId
1484
+          break
1485
+      }
1486
+    },
1487
+    QueryHumorById: function (val) {
1488
+      let humor_excessive_symptom_name = ''
1489
+      let humor_excessive_symptom_array = getDataConfig('hemodialysis', 'humor_excessive_symptom')
1490
+      for (let i = 0; i < humor_excessive_symptom_array.length; i++) {
1491
+        if (humor_excessive_symptom_array[i].id == val) {
1492
+          humor_excessive_symptom_name = humor_excessive_symptom_array[i].name
1493
+        }
1463 1494
       }
1495
+      return humor_excessive_symptom_name
1464 1496
     },
1465 1497
     QueryPartById: function (val) {
1466 1498
       let vascular_access_part_name = ''

+ 10 - 15
src/pages/main/dialog/PrescriptionDialog.vue Просмотреть файл

@@ -72,18 +72,10 @@
72 72
             </div>
73 73
           </div>
74 74
 
75
-          <div
76
-            @click="showSubMenu('anticoagulant')"
77
-            class="item"
78
-            ref="anticoagulant"
79
-            v-if="isShow('抗凝剂')"
80
-          >
75
+          <div @click="showSubMenu('anticoagulant')" class="item" ref="anticoagulant" v-if="isShow('抗凝剂')" >
81 76
             <label class="name" for="knj">抗凝剂</label>
82 77
             <div class="content">
83
-              <span
84
-                class="text"
85
-                id="knj"
86
-              >{{GetAnticoagulantById(dialysisPrescription.anticoagulant)}}</span>
78
+              <span class="text" id="knj" >{{GetAnticoagulantById(dialysisPrescription.anticoagulant)}}</span>
87 79
               <span class="iconfont">&#xe6f9;</span>
88 80
             </div>
89 81
           </div>
@@ -94,12 +86,13 @@
94 86
               for="zl"
95 87
               v-if="dialysisPrescription.anticoagulant == 0 ||dialysisPrescription.anticoagulant == -2"
96 88
             >首剂(mg)</label>
97
-            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 2">首剂(iu)</label>
89
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 2 && this.$store.getters.user.template_info.template_id != 13">首剂(iu)</label>
90
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 2 && this.$store.getters.user.template_info.template_id == 13">首剂(mg)</label>
98 91
             <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 3">首剂(iu)</label>
99 92
             <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 4">首剂(mg)</label>
100 93
             <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 1">首剂(mg)</label>
101
-             <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 6">首剂(iu)</label>
102
-              <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 7">首剂(iu)</label>
94
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 6">首剂(iu)</label>
95
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 7">首剂(iu)</label>
103 96
             <div class="content">
104 97
               <input
105 98
                 v-if="dialysisPrescription.anticoagulant != 1"
@@ -128,7 +121,8 @@
128 121
               for="zl"
129 122
               v-if="dialysisPrescription.anticoagulant == 0 ||dialysisPrescription.anticoagulant == -2"
130 123
             >维持(mg/h)</label>
131
-            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 2">维持(iu/h)</label>
124
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 2 && this.$store.getters.user.template_info.template_id != 13">维持(iu/h)</label>
125
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 2 && this.$store.getters.user.template_info.template_id == 13">维持(mg/h)</label>
132 126
             <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 3">维持(iu/h)</label>
133 127
             <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 4">维持(mg/h)</label>
134 128
             <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 5">维持(ml/h)</label>
@@ -164,7 +158,8 @@
164 158
               for="zl"
165 159
               v-if="dialysisPrescription.anticoagulant == 0 ||dialysisPrescription.anticoagulant == -2"
166 160
             >总量(mg)</label>
167
-            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 2">总量(iu)</label>
161
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 2 && this.$store.getters.user.template_info.template_id != 13">总量(iu)</label>
162
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 2 && this.$store.getters.user.template_info.template_id == 13">总量(mg)</label>
168 163
             <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 3">总量(iu)</label>
169 164
             <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 4">总量(mg)</label>
170 165
             <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 1">总量(mg)</label>

Разница между файлами не показана из-за своего большого размера
+ 1158 - 1152
src/pages/main/dialog/ThorougDialog.vue


+ 19 - 3
src/pages/main/today/assessmentBefore.vue Просмотреть файл

@@ -228,9 +228,15 @@
228 228
           <span class="unit"> </span>
229 229
         </li>
230 230
 
231
-        <li v-if="isShow('血管通路部位')">
232
-          <label>血管通路部位:</label>
233
-          <span class="content">{{ getBloodAccessPart(this.record.blood_access_part_id) }}</span>
231
+        <li v-if="isShow('血管通路操作')">
232
+          <label>血管通路操作:</label>
233
+          <span class="content">{{ getBloodAccessOpera(this.record.blood_access_part_opera_id) }}</span>
234
+          <span class="unit"> </span>
235
+        </li>
236
+
237
+        <li v-if="isShow('体液过多症状')">
238
+          <label>体液过多症状:</label>
239
+          <span class="content">{{ getHumorExcessiv(this.record.humor_excessive_symptom) }}</span>
234 240
           <span class="unit"> </span>
235 241
         </li>
236 242
 
@@ -517,6 +523,16 @@ export default {
517 523
       }
518 524
       return BloodAccessPartName
519 525
     },
526
+    getHumorExcessiv: function (id) {
527
+      var humor_excessive_symptom_array = getDataConfig('hemodialysis', 'humor_excessive_symptom')
528
+      var humor_excessive_symptom_Name = ''
529
+      for (let i = 0; i < humor_excessive_symptom_array.length; i++) {
530
+        if (humor_excessive_symptom_array[i].id == id) {
531
+          humor_excessive_symptom_Name = humor_excessive_symptom_array[i].name
532
+        }
533
+      }
534
+      return humor_excessive_symptom_Name
535
+    },
520 536
     getBloodAccessOpera: function (id) {
521 537
       var BloodAccessOpera = getDataConfig(
522 538
         'hemodialysis',

+ 12 - 3
src/pages/main/today/dialysisPrescription.vue Просмотреть файл

@@ -90,31 +90,40 @@
90 90
           <label>首剂 : </label>
91 91
           <span class="content">{{anticoagulant_shouji != '0'?anticoagulant_shouji:''}}</span>
92 92
           <!--<span class="unit">{{anticoagulant_shouji != '0'?"mg":''}}</span>-->
93
-          <span class="unit" v-if="this.prescription.anticoagulant == 2">{{anticoagulant_shouji != '0'?"iu":""}}</span>
93
+          <span class="unit" v-if="this.prescription.anticoagulant == 2 && this.$store.getters.user.template_info.template_id != 13">{{anticoagulant_shouji != '0'?"iu":""}}</span>
94
+          <span class="unit" v-if="this.prescription.anticoagulant == 2 && this.$store.getters.user.template_info.template_id == 13">{{anticoagulant_shouji != '0'?"mg":""}}</span>
94 95
           <span class="unit" v-if="this.prescription.anticoagulant == 3">{{anticoagulant_shouji != '0'?"iu":""}}</span>
95 96
           <span class="unit" v-if="this.prescription.anticoagulant == 1">{{anticoagulant_shouji != '0'?"mg":""}}</span>
96 97
           <span class="unit" v-if="this.prescription.anticoagulant == 4">{{anticoagulant_shouji != '0'?"mg":""}}</span>
97 98
           <span class="unit" v-if="this.prescription.anticoagulant == 5">{{anticoagulant_shouji != '0'?"mg":""}}</span>
99
+          <span class="unit" v-if="this.prescription.anticoagulant == 6">{{anticoagulant_shouji != '0'?"iu":""}}</span>
100
+          <span class="unit" v-if="this.prescription.anticoagulant == 7">{{anticoagulant_shouji != '0'?"iu":""}}</span>
98 101
 
99 102
         </li>
100 103
         <li v-if="isShow('维持')">
101 104
           <label>维持 : </label>
102 105
           <span class="content">{{anticoagulant_weichi != '0'?anticoagulant_weichi:""}}</span>
103
-          <span class="unit" v-if="this.prescription.anticoagulant == 2">{{anticoagulant_weichi != '0'?"iu/h":""}}</span>
106
+          <span class="unit" v-if="this.prescription.anticoagulant == 2 && this.$store.getters.user.template_info.template_id != 13">{{anticoagulant_weichi != '0'?"iu/h":""}}</span>
107
+          <span class="unit" v-if="this.prescription.anticoagulant == 2 && this.$store.getters.user.template_info.template_id == 13">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
104 108
           <span class="unit" v-if="this.prescription.anticoagulant == 3">{{anticoagulant_weichi != '0'?"iu/h":""}}</span>
105 109
           <span class="unit" v-if="this.prescription.anticoagulant == 1">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
106 110
           <span class="unit" v-if="this.prescription.anticoagulant == 4">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
107 111
           <span class="unit" v-if="this.prescription.anticoagulant == 5">{{anticoagulant_weichi != '0'?"ml/h":""}}</span>
112
+          <span class="unit" v-if="this.prescription.anticoagulant == 6">{{anticoagulant_weichi != '0'?"iu/h":""}}</span>
113
+          <span class="unit" v-if="this.prescription.anticoagulant == 7">{{anticoagulant_weichi != '0'?"iu/h":""}}</span>
108 114
         </li>
109 115
 
110 116
         <li v-if="isShow('总量')&&this.prescription.anticoagulant != 5">
111 117
           <label>总量: </label>
112 118
           <span class="content">{{anticoagulant_zongliang != '0'?anticoagulant_zongliang:""}}</span>
113
-          <span class="unit" v-if="this.prescription.anticoagulant == 2">{{anticoagulant_zongliang != '0'?"iu":""}}</span>
119
+          <span class="unit" v-if="this.prescription.anticoagulant == 2 && this.$store.getters.user.template_info.template_id != 13">{{anticoagulant_zongliang != '0'?"iu":""}}</span>
120
+          <span class="unit" v-if="this.prescription.anticoagulant == 2 && this.$store.getters.user.template_info.template_id == 13">{{anticoagulant_zongliang != '0'?"mg":""}}</span>
114 121
           <span class="unit" v-if="this.prescription.anticoagulant == 3">{{anticoagulant_zongliang != '0'?"iu":""}}</span>
115 122
           <span class="unit" v-if="this.prescription.anticoagulant == 1">{{anticoagulant_zongliang != '0'?"mg":""}}</span>
116 123
           <span class="unit" v-if="this.prescription.anticoagulant == 4">{{anticoagulant_zongliang != '0'?"mg":""}}</span>
117 124
           <span class="unit" v-if="this.prescription.anticoagulant == 5">{{anticoagulant_zongliang != '0'?"ml":""}}</span>
125
+          <span class="unit" v-if="this.prescription.anticoagulant == 6">{{anticoagulant_zongliang != '0'?"iu":""}}</span>
126
+          <span class="unit" v-if="this.prescription.anticoagulant == 7">{{anticoagulant_zongliang != '0'?"iu":""}}</span>
118 127
         </li>
119 128
 
120 129
         <li v-if="isShow('钙名称')&&this.prescription.anticoagulant == 5">