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

@@ -89,8 +89,8 @@
<!-- 操作按钮 -->
<div class="mb15">
<el-button
v-auth="'recruit_newstucheckin_output'"
<el-button
v-if="hasAuth('recruit_newstucheckin_output')"
type="warning"
plain
icon="Download"
@@ -108,6 +108,7 @@
v-loading="state.loading"
border
stripe
row-key="id"
:cell-style="tableStyle.cellStyle"
:header-cell-style="tableStyle.headerCellStyle"
>
@@ -210,7 +211,7 @@
<el-table-column label="操作" width="100" align="center" fixed="right">
<template #default="scope">
<el-button
v-auth="'recruit_newstucheckin_edit'"
v-if="hasAuth('recruit_newstucheckin_edit')"
type="primary"
link
icon="EditPen"
@@ -237,6 +238,7 @@
<script setup lang="ts" name="newstucheckin">
import { ref, reactive, onMounted, defineAsyncComponent } from 'vue'
import { useAuth } from '/@/hooks/auth'
import { BasicTableProps, useTable } from '/@/hooks/table'
import { useMessage } from '/@/hooks/message'
import { fetchList } from '/@/api/recruit/newstucheckin'
@@ -253,7 +255,7 @@ import { InfoFilled, CircleCheck, CircleClose, DocumentChecked, Warning, Clock }
const StuCheckIn = defineAsyncComponent(() => import('./stu-check-in.vue'))
const TeacherNameNo = defineAsyncComponent(() => import('/@/components/TeacherNameNo/index.vue'))
const GenderTag = defineAsyncComponent(() => import('/@/components/GenderTag/index.vue'))
const { hasAuth } = useAuth()
// 是否住宿字典
const { yes_no_type } = useDict('yes_no_type')