xiangpei
2024-07-12 409b9830e084c8b7a6b2f71ce50880eee684230e
修改部门bug
1个文件已修改
2 ■■■■■ 已修改文件
src/views/education/department/edit.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/education/department/edit.vue
@@ -65,6 +65,7 @@
    if (id && parseInt(id) !== 0) {
      _this.formLoading = true
      departmentApi.select(id).then(re => {
        re.response.parentId = [re.response.parentId]
        _this.form = re.response
        _this.formLoading = false
      })
@@ -145,6 +146,7 @@
        id: null,
        name: '',
        level: 1,
        parentId: null,
        levelName: ''
      }
      this.form.id = lastId