Browse Source

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

csx 5 years ago
parent
commit
8d0dab8305

+ 19 - 0
src/xt_pages/dialysis/details/assessmentAfter.vue View File

@@ -254,6 +254,25 @@
254 254
             getDialyzer(this.record.dialyzer)
255 255
           }}</span>
256 256
         </li>
257
+
258
+        <li v-if="isShow('透析器')">
259
+          <label for="hzqx">透析器: </label>
260
+          <span id="hzqx" class="content">{{
261
+            getDialyzer(this.record.dialyzer)
262
+          }}</span>
263
+        </li>
264
+
265
+        <li v-if="isShow('中心静脉封管(肝素-A端)')">
266
+          <label for="bzh">中心静脉封管(肝素-A端): </label>
267
+          <span class="content" id="tzjs">{{this.record.cvc_a?this.record.cvc_a:''}}</span>
268
+          <span class="unit">{{this.record.cvc_a?'ml':''}}</span>
269
+        </li>
270
+        <li v-if="isShow('中心静脉封管(肝素-V端)')">
271
+          <label for="bzh">中心静脉封管(肝素-V端): </label>
272
+          <span class="content" id="tzjs">{{this.record.cvc_v?this.record.cvc_v:''}}</span>
273
+          <span class="unit">{{this.record.cvc_v?'ml':''}}</span>
274
+        </li>
275
+
257 276
       </ul>
258 277
     </div>
259 278
     <div class="note">

+ 1 - 1
src/xt_pages/dialysis/template/dialysisPrintOrderNine.vue View File

@@ -1383,7 +1383,7 @@
1383 1383
                   </tr> -->
1384 1384
                   <tr>
1385 1385
                     <td width="70">拔针压迫:</td>
1386
-                    <td width="300">
1386
+                    <td width="350">
1387 1387
                       <div style="display:flex;justify-content:space-between;">
1388 1388
                         <label-box
1389 1389
                           showValue="自己压迫"

+ 34 - 38
src/xt_pages/workforce/components/tableWeeks.vue View File

@@ -259,60 +259,56 @@
259 259
         return type_name
260 260
       },
261 261
       getAdvice:function(doctor_advice) {
262
+        if (doctor_advice != null) {
263
+          let name = ""
264
+          for (let i = 0; i < doctor_advice.length; i++) {
262 265
 
263
-        let name = ""
264
-        for (let i = 0; i< doctor_advice.length; i++){
266
+            let prescribing_number = ''
267
+            let single_dose = ''
268
+            let drug_spec = ''
265 269
 
266
-          let prescribing_number = ''
267
-          let single_dose = ''
268
-          let drug_spec = ''
270
+            if (doctor_advice[i].prescribing_number > 0) {
271
+              prescribing_number = doctor_advice[i].prescribing_number + doctor_advice[i].prescribing_number_unit
272
+            }
273
+            if (doctor_advice[i].single_dose > 0) {
274
+              single_dose = ' 单次用量 ' + doctor_advice[i].single_dose + doctor_advice[i].single_dose_unit
275
+            }
269 276
 
270
-          if (doctor_advice[i].prescribing_number > 0) {
271
-            prescribing_number = doctor_advice[i].prescribing_number + doctor_advice[i].prescribing_number_unit
272
-          }
273
-          if (doctor_advice[i].single_dose > 0) {
274
-            single_dose = ' 单次用量 ' + doctor_advice[i].single_dose + doctor_advice[i].single_dose_unit
275
-          }
277
+            if (doctor_advice[i].drug_spec > 0) {
278
+              drug_spec = doctor_advice[i].drug_spec + doctor_advice[i].drug_spec_unit
279
+            }
276 280
 
277
-          if (doctor_advice[i].drug_spec > 0) {
278
-            drug_spec =  doctor_advice[i].drug_spec + doctor_advice[i].drug_spec_unit
279
-          }
281
+            name = name + doctor_advice[i].advice_name + " " + drug_spec + " " + prescribing_number + " " + single_dose + " " + doctor_advice[i].delivery_way + " " + doctor_advice[i].execution_frequency + " " + doctor_advice[i].remark + "\n"
280 282
 
283
+            if (doctor_advice[i].child.length > 0) {
281 284
 
282
-          name = name + doctor_advice[i].advice_name +" "+ drug_spec+" "+ prescribing_number + " "+single_dose+" " + doctor_advice[i].delivery_way+" "+ doctor_advice[i].execution_frequency +" " + doctor_advice[i].remark +"\n"
285
+              for (let a = 0; a < doctor_advice[i].child.length; a++) {
283 286
 
284
-          if (doctor_advice[i].child.length > 0){
287
+                if (doctor_advice[i].child[a].prescribing_number > 0) {
288
+                  doctor_advice[i].child[a]['presc'] = doctor_advice[i].child[a].prescribing_number + doctor_advice[i].child[a].prescribing_number_unit
289
+                } else {
290
+                  doctor_advice[i].child[a]['presc'] = ''
291
+                }
285 292
 
286
-            for (let a = 0 ; a < doctor_advice[i].child.length; a++){
293
+                if (doctor_advice[i].child[a].single_dose > 0) {
294
+                  doctor_advice[i].child[a]['single'] = " " + ' 单次用量 ' + " " + doctor_advice[i].child[a].single_dose + doctor_advice[i].child[a].single_dose_unit
295
+                } else {
296
+                  doctor_advice[i].child[a]['single'] = ''
297
+                }
287 298
 
288
-              if(doctor_advice[i].child[a].prescribing_number > 0){
289
-                doctor_advice[i].child[a]['presc'] = doctor_advice[i].child[a].prescribing_number + doctor_advice[i].child[a].prescribing_number_unit
290
-              }else{
291
-                doctor_advice[i].child[a]['presc'] = ''
299
+                name = name + "▲" + doctor_advice[i].child[a].advice_name + ""
300
+                  + doctor_advice[i].child[a].advice_desc
301
+                  + doctor_advice[i].child[a].drug_spec_unit
302
+                  + doctor_advice[i].child[a].presc
303
+                  + doctor_advice[i].child[a].single + "\n"
292 304
               }
293 305
 
294
-              if(doctor_advice[i].child[a].single_dose > 0){
295
-                doctor_advice[i].child[a]['single'] = " "+' 单次用量 '+" "+doctor_advice[i].child[a].single_dose + doctor_advice[i].child[a].single_dose_unit
296
-              }else{
297
-                doctor_advice[i].child[a]['single'] = ''
298
-              }
299
-
300
-
301
-              name = name+"▲"+doctor_advice[i].child[a].advice_name+""
302
-                + doctor_advice[i].child[a].advice_desc
303
-                + doctor_advice[i].child[a].drug_spec_unit
304
-                + doctor_advice[i].child[a].presc
305
-                + doctor_advice[i].child[a].single+"\n"
306 306
             }
307 307
 
308
-
309 308
           }
309
+          return name
310 310
 
311 311
         }
312
-        return name
313
-
314
-
315
-
316 312
       }
317 313
     },
318 314
     components: {

+ 16 - 15
src/xt_pages/workforce/remind_print.vue View File

@@ -135,9 +135,10 @@
135 135
     },
136 136
     methods: {
137 137
       getAdvice:function(doctor_advice) {
138
+        if (doctor_advice != null) {
138 139
 
139 140
         let name = ""
140
-        for (let i = 0; i< doctor_advice.length; i++){
141
+        for (let i = 0; i< doctor_advice.length; i++) {
141 142
 
142 143
           let prescribing_number = ''
143 144
           let single_dose = ''
@@ -151,40 +152,40 @@
151 152
           }
152 153
 
153 154
           if (doctor_advice[i].drug_spec > 0) {
154
-            drug_spec =  doctor_advice[i].drug_spec + doctor_advice[i].drug_spec_unit
155
+            drug_spec = doctor_advice[i].drug_spec + doctor_advice[i].drug_spec_unit
155 156
           }
156 157
 
158
+          name = name + doctor_advice[i].advice_name + " " + drug_spec + " " + prescribing_number + " " + single_dose + " " + doctor_advice[i].delivery_way + " " + doctor_advice[i].execution_frequency + " " + doctor_advice[i].remark + "\n"
157 159
 
158
-          name = name + doctor_advice[i].advice_name +" "+ drug_spec+" "+ prescribing_number + " "+single_dose+" " + doctor_advice[i].delivery_way+" "+ doctor_advice[i].execution_frequency +" " + doctor_advice[i].remark +"\n"
160
+          if (doctor_advice[i].child.length > 0) {
159 161
 
160
-          if (doctor_advice[i].child.length > 0){
162
+            for (let a = 0; a < doctor_advice[i].child.length; a++) {
161 163
 
162
-            for (let a = 0 ; a < doctor_advice[i].child.length; a++){
163
-
164
-              if(doctor_advice[i].child[a].prescribing_number > 0){
164
+              if (doctor_advice[i].child[a].prescribing_number > 0) {
165 165
                 doctor_advice[i].child[a]['presc'] = doctor_advice[i].child[a].prescribing_number + doctor_advice[i].child[a].prescribing_number_unit
166
-              }else{
166
+              } else {
167 167
                 doctor_advice[i].child[a]['presc'] = ''
168 168
               }
169 169
 
170
-              if(doctor_advice[i].child[a].single_dose > 0){
171
-                doctor_advice[i].child[a]['single'] = " "+' 单次用量 '+" "+doctor_advice[i].child[a].single_dose + doctor_advice[i].child[a].single_dose_unit
172
-              }else{
170
+              if (doctor_advice[i].child[a].single_dose > 0) {
171
+                doctor_advice[i].child[a]['single'] = " " + ' 单次用量 ' + " " + doctor_advice[i].child[a].single_dose + doctor_advice[i].child[a].single_dose_unit
172
+              } else {
173 173
                 doctor_advice[i].child[a]['single'] = ''
174 174
               }
175 175
 
176
-
177
-              name = name+"▲"+doctor_advice[i].child[a].advice_name+""
176
+              name = name + "▲" + doctor_advice[i].child[a].advice_name + ""
178 177
                 + doctor_advice[i].child[a].advice_desc
179 178
                 + doctor_advice[i].child[a].drug_spec_unit
180 179
                 + doctor_advice[i].child[a].presc
181
-                + doctor_advice[i].child[a].single+"\n"
180
+                + doctor_advice[i].child[a].single + "\n"
182 181
             }
183 182
 
184 183
           }
184
+        }
185
+          return name
186
+
185 187
 
186 188
         }
187
-        return name
188 189
 
189 190
       },
190 191
       printAction: function() {