浏览代码

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

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', [])