This commit is contained in:
xyc 2025-06-10 15:25:21 +08:00
parent d8761b6876
commit 8872456cff
5 changed files with 39 additions and 6 deletions

View File

@ -26,6 +26,10 @@ public class HitRegInfoExportVo {
@Excel(name = "团队名称") @Excel(name = "团队名称")
private String teamName; private String teamName;
/** 赛道 */
@Excel(name = "赛道",dictType="com_racetrack")
private String racetrack;
/** 盲样邮寄地址 */ /** 盲样邮寄地址 */
@Excel(name = "盲样邮寄地址") @Excel(name = "盲样邮寄地址")
private String sampleAddress; private String sampleAddress;

View File

@ -52,6 +52,7 @@
<if test="studentIdCard != null and studentIdCard != ''">and student_id_card = #{studentIdCard}</if> <if test="studentIdCard != null and studentIdCard != ''">and student_id_card = #{studentIdCard}</if>
<if test="trialsScore != null ">and trials_score = #{trialsScore}</if> <if test="trialsScore != null ">and trials_score = #{trialsScore}</if>
<if test="isPreliminary != null ">and is_preliminary = #{isPreliminary}</if> <if test="isPreliminary != null ">and is_preliminary = #{isPreliminary}</if>
<if test="nationality != null">and nationality = #{nationality}</if>
<if test="year != null ">and create_time like concat(#{year},'%')</if> <if test="year != null ">and create_time like concat(#{year},'%')</if>
</where> </where>
order by school_name desc order by school_name desc

View File

@ -78,6 +78,17 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
</div> </div>
<div class="art-title bg-purple-white">
<el-form-item label="222" prop="summary">
<el-input
type="textarea"
v-model="form.categoryId"
maxlength="360"
show-word-limit
>
</el-input>
</el-form-item>
</div>
<!-- <el-form-item label="附件" prop="accessoryUrl">--> <!-- <el-form-item label="附件" prop="accessoryUrl">-->
<!-- <file-upload v-model="form.accessoryUrl"/>--> <!-- <file-upload v-model="form.accessoryUrl"/>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
@ -181,15 +192,16 @@ export default {
immediate: true, immediate: true,
handler() { handler() {
this.reset() this.reset()
this.getCategoryList() // this.getCategoryList()
} }
}, },
'$route.query.contentId': { '$route.query.contentId': {
immediate: true, immediate: true,
handler(val) { handler(val) {
console.log('执行监听内容id')
if (val !== undefined) { if (val !== undefined) {
this.reset() this.reset()
this.getCategoryList() // this.getCategoryList()
this.getContentById(val) this.getContentById(val)
} }
} }
@ -270,7 +282,7 @@ export default {
getLeavesCategoryList().then(response => { getLeavesCategoryList().then(response => {
this.categoryList = response.data this.categoryList = response.data
this.form.categoryId = this.$route.query.categoryId + '' this.form.categoryId = this.$route.query.categoryId + ''
if (!!this.$route.query.categoryId) { if (!this.$route.query.categoryId) {
// let flag = this.isIdInTree(this.$route.query.categoryId, this.categoryList) // let flag = this.isIdInTree(this.$route.query.categoryId, this.categoryList)
// if (!flag) { // if (!flag) {
// this.form.categoryId = '' // this.form.categoryId = ''
@ -350,6 +362,10 @@ export default {
// //
handlerSaveBefore() { handlerSaveBefore() {
this.form.status = this.form.id === '' ? '0' : '3' this.form.status = this.form.id === '' ? '0' : '3'
// if (this.form.categoryId === undefined) {
// delete this.form.categoryId //
// }
this.handleSave() this.handleSave()
}, },
// //

View File

@ -30,6 +30,16 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="国籍" prop="nationality">
<el-select v-model="queryParams.nationality" placeholder="请选择" clearable>
<el-option
v-for="item in dict.type.com_nationality"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
<!-- <el-form-item label="赛道" prop="year">--> <!-- <el-form-item label="赛道" prop="year">-->
<!-- <el-select v-model="queryParams.racetrack" placeholder="请选择" clearable>--> <!-- <el-select v-model="queryParams.racetrack" placeholder="请选择" clearable>-->
<!-- <el-option--> <!-- <el-option-->

View File

@ -146,13 +146,14 @@
<!-- <image-upload :limit="1" v-model="registerForm.hitRegistrationTeachInfo.file"></image-upload>--> <!-- <image-upload :limit="1" v-model="registerForm.hitRegistrationTeachInfo.file"></image-upload>-->
<el-upload <el-upload
ref="upload" ref="upload"
:limit="1"system/hit_reg_info/export :limit="1"
:headers="upload.headers" :headers="upload.headers"
:action="upload.url + '?updateSupport=' + upload.updateSupport" :action="upload.url + '?updateSupport=' + upload.updateSupport"
:disabled="upload.isUploading" :disabled="upload.isUploading"
:on-progress="handleFileUploadProgress" :on-progress="handleFileUploadProgress"
:on-success="handleFileSuccess" :on-success="handleFileSuccess"
:auto-upload="true" :auto-upload="true"
:file-list="upload.fileList"
drag drag
> >
<i class="el-icon-upload"></i> <i class="el-icon-upload"></i>
@ -181,7 +182,7 @@
</el-form> </el-form>
</div> </div>
<span slot="footer" class="dialog-footer" style="z-index: 5;position: relative"> <span slot="footer" class="dialog-footer" style="z-index: 5;position: relative">
<el-button @click="showRegisterDialog = false"> </el-button> <el-button @click="registerDialog = false"> </el-button>
<el-button type="primary" @click="submitRegister"> </el-button> <el-button type="primary" @click="submitRegister"> </el-button>
</span> </span>
</el-dialog> </el-dialog>
@ -269,6 +270,7 @@ export default {
title: "", title: "",
// //
isUploading: false, isUploading: false,
fileList: [],
// //
updateSupport: 0, updateSupport: 0,
// //