zhujindu преди 7 месеца
родител
ревизия
68997e2f29
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/views/week/VisitSummaryAdd.vue

+ 2 - 2
src/views/week/VisitSummaryAdd.vue

@@ -558,9 +558,9 @@ export default {
     },
     getDeptInfo(type, grade, answerValue) {
       this.deptForm.type = type;
-      if (grade == '1') {
+      if (grade == 'dq') {
         this.deptForm.parentId = this.companyCode;
-      } else if (grade == '2') {
+      } else if (grade == 'xsb') {
         this.deptForm.parentId = this.regionCode;
       } else {
         this.deptForm.type = '';