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 = "团队名称")
private String teamName;
/** 赛道 */
@Excel(name = "赛道",dictType="com_racetrack")
private String racetrack;
/** 盲样邮寄地址 */
@Excel(name = "盲样邮寄地址")
private String sampleAddress;

View File

@ -35,7 +35,7 @@
<select id="selectHitCompetitionStudentInfoList" parameterType="HitCompetitionStudentInfo"
resultType="com.ruoyi.cms.domain.HitCompetitionStudentInfo">
select *
from hit_competition_student_info
from hit_competition_student_info
<where>
<if test="hitRegId != null and hitRegId != ''">and hit_reg_id = #{hitRegId}</if>
<if test="stuName != null and stuName != ''">and stu_name like concat('%', #{stuName}, '%')</if>
@ -52,6 +52,7 @@
<if test="studentIdCard != null and studentIdCard != ''">and student_id_card = #{studentIdCard}</if>
<if test="trialsScore != null ">and trials_score = #{trialsScore}</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>
</where>
order by school_name desc

View File

@ -78,6 +78,17 @@
</el-input>
</el-form-item>
</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">-->
<!-- <file-upload v-model="form.accessoryUrl"/>-->
<!-- </el-form-item>-->
@ -181,15 +192,16 @@ export default {
immediate: true,
handler() {
this.reset()
this.getCategoryList()
// this.getCategoryList()
}
},
'$route.query.contentId': {
immediate: true,
handler(val) {
console.log('执行监听内容id')
if (val !== undefined) {
this.reset()
this.getCategoryList()
// this.getCategoryList()
this.getContentById(val)
}
}
@ -270,7 +282,7 @@ export default {
getLeavesCategoryList().then(response => {
this.categoryList = response.data
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)
// if (!flag) {
// this.form.categoryId = ''
@ -350,6 +362,10 @@ export default {
//
handlerSaveBefore() {
this.form.status = this.form.id === '' ? '0' : '3'
// if (this.form.categoryId === undefined) {
// delete this.form.categoryId //
// }
this.handleSave()
},
//

View File

@ -30,6 +30,16 @@
</el-option>
</el-select>
</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-select v-model="queryParams.racetrack" placeholder="请选择" clearable>-->
<!-- <el-option-->

View File

@ -146,13 +146,14 @@
<!-- <image-upload :limit="1" v-model="registerForm.hitRegistrationTeachInfo.file"></image-upload>-->
<el-upload
ref="upload"
:limit="1"system/hit_reg_info/export
:limit="1"
:headers="upload.headers"
:action="upload.url + '?updateSupport=' + upload.updateSupport"
:disabled="upload.isUploading"
:on-progress="handleFileUploadProgress"
:on-success="handleFileSuccess"
:auto-upload="true"
:file-list="upload.fileList"
drag
>
<i class="el-icon-upload"></i>
@ -181,7 +182,7 @@
</el-form>
</div>
<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>
</span>
</el-dialog>
@ -269,6 +270,7 @@ export default {
title: "",
//
isUploading: false,
fileList: [],
//
updateSupport: 0,
//