浏览代码

Merge branch 'master' of http://git.shengws.com/csx/Vue_New into 20200710_pc_vue_new_branch

csx 4 年前
父节点
当前提交
3c95c8842f

+ 8 - 8
src/xt_pages/dialysis/details/DialysisPrescription.vue 查看文件

@@ -44,8 +44,8 @@
44 44
           <label>总量: </label>
45 45
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{anticoagulant_zongliang != "0" ? anticoagulant_zongliang : ""}}</span>
46 46
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
47
-          <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
48
-          <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id == 13">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
47
+          <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13 &&  this.$store.getters.xt_user.template_info.template_id != 23 ">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
48
+          <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && (this.$store.getters.xt_user.template_info.template_id == 13 || this.$store.getters.xt_user.template_info.template_id == 23)">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
49 49
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3" >{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
50 50
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
51 51
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
@@ -81,8 +81,8 @@
81 81
           <span class="content">{{
82 82
             target_ultrafiltration != "0" ? target_ultrafiltration : ""
83 83
           }}</span>
84
-          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22" class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
85
-          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
84
+          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23" class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
85
+          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
86 86
         </li>
87 87
         <li v-if="isShow('葡萄糖')">
88 88
           <label>葡萄糖 : </label>
@@ -110,8 +110,8 @@
110 110
           <label>首剂 : </label>
111 111
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_shouji != "0" ? anticoagulant_shouji : "" }}</span>
112 112
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
113
-          <span class="unit"  v-if="getValueStr('anticoagulant', 'anticoagulant') == 2  && this.$store.getters.xt_user.template_info.template_id != 13" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
114
-          <span class="unit"  v-if="getValueStr('anticoagulant', 'anticoagulant') == 2  && this.$store.getters.xt_user.template_info.template_id == 13" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
113
+          <span class="unit"  v-if="getValueStr('anticoagulant', 'anticoagulant') == 2  && this.$store.getters.xt_user.template_info.template_id != 13  && this.$store.getters.xt_user.template_info.template_id != 23 " >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
114
+          <span class="unit"  v-if="getValueStr('anticoagulant', 'anticoagulant') == 2  && (this.$store.getters.xt_user.template_info.template_id == 13 ||  this.$store.getters.xt_user.template_info.template_id == 23)" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
115 115
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
116 116
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
117 117
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span >
@@ -200,8 +200,8 @@
200 200
           <label>维持 : </label>
201 201
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_weichi != "0" ? anticoagulant_weichi : "" }}</span>
202 202
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1"></span>
203
-          <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
204
-          <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id == 13">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
203
+          <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13 && this.$store.getters.xt_user.template_info.template_id != 23 ">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
204
+          <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && (this.$store.getters.xt_user.template_info.template_id == 13 ||  this.$store.getters.xt_user.template_info.template_id == 23)">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
205 205
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
206 206
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
207 207
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>

+ 6 - 6
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

@@ -141,13 +141,13 @@
141 141
           </el-col>
142 142
 
143 143
           <el-col :span="8" v-if="anticoagulant.shouji != -1 && isShows('首剂')">
144
-            <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id != 21' :label="'首剂(' + anticoagulant.shouji_unit + ') : '">
144
+            <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23' :label="'首剂(' + anticoagulant.shouji_unit + ') : '">
145 145
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
146 146
                         v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
147 147
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
148 148
                         v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
149 149
             </el-form-item>
150
-            <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id == 21' :label="'首剂(mg) : '">
150
+            <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23' :label="'首剂(mg) : '">
151 151
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
152 152
                         v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
153 153
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
@@ -157,13 +157,13 @@
157 157
 
158 158
 
159 159
           <el-col :span="8" v-if="anticoagulant.weichi != -1 && isShows('维持')">
160
-            <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '" v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id != 21">
160
+            <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '" v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23">
161 161
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
162 162
                         v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
163 163
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
164 164
                         v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
165 165
             </el-form-item>
166
-            <el-form-item :label="'维持(mg/h) : '" v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id == 21">
166
+            <el-form-item :label="'维持(mg/h) : '" v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23">
167 167
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
168 168
                         v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
169 169
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
@@ -172,13 +172,13 @@
172 172
           </el-col>
173 173
 
174 174
           <el-col :span="8" v-if="anticoagulant.zongliang != -1 && isShows('总量')">
175
-            <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id != 21' :label="'总量(' + anticoagulant.zongliang_unit + ') : '">
175
+            <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23' :label="'总量(' + anticoagulant.zongliang_unit + ') : '">
176 176
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
177 177
                         v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
178 178
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
179 179
                         v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
180 180
             </el-form-item>
181
-            <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id == 21' :label="'总量(mg) : '">
181
+            <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23' :label="'总量(mg) : '">
182 182
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
183 183
                         v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
184 184
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"