Procházet zdrojové kódy

8月2,79号打印单

yq1 před 8 měsíci
rodič
revize
7e1a3d56fe

+ 21 - 12
src/xt_pages/dialysis/template/DialysisPrintOrderSeventynine.vue Zobrazit soubor

@@ -151,13 +151,14 @@
151 151
             <td colspan="3">
152 152
               <div style="display: inline-block;line-height: 30px;">
153 153
                 血管通路:
154
-                <label-box :isChecked="predialysis.blood_access_part_opera_name=='内瘘'?true :false" showValue="内瘘"></label-box>&nbsp;
154
+                <!-- <label-box :isChecked="predialysis.blood_access_part_opera_name=='内瘘'?true :false" showValue="内瘘"></label-box>&nbsp;
155 155
                 <label-box :isChecked="predialysis.blood_access_part_opera_name=='长期静脉导管'?true :false" showValue="长期静脉导管"></label-box>&nbsp;
156 156
                 <label-box :isChecked="predialysis.blood_access_part_opera_name=='临时静脉导管'?true :false" showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
157 157
                 <label-box :isChecked="predialysis.blood_access_part_opera_name!='内瘘' &&
158 158
                             predialysis.blood_access_part_opera_name!='长期静脉导管' &&
159 159
                             predialysis.blood_access_part_opera_name!='临时静脉导管'?true :false" showValue="其它">
160
-                </label-box>
160
+                </label-box> -->
161
+                {{ predialysis.blood_access_part_opera_name ? predialysis.blood_access_part_opera_name :'/' }}
161 162
               </div>&nbsp;&nbsp;
162 163
               <div style="display: inline-block;line-height: 30px;">
163 164
                 穿刺者:
@@ -1116,11 +1117,14 @@ export default {
1116 1117
             }
1117 1118
           }
1118 1119
           console.log(this.advice_groups);
1119
-          var doctorAdevieInfo = response.data.data.advices;
1120
-          var tableAdvice = doctorAdevieInfo;
1120
+          var advices = response.data.data.advices;
1121
+          var doctorAdevieInfo = response.data.data.doctorAdevieInfo
1122
+          
1123
+          var tableAdvice = advices.concat(doctorAdevieInfo);
1124
+          console.log('tableAdvice',tableAdvice);
1121 1125
           console.log('response.data.data', response.data.data)
1122 1126
           if (tableAdvice.length === 0) {
1123
-            console.log('1111111');
1127
+            console.log('1111111',tableAdvice.length);
1124 1128
             var obj = { advice_name: "", start_time: "" };
1125 1129
             var obj1 = { advice_name: "", start_time: "" };
1126 1130
             var obj2 = { advice_name: "", start_time: "" };
@@ -1141,7 +1145,7 @@ export default {
1141 1145
             return this.tableAdvice
1142 1146
           }
1143 1147
           if (tableAdvice.length === 1) {
1144
-            console.log('2222222');
1148
+            console.log('2222222',tableAdvice.length);
1145 1149
             var obj = { advice_name: "", start_time: "" };
1146 1150
             var obj1 = { advice_name: "", start_time: "" };
1147 1151
             var obj2 = { advice_name: "", start_time: "" };
@@ -1177,7 +1181,7 @@ export default {
1177 1181
             // return this.tableAdvice
1178 1182
           }
1179 1183
           if (tableAdvice.length === 3) {
1180
-            console.log('444444');
1184
+            console.log('444444',tableAdvice.length);
1181 1185
             var obj = { advice_name: "", start_time: "" };
1182 1186
             var obj1 = { advice_name: "", start_time: "" };
1183 1187
             var obj2 = { advice_name: "", start_time: "" };
@@ -1192,7 +1196,7 @@ export default {
1192 1196
             // return this.tableAdvice
1193 1197
           }
1194 1198
           if (tableAdvice.length === 4) {
1195
-            console.log('5555555');
1199
+            console.log('5555555',tableAdvice.length);
1196 1200
             var obj = { advice_name: "", start_time: "" };
1197 1201
             var obj1 = { advice_name: "", start_time: "" };
1198 1202
             var obj2 = { advice_name: "", start_time: "" };
@@ -1205,7 +1209,7 @@ export default {
1205 1209
             // return this.tableAdvice
1206 1210
           }
1207 1211
           if (tableAdvice.length === 5) {
1208
-            console.log('6666666');
1212
+            console.log('6666666',tableAdvice.length);
1209 1213
             var obj = { advice_name: "", start_time: "" };
1210 1214
             var obj1 = { advice_name: "", start_time: "" };
1211 1215
             var obj2 = { advice_name: "", start_time: "" };
@@ -1217,12 +1221,17 @@ export default {
1217 1221
             this.tableAdvice = tableAdvice;
1218 1222
             // return this.tableAdvice
1219 1223
           }
1224
+          if (tableAdvice.length === 6) {
1225
+            console.log('6666666',tableAdvice.length);
1226
+            var obj = { advice_name: "", start_time: "" };
1227
+            tableAdvice.push(obj);
1228
+
1229
+            this.tableAdvice = tableAdvice;
1230
+            // return this.tableAdvice
1231
+          }
1220 1232
 
1221 1233
           if (tableAdvice.length >7) {
1222 1234
             console.log('777777',tableAdvice);
1223
-            // var obj = { advice_name: "", start_time: "" };
1224
-
1225
-            // tableAdvice.push(obj);
1226 1235
             this.tableAdvice = tableAdvice;
1227 1236
 
1228 1237
           }