接口调整

This commit is contained in:
yuping
2023-07-02 18:21:27 +08:00
parent 4e2ed3c456
commit 0e8341f980
14 changed files with 98 additions and 74 deletions

View File

@@ -120,7 +120,7 @@
>编辑</a-button
> -->
<a-button @click="manage(record.id)" type="link">管理</a-button>
<DropDown v-if="checkPer(record.permissions)" value="授权">
<DropDown v-if="checkOwner(record.permissions)" value="授权">
<OwnerTableModelStudent
:types="[7, 8, 9]"
:id="record.id"
@@ -753,7 +753,8 @@ import OrgClass from "@/components/project/OrgClass";
import NameInput from "@/components/project/NameInput";
import { validateName } from "@/api/index1";
import DropDown from "@/components/common/DropDown";
import { checkPer } from "@/utils/utils";
import { checkPer ,checkOwner} from "@/utils/utils";
export default {
name: "learningPath",
@@ -1612,6 +1613,7 @@ export default {
showLearnBgMore,
closeLearnBgMore,
checkPer,
checkOwner,
getLearnPathInfo,
};
},