d01c0e038ffd93c7a569899ca0342967774385a3..b62c6c9ab29e933fd0333ac183ef837d00aba5d2
2024-07-12 xiangpei
Merge remote-tracking branch 'origin/master'
b62c6c 对比 | 目录
2024-07-12 xiangpei
修改部门bug
5a74a3 对比 | 目录
1个文件已修改
4 ■■■■ 已修改文件
src/views/education/department/edit.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/education/department/edit.vue
@@ -65,7 +65,7 @@
    if (id && parseInt(id) !== 0) {
      _this.formLoading = true
      departmentApi.select(id).then(re => {
        re.response.parentId = [re.response.parentId]
        re.response.parentId = re.response.parentIds
        _this.form = re.response
        _this.formLoading = false
      })
@@ -100,7 +100,7 @@
      //   name: this.form.name
      // }
      if (_this.form.parentId) {
        _this.form.parentId = _this.form.parentId[0];
        _this.form.parentId = _this.form.parentId[_this.form.parentId.length - 1];
      }
      if (_this.fig === 1) {
        departmentApi.addData(this.form).then(res => {