Merge branch 'dev-nwcc' of http://192.168.0.56:3000/bonus/devicesmgt into dev-nwcc
This commit is contained in:
commit
2563df4d90
|
|
@ -405,7 +405,7 @@ export default {
|
||||||
listDept(this.queryParams).then((response) => {
|
listDept(this.queryParams).then((response) => {
|
||||||
this.deptList = this.handleTree(response.data, 'deptId')
|
this.deptList = this.handleTree(response.data, 'deptId')
|
||||||
this.loading = false
|
this.loading = false
|
||||||
console.log(this.deptList, '树节点数据---')
|
// console.log(this.deptList, '树节点数据---')
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
/** 转换部门数据结构 */
|
/** 转换部门数据结构 */
|
||||||
|
|
@ -564,7 +564,11 @@ export default {
|
||||||
}
|
}
|
||||||
let list = [...this.companyList]
|
let list = [...this.companyList]
|
||||||
const res = await addCompanyApi(list)
|
const res = await addCompanyApi(list)
|
||||||
console.log(res, '新增结果--')
|
if (res.code == 200) {
|
||||||
|
this.$message.success('新增成功!')
|
||||||
|
this.getList()
|
||||||
|
this.addCompanyVisible = false
|
||||||
|
}
|
||||||
},
|
},
|
||||||
/** 关闭新增公司弹框 */
|
/** 关闭新增公司弹框 */
|
||||||
closeAddCompanyDialog() {
|
closeAddCompanyDialog() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue