Преглед на файлове

调整组织架构的编辑部门其他负责人

Lijy преди 2 години
родител
ревизия
720aa48b7d
променени са 1 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 5 1
      fhKeeper/formulahousekeeper/timesheet/src/views/team/index.vue

+ 5 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/team/index.vue

@@ -2492,7 +2492,11 @@ export default {
             reportAuditUserid: that.depData.reportAuditUserid,
           }
           if(that.depData.otherManagerIds) {
-            this.$set(that.depForm, 'otherManagerIds', that.depData.otherManagerIds)
+            if(Array.isArray(that.depData.otherManagerIds)) {
+              this.$set(that.depForm, 'otherManagerIds', that.depData.otherManagerIds)
+            } else {
+              this.$set(that.depForm, 'otherManagerIds', that.depData.otherManagerIds.split(','))
+            }
           } else {
             this.$set(that.depForm, 'otherManagerIds', [])