Prechádzať zdrojové kódy

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

Lijy 2 rokov pred
rodič
commit
720aa48b7d

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