Commit 7782175d authored by 赵啸非's avatar 赵啸非

修改部门新增

parent eebf5d14
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
this.$post(this.pageInfo.exclude+"?id="+row.id,{}) this.$post(this.pageInfo.exclude+"?id="+row.id,{})
.then((res) => { .then((res) => {
if (res && res.code && res.code == 1) { if (res && res.code && res.code == 1) {
this.deptOptions = handleTree(res.data.data); this.deptOptions = handleTree(res.data.result);
this.$refs.dialogform.edit(row, this.deptOptions); this.$refs.dialogform.edit(row, this.deptOptions);
this.loading = false; this.loading = false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment