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

@@ -76,7 +76,7 @@
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="对接人" prop="djUser" v-auth="'recruit_recruitprestudent_dj_sure'">
<el-form-item label="对接人" prop="djUser" v-if="hasAuth('recruit_recruitprestudent_dj_sure')">
<el-select v-model="dataForm.djUser" filterable clearable placeholder="" >
<el-option
v-for="item in contactNameList"
@@ -295,12 +295,14 @@
<script setup lang="ts">
import { ref, reactive, nextTick } from 'vue'
import { ElNotification } from 'element-plus'
import { useAuth } from '/@/hooks/auth'
import { getObj, addObjStu, putObj } from '/@/api/recruit/recruitprestudent'
import { getList } from '/@/api/recruit/recruitstudentplangroup'
import { getDicts } from '/@/api/admin/dict'
import { queryAllTeacherByRecruit } from '/@/api/professional/professionaluser/teacherbase'
import { verifyPhone, verifyAdmissionNumber } from '/@/utils/toolsValidate'
const { hasAuth } = useAuth()
// Props
const props = defineProps<{
planList?: any[]

View File

@@ -84,8 +84,8 @@
<!-- 操作按钮 -->
<div class="mb15">
<el-button
v-auth="'recruit_recruitprestudent_add'"
<el-button
v-if="hasAuth('recruit_recruitprestudent_add')"
type="primary"
icon="FolderAdd"
@click="addOrUpdateHandle(null)"
@@ -111,6 +111,7 @@
v-loading="state.loading"
border
stripe
row-key="id"
:cell-style="tableStyle.cellStyle"
:header-cell-style="tableStyle.headerCellStyle"
>
@@ -145,7 +146,7 @@
<el-table-column label="操作" width="250" align="center" fixed="right">
<template #default="scope">
<el-button
v-auth="'recruit_recruitprestudent_edit'"
v-if="hasAuth('recruit_recruitprestudent_edit')"
type="primary"
link
icon="EditPen"
@@ -154,8 +155,7 @@
修改
</el-button>
<el-button
v-auth="'recruit_recruitprestudent_dj'"
v-if="scope.row.isDj == '0'"
v-if="hasAuth('recruit_recruitprestudent_dj') && scope.row.isDj == '0'"
type="primary"
link
icon="Connection"
@@ -164,7 +164,7 @@
确认对接
</el-button>
<el-button
v-auth="'recruit_recruitprestudent_del'"
v-if="hasAuth('recruit_recruitprestudent_del')"
type="danger"
link
icon="Delete"
@@ -197,6 +197,7 @@
<script setup lang="ts" name="recruitprestudent">
import { ref, reactive, onMounted, nextTick, defineAsyncComponent } from 'vue'
import { useAuth } from '/@/hooks/auth'
import { BasicTableProps, useTable } from '/@/hooks/table'
import { useDict } from '/@/hooks/dict'
import { useMessage, useMessageBox } from '/@/hooks/message'
@@ -208,7 +209,7 @@ import { queryByGroupId as schoolListApi} from '/@/api/recruit/recruitstudentsch
import { getDeptListByLevelTwo } from '/@/api/basic/basicdept'
const TableForm = defineAsyncComponent(() => import('./enrolplantemplate-form.vue'))
const { hasAuth } = useAuth()
// 消息提示 hooks
const message = useMessage()
const messageBox = useMessageBox()