a
This commit is contained in:
@@ -275,17 +275,17 @@
|
||||
<el-row>
|
||||
<div class="mb15" style="width: 100%;">
|
||||
<el-button
|
||||
v-if="hasAuth('recruit_send_img')"
|
||||
type="primary"
|
||||
icon="FolderAdd"
|
||||
v-auth="'recruit_send_img'"
|
||||
@click="handleAddData">新增
|
||||
</el-button>
|
||||
<el-button
|
||||
<el-button
|
||||
v-if="hasAuth('zipExport')"
|
||||
type="warning"
|
||||
plain
|
||||
v-auth="'zipExport'"
|
||||
icon="Download"
|
||||
@click="downZip()">招生名单打包导出
|
||||
@click="downZip()">招生名单打包导出
|
||||
</el-button>
|
||||
<el-button
|
||||
class="ml10"
|
||||
@@ -642,9 +642,9 @@
|
||||
import { ref, reactive, onMounted, nextTick, defineAsyncComponent, watch } from 'vue'
|
||||
import { Edit, Check, DocumentChecked, Close, Switch, Tickets, Document, Warning, User, CircleCheck } from '@element-plus/icons-vue'
|
||||
import ClickableTag from '/@/components/ClickableTag/index.vue'
|
||||
import { useAuth } from '/@/hooks/auth'
|
||||
import { useMessage, useMessageBox } from '/@/hooks/message'
|
||||
import { BasicTableProps, useTable } from '/@/hooks/table'
|
||||
import { auth } from '/@/utils/authFunction'
|
||||
import axios from 'axios'
|
||||
import { getList } from '/@/api/recruit/recruitstudentplangroup'
|
||||
import {
|
||||
@@ -681,7 +681,7 @@ const InterviewForm = defineAsyncComponent(() => import('/@/views/recruit/recrui
|
||||
const PayQrcodeDialog = defineAsyncComponent(() => import('./PayQrcodeDialog.vue'))
|
||||
const AdmissionNoticeDialog = defineAsyncComponent(() => import('./AdmissionNoticeDialog.vue'))
|
||||
const ActionDropdown = defineAsyncComponent(() => import('/@/components/tools/action-dropdown.vue'))
|
||||
|
||||
const { hasAuth } = useAuth()
|
||||
// 消息提示 hooks
|
||||
const message = useMessage()
|
||||
const messageBox = useMessageBox()
|
||||
@@ -989,68 +989,68 @@ const getActionMenuItems = (row: any) => {
|
||||
command: 'edit',
|
||||
label: '补材料',
|
||||
icon: Edit,
|
||||
visible: () => auth('recruit_recruitstudentsignup_edit')
|
||||
visible: () => hasAuth('recruit_recruitstudentsignup_edit')
|
||||
},
|
||||
{
|
||||
command: 'interview',
|
||||
label: '面试',
|
||||
icon: Check,
|
||||
visible: () => auth('recruit_recruitstudentsignup_interview') && row.canInterview
|
||||
visible: () => hasAuth('recruit_recruitstudentsignup_interview') && row.canInterview
|
||||
},
|
||||
{
|
||||
command: 'audit',
|
||||
label: '审核',
|
||||
icon: DocumentChecked,
|
||||
visible: () => auth('recruit_recruitstudentsignup_edit') && row.canExam
|
||||
visible: () => hasAuth('recruit_recruitstudentsignup_edit') && row.canExam
|
||||
},
|
||||
{
|
||||
command: 'leaveSchool',
|
||||
label: '退学',
|
||||
icon: Close,
|
||||
visible: () => auth('recruit_recruitstudentsignup_leaveSchool') && row.canQuit
|
||||
visible: () => hasAuth('recruit_recruitstudentsignup_leaveSchool') && row.canQuit
|
||||
},
|
||||
// 复学
|
||||
{
|
||||
command: 'reEntry',
|
||||
label: '复学',
|
||||
icon: Check,
|
||||
visible: () => auth('recruit_resetsign') && row.canReset
|
||||
visible: () => hasAuth('recruit_resetsign') && row.canReset
|
||||
},
|
||||
{
|
||||
command: 'majorChange',
|
||||
label: '调整专业',
|
||||
icon: Switch,
|
||||
visible: () => auth('recruit_recruitstudentsignup_change') && row.canChangeMajor
|
||||
visible: () => hasAuth('recruit_recruitstudentsignup_change') && row.canChangeMajor
|
||||
},
|
||||
{
|
||||
command: 'payQrcode',
|
||||
label: '支付二维码',
|
||||
icon: Tickets,
|
||||
visible: () => auth('recruit_recruitstudentsignup_show') && row.canPayQrcode
|
||||
visible: () => hasAuth('recruit_recruitstudentsignup_show') && row.canPayQrcode
|
||||
},
|
||||
{
|
||||
command: 'rePush',
|
||||
label: '重新推送',
|
||||
icon: Check,
|
||||
visible: () => auth('recruit_recruitstudentsignup_rePush') && row.rePush
|
||||
visible: () => hasAuth('recruit_recruitstudentsignup_rePush') && row.rePush
|
||||
},
|
||||
{
|
||||
command: 'admissionNotice',
|
||||
label: '录取通知书',
|
||||
icon: Document,
|
||||
visible: () => auth('recruit_recruitstudentsignup_show') && row.canPrintReport
|
||||
visible: () => hasAuth('recruit_recruitstudentsignup_show') && row.canPrintReport
|
||||
},
|
||||
{
|
||||
command: 'infoTable',
|
||||
label: '信息表',
|
||||
icon: Document,
|
||||
visible: () => auth('recruit_recruitstudentsignup_show') && row.canShowInfo
|
||||
visible: () => hasAuth('recruit_recruitstudentsignup_show') && row.canShowInfo
|
||||
},
|
||||
// {
|
||||
// command: 'pushCity',
|
||||
// label: '推送市局',
|
||||
// icon: Upload,
|
||||
// visible: () => auth('recruit_recruitstudentsignup_push') && row.auditStatus == '20'
|
||||
// visible: () => hasAuth('recruit_recruitstudentsignup_push') && row.auditStatus == '20'
|
||||
// }
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user