Pārlūkot izejas kodu

排序问题处理

XMLWAN 4 gadus atpakaļ
vecāks
revīzija
9597029ac0
1 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  1. 4 3
      src/pages/main/dialog/TreatmentDialog.vue

+ 4 - 3
src/pages/main/dialog/TreatmentDialog.vue Parādīt failu

@@ -203,9 +203,6 @@ export default {
203 203
     // this.teach = this.$store.getters.teach;
204 204
     this.teach = getDataConfig("education", "education");
205 205
     console.log("this", this.teach);
206
-    this.nursingRecord = getDataConfig("nursing_record", "nursing_record");
207
-    console.log("透析护理记录", this.nursingRecord);
208
-    this.specialRecord = getDataConfig("special_record", "special_record");
209 206
     if (this.teach.length > 0) {
210 207
       var tlen = this.teach.length;
211 208
       for (let index = 0; index < tlen; index++) {
@@ -220,6 +217,9 @@ export default {
220 217
         this.summaryObj[this.summary[index].id] = this.summary[index];
221 218
       }
222 219
     }
220
+    this.nursingRecord = getDataConfig("nursing_record", "nursing_record");
221
+    console.log("透析护理记录", this.nursingRecord);
222
+
223 223
     if (this.nursingRecord.length > 0) {
224 224
       var tlen = this.nursingRecord.length;
225 225
       for (let index = 0; index < tlen; index++) {
@@ -229,6 +229,7 @@ export default {
229 229
         ];
230 230
       }
231 231
     }
232
+    this.specialRecord = getDataConfig("special_record", "special_record");
232 233
     if (this.specialRecord.length > 0) {
233 234
       var tlen = this.specialRecord.length;
234 235
       for (let index = 0; index < tlen; index++) {