a
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
|
||||
<div class="mb15">
|
||||
<el-button
|
||||
v-auth="'recruit_newstucheckin_statistics_output'"
|
||||
v-if="hasAuth('recruit_newstucheckin_statistics_output')"
|
||||
type="warning"
|
||||
plain
|
||||
icon="Download"
|
||||
@@ -97,6 +97,7 @@
|
||||
|
||||
<script setup lang="ts" name="backSchoolCheckin-statistics">
|
||||
import { ref, reactive, computed, onMounted } from 'vue'
|
||||
import { useAuth } from '/@/hooks/auth'
|
||||
import { useMessage } from '/@/hooks/message'
|
||||
import { getDataStatistics } from '/@/api/recruit/newstucheckin'
|
||||
import { getList } from '/@/api/recruit/recruitstudentplangroup'
|
||||
@@ -104,6 +105,8 @@ import { getDeptList } from '/@/api/basic/basicclass'
|
||||
import { queryAllClass } from '/@/api/basic/basicclass'
|
||||
import axios from 'axios'
|
||||
|
||||
const { hasAuth } = useAuth()
|
||||
|
||||
// 消息提示 hooks
|
||||
const message = useMessage()
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
名单导出
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruit_recruitstudentsignup_allCX'"
|
||||
v-if="hasAuth('recruit_recruitstudentsignup_allCX')"
|
||||
type="primary"
|
||||
plain
|
||||
icon="Search"
|
||||
@@ -230,8 +230,7 @@
|
||||
<template #default="scope">
|
||||
|
||||
<el-button
|
||||
v-auth="'recruit_recruitstudentsignup_show'"
|
||||
v-if="scope.row.pushed == '1' && scope.row.paiedOffline != '10' && (scope.row.clfPayCode != undefined && scope.row.clfPayCode != '')"
|
||||
v-if="hasAuth('recruit_recruitstudentsignup_show') && scope.row.pushed == '1' && scope.row.paiedOffline != '10' && (scope.row.clfPayCode != undefined && scope.row.clfPayCode != '')"
|
||||
type="primary"
|
||||
link
|
||||
:icon="Tickets"
|
||||
@@ -240,7 +239,7 @@
|
||||
支付二维码
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruit_recruitstudentsignup_back'"
|
||||
v-if="hasAuth('recruit_recruitstudentsignup_back')"
|
||||
type="primary"
|
||||
link
|
||||
icon="EditPen"
|
||||
@@ -299,6 +298,7 @@
|
||||
|
||||
<script setup lang="ts" name="backSchoolCheckinTabIndex">
|
||||
import { ref, reactive, onMounted, nextTick, defineAsyncComponent, defineExpose } from 'vue'
|
||||
import { useAuth } from '/@/hooks/auth'
|
||||
import { BasicTableProps, useTable } from '/@/hooks/table'
|
||||
import { useMessage } from '/@/hooks/message'
|
||||
import { getList } from '/@/api/recruit/recruitstudentplangroup'
|
||||
@@ -315,7 +315,7 @@ const GenderTag = defineAsyncComponent(() => import('/@/components/GenderTag/ind
|
||||
const SearchForm = defineAsyncComponent(() => import('/@/components/SearchForm/index.vue'))
|
||||
const ClickableTag = defineAsyncComponent(() => import('/@/components/ClickableTag/index.vue'))
|
||||
const DetailPopover = defineAsyncComponent(() => import('/@/components/DetailPopover/index.vue'))
|
||||
|
||||
const { hasAuth } = useAuth()
|
||||
// 消息提示 hooks
|
||||
const message = useMessage()
|
||||
|
||||
|
||||
@@ -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')
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
<div class="mb15">
|
||||
<el-button
|
||||
v-auth="'recruit_newstucheckin_statistics_output'"
|
||||
v-if="hasAuth('recruit_newstucheckin_statistics_output')"
|
||||
type="warning"
|
||||
plain
|
||||
icon="Download"
|
||||
@@ -97,6 +97,7 @@
|
||||
|
||||
<script setup lang="ts" name="newstucheckin-statistics">
|
||||
import { ref, reactive, onMounted } from 'vue'
|
||||
import { useAuth } from '/@/hooks/auth'
|
||||
import { useMessage } from '/@/hooks/message'
|
||||
import { getDataStatistics } from '/@/api/recruit/newstucheckin'
|
||||
import { getList } from '/@/api/recruit/recruitstudentplangroup'
|
||||
@@ -104,6 +105,7 @@ import { getDeptList } from '/@/api/basic/basicclass'
|
||||
import { queryAllClass } from '/@/api/basic/basicclass'
|
||||
import axios from 'axios'
|
||||
|
||||
const { hasAuth } = useAuth()
|
||||
// 消息提示 hooks
|
||||
const message = useMessage()
|
||||
|
||||
|
||||
@@ -44,8 +44,8 @@
|
||||
|
||||
<!-- 操作按钮 -->
|
||||
<div class="mb15">
|
||||
<el-button
|
||||
v-auth="'recruit_recruitImitateAdjustBatch_add'"
|
||||
<el-button
|
||||
v-if="hasAuth('recruit_recruitImitateAdjustBatch_add')"
|
||||
type="primary"
|
||||
icon="FolderAdd"
|
||||
@click="addOrUpdateHandle"
|
||||
@@ -61,6 +61,7 @@
|
||||
v-loading="state.loading"
|
||||
border
|
||||
stripe
|
||||
row-key="id"
|
||||
:cell-style="tableStyle.cellStyle"
|
||||
:header-cell-style="tableStyle.headerCellStyle"
|
||||
>
|
||||
@@ -71,7 +72,7 @@
|
||||
<el-table-column label="操作" width="380" align="center" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-auth="'recruit_recruitImitateAdjustBatch_show'"
|
||||
v-if="hasAuth('recruit_recruitImitateAdjustBatch_show')"
|
||||
type="primary"
|
||||
link
|
||||
icon="Document"
|
||||
@@ -80,7 +81,7 @@
|
||||
模拟列表
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruit_recruitImitateAdjustBatch_show'"
|
||||
v-if="hasAuth('recruit_recruitImitateAdjustBatch_show')"
|
||||
type="warning"
|
||||
link
|
||||
icon="Download"
|
||||
@@ -89,7 +90,7 @@
|
||||
导出模拟结果
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruit_recruitImitateAdjustBatch_edit'"
|
||||
v-if="hasAuth('recruit_recruitImitateAdjustBatch_edit')"
|
||||
type="primary"
|
||||
link
|
||||
icon="EditPen"
|
||||
@@ -98,7 +99,7 @@
|
||||
修改
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruit_recruitImitateAdjustBatch_del'"
|
||||
v-if="hasAuth('recruit_recruitImitateAdjustBatch_del')"
|
||||
type="danger"
|
||||
link
|
||||
icon="Delete"
|
||||
@@ -126,6 +127,7 @@
|
||||
|
||||
<script setup lang="ts" name="recruitImitateAdjustBatch">
|
||||
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'
|
||||
@@ -133,7 +135,7 @@ import { delObj, fetchList } from '/@/api/recruit/recruitImitateAdjustBatch'
|
||||
|
||||
const TableForm = defineAsyncComponent(() => import('./detaiform.vue'))
|
||||
const MnTable = defineAsyncComponent(() => import('./mnTable.vue'))
|
||||
|
||||
const { hasAuth } = useAuth()
|
||||
// 消息提示 hooks
|
||||
const message = useMessage()
|
||||
const messageBox = useMessageBox()
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
>
|
||||
<el-form :inline="true">
|
||||
<el-form-item>
|
||||
<el-button v-auth="'recruit_recruitImitateAdjustBatch_add'" icon="FolderAdd" type="primary" @click="addOrUpdateHandle()">新增</el-button>
|
||||
<el-button v-if="hasAuth('recruit_recruitImitateAdjustBatch_add')" icon="FolderAdd" type="primary" @click="addOrUpdateHandle()">新增</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-table
|
||||
@@ -111,8 +111,8 @@
|
||||
align="center"
|
||||
label="操作">
|
||||
<template #default="scope">
|
||||
<el-button v-auth="'recruit_recruitImitateAdjustBatch_edit'" type="text" size="small" :icon="Edit" @click="addOrUpdateHandle(scope.row.id)">修改</el-button>
|
||||
<el-button v-auth="'recruit_recruitImitateAdjustBatch_del'" type="danger" link size="small" :icon="Delete" @click="deleteHandle(scope.row.id)">删除</el-button>
|
||||
<el-button v-if="hasAuth('recruit_recruitImitateAdjustBatch_edit')" type="text" size="small" :icon="Edit" @click="addOrUpdateHandle(scope.row.id)">修改</el-button>
|
||||
<el-button v-if="hasAuth('recruit_recruitImitateAdjustBatch_del')" type="danger" link size="small" :icon="Delete" @click="deleteHandle(scope.row.id)">删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -123,6 +123,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, reactive, nextTick, defineAsyncComponent } from 'vue'
|
||||
import { useAuth } from '/@/hooks/auth'
|
||||
import { useMessage, useMessageBox } from '/@/hooks/message'
|
||||
import { Edit, Delete } from '@element-plus/icons-vue'
|
||||
import { getMNStuList, delMNObj } from '/@/api/recruit/recruitImitateAdjustBatch'
|
||||
@@ -132,7 +133,7 @@ import { getLabelValueByProps } from '/@/utils/dictLabel'
|
||||
|
||||
const AddMNStu = defineAsyncComponent(() => import('./addMNStu.vue'))
|
||||
const GenderTag = defineAsyncComponent(() => import('@/components/GenderTag/index.vue'))
|
||||
|
||||
const { hasAuth } = useAuth()
|
||||
// Emits
|
||||
const emit = defineEmits<{
|
||||
(e: 'refreshDataList'): void
|
||||
|
||||
@@ -44,10 +44,10 @@
|
||||
<el-button icon="Refresh" @click="resetQuery">重置</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div class="mb15" v-auth="'recruit_recruitexampeople_add'">
|
||||
<el-button
|
||||
type="primary"
|
||||
icon="FolderAdd"
|
||||
<div class="mb15" v-if="hasAuth('recruit_recruitexampeople_add')">
|
||||
<el-button
|
||||
type="primary"
|
||||
icon="FolderAdd"
|
||||
@click="handleAdd"
|
||||
>
|
||||
新 增
|
||||
@@ -74,7 +74,7 @@
|
||||
<el-table-column label="操作" align="center" width="150px" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-auth="'recruit_recruitexampeople_del'"
|
||||
v-if="hasAuth('recruit_recruitexampeople_del')"
|
||||
type="danger"
|
||||
link
|
||||
icon="Delete"
|
||||
@@ -108,12 +108,13 @@
|
||||
|
||||
<script setup lang="ts" name="recruitexampeople">
|
||||
import { ref, reactive, nextTick, defineAsyncComponent } from 'vue'
|
||||
import { useAuth } from '/@/hooks/auth'
|
||||
import { BasicTableProps, useTable } from '/@/hooks/table'
|
||||
import { useMessage, useMessageBox } from '/@/hooks/message'
|
||||
import { addObj, delObj, fetchList } from '/@/api/recruit/recruitexampeople'
|
||||
|
||||
const AddForm = defineAsyncComponent(() => import('./add-form.vue'))
|
||||
|
||||
const { hasAuth } = useAuth()
|
||||
// 消息提示 hooks
|
||||
const message = useMessage()
|
||||
const messageBox = useMessageBox()
|
||||
|
||||
@@ -57,8 +57,8 @@
|
||||
|
||||
<!-- 操作按钮 -->
|
||||
<div class="mb15">
|
||||
<el-button
|
||||
v-auth="'recruit_recruitplanmajor_add'"
|
||||
<el-button
|
||||
v-if="hasAuth('recruit_recruitplanmajor_add')"
|
||||
type="primary"
|
||||
icon="FolderAdd"
|
||||
@click="addOrUpdateHandle"
|
||||
@@ -74,6 +74,7 @@
|
||||
v-loading="state.loading"
|
||||
border
|
||||
stripe
|
||||
row-key="id"
|
||||
:cell-style="tableStyle.cellStyle"
|
||||
:header-cell-style="tableStyle.headerCellStyle"
|
||||
>
|
||||
@@ -124,7 +125,6 @@
|
||||
<el-table-column label="操作" width="150" align="center" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-auth="'recruit_recruitplanmajor_edit'"
|
||||
type="primary"
|
||||
link
|
||||
icon="EditPen"
|
||||
@@ -133,7 +133,7 @@
|
||||
修改
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruit_recruitplanmajor_del'"
|
||||
v-if="hasAuth('recruit_recruitplanmajor_del')"
|
||||
type="danger"
|
||||
link
|
||||
icon="Delete"
|
||||
@@ -160,6 +160,7 @@
|
||||
|
||||
<script setup lang="ts" name="recruitplanmajor">
|
||||
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 { useDict } from '/@/hooks/dict'
|
||||
@@ -169,7 +170,7 @@ import { getDeptList } from '/@/api/basic/basicclass'
|
||||
import { getMajorNameList } from '/@/api/basic/major'
|
||||
|
||||
const TableForm = defineAsyncComponent(() => import('./detaiform.vue'))
|
||||
|
||||
const { hasAuth } = useAuth()
|
||||
// 消息提示 hooks
|
||||
const message = useMessage()
|
||||
const messageBox = useMessageBox()
|
||||
|
||||
@@ -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[]
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -44,16 +44,16 @@
|
||||
|
||||
<!-- 操作按钮 -->
|
||||
<div class="mb15">
|
||||
<el-button
|
||||
v-auth="'recruit_recruitschoolcode_add'"
|
||||
<el-button
|
||||
v-if="hasAuth('recruit_recruitschoolcode_add')"
|
||||
type="primary"
|
||||
icon="FolderAdd"
|
||||
@click="addOrUpdateHandle()"
|
||||
>
|
||||
新增
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruit_recruitschoolcode_add'"
|
||||
<el-button
|
||||
v-if="hasAuth('recruit_recruitschoolcode_add')"
|
||||
type="primary"
|
||||
plain
|
||||
icon="UploadFilled"
|
||||
@@ -85,7 +85,7 @@
|
||||
<el-table-column label="操作" width="150" align="center" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-auth="'recruit_recruitschoolcode_edit'"
|
||||
v-if="hasAuth('recruit_recruitschoolcode_edit')"
|
||||
type="primary"
|
||||
link
|
||||
icon="EditPen"
|
||||
@@ -94,7 +94,7 @@
|
||||
修改
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruit_recruitschoolcode_del'"
|
||||
v-if="hasAuth('recruit_recruitschoolcode_del')"
|
||||
type="danger"
|
||||
link
|
||||
icon="Delete"
|
||||
@@ -164,6 +164,7 @@
|
||||
|
||||
<script setup lang="ts" name="recruitschoolcode">
|
||||
import { ref, reactive, onMounted, 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'
|
||||
@@ -171,7 +172,7 @@ import { delObj, fetchList } from '/@/api/recruit/recruitschoolcode'
|
||||
import request from '/@/utils/request'
|
||||
|
||||
const TableForm = defineAsyncComponent(() => import('./detaiform.vue'))
|
||||
|
||||
const { hasAuth } = useAuth()
|
||||
// 消息提示 hooks
|
||||
const message = useMessage()
|
||||
const messageBox = useMessageBox()
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<el-button type="primary" icon="Search" @click="getDataList">查询</el-button>
|
||||
<el-button type="primary" plain icon="Refresh" class="ml10" @click="resetQuery">重置</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item v-auth="'recruit_recruitstudentplan_add'">
|
||||
<el-form-item v-if="hasAuth('recruit_recruitstudentplan_add')">
|
||||
<el-button type="primary" icon="FolderAdd" class="ml10" @click="handleAdd">新增</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
@@ -36,6 +36,7 @@
|
||||
v-loading="state.loading"
|
||||
border
|
||||
stripe
|
||||
row-key="id"
|
||||
:cell-style="tableStyle.cellStyle"
|
||||
:header-cell-style="tableStyle.headerCellStyle"
|
||||
>
|
||||
@@ -60,7 +61,7 @@
|
||||
<el-table-column label="操作" width="150" align="center" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-auth="'recruit_recruitstudentplan_edit'"
|
||||
v-if="hasAuth('recruit_recruitstudentplan_edit')"
|
||||
type="primary"
|
||||
link
|
||||
icon="EditPen"
|
||||
@@ -69,7 +70,7 @@
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruit_recruitstudentplan_del'"
|
||||
v-if="hasAuth('recruit_recruitstudentplan_del')"
|
||||
type="danger"
|
||||
link
|
||||
icon="Delete"
|
||||
@@ -168,10 +169,12 @@
|
||||
|
||||
<script setup lang="ts" name="recruitstudentplan">
|
||||
import { ref, reactive } from 'vue'
|
||||
import { useAuth } from '/@/hooks/auth'
|
||||
import { BasicTableProps, useTable } from '/@/hooks/table'
|
||||
import { useMessage, useMessageBox } from '/@/hooks/message'
|
||||
import { addObj, delObj, fetchList, putObj } from '/@/api/recruit/recruitstudentplan'
|
||||
|
||||
const { hasAuth } = useAuth()
|
||||
// 消息提示 hooks
|
||||
const message = useMessage()
|
||||
const messageBox = useMessageBox()
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
|
||||
<!-- 操作按钮 -->
|
||||
<div class="mb15">
|
||||
<el-button
|
||||
v-auth="'recruit_recruitstudentplancorrectscoreconfig_add'"
|
||||
<el-button
|
||||
v-if="hasAuth('recruit_recruitstudentplancorrectscoreconfig_add')"
|
||||
type="primary"
|
||||
icon="FolderAdd"
|
||||
@click="addOrUpdateHandle"
|
||||
@@ -38,6 +38,7 @@
|
||||
v-loading="state.loading"
|
||||
border
|
||||
stripe
|
||||
row-key="id"
|
||||
:cell-style="tableStyle.cellStyle"
|
||||
:header-cell-style="tableStyle.headerCellStyle"
|
||||
>
|
||||
@@ -52,7 +53,7 @@
|
||||
<el-table-column label="操作" width="150" align="center" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-auth="'recruit_recruitstudentplancorrectscoreconfig_edit'"
|
||||
v-if="hasAuth('recruit_recruitstudentplancorrectscoreconfig_edit')"
|
||||
type="primary"
|
||||
link
|
||||
icon="EditPen"
|
||||
@@ -61,7 +62,7 @@
|
||||
修改
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruit_recruitstudentplancorrectscoreconfig_del'"
|
||||
v-if="hasAuth('recruit_recruitstudentplancorrectscoreconfig_del')"
|
||||
type="danger"
|
||||
link
|
||||
icon="Delete"
|
||||
@@ -88,13 +89,14 @@
|
||||
|
||||
<script setup lang="ts" name="recruitstudentplancorrectscoreconfig">
|
||||
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'
|
||||
import { fetchList, delObj } from '/@/api/recruit/recruitstudentplancorrectscoreconfig'
|
||||
|
||||
const TableForm = defineAsyncComponent(() => import('./detaiform.vue'))
|
||||
|
||||
const { hasAuth } = useAuth()
|
||||
// 消息提示 hooks
|
||||
const message = useMessage()
|
||||
const messageBox = useMessageBox()
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<el-button type="primary" icon="Search" @click="getDataList">查询</el-button>
|
||||
<el-button type="primary" plain icon="Refresh" class="ml10" @click="resetQuery">重置</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item v-auth="'recruit_recruitstudentplandegreeofeducation_add'">
|
||||
<el-form-item v-if="hasAuth('recruit_recruitstudentplandegreeofeducation_add')">
|
||||
<el-button type="primary" icon="FolderAdd" class="ml10" @click="handleAdd">新增</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
@@ -36,6 +36,7 @@
|
||||
v-loading="state.loading"
|
||||
border
|
||||
stripe
|
||||
row-key="id"
|
||||
:cell-style="tableStyle.cellStyle"
|
||||
:header-cell-style="tableStyle.headerCellStyle"
|
||||
>
|
||||
@@ -48,7 +49,7 @@
|
||||
<el-table-column label="操作" width="150" align="center" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-auth="'recruit_recruitstudentplandegreeofeducation_edit'"
|
||||
v-if="hasAuth('recruit_recruitstudentplandegreeofeducation_edit')"
|
||||
type="primary"
|
||||
link
|
||||
icon="EditPen"
|
||||
@@ -57,7 +58,7 @@
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruit_recruitstudentplandegreeofeducation_del'"
|
||||
v-if="hasAuth('recruit_recruitstudentplandegreeofeducation_del')"
|
||||
type="danger"
|
||||
link
|
||||
icon="Delete"
|
||||
@@ -114,10 +115,12 @@
|
||||
|
||||
<script setup lang="ts" name="recruitstudentplandegreeofeducation">
|
||||
import { ref, reactive } from 'vue'
|
||||
import { useAuth } from '/@/hooks/auth'
|
||||
import { BasicTableProps, useTable } from '/@/hooks/table'
|
||||
import { useMessage, useMessageBox } from '/@/hooks/message'
|
||||
import { addObj, delObj, fetchList, putObj } from '/@/api/recruit/recruitstudentplandegreeofeducation'
|
||||
|
||||
const { hasAuth } = useAuth()
|
||||
// 消息提示 hooks
|
||||
const message = useMessage()
|
||||
const messageBox = useMessageBox()
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
|
||||
<!-- 操作按钮 -->
|
||||
<div class="mb15">
|
||||
<el-button v-auth="'recruit_recruitstudentplangroup_add'" type="primary" icon="FolderAdd" @click="addOrUpdateHandle()">
|
||||
<el-button v-if="hasAuth('recruit_recruitstudentplangroup_add')" type="primary" icon="FolderAdd" @click="addOrUpdateHandle()">
|
||||
新 增
|
||||
</el-button>
|
||||
<el-button v-auth="'recruit_recruitexampeople_add'" type="primary" plain icon="UserFilled" class="ml10" @click="editExam">
|
||||
<el-button v-if="hasAuth('recruit_recruitexampeople_add')" type="primary" plain icon="UserFilled" class="ml10" @click="editExam">
|
||||
审核人员管理
|
||||
</el-button>
|
||||
</div>
|
||||
@@ -30,6 +30,7 @@
|
||||
v-loading="state.loading"
|
||||
border
|
||||
stripe
|
||||
row-key="id"
|
||||
:cell-style="tableStyle.cellStyle"
|
||||
:header-cell-style="tableStyle.headerCellStyle"
|
||||
>
|
||||
@@ -106,7 +107,7 @@
|
||||
<el-table-column label="操作" width="240" align="center" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-auth="'recruit_recruitstudentplangroup_edit'"
|
||||
v-if="hasAuth('recruit_recruitstudentplangroup_edit')"
|
||||
type="primary"
|
||||
link
|
||||
icon="EditPen"
|
||||
@@ -114,10 +115,10 @@
|
||||
>
|
||||
修改
|
||||
</el-button>
|
||||
<el-button v-auth="'recruit_recruitstudentplangroup_edit'" type="primary" link icon="Switch" @click="majorHandle(scope.row)">
|
||||
<el-button v-if="hasAuth('recruit_recruitstudentplangroup_edit')" type="primary" link icon="Switch" @click="majorHandle(scope.row)">
|
||||
专业调整
|
||||
</el-button>
|
||||
<el-button v-auth="'recruit_recruitstudentplangroup_del'" type="danger" link icon="Delete" @click="deleteHandle(scope.row.id)">
|
||||
<el-button v-if="hasAuth('recruit_recruitstudentplangroup_del')" type="danger" link icon="Delete" @click="deleteHandle(scope.row.id)">
|
||||
删除
|
||||
</el-button>
|
||||
</template>
|
||||
@@ -142,6 +143,7 @@
|
||||
|
||||
<script setup lang="ts" name="recruitstudentplangroup">
|
||||
import { ref, reactive, onMounted, nextTick, defineAsyncComponent, watch } from 'vue';
|
||||
import { useAuth } from '/@/hooks/auth';
|
||||
import { BasicTableProps, useTable } from '/@/hooks/table';
|
||||
import { useMessage, useMessageBox } from '/@/hooks/message';
|
||||
import { delObj, fetchList, putObj, editQuickField } from '/@/api/recruit/recruitstudentplangroup';
|
||||
@@ -152,7 +154,7 @@ import { Calendar } from '@element-plus/icons-vue';
|
||||
const TableForm = defineAsyncComponent(() => import('./enrolplantemplate-form.vue'));
|
||||
const MajorGroupByDeptForm = defineAsyncComponent(() => import('@/views/recruit/recruitplanmajor/majorGroupByDept.vue'));
|
||||
const ExamPeopleIndex = defineAsyncComponent(() => import('@/views/recruit/recruitexampeople/index.vue'));
|
||||
|
||||
const { hasAuth } = useAuth();
|
||||
// 消息提示 hooks
|
||||
const message = useMessage();
|
||||
const messageBox = useMessageBox();
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<template #footer>
|
||||
<div class="dialog-footer">
|
||||
<el-button @click="handleClose">关 闭</el-button>
|
||||
<el-button @click="handleConfirm" v-auth="'recruit_recruitstudentsignup_sureLQTZ'" v-if="canConfirm" type="primary">确认已发放</el-button>
|
||||
<el-button @click="handleConfirm" v-if="hasAuth('recruit_recruitstudentsignup_sureLQTZ') && canConfirm" type="primary">确认已发放</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-dialog>
|
||||
@@ -15,12 +15,14 @@
|
||||
<script>
|
||||
import { ref } from 'vue'
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import { useAuth } from '/@/hooks/auth'
|
||||
import { toWord, sureLQTZ } from '/@/api/recruit/recruitstudentsignup'
|
||||
|
||||
export default {
|
||||
name: 'AdmissionNoticeDialog',
|
||||
emits: ['refresh'],
|
||||
setup(props, { emit }) {
|
||||
const { hasAuth } = useAuth()
|
||||
const visible = ref(false)
|
||||
const pdfPath = ref('')
|
||||
const currentId = ref('')
|
||||
@@ -61,6 +63,7 @@ export default {
|
||||
}
|
||||
|
||||
return {
|
||||
hasAuth,
|
||||
visible,
|
||||
pdfPath,
|
||||
canConfirm,
|
||||
|
||||
@@ -669,10 +669,10 @@
|
||||
<template #footer v-if="isEdit">
|
||||
<div class="dialog-footer">
|
||||
<el-button @click="visible = false">取消</el-button>
|
||||
<el-button type="primary" @click="dataFormSubmit('0')" v-auth="'recruit_recruitstudentsignup_add'" v-if="canSubmit&&!dataForm.id">保存并送审</el-button>
|
||||
<el-button type="primary" @click="dataFormSubmit('0')" v-auth="'recruit_recruitstudentsignup_edit'" v-if="canSubmit&&dataForm.id">保存</el-button>
|
||||
<el-button type="success" icon="CircleCheck" @click="dataFormSubmit('20')" v-auth="'signup_info_exam'" v-if="canSubmit&&dataForm.id">确认录取</el-button>
|
||||
<el-button type="danger" icon="CircleClose" @click="dataFormSubmit('-20')" v-auth="'signup_info_exam'" v-if="canSubmit&&dataForm.id">驳回录取</el-button>
|
||||
<el-button type="primary" @click="dataFormSubmit('0')" v-if="hasAuth('recruit_recruitstudentsignup_add') && canSubmit&&!dataForm.id">保存并送审</el-button>
|
||||
<el-button type="primary" @click="dataFormSubmit('0')" v-if="hasAuth('recruit_recruitstudentsignup_edit') && canSubmit&&dataForm.id">保存</el-button>
|
||||
<el-button type="success" icon="CircleCheck" @click="dataFormSubmit('20')" v-if="hasAuth('signup_info_exam') && canSubmit&&dataForm.id">确认录取</el-button>
|
||||
<el-button type="danger" icon="CircleClose" @click="dataFormSubmit('-20')" v-if="hasAuth('signup_info_exam') && canSubmit&&dataForm.id">驳回录取</el-button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -686,6 +686,7 @@
|
||||
import { ref, reactive, nextTick, watch, computed, onMounted } from 'vue'
|
||||
import { ElNotification } from 'element-plus'
|
||||
import { Plus } from '@element-plus/icons-vue'
|
||||
import { useAuth } from '/@/hooks/auth'
|
||||
import { useMessage, useMessageBox } from '/@/hooks/message'
|
||||
import { Session } from '/@/utils/storage'
|
||||
import axios from 'axios'
|
||||
@@ -701,6 +702,7 @@ import { getNationalList } from "/@/api/basic/basicnation"
|
||||
import { verifyAdmissionNumber, verifyPhone } from '/@/utils/toolsValidate'
|
||||
import { AUDIT_STATUS_LIST, getStatusConfig } from '/@/config/global'
|
||||
|
||||
const { hasAuth } = useAuth()
|
||||
const message = useMessage()
|
||||
const messageBox = useMessageBox()
|
||||
// Emits
|
||||
|
||||
@@ -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'
|
||||
// }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -208,24 +208,24 @@
|
||||
icon="Download"
|
||||
@click="handleExport()">分班导出
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruit_banding'"
|
||||
<el-button
|
||||
v-if="hasAuth('recruit_banding')"
|
||||
class="ml10"
|
||||
type="danger"
|
||||
plain
|
||||
icon="Promotion"
|
||||
@click="oneClassHandle()">一键分班
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruit_banding'"
|
||||
<el-button
|
||||
v-if="hasAuth('recruit_banding')"
|
||||
class="ml10"
|
||||
type="danger"
|
||||
plain
|
||||
icon="Promotion"
|
||||
@click="oneStuNoHandle()">一键分学号
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruit_synchronous_stuwork'"
|
||||
<el-button
|
||||
v-if="hasAuth('recruit_synchronous_stuwork')"
|
||||
class="ml10"
|
||||
type="primary"
|
||||
plain
|
||||
@@ -328,11 +328,10 @@
|
||||
<el-button type="primary" link icon="Document" @click="addOrUpdateHandle(scope.row.id,0)">
|
||||
查看
|
||||
</el-button>
|
||||
<el-button
|
||||
v-if="scope.row.isTb=='0' && scope.row.classNo !=null"
|
||||
v-auth="'recruit_banding'"
|
||||
type="primary"
|
||||
link
|
||||
<el-button
|
||||
v-if="hasAuth('recruit_banding') && scope.row.isTb=='0' && scope.row.classNo !=null"
|
||||
type="primary"
|
||||
link
|
||||
icon="Switch"
|
||||
@click="changeclass(scope.row)">
|
||||
调整班级
|
||||
@@ -387,6 +386,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, reactive, nextTick, onMounted, defineAsyncComponent } from 'vue'
|
||||
import { useAuth } from '/@/hooks/auth'
|
||||
import { useMessage } from '/@/hooks/message'
|
||||
import { useMessageBox } from '/@/hooks/message'
|
||||
import { BasicTableProps, useTable } from '/@/hooks/table'
|
||||
@@ -411,7 +411,7 @@ import { useDict } from '/@/hooks/dict'
|
||||
|
||||
const TableForm = defineAsyncComponent(() => import('./detaiform.vue'))
|
||||
const GenderTag = defineAsyncComponent(() => import('/@/components/GenderTag/index.vue'))
|
||||
|
||||
const { hasAuth } = useAuth()
|
||||
// 使用 hooks
|
||||
const message = useMessage()
|
||||
|
||||
|
||||
@@ -86,15 +86,15 @@
|
||||
|
||||
<!-- 操作按钮 -->
|
||||
<div class="mb15">
|
||||
<el-button
|
||||
v-auth="'recruitStuDorm'"
|
||||
<el-button
|
||||
v-if="hasAuth('recruitStuDorm')"
|
||||
icon="Setting"
|
||||
@click="setDormFW"
|
||||
>
|
||||
设置住宿范围
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruitStuDorm'"
|
||||
<el-button
|
||||
v-if="hasAuth('recruitStuDorm')"
|
||||
type="danger"
|
||||
plain
|
||||
icon="Location"
|
||||
@@ -103,8 +103,8 @@
|
||||
>
|
||||
一键判断住宿范围
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruitStuDormMess'"
|
||||
<el-button
|
||||
v-if="hasAuth('recruitStuDormMess')"
|
||||
type="danger"
|
||||
plain
|
||||
icon="Message"
|
||||
@@ -167,8 +167,7 @@
|
||||
<el-table-column label="操作" width="300" align="center" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-auth="'recruitStuDormSd'"
|
||||
v-if="scope.row.isOutFw != '1'"
|
||||
v-if="hasAuth('recruitStuDormSd') && scope.row.isOutFw != '1'"
|
||||
type="primary"
|
||||
link
|
||||
icon="CircleCheck"
|
||||
@@ -177,8 +176,7 @@
|
||||
设为范围内
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruitStuDormSd'"
|
||||
v-if="scope.row.isOutFw != '2'"
|
||||
v-if="hasAuth('recruitStuDormSd') && scope.row.isOutFw != '2'"
|
||||
type="primary"
|
||||
link
|
||||
icon="Close"
|
||||
@@ -195,7 +193,7 @@
|
||||
家庭地址
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruitStuDormDel'"
|
||||
v-if="hasAuth('recruitStuDormDel')"
|
||||
type="danger"
|
||||
link
|
||||
icon="Delete"
|
||||
@@ -221,6 +219,7 @@
|
||||
|
||||
<script setup lang="ts" name="recruitstudentsignupList">
|
||||
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 { useDict } from '/@/hooks/dict'
|
||||
@@ -233,7 +232,7 @@ const GenderTag = defineAsyncComponent(() => import('/@/components/GenderTag/ind
|
||||
const SearchForm = defineAsyncComponent(() => import('/@/components/SearchForm/index.vue'))
|
||||
const DormFW = defineAsyncComponent(() => import('./dormFW.vue'))
|
||||
const ShowMap = defineAsyncComponent(() => import('./showMap.vue'))
|
||||
|
||||
const { hasAuth } = useAuth()
|
||||
// 消息提示 hooks
|
||||
const message = useMessage()
|
||||
const messageBox = useMessageBox()
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
filterable
|
||||
clearable
|
||||
placeholder=""
|
||||
:disabled="!(auth('recruit_recruitprestudent_dj_sure') || dataForm.auditStatus != '20')">
|
||||
:disabled="!(hasAuth('recruit_recruitprestudent_dj_sure') || dataForm.auditStatus != '20')">
|
||||
<el-option
|
||||
v-for="item in contactNameList"
|
||||
:key="item.teacherNo"
|
||||
@@ -183,9 +183,9 @@
|
||||
<template #footer>
|
||||
<div class="dialog-footer">
|
||||
<el-button @click="visible = false">取消</el-button>
|
||||
<el-button type="primary" @click="dataFormSubmit('1')" v-auth="'recruit_recruitstudentsignup_edit'" v-if="canSubmit">保存</el-button>
|
||||
<el-button type="success" icon="CircleCheck" @click="dataFormSubmit('2')" v-auth="'signup_material_exam'" v-if="canSubmit">通过</el-button>
|
||||
<el-button type="danger" icon="CircleClose" @click="dataFormSubmit('3')" v-auth="'signup_material_exam'" v-if="canSubmit">驳回</el-button>
|
||||
<el-button type="primary" @click="dataFormSubmit('1')" v-if="hasAuth('recruit_recruitstudentsignup_edit') && canSubmit">保存</el-button>
|
||||
<el-button type="success" icon="CircleCheck" @click="dataFormSubmit('2')" v-if="hasAuth('signup_material_exam') && canSubmit">通过</el-button>
|
||||
<el-button type="danger" icon="CircleClose" @click="dataFormSubmit('3')" v-if="hasAuth('signup_material_exam') && canSubmit">驳回</el-button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -198,16 +198,17 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, reactive, nextTick, computed, onMounted } from 'vue'
|
||||
import { Plus } from '@element-plus/icons-vue'
|
||||
import { useAuth } from '/@/hooks/auth'
|
||||
import { useMessage } from '/@/hooks/message'
|
||||
import { Session } from '/@/utils/storage'
|
||||
import axios from 'axios'
|
||||
import { auth } from '/@/utils/authFunction'
|
||||
import { getObj, materialExam } from '/@/api/recruit/recruitstudentsignup'
|
||||
import { getList } from '/@/api/recruit/recruitstudentplangroup'
|
||||
import { queryAllTeacher } from '/@/api/professional/professionaluser/teacherbase'
|
||||
import { AUDIT_STATUS_LIST, getStatusConfig } from '/@/config/global'
|
||||
|
||||
const auditStatusList = AUDIT_STATUS_LIST
|
||||
const { hasAuth } = useAuth()
|
||||
// 消息提示 hooks
|
||||
const message = useMessage()
|
||||
|
||||
|
||||
@@ -155,8 +155,7 @@
|
||||
<el-table-column label="操作" width="100" align="center" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-auth="'recruit_recruitstudentsignupturnover_edit'"
|
||||
v-if="scope.row.isMajorChange == '1'"
|
||||
v-if="hasAuth('recruit_recruitstudentsignupturnover_edit') && scope.row.isMajorChange == '1'"
|
||||
type="primary"
|
||||
link
|
||||
icon="EditPen"
|
||||
@@ -212,6 +211,7 @@
|
||||
|
||||
<script setup lang="ts" name="recruitstudentsignupturnover">
|
||||
import { ref, reactive, computed, onMounted } from 'vue'
|
||||
import { useAuth } from '/@/hooks/auth'
|
||||
import { BasicTableProps, useTable } from '/@/hooks/table'
|
||||
import { useMessage } from '/@/hooks/message'
|
||||
import { fetchList, putObj } from '/@/api/recruit/recruitstudentsignupturnover'
|
||||
@@ -222,6 +222,7 @@ import { Warning, InfoFilled } from '@element-plus/icons-vue'
|
||||
import { TURNOVER_AUDIT_STATUS_LIST, getStatusConfig } from '/@/config/global'
|
||||
import { getDicts } from '/@/api/admin/dict'
|
||||
|
||||
const { hasAuth } = useAuth()
|
||||
// 消息提示 hooks
|
||||
const message = useMessage()
|
||||
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
<!-- 操作按钮 -->
|
||||
<el-row>
|
||||
<div>
|
||||
<el-button
|
||||
v-auth="'recruit_recruitstudentsignupturnovermoneychange_add'"
|
||||
<el-button
|
||||
v-if="hasAuth('recruit_recruitstudentsignupturnovermoneychange_add')"
|
||||
type="primary"
|
||||
icon="FolderAdd"
|
||||
@click="handleAdd">新 增
|
||||
@@ -45,6 +45,7 @@
|
||||
v-loading="state.loading"
|
||||
border
|
||||
stripe
|
||||
row-key="id"
|
||||
:cell-style="tableStyle.cellStyle"
|
||||
:header-cell-style="tableStyle.headerCellStyle"
|
||||
>
|
||||
@@ -62,7 +63,7 @@
|
||||
<el-table-column label="操作" width="150" align="center" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-auth="'recruit_recruitstudentsignupturnovermoneychange_edit'"
|
||||
v-if="hasAuth('recruit_recruitstudentsignupturnovermoneychange_edit')"
|
||||
type="primary"
|
||||
link
|
||||
icon="EditPen"
|
||||
@@ -71,7 +72,7 @@
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruit_recruitstudentsignupturnovermoneychange_del'"
|
||||
v-if="hasAuth('recruit_recruitstudentsignupturnovermoneychange_del')"
|
||||
type="danger"
|
||||
link
|
||||
icon="Delete"
|
||||
@@ -98,10 +99,12 @@
|
||||
|
||||
<script setup lang="ts" name="recruitstudentsignupturnovermoneychange">
|
||||
import { ref, reactive, defineAsyncComponent, nextTick } from 'vue'
|
||||
import { useAuth } from '/@/hooks/auth'
|
||||
import { BasicTableProps, useTable } from '/@/hooks/table'
|
||||
import { useMessage, useMessageBox } from '/@/hooks/message'
|
||||
import { delObj, fetchList } from '/@/api/recruit/recruitstudentsignupturnovermoneychange'
|
||||
|
||||
const { hasAuth } = useAuth()
|
||||
// 定义组件
|
||||
const FormDialog = defineAsyncComponent(() => import('./form.vue'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user