This commit is contained in:
bai 2024-07-10 23:26:54 +08:00
commit 2caff9c83b
3 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@
<template #tableTitle> <template #tableTitle>
<!-- <a-button type="primary" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button> --> <!-- <a-button type="primary" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button> -->
<a-button type="primary" @click="handleV2Add" preIcon="ant-design:plus-outlined"> 新增</a-button> <a-button type="primary" @click="handleV2Add" preIcon="ant-design:plus-outlined"> 新增</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls"> 下载导入模板</a-button> <a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls"> 下载模板</a-button>
<!-- <j-upload-button type="primary" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button> --> <!-- <j-upload-button type="primary" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button> -->
<a-switch hidden v-model:checked="reloadCreateBtn" checked-children="显示" un-checked-children="不显示"/> <a-switch hidden v-model:checked="reloadCreateBtn" checked-children="显示" un-checked-children="不显示"/>
</template> </template>
@ -228,7 +228,7 @@ const $message = useMessage();
{ {
ifShow: reloadCreateBtn.value, ifShow: reloadCreateBtn.value,
label: '重新生成', label: '重新生成',
onClick: reloadCreateFn.bind(null, record), onClick: reloadCreateFn.bind(null, { id: record.id }),
}, },
{ {
label: '删除', label: '删除',

View File

@ -9,9 +9,9 @@
<div v-if="current == 0" style="padding: 20px;"> <div v-if="current == 0" style="padding: 20px;">
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-row> <a-row>
<a-col :span="24" class="shuoming"> <!-- <a-col :span="24" class="shuoming">
<span>请注意点击后不可返回修改信息请仔细填写</span> <span>请注意点击后不可返回修改信息请仔细填写</span>
</a-col> </a-col> -->
<a-col :span="24"> <a-col :span="24">
<a-form-item label="学校名称" v-bind="validateInfos.schoolName"> <a-form-item label="学校名称" v-bind="validateInfos.schoolName">
<a-input v-model:value="formData.schoolName" placeholder="请输入学校名称" ></a-input> <a-input v-model:value="formData.schoolName" placeholder="请输入学校名称" ></a-input>

View File

@ -228,7 +228,7 @@ const $message = useMessage();
{ {
ifShow: reloadCreateBtn.value, ifShow: reloadCreateBtn.value,
label: '重新生成', label: '重新生成',
onClick: reloadCreateFn.bind(null, record), onClick: reloadCreateFn.bind(null, { id: record.id }),
}, },
{ {
label: '删除', label: '删除',