Browse Source

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

csx 4 years ago
parent
commit
3c95c8842f

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

44
           <label>总量: </label>
44
           <label>总量: </label>
45
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{anticoagulant_zongliang != "0" ? anticoagulant_zongliang : ""}}</span>
45
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{anticoagulant_zongliang != "0" ? anticoagulant_zongliang : ""}}</span>
46
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
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
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3" >{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
49
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3" >{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
50
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
50
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
51
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
51
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
81
           <span class="content">{{
81
           <span class="content">{{
82
             target_ultrafiltration != "0" ? target_ultrafiltration : ""
82
             target_ultrafiltration != "0" ? target_ultrafiltration : ""
83
           }}</span>
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
         </li>
86
         </li>
87
         <li v-if="isShow('葡萄糖')">
87
         <li v-if="isShow('葡萄糖')">
88
           <label>葡萄糖 : </label>
88
           <label>葡萄糖 : </label>
110
           <label>首剂 : </label>
110
           <label>首剂 : </label>
111
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_shouji != "0" ? anticoagulant_shouji : "" }}</span>
111
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_shouji != "0" ? anticoagulant_shouji : "" }}</span>
112
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
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
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
115
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
116
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
116
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
117
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span >
117
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span >
200
           <label>维持 : </label>
200
           <label>维持 : </label>
201
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_weichi != "0" ? anticoagulant_weichi : "" }}</span>
201
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_weichi != "0" ? anticoagulant_weichi : "" }}</span>
202
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1"></span>
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
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
205
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
206
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
206
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
207
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
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 View File

141
           </el-col>
141
           </el-col>
142
 
142
 
143
           <el-col :span="8" v-if="anticoagulant.shouji != -1 && isShows('首剂')">
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
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
145
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
146
                         v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
146
                         v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
147
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
147
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
148
                         v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
148
                         v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
149
             </el-form-item>
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
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
151
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
152
                         v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
152
                         v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
153
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
153
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
157
 
157
 
158
 
158
 
159
           <el-col :span="8" v-if="anticoagulant.weichi != -1 && isShows('维持')">
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
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
161
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
162
                         v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
162
                         v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
163
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
163
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
164
                         v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
164
                         v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
165
             </el-form-item>
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
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
167
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
168
                         v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
168
                         v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
169
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
169
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
172
           </el-col>
172
           </el-col>
173
 
173
 
174
           <el-col :span="8" v-if="anticoagulant.zongliang != -1 && isShows('总量')">
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
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
176
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
177
                         v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
177
                         v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
178
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
178
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
179
                         v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
179
                         v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
180
             </el-form-item>
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
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
182
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
183
                         v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
183
                         v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
184
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
184
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"