From 8aba6fc6e3af36c1c95db80c5505c10f4f56da25 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Tue, 23 Jul 2024 16:37:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=B0=E5=A2=9E=E5=85=AC?= =?UTF-8?q?=E5=8F=B8=E5=90=8E=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/src/views/system/dept/index.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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() {