heyang пре 9 месеци
родитељ
комит
15b8d32148
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/systemManagement/organizationalStructure/index.vue

+ 1 - 1
src/views/systemManagement/organizationalStructure/index.vue

@@ -334,7 +334,7 @@
                 deptName:this.treeAddForm.teaCherDpetList[i].deptName,
                 deptShortName:this.treeAddForm.teaCherDpetList[i].deptShortName,
                 state:this.treeAddForm.teaCherDpetList[i].state,
-                deptType:this.treeAddForm.parentId == this.parentId ? this.treeAddForm.deptType : 0,
+                deptType:this.treeAddForm.parentId == this.parentId ? this.treeAddForm.teaCherDpetList[i].deptType : 0,
               }
               newObj.teaCherDpetList.push(obj);
             }