From 0cae7d0058e96701671923bff5269edb70236a69 Mon Sep 17 00:00:00 2001 From: FlyFive <826323891@qq.com> Date: 星期一, 12 十月 2020 13:50:25 +0800 Subject: [PATCH] update ruoyi-ui/src/views/system/role/index.vue. getMenuAllCheckedKeys()方法中选中节点和半选节点获取的方法反了。 --- ruoyi-ui/src/views/system/dept/index.vue | 20 ++++++++------------ 1 files changed, 8 insertions(+), 12 deletions(-) diff --git a/ruoyi-ui/src/views/system/dept/index.vue b/ruoyi-ui/src/views/system/dept/index.vue index 13c30d4..1a2b506 100644 --- a/ruoyi-ui/src/views/system/dept/index.vue +++ b/ruoyi-ui/src/views/system/dept/index.vue @@ -36,7 +36,7 @@ v-hasPermi="['system:dept:add']" >新增</el-button> </el-col> - <table-tools-ext :showSearch.sync="showSearch" @queryTable="getList"></table-tools-ext> + <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> </el-row> <el-table @@ -284,19 +284,15 @@ if (valid) { if (this.form.deptId != undefined) { updateDept(this.form).then(response => { - if (response.code === 200) { - this.msgSuccess("修改成功"); - this.open = false; - this.getList(); - } + this.msgSuccess("修改成功"); + this.open = false; + this.getList(); }); } else { addDept(this.form).then(response => { - if (response.code === 200) { - this.msgSuccess("新增成功"); - this.open = false; - this.getList(); - } + this.msgSuccess("新增成功"); + this.open = false; + this.getList(); }); } } @@ -313,7 +309,7 @@ }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }).catch(function() {}); + }) } } }; -- Gitblit v1.9.2