|
@@ -44,7 +44,7 @@ const handleRemoveProjectManager = async (item) => {
|
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning',
|
|
type: 'warning',
|
|
|
}).then(async () => {
|
|
}).then(async () => {
|
|
|
- const { code,msg } = await VE_API.mine.saveManager({id: item.id, role: 3});
|
|
|
|
|
|
|
+ const { code,msg } = await VE_API.mine.saveManager({id: item.id, role: 3,permissions:["TASK_ORDER"]});
|
|
|
if (code === 0) {
|
|
if (code === 0) {
|
|
|
ElMessage.success("移除成功");
|
|
ElMessage.success("移除成功");
|
|
|
getManagerList();
|
|
getManagerList();
|