mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-16 06:16:46 +08:00
-- fix bug
This commit is contained in:
@@ -366,7 +366,7 @@
|
||||
type="link"
|
||||
>管理
|
||||
</a-button>
|
||||
<DropDown v-if="checkPer(record.permissions)" value="授权">
|
||||
<DropDown v-if="checkPer(record.permissions) && checkOwner(record.permissions)" value="授权">
|
||||
<OwnerTableModelStudent :types="[10, 11, 12]" :id="record.id"
|
||||
>权限名单</OwnerTableModelStudent
|
||||
>
|
||||
@@ -1731,7 +1731,7 @@ import FJUpload from "@/components/common/FJUpload";
|
||||
import { updateStudent } from "@/api/indexProjStu";
|
||||
import { useStore } from "vuex";
|
||||
import DropDown from "@/components/common/DropDown";
|
||||
import { checkPer } from "@/utils/utils";
|
||||
import { checkPer,checkOwner } from "@/utils/utils";
|
||||
import dayjs from "dayjs";
|
||||
|
||||
//列表表格
|
||||
@@ -4990,6 +4990,7 @@ export default defineComponent({
|
||||
beforeUpload2,
|
||||
handleDel,
|
||||
checkPer,
|
||||
checkOwner,
|
||||
handleSucessStu,
|
||||
handleRejectStu,
|
||||
handleDeleteStu,
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
type="link"
|
||||
>编辑</a-button
|
||||
>
|
||||
<a-button @click="manage(record.id) && checkPer(record.permissions)" type="link">管理</a-button>
|
||||
<a-button @click="manage(record.id)" type="link">管理</a-button>
|
||||
<DropDown v-if="checkPer(record.permissions)" value="授权">
|
||||
<OwnerTableModelStudent
|
||||
:types="[7, 8, 9]"
|
||||
|
||||
@@ -692,7 +692,7 @@
|
||||
</div>
|
||||
</a-tab-pane>
|
||||
|
||||
<a-tab-pane key="2" tab="共享文档">
|
||||
<a-tab-pane key="2" tab="共享文档" v-if="checkPer(permissions)">
|
||||
<div class="sametab">
|
||||
<div class="Gcon">
|
||||
<div class="pad"></div>
|
||||
|
||||
@@ -160,12 +160,7 @@
|
||||
type="link"
|
||||
>撤回发布</a-button
|
||||
>
|
||||
<a-button
|
||||
v-if="record.type === 3 && checkPer(record.permissions)"
|
||||
@click="baseInfo(record)"
|
||||
type="link"
|
||||
>管理</a-button
|
||||
>
|
||||
<a-button v-if="record.type === 3" @click="baseInfo(record)" type="link">管理</a-button>
|
||||
<DropDown v-if="checkPer(record.permissions) && checkOwner(record.permissions)" value="授权">
|
||||
<OwnerTableModelStudent
|
||||
:types="[4, 5, 6]"
|
||||
|
||||
@@ -767,11 +767,12 @@
|
||||
<a-button @click="showStudent(record)" type="link"
|
||||
>查看
|
||||
</a-button>
|
||||
<a-button @click="settingTopFlag(record)" type="link"
|
||||
<a-button @click="settingTopFlag(record)" v-if="checkPer(permissions)" type="link"
|
||||
>{{ record.topFlag ? "取消优秀" : "优秀学员" }}
|
||||
</a-button>
|
||||
<a-button
|
||||
type="link"
|
||||
v-if="checkPer(permissions)"
|
||||
:disabled="record.isLeader === '1'"
|
||||
@click="showChangeGroupModal(record)"
|
||||
>换组
|
||||
@@ -1073,7 +1074,7 @@
|
||||
</div>
|
||||
<!-- 有证书显示的页面 -->
|
||||
<div v-else class="certificate1">
|
||||
<div class="addcertificate1" @click="addCertificate">
|
||||
<div class="addcertificate1" @click="addCertificate" v-if="checkPer(permissions)">
|
||||
<div class="addcertext">+添加证书</div>
|
||||
</div>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user