Merge branch 'dev-nwcc' of http://192.168.0.56:3000/bonus/devicesmgt into dev-nwcc

This commit is contained in:
sxu 2024-07-23 16:44:41 +08:00
commit 2563df4d90
1 changed files with 6 additions and 2 deletions

View File

@ -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() {