This commit is contained in:
guochunsi
2026-01-30 16:29:15 +08:00
parent 53f71066f3
commit c6da6e286f
70 changed files with 688 additions and 519 deletions

View File

@@ -41,8 +41,8 @@
<!-- 操作按钮 -->
<div class="mb15">
<el-button
v-auth="'recruit_recruitstudentplangroup_add'"
<el-button
v-if="hasAuth('recruit_recruitstudentplangroup_add')"
type="primary"
icon="FolderAdd"
@click="addOrUpdateHandle"
@@ -58,6 +58,7 @@
v-loading="state.loading"
border
stripe
row-key="id"
:cell-style="tableStyle.cellStyle"
:header-cell-style="tableStyle.headerCellStyle"
>
@@ -77,7 +78,7 @@
<el-table-column label="操作" width="150" align="center" fixed="right">
<template #default="scope">
<el-button
v-auth="'recruit_recruitstudentschool_edit'"
v-if="hasAuth('recruit_recruitstudentschool_edit')"
type="primary"
link
icon="EditPen"
@@ -86,7 +87,7 @@
修改
</el-button>
<el-button
v-auth="'recruit_recruitstudentschool_del'"
v-if="hasAuth('recruit_recruitstudentschool_del')"
type="danger"
link
icon="Delete"
@@ -114,6 +115,7 @@
<script setup lang="ts" name="recruitstudentschool">
import { ref, reactive, onMounted, nextTick, defineAsyncComponent } from 'vue'
import { useAuth } from '/@/hooks/auth'
import { BasicTableProps, useTable } from '/@/hooks/table'
import { useMessage, useMessageBox } from '/@/hooks/message'
import { getList } from '/@/api/recruit/recruitstudentplangroup'
@@ -122,7 +124,7 @@ import { getDeptList } from '/@/api/basic/basicclass'
const TableForm = defineAsyncComponent(() => import('./detaiform.vue'))
const MajorGroupByDeptForm = defineAsyncComponent(() => import('/@/views/recruit/recruitplanmajor/majorGroupByDept.vue'))
const { hasAuth } = useAuth()
// 消息提示 hooks
const message = useMessage()
const messageBox = useMessageBox()