Explorar el Código

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

XMLWAN hace 5 años
padre
commit
6756c4d916

+ 3 - 0
src/store/modules/globalConfig.js Ver fichero

1951
       {
1951
       {
1952
         id: 3,
1952
         id: 3,
1953
         name: '自己压迫'
1953
         name: '自己压迫'
1954
+      }, {
1955
+        id: 4,
1956
+        name: '内瘘止血带'
1954
       }
1957
       }
1955
     ],
1958
     ],
1956
     tremor_noise: [{
1959
     tremor_noise: [{

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 2410 - 2406
src/xt_pages/dialysis/batch_print/batch_print_order_nine.vue


+ 19 - 0
src/xt_pages/dialysis/details/assessmentAfter.vue Ver fichero

254
             getDialyzer(this.record.dialyzer)
254
             getDialyzer(this.record.dialyzer)
255
           }}</span>
255
           }}</span>
256
         </li>
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
       </ul>
276
       </ul>
258
     </div>
277
     </div>
259
     <div class="note">
278
     <div class="note">

+ 3 - 2
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Ver fichero

27
           </el-col>
27
           </el-col>
28
 
28
 
29
           <el-col :span="8" v-if="isShow('实际超滤量')">
29
           <el-col :span="8" v-if="isShow('实际超滤量')">
30
-            <el-form-item label="实际超滤量(L): " v-if="this.template_id != 6">
30
+
31
+            <el-form-item label="实际超滤量(ml): " v-if="this.template_id == 6 || this.template_id == 10">
31
               <el-input v-model="form.actual_ultrafiltration"></el-input>
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
32
             </el-form-item>
33
             </el-form-item>
33
-            <el-form-item label="实际超滤量(ml): " v-if="this.template_id == 6">
34
+            <el-form-item label="实际超滤量(L): " v-else>
34
               <el-input v-model="form.actual_ultrafiltration"></el-input>
35
               <el-input v-model="form.actual_ultrafiltration"></el-input>
35
             </el-form-item>
36
             </el-form-item>
36
           </el-col>
37
           </el-col>

+ 3 - 0
src/xt_pages/dialysis/details/dialog/adviceDialog/EditGroupAdvice.vue Ver fichero

706
                 parent_id: _this.groupSelectRow.parent_id,
706
                 parent_id: _this.groupSelectRow.parent_id,
707
                 groupno: _this.groupForm.groupno
707
                 groupno: _this.groupForm.groupno
708
               }
708
               }
709
+              console.log(this.groupSelectRow)
709
               let mode = "2"
710
               let mode = "2"
710
               if (this.groupSelectRow.advice_doctor != this.$store.getters.xt_user.user.id){
711
               if (this.groupSelectRow.advice_doctor != this.$store.getters.xt_user.user.id){
711
                 mode = "3"
712
                 mode = "3"
1736
           }
1737
           }
1737
           this.editRowKey++
1738
           this.editRowKey++
1738
           var item = {
1739
           var item = {
1740
+            advice_doctor:groups[index].advice_doctor,
1739
             advice_name: groups[index].advice_name,
1741
             advice_name: groups[index].advice_name,
1740
             advice_desc: groups[index].advice_desc,
1742
             advice_desc: groups[index].advice_desc,
1741
             single_dose: '' + groups[index].single_dose,
1743
             single_dose: '' + groups[index].single_dose,
1757
             for (const key in childMap[item.id]) {
1759
             for (const key in childMap[item.id]) {
1758
               this.editRowKey++
1760
               this.editRowKey++
1759
               var child = {
1761
               var child = {
1762
+                advice_doctor:childMap[item.id][key].advice_doctor,
1760
                 advice_name: childMap[item.id][key].advice_name,
1763
                 advice_name: childMap[item.id][key].advice_name,
1761
                 advice_desc: childMap[item.id][key].advice_desc,
1764
                 advice_desc: childMap[item.id][key].advice_desc,
1762
                 single_dose: '' + childMap[item.id][key].single_dose,
1765
                 single_dose: '' + childMap[item.id][key].single_dose,

+ 10 - 5
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Ver fichero

155
             align="center"
155
             align="center"
156
             label="超滤量(L)"
156
             label="超滤量(L)"
157
             width="110"
157
             width="110"
158
-            v-if="isShow('超滤量') && (template_id != 6 || template_id != 10)"
158
+            v-if="isShow('超滤量') && template_id != 6 &&  template_id != 10"
159
           >
159
           >
160
             <template slot-scope="scope">
160
             <template slot-scope="scope">
161
               {{
161
               {{
211
             align="center"
211
             align="center"
212
             label="置换率(L/h)"
212
             label="置换率(L/h)"
213
             width="120"
213
             width="120"
214
-            v-if="isShow('置换率') && (template_id != 6 || template_id != 10)"
214
+            v-if="isShow('置换率') && template_id != 6 && template_id != 10"
215
           >
215
           >
216
             <template slot-scope="scope">
216
             <template slot-scope="scope">
217
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
217
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
238
             align="center"
238
             align="center"
239
             label="SpO₂(%)"
239
             label="SpO₂(%)"
240
             width="100"
240
             width="100"
241
-            v-if="isShow('SpO₂') && (template_id != 6 || template_id != 10)"
241
+            v-if="isShow('SpO₂') && template_id != 6 && template_id != 10"
242
           >
242
           >
243
             <template slot-scope="scope">
243
             <template slot-scope="scope">
244
               {{
244
               {{
254
             align="center"
254
             align="center"
255
             label="置换量(L)"
255
             label="置换量(L)"
256
             width="100"
256
             width="100"
257
-            v-if="isShow('置换量') && (template_id != 6 || template_id != 10)"
257
+            v-if="isShow('置换量') && template_id != 6 && template_id != 10"
258
           >
258
           >
259
             <template slot-scope="scope">
259
             <template slot-scope="scope">
260
               {{
260
               {{
417
               <el-input v-model="form.ultrafiltration_rate"></el-input>
417
               <el-input v-model="form.ultrafiltration_rate"></el-input>
418
             </el-form-item>
418
             </el-form-item>
419
           </el-col>
419
           </el-col>
420
-          <el-col :span="8" v-if="isShow('超滤量')">
420
+          <el-col :span="8" v-if="isShow('超滤量') &&(template_id != 6 || template_id != 10)">
421
+            <el-form-item label="超滤量(ml):">
422
+              <el-input v-model="form.ultrafiltration_volume"></el-input>
423
+            </el-form-item>
424
+          </el-col>
425
+          <el-col :span="8" v-if="isShow('超滤量') && template_id != 6 && template_id != 10">
421
             <el-form-item label="超滤量(L):">
426
             <el-form-item label="超滤量(L):">
422
               <el-input v-model="form.ultrafiltration_volume"></el-input>
427
               <el-input v-model="form.ultrafiltration_volume"></el-input>
423
             </el-form-item>
428
             </el-form-item>

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue Ver fichero

13
         <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
13
         <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
14
         <th v-if="isShow('跨膜压')" width="76px">跨膜压(mmhg)</th>
14
         <th v-if="isShow('跨膜压')" width="76px">跨膜压(mmhg)</th>
15
         <th v-if="isShow('超滤量') && (template_id == 6 || template_id == 10)" width="76px">超滤量(ml)</th>
15
         <th v-if="isShow('超滤量') && (template_id == 6 || template_id == 10)" width="76px">超滤量(ml)</th>
16
-        <th v-if="isShow('超滤量') && (template_id != 6 || template_id != 10)" width="76px">超滤量(L)</th>
16
+        <th v-if="isShow('超滤量') && template_id != 6 && template_id != 10" width="76px">超滤量(L)</th>
17
         <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
17
         <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
18
         <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
18
         <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
19
         <th v-if="isShow('置换率')&& (template_id == 6 || template_id == 10)" width="92px">置换率(ml/min)</th>
19
         <th v-if="isShow('置换率')&& (template_id == 6 || template_id == 10)" width="92px">置换率(ml/min)</th>
20
-        <th v-if="isShow('置换率')&& (template_id != 6 || template_id != 10)" width="92px">置换率(L/h)</th>
20
+        <th v-if="isShow('置换率')&& template_id != 6 && template_id != 10" width="92px">置换率(L/h)</th>
21
 
21
 
22
         <th v-if="isShow('置换量')&& (template_id == 6 || template_id == 10)" width="92px">置换量(ml)</th>
22
         <th v-if="isShow('置换量')&& (template_id == 6 || template_id == 10)" width="92px">置换量(ml)</th>
23
-        <th v-if="isShow('置换量')&& (template_id != 6 || template_id != 10)" width="92px">置换量(L)</th>
24
-         <th v-if="isShow('SpO₂')&& (template_id != 6 || template_id != 10)" width="92px">SpO₂(%)</th>
23
+        <th v-if="isShow('置换量')&& template_id != 6 && template_id != 10" width="92px">置换量(L)</th>
24
+         <th v-if="isShow('SpO₂')&& template_id != 6 && template_id != 10" width="92px">SpO₂(%)</th>
25
         <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
25
         <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
26
         <th v-if="isShow('置换液流量')"  width="92px">置换液流量(ml/h)</th>
26
         <th v-if="isShow('置换液流量')"  width="92px">置换液流量(ml/h)</th>
27
         <th v-if="isShow('病情变化')" width="92px">病情变化</th>
27
         <th v-if="isShow('病情变化')" width="92px">病情变化</th>

+ 10 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue Ver fichero

53
         <div class="inline_block">
53
         <div class="inline_block">
54
           床号:
54
           床号:
55
           <div class="under_line" style="width: 50px;text-align: center;">
55
           <div class="under_line" style="width: 50px;text-align: center;">
56
-            {{ '/' }}
56
+            {{
57
+            dialysisOrder &&
58
+            dialysisOrder.DeviceNumber &&
59
+            dialysisOrder.DeviceNumber.number.length > 0
60
+            ? dialysisOrder.DeviceNumber.number
61
+            : patientInfo.DialysisSchedule.device_number.number
62
+            }}
57
           </div>
63
           </div>
58
         </div>
64
         </div>
59
         <div class="inline_block">
65
         <div class="inline_block">
122
             class="under_line"
128
             class="under_line"
123
             style="width: 640px;text-align: left;word-wrap: break-word;white-space: inherit;"
129
             style="width: 640px;text-align: left;word-wrap: break-word;white-space: inherit;"
124
           >
130
           >
125
-            {{ patientInfo.diagnose }}
131
+             {{ patientInfo.diagnose }}
126
           </div>
132
           </div>
127
         </div>
133
         </div>
128
       </div>
134
       </div>
941
                   </td>
947
                   </td>
942
                   <td>
948
                   <td>
943
                     {{
949
                     {{
944
-                    monitor.sodium_concentration
945
-                    ? monitor.sodium_concentration
950
+                    monitor.conductivity
951
+                    ? monitor.conductivity
946
                     : ''
952
                     : ''
947
                     }}
953
                     }}
948
                   </td>
954
                   </td>

+ 25 - 19
src/xt_pages/dialysis/template/dialysisPrintOrderNine.vue Ver fichero

1383
                   </tr> -->
1383
                   </tr> -->
1384
                   <tr>
1384
                   <tr>
1385
                     <td width="70">拔针压迫:</td>
1385
                     <td width="70">拔针压迫:</td>
1386
-                    <td width="300">
1386
+                    <td width="350">
1387
                       <div style="display:flex;justify-content:space-between;">
1387
                       <div style="display:flex;justify-content:space-between;">
1388
                         <label-box
1388
                         <label-box
1389
                           showValue="自己压迫"
1389
                           showValue="自己压迫"
1405
                             afterdialysis.hemostasis_opera == 1 ? true : false
1405
                             afterdialysis.hemostasis_opera == 1 ? true : false
1406
                           "
1406
                           "
1407
                         ></label-box>
1407
                         ></label-box>
1408
+                        <label-box
1409
+                          showValue="内瘘止血带"
1410
+                          :isChecked="
1411
+                            afterdialysis.hemostasis_opera == 4 ? true : false
1412
+                          "
1413
+                        ></label-box>
1408
                       </div>
1414
                       </div>
1409
                     </td>
1415
                     </td>
1410
                     <td width="50"></td>
1416
                     <td width="50"></td>
1663
                         ></label-box>
1669
                         ></label-box>
1664
                       </div>
1670
                       </div>
1665
                     </td>
1671
                     </td>
1666
-                    <td width="80"></td>
1667
-                    <td width="60">管路:</td>
1668
-                    <td width="220">
1669
-                      <div style="display:flex;justify-content:space-between;">
1670
-                        <label-box showValue="无" :isChecked="
1671
-                            afterdialysis.channel == 1 ? true : false
1672
-                          "></label-box>
1673
-                        <label-box showValue="+" :isChecked="
1674
-                            afterdialysis.channel == 2 ? true : false
1675
-                          "></label-box>
1676
-                        <label-box showValue="+ +" :isChecked="
1677
-                            afterdialysis.channel == 3  ? true : false
1678
-                          "></label-box>
1679
-                        <label-box showValue="+ + +" :isChecked="
1680
-                            afterdialysis.channel == 4 ? true : false
1681
-                          "></label-box>
1682
-                      </div>
1683
-                    </td>
1672
+                    <!--<td width="80"></td>-->
1673
+                    <!--<td width="60">管路:</td>-->
1674
+                    <!--<td width="220">-->
1675
+                      <!--<div style="display:flex;justify-content:space-between;">-->
1676
+                        <!--<label-box showValue="无" :isChecked="-->
1677
+                            <!--afterdialysis.channel == 1 ? true : false-->
1678
+                          <!--"></label-box>-->
1679
+                        <!--<label-box showValue="+" :isChecked="-->
1680
+                            <!--afterdialysis.channel == 2 ? true : false-->
1681
+                          <!--"></label-box>-->
1682
+                        <!--<label-box showValue="+ +" :isChecked="-->
1683
+                            <!--afterdialysis.channel == 3  ? true : false-->
1684
+                          <!--"></label-box>-->
1685
+                        <!--<label-box showValue="+ + +" :isChecked="-->
1686
+                            <!--afterdialysis.channel == 4 ? true : false-->
1687
+                          <!--"></label-box>-->
1688
+                      <!--</div>-->
1689
+                    <!--</td>-->
1684
                     <td></td>
1690
                     <td></td>
1685
                   </tr>
1691
                   </tr>
1686
                 </tbody>
1692
                 </tbody>

+ 34 - 38
src/xt_pages/workforce/components/tableWeeks.vue Ver fichero

259
         return type_name
259
         return type_name
260
       },
260
       },
261
       getAdvice:function(doctor_advice) {
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
     components: {
314
     components: {

+ 16 - 15
src/xt_pages/workforce/remind_print.vue Ver fichero

135
     },
135
     },
136
     methods: {
136
     methods: {
137
       getAdvice:function(doctor_advice) {
137
       getAdvice:function(doctor_advice) {
138
+        if (doctor_advice != null) {
138
 
139
 
139
         let name = ""
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
           let prescribing_number = ''
143
           let prescribing_number = ''
143
           let single_dose = ''
144
           let single_dose = ''
151
           }
152
           }
152
 
153
 
153
           if (doctor_advice[i].drug_spec > 0) {
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
                 doctor_advice[i].child[a]['presc'] = doctor_advice[i].child[a].prescribing_number + doctor_advice[i].child[a].prescribing_number_unit
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
                 doctor_advice[i].child[a]['presc'] = ''
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
                 doctor_advice[i].child[a]['single'] = ''
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
                 + doctor_advice[i].child[a].advice_desc
177
                 + doctor_advice[i].child[a].advice_desc
179
                 + doctor_advice[i].child[a].drug_spec_unit
178
                 + doctor_advice[i].child[a].drug_spec_unit
180
                 + doctor_advice[i].child[a].presc
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
       printAction: function() {
191
       printAction: function() {