diff --git a/sgzb-ui/src/views/system/dept/index.vue b/sgzb-ui/src/views/system/dept/index.vue index 5b2b2964..4b101bae 100644 --- a/sgzb-ui/src/views/system/dept/index.vue +++ b/sgzb-ui/src/views/system/dept/index.vue @@ -405,7 +405,7 @@ export default { listDept(this.queryParams).then((response) => { this.deptList = this.handleTree(response.data, 'deptId') this.loading = false - console.log(this.deptList, '树节点数据---') + // console.log(this.deptList, '树节点数据---') }) }, /** 转换部门数据结构 */ @@ -564,7 +564,11 @@ export default { } let list = [...this.companyList] const res = await addCompanyApi(list) - console.log(res, '新增结果--') + if (res.code == 200) { + this.$message.success('新增成功!') + this.getList() + this.addCompanyVisible = false + } }, /** 关闭新增公司弹框 */ closeAddCompanyDialog() {