mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-16 14:26:45 +08:00
feat:合并
This commit is contained in:
@@ -90,6 +90,7 @@
|
||||
title: 'name',
|
||||
value: 'name',
|
||||
}"
|
||||
:disabled="isDisabled"
|
||||
>
|
||||
<template #suffixIcon></template>
|
||||
</a-tree>
|
||||
@@ -148,14 +149,14 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clbox">
|
||||
<div class="clbox" @click="removeClick">
|
||||
<span class="allclear">转移归属权</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btnn">
|
||||
<button class="btn1">取消</button>
|
||||
<button class="btn1" @click="closeDrawer">取消</button>
|
||||
<button class="btn2" @click="addAuth">确定</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -306,12 +307,15 @@ export default {
|
||||
selectedRowKeys: [], //表格选中的key
|
||||
selectPeopleArr: [], //表格选中的人
|
||||
//快速选人-------------------------------------
|
||||
|
||||
isDisabled: true, //是否可选择组织树及用户,默认为不可选
|
||||
});
|
||||
|
||||
const closeDrawer = () => {
|
||||
state.activeKey = "1";
|
||||
ctx.emit("update:ProjOwnervisible", false);
|
||||
state.openKeys = [];
|
||||
state.isDisabled = true;
|
||||
};
|
||||
|
||||
const afterVisibleChange = (bool) => {
|
||||
@@ -373,6 +377,11 @@ export default {
|
||||
const changePagination = () => {
|
||||
getPeoples();
|
||||
};
|
||||
|
||||
//点击转移归属权
|
||||
const removeClick = () => {
|
||||
state.isDisabled = false;
|
||||
};
|
||||
//获取授权
|
||||
const optionAuthPerm = () => {
|
||||
let obj = {
|
||||
@@ -588,6 +597,7 @@ export default {
|
||||
optionAuthPerm,
|
||||
changeOwnership,
|
||||
addAuth,
|
||||
removeClick,
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user