Browse Source

修复细节

master
lucky 4 years ago
parent
commit
dae95343aa
  1. 3
      src/components/RightPage/RightPage.vue
  2. 2
      src/components/RightPage/TreeNode.vue

3
src/components/RightPage/RightPage.vue

@ -372,6 +372,7 @@ export default {
}, },
// //
createDepartment() { createDepartment() {
this.departmentName = '';
this.visible = true; this.visible = true;
}, },
async addDepartment() { async addDepartment() {
@ -491,6 +492,8 @@ export default {
// /modal // /modal
showAddItem(id) { showAddItem(id) {
this.addId = id; this.addId = id;
this.departmentName = '';
this.positionName = '';
this.visibleAddPosition = true; this.visibleAddPosition = true;
}, },
// // // //

2
src/components/RightPage/TreeNode.vue

@ -72,7 +72,7 @@
<a-button type="primary" class="mr-2" @click="editDepartmentModal(item)"> 修改 </a-button> <a-button type="primary" class="mr-2" @click="editDepartmentModal(item)"> 修改 </a-button>
<a-popconfirm <a-popconfirm
placement="left" placement="left"
title="确定删除此数据吗?1234565" title="确定删除此数据吗?"
ok-text="删除" ok-text="删除"
cancel-text="取消" cancel-text="取消"
@confirm="delpartment(item)" @confirm="delpartment(item)"

Loading…
Cancel
Save