更新
This commit is contained in:
parent
06b65f40f6
commit
1e5dff69d1
@ -30,6 +30,7 @@ public interface HitRegistrationTeachInfoMapper extends BaseMapper<HitRegistrat
|
|||||||
* @return 教师信息
|
* @return 教师信息
|
||||||
*/
|
*/
|
||||||
public HitRegistrationTeachInfo selectHitRegistrationTeachInfoByUserId(@Param("userId") Long userId,@Param("year") String year);
|
public HitRegistrationTeachInfo selectHitRegistrationTeachInfoByUserId(@Param("userId") Long userId,@Param("year") String year);
|
||||||
|
public HitRegistrationTeachInfo selectHitRegistrationTeachInfoByUserIdNoYear(@Param("userId") Long userId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询教师信息列表
|
* 查询教师信息列表
|
||||||
|
@ -109,12 +109,12 @@ public class HitRegInfoServiceImpl implements IHitRegInfoService {
|
|||||||
for (HitRegInfoUser regInfoUser : hitRegInfoUsers) {
|
for (HitRegInfoUser regInfoUser : hitRegInfoUsers) {
|
||||||
switch (regInfoUser.getType()) {
|
switch (regInfoUser.getType()) {
|
||||||
case "3": {
|
case "3": {
|
||||||
HitRegistrationTeachInfo hitRegistrationTeachInfo = teachInfoMapper.selectHitRegistrationTeachInfoByUserId(regInfoUser.getUserId(), hitRegInfo.getYear());
|
HitRegistrationTeachInfo hitRegistrationTeachInfo = teachInfoMapper.selectHitRegistrationTeachInfoByUserIdNoYear(regInfoUser.getUserId());
|
||||||
regInfo.setLdTeacher(hitRegistrationTeachInfo);
|
regInfo.setLdTeacher(hitRegistrationTeachInfo);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "2": {
|
case "2": {
|
||||||
HitRegistrationTeachInfo hitRegistrationTeachInfo = teachInfoMapper.selectHitRegistrationTeachInfoByUserId(regInfoUser.getUserId(), hitRegInfo.getYear());
|
HitRegistrationTeachInfo hitRegistrationTeachInfo = teachInfoMapper.selectHitRegistrationTeachInfoByUserIdNoYear(regInfoUser.getUserId());
|
||||||
regInfo.getZdTeacher().add(hitRegistrationTeachInfo);
|
regInfo.getZdTeacher().add(hitRegistrationTeachInfo);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -57,6 +57,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
select * from hit_registration_teach_info
|
select * from hit_registration_teach_info
|
||||||
where user_id = #{userId} and create_time like concat(#{year},'%')
|
where user_id = #{userId} and create_time like concat(#{year},'%')
|
||||||
|
|
||||||
|
</select>
|
||||||
|
<select id="selectHitRegistrationTeachInfoByUserIdNoYear"
|
||||||
|
resultType="com.ruoyi.common.core.domain.HitRegistrationTeachInfo">
|
||||||
|
select * from hit_registration_teach_info
|
||||||
|
where user_id = #{userId}
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
<select id="selectSchoolName" resultType="java.util.Map">
|
<select id="selectSchoolName" resultType="java.util.Map">
|
||||||
select school_name schoolName
|
select school_name schoolName
|
||||||
|
@ -100,7 +100,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" @click="trialsSubmitForm">提交</el-button>
|
<el-button type="primary" style="z-index: 99999" @click="trialsSubmitForm">提交</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@ -503,7 +503,7 @@ import {
|
|||||||
getTeamMate,
|
getTeamMate,
|
||||||
agreeTeam,
|
agreeTeam,
|
||||||
refuseTeam,
|
refuseTeam,
|
||||||
editRegInfo, editCompetitionStudentInfo, updateRegInfo
|
editRegInfo, editCompetitionStudentInfo, updateRegInfo, editTeam
|
||||||
} from '@/api/officialWebsite/registerStudent'
|
} from '@/api/officialWebsite/registerStudent'
|
||||||
import { getTab, getbanner } from '@/api/gw/home'
|
import { getTab, getbanner } from '@/api/gw/home'
|
||||||
import { getToken } from '@/utils/auth'
|
import { getToken } from '@/utils/auth'
|
||||||
@ -714,7 +714,11 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
fileSubmit() {
|
fileSubmit() {
|
||||||
editRegInfo(this.preliminaryForm.hitRegInfo).then(res => {
|
let data = {
|
||||||
|
id: this.preliminaryForm.hitRegInfo.id,
|
||||||
|
dsFile: this.preliminaryForm.hitRegInfo.dsFile,
|
||||||
|
}
|
||||||
|
editTeam(data).then(res => {
|
||||||
this.$modal.msgSuccess('成功')
|
this.$modal.msgSuccess('成功')
|
||||||
this.fetchRegistrationInformation()
|
this.fetchRegistrationInformation()
|
||||||
})
|
})
|
||||||
@ -970,6 +974,7 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
z-index: 9;
|
||||||
|
|
||||||
color: #fff;
|
color: #fff;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
@ -991,6 +996,7 @@ export default {
|
|||||||
bottom: 200px;
|
bottom: 200px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
z-index: 9;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* .container {
|
/* .container {
|
||||||
@ -1446,6 +1452,8 @@ export default {
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
position: relative;
|
||||||
|
z-index: 9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.titel_ {
|
.titel_ {
|
||||||
@ -1578,6 +1586,8 @@ h3 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tabber-box1 {
|
.tabber-box1 {
|
||||||
|
position: relative;
|
||||||
|
z-index: 9;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
@ -1637,7 +1647,7 @@ h3 {
|
|||||||
left: 0; /* 确保元素从页面左侧开始 */
|
left: 0; /* 确保元素从页面左侧开始 */
|
||||||
background-image: url("../../assets/images/bottom_.png");
|
background-image: url("../../assets/images/bottom_.png");
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
//z-index: -1;
|
z-index: 0;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
transition: all 1s linear;
|
transition: all 1s linear;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user