更新
This commit is contained in:
parent
d8761b6876
commit
8872456cff
@ -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;
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
<select id="selectHitCompetitionStudentInfoList" parameterType="HitCompetitionStudentInfo"
|
<select id="selectHitCompetitionStudentInfoList" parameterType="HitCompetitionStudentInfo"
|
||||||
resultType="com.ruoyi.cms.domain.HitCompetitionStudentInfo">
|
resultType="com.ruoyi.cms.domain.HitCompetitionStudentInfo">
|
||||||
select *
|
select *
|
||||||
from hit_competition_student_info
|
from hit_competition_student_info
|
||||||
<where>
|
<where>
|
||||||
<if test="hitRegId != null and hitRegId != ''">and hit_reg_id = #{hitRegId}</if>
|
<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>
|
<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="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
|
||||||
|
@ -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()
|
||||||
},
|
},
|
||||||
// 新增
|
// 新增
|
||||||
|
@ -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-->
|
||||||
|
@ -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,
|
||||||
// 设置上传的请求头部
|
// 设置上传的请求头部
|
||||||
|
Loading…
Reference in New Issue
Block a user