讲师管理权限

This commit is contained in:
zhangsir
2025-01-13 14:46:14 +08:00
parent caf9471732
commit 2e1b057f62
8 changed files with 56 additions and 46 deletions

View File

@@ -82,7 +82,7 @@
<template v-if="column.key === 'operation'">
<a-space >
<a-button type="link" @click="() => handleLook(record, String(record.courseform))">查看</a-button>
<a-button type="link" @click="handleLess(record)">撤回</a-button>
<a-button v-if="checkMenu('lecturerSummaryCancel')" type="link" @click="handleLess(record)">撤回</a-button>
</a-space>
</template>
</template>
@@ -137,7 +137,7 @@
<!-- <span>讲师费发放情况</span> -->
<a-table :columns="column" :scroll="{ x: '1000' }" :data-source="tableDatas" :loading="tableLoadings" :pagination="false">
<template #action="{ record, column }">
<a-button type="link" @click="handleDetail(record)">撤回</a-button>
<a-button v-if="checkMenu('lecturerSummaryCancel')" type="link" @click="handleDetail(record)">撤回</a-button>
</template>
</a-table>
<!-- <div :style="{
@@ -175,6 +175,7 @@ import {CostDetails} from "../lecturer/CostDetails.vue"
// import * as api from '@/api/Lecturer'
import dialog from '@/utils/dialog'
import {message} from 'ant-design-vue'
import { checkMenu } from '@/utils/utils'
export default {
name: "MonthlyStatistics",
components: {
@@ -772,6 +773,7 @@ export default {
sysTypeOptions,
endOrg,
handleBack,
checkMenu
}
},
};