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() {
this.departmentName = '';
this.visible = true;
},
async addDepartment() {
@ -491,6 +492,8 @@ export default {
// /modal
showAddItem(id) {
this.addId = id;
this.departmentName = '';
this.positionName = '';
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-popconfirm
placement="left"
title="确定删除此数据吗?1234565"
title="确定删除此数据吗?"
ok-text="删除"
cancel-text="取消"
@confirm="delpartment(item)"

Loading…
Cancel
Save