更新
This commit is contained in:
parent
d8761b6876
commit
8872456cff
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
},
|
||||
// 新增
|
||||
|
@ -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-->
|
||||
|
@ -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,
|
||||
// 设置上传的请求头部
|
||||
|
Loading…
Reference in New Issue
Block a user